/* AI-tour — stijl voor de drie schermen (speler, beamer, regie).
   Kleuren en fonts: letterlijk uit huisstijl.css (repo van Jim, werkkopie in
   werkmappen/huisstijl-lifegoods/voorstel/). Alleen licht: zie MASTER.md §9.
   Fonts worden zelf meegeleverd (public/fonts), dus geen request naar Google Fonts. */

@font-face { font-family: 'Inter'; font-weight: 400; font-display: swap; src: url('../fonts/inter-400-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Inter'; font-weight: 400; font-display: swap; src: url('../fonts/inter-400-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02AF, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Inter'; font-weight: 500; font-display: swap; src: url('../fonts/inter-500-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Inter'; font-weight: 500; font-display: swap; src: url('../fonts/inter-500-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02AF, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Inter'; font-weight: 600; font-display: swap; src: url('../fonts/inter-600-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Inter'; font-weight: 600; font-display: swap; src: url('../fonts/inter-600-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02AF, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Poppins'; font-weight: 600; font-display: swap; src: url('../fonts/poppins-600-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Poppins'; font-weight: 600; font-display: swap; src: url('../fonts/poppins-600-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02AF, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  color-scheme: light;
  /* huisstijl.css — letterlijk */
  --navy: #2C3A6B;
  --mint: #02D090;
  --grijsblauw: #5A6685;
  --periwinkle: #A9B4DA;
  --lavendel: #DBE0F0;
  --scheiding: #C3CBE2;
  --page: #F6F7FC;
  --surface: #FFFFFF;
  --surface-zacht: #FBFCFE;
  --tekst: #232B45;
  --tekst-zacht: #586381;
  --tekst-stil: #8892AE;
  --rand: #E4E8F4;
  --rand-sterk: #C3CBE2;
  --rand-control: #7A88B4;
  --op: #01724F;
  --vlak-op: #E3F5EE;
  --neer: #B53629;
  --vlak-fout: #FDF2F0;
  --waarschuwing: #9B5D00;
  --vlak-waarschuwing: #FDF8EF;
  --focus: #2C3A6B;
  --accent-sterk-hover: #223057;
  --schaduw: 0 1px 2px rgba(44, 58, 107, .06), 0 6px 20px rgba(44, 58, 107, .06);
  --schaduw-midden: 0 2px 6px rgba(44, 58, 107, .08), 0 10px 28px rgba(44, 58, 107, .10);
  --schaduw-hoog: 0 8px 28px rgba(44, 58, 107, .14);
  /* app-eigen: de wereld gedimd achter het live portaal (navy, zoals de schaduwen) */
  --sluier: rgba(44, 58, 107, .42);
  --radius: 14px;
  --radius-klein: 9px;
  --radius-chip: 6px;
  --kop: "Poppins", "Inter", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  /* app-eigen */
  --veilig-boven: env(safe-area-inset-top, 0px);
  --veilig-onder: env(safe-area-inset-bottom, 0px);
}

* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body {
  background: var(--page);
  color: var(--tekst);
  font-family: var(--body);
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}
h1, h2, h3 { font-family: var(--kop); font-weight: 600; color: var(--navy); margin: 0; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
[hidden] { display: none !important; }

.kaart {
  background: var(--surface);
  border: 1px solid var(--rand);
  border-radius: var(--radius);
  box-shadow: var(--schaduw);
}
.knop {
  min-height: 48px; padding: 0 22px; border: 0; border-radius: var(--radius-klein);
  background: var(--navy); color: #fff; font-weight: 600; font-size: 17px;
  box-shadow: var(--schaduw); transition: background-color 120ms;
}
.knop:hover { background: var(--accent-sterk-hover); }
.knop:disabled { background: var(--scheiding); color: var(--tekst-zacht); cursor: default; box-shadow: none; }
.knop-stil {
  min-height: 48px; padding: 0 18px; border: 1px solid var(--rand-control); border-radius: var(--radius-klein);
  background: var(--surface); color: var(--navy); font-weight: 600; font-size: 16px;
  transition: background-color 120ms, border-color 120ms;
}
.knop-stil:hover { background: var(--page); }
.knop-stil[aria-pressed="true"] { background: var(--navy); color: #fff; border-color: var(--navy); }
.chip {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px;
  background: var(--surface); border: 1px solid var(--rand); border-radius: 999px;
  font-size: 14px; font-weight: 600; color: var(--navy); box-shadow: var(--schaduw);
}
.stip { width: 10px; height: 10px; border-radius: 50%; display: inline-block; flex: none; }
.caption { font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--tekst-zacht); }
.letter {
  display: inline-grid; place-items: center; flex: none; width: 34px; height: 34px; border-radius: var(--radius-klein);
  background: var(--navy); color: #fff; font-family: var(--kop); font-weight: 600; font-size: 18px;
}
.verschijn { animation: verschijn 200ms ease-out; }
@keyframes verschijn { from { opacity: 0; } to { opacity: 1; } }

/* ── Het 3D-beeld ──────────────────────────────────────────────────────────── */
.app { position: fixed; inset: 0; overflow: hidden; }
.app canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; touch-action: none; }
.laag { position: absolute; pointer-events: none; }
.laag > * { pointer-events: auto; }

/* ── Speler (telefoon) ─────────────────────────────────────────────────────── */
.speler { overscroll-behavior: none; user-select: none; -webkit-user-select: none; }

.aanmelden {
  position: absolute; inset: 0; display: grid; place-items: center; padding: 20px;
  background: rgba(246, 247, 252, .94);
}
.aanmelden .kaart { width: min(420px, 100%); padding: 28px 24px 24px; }
.aanmelden h1 { font-size: 26px; line-height: 1.2; }
.aanmelden p { color: var(--tekst-zacht); font-size: 16px; line-height: 1.5; margin: 8px 0 20px; }
.aanmelden label { display: block; font-size: 14px; font-weight: 600; color: var(--tekst); margin-bottom: 6px; }
.aanmelden input {
  width: 100%; min-height: 52px; padding: 0 14px; font: 500 18px var(--body); color: var(--tekst);
  border: 1px solid var(--rand-control); border-radius: var(--radius-klein); background: var(--surface);
}
.aanmelden input:focus-visible { outline: 2px solid var(--focus); outline-offset: 1px; }
.aanmelden .knop { width: 100%; margin-top: 14px; }
.aanmelden .melding { margin: 12px 0 0; font-size: 15px; color: var(--neer); min-height: 1.2em; }
.logo-regel { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.logo-regel .stip { background: var(--mint); width: 12px; height: 12px; }

.balk {
  top: calc(var(--veilig-boven) + 10px); left: 10px; right: 10px;
  display: flex; justify-content: space-between; align-items: flex-start; gap: 8px;
}
.balk .chip { font-size: 15px; }

.toasts { top: calc(var(--veilig-boven) + 58px); left: 0; right: 0; display: grid; justify-items: center; gap: 8px; }
.toast {
  pointer-events: none; padding: 10px 16px; max-width: calc(100% - 32px);
  background: var(--surface); border: 1px solid var(--rand); border-radius: 999px;
  box-shadow: var(--schaduw-midden); font-size: 15px; font-weight: 600; color: var(--navy);
}
.toast.fout { color: var(--neer); }

.onder {
  left: 10px; right: 10px; bottom: calc(var(--veilig-onder) + 10px);
  display: grid; gap: 10px; justify-items: end;
}
.volgknop { border-radius: 999px; box-shadow: var(--schaduw-midden); }
.knoppenrij { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.knoppenrij > * { pointer-events: auto; }

/* emoticons: de knop links onderin en de keuze erboven */
.emoknop {
  width: 52px; height: 52px; padding: 0; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--rand-control); background: var(--surface); box-shadow: var(--schaduw-midden);
  font-size: 26px; line-height: 1; transition: background-color 120ms, border-color 120ms;
}
.emoknop[aria-expanded="true"] { background: var(--lavendel); border-color: var(--navy); }
.emoknop:disabled { opacity: .5; cursor: default; }
.emokeuze { justify-self: start; display: grid; grid-template-columns: repeat(4, 52px); gap: 6px; padding: 8px; box-shadow: var(--schaduw-hoog); }
.emokeuze button {
  width: 52px; height: 52px; padding: 0; border: 0; border-radius: var(--radius-klein); display: grid; place-items: center;
  background: var(--page); font-size: 28px; line-height: 1; transition: background-color 120ms;
}
.emokeuze button:active { background: var(--lavendel); }

/* tikhulp: een vinger die op de grond tikt, bij het binnenkomen */
.tikhulp { left: 50%; top: 56%; translate: -50% -50%; display: grid; justify-items: center; gap: 12px; }
.tikhulp > * { pointer-events: none; }
.tiktekst {
  position: relative; max-width: 270px; padding: 10px 16px; border-radius: var(--radius);
  background: var(--navy); color: #fff; font-size: 16px; font-weight: 600; line-height: 1.35; text-align: center;
  box-shadow: var(--schaduw-hoog);
}
.tiktekst::after { content: ""; position: absolute; left: 50%; bottom: -8px; translate: -50% 0; border: 8px solid transparent; border-bottom: 0; border-top-color: var(--navy); }
.tiktekst small { display: block; margin-top: 2px; font-size: 14px; font-weight: 500; color: var(--lavendel); }
.tikplek { position: relative; width: 72px; height: 72px; }
.tikplek .ring { position: absolute; inset: 4px; border-radius: 50%; border: 4px solid var(--mint); animation: tikring 1.6s ease-out infinite; }
.tikplek .vinger { position: absolute; left: 30px; top: 26px; width: 46px; height: 46px; color: var(--navy); animation: tikvinger 1.6s ease-in-out infinite; }
@keyframes tikring { 0% { transform: scale(.3); opacity: 0; } 30% { opacity: 1; } 100% { transform: scale(1.35); opacity: 0; } }
@keyframes tikvinger { 0%, 100% { transform: translate(8px, 8px); } 30% { transform: translate(0, 0); } }

.stopkaart { width: 100%; padding: 14px 16px; }
.stopkaart button.kopregel {
  display: flex; width: 100%; justify-content: space-between; align-items: center; gap: 12px;
  background: none; border: 0; padding: 0; text-align: left; min-height: 32px;
}
.stopkaart h2 { font-size: 18px; line-height: 1.3; }
.stopkaart p { margin: 8px 0 0; font-size: 16px; line-height: 1.45; color: var(--tekst); }
.stopkaart .pijl { color: var(--tekst-zacht); font-size: 14px; }
.stopkaart .stopextra { margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--rand); font-weight: 600; color: var(--navy); }

.vraagkaart { width: 100%; padding: 12px; }
.vraagkaart h2 { font-size: 17px; line-height: 1.25; margin-bottom: 8px; }
.antwoorden { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.antwoord {
  display: flex; align-items: center; gap: 8px; min-height: 48px; padding: 6px 8px;
  background: var(--surface); border: 1px solid var(--rand-sterk); border-radius: var(--radius-klein);
  text-align: left; font-size: 14px; line-height: 1.2; font-weight: 500;
  transition: background-color 120ms, border-color 120ms;
}
.antwoord .letter { width: 28px; height: 28px; font-size: 15px; }
.antwoord.staat { border: 2px solid var(--navy); background: var(--lavendel); }
.antwoord.goed { border: 2px solid var(--op); background: var(--vlak-op); }
.antwoord.goed .letter { background: var(--op); }
.antwoord.fout { border: 2px solid var(--neer); background: var(--vlak-fout); }
.antwoord.uit { background: var(--surface-zacht); color: var(--tekst-stil); }
.antwoord.uit .letter { background: var(--tekst-stil); }
.vraagstatus { margin: 8px 2px 0; font-size: 14px; font-weight: 600; color: var(--navy); min-height: 1.3em; }
.vraagstatus.goed { color: var(--op); }
.vraagstatus.fout { color: var(--neer); }
.vraaguitleg { margin: 4px 2px 0; font-size: 15px; line-height: 1.4; color: var(--tekst-zacht); }

.gidspijl {
  position: absolute; width: 64px; height: 64px; margin: -32px 0 0 -32px; pointer-events: none;
  display: grid; place-items: center;
}
.gidspijl .rond {
  width: 46px; height: 46px; border-radius: 50%; background: var(--navy); color: #fff;
  display: grid; place-items: center; box-shadow: var(--schaduw-midden); border: 3px solid var(--mint);
}
.gidspijl .rond svg { width: 22px; height: 22px; }
.gidspijl .tekst { position: absolute; top: 56px; font-size: 12px; font-weight: 600; color: var(--navy); background: var(--surface); padding: 1px 6px; border-radius: 6px; }
/* de pijl naar wat de gids aanwijst (mint, met een pols); tikken draait de camera ernaartoe */
.wijspijl { position: absolute; width: 64px; height: 64px; margin: -32px 0 0 -32px; display: grid; place-items: center; pointer-events: auto; cursor: pointer; }
.wijspijl .rond {
  width: 50px; height: 50px; border-radius: 50%; background: var(--mint); color: var(--navy);
  display: grid; place-items: center; box-shadow: var(--schaduw-midden); border: 3px solid var(--navy);
  animation: wijspols 900ms ease-in-out infinite;
}
.wijspijl .rond svg { width: 24px; height: 24px; }
.wijspijl .tekst { position: absolute; top: 60px; white-space: nowrap; font-size: 12px; font-weight: 600; color: var(--navy); background: var(--surface); padding: 1px 6px; border-radius: 6px; }
@keyframes wijspols { 0%, 100% { scale: 1; } 50% { scale: 1.12; } }

.verbinding {
  top: calc(var(--veilig-boven) + 10px); left: 50%; translate: -50% 0;
  padding: 8px 14px; border-radius: 999px; background: var(--vlak-waarschuwing); color: var(--waarschuwing);
  border: 1px solid #E8A33D; font-size: 14px; font-weight: 600; box-shadow: var(--schaduw);
}

.laden { position: absolute; inset: 0; display: grid; place-items: center; background: var(--page); }
.laden p { color: var(--tekst-zacht); font-size: 16px; }

/* ── Beamer ────────────────────────────────────────────────────────────────── */
.scherm { cursor: default; }
.scherm canvas { cursor: grab; }
.scherm canvas.sleept { cursor: grabbing; }
.infokaart { left: 40px; top: 40px; width: 600px; padding: 32px 36px; }
.infokaart .caption { font-size: 16px; }
.infokaart h1 { font-size: 44px; line-height: 1.15; margin-top: 8px; }
.infokaart ul { margin: 22px 0 0; padding: 0; list-style: none; display: grid; gap: 14px; }
.infokaart li { position: relative; padding-left: 26px; font-size: 26px; line-height: 1.35; color: var(--tekst); }
.infokaart li::before { content: ""; position: absolute; left: 0; top: .5em; width: 10px; height: 10px; border-radius: 50%; background: var(--mint); }
.waarde { margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--rand); display: grid; gap: 14px; }
.waarde-rij { display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap; }
.waarde .getal { font-family: var(--kop); font-weight: 600; font-size: 72px; line-height: 1; color: var(--navy); font-variant-numeric: tabular-nums; }
.waarde .label { font-size: 24px; color: var(--tekst-zacht); line-height: 1.3; max-width: 320px; }
/* twee of drie getallen onder elkaar: kleiner, de getallen in één kolom en de labels ernaast */
.waarde.meer { grid-template-columns: max-content 1fr; column-gap: 18px; row-gap: 16px; align-items: baseline; }
.waarde.meer .waarde-rij { display: contents; }
.waarde.meer .getal { font-size: 46px; }
.waarde.meer .label { font-size: 21px; max-width: none; }

.onderweg { top: 40px; left: 50%; translate: -50% 0; font-size: 26px; padding: 12px 24px; }

.qrkaart { left: 40px; top: 40px; width: 520px; padding: 34px 36px; text-align: center; }
.qrkaart h1 { font-size: 46px; }
.qrkaart p { font-size: 24px; color: var(--tekst-zacht); margin: 10px 0 22px; line-height: 1.35; }
.qrkaart img { width: 380px; height: 380px; display: block; margin: 0 auto; }
.qrkaart .link { margin-top: 18px; font-size: 26px; font-weight: 600; color: var(--navy); word-break: break-all; }
.qrkaart .teller { margin-top: 18px; font-size: 24px; color: var(--tekst); }
.qrkaart .teller b { font-family: var(--kop); font-size: 34px; color: var(--navy); font-variant-numeric: tabular-nums; }

.qrklein { right: 32px; bottom: 32px; padding: 14px; display: flex; gap: 14px; align-items: center; }
.qrklein img { width: 128px; height: 128px; }
.qrklein div { font-size: 18px; color: var(--tekst-zacht); max-width: 190px; line-height: 1.35; }
.qrklein b { display: block; color: var(--navy); font-size: 20px; word-break: break-all; }

.binnenlijst { right: 40px; top: 40px; width: 360px; display: grid; gap: 10px; justify-items: end; }
.binnenlijst .chip { font-size: 22px; padding: 8px 16px; }
.binnenlijst .chip .stip { width: 14px; height: 14px; }

.teller-chip { left: 40px; bottom: 32px; font-size: 22px; padding: 10px 18px; }

.vraagbalk { left: 50%; top: 32px; translate: -50% 0; width: min(1400px, calc(100% - 80px)); padding: 26px 34px; }
.vraagbalk h1 { font-size: 40px; line-height: 1.2; }
.vraagbalk .stand { margin-top: 10px; font-size: 22px; color: var(--tekst-zacht); }
.antwoordrij {
  left: 50%; bottom: 32px; translate: -50% 0; width: min(1600px, calc(100% - 80px));
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
}
.antwoordrij .kaart { padding: 18px 20px; display: flex; gap: 14px; align-items: center; min-height: 96px; }
.antwoordrij .letter { width: 52px; height: 52px; font-size: 28px; }
.antwoordrij .tekst { font-size: 24px; line-height: 1.25; font-weight: 500; }
.antwoordrij .aantal { margin-left: auto; font-family: var(--kop); font-weight: 600; font-size: 34px; color: var(--navy); font-variant-numeric: tabular-nums; }
.antwoordrij .kaart.goed { background: var(--vlak-op); border: 2px solid var(--op); }
.antwoordrij .kaart.goed .letter { background: var(--op); }
.antwoordrij .kaart.uit { background: var(--surface-zacht); }
.antwoordrij .kaart.uit .tekst, .antwoordrij .kaart.uit .aantal { color: var(--tekst-stil); }
.antwoordrij .kaart.uit .letter { background: var(--tekst-stil); }
.uitslagregel { margin-top: 10px; font-size: 24px; color: var(--tekst); }
.uitslagregel b { color: var(--op); }

.aftel {
  left: 50%; top: 50%; translate: -50% -50%; width: 240px; height: 240px; border-radius: 50%;
  display: grid; place-items: center; background: var(--surface); border: 1px solid var(--rand);
  box-shadow: var(--schaduw-hoog); font-family: var(--kop); font-weight: 600; font-size: 140px; color: var(--navy);
}

.podiumkaart { right: 40px; top: 40px; width: 520px; padding: 30px 34px; }
.podiumkaart h1 { font-size: 40px; }
.podiumkaart ol { margin: 18px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.podiumkaart li { display: flex; align-items: center; gap: 14px; font-size: 24px; padding: 8px 0; border-bottom: 1px solid var(--rand); }
.podiumkaart li:last-child { border-bottom: 0; }
.podiumkaart .plek { width: 40px; font-family: var(--kop); font-weight: 600; color: var(--tekst-zacht); font-variant-numeric: tabular-nums; }
.podiumkaart .naam { flex: 1; }
.podiumkaart .punten { font-family: var(--kop); font-weight: 600; color: var(--navy); font-variant-numeric: tabular-nums; }

.startscherm { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(246, 247, 252, .9); }
.startscherm .kaart { padding: 34px 40px; text-align: center; }
.startscherm h1 { font-size: 40px; }
.startscherm p { font-size: 22px; color: var(--tekst-zacht); margin: 12px 0 0; }
.startscherm .hint { font-size: 16px; color: var(--tekst-stil); margin-top: 18px; }

/* het echte portalscherm, naast de uitleg (normaal) of over het hele beeld (groot) */
.beeldkaart { margin: 0; left: 680px; right: 40px; top: 50%; translate: 0 -50%; padding: 10px; pointer-events: auto; cursor: zoom-in; }
.beeldkaart img { display: block; width: 100%; height: auto; border-radius: var(--radius-klein); border: 1px solid var(--rand); }
.beeldkaart figcaption { display: none; }
.beeldkaart.groot {
  left: 50%; right: auto; translate: -50% -50%; padding: 14px; cursor: zoom-out;
  width: min(calc(100% - 80px), calc((100vh - 150px) * 16 / 9 + 28px));
}
.beeldkaart.groot figcaption { display: flex; gap: 14px; align-items: baseline; padding: 2px 6px 12px; font-size: 26px; color: var(--navy); }
.beeldkaart.groot figcaption b { font-family: var(--kop); font-weight: 600; }
.beeldkaart.groot figcaption .caption { font-size: 16px; }

/* de AssortimentManager live (L): de echte portal in een kader, de wereld gedimd erachter.
   Stopwatch, melding en toetsenhulp blijven erboven. */
.livekaart { inset: 0; z-index: 1; pointer-events: auto; cursor: pointer; display: grid; place-items: center; background: var(--sluier); }
.livepaneel {
  width: calc(100% - 64px); height: calc(100% - 88px); margin-top: 24px;
  display: grid; grid-template-rows: auto 1fr; overflow: hidden;
  border-radius: var(--radius); background: var(--surface); box-shadow: var(--schaduw-hoog);
}
.livebalk { display: flex; align-items: center; gap: 10px; padding: 9px 16px; background: var(--navy); color: #fff; font-size: 16px; }
.livebalk b { font-family: var(--kop); font-weight: 600; }
.livebalk .caption { color: var(--mint); }
.livebalk .stip { width: 9px; height: 9px; border-radius: 50%; background: var(--mint); }
.livebalk .hint { margin-left: auto; font-size: 14px; opacity: .8; }
.livepaneel iframe { display: block; width: 100%; height: 100%; border: 0; background: var(--page); cursor: auto; }
.scherm .stopwatch, .scherm .melding, .scherm .hulpkaart { z-index: 2; }

/* het bedankje na de finale */
.bedanktkaart { left: 50%; top: 40px; translate: -50% 0; width: min(1100px, calc(100% - 80px)); padding: 34px 44px 30px; text-align: center; }
.bedanktkaart .caption { font-size: 18px; }
.bedanktkaart h1 { font-size: 64px; line-height: 1.1; margin-top: 8px; }
.bedanktkaart ul { margin: 18px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.bedanktkaart li { font-size: 26px; line-height: 1.4; color: var(--tekst); }
.bedankt-top { margin-top: 22px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.bedankt-top .chip { font-size: 22px; padding: 8px 16px; }
.bedankt-top .chip b { font-family: var(--kop); color: var(--tekst-zacht); }

/* geen knoppen op de beamer: een korte melding na een toets, en de toetsenhulp (H) */
.melding { left: 50%; bottom: 28px; translate: -50% 0; font-size: 20px; padding: 10px 20px; }
.hulpkaart { left: 50%; top: 50%; translate: -50% -50%; width: min(780px, calc(100% - 80px)); padding: 30px 36px; }
.hulpkaart h1 { font-size: 34px; margin-top: 6px; }
.hulpkaart dl { margin: 18px 0 0; display: grid; grid-template-columns: max-content 1fr; gap: 10px 24px; font-size: 19px; line-height: 1.35; }
.hulpkaart dt { font-weight: 600; color: var(--navy); }
.hulpkaart dd { margin: 0; color: var(--tekst); }
/* stopwatch linksboven, klein en stil: in de marge boven de kaarten */
.stopwatch { left: 44px; top: 11px; display: flex; align-items: center; gap: 6px; font-size: 15px; font-weight: 600; color: var(--tekst-zacht); font-variant-numeric: tabular-nums; opacity: .85; }
.stopwatch svg { width: 15px; height: 15px; }
/* de tekstkaart linksboven klapt in (klik of T) tot een smalle balk met de titel */
.scherm .infokaart, .scherm .qrkaart { pointer-events: auto; cursor: pointer; }
.kaartklein { left: 40px; top: 40px; display: flex; align-items: center; gap: 10px; padding: 12px 22px 12px 14px; font-size: 20px; font-weight: 600; color: var(--navy); cursor: pointer; pointer-events: auto; }
.kaartklein svg { width: 22px; height: 22px; color: var(--tekst-zacht); flex: none; }
/* de muisaanwijzer verdwijnt na een paar seconden stilte */
body.scherm.muis-weg, body.scherm.muis-weg * { cursor: none !important; }

/* ── Regie ─────────────────────────────────────────────────────────────────── */
.regie { padding: calc(var(--veilig-boven) + 16px) 16px calc(var(--veilig-onder) + 32px); max-width: 760px; margin: 0 auto; }
.regie header { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px; }
.regie header h1 { font-size: 22px; }
.regie .klok { font-family: var(--kop); font-weight: 600; font-size: 22px; color: var(--navy); font-variant-numeric: tabular-nums; }
.regie .klok small { font-family: var(--body); font-weight: 500; font-size: 14px; color: var(--tekst-zacht); margin-left: 6px; }
.regie section { margin-top: 14px; }
.regie .huidig { padding: 18px; }
.regie .huidig h2 { font-size: 22px; margin: 6px 0 0; line-height: 1.3; }
.regie .huidig .fase { margin-top: 8px; font-size: 15px; font-weight: 600; color: var(--tekst-zacht); }
.regie .notities { margin-top: 12px; font-size: 17px; line-height: 1.5; white-space: pre-wrap; }
.regie .goedregel { margin-top: 10px; font-size: 16px; color: var(--op); font-weight: 600; }
.regie .bediening { display: grid; grid-template-columns: 1fr 2fr; gap: 10px; }
.regie .bediening .knop, .regie .bediening .knop-stil { min-height: 72px; font-size: 20px; }
.regie .stappen { padding: 8px; }
.regie .stappen ol { margin: 0; padding: 0; list-style: none; }
.regie .stappen button {
  width: 100%; display: flex; gap: 12px; align-items: center; text-align: left; min-height: 44px; padding: 6px 10px;
  background: none; border: 0; border-radius: var(--radius-klein); font-size: 15px; color: var(--tekst);
  transition: background-color 120ms;
}
.regie .stappen button:hover { background: var(--page); }
.regie .stappen button[aria-current="step"] { background: var(--lavendel); font-weight: 600; color: var(--navy); }
.regie .stappen .nr { width: 26px; color: var(--tekst-stil); font-variant-numeric: tabular-nums; }
.regie .stappen .soort { margin-left: auto; font-size: 12px; color: var(--tekst-zacht); text-transform: uppercase; letter-spacing: .05em; }
.regie .spelers { padding: 16px; }
.regie .spelers h2 { font-size: 18px; }
.regie .spelers ul { margin: 10px 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.regie .spelers li { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; padding: 4px 10px; border: 1px solid var(--rand); border-radius: 999px; }
.regie .spelers li.weg { opacity: .45; }
.regie .beheer { padding: 16px; display: grid; gap: 10px; }
.regie .beheer .rij { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.regie .beheer .rij > span { font-size: 15px; font-weight: 600; min-width: 130px; }
.regie .gevaar { color: var(--neer); border-color: var(--neer); }
.regie .links { padding: 16px; font-size: 14px; color: var(--tekst-zacht); line-height: 1.6; word-break: break-all; }

@media (prefers-reduced-motion: reduce) {
  .verschijn, .tikplek .ring, .tikplek .vinger, .wijspijl .rond { animation: none; }
}
