/* Topo Piloot — vrolijke game-styling */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --panel: rgba(16, 26, 50, 0.94);
  --panel-licht: rgba(255, 255, 255, 0.08);
  --border: rgba(120, 180, 255, 0.3);
  --accent: #4a9eff;
  --geel: #ffd93d;
  --groen: #6bcb77;
  --rood: #ff6b6b;
  --tekst: #f2f6ff;
  --font: 'Baloo 2', 'Comic Sans MS', system-ui, sans-serif;
}

html, body {
  width: 100%; height: 100%; height: 100dvh; overflow: hidden;
  font-family: var(--font);
  /* Niet vlak-blauw: zachte gloed bovenin → diep naar bijna-zwart, met een
     vleugje indigo/teal voor diepte i.p.v. één egaal blauw vlak. */
  background:
    radial-gradient(130% 90% at 50% -10%, #1b2752 0%, rgba(27,39,82,0) 55%),
    radial-gradient(120% 80% at 100% 110%, #10324a 0%, rgba(16,50,74,0) 50%),
    #090c16;
  color: var(--tekst);
  touch-action: none;
}

#map { position: absolute; inset: 0; z-index: 1; }

/* ── Voertuig ───────────────────────────────────────────────────────────── */
#voertuig-laag { position: absolute; inset: 0; z-index: 10; pointer-events: none; }

#heli {
  position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, -55%);
  filter: drop-shadow(0 4px 6px rgba(0,0,0,0.35));
  animation: hover-bob 2.2s ease-in-out infinite;
}

@keyframes hover-bob {
  0%, 100% { margin-top: 0; }
  50% { margin-top: calc(var(--bob, 5px) * -1); }
}

/* Top-down rotoren/propellers draaien echt rond (origin inline per sprite) */
.rotor-blad { animation: rotor-draai 0.26s linear infinite; }
@keyframes rotor-draai { to { transform: rotate(360deg); } }

.staartrotor { animation: staart-spin 0.16s linear infinite; }
@keyframes staart-spin {
  0% { transform: scaleX(1); } 50% { transform: scaleX(0.25); } 100% { transform: scaleX(1); }
}

/* Boot-kielzog golft mee */
.golf { animation: golf-dein 0.9s ease-in-out infinite; }
@keyframes golf-dein {
  0%, 100% { stroke-dashoffset: 0; opacity: 0.9; }
  50% { opacity: 0.4; }
}

/* Raket */
.raket-emoji { font-size: 3rem; display: inline-block; transform: rotate(0deg); }
.raket-vlam {
  font-size: 1.4rem; display: inline-block;
  margin-left: -14px; vertical-align: bottom;
  animation: vlam-flikker 0.18s ease-in-out infinite alternate;
}
@keyframes vlam-flikker {
  from { transform: scale(0.8) rotate(-8deg); opacity: 0.8; }
  to   { transform: scale(1.15) rotate(6deg); opacity: 1; }
}

/* Pakket-drop (vliegtuig) */
#drop-pakket {
  position: absolute; left: 50%; top: 50%; z-index: 9;
  font-size: 1.8rem; pointer-events: none;
  animation: pakket-val 0.8s ease-in forwards;
}
@keyframes pakket-val {
  0%   { transform: translate(-50%, -50%) scale(1) rotate(0); opacity: 1; }
  100% { transform: translate(-50%, 30px) scale(0.35) rotate(220deg); opacity: 0.9; }
}

#schaduw {
  position: absolute; left: 50%; top: 50%;
  width: 76px; height: 16px; border-radius: 50%;
  background: rgba(0, 0, 0, 0.45);
  filter: blur(4px);
  transform: translate(-50%, 34px);
}

/* ── HUD ────────────────────────────────────────────────────────────────── */
#hud {
  position: absolute; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; justify-content: space-between; align-items: flex-start;
  padding: 10px 12px; pointer-events: none;
}

#missie-card {
  display: flex; gap: 10px; align-items: center;
  background: var(--panel);
  border: 2px solid var(--border);
  border-radius: 16px;
  padding: 8px 16px 8px 10px;
  max-width: 72vw;
  box-shadow: 0 4px 16px rgba(0,0,0,0.4);
}
#missie-icon { font-size: 2rem; }
#missie-nr { font-size: 0.75rem; opacity: 0.7; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; }
#missie-tekst { font-size: 1.02rem; font-weight: 700; line-height: 1.25; }
#missie-tekst b { color: var(--geel); }

#hud-knoppen { display: flex; gap: 8px; pointer-events: auto; align-items: center; }
.hud-btn {
  width: 44px; height: 44px; border-radius: 14px;
  background: var(--panel); border: 2px solid var(--border);
  font-size: 1.2rem; cursor: pointer; color: var(--tekst);
}
.hud-btn:active { transform: scale(0.92); }
.hud-chip {
  height: 44px; display: flex; align-items: center;
  background: var(--panel); border: 2px solid var(--geel);
  border-radius: 14px; padding: 0 14px;
  font-weight: 800; font-size: 1.05rem;
}
#nl-brandstof { gap: 6px; border-color: var(--border); }
#nl-brandstof-balk {
  width: 56px; height: 10px; border-radius: 6px; overflow: hidden;
  background: rgba(255,255,255,0.12);
}
#nl-brandstof-fill { height: 100%; width: 100%; background: #6bcb77; }

.object-marker { pointer-events: none; }
.object-marker span {
  display: inline-block; font-size: 2.1rem;
  filter: drop-shadow(0 3px 5px rgba(0,0,0,0.4));
  animation: object-zweef 1.6s ease-in-out infinite;
}
@keyframes object-zweef {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.wolk-marker { pointer-events: none; }
.wolk-marker span {
  display: inline-block; opacity: 0.95;
  /* contrast op de lichte kaart: donkere rand + slagschaduw */
  filter: drop-shadow(0 5px 7px rgba(0,0,0,0.45)) drop-shadow(0 0 2px rgba(60,80,120,0.8));
  animation: wolk-drijf 5s ease-in-out infinite;
}
@keyframes wolk-drijf {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(12px); }
}

.flits-label { transition: opacity 0.6s ease; border-color: var(--accent); }

/* Omgevingsnamen: subtiele labels bij niet-doel plaatsen (kaartkennis) */
.omgeving-label {
  font-family: var(--font); font-weight: 800; font-size: 0.8rem;
  color: #1c2440; background: rgba(255,255,255,0.92);
  border: 0; border-bottom: 3px solid #4a9eff; border-radius: 11px;
  padding: 3px 11px; white-space: nowrap; pointer-events: none;
  margin-bottom: 16px; box-shadow: 0 3px 10px rgba(0,0,0,0.28);
}
.omgeving-label .ol-inw { font-weight: 600; opacity: 0.6; font-size: 0.74em; }
.omgeving-label .ol-ico { margin-right: 4px; font-size: 0.9em; }
.omgeving-label .ol-ico:empty { margin-right: 0; }
/* klein pootje onder het label (wijst naar de plek) */
.omgeving-label::after {
  content: ""; position: absolute; left: 50%; bottom: -6px; transform: translateX(-50%);
  border: 5px solid transparent; border-top-color: rgba(255,255,255,0.92);
}

.post-marker { pointer-events: none; }
.post-marker span {
  display: inline-block; font-size: 1.8rem;
  filter: drop-shadow(0 3px 5px rgba(0,0,0,0.4));
  animation: object-zweef 1.2s ease-in-out infinite;
}
.post-marker.post-gehaald span { animation: none; opacity: 0.85; }

.vliegveld-marker {
  display: flex; flex-direction: column; align-items: center;
  pointer-events: none;
}
.vliegveld-marker span {
  font-size: 1.2rem;
  background: rgba(16,26,50,0.85); border: 2px solid #4a9eff;
  border-radius: 50%; width: 30px; height: 30px;
  display: flex; align-items: center; justify-content: center;
}
.vliegveld-marker small {
  font-family: var(--font); font-size: 0.62rem; font-weight: 800;
  color: #fff; background: rgba(16,26,50,0.75);
  border-radius: 6px; padding: 0 5px; margin-top: 1px;
}

/* ── Richtingspijl ──────────────────────────────────────────────────────── */
#pijl {
  position: absolute; z-index: 40;
  display: flex; flex-direction: column; align-items: center;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.pijl-icon { font-size: 1.7rem; filter: drop-shadow(0 2px 3px rgba(0,0,0,0.5)); }
.pijl-afstand {
  font-size: 0.78rem; font-weight: 800;
  background: var(--panel); border-radius: 10px; padding: 1px 8px;
  border: 1px solid var(--border);
}

/* ── Briefing banner ────────────────────────────────────────────────────── */
#briefing {
  position: absolute; top: 22%; left: 50%; z-index: 60;
  transform: translateX(-50%) scale(0.6);
  display: flex; align-items: center; gap: 12px;
  background: var(--panel); border: 3px solid var(--geel);
  border-radius: 20px; padding: 14px 26px;
  font-size: 1.25rem; font-weight: 700;
  box-shadow: 0 8px 32px rgba(0,0,0,0.5);
  opacity: 0; pointer-events: none;
  max-width: 86vw; text-align: center;
}
#briefing .briefing-icon { font-size: 2.4rem; }
#briefing .briefing-tekst b { color: var(--geel); }
#briefing.zichtbaar { animation: briefing-in 2.6s ease forwards; }
@keyframes briefing-in {
  0%   { opacity: 0; transform: translateX(-50%) scale(0.6); }
  12%  { opacity: 1; transform: translateX(-50%) scale(1.05); }
  18%  { transform: translateX(-50%) scale(1); }
  82%  { opacity: 1; }
  100% { opacity: 0; transform: translateX(-50%) scale(0.92); }
}

/* ── Hint & landknop ────────────────────────────────────────────────────── */
#hint-tekst {
  position: absolute; bottom: 120px; left: 50%; transform: translateX(-50%);
  z-index: 55; background: var(--panel); border: 2px solid var(--geel);
  border-radius: 14px; padding: 8px 18px; font-weight: 700;
  max-width: 84vw; text-align: center;
}

.ronde-btn {
  position: absolute; z-index: 55;
  border-radius: 50%; border: 3px solid var(--border);
  background: var(--panel); color: var(--tekst);
  cursor: pointer; font-family: var(--font);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  box-shadow: 0 4px 14px rgba(0,0,0,0.4);
}
.ronde-btn:active { transform: scale(0.9); }
#hint-btn { right: 18px; bottom: 36px; width: 56px; height: 56px; font-size: 1.5rem; }
#tank-btn {
  left: 18px; bottom: 36px; width: 62px; height: 62px; font-size: 1.4rem;
  border-color: #4a9eff;
  animation: promotie-puls 0.9s ease infinite alternate;
}
#tank-btn span { font-size: 0.62rem; font-weight: 800; letter-spacing: 0.05em; }

/* ── 2D landingsscène (zijaanzicht) ─────────────────────────────────────── */
#landing-scene {
  position: absolute; inset: 0; z-index: 80;
  background: linear-gradient(180deg, #6db3e8 0%, #a8d4f2 55%, #cfe9fa 84%);
  overflow: hidden;
  animation: ls-in 0.4s ease;
}
@keyframes ls-in { from { opacity: 0; } to { opacity: 1; } }
#landing-scene.ls-fade-uit { opacity: 0; transition: opacity 0.35s ease; }

.ls-zon { position: absolute; top: 6%; right: 8%; font-size: 3.4rem; filter: drop-shadow(0 0 18px rgba(255,220,80,0.8)); }
.ls-wolk { position: absolute; font-size: 2.6rem; opacity: 0.9; animation: ls-drijf 26s linear infinite; }
.ls-w1 { top: 12%; left: 15%; }
.ls-w2 { top: 24%; left: 60%; font-size: 3.4rem; animation-duration: 34s; }
.ls-w3 { top: 8%; left: 78%; font-size: 2rem; animation-duration: 20s; }
@keyframes ls-drijf {
  from { transform: translateX(0); }
  to   { transform: translateX(-110vw); }
}

.ls-grond {
  position: absolute; left: 0; right: 0; bottom: 0; height: 16%;
  background: linear-gradient(180deg, #6bbf59 0%, #4e9e44 30%, #3d7d36 100%);
  border-top: 4px solid #3a7032;
}
.ls-platform {
  position: absolute; left: 30%; top: -12px; width: 24%; height: 14px;
  background: #555; border-radius: 8px 8px 0 0;
  display: flex; justify-content: center;
}
/* Helipad op het ziekenhuisdak (hoogte matcht dakFrac 0.78 in landing.js) */
.ls-platform.ls-dak {
  top: auto; bottom: calc(100% + 17.2vh - 19px);
}
#ls-gebouw {
  position: absolute; bottom: 100%;
  height: calc(17.2vh - 19px);
  background: repeating-linear-gradient(0deg, #e8edf5 0 18px, #c8d4e8 18px 22px);
  border: 3px solid #9fb0cc; border-bottom: none;
  border-radius: 6px 6px 0 0;
  display: flex; align-items: center; justify-content: center;
}
#ls-gebouw span { font-size: 2rem; }
#ls-wind {
  position: absolute; top: 7%; left: 50%; transform: translateX(-50%);
  font-family: var(--font); font-weight: 800; font-size: 1.35rem;
  color: #fff; text-shadow: 0 2px 8px rgba(0,0,0,0.45);
}
.ls-platform span {
  margin-top: -30px; width: 34px; height: 34px; border-radius: 50%;
  background: #fff; color: #c0392b; font-weight: 800; font-size: 1.3rem;
  display: flex; align-items: center; justify-content: center;
  border: 3px dashed #c0392b; opacity: 0.92;
}
.ls-vlag { position: absolute; right: 18%; top: -44px; font-size: 2.6rem; }
.ls-bord {
  position: absolute; right: 4%; top: 16px;
  background: var(--panel); border: 2px solid var(--geel); border-radius: 12px;
  padding: 5px 14px; font-weight: 800; font-size: 1.05rem;
}

#ls-heli { position: absolute; left: 34%; top: 6%; filter: drop-shadow(0 6px 8px rgba(0,0,0,0.3)); }
#ls-vliegtuig { position: absolute; left: 6%; top: 70%; filter: drop-shadow(0 6px 8px rgba(0,0,0,0.3)); }
.ls-prop { transform-origin: 11px 36px; animation: ls-prop-spin 0.28s linear infinite; }
@keyframes ls-prop-spin {
  0% { transform: scaleY(1); } 50% { transform: scaleY(0.15); } 100% { transform: scaleY(1); }
}
.ls-rotor {
  transform-origin: 48px 9px;
  animation: ls-rotor-spin 0.12s linear infinite;
}
@keyframes ls-rotor-spin {
  0% { transform: scaleX(1); } 50% { transform: scaleX(0.2); } 100% { transform: scaleX(1); }
}
.ls-staartrotor { transform-origin: 105px 26px; animation: staart-spin 0.14s linear infinite; }
#ls-heli.ls-boem { animation: ls-stuiter 0.5s ease; }
@keyframes ls-stuiter {
  0%, 100% { margin-top: 0; }
  30% { margin-top: -16px; }
  60% { margin-top: 0; }
  80% { margin-top: -6px; }
}

#ls-avatar {
  position: absolute; z-index: 5; font-size: 2.3rem;
  filter: drop-shadow(0 3px 4px rgba(0,0,0,0.35));
}
#ls-avatar.ls-loopt { animation: ls-huppel 0.3s ease-in-out infinite; }
@keyframes ls-huppel {
  0%, 100% { margin-top: 0; }
  50% { margin-top: -7px; }
}

#ls-meter {
  position: absolute; right: 26px; top: 22%; width: 16px; height: 38%;
  background: rgba(255,255,255,0.3); border-radius: 10px;
  border: 2px solid rgba(0,0,0,0.25); overflow: hidden;
  display: flex; align-items: flex-end;
}
#ls-meter-fill { width: 100%; height: 0; background: #6bcb77; transition: background 0.2s; }

#ls-tip {
  position: absolute; top: 12%; left: 50%; transform: translateX(-50%);
  background: var(--panel); border: 2px solid var(--geel); border-radius: 14px;
  padding: 8px 20px; font-weight: 800; font-size: 1.05rem;
  animation: promotie-puls 1.2s ease infinite alternate;
  white-space: nowrap; max-width: 92vw;
}
#ls-resultaat {
  position: absolute; top: 24%; left: 50%; transform: translateX(-50%);
  font-size: 1.5rem; font-weight: 800;
  text-shadow: 0 2px 10px rgba(0,0,0,0.4);
  white-space: nowrap;
}
#ls-resultaat b { color: var(--geel); }
#land-btn {
  left: 50%; bottom: calc(26px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%);
  width: 84px; height: 84px; font-size: 1.9rem;
  border-color: var(--groen);
}
#land-btn span { font-size: 0.7rem; font-weight: 800; letter-spacing: 0.08em; }
#land-btn:active { transform: translateX(-50%) scale(0.9); }

/* ── Kaart-markers ──────────────────────────────────────────────────────── */
.doel-marker {
  width: 34px; height: 34px; border-radius: 50%;
  border: 3px solid var(--groen);
  animation: doel-puls 0.6s ease-out infinite alternate;
}
@keyframes doel-puls { from { transform: scale(1); } to { transform: scale(1.25); } }

.spiek-label {
  background: var(--panel); border: 2px solid var(--geel);
  border-radius: 12px; padding: 3px 12px;
  font-family: var(--font); font-weight: 800; font-size: 0.95rem; color: var(--tekst);
  white-space: nowrap;
  box-shadow: 0 3px 10px rgba(0,0,0,0.4);
}

/* ── Schermen / panelen ─────────────────────────────────────────────────── */
.scherm {
  position: absolute; inset: 0; z-index: 100;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(165deg, rgba(22, 18, 44, 0.82), rgba(6, 10, 22, 0.84));
  backdrop-filter: blur(3px);
  overflow-y: auto; padding: 18px;
}
.scherm.doorzichtig { background: rgba(6, 10, 22, 0.45); }

.paneel {
  background: linear-gradient(180deg, rgba(28, 36, 66, 0.96), rgba(13, 19, 40, 0.96));
  border: 2px solid var(--border);
  border-radius: 24px;
  padding: 28px 30px;
  width: min(440px, 94vw);
  text-align: center;
  box-shadow: 0 12px 48px rgba(0,0,0,0.55);
  max-height: 92vh; overflow-y: auto;
}
.paneel.breed { width: min(560px, 94vw); }
.paneel.smal { width: min(380px, 94vw); }

h1 { font-size: 2.1rem; margin-bottom: 4px; }
h2 { font-size: 1.15rem; margin: 18px 0 10px; text-align: left; opacity: 0.9; }
.sub { opacity: 0.75; margin-bottom: 14px; }
.fout { color: var(--rood); font-weight: 700; min-height: 1.4em; margin: 6px 0; }

.knop {
  display: block; width: 100%;
  margin-top: 10px; padding: 13px 18px;
  border-radius: 16px; border: 2px solid var(--border);
  background: var(--panel-licht); color: var(--tekst);
  font-family: var(--font); font-size: 1.1rem; font-weight: 800;
  cursor: pointer;
}
.knop.primair {
  background: linear-gradient(135deg, #ffb820, #ff8c20);
  border-color: #ffd93d; color: #2a1a00;
}
.knop:active { transform: scale(0.97); }

/* Profiel */
#avatar-grid {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px;
  margin: 10px 0 14px;
}
.avatar-btn {
  font-size: 1.7rem; padding: 6px 0;
  background: var(--panel-licht); border: 2px solid transparent;
  border-radius: 14px; cursor: pointer;
}
.avatar-btn.gekozen { border-color: var(--geel); background: rgba(255, 217, 61, 0.18); }

/* Tekst-/wachtwoordvelden — één nette, consistente stijl */
#naam-input, #ww-input, #login-naam, #login-ww,
#kl-code, #kl-naam, #dc-code, #dc-ww, #race-code-in, #nk-naam, #nk-ww,
#kw-naam, #kw-ww {
  width: 100%; box-sizing: border-box; padding: 13px 16px; margin: 8px 0 0;
  border-radius: 14px; border: 2px solid var(--border);
  background: rgba(255,255,255,0.06); color: var(--tekst);
  font-family: var(--font); font-size: 1.05rem; font-weight: 700; text-align: center;
  transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}
#naam-input { font-size: 1.15rem; }
#naam-input::placeholder, #ww-input::placeholder, #login-naam::placeholder,
#login-ww::placeholder, #kl-code::placeholder, #kl-naam::placeholder,
#dc-code::placeholder, #dc-ww::placeholder, #race-code-in::placeholder,
#nk-naam::placeholder, #nk-ww::placeholder, #kw-naam::placeholder, #kw-ww::placeholder {
  color: rgba(255,255,255,0.4); font-weight: 600;
}
#naam-input:focus, #ww-input:focus, #login-naam:focus, #login-ww:focus,
#kl-code:focus, #kl-naam:focus, #dc-code:focus, #dc-ww:focus, #race-code-in:focus,
#nk-naam:focus, #nk-ww:focus, #kw-naam:focus, #kw-ww:focus {
  outline: none; border-color: var(--geel); background: rgba(255,255,255,0.1);
  box-shadow: 0 0 0 4px rgba(255,217,61,0.18);
}
/* Code-velden: groot, gespreid, hoofdletters — voelt als een 'toegangscode' */
#kl-code, #dc-code, #race-code-in {
  text-transform: uppercase; letter-spacing: 6px; font-size: 1.3rem;
  text-indent: 6px; /* compenseert de letter-spacing zodat het gecentreerd oogt */
}

/* TopoHeld-logo op het startscherm */
.topo-logo {
  display: block; width: min(96%, 480px); height: auto; margin: 0 auto 10px;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.4));
}
/* Badge-logo bovenin het menu (ingelogd) */
.menu-logo {
  display: block; width: min(82%, 340px); height: auto; margin: -18px auto -10px;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.45));
}
/* Menu-paneel: minder dode ruimte boven het logo (de badge-PNG heeft al lucht) */
#scherm-menu .paneel { padding-top: 14px; }

/* 'Herken de plek': knop + fotokaart */
.herken-knop { border-color: #4ad0c0 !important;
  background: linear-gradient(135deg, rgba(30,110,100,0.32), rgba(15,55,50,0.5)) !important; }
#foto-prompt {
  position: fixed; top: 70px; left: 50%; transform: translateX(-50%); z-index: 6;
  background: rgba(8,12,24,0.9); border: 2px solid var(--geel);
  border-radius: 14px; padding: 8px; max-width: min(78vw, 340px);
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.5);
}
#foto-prompt .fp-kop { font-weight: 800; font-size: 0.9rem; }
#foto-prompt-img {
  width: 100%; max-height: 200px; object-fit: cover; border-radius: 10px; display: block;
}
/* Vlaggen niet bijsnijden + lichte rand (witte vlagdelen blijven zichtbaar) */
#foto-prompt.vlag #foto-prompt-img {
  object-fit: contain; max-height: 150px; background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.25); padding: 4px;
}
.vlag-knop { border-color: #ffd93d !important;
  background: linear-gradient(135deg, rgba(140,110,20,0.32), rgba(60,48,10,0.5)) !important; }
/* Mascotte (duim omhoog) op het eindscherm */
.einde-mascotte { display: block; width: 110px; height: auto; margin: 0 auto -6px; }

/* Onboarding-wizard (stap voor stap) */
.wiz-stappen { display: flex; justify-content: center; gap: 10px; margin: 4px 0 14px; }
.wiz-dot { width: 11px; height: 11px; border-radius: 50%; background: rgba(255,255,255,0.18);
  border: 2px solid transparent; transition: background .2s, transform .2s; }
.wiz-dot.actief { background: var(--geel); transform: scale(1.25); }
.wiz-dot.gedaan { background: var(--groen); }
.wiz-stap .knop { margin-top: 12px; }
.stil-knop { background: none !important; border: none !important; color: var(--accent) !important; font-size: 0.92rem !important; }

/* Categorie-vinkjes: grote tap-targets (mobiel!) */
.cat-rij {
  display: flex; align-items: center; gap: 12px;
  background: var(--panel-licht); border: 2px solid var(--border);
  border-radius: 14px; padding: 12px 16px; margin-bottom: 8px;
  cursor: pointer; user-select: none;
}
.cat-rij.aan { border-color: var(--groen); background: rgba(107,203,119,0.12); }
.cat-vink { font-size: 1.4rem; width: 30px; }
.cat-label { flex: 1; text-align: left; font-weight: 700; }
.cat-aantal { font-size: 0.8rem; opacity: 0.65; font-weight: 800; }

/* Menu */
#profiel-kop {
  display: flex; gap: 14px; align-items: center; text-align: left;
  background: var(--panel-licht); border-radius: 18px; padding: 12px 16px;
}
#menu-avatar { font-size: 2.6rem; }
#profiel-info { flex: 1; }
.rang-chip {
  background: rgba(255, 217, 61, 0.16); border: 1px solid var(--geel);
  border-radius: 10px; padding: 1px 9px; font-size: 0.82rem; font-weight: 800;
  margin-left: 6px;
}
.klas-chip {
  background: rgba(108, 203, 119, 0.16); border: 1px solid #6bcb77;
  border-radius: 10px; padding: 1px 9px; font-size: 0.82rem; font-weight: 800;
  margin-left: 6px;
}
.beheerst-chip {
  background: rgba(199, 128, 250, 0.16); border: 1px solid #c780fa;
  border-radius: 10px; padding: 1px 9px; font-size: 0.82rem; font-weight: 800;
  margin-left: 6px;
}
#xp-bar {
  height: 10px; border-radius: 6px; overflow: hidden;
  background: rgba(255,255,255,0.12); margin: 7px 0 4px;
}
#xp-bar-fill {
  height: 100%; width: 0;
  background: linear-gradient(90deg, var(--geel), #ff9f45);
  border-radius: 6px; transition: width 0.6s ease;
}
#xp-tekst { font-size: 0.8rem; opacity: 0.75; }

/* Vluchtgebieden: duidelijk gescheiden regio-secties (NL / Europa / Wereld) */
#lijsten-grid { display: flex; flex-direction: column; gap: 12px; }
.regio-groep {
  border: 2px solid var(--border); border-radius: 16px;
  padding: 10px 10px 12px; background: rgba(255,255,255,0.03);
  border-left-width: 5px;
}
.regio-groep.regio-nl     { border-left-color: #ff7a45; }
.regio-groep.regio-europa { border-left-color: #4a9eff; }
.regio-groep.regio-wereld { border-left-color: #6bcb77; }
.regio-kop {
  display: flex; align-items: center; gap: 9px; margin: 0 2px 9px;
  font-size: 1.05rem; font-weight: 800;
}
.regio-kop .regio-vlag { font-size: 1.3rem; }
.regio-kop .regio-tel {
  margin-left: auto; font-size: 0.75rem; font-weight: 800; opacity: 0.7;
  background: var(--panel-licht); border-radius: 10px; padding: 1px 9px;
}
#prov-kies-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
#prov-kies-grid .lijst-btn { padding: 9px 6px; }
#prov-kies-grid .lijst-icon { font-size: 1.2rem; }
.lijst-btn {
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  padding: 14px 8px;
  background: var(--panel-licht); border: 2.5px solid var(--accent);
  border-radius: 18px; cursor: pointer; color: var(--tekst);
  font-family: var(--font);
}
.lijst-btn:active { transform: scale(0.96); }
.lijst-icon { font-size: 2rem; }
.lijst-naam { font-weight: 800; font-size: 1.02rem; }
.lijst-desc { font-size: 0.74rem; opacity: 0.65; }
.lijst-vg { display: flex; align-items: center; gap: 6px; width: 100%; margin-top: 4px; }
.vg-balk { flex: 1; height: 6px; border-radius: 4px; background: rgba(255,255,255,0.12); overflow: hidden; }
.vg-balk i { display: block; height: 100%; background: linear-gradient(90deg, var(--geel), #ff9f45); border-radius: 4px; }
.vg-tekst { font-size: 0.68rem; font-weight: 800; opacity: 0.85; white-space: nowrap; }
.toets-knop { width: 100%; margin-top: 10px; border-color: var(--geel) !important; }
.school-knop { width: 100%; margin-top: 10px; border-color: #f39c12 !important; }

#voertuigen-rij { display: flex; gap: 8px; flex-wrap: wrap; }
.voertuig-chip {
  display: flex; flex-direction: column; align-items: center;
  padding: 8px 12px; border-radius: 14px; min-width: 76px;
  background: var(--panel-licht); border: 2px solid transparent;
}
.voertuig-chip.actief { border-color: var(--groen); background: rgba(107,203,119,0.14); }
.voertuig-chip.open { cursor: pointer; border-color: var(--border); }
.voertuig-chip.open:hover { border-color: var(--geel); }
.voertuig-chip.dicht { opacity: 0.45; filter: grayscale(0.7); }
.voertuig-icon { font-size: 1.6rem; }
.voertuig-label { font-size: 0.72rem; font-weight: 700; opacity: 0.85; }
.niveau-xp { font-size: 0.66rem; font-weight: 800; color: var(--geel); }
#moeilijkheid-rij { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 14px; justify-content: center; }
#moeilijkheid-rij .voertuig-chip { min-width: 64px; padding: 6px 8px; }

.menu-voet { margin-top: 18px; font-size: 0.85rem; opacity: 0.65; }
.menu-voet a { color: var(--accent); text-decoration: none; }

/* Debrief & einde */
.debrief-icon { font-size: 3.4rem; }
.score-groot {
  font-size: 2.6rem; font-weight: 800; color: var(--geel);
  margin: 8px 0;
  text-shadow: 0 3px 12px rgba(255, 217, 61, 0.35);
}
.promotie {
  background: rgba(255, 217, 61, 0.14); border: 2px solid var(--geel);
  border-radius: 16px; padding: 10px 14px; margin: 10px 0;
  font-size: 1.05rem; animation: promotie-puls 1s ease infinite alternate;
}
@keyframes promotie-puls { from { transform: scale(1); } to { transform: scale(1.04); } }
.sterren { font-size: 2.6rem; }

#einde-highscores { margin: 14px 0 4px; }
.hs-rij {
  display: flex; justify-content: space-between; gap: 10px;
  padding: 5px 12px; border-radius: 10px; font-weight: 700;
  background: var(--panel-licht); margin-bottom: 5px; font-size: 0.95rem;
}

/* ── Het Heelal ─────────────────────────────────────────────────────────── */
#heelal { position: absolute; inset: 0; z-index: 85; background: #05070f; }
#heelal-canvas { position: absolute; inset: 0; }

#hl-hud {
  position: absolute; top: 0; left: 0; right: 0;
  display: flex; justify-content: space-between; align-items: flex-start;
  padding: 10px 12px; pointer-events: none;
}
#hl-hud button { pointer-events: auto; }
#hl-missie-card {
  display: flex; gap: 10px; align-items: center;
  background: var(--panel); border: 2px solid var(--border);
  border-radius: 16px; padding: 8px 16px 8px 12px; max-width: 72vw;
}
#hl-missie-card > span { font-size: 1.8rem; }
#hl-missie-nr { font-size: 0.75rem; opacity: 0.7; font-weight: 700; text-transform: uppercase; }
#hl-missie-tekst { font-size: 0.98rem; font-weight: 700; }
#hl-missie-tekst b { color: var(--geel); }

#hl-brandstof {
  position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%);
  display: flex; align-items: center; gap: 8px;
  background: var(--panel); border: 2px solid var(--border);
  border-radius: 14px; padding: 8px 14px; font-size: 1.1rem;
}
#hl-brandstof-balk {
  width: 160px; height: 12px; border-radius: 7px; overflow: hidden;
  background: rgba(255,255,255,0.12);
}
#hl-brandstof-fill { height: 100%; width: 100%; background: #6bcb77; transition: background 0.3s; }

#hl-melding {
  position: absolute; top: 20%; left: 50%; transform: translateX(-50%);
  background: var(--panel); border: 2px solid var(--geel); border-radius: 16px;
  padding: 10px 22px; font-weight: 800; font-size: 1.15rem;
  opacity: 0; pointer-events: none; white-space: nowrap; max-width: 90vw;
}
#hl-melding.hl-zichtbaar { animation: briefing-in 2.4s ease forwards; }

#hl-debrief {
  position: absolute; inset: 0; z-index: 5;
  display: flex; align-items: center; justify-content: center;
  background: rgba(5,7,15,0.6);
}
.hl-weetje {
  background: rgba(199,128,250,0.14); border: 1px solid rgba(199,128,250,0.5);
  border-radius: 12px; padding: 8px 12px; margin: 4px 0 8px;
  font-weight: 700; line-height: 1.3; font-size: 0.95rem;
}
.hl-weetje:empty { display: none; }

.heelal-knop {
  width: 100%; margin-top: 10px;
  border-color: #c780fa !important;
  background: linear-gradient(135deg, rgba(80,40,140,0.35), rgba(30,20,70,0.5)) !important;
}

/* Lanceer-scène */
#hl-lancering {
  position: absolute; inset: 0; z-index: 6;
  background: linear-gradient(180deg, #05070f 0%, #101b3a 35%, #2a4a7a 70%, #6db3e8 100%);
  overflow: hidden;
}
#hl-lanceer-grond {
  position: absolute; left: 0; right: 0; bottom: 0; height: 12%;
  background: linear-gradient(180deg, #4e9e44, #3d7d36);
  border-top: 4px solid #3a7032;
}
#hl-lanceer-toren {
  position: absolute; left: calc(50% + 44px); bottom: 100%;
  width: 14px; height: 120px;
  background: repeating-linear-gradient(45deg, #b34040 0 10px, #e8e8e8 10px 20px);
  border-radius: 3px 3px 0 0;
}
#hl-lanceer-raket {
  position: absolute; left: 50%; bottom: 12%;
  transform: translateX(-50%) rotate(-45deg);
  font-size: 4.5rem;
  animation: hl-tril 0.08s linear infinite;
  filter: drop-shadow(0 6px 10px rgba(0,0,0,0.4));
}
@keyframes hl-tril {
  0%, 100% { margin-left: 0; }
  50% { margin-left: var(--tril, 0px); }
}
#hl-lanceer-vlam {
  position: absolute; left: -26px; top: 56px;
  font-size: 2.6rem; opacity: 0;
  transform: rotate(45deg);
  animation: vlam-flikker 0.15s ease-in-out infinite alternate;
}
#hl-aftellen {
  position: absolute; top: 18%; left: 50%; transform: translateX(-50%);
  background: var(--panel); border: 2px solid var(--geel); border-radius: 16px;
  padding: 10px 24px; font-weight: 800; font-size: 1.4rem;
  white-space: nowrap; max-width: 92vw;
}

/* ── Mini-map (alleen desktop) ──────────────────────────────────────────── */
#mini-map {
  position: absolute; right: 14px; bottom: 110px; z-index: 45;
  background: rgba(10, 16, 32, 0.78);
  border: 2px solid var(--border); border-radius: 14px;
  pointer-events: none;
  box-shadow: 0 4px 14px rgba(0,0,0,0.35);
}
@media (max-width: 700px), (max-height: 500px) {
  #mini-map { display: none !important; }
}

/* ── FX ─────────────────────────────────────────────────────────────────── */
#fx-laag { position: absolute; inset: 0; z-index: 90; pointer-events: none; overflow: hidden; }

.fx-confetti {
  position: absolute; width: 10px; height: 10px; border-radius: 3px;
  animation: confetti-knal 1.3s cubic-bezier(0.15, 0.6, 0.4, 1) forwards;
}
@keyframes confetti-knal {
  0%   { transform: translate(0, 0) rotate(0); opacity: 1; }
  100% { transform: translate(var(--dx), calc(var(--dy) + 130px)) rotate(var(--rot)); opacity: 0; }
}

.fx-stof {
  position: absolute; width: 16px; height: 16px; border-radius: 50%;
  background: rgba(200, 190, 170, 0.5); filter: blur(2px);
  animation: stof-poef 0.8s ease-out forwards;
}
@keyframes stof-poef {
  0%   { transform: translate(0, 0) scale(0.5); opacity: 0.8; }
  100% { transform: translate(var(--dx), var(--dy)) scale(2.1); opacity: 0; }
}

.fx-zweef {
  position: absolute; transform: translateX(-50%);
  font-size: 1.5rem; font-weight: 800; font-family: var(--font);
  text-shadow: 0 2px 8px rgba(0,0,0,0.6);
  animation: zweef-op 1.5s ease-out forwards;
  white-space: nowrap;
}
@keyframes zweef-op {
  0%   { opacity: 0; margin-top: 8px; }
  12%  { opacity: 1; }
  100% { opacity: 0; margin-top: -72px; }
}

.fx-flits { position: absolute; inset: 0; animation: flits 0.5s ease-out forwards; }
@keyframes flits { 0% { opacity: 0; } 25% { opacity: 1; } 100% { opacity: 0; } }

.shake-licht { animation: shake 0.35s ease; }
.shake-zwaar { animation: shake 0.55s ease; }
@keyframes shake {
  0%, 100% { transform: translate(0, 0); }
  20% { transform: translate(-7px, 3px); }
  40% { transform: translate(6px, -4px); }
  60% { transform: translate(-5px, 2px); }
  80% { transform: translate(4px, -2px); }
}

/* ── Mobiel ─────────────────────────────────────────────────────────────── */
@media (max-width: 600px) {
  #missie-tekst { font-size: 0.84rem; }
  #missie-icon { font-size: 1.4rem; }
  #missie-card { padding: 6px 10px 6px 8px; max-width: 58vw; }
  #briefing { font-size: 1.02rem; padding: 10px 16px; }
  #briefing .briefing-icon { font-size: 1.8rem; }
  #lijsten-grid { gap: 5px; }
  #lijsten-grid .kaart-grid { gap: 7px; }
  .lijst-btn { padding: 10px 6px; }
  .paneel { padding: 18px 14px; }
  .hud-chip { padding: 0 8px; font-size: 0.85rem; height: 38px; }
  #nl-brandstof-balk { width: 38px; }
  .hud-btn { width: 38px; height: 38px; font-size: 1rem; }
  #hint-btn { bottom: calc(30px + env(safe-area-inset-bottom, 0px)); }
  #tank-btn { bottom: calc(30px + env(safe-area-inset-bottom, 0px)); }
  #ls-meter { right: 14px; }
  #ls-tip { font-size: 0.9rem; padding: 7px 14px; }
  #prov-kies-grid { grid-template-columns: 1fr 1fr; }
}

/* ── Eigen lijsten, lijst-bouwer & publieke lijsten ──────────────────────── */
.mijn-knop { width: 100%; margin-top: 10px; border-color: #1abc9c !important; }
.publiek-knop { width: 100%; margin-top: 10px; border-color: #3498db !important; }
.rood-knop { background: var(--rood) !important; color: #fff !important; flex: 0 0 auto; }

/* Mijn-lijsten grid, per map gegroepeerd */
#mijn-grid, #publiek-grid { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.map-kop {
  font-weight: 800; font-size: 0.9rem; opacity: 0.7; margin: 12px 0 2px;
  display: flex; align-items: center; gap: 6px;
}
.mijn-rij {
  display: flex; align-items: center; gap: 10px;
  background: var(--panel-licht); border: 2px solid var(--border);
  border-radius: 14px; padding: 10px 14px; cursor: pointer;
}
.mijn-rij:active { transform: scale(0.98); }
.mijn-rij .m-naam { flex: 1; font-weight: 700; text-align: left; }
.mijn-rij .m-meta { font-size: 0.78rem; opacity: 0.7; font-weight: 700; white-space: nowrap; }
.mijn-rij .m-bewerk { font-size: 1.1rem; opacity: 0.7; }
.openbaar-badge { font-size: 0.72rem; color: #6bcb77; font-weight: 800; }

/* Docentmodule */
.code-chip {
  font-family: monospace; letter-spacing: 2px; font-size: 1.05rem;
  background: var(--panel-licht); border: 2px solid var(--border);
  border-radius: 8px; padding: 1px 8px;
}
/* Docent-dashboard v2: samenvatting, zwakke plekken, sorteren, voor/achter */
.dc-sam {
  display: flex; flex-wrap: wrap; gap: 8px 16px; justify-content: center;
  background: var(--panel-licht); border: 1px solid var(--border);
  border-radius: 12px; padding: 9px 12px; margin: 10px 0; font-size: 0.9rem;
}
.dc-sam b { color: var(--geel); }
.dc-zwak { background: rgba(255,107,107,0.1); border: 1px solid rgba(255,107,107,0.4);
  border-radius: 12px; padding: 8px 12px; margin-bottom: 10px; }
.dc-zwak summary { cursor: pointer; font-weight: 800; }
.dc-zwak-lijst { display: flex; flex-direction: column; gap: 4px; margin-top: 8px; }
.dc-zwak-rij { display: flex; justify-content: space-between; gap: 8px; font-size: 0.85rem; }
.dc-zwak-rij .z-naam { font-weight: 700; }
.dc-zwak-rij .z-meta { opacity: 0.75; white-space: nowrap; }
#docent-sorteer { margin-bottom: 8px; text-align: right; }
#docent-sort { background: rgba(255,255,255,0.06); color: var(--tekst); border: 1px solid var(--border);
  border-radius: 8px; padding: 3px 8px; font-family: var(--font); font-weight: 700; }
#docent-sort option { background: #131d38; }
.dl-laatst { font-size: 0.72rem; opacity: 0.6; }
.dl-merk { font-size: 0.7rem; margin-right: 4px; }
.dl-merk.voor { color: #6bcb77; }
.dl-merk.achter { color: #ff9f45; }
.docent-rij.rij-achter { border-color: rgba(255,159,69,0.5); }
#docent-leerlingen { display: flex; flex-direction: column; gap: 8px; margin: 12px 0; }
.docent-rij {
  display: flex; align-items: center; gap: 10px;
  background: var(--panel-licht); border: 2px solid var(--border);
  border-radius: 14px; padding: 10px 14px;
}
.docent-rij .dl-avatar { font-size: 1.3rem; }
.docent-rij .dl-naam { flex: 1; font-weight: 700; text-align: left; }
.docent-rij .dl-stat { font-size: 0.78rem; opacity: 0.75; font-weight: 700; white-space: nowrap; }
.docent-rij .dl-bekijk, .docent-rij .dl-weg { font-size: 1.1rem; cursor: pointer; opacity: 0.7; }
.docent-rij .dl-bekijk:active, .docent-rij .dl-weg:active { transform: scale(0.9); }

/* Toets-geschiedenis (in het kennis-scherm) */
.toets-hist { margin-top: 10px; display: flex; flex-direction: column; gap: 4px; }
.toets-hist .th-kop { font-weight: 800; opacity: 0.85; margin-bottom: 2px; }
.th-rij {
  display: flex; align-items: center; gap: 10px;
  background: var(--panel-licht); border-radius: 10px; padding: 5px 10px;
}
.th-cijfer { font-weight: 800; min-width: 30px; text-align: center;
  border-radius: 7px; padding: 1px 4px; }
.th-cijfer.goed { background: rgba(108,203,119,0.2); color: #6bcb77; }
.th-cijfer.zwak { background: rgba(255,107,107,0.2); color: #ff6b6b; }
.th-lijst { flex: 1; font-weight: 700; text-align: left; }
.th-meta { font-size: 0.78rem; opacity: 0.7; white-space: nowrap; }

/* Live race — lobby, scorebord, uitslag */
.race-knop { border-color: #ff8fb1 !important;
  background: linear-gradient(135deg, rgba(140,40,80,0.32), rgba(70,20,40,0.5)) !important; }
.race-select {
  width: 100%; box-sizing: border-box; padding: 11px 14px; margin-top: 6px;
  border-radius: 12px; border: 2px solid var(--border);
  background: rgba(255,255,255,0.06); color: var(--tekst);
  font-family: var(--font); font-size: 1rem; font-weight: 700;
}
.race-select option { background: #131d38; color: var(--tekst); }
/* Andere spelers op de kaart tijdens de race */
.race-marker {
  display: flex; flex-direction: column; align-items: center; gap: 1px;
  pointer-events: none; transform: translateZ(0);
}
.race-marker .rm-av { font-size: 1.6rem; filter: drop-shadow(0 1px 2px rgba(0,0,0,0.6)); }
.race-marker .rm-naam {
  font-size: 0.66rem; font-weight: 800; color: #fff; white-space: nowrap;
  background: rgba(20,30,55,0.8); border-radius: 8px; padding: 0 6px;
}
.race-deelnemer {
  background: var(--panel-licht); border: 2px solid var(--border);
  border-radius: 12px; padding: 8px 12px; margin: 5px 0; font-weight: 700; text-align: left;
}
.race-host { font-size: 0.72rem; color: var(--geel); font-weight: 800; margin-left: 4px; }
#race-lijst-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 8px 0; }
#race-scorebord {
  position: fixed; top: 64px; right: 8px; z-index: 6;
  background: rgba(8,12,24,0.82); border: 1px solid rgba(255,255,255,0.15);
  border-radius: 12px; padding: 6px 8px; min-width: 150px; max-width: 52vw;
  font-size: 0.8rem; pointer-events: none;
}
#race-scorebord .rs-kop { font-weight: 800; opacity: 0.7; font-size: 0.72rem; margin-bottom: 3px; }
.rs-rij { display: flex; align-items: center; gap: 5px; padding: 2px 0; }
.rs-rij.ik { color: var(--geel); font-weight: 800; }
.rs-pos { width: 14px; text-align: center; opacity: 0.7; }
.rs-naam { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rs-prog { white-space: nowrap; opacity: 0.85; font-weight: 700; }
#race-uitslag-rijen { margin: 10px 0; display: flex; flex-direction: column; gap: 6px; }
.race-uitslag-rij {
  display: flex; align-items: center; gap: 10px;
  background: var(--panel-licht); border: 2px solid var(--border);
  border-radius: 12px; padding: 9px 13px; font-size: 1.05rem;
}
.race-uitslag-rij.ik { border-color: var(--geel); }
.race-uitslag-rij .ru-naam { flex: 1; font-weight: 700; text-align: left; }
.race-uitslag-rij .ru-score { font-size: 0.82rem; opacity: 0.8; white-space: nowrap; }

/* Volumeschuif in het menu */
.volume-rij { display: flex; align-items: center; gap: 10px; }
.volume-rij #volume-slider { flex: 1; height: 8px; accent-color: var(--geel); cursor: pointer; }
.volume-rij #volume-waarde { min-width: 42px; text-align: right; font-weight: 800; opacity: 0.8; }

/* Lijst-bouwer */
.bouwer-kop { display: flex; gap: 8px; margin-bottom: 8px; flex-wrap: wrap; }
.bouwer-kop input {
  flex: 1; min-width: 120px; padding: 11px 14px;
  border-radius: 12px; border: 2px solid var(--border);
  background: rgba(255,255,255,0.06); color: var(--tekst);
  font-family: var(--font); font-weight: 700; font-size: 1rem;
}
.bouwer-kop input:focus { outline: none; border-color: var(--geel); }
.zoek-wrap2 { position: relative; margin: 10px 0 8px; }
.zoek-wrap2 input {
  width: 100%; padding: 11px 14px; border-radius: 12px;
  border: 2px solid var(--border); background: rgba(255,255,255,0.06);
  color: var(--tekst); font-family: var(--font); font-size: 0.95rem;
}
.zoek-wrap2 input:focus { outline: none; border-color: var(--geel); }
.zoek-res2 {
  position: absolute; top: 100%; left: 0; right: 0; z-index: 10;
  background: #131d38; border: 2px solid var(--border); border-radius: 12px;
  max-height: 240px; overflow-y: auto; display: none;
}
.zoek-res2 .rij {
  display: flex; justify-content: space-between; gap: 8px;
  padding: 9px 14px; cursor: pointer; font-size: 0.92rem; font-weight: 600;
}
.zoek-res2 .rij:active, .zoek-res2 .rij:hover { background: rgba(255,217,61,0.14); }
.zoek-res2 .rij .sub { opacity: 0.6; font-size: 0.8rem; }
#bouwer-items { max-height: 38vh; overflow-y: auto; }
.b-item {
  display: flex; align-items: center; gap: 8px;
  padding: 7px 4px; border-bottom: 1px solid rgba(255,255,255,0.07);
}
.b-item .b-naam { flex: 1; font-weight: 700; text-align: left; }
.b-item .b-del { background: none; border: none; cursor: pointer; font-size: 1rem; opacity: 0.7; }
.bouwer-acties { display: flex; gap: 8px; margin-top: 12px; }
.bouwer-acties .knop { margin-top: 0; }
.bouwer-acties .knop.primair { flex: 1; }
.cat-rij input[type=checkbox] { width: 22px; height: 22px; }

/* Publieke lijst-kaart */
.pub-rij {
  display: flex; align-items: center; gap: 10px;
  background: var(--panel-licht); border: 2px solid var(--border);
  border-radius: 14px; padding: 10px 14px;
}
.pub-rij .p-info { flex: 1; text-align: left; }
.pub-rij .p-naam { font-weight: 800; }
.pub-rij .p-maker { font-size: 0.78rem; opacity: 0.7; }
.pub-rij .p-over {
  padding: 7px 14px; border-radius: 10px; border: none; cursor: pointer;
  background: #1abc9c; color: #042; font-family: var(--font); font-weight: 800;
}

/* Inwonertal bij plaatsen (toets-feedback, foutenlijst) */
.inw { opacity: 0.7; font-weight: 700; font-size: 0.85em; }

.ol-inw { opacity: 0.6; font-weight: 700; font-size: 0.85em; }

/* ── Mijn kennis-overzicht ───────────────────────────────────────────────── */
.kennis-sam {
  display: flex; flex-wrap: wrap; gap: 6px 14px; justify-content: center;
  font-size: 0.82rem; margin-bottom: 12px; opacity: 0.85;
}
#kennis-lijst { max-height: 56vh; overflow-y: auto; }
.kennis-rij {
  display: flex; align-items: center; gap: 10px;
  padding: 7px 6px; border-bottom: 1px solid rgba(255,255,255,0.07);
}
.kennis-rij .k-type { font-size: 1.2rem; width: 26px; text-align: center; }
.kennis-rij .k-naam { flex: 1; font-weight: 700; text-align: left; }
.kennis-rij .k-niveau {
  font-size: 0.82rem; font-weight: 800; white-space: nowrap;
  background: var(--panel-licht); border: 1px solid var(--border);
  border-radius: 10px; padding: 2px 10px;
}

/* ── Opgeschoond hoofdmenu: secties, kaart-grid, balk ────────────────────── */
.menu-sectie { margin-top: 14px; }
.menu-sectie h3 {
  font-size: 0.82rem; font-weight: 800; text-transform: uppercase;
  letter-spacing: 0.05em; opacity: 0.6; margin: 0 0 7px 2px; text-align: left;
}
.kaart-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.kaart-grid .lijst-btn { margin: 0; }
/* feature-knoppen in een grid: vaste nette hoogte */
.kaart-grid .lijst-btn .lijst-desc { font-size: 0.72rem; }
.menu-balk { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 16px; }
.balk-knop {
  padding: 11px 8px; border-radius: 12px; cursor: pointer;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  min-height: 52px; text-align: center; line-height: 1.15;
  background: var(--panel-licht); border: 2px solid var(--border);
  color: var(--tekst); font-family: var(--font); font-weight: 800; font-size: 0.85rem;
}
.balk-knop:active { transform: scale(0.97); }
#moeilijkheid-rij { display: flex; flex-wrap: wrap; gap: 6px; justify-content: flex-start; }

/* ── Vlag + volkslied bij aankomst op een land (Europa/Wereld) ──────────── */
#land-vlag {
  position: fixed; left: 50%; top: 40%; transform: translate(-50%, -8px) scale(0.9);
  z-index: 60; pointer-events: none; text-align: center;
  background: rgba(15, 23, 42, 0.82); border: 2px solid rgba(255,255,255,0.18);
  border-radius: 16px; padding: 12px 16px 10px;
  box-shadow: 0 12px 38px rgba(0,0,0,0.45); opacity: 0;
}
#land-vlag.aan { animation: landvlag-in 0.45s cubic-bezier(.2,.9,.3,1.3) forwards; }
#land-vlag.uit { animation: landvlag-uit 0.55s ease forwards; }
#land-vlag-img {
  width: 132px; max-width: 40vw; height: auto; border-radius: 8px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.5); display: block; margin: 0 auto;
}
#land-vlag-naam {
  margin-top: 8px; font-weight: 800; font-size: 1.05rem; color: #fff;
  text-shadow: 0 2px 6px rgba(0,0,0,0.6);
}
@keyframes landvlag-in {
  from { opacity: 0; transform: translate(-50%, -8px) scale(0.9); }
  to   { opacity: 1; transform: translate(-50%, 0) scale(1); }
}
@keyframes landvlag-uit {
  from { opacity: 1; transform: translate(-50%, 0) scale(1); }
  to   { opacity: 0; transform: translate(-50%, -14px) scale(0.96); }
}

/* ── Paspoort: verzamel-album ──────────────────────────────────────────────── */
#paspoort-inhoud { max-height: 64vh; overflow-y: auto; margin: 4px 0 12px; }
.pp-top { display: flex; gap: 10px; justify-content: center; margin: 6px 0 2px; }
.pp-stat {
  flex: 1; max-width: 160px; text-align: center; padding: 10px 8px;
  background: var(--panel-licht); border: 2px solid var(--border); border-radius: 14px;
}
.pp-stat b { display: block; font-size: 1.6rem; font-weight: 800; line-height: 1; }
.pp-stat span { font-size: 0.78rem; opacity: 0.8; }
.pp-stat.goud { border-color: #ffd93d; box-shadow: 0 0 14px rgba(255,217,61,0.25); }
.pp-stat.goud b { color: #ffd93d; }

.pp-regio { margin-top: 14px; }
.pp-regio > h3 {
  font-size: 0.95rem; font-weight: 800; margin: 0 0 8px 2px; text-align: left;
  border-left: 4px solid var(--border); padding-left: 8px;
}
.pp-lijst {
  background: var(--panel-licht); border: 1px solid var(--border);
  border-radius: 12px; margin-bottom: 8px; padding: 2px 10px 4px; overflow: hidden;
}
.pp-lijst summary {
  display: flex; align-items: center; gap: 8px; cursor: pointer;
  padding: 8px 2px; list-style: none; font-weight: 700;
}
.pp-lijst summary::-webkit-details-marker { display: none; }
.pp-l-icon { font-size: 1.15rem; }
.pp-l-naam { flex: 1; text-align: left; }
.pp-l-tel { font-size: 0.8rem; font-weight: 800; opacity: 0.85; white-space: nowrap; }
.pp-balk {
  height: 7px; background: rgba(255,255,255,0.1); border-radius: 5px; overflow: hidden; margin: 0 0 9px;
}
.pp-balk-vul { height: 100%; border-radius: 5px; transition: width 0.5s ease; }

.pp-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(74px, 1fr));
  gap: 7px; padding-bottom: 8px;
}
.pp-tile {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  padding: 7px 4px; border-radius: 10px; background: var(--panel);
  border: 2px solid var(--border); text-align: center; min-height: 64px; justify-content: center;
}
.pp-tile.leeg { opacity: 0.4; filter: grayscale(1); border-style: dashed; }
.pp-tile.goud { border-color: #ffd93d; box-shadow: 0 0 10px rgba(255,217,61,0.3); background: rgba(255,217,61,0.08); }
.pp-tile.isvlag img { width: 46px; height: auto; border-radius: 4px; box-shadow: 0 2px 6px rgba(0,0,0,0.4); display: block; }
.pp-vlag-leeg {
  width: 46px; height: 31px; border-radius: 4px; display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.08); font-weight: 800; font-size: 1.1rem; opacity: 0.7;
}
.pp-zegel {
  width: 38px; height: 38px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; font-weight: 800; background: rgba(255,255,255,0.08);
}
.pp-tile.goud .pp-zegel { background: rgba(255,217,61,0.2); color: #ffd93d; }
.pp-naam { font-size: 0.68rem; font-weight: 700; line-height: 1.05; word-break: break-word; }

/* ── Helikopter-cosmetica: topper, spoor, regenboog ───────────────────────── */
#heli-topper {
  position: absolute; left: 50%; top: -26px; transform: translate(-50%, 0);
  font-size: 1.4rem; pointer-events: none; z-index: 3;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,0.5));
}
.heli-trail-dot {
  width: 11px; height: 11px; border-radius: 50%;
  opacity: 0.8; transition: opacity 0.8s ease, transform 0.8s ease;
  box-shadow: 0 0 6px currentColor; pointer-events: none;
}
@keyframes heli-regenboog-anim { from { filter: hue-rotate(0deg) saturate(1.4); } to { filter: hue-rotate(360deg) saturate(1.4); } }
.heli-regenboog { animation: heli-regenboog-anim 2.5s linear infinite; }

/* Aankleed-scherm */
#aankleden-inhoud { max-height: 52vh; overflow-y: auto; margin-bottom: 10px; }
.ak-voorbeeld {
  position: relative; height: 92px; display: flex; align-items: center; justify-content: center;
  margin: 4px auto 0; background: var(--panel-licht); border: 2px solid var(--border);
  border-radius: 16px; max-width: 220px;
}
.ak-voorbeeld .ak-heli { font-size: 3rem; }
.ak-voorbeeld .ak-topper { position: absolute; top: 8px; font-size: 1.6rem; }
.ak-groep { margin-top: 12px; }
.ak-groep h3 { font-size: 0.85rem; font-weight: 800; text-align: left; margin: 0 0 7px 2px; opacity: 0.85; }
.ak-rij { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 8px; }
.ak-tegel {
  display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 9px 4px;
  border-radius: 12px; background: var(--panel); border: 2px solid var(--border);
  color: var(--tekst); font-family: var(--font); cursor: pointer;
}
.ak-tegel .ak-emoji { font-size: 1.5rem; }
.ak-tegel .ak-naam { font-size: 0.68rem; font-weight: 700; line-height: 1.05; text-align: center; }
.ak-tegel.gekozen { border-color: #ffd93d; box-shadow: 0 0 12px rgba(255,217,61,0.35); background: rgba(255,217,61,0.1); }
.ak-tegel.slot { opacity: 0.45; cursor: not-allowed; filter: grayscale(0.6); }
.ak-tegel:not(.slot):active { transform: scale(0.95); }

/* ── Combo-meter + medailles ──────────────────────────────────────────────── */
#combo-chip {
  position: fixed; left: 50%; top: 92px; transform: translateX(-50%);
  z-index: 30; pointer-events: none; font-weight: 800; font-size: 1.05rem; color: #fff;
  background: linear-gradient(135deg, #ff6b6b, #ff9f1a); padding: 7px 16px; border-radius: 20px;
  box-shadow: 0 4px 16px rgba(255,107,107,0.5); text-shadow: 0 1px 3px rgba(0,0,0,0.4);
}
@keyframes combo-pop-anim { 0% { transform: translateX(-50%) scale(0.6); } 60% { transform: translateX(-50%) scale(1.25); } 100% { transform: translateX(-50%) scale(1); } }
.combo-pop { animation: combo-pop-anim 0.4s cubic-bezier(.2,.9,.3,1.4); }
.med-grid { grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); }
.pp-tile.med .pp-zegel { font-size: 1.6rem; background: transparent; }
.pp-tile.med.leeg { filter: grayscale(0.8); }

/* ── Feitje-kaart bij aankomst ────────────────────────────────────────────── */
#feit-kaart {
  position: fixed; left: 50%; bottom: 92px; transform: translate(-50%, 10px);
  z-index: 28; pointer-events: none; display: flex; gap: 10px; align-items: flex-start;
  max-width: min(92vw, 440px); padding: 11px 15px;
  background: rgba(15, 23, 42, 0.92); border: 2px solid rgba(84,160,255,0.45);
  border-radius: 16px; box-shadow: 0 10px 30px rgba(0,0,0,0.45); opacity: 0;
}
#feit-kaart.aan { animation: feit-in 0.4s cubic-bezier(.2,.9,.3,1.2) forwards; }
#feit-kaart.uit { animation: feit-uit 0.5s ease forwards; }
#feit-kaart .feit-icoon { font-size: 1.5rem; line-height: 1.1; }
#feit-kaart .feit-kop { font-weight: 800; font-size: 0.78rem; color: #8fc4ff; margin-bottom: 2px; }
#feit-kaart .feit-tekst { font-size: 0.86rem; line-height: 1.25; color: #fff; }
@keyframes feit-in { from { opacity: 0; transform: translate(-50%, 10px); } to { opacity: 1; transform: translate(-50%, 0); } }
@keyframes feit-uit { from { opacity: 1; } to { opacity: 0; transform: translate(-50%, 10px); } }

/* Aankleden: live heli-SVG-preview + spoor-stippen */
.ak-voorbeeld .ak-heli-svg svg { width: 64px; height: auto; display: block; }
.ak-voorbeeld .ak-spoor-stip {
  position: absolute; bottom: 16px; width: 10px; height: 10px; border-radius: 50%;
  box-shadow: 0 0 7px currentColor; color: inherit;
}
.ak-voorbeeld .ak-spoor-stip:nth-of-type(1) { left: calc(50% - 30px); }
.ak-voorbeeld .ak-spoor-stip:nth-of-type(2) { left: calc(50% - 46px); }

/* ── Windwijzer (zeilmodus) ────────────────────────────────────────────────── */
#wind-wijzer {
  position: fixed; top: 76px; right: 12px; z-index: 25;
  display: flex; flex-direction: column; align-items: center; gap: 1px;
  background: rgba(15,23,42,0.82); border: 2px solid #6bcb77; border-radius: 14px;
  padding: 6px 10px 4px; pointer-events: none; transition: border-color .3s ease;
}
#wind-wijzer .ww-pijl { font-size: 1.5rem; line-height: 1; transition: transform .4s ease; }
#wind-wijzer .ww-tekst { font-size: 0.66rem; font-weight: 800; opacity: 0.85; }

/* ── Windwijzer groter + wind-strepen (zeilmodus) ──────────────────────────── */
#wind-wijzer {
  flex-direction: row; gap: 8px; padding: 8px 14px; top: 72px;
}
#wind-wijzer .ww-pijl { font-size: 2.1rem; transition: transform .4s ease; }
#wind-wijzer .ww-tekst { font-size: 0.72rem; font-weight: 800; line-height: 1.05; text-align: left; }
#wind-wijzer .ww-richting { font-size: 0.64rem; font-weight: 700; opacity: 0.85; }
#wind-laag { position: fixed; inset: 0; z-index: 4; pointer-events: none; overflow: hidden; }
.wind-streep {
  position: absolute; top: 0; left: 0; width: 46px; height: 3px; border-radius: 2px;
  background: linear-gradient(90deg, rgba(180,220,255,0), rgba(180,220,255,0.55));
}

/* ── Vergrendelde modi (komen vrij op level) ──────────────────────────────── */
.lijst-btn.vergrendeld { opacity: 0.55; filter: grayscale(0.55); position: relative; }
.lijst-btn.vergrendeld .lijst-desc { color: #ffd93d; font-weight: 800; }
.lijst-btn.vergrendeld::after {
  content: "🔒"; position: absolute; top: 6px; right: 8px; font-size: 1rem;
}

/* ── 'Gevonden!'-feest: puls-ring op de plek + naam-banner ─────────────────── */
.gevonden-ring {
  width: 22px; height: 22px; border-radius: 50%; pointer-events: none;
  border: 4px solid #6bcb77; box-shadow: 0 0 0 4px rgba(107,203,119,0.3);
  animation: gv-ring 0.9s ease-out forwards;
}
@keyframes gv-ring {
  0%   { transform: scale(0.3); opacity: 0.9; }
  100% { transform: scale(4.2); opacity: 0; }
}
#gevonden-banner {
  position: fixed; left: 50%; top: 30%; transform: translate(-50%, 0);
  z-index: 58; pointer-events: none; font-weight: 800; font-size: 1.5rem; color: #fff;
  background: linear-gradient(135deg, #2ecc71, #27ae60); padding: 8px 22px; border-radius: 18px;
  box-shadow: 0 6px 22px rgba(39,174,96,0.5); text-shadow: 0 2px 5px rgba(0,0,0,0.35);
}
#gevonden-banner.pop { animation: gv-banner 1.4s cubic-bezier(.2,.9,.3,1.3) forwards; }
@keyframes gv-banner {
  0%   { opacity: 0; transform: translate(-50%, 12px) scale(0.7); }
  15%  { opacity: 1; transform: translate(-50%, 0) scale(1.08); }
  30%  { transform: translate(-50%, 0) scale(1); }
  80%  { opacity: 1; }
  100% { opacity: 0; transform: translate(-50%, -10px) scale(0.98); }
}

/* ── Niveau-redesign: startniveau-keuze in wizard + reset-overlay ── */
.voertuig-chip.gevaar { border-color: #e74c3c; background: rgba(231,76,60,0.14); cursor: pointer; }
.voertuig-chip.gevaar:hover { border-color: #ff6b5b; background: rgba(231,76,60,0.22); }

.wiz-uitleg { font-size: 0.92rem; color: rgba(255,255,255,0.78); line-height: 1.4;
  margin: 0 4px 12px; background: rgba(255,255,255,0.05); padding: 9px 12px; border-radius: 12px; }

#startniveau-grid { display: flex; flex-direction: column; gap: 8px; margin-bottom: 12px; }
.sn-btn { display: flex; flex-direction: column; align-items: flex-start; gap: 2px;
  width: 100%; box-sizing: border-box; padding: 11px 15px; border-radius: 14px;
  border: 2px solid var(--border); background: rgba(255,255,255,0.06); color: var(--tekst);
  font-family: var(--font); text-align: left; cursor: pointer;
  transition: border-color .15s ease, background .15s ease, transform .1s ease; }
.sn-btn span { font-weight: 800; font-size: 1.08rem; }
.sn-btn small { font-weight: 600; opacity: 0.66; font-size: 0.82rem; }
.sn-btn:hover { border-color: var(--geel); }
.sn-btn.gekozen { border-color: var(--groen); background: rgba(107,203,119,0.16); transform: translateY(-1px); }

#reset-overlay { position: fixed; inset: 0; z-index: 200; display: flex;
  align-items: center; justify-content: center; background: rgba(6,10,22,0.82); backdrop-filter: blur(3px); }
.reset-box { width: min(440px, 92vw); text-align: center; padding: 26px 28px; border-radius: 22px;
  background: linear-gradient(180deg, rgba(48,24,28,0.98), rgba(28,14,18,0.98));
  border: 2px solid #e74c3c; box-shadow: 0 14px 50px rgba(0,0,0,0.6); }
.reset-uitroep { font-size: 3rem; animation: reset-puls 0.8s ease-in-out infinite; }
@keyframes reset-puls { 0%,100% { transform: scale(1); } 50% { transform: scale(1.18); } }
.reset-box h2 { margin: 6px 0 8px; color: #ffd9d2; }
#reset-bar { height: 16px; border-radius: 10px; background: rgba(255,255,255,0.12);
  overflow: hidden; margin: 16px 0; border: 1px solid rgba(255,255,255,0.15); }
#reset-bar-fill { height: 100%; width: 100%; border-radius: 10px;
  background: linear-gradient(90deg, #ff6b5b, #e74c3c); }
#reset-knoppen { display: flex; justify-content: center; }
#reset-status { margin-top: 10px; font-weight: 700; min-height: 1.2em; }

/* ── Footer-balk (startscherm) → blog/over/privacy ── */
.site-footer { margin-top: 16px; display: flex; gap: 8px; justify-content: center;
  align-items: center; flex-wrap: wrap; font-weight: 700; font-size: 0.9rem; }
.site-footer a { color: #aebEdF; text-decoration: none; padding: 4px 8px; border-radius: 9px;
  transition: background .15s ease, color .15s ease; }
.site-footer a:hover { background: rgba(255,255,255,0.08); color: #fff; }
.site-footer span { opacity: 0.4; }

/* ── Idee/bug-formulier ── */
.fb-keuze { display: flex; gap: 8px; margin: 10px 0; }
.fb-soort-btn { flex: 1; padding: 10px; border-radius: 12px; border: 2px solid var(--border);
  background: rgba(255,255,255,0.06); color: var(--tekst); font-family: var(--font);
  font-weight: 800; cursor: pointer; transition: border-color .15s, background .15s; }
.fb-soort-btn:hover { border-color: var(--geel); }
.fb-soort-btn.gekozen { border-color: var(--groen); background: rgba(107,203,119,0.16); }
#fb-tekst { width: 100%; box-sizing: border-box; padding: 12px 14px; border-radius: 14px;
  border: 2px solid var(--border); background: rgba(255,255,255,0.06); color: var(--tekst);
  font-family: var(--font); font-size: 1rem; resize: vertical; }
#fb-tekst:focus { outline: none; border-color: var(--geel); background: rgba(255,255,255,0.1);
  box-shadow: 0 0 0 4px rgba(255,217,61,0.18); }

/* ── Vaardigheidsscherm (#47) ── */
.va-top { display: flex; flex-direction: column; align-items: center; gap: 8px; margin: 8px 0 14px; }
.va-rang { font-size: 2.4rem; display: flex; flex-direction: column; align-items: center; line-height: 1; }
.va-rang span { font-size: 1rem; font-weight: 800; margin-top: 4px; color: var(--geel); }
.va-cirkel { --p: 0; position: relative; width: 128px; height: 128px; border-radius: 50%;
  background: conic-gradient(var(--groen) calc(var(--p) * 1%), rgba(255,255,255,0.1) 0);
  display: flex; flex-direction: column; align-items: center; justify-content: center; }
.va-cirkel::before { content: ''; position: absolute; width: 96px; height: 96px; border-radius: 50%;
  background: var(--panel, #131d38); }
.va-cirkel span { position: relative; font-size: 1.8rem; font-weight: 800; }
.va-cirkel small { position: relative; font-size: 0.72rem; opacity: 0.7; font-weight: 700; }
.va-vp { font-weight: 800; opacity: 0.85; }
.va-gebieden { display: flex; flex-direction: column; gap: 10px; }
.va-gebied-kop { display: flex; justify-content: space-between; font-weight: 800; margin-bottom: 4px; }
.va-gebied-pct { font-weight: 700; opacity: 0.7; font-size: 0.86rem; }
.va-bar { height: 14px; border-radius: 8px; background: rgba(255,255,255,0.12); overflow: hidden; }
.va-bar i { display: block; height: 100%; border-radius: 8px;
  background: linear-gradient(90deg, #6bcb77, #4a9eff); transition: width .5s ease; }

/* ── Docent: live-presence status-stip ── */
.dl-status { width: 10px; height: 10px; border-radius: 50%; flex: 0 0 auto;
  background: #6b7280; margin-right: 2px; }
.dl-status.recent { background: #f1c40f; }
.dl-status.online { background: #2ecc71; box-shadow: 0 0 0 0 rgba(46,204,113,0.6);
  animation: presence-puls 1.8s ease-out infinite; }
@keyframes presence-puls {
  0% { box-shadow: 0 0 0 0 rgba(46,204,113,0.55); }
  70% { box-shadow: 0 0 0 7px rgba(46,204,113,0); }
  100% { box-shadow: 0 0 0 0 rgba(46,204,113,0); }
}

/* ── Docent: klas-opties paneel + toets-verberg-regel ── */
.dc-opties { margin: 12px 0; text-align: left; background: var(--panel-licht);
  border: 1px solid var(--border); border-radius: 12px; padding: 10px 14px; }
.dc-opties > summary { cursor: pointer; font-weight: 800; }
.dc-opties .ko-groep { margin: 8px 0; }
.dc-opties .ko-groep h4 { margin: 6px 0 4px; font-size: 0.92rem; opacity: 0.85; }
.dc-opties .ko-groep label { display: flex; align-items: center; gap: 8px; padding: 4px 0;
  font-weight: 700; cursor: pointer; }
.dc-opties .ko-groep input { width: 18px; height: 18px; }
#docent-opties-bewaar { width: 100%; margin-top: 8px; }
/* Klas-breed: topotoets-knoppen verbergen als de docent toets uitzet */
#scherm-menu.geen-toets .toets-knop { display: none !important; }

/* ── Docent-account inputs (#42) ── */
#da-email, #da-ww, #dr-naam, #dr-school, #dr-email, #dr-ww, #dk-naam {
  width: 100%; box-sizing: border-box; padding: 13px 16px; margin: 8px 0 0; border-radius: 14px;
  border: 2px solid var(--border); background: rgba(255,255,255,0.06); color: var(--tekst);
  font-family: var(--font); font-size: 1.05rem; font-weight: 700; text-align: center;
  transition: border-color .15s ease, box-shadow .15s ease, background .15s ease; }
#da-email::placeholder,#da-ww::placeholder,#dr-naam::placeholder,#dr-school::placeholder,
#dr-email::placeholder,#dr-ww::placeholder,#dk-naam::placeholder { color: rgba(255,255,255,0.4); font-weight: 600; }
#da-email:focus,#da-ww:focus,#dr-naam:focus,#dr-school:focus,#dr-email:focus,#dr-ww:focus,#dk-naam:focus {
  outline: none; border-color: var(--geel); background: rgba(255,255,255,0.1); box-shadow: 0 0 0 4px rgba(255,217,61,0.18); }
#dk-lijst .dk-klas { width: 100%; margin-top: 8px; text-align: left; }

/* 🪜 Leerladder-knop */
.leerladder-knop { border-color: #b07cff !important;
  background: linear-gradient(135deg, rgba(120,80,200,0.30), rgba(40,20,80,0.45)) !important; }
