/* FanBuzz Diwali - illustrated party-game interface. No external fonts or assets. */
:root{--bg:#f5efe4;--ink:#26362e;--muted:#736e63;--line:#ded5c3;--paper:#fffaf1;--green:#244e3a;--gold:#d8b779;--radius:18px;--stage:#0a2923;--stage-mid:#153e30;--stage-deep:#071b18;--accent:#e4c488;--serif:Georgia,'Times New Roman',serif;font-family:'Trebuchet MS',ui-sans-serif,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;font-synthesis:none;color:var(--ink);background:var(--bg)}
*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button,a,input{touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:default;opacity:.5}a{color:inherit;text-decoration:none}h1,h2,h3,p{margin:0}h1,h2{font-family:var(--serif);font-weight:400;letter-spacing:-.035em;line-height:1.12}h3{font-weight:600;line-height:1.2}p{line-height:1.55}img.art{display:block;width:100%;height:100%;object-fit:contain;pointer-events:none;user-select:none}.muted{color:var(--muted)}.eyebrow{font-size:11px;font-weight:600;letter-spacing:.18em;text-transform:uppercase}.small{font-size:13px}.tiny{font-size:11px}.brand{font-size:25px;letter-spacing:-1.5px;font-weight:800}.dot{color:#b58a48}.pill{display:inline-flex;align-items:center;gap:7px;border:1px solid var(--line);border-radius:50px;padding:7px 12px;font-size:11px}.code{letter-spacing:.14em;font-weight:600}.row{display:flex;align-items:center;gap:12px}.spread{justify-content:space-between}.wrap{flex-wrap:wrap}.stack{display:grid;gap:18px}.divider{height:1px;background:var(--line);margin:16px 0}.btn{border:1px solid transparent;border-radius:12px;background:var(--green);color:#fff7e5;padding:14px 20px;min-height:48px;font-weight:600;display:inline-flex;align-items:center;justify-content:center;gap:8px;transition:transform .15s,filter .15s}.btn:hover{filter:brightness(1.07)}.btn:active{transform:scale(.985)}.btn.secondary{border:1px solid var(--line);background:transparent;color:var(--ink)}.btn.small{font-size:12px;min-height:36px;padding:8px 12px}.btn.warn{background:#8e4b38}.text-btn{border:0;background:none;color:var(--muted);font-size:12px;padding:8px;text-decoration:underline}.field{display:grid;gap:8px;font-size:13px;font-weight:600}input,select{width:100%;border:1px solid var(--line);background:var(--paper);border-radius:10px;padding:14px;color:var(--ink);min-height:48px}input:focus-visible,button:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid #b17d40;outline-offset:4px}input[type=checkbox],input[type=radio]{width:18px;min-height:18px;accent-color:var(--green)}.check-label{display:flex;align-items:center;gap:9px;font-size:13px;color:var(--muted)}.loading{padding:12vh 9vw}.loading p{margin-top:20px}.connection{font-size:11px;white-space:nowrap}.status-dot{display:inline-block;width:6px;height:6px;border-radius:50%;background:#94b88d;margin-right:5px}.status-dot.off{background:#d88c6b}.footer-note{font-size:12px;color:var(--muted);margin-top:22px;line-height:1.6}.demo-banner{font-size:10px;letter-spacing:.13em;color:var(--muted);border-bottom:1px solid var(--line);padding:10px 0;margin-bottom:15px}.pause-banner{padding:12px 20px;border:1px solid #bba46e;border-radius:10px;background:#d5b47725;margin:14px 0;font-size:13px}.panel{padding:22px;border:1px solid var(--line);background:var(--paper);border-radius:18px}.panel h3{margin-bottom:12px}.message{border:1px solid var(--line);background:#e9e6d9;border-radius:14px;padding:22px;line-height:1.6;font-size:15px}.selected-label{font-size:12px;line-height:1.6;margin:16px 0;padding:12px 14px;border:1px solid var(--line);border-radius:12px}.selection-check{color:#416849;font-weight:bold;margin-right:4px}.empty-state{text-align:center;padding:30px 14px}.empty-state h2{font-size:32px;margin:20px 0 12px}.empty-state p{color:var(--muted);max-width:460px;margin:auto}.empty-state .hero-art{width:140px;height:140px;margin:auto}
/* Brand and atmosphere */
.round-1{--stage:#102f26;--stage-mid:#204b36;--stage-deep:#071a16;--accent:#e7ca8d}.round-2{--stage:#12352d;--stage-mid:#24503e;--stage-deep:#071d1a;--accent:#d7cc9d}.round-3{--stage:#25172e;--stage-mid:#493052;--stage-deep:#130e22;--accent:#e7b4d3}.round-4{--stage:#382119;--stage-mid:#61392a;--stage-deep:#20131a;--accent:#efc18f}.round-5{--stage:#183029;--stage-mid:#3d4d36;--stage-deep:#0e1e1a;--accent:#d9c38e}.round-6{--stage:#112b39;--stage-mid:#254455;--stage-deep:#0b1827;--accent:#c8d8d2}.round-7{--stage:#381b2b;--stage-mid:#623241;--stage-deep:#1b1123;--accent:#efd094}
.game-header{display:flex;justify-content:space-between;align-items:center;gap:16px;position:relative;z-index:2}.identity{display:flex;gap:12px;align-items:center}.game-mark{width:44px;height:44px}.game-wordmark{font:22px var(--serif);display:block;letter-spacing:-.02em}.header-label{font-size:9px;letter-spacing:.25em;display:block;margin-top:6px;opacity:.65}.timer-box{display:flex;gap:12px;align-items:center;justify-content:flex-end;min-width:108px;flex-shrink:0}.countdown{font-size:38px;font-weight:400;letter-spacing:-.04em;font-variant-numeric:tabular-nums;line-height:1;color:var(--accent)}.timer-label{font-size:9px;text-transform:uppercase;letter-spacing:.2em;margin-top:6px;text-align:right;opacity:.65}.clock-mark{width:23px;height:23px;border:1.5px solid currentColor;color:var(--accent);border-radius:50%;position:relative}.clock-mark:before{content:'';position:absolute;left:9px;top:4px;width:5px;height:8px;border-left:1.5px solid;border-bottom:1.5px solid}.round-progress{display:flex;align-items:center;gap:7px}.round-progress i{height:5px;width:22px;border-radius:5px;background:var(--line)}.round-progress i.done{background:var(--accent)}
/* Real illustrated cards, rather than text-only dashboard tiles. */
.section-heading{display:flex;justify-content:space-between;gap:16px;align-items:center;margin:24px 0 13px}.section-heading h3{display:flex;align-items:center;gap:10px;font-size:17px;font-weight:400;font-family:var(--serif)}.section-heading>span{font-size:12px;color:var(--muted)}.section-heading b{font-weight:400}.section-gem{width:5px;height:5px;border:1px solid var(--gold);transform:rotate(45deg)}.fixed-grid,.mystery-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.box-card{min-width:0;position:relative;border-radius:16px;text-align:left;transition:transform .16s,box-shadow .16s;isolation:isolate}.box-card:enabled:hover{transform:translateY(-3px)}.box-card:enabled:active{transform:translateY(0)}.box-card.fixed{display:flex;align-items:center;gap:14px;min-height:140px;padding:20px 24px 24px;border:1px solid #d1af6c;box-shadow:inset 0 0 0 4px #ffffff06,0 5px 18px #00000020;color:#fff4d9}.box-card.fixed:after{content:'';position:absolute;inset:5px;border:1px solid #efd89a30;border-radius:11px;pointer-events:none}.coin-300{background:radial-gradient(ellipse at 20% 0,#628b6255,transparent 65%),linear-gradient(125deg,#285941,#173f32 70%,#13372e)}.coin-700{background:radial-gradient(ellipse at 20% 0,#efcc8c55,transparent 65%),linear-gradient(125deg,#b08038,#8f632b 70%,#795322)}.coin-1500{background:radial-gradient(ellipse at 20% 0,#db8c7d55,transparent 65%),linear-gradient(125deg,#963e45,#742d3e 70%,#5b2136)}.coin-illustration{width:76px;height:76px;flex-shrink:0;filter:drop-shadow(0 4px 8px #0003)}.box-tag{display:block;font-size:10px;letter-spacing:.2em;text-transform:uppercase;opacity:.8;margin-bottom:5px}.amount{font:46px var(--serif);letter-spacing:-.03em;line-height:1.05;white-space:nowrap}.amount small{font-family:inherit;font-size:14px;letter-spacing:0;margin-left:6px;opacity:.8}.box-details{font-size:12px;margin-top:8px;opacity:.9}.box-details strong{font-weight:600}.picked{position:absolute;right:15px;top:14px;font-size:10px;opacity:.65}.fixed .picked{top:auto;bottom:12px;right:19px;font-size:10px}.mystery{display:flex;align-items:center;gap:13px;min-height:152px;padding:24px 26px;background:linear-gradient(135deg,#fff9ec,#eee2cb);color:#313129;border:1px solid #cfb785;box-shadow:inset 0 1px 0 #fff,0 5px 14px #00000016}.mystery:after{content:'';position:absolute;inset:5px;border:1px solid #bc9b5e20;border-radius:11px;pointer-events:none}.mystery-illustration{width:88px;height:88px;flex-shrink:0}.mystery-copy h3{font-family:var(--serif);font-weight:400;font-size:22px;letter-spacing:-.03em;line-height:1.1;margin-bottom:8px}.teaser{font-size:12px;line-height:1.4;color:#756957;max-width:215px}.letter{position:absolute;left:14px;top:12px;font-size:10px;color:#a28a5f;font-weight:600}.selected{outline:3px solid #b58b48;outline-offset:3px}.selected-badge{position:absolute;top:-8px;right:-8px;width:24px;height:24px;border-radius:50%;display:grid;place-items:center;background:#214933;color:#fff4d6;border:2px solid #e9ce90;z-index:3;font-size:12px}.box-card.selected .picked{visibility:hidden}
/* TV: true 16:9 composition, safe-area margins, no mirrored phone controls. */
body.tv-mode{--ink:#fff5df;--muted:#c8c4b1;--line:#d6ba782b;--paper:#18372c;background:var(--stage-deep);color:var(--ink);background-image:radial-gradient(ellipse at 50% -10%,var(--stage-mid),transparent 68%),radial-gradient(ellipse at 90% 80%,var(--stage),transparent 70%);min-height:100vh}.tv-mode:before,.tv-mode:after{content:'';position:fixed;width:clamp(220px,25vw,460px);height:clamp(220px,25vw,460px);background:url('/art/corner.svg') center/contain no-repeat;opacity:.34;pointer-events:none;z-index:0}.tv-mode:before{left:-110px;top:20px;transform:rotate(-5deg)}.tv-mode:after{right:-100px;bottom:15px;transform:rotate(180deg);opacity:.23}.tv-shell{position:relative;z-index:1;width:min(100%,1920px);min-height:100svh;margin:auto;padding:3.1vh 4.2vw 2.2vh;display:flex;flex-direction:column;gap:0}.tv-shell .game-header{padding-bottom:1.5vh;border-bottom:1px solid var(--line)}.tv-shell .fullscreen-btn{font-size:20px;color:var(--accent);padding:5px 10px;min-height:32px}.tv-shell .demo-pill{font-size:9px;padding:5px 8px;opacity:.65}.tv-shell .connection{opacity:.6}.tv-shell .topline{display:grid;grid-template-columns:175px minmax(0,1fr) 175px;align-items:center;gap:24px;margin:2.5vh 0 1.2vh}.round-badge{display:flex;align-items:center;gap:12px}.round-badge .art{width:44px;height:44px}.round-badge>span{font-size:9px;letter-spacing:.2em;line-height:1.7;max-width:60px}.round-badge strong{display:block;font-size:22px;font-family:var(--serif);letter-spacing:.04em;font-weight:400;line-height:1.05}.round-title{text-align:center}.round-title h1{font-size:clamp(38px,3.5vw,64px);color:var(--accent);line-height:1.15}.round-title p{font-size:clamp(13px,1.05vw,18px);margin-top:8px;color:var(--muted)}.tv-shell .countdown{font-size:clamp(32px,3vw,52px)}.tv-shell .tv-content{flex:1}.tv-shell .section-heading{margin:2.1vh 0 1.2vh}.tv-shell .section-heading h3{font-size:clamp(17px,1.4vw,25px)}.tv-shell .section-heading>span{font-size:clamp(11px,.83vw,15px)}.tv-shell .fixed-grid,.tv-shell .mystery-grid{gap:clamp(10px,1.1vw,20px)}.tv-shell .fixed{min-height:clamp(108px,15.8vh,170px);padding:1.8vh 2vw 2.4vh;gap:1.3vw}.tv-shell .coin-illustration{width:clamp(56px,6.1vw,110px);height:clamp(56px,6.1vw,110px)}.tv-shell .amount{font-size:clamp(34px,3.1vw,56px)}.tv-shell .box-details{font-size:clamp(10px,.82vw,15px)}.tv-shell .box-tag{font-size:clamp(9px,.7vw,12px)}.tv-shell .mystery{min-height:clamp(117px,17vh,183px);padding:2.1vh 2vw;gap:1.5vw}.tv-shell .mystery-illustration{width:clamp(60px,6.7vw,120px);height:clamp(60px,6.7vw,120px)}.tv-shell .mystery-copy h3{font-size:clamp(19px,1.6vw,30px);margin-bottom:.7vh}.tv-shell .mystery .teaser{font-size:clamp(11px,.88vw,16px);max-width:270px}.tv-shell .picked{font-size:clamp(10px,.73vw,13px)}.tv-shell .letter{font-size:clamp(10px,.7vw,13px)}.tv-bottom{display:flex;align-items:center;justify-content:space-between;gap:24px;border-top:1px solid var(--line);padding-top:1.6vh;margin-top:2.3vh;color:var(--muted);font-size:clamp(11px,.8vw,15px)}.leader-strip{display:flex;gap:24px}.leader-strip>span{display:flex;gap:8px;align-items:center}.leader-strip i{font-style:normal;display:grid;place-items:center;width:23px;height:23px;border:1px solid var(--line);border-radius:50%;color:var(--accent);font-size:11px}.leader-strip strong{font-weight:400;color:var(--ink)}.selection-progress{display:flex;gap:14px;align-items:center}.progress-track{width:110px;height:4px;background:#ffffff13;border-radius:8px}.progress-track span{display:block;height:100%;background:var(--accent);border-radius:8px}.event-topbar{display:flex;justify-content:space-between;align-items:center;margin:2vh 0 1vh}.event-topbar .timer-box .countdown{font-size:36px}
/* Reveals, scoreboard and contest stages */
.hero-art{position:relative;width:200px;height:200px;margin:20px auto;isolation:isolate}.hero-art:before{content:'';position:absolute;inset:-35%;z-index:-1;background:radial-gradient(circle,#ddb96822,transparent 68%)}.event-heading{font-size:clamp(32px,4vw,70px);margin:14px 0 12px;color:var(--accent)}.event-subtitle{font-size:18px;line-height:1.5;max-width:800px;color:var(--muted)}.event-center{text-align:center;margin:5vh auto 0;padding:20px;max-width:950px}.event-center .event-subtitle{margin:auto}.event-center .eyebrow{color:var(--accent)}.event-center .hero-art{width:clamp(160px,22vh,260px);height:clamp(160px,22vh,260px)}.winner-number{font-family:var(--serif);font-size:clamp(54px,6vw,108px);letter-spacing:-.055em;line-height:1.05;color:var(--accent);font-variant-numeric:tabular-nums}.winner-number>span{font-family:'Trebuchet MS',sans-serif;font-size:14px;letter-spacing:.2em;text-transform:uppercase;display:block;margin:12px 0 24px;color:var(--muted)}.event-note{font-size:12px;line-height:1.5;color:var(--muted);margin-top:16px;text-align:center}.tv-results{display:grid;grid-template-columns:1fr .85fr;gap:6vw;max-width:1500px;margin:2.2vh auto 0;align-items:start}.reveal-feature{text-align:center;min-width:0}.reveal-feature .event-heading{font-size:clamp(38px,3.8vw,66px);margin:9px 0}.reveal-feature .hero-art{width:clamp(130px,18vh,210px);height:clamp(130px,18vh,210px);margin:6px auto}.reveal-feature .winner-number{font-size:clamp(52px,5vw,86px)}.feature-caption{font-size:15px;color:var(--muted)}.receipt-stack{margin:24px auto 0;text-align:left;max-width:540px}.receipt{padding:12px 0;border-bottom:1px solid var(--line);font-size:13px;line-height:1.4}.receipt:last-child{border-bottom:0}.visual-receipt{display:flex;align-items:center;gap:12px;padding:7px 0}.visual-receipt .art{width:32px;height:32px;flex-shrink:0}.results-board{margin-top:10px}.board-list{background:linear-gradient(135deg,#fff8e8,#f0e0c3);border:1px solid #d1b67d;border-radius:15px;color:#382d25;padding:5px 18px;box-shadow:0 8px 26px #00000014}.board-row{display:grid;grid-template-columns:30px 1fr auto;align-items:center;gap:15px;padding:16px 2px;border-bottom:1px solid #b49c7530;min-width:0}.board-row:last-child{border:0}.board-row .rank{font:15px var(--serif);width:27px;height:27px;display:grid;place-items:center;color:#937c56}.board-row.top-rank .rank{border-radius:50%;background:#e4c589;box-shadow:inset 0 1px 0 #ffffff8a;color:#6a471f}.board-row.rank-1 .rank{background:#e1dfd2;color:#5d655d}.board-row.rank-2 .rank{background:#d6b598;color:#774b31}.board-row strong{font-size:16px;overflow-wrap:anywhere}.board-row strong small{font-weight:400;color:#6e7b63;font-size:12px}.board-row .coins{font-size:23px;font-family:var(--serif);text-align:right;font-variant-numeric:tabular-nums}.board-row .delta{font-size:10px;color:#87765d;text-align:right;margin-top:3px}.board-row.me{background:#697a5220}.next-chapter{border:1px solid var(--line);padding:20px 22px;margin-top:20px;border-radius:13px}.next-chapter .eyebrow{color:var(--accent);font-size:9px}.next-chapter p{font:19px var(--serif);margin-top:7px;color:var(--muted)}.event-stage{max-width:1420px;margin:0 auto;text-align:center}.event-intro{position:relative}.event-emblem{width:76px!important;height:76px!important;margin:0 auto 12px}.event-stage .event-heading{margin:10px 0}.event-stage .event-subtitle{margin:auto}.contestants{display:grid;grid-template-columns:repeat(var(--contestants,3),minmax(0,1fr));gap:18px;margin:3vh auto;max-width:1080px}.contestant{background:linear-gradient(160deg,#ffffff0a,#ffffff03);border:1px solid #c6ac6f55;border-radius:18px;padding:20px;position:relative;min-width:0}.contestant:after{content:'';position:absolute;inset:5px;border:1px solid #d4bb7d13;border-radius:13px;pointer-events:none}.contestant-label{display:block;font-size:9px;letter-spacing:.2em;color:var(--muted);margin-bottom:15px}.avatar{width:clamp(64px,8vw,100px);height:clamp(64px,8vw,100px);border-radius:50%;border:1px solid #dfbd7755;display:grid;place-items:center;margin:auto;background:radial-gradient(ellipse at 25% 15%,#9fbd9455,#335848);color:#f6e3ba;font:30px var(--serif);box-shadow:0 0 0 6px #ffffff03}.contestant-1 .avatar{background:radial-gradient(ellipse at 25% 15%,#c49bb155,#72415f)}.contestant-2 .avatar{background:radial-gradient(ellipse at 25% 15%,#c4b29b55,#6f5740)}.contestant-3 .avatar{background:radial-gradient(ellipse at 25% 15%,#9bb6c455,#36596c)}.contestant h3{font:26px var(--serif);margin:16px 0 10px;color:var(--ink)}.contestant .prize{font-size:29px;font-family:var(--serif);color:var(--accent)}.contestant .prize span{font-size:11px}.contestant .small{font-size:10px;margin-top:4px}.challenge-prompt{padding:20px 30px;border:1px solid #c3ac7340;border-radius:16px;background:linear-gradient(130deg,#fff3d91a,#ffffff04);max-width:1050px;margin:10px auto}.challenge-prompt .eyebrow{font-size:9px;color:var(--accent)}.challenge-prompt p{font:clamp(18px,1.6vw,28px)/1.4 var(--serif);margin:8px 0;color:var(--ink)}.vote-status{max-width:700px;margin:auto;background:#d7c49215;border-color:var(--line)}.vote-orb{display:inline-block;width:8px;height:8px;background:var(--accent);border-radius:50%;margin-right:10px}.choice-list{display:grid;gap:10px;margin-top:20px}.choice-btn{background:var(--paper);border:1px solid var(--line);border-radius:12px;color:var(--ink);text-align:left;padding:16px;font-weight:600}.choice-btn:hover{filter:brightness(.97)}.quiz{padding:18px;border:1px solid var(--line);border-radius:14px;margin:16px 0;min-width:0}.quiz legend{font-size:17px;font-weight:600;padding:0 6px}.answer-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:8px}.answer-grid label{display:flex;align-items:center;gap:8px;padding:10px;border:1px solid var(--line);border-radius:9px}.finale-stage{display:grid;grid-template-columns:1fr 1fr;gap:6vw;align-items:center;max-width:1450px;margin:4vh auto}.winner-page{text-align:center}.winner-page .hero-art{width:clamp(170px,22vh,260px);height:clamp(170px,22vh,260px)}.winner-name{font:clamp(58px,6vw,110px)/1.1 var(--serif);color:var(--accent);margin:16px 0 14px}.winner-page .winner-number{font-size:clamp(44px,4.7vw,76px)}.champion-caption{color:var(--muted);font-size:16px}.finale-standings .board-row{padding:11px 0}
/* Lobby and landing */
.lobby-layout{display:grid;grid-template-columns:1fr 1.1fr;gap:7vw;align-items:center;margin:6vh auto 2vh;max-width:1550px}.lobby-title{font-size:clamp(58px,6.4vw,110px);line-height:1.02;color:var(--accent);margin:24px 0 0}.lobby-title em{font-weight:400;color:var(--ink)}.lobby-art{position:relative;width:260px;height:145px;display:flex;align-items:flex-end;margin:15px 0}.lobby-art .art{position:absolute;width:110px;height:110px;left:0;bottom:0;transform:rotate(-9deg)}.lobby-art .art:nth-child(2){left:80px;width:140px;height:140px;transform:none;z-index:1}.lobby-art .art:nth-child(3){left:180px;width:80px;height:80px;transform:rotate(12deg)}.guest-panel{background:#ffffff04;border:1px solid var(--line);border-radius:20px;padding:30px}.join-instruction{display:flex;gap:25px;align-items:center;padding-bottom:25px;border-bottom:1px solid var(--line)}.qr{background:#fff;padding:6px;border-radius:12px;width:165px;flex-shrink:0;line-height:0}.qr svg{width:100%;height:auto}.join-url{font-size:15px;margin:5px 0;overflow-wrap:anywhere}.room-code-big{font-size:40px;letter-spacing:.18em;color:var(--accent);font-family:var(--serif);margin-top:12px}.player-cloud{display:flex;flex-wrap:wrap;gap:10px;margin-top:16px}.player-chip{font-size:14px;padding:10px 15px;border:1px solid var(--line);border-radius:30px;background:#ffffff05}.home-nav{max-width:1360px;margin:auto;padding:32px 6%;display:flex;align-items:center;justify-content:space-between}.nav-right{display:flex;gap:25px;font-size:13px}.home{max-width:1360px;margin:auto;padding:50px 6% 80px;display:grid;grid-template-columns:1.3fr 1fr;gap:9%;align-items:center;min-height:78vh}.home h1{font-size:clamp(54px,6.4vw,90px);margin:25px 0 24px}.home h1 span{color:#7e7555;font-style:italic}.home .intro{font-size:17px;color:var(--muted)}.home .facts{display:flex;gap:30px;margin-top:36px;font-size:12px}.home .facts strong{font:26px var(--serif);display:block;margin-bottom:7px}.join-panel{padding:36px;background:var(--paper);border:1px solid var(--line);border-radius:23px;box-shadow:0 16px 60px #19332708}.join-panel h2{font-size:32px;margin:12px 0}.join-panel .stack{margin-top:25px}.code-input{text-transform:uppercase;letter-spacing:.18em}.mini-card{display:flex;gap:16px;align-items:center;margin-top:24px;padding:20px;border:1px solid var(--line);border-radius:18px}.mini-symbol{width:62px;height:62px;flex-shrink:0}.mini-card h3{font-size:15px;margin-bottom:5px}.mini-card p{font-size:12px;color:var(--muted)}
/* Private host control stays functional and distinct from the TV. */
.host-shell{max-width:1650px;margin:auto;padding:25px 3vw 40px}.host-shell .header-label{color:var(--muted)}.host-layout{display:grid;grid-template-columns:290px minmax(0,1fr);gap:32px;margin-top:25px}.host-sidebar{display:flex;flex-direction:column;gap:18px}.host-controls,.host-links{display:flex;flex-direction:column;gap:10px}.host-controls h3,.host-links h3{margin-bottom:2px}.host-only{border:1px dashed #ae8e59;padding:20px;border-radius:15px;line-height:1.65;font-size:12px;color:#6f592f;background:#e5d3ae25}.host-main{min-width:0}.host-footer{font-size:10px;color:var(--muted);margin-top:25px}.host-main .topline{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:25px}.host-main .round-title h1{font-size:36px;color:var(--ink)}.host-main .round-title p{font-size:12px;color:var(--muted)}.host-main .round-badge{display:none}.host-main .countdown{color:#9e763d}.host-main .fixed{padding:16px;gap:8px}.host-main .coin-illustration{width:45px;height:45px}.host-main .amount{font-size:33px}.host-main .bonus-note{display:none}.host-main .mystery{padding:24px 12px;gap:8px;min-height:135px}.host-main .mystery-illustration{width:56px;height:56px}.host-main .mystery-copy h3{font-size:18px}.host-main .teaser{font-size:11px}.host-main .event-heading{color:var(--ink);font-size:40px}.host-main .event-subtitle{font-size:15px}.host-main .event-stage .contestant{background:var(--paper);border-color:var(--line)}.host-main .prize{color:#9d763c}.host-main .challenge-prompt{background:var(--paper)}.host-main .challenge-prompt .eyebrow{color:#9e763d}.host-main .winner-number{color:#9b7135;font-size:58px}.host-main .hero-art{width:140px;height:140px}.host-main .tv-results{gap:25px;grid-template-columns:1fr 1fr}.host-main .receipt-stack{font-size:12px}.host-main .finale-stage{gap:30px}.host-main .winner-name{font-size:65px;color:var(--ink)}.lobby-table{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.lobby-player{border:1px solid var(--line);border-radius:10px;padding:12px;display:flex;justify-content:space-between;align-items:center;font-size:13px}
/* Phones: warm ivory, actual tap targets, three-by-two illustrated mystery grid. */
.phone-shell{max-width:480px;margin:auto;padding:16px 16px 120px;min-height:100svh}.phone-shell .game-header{padding:0 0 12px;border-bottom:1px solid var(--line)}.phone-shell .brand{font-size:23px}.phone-shell .pill{font-size:10px;padding:6px 10px}.phone-shell .balance{display:flex;align-items:center;justify-content:space-between;padding:14px 1px}.player-name{display:block;font-size:13px;font-weight:600}.player-rank{font-size:10px;color:var(--muted);margin-top:4px;display:block}.balance-coins{display:flex;align-items:center;gap:7px;padding:7px 13px 7px 8px;border-radius:24px;background:#e8dac0;color:#5b4829}.balance-coins .art{width:25px;height:25px}.balance-coins strong{font-family:var(--serif);font-size:21px;letter-spacing:-.03em}.phone-round-hero{border-radius:17px;overflow:hidden;position:relative;text-align:center;color:#fff5e1;background:radial-gradient(ellipse at top,var(--stage-mid),transparent 80%),var(--stage-deep);padding:25px 14px 27px;border:1px solid #ae8d5355;isolation:isolate}.phone-round-hero:before{content:'';position:absolute;inset:0;z-index:-1;background:url('/art/corner.svg') -50px -15px/200px no-repeat;opacity:.55}.phone-round-hero:after{content:'';position:absolute;inset:5px;border:1px solid #deba7620;border-radius:12px;z-index:-1}.phone-round-hero .eyebrow{font-size:8px;letter-spacing:.22em;color:var(--accent)}.phone-round-hero h1{font-size:29px;letter-spacing:-.04em;margin:9px 0 7px;color:var(--accent)}.phone-round-hero p{font-size:11px;opacity:.8}.phone-instruction{display:flex;justify-content:space-between;align-items:center;font-size:11px;padding:11px 4px 0}.phone-instruction span:last-child{font-size:9px;color:var(--muted)}.phone-shell .section-heading{margin:18px 0 10px;gap:6px}.phone-shell .section-heading h3{font-size:16px;gap:7px}.phone-shell .section-heading>span{display:none}.phone-shell .fixed-grid,.phone-shell .mystery-grid{gap:8px}.phone-shell .fixed{display:flex;flex-direction:column;align-items:center;gap:0;padding:9px 4px 12px;min-height:127px;border-radius:13px;text-align:center}.phone-shell .fixed:after,.phone-shell .mystery:after{border-radius:9px}.phone-shell .coin-illustration{width:39px;height:39px}.phone-shell .box-tag{display:none}.phone-shell .amount{font:27px var(--serif);margin:0}.phone-shell .amount small{display:none}.phone-shell .box-details{font-size:10px;margin-top:4px}.phone-shell .bonus-note{display:none}.phone-shell .fixed .picked{position:static;font-size:8px;margin-top:5px;opacity:.65}.phone-shell .mystery{display:flex;flex-direction:column;justify-content:flex-start;gap:4px;padding:17px 5px 12px;min-height:131px;text-align:center;border-color:#d9c4a1;box-shadow:0 3px 8px #3c2c1c08;border-radius:13px;background:linear-gradient(140deg,#fffaf1,#f0e3cd)}.phone-shell .mystery .letter{font-size:8px;top:8px;left:9px}.phone-shell .mystery-illustration{width:52px;height:52px;flex-shrink:0}.phone-shell .mystery-copy{width:100%;flex:1}.phone-shell .mystery-copy h3{font-family:'Trebuchet MS',sans-serif;font-size:10.5px;font-weight:600;letter-spacing:-.02em;line-height:1.25;margin:0;padding:0 3px}.phone-shell .mystery .teaser{display:none}.phone-shell .mystery .picked{position:static;font-size:8px;margin-top:4px;opacity:.7}.phone-shell .selected{outline:2px solid #9c7842;outline-offset:2px}.phone-shell .selected-badge{width:19px;height:19px;top:-6px;right:-5px;font-size:9px}.phone-shell .box-card.selected .picked{visibility:visible}.phone-shell .selected-label{font-size:10px;margin:14px 0 0;padding:10px 12px;background:#f9f5eb}.phone-footer{position:fixed;bottom:0;left:50%;transform:translateX(-50%);width:min(100%,480px);z-index:10;display:flex;align-items:center;justify-content:space-between;gap:15px;padding:13px 20px max(13px,env(safe-area-inset-bottom));border-top:1px solid var(--line);background:#fcf7ed;box-shadow:0 -5px 20px #2a321508}.phone-footer .connection{display:block;font-size:9px;margin-top:3px;color:#61735b}.phone-footer .tiny{font-size:8px;margin-top:3px}.footer-selection{font-size:12px;font-weight:600}.phone-footer .countdown{color:#956c35;font-size:31px}.phone-footer .clock-mark{color:#ad8345;width:19px;height:19px}.phone-footer .clock-mark:before{left:7px;top:3px;width:4px;height:7px}.phone-footer .timer-label{color:#88745a;font-size:8px;margin-top:4px}.phone-footer .timer-box{gap:9px}.phone-shell .event-stage{text-align:center;padding-top:22px}.phone-shell .event-emblem{width:70px!important;height:70px!important}.phone-shell .event-heading{font-size:32px;color:var(--ink);margin:10px 0 14px}.phone-shell .event-subtitle{font-size:13px}.phone-shell .event-intro .eyebrow{font-size:9px;color:#98743b}.phone-shell .challenge-prompt{padding:18px;margin-top:22px;background:#fcf7ec;border-color:var(--line)}.phone-shell .challenge-prompt .eyebrow{color:#9a7137}.phone-shell .challenge-prompt p{font-size:21px}.phone-shell .event-note{font-size:10px}.phone-shell .choice-list{text-align:left}.phone-shell .result-stage{padding:20px 0;margin-top:15px}.phone-shell .winner-number{font-size:56px;color:#9f762f}.phone-shell .winner-number span{font-size:11px}.phone-shell .phone-reveal{text-align:center;background:linear-gradient(140deg,#fff9ee,#ecdfc6);border:1px solid #d3b884;border-radius:18px;padding:24px 18px;margin:12px 0 18px}.phone-reveal .eyebrow{font-size:9px;color:#8c7853}.phone-reveal h2{font-size:29px;margin-top:10px}.phone-reveal .hero-art{width:150px;height:150px;margin:16px auto}.reveal-amount{font:42px var(--serif);color:#815b28;margin-bottom:8px}.phone-shell .board-row{padding:12px 0}.phone-shell .board-row .coins{font-size:22px}.phone-shell .board-row strong{font-size:14px}.phone-shell .board-list{padding:5px 14px}.phone-shell .finale-stage{display:block;margin:25px 0}.phone-shell .winner-name{color:#917039;font-size:52px}.phone-shell .winner-page .hero-art{width:170px;height:170px}.phone-shell .champion-caption{font-size:13px;margin-bottom:28px}.phone-shell .message{font-size:13px}.phone-shell .task-form{padding-top:20px}.phone-shell .task-form h3{font-size:17px}
#toast{position:fixed;left:50%;bottom:26px;transform:translate(-50%,18px);opacity:0;pointer-events:none;background:#273c32;color:#fff6e5;padding:15px 22px;border:1px solid #dbc49155;max-width:90vw;width:max-content;border-radius:13px;font-size:13px;z-index:100;box-shadow:0 6px 25px #0003;transition:opacity .2s,transform .2s}#toast.visible{opacity:1;transform:translate(-50%,0)}.phone-mode #toast{bottom:102px}
/* Reduced motion is respected; reveals never require an animation to complete. */
@media(prefers-reduced-motion:reduce){*,*:before,*:after{transition:none!important;animation:none!important;scroll-behavior:auto!important}}
@media(max-width:1050px){.host-layout{grid-template-columns:240px minmax(0,1fr);gap:20px}.host-main .fixed-grid{gap:8px}.host-main .coin-illustration{display:none}.host-main .mystery-grid{grid-template-columns:repeat(2,1fr)}.host-main .tv-results,.host-main .finale-stage{grid-template-columns:1fr}.home{gap:5%}.join-panel{padding:28px}}
@media(max-width:760px){.home{display:block;padding-top:15px}.home>section:first-child{margin-bottom:35px}.home h1{font-size:58px}.home-nav{padding:24px 6%}.home .facts{gap:20px}.host-layout{display:block}.host-sidebar{margin-bottom:25px}.host-shell>.game-header .connection,.host-shell .header-label{display:none}.host-main .mystery-grid{grid-template-columns:repeat(3,1fr)}.host-main .mystery{display:block;text-align:center}.host-main .mystery-illustration{margin:auto}.host-main .teaser{display:none}.host-main .mystery-copy h3{font-size:14px;margin-top:12px}.host-shell .game-wordmark{font-size:17px}.host-shell .game-mark{width:30px;height:30px}.host-main .contestants{grid-template-columns:repeat(2,1fr)}.host-main .event-heading{font-size:32px}.host-main .topline{display:block}.host-main .timer-box{margin-top:20px}.host-main .lobby-table{grid-template-columns:repeat(2,1fr)}}
/* Compact, still landscape TV screens (720p). */
@media(min-width:900px) and (max-height:800px){.tv-shell{padding-top:2.5vh;padding-bottom:1.8vh}.tv-shell .game-mark{width:32px;height:32px}.tv-shell .game-wordmark{font-size:18px}.tv-shell .header-label{font-size:8px;margin-top:4px}.tv-shell .topline{margin:1.8vh 0 .8vh;grid-template-columns:140px minmax(0,1fr) 140px}.tv-shell .round-title h1{font-size:clamp(32px,3.2vw,46px)}.tv-shell .round-title p{font-size:12px;margin-top:4px}.tv-shell .section-heading{margin:1.6vh 0 1vh}.tv-shell .fixed{min-height:108px}.tv-shell .mystery{min-height:116px;padding:16px 24px}.tv-shell .mystery-copy h3{font-size:21px}.tv-shell .mystery .teaser{font-size:11px}.tv-shell .mystery-illustration{width:68px;height:68px}.tv-shell .coin-illustration{width:66px;height:66px}.tv-shell .bonus-note{font-size:10px}.tv-bottom{margin-top:2vh;padding-top:1.5vh}.event-emblem{width:52px!important;height:52px!important;margin-bottom:6px}.event-stage .event-heading{font-size:45px;margin:6px 0}.event-stage .event-subtitle{font-size:15px}.event-topbar{margin:1.3vh 0 .5vh}.event-topbar .countdown{font-size:28px!important}.contestants{margin:2vh auto}.contestant{padding:14px}.contestant-label{margin-bottom:10px}.contestant .avatar{width:68px;height:68px;font-size:24px}.contestant h3{font-size:22px;margin:11px 0 6px}.contestant .prize{font-size:23px}.challenge-prompt{padding:12px 20px}.challenge-prompt p{font-size:20px;margin:6px 0}.event-note{font-size:10px;margin-top:12px}.tv-results{margin-top:1vh}.reveal-feature .hero-art{width:125px;height:125px;margin:0 auto}.reveal-feature .event-heading{font-size:38px}.reveal-feature .winner-number{font-size:58px}.winner-number>span{margin:7px 0 12px;font-size:11px}.receipt-stack{margin-top:12px}.visual-receipt{padding:4px 0;font-size:12px}.visual-receipt .art{width:24px;height:24px}.tv-results .board-row{padding:11px 0}.tv-results .coins{font-size:20px}.next-chapter{padding:14px 18px;margin-top:14px}.next-chapter p{font-size:16px}.finale-stage{margin:3vh auto}.finale-standings .board-row{padding:8px 0}.winner-page .hero-art{width:160px;height:160px}.winner-name{font-size:70px}.lobby-layout{margin-top:4vh}.lobby-title{font-size:70px}.lobby-art{height:125px}.guest-panel{padding:22px}.qr{width:120px}.room-code-big{font-size:31px}.player-chip{padding:7px 10px;font-size:11px}.join-instruction{padding-bottom:15px}.lobby-hero .event-subtitle{font-size:16px}}
@media(max-width:370px){.phone-shell{padding-left:12px;padding-right:12px}.phone-round-hero h1{font-size:27px}.phone-shell .mystery-copy h3{font-size:10px}.phone-shell .mystery-illustration{width:47px;height:47px}.phone-shell .mystery{min-height:126px}.phone-shell .amount{font-size:24px}}
/* Keep the nine choices clear of the fixed controller bar on common phones. */
.phone-shell{padding-bottom:96px}.phone-shell .demo-banner{padding:6px 0;margin-bottom:4px;font-size:8px}.phone-shell .balance{padding:10px 1px}.phone-round-hero{padding:20px 14px}.phone-round-hero h1{font-size:28px}.phone-shell .section-heading{margin:15px 0 9px}.phone-shell .fixed{min-height:116px;padding:8px 4px 10px}.phone-shell .coin-illustration{width:36px;height:36px}.phone-shell .amount{font-size:25px}.phone-shell .mystery{min-height:120px;padding:15px 5px 10px}.phone-shell .mystery-illustration{width:48px;height:48px}.phone-shell .selected-label{margin-top:12px;padding:9px 11px}
.final-terms,.section-heading>.mobile-detail{display:none}.phone-shell .section-heading>.mobile-detail{display:block;font-family:'Trebuchet MS',sans-serif;font-size:9px;color:#88704a}.phone-shell .final-terms{display:block;font-size:9px;line-height:1.4;color:#7e6b4b;margin-top:5px}.phone-shell .final-terms strong{font-weight:600}
@media(min-width:900px) and (max-height:800px){.tv-mode.phase-reveal .tv-results,.tv-mode.phase-round-results .tv-results{margin-top:0}.tv-mode.phase-reveal .receipt-stack,.tv-mode.phase-round-results .receipt-stack{margin-top:8px}.tv-mode.phase-reveal .visual-receipt,.tv-mode.phase-round-results .visual-receipt{padding:3px 0}}

/* Optional player selfies retain the illustrated game and its round themes. */
.player-identity{display:inline-flex;align-items:center;gap:8px;min-width:0;vertical-align:middle;max-width:100%}.player-identity>span:last-child{min-width:0;overflow-wrap:anywhere}.player-avatar{position:relative;display:inline-grid;place-items:center;width:30px;height:30px;flex:0 0 auto;overflow:hidden;border:1px solid #b49a6555;border-radius:50%;background:#e4d6b7;color:#355344;font:12px var(--serif);vertical-align:middle}.player-avatar img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.player-avatar.portrait{width:100%;height:100%;font:inherit;border:0;background:transparent;color:inherit}.avatar .player-avatar{display:grid}.board-row strong{min-width:0}.board-row .player-identity{display:flex}.leader-strip .player-avatar{width:24px;height:24px;font-size:9px}.leader-strip .player-identity{gap:5px}.player-chip .player-avatar{width:22px;height:22px;font-size:9px}.player-chip{padding-top:5px;padding-bottom:5px}.phone-identity{display:flex;align-items:center;gap:10px;min-width:0}.phone-identity .player-avatar{width:38px;height:38px;font-size:14px}.phone-identity>div{min-width:0}.selfie-settings{margin:0 0 12px;font-size:12px}.selfie-settings summary{cursor:pointer;color:var(--muted);padding:6px 0}.selfie-picker{margin:10px 0}.selfie-picker input{max-width:100%;font-size:12px;padding:10px}.selfie-picker .tiny{margin:8px 0}.selfie-preview img{width:64px;height:64px;object-fit:cover;border-radius:50%;border:1px solid var(--line);margin-top:10px}.winner-name .player-identity{justify-content:center;flex-wrap:wrap}.winner-name .player-avatar,.result-stage .event-heading .player-avatar{width:64px;height:64px;font-size:24px}.event-heading .player-identity{justify-content:center}.choice-btn .player-identity{text-align:left}@media(max-width:400px){.phone-shell .board-row{gap:8px;grid-template-columns:24px minmax(0,1fr) auto}.phone-shell .player-identity{gap:6px}.phone-shell .board-row .player-avatar{width:26px;height:26px}.phone-identity{gap:7px}}

/* Hookstep Hero live performances: existing artwork and portrait treatment. */
.performance-roster{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;max-width:1150px;margin:20px auto}.performance-person{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 12px;border:1px solid var(--line);border-radius:12px;min-width:0;text-align:left;font-size:13px}.performance-person>span{min-width:0}.performance-person>strong{white-space:nowrap;color:var(--accent)}.performance-judges{display:grid;gap:10px;margin:18px 0;text-align:left}.performance-judge{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px;border:1px solid var(--line);border-radius:12px}.performance-judge .tiny{margin:5px 0 0 38px}.performance-judge .row{flex-wrap:wrap}.performance-judge .btn{white-space:nowrap}.phone-shell .performance-roster{grid-template-columns:1fr}.phone-shell .live-showcase .performance-person{padding:10px}.host-main .performance-roster{grid-template-columns:repeat(2,minmax(0,1fr))}.live-showcase .event-subtitle{margin:auto}@media(max-width:760px){.performance-roster{grid-template-columns:repeat(2,minmax(0,1fr))}.performance-judge{align-items:flex-start;flex-direction:column}.performance-judge .row{width:100%}.performance-judge .btn{flex:1}}
