/* ShowNight: huisstijl (zoals de website), glas, licht en beweging voor alle schermen. */
:root {
  /* Een moderne tv-studio bij nacht: diep indigo, gekleurd licht dat beweegt, panelen van mat glas met fijne korrel.
     Manrope draagt alles. */
  /* Nieuwe stijl (zoals de website): diep indigo als ondergrond; paars, roze en blauw als licht; wit; één felroze hoofdknop met gloed.
     Goud alleen voor winnen: het goede antwoord, de koploper en de medailles. */
  --bg: #120A38; --bg-2: #190F4A; --surface: #21155A; --night: #0B0626;
  --void: #0B0626; --stage: #120A38; --dark: #FFFFFF; --on-light: #1C1433;
  --text-2: #E4DCFA;
  /* Oude namen blijven werken: --orange is nu het accent (roze), --champagne de secundaire tekst */
  --orange: var(--pink); --orange-hi: var(--pink-hi); --orange-lo: var(--pink-lo); --champagne: var(--text-2); --warn: #FF9A2E;
  --pink: #EC1C87; --pink-hi: #FF6EB4; --pink-lo: #C90F6E; --hl: 255, 79, 168; --hl-hi: 255, 194, 225;
  --purple-lt: #B79BFF; --blue-lt: #7FA6FF;
  --cta: linear-gradient(135deg, #FF4FA8 0%, #EC1C87 50%, #C41BD2 100%);
  --cta-glow: inset 0 0 0 1px rgba(255, 255, 255, .2), 0 12px 30px -10px rgba(236, 28, 135, .95), 0 0 44px -12px rgba(255, 79, 168, .85);
  /* De vier antwoordkleuren (A paars, B blauw, C oranje, D magenta) */
  --purple: #6A35F0; --purple-hi: #7C4DFF; --purple-lo: #2A0F78;
  --blue: #1557E0; --blue-hi: #3D7BFF; --blue-lo: #07256E;
  --ans-c: #D9730B; --ans-c-hi: #FF9A2E; --ans-c-lo: #7A3600;
  --magenta: #D01F8C; --magenta-hi: #E0389C; --magenta-lo: #5E0A40;
  /* Winnen: goud */
  --win: #F2D284; --win-hi: #FFE9A8; --win-lo: #9C7325; --win-rgb: 242, 210, 132;
  --ink: #FFFFFF; --muted: #B4A9DA;
  --ok: #F2D284; --ok-hi: #FFE9A8; --ok-lo: #9C7325; --ok-rgb: 242, 210, 132;
  --bad: #F0465A; --bad-hi: #FF7B89; --bad-lo: #8E1525;
  --line: rgba(255, 255, 255, .12); --raised: rgba(255, 255, 255, .08); --raised2: rgba(255, 255, 255, .14);
  --aurora: var(--cta);
  --flow: linear-gradient(90deg, #7B3FF2, #FF4FA8, #EC1C87, #2D6BFF, #7B3FF2);
  --glass: linear-gradient(155deg, rgba(255, 255, 255, .08) 0%, rgba(255, 255, 255, .02) 45%, rgba(255, 255, 255, .04) 100%);
  --brush: repeating-linear-gradient(118deg, rgba(255, 255, 255, .03) 0 1px, transparent 1px 6px);
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .16 0'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E");
  --display: "Manrope", system-ui, sans-serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --ease: cubic-bezier(.16, 1, .3, 1); --back: cubic-bezier(.2, 1.45, .35, 1);
  --r-sm: 10px; --r-md: 14px; --r-lg: 22px;
  color-scheme: dark;
}
html, body { height: 100%; margin: 0; background: var(--void); }
#app { height: 100%; }

.gsl { position: relative; height: 100%; overflow: hidden; isolation: isolate; background: var(--void); color: var(--ink); font: 500 16px/1.5 var(--sans); -webkit-font-smoothing: antialiased; }
/* Gekleurd licht en korrel achter elk scherm */
.gsl::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: var(--grain) 0 0 / 180px 180px,
    radial-gradient(62% 55% at 8% -5%, rgba(139, 92, 255, .6), transparent 70%),
    radial-gradient(55% 50% at 104% 6%, rgba(47, 123, 255, .46), transparent 70%),
    radial-gradient(62% 55% at 88% 108%, rgba(236, 47, 164, .4), transparent 70%),
    radial-gradient(46% 42% at -4% 102%, rgba(var(--hl), .22), transparent 70%),
    linear-gradient(180deg, #0D0730, #06031A); }
.gsl *, .gsl *::before, .gsl *::after { box-sizing: border-box; }
/* De basisregels staan in :where(), zodat elke klasse hieronder ze zonder omwegen kan overschrijven. */
:where(.gsl) :where(h1, h2, h3, p, ol, ul) { margin: 0; }
:where(.gsl) :where(ol, ul) { padding: 0; list-style: none; }
:where(.gsl) h3 { font: 700 18px/1.3 var(--sans); letter-spacing: -.01em; }
:where(.gsl) :where(button, input, select, textarea) { font: inherit; color: inherit; }
:where(.gsl) button { cursor: pointer; }
:where(.gsl) button:disabled { cursor: default; }
.gsl :focus-visible { outline: 3px solid var(--pink); outline-offset: 2px; }
:where(.gsl) img { max-width: 100%; }
:where(.gsl) small { font-size: 13px; }

/* ---------- Beweging ---------- */
@keyframes in-up { from { opacity: 0; transform: translateY(26px); } }
@keyframes in-down { from { opacity: 0; transform: translateY(-26px); } }
@keyframes in-left { from { opacity: 0; transform: translateX(-46px); } }
@keyframes in-right { from { opacity: 0; transform: translateX(46px); } }
@keyframes in-fade { from { opacity: 0; } }
@keyframes in-pop { from { opacity: 0; transform: scale(.6); } }
@keyframes in-slam { 0% { opacity: 0; transform: scale(1.7); filter: blur(10px); } 60% { opacity: 1; filter: blur(0); } 100% { transform: scale(1); } }
@keyframes word-up { from { opacity: 0; transform: translateY(.55em) scale(.96); filter: blur(9px); } }
@keyframes tile-in { from { opacity: 0; transform: translateY(22px) scale(.92); } }
@keyframes right-pop { 0% { transform: scale(1); } 35% { transform: scale(1.07); } 100% { transform: scale(1); } }
@keyframes glow-pulse { 50% { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .6), 0 0 0 6px rgba(var(--ok-rgb), .28), 0 0 60px 4px rgba(var(--ok-rgb), .9); } }
@keyframes sheen { from { transform: translateX(-130%) skewX(-20deg); } to { transform: translateX(230%) skewX(-20deg); } }
@keyframes sheen-loop { 0%, 58% { transform: translateX(-130%) skewX(-20deg); } 100% { transform: translateX(330%) skewX(-20deg); } }
@keyframes shake { 20% { transform: translateX(-7px); } 40% { transform: translateX(6px); } 60% { transform: translateX(-4px); } 80% { transform: translateX(3px); } }
@keyframes flow { to { background-position: 0 0, 300% 0; } }
@keyframes flow1 { to { background-position: 300% 0; } }
@keyframes shimmer { to { background-position: -200% 0; } }
@keyframes pulse-dot { 50% { transform: scale(1.5); opacity: .55; } }
@keyframes tick { 50% { transform: scale(1.09); } }
@keyframes float { 50% { transform: translateY(-7px); } }
@keyframes drift1 { to { transform: translate(180px, 90px) scale(1.15); } }
@keyframes drift2 { to { transform: translate(-160px, 110px) scale(.9); } }
@keyframes drift3 { to { transform: translate(-140px, -120px) scale(1.2); } }
@keyframes drift4 { to { transform: translate(150px, -70px) scale(1.1); } }
@keyframes breathe { from { transform: scale(.92); opacity: .55; } to { transform: scale(1.08); opacity: 1; } }
@keyframes streak { from { transform: translateX(-60%); } to { transform: translateX(60%); } }
@keyframes wipe { from { transform: translateX(0) skewX(-18deg); } to { transform: translateX(300%) skewX(-18deg); } }
@keyframes wipe-glint { from { transform: translateX(0) skewX(-18deg); } to { transform: translateX(1150%) skewX(-18deg); } }
@keyframes flash { 0% { opacity: 0; } 18% { opacity: .85; } 100% { opacity: 0; } }
@keyframes eq { from { height: 18%; } to { height: 100%; } }
@keyframes ball-in { 0% { opacity: 0; transform: translateX(-140%) rotate(-300deg); } 70% { opacity: 1; transform: translateX(6%) rotate(8deg); } 100% { transform: none; } }
@keyframes flip-open { 0% { transform: perspective(600px) rotateX(-88deg); filter: brightness(2.2); } 60% { transform: perspective(600px) rotateX(12deg); } 100% { transform: none; filter: none; } }
@keyframes ring-out { from { transform: scale(.4); opacity: .9; } to { transform: scale(2.4); opacity: 0; } }
@keyframes crown-drop { 0% { opacity: 0; transform: translateY(-90px) rotate(-14deg); } 60% { opacity: 1; transform: translateY(8px) rotate(4deg); } 100% { transform: none; } }

/* ---------- Bouwstenen ---------- */
/* Het woordmerk (.wm) staat onderaan, in "Woordmerk: SHOWNIGHT.live". */
.lightbar { height: 5px; flex: none; position: relative; z-index: 2; background: var(--flow) 0 0 / 300% 100%; box-shadow: 0 0 26px 3px rgba(var(--hl), .6), 0 0 70px 8px rgba(139, 92, 255, .4); animation: flow1 9s linear infinite; }
.disp { font: 700 26px/1.12 var(--display); letter-spacing: -.02em; text-wrap: balance; }
.disp.sm { font-size: 20px; }
.disp small { font: 600 14px var(--sans); color: var(--muted); letter-spacing: 0; margin-left: 6px; }
.eyebrow, .lbl { font: 600 13px/1.4 var(--sans); color: var(--muted); }
.lbl { display: block; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.center { text-align: center; }
.okc { color: var(--ok); } .badc { color: var(--bad); }
.stack { display: flex; flex-direction: column; gap: 16px; }
.stack.tight { gap: 8px; }
.stack.center { align-items: center; text-align: center; }
.row { display: flex; align-items: center; gap: 8px; }
.row.wrap { flex-wrap: wrap; }
.row.end { justify-content: flex-end; }
.grid2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }

.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 8px 16px; border: 1px solid rgba(255, 255, 255, .22); border-radius: 14px; background: linear-gradient(180deg, rgba(255, 255, 255, .16), rgba(255, 255, 255, .06)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2); color: var(--ink); font-weight: 700; text-decoration: none; white-space: nowrap; transition: transform .12s ease, border-color .2s ease, box-shadow .2s ease, filter .2s ease; }
.btn:hover:not(:disabled) { border-color: rgba(255, 255, 255, .6); filter: brightness(1.12); }
.btn:active:not(:disabled) { transform: translateY(1px) scale(.985); }
.btn:disabled { opacity: .42; }
.btn.primary { background: linear-gradient(180deg, #2E2170, #190F4A); border-color: rgba(255, 255, 255, .38); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45), 0 12px 28px -12px rgba(139, 92, 255, 1); }
.btn.go { overflow: hidden; background: linear-gradient(135deg, #FFB3D9, #EC1C87 45%, #C41BD2); border-color: rgba(255, 255, 255, .55); color: var(--dark); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .7), 0 16px 36px -12px rgba(var(--hl), .95); }
.btn.go::after { content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 38%; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .6), transparent); transform: translateX(-130%) skewX(-20deg); animation: sheen-loop 3.8s ease-in-out infinite; pointer-events: none; }
.btn.go:disabled::after { display: none; }
.btn.ghost { background: transparent; box-shadow: none; }
.btn.danger { color: var(--bad-hi); }
.btn.danger:not(.ghost) { background: linear-gradient(135deg, #FF8C97, #FF5C6C 50%, #C4263A); border-color: rgba(255, 255, 255, .45); color: var(--dark); }
.btn.big { min-height: 60px; font-size: 19px; padding: 12px 24px; border-radius: 18px; }
.btn.huge { min-height: 88px; width: 100%; padding: 14px 28px; border-radius: 22px; font: 800 24px/1.15 var(--sans); letter-spacing: -.01em; white-space: normal; text-align: center; }
.btn.sm { min-height: 36px; padding: 4px 12px; font-size: 14px; border-radius: 12px; }
.btn.xs { min-height: 30px; padding: 2px 8px; font-size: 13px; border-radius: 9px; }
.link { background: none; border: 0; padding: 8px; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.link:hover { color: var(--ink); }
.icon { width: 34px; height: 36px; flex: none; border: 1px solid transparent; border-radius: var(--r-sm); background: transparent; color: var(--muted); font-size: 16px; line-height: 1; }
.icon:hover:not(:disabled) { color: var(--ink); border-color: var(--line); background: var(--raised); }
.icon:disabled { opacity: .3; }
.inp { width: 100%; min-height: 44px; padding: 8px 12px; border: 1px solid rgba(255, 255, 255, .2); border-radius: 12px; background: rgba(4, 2, 18, .55); box-shadow: inset 0 2px 8px rgba(0, 0, 0, .4); color: var(--ink); transition: border-color .2s ease, box-shadow .2s ease; }
.inp::placeholder { color: rgba(196, 189, 227, .55); }
.inp:focus { outline: none; border-color: var(--pink); box-shadow: inset 0 2px 8px rgba(0, 0, 0, .4), 0 0 0 4px rgba(var(--hl), .22); }
.inp.big { min-height: 60px; font-size: 21px; font-weight: 600; padding: 12px 16px; border-radius: 16px; }
.inp.num { font-variant-numeric: tabular-nums; }
.inp.sm { min-height: 36px; padding: 4px 8px; font-size: 14px; border-radius: 10px; }
.inp.area { min-height: 180px; font: 13px/1.5 ui-monospace, Menlo, Consolas, monospace; resize: vertical; }
select.inp { appearance: auto; }
select.inp option { background: #1A0F45; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.pill { display: inline-flex; align-items: baseline; gap: 5px; padding: 6px 12px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .16); background: linear-gradient(180deg, rgba(255, 255, 255, .16), rgba(255, 255, 255, .06)); font-size: 13px; font-weight: 600; white-space: nowrap; }
.pill b { font: 700 14px var(--display); font-variant-numeric: tabular-nums; }
.pill.alt { background: linear-gradient(180deg, #2E2170, #190F4A); border-color: rgba(255, 255, 255, .35); box-shadow: 0 8px 20px -10px rgba(139, 92, 255, 1); animation: in-pop .45s var(--back) backwards; }
.pill.hot { background: linear-gradient(135deg, #FFB3D9, #EC1C87 45%, #C41BD2); border-color: rgba(255, 255, 255, .5); color: var(--dark); box-shadow: 0 10px 26px -10px rgba(var(--hl), .95); }
.pill.xl { font-size: 21px; padding: 10px 22px; }
/* Glazen paneel: matte vulling, lichte rand, fijne structuur */
.card, .dlg { position: relative; border: 1px solid rgba(255, 255, 255, .17); border-radius: var(--r-lg); background: var(--grain) 0 0 / 180px 180px, var(--brush), var(--glass); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .24), 0 30px 70px -30px rgba(2, 0, 16, .95); -webkit-backdrop-filter: blur(18px) saturate(150%); backdrop-filter: blur(18px) saturate(150%); }
.card { padding: 22px; }
.card.left { text-align: left; width: 100%; }
.card.warn { border-color: rgba(var(--hl), .8); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .24), 0 0 34px -8px rgba(var(--hl), .7); }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin: 0 6px 0 0; vertical-align: 1px; background: var(--muted); }
.dot.on { background: var(--ok); box-shadow: 0 0 10px var(--ok); } .dot.off { background: transparent; border: 2px solid rgba(196, 189, 227, .6); }
.tag { margin-left: 8px; padding: 1px 8px; border-radius: 999px; border: 1px solid var(--line); font-size: 12px; color: var(--muted); }
.nr { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 44px; padding: 0 10px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .5); background: linear-gradient(135deg, #FFB3D9, #EC1C87 45%, #C41BD2); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .6), 0 8px 20px -8px rgba(var(--hl), .9); color: var(--dark); font: 700 19px/1 var(--display); }
.code { font: 700 22px/1 var(--display); letter-spacing: .14em; color: var(--text-2); }
.ltr { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; flex: none; border-radius: 10px; border: 1px solid rgba(255, 255, 255, .28); background: rgba(255, 255, 255, .14); font: 600 14px/1 var(--display); }
.ltr.a { background: linear-gradient(135deg, var(--purple-hi), var(--purple-lo)); } .ltr.b { background: linear-gradient(135deg, var(--blue-hi), var(--blue-lo)); } .ltr.c { background: linear-gradient(135deg, var(--ans-c-hi), var(--ans-c-lo)); color: var(--on-light); } .ltr.d { background: linear-gradient(135deg, var(--magenta-hi), var(--magenta-lo)); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { min-height: 40px; padding: 6px 14px; border: 1px solid rgba(255, 255, 255, .2); border-radius: 999px; background: rgba(255, 255, 255, .06); color: var(--ink); font-weight: 600; transition: background .2s ease, border-color .2s ease; }
.chip:hover { border-color: rgba(255, 255, 255, .5); }
.chip.on { background: linear-gradient(180deg, #2E2170, #190F4A); border-color: rgba(255, 255, 255, .45); box-shadow: 0 8px 22px -10px rgba(139, 92, 255, 1); }
.chip.big { min-height: 52px; padding: 8px 20px; font-size: 18px; }
.chips.small .chip { min-height: 34px; padding: 4px 12px; font-size: 13px; }
.chip small { color: var(--muted); margin-left: 4px; }
.chip.on small { color: var(--ink); }
.switch { display: flex; align-items: flex-start; gap: 12px; cursor: pointer; }
.switch input { width: 22px; height: 22px; margin: 3px 0 0; flex: none; accent-color: var(--pink); }
.switch span { display: flex; flex-direction: column; }
.switch small { color: var(--muted); }
.toast { position: absolute; left: 50%; bottom: 20px; transform: translateX(-50%); z-index: 50; max-width: calc(100% - 32px); padding: 12px 20px; border: 1px solid rgba(255, 255, 255, .4); border-radius: 16px; background: rgba(20, 12, 56, .92); color: var(--ink); font-weight: 700; text-align: center; box-shadow: 0 18px 50px rgba(0, 0, 0, .6); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.toast.bad { background: linear-gradient(135deg, #FF8C97, #E8394C); color: var(--dark); } .toast.ok { background: linear-gradient(135deg, #FFE9A8, var(--ok)); color: var(--dark); }
.offline { position: absolute; left: 0; right: 0; top: 0; z-index: 60; padding: 8px 16px; background: linear-gradient(90deg, #FF5C6C, #C4263A); color: #fff; font-weight: 700; text-align: center; }
.dlg-back { position: absolute; inset: 0; z-index: 40; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(4, 1, 16, .72); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); animation: in-fade .2s ease backwards; }
.dlg { width: 100%; max-width: 460px; max-height: 100%; overflow: auto; padding: 24px; background: var(--grain) 0 0 / 180px 180px, var(--brush), linear-gradient(160deg, #21155A, #120A38); animation: in-pop .35s var(--back) backwards; }
.dlg.wide { max-width: 720px; }
.dlg-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.dlg > p { margin-bottom: 16px; }
.dlg .map { max-width: 440px; margin: 0 auto; }
.center-page { display: flex; align-items: center; justify-content: center; padding: 16px; overflow: auto; }
.login { display: flex; flex-direction: column; gap: 16px; width: 100%; max-width: 380px; }
.codecard { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 20px; border: 1px solid rgba(243, 217, 164, .4); border-radius: var(--r-md); background: rgba(4, 2, 18, .5); width: 100%; }
.codecard span { color: var(--muted); font-size: 14px; }
.codecard > b { font: 800 34px/1.15 var(--display); margin-bottom: 8px; }
.thumb { width: 72px; height: 48px; object-fit: contain; border-radius: var(--r-sm); background: rgba(4, 2, 18, .6); }
.swatch { width: 40px; height: 40px; border-radius: 50%; border: 3px solid transparent; box-shadow: inset 0 2px 0 rgba(255, 255, 255, .35); }
.swatch.on { border-color: var(--ink); }
/* Aftelklok: een ring van licht die leegloopt */
.count { --p: 1; display: inline-grid; place-items: center; width: 48px; height: 48px; flex: none; border-radius: 50%; background: conic-gradient(from 0deg, #FFB3D9, #EC1C87, #C41BD2 calc(var(--p) * 1turn), rgba(255, 255, 255, .13) 0); box-shadow: 0 0 22px -4px rgba(var(--hl), .7); font: 700 16px/1 var(--display); font-variant-numeric: tabular-nums; }
.count b { display: grid; place-items: center; width: calc(100% - 8px); height: calc(100% - 8px); border-radius: 50%; background: radial-gradient(circle at 50% 22%, #21155A, #0B0626 78%); font: inherit; }
.count.hot { background: conic-gradient(from 0deg, #FF5C6C calc(var(--p) * 1turn), rgba(255, 255, 255, .13) 0); box-shadow: 0 0 34px 0 rgba(255, 92, 108, .9); animation: tick 1s ease-in-out infinite; }
.count.lg { width: 76px; height: 76px; font-size: 24px; } .count.lg b { width: calc(100% - 12px); height: calc(100% - 12px); }
.count.xl { width: 128px; height: 128px; font-size: 46px; box-shadow: 0 0 60px -6px rgba(var(--hl), .75); } .count.xl b { width: calc(100% - 18px); height: calc(100% - 18px); }
.timebar { height: 8px; border-radius: 999px; background: rgba(255, 255, 255, .12); overflow: hidden; }
.timebar i { display: block; height: 100%; border-radius: 999px; background: var(--aurora); box-shadow: 0 0 14px rgba(var(--hl), .75); }
.photo { border: 1px solid rgba(255, 255, 255, .22); border-radius: 20px; overflow: hidden; background: rgba(4, 2, 18, .6); aspect-ratio: 3 / 2; box-shadow: 0 30px 70px -30px #000; }
.photo img { display: block; width: 100%; height: 100%; object-fit: contain; transform: scale(1.02); }
.qr { display: block; flex: none; }
.fit { position: absolute; inset: 0; overflow: hidden; }
.fit-in { position: absolute; left: 50%; top: 50%; transform-origin: center; }
.map { display: block; width: 100%; height: auto; border: 1px solid rgba(255, 255, 255, .2); border-radius: 20px; background: rgba(4, 2, 18, .5); touch-action: manipulation; }
.map.pickable { cursor: crosshair; }
.map .sea { fill: #0B0632; } .map .land { fill: #4C36B8; } .map .border { fill: none; stroke: #0B0632; stroke-width: 1.2; }
.map .pin-other { fill: #fff; opacity: .8; }
.map .pin-me { fill: var(--pink); stroke: #fff; stroke-width: 3; }
.map .pin-target { fill: var(--ok); stroke: #fff; stroke-width: 3; }
.map .pin-ring { fill: none; stroke: var(--ok); stroke-width: 4; transform-box: fill-box; transform-origin: center; animation: ring-out 1.6s ease-out infinite; }
.crown { width: 84px; height: 58px; fill: var(--text-2); filter: drop-shadow(0 0 18px rgba(243, 217, 164, .8)); animation: crown-drop .9s var(--back) .5s backwards; }

/* Antwoordtegels: gekleurd glas met glans, op de telefoon en op de tv */
.tiles { display: grid; grid-template-columns: 1fr; gap: 12px; }
.tile { --c: var(--purple); --hi: var(--purple-hi); --lo: var(--purple-lo); --glow: rgba(139, 92, 255, .8);
  position: relative; overflow: hidden; display: flex; align-items: center; gap: 12px; min-height: 64px; padding: 12px 16px; border: 1px solid rgba(255, 255, 255, .38); border-radius: 18px;
  background: linear-gradient(150deg, var(--hi) -12%, var(--c) 40%, var(--lo) 108%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .55), inset 0 -16px 24px -12px rgba(0, 0, 0, .3), 0 16px 32px -14px var(--glow);
  color: #fff; text-align: left; font: 700 18px/1.25 var(--sans); transition: transform .14s ease, filter .35s ease, box-shadow .35s ease; }
.tile::before { content: ""; position: absolute; left: -12%; top: -70%; width: 75%; height: 130%; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 255, 255, .36), transparent); pointer-events: none; }
.tile > * { position: relative; }
.tile.b { --c: var(--blue); --hi: var(--blue-hi); --lo: var(--blue-lo); --glow: rgba(47, 123, 255, .85); }
.tile.c { --c: var(--ans-c); --hi: var(--ans-c-hi); --lo: var(--ans-c-lo); --glow: rgba(217, 115, 11, .85); color: #fff; }
.tile.d { --c: var(--magenta); --hi: var(--magenta-hi); --lo: var(--magenta-lo); --glow: rgba(236, 47, 164, .85); }
.tiles > .tile, .tv-tiles > .tile { animation: tile-in .55s var(--back) backwards; }
.tiles > .tile:nth-child(2), .tv-tiles > .tile:nth-child(2) { animation-delay: .07s; } .tiles > .tile:nth-child(3), .tv-tiles > .tile:nth-child(3) { animation-delay: .14s; } .tiles > .tile:nth-child(4), .tv-tiles > .tile:nth-child(4) { animation-delay: .21s; }
button.tile:not(:disabled):hover { transform: translateY(-2px); filter: brightness(1.08); }
button.tile:not(:disabled):active { transform: translateY(1px) scale(.985); }
.tile .ltr { background: rgba(255, 255, 255, .22); border-color: rgba(255, 255, 255, .45); color: inherit; }
.tile .txt { flex: 1; min-width: 0; overflow-wrap: break-word; }
.tile.mine { border-color: #fff; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .55), 0 0 0 3px rgba(255, 255, 255, .4), 0 0 38px var(--glow); }
.tile.dim { filter: saturate(.3) brightness(.45); box-shadow: none; }
.tile.right { --c: var(--ok); --hi: var(--ok-hi); --lo: var(--ok-lo); --glow: rgba(var(--ok-rgb), .9); color: var(--dark); filter: none; animation: right-pop .7s var(--back) backwards, glow-pulse 1.5s ease-in-out .7s 3; }
.tile.right::after { content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 40%; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .75), transparent); animation: sheen 1.1s ease .15s backwards; transform: translateX(230%) skewX(-20deg); pointer-events: none; }
.tile.wrong { border-color: var(--bad); box-shadow: 0 0 0 3px rgba(255, 92, 108, .55); filter: saturate(.55) brightness(.7); animation: shake .45s ease; }
.tile .mark { font-size: 24px; font-weight: 800; }
.tile:disabled { cursor: default; }
.tiles.two { grid-template-columns: 1fr 1fr; }
.tiles.two .tile { justify-content: center; min-height: 92px; font: 700 18px/1.1 var(--display); letter-spacing: -.02em; text-align: center; }
.tiles.two .tile .txt { flex: none; }
.tiles.two .tile .ltr { display: none; }
.ladder { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.ladder span { min-width: 40px; padding: 4px 10px; border: 1px solid rgba(255, 255, 255, .16); border-radius: 10px; background: rgba(255, 255, 255, .09); text-align: center; font-weight: 700; font-variant-numeric: tabular-nums; }
.ladder span.gone { opacity: .28; text-decoration: line-through; }
.ladder.big span { min-width: 58px; padding: 8px 12px; font: 700 19px/1 var(--display); }
.verdict { position: relative; overflow: hidden; display: flex; align-items: center; gap: 12px; padding: 14px 16px; border: 1px solid rgba(255, 255, 255, .45); border-radius: 18px; text-align: left; width: 100%; animation: in-pop .5s var(--back) backwards; }
.verdict.ok { background: linear-gradient(140deg, var(--ok-hi), var(--ok) 45%, var(--ok-lo)); color: var(--dark); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .65), 0 18px 44px -14px rgba(var(--ok-rgb), 1); }
.verdict.ok::after { content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 40%; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .7), transparent); transform: translateX(230%) skewX(-20deg); animation: sheen 1.1s ease .25s backwards; pointer-events: none; }
.verdict.bad { background: linear-gradient(140deg, var(--bad-hi), var(--bad) 45%, var(--bad-lo)); color: var(--dark); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .6), 0 18px 44px -14px rgba(255, 92, 108, .9); animation: in-pop .4s var(--back) backwards, shake .45s ease .35s; }
.verdict.none { background: var(--glass); border-color: rgba(255, 255, 255, .2); }
.verdict .ico { font-size: 28px; font-weight: 800; line-height: 1; }
.verdict div { flex: 1; display: flex; flex-direction: column; }
.verdict b { font: 700 21px/1.15 var(--display); letter-spacing: -.02em; }
.verdict span { font-size: 14px; font-weight: 600; }
.verdict em { font: 800 24px/1 var(--display); font-style: normal; }

/* ---------- Speler (telefoon) ---------- */
.ph { display: flex; flex-direction: column; max-width: 520px; margin: 0 auto; }
.ph-join { flex: 1; display: flex; flex-direction: column; gap: 20px; padding: 0 20px 24px; overflow: auto; }
.ph-join .lightbar { margin: 0 -20px 20px; }
.ph-join .wm { animation: in-up .7s var(--ease) backwards; }
.ph-join .link { align-self: center; }
.ph-join .langs { justify-content: center; }
.ph-top { flex: none; display: flex; align-items: center; gap: 8px; padding: 12px 16px; border-bottom: 1px solid rgba(255, 255, 255, .14); background: linear-gradient(180deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, .03)); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.who { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.25; }
.who b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 800; }
.who span { font-size: 13px; color: var(--muted); }
.ph-body { flex: 1; overflow: auto; padding: 20px 16px 88px; display: flex; flex-direction: column; gap: 16px; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; width: 100%; padding: 16px; }
.stats div, .tiles-stat div { display: flex; flex-direction: column; }
.stats span, .tiles-stat span { font-size: 13px; color: var(--muted); }
.stats b { font: 700 24px/1.2 var(--display); }
.rd-head { display: flex; flex-direction: column; gap: 4px; text-align: center; animation: in-up .6s var(--ease) backwards; }
.bigmark { display: flex; align-items: center; justify-content: center; width: 92px; height: 92px; border: 1px solid rgba(255, 255, 255, .5); border-radius: 50%; font-size: 46px; font-weight: 800; color: var(--dark); animation: in-pop .55s var(--back) backwards; }
.bigmark.ok { background: radial-gradient(circle at 32% 26%, var(--ok-hi), var(--ok) 55%, var(--ok-lo)); box-shadow: 0 0 50px -6px rgba(var(--ok-rgb), .95); }
.bigmark.bad { background: radial-gradient(circle at 32% 26%, var(--bad-hi), var(--bad) 55%, var(--bad-lo)); box-shadow: 0 0 50px -6px rgba(255, 92, 108, .9); }
.q { display: flex; flex-direction: column; gap: 14px; }
.q-meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 48px; color: var(--muted); font-size: 14px; font-weight: 600; }
.q-text { font: 800 22px/1.25 var(--sans); letter-spacing: -.01em; text-wrap: balance; animation: in-up .5s var(--ease) backwards; }
.shown { align-self: flex-start; display: flex; align-items: baseline; gap: 12px; padding: 6px 16px; border: 1px solid rgba(255, 255, 255, .22); border-radius: var(--r-md); background: var(--glass); font: 700 32px/1.2 var(--display); }
.shown span { font: 600 14px var(--sans); color: var(--muted); }
.sent { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 20px; border: 1px solid rgba(255, 255, 255, .2); border-radius: var(--r-md); background: var(--glass); animation: in-pop .45s var(--back) backwards; }
.sent span { color: var(--muted); font-size: 14px; } .sent b { font: 700 30px/1.15 var(--display); }
.order { display: flex; flex-direction: column; gap: 10px; }
.ord { display: flex; align-items: center; gap: 12px; min-height: 60px; padding: 10px 14px; border: 1px solid rgba(255, 255, 255, .2); border-radius: var(--r-md); background: var(--glass); text-align: left; font-weight: 700; font-size: 17px; transition: border-color .2s ease, box-shadow .2s ease; }
.ord .pos { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; flex: none; border-radius: 50%; border: 2px dashed rgba(196, 189, 227, .7); font: 700 15px/1 var(--display); }
.ord.on { border-color: var(--pink); box-shadow: 0 0 26px -8px rgba(var(--hl), .9); }
.ord.on .pos { background: linear-gradient(135deg, #FFB3D9, #EC1C87 45%, #C41BD2); border: 0; color: var(--dark); }
.right-order { margin-top: 8px; padding-left: 24px; list-style: decimal; }
.tl { display: flex; flex-direction: column; gap: 6px; }
.tl-card { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border: 1px solid rgba(255, 255, 255, .18); border-radius: var(--r-md); background: var(--glass); }
.tl-card b { font: 700 19px/1 var(--display); color: var(--pink-hi); min-width: 66px; }
.tl-card span { display: flex; flex-direction: column; font-weight: 700; line-height: 1.25; }
.tl-card i { font-style: normal; font-weight: 500; font-size: 14px; color: var(--muted); }
.tl-card.new { border-color: var(--ok); box-shadow: 0 0 30px -6px rgba(var(--ok-rgb), .9); animation: in-pop .5s var(--back) backwards; }
.tl-slot { min-height: 46px; border: 2px dashed rgba(255, 255, 255, .22); border-radius: var(--r-md); background: transparent; color: var(--muted); font-weight: 600; }
.tl-slot.on { border: 1px solid rgba(255, 255, 255, .5); background: linear-gradient(135deg, #FFB3D9, #EC1C87 45%, #C41BD2); color: var(--dark); font-weight: 800; box-shadow: 0 10px 26px -10px rgba(var(--hl), .95); }
.bingo { display: flex; flex-direction: column; gap: 14px; }
.bingo-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.bingo-top b { font-size: 19px; font-weight: 800; }
.ball { display: inline-flex; align-items: center; justify-content: center; min-width: 88px; height: 56px; padding: 0 14px; border: 1px solid rgba(255, 255, 255, .5); border-radius: 999px; background: radial-gradient(circle at 30% 24%, #FFB3D9, #FF9A2E 45%, #E0560A); color: var(--dark); font: 800 21px/1 var(--display); box-shadow: 0 0 30px -6px rgba(var(--hl), .95); }
.grid { display: grid; gap: 6px; }
.grid.n5 { grid-template-columns: repeat(5, 1fr); } .grid.n4 { grid-template-columns: repeat(4, 1fr); } .grid.n3 { grid-template-columns: repeat(3, 1fr); }
.cell { aspect-ratio: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 2px; border: 1px solid rgba(255, 255, 255, .2); border-radius: 12px; background: var(--glass); font: 700 17px/1 var(--display); overflow: hidden; transition: background .2s ease, box-shadow .2s ease, transform .15s ease; }
.grid.music .cell { font: 700 11px/1.15 var(--sans); text-align: center; overflow-wrap: anywhere; hyphens: auto; }
.grid.music .cell b { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.grid.music .cell i { font-style: normal; font-weight: 500; font-size: 9.5px; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.grid.music.n4 .cell, .grid.music.n3 .cell { font-size: 13px; } .grid.music.n4 .cell i, .grid.music.n3 .cell i { font-size: 11px; }
.cell.on { background: linear-gradient(140deg, var(--magenta-hi), var(--magenta) 50%, var(--magenta-lo)); border-color: rgba(255, 255, 255, .55); box-shadow: 0 0 24px -4px rgba(236, 47, 164, .95); transform: scale(1.03); }
.grid.music .cell.on i { color: var(--ink); }
.cell.free { background: rgba(255, 255, 255, .16); color: var(--text-2); font: 700 12px var(--sans); }
.cases { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.case { aspect-ratio: 4 / 3; border: 1px solid rgba(255, 255, 255, .26); border-radius: var(--r-md); background: linear-gradient(150deg, rgba(187, 162, 255, .45), rgba(81, 34, 214, .45)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3); font: 700 21px/1 var(--display); transition: transform .14s ease, box-shadow .25s ease; }
.case.on { background: linear-gradient(135deg, #FFB3D9, #EC1C87 45%, #C41BD2); border-color: rgba(255, 255, 255, .6); color: var(--dark); box-shadow: 0 0 34px -4px rgba(var(--hl), 1); transform: scale(1.05); }
.mycase { display: flex; flex-direction: column; align-items: center; justify-content: center; width: 140px; height: 104px; border: 1px solid rgba(255, 255, 255, .45); border-radius: 20px; background: linear-gradient(150deg, var(--purple-hi), var(--purple) 45%, var(--purple-lo)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5), 0 18px 44px -14px rgba(139, 92, 255, 1); animation: float 4s ease-in-out infinite; }
.mycase span { font-size: 13px; font-weight: 600; } .mycase b { font: 800 38px/1.1 var(--display); }
.offer { display: flex; flex-direction: column; align-items: center; animation: in-slam .6s var(--ease) backwards; }
.offer span { color: var(--muted); font-weight: 600; }
.offer b { font: 800 72px/1 var(--display); background: linear-gradient(180deg, #FFB3D9, #FF9A2E 60%, #FF6A3D); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; filter: drop-shadow(0 0 26px rgba(var(--hl), .7)); }
.win { position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 6px; width: 100%; padding: 30px 20px; border: 1px solid rgba(255, 255, 255, .5); border-radius: var(--r-lg); background: var(--aurora); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .6), 0 24px 60px -16px rgba(236, 47, 164, 1); animation: in-slam .7s var(--ease) backwards; }
.win::after { content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 40%; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .55), transparent); transform: translateX(-130%) skewX(-20deg); animation: sheen-loop 3.2s ease-in-out infinite; }
.win span { font: 800 32px/1.1 var(--display); letter-spacing: -.02em; }
.win b { font-weight: 700; }
.place { display: flex; flex-direction: column; align-items: center; animation: in-pop .6s var(--back) backwards; }
.place b { font: 800 72px/1 var(--display); letter-spacing: -.03em; background: linear-gradient(180deg, #fff 25%, #BBA2FF); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
.place span { color: var(--muted); font-weight: 600; }

/* ---------- Hoofdscherm (tv), getekend op 1280 x 720 ---------- */
.tv { position: relative; width: 1280px; height: 720px; display: flex; flex-direction: column; overflow: hidden; background: linear-gradient(180deg, #0D0730, #06031A); font-size: 22px; }
.tv .eyebrow { font-size: 19px; }
.tv .lbl { font-size: 17px; }
.tv > :not(.aura):not(.sting):not(.tv-sponsor):not(.tv-pause):not(.heart):not(.intro-venue) { position: relative; z-index: 1; }
/* Bewegend studiolicht */
.aura { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; background: var(--grain) 0 0 / 180px 180px; }
.aura i { position: absolute; border-radius: 50%; will-change: transform; }
.aura i:nth-child(1) { left: -260px; top: -320px; width: 980px; height: 980px; background: radial-gradient(circle, rgba(139, 92, 255, .62), transparent 66%); animation: drift1 24s ease-in-out infinite alternate; }
.aura i:nth-child(2) { right: -300px; top: -280px; width: 900px; height: 900px; background: radial-gradient(circle, rgba(47, 123, 255, .5), transparent 66%); animation: drift2 30s ease-in-out infinite alternate; }
.aura i:nth-child(3) { right: -240px; bottom: -420px; width: 960px; height: 960px; background: radial-gradient(circle, rgba(236, 47, 164, .46), transparent 66%); animation: drift3 27s ease-in-out infinite alternate; }
.aura i:nth-child(4) { left: -220px; bottom: -380px; width: 720px; height: 720px; background: radial-gradient(circle, rgba(var(--hl), .3), transparent 66%); animation: drift4 33s ease-in-out infinite alternate; }
.aura .rings { position: absolute; left: 50%; top: 50%; width: 1600px; height: 1600px; margin: -800px 0 0 -800px; border-radius: 50%; background: repeating-radial-gradient(circle, rgba(255, 255, 255, .06) 0 1.5px, transparent 1.5px 64px); -webkit-mask: radial-gradient(circle, transparent 0 90px, #000 260px, transparent 66%); mask: radial-gradient(circle, transparent 0 90px, #000 260px, transparent 66%); animation: breathe 11s ease-in-out infinite alternate; }
.aura .streak { position: absolute; inset: -20% -60%; background: linear-gradient(105deg, transparent 45%, rgba(255, 255, 255, .075) 50%, transparent 55%), linear-gradient(105deg, transparent 62%, rgba(255, 255, 255, .04) 65%, transparent 68%); animation: streak 13s linear infinite; }
.aura canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
/* Overgang tussen scènes: schuine banen licht die over het beeld vegen */
.sting { position: absolute; inset: 0; z-index: 6; overflow: hidden; pointer-events: none; }
.sting i { position: absolute; top: -20%; bottom: -20%; left: -95%; width: 80%; animation: wipe .95s cubic-bezier(.65, 0, .25, 1) both; }
.sting i:nth-child(1) { background: linear-gradient(90deg, rgba(139, 92, 255, 0), #8B5CFF 35%, #5122D6); }
.sting i:nth-child(2) { background: linear-gradient(90deg, rgba(236, 47, 164, 0), #EC2FA4 35%, #A00C6E); animation-delay: .08s; }
.sting i:nth-child(3) { background: linear-gradient(90deg, rgba(var(--hl), 0), #FF9A2E 35%, #FF6A3D); animation-delay: .16s; }
.sting i:nth-child(4) { width: 14%; left: -30%; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .95), transparent); animation-name: wipe-glint; animation-delay: .34s; animation-duration: .7s; }
.sting.flash i { display: none; }
.sting.flash { background: radial-gradient(circle at 50% 55%, #fff, rgba(255, 255, 255, .5) 45%, transparent 75%); animation: flash .6s ease-out both; }

.tv-lobby { flex: 1; display: grid; grid-template-columns: 560px 1fr; gap: 56px; padding: 44px 56px 40px; min-height: 0; }
.tv-lobby-left { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.tv-lobby-left .wm { animation: in-left .9s var(--ease) .3s backwards; }
.venue { font-size: 24px; font-weight: 600; color: var(--muted); animation: in-fade .8s ease .7s backwards; }
.joincard { margin-top: auto; display: flex; align-items: center; gap: 24px; padding: 20px; border: 2px solid transparent; border-radius: var(--r-lg); background: linear-gradient(160deg, #21155A, #120A38) padding-box, var(--flow) 0 0 / 300% 100% border-box; box-shadow: 0 0 60px -14px rgba(var(--hl), .7), 0 30px 70px -30px #000; animation: flow 8s linear infinite, in-up .9s var(--ease) .6s backwards; }
.joincard div:last-child { display: flex; flex-direction: column; min-width: 0; }
.joincard b { font: 700 25px/1.15 var(--display); letter-spacing: -.02em; }
.joincard span { color: var(--muted); font-size: 18px; margin-top: 8px; }
.joincard em { font-style: normal; font-weight: 800; font-size: 21px; color: var(--pink-hi); overflow-wrap: anywhere; }
.tv-lobby-right { display: flex; flex-direction: column; gap: 14px; min-width: 0; min-height: 0; }
.next-up { display: flex; align-items: baseline; gap: 14px; padding: 14px 22px; border: 1px solid rgba(255, 255, 255, .5); border-radius: var(--r-md); background: linear-gradient(135deg, #FFB3D9, #EC1C87 45%, #C41BD2); color: var(--dark); box-shadow: 0 0 50px -10px rgba(var(--hl), .95); animation: in-down .6s var(--back) backwards; }
.next-up span { font-size: 17px; font-weight: 700; } .next-up b { flex: 1; font: 700 23px/1.1 var(--display); letter-spacing: -.02em; } .next-up em { font-style: normal; font-weight: 800; }
.tv-h { font: 700 32px/1.1 var(--display); letter-spacing: -.02em; animation: in-right .7s var(--ease) .5s backwards; }
.tv-board { display: flex; flex-direction: column; gap: 6px; }
.tv-board li { display: flex; align-items: center; gap: 16px; padding: 7px 18px; border: 1px solid rgba(255, 255, 255, .13); border-radius: 14px; background: linear-gradient(90deg, rgba(255, 255, 255, .14), rgba(255, 255, 255, .04)); font-size: 22px; animation: in-right .6s var(--ease) backwards; }
.tv-board li:nth-child(1) { animation-delay: .55s; } .tv-board li:nth-child(2) { animation-delay: .62s; } .tv-board li:nth-child(3) { animation-delay: .69s; } .tv-board li:nth-child(4) { animation-delay: .76s; }
.tv-board li:nth-child(5) { animation-delay: .83s; } .tv-board li:nth-child(6) { animation-delay: .9s; } .tv-board li:nth-child(7) { animation-delay: .97s; } .tv-board li:nth-child(n+8) { animation-delay: 1.04s; }
.tv-board li:first-child, .tv-top li.first { border-color: rgba(243, 217, 164, .75); background: linear-gradient(90deg, rgba(243, 217, 164, .38), rgba(243, 217, 164, .08)); box-shadow: 0 0 40px -12px rgba(243, 217, 164, .9); }
.tv-board .rank, .tv-top .rank, .team-card .rank { font: 700 19px/1 var(--display); min-width: 30px; color: var(--muted); }
.tv-board li:first-child .rank, .tv-top li.first .rank { color: var(--text-2); }
.tv-board .nm { flex: 1; min-width: 0; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tv-board .nm small { margin-left: 12px; font-size: 17px; font-weight: 500; color: var(--muted); }
.tv-board .nm .dot { margin: 0 0 0 10px; width: 14px; height: 14px; }
.tv-board b { font: 700 23px/1 var(--display); font-variant-numeric: tabular-nums; }
.tv-board.wide { flex: 1; min-width: 0; }
.tv-teams { display: flex; flex-wrap: wrap; gap: 10px; }
.tv-teams div { display: flex; align-items: baseline; gap: 12px; padding: 6px 16px; border-radius: 14px; border: 1px solid rgba(255, 255, 255, .13); border-left: 8px solid; background: rgba(255, 255, 255, .08); font-size: 19px; font-weight: 600; }
.tv-teams b { font: 700 20px/1 var(--display); }
.tv-names { display: flex; flex-wrap: wrap; gap: 10px; }
.tv-names span { padding: 6px 18px; border: 1px solid rgba(255, 255, 255, .2); border-radius: 999px; background: linear-gradient(180deg, rgba(255, 255, 255, .18), rgba(255, 255, 255, .06)); font-weight: 700; animation: in-pop .5s var(--back) backwards; }
.tv-hint { color: var(--muted); font-size: 20px; }
.tv-prompt { font-size: 27px; font-weight: 600; color: var(--muted); }
.tv-intro { flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 18px; padding: 40px 72px; }
.tv-intro .eyebrow { font-size: 24px; color: var(--pink-hi); animation: in-left .6s var(--ease) .45s backwards; }
.tv-intro h1 { font: 800 88px/1.04 var(--display); letter-spacing: -.035em; text-wrap: balance; }
.tv-intro h1.long { font-size: 62px; }
.word { display: inline-block; }
.word > span { display: inline-block; animation: word-up .8s var(--ease) backwards; animation-delay: calc(.5s + var(--i, 0) * .07s); }
.tv-intro .word > span, .tv-win .word > span { background: linear-gradient(180deg, #FFFFFF 30%, #D9CCFF 70%, #BBA2FF); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
.tv-intro h1 { filter: drop-shadow(0 0 40px rgba(139, 92, 255, .75)); }
.tv-intro > p { font-size: 30px; font-weight: 600; max-width: 900px; color: var(--muted); animation: in-up .7s var(--ease) .95s backwards; }
.tv-pills { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 8px; }
.tv-pills .pill { animation: in-pop .5s var(--back) backwards; }
.tv-pills .pill:nth-child(1) { animation-delay: 1.15s; } .tv-pills .pill:nth-child(2) { animation-delay: 1.25s; } .tv-pills .pill:nth-child(3) { animation-delay: 1.35s; }
.tv-sponsor { position: absolute; right: 32px; bottom: 18px; z-index: 3; display: flex; align-items: center; gap: 12px; padding: 8px 18px; border: 1px solid rgba(255, 255, 255, .2); border-radius: 16px; background: rgba(20, 12, 56, .7); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); font-size: 17px; color: var(--muted); }
.tv-sponsor b { color: var(--ink); font-size: 21px; }
.tv-sponsor img { height: 44px; max-width: 180px; object-fit: contain; }
.tv-sponsor.big { position: static; align-self: flex-start; flex-direction: column; align-items: flex-start; gap: 6px; margin-top: 12px; padding: 16px 24px; font-size: 19px; animation: in-up .7s var(--ease) 1.5s backwards; }
.tv-sponsor.big b { font: 700 32px/1.1 var(--display); letter-spacing: -.02em; }
.tv-sponsor.big img { height: 84px; max-width: 320px; }
.tv-sponsor.big i { font-style: normal; color: var(--ink); }
.tv-round { flex: 1; display: flex; flex-direction: column; min-height: 0; padding: 16px 56px 18px; }
.tv-bar { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 132px; flex: none; }
.tv-bar > div:first-child { display: flex; flex-direction: column; gap: 4px; animation: in-left .7s var(--ease) .35s backwards; }
.tv-bar .eyebrow { color: var(--pink-hi); }
.tv-bar b { font: 700 28px/1.1 var(--display); letter-spacing: -.02em; }
.tv-bar .count { animation: in-pop .6s var(--back) .6s backwards; }
.tv-bar .count.hot { animation: tick 1s ease-in-out infinite; }
.tv-bar > .pill { animation: in-slam .5s var(--ease) backwards; }
.tv-foot { flex: none; display: flex; align-items: center; gap: 24px; height: 48px; font-size: 20px; font-weight: 600; color: var(--muted); padding-right: 300px; animation: in-fade .6s ease 1.1s backwards; }
.tv-foot .surv { color: var(--ink); }
.progress { flex: 1; max-width: 360px; height: 10px; border-radius: 999px; background: rgba(255, 255, 255, .13); overflow: hidden; }
.progress i { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--ok-hi), #FFE9A8); box-shadow: 0 0 14px rgba(var(--ok-rgb), .9); transition: width .5s var(--ease); }
.tv-q { flex: 1; min-height: 0; display: flex; gap: 40px; align-items: center; }
.tv-q-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.tv-q-main.center { align-items: center; text-align: center; }
.tv-question { font: 800 54px/1.12 var(--sans); letter-spacing: -.025em; text-wrap: balance; text-shadow: 0 0 44px rgba(139, 92, 255, .7); }
.tv-question .word > span { animation-duration: .7s; animation-delay: calc(.45s + var(--i, 0) * .035s); }
.tv-question.long { font-size: 42px; }
.tv-q.with-photo .photo { width: 430px; flex: none; animation: in-pop .7s var(--back) .45s backwards; }
.tv-q.with-photo .tv-tiles .tile { min-height: 84px; padding: 12px 16px; gap: 12px; font-size: 24px; }
.tv-q.with-photo .tv-tiles .tile .ltr { width: 42px; height: 42px; font-size: 18px; }
.tv-q.with-photo .tv-tiles .cnt { font-size: 24px; }
.tv-q.with-photo .tv-question, .tv-q.with-map .tv-question { font-size: 40px; }
.tv-q.with-map .tv-map { width: 520px; flex: none; animation: in-left .8s var(--ease) .45s backwards; }
.tv-shown { display: flex; align-items: baseline; gap: 20px; font: 800 72px/1 var(--display); letter-spacing: -.03em; color: var(--pink-hi); filter: drop-shadow(0 0 34px rgba(var(--hl), .7)); animation: in-slam .6s var(--ease) .8s backwards; }
.tv-shown span { font: 800 28px var(--sans); color: var(--ok); letter-spacing: 0; animation: in-left .6s var(--ease) .5s backwards; }
.tv-shown small { font: 600 24px var(--sans); color: var(--muted); letter-spacing: 0; }
.tv-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.tv-tiles.three { grid-template-columns: 1fr 1fr 1fr; }
.tv-tiles .tile { min-height: 96px; padding: 14px 22px; border-radius: 24px; font-size: 28px; gap: 18px; }
.tv-tiles > .tile { animation-duration: .65s; }
.tv-tiles > .tile:nth-child(1) { animation-delay: .85s; } .tv-tiles > .tile:nth-child(2) { animation-delay: .95s; } .tv-tiles > .tile:nth-child(3) { animation-delay: 1.05s; } .tv-tiles > .tile:nth-child(4) { animation-delay: 1.15s; }
.tv-tiles .tile.right { animation-delay: .35s, 1.05s; }
.tv-tiles .tile.right::after { animation-delay: .5s; }
.tv-tiles .tile.dim { transition-delay: .3s; }
.tv-tiles .tile .ltr { width: 50px; height: 50px; border-radius: 14px; font-size: 22px; }
.tv-tiles.two .tile { min-height: 150px; justify-content: center; font: 800 44px/1 var(--display); letter-spacing: -.03em; }
.tv-tiles.two .tile .txt { flex: none; }
.tv-tiles .cnt { display: flex; align-items: baseline; gap: 8px; font: 700 28px/1 var(--display); animation: in-pop .5s var(--back) .5s backwards; }
.tv-tiles .cnt small { font: 700 18px var(--sans); }
.tv-tiles .mark { font-size: 38px; animation: in-pop .5s var(--back) .7s backwards; }
.tv-answer { display: flex; align-items: baseline; gap: 20px; animation: in-slam .65s var(--ease) .4s backwards; }
.tv-answer span { font-size: 22px; font-weight: 600; color: var(--muted); }
.tv-answer b { font: 800 72px/1 var(--display); letter-spacing: -.03em; color: var(--ok); filter: drop-shadow(0 0 34px rgba(var(--ok-rgb), .8)); }
.tv-answer small { font: 800 28px var(--sans); letter-spacing: 0; }
.numline { width: 100%; height: auto; animation: in-fade .7s ease .8s backwards; }
.numline .axis { stroke: rgba(255, 255, 255, .35); stroke-width: 3; }
.numline .guess { fill: #fff; opacity: .85; }
.numline .truth { stroke: var(--ok); stroke-width: 6; filter: drop-shadow(0 0 8px var(--ok)); }
.numline .truth-t { fill: var(--ok); font: 800 22px var(--sans); }
.numline .edge-t { fill: var(--muted); font: 500 18px var(--sans); }
.tv-top { display: flex; flex-direction: column; gap: 8px; width: 100%; }
.tv-top ol { display: flex; flex-direction: column; gap: 6px; }
.tv-top li { display: flex; align-items: center; gap: 16px; padding: 9px 18px; border: 1px solid rgba(255, 255, 255, .13); border-radius: 14px; background: linear-gradient(90deg, rgba(255, 255, 255, .14), rgba(255, 255, 255, .04)); font-size: 22px; animation: in-right .6s var(--ease) backwards; }
.tv-top li:nth-child(1) { animation-delay: .7s; } .tv-top li:nth-child(2) { animation-delay: .8s; } .tv-top li:nth-child(3) { animation-delay: .9s; } .tv-top li:nth-child(4) { animation-delay: 1s; } .tv-top li:nth-child(n+5) { animation-delay: 1.1s; }
.tv-top .nm { flex: 1; min-width: 0; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-align: left; }
.tv-top b { font: 700 20px/1 var(--display); white-space: nowrap; }
.tv-order { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.tv-order div { display: flex; align-items: center; gap: 16px; min-height: 84px; padding: 12px 22px; border: 1px solid rgba(255, 255, 255, .2); border-radius: 20px; background: var(--glass); font-size: 28px; font-weight: 700; animation: tile-in .6s var(--back) backwards; }
.tv-order div:nth-child(1) { animation-delay: .8s; } .tv-order div:nth-child(2) { animation-delay: .9s; } .tv-order div:nth-child(3) { animation-delay: 1s; } .tv-order div:nth-child(4) { animation-delay: 1.1s; } .tv-order div:nth-child(n+5) { animation-delay: 1.2s; }
.tv-order div.right { border-color: rgba(255, 255, 255, .5); background: linear-gradient(140deg, var(--ok-hi), var(--ok) 45%, var(--ok-lo)); color: var(--dark); box-shadow: 0 16px 40px -14px rgba(var(--ok-rgb), 1); animation-name: in-left; }
.tv-order span:empty { display: none; }
.tv-order span { font: 800 30px/1 var(--display); }
.tv-track { display: flex; flex-direction: column; align-items: center; text-align: center; }
.tv-track b { font: 800 124px/1 var(--display); letter-spacing: -.04em; background: linear-gradient(180deg, #FFB3D9, #FF9A2E 55%, #FF6A3D); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; filter: drop-shadow(0 0 44px rgba(var(--hl), .75)); animation: in-slam .7s var(--ease) .35s backwards; }
.tv-track span { font: 700 34px/1.15 var(--display); letter-spacing: -.02em; animation: in-up .6s var(--ease) .7s backwards; }
.tv-track i { font-style: normal; font-size: 26px; font-weight: 600; color: var(--muted); animation: in-up .6s var(--ease) .8s backwards; }
.tv-split { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 40px; align-items: center; width: 100%; }
.tv-split-main { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.eq { display: flex; align-items: flex-end; gap: 10px; height: 120px; }
.eq i { width: 24px; border-radius: 12px; background: linear-gradient(180deg, var(--magenta-hi), var(--magenta-lo)); box-shadow: 0 0 22px -2px rgba(var(--hl), .75); animation: eq 1s ease-in-out infinite alternate; }
.eq i:nth-child(2n) { background: linear-gradient(180deg, var(--pink-hi), var(--pink-lo)); box-shadow: 0 0 22px -2px rgba(var(--hl), .9); animation-duration: .7s; }
.eq i:nth-child(3n) { background: linear-gradient(180deg, var(--purple-hi), var(--purple-lo)); box-shadow: 0 0 22px -2px rgba(139, 92, 255, .9); animation-duration: 1.3s; }
.eq i:nth-child(5) { background: linear-gradient(180deg, var(--blue-hi), var(--blue-lo)); box-shadow: 0 0 22px -2px rgba(47, 123, 255, .9); animation-duration: .9s; }
.tv-bingo { flex: 1; min-height: 0; display: flex; align-items: center; gap: 48px; }
.tv-ball-wrap { display: flex; flex-direction: column; align-items: center; gap: 20px; width: 360px; flex: none; }
.tv-ball { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; width: 300px; height: 300px; border-radius: 50%; background: radial-gradient(circle at 32% 24%, #FFE3F1 0, #FFB95C 22%, #FF8A1F 52%, #C24A06 86%, #7A2A00 100%); box-shadow: inset -22px -28px 60px rgba(90, 30, 0, .5), 0 0 0 10px rgba(var(--hl), .16), 0 0 110px -6px rgba(var(--hl), .95); color: var(--dark); animation: ball-in .9s var(--ease) backwards; }
.tv-ball::before { content: ""; position: absolute; left: 16%; top: 9%; width: 46%; height: 30%; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 255, 255, .75), transparent); transform: rotate(-24deg); }
.tv-ball span { position: relative; font: 800 40px/1 var(--display); } .tv-ball b { position: relative; font: 800 110px/1 var(--display); letter-spacing: -.04em; }
.tv-ball.music { width: 240px; height: 240px; background: radial-gradient(circle at 32% 24%, #FFD3EE 0, #FF6CC6 22%, #EC2FA4 52%, #8A0B5E 88%); box-shadow: inset -18px -24px 50px rgba(70, 0, 50, .5), 0 0 0 10px rgba(236, 47, 164, .16), 0 0 110px -6px rgba(236, 47, 164, .95); color: #fff; }
.tv-ball.music span { font: 700 20px var(--sans); } .tv-ball.music b { font-size: 90px; }
.tv-bingo .tv-prompt { text-align: center; font-size: 24px; }
.tv-bingo.music { justify-content: center; }
.tv-bingo.music .tv-ball-wrap { width: 520px; }
.tv-bingo.music .tv-top { width: 420px; }
.tv-bingo .eq { height: 70px; }
.tv-last { display: flex; gap: 10px; min-height: 52px; }
.tv-last span { display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; border: 1px solid rgba(255, 255, 255, .22); border-radius: 50%; background: rgba(255, 255, 255, .1); font: 700 17px/1 var(--display); }
.tv-board75 { flex: 1; display: flex; flex-direction: column; gap: 8px; padding: 18px; border: 1px solid rgba(255, 255, 255, .15); border-radius: var(--r-lg); background: var(--grain) 0 0 / 180px 180px, var(--glass); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); animation: in-right .8s var(--ease) .5s backwards; }
.tv-board75 .row { display: grid; grid-template-columns: 50px repeat(15, 1fr); gap: 6px; align-items: center; }
.tv-board75 .row b { font: 800 30px/1 var(--display); color: var(--pink-hi); }
.tv-board75 .row span { display: flex; align-items: center; justify-content: center; height: 54px; border-radius: 12px; background: rgba(255, 255, 255, .06); color: rgba(196, 189, 227, .5); font: 600 16px/1 var(--display); transition: background .3s ease, color .3s ease; }
.tv-board75 .row span.on { background: linear-gradient(140deg, var(--magenta-hi), var(--magenta) 50%, var(--magenta-lo)); color: #fff; box-shadow: 0 0 18px -4px rgba(236, 47, 164, .95); }
.tv-board75 .row span.now { background: linear-gradient(135deg, #FFB3D9, #EC1C87 45%, #C41BD2); color: var(--dark); box-shadow: 0 0 26px 0 rgba(var(--hl), 1); animation: in-pop .6s var(--back) .5s backwards; }
.tv-flash { position: absolute; left: 0; right: 0; top: 50%; z-index: 3; transform: translateY(-50%); display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 30px; background: linear-gradient(90deg, rgba(139, 92, 255, .96), rgba(236, 47, 164, .96) 50%, rgba(var(--hl), .96)); box-shadow: 0 0 120px rgba(var(--hl), .75); text-align: center; animation: in-fade .3s ease backwards; }
.tv-flash span { font-size: 22px; font-weight: 700; animation: in-down .5s var(--ease) .3s backwards; }
.tv-flash b { font: 800 124px/1 var(--display); letter-spacing: -.04em; animation: in-slam .6s var(--ease) .1s backwards; }
.tv-flash em { font-style: normal; font-weight: 800; font-size: 36px; animation: in-up .5s var(--ease) .45s backwards; }
.tv-koffer { flex: 1; min-height: 0; display: grid; grid-template-columns: 1fr 400px; gap: 40px; align-items: center; }
.tv-cases { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.tv-cases.many { grid-template-columns: repeat(6, 1fr); gap: 10px; }
.tv-case { position: relative; overflow: hidden; display: flex; flex-direction: column; align-items: center; justify-content: center; height: 120px; border: 1px solid rgba(255, 255, 255, .4); border-radius: 22px; background: linear-gradient(150deg, var(--purple-hi) -12%, var(--purple) 40%, var(--purple-lo) 108%); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .55), inset 0 -16px 24px -12px rgba(0, 0, 0, .3), 0 18px 36px -16px rgba(139, 92, 255, 1); animation: tile-in .6s var(--back) backwards; }
.tv-case::before { content: ""; position: absolute; left: -12%; top: -70%; width: 75%; height: 130%; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 255, 255, .34), transparent); }
.tv-case:nth-child(n) { animation-delay: .5s; } .tv-case:nth-child(4n+2) { animation-delay: .58s; } .tv-case:nth-child(4n+3) { animation-delay: .66s; } .tv-case:nth-child(4n) { animation-delay: .74s; }
.tv-cases.many .tv-case { height: 94px; border-radius: 18px; }
.tv-case span { position: relative; font: 800 38px/1 var(--display); }
.tv-cases.many .tv-case span { font-size: 28px; }
.tv-case i { position: absolute; right: 8px; top: 8px; min-width: 28px; height: 28px; padding: 0 6px; border-radius: 999px; background: rgba(6, 3, 26, .8); font: 700 15px/28px var(--sans); font-style: normal; text-align: center; }
.tv-case.open { border-color: rgba(255, 255, 255, .14); background: rgba(255, 255, 255, .06); box-shadow: none; animation: none; }
.tv-case.open::before { display: none; }
.tv-case.open span { font-size: 17px; color: var(--muted); }
.tv-case.open b { font: 800 34px/1.1 var(--display); color: var(--text-2); }
.tv-case.fresh { border-color: rgba(255, 255, 255, .6); background: linear-gradient(135deg, #FFB3D9, #EC1C87 45%, #C41BD2); box-shadow: 0 0 50px -4px rgba(var(--hl), 1); animation: flip-open .8s var(--ease) .35s backwards; }
.tv-case.fresh span, .tv-case.fresh b { color: var(--dark); }
.tv-koffer-side { display: flex; flex-direction: column; gap: 12px; }
.tv-offer { position: relative; overflow: hidden; display: flex; flex-direction: column; align-items: center; padding: 18px; border: 1px solid rgba(255, 255, 255, .55); border-radius: var(--r-lg); background: linear-gradient(135deg, #FFB3D9, #EC1C87 45%, #C41BD2); color: var(--dark); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .7), 0 0 90px -10px rgba(var(--hl), 1); animation: in-slam .7s var(--ease) .4s backwards; }
.tv-offer::after { content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 38%; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .6), transparent); transform: translateX(-130%) skewX(-20deg); animation: sheen-loop 3s ease-in-out infinite; }
.tv-offer span { font-size: 21px; font-weight: 800; } .tv-offer b { font: 800 100px/1 var(--display); letter-spacing: -.04em; }
.tv-results { flex: 1; min-height: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; padding: 32px 56px; }
.tv-win { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.tv-win .eyebrow { color: var(--pink-hi); animation: in-left .6s var(--ease) .4s backwards; }
.tv-win .lbl { animation: in-fade .6s ease .9s backwards; }
.tv-win h1 { font: 800 76px/1.05 var(--display); letter-spacing: -.035em; overflow-wrap: anywhere; filter: drop-shadow(0 0 44px rgba(243, 217, 164, .7)); }
.tv-win h1.long { font-size: 44px; }
.tv-win h1 .word > span { background: linear-gradient(180deg, #FFFFFF 15%, #FFB3D9 60%, #EC1C87); -webkit-background-clip: text; background-clip: text; animation-delay: calc(.85s + var(--i, 0) * .09s); }
.tv-pause { position: absolute; inset: 0; z-index: 5; display: flex; flex-direction: column; align-items: center; justify-content: center; background: rgba(6, 3, 26, .7); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); animation: in-fade .3s ease backwards; }
.tv-pause b { font: 800 110px/1 var(--display); letter-spacing: -.04em; animation: in-slam .6s var(--ease) backwards; } .tv-pause span { font-size: 28px; font-weight: 600; color: var(--muted); }

/* ---------- Admin ---------- */
.adm { container-type: inline-size; }
.adm-in { display: flex; height: 100%; }
.adm-nav { flex: none; width: 214px; display: flex; flex-direction: column; gap: 20px; padding: 20px 12px; border-right: 1px solid rgba(255, 255, 255, .12); background: linear-gradient(180deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .02)); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); overflow: auto; }
.adm-nav .wm { padding: 0 8px; }
.adm-tabs { display: flex; flex-direction: column; gap: 4px; flex: 1; }
.tab { display: flex; align-items: center; justify-content: space-between; min-height: 44px; padding: 8px 12px; border: 1px solid transparent; border-radius: 12px; background: transparent; color: var(--muted); font-weight: 700; text-align: left; white-space: nowrap; transition: color .2s ease, background .2s ease; }
.tab:hover { color: var(--ink); background: rgba(255, 255, 255, .05); }
.tab.on { border-color: rgba(255, 255, 255, .2); background: linear-gradient(90deg, rgba(139, 92, 255, .55), rgba(139, 92, 255, .12)); color: var(--ink); box-shadow: inset 3px 0 0 var(--pink), 0 10px 26px -14px rgba(139, 92, 255, 1); }
.livedot { width: 10px; height: 10px; border-radius: 50%; background: var(--pink); margin-left: 8px; box-shadow: 0 0 12px var(--pink); animation: pulse-dot 1.4s ease-in-out infinite; }
.adm-main { flex: 1; min-width: 0; overflow: auto; padding: 24px; }
.pane { display: flex; flex-direction: column; gap: 16px; max-width: 1100px; }
.toolbar { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.toolbar .disp { margin-right: auto; }
.toolbar .inp { width: 240px; }
.toolbar form { margin: 0; }
.regie { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 16px; align-items: start; max-width: 1300px; }
.regie-col { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.live-card { display: flex; flex-direction: column; gap: 16px; }
.live-card.on { border: 2px solid transparent; background: linear-gradient(160deg, #21155A, #120A38) padding-box, var(--flow) 0 0 / 300% 100% border-box; box-shadow: 0 0 60px -18px rgba(var(--hl), .75), 0 30px 70px -30px #000; -webkit-backdrop-filter: none; backdrop-filter: none; animation: flow 8s linear infinite; }
.live-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.live-head > div { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.live-head .eyebrow { color: var(--pink-hi); }
.live-info { display: flex; flex-direction: column; gap: 8px; padding: 16px; border: 1px solid rgba(255, 255, 255, .1); border-radius: var(--r-md); background: rgba(4, 2, 18, .5); }
.live-info .big { font-size: 19px; font-weight: 800; line-height: 1.3; }
.live-info .lbl { display: inline; margin-right: 6px; }
.cue { display: flex; flex-direction: column; gap: 2px; padding: 14px 16px; border: 1px solid rgba(255, 255, 255, .45); border-radius: var(--r-md); background: linear-gradient(140deg, var(--magenta-hi) -20%, var(--magenta) 45%, var(--magenta-lo)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5), 0 18px 40px -16px rgba(236, 47, 164, 1); }
.cue span { font-size: 13px; font-weight: 700; }
.cue b { font: 700 19px/1.2 var(--display); letter-spacing: -.02em; }
.cue em { font-style: normal; font-weight: 800; }
.resolve { display: flex; flex-direction: column; gap: 8px; }
.live-actions { display: flex; flex-direction: column; gap: 12px; }
.prog { display: flex; flex-direction: column; gap: 6px; }
.prog-row { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border: 1px solid rgba(255, 255, 255, .09); border-radius: var(--r-md); background: rgba(255, 255, 255, .05); transition: background .2s ease, border-color .2s ease; }
.prog-row:hover { background: rgba(255, 255, 255, .09); border-color: rgba(255, 255, 255, .2); }
.prog-row.bezig { border-color: var(--pink); box-shadow: 0 0 30px -10px rgba(var(--hl), 1); }
.prog-row.gespeeld .prog-main { opacity: .5; }
.idx { font: 600 14px/1 var(--display); min-width: 24px; color: var(--muted); text-align: center; }
.prog-main { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.3; }
.prog-main b { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-weight: 800; }
.prog-main span { font-size: 13px; color: var(--muted); }
.status { padding: 2px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; border: 1px solid var(--line); color: var(--muted); }
.prog-main .status.bezig { background: linear-gradient(135deg, #FFB3D9, #EC1C87 45%, #C41BD2); border-color: transparent; color: var(--dark); }
.prog-btns { display: flex; align-items: center; gap: 2px; }
.tiles-stat { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 12px; }
.tiles-stat div { position: relative; overflow: hidden; padding: 14px 16px 12px; border: 1px solid rgba(255, 255, 255, .13); border-radius: var(--r-md); background: rgba(255, 255, 255, .06); }
.tiles-stat div::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--purple); box-shadow: 0 0 16px var(--purple); }
.tiles-stat div:nth-child(2)::before { background: var(--pink); box-shadow: 0 0 16px var(--pink); } .tiles-stat div:nth-child(3)::before { background: var(--magenta); box-shadow: 0 0 16px var(--magenta); }
.tiles-stat div:nth-child(4)::before { background: var(--blue); box-shadow: 0 0 16px var(--blue); } .tiles-stat div:nth-child(5)::before { background: var(--ok); box-shadow: 0 0 16px var(--ok); }
.tiles-stat b { font: 700 25px/1.25 var(--display); font-variant-numeric: tabular-nums; }
.links { display: flex; flex-direction: column; gap: 8px; margin-top: 16px; }
.links code { padding: 8px 12px; border: 1px solid rgba(255, 255, 255, .1); border-radius: var(--r-sm); background: rgba(4, 2, 18, .55); font: 14px ui-monospace, Menlo, Consolas, monospace; color: var(--pink-hi); overflow-wrap: anywhere; }
.table-wrap { overflow-x: auto; border: 1px solid rgba(255, 255, 255, .1); border-radius: var(--r-md); background: rgba(255, 255, 255, .04); }
.card .table-wrap { border: 0; background: none; }
.tbl { width: 100%; border-collapse: collapse; font-size: 15px; }
.tbl th { padding: 10px 12px; text-align: left; font: 600 13px var(--sans); color: var(--muted); white-space: nowrap; }
.tbl td { padding: 6px 12px; border-top: 1px solid rgba(255, 255, 255, .09); vertical-align: middle; white-space: nowrap; }
.tbl tbody tr:hover td { background: rgba(255, 255, 255, .04); }
.tbl .r { text-align: right; font-variant-numeric: tabular-nums; }
.tbl .nrc { font: 600 14px/1 var(--display); color: var(--pink-hi); }
.cr { display: flex; align-items: center; gap: 4px; }
.cr b { min-width: 34px; font-variant-numeric: tabular-nums; }
.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.team-card { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border: 1px solid rgba(255, 255, 255, .13); border-left: 8px solid; border-radius: var(--r-md); background: var(--glass); }
.team-card div { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.3; }
.team-card div span { font-size: 13px; }
.team-card strong { font: 700 23px/1 var(--display); }
.items { display: flex; flex-direction: column; gap: 6px; }
.items li { display: flex; align-items: center; gap: 12px; padding: 8px 12px; border: 1px solid rgba(255, 255, 255, .09); border-radius: var(--r-md); background: rgba(255, 255, 255, .05); }
.items li div { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.3; }
.items li div b { font-weight: 700; }
.items li div span { font-size: 14px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.items li img { width: 60px; height: 40px; object-fit: contain; border-radius: 6px; background: rgba(4, 2, 18, .6); flex: none; }
.settings { display: flex; flex-direction: column; gap: 16px; max-width: 720px; }
.settings + .card { max-width: 720px; }
.games { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; }
.game { display: flex; flex-direction: column; gap: 6px; padding: 14px; border: 1px solid rgba(255, 255, 255, .16); border-radius: var(--r-md); background: rgba(255, 255, 255, .06); text-align: left; transition: transform .14s ease, border-color .2s ease, box-shadow .2s ease; }
.game:hover { border-color: var(--pink); box-shadow: 0 0 30px -10px rgba(var(--hl), 1); transform: translateY(-2px); }
.game b { font: 700 14px/1.2 var(--display); letter-spacing: -.01em; }
.game span { font-size: 13px; color: var(--muted); line-height: 1.35; }
@container (max-width: 900px) {
  .regie { grid-template-columns: 1fr; }
}
@container (max-width: 760px) {
  .adm-in { flex-direction: column; }
  .adm-nav { width: auto; flex-direction: row; align-items: center; gap: 8px; padding: 6px 12px; border-right: 0; border-bottom: 1px solid rgba(255, 255, 255, .12); overflow: visible; }
  .adm-nav .wm { display: none; }
  .adm-tabs { flex-direction: row; overflow-x: auto; min-width: 0; }
  .tab { min-height: 40px; }
  .tab.on { box-shadow: inset 0 -3px 0 var(--pink); }
  .adm-main { padding: 16px; }
  .toolbar .inp { width: 100%; }
}

/* ---------- Bar ---------- */
.bar { display: flex; flex-direction: column; }
.bar-top { flex: none; display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-bottom: 1px solid rgba(255, 255, 255, .14); background: linear-gradient(180deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, .03)); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.bar-body { flex: 1; overflow: auto; padding: 20px 16px 88px; display: flex; flex-direction: column; gap: 16px; width: 100%; max-width: 720px; margin: 0 auto; }
.bar-actions { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; }
.bar-btn { --c: var(--purple); --hi: var(--purple-hi); --lo: var(--purple-lo); --glow: rgba(139, 92, 255, .9); position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; min-height: 150px; padding: 18px; border: 1px solid rgba(255, 255, 255, .4); border-radius: var(--r-lg); background: linear-gradient(150deg, var(--hi) -12%, var(--c) 40%, var(--lo) 108%); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .55), inset 0 -18px 28px -14px rgba(0, 0, 0, .3), 0 22px 44px -18px var(--glow); color: #fff; text-align: left; transition: transform .14s ease, filter .2s ease; animation: tile-in .55s var(--back) backwards; }
.bar-btn:nth-child(2) { animation-delay: .07s; } .bar-btn:nth-child(3) { animation-delay: .14s; }
.bar-btn::before { content: ""; position: absolute; left: -12%; top: -60%; width: 80%; height: 120%; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 255, 255, .36), transparent); }
.bar-btn > * { position: relative; }
.bar-btn:hover { transform: translateY(-3px); filter: brightness(1.08); }
.bar-btn.b { --c: var(--blue); --hi: var(--blue-hi); --lo: var(--blue-lo); --glow: rgba(47, 123, 255, .9); }
.bar-btn.c { --c: var(--ans-c); --hi: var(--ans-c-hi); --lo: var(--ans-c-lo); --glow: rgba(217, 115, 11, .9); color: #fff; }
.bar-btn b { font: 700 21px/1.12 var(--display); letter-spacing: -.02em; }
.bar-btn span { font-size: 14px; font-weight: 600; }
.recent { display: flex; flex-direction: column; }
.recent li { display: flex; align-items: center; gap: 12px; padding: 8px 0; border-top: 1px solid rgba(255, 255, 255, .1); }
.recent li span { color: var(--muted); font-size: 14px; } .recent li b { flex: 1; } .recent li small { color: var(--muted); font-weight: 500; }
.recent li em { font: 700 17px/1 var(--display); font-style: normal; color: var(--ok); }
.pick-list { display: flex; flex-direction: column; gap: 8px; }
.pick { display: flex; align-items: center; gap: 14px; min-height: 64px; padding: 8px 14px; border: 1px solid rgba(255, 255, 255, .16); border-radius: var(--r-md); background: var(--glass); text-align: left; transition: border-color .2s ease, box-shadow .2s ease, transform .14s ease; }
.pick:hover { border-color: var(--pink); box-shadow: 0 0 30px -10px rgba(var(--hl), 1); transform: translateX(3px); }
.pick .nm { flex: 1; min-width: 0; display: flex; flex-direction: column; font-weight: 800; font-size: 18px; line-height: 1.25; }
.pick .nm small { font-weight: 500; color: var(--muted); }
.picked { display: flex; align-items: center; gap: 14px; padding: 12px 14px; border: 1px solid rgba(255, 255, 255, .18); border-radius: var(--r-md); background: var(--glass); }
.picked div { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.25; }
.picked div b { font-size: 19px; font-weight: 800; } .picked div span { color: var(--muted); font-size: 14px; }
.amounts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.amount { min-height: 88px; border-radius: 20px; font: 700 27px/1 var(--display); }
.amount:hover:not(:disabled) { box-shadow: 0 0 34px -8px rgba(var(--hl), 1); border-color: var(--pink); }
.amounts.teams { grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }
.amounts.teams .amount { font: 800 19px var(--sans); border-left-width: 8px; white-space: normal; }
.amount.on { background: linear-gradient(180deg, #2E2170, #190F4A); }

@media (prefers-reduced-motion: reduce) {
  .gsl *, .gsl *::before, .gsl *::after { animation: none !important; transition: none !important; }
  .eq i { height: 60%; }
}

/* ---------- Prime time: indigo, roze en gloed ---------- */
.gsl::before { background: var(--grain) 0 0 / 180px 180px,
    radial-gradient(70% 50% at 50% -12%, rgba(var(--hl), .2), transparent 70%),
    radial-gradient(55% 55% at 0% 0%, rgba(74, 34, 190, .3), transparent 70%),
    radial-gradient(55% 55% at 100% 100%, rgba(150, 20, 100, .22), transparent 70%),
    radial-gradient(50% 50% at 100% 0%, rgba(14, 60, 170, .22), transparent 70%),
    linear-gradient(180deg, #120A38, #0B0626); }
.tv { background: linear-gradient(180deg, #120A38, #0B0626); }
.aura i:nth-child(1) { background: radial-gradient(circle, rgba(74, 34, 190, .42), transparent 66%); }
.aura i:nth-child(2) { background: radial-gradient(circle, rgba(14, 60, 170, .32), transparent 66%); }
.aura i:nth-child(3) { background: radial-gradient(circle, rgba(150, 20, 100, .3), transparent 66%); }
.aura i:nth-child(4) { left: 240px; top: -520px; bottom: auto; width: 800px; height: 800px; background: radial-gradient(circle, rgba(var(--hl), .28), transparent 66%); }
.aura .rings { background: repeating-radial-gradient(circle, rgba(var(--hl), .1) 0 1.5px, transparent 1.5px 64px); }
.aura .streak { background: linear-gradient(105deg, transparent 45%, rgba(var(--hl-hi), .09) 50%, transparent 55%), linear-gradient(105deg, transparent 62%, rgba(var(--hl-hi), .05) 65%, transparent 68%); }
.sting i:nth-child(1) { background: linear-gradient(90deg, rgba(0, 0, 0, 0), #0B0626 30%, #000); }
.sting i:nth-child(2) { background: linear-gradient(90deg, rgba(var(--hl), 0), #C41BD2 55%, #FFB3D9 96%, #fff); }
.sting i:nth-child(3) { background: linear-gradient(90deg, rgba(0, 0, 0, 0), #120A38 30%, #000); }
.sting i:nth-child(4) { background: linear-gradient(90deg, transparent, #FFB3D9, transparent); }
.sting.flash { background: radial-gradient(circle at 50% 55%, #FFE3F1, rgba(var(--hl), .55) 45%, transparent 75%); }
.card, .dlg, .tv-board75 { border-color: rgba(var(--hl), .24); box-shadow: inset 0 1px 0 rgba(var(--hl-hi), .16), 0 30px 70px -30px #000; }
.lightbar { height: 3px; box-shadow: 0 0 22px 2px rgba(var(--hl), .7), 0 0 70px 8px rgba(var(--hl), .3); }
.disp, .tv-h, .tv-bar b, .joincard b { letter-spacing: -.03em; }
.eyebrow, .tv .eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: 12px; font-weight: 800; color: var(--pink); }
.tv .eyebrow { font-size: 17px; }
.btn.primary, .chip.on, .pill.alt, .amount.on { border-color: var(--pink); color: var(--pink-hi); box-shadow: inset 0 1px 0 rgba(var(--hl-hi), .18), 0 0 22px -8px rgba(var(--hl), .9); }
.btn.go, .pill.hot, .nr, .next-up, .tv-offer, .tl-slot.on, .case.on, .ord.on .pos { color: var(--dark); border-color: #FFE3F1; }
.btn.go { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .7), 0 0 44px -8px rgba(var(--hl), .95); text-transform: uppercase; letter-spacing: .04em; }
.tab.on { background: linear-gradient(90deg, rgba(var(--hl), .2), rgba(var(--hl), .03)); border-color: rgba(var(--hl), .35); box-shadow: inset 3px 0 0 var(--pink); }
.timebar i, .progress i { background: var(--aurora); box-shadow: 0 0 14px rgba(var(--hl), .9); }
/* Antwoordtegels: glas, gekleurde lichtrand */
.tile { --tint: rgba(106, 53, 240, .6); border-radius: 12px; border: 1px solid var(--c); color: #fff;
  background: linear-gradient(100deg, var(--tint) 0%, rgba(18, 10, 56, .2) 62%), linear-gradient(180deg, #21155A, #120A38);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14), 0 0 30px -8px var(--glow); }
.tile::before { left: 0; top: 0; width: 100%; height: 50%; border-radius: 0; background: linear-gradient(180deg, rgba(255, 255, 255, .09), transparent); }
.tile.b { --tint: rgba(21, 87, 224, .62); } .tile.d { --tint: rgba(208, 31, 140, .58); }
.tile.c { --c: #D9730B; --tint: rgba(217, 115, 11, .6); --glow: rgba(217, 115, 11, .85); color: #fff; }
.tile .ltr, .tv-tiles .tile .ltr { background: linear-gradient(135deg, #FFB3D9, #EC1C87 45%, #C41BD2); border: 0; color: var(--dark); font-weight: 800; clip-path: polygon(25% 0, 75% 0, 100% 50%, 75% 100%, 25% 100%, 0 50%); border-radius: 0; }
.tile.mine { border-color: var(--pink-hi); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14), 0 0 0 2px var(--pink), 0 0 40px -4px rgba(var(--hl), .95); }
.tile.dim { filter: saturate(.2) brightness(.55); }
.tile.right { --c: var(--ok-hi); --tint: rgba(var(--ok-rgb), .8); color: #fff; }
.tv-tiles .tile { border-radius: 14px; border-width: 2px; }
.verdict.ok, .verdict.bad, .bigmark, .tv-order div.right { color: #fff; }
.verdict { border-radius: 12px; }
.bar-btn { border: 1px solid var(--c); color: #fff; background: linear-gradient(140deg, var(--tint, rgba(106, 53, 240, .6)) 0%, rgba(18, 10, 56, .2) 70%), linear-gradient(180deg, #21155A, #120A38); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14), 0 0 36px -10px var(--glow); }
.bar-btn::before { display: none; }
.bar-btn.b { --tint: rgba(21, 87, 224, .62); } .bar-btn.c { --tint: rgba(217, 115, 11, .6); color: #fff; }
.cell.on, .tv-board75 .row span.on { background: var(--aurora); color: var(--dark); border-color: #FFE3F1; box-shadow: 0 0 22px -4px rgba(var(--hl), .95); }
.grid.music .cell.on i { color: var(--dark); }
.tv-board75 .row span.now { background: #fff; color: #000; box-shadow: 0 0 30px 2px rgba(255, 255, 255, .9); }
.tv-ball, .ball { background: radial-gradient(circle at 32% 24%, #FFE3F1 0, #FF6EB4 20%, #EC1C87 46%, #7B3FF2 82%, #3A1584 100%); box-shadow: inset -22px -28px 60px rgba(30, 10, 70, .55), 0 0 0 8px rgba(var(--hl), .14), 0 0 110px -6px rgba(var(--hl), .9); color: var(--dark); }
.ball { box-shadow: 0 0 30px -6px rgba(var(--hl), .95); }
.tv-ball.music { background: radial-gradient(circle at 32% 24%, #3A2C80, #21155A 55%, #0B0626); border: 2px solid var(--pink); box-shadow: 0 0 110px -10px rgba(var(--hl), .9); color: var(--pink-hi); }
.tv-case, .case, .mycase { border: 1px solid rgba(var(--hl), .7); background: linear-gradient(180deg, #21155A, #120A38); box-shadow: inset 0 1px 0 rgba(var(--hl-hi), .22), 0 0 30px -12px rgba(var(--hl), .9); color: var(--pink-hi); }
.tv-case::before { display: none; }
.tv-case.open { border-color: rgba(255, 255, 255, .08); background: rgba(255, 255, 255, .03); box-shadow: none; }
.tv-case.fresh, .case.on { background: var(--aurora); color: var(--dark); }
.tv-flash { background: linear-gradient(90deg, rgba(0, 0, 0, .0), rgba(0, 0, 0, .94) 18% 82%, rgba(0, 0, 0, 0)); border-block: 2px solid var(--pink); box-shadow: 0 0 120px rgba(var(--hl), .5); }
.tv-flash b, .offer b, .tv-track b, .tv-shown, .place b { background-image: linear-gradient(180deg, #FFE3F1, #EC1C87 55%, #7B3FF2); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; filter: drop-shadow(0 0 34px rgba(var(--hl), .65)); }
.tv-intro .word > span { background-image: linear-gradient(180deg, #FFFFFF 25%, #FF6EB4 75%, #C41BD2); }
.tv-intro h1 { font-size: 108px; filter: drop-shadow(0 0 46px rgba(var(--hl), .5)); } .tv-intro h1.long { font-size: 72px; }
.tv-win h1 { font-size: 100px; } .tv-win h1.long { font-size: 54px; }
.tv-question { text-shadow: 0 0 40px rgba(var(--hl), .35); }
.tv-bar b { font-size: 34px; } .tv-h { font-size: 38px; }
.win { background: linear-gradient(180deg, #21155A, #120A38); border: 2px solid var(--pink); color: var(--pink-hi); box-shadow: 0 0 70px -12px rgba(var(--hl), .95); }
.cue { background: linear-gradient(180deg, #21155A, #120A38); border-color: var(--pink); box-shadow: 0 0 40px -14px rgba(var(--hl), .95); }
.cue b { color: var(--pink-hi); }
.eq i, .eq i:nth-child(2n), .eq i:nth-child(3n), .eq i:nth-child(5) { background: linear-gradient(180deg, #FFB3D9, #7B3FF2); box-shadow: 0 0 22px -2px rgba(var(--hl), .9); }
.map .sea { fill: #120A38; } .map .land { fill: #2E2170; } .map .border { stroke: #120A38; }
.tiles-stat div::before, .tiles-stat div:nth-child(n)::before { background: var(--pink); box-shadow: 0 0 16px var(--pink); }
select.inp option { background: #190F4A; }
.dlg { background: var(--grain) 0 0 / 180px 180px, linear-gradient(160deg, #21155A, #120A38); }
.toast { background: rgba(22, 12, 66, .95); border-color: rgba(var(--hl), .5); }

/* ---------- Materialen: roze verloop, glas met randlicht, gegraveerde cijfers ---------- */
:root {
  --marble: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='640' height='640'%3E%3Cfilter id='m' x='0' y='0'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.0028 .008' numOctaves='6' seed='11'/%3E%3CfeColorMatrix type='matrix' values='0 0 0 0 1  0 0 0 0 .93  0 0 0 0 .8  1 0 0 0 0'/%3E%3CfeComponentTransfer%3E%3CfeFuncA type='table' tableValues='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .07 0 0 0 0 0 0 .04 0 0 0 0 0 0 0 0 0 0 0 0 0 0'/%3E%3C/feComponentTransfer%3E%3C/filter%3E%3Crect width='640' height='640' filter='url%28%23m%29'/%3E%3C/svg%3E") 0 0 / 640px 640px;
  --carbon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='8'%3E%3Cdefs%3E%3ClinearGradient id='a' x2='0' y2='1'%3E%3Cstop stop-color='%23fff' stop-opacity='.075'/%3E%3Cstop offset='1' stop-color='%23fff' stop-opacity='0'/%3E%3C/linearGradient%3E%3ClinearGradient id='b' x2='1'%3E%3Cstop stop-color='%23fff' stop-opacity='.05'/%3E%3Cstop offset='1' stop-color='%23000' stop-opacity='.15'/%3E%3C/linearGradient%3E%3C/defs%3E%3Crect width='4' height='4' fill='url%28%23a%29'/%3E%3Crect x='4' y='4' width='4' height='4' fill='url%28%23a%29'/%3E%3Crect x='4' width='4' height='4' fill='url%28%23b%29'/%3E%3Crect y='4' width='4' height='4' fill='url%28%23b%29'/%3E%3C/svg%3E") 0 0 / 8px 8px;
  --tex: linear-gradient(transparent, transparent);
  --gold: var(--cta);
  --headline: linear-gradient(180deg, #FFFFFF 35%, #E4DCFA 100%);
  --win-grad: linear-gradient(180deg, #FFF3CF 0%, #F2D284 30%, #C99A3A 60%, #F7DE96 100%);
  --glint: linear-gradient(105deg, transparent 42%, rgba(255, 255, 255, .8) 50%, transparent 58%) 0 0 / 300% 100% no-repeat;
  --rim-gold: linear-gradient(155deg, rgba(255, 255, 255, .32) 0%, rgba(255, 255, 255, .12) 30%, rgba(255, 255, 255, .06) 60%, rgba(var(--hl), .3) 100%);
  --glass-dark: linear-gradient(168deg, rgba(255, 255, 255, .075) 0%, rgba(255, 255, 255, .02) 38%, rgba(0, 0, 0, .28) 100%);
}
:root[data-tex="carbon"] { --tex: var(--carbon); }
@keyframes glint { 0%, 62% { background-position: 100% 0, 0 0, 0 0; } 100% { background-position: 0% 0, 0 0, 0 0; } }

/* Panelen: glas, een rand die licht vangt aan de bovenkant */
.card, .dlg, .tv-board75, .joincard, .live-card.on {
  border: 1px solid transparent;
  background: var(--tex) padding-box, var(--glass-dark) padding-box, linear-gradient(180deg, #190F4A, #120A38) padding-box, var(--rim-gold) border-box;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2), 0 30px 60px -24px #000, 0 0 50px -26px rgba(var(--hl), .6);
  -webkit-backdrop-filter: none; backdrop-filter: none; }
.joincard { animation: in-up .9s var(--ease) .6s backwards; }
.live-card.on { animation: none; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), 0 30px 60px -24px #000, 0 0 60px -18px rgba(var(--hl), .85); }
.ph-top, .bar-top, .adm-nav { background: var(--tex), linear-gradient(180deg, #21155A, #120A38); border-color: rgba(var(--hl), .3); box-shadow: inset 0 -1px 0 rgba(var(--hl), .12), 0 10px 24px -14px #000; }
.adm-nav { border-right-color: rgba(var(--hl), .25); }
.tv-board li, .tv-top li, .prog-row, .items li, .pick, .picked, .ord, .tl-card, .sent, .stats, .tiles-stat div, .game, .tv-names span, .pill:not(.hot):not(.alt), .tv-order div:not(.right), .codecard {
  border: 1px solid rgba(var(--hl), .22); background: linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .005)), #190F4A;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .13), 0 8px 18px -10px #000; }
.team-card, .tv-teams div { background: linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .005)), #190F4A; border-top-color: rgba(var(--hl), .22); border-right-color: rgba(var(--hl), .22); border-bottom-color: rgba(var(--hl), .22); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .13); }
.tv-board li:first-child, .tv-top li.first { border-color: rgba(var(--hl-hi), .85); background: linear-gradient(90deg, rgba(var(--hl), .3), rgba(var(--hl), .04) 70%), #190F4A; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .4), 0 0 36px -8px rgba(var(--hl), .85); }
.inp { background: rgba(0, 0, 0, .55); border-color: rgba(var(--hl), .28); box-shadow: inset 0 2px 6px rgba(0, 0, 0, .8), 0 1px 0 rgba(255, 255, 255, .07); }
.btn, .chip { background: linear-gradient(180deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, .02)), #190F4A; border-color: rgba(var(--hl), .3); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .16), 0 6px 14px -8px #000; }
.btn.ghost { background: transparent; box-shadow: none; }

/* Roze verloop, met een glans die er af en toe overheen trekt */
.btn.go, .pill.hot, .nr, .next-up, .tv-offer, .tl-slot.on, .case.on, .tv-case.fresh, .cell.on, .tv-board75 .row span.on, .ord.on .pos, .tile .ltr, .tv-tiles .tile .ltr { background: var(--gold); }
.nr, .pill.hot, .next-up { background: var(--glint), var(--gold); animation: glint 6s ease-in-out infinite; }
.next-up { animation: in-down .6s var(--back) backwards, glint 6s ease-in-out 1s infinite; }
.btn.go { border: 1px solid #FFE3F1; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .75), inset 0 -3px 0 rgba(120, 80, 10, .45), 0 0 40px -10px rgba(var(--hl), .95), 0 14px 26px -14px #000; }
.tv-intro .word > span, .tv-win h1 .word > span, .tv-flash b, .offer b, .tv-track b, .tv-shown, .place b, .tv-pause b, .engr, .count b .engr {
  background: var(--headline); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
.tv-intro h1, .tv-win h1, .tv-flash b, .tv-track b, .tv-shown, .offer b, .place b, .tv-pause b {
  filter: drop-shadow(0 -1px 0 rgba(0, 0, 0, .7)) drop-shadow(0 2px 0 rgba(40, 12, 90, .9)) drop-shadow(0 0 30px rgba(var(--hl), .45)); }

/* Antwoordtegels: glas met een rand in de eigen kleur, die licht vangt aan de bovenkant */
.tile { --rim: linear-gradient(150deg, rgba(255, 255, 255, .95) 0%, var(--c) 16%, var(--lo) 62%, var(--c) 100%);
  border: 1.5px solid transparent; border-radius: 14px; color: #fff;
  background: linear-gradient(100deg, var(--tint) 0%, rgba(0, 0, 0, 0) 58%) padding-box, var(--glass-dark) padding-box, var(--tex) padding-box, linear-gradient(180deg, #190F4A, #120A38) padding-box, var(--rim) border-box;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .16), 0 0 28px -10px var(--glow), 0 14px 24px -14px #000; text-shadow: 0 1px 2px rgba(0, 0, 0, .8); }
.tile::before { left: -25%; top: 0; width: 42%; height: 100%; border-radius: 0; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .07) 50%, transparent); transform: skewX(-20deg); }
.tile.mine { --rim: linear-gradient(150deg, #FFE3F1 0%, #EC1C87 30%, #7B3FF2 70%, #FF6EB4 100%); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2), 0 0 0 1px rgba(var(--hl), .6), 0 0 40px -6px rgba(var(--hl), .95); }
.tile.right { --c: var(--ok); --lo: var(--ok-lo); --tint: rgba(var(--ok-rgb), .75); --glow: rgba(var(--ok-rgb), .95); color: #fff; }
.tile.wrong { --rim: linear-gradient(150deg, #FFC2C8 0%, #F0465A 22%, #6E0F1C 100%); }
.tv-tiles .tile { border-width: 2px; border-radius: 16px; }
.bar-btn { --rim: linear-gradient(150deg, rgba(255, 255, 255, .95) 0%, var(--c) 16%, var(--lo) 62%, var(--c) 100%); border: 1.5px solid transparent; color: #fff;
  background: linear-gradient(130deg, var(--tint, rgba(106, 53, 240, .6)) 0%, rgba(0, 0, 0, 0) 70%) padding-box, var(--tex) padding-box, linear-gradient(180deg, #190F4A, #120A38) padding-box, var(--rim) border-box;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .16), 0 0 34px -12px var(--glow), 0 18px 30px -16px #000; }
.bar-btn.c { --c: #EC1C87; --lo: #3A1584; }
.cell, .case { border: 1px solid rgba(var(--hl), .3); background: linear-gradient(180deg, rgba(255, 255, 255, .07), rgba(0, 0, 0, .25)), #190F4A; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12); }
.tv-case, .mycase { border: 1px solid transparent; background: var(--tex) padding-box, var(--glass-dark) padding-box, linear-gradient(180deg, #21155A, #120A38) padding-box, var(--rim-gold) border-box; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), 0 0 30px -14px rgba(var(--hl), .9), 0 16px 24px -14px #000; }
.tv-case.open { background: rgba(255, 255, 255, .025); border-color: rgba(255, 255, 255, .07); box-shadow: inset 0 3px 10px rgba(0, 0, 0, .7); }
.tv-case.fresh { background: var(--gold); border-color: #FFE3F1; }
.case.on { border-color: #FFE3F1; }

/* Gegraveerde cijfers */
.count b .engr, .tv-board b, .tv-top b, .stats b, .tiles-stat b, .tl-card b, .team-card strong, .tv-teams b, .pill:not(.hot) b, .mycase b, .tv-case:not(.open):not(.fresh) span {
  background: var(--headline); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent;
  filter: drop-shadow(0 -1px 0 rgba(0, 0, 0, .9)) drop-shadow(0 1px 0 rgba(var(--hl-hi), .3)); }
.count b .engr { font-style: normal; }
.tv-board li:first-child b, .tv-top li.first b { filter: drop-shadow(0 -1px 0 rgba(0, 0, 0, .9)) drop-shadow(0 0 12px rgba(var(--hl), .7)); }
.btn.go, .pill.hot, .nr, .next-up, .tv-offer, .tl-slot.on, .case.on, .tv-case.fresh, .tv-case.fresh span, .tv-case.fresh b, .cell.on, .tv-board75 .row span.on, .ord.on .pos, .tv-ball, .ball {
  color: #fff; -webkit-text-fill-color: #fff; text-shadow: 0 1px 2px rgba(60, 10, 60, .35); }
.tile .ltr { color: #1C1433; -webkit-text-fill-color: #1C1433; text-shadow: none; }
.cell:not(.on):not(.free), .case:not(.on), .tv-last span, .ladder span, .tv-case.open b, .tv-board75 .row span:not(.on):not(.now) {
  color: #FFB3D9; text-shadow: 0 -1px 0 rgba(0, 0, 0, .9), 0 1px 0 rgba(var(--hl-hi), .14); }
.tv-board75 .row span:not(.on):not(.now) { color: rgba(230, 213, 168, .38); }

/* ---------- Leesbaarheid op de tv ---------- */
.tv .eyebrow { font-size: 22px; letter-spacing: .12em; }
.tv .lbl { font-size: 20px; }
.tv-bar b { font-size: 38px; }
.tv-foot { font-size: 27px; height: 56px; }
.tv-hint { font-size: 25px; }
.tv-question { font-size: 66px; line-height: 1.08; }
.tv-question.long { font-size: 52px; }
.tv-q-main { gap: 34px; }
.tv-tiles { gap: 22px; }
.tv-tiles .tile { min-height: 132px; padding: 18px 26px; font-size: 38px; gap: 22px; border-width: 3px; }
.tv-tiles .tile .ltr { width: 66px; height: 66px; font-size: 30px; }
.tv-tiles .cnt { font-size: 42px; }
.tv-tiles .cnt small { font-size: 22px; }
.tv-tiles.two .tile { min-height: 190px; font-size: 64px; }
.tv-top li, .tv-board li { font-size: 27px; }
.tv-top b, .tv-board b { font-size: 28px; }
.tv-order div { font-size: 34px; min-height: 104px; }
.tv-prompt { font-size: 32px; }

/* Antwoordkleuren die ook van achter in de zaak opvallen */
.tile.a { --tint: rgba(106, 53, 240, .82); } .tile.b { --tint: rgba(21, 87, 224, .82); } .tile.c { --tint: rgba(217, 115, 11, .8); } .tile.d { --tint: rgba(208, 31, 140, .8); }
.tile { border-width: 2px;
  background: linear-gradient(100deg, var(--tint) 0%, transparent 88%) padding-box, linear-gradient(100deg, var(--tint) 0%, transparent 45%) padding-box, var(--glass-dark) padding-box, var(--tex) padding-box, linear-gradient(180deg, #190F4A, #120A38) padding-box, var(--rim) border-box;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2), inset 0 0 0 1px rgba(255, 255, 255, .06), 0 0 36px -8px var(--glow), 0 14px 24px -14px #000; }
.tile .ltr { width: 36px; height: 36px; font-size: 16px; }
.tile.dim { filter: saturate(.15) brightness(.4); }

/* Startscherm: wat er straks komt en hoeveel mensen meedoen */
.upnext { position: relative; display: flex; align-items: center; gap: 24px; padding: 22px 26px; border: 1px solid transparent; border-radius: var(--r-lg);
  background: var(--tex) padding-box, var(--glass-dark) padding-box, linear-gradient(180deg, #190F4A, #120A38) padding-box, var(--rim-gold) border-box; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2), 0 0 50px -20px rgba(var(--hl), .7); animation: in-right .8s var(--ease) .4s backwards; }
.upnext > div:first-child { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.upnext b { font: 800 46px/1.05 var(--display); letter-spacing: -.03em; background: var(--headline); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; filter: drop-shadow(0 -1px 0 rgba(0, 0, 0, .7)) drop-shadow(0 0 22px rgba(var(--hl), .4)); }
.upnext em { font-style: normal; font-size: 24px; font-weight: 600; color: var(--muted); }
.upnext-time { display: flex; flex-direction: column; align-items: center; }
.upnext-time b { font-size: 72px; } .upnext-time span { font-size: 18px; color: var(--muted); }
.crowd { display: flex; align-items: baseline; gap: 18px; margin-top: 10px; animation: in-right .8s var(--ease) .6s backwards; }
.crowd b { font: 800 132px/1 var(--display); letter-spacing: -.04em; filter: drop-shadow(0 -1px 0 rgba(0, 0, 0, .8)) drop-shadow(0 0 34px rgba(var(--hl), .5)); }
.crowd span { font-size: 32px; font-weight: 700; }
.tv-names { gap: 12px; }
.tv-names span { padding: 8px 20px; font-size: 24px; }

/* Telefoon: gedimde knop is duidelijk uit, een volwaardig wachtscherm */
.btn.go:disabled { opacity: 1; background: linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .01)), #190F4A; border-color: rgba(var(--hl), .2); color: rgba(169, 166, 184, .7); -webkit-text-fill-color: rgba(169, 166, 184, .7); text-shadow: none; box-shadow: none; animation: none; }
.ph { --tex: var(--carbon); }
.lobby-head { text-align: center; display: flex; flex-direction: column; gap: 6px; }
.rankcard { display: flex; align-items: center; gap: 18px; padding: 20px; }
.rank-big { flex: 1; display: flex; flex-direction: column; }
.rank-big b { font: 800 64px/1 var(--display); letter-spacing: -.04em; }
.rank-big span { color: var(--muted); font-weight: 600; }
.rank-side { display: flex; flex-direction: column; gap: 10px; padding-left: 18px; border-left: 1px solid rgba(var(--hl), .22); }
.rank-side div { display: flex; flex-direction: column; }
.rank-side span { font-size: 12px; color: var(--muted); font-weight: 600; }
.rank-side b { font: 800 26px/1.1 var(--display); }
.teamline { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border: 1px solid; border-left-width: 6px; border-radius: var(--r-md); background: linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .005)), #190F4A; }
.upnext-ph { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.upnext-ph > b { font: 800 26px/1.15 var(--display); letter-spacing: -.02em; background: var(--headline); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
.upnext-ph .pill { margin-top: 6px; }
.warnline { margin-top: 8px; padding-top: 10px; border-top: 1px solid rgba(var(--hl), .22); font-size: 15px; font-weight: 600; }
.warnline .nr { min-width: 36px; height: 36px; font-size: 17px; margin-left: 6px; vertical-align: middle; }
.mini-board { display: flex; flex-direction: column; gap: 6px; margin-top: 10px; }
.mini-board li { display: flex; align-items: center; gap: 12px; padding: 8px 12px; border: 1px solid rgba(var(--hl), .18); border-radius: 10px; background: rgba(255, 255, 255, .03); }
.mini-board li.me { border-color: rgba(var(--hl-hi), .8); background: rgba(var(--hl), .14); }
.mini-board li span { color: var(--muted); font-weight: 700; min-width: 16px; }
.mini-board li b { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mini-board li em { font: 800 18px/1 var(--display); font-style: normal; }

/* Admin op een tablet: tabbladen lopen door op een tweede regel */
@container (max-width: 760px) {
  .adm-tabs { flex-wrap: wrap; overflow: visible; gap: 4px; }
  .tab { min-height: 36px; padding: 4px 10px; font-size: 14px; }
}

/* ---------- Stap 2: een roze vonk langs het actieve paneel, een glans bij het kiezen ---------- */
@property --spark { syntax: '<angle>'; initial-value: 0deg; inherits: false; }
@keyframes spark { to { --spark: 360deg; } }
@keyframes pick-sheen { from { transform: translateX(0) skewX(-20deg); opacity: 1; } to { transform: translateX(420%) skewX(-20deg); opacity: 1; } }
@keyframes pick-pop { 0% { transform: scale(.96); } 60% { transform: scale(1.02); } 100% { transform: none; } }
.joincard, .tv-board li:first-child, .tv-top li.first, .mycase, .upnext { position: relative; }
.joincard::before, .tv-offer::before, .live-card.on::before, .tv-board li:first-child::before, .tv-top li.first::before, .mycase::before, .upnext::before, .tile.mine:not(.right):not(.wrong)::after {
  content: ""; position: absolute; inset: -1px; z-index: 2; border-radius: inherit; padding: 2px; pointer-events: none;
  background: conic-gradient(from var(--spark), transparent 0 72%, rgba(var(--hl), .5) 82%, #FFB3D9 90%, #FFFFFF 92%, transparent 93%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
  filter: drop-shadow(0 0 5px #EC1C87) drop-shadow(0 0 12px rgba(var(--hl), .6)); animation: spark 3.4s linear infinite; }
.tv-offer::before { inset: 0; padding: 3px; background: conic-gradient(from var(--spark), transparent 0 72%, rgba(255, 255, 255, .5) 84%, #FFFFFF 91%, transparent 92%); filter: drop-shadow(0 0 6px #fff); }
.tile.mine:not(.right):not(.wrong)::after { inset: 0; animation-duration: 2.2s; }
.tile.mine::before { left: -45%; width: 38%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .55) 50%, transparent); animation: pick-sheen .8s var(--ease) both; }
.tiles > .tile.mine { animation: pick-pop .4s var(--back); }
.cell.on, .case.on, .ord.on, .tl-slot.on { animation: pick-pop .35s var(--back); }
@media (prefers-reduced-motion: reduce) { .joincard::before, .tv-offer::before, .live-card.on::before, .tv-board li:first-child::before, .tv-top li.first::before, .mycase::before, .upnext::before, .tile.mine::after { animation: none; opacity: 0; } }

.tv-lobby .tv-board li { padding: 5px 18px; font-size: 24px; }
.tv-lobby .tv-board b { font-size: 25px; }
.tv-tiles.two .tile { min-height: 160px; }
.tv-foot { white-space: nowrap; overflow: hidden; }
.tv-foot > span:first-child { flex: none; }
.tv-foot .surv { min-width: 0; overflow: hidden; text-overflow: ellipsis; }

/* ---------- Stap 3: titels die inbranden en naar voren draaien, tekst die scherp trekt, naambalken ---------- */
@keyframes burn { 0% { opacity: 0; filter: blur(10px) brightness(3); transform: translateY(.1em) scale(1.3); } 45% { opacity: 1; filter: blur(0) brightness(2.4); } 100% { opacity: 1; filter: none; transform: none; } }
@keyframes title-turn { 0% { opacity: 0; transform: perspective(900px) rotateX(78deg) translateY(40px) scale(.9); } 55% { opacity: 1; } 100% { opacity: 1; transform: none; } }
@keyframes focus-in { 0% { opacity: 0; filter: blur(18px); transform: scale(1.06); } 100% { opacity: 1; filter: blur(0); transform: none; } }
@keyframes l3-in { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes l3-name { from { opacity: 0; transform: translateX(-24px); } to { opacity: 1; transform: none; } }
.lw { display: inline-block; white-space: nowrap; }
.ch { display: inline-block; animation: burn .9s var(--ease) backwards; animation-delay: calc(var(--d, .7s) + var(--i, 0) * .045s); }
.tv-intro h1 .ch, .tv-win h1 .ch { background: var(--headline); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
.tv-intro h1 { animation: title-turn 1.15s var(--ease) .3s backwards; transform-origin: 50% 100%; }
.tv-win h1 { --d: 1s; }
.tv-question .word > span { animation-name: focus-in; animation-duration: 1s; animation-timing-function: var(--ease); animation-delay: calc(.4s + var(--i, 0) * .05s); }
.q-text { animation: focus-in .8s var(--ease) backwards; }
.l3 { display: inline-flex; align-items: stretch; height: 52px; flex: none; clip-path: inset(0 100% 0 0); animation: l3-in .75s var(--ease) .8s forwards; filter: drop-shadow(0 10px 20px rgba(0, 0, 0, .7)); }
.l3-tag { display: flex; align-items: center; padding: 0 18px; background: var(--gold); color: #fff; font: 800 16px/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; text-shadow: 0 1px 0 rgba(255, 248, 225, .6); clip-path: polygon(0 0, 100% 0, calc(100% - 14px) 100%, 0 100%); }
.l3-bar { display: flex; align-items: center; gap: 16px; margin-left: -14px; padding: 0 26px 0 30px; border-bottom: 2px solid var(--pink); background: linear-gradient(90deg, rgba(29, 18, 82, .98), rgba(18, 10, 56, .92)); clip-path: polygon(14px 0, 100% 0, 100% 100%, 0 100%); }
.l3-bar b { font: 800 27px/1 var(--sans); color: #fff; animation: l3-name .6s var(--ease) 1.15s backwards; }
.l3-bar em { font: 700 22px/1 var(--sans); font-style: normal; color: var(--pink-hi); animation: l3-name .6s var(--ease) 1.3s backwards; }
.tv-foot .l3 { margin-left: auto; }
.l3-win { position: absolute; left: 56px; bottom: 26px; z-index: 5; animation-delay: 2.2s; }
.l3-win .l3-bar b { animation-delay: 2.55s; } .l3-win .l3-bar em { animation-delay: 2.7s; }
@media (prefers-reduced-motion: reduce) { .l3 { clip-path: none; } }

/* ---------- Huisstijl van de zaak: de accentkleur kleurt het studiolicht ---------- */
.gsl::before { background: var(--grain) 0 0 / 180px 180px,
    radial-gradient(70% 50% at 50% -12%, rgba(var(--hl), .2), transparent 70%),
    radial-gradient(58% 58% at 0% 0%, rgba(var(--accent-rgb, 106, 53, 240), .4), transparent 70%),
    radial-gradient(55% 55% at 100% 100%, rgba(var(--accent-rgb, 106, 53, 240), .24), transparent 70%),
    radial-gradient(50% 50% at 100% 0%, rgba(14, 60, 170, .16), transparent 70%),
    linear-gradient(180deg, #120A38, #0B0626); }
.aura i:nth-child(1) { background: radial-gradient(circle, rgba(var(--accent-rgb, 106, 53, 240), .5), transparent 66%); }
.aura i:nth-child(3) { background: radial-gradient(circle, rgba(var(--accent-rgb, 106, 53, 240), .3), transparent 66%); }
.venue-badge { display: flex; align-items: center; gap: 14px; min-width: 0; animation: in-fade .8s ease .7s backwards; }
.venue-badge img { height: 56px; max-width: 200px; object-fit: contain; filter: drop-shadow(0 4px 12px rgba(0, 0, 0, .6)); }
.venue-badge span { font-size: 24px; font-weight: 700; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.venue-badge.big { flex-direction: column; align-items: flex-start; gap: 18px; }
.venue-badge.big img { height: 130px; max-width: 380px; animation: in-pop .9s var(--back) .3s backwards; }
.venue-badge.big span { font-size: 36px; color: #fff; }
.intro-venue { position: absolute; top: 46px; right: 56px; z-index: 2; }
.intro-venue .venue-badge img { height: 64px; }
.thanks { font-size: 26px; font-weight: 700; color: var(--pink-hi); animation: in-right .8s var(--ease) .4s backwards; }
.joincard .qr { filter: drop-shadow(0 0 16px rgba(var(--hl), .45)); }
.colorpick { width: 44px; height: 40px; padding: 0; border: 1px solid rgba(var(--hl), .4); border-radius: 10px; background: none; cursor: pointer; }
.inp.area.plain { font: inherit; min-height: 120px; }
.ph-venue { display: flex; align-items: center; gap: 12px; animation: in-up .7s var(--ease) backwards; }
.ph-venue img { height: 48px; max-width: 140px; object-fit: contain; }
.ph-venue span { color: var(--muted); font-weight: 600; } .ph-venue b { color: #fff; }

/* ---------- Wachtstand ---------- */
@keyframes idle-bar { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.idle { flex: 1; display: flex; flex-direction: column; justify-content: center; padding: 40px 72px 60px; min-height: 0; }
.idle .eyebrow { animation: in-left .6s var(--ease) .4s backwards; }
.idle-brand { display: flex; flex-direction: column; align-items: flex-start; gap: 26px; }
.idle-brand .wm { animation: in-left .9s var(--ease) .5s backwards; }
.idle-center { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 18px; }
.idle-big { font: 800 92px/1.04 var(--display); letter-spacing: -.035em; text-wrap: balance; filter: drop-shadow(0 -1px 0 rgba(0, 0, 0, .7)) drop-shadow(0 2px 0 rgba(40, 12, 90, .9)) drop-shadow(0 0 30px rgba(var(--hl), .45)); }
.idle-big .ch { background: var(--headline); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
.idle-sub { font-size: 30px; font-weight: 600; color: var(--muted); max-width: 980px; animation: in-up .8s var(--ease) 1.2s backwards; }
.idle-sub b { color: var(--pink-hi); }
.idle-split { display: grid; grid-template-columns: minmax(0, 1fr) 560px; gap: 56px; align-items: center; }
.idle-split > div:first-child { display: flex; flex-direction: column; gap: 14px; }
.idle-logo { max-height: 260px; max-width: 70%; object-fit: contain; animation: in-pop .9s var(--back) .6s backwards; filter: drop-shadow(0 10px 30px rgba(0, 0, 0, .7)); }
.idle-promos { display: flex; flex-direction: column; gap: 14px; }
.idle-promos li { padding: 18px 24px; border: 1px solid rgba(var(--hl), .3); border-radius: 14px; background: linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .005)), #190F4A; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .13); font-size: 30px; font-weight: 700; animation: in-right .7s var(--ease) backwards; animation-delay: calc(.7s + var(--i) * .12s); }
.idle-join { display: flex; align-items: center; gap: 64px; }
.idle-join > div { display: flex; flex-direction: column; gap: 14px; }
.idle-join .qr { filter: drop-shadow(0 0 30px rgba(var(--hl), .5)); animation: in-pop .9s var(--back) .5s backwards; }
.idle-progress { position: absolute; left: 0; bottom: 0; height: 4px; width: 100%; background: var(--gold); box-shadow: 0 0 14px rgba(var(--hl), .8); transform-origin: 0 50%; animation: idle-bar linear both; }

/* ---------- Stap 4 ---------- */
/* 23: indigo panelen met een roze rand die wegklappen */
@keyframes fold { 0% { transform: perspective(1600px) rotateY(0); filter: brightness(1); opacity: 1; } 45% { opacity: 1; } 100% { transform: perspective(1600px) rotateY(-96deg); filter: brightness(2.2); opacity: 0; visibility: hidden; } }
.sting.panels { background: none; animation: none; }
.sting.panels i, .sting.panels i:nth-child(n) { position: absolute; top: 0; bottom: 0; left: calc(var(--i) * 12.5%); width: 12.6%;
  background: linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(0, 0, 0, .25)), var(--tex), linear-gradient(90deg, #190F4A, #0B0626);
  box-shadow: inset -2px 0 0 rgba(var(--hl), .8), inset -16px 0 26px -16px rgba(var(--hl), .5), inset 1px 0 0 rgba(255, 255, 255, .12);
  transform-origin: 0 50%; animation: fold .8s cubic-bezier(.7, 0, .3, 1) both; animation-delay: calc(.06s + var(--i) * .05s); }

/* 26: je antwoord staat vast: eerst wit omrand, bij de onthulling goud (goed) of rood */
.tile.mine:not(.right):not(.wrong) { --c: #FF8A1F; --lo: #7A3600; --tint: rgba(255, 138, 31, .88); --glow: rgba(255, 138, 31, .95); --rim: linear-gradient(150deg, #FFE0B8 0%, #FF8A1F 30%, #7A3600 75%, #FFB15C 100%); }
.lock { display: inline-flex; align-items: center; gap: 5px; margin-left: auto; padding: 4px 9px; border-radius: 8px; background: rgba(18, 10, 56, .6); color: #fff; font: 800 12px/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; text-shadow: none; animation: in-pop .4s var(--back) backwards; }
.lock-ico { width: 13px; height: 15px; flex: none; }
.locked-note { display: flex; align-items: center; justify-content: center; gap: 8px; color: var(--pink-hi); font-weight: 700; }
.locked-note .lock-ico { width: 15px; height: 17px; }
.sent.locked { border-color: rgba(var(--hl), .75); box-shadow: 0 0 30px -10px rgba(var(--hl), .9); }
.sent.locked span { display: flex; align-items: center; gap: 6px; color: var(--pink-hi); font-weight: 700; }
.lockbadge { display: inline-flex; align-items: center; gap: 14px; padding: 16px 30px; border-radius: 999px; background: var(--cta); color: #fff; font: 800 27px/1 var(--sans); box-shadow: var(--cta-glow); }
.lockbadge .lock-ico { width: 24px; height: 27px; }
.tv-body { flex: 1; min-height: 0; display: flex; }
.tv-body.is-locked .tile:not(.right) { filter: saturate(.7) brightness(.75); transition: filter .5s ease; }

/* 27: hartslag tijdens het aftellen */
@keyframes heartbeat { 0% { opacity: 0; } 8% { opacity: 1; } 20% { opacity: .2; } 30% { opacity: .85; } 58%, 100% { opacity: 0; } }
.tv > .heart { position: absolute; inset: 0; z-index: 0; pointer-events: none; background: radial-gradient(80% 80% at 50% 50%, transparent 48%, rgba(var(--hl), .3) 100%); animation: heartbeat 1.15s ease-out infinite; }
.tv > .heart.fast { background: radial-gradient(80% 80% at 50% 50%, transparent 40%, rgba(240, 70, 90, .5) 100%); animation-duration: .62s; }

/* 28: de stand, waarin namen elkaar inhalen */
@keyframes rank-move { from { transform: translateY(calc(var(--from) * (100% + 6px))); } }
@keyframes rank-glow { 0% { box-shadow: 0 0 0 0 rgba(var(--ok-rgb), 0); } 30% { box-shadow: 0 0 36px -4px rgba(var(--ok-rgb), .9); } }
.rank-list li { position: relative; }
.rank-list li.moving { animation: rank-move 1s var(--ease) backwards; animation-delay: calc(.5s + var(--i) * .07s); }
.rank-list li.up { animation: rank-move 1s var(--ease) backwards, rank-glow 1.6s ease-out; animation-delay: calc(.5s + var(--i) * .07s), calc(1.3s + var(--i) * .07s); }
.mv { flex: none; padding: 4px 8px; border-radius: 8px; font: 800 15px/1 var(--sans); animation: in-pop .5s var(--back) backwards; animation-delay: calc(1.4s + var(--i, 0) * .07s); }
.mv-up { color: var(--ok-hi); background: rgba(var(--ok-rgb), .16); }
.mv-down { color: #FF7B89; background: rgba(240, 70, 90, .14); }
.mv-new { color: var(--pink-hi); background: rgba(var(--hl), .16); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }

/* 30: de bingomolen */
@keyframes ball-out { 0% { opacity: 0; transform: translate(-130px, -150px) scale(.15); } 55% { opacity: 1; transform: translate(8px, 8px) scale(1.12); } 100% { opacity: 1; transform: none; } }
.drum-stage { position: relative; width: 360px; height: 390px; }
.drum { position: absolute; left: 0; top: 0; width: 320px; height: 350px; filter: drop-shadow(0 0 22px rgba(var(--hl), .35)); }
.tv-ball.out { position: absolute; right: -14px; bottom: 0; width: 196px; height: 196px; animation: ball-out .9s var(--back) 1.05s backwards; }
.tv-ball.out span { font-size: 28px; } .tv-ball.out b { font-size: 86px; }
.tv-ball.out.empty { animation: none; opacity: .9; }

/* 32: wie eruit ligt, dooft en valt weg */
@keyframes fall-out { 0% { transform: none; opacity: 1; } 25% { transform: translateY(-4px) rotate(-3deg); opacity: 1; } 100% { transform: translateY(64px) rotate(16deg); opacity: 0; filter: grayscale(1); } }
@keyframes fallers-gone { to { max-width: 0; margin: 0; gap: 0; } }
.fallers { display: inline-flex; gap: 8px; max-width: 900px; animation: fallers-gone .01s linear 3.8s forwards; }
.fallers span { padding: 4px 12px; border: 1px solid rgba(240, 70, 90, .7); border-radius: 10px; background: rgba(240, 70, 90, .18); color: #FFB3BB; font-size: 22px; font-weight: 700;
  animation: in-pop .4s var(--back) backwards, fall-out 1s ease-in forwards; animation-delay: calc(.6s + var(--i) * .08s), calc(1.9s + var(--i) * .12s); }
.tv-foot .surv.after { animation: in-fade .6s ease 3.9s backwards; }

/* ---------- Avondoverzicht op de telefoon ---------- */
.evening { position: relative; display: flex; flex-direction: column; gap: 16px; padding: 22px; border: 1px solid transparent; border-radius: 22px;
  background: var(--tex) padding-box, linear-gradient(170deg, rgba(var(--accent-rgb, 106, 53, 240), .38), rgba(0, 0, 0, 0) 55%) padding-box, linear-gradient(180deg, #21155A, #120A38) padding-box, linear-gradient(155deg, #FFE3F1, #EC1C87 25%, #3A1584 55%, #FF6EB4 100%) border-box;
  box-shadow: 0 0 60px -18px rgba(var(--hl), .8), 0 30px 60px -30px #000; animation: in-pop .7s var(--back) backwards; }
.ev-head { display: flex; align-items: center; gap: 12px; }
.ev-head img { height: 40px; max-width: 110px; object-fit: contain; }
.ev-head div { display: flex; flex-direction: column; line-height: 1.3; }
.ev-head b { font-weight: 800; } .ev-head span { font-size: 13px; color: var(--muted); }
.ev-name { font: 800 28px/1.1 var(--display); letter-spacing: -.02em; }
.ev-place { display: flex; align-items: baseline; gap: 12px; }
.ev-place b { font: 800 84px/1 var(--display); letter-spacing: -.04em; }
.ev-place span { color: var(--muted); font-weight: 600; }
.ev-place b, .ev-grid b { filter: drop-shadow(0 -1px 0 rgba(0, 0, 0, .9)) drop-shadow(0 0 16px rgba(var(--hl), .4)); }
.ev-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ev-grid div { display: flex; flex-direction: column; gap: 4px; padding: 12px; border: 1px solid rgba(var(--hl), .22); border-radius: 12px; background: rgba(255, 255, 255, .03); }
.ev-grid span { font-size: 12px; color: var(--muted); font-weight: 600; }
.ev-grid b { font: 800 20px/1.15 var(--display); }
.ev-line { font-size: 15px; color: var(--muted); }
.ev-line .dot { margin-right: 6px; }
.ev-line b { color: #fff; }
.ev-foot { display: flex; justify-content: flex-end; padding-top: 12px; border-top: 1px solid rgba(var(--hl), .2); }

@media (prefers-reduced-motion: reduce) { .sting.panels, .tv > .heart { display: none; } .rank-list li { transform: none; } }

/* Het goede antwoord kleurt altijd groen, het foute rood, ongeacht de kleur van de tegel */
.tile.right { --c: var(--ok); --lo: var(--ok-lo); --tint: rgba(var(--ok-rgb), .88); --glow: rgba(var(--ok-rgb), .95); }
.tile.wrong { --tint: rgba(240, 70, 90, .7); --glow: rgba(240, 70, 90, .8); }

/* ---------- Motion graphics, ronde 2 ---------- */
.aura.three { background: none; }
/* 12: diepte, alsof een camera zacht meedrijft */
@keyframes cam { from { transform: translate3d(-5px, 2px, 0) scale(1); } to { transform: translate3d(5px, -3px, 0) scale(1.012); } }
.tv > .tv-round, .tv > .tv-lobby, .tv > .tv-intro, .tv > .tv-results, .tv > .idle { animation: cam 14s ease-in-out infinite alternate; }
.aura .rings { animation: breathe 11s ease-in-out infinite alternate, drift2 40s ease-in-out infinite alternate; }

/* 10: scènes schuiven ook netjes weg */
@keyframes out-left { to { opacity: 0; transform: translateX(-70px); filter: blur(6px); } }
@keyframes out-right { to { opacity: 0; transform: translateX(70px); filter: blur(6px); } }
@keyframes out-down { to { opacity: 0; transform: translateY(40px) scale(.94); } }
@keyframes out-fade { to { opacity: 0; } }
.tv.leaving .tv-bar > *, .tv.leaving .tv-question, .tv.leaving .tv-intro h1, .tv.leaving .tv-intro .eyebrow, .tv.leaving .tv-lobby-left > *, .tv.leaving .tv-win > *, .tv.leaving .tv-map, .tv.leaving .photo, .tv.leaving .tv-ball-wrap, .tv.leaving .tv-cases, .tv.leaving .tv-track, .tv.leaving .idle > :first-child { animation: out-left .4s cubic-bezier(.6, 0, .9, .4) forwards; }
.tv.leaving .tv-lobby-right > *, .tv.leaving .tv-board, .tv.leaving .tv-top, .tv.leaving .tv-board75, .tv.leaving .tv-koffer-side, .tv.leaving .yline, .tv.leaving .numline { animation: out-right .4s cubic-bezier(.6, 0, .9, .4) forwards; }
.tv.leaving .tslot, .tv.leaving .tv-order div, .tv.leaving .tv-intro > p, .tv.leaving .tv-pills, .tv.leaving .tv-answer, .tv.leaving .tv-shown, .tv.leaving .tv-prompt, .tv.leaving .eq { animation: out-down .34s cubic-bezier(.6, 0, .9, .4) forwards; animation-delay: calc(var(--n, 0) * .04s); }
.tv.leaving .tv-foot, .tv.leaving .tv-sponsor, .tv.leaving .l3, .tv.leaving .intro-venue { animation: out-fade .3s ease forwards; }

/* 11: eerst tekent een roze lijn het kader, dan vult het vlak zich, dan komt de tekst */
@property --draw { syntax: '<angle>'; initial-value: 0deg; inherits: false; }
@keyframes draw { from { --draw: 0deg; } to { --draw: 360deg; } }
@keyframes fill-in { from { opacity: 0; clip-path: inset(0 100% 0 0); } to { opacity: 1; clip-path: inset(0 -40px 0 -40px); } }
@keyframes line-x { from { transform: scaleX(0); } }
.tslot { position: relative; display: grid; }
.tslot .draw { position: absolute; inset: -3px; z-index: 2; border-radius: 19px; padding: 3px; pointer-events: none;
  background: conic-gradient(from -90deg, #FFE3F1, #EC1C87 var(--draw), transparent 0);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
  filter: drop-shadow(0 0 6px rgba(var(--hl), .9));
  animation: draw .7s cubic-bezier(.5, 0, .2, 1) backwards, out-fade .5s ease forwards; animation-delay: calc(.55s + var(--n) * .09s), calc(1.5s + var(--n) * .09s); }
.tslot > .tile { animation: fill-in .55s var(--ease) backwards; animation-delay: calc(1s + var(--n) * .09s); }
.tslot > .tile > .ltr { animation: in-pop .45s var(--back) backwards; animation-delay: calc(1.25s + var(--n) * .09s); }
.tslot > .tile > .txt { animation: in-left .5s var(--ease) backwards; animation-delay: calc(1.3s + var(--n) * .09s); }
.tv-bar { position: relative; }
.tv-bar::after { content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 2px; background: linear-gradient(90deg, #FFB3D9, #EC1C87 30%, rgba(var(--hl), 0)); transform-origin: 0 50%; animation: line-x .9s var(--ease) .3s backwards; }
.tv-bar::before { content: ""; position: absolute; left: 0; bottom: 0; width: 10px; height: 10px; background: var(--gold); transform: rotate(45deg) translate(-2px, 2px); animation: in-pop .5s var(--back) .25s backwards; }

/* 15: bij de onthulling draaien de tegels om */
.tslot > .tile.a { --o-c: #6A35F0; --o-lo: #2A0F78; --o-tint: rgba(106, 53, 240, .82); }
.tslot > .tile.b { --o-c: #1557E0; --o-lo: #07256E; --o-tint: rgba(21, 87, 224, .82); }
.tslot > .tile.c { --o-c: #D9730B; --o-lo: #6B3600; --o-tint: rgba(217, 115, 11, .8); }
.tslot > .tile.d { --o-c: #D01F8C; --o-lo: #5E0A40; --o-tint: rgba(208, 31, 140, .8); }
@keyframes flip { 0% { transform: perspective(1100px) rotateX(0); --c: var(--o-c); --lo: var(--o-lo); --tint: var(--o-tint); --glow: transparent; filter: none; }
  50% { transform: perspective(1100px) rotateX(90deg); --c: var(--o-c); --lo: var(--o-lo); --tint: var(--o-tint); --glow: transparent; filter: brightness(1.8); }
  50.1% { transform: perspective(1100px) rotateX(-90deg); filter: brightness(1.8); }
  100% { transform: perspective(1100px) rotateX(0); } }
.tslot > .tile.right { animation: flip .9s cubic-bezier(.5, 0, .3, 1) backwards, glow-pulse 1.5s ease-in-out 1.2s 3; animation-delay: calc(.25s + var(--n) * .12s), 1.4s; }
.tslot > .tile.dim { animation: flip .9s cubic-bezier(.5, 0, .3, 1) backwards; animation-delay: calc(.25s + var(--n) * .12s); transition: none; }
.tslot > .tile.right > .ltr, .tslot > .tile.right > .txt, .tslot > .tile.dim > .ltr, .tslot > .tile.dim > .txt { animation: none; }
.tslot > .tile .cnt { animation-delay: calc(.8s + var(--n) * .12s); }
.tslot > .tile .mark { animation-delay: calc(1s + var(--n) * .12s); }
.tslot > .tile.right::after { animation-delay: calc(.9s + var(--n) * .12s); }

/* 9: geslepen glas, met een randje kleurschifting */
.tslot > .tile, .tiles > .tile, .bar-btn { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2), inset 0 0 0 1px rgba(255, 255, 255, .06), -2px 0 0 -1px rgba(255, 70, 120, .55), 2px 0 0 -1px rgba(70, 180, 255, .55), 0 0 36px -8px var(--glow), 0 14px 24px -14px #000; }
.card, .upnext, .joincard, .tv-board75, .evening { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2), -2px 0 0 -1px rgba(255, 70, 120, .3), 2px 0 0 -1px rgba(70, 180, 255, .3), 0 30px 60px -24px #000, 0 0 50px -26px rgba(var(--hl), .6); }
.tile::before { background: linear-gradient(100deg, transparent 30%, rgba(255, 120, 160, .07) 44%, rgba(255, 255, 255, .11) 50%, rgba(110, 200, 255, .07) 56%, transparent 70%); width: 60%; }

/* 6: lensflare en lichtstrepen bij een onthulling en bij de winnaar */
@keyframes streak-x { 0% { transform: translateY(-50%) scaleX(0); opacity: 0; } 25% { opacity: 1; } 100% { transform: translateY(-50%) scaleX(1); opacity: 0; } }
@keyframes flare-pop { 0% { transform: translate(-50%, -50%) scale(.2); opacity: 0; } 30% { opacity: 1; } 100% { transform: translate(-50%, -50%) scale(1.6); opacity: 0; } }
@keyframes ghost-run { 0% { transform: translate(0, 0); opacity: 0; } 30% { opacity: .8; } 100% { transform: translate(520px, 150px); opacity: 0; } }
.sting.flash { animation-duration: .5s; }
.flare-streak { position: absolute; left: -20%; right: -20%; top: 56%; height: 10px; border-radius: 50%; background: linear-gradient(90deg, transparent, rgba(120, 190, 255, .7) 25%, #fff 50%, rgba(255, 200, 120, .8) 75%, transparent); filter: blur(3px); box-shadow: 0 0 40px 10px rgba(var(--hl-hi), .5); animation: streak-x 1.1s ease-out both; }
.flare-core { position: absolute; left: 50%; top: 56%; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, #fff 0, rgba(var(--hl-hi), .7) 18%, rgba(var(--hl-hi), 0) 62%); animation: flare-pop .9s ease-out both; }
.flare-ghost { position: absolute; left: 30%; top: 30%; width: 90px; height: 90px; border-radius: 50%; border: 2px solid rgba(140, 200, 255, .6); background: radial-gradient(circle, rgba(140, 200, 255, .25), transparent 70%); box-shadow: 160px 46px 0 -22px rgba(255, 150, 200, .4), 300px 86px 0 -8px rgba(255, 220, 140, .35); animation: ghost-run 1.2s ease-out both; }
.tv-win { position: relative; }
.tv-win::after { content: ""; position: absolute; left: -200px; right: -300px; top: 62%; height: 8px; border-radius: 50%; background: linear-gradient(90deg, transparent, rgba(var(--hl-hi), .9) 40%, #fff 50%, rgba(var(--hl-hi), .9) 60%, transparent); filter: blur(3px); transform-origin: 30% 50%; animation: streak-x 1.6s ease-out 1s both; pointer-events: none; }

/* 16: het juiste getal rolt in als een telwerk */
@keyframes reel { from { transform: translateY(0); filter: blur(3px); } 70% { filter: blur(1px); } }
.slot { display: inline-flex; align-items: flex-end; }
.reel { display: inline-block; height: 1em; overflow: hidden; }
.reel > span { display: block; transform: translateY(calc(-1em * (20 + var(--d)))); animation: reel calc(1.5s + var(--i) * .35s) cubic-bezier(.15, .85, .25, 1) .5s backwards; }
.reel i { display: block; height: 1em; line-height: 1; font-style: normal; }
.reel-sep { line-height: 1; }
.tv-answer { animation: in-fade .4s ease .3s backwards; }
.tv-answer b { line-height: 1; padding: 6px 14px 8px; border: 1px solid rgba(var(--ok-rgb), .5); border-radius: 14px; background: rgba(0, 0, 0, .45); box-shadow: inset 0 6px 14px rgba(0, 0, 0, .7), 0 0 40px -10px rgba(var(--ok-rgb), .8); }

/* 18: tijdlijn op de tv, het nummer schuift naar zijn jaar */
@keyframes mark-slide { from { left: 0; } }
.tv-track { animation: none; }
.yline { position: relative; height: 96px; margin: 26px 30px 0; animation: in-fade .5s ease .9s backwards; }
.yline-axis { position: absolute; left: 0; right: 0; top: 46px; height: 3px; background: linear-gradient(90deg, rgba(var(--hl), .2), #EC1C87 50%, rgba(var(--hl), .2)); transform-origin: 0 50%; animation: line-x .9s var(--ease) 1s backwards; }
.ytick { position: absolute; top: 40px; transform: translateX(-50%); padding-top: 22px; font-size: 17px; font-weight: 700; color: var(--muted); }
.ytick::before { content: ""; position: absolute; left: 50%; top: 0; width: 2px; height: 15px; background: rgba(var(--hl), .6); }
.ymark { position: absolute; left: var(--x); top: 0; transform: translateX(-50%); animation: mark-slide 1.5s cubic-bezier(.3, 0, .1, 1) 1.5s backwards; }
.ymark b { display: block; padding: 5px 12px; border-radius: 9px; background: var(--gold); color: #fff; font: 800 20px/1 var(--display); box-shadow: 0 0 26px rgba(var(--hl), .9); }
.ymark::after { content: ""; position: absolute; left: 50%; top: 30px; width: 3px; height: 24px; margin-left: -1.5px; background: #FFB3D9; box-shadow: 0 0 10px #FFB3D9; }
.tv-answer b span { font-size: inherit; font-weight: inherit; color: inherit; }

/* ---------- Grafisch systeem: iconen, titelkaarten, patronen, tegels, ranglijst, één bewegingsstijl ---------- */
:root {
  --lattice: linear-gradient(transparent, transparent);
  --lattice-w: linear-gradient(transparent, transparent);
  /* 20: één bewegingsstijl. Drie tempo's, één manier van afremmen, één tussenpoos. */
  --t-fast: .22s; --t-med: .5s; --t-slow: .85s; --step: .07s;
  --silver: linear-gradient(180deg, #FFFFFF, #C9CED8 35%, #7E8694 60%, #E3E7EE 80%, #8A919E);
  --bronze: linear-gradient(180deg, #FFD9B0, #D08A4A 35%, #8A4E1E 60%, #E8A868 80%, #7A4216);
}
.ico { flex: none; display: inline-block; vertical-align: middle; }
.pill .ico { align-self: center; color: var(--pink-hi); }
.pill.hot .ico { color: #fff; }
.pill.xl { align-items: center; gap: 10px; }

/* 11: ornament en patroon */
.orn { display: flex; align-items: center; gap: 10px; width: 100%; max-width: 420px; }
.orn i { flex: 1; height: 1px; background: linear-gradient(90deg, rgba(var(--hl), 0), rgba(var(--hl), .8)); transform-origin: 100% 50%; animation: line-x var(--t-slow) var(--ease) .4s backwards; }
.orn i:last-child { background: linear-gradient(90deg, rgba(var(--hl), .8), rgba(var(--hl), 0)); transform-origin: 0 50%; }
.orn span { width: 9px; height: 9px; flex: none; background: var(--gold); transform: rotate(45deg); box-shadow: 0 0 10px rgba(var(--hl), .8); animation: in-pop var(--t-med) var(--back) .3s backwards; }
.stack.center .orn, .rd-head .orn, .lobby-head .orn { margin: 4px auto 0; max-width: 240px; }
.card, .upnext, .joincard, .evening, .dlg { background-image: var(--lattice), var(--tex), var(--glass-dark), linear-gradient(180deg, #190F4A, #120A38), var(--rim-gold); background-size: 28px 28px, auto, auto, auto, auto; background-origin: padding-box, padding-box, padding-box, padding-box, border-box; background-clip: padding-box, padding-box, padding-box, padding-box, border-box;
  -webkit-mask: none; }
.card::after, .upnext::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: linear-gradient(180deg, rgba(14, 8, 48, 0) 0, #120A38 46px, #120A38 100%); opacity: .86; z-index: 0; }
.card > *, .upnext > * { position: relative; z-index: 1; }
.card { overflow: hidden; }

/* 9 en 10: medaillon met het icoon van het spel */
.medal { --ga: #6A35F0; position: relative; flex: none; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; color: #FFB3D9;
  background: var(--lattice-w) 0 0 / 14px 14px, radial-gradient(circle at 34% 26%, color-mix(in srgb, var(--ga) 88%, #fff), color-mix(in srgb, var(--ga) 70%, #000) 55%, #120A38 100%);
  box-shadow: inset 0 2px 3px rgba(255, 255, 255, .35), inset 0 -4px 8px rgba(0, 0, 0, .55), 0 0 0 2px #EC1C87, 0 0 0 5px #120A38, 0 0 0 6px rgba(var(--hl), .55), 0 0 26px -4px var(--ga); }
.medal .ico { filter: drop-shadow(0 1px 1px rgba(0, 0, 0, .7)); }
.medal.sm { width: 30px; height: 30px; box-shadow: inset 0 1px 2px rgba(255, 255, 255, .35), 0 0 0 1.5px #EC1C87, 0 0 14px -4px var(--ga); }
.medal.lg { width: 92px; height: 92px; box-shadow: inset 0 2px 4px rgba(255, 255, 255, .35), inset 0 -6px 12px rgba(0, 0, 0, .55), 0 0 0 3px #EC1C87, 0 0 0 8px #120A38, 0 0 0 9.5px rgba(var(--hl), .55), 0 0 40px -6px var(--ga); }
.medal.xl { width: 290px; height: 290px; background-size: 26px 26px, auto; box-shadow: inset 0 4px 8px rgba(255, 255, 255, .35), inset 0 -16px 30px rgba(0, 0, 0, .55), 0 0 0 5px #EC1C87, 0 0 0 18px #120A38, 0 0 0 20px rgba(var(--hl), .6), 0 0 110px -10px var(--ga); animation: in-pop var(--t-slow) var(--back) .5s backwards; }
.medal.xl::before { content: ""; position: absolute; inset: -44px; border-radius: 50%; border: 2px dashed rgba(var(--hl), .45); animation: rays 50s linear infinite; }
.medal.xl::after { content: ""; position: absolute; inset: -62px; border-radius: 50%; border: 1px solid rgba(var(--hl), .22); }
@keyframes rays { to { transform: rotate(360deg); } }

/* 10: titelkaart op de tv */
.tv-intro.tc { display: grid; grid-template-columns: minmax(0, 1fr) 420px; align-items: center; gap: 40px; padding: 40px 72px; }
.tc-band { position: absolute; left: 0; right: 0; top: 50%; height: 430px; transform: translateY(-50%); z-index: -1; background: var(--lattice) 0 0 / 28px 28px, linear-gradient(90deg, color-mix(in srgb, var(--ga) 46%, transparent), transparent 62%); border-block: 1px solid rgba(var(--hl), .35); -webkit-mask: linear-gradient(90deg, #000 30%, transparent 96%); mask: linear-gradient(90deg, #000 30%, transparent 96%); animation: in-fade var(--t-slow) ease .2s backwards; }
.tc-main { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.tc-main > p { font-size: 30px; font-weight: 600; max-width: 720px; color: var(--muted); animation: in-up var(--t-med) var(--ease) 1s backwards; }
.tc-nr { display: flex; align-items: center; gap: 14px; font: 800 24px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--pink-hi); animation: in-left var(--t-med) var(--ease) .4s backwards; }
.tc-nr i { width: 9px; height: 9px; background: var(--gold); transform: rotate(45deg); }
.tc-nr span:last-child { color: var(--muted); }
.tv-intro.tc h1 { font-size: 100px; } .tv-intro.tc h1.long { font-size: 68px; }
.tc-side { display: flex; flex-direction: column; align-items: center; gap: 56px; }
.tc-ribbon { padding: 10px 34px; background: var(--gold); color: #fff; font: 800 24px/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; text-shadow: 0 1px 0 rgba(255, 248, 225, .6); clip-path: polygon(0 0, 100% 0, calc(100% - 16px) 50%, 100% 100%, 0 100%, 16px 50%); animation: in-up var(--t-med) var(--ease) 1.1s backwards; }
.tv.leaving .tc-main > p, .tv.leaving .tc-nr, .tv.leaving .tc-main .orn { animation: out-left .4s cubic-bezier(.6, 0, .9, .4) forwards; }
.tv.leaving .tc-side { animation: out-right .4s cubic-bezier(.6, 0, .9, .4) forwards; }
.upnext .medal { margin-right: 4px; }
.bar-id { display: flex; flex-direction: row !important; align-items: center; gap: 22px; }
.bar-id .medal.lg { width: 76px; height: 76px; }
.bar-id .medal.lg .ico { width: 46px; height: 46px; }
.bar-id > div { display: flex; flex-direction: column; gap: 4px; }
.tv-bar::after { left: 100px; } .tv-bar::before { display: none; }

/* 12: rijkere antwoordtegels: afgeschuinde rand, binnenlijn, patroon in het kleurvlak, gegraveerde letter */
.tile { outline: 1px solid rgba(255, 255, 255, .13); outline-offset: -6px;
  background: var(--lattice-w) padding-box, linear-gradient(100deg, var(--tint) 0%, transparent 88%) padding-box, linear-gradient(100deg, var(--tint) 0%, transparent 45%) padding-box, var(--glass-dark) padding-box, linear-gradient(180deg, #190F4A, #120A38) padding-box, var(--rim) border-box;
  background-size: 22px 22px, auto, auto, auto, auto, auto; }
.tslot > .tile, .tiles > .tile { box-shadow: inset 2px 2px 0 rgba(255, 255, 255, .16), inset -2px -3px 0 rgba(0, 0, 0, .5), -2px 0 0 -1px rgba(255, 70, 120, .55), 2px 0 0 -1px rgba(70, 180, 255, .55), 0 0 36px -8px var(--glow), 0 14px 24px -14px #000; }
.tile.dim { outline-color: rgba(255, 255, 255, .05); }
.tile .ltr { width: 40px; height: 40px; font-size: 17px; filter: drop-shadow(0 0 0 #1C1433) drop-shadow(0 2px 3px rgba(0, 0, 0, .7)); }
.tv-tiles .tile { outline-offset: -9px; padding-left: 30px; }
.tv-tiles .tile .ltr { width: 72px; height: 72px; font-size: 32px; }
.tiles.two .tile, .tv-tiles.two .tile { outline-offset: -7px; }
.tile.mine { outline-color: rgba(var(--hl-hi), .5); }

/* 13: ranglijst met medailles, puntenbalken en teamstroken */
.tv-board li, .tv-top li { position: relative; overflow: hidden; padding-left: 14px; }
.tv-board li > :not(.bar):not(.strip), .tv-top li > * { position: relative; z-index: 1; }
.tv-board .bar { position: absolute; left: 0; top: 0; bottom: 0; z-index: 0; background: linear-gradient(90deg, rgba(var(--hl), .06), rgba(var(--hl), .2)); border-right: 2px solid rgba(var(--hl), .55); transform-origin: 0 50%; animation: line-x var(--t-slow) var(--ease) backwards; animation-delay: calc(.8s + var(--i, 0) * var(--step)); }
.tv-board li:first-child .bar { background: linear-gradient(90deg, rgba(var(--hl), .12), rgba(var(--hl), .42)); border-right-color: #FFB3D9; }
.tv-board .strip { position: absolute; left: 0; top: 0; bottom: 0; width: 6px; z-index: 1; }
.tv-board .rank, .tv-top .rank, .mini-board li span { display: grid; place-items: center; width: 36px; min-width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(var(--hl), .3); background: rgba(0, 0, 0, .4); font: 800 17px/1 var(--sans); color: var(--muted); }
.tv-board li:nth-child(-n+3) .rank, .tv-top li:nth-child(-n+3) .rank, .mini-board li:nth-child(-n+3) span { border: 0; color: #1C1433; -webkit-text-fill-color: #1C1433; text-shadow: 0 1px 0 rgba(255, 255, 255, .5); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .7), inset 0 -2px 3px rgba(0, 0, 0, .35), 0 0 0 2px #120A38, 0 0 0 3px rgba(255, 255, 255, .25); }
.tv-board li:nth-child(1) .rank, .tv-top li:nth-child(1) .rank, .mini-board li:nth-child(1) span { background: var(--win-grad); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .7), inset 0 -2px 3px rgba(0, 0, 0, .35), 0 0 0 2px #120A38, 0 0 0 3px #EC1C87, 0 0 16px rgba(var(--hl), .8); }
.tv-board li:nth-child(2) .rank, .tv-top li:nth-child(2) .rank, .mini-board li:nth-child(2) span { background: var(--silver); }
.tv-board li:nth-child(3) .rank, .tv-top li:nth-child(3) .rank, .mini-board li:nth-child(3) span { background: var(--bronze); }
.mini-board li span { width: 28px; min-width: 28px; height: 28px; font-size: 14px; }
.tv-lobby .tv-board li { padding: 4px 18px 4px 16px; }
.tv-lobby .tv-board .rank { width: 32px; min-width: 32px; height: 32px; font-size: 15px; }

/* 19: de telefoon in dezelfde stijl */
.ph-top .pill { align-items: center; gap: 6px; padding: 6px 11px; }
.ph-top .pill.alt .ico { color: var(--pink-hi); }
.tc-ph { position: relative; align-items: center; gap: 8px; padding: 18px 12px 6px; }
.tc-ph::before { content: ""; position: absolute; left: -16px; right: -16px; top: 30px; height: 64px; z-index: -1; background: var(--lattice) 0 0 / 28px 28px, linear-gradient(90deg, transparent, color-mix(in srgb, var(--ga) 50%, transparent) 50%, transparent); border-block: 1px solid rgba(var(--hl), .3); }
.tc-ph .medal { margin-bottom: 8px; animation: in-pop var(--t-med) var(--back) backwards; }
.q-id { display: flex; align-items: center; gap: 8px; min-width: 0; }
.upnext-ph .row { gap: 12px; }
.ph-join { background: var(--lattice) 0 0 / 28px 28px; background-attachment: local; -webkit-mask: none; }
.ph .btn.big { border-radius: 14px; }
.ph .btn.go.big { min-height: 64px; font-size: 20px; }
.ph .btn.go.big:not(:disabled) { outline: 1px solid rgba(40, 12, 90, .55); outline-offset: -5px; }
.bar-btn .ico { margin-bottom: auto; color: #FFB3D9; filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .6)); }
.prog-ico { display: grid; }
.game { position: relative; padding-top: 16px; }
.game .medal { margin-bottom: 6px; }

/* 20: één bewegingsstijl voor telefoon, bar en admin: alles komt van onder binnen, na elkaar, met hetzelfde tempo */
:where(.ph-body, .bar-body) :where(.stack, .q, .bingo, .lobby) > * { animation: in-up var(--t-med) var(--ease) backwards; animation-delay: calc(var(--k, 0) * var(--step)); }
:where(.ph-body, .bar-body) :where(.stack, .q, .bingo, .lobby) > :nth-child(2) { --k: 1; }
:where(.ph-body, .bar-body) :where(.stack, .q, .bingo, .lobby) > :nth-child(3) { --k: 2; }
:where(.ph-body, .bar-body) :where(.stack, .q, .bingo, .lobby) > :nth-child(4) { --k: 3; }
:where(.ph-body, .bar-body) :where(.stack, .q, .bingo, .lobby) > :nth-child(5) { --k: 4; }
:where(.ph-body, .bar-body) :where(.stack, .q, .bingo, .lobby) > :nth-child(n+6) { --k: 5; }
:where(.adm-main) > * { animation: in-up var(--t-med) var(--ease) backwards; }
.tiles > .tile { animation-duration: var(--t-med); }
.tiles > .tile:nth-child(2) { animation-delay: var(--step); } .tiles > .tile:nth-child(3) { animation-delay: calc(var(--step) * 2); } .tiles > .tile:nth-child(4) { animation-delay: calc(var(--step) * 3); }
.btn, .chip, .tab, .icon, .pick, .game, .prog-row, .inp { transition-duration: var(--t-fast); }
.verdict, .sent, .bigmark, .place, .win, .evening { animation-duration: var(--t-med); }
.upnext > .medal { flex: none; display: grid; margin-right: 6px; }
.upnext > div:nth-child(2) { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.tv-bar > .bar-id.bar-id { gap: 32px; padding-left: 10px; }
.upnext > .medal.lg { flex: 0 0 92px; width: 92px; height: 92px; display: grid; }

/* ---------- Woordmerk: SHOWNIGHT.live ----------
   SHOWNIGHT groot in wit met een vleug lila, ".live" klein erachter op dezelfde basislijn.
   De punt van .live is het on-air-lampje. Bij binnenkomst trekt er één glans over de letters
   en daarna gaat het lampje zacht aan. Verder beweegt er niets, behalve een trage ademende gloed om het lampje. */
@keyframes wm-glint { from { background-position: 100% 0, 0 0, 0 0; } to { background-position: 0% 0, 0 0, 0 0; } }
@keyframes wm-air-on { from { opacity: 0; transform: scale(.7); } }
@keyframes wm-air-glow { to { box-shadow: inset 0 -.06em .1em rgba(90, 0, 10, .55), 0 0 .3em rgba(255, 70, 85, .75), 0 0 .8em rgba(255, 59, 78, .28); } }
.wm { display: inline-flex; align-items: baseline; align-self: flex-start; font: 800 24px/1 var(--display); white-space: nowrap; }
.wm.sm { font-size: 15px; }
.wm.tall { font-size: 38px; }
.wm.hero { position: relative; isolation: isolate; margin-bottom: .14em; font-size: 70px; }
.wm-name { letter-spacing: .05em; text-transform: uppercase;
  background: var(--glint), linear-gradient(180deg, #FFFFFF 40%, #E4DCFA); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent;
  filter: drop-shadow(0 0 .3em rgba(var(--hl), .32));
  animation: wm-glint 1.5s cubic-bezier(.45, 0, .2, 1) .5s backwards; }
.wm-tld { display: inline-flex; align-items: baseline; margin-left: .06em; font-size: max(.36em, 10px); font-weight: 600; letter-spacing: .02em; color: #fff; opacity: .95; text-shadow: 0 0 .7em rgba(var(--hl), .35); }
/* Het lampje: een donker glazen lensje dat oplicht in warm rood */
.wm-air { position: relative; flex: none; width: .44em; height: .44em; margin: 0 .14em 0 .1em; border-radius: 50%;
  background: radial-gradient(circle at 50% 35%, #4A1A20, #1C0709 70%); box-shadow: inset 0 0 0 1px rgba(255, 220, 200, .08); }
.wm-air::after { content: ""; position: absolute; inset: 0; border-radius: 50%;
  background: radial-gradient(circle at 42% 34%, #FFE6E2 0, #FF7A70 22%, #F0283C 55%, #9E0F22 100%);
  box-shadow: inset 0 -.06em .1em rgba(90, 0, 10, .55), 0 0 .4em rgba(255, 70, 85, .95), 0 0 1.2em rgba(255, 59, 78, .45);
  animation: wm-air-on .9s var(--ease) 1.1s backwards, wm-air-glow 2.6s ease-in-out 2s infinite alternate; }
/* Groot op de tv: diepere gravure en een zachte roze gloed erachter */
.wm.hero .wm-name { filter: drop-shadow(0 -1px 0 rgba(0, 0, 0, .7)) drop-shadow(0 2px 0 rgba(40, 12, 90, .9)) drop-shadow(0 0 30px rgba(var(--hl), .45)); }
.wm.hero::before { content: ""; position: absolute; z-index: -1; inset: -110% -22%; pointer-events: none; background: radial-gradient(closest-side, rgba(var(--hl), .11), rgba(var(--hl), .04) 55%, transparent); }
.wm.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: -.16em; height: 1px; pointer-events: none;
  background: linear-gradient(90deg, rgba(var(--hl), 0), rgba(var(--hl-hi), .8) 28%, rgba(var(--hl), .5) 72%, rgba(var(--hl), 0));
  box-shadow: 0 0 10px rgba(var(--hl), .55); transform-origin: 0 50%; animation: line-x 1.1s var(--ease) .35s backwards; }
.wm.tall .wm-name { filter: drop-shadow(0 -1px 0 rgba(0, 0, 0, .6)) drop-shadow(0 1px 0 rgba(40, 12, 90, .9)) drop-shadow(0 0 18px rgba(var(--hl), .4)); }
/* Verbinden op de tv: het woordmerk in het midden, als een zender-ident */
.tv-connect { align-items: center; text-align: center; gap: 26px; }
.tv-connect > .wm { align-self: center; animation: focus-in var(--t-slow) var(--ease) .15s backwards; }
.tv-connect > p { font-size: 24px; letter-spacing: .14em; text-transform: uppercase; color: rgba(228, 220, 250, .7); }
@media (prefers-reduced-motion: reduce) { .wm-name, .wm-air::after, .wm.hero::after, .tv-connect > .wm { animation: none; } }

/* ---------- Leader na elke ronde: SHOWNIGHT.live en de koploper ----------
   Een zender-ident tussen twee rondes. Eén roze lichtbaan veegt over het beeld, het woordmerk komt binnen,
   de kroon valt op de koploper, de naam brandt in wit en de punten tellen op. Rechts haalt de stand in.
   Na negen seconden gaat het scherm vanzelf door naar de lobby. */
@keyframes ld-beam { 0% { transform: translateX(0) skewX(-18deg); opacity: 0; } 15% { opacity: 1; } 100% { transform: translateX(520%) skewX(-18deg); opacity: 0; } }
@keyframes ld-spot { from { opacity: 0; transform: scale(.7); } }
.tv-leader { flex: 1; min-height: 0; display: flex; flex-direction: column; gap: 22px; padding: 40px 64px 48px; }
.ld-beam { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.ld-beam::before { content: ""; position: absolute; top: -20%; bottom: -20%; left: -30%; width: 26%;
  background: linear-gradient(90deg, transparent, rgba(var(--hl-hi), .14) 45%, rgba(255, 243, 207, .22) 50%, rgba(var(--hl-hi), .14) 55%, transparent);
  animation: ld-beam 1.9s cubic-bezier(.45, 0, .2, 1) .1s both; }
.ld-beam::after { content: ""; position: absolute; left: -6%; top: 22%; width: 62%; height: 86%;
  background: radial-gradient(closest-side, rgba(var(--hl), .17), rgba(var(--hl), .05) 60%, transparent); animation: ld-spot 1.4s var(--ease) .7s backwards; }
.tv-leader > :not(.ld-beam) { position: relative; z-index: 1; }
.ld-head { display: flex; align-items: center; gap: 28px; }
.ld-head .wm { align-self: center; animation: in-down .8s var(--ease) .15s backwards; }
.ld-nr { display: inline-flex; align-items: center; gap: 18px; font: 800 20px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--text-2); animation: in-left .7s var(--ease) .5s backwards; }
.ld-nr::before { content: ""; width: 72px; height: 1px; background: linear-gradient(90deg, rgba(var(--hl), 0), rgba(var(--hl-hi), .9)); box-shadow: 0 0 10px rgba(var(--hl), .55); transform-origin: 0 50%; animation: line-x .9s var(--ease) .55s backwards; }
.ld-body { flex: 1; min-height: 0; display: grid; grid-template-columns: minmax(0, 1fr) 520px; gap: 56px; align-items: center; }
.ld-hero { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; min-width: 0; }
.ld-hero .crown { width: 104px; height: 72px; animation-delay: 1s; }
.ld-lbl { font: 800 22px/1.2 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--pink); animation: in-fade .6s ease 1.1s backwards; }
.ld-hero h1 { --d: 1.25s; max-width: 100%; font: 800 104px/1.02 var(--display); letter-spacing: -.035em; overflow-wrap: anywhere;
  filter: drop-shadow(0 -1px 0 rgba(0, 0, 0, .7)) drop-shadow(0 2px 0 rgba(40, 12, 90, .9)) drop-shadow(0 0 34px rgba(var(--hl), .5)); }
.ld-hero h1.long { font-size: 72px; } .ld-hero h1.longer { font-size: 50px; }
.ld-hero h1 .ch { background: var(--headline); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
.ld-score { display: flex; align-items: baseline; gap: 14px; animation: in-up .7s var(--ease) 1.4s backwards; }
.ld-score b { font: 800 68px/1 var(--display); font-variant-numeric: tabular-nums; }
.ld-score span { font-size: 26px; font-weight: 700; color: var(--muted); }
.ld-gap { margin-top: 6px; animation: in-pop .5s var(--back) 2.5s backwards; }
.ld-side { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.ld-side .tv-h { animation-delay: 1.7s; }
.tv-leader .tv-board li { animation-delay: calc(1.9s + var(--i, 0) * .08s); }
.tv-leader .rank-list li.moving { animation-delay: calc(2.1s + var(--i) * .08s); }
.tv-leader .rank-list li.up { animation-delay: calc(2.1s + var(--i) * .08s), calc(2.9s + var(--i) * .08s); }
.tv-leader .mv { animation-delay: calc(3s + var(--i, 0) * .08s); }
.tv.leaving .tv-leader > :not(.ld-beam) { animation: out-fade .4s ease forwards; }
@media (prefers-reduced-motion: reduce) { .tv-leader *, .tv-leader *::before, .tv-leader *::after { animation: none !important; } .ld-beam::before { display: none; } }

/* ---------- Tv koppelen (/show) en Admin > Schermen ---------- */
.tv-pair { gap: 20px; }
.tv-pair > .wm { margin-bottom: 6px; }
.pair-code { display: flex; justify-content: center; gap: 14px; margin: 10px 0 6px; }
.pair-code span { width: 104px; height: 132px; display: grid; place-items: center; border-radius: var(--r-lg); background: var(--glass), var(--raised);
  border: 1px solid rgba(var(--hl), .5); box-shadow: 0 0 44px rgba(var(--hl), .2), inset 0 1px 0 rgba(255, 255, 255, .14);
  animation: in-up var(--t-med) var(--ease) calc(.25s + var(--i) * var(--step)) backwards; }
.pair-code b { font: 800 88px/1 var(--display); font-variant-numeric: tabular-nums; letter-spacing: 0; }
.pair-gap { width: 22px; }
.pair-steps { margin: 0 auto; padding: 0; list-style: none; counter-reset: st; display: grid; gap: 10px; font-size: 26px; font-weight: 600; text-align: left; }
.pair-steps li { counter-increment: st; display: flex; align-items: center; gap: 14px; }
.pair-steps li::before { content: counter(st); flex: none; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; font-size: 20px; font-weight: 800; color: var(--void); background: var(--aurora); box-shadow: 0 0 16px rgba(var(--hl), .45); }
.tv-pair-note { font-size: 19px; color: var(--muted); max-width: 820px; margin: 0 auto; }
.pair-inp { width: 10ch; letter-spacing: .3em; font-weight: 800; }
@media (prefers-reduced-motion: reduce) { .pair-code span { animation: none; } }
.items .livedot { display: inline-block; vertical-align: middle; }

/* ---------- Nieuwe stijl (zoals de website), laatste laag ----------
   Rustig indigo glas, wit als tekst, roze alleen waar je moet drukken of kijken.
   Alle knoppen zijn pillen. De vier antwoordkleuren blijven; goud betekent winnen. */
.gsl::before { background:
    radial-gradient(60% 55% at 6% -6%, rgba(123, 63, 242, .55), transparent 70%),
    radial-gradient(55% 50% at 104% 4%, rgba(45, 107, 255, .42), transparent 70%),
    radial-gradient(60% 55% at 90% 108%, rgba(236, 28, 135, .38), transparent 70%),
    linear-gradient(180deg, #160C44, #0E0730); }
.eyebrow, .tv .eyebrow, .tv-intro .eyebrow, .tv-bar .eyebrow, .tv-win .eyebrow, .live-head .eyebrow { color: var(--pink-hi); }
.gsl :focus-visible { outline-color: var(--blue-lt); }

/* Panelen: glas op indigo, zachte witte rand */
.card, .dlg, .tv-board75, .joincard, .live-card.on, .upnext, .evening {
  background: linear-gradient(180deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .03)) padding-box, linear-gradient(180deg, #21155A, #190F4A) padding-box, linear-gradient(160deg, rgba(255, 255, 255, .22), rgba(255, 255, 255, .06) 45%, rgba(var(--hl), .28)) border-box;
  box-shadow: 0 22px 44px -24px rgba(0, 0, 0, .7), 0 0 60px -30px rgba(var(--hl), .6); }
.tv-board li, .tv-top li, .prog-row, .items li, .pick, .picked, .ord, .tl-card, .sent, .stats, .tiles-stat div, .game, .tv-names span, .pill:not(.hot):not(.alt), .tv-order div:not(.right), .codecard, .team-card, .tv-teams div {
  background: rgba(255, 255, 255, .07); border-color: rgba(255, 255, 255, .14); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 8px 18px -12px rgba(0, 0, 0, .6); }
.ph-top, .bar-top, .adm-nav { background: rgba(22, 12, 66, .82); border-color: rgba(255, 255, 255, .12); box-shadow: 0 10px 24px -14px rgba(0, 0, 0, .7); -webkit-backdrop-filter: blur(18px) saturate(1.4); backdrop-filter: blur(18px) saturate(1.4); }
.adm-nav { border-right-color: rgba(255, 255, 255, .12); }
.inp { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .16); border-radius: var(--r-md); box-shadow: none; }
.inp:focus { border-color: var(--pink-hi); box-shadow: 0 0 0 4px rgba(var(--hl), .2); }

/* Knoppen: pillen. De hoofdknop is felroze met gloed. */
.btn, .chip, .pill, .amount { border-radius: 999px; }
.btn, .chip { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .2); box-shadow: none; color: #fff; }
.btn:hover:not(:disabled), .chip:hover { background: rgba(255, 255, 255, .14); }
.btn.primary, .chip.on, .pill.alt, .amount.on { background: #fff; border-color: #fff; color: var(--on-light); box-shadow: none; }
.btn.ghost { background: transparent; border-color: rgba(255, 255, 255, .26); }
.btn.go, .pill.hot, .next-up, .tl-slot.on, .case.on, .ord.on .pos, .prog-main .status.bezig, .nr {
  background: var(--cta); border-color: transparent; color: #fff; text-shadow: none; box-shadow: var(--cta-glow); }
.btn.go { border-radius: 999px; letter-spacing: .02em; }
.btn.go:hover:not(:disabled) { filter: brightness(1.08); }
.btn.go:disabled { background: rgba(255, 255, 255, .1); box-shadow: none; color: rgba(255, 255, 255, .5); }
.tab.on { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .16); box-shadow: inset 3px 0 0 var(--pink); }
.timebar i, .progress i { background: linear-gradient(90deg, var(--pink), #C41BD2, var(--blue)); box-shadow: 0 0 14px rgba(var(--hl), .7); }
.lightbar { background: linear-gradient(90deg, var(--purple), var(--pink) 50%, var(--blue)); box-shadow: 0 0 22px 2px rgba(var(--hl), .5); }

/* Antwoordtegels: glas met de eigen kleur, witte letter in een zeshoek */
.tile .ltr, .tv-tiles .tile .ltr { background: #fff; color: var(--on-light); }
.tile.a, .tile:not(.b):not(.c):not(.d) { --tint: rgba(106, 53, 240, .75); }
.tile.b { --tint: rgba(21, 87, 224, .75); } .tile.c { --tint: rgba(217, 115, 11, .75); } .tile.d { --tint: rgba(208, 31, 140, .72); }
.tile.mine:not(.right):not(.wrong) { --c: #fff; --lo: rgba(255, 255, 255, .5); --glow: rgba(255, 255, 255, .7); --rim: linear-gradient(150deg, #fff, rgba(255, 255, 255, .7)); }
.tile.mine:not(.right):not(.wrong).a, .tile.mine:not(.right):not(.wrong):not(.b):not(.c):not(.d) { --tint: rgba(106, 53, 240, .95); }
.tile.mine:not(.right):not(.wrong).b { --tint: rgba(21, 87, 224, .95); } .tile.mine:not(.right):not(.wrong).c { --tint: rgba(217, 115, 11, .95); } .tile.mine:not(.right):not(.wrong).d { --tint: rgba(208, 31, 140, .95); }
/* Goed = gouden rand en gloed, de tegel houdt zijn eigen kleur */
.tile.right { --c: var(--win); --lo: var(--win-lo); --glow: rgba(var(--win-rgb), .95); --rim: linear-gradient(150deg, #FFF3CF 0%, #F2D284 30%, #9C7325 70%, #F2D284 100%); color: #fff; }
.tile.right.a, .tile.right:not(.b):not(.c):not(.d) { --tint: rgba(106, 53, 240, .95); }
.tile.right.b { --tint: rgba(21, 87, 224, .95); } .tile.right.c { --tint: rgba(217, 115, 11, .95); } .tile.right.d { --tint: rgba(208, 31, 140, .95); }
.tile.right .ltr { background: var(--win-grad); }
.tile.dim { filter: saturate(.35) brightness(.5); }

/* Koppen en grote getallen: wit, een vleug lila */
.upnext b, .upnext-ph > b { filter: none; }
.toast { background: rgba(33, 21, 90, .96); border-color: rgba(255, 255, 255, .16); }
.tile.dim, .tv-body.is-locked .tile:not(.right) { filter: none; opacity: .38; }
.tile.mine { outline-color: rgba(255, 255, 255, .55); }
.pill.alt { background: rgba(var(--hl), .16); border-color: rgba(var(--hl), .55); color: #fff; }
.verdict.ok, .toast.ok, .tv-order div.right, .tile.right .ltr { color: var(--on-light); }
.verdict.ok { background: var(--win-grad); }
.btn.go, .btn.go:hover:not(:disabled) { color: #fff; -webkit-text-fill-color: #fff; }
/* Accountpagina: de drie snelkoppelingen in de huisstijl (roze, paars, blauw) */
.center-page .bar-btn.c, .gsl.bar .bar-btn.c { --c: var(--pink); --lo: var(--pink-lo); --tint: rgba(236, 28, 135, .6); --glow: rgba(var(--hl), .8); }
