/* Playing with friends online (mp.js): lobby, quiz race, Casting Lots race, Bible Hangman, up to 8 players. Uses the Game section look (game.css). */
.mp-games { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; margin-top: 6px; }
.mp-games .gm-btn, .mp-src .gm-btn { min-height: 48px; display: flex; align-items: center; justify-content: center; text-align: center; text-decoration: none; }
.mp-join, .mp-typed { display: flex; flex-wrap: wrap; gap: 8px; align-items: flex-end; margin-top: 6px; }
.mp-join label, .mp-typed label, .mp-name { display: flex; flex-direction: column; gap: 4px; flex: 1 1 140px; font-size: 14px; }
.mp-join input, .mp-typed input, .mp-name input { min-height: 44px; font-size: 16px; padding: 6px 10px; border-radius: 9px; border: 1px solid #b39a68; background: var(--paper, #fffaf0); color: var(--ink, #2a2016); }
.mp-join input[name=code] { text-transform: uppercase; letter-spacing: .2em; font-weight: 700; }
.mp-seg { display: flex; flex-wrap: wrap; gap: 6px; margin: 6px 0 10px; } .mp-seg .gm-btn { flex: 1 1 auto; min-height: 44px; }
.mp-src { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; margin: 8px 0; }
.mp-note { margin-top: 10px; }
.gm-mp { display: block; width: 100%; margin-top: 8px; text-align: center; text-decoration: none; min-height: 44px; box-sizing: border-box; }
.gm-rejoin { width: 100%; margin: 6px 0; }
.mp-cd { min-height: 60vh; display: flex; flex-direction: column; justify-content: center; }
.mp-cdn { font: 700 5rem var(--serif); text-align: center; margin: 0; color: #f3c862; }
.mp-bars { margin: 6px 0 10px; }
.mp-q { text-align: center; } .mp-qt { font: 1.2rem var(--serif); margin: 4px 0 12px; }
.mp-opts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; } .mp-opt { min-height: 56px; font-size: 16px; white-space: normal; }
.mp-opt.ok { background: #2d6a27; color: #fff; border-color: #1d4a19; } .mp-opt.no { background: #7a2f2a; color: #fff; border-color: #5a1f1a; }
.mp-fb { min-height: 1.4em; margin: 8px 0 0; font-weight: 600; }
.mp-lots-list { list-style: none; padding: 0; margin: 8px 0; display: grid; gap: 8px; } .mp-lots-list .gm-btn { width: 100%; min-height: 48px; } .mp-lots-list .done { opacity: .7; }
.mp-board { padding-left: 1.4em; margin: 0; } .mp-board li { padding: 6px 0; display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; } .mp-board li.me b { text-decoration: underline; }
.mp-score { text-align: center; margin: 4px 0; font-size: 15px; } .mp-yours { text-align: center; }
.mp-kb-watch { opacity: .55; pointer-events: none; }
html:not(.light) .mp-join input, html:not(.light) .mp-typed input, html:not(.light) .mp-name input { background: #1d1912; color: #f1e6cf; border-color: #6a5530; }
html.light .mp-cdn { color: #7a4a1a; }
@media (max-width: 420px) { .mp-opts { grid-template-columns: 1fr; } .mp-cdn { font-size: 4rem; } }
@media (prefers-reduced-motion: reduce) { .mp * { transition: none !important; animation: none !important; } }
.gm-play.mp .mp-bars, .gm-play.mp .mp-score { color: #f1e6cf; } /* the play screens stay dark in both looks */
