/* ===== polish layer: themes, intro, menu hero, podium, lead banner, tutorials, landscape pads ===== */
html.tv body{background:radial-gradient(120rem 60rem at 15% -10%,var(--bg1,#26263a) 0%,transparent 62%),radial-gradient(90rem 50rem at 110% 110%,var(--bg2,#2a1f2e) 0%,transparent 60%),#121217;transition:background .8s}
html.tv body:before{content:"";position:fixed;inset:0;pointer-events:none;opacity:.07;z-index:0}
html[data-pat=dots] body:before{background:radial-gradient(circle,#fff 2px,transparent 2.5px) 0 0/3.2rem 3.2rem}
html[data-pat=grid] body:before{background:linear-gradient(#fff 1px,transparent 1px) 0 0/4rem 4rem,linear-gradient(90deg,#fff 1px,transparent 1px) 0 0/4rem 4rem}
html[data-pat=diag] body:before{background:repeating-linear-gradient(45deg,#fff 0 2px,transparent 2px 2.4rem)}
html[data-pat=lines] body:before{background:repeating-linear-gradient(0deg,#fff 0 1px,transparent 1px 3rem)}
html[data-pat=stars] body:before{background:radial-gradient(circle,#fff 1.5px,transparent 2px) 0 0/5rem 5rem,radial-gradient(circle,#fff 1px,transparent 1.5px) 2.5rem 2.5rem/5rem 5rem}
html[data-pat=snow] body:before{opacity:.12;background:radial-gradient(circle,#fff 2px,transparent 2.5px) 0 0/6rem 7rem,radial-gradient(circle,#fff 1.5px,transparent 2px) 3rem 3.5rem/6rem 7rem;animation:snowfall 18s linear infinite}
@keyframes snowfall{to{background-position:0 70rem,3rem 73.5rem}}
html[data-pat=webs] body:before{opacity:.06;background:repeating-radial-gradient(circle at 0 0,#fff 0 2px,transparent 2px 5rem),repeating-conic-gradient(from 0deg at 0 0,#fff 0 .3deg,transparent .3deg 12deg)}
html[data-pat=pixels] body:before{opacity:.05;background:linear-gradient(#fff 50%,transparent 50%) 0 0/1.2rem 1.2rem}
html[data-pat=wood] body:before{opacity:.05;background:repeating-linear-gradient(90deg,#fff 0 1px,transparent 1px 1.6rem)}
html[data-pat=puzzle] body:before,html[data-pat=scribble] body:before{background:radial-gradient(circle,#fff 3px,transparent 3.5px) 0 0/4rem 4rem}
html.tv .pill.acc,.acc-bg{background:var(--acc);color:#111}
/* menu hero */
.menu2{display:flex;flex-direction:column;gap:2rem;height:100%;padding-bottom:1rem}
.hero{flex:1;display:grid;grid-template-columns:52rem 1fr;gap:3rem;align-items:center;animation:fade .4s}
.hart{position:relative;height:100%;max-height:52rem;border-radius:3rem;background:linear-gradient(140deg,var(--ha,#FF4F7B),var(--hb1,#333) 120%);display:grid;place-items:center;overflow:hidden;box-shadow:0 1rem 0 rgba(0,0,0,.35),inset 0 0 0 .4rem rgba(255,255,255,.15)}
.hart:after{content:"";position:absolute;inset:0;opacity:.18;background:radial-gradient(circle,#fff 3px,transparent 3.5px) 0 0/3rem 3rem;animation:snowfall 30s linear infinite}
.hic{font-size:22rem;filter:drop-shadow(0 1rem 0 rgba(0,0,0,.25));animation:hbob 2.4s ease-in-out infinite;position:relative;z-index:1}
.hlv{width:26rem;position:relative;z-index:1}
@keyframes hbob{50%{transform:translateY(-1.2rem) rotate(-3deg)}}
.htx .h1{font-size:6rem;margin:1rem 0}.hbl{font-size:2.4rem;font-weight:800;opacity:.75;line-height:1.3;margin:0 0 2rem}
.hrec{display:flex;align-items:center;gap:1.2rem;font-size:2.4rem;font-weight:900}.hrec .av{width:5.2rem;height:5.2rem}.hrec span{opacity:.6;font-size:1.6rem}
.hwho{display:flex;gap:1.4rem;margin-top:1.6rem}.hwho span{display:flex;align-items:center;gap:.6rem;background:rgba(255,255,255,.1);border-radius:3rem;padding:.4rem 1.2rem .4rem .4rem;font-size:1.5rem;font-weight:900}.hwho .av{width:3.4rem;height:3.4rem}
.mstrip{display:flex;flex-wrap:wrap;gap:.9rem}
.mt2{display:flex;align-items:center;gap:.7rem;background:rgba(255,255,255,.08);border-radius:2rem;padding:.6rem 1.3rem;font-size:1.4rem;transition:.25s;border:.25rem solid transparent}
.mt2 span{font-size:2rem}.mt2.on{background:var(--ta);color:#111;transform:scale(1.12);box-shadow:0 .5rem 0 rgba(0,0,0,.3)}.mt2.sea{border-color:var(--orange)}
/* intro card */
#introlay:empty{display:none}
.intro2{position:fixed;inset:0;z-index:40;display:grid;grid-template-columns:44rem 1fr;align-items:center;gap:4rem;padding:6rem 8rem;background:radial-gradient(80rem 50rem at 25% 60%,color-mix(in srgb,var(--ha) 45%,transparent),transparent 70%),rgba(12,12,16,.94);animation:fade .4s}
.ilv{width:40rem;animation:popin .7s cubic-bezier(.3,1.5,.5,1)}
.itx .h1{font-size:6.4rem}.itx .h1 span{font-size:7rem}
.itx ol{margin:2.4rem 0;padding:0;list-style:none;counter-reset:s;display:flex;flex-direction:column;gap:1.4rem}
.itx li{counter-increment:s;display:flex;align-items:center;gap:1.4rem;font-size:2.8rem;font-weight:900;opacity:0;animation:stepin .5s forwards}
.itx li:before{content:counter(s);width:4.6rem;height:4.6rem;border-radius:50%;background:var(--ha);color:#111;display:grid;place-items:center;flex:none}
@keyframes stepin{from{opacity:0;transform:translateX(-3rem)}to{opacity:1;transform:none}}
.iready{display:flex;align-items:center;gap:1.4rem}.iready span{display:flex;align-items:center;gap:.6rem;font-size:1.6rem;font-weight:900;opacity:.5}.iready span.on{opacity:1;color:var(--green)}.iready .av{width:3.4rem;height:3.4rem}
.iready .bar{flex:1;height:.6rem;opacity:1;background:rgba(255,255,255,.15);border-radius:1rem;overflow:hidden}.iready .bar i{display:block;height:100%;background:var(--ha);transform-origin:0 50%}
html.tv #host.intro{opacity:0}
/* podium */
.over.pod{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1.4rem;background:radial-gradient(70rem 40rem at 50% 70%,color-mix(in srgb,var(--acc) 40%,transparent),transparent 70%),rgba(10,10,14,.95)}
.podt{font-size:6rem;animation:popin .6s cubic-bezier(.3,1.5,.5,1)}
.podium{display:flex;align-items:flex-end;gap:4rem}
.step{display:flex;flex-direction:column;align-items:center;animation:rise .8s cubic-bezier(.3,1.3,.5,1) both}
.step.s2{animation-delay:.2s}.step .pf{width:20rem;height:26rem}.step.s1 .pf{width:24rem;height:31rem}.pf svg{width:100%;height:100%}
.blk{position:relative;width:24rem;border-radius:1.6rem 1.6rem 0 0;background:#fff;color:var(--ink);display:flex;flex-direction:column;align-items:center;justify-content:center;font-weight:900;box-shadow:inset 0 -.6rem 0 rgba(0,0,0,.12)}
.s1 .blk{height:14rem;background:linear-gradient(#FFE07A,#FFC83D)}.s2 .blk{height:9rem;background:#E8E6EE}
.blk b{font-size:2.4rem}.blk span{font-size:4rem}.blk i{position:absolute;top:-5rem;font-style:normal;font-size:5rem;animation:crown 1.2s cubic-bezier(.3,1.4,.5,1) .6s both}
@keyframes rise{from{transform:translateY(40rem)}}
.podsum{font-size:2.2rem;font-weight:900;opacity:.85}
.hls{display:flex;gap:1.2rem}.hl{display:flex;align-items:center;gap:.8rem;background:rgba(255,255,255,.1);border-radius:1.6rem;padding:.6rem 1.4rem .6rem .6rem;font-size:1.6rem;font-weight:800;animation:popin .5s both 1.2s}.hl .av{width:3.6rem;height:3.6rem}.hl b{color:var(--yellow)}
/* lead change */
.leadban{position:fixed;left:50%;top:12rem;transform:translateX(-50%);z-index:35;display:flex;align-items:center;gap:1.6rem;background:var(--yellow);color:var(--ink);border-radius:3rem;padding:1rem 3rem 1rem 1rem;box-shadow:0 .6rem 0 rgba(0,0,0,.35);animation:ban 2.8s both}
.leadban .fig{width:8rem;height:10rem}.leadban .fig svg{width:100%;height:100%}.leadban b{font-size:3.2rem;font-weight:900}
@keyframes ban{0%{transform:translate(-50%,-30rem)}12%{transform:translate(-50%,0)}85%{transform:translate(-50%,0);opacity:1}100%{transform:translate(-50%,-4rem);opacity:0}}
.counting{color:var(--yellow)}
/* full-body figures in score boxes */
.tsc .tfig{width:13rem;height:16rem;transition:transform .3s}.tsc .tfig svg{width:100%;height:100%}
.tsc.lk .tfig{transform:scale(1.06)}
.tpts.neg{color:var(--pink)}
.fig svg{width:100%;height:100%}
/* trivia extras */
.tpick{display:flex;flex-direction:column;align-items:center;gap:2rem;text-align:center}
.tcards{display:flex;gap:2rem}.tcard{width:22rem;height:24rem;border-radius:2.4rem;background:#fff;color:var(--ink);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1rem;box-shadow:0 .6rem 0 rgba(0,0,0,.35);animation:flipin .6s both}
.tcard i{font-style:normal;font-size:8rem}.tcard b{font-size:2.6rem;font-weight:900}
@keyframes flipin{from{transform:rotateY(90deg) scale(.6);opacity:0}}
.tfinal{font-size:7rem}
.tcpick{display:grid;gap:10px}.tcpick button{min-height:84px;border-radius:18px;background:var(--acc,#111);color:#fff;font-size:22px;font-weight:900;display:flex;align-items:center;gap:14px;padding:0 18px}.tcpick i{font-style:normal;font-size:36px}
.tbet{display:flex;flex-direction:column;align-items:center;gap:10px;margin:16px 0}.tbet b{font-size:52px;font-weight:900}.tbet input{width:100%;accent-color:var(--acc)}
/* phone skins */
html.ph{background:var(--phbg,#fff)}html.ph body{background:var(--phbg,#fff);color:var(--phink,#111)}
html.ph .btn.pink{background:var(--acc,#FF4F7B);color:#111}
html.phdark .chip,html.phdark .btn.ghost,html.phdark .gt,html.phdark .tabs{background:rgba(255,255,255,.1);color:inherit}
html.phdark .field{background:#000;color:#fff;border-color:#fff}
html.phdark .waitbox span,html.phdark .hs,html.phdark .note{color:rgba(255,255,255,.65)}
html.ph .top{border-bottom:3px solid var(--acc,transparent)}
/* tutorial on the phone */
.tut{align-items:center;text-align:center}.gest{width:150px;height:170px;margin:4px auto}
.tsteps{text-align:left;align-self:stretch;margin:0;padding:0;list-style:none;counter-reset:s;display:flex;flex-direction:column;gap:10px}
.tsteps li{counter-increment:s;display:flex;gap:10px;align-items:center;font-weight:800;font-size:17px}
.tsteps li:before{content:counter(s);width:30px;height:30px;border-radius:50%;background:var(--acc);color:#111;display:grid;place-items:center;flex:none;font-weight:900}
.tut .btn{margin-top:auto}
.g-ring{animation:gring 1.2s infinite;transform-origin:50px 60px}@keyframes gring{0%{transform:scale(.4);opacity:1}100%{transform:scale(1.6);opacity:0}}
.gest .hand{animation:gtap 1.2s infinite}@keyframes gtap{50%{transform:translateY(4px)}}
.g-key{animation:gkey 1.4s infinite}@keyframes gkey{0%,30%{opacity:1}15%{opacity:.25}}
.g-caret{animation:gcar .8s steps(1) infinite}@keyframes gcar{50%{opacity:0}}
.g-line{stroke-dasharray:200;animation:gline 2s infinite}@keyframes gline{from{stroke-dashoffset:200}to{stroke-dashoffset:0}}
.g-swipe{animation:gsw 1.4s infinite}@keyframes gsw{0%{transform:translate(6px,40px)}70%,100%{transform:translate(6px,-10px);opacity:0}}
.g-tilt{transform-origin:50px 59px;animation:gtilt 2s ease-in-out infinite}@keyframes gtilt{25%{transform:rotate(-14deg)}75%{transform:rotate(14deg)}}
.g-stick{animation:gst 2s infinite}@keyframes gst{25%{transform:translate(6px,-4px)}50%{transform:translate(-5px,5px)}75%{transform:translate(4px,6px)}}
.g-drag{animation:gdr 2s infinite}@keyframes gdr{0%{transform:none}70%,100%{transform:translate(6px,-50px)}}
/* landscape gamepad */
html.wantland.ph body:after{content:"↻  Turn your phone sideways";position:fixed;left:0;right:0;bottom:calc(14px + env(safe-area-inset-bottom));text-align:center;font-weight:900;font-size:15px;color:var(--acc);pointer-events:none}
@media (orientation:landscape){html.wantland.ph body:after{display:none}
 html.wantland .top{padding:4px 16px}html.wantland .main{padding-top:0}
 html.wantland .catctl{grid-template-columns:1fr 1fr;min-height:0;flex:1}
 html.wantland .catpad{width:min(58vh,46vw);justify-self:center}
 html.wantland .catbtns{flex-direction:row;justify-content:center;align-items:center}html.wantland .catswat{width:min(30vh,22vw);height:min(30vh,22vw);border-radius:50%}html.wantland .catmeow{width:min(20vh,15vw);height:min(20vh,15vw);border-radius:50%}
 html.wantland .xsteer{min-height:0;flex:1}
}
html.gameover #gf{filter:blur(.6rem);opacity:.35}
.dgwho .dgf{width:9rem;height:11rem}.bfsc .bff{width:6rem;height:7.5rem}.bfsc div{padding-right:2rem}
.bfo.k-truth{animation:truth .7s cubic-bezier(.3,1.6,.5,1)}@keyframes truth{0%{transform:scale(.8) rotate(-3deg)}100%{transform:scale(1.03)}}
.bfo.k-p1,.bfo.k-p2,.bfo.k-lavi{animation:flipin .5s}
.cnmap{display:flex;align-items:center;gap:.4rem;font-size:2.6rem}.cnmap span{opacity:.35;filter:grayscale(1)}.cnmap span.d{opacity:.9;filter:none}.cnmap span.on{opacity:1;filter:none;transform:scale(1.35);animation:hbob 1.6s infinite}.cnmap i{flex:1;height:.3rem;background:rgba(255,255,255,.25);border-radius:1rem}
.cnmis{margin:0;font-size:1.6rem;font-weight:800;opacity:.85}
.cnbig .cnph{grid-template-columns:repeat(3,1fr);gap:6px}.cnbig .cnph button{min-height:62px;font-size:15px}
.jgghost{position:fixed;left:0;top:0;z-index:60;pointer-events:none;display:none;filter:drop-shadow(0 8px 10px rgba(0,0,0,.35))}
.jgt{touch-action:none}
.catmis{position:absolute;right:4rem;top:3rem;background:rgba(27,27,42,.88);color:#fff;border:.3rem solid #fbf236;border-radius:1rem;padding:1rem 1.4rem;font:900 1.3rem ui-monospace,monospace;display:flex;flex-direction:column;gap:.4rem;z-index:3}.catmis b{color:#fbf236;letter-spacing:.1em;text-transform:uppercase}.catmis div{opacity:.85}.catmis div.ok{color:#3dd68c;opacity:1}.catmis i{font-style:normal;color:#fbf236;margin-right:.4rem}.catmis span{opacity:.7}
.mytile.who{padding:.4rem .6rem 1rem}.myfig{width:11rem;height:13rem}.myfig svg{width:100%;height:100%}.mytile small{font-size:1.1rem;font-weight:800;opacity:.6;text-transform:uppercase;letter-spacing:.06em}
.mystory{flex:1;margin:0;font-size:1.5rem;font-weight:700;opacity:.8;font-style:italic;line-height:1.3}
.myhead .h2{margin-right:0}
.spf{width:16rem;height:20rem}.huf{width:16rem;height:20rem}.mlf{width:12rem;height:15rem}.cnf{width:8rem;height:10rem;flex:none}
.tsc .tfig+b{display:block;font-size:2rem;font-weight:900}
/* v3.1 UI review fixes */
.mstrip{padding-right:16rem}
html.ingame #host{left:29rem;transform:none;top:.25rem;width:6rem}
html.ingame #host.away{transform:translateY(-120%)}
html.ingame #bubble{left:36rem;top:1rem;transform:none;transform-origin:0 50%;max-width:54rem;font-size:1.5rem;padding:.9rem 1.4rem;text-align:left}
html.ingame #bubble:after{left:-1rem;top:1.4rem;transform:none;border:1rem solid transparent;border-right-color:#fff;border-left:0;border-bottom-color:transparent}
html.ingame #bubble.hide{transform:scale(.3)}
html.gameover #bubble{right:2rem;bottom:15rem;max-width:30rem}
html.gameover #bubble:after{right:5rem;bottom:-1rem;border:1rem solid transparent;border-top-color:#fff;border-bottom:0}
.podt{color:#fff;text-shadow:0 .4rem 0 rgba(0,0,0,.35)}
.blk span{color:var(--ink)}.s2 .blk{height:11rem}
.myhead{flex-wrap:wrap}.myhead .mystory{order:5;flex-basis:100%;font-size:1.4rem}
.mycell .mfig{display:block;width:3.4rem;height:4.4rem;margin:0 auto}.mycell .mfig svg{width:100%;height:100%}
.over.pod{padding-top:7rem}.podt{font-size:5rem}.step .pf{width:17rem;height:22rem}.step.s1 .pf{width:20rem;height:26rem}.s1 .blk{height:12rem}.s2 .blk{height:10rem}
.over .podt{color:#fff}
.hero{min-height:0}.hart{min-height:0}.mstrip{flex-shrink:0}
#soundon{left:auto;right:30rem;top:1.7rem;bottom:auto;font-size:1.3rem;padding:.6rem 1.2rem;display:flex;gap:.6rem;align-items:center;animation:none;box-shadow:0 .3rem 0 rgba(0,0,0,.3)}
#soundon i{font-style:normal}
html.ingame #soundon span{display:none}
html.ingame #bubble{max-width:44rem}
html.phdark .tm b{color:var(--phink,#fff)}html.phdark .tm{color:rgba(255,255,255,.65)}
.huhead{top:58px}

/* ---- design review pass (Nov 13): podium fits on one TV screen, highlights readable and clear of Lavi ---- */
.over.pod{justify-content:flex-start;gap:1.1rem;padding:6.6rem 0 1.4rem}
.over.pod>*{flex-shrink:0}
.over.pod .podt{font-size:4.6rem;line-height:1.05}
.over.pod .step .pf{width:14rem;height:18rem}.over.pod .step.s1 .pf{width:17rem;height:22rem}
.over.pod .s1 .blk{height:9rem}.over.pod .s2 .blk{height:7rem}
.over.pod .podsum{font-size:2.2rem;margin-top:.2rem}
.over.pod .hls{flex-wrap:wrap;justify-content:center;max-width:76rem;gap:.9rem 1.2rem}
.over.pod .hl{font-size:1.7rem;max-width:37rem;line-height:1.25}
.over.pod .hl span{white-space:nowrap}
.over.pod .hl b{overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
.over.pod .nextup{margin-top:auto}
/* Draw: side pills stay on one line */
.dgturn{flex-wrap:wrap;row-gap:.6rem}.dgturn .pill{white-space:nowrap}
/* Bluff: long answers wrap instead of running under the avatars */
.bfo .t{overflow-wrap:anywhere;padding-right:5.5rem}
.bfpts{display:block;font-size:1.6rem;font-weight:900;text-align:center;margin-top:.2rem}
.bfpts.neg{color:#ff6b6b}.bfpts.pos{color:var(--yellow)}
/* Cat Chaos: meow label was pale yellow on white */
.catmeow{color:#1d1d1f !important}
/* Cat Chaos: mission card covered the kitchen counter; it fades back after 6 s so treats underneath stay visible */
.catmis{animation:catmisdim .8s 6s forwards}
@keyframes catmisdim{to{opacity:.45}}
/* podium highlights: the delayed pop-in restarted on every repaint and left them stuck at 40% size */
.over.pod .hl{animation:none}
/* Jen's sticker art (public/art): trivia categories, Mystery places and ways, Codenames mission map */
.ticon{width:1.35em;height:1.35em;object-fit:contain;vertical-align:-.3em;filter:drop-shadow(0 .12em 0 rgba(0,0,0,.25))}
.pill .ticon{width:1.6em;height:1.6em;vertical-align:-.45em;margin:-.3em .15em -.3em -.2em}
.tcard i .ticon{width:9rem;height:9rem}
.tcpick button i .ticon{width:44px;height:44px;vertical-align:middle}
.tfinal .ticon{width:1.1em;height:1.1em;vertical-align:-.15em}
.myart{width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 .15rem 0 rgba(0,0,0,.18))}
.mytile i:has(.myart){display:block;width:8rem;height:8rem;font-size:0;margin:0 auto .4rem}
.mycell i:has(.myart){display:block;width:34px;height:34px;font-size:0;margin:0 auto 2px}
.cnmi{width:4.6rem;height:4.6rem;object-fit:contain;display:block}
.cnmap span.d .cnmi{opacity:.55;filter:grayscale(.3)}
.cnmap span:not(.on):not(.d) .cnmi{opacity:.35;filter:grayscale(1)}
.cnmap span.on .cnmi{transform:scale(1.25);filter:drop-shadow(0 0 .8rem rgba(255,200,61,.8))}
/* Heads Up TV during a turn: one centered layout (guesser · clock · actor), count, dots, running totals */
.hu2{position:absolute;inset:7rem 3rem 2rem;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2.2rem}
.hu2top{display:flex;gap:1rem}
.hu2mid{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:5rem;width:100%;max-width:150rem}
.hu2who{display:flex;flex-direction:column;align-items:center;gap:.4rem}
.hu2who .huf{width:20rem;height:26rem}
.hu2who b{font-size:3.2rem;font-weight:900}.hu2who span{font-size:1.8rem;font-weight:900;letter-spacing:.12em;text-transform:uppercase;opacity:.6}
.hu2clock{display:flex;flex-direction:column;align-items:center;gap:1.6rem}
.hu2clock .timer{width:22rem;height:22rem;font-size:10rem}
.hu2n{display:flex;align-items:baseline;gap:1rem}.hu2n b{font-size:9rem;font-weight:900;line-height:1}.hu2n span{font-size:2.6rem;font-weight:900;opacity:.7}
.hu2tot{display:flex;gap:3rem;font-size:2rem;font-weight:800}.hu2tot span{display:flex;align-items:center;gap:.8rem}.hu2tot .av{width:3.6rem;height:3.6rem}.hu2tot b{color:var(--yellow)}
/* Christmas games: clock moves to the top-right corner, off the lanes and the tree */
.xhud{left:auto;right:3rem;bottom:auto;top:1.5rem;transform:none}
.cnmap{padding-top:1.2rem}.cnmap span.on .cnmi{transform:scale(1.12)}
.over.pod .podsum{max-width:70rem;text-align:center;line-height:1.2}
.mytile i:has(.myart){width:6.2rem;height:6.2rem;margin-bottom:.2rem}
/* Fire TV has a weak GPU: no CSS filters on the sticker art (they already have thick outlines) */
.ticon,.myart,.cnmi{filter:none !important}
.cnmap span:not(.on):not(.d) .cnmi{opacity:.3}.cnmap span.d .cnmi{opacity:.55}
.cn .agent{font-size:4.2rem;top:.2rem;right:.4rem;line-height:1}
/* Mystery: story subtitle hides while Lavi's bubble says the same line (comes back after 14 s) */
.mystory.myquiet{visibility:hidden}
/* podium crown sits above the winner's head, not on the name block */
.over.pod .blk i{top:auto;bottom:calc(100% + 15.5rem);left:50%;transform:translateX(-50%);font-size:4.2rem;z-index:2}
.over.pod .s1 .blk i{bottom:calc(100% + 22.5rem)}

/* tg-p1 crown */ .over.pod .s1 .blk i{bottom:calc(100% + 17.4rem)} .over.pod .podt{position:relative;z-index:3}

/* tg-p3 sound */ html.ingame #soundon span{display:inline}html.ingame #soundon{font-size:1.4rem}
/* tg-p10 */ .over.pod .nextup{font-size:2rem;opacity:.85;letter-spacing:.08em}.mylog{-webkit-mask-image:linear-gradient(to bottom,#000 calc(100% - 5rem),transparent);mask-image:linear-gradient(to bottom,#000 calc(100% - 5rem),transparent)}.mycase span{color:#4A4E63}
/* tg-p12 podium */ .over.pod .s1 .blk{height:15rem}.over.pod .s2 .blk{height:10.5rem}.over.pod .blk{justify-content:flex-start;padding-top:1.3rem;gap:.2rem;box-shadow:inset 0 -.6rem 0 rgba(0,0,0,.12),0 1.2rem 2.4rem rgba(0,0,0,.35)}.over.pod .blk span{line-height:1}.over.pod .podium{position:relative;padding:0 3rem}.over.pod .podium::after{content:'';position:absolute;left:0;right:0;bottom:-.8rem;height:.8rem;border-radius:.8rem;background:linear-gradient(90deg,transparent,rgba(255,255,255,.22),transparent)}
/* tg-p16 */ html.wantland.ph body:has(.xsled):after{display:none}
/* GN_MII_TV_AVSIZE (Nov 27, Jen: "keep the faces/circle the same size", "review how tv displays the circles/characters"):
   three sizes only on the TV: header/list chips 3.6rem, player circles 5.2rem, spotlight 12rem; in-game player figures one size (14.4x18rem). */
html.tv .av{width:5.2rem!important;height:5.2rem!important;border:.3rem solid #fff;box-sizing:content-box;background:#fff}
html.tv :is(.pchip,.cnlog,.log,.mylog,.rec,.iready,.hwho,.hu2tot,.jgwho,.ta em,.bfo em,.madlibs .bfwho,.mlf4) .av{width:3.6rem!important;height:3.6rem!important;border-width:.2rem}
html.tv :is(.av.big,.dgpick .av,.tsc .av){width:12rem!important;height:12rem!important;border-width:.4rem}
html.tv .pchip.p1 .av,html.tv .bfwho.p1 .av,html.tv .jcard.v2 .jwho .av{border-color:var(--p1)}
html.tv .pchip.p2 .av,html.tv .bfwho.p2 .av,html.tv .jcard.v2 .jwho.p2 .av{border-color:var(--p2)}
html.tv .tsc .tfig,html.tv .triv.tv3 .tsc .tfig,html.tv .bfdesk .fig{width:14.4rem!important;height:18rem!important}

/* GN_TV_HOME (Nov 27): TV menu in the same look as the phone home. White page, one dark card, big tiles in rows. */
html.tv{--gn-card:#111114;--gn-card-ink:#fff;--gn-card-sub:rgba(255,255,255,.7);--gn-acc:#111114;--gn-line:#ECECF1;--gn-tint:#F2F2F5}
html.tv[data-scr=menu] body{background:#fff!important;color:#111114}
html.tv[data-scr=menu] .tvtop{color:#111114}
html.tv[data-scr=menu] .pchip{background:var(--gn-tint);border-color:transparent;color:#111114;font-size:1.9rem;padding:.5rem 1.8rem .5rem .5rem}
html.tv[data-scr=menu] .pchip .av{width:4.2rem;height:4.2rem}
html.tv[data-scr=menu] #bubble{box-shadow:0 .3rem 1rem rgba(17,17,20,.12),0 1.6rem 3rem rgba(17,17,20,.14);border:.15rem solid var(--gn-line)}
html.tv[data-scr=menu] #bubble:after{filter:drop-shadow(.15rem 0 0 var(--gn-line))}
.menu2{gap:0!important;height:100%;display:flex;flex-direction:column}
.menu2 .hero{flex:none!important;height:auto;min-height:20rem;display:flex!important;align-items:center;gap:3.4rem;background:var(--gn-card);color:var(--gn-card-ink);border-radius:2.8rem;padding:2.2rem 4rem 2.4rem 3.4rem;position:relative;overflow:hidden;box-shadow:0 1.2rem 3rem rgba(10,10,30,.2);animation:none}
.menu2 .hart{flex:none;width:16rem;height:16rem!important;max-height:none;background:none!important;box-shadow:none!important;border-radius:0;overflow:visible}
.menu2 .hart:after{display:none}
.menu2 .hic img.gico,.menu2 .hic{width:15rem;height:15rem;font-size:11rem;line-height:1;display:grid;place-items:center;filter:drop-shadow(0 .8rem 1.4rem rgba(0,0,0,.35))}
.menu2 .hero.idle .hart{width:17rem}
.menu2 .hlv{width:16rem}.menu2 .hlv svg,.menu2 .hlv img{width:100%;height:auto}
.menu2 .htx{flex:1;min-width:0}
.menu2 .htx .pill{background:rgba(255,255,255,.14)!important;color:var(--gn-card-sub)!important;font-size:1.5rem;letter-spacing:.04em;text-transform:none}
.menu2 .htx .h1{font-size:4.6rem;margin:.6rem 0 .3rem;color:#fff}
.menu2 .hbl{font-size:2rem;opacity:1;color:var(--gn-card-sub);margin:0 0 1rem;font-weight:800;max-width:80rem;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.menu2 .hrec{font-size:2rem;color:#fff}.menu2 .hrec span{opacity:.7;font-size:1.6rem}
.menu2 .hwho{margin-top:1rem}
.menu2 .hwho span{background:rgba(255,255,255,.12);font-size:1.6rem}
.menu2 .hwho .okhint{background:#fff!important;color:#111114!important;font-size:2rem!important;padding:.5rem 2.2rem .5rem .5rem!important;border-radius:3rem;display:flex;align-items:center;gap:1rem}
.menu2 .hwho .okhint:before{content:"OK";width:3.6rem;height:3.6rem;border-radius:50%;background:#111114;color:#fff;display:grid;place-items:center;font-size:1.3rem;font-weight:900}
.menu2 .mstrip{flex:1;min-height:0;display:block!important;overflow-y:auto;overflow-x:hidden;scrollbar-width:none;padding:0 16rem 60vh 0!important;margin-top:.6rem;scroll-behavior:smooth;scroll-padding:2.4rem 0}
.menu2 .mstrip::-webkit-scrollbar{display:none}
.menu2 .mrh{padding-left:2rem;font-size:2.5rem;font-weight:900;letter-spacing:-.02em;color:#111114;margin:1.4rem 0 .2rem}
.menu2 .mrow{display:flex;gap:1.8rem;overflow-x:auto;overflow-y:visible;scrollbar-width:none;padding:1.4rem 1.4rem 3rem 2rem;scroll-behavior:smooth;scroll-padding:0 2rem}
.menu2 .mrow::-webkit-scrollbar{display:none}
.menu2 .mt2{flex:none;width:15rem;height:15rem;display:flex!important;flex-direction:column;align-items:center;justify-content:center;gap:1rem;background:#fff!important;color:#111114!important;border:.13rem solid var(--gn-line)!important;border-radius:2.4rem;padding:1rem .8rem;box-shadow:0 .4rem 1.2rem rgba(20,20,40,.07)!important;transition:transform .25s cubic-bezier(.34,1.36,.64,1),box-shadow .25s;font-size:1.75rem;text-align:center}
.menu2 .mt2 span{font-size:6rem;line-height:1;display:grid;place-items:center;height:8rem}
.menu2 .mt2 img.gico{width:8rem;height:8rem;margin:0}
.menu2 .mt2 b{font-weight:900;line-height:1.1}
.menu2 .mt2.on{transform:scale(1.08)!important;border-color:transparent!important;box-shadow:0 0 0 .45rem var(--gn-acc),0 .6rem 1.2rem rgba(20,20,40,.16)!important}
.menu2 .mt2.sea{border-color:var(--gn-line)!important}
@media (prefers-reduced-motion:reduce){.menu2 .mt2,.menu2 .mstrip,.menu2 .mrow{transition:none;scroll-behavior:auto}}
/* phone remote: same tiles as the phone app's New game tab */
html.ph .glist.gtiles{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
html.ph .glist.gtiles .gcat{grid-column:1/-1;font-size:17px;font-weight:900;letter-spacing:-.01em;text-transform:none;color:var(--phink,#111114);margin:12px 2px 0}
html.ph .glist.gtiles .gt{flex-direction:column;justify-content:center;gap:6px;padding:12px 4px 10px;min-height:112px;background:#fff;border:1px solid #ECECF1;border-radius:18px;text-align:center;box-shadow:0 1px 2px rgba(17,17,20,.04)}
html.ph .glist.gtiles .gt .ic{width:auto;font-size:40px;line-height:1}
html.ph .glist.gtiles .gt .ic img.gico{width:52px;height:52px}
html.ph .glist.gtiles .gt b{font-size:14px;line-height:1.15}
html.ph .glist.gtiles .gt div>span{display:none}
html.ph .glist.gtiles .gt:active{transform:scale(.96)}
html.ph .glist.gtiles .gt.sea{box-shadow:none}
html.ph .gt .n{background:#111114;color:#fff}
html.ph .tabs{background:#F2F2F5}
html.ph .chip{background:#F2F2F5}
/* GN_TV_FUN (Nov 27): some of the stats "fun" style on the TV menu and phone remote (Jen OK'd home-fun-mockup.png). Menu only, games untouched. */
@font-face{font-family:'Fredoka';font-style:normal;font-weight:300 700;font-display:swap;src:url(/fonts/fredoka-latin.woff2) format('woff2')}
html.tv{--gn-card:#1B2033;--gn-acc:#1B2033;--gn-line:#EEF1F6;--gn-fun:'Fredoka',var(--font)}
html.tv[data-scr=menu] body{background:linear-gradient(180deg,#9AD8FF 0,#D9F1FF 15rem,#fff 30rem) no-repeat,#fff!important;color:#1B2033}
html.tv[data-scr=menu] .tvtop,html.tv[data-scr=menu] .tvtop *{font-family:var(--gn-fun)}
html.tv[data-scr=menu] .tvtop{color:#1B2033}
html.tv[data-scr=menu] .pchip{background:#fff;box-shadow:0 .3rem 0 rgba(27,32,51,.12);font-weight:700}
.menu2 .hero{background:var(--gn-card);box-shadow:0 .7rem 0 #0B0E18,0 1.6rem 3rem rgba(27,32,51,.18)}
.menu2 .htx .h1,.menu2 .mrh,.menu2 .mt2 b,.menu2 .hwho .okhint,.menu2 .hrec{font-family:var(--gn-fun);letter-spacing:-.01em}
.menu2 .htx .h1,.menu2 .mrh{font-weight:700}
.menu2 .mrh{color:#1B2033}
.menu2 .mt2 b{font-weight:600}
.menu2 .hwho .okhint{border-radius:1.8rem!important;box-shadow:0 .5rem 0 #C9CFDB;font-weight:700}
.menu2 .hwho .okhint:before{background:#1B2033;border-radius:1.2rem;font-family:var(--gn-fun)}
.menu2 .mt2{border:.2rem solid var(--gn-line)!important;border-radius:2.6rem;color:#1B2033!important;box-shadow:0 .5rem 0 rgba(27,32,51,.09)!important}
.menu2 .mt2.on{transform:translateY(-.5rem) scale(1.06)!important;border-color:transparent!important;box-shadow:0 0 0 .45rem #1B2033,0 1rem 0 rgba(27,32,51,.16)!important}
/* phone remote: chunky tiles like the phone app */
html.ph .glist.gtiles .gcat,html.ph .glist.gtiles .gt b{font-family:'Fredoka',var(--font);font-weight:600}
html.ph .glist.gtiles .gcat{font-weight:700;color:#1B2033}
html.ph .glist.gtiles .gt{border:2px solid #EEF1F6;border-radius:20px;box-shadow:0 5px 0 rgba(27,32,51,.09);transition:transform 150ms cubic-bezier(.34,1.36,.64,1),box-shadow 150ms}
html.ph .glist.gtiles .gt:active{transform:translateY(3px);box-shadow:0 2px 0 rgba(27,32,51,.09)}
html.ph .glist.gtiles .gt.sea{box-shadow:0 5px 0 rgba(27,32,51,.09)}
@media (prefers-reduced-motion:reduce){html.ph .glist.gtiles .gt{transition:none}}
/* tg-p20 bubble */ html.ingame:has(#soundon) #bubble{max-width:31rem}
/* tg-p20 chips */ .over.pod .hls:has(.hl:nth-child(3)){max-width:100rem;flex-wrap:nowrap}.over.pod .hls:has(.hl:nth-child(3)) .hl{max-width:31rem;font-size:1.5rem;min-width:0}
/* tg-p20 cnlog */ .cnside .cnlog span:nth-child(n+2){display:none}
/* tg-p20 coop */ .over.pod .podium:not(:has(.step.s2)) .blk{height:6.5rem;min-height:0}

/* tg-p22 huflash */ .hu3>.huflash{top:79%;margin:-7rem 0 0 -24rem;width:48rem;height:14rem}.hu3>.huflash b{font-size:6.5rem}.hu3>.huflash span{font-size:2.4rem}

/* tg-p22 cnph */ .cnph.v2 button{font-size:13.5px;letter-spacing:-.01em}.cnph.v2 button.lg{font-size:11px;letter-spacing:-.03em}.cnhead .chip{background:#fff;color:var(--ink);border:2px solid var(--ink);border-radius:999px;padding:5px 12px;font-size:13px;font-weight:900;box-shadow:0 2px 0 rgba(0,0,0,.25)}

/* tg-p22 big */ .tsetup>.pill.y{font-size:2.6rem;padding:1rem 2.4rem}.tsetup>.sub{font-size:2.4rem}.jghud .pill{font-size:2.3rem;padding:.6rem 1.6rem}

/* tg-p22 tpick */ .tmain{grid-template-columns:24rem minmax(0,1fr) 24rem}.tpick .tcards{gap:1.4rem}.tpick .tcard{width:19rem;height:22rem}

/* tg-p22 host */ html.ingame #host{width:5.3rem;top:.2rem}

/* tg-p22 hlwrap */ .over.pod .hls .hl b{white-space:normal;overflow:visible;text-overflow:clip;overflow-wrap:break-word}

/* tg-p23 mylog */ .mylog span{font-size:1.9rem;line-height:1.25}.mylog .av{width:4rem;height:4rem}.mylog div:nth-child(n+5){display:none}.mymini span{font-size:1.75rem}

/* tg-p24 huflash */ .hu3>.huflash{top:14%;margin:-6rem 0 0 -24rem;height:12rem}

/* tg-p24 jgchip */ .jgopts .chip{background:#fff;color:var(--ink);border:2px solid var(--ink);border-radius:999px;padding:8px 14px;font-size:14px;font-weight:900;box-shadow:0 2px 0 rgba(0,0,0,.25)}.jgopts .chip.dark{background:var(--ink);color:#fff}

/* tg-p24 cnread */ .mk3 em{font-size:1.6rem}.mk3 img{width:3.2rem;height:3.2rem}.cnlog span{font-size:2rem;opacity:1;text-transform:uppercase}.cnlog .av{width:3.2rem;height:3.2rem}.cnclue.wait span{font-size:2.2rem}

/* tg-p24 jgnote */ .jgopts .note{font-size:15px;font-weight:800;color:var(--ink);opacity:.9}

/* tg-p24 jgmiss */ @keyframes jgshake{0%,100%{transform:none}20%{transform:translateX(-1.2rem)}40%{transform:translateX(1.2rem)}60%{transform:translateX(-.8rem)}80%{transform:translateX(.6rem)}}.jgmiss canvas{animation:jgshake .5s ease-out;box-shadow:0 0 0 .6rem #FF5A4A,0 0 3rem rgba(255,90,74,.6)}

/* tg-p24 dgw */ .dgword .dgw{display:inline-flex;flex-wrap:nowrap;gap:inherit}

/* tg-p24 cnby */ :has(> .mk3)::after{content:'';position:absolute;inset:0;border-radius:inherit;background:rgba(110,80,30,.32);pointer-events:none;z-index:1}.cnside:has(.cnclue.wait) .cnlog{display:none}.cnclue.wait span{font-size:1.9rem}

/* tg-p25 hurule */ .hu3c .sub{font-size:2.2rem!important;line-height:1.3;opacity:1!important;max-width:44rem}.hurule{font-size:2rem;font-weight:900;color:var(--yellow);margin:.4rem 0 0}

/* tg-p25 dglong */ .dgword.long b{width:2.4rem!important;height:3.8rem!important;font-size:2.3rem!important}.dgword.long .sp{width:2rem!important}.dgwbox{overflow:hidden}

/* tg-p25 dgbig */ .dgg span{font-size:2.1rem!important;padding:.6rem 1.3rem!important}.dghint{font-size:2.1rem!important;opacity:1!important}.dgword b{border-bottom-width:.65rem!important}.dgword .sp{width:3.2rem!important}.dgtools button{gap:2px}.dgtools button small{font-size:11px;font-weight:900;line-height:1}

/* tg-p25 mlfill */ .ml .bfdesk.lv p{font-size:2.7rem!important;opacity:1!important}

/* tg-p27 hurule */ .hu3c .sub{font-size:1.9rem!important}.hu3c .hurule{display:inline;font-size:inherit;margin:0;color:var(--yellow)}

/* tg-p27 cnwait */ .cnclue.wait span{font-size:1.6rem!important;text-transform:none!important;color:#2A2140!important;letter-spacing:0!important}

/* tg-p28 mylog */ .mylog{-webkit-mask-image:none!important;mask-image:none!important}.mylog div:nth-child(n+4){display:none}

/* tg-p29 mlst */ .ml .bfdesk .bfst{font-size:2.2rem!important;opacity:1!important}

/* tg-p29 dg */ .dgtools button.on small{color:#fff}.dgtools button{height:52px!important;font-size:16px!important}.dgwbox p.dghint{font-size:2.5rem!important}.dgside .dgg span{font-size:2.3rem!important}

/* tg-p29 cn */ .bfchips{flex-wrap:wrap!important;row-gap:4px}html.tv .mk3 em{font-size:1.5rem!important;line-height:1.1}

/* tg-p31 wrap */ .xinfo{white-space:nowrap}.bfrc .h{text-wrap:balance}

/* tg-p33 cnby */ html.tv .mk3{position:relative}html.tv .mk3 em{position:absolute;left:.3rem;right:.3rem;top:.3rem;font-size:1.25rem!important;line-height:1.1;text-align:center}

/* tg-p36 cn */ html.tv .mk3 em{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:1.35rem!important}html.tv .mk3 em small{display:block;font-size:.82em;font-weight:800;opacity:.8;overflow:hidden;text-overflow:ellipsis}.cnclue .cngl{grid-column:1/-1;font-style:normal;font-size:2rem;font-weight:800;opacity:.85;margin-top:.4rem}.cnclue em.cnbest{grid-column:1/-1;font-size:2rem;background:none;color:inherit;text-align:left;padding:0;min-width:0;margin-top:.4rem}html.tv .cnside .sub{font-size:2.2rem!important}html.tv .cnmis{font-size:2.2rem!important}.cnnum{flex-wrap:wrap!important}.cnnum .chip{min-width:44px!important;min-height:44px!important;font-size:18px!important}

/* tg-p36 jg */ html.tv .jgwho{font-size:26px!important}html.tv .jgwho .av{width:44px;height:44px}

/* tg-p36 hu */ html.tv .hu3c>.sub{font-size:2.4rem!important;line-height:1.3}

/* tg-p36 dg */ html.tv .dgg span:not(.r):not(.c){color:#E8E8F0;opacity:1}

/* tg-p36 pod */ .over.pod:has(.hls .hl){gap:.8rem;padding-top:5.6rem}.over.pod:has(.hls .hl) .step .pf{width:12.5rem;height:16rem}.over.pod:has(.hls .hl) .step.s1 .pf{width:15rem;height:19rem}

/* tg-p37 my */ .town .mybd{z-index:4}

/* tg-p38 hl */ .over.pod .hls .hl b{white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;display:block!important;max-width:22rem}

/* tg-p38 cnby */ html.tv .mk3 em{position:absolute!important;top:50%!important;transform:translateY(-50%);right:calc(100% + .4rem)!important;left:auto!important;background:#E9D7AE;border-radius:99px;padding:.15rem .7rem;box-shadow:0 .2rem 0 #B79C6A;overflow:visible!important;text-overflow:clip!important;white-space:nowrap}html.tv .mk3:not(.p2) em{right:auto!important;left:calc(100% + .4rem)!important}html.tv .mk3 em small{display:none}

/* tg-p38 dgg */ .dgside .dgg{flex-direction:row!important;flex-wrap:wrap;align-content:flex-start;flex:none!important}

/* tg-p38 hucase */ .hu3 .huwords span,.hurecap span{text-transform:lowercase}

/* tg-p39 hl1 */ .over.pod .hls .hl:only-child b{max-width:64rem!important;white-space:normal!important;text-overflow:clip!important;overflow:visible!important}
