/* VAIGA app. Colours copied from the VAIGA house style. */
:root {
  --ink: #0E0A24; --page: #1B0F3D; --surface: #26174F; --line: #3F2D7C;
  --text: #F6F1FF; --muted: #C7BCEA;
  --coral: #FF5A36; --magenta: #E5338C; --violet: #7B4DFF; --gold: #FFB21E; --teal: #12C2B4;
  --accent: var(--magenta); --on-accent: #fff;
  --celebrate: linear-gradient(115deg, var(--coral) 0%, var(--magenta) 48%, var(--violet) 100%);
  --display: "Archivo Black", "Arial Black", "Helvetica Neue", Arial, system-ui, sans-serif;
  color-scheme: dark;
}
body[data-accent="coral"] { --accent: var(--coral); --on-accent: var(--ink); }
body[data-accent="violet"] { --accent: var(--violet); }
body[data-accent="gold"] { --accent: var(--gold); --on-accent: var(--ink); }
body[data-accent="teal"] { --accent: var(--teal); --on-accent: var(--ink); }

* { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }
body {
  background: var(--page); color: var(--text); min-height: 100vh;
  font: 16px/1.45 system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  overflow-wrap: anywhere;
}
header {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: max(10px, env(safe-area-inset-top)) 16px 10px; background: var(--ink);
  border-bottom: 3px solid var(--accent);
}
header img { display: block; height: 40px; width: auto; }
header select { width: auto; min-height: 44px; }
main { max-width: 560px; margin: 0 auto; padding: 20px 14px 48px; display: flex; flex-direction: column; gap: 14px; }
body[data-view="dj"] main, body[data-view="admin"] main { max-width: 720px; }
.module { display: flex; flex-direction: column; gap: 12px; }
h1, h2 { font-family: var(--display); text-transform: uppercase; text-align: center; line-height: 1.15; }
h1 { font-size: clamp(1.4rem, 6vw, 2rem); }
h2 { font-size: 1.15rem; }
h3 { font-size: 1.05rem; }
a { color: var(--text); }
ul, ol { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: .85rem; }
.ok-text { color: var(--teal); font-weight: 700; }
.warn-text { color: var(--gold); }
.links { display: flex; justify-content: center; gap: 24px; }
.links a { padding: 10px 4px; }

.card { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 14px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 50px; padding: 8px 20px; border-radius: 999px; border: 1px solid transparent;
  background: var(--celebrate); color: #fff; cursor: pointer; text-decoration: none; text-align: center;
  font-family: inherit; font-size: .9rem; font-weight: 800; line-height: 1.2; letter-spacing: .05em; text-transform: uppercase;
}
.btn.ghost { background: var(--surface); border-color: var(--line); }
.btn.ok { background: var(--teal); color: var(--ink); }
.btn.danger { background: #b3261e; color: #fff; }
.btn.small { min-height: 44px; padding: 6px 14px; font-size: .75rem; }
button:disabled { opacity: .5; cursor: default; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

.form { display: flex; flex-direction: column; gap: 10px; }
label { font-size: .9rem; color: var(--muted); }
input[type="text"], input[type="search"], input[type="password"], input[type="date"], input[type="time"], input[type="datetime-local"],
input[type="number"], select, textarea {
  width: 100%; min-height: 50px; padding: 10px 14px; border-radius: 12px; border: 1px solid var(--line);
  background: var(--ink); color: var(--text); font-family: inherit; font-size: 16px; line-height: 1.3;
}
input.code { text-align: center; font-size: 1.6rem; font-weight: 800; letter-spacing: .35em; text-transform: uppercase; }
label.check { display: flex; align-items: center; gap: 12px; min-height: 44px; color: var(--text); font-size: 1rem; }
label.check input { width: 24px; height: 24px; accent-color: var(--teal); flex: none; }
summary { cursor: pointer; font-weight: 800; min-height: 32px; }
details[open] summary { margin-bottom: 4px; }
.row { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }

.arena { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.install { display: flex; justify-content: center; }

.status { text-align: center; font-size: .85rem; color: var(--muted); min-height: 1.4em; }
.status::before { content: "●"; margin-right: 6px; color: var(--gold); }
.status[data-state="live"]::before { color: var(--teal); }
.offline { background: var(--gold); color: var(--ink); text-align: center; font-weight: 700; padding: 8px 12px; }

.tabs { display: flex; gap: 6px; }
.tabs button {
  flex: 1; min-width: 0; min-height: 44px; padding: 6px 4px; border-radius: 999px; border: 0; cursor: pointer;
  background: var(--surface); color: var(--text); font-family: inherit; font-size: .85rem; font-weight: 700; line-height: 1.2;
}
.tabs button[aria-selected="true"] { background: var(--text); color: var(--ink); }

.song { display: flex; align-items: center; gap: 12px; }
.rank { font-family: var(--display); color: var(--gold); min-width: 1.6em; text-align: center; }
.grow { flex: 1; min-width: 0; }
.grow b, .grow small { display: block; }
.grow small { color: var(--muted); }
.vote {
  min-width: 60px; min-height: 54px; border-radius: 14px; border: 1px solid var(--line); background: var(--page);
  color: var(--text); display: flex; flex-direction: column; align-items: center; justify-content: center;
  font-family: inherit; font-size: 1rem; font-weight: 800; line-height: 1.15; cursor: pointer;
}
.vote[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.empty:empty { display: none; }
.ask { position: sticky; bottom: max(12px, env(safe-area-inset-bottom)); box-shadow: 0 12px 30px -8px rgba(0,0,0,.7); }

.toggle { display: flex; justify-content: space-between; align-items: center; gap: 10px; min-height: 56px; color: var(--text); font: inherit; cursor: pointer; text-align: left; }
.toggle { flex-wrap: wrap; }
.toggle b { flex: none; }
.toggle span { color: var(--teal); font-weight: 800; text-align: right; margin-left: auto; }
.toggle.paused span { color: var(--gold); }
.request small { color: var(--muted); }
.acts { display: flex; gap: 8px; margin-top: 10px; }
.acts .btn { flex: 1; min-width: 0; min-height: 48px; padding: 6px 8px; font-size: .75rem; }
.acts .btn.more { flex: 0 0 auto; padding: 6px 14px; }
.acts.wrap { flex-wrap: wrap; }
.acts.wrap .btn { flex: 1 1 140px; }
.more-panel { display: flex; flex-direction: column; gap: 8px; margin-top: 10px; }

.event p { margin-top: 4px; }
.colours { border: 0; display: flex; flex-wrap: wrap; gap: 12px; }
.colours legend { font-size: .9rem; color: var(--muted); margin-bottom: 8px; }
.swatch { position: relative; width: 48px; height: 48px; cursor: pointer; }
.swatch input { position: absolute; opacity: 0; inset: 0; }
.swatch span { display: block; width: 100%; height: 100%; border-radius: 50%; border: 3px solid transparent; }
.swatch input:checked + span { border-color: #fff; box-shadow: 0 0 0 3px var(--ink) inset; }
.swatch input:focus-visible + span { outline: 3px solid var(--gold); outline-offset: 2px; }
.swatch.magenta span { background: var(--magenta); }
.swatch.coral span { background: var(--coral); }
.swatch.violet span { background: var(--violet); }
.swatch.gold span { background: var(--gold); }
.swatch.teal span { background: var(--teal); }

.poster { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; }
.poster-logo { height: 56px; }
.qr { width: min(100%, 300px); height: auto; aspect-ratio: 1; border-radius: 12px; }
.poster-code { font-family: var(--display); font-size: 2.2rem; letter-spacing: .25em; }
.poster-url { font-size: .85rem; color: var(--muted); }
.copy { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.copy .label { flex-basis: 100%; font-size: .9rem; color: var(--muted); }
.copy input { flex: 1; min-width: 0; width: auto; }
.legal { display: flex; flex-direction: column; gap: 12px; }

.playing { font-weight: 800; color: var(--gold); }
.results { gap: 6px; }
.result {
  width: 100%; min-height: 52px; padding: 8px 14px; border-radius: 12px; border: 1px solid var(--line);
  background: var(--page); color: var(--text); font-family: inherit; font-size: 1rem; text-align: left; cursor: pointer;
}
.result b, .result small { display: block; }
.result small { color: var(--muted); }
.line-up { border: 0; display: flex; flex-direction: column; gap: 4px; }
.line-up legend { font-size: .9rem; color: var(--muted); margin-bottom: 4px; }
.event-djs { margin: 10px 0; }
.event-djs li { border-top: 1px solid var(--line); padding-top: 8px; }
.djs .row { border-bottom: 1px solid var(--line); padding-bottom: 8px; }
input[type="file"] { width: 100%; min-height: 50px; padding: 12px 0; color: var(--text); }

.toast {
  position: fixed; left: 50%; top: calc(72px + env(safe-area-inset-top)); transform: translate(-50%, -16px); width: min(92vw, 520px);
  background: var(--text); color: var(--ink); font-weight: 700; text-align: center; padding: 14px 18px;
  border-radius: 14px; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; z-index: 5;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast.warn { background: var(--gold); }
@media (prefers-reduced-motion: reduce) { .toast { transition: none; } }

@media (min-width: 760px) {
  body[data-view="dj"] .songs.dj { display: grid; grid-template-columns: 1fr 1fr; align-items: start; }
}

@media print {
  body { background: #fff; color: #000; }
  header, .offline, .toast, main > :not(.poster) { display: none !important; }
  main { padding: 0; max-width: none; }
  .poster { border: 0; background: #fff; color: #000; gap: 18px; }
  .poster h2 { font-size: 34pt; }
  .poster p { font-size: 16pt; }
  .poster .poster-code { font-size: 44pt; }
  .poster .poster-url { color: #000; font-size: 12pt; }
  .poster-logo { height: 90px; background: var(--ink); padding: 14px 24px; border-radius: 14px; -webkit-print-color-adjust: exact; print-color-adjust: exact; box-sizing: content-box; }
  .qr { width: 120mm; }
}

/* Music quiz */
.modes button { text-transform: uppercase; letter-spacing: .05em; font-weight: 800; }
.modes button[aria-selected="true"] { background: var(--accent); color: var(--on-accent); }
/* Four games next to each other; on a small phone they take a second row. */
.modes { flex-wrap: wrap; }
.modes button { flex: 1 0 auto; padding: 6px 10px; font-size: .75rem; letter-spacing: .02em; }
.bingo-card { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.square {
  display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 3px;
  min-width: 0; min-height: 84px; padding: 4px 2px; border-radius: 10px; border: 2px solid var(--line);
  background: var(--surface); color: var(--text); font-family: inherit; text-align: center; cursor: pointer;
}
.square b, .square small { display: -webkit-box; -webkit-box-orient: vertical; overflow: hidden; max-width: 100%; overflow-wrap: break-word; hyphens: auto; }
.square b { -webkit-line-clamp: 3; font-size: .75rem; line-height: 1.2; }
.square small { -webkit-line-clamp: 2; font-size: .65rem; line-height: 1.2; color: var(--muted); }
.square:disabled { cursor: default; color: var(--muted); }
.square[aria-pressed="true"] { background: var(--teal); border-color: var(--teal); color: var(--ink); }
.square[aria-pressed="true"] small { color: var(--ink); }
.bingo-message { font-weight: 700; }
.bingo-prize { border-color: var(--gold); }
.winner-line { font-weight: 800; color: var(--gold); }
.bingo-list li { display: flex; }
.btn.bingo-song { flex: 1; min-width: 0; text-transform: none; text-align: left; overflow-wrap: anywhere; }
.bingo-current:empty { display: none; }
/* Finish the lyric */
p.lyric-line, p.lyric-before { overflow-wrap: anywhere; }
.lyric-before { font-size: 1.1rem; font-style: italic; }
.stage p.lyric-before { font-size: 1.4em; }
.stage.bingo .join-block.small .qr { width: min(40vw, 24vh); }
.lyric-answers li { flex-direction: column; align-items: stretch; gap: 6px; }
.lyric-answer { margin: 0; overflow-wrap: anywhere; }
/* Muziek Arena base */
.arena-live { display: flex; flex-direction: column; gap: 12px; }
.arena-live[hidden] { display: none; }
.acts .btn[aria-pressed="true"] { background: var(--teal); border-color: var(--teal); color: var(--ink); }
.arena-ranking, .arena-people { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.arena-ranking li { display: flex; align-items: center; gap: 10px; border: 1px solid var(--line); border-radius: 12px; padding: 8px 12px; overflow-wrap: anywhere; }
.arena-ranking .place { font-family: var(--display); font-size: 1.3rem; color: var(--gold); min-width: 1.6em; }
.arena-ranking .grow { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.arena-ranking small { color: var(--muted); }
.arena-ranking .count { white-space: nowrap; font-weight: 800; }
.arena-people li { border-bottom: 1px solid var(--line); padding-bottom: 10px; display: flex; flex-direction: column; gap: 6px; overflow-wrap: anywhere; }
.arena-people li p { margin: 0; }
.arena-people .acts { margin-top: 0; }
.stage .arena-ranking { width: min(100%, 60rem); margin: 0 auto; gap: 0.8vh; }
.stage .arena-ranking li { padding: 0.8vh 1vw; }
/* Buzzer and Arena games */
.arena-buzzer[hidden], .arena-game[hidden], .arena-buzz[hidden] { display: none; }
.btn.buzz { min-height: 140px; font-size: 2.4rem; border-radius: 28px; touch-action: manipulation; }
.challenge-word { margin: 0; overflow-wrap: anywhere; }
.challenge-song, .challenge-first { overflow-wrap: anywhere; }
.challenge-used p { margin: 0 0 6px; }
.challenge-form[hidden] { display: none; }
.stage .challenge-word { font-size: clamp(3rem, 10vw, 8rem); }
.stage .challenge-first { color: var(--teal); }
/* Top 10 of the evening */
/* The guest's start screen and the hit list */
.back { align-self: flex-start; }
.tile {
  display: flex; align-items: center; gap: 14px; width: 100%; min-height: 76px; padding: 14px 16px;
  border: 2px solid; border-radius: 18px; background: var(--surface); color: var(--text); font: inherit; text-align: left; cursor: pointer;
}
.tile b, .tile small { display: block; }
.tile b { font-size: 1.1rem; }
.tile small { color: var(--muted); }
.tile .icon { font-size: 1.9rem; }
.tile[data-tile="music"] { border-color: #ff3d9a; }
.tile[data-tile="quiz"] { border-color: #3da5ff; }
.tile[data-tile="battle"] { border-color: var(--gold); }
.tile[data-tile="bingo"] { border-color: #b98cff; }
.tile[data-tile="lyric"] { border-color: #ff8d5c; }
.tile[data-tile="arena"] { border-color: #8be04e; }
.tile[data-tile="charts"] { border-color: var(--teal); }
.tile.now { box-shadow: 0 0 18px rgb(255 255 255 / .25); }
.tile.now small { color: var(--gold); font-weight: 800; }
.tile:disabled { opacity: .5; cursor: default; }
.chart .score { font-weight: 800; white-space: nowrap; }
.tile[hidden], .back[hidden] { display: none; }
.tile.top-link { box-sizing: border-box; border-color: #ff3d9a; text-decoration: none; }
.agenda { align-self: center; text-decoration: none; }
.top-page { display: flex; flex-direction: column; gap: 12px; }
.top-choices, .top-songs { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.top-choice { width: 100%; min-height: 52px; overflow-wrap: anywhere; }
.top-choice[aria-pressed="true"] { background: var(--teal); border-color: var(--teal); color: var(--ink); }
.top-choice[aria-pressed="true"] small { color: var(--ink); }
.top-bar { display: flex; flex-direction: column; gap: 6px; }
.top-bar.ready { position: sticky; bottom: 8px; z-index: 2; box-shadow: 0 8px 24px rgb(0 0 0 / .45); }
.top-bar p { margin: 0; overflow-wrap: anywhere; }
.top-picked { font-weight: 800; }
.top-thanks ul { list-style: none; padding: 0; overflow-wrap: anywhere; }
.top-ranking { list-style: none; counter-reset: place; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.top-ranking li { counter-increment: place; display: flex; align-items: center; gap: 10px; border: 1px solid var(--line); border-radius: 12px; padding: 8px 12px; overflow-wrap: anywhere; }
.top-ranking li::before { content: counter(place); font-family: var(--display); font-size: 1.3rem; color: var(--gold); min-width: 1.6em; }
.top-ranking .grow { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.top-ranking small { color: var(--muted); }
.top-ranking .count { white-space: nowrap; font-weight: 800; }
.big-count { font-weight: 800; }
.top-qr { display: flex; justify-content: center; }
.top-qr .qr, .top-poster .qr { width: min(80vw, 420px); height: auto; }
.top-songs li { display: flex; align-items: center; justify-content: space-between; gap: 10px; border-bottom: 1px solid var(--line); padding-bottom: 6px; }
.top-songs .grow { flex: 1; min-width: 0; overflow-wrap: anywhere; }
h2.question { text-transform: none; }
p.question { font-family: var(--display); font-size: 1.15rem; text-align: center; line-height: 1.25; }
.options { display: flex; flex-direction: column; gap: 10px; }
.option {
  display: flex; align-items: center; gap: 12px; width: 100%; min-height: 58px; padding: 10px 14px;
  border-radius: 14px; border: 2px solid var(--line); background: var(--surface); color: var(--text);
  font-family: inherit; font-size: 1.05rem; line-height: 1.3; text-align: left;
}
button.option { cursor: pointer; }
button.option:disabled { opacity: 1; cursor: default; }
.option .letter { font-family: var(--display); color: var(--gold); min-width: 1.2em; }
.option[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.option[aria-pressed="true"] .letter, .option[aria-pressed="true"] small { color: inherit; }
.option.correct, .option.correct[aria-pressed="true"] { background: var(--teal); border-color: var(--teal); color: var(--ink); }
.option.correct .letter, .option.correct small { color: var(--ink); }
.option.missed, .option.missed[aria-pressed="true"] { background: var(--surface); border-color: #ff6b5e; color: var(--text); }
.option.missed .letter, .option.missed small { color: #ff8d83; }
.option.dimmed { opacity: .45; }
.option .count { font-weight: 800; }
.quiz-status b, .quiz-status small { display: block; }
.quiz-status small { color: var(--muted); }
.quiz-status[data-status="finalist"], .quiz-status[data-status="winner"] { border-color: var(--gold); }
.quiz-status[data-status="in"] { border-color: var(--teal); }
.outcome { display: flex; flex-direction: column; gap: 6px; }
.verdict { font-family: var(--display); font-size: 1.5rem; text-transform: uppercase; }
.verdict.right { color: var(--teal); }
.verdict.wrong, .verdict.none { color: var(--gold); }
.outcome-line { font-weight: 800; }
.countdown { text-align: center; font-weight: 800; font-size: 1.4rem; color: var(--gold); font-variant-numeric: tabular-nums; }
.countdown.low { color: #ff8d83; }
.quiz-pack { padding: 12px; border: 2px solid var(--gold); border-radius: 14px; }
.quiz-maker h3 { margin: 4px 0 0; text-align: center; }
.stage .countdown { font-size: clamp(2rem, 5vw, 4rem); }
.timeline-list { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.timeline-list li { margin: 0; }
.timeline-list .option { width: 100%; }
.timeline-year { font-family: var(--display); margin-left: auto; padding-left: 1em; }
.stage .timeline-list .option { font-size: 1.15em; min-height: 0; padding-block: .35em; }
.stage p.question.timeline-title { font-size: clamp(1.3rem, 2.8vw, 2.4rem); }
.timeline-row { display: grid; grid-template-columns: 1fr 6.5em; gap: 8px; }
.audio-tracks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.audio-track { padding: 10px; border: 2px solid var(--line); border-radius: 12px; background: var(--surface); }
.audio-name { margin: 0 0 6px; font-weight: 700; overflow-wrap: anywhere; }
.audio-meta { display: grid; grid-template-columns: 1fr 1fr 5.5em; gap: 6px; margin-bottom: 6px; }
.audio-card input[type="range"] { width: 100%; min-height: 44px; }
.audio-level { display: flex; align-items: center; gap: 12px; }
.audio-level meter { flex: 1; height: 1.6em; }
.audio-card summary { font-family: var(--display); }
.fs-button { position: fixed; right: 12px; bottom: 12px; width: 48px; height: 48px; border-radius: 12px; border: 2px solid var(--line); background: var(--surface); color: var(--text); font-size: 1.5rem; opacity: .35; cursor: pointer; }
.fs-button:hover, .fs-button:focus-visible { opacity: 1; }
.fs-button[hidden] { display: none; }
.stage .hit-solution { font-size: clamp(1.8rem, 5vw, 4rem); }
.hit-name { font-size: 1.4rem; }
.karaoke-stars { display: flex; gap: 6px; }
.karaoke-stars button { flex: 1; min-height: 46px; padding: 6px 0; }
.karaoke-stars button[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.karaoke-scores { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.karaoke-scores li { display: flex; gap: 12px; padding: 6px 12px; border: 2px solid var(--line); border-radius: 12px; background: var(--surface); }
.stage .karaoke-scores { font-size: 1.2em; grid-template-columns: repeat(3, 1fr); }
.stage .karaoke-scores li { flex-direction: column; text-align: center; gap: 2px; }
.stage .karaoke-name { font-size: clamp(1.6rem, 4.5vw, 3.2rem); }
.stage p.karaoke-now { font-size: clamp(1.6rem, 4vw, 3rem); }
.karaoke-words p { margin: .2em 0; }
.stage p.question.strijd-long { font-size: clamp(1.3rem, 2.8vw, 2.4rem); }
.stage.bingo .qr { width: min(60vw, 36vh); }
.stage.bingo { gap: 1.4vh; }
.stage.bingo .winner { font-size: clamp(1.8rem, 4.5vw, 4rem); }
.option.side { flex-wrap: wrap; }
.option.side meter { flex-basis: 100%; height: 10px; appearance: none; background: none; }
.option.side meter::-webkit-meter-bar { background: rgb(255 255 255 / .12); border: 0; border-radius: 5px; }
.option.side meter::-webkit-meter-optimum-value { background: var(--gold); border-radius: 5px; }
.option.side meter::-moz-meter-bar { background: var(--gold); }
.option.side.correct meter::-webkit-meter-bar { background: rgb(0 0 0 / .18); }
.option.side.correct meter::-webkit-meter-optimum-value { background: var(--ink); }
.option.side.correct meter::-moz-meter-bar { background: var(--ink); }
.chips { flex-direction: row; flex-wrap: wrap; justify-content: center; gap: 8px; }
.chips li { background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; }
.finalists li { display: flex; justify-content: space-between; align-items: center; gap: 12px; background: var(--surface); border: 2px solid var(--gold); border-radius: 14px; padding: 12px 16px; }
.finalists span { font-family: var(--display); font-size: 1.6rem; color: var(--gold); }
.own-answer { display: flex; align-items: center; gap: 12px; }
.own-answer input[type="radio"] { width: 26px; height: 26px; accent-color: var(--teal); flex: none; }
.queued .acts .btn { min-height: 44px; }
.players li { border-bottom: 1px solid var(--line); padding-bottom: 8px; }

/* Big screen */
body[data-view="screen"] main { max-width: 1200px; padding-top: 3vh; }
body[data-view="screen"] header select { display: none; }
body[data-view="screen"] h1 { font-size: clamp(1.6rem, 3.5vw, 3rem); }
.stage { display: flex; flex-direction: column; gap: 2.2vh; font-size: clamp(1rem, 1.8vw, 1.6rem); }
.stage h2 { font-size: 1.4em; }
.stage .big { font-size: 1.35em; font-weight: 800; }
.stage p.question { font-size: clamp(1.5rem, 3.6vw, 3.2rem); }
.stage .option { font-size: 1.3em; min-height: 3.6em; }
.stage .qr { width: min(60vw, 42vh); }
.join-block { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 4vw; text-align: center; }
.winner { font-family: var(--display); text-transform: uppercase; text-align: center; font-size: clamp(2rem, 6vw, 5rem); line-height: 1.15; color: var(--gold); }
@media (min-width: 760px) {
  .stage .options { display: grid; grid-template-columns: 1fr 1fr; }
}

/* ---- Last Team Standing ---------------------------------------------------- */
.lts-gone { opacity: 0.55; }
.lts-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr)); gap: 0.4rem; list-style: none; padding: 0; margin: 0.6rem 0 0; width: 100%; }
.lts-chip { display: flex; justify-content: space-between; gap: 0.5rem; padding: 0.35rem 0.7rem; border: 1px solid currentColor; border-radius: 0.6rem; }
.stage .lts-question { font-size: clamp(1.3rem, 3.2vw, 2.4rem); margin: 0.2rem 0; }
.stage .lts-long { font-size: clamp(1.1rem, 2.6vw, 1.9rem); }
.stage .lts-line { margin: 0.2rem 0; }
.stage .lts-solution { margin: 0.4rem 0; }
.lts-duel { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; width: 100%; }
.lts-side { text-align: center; border: 2px solid currentColor; border-radius: 1rem; padding: 0.4rem; }
.lts-side-name { margin: 0; font-weight: 800; font-size: clamp(1.2rem, 3vw, 2.2rem); overflow-wrap: anywhere; }
.lts-side-points { margin: 0; font-weight: 900; font-size: clamp(1.6rem, 4.5vw, 3.2rem); }
.lts-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; width: 100%; }
.lts-champion { text-align: center; }
.lts-trophy { font-size: clamp(3rem, 8vw, 6rem); margin: 0; animation: lts-pop 1.2s ease-out both, lts-bounce 2.4s ease-in-out 1.2s infinite; }
.stage .lts-champion-name { font-size: clamp(2rem, 7vw, 5rem); animation: lts-pop 1.4s ease-out both; margin: 0.2rem 0; overflow-wrap: anywhere; }
.lts-out, .lts-lowest { animation: lts-pop 0.8s ease-out both; }
@keyframes lts-pop { from { transform: scale(0.4); opacity: 0; } 70% { transform: scale(1.08); opacity: 1; } to { transform: scale(1); } }
@keyframes lts-bounce { 50% { transform: translateY(-0.4rem) rotate(4deg); } }
@media (max-width: 40rem) { .lts-columns { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .lts-trophy, .lts-champion-name, .lts-out, .lts-lowest { animation: none; } }
/* A question, the clock, four answers and the teams must fit on a TV together. */
.stage:has(.lts-line) { gap: 1.2vh; }
.stage:has(.lts-line) .countdown { font-size: clamp(1.6rem, 3.4vw, 2.6rem); margin: 0; }
.stage:has(.lts-line) .option { font-size: 1.15em; min-height: 0; padding-block: 0.45em; }
.stage:has(.lts-duel) .lts-side-points { font-size: clamp(1.5rem, 3.4vw, 2.6rem); line-height: 1.1; }
.stage:has(.lts-duel) .lts-side-name { font-size: clamp(1.1rem, 2.2vw, 1.7rem); }
