/* Game Night on the TV (dartshub.tv, 1920×1080) — the party join-screen family with Game Night's own "Party time"
 * hero: a dartboard rising on the right, lit gold segments, the walk-on spotlight. Never confetti.
 * Ported from the approved ds2 mocks (agents/cto/ds2/web/c/gamenight.css, TV section; s56 · s57 · s58, 2026-10-14):
 * same zones and class names (gt-*), the ds2 tokens set on the frame. Screens: src/screens/gamenight*.js, gn-join.js,
 * gn-strip.js. */

.gn-tv {
  --color-accent-highlight: #ffc93c;
  --color-action-link: #429bfc;
  --color-action-primary: #014cfd;
  --color-bg-bottom: #00091f;
  --color-bg-top: #001546;
  --color-rarity-epic: #e36bff;
  --color-state-bot: #b58cff;
  --color-state-danger: #fb6161;
  --color-state-live: #ff5a6e;
  --color-state-success: #2fd47a;
  --color-state-warning: #ff9a3c;
  --color-seat-2: #c2531f;
  --color-seat-7: #1f8fa8;
  --color-surface-raised: #122044;
  --color-surface-solid: #0c1631;
  --color-text-body: #d1d5d8;
  --color-text-primary: #ffffff;
  --color-text-secondary: #8e98a0;
  --color-tint-gold: rgba(255, 201, 60, 0.14);
  --color-tint-gold-strong: rgba(255, 201, 60, 0.45);
  --color-tint-link: rgba(66, 155, 252, 0.18);
  --color-tint-link-strong: rgba(66, 155, 252, 0.38);
  --color-tint-success: rgba(47, 212, 122, 0.15);
  --color-tint-success-strong: rgba(47, 212, 122, 0.45);
  --font-display: var(--dh-font-display, 'Audiowide', system-ui, sans-serif);
  --font-body: 'Outfit', 'Archivo', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --motion-ease-out: cubic-bezier(0.2, 0.8, 0.2, 1);
  /* styles.css has a global `.gold { color: var(--hx-gold) !important }` (Hold'em): gold here is the night's gold. */
  --hx-gold: var(--color-accent-highlight);

  position: absolute; inset: 0; width: 1920px; height: 1080px; overflow: hidden;
  font-family: var(--font-body); color: var(--color-text-body); text-transform: none; letter-spacing: normal;
  background: radial-gradient(ellipse 70% 62% at 50% 40%, color-mix(in srgb, var(--color-action-primary) 34%, var(--color-bg-top)) 0%, var(--color-bg-top) 48%, var(--color-bg-bottom) 100%);
}
.gn-tv > *, .gn-tv > [data-p] > * { position: absolute; }
.gn-tv > [data-p] { display: contents; }
.gn-tv h1, .gn-tv p { margin: 0; }
.gn-tv .gt-eye { font-family: var(--font-display); font-size: 20px; letter-spacing: .16em; text-transform: uppercase; color: var(--color-text-secondary); line-height: 1.1; }
.gn-tv .gt-eye.blue { color: var(--color-action-link); }
.gn-tv .gt-eye.gold { color: var(--color-accent-highlight); }
@keyframes dh-in { from { opacity: 0; } to { opacity: 1; } }

/* tones */
.gn-tv .tn-blue { --tone: var(--color-action-link); } .gn-tv .tn-green { --tone: var(--color-state-success); }
.gn-tv .tn-red { --tone: var(--color-state-danger); } .gn-tv .tn-gold { --tone: var(--color-accent-highlight); }
.gn-tv .tn-purple { --tone: var(--color-state-bot); } .gn-tv .tn-pink { --tone: var(--color-rarity-epic); }
.gn-tv .tn-teal { --tone: var(--color-seat-7); } .gn-tv .tn-orange { --tone: var(--color-state-warning); }
.gn-tv .tn-clay { --tone: var(--color-seat-2); } .gn-tv .tn-plain { --tone: var(--color-text-body); }

/* game icon (ds2 GameIcon): the glyph on a soft tile in the game's tone */
.gt-gi { display: inline-flex; align-items: center; justify-content: center; flex: none; color: var(--tone); background: color-mix(in srgb, var(--tone) 16%, transparent); }
.gt-gi.m { width: 40px; height: 40px; border-radius: 11px; --g: 28px; }
.gt-gi.l { width: 56px; height: 56px; border-radius: 14px; --g: 32px; }
.gt-gi.xl { width: 120px; height: 120px; border-radius: 28px; --g: 68px; }
.gt-gi.plain { background: transparent; }
.gt-gi svg { width: var(--g); height: var(--g); }

/* avatar (ds2 AvatarPlus): rings drawn inside, never changing the layout */
.gt-av { position: relative; display: inline-block; flex: none; width: var(--av); height: var(--av); border-radius: 50%; overflow: hidden; background: var(--color-surface-raised); }
.gt-av img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gt-av b { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 400; font-size: calc(var(--av) * .36); color: var(--color-text-primary); background: linear-gradient(160deg, #1e4bd8, #0c1631); }
.gt-av::after { content: ''; position: absolute; inset: 0; border-radius: 50%; pointer-events: none; }
.gt-av.ring-gold::after { box-shadow: inset 0 0 0 calc(var(--av) * .045) var(--color-accent-highlight); }
.gt-av.ring-silver::after { box-shadow: inset 0 0 0 calc(var(--av) * .045) #cfd6de; }
.gt-av.ring-bronze::after { box-shadow: inset 0 0 0 calc(var(--av) * .045) #d08a52; }

/* hero: dartboard rising on the right, gold segments lit like the walk-on, spotlight from the top; strip-fade masks */
.gt-hero { left: 0; right: 0; top: 250px; height: 830px; pointer-events: none;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, rgba(0,0,0,.12) 14%, rgba(0,0,0,.3) 30%, #000 50%, #000 64%, rgba(0,0,0,.35) 80%, transparent 94%), linear-gradient(90deg, transparent 0%, rgba(0,0,0,.08) 14%, rgba(0,0,0,.45) 30%, #000 52%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(180deg, transparent 0%, rgba(0,0,0,.12) 14%, rgba(0,0,0,.3) 30%, #000 50%, #000 64%, rgba(0,0,0,.35) 80%, transparent 94%), linear-gradient(90deg, transparent 0%, rgba(0,0,0,.08) 14%, rgba(0,0,0,.45) 30%, #000 52%);
  mask-composite: intersect; }
.gt-hero > * { position: absolute; }
.gt-hero .board { left: 1060px; top: 40px; width: 900px; height: 900px; background: url(img/gamenight/dartboard.svg) center / contain no-repeat; opacity: .7; filter: brightness(.5) saturate(1.3) drop-shadow(0 0 80px rgba(1,76,253,.5)); }
.gt-hero .segs { left: 1174px; top: 125px; width: 666px; height: 666px; border-radius: 50%;
  background: conic-gradient(from -9deg, rgba(255,201,60,.8) 0 18deg, transparent 18deg 54deg, rgba(255,201,60,.5) 54deg 72deg, transparent 72deg 144deg, rgba(255,201,60,.65) 144deg 162deg, transparent 162deg 234deg, rgba(255,201,60,.5) 234deg 252deg, transparent 252deg 306deg, rgba(255,201,60,.65) 306deg 324deg, transparent 324deg);
  -webkit-mask-image: radial-gradient(circle closest-side, transparent 0 14%, rgba(0,0,0,.55) 15% 84%, #000 85% 100%, transparent 100%);
  mask-image: radial-gradient(circle closest-side, transparent 0 14%, rgba(0,0,0,.55) 15% 84%, #000 85% 100%, transparent 100%);
  filter: drop-shadow(0 0 24px rgba(255,201,60,.55)); animation: gt-segs 3.2s ease-in-out infinite; }
.gt-hero .beam { left: 1147px; top: -250px; width: 720px; height: 1060px; background: linear-gradient(180deg, rgba(255,220,140,.42), rgba(255,201,60,.08) 70%, rgba(255,201,60,0) 90%); clip-path: polygon(43% 0, 57% 0, 100% 100%, 0 100%); filter: blur(8px); }
.gt-hero .rings i { position: absolute; left: 1507px; top: 458px; border-radius: 50%; border: 3px solid var(--color-tint-gold-strong); transform: translate(-50%, -50%); animation: gt-ring 4.8s var(--motion-ease-out) infinite; }
.gt-hero .rings i:nth-child(1) { width: 740px; height: 740px; }
.gt-hero .rings i:nth-child(2) { width: 880px; height: 880px; border-color: var(--color-tint-link-strong); animation-delay: 1.6s; }
.gt-hero .rings i:nth-child(3) { width: 1020px; height: 1020px; border-color: var(--color-tint-gold); animation-delay: 3.2s; }
@keyframes gt-segs { 0%, 100% { opacity: 1; } 50% { opacity: .7; } }
@keyframes gt-ring { 0% { opacity: 0; transform: translate(-50%, -50%) scale(.9); } 35% { opacity: 1; } 100% { opacity: 0; transform: translate(-50%, -50%) scale(1.06); } }
.gt-hero.dim { opacity: .6; }
.gt-hero.final, .gt-hero.podium { top: 0; height: 1080px; -webkit-mask-image: radial-gradient(ellipse 60% 60% at 50% 46%, #000 30%, transparent 80%); mask-image: radial-gradient(ellipse 60% 60% at 50% 46%, #000 30%, transparent 80%); }
.gt-hero.final .board, .gt-hero.podium .board { left: 510px; top: -10px; width: 900px; height: 900px; opacity: .28; }
.gt-hero.final .segs, .gt-hero.podium .segs { left: 624px; top: 75px; opacity: .3; animation: none; }
.gt-hero.final .beam, .gt-hero.podium .beam { left: 597px; top: -200px; height: 1100px; }
.gt-hero.final .rings i, .gt-hero.podium .rings i { left: 957px; top: 408px; }
.gt-hero.podium .board { top: 90px; opacity: .22; }
.gt-hero.podium .segs { top: 175px; opacity: .38; }
.gt-hero.podium .rings i { top: 540px; }

/* header */
.gt-head { left: 72px; right: 72px; top: 44px; display: flex; align-items: center; justify-content: space-between; gap: 24px; z-index: 5; }
.gt-head .l { display: flex; align-items: baseline; gap: 28px; min-width: 0; }
.gt-name { font-family: var(--font-display); font-size: 48px; line-height: 1; color: var(--color-text-primary); letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; }
.gt-head .gt-eye { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gt-pill { display: inline-flex; align-items: center; gap: 12px; padding: 14px 24px; border-radius: 999px; background: rgba(11,13,17,.44); border: 1px solid var(--color-tint-link-strong); font-family: var(--font-display); font-size: 22px; line-height: 1; letter-spacing: .06em; color: var(--color-text-primary); white-space: nowrap; flex: none; }
.gt-pill.blue { color: var(--color-action-link); }
.gt-pill.gold { color: var(--color-accent-highlight); border-color: var(--color-tint-gold-strong); background: var(--color-tint-gold); }
.gt-pill .lv { width: 12px; height: 12px; border-radius: 50%; background: var(--color-action-link); box-shadow: 0 0 0 6px var(--color-tint-link); animation: gt-live 1.4s ease-in-out infinite; }
.gt-pill.gold .lv { background: var(--color-accent-highlight); box-shadow: 0 0 0 6px var(--color-tint-gold); }
@keyframes gt-live { 50% { opacity: .35; } }

/* QR */
.gt-qr { left: 72px; top: 132px; width: 440px; height: 440px; box-sizing: border-box; padding: 26px; border-radius: 32px; background: var(--color-text-primary); box-shadow: 0 0 0 10px rgba(1,76,253,.35), 0 0 120px rgba(1,76,253,.55); display: flex; align-items: center; justify-content: center; }
.gt-qr svg { width: 100%; height: 100%; display: block; }
.gt-qrcap { left: 72px; top: 598px; width: 440px; display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; }
.gt-qrcap .gt-eye { color: var(--color-text-body); }
.gt-qrcap .cd { font-size: 22px; color: var(--color-text-secondary); letter-spacing: .02em; }

/* pitch */
.gt-pitch { left: 600px; right: 72px; top: 132px; display: flex; flex-direction: column; gap: 26px; }
.gt-pitch .tx { display: flex; flex-direction: column; gap: 12px; }
.gt-pitch h1 { font-family: var(--font-display); font-weight: 400; font-size: 100px; line-height: 1; color: var(--color-text-primary); }
.gt-pitch p { font-size: 28px; color: var(--color-text-secondary); }
.gt-pitch .chips { display: flex; gap: 14px; flex-wrap: wrap; }
.gt-chip { display: inline-flex; align-items: center; gap: 10px; padding: 14px 22px; border-radius: 999px; background: rgba(255,255,255,.07); font-family: var(--font-display); font-size: 20px; color: var(--color-text-primary); letter-spacing: .06em; white-space: nowrap; }
.gt-chip.gold { background: var(--color-tint-gold); color: var(--color-accent-highlight); }
.gt-pitch .cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 6px; }
.gt-card { display: flex; align-items: center; gap: 20px; padding: 22px 24px; border-radius: 20px; background: rgba(6,18,50,.78); box-shadow: inset 0 0 0 1px rgba(66,155,252,.22), 0 16px 40px rgba(0,0,0,.35); }
.gt-card .ic { flex: none; width: 64px; height: 64px; border-radius: 16px; display: flex; align-items: center; justify-content: center; color: var(--tone); background: color-mix(in srgb, var(--tone) 16%, transparent); }
.gt-card .tt { font-family: var(--font-display); font-size: 22px; line-height: 1.15; color: var(--color-text-primary); }
.gt-card .bd { margin-top: 6px; font-size: 19px; line-height: 1.3; color: #e4e8ec; }

/* seat band (the party join screen's: open → joining → just joined → joined; host) */
.gt-seats { left: 72px; right: 72px; top: 852px; display: grid; grid-template-columns: repeat(var(--seats), minmax(0, 1fr)); gap: 24px; }
.gt-seats.s7, .gt-seats.s8, .gt-seats.s9 { gap: 16px; }
.gt-seats.s10, .gt-seats.s11, .gt-seats.s12 { gap: 10px; }
.gt-seat { min-width: 0; display: flex; flex-direction: column; align-items: center; }
.gt-seat .cd { position: relative; box-sizing: border-box; width: 100%; max-width: 262px; height: 186px; border-radius: 20px; background: linear-gradient(180deg, var(--color-surface-raised), var(--color-surface-solid)); display: flex; flex-direction: column; align-items: center; padding: 18px 10px 0; gap: 8px;
  box-shadow: inset 0 0 0 2px var(--color-tint-link-strong), 0 10px 30px rgba(0,0,0,.5); }
.gt-seat .no { position: absolute; left: 18px; top: -12px; width: 46px; height: 32px; border-radius: 10px; background: var(--color-action-primary); color: var(--color-text-primary); display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-size: 18px; box-shadow: 0 0 0 3px var(--color-bg-bottom); }
.gt-seat .av { display: block; width: 80px; height: 80px; border-radius: 50%; box-shadow: 0 0 0 4px var(--color-bg-bottom), 0 0 0 6px rgba(255,255,255,.2); }
.gt-seat .av .gt-av { display: block; }
.gt-seat .av.open { box-shadow: none; border: 2px dashed var(--color-tint-link-strong); box-sizing: border-box; }
.gt-seat .nm { padding: 0 4px; font-family: var(--font-display); font-size: 24px; line-height: 1; color: var(--color-text-primary); letter-spacing: .06em; text-transform: uppercase; max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gt-seat .nm.dim { color: rgba(255,255,255,.45); }
.gt-seat .sb { font-size: 16px; color: var(--color-text-secondary); white-space: nowrap; max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
.gt-seat .tag { margin-top: 8px; font-family: var(--font-display); font-size: 14px; letter-spacing: .16em; text-transform: uppercase; color: var(--color-text-secondary); white-space: nowrap; }
.gt-seat.open .cd { opacity: .85; box-shadow: inset 0 0 0 2px var(--color-tint-link); }
.gt-seat.host .tag { color: var(--color-action-link); }
.gt-seat.host .av { box-shadow: 0 0 0 4px var(--color-bg-bottom), 0 0 0 7px var(--color-action-link); }
.gt-seat.joining .cd { box-shadow: inset 0 0 0 4px var(--color-action-link), inset 0 0 0 11px var(--color-surface-raised), inset 0 0 0 13px var(--color-tint-link-strong), 0 0 40px rgba(1,76,253,.45); }
.gt-seat.joining .av { box-shadow: 0 0 0 4px var(--color-bg-bottom), 0 0 0 6px var(--color-action-link); }
.gt-seat.joining .sb, .gt-seat.joining .tag, .gt-seat .caret { color: var(--color-action-link); }
.gt-seat .caret { font-style: normal; animation: gt-live .8s steps(1) infinite; }
.gt-seat .flick { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; animation: gt-flick 1.5s infinite steps(1); }
@keyframes gt-flick { 0% { opacity: 1; } 20%, 100% { opacity: 0; } }
.gt-seat.just .cd { box-shadow: inset 0 0 0 4px var(--color-accent-highlight), inset 0 0 0 11px var(--color-surface-raised), inset 0 0 0 13px var(--color-tint-gold-strong), 0 0 50px rgba(255,201,60,.4); }
.gt-seat.just .av { box-shadow: 0 0 0 4px var(--color-bg-bottom), 0 0 0 7px var(--color-accent-highlight), 0 0 30px rgba(255,201,60,.6); animation: gt-pop 900ms var(--motion-ease-out) both; }
.gt-seat.just .tag { color: var(--color-accent-highlight); }
@keyframes gt-pop { 0% { transform: scale(.3); } 60% { transform: scale(1.15); } 100% { transform: scale(1); } }
.gt-seats.s10 .gt-seat .nm, .gt-seats.s11 .gt-seat .nm, .gt-seats.s12 .gt-seat .nm { font-size: 18px; }
.gt-seats.s10 .gt-seat .no, .gt-seats.s11 .gt-seat .no, .gt-seats.s12 .gt-seat .no { left: 10px; width: 36px; }
.gt-seats.s10 .gt-seat .sb, .gt-seats.s11 .gt-seat .sb, .gt-seats.s12 .gt-seat .sb { font-size: 13px; }

/* programme overview (after the crew is locked): the room follows the host building the night */
.gt-prog { left: 72px; top: 140px; width: 1130px; height: 676px; display: flex; flex-direction: column; gap: 14px; --rh: 78px; }
.gt-prog.r9 { --rh: 62px; } .gt-prog.r12 { --rh: 46px; }
.gt-prog .hd { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; }
.gt-prog .hd .tt { font-family: var(--font-display); font-size: 40px; color: var(--color-text-primary); }
.gt-prog .hd .ct { font-size: 24px; color: var(--color-text-secondary); white-space: nowrap; }
.gt-prog .rows { display: flex; flex-direction: column; gap: 10px; }
.gt-prog.r12 .rows { gap: 6px; }
.gt-round { display: flex; align-items: center; gap: 22px; height: var(--rh); padding: 0 26px 0 20px; box-sizing: border-box; border-radius: 18px; background: rgba(6,18,50,.82); box-shadow: inset 0 0 0 1px rgba(66,155,252,.2), 0 10px 30px rgba(0,0,0,.3); flex: none; }
.gt-round .no { flex: none; width: 44px; height: 44px; border-radius: 12px; background: var(--color-tint-link); color: var(--color-action-link); display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-size: 22px; }
.gt-round .gt-gi, .gt-round .gi { flex: none; width: 56px; height: 56px; border-radius: 14px; }
.gt-prog.r12 .gt-round .gt-gi, .gt-prog.r12 .gt-round .gi { width: 38px; height: 38px; --g: 24px; }
.gt-prog.r12 .gt-round .no { width: 36px; height: 36px; font-size: 18px; }
.gt-round .tx { min-width: 0; flex: 1; }
.gt-round .nm { display: flex; align-items: center; gap: 14px; font-family: var(--font-display); font-size: 30px; line-height: 1.1; color: var(--color-text-primary); white-space: nowrap; }
.gt-round .sb { margin-top: 4px; font-size: 20px; color: var(--color-text-secondary); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gt-prog.r12 .gt-round .nm { font-size: 24px; } .gt-prog.r12 .gt-round .sb { display: none; }
.gt-ptag { font-family: var(--font-display); font-size: 13px; padding: 5px 10px; border-radius: 8px; letter-spacing: .1em; text-transform: uppercase; background: color-mix(in srgb, var(--color-rarity-epic) 18%, transparent); color: var(--color-rarity-epic); }
.gt-round .end { margin-left: auto; display: flex; align-items: center; gap: 14px; flex: none; }
.gt-x2 { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 999px; background: var(--color-tint-gold); color: var(--color-accent-highlight); font-family: var(--font-display); font-size: 20px; letter-spacing: .04em; white-space: nowrap; }
.gt-new { padding: 8px 16px; border-radius: 999px; background: var(--color-tint-link-strong); color: var(--color-text-primary); font-family: var(--font-display); font-size: 15px; letter-spacing: .14em; text-transform: uppercase; white-space: nowrap; }
.gt-round.repeat .gt-new { background: rgba(255,255,255,.07); color: var(--color-text-secondary); text-transform: none; letter-spacing: .04em; font-size: 17px; }
.gt-round.final { background: linear-gradient(90deg, rgba(255,201,60,.16), rgba(6,18,50,.82) 60%); box-shadow: inset 0 0 0 2px var(--color-tint-gold-strong), 0 0 40px rgba(255,201,60,.18); }
.gt-round.final .no { background: var(--color-tint-gold); color: var(--color-accent-highlight); }
.gt-round.new { box-shadow: inset 0 0 0 3px var(--color-action-link), 0 0 44px rgba(1,76,253,.5); animation: gt-slide 700ms var(--motion-ease-out) both; }
.gt-round.repeat .no { background: var(--color-action-link); color: var(--color-text-primary); }
.gt-round.done { opacity: .55; }
@keyframes gt-slide { from { opacity: 0; transform: translateY(-22px) scale(.97); } to { opacity: 1; transform: none; } }
.gt-round.ghost { background: none; box-shadow: none; border: 2px dashed rgba(66,155,252,.28); }
.gt-round.ghost .no { background: none; color: rgba(255,255,255,.35); border: 2px dashed rgba(66,155,252,.28); box-sizing: border-box; }
.gt-round.ghost .gi { background: rgba(255,255,255,.04); }
.gt-round.ghost .nm { font-family: var(--font-body); font-size: 22px; color: rgba(255,255,255,.35); }
.gt-round.ghost.picking { border-color: var(--color-tint-link-strong); background: rgba(1,76,253,.08); }
.gt-round.ghost.picking .nm { color: var(--color-action-link); }
.gt-round.ghost.picking .gi { background: linear-gradient(90deg, rgba(66,155,252,.08), rgba(66,155,252,.3), rgba(66,155,252,.08)); background-size: 200% 100%; animation: gt-shim 1.4s linear infinite; }
.gt-round.ghost.picking.soft { opacity: .6; }
.gt-round.ghost.empty { opacity: .5; }
@keyframes gt-shim { to { background-position: -200% 0; } }
.gt-dots { margin-left: auto; display: flex; gap: 8px; }
.gt-dots i { width: 12px; height: 12px; border-radius: 50%; background: var(--color-action-link); animation: gt-live 1.2s ease-in-out infinite; }
.gt-dots i:nth-child(2) { opacity: .6; animation-delay: .2s; } .gt-dots i:nth-child(3) { opacity: .3; animation-delay: .4s; }
.gt-prog .hint { display: flex; align-items: center; gap: 14px; margin-top: 6px; font-size: 22px; color: var(--color-text-body); }
.gt-prog .hint svg { color: var(--color-action-link); flex: none; }

/* right column: scoring + ready */
.gt-side { left: 1262px; right: 72px; top: 140px; display: flex; flex-direction: column; gap: 22px; }
.gt-fmt { padding: 26px 28px; border-radius: 22px; background: rgba(6,18,50,.82); box-shadow: inset 0 0 0 1px rgba(66,155,252,.22), 0 16px 40px rgba(0,0,0,.35); display: flex; flex-direction: column; gap: 18px; }
.gt-fmt.tn-gold { box-shadow: inset 0 0 0 2px var(--color-tint-gold-strong), 0 16px 40px rgba(0,0,0,.35); }
.gt-fmt .hd { display: flex; align-items: center; gap: 20px; }
.gt-fmt .ic { width: 64px; height: 64px; border-radius: 16px; display: flex; align-items: center; justify-content: center; flex: none; color: var(--tone); background: color-mix(in srgb, var(--tone) 16%, transparent); }
.gt-fmt .nm { font-family: var(--font-display); font-size: 38px; color: var(--color-text-primary); line-height: 1.05; }
.gt-fmt .tg { margin-top: 4px; font-size: 19px; color: var(--color-text-secondary); }
.gt-fmt .lad { display: flex; gap: 10px; }
.gt-fmt .lad div { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 10px 0; border-radius: 12px; background: rgba(255,255,255,.06); }
.gt-fmt .lad span { font-size: 16px; color: var(--color-text-secondary); }
.gt-fmt .lad b { font-family: var(--font-display); font-weight: 400; font-size: 30px; color: var(--color-text-primary); }
.gt-fmt.tn-gold .lad div:first-child { background: var(--color-tint-gold); }
.gt-fmt.tn-gold .lad div:first-child b { color: var(--color-accent-highlight); }
.gt-fmt .nt { display: flex; align-items: center; gap: 12px; font-size: 20px; color: var(--color-text-body); }
.gt-fmt .nt svg { color: var(--tone); flex: none; }
.gt-fmt.pending .pd { display: flex; align-items: center; gap: 18px; font-size: 26px; color: var(--color-action-link); padding: 18px 0; }
.gt-fmt.pending .gt-dots { margin-left: 0; }
.gt-ready { display: flex; align-items: center; gap: 22px; padding: 26px 28px; border-radius: 22px; background: linear-gradient(120deg, rgba(255,201,60,.2), rgba(6,18,50,.85) 70%); box-shadow: inset 0 0 0 2px var(--color-accent-highlight), 0 0 60px rgba(255,201,60,.25); }
.gt-ready > svg { color: var(--color-accent-highlight); flex: none; }
.gt-ready .tt { font-family: var(--font-display); font-size: 30px; color: var(--color-text-primary); }
.gt-ready .bd { margin-top: 6px; font-size: 21px; line-height: 1.35; color: var(--color-text-body); }
.gt-note { display: flex; align-items: flex-start; gap: 12px; font-size: 19px; line-height: 1.35; color: var(--color-text-secondary); }
.gt-note svg { color: var(--color-action-link); flex: none; }

/* crew along the bottom edge: ≤3 wide cards, 4–6 seat cards, 7–12 compact */
.gt-crew { left: 72px; right: 72px; top: 858px; display: flex; flex-direction: column; gap: 14px; }
.gt-crew .row { display: grid; gap: 20px; grid-template-columns: repeat(6, minmax(0, 1fr)); }
.gt-crew.n2 .row { grid-template-columns: repeat(2, minmax(0, 560px)); } .gt-crew.n3 .row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.gt-crew.n4 .row { grid-template-columns: repeat(4, minmax(0, 1fr)); } .gt-crew.n5 .row { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.gt-crew.n7 .row { grid-template-columns: repeat(var(--n), minmax(0, 1fr)); gap: 10px; }
.gt-crew .pc { position: relative; display: flex; align-items: center; gap: 18px; height: 104px; padding: 0 22px; box-sizing: border-box; border-radius: 20px; background: linear-gradient(180deg, var(--color-surface-raised), var(--color-surface-solid)); box-shadow: inset 0 0 0 2px var(--color-tint-link-strong), 0 10px 30px rgba(0,0,0,.5); min-width: 0; }
.gt-crew .pc.host { box-shadow: inset 0 0 0 2px var(--color-action-link), 0 10px 30px rgba(0,0,0,.5); }
.gt-crew .pc.dim { opacity: .45; }
.gt-crew .pc .tx { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.gt-crew .nm { font-family: var(--font-display); font-size: 24px; color: var(--color-text-primary); letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gt-crew .sb { font-size: 16px; color: var(--color-text-secondary); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gt-crew .ok { position: absolute; right: 14px; top: 12px; color: var(--color-state-success); }
.gt-crew.n2 .pc, .gt-crew.n3 .pc { height: 128px; padding: 0 28px; gap: 24px; }
.gt-crew.n2 .nm, .gt-crew.n3 .nm { font-size: 30px; } .gt-crew.n2 .sb, .gt-crew.n3 .sb { font-size: 19px; }
.gt-crew.n2, .gt-crew.n3 { top: 836px; }
.gt-crew.n7 .pc { flex-direction: column; justify-content: center; gap: 6px; height: 132px; padding: 0 8px; text-align: center; }
.gt-crew.n7 .pc .tx { align-items: center; max-width: 100%; }
.gt-crew.n7 .nm { font-size: 17px; letter-spacing: .03em; } .gt-crew.n7 .sb { font-size: 13px; }
.gt-crew.n7 .ok { right: 8px; top: 8px; }
.gt-crew.n7 { top: 836px; }

/* leaderboard between rounds (s58) */
.gt-table { left: 72px; right: 72px; top: 170px; display: flex; flex-direction: column; gap: 10px; --rh: 96px; --colw: 74px; animation: dh-in 500ms both; }
.gt-table .th, .gt-table .tr { display: grid; grid-template-columns: 60px 76px minmax(0, 1fr) repeat(var(--cols), var(--colw)) 150px; align-items: center; column-gap: 14px; }
.gt-table .th { height: 44px; padding: 0 24px; }
.gt-table .th .rc { display: flex; justify-content: center; }
.gt-table .th .rc .gt-gi { width: 40px; height: 40px; }
.gt-table .th .rc.todo { opacity: .4; }
.gt-table .th .rc.final .gt-gi { color: var(--color-accent-highlight); }
.gt-table .th .pt { text-align: right; font-family: var(--font-display); font-size: 18px; letter-spacing: .16em; text-transform: uppercase; color: var(--color-text-secondary); }
.gt-table .tr { height: var(--rh); padding: 0 24px; border-radius: 20px; background: rgba(6,18,50,.82); box-shadow: inset 0 0 0 1px rgba(66,155,252,.2); }
.gt-table .tr.lead { background: linear-gradient(90deg, rgba(255,201,60,.16), rgba(6,18,50,.82) 55%); box-shadow: inset 0 0 0 2px var(--color-tint-gold-strong), 0 0 40px rgba(255,201,60,.15); }
.gt-table .tr.gone { opacity: .45; }
.gt-table .pl { font-family: var(--font-display); font-size: 40px; color: var(--color-text-primary); }
.gt-table .tr.lead .pl { color: var(--color-accent-highlight); }
.gt-table .tr > .gt-av { justify-self: center; }
.gt-table .nmw { display: flex; align-items: baseline; gap: 24px; min-width: 0; }
.gt-table .nm { font-family: var(--font-display); font-size: 38px; color: var(--color-text-primary); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; flex: none; max-width: 60%; }
.gt-table .note { font-size: 20px; color: var(--color-text-secondary); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gt-table .note.up { color: var(--color-state-success); }
.gt-table .note.gold { color: var(--color-accent-highlight); font-family: var(--font-display); letter-spacing: .08em; text-transform: uppercase; font-size: 18px; }
.gt-table .tr .rc { height: calc(min(52px, var(--rh) - 20px)); border-radius: 12px; background: rgba(255,255,255,.07); display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-size: 26px; color: var(--color-text-primary); }
.gt-table .tr .rc.win { background: var(--color-tint-gold); color: var(--color-accent-highlight); }
.gt-table .tr .rc.empty { background: none; border: 2px dashed rgba(255,255,255,.1); box-sizing: border-box; }
.gt-table .tr .rc.empty.final { border-color: var(--color-tint-gold-strong); }
.gt-table .tr .pt { text-align: right; font-family: var(--font-display); font-size: 56px; color: var(--color-text-primary); }
.gt-table[style*="--rh:4"] .nm, .gt-table[style*="--rh:5"] .nm { font-size: 26px; }
.gt-table[style*="--rh:4"] .pt, .gt-table[style*="--rh:5"] .pt, .gt-table[style*="--rh:4"] .pl, .gt-table[style*="--rh:5"] .pl { font-size: 30px; }
.gt-next { left: 72px; right: 72px; top: 930px; height: 100px; box-sizing: border-box; display: flex; align-items: center; gap: 22px; padding: 0 30px; border-radius: 22px; background: rgba(6,18,50,.85); box-shadow: inset 0 0 0 2px rgba(255,90,110,.45); }
.gt-next.final { box-shadow: inset 0 0 0 2px var(--color-tint-gold-strong); }
.gt-next.last { box-shadow: inset 0 0 0 2px var(--color-tint-gold-strong); }
.gt-next .tro { color: var(--color-accent-highlight); flex: none; }
.gt-next .gt-gi { width: 60px; height: 60px; --g: 32px; border-radius: 15px; }
.gt-next .tt { min-width: 0; overflow: hidden; text-overflow: ellipsis; flex: none; max-width: 900px; font-family: var(--font-display); font-size: 34px; color: var(--color-text-primary); white-space: nowrap; }
.gt-next .sb { font-size: 22px; color: var(--color-text-secondary); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.gt-next .end { margin-left: auto; display: flex; align-items: center; gap: 10px; font-size: 22px; color: var(--color-accent-highlight); white-space: nowrap; flex: none; }

/* final-round announcement: rings ripple out, "The final" lands, "Double points" stamps, the doubled ladder pops */
.gt-final { left: 0; right: 0; top: 160px; display: flex; flex-direction: column; align-items: center; text-align: center; }
.gt-final .k { font-size: 26px; letter-spacing: .3em; animation: dh-in 500ms 200ms both; }
.gt-final .t1 { margin: 14px 0 0; font-family: var(--font-display); font-weight: 400; font-size: 150px; line-height: 1; color: var(--color-text-primary); text-shadow: 0 0 60px rgba(66,155,252,.45); animation: gt-land 900ms 400ms var(--motion-ease-out) both; }
.gt-final .gm { margin-top: 20px; display: flex; align-items: center; gap: 18px; font-family: var(--font-display); font-size: 44px; color: var(--color-text-primary); animation: dh-in 500ms 1100ms both; }
.gt-final .gm .gt-gi { width: 64px; height: 64px; --g: 36px; border-radius: 16px; }
.gt-final .x2 { margin-top: 22px; font-family: var(--font-display); font-size: 104px; line-height: 1; color: var(--color-accent-highlight); text-shadow: 0 0 50px rgba(255,201,60,.55); animation: gt-stamp 700ms 1500ms var(--motion-ease-out) both; }
.gt-final .lad { margin-top: 30px; display: flex; gap: 14px; }
.gt-final .lad div { width: 104px; padding: 12px 0; border-radius: 14px; background: rgba(6,18,50,.88); box-shadow: inset 0 0 0 2px var(--color-tint-gold-strong); display: flex; flex-direction: column; align-items: center; gap: 4px; animation: gt-pop 500ms calc(2100ms + var(--i) * 90ms) var(--motion-ease-out) both; }
.gt-final .lad span { font-size: 17px; color: var(--color-text-secondary); }
.gt-final .lad b { font-family: var(--font-display); font-weight: 400; font-size: 40px; color: var(--color-accent-highlight); }
.gt-final .ppl { margin-top: 54px; display: flex; gap: 18px; max-width: 1776px; flex-wrap: wrap; justify-content: center; }
.gt-final .pp { display: flex; align-items: center; gap: 14px; padding: 12px 22px 12px 14px; border-radius: 18px; background: rgba(6,18,50,.82); box-shadow: inset 0 0 0 1px rgba(66,155,252,.22); text-align: left; animation: dh-in 400ms calc(2800ms + var(--i) * 80ms) both; }
.gt-final .ppl.n7 .pp { padding: 8px 16px 8px 10px; gap: 10px; }
.gt-final .pp .nm { display: block; font-size: 20px; color: var(--color-text-body); white-space: nowrap; }
.gt-final .pp b { display: block; font-family: var(--font-display); font-weight: 400; font-size: 34px; color: var(--color-text-primary); }
.gt-final .pp.st-lead { box-shadow: inset 0 0 0 2px var(--color-accent-highlight); }
.gt-final .pp.st-can { box-shadow: inset 0 0 0 2px var(--color-tint-success-strong); }
.gt-final .pp.st-miracle { box-shadow: inset 0 0 0 2px var(--color-tint-gold-strong); }
.gt-final .pp.st-out { opacity: .45; }
.gt-final .leg { margin-top: 26px; display: flex; gap: 36px; font-size: 20px; color: var(--color-text-secondary); animation: dh-in 400ms 3400ms both; }
.gt-final .leg span { display: flex; align-items: center; gap: 10px; }
.gt-final .leg i { width: 14px; height: 14px; border-radius: 50%; }
.gt-final .leg .st-lead i { background: var(--color-accent-highlight); } .gt-final .leg .st-can i { background: var(--color-state-success); }
.gt-final .leg .st-miracle i { background: var(--color-tint-gold-strong); } .gt-final .leg .st-out i { background: var(--color-text-secondary); }
@keyframes gt-land { 0% { opacity: 0; transform: scale(1.5); letter-spacing: .2em; } 60% { opacity: 1; } 100% { opacity: 1; transform: none; letter-spacing: 0; } }
@keyframes gt-stamp { 0% { opacity: 0; transform: rotate(-8deg) scale(2.2); } 70% { opacity: 1; transform: rotate(-3deg) scale(.95); } 100% { opacity: 1; transform: rotate(-3deg) scale(1); } }

/* round intro (s57) — one pattern for every game */
.gt-intro { left: 72px; top: 150px; width: 1060px; display: flex; flex-direction: column; gap: 22px; }
.gt-intro .gm { display: flex; align-items: center; gap: 30px; }
.gt-intro h1 { min-width: 0; overflow: hidden; text-overflow: ellipsis; font-family: var(--font-display); font-weight: 400; font-size: 120px; line-height: 1.1; color: var(--color-text-primary); white-space: nowrap; animation: gt-land 800ms 200ms var(--motion-ease-out) both; }
.gt-intro .rl { font-size: 34px; color: var(--color-text-body); animation: dh-in 500ms 700ms both; }
.gt-intro .chips { display: flex; gap: 14px; flex-wrap: wrap; animation: dh-in 500ms 900ms both; }
.gt-intro .pays { display: flex; flex-direction: column; gap: 12px; margin-top: 10px; animation: dh-in 500ms 1100ms both; }
.gt-intro .lad { display: flex; gap: 12px; flex-wrap: wrap; }
.gt-intro .lad div { width: 96px; padding: 10px 0; border-radius: 14px; background: rgba(6,18,50,.82); box-shadow: inset 0 0 0 1px rgba(66,155,252,.25); display: flex; flex-direction: column; align-items: center; gap: 2px; }
.gt-intro .lad span { font-size: 16px; color: var(--color-text-secondary); }
.gt-intro .lad b { font-family: var(--font-display); font-weight: 400; font-size: 34px; color: var(--color-text-primary); }
.gt-intro .lad.x2 div { box-shadow: inset 0 0 0 2px var(--color-tint-gold-strong); }
.gt-intro .lad.x2 b { color: var(--color-accent-highlight); }
.gt-first { left: 1240px; right: 72px; top: 150px; height: 560px; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 16px; text-align: center; animation: dh-in 600ms 1300ms both; }
.gt-first .spot { position: absolute; left: 50%; top: -150px; width: 520px; height: 700px; transform: translateX(-50%); background: linear-gradient(180deg, rgba(255,220,140,.35), rgba(255,201,60,0) 85%); clip-path: polygon(40% 0, 60% 0, 100% 100%, 0 100%); filter: blur(6px); }
.gt-first .gt-av { box-shadow: 0 0 60px rgba(255,201,60,.45); }
.gt-first .tt { position: relative; font-family: var(--font-display); font-size: 40px; color: var(--color-text-primary); }
.gt-first .nt { position: relative; font-size: 22px; color: var(--color-text-secondary); max-width: 520px; }
.gn-tv.settled .gt-intro, .gn-tv.settled .gt-intro *, .gn-tv.settled .gt-first, .gn-tv.settled .gt-final, .gn-tv.settled .gt-final * { animation: none !important; }

/* post-round leaderboard (s57): timeline in src/gamenight-tv.js POST_BEATS */
@property --gt-n { syntax: '<integer>'; inherits: false; initial-value: 0; }
@property --gt-bw { syntax: '<number>'; inherits: false; initial-value: 0; }
.gt-post { left: 72px; right: 72px; top: 150px; height: 700px; --step: 112px; --rh: 100px; }
.gt-post .slots { position: absolute; left: 0; top: 0; display: flex; flex-direction: column; }
.gt-post .slots span { height: var(--rh); margin-bottom: calc(var(--step) - var(--rh)); width: 60px; display: flex; align-items: center; font-family: var(--font-display); font-size: 42px; color: var(--color-text-primary); }
.gt-post .slots span:first-child { color: var(--color-accent-highlight); }
.gt-post .pr { position: absolute; left: 80px; right: 0; top: 0; height: var(--rh); display: grid; grid-template-columns: 64px 300px minmax(0, 1fr) 120px 110px 150px; align-items: center; column-gap: 24px; padding: 0 28px; box-sizing: border-box; border-radius: 20px;
  background: rgba(8,22,58,.97); box-shadow: inset 0 0 0 1px rgba(66,155,252,.22), 0 10px 30px rgba(0,0,0,.35);
  transform: translateY(calc(var(--to) * var(--step))); animation: gt-move 800ms calc(2600ms + var(--k) * 30ms) cubic-bezier(.5, 0, .2, 1) both; z-index: calc(20 - var(--to)); }
.gt-post .pr > .gt-av { justify-self: center; }
.gt-post .pr.lead { animation: gt-move 800ms 2600ms cubic-bezier(.5, 0, .2, 1) both, gt-leadglow 600ms 3800ms both; }
@keyframes gt-move { from { transform: translateY(calc(var(--from) * var(--step))); } to { transform: translateY(calc(var(--to) * var(--step))); } }
@keyframes gt-leadglow { to { background: linear-gradient(90deg, rgba(255,201,60,.18), rgba(6,18,50,.86) 55%); box-shadow: inset 0 0 0 2px var(--color-tint-gold-strong), 0 0 40px rgba(255,201,60,.2); } }
.gt-post .nm { font-family: var(--font-display); font-size: 34px; color: var(--color-text-primary); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gt-post .bar { height: 16px; border-radius: 999px; background: rgba(255,255,255,.07); overflow: hidden; }
.gt-post .bar i { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--color-action-primary), var(--color-action-link)); transform-origin: left;
  transform: scaleX(calc(var(--gt-bw) / var(--max))); --gt-bw: var(--b); animation: gt-bar 1500ms 900ms cubic-bezier(.2, .7, .2, 1) both; }
@keyframes gt-bar { from { --gt-bw: var(--a); } to { --gt-bw: var(--b); } }
.gt-post .add { justify-self: center; padding: 8px 16px; border-radius: 999px; background: var(--color-tint-success); color: var(--color-state-success); font-family: var(--font-display); font-size: 26px; animation: gt-badge 500ms calc(400ms + var(--k) * 120ms) var(--motion-ease-out) both; }
.gt-post .add.zero { background: rgba(255,255,255,.06); color: var(--color-text-secondary); }
@keyframes gt-badge { 0% { opacity: 0; transform: scale(.3); } 60% { opacity: 1; transform: scale(1.2); } 100% { opacity: 1; transform: none; } }
.gt-post .mv { justify-self: center; font-family: var(--font-display); font-size: 24px; animation: dh-in 400ms 3400ms both; }
.gt-post .mv.up { color: var(--color-state-success); } .gt-post .mv.down { color: var(--color-state-danger); }
.gt-post .mv.eq { color: var(--color-text-secondary); font-size: 18px; font-family: var(--font-body); white-space: nowrap; }
.gt-post .tot { justify-self: end; font-family: var(--font-display); font-size: 56px; color: var(--color-text-primary); --gt-n: var(--b); counter-reset: n var(--gt-n); animation: gt-count 1500ms 900ms cubic-bezier(.2, .7, .2, 1) both; }
.gt-post .tot::after { content: counter(n); }
@keyframes gt-count { from { --gt-n: var(--a); } to { --gt-n: var(--b); } }
.gt-post[style*="--rh:4"] .nm, .gt-post[style*="--rh:3"] .nm { font-size: 24px; }
.gt-post[style*="--rh:4"] .tot, .gt-post[style*="--rh:3"] .tot { font-size: 34px; }
.gt-post[style*="--rh:4"] .add, .gt-post[style*="--rh:3"] .add { font-size: 18px; padding: 4px 12px; }
.gt-post[style*="--rh:4"] .slots span, .gt-post[style*="--rh:3"] .slots span { font-size: 28px; }

/* the host is deciding: the crew's votes (tally only; the host decides) */
.gt-ask { left: 72px; top: 150px; width: 1060px; display: flex; flex-direction: column; gap: 22px; }
.gt-ask h1 { font-family: var(--font-display); font-weight: 400; font-size: 84px; line-height: 1.05; color: var(--color-text-primary); }
.gt-ask p { font-size: 30px; color: var(--color-text-secondary); }
.gt-ask .votes { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 18px; }
.gt-vote { position: relative; display: grid; grid-template-columns: 76px minmax(0, 1fr) auto; align-items: center; gap: 20px; padding: 26px 28px 36px; border-radius: 22px; background: rgba(6,18,50,.85); box-shadow: inset 0 0 0 2px color-mix(in srgb, var(--tone) 45%, transparent), 0 16px 40px rgba(0,0,0,.35); }
.gt-vote .ic { width: 76px; height: 76px; border-radius: 18px; display: flex; align-items: center; justify-content: center; color: var(--tone); background: color-mix(in srgb, var(--tone) 16%, transparent); }
.gt-vote .tx { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.gt-vote .tt { font-family: var(--font-display); font-size: 32px; color: var(--color-text-primary); white-space: nowrap; }
.gt-vote .sb { font-size: 20px; color: var(--color-text-secondary); }
.gt-vote .ct { font-family: var(--font-display); font-weight: 400; font-size: 72px; color: var(--tone); }
.gt-vote .bar { position: absolute; left: 28px; right: 28px; bottom: 16px; height: 8px; border-radius: 999px; background: rgba(255,255,255,.07); overflow: hidden; }
.gt-vote .bar i { display: block; height: 100%; background: var(--tone); border-radius: 999px; transition: width 600ms var(--motion-ease-out); }
.gt-ask .gt-note { margin-top: 6px; font-size: 22px; }
.gt-mini { left: 1262px; right: 72px; top: 150px; display: flex; flex-direction: column; gap: 10px; }
/* the bull-off for the title (QA 18b7aa49): the local games' tie panel, larger, under the status line */
.tvbull .gt-ask h1 { font-size: 72px; color: var(--color-accent-highlight); }
.tvbull .tie-bull { max-width: none; padding: 26px 32px; gap: 12px; border-radius: 24px; }
.tvbull .tie-bull__title { font-size: 30px; }
.tvbull .tie-bull__sub { font-size: 26px; }
.tvbull .tie-bull__dart { font-size: 32px; }
.tvbull .tie-bull__status { display: none; }
.gt-mini .gt-eye { margin-bottom: 6px; }
.sr { display: grid; grid-template-columns: 44px 48px minmax(0, 1fr) auto; align-items: center; gap: 16px; height: 72px; padding: 0 20px; border-radius: 16px; background: rgba(6,18,50,.82); box-shadow: inset 0 0 0 1px rgba(66,155,252,.2); }
.sr.lead { background: linear-gradient(90deg, rgba(255,201,60,.16), rgba(6,18,50,.82) 60%); box-shadow: inset 0 0 0 2px var(--color-tint-gold-strong); }
.sr .pl { font-family: var(--font-display); font-size: 28px; color: var(--color-text-primary); }
.sr.lead .pl { color: var(--color-accent-highlight); }
.sr .nm { font-family: var(--font-display); font-size: 24px; color: var(--color-text-primary); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sr .pt { font-family: var(--font-display); font-size: 34px; color: var(--color-text-primary); }

/* podium (s59): places 1–3 on the dartboard rings under the spotlight, 4–6 on the left, the highlights on the right */
.gt-podium { left: 460px; right: 460px; top: 230px; height: 820px; }
.gt-podium .pod { position: absolute; bottom: 0; width: 300px; display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; animation: gt-rise 900ms calc(300ms + (2 - var(--k)) * 350ms) var(--motion-ease-out) both; }
.gt-podium .p1 { left: 50%; transform: translateX(-50%); width: 360px; }
.gt-podium .p2 { left: 0; }
.gt-podium .p3 { right: 0; }
.gt-podium .crown { color: var(--color-accent-highlight); filter: drop-shadow(0 0 20px rgba(255,201,60,.6)); margin-bottom: -6px; }
.gt-podium .p1 > .gt-av { box-shadow: 0 0 0 10px rgba(255,201,60,.18), 0 0 90px rgba(255,201,60,.55); }
.gt-podium .nm { font-family: var(--font-display); font-size: 40px; color: var(--color-text-primary); white-space: nowrap; max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
.gt-podium .p1 .nm { font-size: 54px; }
.gt-podium .sb { font-size: 22px; color: var(--color-text-body); }
.gt-podium .plinth { margin-top: 10px; width: 100%; border-radius: 22px 22px 0 0; display: flex; justify-content: center; padding-top: 16px; box-sizing: border-box; }
.gt-podium .plinth b { font-family: var(--font-display); font-weight: 400; font-size: 76px; line-height: 1; color: var(--color-text-primary); }
.gt-podium .p1 .plinth { height: 220px; background: linear-gradient(180deg, rgba(255,201,60,.38), rgba(255,201,60,.04)); box-shadow: inset 0 2px 0 rgba(255,201,60,.6); }
.gt-podium .p2 .plinth { height: 150px; background: linear-gradient(180deg, rgba(207,214,222,.3), rgba(207,214,222,.03)); box-shadow: inset 0 2px 0 rgba(207,214,222,.5); }
.gt-podium .p3 .plinth { height: 110px; background: linear-gradient(180deg, rgba(208,138,82,.32), rgba(208,138,82,.03)); box-shadow: inset 0 2px 0 rgba(208,138,82,.5); }
@keyframes gt-rise { from { opacity: 0; translate: 0 60px; } to { opacity: 1; translate: 0 0; } }
.gt-rest { left: 72px; top: 170px; width: 340px; display: flex; flex-direction: column; gap: 10px; animation: dh-in 600ms 1600ms both; }
.gt-rest .sr { grid-template-columns: 36px 44px minmax(0, 1fr) auto; height: 64px; }
.gt-hl { right: 72px; top: 170px; width: 360px; display: flex; flex-direction: column; gap: 12px; animation: dh-in 600ms 1900ms both; }
.gt-hl .hl { display: flex; align-items: center; gap: 16px; padding: 16px 20px; border-radius: 16px; background: rgba(6,18,50,.82); box-shadow: inset 0 0 0 1px rgba(66,155,252,.2); }
.gt-hl .hl > svg { color: var(--color-accent-highlight); flex: none; }
.gt-hl .k { display: block; font-size: 17px; color: var(--color-text-secondary); }
.gt-hl .v { display: block; margin-top: 2px; font-size: 24px; color: var(--color-text-primary); }
.gt-bull { left: 50%; transform: translateX(-50%); top: 132px; display: flex; align-items: center; gap: 12px; padding: 12px 24px; border-radius: 999px; background: var(--color-tint-gold); color: var(--color-accent-highlight); font-family: var(--font-display); font-size: 22px; white-space: nowrap; }

/* the strip on a round's own game screens (contract §5.3): a tab hanging from the top edge */
.gn-strip-host { position: absolute; left: 0; right: 0; top: 0; height: 0; z-index: 60; pointer-events: none; }
.gn-strip { position: absolute; left: 50%; top: 0; transform: translateX(-50%); display: flex; align-items: center; gap: 18px; height: 40px; padding: 0 22px; border-radius: 0 0 16px 16px;
  background: rgba(0,9,31,.88); box-shadow: inset 0 -2px 0 rgba(66,155,252,.45), 0 10px 30px rgba(0,0,0,.45); font-family: 'Outfit', 'Archivo', system-ui, sans-serif; text-transform: none; letter-spacing: normal; color: #d1d5d8; white-space: nowrap; }
.gn-strip.final { box-shadow: inset 0 -2px 0 rgba(255,201,60,.6), 0 10px 30px rgba(0,0,0,.45); }
.gn-strip .gs-name { display: flex; align-items: center; gap: 8px; font-family: var(--dh-font-display); font-size: 15px; letter-spacing: .12em; text-transform: uppercase; color: #fff; }
.gn-strip .gs-name svg { color: #ffc93c; }
.gn-strip .gs-round { display: flex; align-items: center; gap: 10px; font-family: var(--dh-font-display); font-size: 15px; color: #429bfc; letter-spacing: .04em; }
.gn-strip.final .gs-round { color: #ffc93c; }
.gn-strip .gs-round b { font-weight: 400; padding: 2px 8px; border-radius: 999px; background: rgba(255,201,60,.14); color: #ffc93c; font-size: 13px; }
.gn-strip .gs-lead, .gn-strip .gs-if { display: flex; align-items: center; gap: 8px; font-size: 16px; }
.gn-strip .gs-if .k { color: #8e98a0; font-size: 14px; }
.gn-strip .gs-if b { font-family: var(--dh-font-display); font-weight: 400; color: #2fd47a; }
.gn-strip .gt-av { position: relative; display: inline-block; width: var(--av); height: var(--av); border-radius: 50%; overflow: hidden; flex: none; background: #122044; }
.gn-strip .gt-av img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gn-strip .gt-av b { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 12px; color: #fff; }
.gn-strip .gt-av.ring-gold::after { content: ''; position: absolute; inset: 0; border-radius: 50%; box-shadow: inset 0 0 0 2px #ffc93c; }

@media (prefers-reduced-motion: reduce) {
  .gn-tv *, .gn-tv .gt-post .pr { animation-duration: 1ms !important; animation-delay: 0ms !important; animation-iteration-count: 1 !important; }
}
.gt-seat.joining .nm { overflow: visible; }

/* Crew names stay whole (fix/gamenight-crew): up to two lines, broken between words, the font stepping down
   (fitText) when a word or a third line wouldn't fit. The seat card keeps two lines' room whatever the name, so every
   row lines up card to card. */
.gt-seat .nm, .gt-crew .nm { white-space: normal; overflow-wrap: normal; word-break: normal; text-overflow: clip; line-height: 1.05; max-height: 2.1em; text-align: center; }
.gt-seat .nm { min-height: 2.1em; display: flex; align-items: center; justify-content: center; }
.gt-crew .nm { text-align: left; }
.gt-seat.guest .av { box-shadow: 0 0 0 4px var(--color-bg-bottom), 0 0 0 6px rgba(255,255,255,.12); }
.gt-seat.guest .sb { color: var(--color-text-secondary); }

/* ── Tonight's line-up (grand walk-on, SPEC-gamenight-grand-walkon §3.7): the player in the spotlight on the board,
      the crew row lighting up along the bottom, never confetti. ── */
.tvlineup [data-p] { position: absolute; inset: 0; }
.tvlineup .lu-open, .tvlineup .lu-close, .tvlineup .lu-row, .tvlineup .lu-cap { position: absolute; }
.tvlineup .lu-open { left: 120px; top: 260px; width: 1000px; animation: gt-slide .6s var(--motion-ease-out) both; }
.tvlineup .lu-open h1, .tvlineup .lu-close h1 { margin: 10px 0 18px; font-family: var(--font-display); font-weight: 400; font-size: 112px; line-height: 1; color: var(--color-text-primary); }
.tvlineup .lu-open p { margin: 0; font-size: 34px; color: var(--color-text-secondary); }
.tvlineup .lu-close { left: 120px; top: 300px; width: 1100px; animation: gt-slide .5s var(--motion-ease-out) both; }
.tvlineup .lu-next { display: inline-block; padding: 12px 26px; border-radius: 999px; background: var(--color-tint-gold); border: 2px solid var(--color-tint-gold-strong); font-size: 32px; color: var(--color-accent-highlight); }
.tvlineup .lu-card { left: 0; top: 0; width: 1920px; height: 860px; }
.tvlineup .lu-who { position: absolute; left: 120px; top: 250px; width: 1160px; animation: gt-slide .55s var(--motion-ease-out) both; }
/* The whole name, always (owner 2026-10-23): one line, else two (balanced), shrunk to fit (gamenight-parts.js fitFull). */
.tvlineup .lu-name { margin: 6px 0 10px; font-family: var(--font-display); font-weight: 400; font-size: 120px; line-height: 1.02; color: var(--color-text-primary); white-space: nowrap; overflow: hidden; max-height: 2.3em; text-wrap: balance; overflow-wrap: normal; }
.tvlineup .lu-nick { display: flex; flex-direction: column; gap: 4px; margin-top: 8px; }
.tvlineup .lu-nick b { font-family: var(--font-display); font-weight: 400; font-size: 46px; line-height: 1.05; color: var(--color-accent-highlight); }
.tvlineup .lu-nick i { font-style: normal; font-size: 26px; letter-spacing: .06em; text-transform: uppercase; color: var(--color-text-secondary); }
.tvlineup.tier-headliner .lu-name { color: var(--color-accent-highlight); }
.tvlineup .lu-sub { display: block; font-size: 34px; color: var(--color-text-secondary); margin-bottom: 34px; }
.tvlineup .lu-chips { display: flex; gap: 22px; }
.tvlineup .lu-chip { display: flex; flex-direction: column; gap: 6px; min-width: 200px; padding: 18px 26px; border-radius: 22px; background: var(--color-surface-raised); border: 2px solid rgba(255, 255, 255, .08); opacity: 0; animation: gt-slide .45s var(--motion-ease-out) forwards; }
.tvlineup .lu-chip:nth-child(1) { animation-delay: .9s; }
.tvlineup .lu-chip:nth-child(2) { animation-delay: 1.3s; }
.tvlineup .lu-chip:nth-child(3) { animation-delay: 1.7s; }
.tvlineup .lu-chip b { font-family: var(--font-display); font-weight: 400; font-size: 56px; line-height: 1; color: var(--color-text-primary); }
.tvlineup .lu-chip span { font-size: 22px; letter-spacing: .08em; text-transform: uppercase; color: var(--color-text-secondary); }
.tvlineup .lu-chip.gold { background: var(--color-tint-gold); border-color: var(--color-tint-gold-strong); }
.tvlineup .lu-chip.gold b { color: var(--color-accent-highlight); }
.tvlineup .lu-chip.first span { font-family: var(--font-display); font-size: 30px; color: var(--color-accent-highlight); letter-spacing: .04em; }
.tvlineup .lu-spot { position: absolute; left: 1495px; top: 560px; transform: translate(-50%, -50%); animation: gt-pop .6s var(--motion-ease-out) both; }
.tvlineup .lu-spot .gt-av { box-shadow: 0 0 0 10px rgba(255, 201, 60, .35), 0 0 120px rgba(255, 201, 60, .45); }
.tvlineup .lu-lv { position: absolute; right: -6px; bottom: 6px; min-width: 76px; height: 76px; padding: 0 10px; border-radius: 38px; display: flex; align-items: center; justify-content: center;
  background: var(--color-accent-highlight); color: #10131c; font-family: var(--font-display); font-size: 34px; }
.tvlineup.champ .lu-name { color: var(--color-accent-highlight); }
.tvlineup .lu-row { left: 120px; right: 120px; bottom: 150px; margin: 0; padding: 0; list-style: none; display: flex; gap: 28px; }
.tvlineup .lu-row li { flex: 1 1 0; display: flex; flex-direction: column; align-items: center; gap: 10px; min-width: 0; transition: opacity .4s, filter .4s; }
.tvlineup .lu-row li .nm { width: 100%; font-size: 24px; line-height: 1.15; text-align: center; color: var(--color-text-secondary); white-space: nowrap; overflow: hidden; max-height: 2.3em; text-wrap: balance; }
.tvlineup .lu-row li.wait { opacity: .35; filter: grayscale(1) brightness(.5); }
.tvlineup .lu-row li.wait .nm { visibility: hidden; }
.tvlineup .lu-row li.on .nm { color: var(--color-accent-highlight); }
.tvlineup .lu-row li.out .nm { color: var(--color-text-primary); }
.tvlineup .lu-cap { left: 120px; right: 120px; bottom: 50px; height: 64px; display: flex; align-items: center; gap: 30px; }
.tvlineup .lu-mic { font-size: 22px; letter-spacing: .12em; text-transform: uppercase; color: var(--color-text-secondary); white-space: nowrap; }
.tvlineup .lu-line { flex: 1; margin: 0; font-size: 34px; color: var(--color-text-primary); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tvlineup .lu-line em { font-style: normal; font-family: var(--font-display); color: var(--color-accent-highlight); }
.tvlineup .lu-meter { display: flex; gap: 6px; align-items: flex-end; height: 40px; }
.tvlineup .lu-meter i { width: 10px; height: 100%; border-radius: 3px; background: rgba(255, 255, 255, .12); }
.tvlineup .lu-meter i:nth-child(odd) { height: 70%; }
.tvlineup .lu-meter i.lit { background: var(--color-accent-highlight); }
.tvlineup .lu-count { font-size: 26px; color: var(--color-text-secondary); white-space: nowrap; }
.tvlineup.champ .gt-hero .segs { opacity: 1; filter: saturate(1.4) brightness(1.2); }

/* ── Game Night (SPEC-party-night-screens.md, approved 2026-10-16): the home + the board games' round intros on the
      locked party lobby (SPEC-party-join-screen.md). Each screen's photo sits behind everything with the lobby's two
      masks; the crew band runs in throw order. Screens: src/screens/gn-join.js (home), gn-intro.js (round intro). ── */
.gn-tv.pn-killer { background: radial-gradient(ellipse 70% 62% at 50% 40%, #2a0f2e 0%, #0d0a2c 48%, var(--color-bg-bottom) 100%); }
.gn-tv.tvpn { --pn-red: #ff8a8a; }
.pn-photo { left: 0; right: 0; top: 300px; height: 780px; pointer-events: none; background-repeat: no-repeat; background-size: 2100px auto;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, rgba(0,0,0,.12) 14%, rgba(0,0,0,.3) 30%, #000 50%, #000 64%, rgba(0,0,0,.35) 80%, transparent 94%), linear-gradient(90deg, transparent 0%, rgba(0,0,0,.08) 14%, rgba(0,0,0,.45) 30%, #000 52%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(180deg, transparent 0%, rgba(0,0,0,.12) 14%, rgba(0,0,0,.3) 30%, #000 50%, #000 64%, rgba(0,0,0,.35) 80%, transparent 94%), linear-gradient(90deg, transparent 0%, rgba(0,0,0,.08) 14%, rgba(0,0,0,.45) 30%, #000 52%);
  mask-composite: intersect; }
.pn-photo.k-party-home { background-image: url(img/partynight/party-home.webp); background-position: -230px -126px; }
.pn-photo.k-x01 { background-image: url(img/partynight/x01.webp); background-position: -150px -395px; }
.pn-photo.k-cricket { background-image: url(img/partynight/cricket.webp); background-position: -180px -302px; }
.pn-photo.k-shanghai { background-image: url(img/partynight/shanghai.webp); background-position: -160px -212px; }
.pn-photo.k-bermuda { background-image: url(img/partynight/bermuda.webp); background-position: -200px -288px; }
.pn-photo.k-clock { background-image: url(img/partynight/clock.webp); background-position: -120px -267px; }
/* Elimination + Killer: a taller layer and the fast vertical mask (the king, the hat and face must show). */
.pn-photo.k-elimination, .pn-photo.k-killer { top: 160px; height: 920px;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, rgba(0,0,0,.3) 14%, rgba(0,0,0,.85) 26%, #000 34%, #000 66%, rgba(0,0,0,.35) 82%, transparent 94%), linear-gradient(90deg, transparent 0%, rgba(0,0,0,.08) 14%, rgba(0,0,0,.45) 30%, #000 52%);
  mask-image: linear-gradient(180deg, transparent 0%, rgba(0,0,0,.3) 14%, rgba(0,0,0,.85) 26%, #000 34%, #000 66%, rgba(0,0,0,.35) 82%, transparent 94%), linear-gradient(90deg, transparent 0%, rgba(0,0,0,.08) 14%, rgba(0,0,0,.45) 30%, #000 52%); }
.pn-photo.k-elimination { background-image: url(img/partynight/elimination.webp); background-size: 1700px auto; background-position: 220px -19px; }
.pn-photo.k-killer { background-image: url(img/partynight/killer.webp); background-size: 2300px auto; background-position: -380px 7px; }

.tvpn .gt-qrcap .gt-eye { color: var(--color-text-body); }
.gn-tv .gt-eye.red { color: var(--pn-red); }
.gt-pitch.pn h1 { white-space: nowrap; overflow: hidden; }
.gt-chip.red { background: rgba(251, 97, 97, .16); color: var(--pn-red); }
.gt-card.pn .pi { flex: none; width: 64px; height: 64px; display: block; }
.gt-card.pn .pi svg { display: block; }
.gt-card.pn .tt { line-height: 1.15; }
.pn-ic .sb { stroke: var(--color-action-link); } .pn-ic .sg { stroke: var(--color-accent-highlight); }
.pn-ic .sw { stroke: var(--color-text-primary); } .pn-ic .sr { stroke: var(--color-state-danger); }
.pn-ic .fb { fill: var(--color-action-link); } .pn-ic .fg { fill: var(--color-accent-highlight); }
.pn-ic .fw { fill: var(--color-text-primary); } .pn-ic .fr { fill: var(--color-state-danger); }

/* the band: one 262×186 card per player, 300 apart, centred (six fill the row from x 72), in throw order */
.gt-seats.pnband { left: 0; right: 0; display: flex; justify-content: center; gap: 24px; }
.gt-seats.pnband .gt-seat { flex: none; width: 276px; }
.gt-seat.pn .cd { padding-top: 14px; gap: 6px; box-shadow: inset 0 0 0 2px rgba(66,155,252,.35), 0 10px 30px rgba(0,0,0,.5); }
.gt-seat.pn.killer .cd { box-shadow: inset 0 0 0 2px rgba(251,97,97,.35), 0 10px 30px rgba(0,0,0,.5); }
.gt-seat.pn.first .cd { box-shadow: inset 0 0 0 3px var(--color-accent-highlight), 0 0 50px rgba(255,201,60,.35); }
.gt-seat.pn .av { box-shadow: 0 0 0 4px var(--color-bg-bottom), 0 0 0 6px rgba(255,255,255,.2); }
.gt-seat.pn.first .av { box-shadow: 0 0 0 4px var(--color-bg-bottom), 0 0 0 7px var(--color-accent-highlight); }
.gt-seat.pn.first .tag { color: var(--color-accent-highlight); }
.gt-seat.pn .sb.pts { font-family: var(--font-display); font-size: 20px; line-height: 1; color: var(--color-text-primary); }
.gt-seat.pn .sb.pts.lead { color: var(--color-accent-highlight); }
.gt-seat.pn .sb.kl { display: flex; align-items: center; gap: 12px; overflow: visible; }
.gt-seat.pn .dbl { font-family: var(--font-display); font-weight: 400; font-size: 20px; line-height: 1; padding: 4px 10px; border-radius: 8px; background: rgba(255,201,60,.16); color: var(--color-accent-highlight); }
.gt-seat.pn .lives { display: flex; gap: 4px; }
.gt-seat.pn .pn-heart { display: block; fill: var(--color-state-danger); }
.gt-seat.pn .sb.pick { font-family: var(--font-display); font-size: 18px; line-height: 1.4; color: var(--color-action-link); animation: gt-live 1.4s ease-in-out infinite; }

/* entrances on a round intro (the same beats as the intro they replace: all in by ~1.5 s; the caller starts at 0.6 s) */
.tvpn:not(.tvjoin) .gt-pitch .gt-eye { animation: dh-in 400ms 100ms both; }
.tvpn:not(.tvjoin) .gt-pitch h1 { animation: gt-slide 700ms 200ms var(--motion-ease-out) both; }
.tvpn:not(.tvjoin) .gt-pitch p { animation: dh-in 500ms 700ms both; }
.tvpn:not(.tvjoin) .gt-pitch .chips { animation: dh-in 500ms 900ms both; }
.tvpn:not(.tvjoin) .gt-pitch .cards { animation: dh-in 500ms 1100ms both; }
.tvpn:not(.tvjoin) .pnband .gt-seat { animation: gt-rise 500ms calc(1000ms + var(--i, 0) * 80ms) var(--motion-ease-out) both; }
.gn-tv.settled.tvpn .gt-pitch, .gn-tv.settled.tvpn .gt-pitch *, .gn-tv.settled.tvpn .pnband .gt-seat { animation: none !important; }

/* ── The table between games (screens/gn-table.js; frames Party-Cards-*): the post-leg stats layout ─────────────── */
.gn-tv.tvband { background: radial-gradient(ellipse 80% 70% at 60% 20%, #0b2a6e 0%, #03123a 50%, #00091f 100%); }
.gn-tv.tvband .gnb-bg { inset: 0; background: url(img/partynight/party-home.webp) no-repeat -230px -200px / 2100px auto; opacity: .38; pointer-events: none;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, rgba(0,0,0,.4) 22%, transparent 34%), linear-gradient(90deg, transparent 0%, #000 60%); -webkit-mask-composite: source-in;
  mask-image: linear-gradient(180deg, #000 0%, rgba(0,0,0,.4) 22%, transparent 34%), linear-gradient(90deg, transparent 0%, #000 60%); mask-composite: intersect; }
.gn-tv .gnb-head { left: 72px; right: 72px; top: 44px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.gnb-head .tt { display: flex; align-items: baseline; gap: 28px; min-width: 0; }
.gnb-head .gm { font-family: var(--font-display); font-size: 52px; line-height: 1; color: #fff; letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; }
.gnb-head .eye { font-family: var(--font-display); font-size: 20px; letter-spacing: .16em; text-transform: uppercase; color: #8e98a0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gnb-head .room { flex: none; display: inline-flex; align-items: center; height: 48px; padding: 0 24px; border-radius: 999px; background: rgba(0,9,31,.5); border: 1px solid rgba(66,155,252,.35); font-family: var(--font-display); font-size: 18px; letter-spacing: .1em; color: #429bfc; }

.gn-tv .gnb-table { left: 72px; right: 72px; top: 150px; height: 602px; }
/* The round result (BAND_BEATS, frame Party-Table-Anim): each row sits in its new slot and plays in from the old one.
   Every base style is the end state, so reduced motion (animation: none) shows the settled table. */
@property --gnb-g { syntax: '<number>'; inherits: true; initial-value: 0; }
@property --gnb-n { syntax: '<integer>'; inherits: false; initial-value: 0; }
.gnb-row { position: absolute; left: 0; right: 0; top: calc(var(--to) * var(--pitch, 102px)); --gnb-g: 0;
  display: grid; grid-template-columns: 80px 76px minmax(0, 1fr) 150px 200px 200px; align-items: center; gap: 20px; height: 92px; padding: 0 28px; border-radius: 20px; box-sizing: border-box;
  background: linear-gradient(90deg, rgba(255,201,60,calc(.2 * var(--gnb-g))), rgba(255,201,60,calc(.04 * var(--gnb-g)))), #08173c;
  border: 1px solid color-mix(in srgb, rgba(255,201,60,.7) calc(var(--gnb-g) * 100%), rgba(66,155,252,.22));
  box-shadow: 0 0 50px rgba(255,201,60,calc(.16 * var(--gnb-g))); }
.gnb-row.lead { --gnb-g: 1; }
/* Rows cross as they slide: solid, and the climbers pass over the rest. */
.gnb-row { z-index: 1; } .gnb-row.climbs { z-index: 3; } .gnb-row.gold-in { z-index: 4; }
.gnb-row.gold-out { --gnb-g: 0; }
.gnb-row.moves { animation: gnb-slide 900ms cubic-bezier(.65,0,.25,1) 4000ms both; }
.gnb-row.gold-in { animation: gnb-gold 500ms ease-out 4000ms both; }
.gnb-row.gold-out { animation: gnb-ungold 500ms ease-out 4000ms both; }
.gnb-row.moves.gold-in { animation: gnb-slide 900ms cubic-bezier(.65,0,.25,1) 4000ms both, gnb-gold 500ms ease-out 4000ms both; }
.gnb-row.moves.gold-out { animation: gnb-slide 900ms cubic-bezier(.65,0,.25,1) 4000ms both, gnb-ungold 500ms ease-out 4000ms both; }
@keyframes gnb-slide { from { transform: translateY(calc((var(--from) - var(--to)) * var(--pitch, 102px))) } to { transform: none } }
@keyframes gnb-gold { from { --gnb-g: 0 } to { --gnb-g: 1 } }
@keyframes gnb-ungold { from { --gnb-g: 1 } to { --gnb-g: 0 } }
.gnb-row .rk { display: grid; justify-items: center; font-family: var(--font-display); font-size: 44px; color: color-mix(in srgb, #ffc93c calc(var(--gnb-g) * 100%), #fff); }
.gnb-row .rk b { grid-area: 1 / 1; font-weight: 400; }
.gnb-row .rk b.was { opacity: 0; animation: gnb-out 200ms 4000ms both; }
.gnb-row .rk b.now { animation: gnb-in 200ms 4000ms both; }
.gnb-row .gt-av { box-shadow: 0 0 0 4px #00091f, 0 0 0 calc(6px + var(--gnb-g) * 1px) color-mix(in srgb, #ffc93c calc(var(--gnb-g) * 100%), rgba(255,255,255,.2)); }
.gnb-row .nm { font-family: var(--font-display); font-size: 32px; color: #fff; letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gnb-row .mv { font-family: var(--font-display); font-size: 22px; animation: gnb-in 400ms 4000ms both; }
.gnb-row .mv.up { color: #2fd47a; } .gnb-row .mv.down { color: #fb6161; } .gnb-row .mv.eq { color: #5d6873; }
.gnb-row .plus-w { display: grid; align-items: center; }
.gnb-row .plus-w > * { grid-area: 1 / 1; justify-self: start; }
.gnb-row .plus { display: inline-flex; align-items: center; height: 42px; padding: 0 16px; border-radius: 12px; background: rgba(1,76,253,.22); color: #7fbcff; font-family: var(--font-display); font-size: 20px; white-space: nowrap; animation: gnb-in 400ms 5000ms both; }
.gnb-row .gain { display: inline-flex; align-items: center; gap: 10px; height: 46px; padding: 0 16px; border-radius: 12px; background: #014cfd; color: #fff; font-family: var(--font-display); font-size: 22px; white-space: nowrap; box-shadow: 0 0 24px rgba(1,76,253,.6);
  opacity: 0; animation: gnb-gain 1800ms linear 1200ms both; }
.gnb-row .gain small { font-family: var(--font-body); font-size: 15px; opacity: .85; }
@keyframes gnb-gain {
  0% { opacity: 0; transform: scale(.4); animation-timing-function: cubic-bezier(.2,1.6,.4,1) }
  25% { opacity: 1; transform: scale(1) }
  66.7% { opacity: 1; transform: scale(1); animation-timing-function: ease-in }
  100% { opacity: 0; transform: translateX(160px) scale(.5) }
}
.gnb-row .tot { display: flex; align-items: baseline; justify-content: flex-end; gap: 10px; }
.gnb-row .tot .ct { font-family: var(--font-display); font-weight: 400; font-size: 52px; color: color-mix(in srgb, #ffc93c calc(var(--gnb-g) * 100%), #fff);
  --gnb-n: var(--b); counter-reset: gnbn var(--gnb-n); display: inline-block; transform-origin: right center;
  animation: gnb-count 1100ms cubic-bezier(.2,.7,.2,1) 2400ms both, gnb-bump 500ms ease-out 3500ms both; }
.gnb-row .tot .ct::after { content: counter(gnbn); }
@keyframes gnb-count { from { --gnb-n: var(--a) } to { --gnb-n: var(--b) } }
@keyframes gnb-bump { 0% { transform: scale(1) } 40% { transform: scale(1.18) } 100% { transform: scale(1) } }
.gnb-row .tot i { font-family: var(--font-display); font-style: normal; font-size: 18px; color: #8e98a0; text-transform: uppercase; }
@keyframes gnb-in { from { opacity: 0 } to { opacity: 1 } }
@keyframes gnb-out { from { opacity: 1 } to { opacity: 0 } }
@media (prefers-reduced-motion: reduce) {
  .gn-tv.tvband .gnb-row, .gn-tv.tvband .gnb-row * { animation: none !important; }
}

.gn-tv .gnb-card { left: 72px; right: 72px; top: 790px; height: 262px; box-sizing: border-box; border-radius: 24px; background: rgba(6,18,50,.82); border: 1px solid rgba(66,155,252,.22); overflow: hidden; }
.gnb-card > * { position: absolute; }
.gnb-cardtop { left: 28px; right: 28px; top: 20px; display: flex; align-items: center; justify-content: space-between; }
.gnb-cardtop .tag { display: inline-flex; align-items: center; height: 32px; padding: 0 12px; border-radius: 8px; font-family: var(--font-display); font-size: 14px; letter-spacing: .12em; text-transform: uppercase; }
.gnb-cardtop .tag.gold { background: rgba(255,201,60,.18); color: #ffc93c; }
.gnb-cardtop .tag.blue { background: rgba(1,76,253,.25); color: #7fbcff; }
.gnb-cardtop .tag.purple { background: rgba(180,140,255,.18); color: #b48cff; }
.gnb-cardtop .dots { display: flex; gap: 8px; }
.gnb-cardtop .dots i { width: 10px; height: 8px; border-radius: 4px; background: rgba(209,213,216,.3); }
.gnb-cardtop .dots i.on { width: 34px; background: #ffc93c; }
.gnb-bar { left: 0; bottom: 0; height: 5px; width: 100%; background: #ffc93c; transform-origin: left; }
.gnb-bar.run { animation: gnb-fill var(--left, 7s) linear both; }
@keyframes gnb-fill { from { transform: scaleX(var(--p0, 0)) } to { transform: scaleX(1) } }

.gnb-last { left: 28px; right: 28px; top: 72px; display: grid; grid-template-columns: 520px repeat(3, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.gnb-last.solo { grid-template-columns: 640px; }
.gnb-hero { display: flex; align-items: center; gap: 20px; padding: 16px 22px; border-radius: 18px; background: linear-gradient(90deg, rgba(255,201,60,.18), rgba(255,201,60,.04)); border: 1px solid rgba(255,201,60,.65); min-width: 0; }
.gnb-hero .gt-av { box-shadow: 0 0 0 4px #061232, 0 0 0 7px #ffc93c; }
.gnb-hero .tx { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.gnb-hero .k { font-family: var(--font-display); font-size: 16px; letter-spacing: .12em; color: #ffc93c; text-transform: uppercase; }
.gnb-hero .nm { font-family: var(--font-display); font-size: 40px; line-height: 1; color: #fff; text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gnb-hero .ln { font-size: 19px; color: #c3cad1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gnb-chip { display: flex; flex-direction: column; gap: 8px; padding: 18px 22px; border-radius: 18px; background: rgba(0,9,31,.45); border: 1px solid rgba(209,213,216,.12); min-width: 0; }
.gnb-chip .k { font-family: var(--font-display); font-size: 14px; letter-spacing: .12em; color: #8e98a0; text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gnb-chip .v { font-family: var(--font-display); font-size: 44px; color: #fff; line-height: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gnb-chip .who { display: flex; align-items: center; gap: 10px; min-width: 0; font-size: 19px; color: #c3cad1; }
.gnb-chip .who span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.gnb-tiles { left: 28px; right: 28px; top: 72px; display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); gap: 16px; }
.gnb-tile { display: flex; flex-direction: column; gap: 10px; padding: 18px 20px; border-radius: 18px; background: rgba(0,9,31,.45); border: 1px solid rgba(209,213,216,.12); box-sizing: border-box; min-width: 0; }
.gnb-tile.done { border-color: rgba(58,210,78,.45); }
.gnb-tile.next { border-color: #429bfc; background: rgba(1,76,253,.16); box-shadow: 0 0 0 1px #429bfc, 0 0 30px rgba(1,76,253,.35); }
.gnb-tile.later { opacity: .55; }
.gnb-tile .top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.gnb-tile .no { font-family: var(--font-display); font-size: 15px; letter-spacing: .12em; color: #8e98a0; text-transform: uppercase; white-space: nowrap; }
.gnb-tile .st { font-family: var(--font-display); font-size: 13px; letter-spacing: .1em; color: #8e98a0; text-transform: uppercase; white-space: nowrap; }
.gnb-tile.done .st { color: #3ad24e; } .gnb-tile.next .st { color: #7fbcff; }
.gnb-tile .gm { font-family: var(--font-display); font-size: 30px; color: #fff; line-height: 1; text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gnb-tile .ln { display: flex; align-items: center; gap: 10px; min-height: 36px; font-size: 19px; color: #c3cad1; min-width: 0; }
.gnb-tile .ln span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gnb-tile .gt-av { box-shadow: 0 0 0 2px #061232, 0 0 0 4px #3ad24e; }
.gnb-tile.final.later .ln span { color: #ffc93c; }

.gnb-quote { left: 28px; right: 28px; top: 62px; bottom: 24px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; text-align: center; }
.gnb-quote .mark { font-family: var(--font-display); font-size: 96px; line-height: .6; color: #429bfc; opacity: .6; }
.gnb-quote .q { font-family: var(--font-display); font-size: 46px; color: #fff; line-height: 1.1; max-width: 1400px; }
.gnb-quote .by { font-size: 22px; color: #8e98a0; }
@media (prefers-reduced-motion: reduce) { .gnb-bar.run { animation-duration: .01ms; } }

/* ── The cold open: the host of the night (SCRIPT-gamenight-host-open.md; made lean 2026-10-23): the GAME NIGHT
      opener (lights down, the host's hello over it) → the night's summary (N games tonight, the games, the final ×2) →
      "Let's meet them" on its tail, light floods in as the crowd erupts → the line-up. The caption of what the host
      says along the bottom. Never confetti. Screen: gn-open.js ── */
.gn-tv.tvopen { background: radial-gradient(ellipse 60% 50% at 50% 46%, #0b1d52 0%, #030a22 55%, #01040f 100%); }
.gn-tv.tvopen.s-summary { background: radial-gradient(ellipse 70% 60% at 50% 40%, #0c2463 0%, #041038 55%, #01061a 100%); }
.tvopen h1, .tvopen h2 { font-family: var(--font-display); font-weight: 400; color: var(--color-text-primary); margin: 0; }
@keyframes go-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes go-glow { from { opacity: 0; filter: blur(12px); } to { opacity: 1; filter: none; } }
@keyframes go-count { 0% { opacity: 0; transform: scale(1.6); } 60% { opacity: 1; transform: scale(.94); } 100% { opacity: 1; transform: none; } }

/* the board's rings behind the opener */
.tvopen .go-rings { left: 50%; top: 50%; width: 0; height: 0; }
.tvopen .go-rings i { position: absolute; left: 0; top: 0; border-radius: 50%; border: 2px solid rgba(90, 140, 255, .14); transform: translate(-50%, -50%); }
.tvopen .go-rings i:nth-child(1) { width: 900px; height: 900px; border-color: rgba(90, 140, 255, .10); }
.tvopen .go-rings i:nth-child(2) { width: 620px; height: 620px; }
.tvopen .go-rings i:nth-child(3) { width: 340px; height: 340px; border-color: rgba(90, 140, 255, .18); }

/* 1 · the opener: lights down, GAME NIGHT (the host says hello over it) */
.tvopen .go-dark { inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 28px; }
.tvopen .go-dark .ey { font-family: var(--font-display); font-size: 34px; letter-spacing: 14px; text-transform: uppercase; color: rgba(150, 180, 255, .75); animation: go-fade 1.2s .3s both; }
.tvopen .go-dark h1 { font-size: 168px; line-height: 1; letter-spacing: 6px; text-transform: uppercase; text-shadow: 0 0 40px rgba(60, 120, 255, .75), 0 0 120px rgba(40, 90, 255, .45); animation: go-glow 1.8s .5s both; }
.tvopen .go-dark .bar { width: 120px; height: 4px; border-radius: 2px; background: var(--color-accent-highlight); box-shadow: 0 0 24px rgba(245, 192, 67, .7); animation: go-fade 1s 1.4s both; }

/* 2 · the summary: N GAMES TONIGHT, the games in order, FINAL · DOUBLE POINTS */
.tvopen .go-sum { left: 120px; right: 120px; top: 120px; bottom: 220px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 36px; }
.tvopen .go-count { display: flex; flex-direction: column; align-items: center; gap: 4px; animation: go-count .7s var(--motion-ease-out) both; }
.tvopen .go-count b { font-family: var(--font-display); font-weight: 400; font-size: 240px; line-height: 1; color: var(--color-text-primary); text-shadow: 0 0 40px rgba(60, 120, 255, .6); }
.tvopen .go-count span { font-family: var(--font-display); font-size: 52px; letter-spacing: 10px; text-transform: uppercase; color: #7fa6ff; }
.tvopen .go-games { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 20px; max-width: 1680px; }
.tvopen .go-game, .tvopen .go-x2 { height: 72px; padding: 0 32px 0 22px; border-radius: 36px; display: inline-flex; align-items: center; gap: 12px; opacity: 0; animation: go-fade .4s forwards; }
.tvopen .go-game { background: rgba(20, 48, 120, .7); border: 2px solid rgba(127, 166, 255, .45); font-size: 30px; font-weight: 700; color: var(--color-text-primary); }
.tvopen .go-game:nth-child(1) { animation-delay: .5s; } .tvopen .go-game:nth-child(2) { animation-delay: .75s; } .tvopen .go-game:nth-child(3) { animation-delay: 1s; }
.tvopen .go-game:nth-child(4) { animation-delay: 1.25s; } .tvopen .go-game:nth-child(5) { animation-delay: 1.5s; } .tvopen .go-game:nth-child(n+6) { animation-delay: 1.75s; }
.tvopen .go-x2 { padding: 0 32px; background: rgba(245, 192, 67, .14); border: 2px solid var(--color-accent-highlight); font-family: var(--font-display); font-size: 24px; letter-spacing: 3px; text-transform: uppercase; color: var(--color-accent-highlight); animation-delay: 2s; }

/* 3 · "Let's meet them": the summary stays, light floods in from both sides as the crowd erupts */
.tvopen .go-beams { inset: 0; }
.tvopen .go-beams i { position: absolute; top: 0; width: 900px; height: 1080px; animation: go-fade .5s both; }
.tvopen .go-beams i:first-child { left: -200px; background: linear-gradient(200deg, rgba(160, 200, 255, .28) 0%, rgba(160, 200, 255, 0) 70%); clip-path: polygon(60% 0, 80% 0, 100% 100%, 0 100%); }
.tvopen .go-beams i:last-child { right: -200px; background: linear-gradient(160deg, rgba(160, 200, 255, .28) 0%, rgba(160, 200, 255, 0) 70%); clip-path: polygon(20% 0, 40% 0, 100% 100%, 0 100%); }

/* what the host says */
.tvopen .go-cap { left: 0; right: 0; bottom: 56px; display: flex; justify-content: center; }
.tvopen .go-cap p { max-width: 1500px; padding: 18px 36px; border-radius: 16px; background: rgba(2, 8, 30, .72); font-size: 34px; line-height: 1.35; text-align: center; color: var(--color-text-primary); animation: go-fade .4s .25s both; }
.tvopen .go-cap.empty { display: none; }

/* No motion asked for (the OS setting): the beats cut, nothing slides or glows in. */
.tvopen.still *, .tvopen.still { animation: none !important; transition: none !important; }
.tvopen.still .go-game, .tvopen.still .go-x2 { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  .tvopen *, .tvopen { animation: none !important; transition: none !important; }
  .tvopen .go-game, .tvopen .go-x2 { opacity: 1; }
}
