:root {
  --zwart: #030409;
  --nacht: #080b16;
  --goud: #ffb547;
  --goud-2: #ff7a3d;
  --rood: #ff2e4d;
  --cyaan: #3df5e0;
  --groen: #4dff9a;
  --tekst: #eef2fb;
  --zacht: #9ba7c4;
  --zwak: #5f6b88;
  --rand: rgba(255, 255, 255, .1);
  --mono: 'JetBrains Mono', ui-monospace, Menlo, monospace;
  --sans: 'Space Grotesk', system-ui, sans-serif;
  --groot: 'Anton', 'Impact', 'Arial Narrow', sans-serif;
  --display: 'Fraunces', Georgia, serif;
  --veer: cubic-bezier(.2, 1.3, .35, 1);
  --uit: cubic-bezier(.16, 1, .3, 1);
  --schok: 0;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0; overflow: hidden; background: var(--zwart); color: var(--tekst);
  font-family: var(--sans); -webkit-font-smoothing: antialiased; -webkit-tap-highlight-color: transparent;
  user-select: none; -webkit-user-select: none; touch-action: manipulation;
}
button { font: inherit; color: inherit; cursor: pointer; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--cyaan); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
svg { display: block; }

/* ============ Lagen ============ */
.ruimte { position: fixed; inset: 0; z-index: 0; }
.laag-scan { position: fixed; inset: 0; z-index: 3; pointer-events: none; background: repeating-linear-gradient(0deg, rgba(0, 0, 0, .22) 0 1px, transparent 1px 3px); opacity: .5; }
.laag-ruis {
  position: fixed; inset: -50%; z-index: 3; pointer-events: none; opacity: .06; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: ruis .6s steps(3) infinite;
}
@keyframes ruis { 33% { transform: translate(-4%, 3%); } 66% { transform: translate(3%, -2%); } }
.laag-vignet { position: fixed; inset: 0; z-index: 3; pointer-events: none; background: radial-gradient(ellipse at center, transparent 45%, rgba(0, 0, 0, .85) 100%); }
.laag-flits { position: fixed; inset: 0; z-index: 60; pointer-events: none; background: #fff; opacity: 0; }
.laag-flits.aan { animation: flits .9s ease-out; }
.laag-flits.rood { background: var(--rood); }
.laag-flits.goud { background: radial-gradient(circle, #fff 0%, #ffe0a0 40%, var(--goud) 100%); }
@keyframes flits { 0% { opacity: .95; } 100% { opacity: 0; } }
.laag-vonken { position: fixed; inset: 0; z-index: 40; pointer-events: none; overflow: hidden; }
.vonk { position: absolute; width: 6px; height: 6px; border-radius: 50%; background: var(--goud); box-shadow: 0 0 10px var(--goud), 0 0 20px var(--goud-2); animation: vonk .7s ease-out forwards; }
@keyframes vonk { to { transform: translate(var(--x), var(--y)) scale(.2); opacity: 0; } }
.tik-ring { position: absolute; width: 20px; height: 20px; margin: -10px 0 0 -10px; border-radius: 50%; border: 2px solid var(--cyaan); animation: tikRing .6s ease-out forwards; }
@keyframes tikRing { to { transform: scale(6); opacity: 0; } }

body.schud main, body.schud .hud { animation: schud .12s linear infinite; }
@keyframes schud {
  0% { transform: translate(calc(var(--schok) * 1px), calc(var(--schok) * -1px)); }
  25% { transform: translate(calc(var(--schok) * -1px), calc(var(--schok) * .6px)) rotate(calc(var(--schok) * .03deg)); }
  50% { transform: translate(calc(var(--schok) * .8px), calc(var(--schok) * 1px)); }
  75% { transform: translate(calc(var(--schok) * -.6px), calc(var(--schok) * -.8px)) rotate(calc(var(--schok) * -.03deg)); }
  100% { transform: translate(0, 0); }
}

/* ============ HUD ============ */
.hud { position: fixed; inset: 0; z-index: 4; pointer-events: none; font-family: var(--mono); font-size: 11px; letter-spacing: .14em; color: var(--zwak); }
.hoek { position: absolute; width: 34px; height: 34px; border: 2px solid rgba(255, 181, 71, .5); }
.hoek.lb { top: 14px; left: 14px; border-right: 0; border-bottom: 0; }
.hoek.rb { top: 14px; right: 14px; border-left: 0; border-bottom: 0; }
.hoek.lo { bottom: 14px; left: 14px; border-right: 0; border-top: 0; }
.hoek.ro { bottom: 14px; right: 14px; border-left: 0; border-top: 0; }
.telemetrie { position: absolute; bottom: 22px; display: grid; gap: 4px; }
.telemetrie.links { left: 30px; }
.telemetrie.rechts { right: 30px; text-align: right; }
.telemetrie b { color: var(--cyaan); font-weight: 700; }
body[data-fase="aftellen"] .telemetrie b { color: var(--rood); }
body[data-fase="film"] .hud, body[data-fase="film"] .laag-scan, body[data-fase="film"] .laag-ruis { display: none; }
@media (max-width: 720px) { .telemetrie { display: none; } }

.knoppen { position: fixed; z-index: 50; top: max(18px, env(safe-area-inset-top)); right: 18px; display: flex; gap: 8px; }
.rond { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: rgba(8, 11, 22, .7); border: 1px solid var(--rand); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.rond svg { width: 20px; height: 20px; fill: none; stroke: var(--tekst); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
#geluidKnop .vol { fill: var(--tekst); stroke: none; }
#geluidKnop .uit { display: none; }
#geluidKnop[aria-pressed="false"] .golf { display: none; }
#geluidKnop[aria-pressed="false"] .uit { display: inline; }

/* ============ Fasen ============ */
main { position: relative; z-index: 10; height: 100%; }
.fase { position: absolute; inset: 0; display: none; flex-direction: column; align-items: center; justify-content: center; padding: max(70px, env(safe-area-inset-top)) 16px max(24px, env(safe-area-inset-bottom)); text-align: center; overflow-y: auto; }
body[data-fase="briefing"] #f-briefing,
body[data-fase="wacht"] #f-wacht,
body[data-fase="invoer"] #f-invoer,
body[data-fase="aftellen"] #f-aftellen,
body[data-fase="mislukt"] #f-mislukt,
body[data-fase="gered"] #f-gered,
body[data-fase="film"] #f-film { display: flex; }
body[data-fase="invoer"] #f-invoer { animation: faseIn .8s var(--uit); }
@keyframes faseIn { from { opacity: 0; transform: scale(1.04); filter: blur(8px); } }

.boven { margin: 0; font-family: var(--mono); font-size: 12px; font-weight: 700; letter-spacing: .32em; text-transform: uppercase; color: var(--goud); }
.boven.rood { color: var(--rood); }
.boven.goud { color: var(--goud); }

/* ============ Invoer ============ */
#f-invoer { justify-content: flex-start; gap: 0; }
@media (min-height: 860px) { #f-invoer { justify-content: center; } }
.radar { position: fixed; left: 50%; top: 44%; width: min(130vmin, 1100px); aspect-ratio: 1; transform: translate(-50%, -50%); pointer-events: none; z-index: -1; opacity: .55; }
.radar span { position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgba(61, 245, 224, .14); }
.radar span:nth-child(2) { inset: 17%; }
.radar span:nth-child(3) { inset: 34%; }
.radar i { position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(from 0deg, rgba(61, 245, 224, .28), transparent 18%, transparent); animation: veeg 5s linear infinite; mask: radial-gradient(circle, #000 69%, transparent 70%); -webkit-mask: radial-gradient(circle, #000 69%, transparent 70%); }
@keyframes veeg { to { transform: rotate(360deg); } }

.titel {
  position: relative; margin: 12px 0 0; font-family: var(--display); font-style: italic; font-weight: 900; line-height: .95; letter-spacing: -.02em;
  font-size: clamp(44px, 9vw, 110px); padding-bottom: .08em;
  background: linear-gradient(180deg, #fff7e6 0%, #ffd27a 45%, var(--goud) 70%, var(--goud-2) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 8px 40px rgba(255, 150, 60, .4));
}
.sub { margin: 10px auto 0; max-width: 40ch; color: var(--zacht); font-size: 16px; }

.paneel {
  --cel: clamp(30px, 7.4vw, 64px);
  position: relative; margin: 30px auto 0; padding: 30px clamp(14px, 3vw, 34px) 18px; border-radius: 26px;
  background: linear-gradient(180deg, rgba(14, 20, 40, .8), rgba(6, 9, 20, .85)); border: 1px solid rgba(255, 181, 71, .45);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .6), 0 0 80px -20px rgba(255, 181, 71, .45), inset 0 1px 0 rgba(255, 255, 255, .06);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.paneel.compleet { border-color: var(--goud); box-shadow: 0 0 0 1px rgba(0, 0, 0, .6), 0 0 120px -10px rgba(255, 181, 71, .7); animation: zoem 1.6s ease-in-out infinite; }
@keyframes zoem { 50% { box-shadow: 0 0 0 1px rgba(0, 0, 0, .6), 0 0 160px 0 rgba(255, 181, 71, .8); } }
.paneel-label { position: absolute; top: 0; left: 50%; transform: translate(-50%, -50%); padding: 6px 18px; border-radius: 99px; background: var(--goud); color: #1a1003; font-family: var(--mono); font-weight: 800; font-size: 12px; letter-spacing: .24em; text-transform: uppercase; white-space: nowrap; }
.regel-naam { text-align: left; font-family: var(--mono); font-size: 11px; letter-spacing: .24em; color: var(--zacht); text-transform: uppercase; margin: 6px 0 6px; }
.regel { display: grid; grid-template-columns: var(--cel) var(--cel) calc(var(--cel) * .35) repeat(4, var(--cel)) calc(var(--cel) * .35); column-gap: calc(var(--cel) * .1); align-items: end; }
.groep-badge { grid-row: 2; justify-self: center; margin-top: 8px; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-family: var(--mono); font-weight: 800; font-size: 13px; background: rgba(255, 181, 71, .15); border: 1.5px solid rgba(255, 181, 71, .6); color: var(--goud); transition: background .3s, color .3s; }
.groep-badge.vol { background: var(--goud); color: #1a1003; box-shadow: 0 0 16px rgba(255, 181, 71, .7); }
.vak {
  position: relative; height: calc(var(--cel) * 1.28); border-radius: calc(var(--cel) * .2); padding: 0;
  background: rgba(0, 0, 0, .55); border: 2px solid rgba(255, 255, 255, .16);
  font-family: var(--mono); font-weight: 800; font-size: calc(var(--cel) * .74); color: #fff; display: grid; place-items: center;
  transition: border-color .2s, background .2s, transform .2s var(--veer), box-shadow .2s;
}
.vak.vol { border-color: rgba(255, 181, 71, .8); background: rgba(255, 181, 71, .1); text-shadow: 0 0 18px rgba(255, 181, 71, .8); }
.vak.nu { border-color: var(--cyaan); box-shadow: 0 0 0 3px rgba(61, 245, 224, .25), 0 0 24px rgba(61, 245, 224, .4); }
.vak.nu::after { content: ''; position: absolute; bottom: 18%; left: 25%; right: 25%; height: 3px; border-radius: 2px; background: var(--cyaan); animation: knip 1s steps(2) infinite; }
.vak.vol.nu::after { display: none; }
.vak.plop { animation: plop .35s var(--veer); }
@keyframes plop { 0% { transform: scale(1.35); } }
@keyframes knip { 50% { opacity: 0; } }
.teken { font-family: var(--mono); font-weight: 800; font-size: calc(var(--cel) * .9); line-height: 1; color: var(--zacht); text-align: center; padding-bottom: calc(var(--cel) * .1); }
.teken.min { padding-bottom: calc(var(--cel) * .36); font-size: calc(var(--cel) * .8); }

.bediening { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 22px 36px; align-items: center; justify-content: center; }
.toetsen { display: grid; grid-template-columns: repeat(3, clamp(62px, 17vw, 82px)); gap: 10px; }
.toetsen button {
  height: clamp(52px, 13vw, 64px); border-radius: 16px; border: 1px solid rgba(255, 255, 255, .14); background: linear-gradient(180deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, .03));
  font-family: var(--mono); font-weight: 800; font-size: 24px; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1), 0 6px 14px rgba(0, 0, 0, .4);
  transition: transform .1s, background .15s, box-shadow .15s; display: grid; place-items: center;
}
.toetsen button:active, .toetsen button.druk { transform: scale(.93); background: rgba(61, 245, 224, .2); box-shadow: 0 0 24px rgba(61, 245, 224, .5); }
.toetsen .neutraal { font-family: var(--sans); font-size: 15px; font-weight: 700; color: var(--zacht); }
.toetsen svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }

.ontgrendel-wrap { display: grid; justify-items: center; gap: 10px; }
.ontgrendel {
  position: relative; width: 200px; height: 200px; border-radius: 50%; border: 0; padding: 0;
  background: radial-gradient(circle at 50% 35%, #ff7088, var(--rood) 50%, #8f0a22); color: #fff;
  box-shadow: 0 0 0 8px rgba(255, 46, 77, .15), 0 0 60px rgba(255, 46, 77, .6), inset 0 -10px 20px rgba(0, 0, 0, .35), inset 0 6px 14px rgba(255, 255, 255, .3);
  transition: transform .15s, filter .3s, box-shadow .3s; touch-action: none;
}
.ontgrendel:not(:disabled) { animation: klopt 1.2s ease-in-out infinite; }
@keyframes klopt { 50% { box-shadow: 0 0 0 16px rgba(255, 46, 77, .08), 0 0 90px rgba(255, 46, 77, .8), inset 0 -10px 20px rgba(0, 0, 0, .35), inset 0 6px 14px rgba(255, 255, 255, .3); } }
.ontgrendel:disabled { filter: grayscale(.85) brightness(.55); cursor: not-allowed; }
.ontgrendel.vast { transform: scale(.94); animation: none; }
.ontgrendel .ring { position: absolute; inset: -14px; width: calc(100% + 28px); height: calc(100% + 28px); transform: rotate(-90deg); }
.ontgrendel .ring circle { fill: none; stroke: rgba(255, 255, 255, .12); stroke-width: 5; }
.ontgrendel .ring .vulling { stroke: var(--goud); stroke-linecap: round; stroke-dasharray: 339.3; stroke-dashoffset: 339.3; filter: drop-shadow(0 0 8px var(--goud)); }
.ontgrendel-tekst { position: relative; display: grid; gap: 4px; }
.ontgrendel-tekst b { font-family: var(--groot); font-size: 30px; font-weight: 400; letter-spacing: .06em; text-transform: uppercase; }
.ontgrendel-tekst small { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; opacity: .85; }
.hint { margin: 0; max-width: 24ch; font-size: 13px; color: var(--zwak); }
.ontgrendel::before { content: ''; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(90deg, rgba(255, 220, 150, .85), var(--goud)); transform-origin: left; transform: scaleX(var(--houd, 0)); opacity: 0; }

/* Telefoon: alles compacter, de knop wordt een brede balk */
@media (max-width: 600px) {
  .boven { font-size: 10px; letter-spacing: .2em; }
  .titel { font-size: clamp(36px, 10.5vw, 52px); margin-top: 8px; }
  .sub { font-size: 14px; margin-top: 6px; }
  .paneel { margin-top: 24px; padding: 24px 12px 12px; }
  .bediening { flex-direction: column; gap: 14px; width: 100%; margin-top: 16px; }
  .toetsen { grid-template-columns: repeat(3, 1fr); width: min(100%, 300px); gap: 8px; }
  .toetsen button { height: 50px; font-size: 22px; }
  .ontgrendel-wrap { width: min(100%, 300px); }
  .ontgrendel { width: 100%; height: 76px; border-radius: 22px; overflow: hidden; }
  .ontgrendel .ring { display: none; }
  .ontgrendel::before { opacity: 1; }
  .ontgrendel-tekst b { font-size: 26px; }
  .hint { max-width: none; }
}
.hint.let-op { color: var(--goud); animation: plop .4s var(--veer); }

/* ============ Aftellen ============ */
#f-aftellen { justify-content: center; padding-top: 64px; padding-bottom: 64px; }
.aftel-indeling { width: 100%; max-width: 1280px; display: grid; grid-template-columns: 1fr; gap: 18px; align-items: center; justify-items: center; }
@media (min-width: 1000px) { .aftel-indeling { grid-template-columns: 1fr auto 1fr; gap: 40px; } }
.kolomkop { margin: 0 0 10px; font-family: var(--mono); font-size: 11px; letter-spacing: .28em; text-transform: uppercase; color: var(--rood); text-align: left; }
.controles, .feed { width: 100%; max-width: 360px; text-align: left; font-family: var(--mono); }
.controles ol, .feed ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.controles li { display: grid; grid-template-columns: 22px 1fr auto auto; gap: 10px; align-items: center; padding: 8px 10px; border-radius: 10px; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .06); font-size: 13px; opacity: .35; transition: opacity .3s, border-color .3s, background .3s; }
.controles li.actief { opacity: 1; border-color: rgba(255, 181, 71, .4); }
.controles li .nr { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 181, 71, .2); color: var(--goud); font-weight: 800; font-size: 11px; }
.controles li .cijfers { font-weight: 800; color: #fff; min-width: 2.4ch; text-align: right; }
.controles li .st { width: 16px; height: 16px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .25); border-top-color: var(--goud); animation: draai .7s linear infinite; }
.controles li.goed { border-color: var(--groen); background: rgba(77, 255, 154, .1); }
.controles li.goed .st { animation: none; border: 0; background: var(--groen); box-shadow: 0 0 10px var(--groen); }
.controles li.fout { border-color: var(--rood); background: rgba(255, 46, 77, .12); }
.controles li.fout .st { animation: none; border: 0; background: var(--rood); box-shadow: 0 0 10px var(--rood); }
@keyframes draai { to { transform: rotate(360deg); } }
@media (max-width: 999px) { .controles { display: none; } }
.feed ul { height: 220px; overflow: hidden; mask: linear-gradient(180deg, transparent, #000 30%); -webkit-mask: linear-gradient(180deg, transparent, #000 30%); align-content: end; }
.feed li { font-size: 12px; line-height: 1.4; color: var(--zacht); animation: regelIn .3s ease-out; }
.feed li b { color: var(--cyaan); font-weight: 700; }
.feed li.alarm { color: var(--rood); }
.feed li.alarm b { color: var(--rood); }
@keyframes regelIn { from { opacity: 0; transform: translateX(-10px); } }
@media (max-width: 999px) { .feed { order: 3; max-width: 520px; } .feed ul { height: 110px; } }

.klok { position: relative; width: min(70vmin, 520px); aspect-ratio: 1; display: grid; place-items: center; }
.klok-ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.klok-ring circle { fill: none; stroke: rgba(255, 255, 255, .08); stroke-width: 6; }
.klok-ring .klok-vulling { stroke: var(--goud); stroke-linecap: round; stroke-dasharray: 578; stroke-dashoffset: 0; filter: drop-shadow(0 0 12px var(--goud)); transition: stroke .3s; }
.klok-streepjes line { stroke: rgba(255, 255, 255, .25); stroke-width: 2; }
.getal {
  position: relative; font-family: var(--groot); font-size: min(44vmin, 330px); line-height: 1; color: #fff;
  text-shadow: 0 0 40px rgba(255, 181, 71, .8), 0 0 120px rgba(255, 122, 61, .6);
}
.getal::before, .getal::after { content: attr(data-tekst); position: absolute; inset: 0; opacity: .7; mix-blend-mode: screen; }
.getal::before { color: var(--rood); transform: translate(calc(var(--schok) * -.5px), 0); }
.getal::after { color: var(--cyaan); transform: translate(calc(var(--schok) * .5px), 0); }
.getal.tik { animation: getalTik .95s var(--uit); }
@keyframes getalTik { 0% { transform: scale(1.6); opacity: 0; filter: blur(12px); } 25% { opacity: 1; filter: blur(0); } 100% { transform: scale(.92); } }
.klok-code { position: absolute; bottom: 14%; margin: 0; font-family: var(--mono); font-weight: 800; font-size: clamp(14px, 2.6vmin, 22px); letter-spacing: .1em; color: var(--goud); text-shadow: 0 0 14px var(--goud); }
body.kritiek .klok-vulling { stroke: var(--rood); filter: drop-shadow(0 0 16px var(--rood)); }
body.kritiek .getal { color: #ffe2e7; text-shadow: 0 0 40px var(--rood), 0 0 140px var(--rood); }
body.kritiek .ruimte { filter: hue-rotate(-30deg) saturate(1.6); }
body.kritiek::after { content: ''; position: fixed; inset: 0; z-index: 2; pointer-events: none; box-shadow: inset 0 0 200px 40px rgba(255, 46, 77, .55); animation: alarmGloed .5s ease-in-out infinite alternate; }
@keyframes alarmGloed { from { opacity: .3; } to { opacity: 1; } }

.lint { position: absolute; left: -5%; right: -5%; height: 36px; overflow: hidden; background: repeating-linear-gradient(-45deg, #ffcc00 0 22px, #111 22px 44px); opacity: 0; transition: opacity .5s; display: flex; align-items: center; }
.lint div { white-space: nowrap; font-family: var(--groot); font-size: 18px; letter-spacing: .12em; color: #000; background: #ffcc00; padding: 2px 14px; animation: lint 9s linear infinite; }
.boven-lint { top: 56px; transform: rotate(-1.2deg); }
.onder-lint { bottom: 10px; transform: rotate(1deg); }
.onder-lint div { animation-direction: reverse; }
body.waarschuwing .lint { opacity: .92; }
@keyframes lint { to { transform: translateX(-50%); } }

.energie { width: min(560px, 100%); margin-top: 18px; display: grid; gap: 8px; }
.energie-kop { margin: 0; font-family: var(--groot); font-size: clamp(20px, 4vw, 30px); letter-spacing: .06em; text-transform: uppercase; color: var(--cyaan); text-shadow: 0 0 20px rgba(61, 245, 224, .6); animation: puls .7s ease-in-out infinite alternate; }
@keyframes puls { from { opacity: .65; transform: scale(.98); } to { opacity: 1; transform: scale(1.03); } }
.energie-balk { height: 18px; border-radius: 10px; background: rgba(255, 255, 255, .08); overflow: hidden; border: 1px solid rgba(255, 255, 255, .12); }
.energie-balk span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--cyaan), var(--goud), var(--rood)); box-shadow: 0 0 20px var(--cyaan); transition: width .12s linear; }
.energie.overdrive .energie-kop { color: var(--goud); text-shadow: 0 0 30px var(--goud); animation: plop .3s var(--veer); }
.energie-teller { margin: 0; font-family: var(--mono); font-size: 12px; color: var(--zacht); letter-spacing: .14em; text-transform: uppercase; }
.energie-teller b { color: #fff; }

body[data-fase="stilte"] main, body[data-fase="stilte"] .hud, body[data-fase="stilte"] .ruimte, body[data-fase="stilte"] .knoppen { opacity: 0; transition: none; }

/* ============ Uitslag ============ */
.uitslag { position: relative; margin: 14px 0 0; font-family: var(--groot); font-weight: 400; line-height: .9; letter-spacing: .01em; font-size: clamp(80px, 22vw, 300px); }
.uitslag.rood { color: var(--rood); text-shadow: 0 0 60px rgba(255, 46, 77, .8); }
.uitslag.goud {
  background: linear-gradient(180deg, #fff7e6 0%, #ffd27a 40%, var(--goud) 65%, var(--goud-2) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 0 60px rgba(255, 181, 71, .7));
}
body[data-fase="gered"] .uitslag { animation: klap 1.2s var(--veer); }
body[data-fase="mislukt"] .uitslag { animation: klap 1s var(--veer); }
@keyframes klap { 0% { transform: scale(3); opacity: 0; filter: blur(24px); } 60% { opacity: 1; } 100% { transform: none; } }
.glitch::before, .glitch::after { content: attr(data-tekst); position: absolute; inset: 0; }
.glitch::before { color: var(--cyaan); clip-path: inset(10% 0 55% 0); animation: glitch1 1.6s steps(1) infinite; opacity: 0; }
.glitch::after { color: #fff; clip-path: inset(58% 0 8% 0); animation: glitch2 1.3s steps(1) infinite; opacity: 0; }
@keyframes glitch1 { 0%, 78%, 92%, 100% { opacity: 0; transform: none; } 80% { opacity: .9; transform: translate(-10px, 2px); } 86% { opacity: .9; transform: translate(8px, -3px); } }
@keyframes glitch2 { 0%, 66%, 80%, 100% { opacity: 0; transform: none; } 68% { opacity: .8; transform: translate(12px, 0); } 74% { opacity: .8; transform: translate(-7px, 2px); } }
.uitslag-tekst { margin: 20px auto 0; max-width: 34ch; font-size: clamp(18px, 2.6vw, 24px); line-height: 1.45; color: var(--tekst); }
body[data-fase="mislukt"] .uitslag-tekst, body[data-fase="mislukt"] .knop { animation: faseIn .8s var(--uit) .5s both; }
body[data-fase="mislukt"] .ruimte { filter: hue-rotate(-60deg) saturate(2) brightness(.6); }
.knop { margin-top: 30px; display: inline-flex; align-items: center; gap: 10px; min-height: 58px; padding: 0 30px; border-radius: 99px; border: 0; font-weight: 700; font-size: 18px; }
.knop svg { width: 20px; height: 20px; fill: currentColor; }
.rood-knop { background: linear-gradient(135deg, #ff7088, var(--rood) 55%, #c1102f); color: #fff; box-shadow: 0 12px 40px -10px rgba(255, 46, 77, .8); }
.goud-knop { background: linear-gradient(135deg, #ffd27a, var(--goud) 45%, var(--goud-2)); color: #1a1003; box-shadow: 0 12px 40px -10px rgba(255, 150, 60, .8); }

.laden { width: min(420px, 80vw); height: 6px; margin-top: 30px; border-radius: 6px; background: rgba(255, 255, 255, .1); overflow: hidden; }
.laden span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--goud), #fff); box-shadow: 0 0 16px var(--goud); transition: width .3s; }
.laden-tekst { margin: 10px 0 0; font-family: var(--mono); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--zacht); }

/* ============ Film ============ */
#f-film { padding: 0; background: #000; }
#film { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #000; opacity: 0; transition: opacity 1.6s ease; }
#film.zichtbaar { opacity: 1; }
#ytFilm { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #000; opacity: 0; transition: opacity 1.6s ease; }
#ytFilm.zichtbaar { opacity: 1; }
.film-start { position: relative; z-index: 2; margin: 0; }
.film-fout { position: relative; z-index: 2; max-width: 520px; padding: 24px; border-radius: 20px; background: rgba(255, 46, 77, .12); border: 1px solid rgba(255, 46, 77, .5); }
.film-fout h2 { margin: 0 0 8px; font-family: var(--groot); font-weight: 400; font-size: 34px; letter-spacing: .03em; }
.film-fout p { margin: 0; color: var(--zacht); line-height: 1.5; }
.film-fout code { color: var(--goud); font-family: var(--mono); }
.film-balk { position: absolute; z-index: 3; left: 50%; bottom: max(20px, env(safe-area-inset-bottom)); transform: translateX(-50%); width: min(560px, calc(100% - 32px)); display: flex; gap: 12px; align-items: center; padding: 8px; border-radius: 99px; background: rgba(0, 0, 0, .55); backdrop-filter: blur(10px); opacity: 0; transition: opacity .4s; }
#f-film:hover .film-balk, .film-balk.toon, .film-balk:focus-within { opacity: 1; }
.film-voortgang { flex: 1; height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .2); overflow: hidden; }
.film-voortgang span { display: block; height: 100%; width: 0; background: var(--goud); }
#filmPauze .speel { display: none; fill: var(--tekst); stroke: none; }
#filmPauze .pauze { fill: var(--tekst); stroke: none; }
#filmPauze.gepauzeerd .speel { display: inline; }
#filmPauze.gepauzeerd .pauze { display: none; }

@media (prefers-reduced-motion: reduce) {
  .laag-ruis, .radar i, .lint div { animation: none !important; }
  body.schud main, body.schud .hud { animation: none !important; }
}

/* ============ Kaart ============ */
body[data-fase="kaart"] #f-kaart { display: flex; }
#f-kaart { padding: 0; background: #000; animation: faseIn 1.2s var(--uit); }
#f-kaart.weg { opacity: 0; transition: opacity 1.2s ease; }
#kaart { position: absolute; inset: 0; background: #02040a; }
body[data-fase="kaart"] .laag-scan { opacity: .25; }
.kaart-kop { position: absolute; z-index: 500; top: max(28px, env(safe-area-inset-top)); left: 0; right: 0; text-align: center; pointer-events: none; }
.kaart-coord { margin: 8px 0 0; font-family: var(--mono); font-weight: 800; font-size: clamp(24px, 5vw, 52px); letter-spacing: .06em; color: #fff; text-shadow: 0 0 24px rgba(255, 181, 71, .9), 0 2px 8px #000; }
#kaartBoven { text-shadow: 0 2px 8px #000; }
#kaartBoven.gevonden { color: var(--groen); animation: plop .5s var(--veer); }
.kaart-verder { position: absolute; z-index: 500; right: 18px; bottom: max(28px, env(safe-area-inset-bottom)); margin: 0; min-height: 48px; font-size: 15px; opacity: .85; }
.leaflet-container { background: #02040a; font-family: var(--sans); }
.leaflet-control-attribution { font-size: 10px; background: rgba(0, 0, 0, .55) !important; color: #9ba7c4 !important; }
.leaflet-control-attribution a { color: #9ba7c4 !important; }
.speld { position: relative; width: 56px; height: 72px; }
.speld svg { width: 56px; height: 72px; filter: drop-shadow(0 12px 12px rgba(0, 0, 0, .6)); animation: speldVal 1.1s var(--veer) both; }
.speld::after { content: ''; position: absolute; left: 50%; bottom: -4px; width: 18px; height: 9px; margin-left: -9px; border-radius: 50%; border: 3px solid var(--goud); opacity: 0; animation: rimpel 1.6s ease-out 1s infinite; }
@keyframes speldVal { 0% { transform: translateY(-320px); opacity: 0; } 45% { opacity: 1; } }
@keyframes rimpel { 0% { opacity: .95; transform: scale(1); } 100% { opacity: 0; transform: scale(8); } }

/* Route over de kaart */
.stip { position: relative; width: 14px; height: 14px; border-radius: 50%; background: var(--cyaan); box-shadow: 0 0 0 4px rgba(61, 245, 224, .25), 0 0 16px var(--cyaan); animation: plop .5s var(--veer); }
.stip.vertrek { background: var(--goud); box-shadow: 0 0 0 4px rgba(255, 181, 71, .25), 0 0 16px var(--goud); }
.stip span { position: absolute; left: 20px; top: 50%; transform: translateY(-50%); white-space: nowrap; font-family: var(--mono); font-weight: 800; font-size: 14px; letter-spacing: .06em; color: #fff; text-shadow: 0 1px 4px #000, 0 0 10px #000; }
.stip.af { background: var(--rood); box-shadow: 0 0 0 4px rgba(255, 46, 77, .25), 0 0 14px var(--rood); }
.stip.af span { color: #ffb3bf; text-decoration: line-through; text-decoration-thickness: 2px; }
.kaart-coord.vraag { color: #fff; animation: plop .4s var(--veer); }
.kaart-coord.nee { color: var(--rood); text-shadow: 0 0 24px rgba(255, 46, 77, .9), 0 2px 8px #000; animation: schudNee .4s ease; }
.kaart-coord.gevonden { color: #fff; animation: plop .6s var(--veer); }
#kaartBoven.gevonden { color: var(--groen); animation: plop .5s var(--veer); }
@keyframes schudNee { 25%, 75% { transform: translateX(-10px); } 50% { transform: translateX(10px); } }

/* Ingesloten YouTube-film */
.yt-kader { position: absolute; inset: 0; display: grid; place-items: center; padding: max(16px, 3vh) max(16px, 3vw); opacity: 0; transition: opacity 1.4s ease; }
.yt-kader.zichtbaar { opacity: 1; }
.yt-kader #ytSpeler, .yt-kader iframe { width: min(100%, calc((100vh - 6vh) * 16 / 9)); aspect-ratio: 16 / 9; height: auto; border: 0; border-radius: 18px; background: #000; box-shadow: 0 0 0 1px rgba(255, 181, 71, .35), 0 0 120px -20px rgba(255, 181, 71, .55), 0 40px 80px rgba(0, 0, 0, .8); }
.glas-knop { background: rgba(255, 255, 255, .08); color: var(--tekst); border: 1px solid rgba(255, 255, 255, .2); backdrop-filter: blur(10px); text-decoration: none; }
.naar-eind { position: absolute; z-index: 4; right: 18px; bottom: max(18px, env(safe-area-inset-bottom)); margin: 0; min-height: 46px; font-size: 15px; opacity: .55; transition: opacity .3s; }
.naar-eind:hover, .naar-eind:focus-visible { opacity: 1; }
.film-fout a { color: var(--goud); }

/* ============ Eindscherm ============ */
body[data-fase="eind"] #f-eind { display: flex; }
#f-eind { gap: 0; animation: faseIn 1.2s var(--uit); }
.eind-land {
  margin: 10px 0 0; font-family: var(--display); font-style: italic; font-weight: 900; line-height: 1; letter-spacing: -.02em; padding: 0 .08em .22em;
  font-size: clamp(64px, 16vw, 190px);
  background: linear-gradient(180deg, #fff7e6 0%, #ffd27a 40%, var(--goud) 65%, var(--goud-2) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 0 60px rgba(255, 181, 71, .6));
  animation: klap 1.4s var(--veer) .2s both;
}
.eind-regio { margin: -.4em 0 0; font-size: clamp(22px, 3.6vw, 36px); font-weight: 700; animation: faseIn .8s var(--uit) .8s both; }
.eind-datum { margin: 6px 0 0; font-family: var(--mono); font-weight: 800; color: var(--cyaan); letter-spacing: .06em; font-size: clamp(15px, 2vw, 20px); animation: faseIn .8s var(--uit) 1s both; }
.eind-punten { list-style: none; counter-reset: p; margin: 26px auto 0; padding: 0; display: grid; gap: 10px; text-align: left; width: min(720px, 100%); }
@media (min-width: 640px) { .eind-punten { grid-template-columns: 1fr 1fr; } }
.eind-punten:empty { display: none; }
.eind-punten li { counter-increment: p; display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 16px; background: rgba(14, 20, 40, .72); border: 1px solid rgba(255, 181, 71, .28); backdrop-filter: blur(10px); font-weight: 600; opacity: 0; animation: puntIn .7s var(--uit) forwards; }
@keyframes puntIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.eind-punten li::before { content: counter(p, decimal-leading-zero); font-family: var(--mono); font-weight: 800; color: var(--goud); }
.eind-slot { margin: 26px 0 0; font-family: var(--display); font-style: italic; font-weight: 900; font-size: clamp(32px, 6vw, 64px); color: #fff; text-shadow: 0 0 40px rgba(255, 181, 71, .6); animation: faseIn 1s var(--uit) 2.8s both; }
.eind-acties { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 8px; animation: faseIn 1s var(--uit) 3.2s both; }
/* Eindscherm veilig centreren: lange inhoud begint bovenaan en scrolt */
#f-eind { justify-content: flex-start; }
#f-eind > :first-child { margin-top: auto; }
#f-eind > :last-child { margin-bottom: auto; }
@media (max-width: 600px) { .eind-punten li { padding: 10px 14px; font-size: 15px; } .eind-punten { gap: 8px; margin-top: 20px; } }

/* Muziek op het eindscherm (YouTube) */
.muziek { position: relative; z-index: 45; margin: 22px auto 0; display: flex; align-items: center; gap: 12px; padding: 8px 10px 8px 8px; border-radius: 16px; background: rgba(8, 11, 22, .85); border: 1px solid rgba(255, 181, 71, .35); backdrop-filter: blur(10px); animation: faseIn .8s var(--uit) 1.5s both; }
.muziek-video { width: 224px; aspect-ratio: 16 / 9; border-radius: 10px; overflow: hidden; background: #000; }
.muziek-video iframe, .muziek-video #muziekSpeler { width: 100%; height: 100%; border: 0; display: block; }
.muziek-info { display: grid; text-align: left; line-height: 1.2; }
.muziek-label { font-family: var(--mono); font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--goud); }
.muziek-titel { font-weight: 700; }
.muziek-knop { width: 40px; height: 40px; }
.muziek-knop svg path { fill: var(--tekst); stroke: none; }
.muziek.tik { border-color: var(--goud); animation: zoem 1.6s ease-in-out infinite; cursor: pointer; }
.muziek.tik .muziek-label { animation: puls .7s ease-in-out infinite alternate; }
.muziek.fout { border-color: rgba(255, 46, 77, .5); }
.muziek.fout .muziek-label { color: var(--rood); }
@media (max-width: 600px) { .muziek-video { width: 150px; } }

/* Sneltoets-scherm voor de organisatie */
.sneltoets { position: fixed; inset: 0; z-index: 80; display: grid; place-content: center; justify-items: center; gap: 12px; padding: 24px; background: rgba(3, 4, 9, .82); backdrop-filter: blur(6px); text-align: center; }
.sneltoets .knop { margin: 0; }
.sneltoets p { margin: 0; color: var(--zacht); max-width: 36ch; }

/* ============ Wachtscherm: eindeloze kraakpoging ============ */
#f-wacht { gap: 0; overflow: hidden; }
body[data-fase="wacht"] .telemetrie { opacity: .35; }
body[data-fase="wacht"] .knoppen { opacity: .25; transition: opacity .4s; }
body[data-fase="wacht"] .knoppen:hover, body[data-fase="wacht"] .knoppen:focus-within { opacity: 1; }
.kraak-status { margin: 0 0 22px; font-family: var(--mono); font-weight: 800; font-size: 13px; letter-spacing: .34em; text-transform: uppercase; color: var(--cyaan); text-shadow: 0 0 14px rgba(61, 245, 224, .6); animation: knipStatus 1.2s steps(2) infinite; }
.kraak-status.rood { color: var(--rood); text-shadow: 0 0 16px rgba(255, 46, 77, .8); animation: none; }
@keyframes knipStatus { 50% { opacity: .45; } }
.kraker { --kc: clamp(28px, 6.4vw, 70px); display: grid; gap: calc(var(--kc) * .28); padding: calc(var(--kc) * .4) calc(var(--kc) * .5); border-radius: 22px; border: 1px solid rgba(61, 245, 224, .3); background: rgba(3, 8, 16, .72); box-shadow: 0 0 60px -10px rgba(61, 245, 224, .35), inset 0 0 40px rgba(61, 245, 224, .06); cursor: default; transition: border-color .2s, box-shadow .2s; }
.kraak-regel { display: flex; justify-content: center; align-items: flex-end; gap: calc(var(--kc) * .1); }
.kc { width: var(--kc); height: calc(var(--kc) * 1.3); border-radius: calc(var(--kc) * .16); display: grid; place-items: center; font-family: var(--mono); font-weight: 800; font-size: calc(var(--kc) * .72); color: #bffcf4; background: rgba(61, 245, 224, .06); border: 1.5px solid rgba(61, 245, 224, .25); text-shadow: 0 0 12px rgba(61, 245, 224, .7); transition: background .15s, border-color .15s, color .15s; }
.kc.vast { color: #1a1003; background: var(--goud); border-color: var(--goud); text-shadow: none; box-shadow: 0 0 22px rgba(255, 181, 71, .7); animation: plop .3s var(--veer); }
.kt { font-family: var(--mono); font-weight: 800; font-size: calc(var(--kc) * .8); color: rgba(191, 252, 244, .55); line-height: 1; padding-bottom: calc(var(--kc) * .1); }
.kraker.fout { border-color: var(--rood); box-shadow: 0 0 80px -6px rgba(255, 46, 77, .7); animation: schudNee .4s ease; }
.kraker.fout .kc { color: #fff; background: rgba(255, 46, 77, .35); border-color: var(--rood); text-shadow: none; box-shadow: none; }
.kraker.hoort { box-shadow: 0 0 90px 0 rgba(255, 181, 71, .55); border-color: var(--goud); }
.kraker.nee { animation: schudNee .45s ease; }
.fluister { margin: 26px 0 0; min-height: 1.4em; font-family: var(--display); font-style: italic; font-weight: 800; font-size: clamp(20px, 3.4vw, 34px); color: #f4e6cc; text-shadow: 0 0 24px rgba(255, 170, 70, .45); transition: opacity .9s ease, filter .9s ease; }
.fluister.weg { opacity: 0; filter: blur(8px); }
.kraak-info { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 26px; margin-top: 30px; font-family: var(--mono); font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--zwak); }
.kraak-info b { color: var(--cyaan); font-weight: 800; }
.kraak-log { list-style: none; margin: 18px 0 0; padding: 0; height: 96px; overflow: hidden; display: grid; align-content: end; gap: 2px; font-family: var(--mono); font-size: 12px; color: rgba(160, 175, 205, .55); -webkit-mask: linear-gradient(180deg, transparent, #000 70%); mask: linear-gradient(180deg, transparent, #000 70%); }
.kraak-log li b { color: var(--rood); font-weight: 800; margin-left: 10px; }
.wacht-veld { margin-top: 18px; }
.wacht-veld input { width: min(260px, 70vw); padding: 12px 16px; border-radius: 14px; border: 1px solid rgba(255, 181, 71, .35); background: rgba(0, 0, 0, .55); color: #fff; font: 700 18px var(--mono); letter-spacing: .3em; text-align: center; }
.wacht-veld input:focus { outline: none; border-color: var(--goud); box-shadow: 0 0 0 3px rgba(255, 181, 71, .2); }
.wacht-veld.nee input { animation: schudNee .4s ease; border-color: var(--rood); }
.wacht-open { position: absolute; inset: 0; margin: 0; display: grid; place-items: center; font-family: var(--groot); font-size: clamp(60px, 14vw, 180px); letter-spacing: .08em; text-transform: uppercase; color: #1a0b02; opacity: 0; pointer-events: none; background: radial-gradient(circle, #fff3d6 0%, #ffcf73 35%, var(--goud) 60%, #ff7a3d 100%); }
#f-wacht.open .kc { color: #1a1003; background: var(--goud); border-color: var(--goud); text-shadow: none; box-shadow: 0 0 30px rgba(255, 181, 71, .9); }
#f-wacht.open .kraker { border-color: var(--goud); animation: openKraker 1.4s cubic-bezier(.6, 0, .2, 1) forwards; }
#f-wacht.open .kraak-status, #f-wacht.open .fluister, #f-wacht.open .kraak-info, #f-wacht.open .kraak-log, #f-wacht.open .wacht-veld { opacity: 0; transition: opacity .3s; }
#f-wacht.open .wacht-open { animation: openTekst 1.6s ease .5s forwards; }
@keyframes openKraker { 0% { transform: scale(1); } 30% { transform: scale(1.08); filter: brightness(1.4); } 100% { transform: scale(1.15); filter: brightness(2); } }
@keyframes openTekst { 0% { opacity: 0; transform: scale(1.3); } 40% { opacity: 1; transform: none; } 100% { opacity: 1; } }
@media (max-width: 600px) { .kraak-log { height: 72px; font-size: 11px; } .kraak-info { font-size: 10px; gap: 6px 16px; } }
@media (prefers-reduced-motion: reduce) { .kraak-status { animation: none; } }

/* ============ Briefing ============ */
#f-briefing { gap: 0; cursor: pointer; }
.brief-alarm { margin: 0 0 4vh; padding: 8px 18px; border-radius: 99px; border: 1px solid rgba(255, 46, 77, .6); background: rgba(255, 46, 77, .12); font-family: var(--mono); font-weight: 800; font-size: 12px; letter-spacing: .28em; text-transform: uppercase; color: var(--rood); text-shadow: 0 0 12px rgba(255, 46, 77, .7); animation: alarmKnip 1s steps(2) infinite; }
@keyframes alarmKnip { 50% { opacity: .45; } }
.brief-regels { width: min(860px, 100%); display: grid; gap: 14px; text-align: center; }
.brief-regel { margin: 0; font-family: var(--display); font-style: italic; font-weight: 800; font-size: clamp(22px, 3.6vw, 40px); line-height: 1.25; color: var(--goud); text-shadow: 0 0 30px rgba(255, 170, 70, .4); transition: opacity .6s, font-size .6s, color .6s; }
.brief-regel.oud { opacity: .38; font-size: clamp(16px, 2.2vw, 24px); color: #e9dcc4; text-shadow: none; }
.brief-regel.typt::after { content: ''; display: inline-block; width: .5em; height: .9em; margin-left: .08em; vertical-align: -.08em; background: var(--goud); animation: knip .8s steps(2) infinite; }
.brief-afzender { margin: 4vh 0 0; font-family: var(--mono); font-size: 12px; letter-spacing: .24em; text-transform: uppercase; color: var(--cyaan); animation: faseIn .8s var(--uit) both; }
.brief-knop { margin-top: 22px; animation: faseIn .8s var(--uit) .2s both, klopt 1.4s ease-in-out 1s infinite; }
.brief-tip { position: absolute; bottom: max(28px, env(safe-area-inset-bottom)); left: 0; right: 0; margin: 0; font-family: var(--mono); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--zwak); }
@media (max-width: 600px) { .brief-regels { gap: 10px; } .brief-alarm { font-size: 10px; letter-spacing: .18em; } }
@media (prefers-reduced-motion: reduce) { .brief-alarm { animation: none; } }

/* ============ Eindscherm stap voor stap ============ */
#f-eind .eind-stap { opacity: 0; transform: translateY(16px); transition: opacity .8s var(--uit), transform .8s var(--uit); animation: none; }
#f-eind .eind-stap.zicht { opacity: 1; transform: none; }
#f-eind .eind-land { opacity: 0; animation: none; transform: translateY(0) scale(1); transition: transform 1.3s cubic-bezier(.65, 0, .25, 1); }
#f-eind .eind-land.in { animation: landOpkomst 1.6s var(--uit) forwards; }
#f-eind.solo .eind-land { transform: translateY(var(--dy, 0px)) scale(1.5); }
@keyframes landOpkomst { 0% { opacity: 0; letter-spacing: .3em; } 100% { opacity: 1; letter-spacing: -.02em; } }
#f-eind .eind-regio { animation: none; }
#f-eind .eind-datum { animation: none; }
#f-eind .eind-slot { animation: none; font-size: clamp(28px, 5vw, 54px); margin-top: 22px; }
#f-eind .eind-acties { animation: none; }
#f-eind .eind-land { font-size: clamp(60px, 13vw, 160px); }
.eind-punten { width: min(820px, 100%); }
.eind-punten li { opacity: 0; animation: none; gap: 14px; padding: 10px 16px; }
.eind-punten li::before { display: none; }
.eind-punten li.zicht { animation: puntIn .7s var(--veer) forwards; }
.punt-wanneer { flex: none; min-width: 84px; padding: 4px 8px; border-radius: 8px; background: rgba(255, 181, 71, .14); border: 1px solid rgba(255, 181, 71, .4); font-family: var(--mono); font-weight: 800; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--goud); text-align: center; }
.punt-wat { font-weight: 700; }
@media (max-width: 600px) { .punt-wanneer { min-width: 72px; font-size: 11px; } .eind-punten li { padding: 9px 12px; } }
@media (prefers-reduced-motion: reduce) { #f-eind .eind-land { transition: none; } #f-eind.solo .eind-land { transform: none; } }
@media (min-width: 640px) { .eind-punten li:last-child:nth-child(odd) { grid-column: 1 / -1; justify-self: center; min-width: 50%; } }
