:root{--bg:#090a1a;--panel:#17182f;--line:#33365a;--text:#fbfbff;--muted:#aeb2cc;--teal:#55f2d0;--blue:#67b7ff;--purple:#bc84ff;--pink:#ff78b8;--green:#91f5a4;--red:#ff7086;--yellow:#ffe16a}*{box-sizing:border-box}body{margin:0;min-height:100vh;background:linear-gradient(135deg,#090a1a,#171032 50%,#071c2b);color:var(--text);font-family:Inter,system-ui,Segoe UI,Arial,sans-serif;overflow-x:hidden}button,input,select{font:inherit}button{border:0;border-radius:15px;padding:12px 16px;font-weight:900;cursor:pointer;transition:.15s transform,.15s filter}button:hover{transform:translateY(-1px);filter:brightness(1.06)}input,select{width:100%;background:#0c0f22;color:#fff;border:1px solid var(--line);border-radius:12px;padding:11px;margin-top:5px}.bgOrb{position:fixed;border-radius:50%;filter:blur(80px);opacity:.22;pointer-events:none;animation:drift 11s ease-in-out infinite alternate}.bgOrb.one{width:380px;height:380px;background:#8b5cf6;top:-100px;left:-80px}.bgOrb.two{width:420px;height:420px;background:#06b6d4;bottom:-140px;right:-100px;animation-delay:-4s}@keyframes drift{to{transform:translate(45px,35px) scale(1.12)}}.app{max-width:1180px;margin:auto;padding:14px;position:relative;z-index:1}header{display:flex;justify-content:space-between;gap:12px;align-items:center;flex-wrap:wrap;margin-bottom:12px}h1{font-size:clamp(1.8rem,5vw,3.5rem);margin:0;letter-spacing:-.045em}h1 span,.heroCopy h2 span{color:var(--teal)}h2,h3{margin:.2rem 0 .8rem}.panel{background:rgba(22,24,48,.88);border:1px solid rgba(126,135,196,.28);border-radius:22px;padding:18px;box-shadow:0 24px 70px #0006;margin-bottom:12px;backdrop-filter:blur(16px)}.glass{background:linear-gradient(145deg,rgba(29,32,66,.93),rgba(17,19,42,.9))}.box{background:rgba(9,12,31,.7);border:1px solid var(--line);border-radius:16px;padding:14px}.two{display:grid;grid-template-columns:1fr 1fr;gap:13px}.eyebrow{font-size:.74rem;letter-spacing:.15em;font-weight:950;color:var(--teal)}.muted,.tiny{color:var(--muted)}.tiny{font-size:.82rem}.hidden{display:none!important}.primary{background:linear-gradient(135deg,var(--teal),#62d8ff);color:#06262c}.blue{background:linear-gradient(135deg,var(--blue),#7d97ff);color:#07172c}.purple{background:linear-gradient(135deg,var(--purple),#ff81c7);color:#2d0738}.danger{background:var(--red);color:#4b0513}.success{background:linear-gradient(135deg,var(--green),#59e6c1);color:#062e19}.ghost{background:#2c3153;color:#fff}.big{min-height:52px;font-size:1.02rem}.row{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin-top:12px}.center{text-align:center}.heroCopy{display:flex;justify-content:space-between;align-items:center;gap:12px}.heroCopy h2{font-size:clamp(2.5rem,7vw,5.7rem);line-height:.94;letter-spacing:-.06em;margin:.4rem 0 1.3rem}.sparkle{font-size:5rem;animation:float 2s ease-in-out infinite alternate}@keyframes float{to{transform:translateY(-12px) rotate(8deg)}}.avatarLabel{margin:10px 0 6px;color:var(--muted);font-size:.9rem}.avatarPicker{display:grid;grid-template-columns:repeat(8,1fr);gap:6px;margin-bottom:12px}.avatarPicker button{padding:8px;background:#161b3a;font-size:1.55rem}.avatarPicker button.selected{outline:3px solid var(--teal);background:#23375c}.roomTop{display:flex;justify-content:space-between;align-items:center;gap:15px;flex-wrap:wrap}.roomCode{font-size:clamp(2.2rem,7vw,4.2rem);font-weight:1000;letter-spacing:.12em}.hostActions{display:flex;gap:8px;flex-wrap:wrap}.tabs{display:flex;gap:7px;flex-wrap:wrap}.tab{background:#2c3153;color:#fff}.tab.active{background:var(--teal);color:#06262c}.list{display:grid;gap:7px}.listItem{display:flex;justify-content:space-between;gap:10px;align-items:center;background:#0c1027;border:1px solid var(--line);padding:10px 12px;border-radius:13px}.person{display:flex;gap:9px;align-items:center}.avatar{font-size:1.55rem}.countBubble{display:inline-grid;place-items:center;min-width:28px;height:28px;border-radius:999px;background:var(--purple);font-size:.85rem}.themeGrid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.theme{text-align:left;min-height:135px;background:linear-gradient(145deg,#202750,#151934);color:#fff;border:1px solid #475087;position:relative;overflow:hidden}.theme:after{content:"";position:absolute;width:100px;height:100px;border-radius:50%;right:-35px;bottom:-45px;background:#ffffff10}.theme>span{font-size:2rem;display:block}.theme b{display:block;font-size:1.15rem;margin-top:6px}.theme small{display:block;color:var(--muted);margin-top:5px}.callout{background:linear-gradient(135deg,#3c2507,#3b183b);border:1px solid #8c6530;color:#ffe4a3;border-radius:14px;padding:12px;margin:10px 0 14px}.check{display:block;background:#0c1027;border:1px solid var(--line);border-radius:11px;padding:9px;margin:6px 0}.check input{width:auto;margin-right:8px}.timingPreview{margin-top:11px;background:#10233c;border:1px solid #284f79;padding:12px;border-radius:12px;color:#bde5ff}.stage{min-height:330px;display:grid;place-items:center;text-align:center;border-radius:26px;background:radial-gradient(circle,#243a67,#0b1024 72%);border:1px solid #46629a;padding:25px;box-shadow:inset 0 0 70px #0dcaf022}.timerline{display:flex;gap:13px;align-items:center;margin:14px 0}.grow{height:13px;background:#080b1b;border-radius:99px;overflow:hidden;flex:1}.grow>div{height:100%;width:0;background:linear-gradient(90deg,var(--purple),var(--pink),var(--teal))}.victory{font-size:5rem;animation:bounce .65s ease-in-out infinite alternate}@keyframes bounce{to{transform:translateY(-10px) rotate(5deg)}}.myAvatar{font-size:5rem}.hero{font-size:clamp(2.7rem,8vw,5.5rem);font-weight:1000;letter-spacing:-.055em}.subhero{font-size:1.08rem;color:#cfd5ef;margin:9px 0}.clueAnnouncement{font-size:1.25rem;font-weight:900;color:var(--yellow);margin:10px 0}.roleCard{padding:14px;border-radius:14px;background:#0c1027;border:1px solid var(--line);max-width:720px;margin:13px auto}.introClock{width:84px;height:84px;margin:15px auto;border-radius:50%;display:grid;place-items:center;background:#0c1027;border:4px solid var(--purple);font-size:2.3rem;font-weight:1000}.playTop{display:flex;justify-content:space-between;gap:12px;align-items:center;flex-wrap:wrap}.scoreBox{width:112px;height:112px;border-radius:50%;display:grid;place-items:center;background:#0c1027;border:4px solid #5d66a6;text-align:center}.scoreBox span{font-size:2.45rem;font-weight:1000;line-height:1}.scoreBox small{margin-top:-22px;color:var(--muted)}.roleBadge{text-align:center;border-radius:999px;padding:9px 13px;font-weight:1000;letter-spacing:.05em;margin:14px auto;max-width:460px}.roleBadge.clue{background:linear-gradient(135deg,#6d28d9,#a855f7)}.roleBadge.guess{background:linear-gradient(135deg,#0369a1,#06b6d4)}.roleBadge.ref{background:linear-gradient(135deg,#9a3412,#ea580c)}.roleBadge.host{background:#394365}.gameCard{background:linear-gradient(180deg,#fff,#eef1ff);color:#11172f;border-radius:25px;padding:23px;margin:14px auto;max-width:760px;box-shadow:0 20px 60px #0007;position:relative;overflow:hidden}.gameCard:before{content:"";position:absolute;width:200px;height:200px;border-radius:50%;background:#9d5cff18;right:-80px;top:-80px}.pop{animation:cardIn .28s cubic-bezier(.2,.85,.35,1.2)}@keyframes cardIn{from{transform:scale(.94) translateY(10px);opacity:.2}to{transform:none;opacity:1}}.target{text-align:center;font-size:clamp(3rem,10vw,6rem);font-weight:1000;letter-spacing:-.055em;position:relative}.forbidLabel{text-align:center;color:#6b7280;font-size:.75rem;letter-spacing:.16em;font-weight:950;margin:17px 0 9px}.forbiddenGrid{display:grid;grid-template-columns:1fr 1fr;gap:8px;position:relative}.forbiddenGrid button,.forbiddenGrid div{background:#ffe4e8;color:#9f1239;border:1px solid #fecdd3;border-radius:12px;padding:11px;font-weight:900;text-align:center}.forbiddenGrid button.pending{outline:3px solid #f59e0b}.forbiddenGrid button.confirmed{background:#881337;color:#fff;text-decoration:line-through}.cardValue{text-align:center;margin-top:14px;font-size:1.18rem;font-weight:1000}.twoButtons{display:grid;grid-template-columns:1fr 1fr;gap:9px;max-width:760px;margin:auto}.guessMessage{font-size:clamp(2rem,7vw,4rem);font-weight:1000;line-height:1.02;margin:60px 0 20px}.liveScore{font-size:1.4rem;font-weight:900;color:var(--teal)}.scoreboard .winner{border-color:#d6b54a;background:linear-gradient(135deg,#382c0e,#221a12)}.reactionDock{position:fixed;left:50%;bottom:max(10px,env(safe-area-inset-bottom));transform:translateX(-50%);z-index:30;background:#10142de8;border:1px solid #4b527d;border-radius:999px;padding:7px;display:flex;gap:4px;box-shadow:0 12px 40px #0008;backdrop-filter:blur(12px)}.reactionDock button{background:transparent;padding:7px;font-size:1.45rem}.reactionDock button:active{transform:scale(1.25)}/* Display */.displayBody{overflow:hidden}.displayShell{min-height:100vh;padding:26px 35px;position:relative}.displayHeader{display:flex;justify-content:space-between;align-items:center}.qrBox{background:#fff;color:#111;border-radius:18px;padding:8px;text-align:center;font-weight:900}.qrBox img{display:block;width:150px;height:150px}.displayPanel{margin-top:18px;min-height:68vh;background:linear-gradient(145deg,#171b3cd9,#10142de8);border:1px solid #58639a66;border-radius:30px;padding:28px;display:grid;align-content:center;box-shadow:0 30px 80px #0007}.displayTitle{font-size:clamp(3rem,7vw,6.5rem);font-weight:1000;letter-spacing:-.06em}.avatarCloud{display:flex;flex-wrap:wrap;gap:12px;margin:25px 0}.avatarChip{background:#1f264c;border:1px solid #495489;border-radius:999px;padding:10px 15px;font-size:1.3rem;font-weight:900}.displayGroups{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:10px}.displayGroup{background:#10162f;border:1px solid #414c80;border-radius:16px;padding:13px}.displayHero{font-size:clamp(4rem,10vw,9rem);font-weight:1000;letter-spacing:-.07em}.displayClue{font-size:clamp(1.5rem,3vw,2.7rem);font-weight:900;color:#d9dcff}.displayTimer{font-size:clamp(6rem,16vw,14rem);font-weight:1000;line-height:.95;background:linear-gradient(135deg,var(--teal),var(--purple),var(--pink));-webkit-background-clip:text;color:transparent}.displayScore{font-size:2rem;font-weight:900}.miniLeaderboard{display:flex;gap:8px;justify-content:center;flex-wrap:wrap;margin-top:18px}.miniScore{background:#0d1128;border:1px solid #3d4778;border-radius:999px;padding:8px 13px}.floatLayer{position:fixed;inset:0;pointer-events:none;overflow:hidden}.floatEmoji{position:absolute;bottom:-60px;font-size:clamp(2.8rem,5vw,5rem);animation:floatUp 3.3s ease-out forwards}@keyframes floatUp{0%{transform:translateY(0) scale(.7) rotate(-10deg);opacity:0}12%{opacity:1}100%{transform:translateY(-105vh) scale(1.25) rotate(18deg);opacity:0}}.eventBurst{position:fixed;left:50%;top:42%;transform:translate(-50%,-50%);font-size:clamp(4rem,11vw,10rem);font-weight:1000;pointer-events:none;opacity:0;text-shadow:0 8px 30px #000}.eventBurst.show{animation:burst .95s ease-out}@keyframes burst{0%{opacity:0;transform:translate(-50%,-50%) scale(.6)}20%{opacity:1;transform:translate(-50%,-50%) scale(1.08)}100%{opacity:0;transform:translate(-50%,-62%) scale(1)}}@media(max-width:760px){.two,.themeGrid{grid-template-columns:1fr}.app{padding:9px}.panel{padding:13px}.avatarPicker{grid-template-columns:repeat(8,1fr)}.forbiddenGrid{grid-template-columns:1fr 1fr}.displayShell{padding:14px}.qrBox img{width:110px;height:110px}}.prepCard{max-width:720px;margin:14px auto;padding:16px;border-radius:18px;background:linear-gradient(135deg,#1c2752,#321b53);border:1px solid #7663ad;box-shadow:0 14px 40px #0005}.prepWord{font-size:clamp(2rem,7vw,4.6rem);font-weight:1000;letter-spacing:-.05em;margin:6px 0}.prepForbidden{display:flex;flex-wrap:wrap;gap:6px;justify-content:center}.prepForbidden span{background:#ffe4e8;color:#9f1239;border-radius:999px;padding:6px 10px;font-weight:900}.knowledgeToast{position:fixed;left:50%;bottom:4vh;transform:translateX(-50%) translateY(30px);z-index:25;max-width:min(900px,90vw);padding:14px 20px;border-radius:18px;background:#10142ded;border:1px solid #6b71a7;color:#fff;text-align:center;font-size:clamp(1rem,2vw,1.5rem);font-weight:800;box-shadow:0 18px 55px #0009;opacity:0;pointer-events:none;transition:.25s}.knowledgeToast.show{opacity:1;transform:translateX(-50%) translateY(0)}.knowledgeToast b{color:var(--teal)}.eventBurst{white-space:pre-line}.timingPreview strong{color:var(--teal)}.ruleStrip{max-width:760px;margin:10px auto 12px;padding:11px 14px;border-radius:13px;text-align:center;font-weight:800;line-height:1.3;border:1px solid #4a527f;background:#111631;color:#e9ebff}.clueRule{border-color:#8b5cf6;background:#24154a}.guessRule{border-color:#22c55e;background:#0d3020}.refRule{border-color:#fb923c;background:#3a1d0b;color:#ffedcf}.displayRuleBanner{position:fixed;z-index:40;left:50%;top:12px;transform:translateX(-50%);width:min(900px,calc(100% - 32px));padding:10px 18px;border-radius:999px;background:#1b1438ee;border:1px solid #a78bfa;color:#fff;text-align:center;font-size:clamp(.95rem,1.8vw,1.25rem);font-weight:850;box-shadow:0 10px 35px #0008;backdrop-filter:blur(10px)}/* Final meeting hardening */.forbiddenGrid button.heard{background:#fff4c7;color:#744b00;border-color:#f6c453;outline:2px solid #f6c453;opacity:.92}.siteFooter{max-width:1180px;margin:12px auto 4px;padding:8px 14px;text-align:center;color:#8188a9;font-size:.72rem;letter-spacing:.01em}.siteFooter span{padding:0 5px;color:#5d6485}.displayHeaderActions{display:flex;align-items:center;gap:12px}.displayFullscreen{align-self:flex-start}.displayFooter{position:absolute;left:50%;bottom:4px;transform:translateX(-50%);width:calc(100% - 24px);margin:0;z-index:3}.displayBody:fullscreen .displayFullscreen{display:none}.joinOnly #landing .hostCreateBox{display:none}.joinOnly #landing .two{grid-template-columns:minmax(0,560px);justify-content:center}.joinOnly #landing .heroCopy{display:none}.rejoinHint{margin-bottom:0}@media(max-width:760px){.joinOnly .app{min-height:100dvh;display:flex;flex-direction:column;justify-content:center}.joinOnly header{display:none}.joinOnly #landing{margin:0}.joinOnly .siteFooter{margin-top:7px}body.playerGame{height:100dvh;overflow:hidden}body.playerGame .app{height:100dvh;padding:6px;display:flex;flex-direction:column}body.playerGame header,body.playerGame .roomTop,body.playerGame .siteFooter{display:none!important}body.playerGame #room{height:100%;min-height:0;display:flex;flex-direction:column}body.playerGame #tabooIntroView,body.playerGame #tabooPlayView,body.playerGame #resultsView{height:calc(100dvh - 64px);max-height:calc(100dvh - 64px);min-height:0;overflow:hidden;margin:0 0 58px;padding:8px;border-radius:16px}body.playerGame #tabooPlayView{display:flex;flex-direction:column}body.playerGame .playTop{flex:0 0 auto;min-height:58px}body.playerGame .playTop h2{font-size:1.15rem;margin:0}body.playerGame .scoreBox{width:66px;height:66px;border-width:3px}body.playerGame .scoreBox span{font-size:1.65rem}body.playerGame .scoreBox small{font-size:.62rem;margin-top:-12px}body.playerGame .roleView:not(.hidden){display:flex;flex:1;min-height:0;flex-direction:column;justify-content:center}body.playerGame .roleBadge{margin:4px auto;padding:6px 10px;font-size:.78rem}body.playerGame .ruleStrip{margin:3px auto 5px;padding:6px 8px;font-size:.72rem}body.playerGame .gameCard{padding:9px 10px;margin:4px auto 6px;border-radius:17px;width:100%}body.playerGame .target{font-size:clamp(2rem,10vw,3.3rem)}body.playerGame .forbidLabel{margin:7px 0 5px;font-size:.62rem}body.playerGame .forbiddenGrid{gap:5px}body.playerGame .forbiddenGrid button,body.playerGame .forbiddenGrid div{padding:7px 5px;font-size:.78rem;border-radius:9px}body.playerGame .cardValue{margin-top:7px;font-size:.85rem}body.playerGame .twoButtons{gap:6px;width:100%}body.playerGame .twoButtons button{min-height:44px;padding:8px}body.playerGame .tiny.center{margin:4px 0 0;font-size:.66rem}body.playerGame .guessMessage{margin:18px 0 12px;font-size:clamp(2rem,10vw,3.3rem)}body.playerGame .liveScore{font-size:1.15rem}body.playerGame #tabooIntroView{display:flex;flex-direction:column;justify-content:center}body.playerGame #tabooIntroView .hero{font-size:2.4rem}body.playerGame #tabooIntroView .subhero{font-size:.9rem;margin:3px 0}body.playerGame #tabooIntroView .clueAnnouncement{font-size:1rem;margin:4px 0}body.playerGame #tabooIntroView .roleCard{padding:8px;margin:5px auto;font-size:.8rem}body.playerGame .prepCard{padding:8px;margin:5px auto}body.playerGame .prepWord{font-size:2rem;margin:2px 0}body.playerGame .prepForbidden span{padding:4px 7px;font-size:.72rem}body.playerGame .introClock{width:60px;height:60px;margin:6px auto;font-size:1.7rem;border-width:3px}body.playerGame #resultsView{overflow:hidden}body.playerGame .scoreboard{gap:4px}body.playerGame .scoreboard .listItem{padding:6px 8px;font-size:.78rem}body.playerGame .reactionDock{bottom:5px;padding:4px}body.playerGame .reactionDock button{padding:5px;font-size:1.2rem}}/* Morning final: overflow, handoff, admin and phone hardening */html,body{max-width:100%;overflow-x:hidden}img,svg,video{max-width:100%;height:auto}.app,.panel,.box,.roomTop,.hostActions,.hostTab,.roleView,.gameCard,.playTop,.listItem,.listItem>*,.subhero,.clueAnnouncement,.adminCard,.adminEdit{min-width:0;max-width:100%}.listItem span,.subhero,.clueAnnouncement,.adminForbiddenPreview,.target,.prepWord{overflow-wrap:anywhere;word-break:normal}.hostPlayerHint{background:#10233c;border:1px solid #2e557e;color:#c8e8ff;border-radius:12px;padding:10px;font-size:.82rem}.exactRule{margin-top:7px;color:#6b7280;font-size:.76rem;font-weight:800}.adminToolbar{display:grid;grid-template-columns:minmax(0,1fr) 190px auto;gap:8px;align-items:center;margin:12px 0}.adminToolbar input,.adminToolbar select{margin:0}.adminRule{background:#10233c;border:1px solid #31577f;color:#c9e7ff;padding:10px 12px;border-radius:12px;margin-bottom:10px}.adminCards{display:grid;gap:8px;max-height:62vh;overflow:auto;padding-right:3px}.adminCard{background:#0c1027;border:1px solid var(--line);border-radius:13px;overflow:hidden}.adminCard summary{display:grid;grid-template-columns:auto minmax(120px,.6fr) minmax(180px,1.4fr) auto;gap:9px;align-items:center;padding:11px;cursor:pointer}.adminForbiddenPreview{font-size:.72rem;color:var(--muted);white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.adminEnabled{font-size:.68rem;font-weight:1000;color:var(--teal)}.adminEdit{padding:0 12px 12px;display:grid;gap:8px}.adminEdit textarea{width:100%;min-height:82px;background:#0a0e20;color:#fff;border:1px solid var(--line);border-radius:10px;padding:9px;resize:vertical;font:inherit}.adminEdit label{font-size:.8rem;color:var(--muted)}.adminEdit input{margin-top:4px}.displayTimer{overflow-wrap:normal!important;word-break:normal!important}@media(max-width:760px){.adminToolbar{grid-template-columns:1fr 120px auto}.adminCard summary{grid-template-columns:auto minmax(0,1fr) auto}.adminForbiddenPreview{grid-column:2/4}.roomCode{max-width:100%;font-size:clamp(1.8rem,13vw,3.5rem);letter-spacing:.07em}.two,.themeGrid,.nameArea{width:100%;min-width:0}.panel,.box{width:100%;overflow:hidden}.listItem{flex-wrap:wrap}.listItem>span{width:auto;max-width:100%}.avatarPicker{grid-template-columns:repeat(4,minmax(0,1fr))}.forbiddenGrid{grid-template-columns:repeat(2,minmax(0,1fr));width:100%}.forbiddenGrid button,.forbiddenGrid div{white-space:normal;overflow-wrap:anywhere}.twoButtons{grid-template-columns:repeat(2,minmax(0,1fr));width:100%}.reactionDock{max-width:calc(100vw - 12px);overflow:hidden}.reactionDock button{min-width:0}.siteFooter{max-width:calc(100vw - 12px)}body.playerGame #tabooIntroView,body.playerGame #tabooPlayView,body.playerGame #resultsView{width:100%;max-width:100%;left:auto;right:auto}body.playerGame .gameCard{max-width:100%;overflow:hidden}body.playerGame .target{max-width:100%;font-size:clamp(1.75rem,9vw,3rem)}body.playerGame .prepWord{font-size:clamp(1.7rem,9vw,2.7rem)}body.playerGame #tabooIntroView .subhero{white-space:normal;line-height:1.2}body.playerGame #startPrepBtn,body.playerGame #startTurnBtn{width:min(100%,420px);margin-inline:auto}.introClock.hidden{display:none!important}}@media(max-width:390px){body.playerGame .forbiddenGrid button,body.playerGame .forbiddenGrid div{font-size:.7rem;padding:6px 4px}body.playerGame .roleBadge{font-size:.7rem}body.playerGame .ruleStrip{font-size:.66rem}.adminToolbar{grid-template-columns:1fr}.adminToolbar .countBubble{justify-self:start}}/* Friday final hardening */.warn{background:linear-gradient(135deg,#ffd166,#ffb347);color:#3b2300}.packGroupTitle{margin:12px 0 5px;color:#8d96c7;font-size:.68rem;font-weight:1000;letter-spacing:.14em}.mixControl{margin-top:12px;padding:12px;background:#10162f;border:1px solid #414c80;border-radius:13px}.mixHead{display:flex;justify-content:space-between;gap:10px;align-items:center;margin-bottom:4px}.mixHead span{font-size:1.2rem;font-weight:1000;color:var(--teal)}.mixControl input[type=range]{padding:0;border:0;background:transparent;accent-color:var(--teal)}.targetSaidBtn{display:block;width:100%;margin:10px 0 4px;background:#ffe2e7;color:#94152e;border:2px solid #f8a6b6}.targetSaidBtn.confirmed{background:#86172c;color:#fff;border-color:#4f0a16;text-decoration:line-through}.tabooCancelled{max-width:760px;margin:7px auto;padding:9px 12px;border-radius:12px;background:#8b1530;color:#fff;text-align:center;font-weight:1000;letter-spacing:.04em;animation:cancelPulse .55s ease-out}@keyframes cancelPulse{from{transform:scale(.96);opacity:.35}to{transform:none;opacity:1}}button:disabled{opacity:.48;cursor:not-allowed;transform:none!important;filter:none!important}.forbiddenGrid div.confirmed{background:#881337;color:#fff;text-decoration:line-through}html{width:100%;overflow-x:clip}body{width:100%;overflow-x:clip}.app{width:min(100%,1180px);max-width:100%}.panel,.box,.gameCard,.roleView,.two,.tabs,.roomTop,.hostActions{max-width:100%}/* Active player screens are one-screen controls, not pages. */body.playerGame{position:fixed;inset:0;width:100%;height:100dvh;overflow:hidden!important}body.playerGame .app{position:fixed;inset:0;width:100%;max-width:none;height:100dvh;padding:4px;overflow:hidden}body.playerGame #room{position:relative;width:100%;height:100dvh;min-width:0;overflow:hidden}body.playerGame #tabooIntroView,
body.playerGame #tabooPlayView,
body.playerGame #resultsView{
  position:fixed;
  inset:4px 4px 58px 4px;
  width:auto!important;
  height:auto!important;
  max-width:none!important;
  max-height:none!important;
  margin:0!important;
  overflow:hidden!important;
  padding:8px!important;
  border-radius:14px;
  z-index:20;
}body.playerGame #tabooIntroView{display:flex;flex-direction:column;justify-content:center}body.playerGame #tabooPlayView{display:flex;flex-direction:column}body.playerGame #resultsView{display:flex;flex-direction:column}body.playerGame .playTop{min-height:48px;gap:6px}body.playerGame .playTop>div:first-child{min-width:0;flex:1}body.playerGame .playTop .muted{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}body.playerGame .scoreBox{width:58px;height:58px;flex:0 0 58px}body.playerGame .scoreBox span{font-size:1.5rem}body.playerGame .roleView:not(.hidden){display:flex;flex-direction:column;justify-content:center;flex:1;min-height:0;width:100%;overflow:hidden}body.playerGame .roleBadge{flex:0 0 auto}body.playerGame .ruleStrip{flex:0 0 auto;line-height:1.2}body.playerGame .gameCard{flex:0 1 auto;width:100%;min-width:0;max-width:100%;padding:8px;margin:3px auto;border-radius:15px}body.playerGame .target{font-size:clamp(1.7rem,8.7vw,2.75rem);line-height:.96}body.playerGame .targetSaidBtn{padding:6px 7px;margin:5px 0 2px;font-size:.68rem;border-radius:9px}body.playerGame .forbidLabel{margin:5px 0 3px;font-size:.57rem}body.playerGame .forbiddenGrid{grid-template-columns:repeat(2,minmax(0,1fr));gap:4px}body.playerGame .forbiddenGrid button,
body.playerGame .forbiddenGrid div{min-width:0;padding:6px 4px;font-size:.72rem;line-height:1.08;overflow-wrap:anywhere}body.playerGame .cardValue{margin-top:5px;font-size:.78rem}body.playerGame .twoButtons{flex:0 0 auto;width:100%;gap:5px}body.playerGame .twoButtons button{min-width:0;min-height:40px;padding:7px 5px}body.playerGame .tabooCancelled{flex:0 0 auto;margin:3px auto;padding:6px 8px;font-size:.72rem}body.playerGame .guessMessage{margin:12px 0 8px}body.playerGame .reactionDock{width:auto;max-width:calc(100vw - 8px);bottom:4px;padding:3px;gap:1px}body.playerGame .reactionDock button{min-width:0;padding:4px;font-size:1.12rem}body.playerGame #tabooIntroView .hero{font-size:clamp(1.8rem,10vw,2.7rem)}body.playerGame #tabooIntroView .subhero{font-size:.78rem}body.playerGame #tabooIntroView .clueAnnouncement{font-size:.9rem}body.playerGame #tabooIntroView .roleCard{font-size:.75rem;line-height:1.2}body.playerGame .prepCard{max-width:100%;width:100%;overflow:hidden}body.playerGame .prepWord{font-size:clamp(1.55rem,8.5vw,2.4rem);line-height:1}body.playerGame .prepForbidden{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px}body.playerGame .prepForbidden span{min-width:0;overflow-wrap:anywhere}body.playerGame #startPrepBtn,body.playerGame #startTurnBtn{max-width:100%;min-height:44px}@media(max-width:420px){.app{padding:7px}.panel{padding:11px;border-radius:16px}.roomTop{gap:8px}.hostActions button{padding:9px 10px}.tabs{gap:4px}.tab{padding:9px 10px}.mixControl{padding:9px}body.playerGame #tabooIntroView,body.playerGame #tabooPlayView,body.playerGame #resultsView{inset:3px 3px 54px 3px}body.playerGame .ruleStrip{font-size:.63rem;padding:5px 6px}body.playerGame .roleBadge{font-size:.67rem;padding:5px 7px}body.playerGame .target{font-size:clamp(1.55rem,8.3vw,2.35rem)}body.playerGame .forbiddenGrid button,body.playerGame .forbiddenGrid div{font-size:.66rem;padding:5px 3px}body.playerGame .scoreBox{width:54px;height:54px;flex-basis:54px}}/* Session recovery hardening */.roomSessionActions{display:flex;gap:8px;align-items:center;justify-content:flex-end;flex-wrap:wrap;min-width:0}.hostRecoveryBar{position:sticky;top:6px;z-index:60;margin:8px 0;padding:10px 12px;border-radius:14px;background:#4a2b08;border:1px solid #a66a18;color:#ffe4a3;display:flex;gap:10px;align-items:center;justify-content:center;box-shadow:0 10px 30px #0007}.hostRecoveryBar span{font-weight:900}.hostRecoveryBar button{flex:0 0 auto}.playerSessionExit{display:none}body.playerGame .hostRecoveryBar:not(.hidden){position:fixed;top:5px;left:50%;transform:translateX(-50%);width:min(96vw,520px);margin:0;z-index:100;padding:7px 9px;font-size:.78rem}body.playerGame .playerSessionExit{display:block!important;position:fixed;z-index:100;left:5px;bottom:5px;padding:6px 8px;border-radius:10px;background:#252b49;color:#fff;font-size:.68rem;box-shadow:0 5px 18px #0008}body.playerGame .reactionDock{left:55%}@media(max-width:760px){.roomSessionActions{width:100%;justify-content:stretch}.roomSessionActions>button,.roomSessionActions>.hostActions{flex:1}.hostActions{width:100%}.hostActions button{flex:1 1 140px}.hostRecoveryBar{font-size:.82rem}}/* roster / away-state controls */.rosterItem{gap:10px}.rosterItem .person{min-width:0;flex:1}.rosterAction{flex:0 0 auto;padding:.55rem .75rem;font-size:.82rem}.rosterItem.isAway{opacity:.68;border-style:dashed}.rosterItem.isAway .avatar{filter:grayscale(.6)}#awayView,#rebalanceView{max-width:720px;margin:18px auto}.avatarChip.isAway{opacity:.55;text-decoration:line-through}@media(max-width:560px){.rosterItem{align-items:center}.rosterAction{padding:.5rem .6rem;font-size:.76rem}}/* v15 — ten-game deck */.gameMenuGrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:14px}.menuGame{background:linear-gradient(145deg,#111733,#0b1027);border:1px solid var(--line);border-radius:18px;padding:14px;display:grid;grid-template-columns:auto 1fr auto;grid-template-areas:"icon title title" "icon copy copy" "icon meta button";column-gap:12px;align-items:center}.menuGame .gameIcon{grid-area:icon;font-size:2.2rem}.menuGame h3{grid-area:title;margin:0 0 3px}.menuGame p{grid-area:copy;margin:0 0 8px;color:var(--muted);font-size:.88rem}.menuGame small{grid-area:meta;color:#9ba6d8}.menuGame button{grid-area:button;margin:0;white-space:nowrap}.miniView{max-width:900px;margin:14px auto}.miniTop{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}.miniBody{display:flex;flex-direction:column;gap:12px;min-height:280px;justify-content:center}.miniPrompt{font-size:clamp(1.45rem,4vw,2.5rem);font-weight:1000;text-align:center;line-height:1.08;margin:8px auto;max-width:800px}.miniHero{font-size:clamp(2rem,7vw,4rem);font-weight:1000;text-align:center;line-height:1}.miniChoices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;max-width:720px;width:100%;margin:0 auto}.miniChoice{min-height:64px;background:#182347;color:#fff;border:1px solid #40528f;font-size:1rem}.miniChoice.selected{background:linear-gradient(135deg,#27c1a8,#197ae6);border-color:#7fffe6;box-shadow:0 0 0 2px #7fffe633}.miniWaiting{text-align:center;padding:12px;border-radius:14px;background:#10162f;border:1px solid var(--line);color:#c8d0f2}.revealBars{display:grid;gap:8px;max-width:700px;width:100%;margin:auto}.revealBars>div,.miniScoreRow{display:flex;justify-content:space-between;gap:12px;align-items:center;background:#10162f;border:1px solid var(--line);border-radius:12px;padding:10px 12px}.revealBars span,.miniScoreRow span{font-size:1.25rem;font-weight:1000;color:var(--teal)}.miniScores{display:grid;gap:6px;max-width:700px;width:100%;margin:8px auto}.commonInputs{display:grid;gap:8px;max-width:680px;width:100%;margin:auto}.commonReveal,.missionTeams{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.relayStatus{display:grid;grid-template-columns:1fr 1fr;gap:10px;max-width:540px;width:100%;margin:auto}.relayStatus>div{text-align:center;background:#10162f;border:1px solid var(--line);border-radius:15px;padding:10px}.relayStatus span{display:block;font-size:.65rem;color:var(--muted);font-weight:900;letter-spacing:.12em}.relayStatus b{font-size:1.5rem}.mega{width:min(100%,520px);min-height:84px;margin:0 auto;font-size:1.35rem!important}.secretRule{max-width:720px;width:100%;margin:auto;padding:14px;background:#2b183b;border:1px solid #7a4f9e;border-radius:18px}.secretRule h3{text-align:center;font-size:1.5rem}.ruleExamples{display:grid;grid-template-columns:1fr 1fr;gap:10px}.ruleExamples>div{display:flex;flex-wrap:wrap;gap:6px;align-content:flex-start}.ruleExamples b{width:100%;font-size:.75rem;color:var(--teal)}.ruleExamples span{background:#13182c;border-radius:999px;padding:6px 9px}.memoryGrid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;max-width:760px;width:100%;margin:auto}.memoryGrid>div,.memoryGrid button{min-height:54px;padding:7px;background:#121a38;border:1px solid #3c4d82;border-radius:11px;color:#fff;font-weight:800;text-align:center;overflow-wrap:anywhere}.memoryGrid.recall{grid-template-columns:repeat(4,minmax(0,1fr))}.memoryOption.selected{background:#1e7b68;border-color:#68f3d0}.rankStatic,.rankOptions{display:flex;flex-wrap:wrap;gap:7px;justify-content:center}.rankStatic span,.rankOptions button{padding:9px 12px;border-radius:999px;background:#151d3c;border:1px solid #44558c;color:#fff}.rankChosen{display:grid;gap:6px;max-width:640px;width:100%;margin:auto}.rankChosen>div{display:grid;grid-template-columns:34px 1fr;gap:8px;align-items:center;background:#10162f;border:1px solid var(--line);border-radius:11px;padding:8px}.rankChosen b{display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:#227c6a}.missionRoles{display:flex;gap:8px;flex-wrap:wrap;justify-content:center}.missionRoles span{background:#131a35;border-radius:999px;padding:8px 11px}.secretRoute{text-align:center;font-size:clamp(2rem,8vw,4rem);letter-spacing:.18em;font-weight:1000;padding:12px}.directionPad{display:grid;grid-template-columns:repeat(3,84px);grid-template-areas:". up ." "left down right";gap:8px;justify-content:center}.directionPad button{width:84px;height:70px;font-size:2rem}.directionPad [data-dir=U]{grid-area:up}.directionPad [data-dir=L]{grid-area:left}.directionPad [data-dir=D]{grid-area:down}.directionPad [data-dir=R]{grid-area:right}.missionProgress{text-align:center;font-size:1rem;padding:10px}.miniHostBar{display:flex;justify-content:center;gap:8px;margin-top:12px;padding-top:10px;border-top:1px solid var(--line)}@media(max-width:760px){.gameMenuGrid{grid-template-columns:1fr}.menuGame{grid-template-columns:auto 1fr;grid-template-areas:"icon title" "copy copy" "meta button"}.commonReveal,.missionTeams{grid-template-columns:1fr}.memoryGrid,.memoryGrid.recall{grid-template-columns:repeat(4,minmax(0,1fr))}}body.miniGame{position:fixed;inset:0;width:100%;height:100dvh;overflow:hidden!important}body.miniGame .app{position:fixed;inset:0;width:100%;max-width:none;height:100dvh;padding:4px;overflow:hidden}body.miniGame #room{height:100dvh;overflow:hidden}body.miniGame #miniView{position:fixed;inset:4px 4px 58px 4px;width:auto;max-width:none;margin:0;padding:8px;z-index:20;display:flex;flex-direction:column;overflow:hidden}body.miniGame .miniTop{flex:0 0 auto}body.miniGame .miniBody{flex:1;min-height:0;overflow:hidden;gap:6px}body.miniGame .miniPrompt{font-size:clamp(1.2rem,6.3vw,2rem);margin:2px auto}body.miniGame .miniHero{font-size:clamp(1.8rem,11vw,3rem)}body.miniGame .miniChoices{gap:6px}body.miniGame .miniChoice{min-height:52px;padding:7px;font-size:.86rem}body.miniGame .memoryGrid,body.miniGame .memoryGrid.recall{gap:3px;grid-template-columns:repeat(4,minmax(0,1fr))}body.miniGame .memoryGrid>div,body.miniGame .memoryGrid button{min-height:0;padding:4px 2px;font-size:.68rem;line-height:1.05}body.miniGame .miniWaiting{padding:7px;font-size:.76rem}body.miniGame .miniHostBar{display:none!important}body.miniGame .rankChosen{gap:3px}body.miniGame .rankChosen>div{padding:4px;font-size:.72rem}body.miniGame .rankOptions{gap:4px}body.miniGame .rankOptions button{padding:6px 8px;font-size:.7rem}body.miniGame .commonInputs{gap:5px}body.miniGame .commonInputs input{padding:7px}body.miniGame .secretRule{padding:8px}body.miniGame .secretRule h3{font-size:1.1rem}body.miniGame .ruleExamples span{padding:4px 6px;font-size:.7rem}body.miniGame .directionPad{grid-template-columns:repeat(3,70px);gap:5px}body.miniGame .directionPad button{width:70px;height:58px}body.miniGame .secretRoute{font-size:clamp(1.7rem,9vw,2.7rem);padding:7px}body.miniGame .reactionDock{bottom:4px}@media(max-width:390px){body.miniGame .memoryGrid>div,body.miniGame .memoryGrid button{font-size:.61rem;padding:3px 1px}body.miniGame .miniChoice{font-size:.78rem;min-height:48px}.miniTop h2{font-size:1.15rem}.miniTop .muted{font-size:.65rem}}.displayMiniBody{display:flex;flex-direction:column;gap:16px;align-items:center;justify-content:center;min-height:58vh;width:100%}.displayHero.small{font-size:clamp(2rem,5vw,4rem);max-width:1000px}.displayOptions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;width:min(900px,100%)}.displayOptions>div{display:flex;justify-content:space-between;align-items:center;background:#121a38;border:1px solid #46598d;border-radius:16px;padding:16px 20px;font-size:1.3rem}.displayOptions span{font-size:2rem;font-weight:1000;color:var(--teal)}.displayMemory{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;width:min(1000px,100%)}.displayMemory>div{background:#121a38;border:1px solid #46598d;border-radius:16px;padding:18px 10px;font-size:clamp(1.2rem,2.4vw,2rem);font-weight:900}.displayRank{display:flex;gap:10px;flex-wrap:wrap;justify-content:center;max-width:1000px}.displayRank span{background:#152041;border:1px solid #46598d;border-radius:999px;padding:12px 18px;font-size:1.25rem}.displayRank.vertical{display:grid;width:min(700px,100%)}.displayRank.vertical span{border-radius:14px}.relayPersonClock{text-align:center;font-weight:1000;color:#ffd166;font-size:1.2rem}body.miniGame .hostRecoveryBar:not(.hidden){position:fixed;top:5px;left:50%;transform:translateX(-50%);width:min(96vw,520px);margin:0;z-index:100;padding:7px 9px;font-size:.78rem}body.miniGame .playerSessionExit{display:block!important;position:fixed;z-index:100;left:5px;bottom:5px;padding:6px 8px;border-radius:10px;background:#252b49;color:#fff;font-size:.68rem;box-shadow:0 5px 18px #0008}body.miniGame .reactionDock{left:55%;max-width:calc(100vw - 90px)}/* v16 shared-world game surfaces */.howMini{font-size:.82rem;line-height:1.35;padding:.6rem .7rem;border-radius:12px;background:rgba(255,255,255,.055);margin:.55rem 0;color:var(--muted,#cbd5e1)}.instructionCard{display:flex;flex-direction:column;gap:.3rem;text-align:center;padding:1rem;border-radius:18px;background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.1);margin:.7rem 0}.instructionCard b{font-size:1.05rem}.instructionCard span{line-height:1.35}.targetEmoji{font-size:3.5rem!important;line-height:1.1}.numberReadout{font-size:3rem;font-weight:900;text-align:center;margin:.55rem auto;min-height:1.2em}.numberPad{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.5rem;max-width:360px;margin:auto}.numberPad button{font-size:1.4rem;min-height:54px}.rpsChoices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.65rem}.rpsChoices button{display:flex;flex-direction:column;align-items:center;gap:.35rem;min-height:105px}.rpsChoices span{font-size:2.4rem}.rpsChoices .selected{outline:3px solid rgba(255,255,255,.65);transform:translateY(-2px)}.avatarRps{display:grid;grid-template-columns:repeat(auto-fit,minmax(105px,1fr));gap:.5rem;margin:.75rem 0}.avatarRps>div{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:.35rem;padding:.55rem;border-radius:14px;background:rgba(255,255,255,.06)}.avatarRps em{font-style:normal;font-size:1.5rem}.sideBanner{text-align:center;font-size:1.25rem;font-weight:900;padding:.65rem;border-radius:16px;margin:.4rem 0}.sideBanner.red{background:rgba(239,68,68,.18)}.sideBanner.blue{background:rgba(59,130,246,.18)}.mapGrid,.revealMap,.displayMapGrid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:.35rem;margin:.6rem 0}.mapTile,.displayMapTile{min-width:0;position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.08rem;padding:.35rem .12rem;min-height:62px;border-radius:11px;background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.1);overflow:hidden}.mapTile span,.displayMapTile span{font-size:1.45rem}.mapTile small,.displayMapTile small{font-size:.58rem;white-space:nowrap;max-width:100%;overflow:hidden;text-overflow:ellipsis}.mapTile.selected{outline:3px solid #fff}.mapTile.allyTaken{opacity:.4}.mapTile i{font-size:.48rem;font-style:normal}.mapAvatars{display:flex;gap:.12rem;flex-wrap:wrap;justify-content:center}.mapAvatar,.displayAvatar{border-radius:50%;padding:.08rem}.mapAvatar.red,.displayAvatar.red{box-shadow:0 0 0 2px #ef4444}.mapAvatar.blue,.displayAvatar.blue{box-shadow:0 0 0 2px #3b82f6}.mapAvatar.found,.displayAvatar.found{filter:grayscale(.8);opacity:.55}.terminalGrid,.signalBoardDisplay{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.55rem;margin:.7rem 0}.terminalGrid>*,.signalBoardDisplay>div{display:flex;flex-direction:column;align-items:center;gap:.3rem;padding:.8rem .4rem;border-radius:14px;background:rgba(255,255,255,.07)}.terminalGrid span,.signalBoardDisplay span{font-size:1.25rem}.missionGrid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:.28rem;max-width:360px;margin:.5rem auto}.missionCell{aspect-ratio:1;border-radius:9px;background:rgba(255,255,255,.07);display:grid;place-items:center;font-size:1.25rem;border:1px solid rgba(255,255,255,.07)}.missionCell.hazard{background:rgba(245,158,11,.13)}.missionCell.route{box-shadow:inset 0 0 0 2px rgba(34,197,94,.65)}.missionCell.destination{background:rgba(34,197,94,.18)}.routeStrip{display:flex;gap:.3rem;justify-content:center;flex-wrap:wrap;margin:.5rem}.routeStrip span{display:grid;place-items:center;width:36px;height:36px;border-radius:10px;background:rgba(255,255,255,.1);font-size:1.3rem}.dpad{display:grid;grid-template-columns:repeat(3,64px);grid-template-areas:". u ." "l d r";gap:.4rem;justify-content:center}.dpad button{height:56px;font-size:1.5rem}.dpad [data-dir=U]{grid-area:u}.dpad [data-dir=L]{grid-area:l}.dpad [data-dir=D]{grid-area:d}.dpad [data-dir=R]{grid-area:r}.countStage{position:relative;height:min(52vh,480px);overflow:hidden;border-radius:22px;background:radial-gradient(circle at center,rgba(255,255,255,.08),rgba(255,255,255,.025));margin:.6rem 0}.countFly{position:absolute;left:-12%;font-size:3rem;animation:countFly 3.2s linear forwards;will-change:transform}.countFly.size0{font-size:2.3rem}.countFly.size1{font-size:3rem}.countFly.size2{font-size:3.8rem}@keyframes countFly{from{transform:translateX(0) rotate(-6deg)}to{transform:translateX(125vw) rotate(8deg)}}.rpsWall{display:grid;grid-template-columns:repeat(auto-fit,minmax(125px,1fr));gap:.55rem;margin:.7rem 0}.rpsWall>div{display:grid;grid-template-columns:auto 1fr auto;gap:.4rem;align-items:center;padding:.65rem;border-radius:14px;background:rgba(255,255,255,.07)}.rpsWall span{font-size:1.7rem}.signalBoardDisplay span{font-size:1.5rem}.revealBars .winner,.displayOptions .winner{outline:3px solid rgba(34,197,94,.8);background:rgba(34,197,94,.12)}@media(max-width:620px){.miniView{overflow-x:hidden}.mapGrid,.revealMap{gap:.22rem}.mapTile{min-height:54px;padding:.2rem .05rem}.mapTile span{font-size:1.25rem}.mapTile small{font-size:.5rem}.terminalGrid{gap:.32rem}.terminalGrid>*{padding:.55rem .2rem}.rpsChoices{gap:.35rem}.rpsChoices button{min-height:90px}.numberPad button{min-height:48px}.instructionCard{padding:.75rem}.miniBody{max-width:100%;overflow-x:hidden}}/* v16.1 hardening: clear ready gates + synchronised Count Rush */.readyCard{width:min(100%,760px);margin:auto;padding:18px;border-radius:22px;background:linear-gradient(145deg,rgba(34,197,94,.08),rgba(59,130,246,.08));border:1px solid rgba(255,255,255,.12);display:flex;flex-direction:column;gap:10px}.readyCard h3{text-align:center;margin:0 0 2px;font-size:1.5rem}.readyStep{display:grid;grid-template-columns:34px 1fr;gap:10px;align-items:center;padding:10px 12px;border-radius:14px;background:rgba(255,255,255,.06)}.readyStep>b{display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:#227c6a;color:#fff}.readyStep span{line-height:1.3}.readyTip{text-align:center;color:#c8d0f2;padding:8px 10px;border-radius:12px;background:rgba(0,0,0,.15)}.displayReadySteps{display:grid;gap:12px;max-width:900px;margin:18px auto}.displayReadySteps>div{display:grid;grid-template-columns:54px 1fr;gap:16px;align-items:center;text-align:left;padding:14px 18px;border-radius:18px;background:rgba(255,255,255,.07)}.displayReadySteps b{display:grid;place-items:center;width:46px;height:46px;border-radius:50%;background:#227c6a;font-size:1.35rem}.displayReadySteps span{font-size:clamp(1.1rem,2.3vw,1.7rem);line-height:1.25}.countStage{isolation:isolate}.countCountdown{position:absolute;z-index:20;left:50%;top:50%;transform:translate(-50%,-50%);font-size:clamp(4rem,14vw,9rem);font-weight:1000;text-shadow:0 8px 30px rgba(0,0,0,.5);pointer-events:none}.countCountdown.go{color:#7fffe6}.countCountdown.hidden{display:none}.countRushHeader{font-weight:1000;letter-spacing:.04em}@media(max-width:620px){body.miniGame .readyCard{padding:10px;gap:7px}body.miniGame .readyCard .miniHero{font-size:2.2rem}body.miniGame .readyCard h3{font-size:1.15rem}body.miniGame .readyStep{padding:7px 8px;grid-template-columns:28px 1fr;font-size:.78rem}body.miniGame .readyStep>b{width:26px;height:26px}body.miniGame .readyTip{font-size:.72rem;padding:6px}body.miniGame .readyCard .mega{min-height:54px;font-size:1rem!important}}/* v16.2 field-test UX pass */.scoreRule,.displayScoreRule{display:flex;gap:8px;align-items:center;justify-content:center;flex-wrap:wrap;padding:9px 12px;border-radius:13px;background:rgba(255,225,106,.10);border:1px solid rgba(255,225,106,.28);color:#fff}.scoreRule b,.displayScoreRule b{color:var(--yellow);letter-spacing:.08em;font-size:.72rem}.displayScoreRule{max-width:900px;font-size:clamp(1rem,2vw,1.35rem)}.rpsDistribution{display:flex;gap:8px;justify-content:center;flex-wrap:wrap;margin:8px auto}.rpsDistribution span{min-width:82px;text-align:center;background:#10162f;border:1px solid #414c80;border-radius:999px;padding:9px 13px;font-size:1.05rem;font-weight:1000}.rpsDistribution.big span{font-size:1.5rem;min-width:130px}.teamMiniRoster{display:grid;grid-template-columns:1fr 1fr;gap:6px;margin:5px 0}.teamMiniRoster span{padding:7px 8px;border-radius:11px;background:rgba(255,255,255,.055);font-size:.72rem;line-height:1.25}.teamRoundScores,.teamResultGrid,.displayTeamGrid{display:grid;grid-template-columns:1fr 1fr;gap:8px;width:100%;margin:6px auto}.teamRoundScores>div,.teamResult,.displayTeam{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;padding:10px;border-radius:15px;border:1px solid rgba(255,255,255,.14)}.teamRoundScores .red,.teamResult.red,.displayTeam.red{background:linear-gradient(145deg,rgba(239,68,68,.24),rgba(127,29,29,.18));border-color:rgba(248,113,113,.55)}.teamRoundScores .blue,.teamResult.blue,.displayTeam.blue{background:linear-gradient(145deg,rgba(59,130,246,.24),rgba(30,64,175,.18));border-color:rgba(96,165,250,.55)}.teamRoundScores b{font-size:1.05rem}.teamRoundScores small{color:#fff}.teamResultTitle,.displayTeam>b{font-size:1.05rem;font-weight:1000}.teamResultScore,.displayTeam strong{font-size:2.5rem;line-height:1;font-weight:1000}.teamNames{display:flex;flex-direction:column;gap:3px;text-align:center;font-size:.78rem}.displayTeam span{font-size:1.05rem;line-height:1.45;text-align:center}.hideOutcome,.displayOutcomeGrid{display:grid;grid-template-columns:1fr 1fr;gap:8px;width:100%;margin:8px 0}.hideOutcome>div,.displayOutcomeGrid>div{display:flex;flex-direction:column;gap:4px;padding:9px;border-radius:13px;background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.1)}.hideOutcome span,.displayOutcomeGrid span{font-size:.74rem;line-height:1.3;color:#d7dcef}.displayOutcomeGrid{max-width:1000px}.displayOutcomeGrid>div{font-size:1.2rem}.displayRoundGain{display:flex;gap:16px;justify-content:center;font-size:1.6rem;font-weight:1000}.displayRoundGain .red{color:#ff9da9}.displayRoundGain .blue{color:#8fc3ff}body.playerActor.teamRed.miniGame{background:radial-gradient(circle at 50% 0,#5c1b29 0,#220d1b 46%,#090a1a 100%)!important}body.playerActor.teamBlue.miniGame{background:radial-gradient(circle at 50% 0,#153d75 0,#0b1834 46%,#090a1a 100%)!important}body.playerActor.teamRed.miniGame #miniView{border-color:#ef4444;box-shadow:inset 0 0 0 2px rgba(239,68,68,.18),0 20px 60px #0008}body.playerActor.teamBlue.miniGame #miniView{border-color:#3b82f6;box-shadow:inset 0 0 0 2px rgba(59,130,246,.18),0 20px 60px #0008}body.hostActor .reactionDock{display:none!important}body.hostActor.miniGame header,body.hostActor.miniGame .roomTop,body.hostActor.miniGame #hostArea>.tabs,body.hostActor.miniGame .siteFooter{display:none!important}body.hostActor.miniGame #miniView{inset:4px 4px 72px 4px}body.hostActor.miniGame .miniHostBar{display:flex!important;position:fixed;left:6px;right:6px;bottom:max(6px,env(safe-area-inset-bottom));z-index:120;padding:6px;margin:0;border:1px solid #4b527d;border-radius:14px;background:#10142df2;box-shadow:0 10px 30px #000a;justify-content:center}body.hostActor.miniGame .miniHostBar button{padding:9px 11px;font-size:.78rem}body.miniGame .miniBody{overflow-y:auto!important;overscroll-behavior:contain}.adminCard summary{display:flex!important;justify-content:space-between;gap:12px}.adminCard summary>span:first-child{display:flex;flex-direction:column;min-width:0}.adminCard summary small{display:block;color:var(--muted);font-size:.68rem;margin-top:3px}.adminForbidden{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.adminCard.disabledCard{opacity:.62}.adminEdit .row button{flex:1}.menuGame.fieldTested{border-color:rgba(85,242,208,.55);box-shadow:inset 0 0 0 1px rgba(85,242,208,.08)}@media(max-width:760px){body.hostActor:not(.miniGame) .app{padding-bottom:82px}body.hostActor:not(.miniGame) #hostArea>.tabs{position:fixed;left:6px;right:6px;bottom:max(6px,env(safe-area-inset-bottom));z-index:110;display:grid;grid-template-columns:repeat(3,1fr);padding:6px;margin:0;border-radius:16px;background:#10142df2;border:1px solid #4b527d;box-shadow:0 12px 35px #000a;backdrop-filter:blur(14px)}body.hostActor:not(.miniGame) #hostArea>.tabs .tab{padding:11px 4px;font-size:.78rem;border-radius:11px}.teamMiniRoster{grid-template-columns:1fr}.teamResultGrid,.displayTeamGrid,.hideOutcome,.displayOutcomeGrid{grid-template-columns:1fr 1fr}.teamNames{font-size:.68rem}.adminForbidden{grid-template-columns:1fr}.adminCards{max-height:none;overflow:visible}.gameMenuGrid{gap:8px}.menuGame{padding:11px}.menuGame .howMini{font-size:.75rem}}@media(max-width:390px){.teamRoundScores,.teamResultGrid,.hideOutcome{gap:5px}.teamResultScore{font-size:2rem}.hideOutcome>div{padding:6px}.hideOutcome span{font-size:.65rem}.rpsDistribution span{min-width:72px;padding:7px 8px}}.groupIdentity{display:flex;flex-direction:column;align-items:center;gap:3px;padding:7px 10px;margin:2px auto 5px;border-radius:13px;background:#19203d;border:1px solid #46558a;max-width:620px;width:100%;text-align:center}.groupIdentity b{font-size:1rem}.groupIdentity span{font-size:.7rem;color:#d4d9f4;line-height:1.25}.groupIdentity.g1{border-color:#55f2d0}.groupIdentity.g2{border-color:#67b7ff}.groupIdentity.g3{border-color:#bc84ff}.groupIdentity.g4{border-color:#ffe16a}.groupIdentity.g5{border-color:#ff78b8}.groupIdentity.g0{border-color:#91f5a4}.questionOptions>div{justify-content:center!important}.questionOptions>div b{font-size:1.2rem}.displayMissionTeams{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:12px;width:100%;max-width:1200px}.displayMissionTeam{background:#10162f;border:1px solid #414c80;border-radius:18px;padding:10px}.displayMissionHead{display:flex;justify-content:space-between;gap:8px;align-items:center;margin-bottom:5px}.displayMissionHead span{font-size:.8rem;color:#cdd4f3}.displayMissionGrid{max-width:260px;margin:6px auto}.displayMissionGrid .missionCell{font-size:1rem}/* =========================================================
   v18 FINAL UX HARDENING — ROOM | GAMES, phone-first play
   ========================================================= */:root{--red:#ef4444;--red2:#7f1d1d;--blue:#3b82f6;--blue2:#1e3a8a;--gold:#f7c84b;--ink:#080b19}html,body{max-width:100%;overflow-x:hidden}button,input,select{touch-action:manipulation}button{min-height:44px}.gameDeckHead{display:flex;gap:14px;align-items:center;justify-content:space-between;margin-bottom:8px}.gameDeckHead>div{min-width:0}.gameDeckHead h2{margin:.1rem 0}.roomHostGrid{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(260px,.75fr);gap:14px}.roomQuickStart{align-self:start}.quickSteps{display:grid;gap:8px;margin:12px 0}.quickSteps>div{display:grid;grid-template-columns:32px 1fr;align-items:center;gap:9px;padding:9px 10px;border-radius:13px;background:#111832;border:1px solid var(--line)}.quickSteps b{display:grid;place-items:center;width:28px;height:28px;border-radius:50%;background:#246f62}.quickSteps span{line-height:1.25}/* Exactly ten compact launcher cards. Two columns on normal phones/tablets; one only at very narrow widths. */.gameMenuGrid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.menuGame{min-width:0;grid-template-columns:52px minmax(0,1fr);grid-template-areas:"icon title" "copy copy" "meta button";gap:7px 9px;padding:12px}.menuGame .gameIcon{font-size:2rem;width:48px;height:48px;display:grid;place-items:center;border-radius:14px;background:#ffffff09;border:1px solid #ffffff12}.menuGame .menuGameText{display:contents}.menuGame h3{font-size:1.02rem;margin:0;align-self:center}.menuGame p{font-size:.78rem;line-height:1.25;margin:0;min-height:2.45em}.menuGame small{font-size:.65rem;line-height:1.15;align-self:center}.menuGame button{min-height:40px;padding:8px 12px;font-weight:1000}.practiceCallout{margin-top:12px}/* Room-vote UI */.voteView{max-width:920px;margin:10px auto}.voteGameGrid,.displayVoteGrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;width:100%;max-width:900px;margin:10px auto}.voteGame{display:grid;grid-template-columns:42px 1fr;grid-template-areas:"icon title" "icon state";align-items:center;text-align:left;gap:0 8px;min-width:0;padding:9px;border-radius:14px;background:#121a38;border:1px solid #3e4d7f;color:#fff}.voteGame>span{grid-area:icon;font-size:1.7rem;text-align:center}.voteGame>b{grid-area:title;white-space:normal;line-height:1.1}.voteGame>small{grid-area:state;color:#7fffe6;font-size:.62rem}.voteGame.selected{border-color:#7fffe6;background:#143f42;box-shadow:inset 0 0 0 1px #7fffe64d}.voteResult{display:grid;place-items:center;min-height:180px}.voteWinner{display:flex;flex-direction:column;align-items:center;gap:8px;font-size:3.2rem}.voteWinner b{font-size:1.5rem}.voteWinner span{font-size:.8rem;color:var(--muted)}.voteHostPanel{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:10px 0;padding:10px 12px;border-radius:15px;background:#151d3c;border:1px solid #45568d}.voteHostPanel>div:first-child{display:flex;flex-direction:column;gap:2px}.voteHostPanel span{font-size:.72rem;color:var(--muted)}.displayVoteGrid{grid-template-columns:repeat(5,minmax(0,1fr));max-width:1100px}.displayVoteGrid>div{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;min-height:110px;padding:10px;border-radius:18px;background:#ffffff0c;border:1px solid #ffffff18}.displayVoteGrid span{font-size:2.2rem}.displayVoteGrid b{font-size:.85rem;text-align:center}.voteCarouselPick{display:flex;flex-direction:column;align-items:center;gap:12px;margin:20px auto;font-size:clamp(4rem,12vw,8rem);animation:votePulse .22s ease}.voteCarouselPick b{font-size:clamp(1.7rem,5vw,3rem)}.voteCarouselPick.final{filter:drop-shadow(0 0 30px #7fffe688)}@keyframes votePulse{from{transform:scale(.88);opacity:.5}to{transform:scale(1);opacity:1}}/* Simon host-referee / public elimination *//* Forbidden Words: subtle referee-pending state; no visible consensus counter. */.forbiddenGrid button.pending,.targetSaidBtn.pending{background:#604814!important;border-color:#d9ab36!important;color:#fff!important}.forbiddenGrid button.pending:after{content:" • marked";font-size:.56rem;opacity:.8}.forbiddenGrid button.confirmed,.targetSaidBtn.confirmed{background:#7f1d1d!important;border-color:#ff7b84!important;text-decoration:line-through}.teamRed.playerGame{background:radial-gradient(circle at 50% 0,#571827 0,#210d1a 47%,#080a17 100%)!important}.teamBlue.playerGame{background:radial-gradient(circle at 50% 0,#123a72 0,#0a1732 47%,#080a17 100%)!important}/* Mini-game layout — active play is a controller, not a scrolling webpage. */body.miniGame .miniBody{overflow:hidden!important;overscroll-behavior:none;min-height:0;justify-content:center}body.miniGame #miniView{overflow:hidden!important}body.miniGame .miniTop{min-height:54px;align-items:center}body.miniGame .miniTop h2{margin:0;font-size:clamp(1.05rem,4.8vw,1.55rem)}body.miniGame .miniTop .muted{font-size:.65rem}body.miniGame .instructionCard{padding:7px 9px;margin:3px 0;border-radius:13px;font-size:.76rem}body.miniGame .instructionCard b{font-size:.86rem}body.miniGame .miniScores{max-height:42vh;overflow:hidden;margin:4px auto;gap:4px}body.miniGame .miniScoreRow{padding:6px 8px;font-size:.72rem}body.miniGame .miniScoreRow span{font-size:1rem}body.miniGame .sideBanner{font-size:.9rem;padding:6px;margin:2px 0}body.miniGame .teamMiniRoster{font-size:.62rem;line-height:1.15;gap:3px}body.miniGame .teamRoundScores{margin:2px 0}body.miniGame .teamRoundScores>div{padding:6px}body.miniGame .displayRoundGain{font-size:1rem;gap:8px}body.miniGame .miniHostBar{flex-wrap:wrap}body.miniGame .readyCard{max-height:100%;overflow:hidden}body.miniGame .scoreRule{font-size:.72rem}/* Themed Count Rush. Placeholder CSS art is replaced by final generated art later. */.countTheme{display:flex;justify-content:center;align-items:center;gap:8px;font-weight:1000;padding:7px 10px;border-radius:13px;border:1px solid #ffffff18}.countTheme.space,.countStage.theme-space{background:radial-gradient(circle at 50% 35%,#1d3265,#080b20 70%)}.countTheme.ocean,.countStage.theme-ocean{background:linear-gradient(#10547c,#06243e 65%,#071929)}.countTheme.city,.countStage.theme-city{background:linear-gradient(#3c496d,#12172c 55%,#090c16)}.countTheme.fruit,.countStage.theme-fruit{background:linear-gradient(135deg,#35461c,#14210e 65%,#0a1108)}.countTheme.arcade,.countStage.theme-arcade{background:radial-gradient(circle,#3e165b,#101128 72%)}body.miniGame .targetEmoji{font-size:2.65rem!important}body.miniGame .numberReadout{font-size:2.2rem;margin:2px auto}body.miniGame .numberPad{gap:4px;max-width:310px}body.miniGame .numberPad button{min-height:44px;padding:5px;font-size:1.15rem}/* Secret Bid */.spaceFinal{display:flex;flex-direction:column;align-items:center;gap:2px}.spaceFinal b{font-size:3rem}.spaceFinal span{text-transform:uppercase;font-size:.65rem;letter-spacing:.12em;color:var(--muted)}/* Mole Memory */.moleGrid,.displayMoleGrid{display:grid;gap:5px;width:100%;max-width:680px;margin:4px auto}.moleHole{display:grid;place-items:center;min-width:0;min-height:54px;padding:3px;border-radius:50% 50% 38% 38%;background:radial-gradient(ellipse at 50% 78%,#18100b 0 36%,#4e321b 38% 49%,#102015 52%);border:1px solid #70512f;color:#fff}.moleHole span{font-size:1.55rem}.moleHole small{font-size:.48rem;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.moleHole.selected{outline:3px solid #fff}.moleTarget{text-align:center;font-size:1.25rem;font-weight:1000}.moleTarget span{font-size:2rem}.displayMoleGrid .moleHole{min-height:80px}.displayMoleGrid .moleHole span{font-size:2.4rem}/* Top Answers */.topGrid,.displayCandidateGrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px;width:100%;max-width:760px;margin:4px auto}.topGrid button,.displayCandidateGrid>div{min-width:0;padding:8px;border-radius:11px;background:#111832;border:1px solid #3e4d7c;color:#fff;text-align:left;font-size:.76rem;line-height:1.15}.topGrid button.claimed{opacity:.38}.topGrid button.mine{background:#1b5a4d;border-color:#6cf1d3}.displaySource{text-align:center;font-size:.65rem;color:#9fa8cf;margin-top:5px}/* Space Scramble — co-op world vs CPU */.spaceStatus{display:flex;align-items:center;justify-content:center;gap:12px;padding:7px;border-radius:14px;background:#0c1834;border:1px solid #385283;font-weight:900}.spaceStatus .health{color:#7fffe6}.spaceGrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;width:100%;max-width:640px;margin:4px auto}.spaceGrid button,.spaceGrid>div{display:grid;grid-template-columns:38px minmax(0,1fr) auto;align-items:center;gap:7px;min-width:0;padding:8px;border-radius:13px;background:#101a36;border:1px solid #3a4d80;color:#fff;text-align:left}.spaceGrid .sysIcon{font-size:1.65rem}.spaceGrid b{line-height:1.1}.spaceGrid small{display:block;color:#b7c0e5;font-size:.58rem}.spaceGrid strong{font-size:1.25rem;color:#ffd45d}.spaceGrid button.selected{border-color:#7fffe6;background:#123c42}.spaceGrid.reveal>div.exact{border-color:#48dc9f;background:#14382f}.spaceGrid.reveal>div.short{border-color:#ef6464;background:#411b25}.spaceGrid.reveal>div.over{border-color:#f2b24f;background:#493717}/* Public display shared score/teams */.displayTeamGrid{display:grid;grid-template-columns:1fr 1fr;gap:12px;width:min(100%,1000px);margin:10px auto}.displayTeam{padding:12px;border-radius:18px;border:1px solid #ffffff20;text-align:center}.displayTeam strong{display:block;margin:5px 0}.displayOutcomeGrid{max-height:36vh;overflow:hidden}.displaySource{opacity:.9}/* Mobile host uses two bottom tabs only. */@media(max-width:760px){.roomHostGrid{grid-template-columns:1fr}.gameDeckHead{align-items:flex-start;flex-direction:column}.gameDeckHead #roomVoteBtn{width:100%}body.hostActor:not(.miniGame) #hostArea>.tabs{grid-template-columns:repeat(2,1fr)!important}.voteHostPanel{flex-direction:column;align-items:stretch}.voteHostPanel .row{width:100%}.voteHostPanel .row button{flex:1}.gameMenuGrid{grid-template-columns:repeat(2,minmax(0,1fr))}.menuGame{grid-template-columns:42px minmax(0,1fr);padding:9px;gap:5px 7px}.menuGame .gameIcon{width:40px;height:40px;font-size:1.6rem}.menuGame h3{font-size:.86rem}.menuGame p{font-size:.68rem;min-height:2.4em}.menuGame small{font-size:.55rem}.menuGame button{font-size:.72rem;padding:7px 8px}.voteGameGrid{grid-template-columns:repeat(2,minmax(0,1fr))}.voteGame{padding:7px;grid-template-columns:34px 1fr}.voteGame>span{font-size:1.45rem}.voteGame>b{font-size:.78rem}body.miniGame .miniBody{gap:4px}body.miniGame .mapGrid,body.miniGame .revealMap{max-height:53vh}.moleGrid{gap:3px}.moleHole{min-height:46px}.moleHole span{font-size:1.35rem}.topGrid{gap:4px}.topGrid button{padding:6px;font-size:.68rem}.spaceGrid{gap:4px}.spaceGrid button,.spaceGrid>div{padding:6px;grid-template-columns:32px 1fr auto}.spaceGrid .sysIcon{font-size:1.35rem}}@media(max-width:350px){.gameMenuGrid{grid-template-columns:1fr}.menuGame p{min-height:0}.displayVoteGrid{grid-template-columns:repeat(2,minmax(0,1fr))}}/* Keep recovery/exit controls out of gameplay's decision area. */body.miniGame .playerSessionExit{left:5px;bottom:5px;opacity:.72;min-height:34px!important}body.miniGame .reactionDock{max-height:44px}body.miniGame .reactionDock.hidden{display:none!important}/* v18.2 persistent Red / Blue lobby + vote clarity */.teamLobbyBox{grid-column:1/-1}.teamLobbyHead{display:flex;align-items:center;justify-content:space-between;gap:12px}.teamLobbyHead h3{margin:.1rem 0}.teamLobbyGrid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.teamLobby{border-radius:16px;padding:10px;border:1px solid #ffffff1e;min-width:0}.teamLobby.red{background:linear-gradient(145deg,#481721,#1c101a);border-color:#9c4151}.teamLobby.blue{background:linear-gradient(145deg,#123b6d,#0c172d);border-color:#386da7}.teamLobbyNames{display:flex;flex-wrap:wrap;gap:5px;margin-top:7px}.teamLobbyNames span{padding:5px 7px;border-radius:999px;background:#0000002a;font-size:.74rem;white-space:nowrap}.readyTeams{margin:7px auto;max-width:680px}.readyTeams .teamResult{padding:7px}.readyTeams .teamResultScore{display:none}.readyTeams .teamNames{max-height:92px;overflow:hidden}.voteGame em{grid-column:2;font-style:normal;color:var(--muted);font-size:.65rem;line-height:1.15;text-align:left}.voteGame small{grid-column:1/-1}.displayReadyTeams{margin:8px auto}.displayReadyTeams .displayTeam strong{display:none}@media(max-width:560px){.teamLobbyHead{align-items:flex-start;flex-direction:column}.teamLobbyHead button{width:100%}.teamLobbyGrid{grid-template-columns:1fr 1fr}.teamLobby{padding:8px}.teamLobbyNames{display:grid;gap:3px}.teamLobbyNames span{font-size:.66rem;overflow:hidden;text-overflow:ellipsis}.voteGame em{font-size:.58rem}}/* Active host/referee views behave like controllers, not long pages. */body.tabooGame{overflow:hidden!important;height:100dvh}body.tabooGame .app{height:100dvh;overflow:hidden;padding:4px}body.tabooGame #room{height:100dvh;overflow:hidden}body.tabooGame #hostArea,body.tabooGame .roomTop{display:none!important}body.tabooGame #tabooIntroView,body.tabooGame #tabooPlayView{position:fixed;inset:4px 4px 8px 4px;margin:0;max-width:none;overflow:hidden;z-index:30;display:flex;flex-direction:column;justify-content:center}body.tabooGame #tabooPlayView .roleView{min-height:0;overflow:hidden}body.tabooGame #hostPlayView .gameCard,body.tabooGame #spectatorView .gameCard,body.tabooGame #clueView .gameCard{max-height:65dvh;overflow:hidden}body.tabooGame .siteFooter{display:none!important}@media(max-width:560px){body.tabooGame #tabooPlayView,body.tabooGame #tabooIntroView{padding:7px}body.tabooGame .playTop{margin-bottom:3px}body.tabooGame .ruleStrip{padding:6px;font-size:.69rem}body.tabooGame .target{font-size:clamp(1.6rem,10vw,2.4rem)}body.tabooGame .forbiddenGrid{gap:4px}body.tabooGame .forbiddenGrid button{padding:7px 4px;font-size:.72rem}body.tabooGame #hostPlayView .row{gap:4px;flex-wrap:wrap}body.tabooGame #hostPlayView .row button{flex:1;min-width:42%}}/* v18.3 art integration: decorative images never replace text or controls. */.artIcon{position:relative;display:inline-grid!important;place-items:center;vertical-align:middle;width:1.8em;height:1.8em;line-height:1;flex:none}.artIcon img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;pointer-events:none}.artIcon .artFallback{font-size:1em!important;line-height:1}.artIcon.loaded .artFallback{visibility:hidden}.artHero{display:block;object-fit:cover;width:100%;aspect-ratio:16/9;border-radius:12px;max-height:150px}.menuGame{grid-template-areas:"art art" "icon title" "copy copy" "meta button"}.menuGame>.artHero{grid-area:art;max-height:none}.menuGame .gameIcon .artIcon{width:42px;height:42px}.readyCard>.artHero{height:clamp(48px,12dvh,120px);flex:none;object-position:center 45%}.displayMiniBody>.artHero{width:300px;height:130px;margin:0 auto}.countStage{width:100%;flex:none;background-size:cover!important;background-position:center!important}.countStage:before{content:"";position:absolute;inset:0;background:#071026aa;z-index:0;pointer-events:none}.countStage.theme-space{background-image:url("art/heroes/count-bg-space.png")}.countStage.theme-ocean{background-image:url("art/heroes/count-bg-ocean.png")}.countStage.theme-city{background-image:url("art/heroes/count-bg-city.png")}.countStage.theme-fruit{background-image:url("art/heroes/count-bg-fruit.png")}.countStage.theme-arcade{background-image:url("art/heroes/count-bg-arcade.png")}.countFly{left:-70px;z-index:1;animation-name:countTravel;opacity:0;animation-fill-mode:forwards}.countFly .artIcon{width:1.5em;height:1.5em}.countStage{container-type:inline-size}@keyframes countTravel{0%{opacity:1;transform:translateX(0)}99%{opacity:1}100%{opacity:0;transform:translateX(calc(100cqw + 150px))}}.miniBody .countStage{height:clamp(180px,38dvh,360px);margin:2px 0}.miniBody .countFly{font-size:24px}.miniBody .countFly.size0{font-size:20px}.miniBody .countFly.size2{font-size:28px}.targetEmoji .artIcon{width:50px;height:50px}.moleGrid button,.displayMoleGrid>div{display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:0;border-radius:16px;background:radial-gradient(ellipse at bottom,#654329,#111d24);color:white;padding:3px;border:1px solid #806345}.moleGrid .artIcon{width:50px;height:50px}.displayMoleGrid .artIcon{width:75px;height:75px}.moleGrid small{font-size:10px;line-height:1.1}.moleTarget .artIcon{width:60px;height:60px}.mapTile .artIcon{width:42px;height:42px}.displayMapTile .artIcon{width:58px;height:58px}.spaceGrid{max-width:800px}.spaceGrid button,.spaceGrid>div{grid-template-columns:48px minmax(0,1fr);grid-template-rows:auto auto}.spaceGrid button>span,.spaceGrid>div>span{grid-row:1/3}.spaceGrid .artIcon{width:48px;height:48px}.spaceGrid em{font-size:12px;font-style:normal}.spaceGrid small{grid-column:2}.spaceStatus{font-size:12px;gap:8px}.spaceStatus .artIcon{width:28px;height:28px}body.teamRed.miniGame #miniView{background:linear-gradient(145deg,#481721,#210e19);border-color:#ff647b}body.teamBlue.miniGame #miniView{background:linear-gradient(145deg,#123b6d,#0c172d);border-color:#63b5ff}body.miniGame .playerSessionExit.hostOnly,body.miniGame.hostActor .playerSessionExit{display:none!important}body.miniGame .miniBody{width:100%;display:flex;flex-direction:column;align-items:stretch;gap:4px}body.miniGame .miniTop{min-height:42px}.miniTop .muted{display:none}body.miniGame .readyCard{gap:5px;padding:8px;flex-shrink:1}body.miniGame .readyStep{padding:5px 6px;font-size:12px;line-height:1.15}body.miniGame .readyCard h3,body.miniGame .readyTip{display:none}body.miniGame .readyTeams .teamNames{font-size:10px;max-height:none}body.miniGame .readyTeams .teamResult{padding:3px}.readyTeams .teamResultTitle{font-size:12px}body.miniGame .readyCard .mega{min-height:44px}body.miniGame .miniPrompt{font-size:clamp(15px,4vw,24px);line-height:1.15}body.miniGame .topGrid{max-width:900px;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px}body.miniGame .topGrid button{min-height:38px;font-size:12px;padding:4px 6px}body.miniGame .miniScores{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));max-height:none;width:100%;max-width:900px}body.miniGame .miniScoreRow{min-width:0;font-size:10px;padding:4px;min-height:24px}.miniScoreRow b{overflow-wrap:anywhere}body.miniGame .miniScoreRow span{font-size:12px}body.miniGame .miniHero{font-size:clamp(18px,5vw,30px);line-height:1.1}body.miniGame .mapGrid,body.miniGame .revealMap{margin:2px 0;gap:3px;max-height:none}body.miniGame .mapTile{min-height:52px;padding:1px}.mapTile small{font-size:9px}body.miniGame .teamMiniRoster{display:none}body.miniGame .teamNames{font-size:11px}.teamResult{min-width:0}@media(max-height:650px){body.miniGame .readyCard>.artHero{height:48px}body.miniGame .scoreRule{font-size:10px}body.miniGame .mapTile .artIcon{width:30px;height:30px}body.miniGame .mapTile{min-height:44px}body.miniGame .moleGrid .artIcon{width:36px;height:36px}body.miniGame .moleGrid button{min-height:48px}body.miniGame .instructionCard{font-size:11px}body.miniGame .instructionCard b{font-size:12px}}/* Public stage fits the actual screen, with a compact join header. */.displayShell{height:100dvh;min-height:0;padding:12px;display:flex;flex-direction:column;gap:8px}.displayHeader{flex:none}.displayHeader h1{font-size:28px}.qrBox img{width:72px;height:72px}.qrBox{padding:4px;font-size:10px}.displayPanel{flex:1;min-height:0;margin:0;padding:12px;overflow:hidden;display:flex;flex-direction:column;align-items:stretch;justify-content:center}.displayMiniBody{min-height:0;flex:1;display:flex;flex-direction:column;justify-content:center;gap:4px}.displayTitle{font-size:clamp(22px,3vw,42px)}.displayHero{font-size:clamp(24px,4vw,52px)}.displayHero.small{font-size:clamp(18px,2.5vw,32px)}.displayTimer{font-size:clamp(28px,4vw,58px);line-height:1.1;margin:3px}.displayClue{font-size:clamp(14px,1.8vw,24px);margin:3px}.displayTeamGrid{margin:3px auto;gap:6px}.displayTeam{padding:4px}.displayTeam strong{font-size:28px;margin:1px}.displayTeam span{font-size:12px}.displayReadySteps{margin:5px auto;gap:5px}.displayReadySteps>div{padding:6px;grid-template-columns:32px 1fr;gap:8px}.displayReadySteps b{width:28px;height:28px;font-size:16px}.displayReadySteps span{font-size:clamp(13px,1.6vw,20px)}.displayScoreRule{font-size:14px}.displayFooter{padding:0;margin:0;font-size:10px}.displayPanel .countStage{height:min(48dvh,440px)}.displayGroups{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px}.displayGroup{padding:6px;font-size:14px}.displayCandidateGrid{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.displayCandidateGrid>span{font-size:16px;padding:6px;background:#172644;border-radius:8px}@media(max-width:600px){.displayShell{padding:6px}.displayHeader h1{font-size:18px}.displayFullscreen{font-size:10px;padding:4px;min-height:32px}.displayPanel{padding:5px}.displayTeam span{font-size:9px}.displayMapTile .artIcon{width:32px;height:32px}.displayMapTile{min-height:44px;padding:1px}.displayMoleGrid .artIcon{width:40px;height:40px}.displayMoleGrid small{font-size:9px}.displayGroups{grid-template-columns:repeat(2,minmax(0,1fr))}.displayGroup{font-size:10px}.displayCandidateGrid{grid-template-columns:repeat(2,minmax(0,1fr))}.displayCandidateGrid>span{font-size:11px;padding:4px}.displayMiniBody>.artHero{height:60px;width:150px}.displayVoteGrid{grid-template-columns:repeat(2,minmax(0,1fr))}.displayVoteGrid>div{min-height:48px;padding:2px}.displayVoteGrid span{font-size:18px}.displayVoteGrid b{font-size:11px}}/* Compact clock leaves room for all decisions on short phone screens. */body.miniGame #miniClock{width:64px;height:64px;min-width:64px;padding:4px;border-width:2px;margin:0}body.miniGame #miniClock span{font-size:26px;line-height:1}body.miniGame #miniClock small{font-size:9px}body.miniGame .miniTop{min-height:66px}body.miniGame .miniBody>.muted{font-size:11px;margin:2px;text-align:center}body.miniGame.hostActor #miniView{bottom:60px}body.miniGame .miniHostBar button{min-height:38px;padding:5px 8px}body.miniGame #hostArea,body.miniGame #playerArea{display:none!important}body.miniGame #miniClock span{font-size:18px;max-width:100%;overflow-wrap:anywhere}body.miniGame.hostActor .targetEmoji{font-size:20px!important}body.miniGame .countTheme{padding:4px;font-size:13px;flex:none}body.miniGame .countStage{flex:1;min-height:140px;max-height:38dvh;height:auto}body.miniGame .instructionCard,body.miniGame .miniWaiting{flex:none}body.miniGame .mapTile{color:#fff}body.miniGame .sideBanner{color:#fff}@media(max-height:650px){body.tabooGame .playTop .scoreBox{width:54px;height:54px;border-width:2px;flex:none}body.tabooGame .playTop .scoreBox span{font-size:24px}body.tabooGame .playTop .scoreBox small{font-size:9px}body.tabooGame .playTop h2{font-size:20px}body.tabooGame .playTop p{margin:2px}body.tabooGame .roleBadge{padding:5px;font-size:14px}body.tabooGame .ruleStrip{font-size:10px;padding:4px;margin:4px 0}body.tabooGame .gameCard{padding:7px!important;margin:5px auto!important;max-height:none!important}body.tabooGame .target{font-size:26px}body.tabooGame .forbidLabel{margin:5px 0;font-size:9px}body.tabooGame .forbiddenGrid button,body.tabooGame .forbiddenGrid div{padding:6px 3px;font-size:11px;min-height:32px}body.tabooGame .cardValue{margin-top:5px;font-size:13px}body.tabooGame .targetHitBtn{padding:5px;font-size:11px;min-height:32px}body.tabooGame .twoButtons button,body.tabooGame #hostPlayView>.row button{padding:7px;min-height:36px;font-size:12px}body.miniGame .revealBars{gap:3px}body.miniGame .revealBars>div{padding:4px;font-size:11px}body.miniGame .spaceGrid.reveal{gap:2px}body.miniGame .spaceGrid.reveal>div{padding:3px;font-size:11px}body.miniGame .spaceGrid.reveal .artIcon{width:30px;height:30px}body.miniGame .spaceGrid.reveal small .artIcon{width:20px;height:20px}}@media(max-height:650px){body.miniGame .topGrid{grid-template-columns:repeat(3,minmax(0,1fr))}body.miniGame .topGrid button{min-height:42px;font-size:11px;line-height:1.15;padding:3px}body.tabooGame #hostPlayView .row button{min-width:0;flex:1;font-size:11px;padding:5px}body.tabooGame #hostPlayView .row #hostUndoTaboo{flex-basis:100%}}body.teamRed.tabooGame #tabooPlayView,body.teamRed.tabooGame #tabooIntroView{background:linear-gradient(145deg,#481721,#210e19);border-color:#ff647b}body.teamBlue.tabooGame #tabooPlayView,body.teamBlue.tabooGame #tabooIntroView{background:linear-gradient(145deg,#123b6d,#0c172d);border-color:#63b5ff}body.miniGame .teamRoundScores{color:#fff}body.miniGame .reactionDock{left:auto;right:5px;bottom:5px;transform:none;padding:2px}body.miniGame .reactionDock button{font-size:16px;padding:3px}body.miniGame .miniBody{padding-top:4px}body.miniGame .teamRoundScores>div{color:#fff}.moleGrid button:disabled{opacity:1;filter:none}/* v19: clear roles, complete artwork, tactile controls, accessible quiet mode. */.artHero,.readyCard>.artHero,.displayMiniBody>.artHero{object-fit:contain!important;background:#0c1428}.hostHelp{padding:10px;font-size:13px;color:#d4dff7;max-width:800px;margin:auto}body.miniGame .hostHelp,body.tabooGame .hostHelp{display:none}.roomOptions,details{margin:8px 0}summary{cursor:pointer;padding:8px 0;font-size:14px}.rosterItem{flex-wrap:wrap}.rosterItem .reconnectPlayer{padding:7px;font-size:11px}.toast{position:fixed;z-index:1000;left:50%;top:10px;transform:translateX(-50%);width:min(92vw,520px);padding:13px;border-radius:12px;background:#123c36;color:#fff;box-shadow:0 8px 35px #0008;font-size:14px}.toast.error{background:#631e32}.displayGate{max-width:480px;margin:10vh auto;padding:24px;background:#151b38;border:1px solid #4b6290;border-radius:20px}.displayGate a{color:#7bedd6}.soundControl{position:fixed;right:9px;top:9px;z-index:160;margin:0}.soundControl>summary{list-style:none;background:#222c4a;color:#fff;border:1px solid #617095;border-radius:20px;padding:7px 12px;font-size:12px;box-shadow:0 3px 12px #0005}.soundPanel{position:absolute;right:0;top:38px;width:min(290px,90vw);padding:15px;background:#121a30;border:1px solid #59698f;border-radius:16px;color:#fff;font-size:13px;box-shadow:0 10px 35px #0009}.soundPanel p{margin:6px 0}.soundPanel label{display:block;margin-top:8px}.soundPanel input{margin:4px 0;padding:0}.soundPanel button{font-size:12px;padding:8px;margin:4px 0}.soundPanel small{display:block;margin-top:10px;line-height:1.4}.soundPanel select{font-size:13px}body.hostActor.miniGame .soundControl,body.tabooGame .soundControl{top:auto;bottom:65px;right:8px}body.miniGame .soundControl[open],body.tabooGame .soundControl[open]{bottom:65px}body.miniGame .soundPanel,body.tabooGame .soundPanel{top:auto;bottom:38px;max-height:70dvh;overflow:auto}body.displayBody .soundControl{right:110px;top:16px}.displayHeaderActions{padding-right:75px}.hapticToggle{display:block;font-size:11px;padding:6px;margin:8px auto}button:focus-visible,summary:focus-visible,a:focus-visible{outline:3px solid #f9db55;outline-offset:3px}button:active{filter:brightness(1.13)}@media(prefers-reduced-motion:reduce){.bgOrb,.eventBurst,.floatLayer,.pop{animation:none!important;transition:none!important}button{transition:none!important}html{scroll-behavior:auto!important}}body.hostActor.miniGame #miniHostBar>.soundControl{position:relative;inset:auto;margin:0;z-index:170}body.hostActor.miniGame #miniHostBar>.soundControl>summary{padding:8px;font-size:11px;min-height:36px}body.tabooGame .soundControl{display:none!important}body.displayBody .displayHeaderActions>.soundControl{position:relative;inset:auto;order:-1}.displayHeaderActions{padding-right:0}/* Keep decoration and credits outside focused play; preserve readable team labels. */body.miniGame,body.tabooGame{background:#080d20!important}body.miniGame .siteFooter,body.miniGame .bgOrb,body.tabooGame .bgOrb{display:none!important}.teamLobby{color:#fff}.teamLobbyNames span{white-space:normal;overflow-wrap:anywhere}.mapTile small{white-space:normal;overflow:visible;text-overflow:clip;line-height:1.05;overflow-wrap:anywhere}@media(max-width:380px){body.miniGame .mapGrid,body.miniGame .revealMap{gap:2px}}#avatarPicker{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:5px;max-height:260px;overflow:auto;padding:4px}#avatarPicker button{font-size:24px;min-width:0;min-height:40px;padding:4px;position:relative}#avatarPicker button:disabled{opacity:.25;cursor:not-allowed}#avatarPicker button.selected{outline:3px solid #6df2d1;background:#235c60}#avatarOptions>summary{display:flex;align-items:center;gap:8px}#avatarChoice{font-size:24px}@media(max-width:380px){#avatarPicker{grid-template-columns:repeat(6,minmax(0,1fr))}}/* The expanded setup picker shows complete icons; play controllers stay unchanged. */#avatarPicker{max-height:none;overflow:visible}/* Playlist: visual hierarchy inherited from the large game-selection artworks */.modePickGrid{display:grid;grid-template-columns:1.2fr 1fr;gap:16px;margin:18px 0 24px}.modePick{min-height:238px;background-color:#18284d;background-size:cover;background-position:center;display:flex;align-items:center;padding:24px;border:2px solid rgba(255,255,255,.24);border-radius:24px;box-shadow:0 16px 42px #0006}.modePick h3{font-size:clamp(1.7rem,3.5vw,2.6rem);margin:12px 0 7px;color:#fff;text-shadow:0 3px 6px #000a}.modePick p{font-size:1.1rem;font-weight:700;color:white;text-shadow:0 2px 5px #000}.modePick .eyebrow{color:#dceaff;font-weight:900}.playlistStep{margin:6px 0 16px;padding:16px 20px;background:linear-gradient(105deg,#183d68,#652f84);border:2px solid #b0edff;border-radius:20px;display:flex;align-items:center;justify-content:space-between;gap:12px;color:#fff}.playlistStep b{font-size:clamp(1rem,3vw,1.25rem);color:#fff}.playlistStep strong{font-size:clamp(1.15rem,4vw,1.8rem);text-align:right}.playlistEnd{margin:20px 0;padding:24px;border-radius:22px;background:#102d49;border:2px solid #93dcff;text-align:center}.playlistEnd h3{font-size:1.7rem;color:#fff}.playlistEnd .mega{width:100%;margin-top:12px;font-size:1.25rem;min-height:72px}@media(max-width:700px){.modePickGrid{grid-template-columns:1fr}.modePick{min-height:205px}.playlistStep{flex-wrap:wrap}}@media(min-width:1100px){.stationGrid{grid-template-columns:repeat(auto-fit,minmax(175px,1fr))}}.patchBoard{width:100%;max-width:900px;display:grid;gap:2px;margin:16px auto;border:6px solid #a8e7ff;border-radius:18px;overflow:hidden;background:#040c1b}.patchCell{min-width:0;min-height:0;position:relative;background:#192c4e;border:1px solid rgba(255,255,255,.18);color:#fff!important;display:grid;place-items:center;padding:0;transition:filter .18s}.patchCell span{font-size:clamp(.9rem,2vw,1.5rem);font-weight:900}.patchCell.filled{border:none;background-repeat:no-repeat}button.patchCell:not(.filled):hover{filter:brightness(1.6);background:#31527d}.patchMyPiece{display:flex;flex-direction:column;align-items:center;gap:6px;border:2px solid #c5eaff;background:#0a2649;border-radius:21px;padding:12px;color:#fff}.patchMyPiece div{width:min(38vw,175px);background-repeat:no-repeat;border:3px solid #ffdf79;border-radius:10px}.patchMyPiece b{font-size:1.1rem}.patchMyPiece small{color:#dce8fa}/* Larger, high-contrast live surfaces. New images are scenery, never baked-in text. */.teamResult,.teamResult *, .displayTeam,.displayTeam *, .teamLobby,.teamLobby *{color:#fff!important;text-shadow:0 2px 3px #030612cc}.teamNames span{display:block;background:rgba(0,0,0,.28);border-radius:8px;padding:5px 8px;min-height:28px}.spaceVoyage{background:linear-gradient(110deg,#091c45ee,#163b6dcc),url("art/heroes/hero-space-scramble.png") center/cover;border:2px solid #8fd5ff;border-radius:23px;padding:17px 16px;margin:12px auto 18px;color:#fff!important;box-shadow:0 16px 40px #0005}.spaceVoyageLabel{display:flex;align-items:center;justify-content:space-between;gap:12px;font-weight:1000;font-size:clamp(1rem,2vw,1.35rem)}.spaceVoyageTrack{height:23px;border:2px solid #b5dfff;background:#04102c;border-radius:35px;position:relative;margin:16px 12px 13px}.spaceVoyageTrack>span{display:block;height:100%;border-radius:35px;background:linear-gradient(90deg,#59a1ff,#a3eaff);transition:width .4s}.spaceVoyageTrack>b{position:absolute;font-size:1.6rem;top:-16px;transform:translateX(-50%);transition:left .4s;filter:drop-shadow(0 2px 4px #000)}.spaceHealth{font-weight:900;letter-spacing:.03em;color:#e3f4ff;font-size:clamp(.84rem,1.7vw,1.15rem)}.spaceGrid button.spaceLocked{opacity:.5;filter:grayscale(.65);border:2px dashed #a9bfd7;cursor:not-allowed}.spaceGrid button:not(:disabled){min-height:90px}#miniBody{position:relative;isolation:isolate}#miniBody::before{content:"";position:absolute;inset:0;border-radius:22px;pointer-events:none;opacity:.1;z-index:-1;background-size:cover;background-position:center}#miniBody[data-game="hide_seek"]::before{background-image:url("art/heroes/hero-hide-seek.png")}#miniBody[data-game="mole_memory"]::before{background-image:url("art/heroes/hero-mole-memory.png")}#miniBody[data-game="room_radar"]::before{background-image:url("art/heroes/hero-room-radar.png")}#miniBody[data-game="picture_patch"]::before{background-image:url("art/heroes/hero-quick-play.png")}#miniBody[data-game="station_shuffle"]::before{background-image:url("art/stages/stage-three-coop.png")}@media(prefers-reduced-motion:reduce){.spaceVoyageTrack>b,.spaceVoyageTrack>span,.patchCell{transition:none!important}}.playlistStep{background-image:linear-gradient(90deg,rgba(7,17,48,.95),rgba(5,16,41,.48)),url("art/stages/stage-one-solo.png");background-position:center;background-size:cover;min-height:125px;box-shadow:0 15px 34px #0007}.playlistStep.stage2{background-image:linear-gradient(90deg,rgba(7,17,48,.94),rgba(5,16,41,.5)),url("art/stages/stage-two-team.png")}.playlistStep.stage3{background-image:linear-gradient(90deg,rgba(7,17,48,.94),rgba(5,16,41,.48)),url("art/stages/stage-three-coop.png")}.playlistEnd{background-image:linear-gradient(110deg,rgba(7,17,48,.93),rgba(5,16,41,.65)),url("art/stages/stage-wrap-up.png");background-size:cover;background-position:center;padding:18px;border-radius:20px;color:#fff}/* Game selector: full artworks, readable chunky options, no tiny-icon-only game identity. */.gameMenuGrid{gap:18px}.menuGame{display:grid;grid-template-columns:62px minmax(0,1fr);grid-template-areas:"art art" "icon title" "copy copy" "meta button";gap:10px 14px;padding:16px;background:linear-gradient(145deg,#14274e,#0a1331);border:2px solid #6587c0;border-radius:24px;box-shadow:0 14px 32px #0005}.menuGame>.artHero{display:block;width:100%;height:clamp(170px,18vw,240px);max-height:none;aspect-ratio:16/9;object-fit:cover;grid-area:art;border-radius:17px;border:2px solid #ffffff42;box-shadow:0 10px 20px #0008}.menuGame .gameIcon{width:60px;height:60px;font-size:2.1rem;background:#204c7f;border:2px solid #80d3ff;border-radius:16px;grid-area:icon}.menuGame h3{font-size:clamp(1.25rem,2.1vw,1.65rem);color:#fff;font-weight:1000;line-height:1.1}.menuGame p{font-size:1rem;line-height:1.4;color:#f0f5ff;min-height:0}.menuGame small{font-size:.85rem;color:#c8dfff;font-weight:800}.menuGame button{min-height:54px;font-size:1.1rem;padding:12px 22px;border:2px solid #c3e8ff}@media(max-width:700px){.gameMenuGrid{grid-template-columns:1fr}.menuGame{grid-template-columns:55px minmax(0,1fr);padding:14px;gap:10px 12px}.menuGame>.artHero{height:auto;aspect-ratio:16/9}.menuGame .gameIcon{width:54px;height:54px}.menuGame h3{font-size:1.4rem}.menuGame p{font-size:1rem}.menuGame small{font-size:.83rem}.menuGame button{font-size:1.02rem}}/* RC2 contrast hardening: Red and Blue panels always carry light, legible names. */
.teamLobby.red,.teamLobby.blue,.teamLobby.red *, .teamLobby.blue *{color:#fff}
.teamResult.red,.teamResult.blue,.teamResult.red *, .teamResult.blue *,
.displayTeam.red,.displayTeam.blue,.displayTeam.red *, .displayTeam.blue *{color:#fff}
.teamLobbyNames span{background:rgba(1,6,23,.58);font-weight:800}
@media(prefers-reduced-motion:reduce){.bgOrb{animation:none!important}button,.menuGame,.modePick{transition:none!important}}

/* Shared theatrical moments, no baked captions in artwork. */
.auctionShowcase,.auctionDisplay{display:flex;align-items:center;justify-content:center;gap:1rem;flex-wrap:wrap;text-align:center;background:linear-gradient(135deg,#182d5d,#422078);padding:1.2rem;border-radius:1.2rem;border:2px solid #ffd177;margin:1rem 0}.auctionLot,.auctionItemArt{font-size:clamp(4rem,12vw,8rem);line-height:1.1;filter:drop-shadow(0 6px 15px rgba(0,0,0,.4))}.auctionShowcase h3,.auctionDisplay h2{font-size:clamp(1.7rem,5vw,3rem);margin:.35rem}.bidGrid{display:grid;grid-template-columns:repeat(auto-fit,minmax(54px,1fr));gap:.5rem;margin:1rem 0}.bidGrid button{min-height:56px;font-size:1.25rem;font-weight:900;border:2px solid #ffd177;background:#222f65;color:#fff;border-radius:.8rem}.bidGrid button.selected{background:#f5bd39;color:#191e35}.bidGrid button:disabled:not(.selected){opacity:.48}.auctionSold{display:grid;justify-items:center;gap:.65rem;text-align:center;padding:1.2rem;border-radius:1.2rem;background:linear-gradient(140deg,#2b1666,#134f7b);border:2px solid #fbd76e;margin:1rem 0}.auctionStamp{font-weight:1000;font-size:clamp(2.5rem,7vw,5rem);color:#ffdf86;text-shadow:0 3px 20px #ad5a29;animation:auctionPop .5s ease-out both}.winningAvatar,.auctionWinningAvatar{font-size:clamp(2rem,4vw,3.5rem);display:flex;align-items:center;gap:.5rem;justify-content:center}.auctionDisplay{display:block;margin:0}.auctionDisplay.reveal{animation:auctionPop .65s ease-out}.auctionDisplayCollections,.collectionWall{display:grid;grid-template-columns:repeat(auto-fit,minmax(145px,1fr));gap:.45rem;margin-top:.7rem}.auctionDisplayCollections>div,.collectionPlayer{background:#1c2859;padding:.5rem;border-radius:.6rem;color:#fff;display:grid;gap:.35rem;text-align:center}.auctionDisplayCollections span,.collectionPlayer span{font-size:1.5rem}.auctionDisplayCollections b,.collectionPlayer b{font-size:.9rem;color:#fff}@keyframes auctionPop{from{opacity:.3;transform:scale(.82)}to{opacity:1;transform:scale(1)}}@media(prefers-reduced-motion:reduce){.auctionStamp,.auctionDisplay.reveal{animation:none!important}}

.gameMoment{display:flex;align-items:center;gap:.8rem;background:linear-gradient(105deg,#172d68,#513594);color:#fff;border-left:6px solid #ffcf66;border-radius:14px;margin:.7rem 0;padding:1rem}.gameMoment>span{font-size:clamp(2rem,6vw,3.7rem);line-height:1}.gameMoment>div{display:grid;gap:.25rem;min-width:0}.gameMoment b{font-size:clamp(1.25rem,4vw,2rem);line-height:1.1}.gameMoment small{color:#e4e8ff;font-size:1rem}.floatEmoji{background:rgba(10,12,31,.84);border:1px solid rgba(255,255,255,.65);padding:.25rem .6rem;border-radius:2rem;white-space:nowrap;font-size:clamp(1.7rem,2.5vw,3rem)}
