/* Party Pad TV (host page) layout tweaks for group b games: larger shared content, no per-player detail the phones already show. Loaded after games.css. */

/* Group b games that draw straight onto the board (Pictionary, Rank the World, Auction
   House) wrap each TV screen in a .tvb div. It takes no space of its own, so the
   board's column layout is unchanged; it only scopes these rules to those screens.
   Instructions, rules and running logs stay on the phones; what is left here is sized
   for reading from the couch. host.js scales the whole board to fill the screen, so
   everything here is in board pixels. (The frame games of this group, Punchline, Blink
   Draw, Signal Split, Three of Nine and Consensus Cavern, style their TV mode inside
   their own game.html.) */
.tvb { display:contents; }
body.in-game #stagefit:has(> .tvb) { padding:18px 26px; gap:16px; }

/* ── Shared pieces ───────────────────────────────────────────────────────── */
body.in-game .tvb .prompt-card { max-width:none; width:100%; padding:14px 28px; }
body.in-game .tvb .prompt-card .kicker { font-size:1.25rem; }
body.in-game .tvb .prompt-card > p { font-size:1.35rem; margin:4px 0 0; }
body.in-game .tvb .sub-tracker { gap:10px; }
body.in-game .tvb .sub-tracker .pchip { font-size:1.4rem; padding:.3em .8em; }
body.in-game .tvb .timer-label { font-size:2.2rem; line-height:1.1; }
body.in-game .tvb .results-hero h1 { font-size:3.4rem; }
body.in-game .tvb .champ-line { font-size:2.6rem; }

/* ── Pictionary: the drawing fills the left, the facts sit in a column beside it ── */
body.in-game .tvb .pic-tv { max-width:none; width:100%; flex-direction:row; align-items:center; gap:30px; }
body.in-game .tvb .pic-tv .pic-canvas-wrap { flex:1 1 0; min-width:0; margin:0; }
body.in-game .tvb .pic-tv .pic-canvas,
body.in-game .tvb .pic-tv .pic-idle { max-width:none; }
body.in-game .tvb .pic-tv .pic-idle { font-size:6rem; }
body.in-game .tvb .pic-side { flex:0 0 31%; min-width:0; display:flex; flex-direction:column; align-items:flex-start; gap:16px; text-align:left; }
body.in-game .tvb .pic-side .kicker { font-size:1.2rem; }
body.in-game .tvb .pic-side h1 { font-size:2.2rem; margin:0; line-height:1.1; }
body.in-game .tvb .pic-side .pic-word { justify-content:flex-start; gap:8px; margin:0; }
body.in-game .tvb .pic-side .pic-slot { width:24px; height:7px; }
body.in-game .tvb .pic-side .pic-gap { width:14px; }
body.in-game .tvb .pic-side .pic-cat { font-size:1.1rem; margin-left:6px; }
body.in-game .tvb .pic-side .pic-word-reveal { font-size:3rem; line-height:1.05; overflow-wrap:anywhere; }
body.in-game .tvb .pic-side .pic-guessers { justify-content:flex-start; gap:8px; margin:0; }
body.in-game .tvb .pic-side .pchip { font-size:1.3rem; }
body.in-game .tvb .pic-side .pic-timer { max-width:none; width:100%; margin:0; }
body.in-game .tvb .pic-side .timer-label { font-size:2.8rem; text-align:left; }
body.in-game .tvb .pic-side .pic-reveal-line { font-size:1.6rem; text-align:left; margin:0; }

/* ── Rank the World: the ten countries in two columns of five ─────────────── */
body.in-game .tvb-rw .prompt-card .big.rw-title { font-size:3rem; }
body.in-game .tvb-rw .rw-pool { max-width:none; gap:12px; }
body.in-game .tvb-rw .rw-chip { font-size:1.55rem; padding:8px 18px; }
body.in-game .tvb-rw .rw-list { display:block; columns:2; column-gap:26px; max-width:none; }
body.in-game .tvb-rw .rw-list .rw-row { break-inside:avoid; margin:0 0 10px; font-size:1.55rem; padding:8px 16px; }
body.in-game .tvb-rw .rw-cname { min-width:7em; }
body.in-game .tvb-rw .rw-ends { max-width:none; font-size:1.1rem; }
body.in-game .tvb-rw .rw-foot { display:flex; align-items:baseline; justify-content:center; gap:28px; flex-wrap:wrap; }
body.in-game .tvb-rw .rw-foot h2 { font-size:2.2rem; margin:0; }
body.in-game .tvb-rw .rw-hot { font-size:1.5rem; margin:0; }
body.in-game .tvb-rw .rw-after h2 { font-size:2.4rem; margin:0; }
body.in-game .tvb-rw .rw-after p { font-size:1.35rem; margin:4px 0 0; }
body.in-game .tvb-rw .rw-history { max-width:820px; gap:8px; }
body.in-game .tvb-rw .rw-hrow { font-size:1.5rem; padding:8px 18px; }
body.in-game .tvb-rw .rw-noans { font-size:1.45rem; margin:0; font-weight:800; color:#c0392b; }

/* ── Auction House: the lot, the two bidders' money and the builds, all larger ── */
body.in-game .tvb-ah .prompt-card .big { font-size:3.6rem; }
body.in-game .tvb-ah .ah-items,
body.in-game .tvb-ah .ah-floor,
body.in-game .tvb-ah .ah-builds { max-width:none; }
body.in-game .tvb-ah .ah-item { padding:16px 22px; }
body.in-game .tvb-ah .ah-item b { font-size:2.1rem; }
body.in-game .tvb-ah .ah-item .muted { font-size:1.3rem; }
body.in-game .tvb-ah .ah-bidder .ah-name { font-size:1.6rem; }
body.in-game .tvb-ah .ah-money { font-size:3.6rem; }
body.in-game .tvb-ah .ah-state { font-size:1.4rem; }
body.in-game .tvb-ah .ah-high { font-size:2.8rem; }
body.in-game .tvb-ah .ah-gavel .small { font-size:1.25rem; }
body.in-game .tvb-ah .tc-owner { font-size:1.6rem; }
body.in-game .tvb-ah .tc-cat { font-size:1rem; min-width:130px; }
body.in-game .tvb-ah .tc-pick { font-size:1.45rem; }
body.in-game .tvb-ah .tc-total { font-size:1.3rem; }
body.in-game .tvb-ah .tc-votes { font-size:1.5rem; }
body.in-game .tvb-ah > h2 { font-size:2.2rem; margin:0; }
body.in-game .tvb-ah .ah-round { min-width:240px; }
body.in-game .tvb-ah .ah-round-name { font-size:1.05rem; }
body.in-game .tvb-ah .ah-slot { font-size:1.45rem; padding:8px 14px; }
body.in-game .tvb-ah .ah-noans { font-size:1.5rem; margin:0; font-weight:800; color:#c0392b; text-align:center; }

/* Signal Split on the TV: the two ends and the clue, big; the dial only at the reveal. */
body.in-game .tvb-ss .kicker { font-size:1.4rem; }
body.in-game .tvb-ss .ss-caller { display:flex; align-items:center; gap:.4em; font-size:1.9rem; justify-content:center; }
body.in-game .tvb-ss .ss-caller .ava { font-size:2.4rem; }
body.in-game .tvb-ss .ss-ends.big { width:100%; font-size:3.4rem; letter-spacing:-.02em; margin:.3em 0; }
body.in-game .tvb-ss .ss-clue { font-size:4.6rem; font-weight:900; text-align:center; line-height:1.05; color:var(--ink); }
body.in-game .tvb-ss .ss-clue.waiting { font-size:2.4rem; font-weight:700; color:var(--ink-dim, #6e6878); }
body.in-game .tvb-ss .ss-clue.small { font-size:3rem; }
body.in-game .tvb-ss .sub-tracker .pchip { font-size:1.4rem; }
body.in-game .tvb-ss .ss-timer { width:min(440px, 60%); }
body.in-game .tvb-ss .ss-reveal { display:grid; grid-template-columns:minmax(0,1.5fr) minmax(0,1fr); gap:34px; align-items:center; width:100%; }
body.in-game .tvb-ss .ss-dialbox.tv { max-width:none; }
body.in-game .tvb-ss .ss-dialcol .ss-ends { font-size:1.9rem; }
body.in-game .tvb-ss .ss-results { display:flex; flex-direction:column; gap:10px; }
body.in-game .tvb-ss .ss-row { display:grid; grid-template-columns:auto 1fr auto; align-items:center; gap:12px; font-size:1.7rem;
  background:#fff; border:3px solid var(--ink); border-left:12px solid var(--pc, var(--ink)); border-radius:16px; padding:.35em .7em; }
body.in-game .tvb-ss .ss-row .ava { font-size:2rem; }
body.in-game .tvb-ss .ss-row.caller { background:#fff7e8; }
body.in-game .tvb-ss .ss-pts { font-weight:900; font-size:2rem; }
body.in-game .tvb-ss .ss-row:not(.hit):not(.caller) .ss-pts { color:var(--ink-dim, #6e6878); font-size:1.5rem; }
body.in-game .tvb-ss .ss-next { font-size:1.2rem; }

/* Poker (tvc-pk wrapper): the line saying the game checked or folded for a player who took too long. */
body.in-game .tvc-pk .pk-skipped { color:#c0392b; font-size:1.5rem; }
