/* Buzzline. Team colour arrives as --t / --t-ink. Buzzer gold for the game's own accent. */
:root { --bz-gold: #FFB800; }

/* ---- TV lobby: pack toggles as compact chips under the main settings ---------- */
.lobby[data-game="buzzline"] .game-title { font-size: 140px; margin-bottom: 18px; }
.lobby[data-game="buzzline"] .join-card { padding: 24px 36px 26px; }
.lobby[data-game="buzzline"] .lobby-left { gap: 14px; }
.lobby[data-game="buzzline"] .join-step { font-size: 26px; }
.lobby[data-game="buzzline"] .join-url { font-size: 42px; margin-bottom: 12px; }
.lobby[data-game="buzzline"] .code span { width: 92px; height: 108px; font-size: 88px; }
.lobby[data-game="buzzline"] .qr { width: 190px; height: 190px; }
.lobby[data-game="buzzline"] .settings { display: grid; grid-template-columns: repeat(15, minmax(0, 1fr)); gap: 10px; }
.lobby[data-game="buzzline"] .setting { grid-column: span 5; padding: 10px 18px; gap: 2px; }
.lobby[data-game="buzzline"] .setting .s-label { font-size: 18px; }
.lobby[data-game="buzzline"] .setting .s-value { font-size: 38px; }
.lobby[data-game="buzzline"] .setting[data-setting^="pk_"] { grid-column: span 3; flex-direction: column; align-items: flex-start; gap: 0; padding: 8px 14px; border-radius: 14px; background: var(--panel-2); min-width: 0; }
.lobby[data-game="buzzline"] .setting[data-setting^="pk_"] .s-label { font-size: 15px; letter-spacing: 0.03em; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.lobby[data-game="buzzline"] .setting[data-setting^="pk_"] .s-value { font-size: 26px; color: var(--bz-gold); }
.lobby[data-game="buzzline"] .setting[data-setting^="pk_"]:focus .s-value { color: var(--action); }
.tv .lobby[data-game="buzzline"] .setting:focus { transform: scale(1.04); }

/* ---- TV shared ------------------------------------------------------------------ */
.bz { position: relative; display: flex; flex-direction: column; gap: 22px; }
.bz-top { display: flex; align-items: center; gap: 24px; min-height: 64px; }
.bz-stage { font-size: 30px; font-weight: 900; text-transform: uppercase; letter-spacing: 0.12em; color: var(--ink-dim); }
.bz-top-right { margin-left: auto; }
.bz-pack { display: inline-block; background: var(--k); color: var(--k-ink); font-weight: 900; font-size: 28px; padding: 8px 22px; border-radius: 999px; }
.bz-pts { display: inline-block; font-family: var(--display); font-size: 44px; line-height: 1; padding: 10px 24px; border-radius: 14px; background: var(--bz-gold); color: var(--bg); }

.bz-strip { margin-top: auto; display: grid; gap: 18px; }
.bz-strip.n2 { grid-template-columns: 1fr 1fr; }
.bz-strip.n3 { grid-template-columns: 1fr 1fr 1fr; }
.bz-team { display: flex; align-items: center; gap: 18px; padding: 14px 26px; border-radius: 22px; background: var(--t); color: var(--t-ink); transition: transform 0.2s ease, opacity 0.2s ease; }
.bz-strip:has(.on) .bz-team:not(.on) { opacity: 0.55; }
.bz-team.on { transform: translateY(-8px); box-shadow: 0 0 0 5px var(--ink), 0 10px 0 rgba(0, 0, 0, 0.35); }
.bt-name { font-family: var(--display); text-transform: uppercase; font-size: 50px; line-height: 1; }
.bt-avs { display: flex; gap: 6px; flex: 1; min-width: 0; overflow: hidden; }
.bt-who { flex: 1; min-width: 0; font-size: 24px; font-weight: 800; line-height: 1.15; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bt-who span + span::before { content: ', '; }
.bt-who .away { opacity: 0.5; }
.bt-avs .avatar { width: 46px; height: 46px; font-size: 24px; flex: none; box-shadow: 0 0 0 3px var(--bg); }
.bt-avs .avatar.away { opacity: 0.35; }
.bt-score { font-family: var(--display); font-size: 72px; line-height: 1; }

.bz-strip.crew { grid-template-columns: 1fr 1fr 1.3fr 1fr; align-items: stretch; }
.bz-strip.crew > div { background: var(--panel); border-radius: 22px; padding: 14px 26px; display: flex; align-items: center; gap: 18px; }
.bz-strip.crew b { font-family: var(--display); font-weight: 400; font-size: 72px; line-height: 1; }
.bz-strip.crew span { font-size: 26px; font-weight: 900; text-transform: uppercase; letter-spacing: 0.1em; color: var(--ink-dim); }
.crew-score b { color: var(--action); }
.crew-strikes { justify-content: center; }
.crew-strikes .strike { font-family: var(--font); font-size: 60px !important; color: var(--panel-2) !important; letter-spacing: 0 !important; }
.crew-strikes .strike.hit { color: var(--hype) !important; animation: pop 0.4s ease-out; }

:is(.bz, .bzp) .bar { height: 14px; border-radius: 99px; background: var(--panel-2); overflow: hidden; }
:is(.bz, .bzp) .bar i { display: block; height: 100%; width: calc(var(--p, 1) * 100%); background: var(--action); border-radius: 99px; }

/* ---- intro ------------------------------------------------------------------------ */
.intro-left { flex: 1 1 0; display: flex; flex-direction: column; gap: 40px; }
.bz-logo { display: flex; flex-direction: column; font-family: var(--display); font-size: 230px; line-height: 0.84; text-transform: uppercase; }
.bz-logo span:first-child { color: var(--bz-gold); }
.bz-logo span:last-child { margin-left: 80px; }
.intro-rules { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 20px; }
.intro-rules li { display: flex; gap: 24px; align-items: flex-start; opacity: 0; animation: rise 0.4s ease-out forwards; animation-delay: var(--d); }
.ir-n { flex: none; width: 62px; height: 62px; border-radius: 50%; display: grid; place-items: center; background: var(--bz-gold); color: var(--bg); font-family: var(--display); font-size: 40px; }
.intro-rules p { margin: 6px 0 0; font-size: 34px; font-weight: 600; line-height: 1.3; }
.intro-rules b { color: var(--bz-gold); font-weight: 900; }
.intro-right { flex: 0 0 760px; display: flex; flex-direction: column; gap: 24px; }
.intro-teams { display: flex; flex-direction: column; gap: 20px; }
.it { background: var(--t); color: var(--t-ink); border-radius: 30px; padding: 26px 34px; opacity: 0; animation: rise 0.4s ease-out forwards; animation-delay: var(--d); }
.it-name { font-family: var(--display); text-transform: uppercase; font-size: 96px; line-height: 0.9; }
.intro-teams.n3 .it { padding: 18px 30px; } .intro-teams.n3 .it-name { font-size: 70px; }
.it-members { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 14px; }
.it-m { display: flex; align-items: center; gap: 10px; font-size: 30px; font-weight: 900; }
.it-m .avatar { width: 50px; height: 50px; font-size: 26px; box-shadow: 0 0 0 3px var(--t-ink); }
.crew-card { background: var(--action); color: var(--bg); border-radius: 30px; padding: 40px; }
.cc-k { font-size: 32px; font-weight: 900; text-transform: uppercase; letter-spacing: 0.12em; }
.cc-t { font-family: var(--display); font-size: 180px; line-height: 0.88; margin-top: 10px; }
.intro-packs { display: flex; flex-wrap: wrap; gap: 10px; }
.intro-packs .bz-pack { font-size: 22px; padding: 6px 16px; }
.bz-next { margin-top: auto; align-self: flex-end; }

/* ---- round intro ------------------------------------------------------------------- */
.bz-ri { justify-content: center; }
.ri-kicker { font-size: 34px; font-weight: 900; text-transform: uppercase; letter-spacing: 0.2em; color: var(--ink-dim); }
:is(.bz, .bzp) .ri-title { font-size: 250px; line-height: 0.86; margin: 0; color: var(--bz-gold); animation: rise 0.4s ease-out both; }
.bz-ri.t-list .ri-title { color: var(--common); }
.bz-ri.t-number .ri-title { color: var(--uncommon); }
.bz-ri.t-finale .ri-title { color: var(--hype); }
.ri-points { display: flex; align-items: center; gap: 24px; }
.ri-points b { font-family: var(--display); font-weight: 400; font-size: 160px; line-height: 1; background: var(--ink); color: var(--bg); padding: 0 34px; border-radius: 24px; transform: rotate(-3deg); }
.ri-points span { font-size: 40px; font-weight: 900; line-height: 1.1; text-transform: uppercase; }
:is(.bz, .bzp) .ri-sub { font-size: 40px; font-weight: 600; max-width: 1300px; line-height: 1.3; margin: 0; color: var(--ink-dim); }
.bz-ri .bz-strip { margin-top: 50px; }

/* ---- question ---------------------------------------------------------------------- */
.q-main { flex: 1; min-height: 0; display: grid; grid-template-columns: minmax(0, 1fr) 520px; gap: 34px; }
.q-card { background: var(--panel); border-radius: 34px; padding: 40px 48px; display: flex; flex-direction: column; gap: 26px; min-height: 0; }
.q-kind { font-size: 26px; font-weight: 900; text-transform: uppercase; letter-spacing: 0.16em; color: var(--bz-gold); }
.q-text { font-family: var(--font); font-weight: 800; text-transform: none; letter-spacing: 0; font-size: 66px; line-height: 1.12; margin: 0; }
.q-card.choice .q-text { font-size: 56px; }
.bz-choices { list-style: none; margin: auto 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.ch { display: flex; align-items: center; gap: 20px; background: var(--panel-2); border-radius: 20px; padding: 16px 22px; min-height: 104px; }
.ch-l { flex: none; width: 64px; height: 64px; display: grid; place-items: center; border-radius: 14px; background: var(--ink); color: var(--bg); font-family: var(--display); font-size: 42px; }
.ch-t { font-size: 38px; font-weight: 800; line-height: 1.15; }
.ch.struck { opacity: 0.28; text-decoration: line-through; text-decoration-thickness: 4px; }
.ch.right { background: var(--action); color: var(--bg); animation: pop 0.4s ease-out; }
.ch.right .ch-l { background: var(--bg); color: var(--action); }

.seat { display: flex; flex-direction: column; gap: 18px; min-height: 0; }
.seat-block { background: var(--t); color: var(--t-ink); border-radius: 30px; padding: 26px 32px; }
.seat-k { font-size: 26px; font-weight: 900; text-transform: uppercase; letter-spacing: 0.16em; opacity: 0.8; }
.seat-team { font-family: var(--display); text-transform: uppercase; font-size: 120px; line-height: 0.9; }
.seat-team:empty { display: none; }
.seat-cap { display: flex; align-items: center; gap: 14px; font-size: 34px; font-weight: 900; margin-top: 10px; }
.cap-av { width: 58px; height: 58px; font-size: 30px; box-shadow: 0 0 0 4px var(--t-ink); }
.is-steal .seat-block { animation: shake 0.5s ease-out 1; }
.is-steal .seat-k { font-family: var(--display); font-size: 60px; letter-spacing: 0.02em; opacity: 1; }

.seat-status { flex: 1; min-height: 0; display: flex; }
.ss { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 14px; background: var(--panel); border-radius: 30px; padding: 24px; }
.ss > b { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: 84px; line-height: 0.95; }
.ss p { margin: 0; font-size: 30px; font-weight: 700; color: var(--ink-dim); line-height: 1.25; }
.ss .bar { width: 100%; }
.ss .ss-n { color: var(--ink); }
.ss.huddle > b { color: var(--bz-gold); }
.ss.pressure > b { color: var(--hype); animation: pulse 1s ease-in-out infinite; }
.ss.typing > b { color: var(--action); animation: pop 0.35s ease-out; }
.ss.judging > b { color: var(--uncommon); animation: pulse 0.8s ease-in-out infinite; }
.ss.clock { background: transparent; padding: 0; }
.ss .timer-disc { width: 330px; height: 330px; }
.ss .timer-disc .count-num { font-size: 150px; }
.ss .timer-disc small { font-size: 22px; }
.ss .timer-disc.sm { width: 200px; height: 200px; }
.ss .timer-disc.sm .count-num { font-size: 96px; }

.seat-bets { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; min-height: 52px; }
.sb-k { font-size: 22px; font-weight: 900; text-transform: uppercase; letter-spacing: 0.14em; color: var(--ink-dim); }
.sb { font-size: 24px; font-weight: 900; padding: 8px 18px; border-radius: 999px; box-shadow: inset 0 0 0 3px var(--t); }
.sb.in { background: var(--t); color: var(--t-ink); }

.bz-skip { position: absolute; right: 0; top: 4px; border: 0; background: transparent; color: var(--ink-mute); font: inherit; font-size: 24px; font-weight: 900; padding: 10px 20px; border-radius: 999px; cursor: pointer; }
.tv .bz-skip:focus { color: var(--ink); box-shadow: 0 0 0 4px var(--action); transform: none; }
.bz-q .bz-top { padding-right: 250px; }

/* ---- result ----------------------------------------------------------------------- */
.bz-result .res-main { flex: 1; display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: 1fr auto; align-items: center; gap: 20px 50px; background: var(--panel); border-radius: 40px; padding: 50px 64px; box-shadow: inset 18px 0 0 var(--t); }
.res-said { min-width: 0; padding-left: 20px; }
.res-k { font-size: 36px; font-weight: 900; text-transform: uppercase; letter-spacing: 0.14em; color: var(--t); }
.res-text { font-family: var(--display); text-transform: uppercase; font-size: 150px; line-height: 0.95; margin-top: 10px; word-break: break-word; }
.res-text.none { color: var(--ink-mute); font-size: 100px; }
.bz-stamp { display: flex; flex-direction: column; align-items: center; gap: 20px; }
.bz-stamp span { font-family: var(--display); text-transform: uppercase; font-size: 150px; line-height: 1; padding: 10px 46px 2px; border-radius: 26px; transform: rotate(-5deg); animation: pop 0.4s ease-out; }
.good .bz-stamp span { background: var(--action); color: var(--bg); }
.bad .bz-stamp span { background: var(--hype); color: #fff; }
.judge { font-style: normal; font-size: 28px; font-weight: 900; text-transform: uppercase; letter-spacing: 0.1em; padding: 10px 20px; border-radius: 999px; background: var(--uncommon); color: var(--bg); }
.judge.host { background: var(--ink); }
.res-note { grid-column: 1 / -1; padding-left: 20px; }
.res-note:empty { display: none; }
.steal-up { display: inline-block; font-family: var(--display); text-transform: uppercase; font-size: 70px; line-height: 1; padding: 10px 30px; border-radius: 20px; background: var(--t); color: var(--t-ink); animation: shake 0.6s ease-out 0.4s both; }
.res-foot { display: flex; align-items: center; gap: 30px; min-height: 90px; }
.res-hint { font-size: 28px; color: var(--ink-dim); }

/* ---- answer ----------------------------------------------------------------------- */
.ans-main { flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 26px; }
.ans-q { font-size: 40px; font-weight: 700; color: var(--ink-dim); max-width: 1500px; line-height: 1.25; }
.ans-card { align-self: flex-start; display: flex; flex-direction: column; gap: 6px; background: var(--ink); color: var(--bg); border-radius: 30px; padding: 24px 44px 30px; max-width: 100%; animation: pop 0.45s ease-out; }
.ans-k { font-size: 26px; font-weight: 900; text-transform: uppercase; letter-spacing: 0.16em; color: var(--ink-mute); }
.ans-a { font-family: var(--display); text-transform: uppercase; font-size: 130px; line-height: 0.95; word-break: break-word; }
.ans-head { font-family: var(--display); text-transform: uppercase; font-size: 90px; line-height: 1; color: var(--t, var(--ink-dim)); }
.bz-answer.nobody .ans-head { color: var(--ink-mute); }
.bz-answer.strike .ans-head { color: var(--hype); }
.bets { display: flex; gap: 16px; flex-wrap: wrap; }
.bet-row { display: flex; align-items: center; gap: 14px; font-size: 32px; font-weight: 700; padding: 12px 18px 12px 24px; border-radius: 20px; background: var(--panel); box-shadow: inset 6px 0 0 var(--t); }
.bet-row b { font-weight: 900; }
.br-team { font-family: var(--display); text-transform: uppercase; font-size: 40px; line-height: 1; }
.br-res { font-family: var(--display); font-size: 40px; padding: 2px 16px; border-radius: 12px; background: var(--panel-2); color: var(--ink-mute); }
.bet-row.won .br-res { background: var(--action); color: var(--bg); }

/* ---- scores ----------------------------------------------------------------------- */
.sc-title { font-size: 130px; line-height: 0.9; margin: 0; }
.sc-cols { flex: 1; display: grid; gap: 40px; align-items: end; min-height: 0; padding: 0 80px; }
.sc-cols.n2 { grid-template-columns: 1fr 1fr; } .sc-cols.n3 { grid-template-columns: 1fr 1fr 1fr; } .sc-cols.n1 { grid-template-columns: 1fr; }
.sc-cols { align-items: stretch; margin: 10px 0 30px; }
.sc-col { display: grid; grid-template-rows: minmax(0, 1fr) auto; min-height: 0; }
.sc-track { display: flex; flex-direction: column; justify-content: flex-end; min-height: 0; }
.sc-score { font-family: var(--display); font-size: 120px; line-height: 1; text-align: center; color: var(--t); }
.sc-bar { flex: none; height: calc(var(--h) * (100% - 130px)); background: var(--t); border-radius: 24px 24px 0 0; transform-origin: bottom; animation: grow 0.6s ease-out both; animation-delay: var(--d); }
@keyframes grow { from { transform: scaleY(0); } }
.sc-name { font-family: var(--display); text-transform: uppercase; font-size: 64px; line-height: 1; text-align: center; background: var(--panel); padding: 16px; border-radius: 0 0 24px 24px; }
.sc-foot { display: flex; align-items: center; gap: 30px; }
.sc-foot .bar { flex: 1; }

/* ---- list battle ----------------------------------------------------------------- */
.list-main { flex: 1; min-height: 0; display: grid; grid-template-columns: minmax(0, 1fr) 520px; gap: 34px; }
.list-left { display: flex; flex-direction: column; gap: 20px; min-height: 0; }
.list-k, .num-k { font-size: 28px; font-weight: 900; text-transform: uppercase; letter-spacing: 0.18em; color: var(--common); }
.num-k { color: var(--uncommon); }
.list-q, .num-q { font-family: var(--font); font-weight: 800; text-transform: none; letter-spacing: 0; font-size: 72px; line-height: 1.1; margin: 0; }
.list-wall { display: flex; flex-wrap: wrap; gap: 14px; align-content: flex-start; overflow: hidden; }
.li { font-size: 36px; font-weight: 900; padding: 12px 26px; border-radius: 999px; background: var(--t); color: var(--t-ink); }
.li.fresh { animation: pop 0.4s ease-out; }
.li.ghost { background: transparent; color: var(--ink-dim); box-shadow: inset 0 0 0 3px var(--panel-2); font-size: 28px; padding: 8px 20px; }
.li-missed { flex-basis: 100%; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 10px; }
.li-missed > span:first-child { font-size: 26px; font-weight: 900; text-transform: uppercase; letter-spacing: 0.12em; color: var(--ink-mute); }
.list-side { display: flex; flex-direction: column; gap: 22px; align-items: stretch; }
.ls-turn, .ls-out, .ls-done { background: var(--t); color: var(--t-ink); border-radius: 30px; padding: 26px 32px; display: flex; flex-direction: column; gap: 6px; }
.ls-turn b, .ls-out b, .ls-done b { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: 100px; line-height: 0.9; }
.ls-out b { font-size: 70px; }
.ls-k { font-size: 26px; font-weight: 900; text-transform: uppercase; letter-spacing: 0.16em; }
.ls-out span, .ls-done span { font-size: 32px; font-weight: 800; }
.ls-out { animation: shake 0.5s ease-out; }
.list-side .timer-disc { align-self: center; }
.ls-order { display: flex; gap: 12px; flex-wrap: wrap; }
.lo { font-family: var(--display); text-transform: uppercase; font-size: 40px; padding: 6px 22px; border-radius: 14px; background: var(--t); color: var(--t-ink); }
.lo.out { background: var(--panel); color: var(--ink-mute); text-decoration: line-through; }
.ls-count { font-size: 28px; font-weight: 900; color: var(--ink-dim); }

/* ---- closest number --------------------------------------------------------------- */
.num-main { flex: 1; min-height: 0; display: flex; flex-direction: column; gap: 22px; }
.num-body { flex: 1; min-height: 0; display: flex; }
.num-wait { flex: 1; display: flex; align-items: center; gap: 60px; }
.num-wait .timer-disc { width: 360px; height: 360px; flex: none; }
.num-locks { flex: 1; display: flex; flex-direction: column; gap: 16px; }
.nl { display: flex; align-items: center; justify-content: space-between; padding: 22px 34px; border-radius: 24px; background: var(--panel); box-shadow: inset 8px 0 0 var(--t); }
.nl b { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: 64px; line-height: 1; }
.nl span { font-size: 32px; font-weight: 900; color: var(--ink-dim); }
.nl.in { background: var(--t); color: var(--t-ink); }
.nl.in span { color: inherit; }
.num-reveal { flex: 1; display: grid; grid-template-columns: 620px 1fr; gap: 50px; align-items: center; }
.num-answer { background: var(--ink); color: var(--bg); border-radius: 34px; padding: 30px 44px; display: flex; flex-direction: column; animation: pop 0.45s ease-out; }
.num-answer span { font-size: 28px; font-weight: 900; text-transform: uppercase; letter-spacing: 0.16em; color: var(--ink-mute); }
.num-answer b { font-family: var(--display); font-weight: 400; font-size: 170px; line-height: 1; }
.num-answer small { font-size: 60px; }
.num-guesses { display: flex; flex-direction: column; gap: 16px; }
.ng { display: grid; grid-template-columns: 200px 1fr auto; align-items: center; gap: 20px; padding: 18px 30px; border-radius: 24px; background: var(--panel); box-shadow: inset 8px 0 0 var(--t); opacity: 0; animation: rise 0.4s ease-out forwards; animation-delay: var(--d); }
.ng.win { background: var(--t); color: var(--t-ink); }
.ng-team { font-family: var(--display); text-transform: uppercase; font-size: 50px; line-height: 1; }
.ng-guess { font-family: var(--display); font-size: 80px; line-height: 1; }
.ng-off { font-size: 28px; font-weight: 900; text-transform: uppercase; }

/* ---- finale ----------------------------------------------------------------------- */
.fin-main { flex: 1; min-height: 0; display: grid; grid-template-columns: minmax(0, 1fr) 520px; gap: 34px; }
.fin-side { display: flex; }
.fs { flex: 1; border-radius: 30px; background: var(--panel); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 16px; padding: 30px; }
.fs b { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: 110px; line-height: 0.95; }
.fs p, .fs span { font-size: 30px; font-weight: 800; margin: 0; color: var(--ink-dim); }
.fs.arm b { color: var(--bz-gold); animation: pulse 0.9s ease-in-out infinite; }
.fs.open { background: var(--action); color: var(--bg); }
.fs.open b { font-size: 200px; animation: pulse 0.4s ease-in-out infinite; }
.fs.open .bar { width: 100%; background: rgba(11, 11, 16, 0.2); }
.fs.open .bar i { background: var(--bg); }
.fs.pick, .fs.res { background: var(--t); color: var(--t-ink); }
.fs.pick span, .fs.res span { color: inherit; opacity: 0.8; }
.fs.pick em { font-style: normal; font-size: 40px; font-weight: 900; }
.fs .timer-disc { background: conic-gradient(var(--bg) calc(var(--p) * 360deg), rgba(11, 11, 16, 0.25) 0); }
.fs .timer-disc .count-num { color: var(--ink); }
.fs.res.bad { animation: shake 0.5s ease-out; }
.fs.reveal { background: var(--ink); color: var(--bg); }
.fs.reveal b { font-size: 90px; word-break: break-word; }

/* ---- final ------------------------------------------------------------------------ */
.bz-final { flex-direction: row; gap: 56px; align-items: stretch; }
.fin-plaque { flex: 0 0 820px; background: var(--t); color: var(--t-ink); border-radius: 40px; padding: 60px 56px; display: flex; flex-direction: column; justify-content: center; gap: 22px; animation: pop 0.5s ease-out; }
.fp-k { font-size: 34px; font-weight: 900; text-transform: uppercase; letter-spacing: 0.2em; }
.fp-big { font-family: var(--display); text-transform: uppercase; font-size: 230px; line-height: 0.86; word-break: break-word; }
.fp-avs { display: flex; flex-wrap: wrap; gap: 12px; }
.fp-avs .avatar { width: 84px; height: 84px; font-size: 44px; box-shadow: 0 0 0 5px var(--t-ink); }
.fp-sub { font-size: 40px; font-weight: 900; }
.fin-right { flex: 1; display: flex; flex-direction: column; gap: 26px; min-width: 0; }
.fin-table { display: flex; flex-direction: column; gap: 12px; }
.ft { display: grid; grid-template-columns: 60px 1fr auto; align-items: center; gap: 20px; padding: 14px 28px; border-radius: 22px; background: var(--panel); box-shadow: inset 8px 0 0 var(--t); }
.ft b { font-family: var(--display); font-weight: 400; font-size: 54px; color: var(--ink-dim); }
.ft span { font-family: var(--display); text-transform: uppercase; font-size: 56px; line-height: 1; }
.ft em { font-style: normal; font-family: var(--display); font-size: 70px; line-height: 1; color: var(--t); }
.fin-hl { display: flex; flex-direction: column; gap: 14px; }
:is(.bz, .bzp) .hl { background: var(--panel); border-radius: 24px; padding: 20px 28px; }
.hl-k { font-size: 22px; font-weight: 900; text-transform: uppercase; letter-spacing: 0.16em; color: var(--bz-gold); }
:is(.bz, .bzp) .hl p { margin: 6px 0 4px; font-size: 34px; font-weight: 700; }
:is(.bz, .bzp) .hl p b { font-weight: 900; }
:is(.bz, .bzp) .hl small { font-size: 24px; color: var(--ink-dim); font-weight: 600; }
.bz-final .final-foot { margin-top: auto; display: flex; gap: 26px; align-items: center; }

/* ---- phone -------------------------------------------------------------------------- */
.bzp { gap: 16px !important; text-align: left; }
.bzp-team { display: flex; align-items: center; justify-content: space-between; background: var(--t, var(--panel)); color: var(--t-ink, var(--ink)); border-radius: 16px; padding: 10px 18px; }
.bzp-team span { font-weight: 900; text-transform: uppercase; letter-spacing: 0.1em; font-size: 15px; }
.bzp-team b { font-family: var(--display); font-weight: 400; font-size: 30px; line-height: 1; }
.bzp-k { font-size: 13px; font-weight: 900; text-transform: uppercase; letter-spacing: 0.16em; color: var(--ink-dim); }
.bzp-big { display: flex; flex-direction: column; gap: 10px; padding: 20px 0; }
.bzp-big h1 { font-size: 64px; line-height: 0.92; margin: 0; }
.bzp-big p { margin: 0; color: var(--ink-dim); font-size: 18px; line-height: 1.35; }
.team-card { background: var(--t); color: var(--t-ink); border-radius: 26px; padding: 26px 24px; }
.team-card .bzp-k, .team-card p { color: inherit; opacity: 0.85; }
.team-card .team-name { font-size: 96px; }
.bzp-rules { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 8px; font-size: 16px; font-weight: 600; color: var(--ink-dim); line-height: 1.35; }
.bzp-rules b { color: var(--ink); }
.bzp-vip { align-self: center; font-size: 16px !important; padding: 12px 22px !important; margin-top: auto; }

.bzp-qhead { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.bzp-qhead .bz-pack { font-size: 13px; padding: 5px 12px; }
.bzp-pts { font-family: var(--display); font-size: 22px; background: var(--bz-gold); color: var(--bg); border-radius: 8px; padding: 2px 10px; }
.bzp-q { font-family: var(--font); font-weight: 800; text-transform: none; letter-spacing: 0; font-size: 24px; line-height: 1.25; margin: 0; }
.bzp-body { display: flex; flex-direction: column; gap: 12px; }
.bzp-note { margin: 0; color: var(--ink-dim); font-size: 14px; text-align: center; font-weight: 600; }
.bzp-choices { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.pch { position: relative; width: 100%; display: flex; align-items: center; gap: 14px; text-align: left; min-height: 62px; padding: 10px 14px; border: 0; border-radius: 16px; background: var(--panel); color: var(--ink); font: inherit; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.pch span { flex: none; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 10px; background: var(--panel-2); font-family: var(--display); font-size: 24px; }
.pch b { font-size: 18px; font-weight: 800; line-height: 1.2; }
.pch.sel { background: var(--action); color: var(--bg); }
.pch.sel span { background: var(--bg); color: var(--action); }
.pch:disabled { opacity: 0.3; text-decoration: line-through; }
.pch.sel:disabled { opacity: 1; text-decoration: none; }
.sugg { margin-left: auto; font-style: normal; font-size: 13px; font-weight: 900; letter-spacing: 0.1em; background: var(--t, var(--hype)); color: var(--t-ink, #fff); border-radius: 999px; padding: 4px 10px; }

.bzp-buzzer { align-self: center; width: min(74vw, 300px); aspect-ratio: 1; border-radius: 50%; border: 0; background: var(--action); color: var(--bg); box-shadow: 0 12px 0 var(--action-deep), inset 0 -10px 0 rgba(0, 0, 0, 0.12); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; cursor: pointer; font: inherit; -webkit-tap-highlight-color: transparent; transition: transform 0.06s ease, box-shadow 0.06s ease; touch-action: manipulation; user-select: none; -webkit-user-select: none; }
.bzp-buzzer b { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: 76px; line-height: 0.9; }
.bzp-buzzer span { font-weight: 900; text-transform: uppercase; letter-spacing: 0.12em; font-size: 15px; }
.bzp-buzzer:active { transform: translateY(8px); box-shadow: 0 4px 0 var(--action-deep); }
.bzp-buzzer:disabled { opacity: 0.4; }
.bzp-buzzer.big { width: min(84vw, 360px); background: var(--panel-2); color: var(--ink-dim); box-shadow: 0 12px 0 #111118; }
.bzp-buzzer.big b { font-size: 110px; color: var(--ink-mute); }
.bzp-buzzer.big span { font-size: 18px; }
.bzp-buzzer.big.live { background: var(--hype); color: #fff; box-shadow: 0 12px 0 #9E1238; }
.bzp-buzzer.big.live b { color: #fff; }
.bzp-buzzer.big.frozen { background: var(--panel); animation: shake 0.4s ease-out; }

.bzp-huddle { background: var(--t, var(--panel)); color: var(--t-ink, var(--ink)); border-radius: 22px; padding: 22px; text-align: center; }
.bzp-huddle b { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: 56px; line-height: 1; }
.bzp-huddle p { margin: 8px 0 0; font-size: 17px; line-height: 1.35; }
.bzp-watch { font-size: 20px; font-weight: 700; color: var(--ink-dim); text-align: center; padding: 6px 0; }
.bzp-watch b { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: 32px; color: var(--ink); }
.bzp-bets { background: var(--panel); border-radius: 20px; padding: 14px; display: flex; flex-direction: column; gap: 10px; }
.bzp-betrow { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.bet { min-height: 58px; border: 0; border-radius: 14px; background: var(--panel-2); color: var(--ink); font: inherit; font-size: 17px; font-weight: 900; cursor: pointer; }
.bet.sel { background: var(--bz-gold); color: var(--bg); }
.bet:disabled:not(.sel) { opacity: 0.4; }
.bzp-clock { border: 0; border-radius: 22px; background: var(--hype); color: #fff; padding: 22px; display: flex; flex-direction: column; align-items: center; gap: 4px; font: inherit; cursor: pointer; box-shadow: 0 8px 0 #9E1238; animation: pulse 1s ease-in-out infinite; }
.bzp-clock b { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: 46px; line-height: 1; }
.bzp-clock span { font-size: 15px; font-weight: 800; }
.bzp-clock:active { transform: translateY(6px); box-shadow: 0 2px 0 #9E1238; }
.bzp-status { min-height: 46px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; text-align: center; }
.bzp-status .bs { font-weight: 900; font-size: 16px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-dim); }
.bzp-status .bs.hot { color: var(--hype); }
.bzp-mini { font-size: 14px; color: var(--ink-mute); font-weight: 700; }
.bzp-timer { align-self: center; }
.bzp-type { display: flex; flex-direction: column; gap: 12px; }
.bzp-type input { font-size: 24px; }
.bzp-named { display: flex; flex-wrap: wrap; gap: 6px; }
.bzp-named span { background: var(--panel); border-radius: 999px; padding: 4px 12px; font-size: 14px; font-weight: 800; }
.bzp-hot { margin: 0; font-family: var(--display); text-transform: uppercase; font-size: 34px; line-height: 1; color: var(--hype); text-align: center; }

.bzp-res { display: flex; flex-direction: column; gap: 10px; padding: 24px 0; text-align: center; align-items: center; }
.bzp-said { font-family: var(--display); text-transform: uppercase; font-size: 54px; line-height: 0.95; word-break: break-word; }
.res-stamp { font-family: var(--display); text-transform: uppercase; font-size: 46px; line-height: 1; padding: 6px 20px 2px; border-radius: 12px; transform: rotate(-3deg); }
.bzp.good .res-stamp { background: var(--action); color: var(--bg); }
.bzp.bad .res-stamp { background: var(--hype); color: #fff; }
.bzp-res p { margin: 0; color: var(--ink-dim); font-size: 17px; font-weight: 700; }
.bzp-ans { display: flex; flex-direction: column; gap: 10px; padding: 24px 0; text-align: center; align-items: center; }
.bzp-ans .ans-a { font-family: var(--display); text-transform: uppercase; font-size: 54px; line-height: 0.95; background: var(--ink); color: var(--bg); padding: 12px 22px; border-radius: 18px; word-break: break-word; }
.ans-line { margin: 0; font-weight: 900; font-size: 20px; }
.bzp.won .ans-line { color: var(--action); }
.ans-bet { margin: 0; font-size: 16px; color: var(--ink-dim); font-weight: 700; }
.ans-bet.won { color: var(--bz-gold); }
.bzp-table { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.bzp-table li { display: flex; justify-content: space-between; align-items: center; padding: 12px 18px; border-radius: 14px; background: var(--panel); box-shadow: inset 6px 0 0 var(--t); }
.bzp-table span { font-family: var(--display); text-transform: uppercase; font-size: 26px; line-height: 1; }
.bzp-table b { font-family: var(--display); font-weight: 400; font-size: 32px; line-height: 1; }
.bzp.final.won h1 { color: var(--action); }

/* ---- team setup (TV) ---- */
.bz-teams { gap: 34px; }
.ts-title { font-size: 120px; line-height: 0.9; margin: 0; }
.ts-sub { font-size: 34px; font-weight: 600; color: var(--ink-dim); margin: 10px 0 0; }
.ts-cols { flex: 1; min-height: 0; display: grid; gap: 30px; }
.ts-cols.n2 { grid-template-columns: 1fr 1fr; } .ts-cols.n3 { grid-template-columns: 1fr 1fr 1fr; }
.ts-col { background: var(--t); color: var(--t-ink); border-radius: 36px; padding: 34px 40px; display: flex; flex-direction: column; gap: 22px; min-height: 0; overflow: hidden; }
.ts-name { font-family: var(--display); text-transform: uppercase; font-size: 110px; line-height: 0.9; overflow-wrap: anywhere; }
.ts-members { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.ts-members li { display: flex; align-items: center; gap: 16px; font-size: 40px; font-weight: 800; }
.ts-members .avatar { width: 58px; height: 58px; font-size: 30px; box-shadow: 0 0 0 4px var(--t-ink); }
.ts-members .away { opacity: 0.5; }
.ts-members .empty { opacity: 0.6; font-style: italic; }
.ts-foot { display: flex; align-items: center; gap: 28px; }
.ts-hint { font-size: 30px; font-weight: 700; color: var(--hype); }

.ans-next { font-size: 40px; font-weight: 800; color: var(--ink-dim); }
.ans-next span { font-family: var(--display); text-transform: uppercase; font-weight: 400; font-size: 56px; background: var(--t); color: var(--t-ink); padding: 4px 18px 0; border-radius: 14px; margin-left: 10px; }

/* ---- team setup (phone) ---- */
.bzp.teams { gap: 14px; }
.bzp-rename { display: flex; gap: 8px; }
.bzp-rename input { flex: 1; min-width: 0; font: inherit; font-size: 20px; font-weight: 800; padding: 12px 14px; border-radius: 12px; border: 2px solid var(--t, var(--line)); background: var(--panel); color: var(--ink); }
.bzp-mates { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.bzp-mates li { background: var(--panel); border-radius: 999px; padding: 6px 14px; font-weight: 700; }
.bzp-switch { display: grid; gap: 10px; }
.bzp-tbtn { min-height: 56px; border: 0; border-radius: 14px; background: var(--t); color: var(--t-ink); font-family: var(--display); text-transform: uppercase; font-size: 28px; }
.bzp-hostrow { display: flex; flex-direction: column; gap: 10px; margin-top: 8px; }
.bzp-team { padding: 14px 18px; }
.bzp-team span { font-family: var(--display); font-weight: 400; letter-spacing: 0.02em; font-size: 30px; line-height: 1; }
.bzp .ans-next { margin: 0; font-weight: 800; font-size: 18px; }

/* ---- Scramble (free-for-all board). Everything prefixed bb- / bbp- ---------------- */
.bb-logo { font-size: 200px; line-height: 0.9; }
.bb-logo span:first-child { color: var(--hype); }
.bb-mini { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.bb-mcol { display: flex; flex-direction: column; gap: 8px; }
.bb-mcol i { height: 34px; border-radius: 10px; background: var(--k); }
.bb-mcol span { font-family: var(--display); font-size: 40px; line-height: 1; text-align: center; background: var(--panel); border-radius: 10px; padding: 10px 0 6px; color: var(--ink-dim); }
.bb-first { display: flex; align-items: center; gap: 16px; font-size: 34px; font-weight: 700; margin: 0; }
.bb-first:empty { display: none; }
.bb-first .avatar { width: 60px; height: 60px; font-size: 30px; }
.bb-first b { font-weight: 900; }

.bb-board, .bb-clue { gap: 18px; }
.bb-top { gap: 30px; }
.bb-turn { flex: 1; display: flex; align-items: center; gap: 30px; min-width: 0; }
.bb-who { display: flex; align-items: center; gap: 16px; background: var(--t); color: var(--t-ink); border-radius: 999px; padding: 8px 30px 8px 8px; font-size: 38px; flex: none; animation: pop 0.35s ease-out; }
.bb-who .avatar { width: 60px; height: 60px; font-size: 30px; box-shadow: 0 0 0 4px var(--t-ink); }
.bb-who b { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: 50px; line-height: 1; }
.bb-turn .bar { flex: 1; max-width: 520px; }
.bb-left { font-size: 28px; font-weight: 900; text-transform: uppercase; letter-spacing: 0.12em; color: var(--ink-dim); }

.bb-grid { flex: 1; min-height: 0; display: grid; grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); grid-template-rows: 96px repeat(var(--rows), minmax(0, 1fr)); gap: 14px; }
.bb-head { background: var(--k); color: var(--k-ink); border-radius: 18px; display: grid; place-items: center; padding: 0 14px; text-align: center; }
.bb-head span { font-family: var(--display); text-transform: uppercase; font-size: 40px; line-height: 0.95; }
.bb-cell { border: 0; border-radius: 18px; background: var(--panel); color: var(--k); font-family: var(--display); font-size: 92px; line-height: 1; padding: 0; cursor: pointer; box-shadow: inset 0 6px 0 var(--k); transition: transform 0.12s ease, background 0.12s ease, color 0.12s ease; }
.tv .bb-cell:focus { outline: none; background: var(--ink); color: var(--bg); box-shadow: 0 0 0 6px var(--action); transform: scale(1.06); position: relative; z-index: 1; }
.bb-cell.done { background: transparent; box-shadow: inset 0 0 0 3px var(--panel); cursor: default; display: grid; place-items: center; }
.bb-won { width: 22px; height: 22px; border-radius: 50%; background: var(--k); opacity: 0.45; }
.bb-cell.flip { background: var(--k); color: var(--k-ink); box-shadow: 0 0 0 6px var(--ink); animation: bb-flip 0.9s ease-in-out both; position: relative; z-index: 1; }
@keyframes bb-flip { 0% { transform: scale(1); } 40% { transform: scale(1.18) rotate(-3deg); } 100% { transform: scale(1.1) rotate(0); } }
.bb-flipwrap { flex: 1; min-height: 0; display: flex; flex-direction: column; }
.bb-flipwrap[hidden], .bb-main[hidden] { display: none; }
.bb-main .q-card { justify-content: center; padding: 50px 64px; }
.bb-main .q-text { font-size: 84px; line-height: 1.1; }
.bb-clue .bz-top { padding-right: 260px; }
.bb-val { background: var(--ink); }

.bb-strip { margin-top: auto; display: grid; grid-template-columns: repeat(min(var(--n), 5), minmax(0, 1fr)); gap: 12px; }
.bb-pl { display: flex; align-items: center; gap: 12px; padding: 10px 18px 10px 10px; border-radius: 18px; background: var(--panel); box-shadow: inset 6px 0 0 var(--t); min-width: 0; transition: transform 0.2s ease, opacity 0.2s ease; }
.bb-pl .avatar { width: 52px; height: 52px; font-size: 26px; flex: none; }
.bb-pn { flex: 1; min-width: 0; font-size: 28px; font-weight: 900; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bb-ps { font-family: var(--display); font-weight: 400; font-size: 52px; line-height: 1; }
.bb-ps.neg, .bb-table em.neg { color: var(--hype); }
.bb-pl.on { background: var(--t); color: var(--t-ink); transform: translateY(-6px); box-shadow: 0 0 0 4px var(--ink); }
.bb-pl.on .avatar, .bb-who .avatar { box-shadow: 0 0 0 4px var(--t-ink); }
.bb-pl.on .bb-ps.neg { color: inherit; }
.bb-pl.out:not(.on) { opacity: 0.35; }
.bb-pl.away { opacity: 0.5; }

.bb-result .res-main { box-shadow: inset 18px 0 0 var(--t); }
.bb-result .res-k { color: var(--t); }
.bb-answer .ans-head { color: var(--t, var(--ink-dim)); }
.bb-answer.nobody .ans-head { color: var(--ink-mute); }

/* Scramble phone */
.bbp .bb-me { background: var(--t); color: var(--t-ink); }
.bbp-grid { display: grid; grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); gap: 8px; margin: 0 -8px; }
.bbp-head { background: var(--k); color: var(--k-ink); border-radius: 8px; padding: 6px 2px; font-size: 10px; font-weight: 900; letter-spacing: -0.02em; text-align: center; line-height: 1.1; min-height: 38px; display: grid; place-items: center; overflow-wrap: normal; hyphens: auto; }
.bbp-cell { min-height: 76px; border: 0; border-radius: 10px; background: var(--panel); color: var(--k); box-shadow: inset 0 4px 0 var(--k); font-family: var(--display); font-size: 30px; padding: 0; -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
.bbp-cell.done { background: transparent; box-shadow: inset 0 0 0 2px var(--panel); }
.bbp-cell.sel { background: var(--action); color: var(--bg); }
.bbp-cell:disabled:not(.sel) { opacity: 0.5; }

.bb-break { justify-content: center; gap: 26px; }
.bb-break .ri-title { color: var(--hype); }
.bb-newcats { display: flex; flex-wrap: wrap; gap: 14px; }
.bb-newcat { background: var(--k); color: var(--k-ink); font-family: var(--display); text-transform: uppercase; font-size: 46px; line-height: 1; padding: 14px 26px 10px; border-radius: 16px; opacity: 0; animation: rise 0.4s ease-out forwards; animation-delay: var(--d); }
.bb-break .bb-strip { margin-top: 10px; }
.bb-break .bz-next { position: absolute; right: 0; top: 0; }

/* ---- Hot Seat rework (12 rounds, specials, clearer points) ---------------------------- */
/* TV: Zoom In picture */
.q-card.zoom { gap: 18px; }
.q-text.sm { font-size: 48px; }
.zoom-frame { flex: 1; min-height: 0; border-radius: 26px; overflow: hidden; background: var(--bg); box-shadow: inset 0 0 0 6px var(--panel-2); display: grid; place-items: center; }
.zoom-pic { width: 100%; aspect-ratio: 3 / 2; max-height: 100%; will-change: transform; }
.zoom-pic svg, .ans-flag svg { display: block; width: 100%; height: 100%; }
.ans-flag { width: 420px; aspect-ratio: 3 / 2; border-radius: 18px; overflow: hidden; box-shadow: 0 0 0 6px var(--panel-2); }
/* TV: Mashup clues */
.mash-row { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 26px; flex: 1; }
.mash-clue { background: var(--panel-2); border-radius: 26px; padding: 34px 36px; font-size: 50px; font-weight: 800; line-height: 1.15; min-height: 300px; display: flex; align-items: center; }
.mash-plus { font-family: var(--display); font-size: 150px; line-height: 1; color: #FF7AD9; }
.mash-hint { margin: 0; font-size: 30px; font-weight: 700; color: var(--ink-dim); }
.bz-ri.t-zoom .ri-title { color: #FFFFFF; }
.bz-ri.t-pick .ri-title { color: var(--uncommon); }
.bz-ri.t-mashup .ri-title { color: #FF7AD9; }
.ri-points span { font-size: 36px; }
/* TV: why the points */
.ans-why { font-size: 40px; font-weight: 900; text-transform: uppercase; letter-spacing: 0.12em; color: var(--bz-gold); }
/* TV: Your Pick */
.bz-pick .pk-main { flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 30px; }
.pk-k { font-size: 40px; font-weight: 900; text-transform: uppercase; letter-spacing: 0.1em; color: var(--ink-dim); }
.pk-k span { font-family: var(--display); font-weight: 400; letter-spacing: 0.02em; font-size: 60px; background: var(--t); color: var(--t-ink); padding: 2px 18px 0; border-radius: 14px; margin-right: 10px; }
:is(.bz) .pk-title { font-size: 140px; line-height: 0.9; margin: 0; }
.pk-opts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.pk-opt { background: var(--k); color: var(--k-ink); border-radius: 30px; min-height: 230px; display: flex; align-items: flex-end; padding: 30px 34px; font-family: var(--display); text-transform: uppercase; font-size: 76px; line-height: 0.92; animation: card-in 0.45s cubic-bezier(0.2, 0.8, 0.2, 1) both; animation-delay: var(--d); transition: transform 0.25s ease, opacity 0.25s ease, filter 0.25s ease; }
.pk-opt.on { transform: scale(1.06) rotate(-1.5deg); box-shadow: 0 0 0 8px var(--bg), 0 0 0 16px var(--action); }
.pk-opt.off { opacity: 0.25; filter: saturate(0.4); transform: scale(0.94); }
.pk-clock .bar { width: 100%; }
/* TV: finale */
.bz-fin .q-kind b.fin-kind { color: var(--ink); background: var(--panel-2); padding: 2px 14px; border-radius: 10px; }
.fin-write { margin-top: auto; font-size: 44px; font-weight: 800; color: var(--ink-dim); border: 4px dashed var(--panel-2); border-radius: 24px; padding: 34px 40px; }
.fin-clock { display: flex; align-items: center; gap: 30px; min-height: 0; }
.fin-clock:empty { display: none; }
.fc-bar { flex: 1; height: 18px; }
.fc-num { display: flex; align-items: baseline; gap: 4px; font-family: var(--display); }
.fc-num .count-num { font-size: 84px; line-height: 0.9; }
.fc-num small { font-size: 36px; color: var(--ink-dim); }
.fc-num.urgent .count-num { color: var(--hype); }
.fs.pick p { font-size: 34px; color: inherit; opacity: 0.85; }
/* TV: grand final reveal. Standings land last place first, then the winners. */
.bz-final.reveal .ft { opacity: 0; animation: rise 0.45s ease-out forwards; animation-delay: calc(0.35s + var(--r) * 0.5s); }
.bz-final.reveal .fin-plaque { opacity: 0; animation: plaque-in 0.7s cubic-bezier(0.2, 0.9, 0.25, 1.2) forwards; animation-delay: 2s; }
.bz-final.reveal .fin-hl, .bz-final.reveal .final-foot { opacity: 0; animation: rise 0.4s ease-out forwards; animation-delay: 2.6s; }
@keyframes plaque-in { from { opacity: 0; transform: scale(0.6) rotate(-4deg); } to { opacity: 1; transform: none; } }

/* Phone: team picker, every team side by side */
.bzp-tcols { display: grid; gap: 10px; }
.bzp-tcols.n2 { grid-template-columns: 1fr 1fr; }
.bzp-tcols.n3 { grid-template-columns: 1fr 1fr 1fr; }
.bzp-tcol { display: flex; flex-direction: column; align-items: stretch; gap: 10px; min-height: 230px; padding: 14px 12px 12px; border: 0; border-radius: 20px; background: var(--panel); color: var(--ink); text-align: left; font: inherit; cursor: pointer; box-shadow: inset 0 8px 0 var(--t); -webkit-tap-highlight-color: transparent; transition: transform 0.12s ease; }
.bzp-tcol:active { transform: scale(0.97); }
.bzp-tcol.mine { background: var(--t); color: var(--t-ink); box-shadow: 0 0 0 3px var(--bg), 0 0 0 6px var(--t); cursor: default; }
.tc-name { font-family: var(--display); text-transform: uppercase; font-size: 30px; line-height: 0.95; padding-top: 6px; overflow-wrap: break-word; }
.bzp-tcols.n3 .tc-name { font-size: 22px; }
@media (max-width: 360px) { .bzp-tcols.n3 .tc-name { font-size: 18px; } .bzp-tcols.n3 .bzp-tcol { padding: 12px 9px 10px; } }
.tc-list { flex: 1; display: flex; flex-direction: column; gap: 6px; }
.tc-list span { font-size: 16px; font-weight: 800; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tc-list .me { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 2px; }
.tc-list .none { opacity: 0.55; font-weight: 600; }
.tc-foot { font-size: 12px; font-weight: 900; text-transform: uppercase; letter-spacing: 0.12em; opacity: 0.8; }
.bzp-tcol:not(.mine) .tc-foot { color: var(--t); opacity: 1; }
/* Phone: question header row (format + clock), Lock pinned above the browser bar */
.bzp-qtop { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 40px; }
.bzp-qtop .bzp-status { min-height: 0; flex-direction: row; }
.bzp-qtop .pc-timer .count-num { font-size: 40px; }
.bzp-qtop .bs { font-size: 13px; }
.bzp-lockbar { padding-bottom: 6px; }
/* Short phones: tighten the question screen so all four choices and Lock fit
   above the browser's bottom bar without scrolling. */
@media (max-height: 760px) {
  .bzp.q { gap: 10px !important; }
  .bzp.q .bzp-team { padding: 8px 16px; }
  .bzp.q .bzp-team b { font-size: 24px; }
  .bzp.q .bzp-q { font-size: 20px; }
  .bzp.q .bzp-choices { gap: 7px; }
  .bzp.q .pch { min-height: 46px; padding: 6px 12px; }
  .bzp.q .pch span { width: 32px; height: 32px; font-size: 20px; }
  .bzp.q .pch b { font-size: 16px; }
  .bzp.q .bzp-body { gap: 9px; }
  .bzp.q .btn { padding: 14px 20px; font-size: 20px; }
  .bzp-qtop { min-height: 32px; }
  .bzp-qtop .pc-timer .count-num { font-size: 32px; }
}
.bzp.q .pch { min-height: 56px; }
.bzp-mash { display: flex; flex-direction: column; gap: 6px; }
.bzp-mash span { background: var(--panel); border-radius: 14px; padding: 12px 14px; font-size: 19px; font-weight: 800; line-height: 1.25; }
.bzp-mash b { font-family: var(--display); font-size: 34px; line-height: 0.8; text-align: center; color: #FF7AD9; }
.bzp .ans-why { margin: 0; font-size: 14px; letter-spacing: 0.14em; }
.bzp-next { margin-top: auto; font-size: 26px !important; padding: 22px 24px !important; }
/* Phone: Your Pick */
.bzp-cats { display: flex; flex-direction: column; gap: 12px; }
.bzp-cat { min-height: 84px; border: 0; border-radius: 20px; background: var(--k); color: var(--k-ink); font-family: var(--display); text-transform: uppercase; font-size: 34px; line-height: 1; padding: 14px 18px; text-align: left; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.bzp-cat:disabled:not(.on) { opacity: 0.3; }
.bzp-cat.on { box-shadow: 0 0 0 3px var(--bg), 0 0 0 6px var(--action); }
.ans-row { display: flex; align-items: center; gap: 34px; }
.ans-row .ans-flag { flex: none; width: 330px; }

/* ---- Scramble: skip only when allowed, and the All In square ------------------- */
.bz-skip[hidden], .bzp-vip[hidden] { display: none !important; }
.bb-allin { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 18px; }
.bb-allin[hidden] { display: none; }
.bb-ai-sun, .bzp-ai-sun { position: relative; display: grid; place-items: center; border-radius: 50%; color: #2A1300;
  background: radial-gradient(circle at 50% 40%, #FFE08A 0 30%, #FFB238 55%, #F26B1D 100%);
  box-shadow: 0 0 0 10px rgba(255, 178, 56, 0.18), 0 0 80px rgba(242, 107, 29, 0.55); }
.bb-ai-sun::before, .bzp-ai-sun::before { content: ''; position: absolute; inset: -22%; border-radius: 50%; z-index: -1;
  background: repeating-conic-gradient(rgba(255, 178, 56, 0.55) 0 7deg, transparent 7deg 22deg);
  -webkit-mask: radial-gradient(circle, transparent 54%, #000 56%, #000 70%, transparent 72%); mask: radial-gradient(circle, transparent 54%, #000 56%, #000 70%, transparent 72%);
  animation: bb-ai-spin 14s linear infinite; }
.bb-ai-sun span, .bzp-ai-sun span { font-family: var(--display, inherit); text-transform: uppercase; font-weight: 900; line-height: 0.9; letter-spacing: 0.02em; }
.bb-ai-sun { width: 300px; height: 300px; animation: bb-ai-rise 0.9s cubic-bezier(.2,1.4,.4,1) both; }
.bb-ai-sun span { font-size: 92px; }
.bb-ai-line { margin: 26px 0 0; font-size: 46px; font-weight: 800; }
.bb-ai-line b { color: var(--t, #FFB238); }
.bb-ai-sub { margin: 0; font-size: 28px; font-weight: 600; color: var(--ink-dim); max-width: 1100px; }
.bb-allin .bar { width: 640px; }
.bb-ai-side span { color: #FFB238; }
@keyframes bb-ai-rise { from { transform: translateY(80px) scale(0.4); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes bb-ai-spin { to { transform: rotate(360deg); } }
.bzp-ai { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px; padding-top: 8px; }
.bzp-ai-sun { width: 132px; height: 132px; margin: 18px 0 6px; }
.bzp-ai-sun span { font-size: 38px; }
.bzp-ai-k { margin: 0; font-size: 18px; font-weight: 700; color: var(--ink-dim); }
.bzp-ai-amt { font-size: 56px; font-weight: 900; line-height: 1; color: #FFB238; }
.bzp-ai-range { width: 100%; accent-color: #FFB238; }
.bzp-ai-marks { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.bzp-ai-mark { border: 0; border-radius: 999px; padding: 10px 16px; font: inherit; font-weight: 800; background: rgba(255, 255, 255, 0.1); color: inherit; }
@media (prefers-reduced-motion: reduce) { .bb-ai-sun, .bb-ai-sun::before, .bzp-ai-sun::before { animation: none; } }
.bz-diff { display: inline-block; margin-right: 14px; padding: 6px 14px; border-radius: 999px; font-size: 20px; font-weight: 900; letter-spacing: 0.04em; text-transform: uppercase; vertical-align: middle; box-shadow: inset 0 0 0 3px rgba(255, 255, 255, 0.25); color: var(--ink-dim); }
.bz-diff.d-hard { background: #F26B1D; color: #1B0A00; box-shadow: none; }
/* Round ladder: right margin of the Hot Seat TV screens. */
.bz-ladder { position: absolute; right: -62px; top: 150px; bottom: 150px; width: 22px; margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; z-index: 2; }
.bz-ladder li { flex: 1; border-radius: 999px; box-shadow: inset 0 0 0 3px rgba(255, 255, 255, 0.16); }
.bz-ladder li.won { background: var(--t); box-shadow: none; }
.bz-ladder li.tie { background: repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.55) 0 5px, rgba(255, 255, 255, 0.15) 5px 10px); box-shadow: none; }
.bz-ladder li.none { background: rgba(255, 255, 255, 0.12); box-shadow: none; }
.bz-ladder li.now { background: rgba(255, 255, 255, 0.9); box-shadow: 0 0 0 4px var(--action, #D6FF3B), 0 0 18px rgba(214, 255, 59, 0.6); }
.bz-ladder li.fin { flex: 1.6; }
.zoom-note { margin: 0; font-size: 22px; font-weight: 700; color: var(--ink-dim); text-align: center; }
/* Team colour swatches on the phone team screen. */
.bzp-colors { display: flex; justify-content: center; gap: 12px; margin-top: 4px; }
.bzp-sw { width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--c); box-shadow: inset 0 0 0 3px rgba(0, 0, 0, 0.25); cursor: pointer; }
.bzp-sw.on { box-shadow: 0 0 0 3px #0B0B10, 0 0 0 6px #FFFFFF; }
.bzp-sw:disabled { opacity: 0.18; cursor: default; }
.zoom-pic { position: relative; transform: none !important; }
.zoom-tiles { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(6, 1fr); grid-template-rows: repeat(4, 1fr); }
.zoom-tiles i { background: #2A2A36; box-shadow: inset 0 0 0 2px #1B1B24; transition: opacity 0.6s ease; }
.zoom-tiles i.off { opacity: 0; }
.bz-diff.d-tough { background: #FFB238; color: #1B0A00; box-shadow: none; }
.zoom-frame .zoom-pic { width: auto; height: 100%; max-width: 100%; max-height: 100%; aspect-ratio: 3 / 2; }
.fs.open p { color: rgba(11, 11, 16, 0.75); }
/* Buzz-in rounds on the phone: the waiting buzzer glows in your colour so it's obvious what's coming. */
.bzp.fin .bzp-buzzer.big:not(.live):not(.frozen) { box-shadow: 0 0 0 8px var(--t, #D4FF3A), 0 10px 0 rgba(0, 0, 0, 0.4); animation: bzp-ready 1.2s ease-in-out infinite; }
@keyframes bzp-ready { 50% { box-shadow: 0 0 0 14px var(--t, #D4FF3A), 0 10px 0 rgba(0, 0, 0, 0.4); } }
@media (prefers-reduced-motion: reduce) { .bzp.fin .bzp-buzzer.big { animation: none !important; } }
.bb-ai-line { margin-top: 84px; }
.bzp-ai-sun { margin: 40px 0 34px; }
.bzp-ai-range { -webkit-appearance: auto; appearance: auto; height: 36px; padding: 0; border: 0; background: none; box-shadow: none; }
.bzp-ai-timer { transform: scale(0.6); margin: -16px 0; }
