/* Kluisavontuur-motor: stijl (versie 1.0.0). Thema: teal, diepblauw, warm zand en goud. */
.kl {
  --kl-navy: #0f3346; --kl-teal: #0e7c74; --kl-teal-licht: #2fbda7; --kl-zand: #f6ecd6; --kl-papier: #fffaf0;
  --kl-goud: #e9b43a; --kl-goud-donker: #9a6a00; --kl-hout: #6b4422; --kl-rand: #e2cfa5; --kl-tekst: #112c39;
  --kl-balkhoogte: 68px;
  background: var(--kl-zand); color: var(--kl-tekst);
}
.kl * { box-sizing: border-box; }
.kl h2, .kl h3 { line-height: 1.2; }
.kl svg { flex: none; }

/* ---------- bovenbalk ---------- */
.kl-balk {
  position: sticky; top: 0; z-index: 30; min-height: var(--kl-balkhoogte);
  display: flex; align-items: center; gap: 10px; padding: 8px 14px;
  background: linear-gradient(180deg, #123f56, var(--kl-navy)); color: #fff;
  border-bottom: 3px solid var(--kl-goud);
}
.kl-merk { font-weight: 700; font-size: 20px; letter-spacing: .06em; text-transform: uppercase; color: #f6d36b; white-space: nowrap; }
.kl-score { flex: 1; display: flex; justify-content: center; gap: 6px; min-width: 0; }
.kl-start .kl-score, .kl-start .kl-balkknop#kl-logboek { visibility: hidden; }
.kl-cel { position: relative; display: flex; flex-direction: column; align-items: center; min-width: 86px; padding: 4px 10px; border-radius: 12px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); }
.kl-cel span { font-size: 12px; letter-spacing: .05em; text-transform: uppercase; opacity: .85; }
.kl-cel b { font-size: 22px; font-variant-numeric: tabular-nums; line-height: 1.15; }
.kl-cel.kl-eind { background: var(--kl-goud); color: #2b1b00; border-color: #f6d36b; }
.kl-gestopt .kl-cel.kl-eind::after { content: '⏹'; position: absolute; top: -6px; right: -6px; font-size: 14px; background: #fff; color: var(--kl-navy); border-radius: 50%; width: 20px; height: 20px; display: grid; place-items: center; }
.kl-knoppen { display: flex; gap: 6px; }
.kl-balkknop {
  display: inline-flex; align-items: center; gap: 6px; min-height: 46px; min-width: 46px; padding: 6px 12px;
  border-radius: 12px; border: 2px solid rgba(255,255,255,.3); background: rgba(255,255,255,.08); color: #fff; font: inherit; font-size: 16px; font-weight: 700; cursor: pointer;
}
.kl-balkknop svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.kl-balkknop.kl-rond { padding: 6px; justify-content: center; }
.kl-balkknop:focus-visible, .kl button:focus-visible, .kl select:focus-visible, .kl input:focus-visible, .kl a:focus-visible { outline: 4px solid #f6d36b; outline-offset: 2px; }
.kl-balkknop .kl-streepje { display: none; }
.kl-balkknop.kl-uit .kl-streepje { display: inline; }
.kl-balkknop.kl-uit .kl-golfje { display: none; }
.kl-zweef { position: absolute; left: 50%; top: 100%; transform: translateX(-50%); font-weight: 700; font-size: 20px; padding: 2px 10px; border-radius: 999px; animation: kl-zweef 1.8s ease-out forwards; pointer-events: none; white-space: nowrap; }
.kl-zweef-straf { background: #fdeced; color: #a31f24; border: 2px solid #d63236; }
.kl-zweef-bonus { background: #e6f6e9; color: #1d6b2e; border: 2px solid #2f9e44; }
@keyframes kl-zweef { 0% { opacity: 0; transform: translate(-50%, 0); } 15% { opacity: 1; transform: translate(-50%, 8px); } 100% { opacity: 0; transform: translate(-50%, 34px); } }
.kl-puls { animation: kl-puls .6s ease-out; }
@keyframes kl-puls { 50% { transform: scale(1.12); } }

/* ---------- algemeen ---------- */
.kl-main { max-width: 1320px; margin: 0 auto; padding: 16px 16px 48px; }
.kl-start .kl-main { max-width: none; padding: 0; }
.kl-tip { font-size: 16px; color: #4f6968; margin: 8px 0; }
.kl-rij { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.kl .mlp-knop { font-size: 18px; }
.kl .mlp-hoofd { background: var(--kl-teal); border-color: var(--kl-teal); color: #fff; box-shadow: 0 3px 0 #075149; }
.kl-linkknop { background: none; border: 0; color: var(--kl-teal); font: inherit; font-weight: 700; text-decoration: underline; cursor: pointer; padding: 10px 4px; min-height: 44px; }
.kl-lees { display: inline-grid; place-items: center; width: 40px; height: 40px; margin-left: 8px; vertical-align: middle; border-radius: 50%; border: 2px solid currentColor; background: rgba(255,255,255,.6); color: inherit; cursor: pointer; opacity: .8; }
.kl-lees svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }
.kl-toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 90; background: var(--kl-navy); color: #fff; padding: 12px 20px; border-radius: 14px; font-weight: 700; }
.kl-codechip { display: inline-block; font-family: ui-monospace, 'Cascadia Mono', Consolas, monospace; font-weight: 700; letter-spacing: .12em; background: #fff3cf; color: #2b1b00; border: 2px solid var(--kl-goud); border-radius: 8px; padding: 0 8px; }

/* ---------- startscherm ---------- */
.kl-startbeeld { min-height: calc(100dvh - var(--kl-balkhoogte)); background: linear-gradient(90deg, rgba(8,30,44,.55), rgba(8,30,44,.05) 70%), var(--beeld) center / cover no-repeat; display: flex; flex-wrap: wrap; align-items: center; gap: 20px; padding: 24px clamp(16px, 4vw, 56px); }
.kl-startkaart { max-width: 660px; width: 100%; background: rgba(255,250,240,.96); border: 3px solid var(--kl-goud); border-radius: 24px; padding: clamp(18px, 3vw, 32px); box-shadow: 0 18px 40px rgba(0,0,0,.25); }
.kl-kop { font-size: clamp(42px, 7vw, 72px); letter-spacing: .1em; margin: 0; color: var(--kl-navy); text-shadow: 3px 3px 0 #f6d36b; line-height: 1; }
.kl-slogan { font-size: 21px; font-weight: 700; margin: 8px 0 10px; }
.kl-startregels { list-style: none; padding: 0; margin: 0 0 16px; display: grid; gap: 4px; }
.kl-startregels li { padding: 3px 12px; background: #fff; border-left: 6px solid var(--kl-goud); border-radius: 8px; font-size: 19px; }
.kl-startregels li::before { content: '• '; color: var(--kl-goud-donker); font-weight: 700; }
.kl-teamkeuze { display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: end; margin-bottom: 12px; }
.kl-teamkeuze label[for] { display: block; font-weight: 700; width: 100%; margin-bottom: -6px; }
.kl-teamkeuze select { min-height: 48px; font: inherit; padding: 6px 12px; border-radius: 12px; border: 2px solid var(--kl-rand); background: #fff; min-width: 230px; }
.kl-grootte { border: 0; padding: 0; margin: 0; display: flex; gap: 6px; align-items: center; }
.kl-grootte legend { font-weight: 700; float: left; margin-right: 8px; }
.kl-grootte label { cursor: pointer; }
.kl-grootte input { position: absolute; opacity: 0; }
.kl-grootte span { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; border: 2px solid var(--kl-rand); background: #fff; font-weight: 700; }
.kl-grootte input:checked + span { background: var(--kl-teal); color: #fff; border-color: var(--kl-teal); }
.kl-grootte input:focus-visible + span { outline: 4px solid #f6d36b; }
.kl-startknoppen { display: flex; flex-wrap: wrap; gap: 10px; }
.kl-begin { font-size: 22px !important; min-height: 58px; padding: 10px 24px !important; }
.kl-startknoppen .mlp-knop:not(.kl-begin) { padding: 8px 14px; }
.kl-variant { font-size: 15px; color: #4f6968; margin: 8px 0 0; }
.kl-ranglijst { background: rgba(255,250,240,.96); border: 2px solid var(--kl-rand); border-radius: 18px; padding: 14px 18px; min-width: 260px; max-width: 360px; }
.kl .kl-ranglijst h2 { font-size: 19px; margin: 0 0 6px; }
.kl-ranglijst ol { margin: 0; padding-left: 26px; }
.kl-ranglijst li { padding: 2px 0; }
.kl-ranglijst li span { display: inline-block; min-width: 180px; }
.kl-ranglijst small { color: #4f6968; }

/* ---------- scènekop ---------- */
.kl-scene { position: relative; border-radius: 22px; overflow: hidden; min-height: 200px; display: flex; flex-direction: column; justify-content: space-between; gap: 12px; padding: 18px 22px; color: #fff;
  background: linear-gradient(90deg, rgba(6,26,38,.86) 0%, rgba(6,26,38,.55) 48%, rgba(6,26,38,.05) 85%), var(--beeld) center / cover no-repeat; border: 3px solid #f6d36b; }
.kl-scenetekst { max-width: 720px; }
.kl-stap { margin: 0; font-size: 15px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #f6d36b; }
.kl-scene h2 { font-size: clamp(26px, 3.4vw, 36px); margin: 4px 0 6px; outline: none; text-shadow: 0 2px 6px rgba(0,0,0,.5); }
.kl-verhaal { margin: 0; font-size: 19px; text-shadow: 0 1px 4px rgba(0,0,0,.6); }
.kl-verhaal .kl-lees { color: #fff; background: rgba(0,0,0,.25); }
.kl-route { list-style: none; display: flex; flex-wrap: wrap; gap: 4px; margin: 0; padding: 0; }
.kl-route li { font-size: 13px; padding: 3px 10px; border-radius: 999px; background: rgba(0,0,0,.35); border: 1px solid rgba(255,255,255,.3); }
.kl-route li.kl-gezien { background: rgba(233,180,58,.85); color: #2b1b00; }
.kl-route li.kl-hier { background: #fff; color: var(--kl-navy); font-weight: 700; outline: 3px solid #f6d36b; }
.kl-bekijkbalk { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; margin-top: 12px; padding: 10px 16px; border-radius: 14px; background: #fff1db; border: 2px solid #f3d29b; font-weight: 700; }

/* ---------- werkvlak ---------- */
.kl-werk { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 18px; margin-top: 16px; align-items: start; }
.kl-drager { background: var(--kl-papier); border: 2px solid var(--kl-rand); border-radius: 20px; padding: clamp(14px, 2vw, 22px); min-width: 0; font-size: 19px; }
.kl-drager h3 { font-size: 21px; margin: 0 0 8px; }
.kl-drager-zin { font-weight: 700; margin: 0 0 10px; }
.kl-opdracht { margin-top: 16px; background: #e3f3ef; border-left: 8px solid var(--kl-teal); border-radius: 12px; padding: 12px 16px; }
.kl-opdracht strong { font-size: 15px; letter-spacing: .06em; text-transform: uppercase; color: var(--kl-teal); }
.kl-opdracht p { margin: 4px 0 0; font-weight: 700; font-size: 20px; }

/* papiertjes */
.kl-papieren { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px; margin-bottom: 16px; }
.kl-papier { background: #fdf3d8; border: 1px solid #d9c18d; border-radius: 6px 16px 6px 16px; padding: 14px 16px; box-shadow: 0 4px 10px rgba(107,68,34,.15); animation: kl-vouw .5s ease-out both; }
.kl-papier-1 { transform: rotate(.5deg); animation-delay: .08s; }
.kl-papier-2 { transform: rotate(-.4deg); animation-delay: .16s; }
.kl-papier-kop { display: flex; align-items: center; justify-content: space-between; gap: 6px; }
.kl-papier h3 { font-size: 19px; margin: 0; color: var(--kl-hout); }
.kl-papier p { margin: 8px 0 0; line-height: 1.55; }
@keyframes kl-vouw { from { opacity: 0; transform: scaleY(.6) rotate(-2deg); } }

/* tabellen */
.kl-tabelwrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: 14px; border: 2px solid #b7d6cf; }
.kl-tabel { width: 100%; border-collapse: collapse; background: #fff; font-size: 18px; }
.kl-tabel th, .kl-tabel td { padding: 8px 12px; border-bottom: 1px solid #d5e6df; text-align: left; white-space: nowrap; }
.kl-tabel thead th { background: var(--kl-teal); color: #fff; font-size: 16px; }
.kl-tabel tbody tr:nth-child(even) { background: #f4faf8; }
.kl-tabel tbody th { padding: 0; }
.kl-streep { width: 100%; min-height: 48px; text-align: left; padding: 6px 12px; border: 0; background: none; font: inherit; font-weight: 700; cursor: pointer; }
.kl-weg td, .kl-weg .kl-streep span { text-decoration: line-through; text-decoration-thickness: 3px; text-decoration-color: #d63236; opacity: .5; }
.kl-code-cel { font-family: ui-monospace, Consolas, monospace; font-weight: 700; letter-spacing: .1em; }

/* beeldwoord */
.kl-blad { background: #fff; border: 2px dashed #d9c18d; border-radius: 16px; padding: 14px; }
.kl-bladtitel { text-align: center; font-size: 24px !important; color: var(--kl-hout); }
.kl-woordenbank { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 12px; }
.kl-chip { padding: 4px 12px; border-radius: 999px; background: #e3f3ef; border: 2px solid #b7d6cf; font-weight: 700; }
.kl-plaatjes { display: grid; grid-template-columns: repeat(auto-fill, minmax(165px, 1fr)); gap: 12px; }
.kl-plaatje { position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 10px; border: 2px solid var(--kl-rand); border-radius: 14px; background: var(--kl-papier); }
.kl-plaatje img { width: 110px; height: 110px; object-fit: contain; }
.kl-plaatje select { width: 100%; min-height: 46px; font: inherit; font-size: 18px; border-radius: 10px; border: 2px solid #b7d6cf; padding: 4px 8px; background: #fff; }
.kl-neem { font-weight: 700; color: var(--kl-teal); }
.kl-nr { display: inline-grid; place-items: center; min-width: 32px; height: 32px; border-radius: 50%; background: var(--kl-navy); color: #fff; font-weight: 700; font-size: 16px; }
.kl-plaatje .kl-nr { position: absolute; top: 8px; left: 8px; }
.kl-vakjes { display: flex; flex-wrap: wrap; gap: 3px; justify-content: center; min-height: 40px; }
.kl-vakje { display: flex; flex-direction: column; align-items: center; width: 26px; border: 2px solid #b7d6cf; border-radius: 6px; background: #fff; line-height: 1.1; }
.kl-vakje b { font-size: 18px; } .kl-vakje small { font-size: 11px; color: #4f6968; }

/* symbooltaal */
.kl-codeboek { margin-bottom: 14px; }
.kl-sleuteltabel th[scope="row"] { padding: 6px 12px; display: flex; align-items: center; gap: 8px; }
.kl-sleutelletter { font-family: ui-monospace, Consolas, monospace; font-size: 26px; font-weight: 700; text-align: center !important; }
.kl-kleurstip { display: inline-block; width: 16px; height: 16px; border-radius: 4px; margin-right: 6px; vertical-align: -2px; border: 2px solid #fff; }
.kl-berichten { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.kl-bericht { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 8px 10px; background: #fff; border: 2px solid var(--kl-rand); border-radius: 14px; }
.kl-symrij { display: flex; flex-wrap: wrap; gap: 8px; flex: 1; }
.kl-symbox { position: relative; display: grid; place-items: center; width: 58px; height: 58px; border-radius: 12px; background: #fbf7ee; border: 2px solid #e6dcc6; }
.kl-symbox small { position: absolute; right: -6px; bottom: -6px; min-width: 24px; height: 24px; border-radius: 8px; color: #fff; font-size: 15px; font-weight: 700; display: grid; place-items: center; border: 2px solid #fff; }
.kl-klad { width: 130px; min-height: 44px; font: inherit; border: 2px dashed #b7d6cf; border-radius: 10px; padding: 4px 10px; background: #fbfffe; }

/* symboolsommen */
.kl-panelen { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 14px; }
.kl-paneel { background: #fff7e6; border: 4px solid var(--kl-hout); border-radius: 16px; padding: 12px 14px; box-shadow: inset 0 0 0 3px #e8c98f; }
.kl-paneel h3 { text-align: center; color: var(--kl-hout); }
.kl-somrij { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 6px 0; border-bottom: 2px dotted #e2cfa5; }
.kl-somiconen { display: flex; flex-wrap: wrap; gap: 2px; }
.kl-somiconen img { width: 36px; height: 36px; object-fit: contain; }
.kl-somuit { font-size: 22px; white-space: nowrap; }
.kl-somvraag { display: flex; align-items: center; justify-content: center; gap: 6px; padding-top: 10px; font-size: 24px; }
.kl-somvraag img { width: 42px; height: 42px; object-fit: contain; }

/* boten */
.kl-logboekblad { background: #fff; border: 2px solid var(--kl-rand); border-radius: 16px; padding: 12px 16px; margin-bottom: 14px; }
.kl-aanwijzingen { margin: 0; padding-left: 26px; font-weight: 700; }
.kl-aanwijzingen li { padding: 3px 0; }
.kl-haven { position: relative; padding: 12px; border-radius: 16px; background: linear-gradient(#5fb3c4, #2f7f95); }
.kl-ligplaatsen { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.kl-ligplaats { position: relative; min-height: 142px; border: 3px dashed rgba(255,255,255,.75); border-radius: 14px; background: rgba(255,255,255,.12); cursor: pointer; display: flex; align-items: flex-end; justify-content: center; padding: 30px 4px 6px; font: inherit; color: #fff; }
.kl-ligplaats.kl-doelplek { border-color: #f6d36b; background: rgba(246,211,107,.25); }
.kl-plekn { color: #fff; position: absolute; top: 4px; left: 50%; transform: translateX(-50%); font-weight: 700; font-size: 20px; background: var(--kl-navy); border-radius: 999px; padding: 0 12px; }
.kl-kade { height: 14px; margin-top: 8px; border-radius: 6px; background: repeating-linear-gradient(90deg, #8b5a2b 0 30px, #6b4422 30px 34px); }
.kl-wachtrij { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; min-height: 120px; margin-top: 12px; padding: 10px; border-radius: 14px; background: #f1e3c2; border: 2px solid #d9c18d; }
.kl-boot { display: flex; flex-direction: column; align-items: center; gap: 0; min-width: 96px; padding: 6px 8px; border-radius: 14px; border: 3px solid #fff; background: #fffaf0; color: var(--kl-tekst); font: inherit; cursor: grab; touch-action: none; box-shadow: 0 3px 0 rgba(0,0,0,.15); }
.kl-ligplaats .kl-boot { min-width: 0; width: 100%; }
.kl-boot.kl-gekozen { border-color: var(--kl-goud); outline: 4px solid var(--kl-goud); transform: translateY(-4px); }
.kl-bootnaam { font-weight: 700; font-size: 17px; }
.kl-bootcijfer { font-weight: 700; font-size: 26px; line-height: 1; font-family: ui-monospace, Consolas, monospace; }
.kl-spook { position: fixed; z-index: 100; pointer-events: none; opacity: .9; transform: rotate(-4deg); }

/* race */
.kl-race { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.kl-racekaart { background: #f4faf8; border: 2px solid #b7d6cf; border-radius: 14px; padding: 12px; text-align: center; }
.kl-raceklok { display: flex; align-items: center; justify-content: center; gap: 14px; margin: 8px 0; }
.kl-label-klein { display: block; font-size: 14px; text-transform: uppercase; letter-spacing: .05em; color: #4f6968; }
.kl-digitaal { font-family: ui-monospace, Consolas, monospace; font-size: 30px; background: #112c39; color: #7ff0c8; padding: 2px 10px; border-radius: 8px; }
.kl-reistijd { display: inline-block; padding: 8px 16px; border-radius: 12px; background: #fff3cf; border: 2px solid var(--kl-goud); }
.kl-reistijd b { font-size: 22px; }

/* plattegrond */
.kl-bouwkaart { background: #eef4f8; border: 2px solid #b9cad6; border-radius: 16px; padding: 12px; }
.kl-plattegrond { display: block; width: 100%; max-width: 600px; height: auto; margin: 0 auto; }
.kl-legenda { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; font-weight: 700; }
.kl-legenda i { display: inline-block; width: 22px; height: 22px; border-radius: 4px; border: 2px solid #6b4f00; vertical-align: -5px; margin-right: 6px; }
.kl-legenda i.kl-steen { background: #a3a8ad; border-color: #5f666c; }

/* menukaart */
.kl-menuwrap { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; margin-bottom: 10px; }
.kl-menukaart { background: #2c3e33; color: #fdf6e3; border: 8px solid var(--kl-hout); border-radius: 14px; padding: 14px 18px; }
.kl-menukaart h3 { text-align: center; font-size: 26px !important; color: #f6d36b; margin: 0; }
.kl-menusub { text-align: center; margin: 0 0 8px; font-size: 16px; opacity: .9; }
.kl-menukaart ul { list-style: none; padding: 0; margin: 0; }
.kl-menukaart li { display: flex; align-items: baseline; gap: 6px; padding: 5px 0; font-size: 21px; }
.kl-puntjes { flex: 1; border-bottom: 3px dotted rgba(253,246,227,.5); }
.kl-bon { background: #fff; border: 2px solid #ccc; border-radius: 4px; padding: 14px 16px; font-family: ui-monospace, Consolas, monospace; box-shadow: 0 6px 14px rgba(0,0,0,.12); }
.kl-bon h3 { text-align: center; letter-spacing: .2em; }
.kl-reizigers { display: flex; justify-content: space-around; gap: 10px; }
.kl-reiziger { display: flex; flex-direction: column; align-items: center; text-align: center; font-family: var(--mlp-letter); }
.kl-reiziger span { font-weight: 700; }
.kl-reiziger small { font-size: 16px; }
.kl-betaald { text-align: center; font-size: 21px; margin: 10px 0 0; }

/* finale */
.kl-laatstebrief { margin-bottom: 14px; }
.kl-laatstebrief ol { margin: 8px 0 0; padding-left: 26px; font-weight: 700; font-size: 20px; }
.kl-laatstebrief li { padding: 4px 0; }
.kl-logboekcodes { background: #fff; border: 2px solid var(--kl-rand); border-radius: 16px; padding: 12px 16px; }
.kl-logboekcodes ul { list-style: none; margin: 0; padding: 0; }
.kl-logboekcodes li { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; padding: 6px 0; border-bottom: 1px solid #eee2c8; }
.kl-lbtitel { font-weight: 700; }
.kl-cijfers { display: flex; gap: 3px; }
.kl-cijfer { display: flex; flex-direction: column; align-items: center; width: 32px; border: 2px solid var(--kl-goud); border-radius: 6px; background: #fff3cf; line-height: 1.05; }
.kl-cijfer b { font-family: ui-monospace, Consolas, monospace; font-size: 21px; }
.kl-cijfer small { font-size: 11px; color: #6b4f00; }

/* ---------- codeslot ---------- */
.kl-slot { position: sticky; top: calc(var(--kl-balkhoogte) + 12px); background: linear-gradient(170deg, #1d5168, var(--kl-navy)); color: #fff; border: 3px solid #f6d36b; border-radius: 20px; padding: 16px; box-shadow: 0 10px 24px rgba(15,51,70,.25); }
.kl-slot.kl-slot-open { background: linear-gradient(170deg, #1e8a6e, #0d5a4b); }
.kl-slotkop { display: flex; align-items: center; gap: 10px; }
.kl-slotkop svg { width: 44px; height: 44px; fill: none; stroke: #f6d36b; stroke-width: 2; stroke-linecap: round; }
.kl-slotkop b { display: block; font-size: 20px; }
.kl-slotkop span { font-size: 17px; opacity: .9; }
.kl-codeform { margin-top: 10px; display: grid; gap: 8px; }
.kl-codelabel { font-size: 15px; opacity: .9; }
.kl-codeveld { width: 100%; min-height: 64px; font-family: ui-monospace, 'Cascadia Mono', Consolas, monospace; font-size: 32px; font-weight: 700; letter-spacing: .22em; text-align: center; text-transform: uppercase; border-radius: 14px; border: 3px solid #f6d36b; background: var(--kl-papier); color: var(--kl-tekst); padding: 4px 8px; }
.kl-codeveld::placeholder { color: #c9bea6; }
.kl-controleer { width: 100%; min-height: 56px; font-size: 20px !important; background: var(--kl-goud) !important; border-color: #f6d36b !important; color: #2b1b00 !important; box-shadow: 0 3px 0 var(--kl-goud-donker) !important; }
.kl-feedback:empty { display: none; }
.kl-feedback { border-radius: 12px; padding: 10px 12px; font-weight: 700; font-size: 17px; }
.kl-fb-fout { background: #fdeced; color: #8a1c1f; border: 2px solid #d63236; }
.kl-fb-info { background: #fff1db; color: #5b3a00; border: 2px solid #f3d29b; }
.kl-gloed { animation: kl-gloed .9s ease-out; }
@keyframes kl-gloed { 0%, 60% { box-shadow: 0 0 0 6px rgba(214,50,54,.75), 0 0 28px rgba(214,50,54,.8); border-color: #d63236; } }
.kl-geopend { font-size: 19px; margin: 12px 0 6px; }
.kl-vondst { font-size: 17px; margin: 6px 0; }
.kl-hulp { margin-top: 14px; padding-top: 12px; border-top: 2px solid rgba(255,255,255,.25); display: grid; gap: 8px; }
.kl-hulp h3 { margin: 0; font-size: 17px; letter-spacing: .06em; text-transform: uppercase; color: #f6d36b; }
.kl .kl-koopknop { color: #6b4400; }
.kl-koopknop { width: 100%; display: flex !important; justify-content: space-between; align-items: center; }
.kl-koopknop:disabled { opacity: .55; cursor: not-allowed; }
.kl-prijs { color: #6b4400; font-family: ui-monospace, Consolas, monospace; background: #fff; border-radius: 8px; padding: 0 8px; }
.kl-koop small.kl-tip { color: #d8e6ea; display: block; margin: 4px 0 0; font-size: 15px; }
.kl-bevestig { margin: 0 0 8px; font-weight: 700; }
.kl-hulptekst { background: var(--kl-papier); color: var(--kl-tekst); border-radius: 12px; padding: 10px 12px; outline: none; }
.kl-hulptekst > b { color: var(--kl-goud-donker); text-transform: uppercase; font-size: 15px; letter-spacing: .06em; }
.kl-hulptekst p { margin: 4px 0 8px; font-size: 18px; }
.kl-antwoordtekst { border: 3px solid var(--kl-goud); }

/* ---------- overlagen ---------- */
.kl-laag:empty { display: none; }
.kl-overgang { position: fixed; inset: var(--kl-balkhoogte) 0 0 0; z-index: 40; overflow: hidden; background: #0b2230; }
.kl-intro { inset: 0; z-index: 70; }
.kl-ov-beeld { position: absolute; inset: 0; background: var(--beeld) center / cover no-repeat; animation: kl-zoom 6s ease-out both; }
.kl-kenburns { animation: kl-kenburns 14s ease-out both; }
@keyframes kl-zoom { from { transform: scale(1.12); filter: brightness(.6); } to { transform: scale(1); filter: brightness(1); } }
@keyframes kl-kenburns { from { transform: scale(1); } to { transform: scale(1.14) translate(-2%, -1%); } }
.kl-ov-fx { position: absolute; inset: 0; pointer-events: none; }
.kl-ov-kaart { position: absolute; left: 50%; bottom: clamp(14px, 4vh, 40px); transform: translateX(-50%); width: min(560px, calc(100% - 28px)); background: rgba(255,250,240,.97); color: var(--kl-tekst); border: 3px solid var(--kl-goud); border-radius: 20px; padding: 18px 22px; text-align: center; animation: kl-op .5s .2s ease-out both; }
.kl-ov-kaart h2 { margin: 2px 0 6px; font-size: 28px; }
.kl-ov-kaart p { margin: 0 0 12px; font-size: 19px; }
.kl-ov-kaart .kl-tip { margin: 8px 0 0; font-size: 15px; }
.kl-ov-klein { font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--kl-goud-donker); font-size: 15px !important; margin: 0 !important; }
.kl-groot { font-size: 34px; font-variant-numeric: tabular-nums; }
@keyframes kl-op { from { opacity: 0; transform: translate(-50%, 30px); } }
.kl-ondertitel { position: absolute; left: 50%; bottom: 12%; transform: translateX(-50%); max-width: calc(100% - 32px); background: rgba(0,0,0,.72); color: #fff; font-size: clamp(22px, 3vw, 32px); font-weight: 700; padding: 10px 22px; border-radius: 14px; text-align: center; }
.kl-ondertitel:empty { display: none; }
.kl-overslaan { position: absolute; top: 16px; right: 16px; }

/* effecten */
.kl-fx-stof { position: absolute; inset: 0; background-image: radial-gradient(circle, rgba(255,240,200,.9) 1.5px, transparent 2px), radial-gradient(circle, rgba(255,240,200,.6) 1px, transparent 1.5px); background-size: 90px 110px, 60px 70px; animation: kl-stof 4s linear both; opacity: .8; }
@keyframes kl-stof { from { background-position: 0 0, 20px 10px; opacity: 0; } 30% { opacity: .9; } to { background-position: 30px -160px, 0 -120px; opacity: 0; } }
.kl-fx-deur { position: absolute; inset: 0; display: flex; perspective: 1200px; }
.kl-fx-deur i { flex: 1; background: repeating-linear-gradient(90deg, #7a4a24 0 46px, #5e3719 46px 50px); border: 6px solid #3d2410; animation: kl-deur-l 1.6s .3s ease-in-out both; transform-origin: left; }
.kl-fx-deur i + i { transform-origin: right; animation-name: kl-deur-r; }
@keyframes kl-deur-l { to { transform: rotateY(-100deg); opacity: .2; } }
@keyframes kl-deur-r { to { transform: rotateY(100deg); opacity: .2; } }
.kl-fx-lade { position: absolute; left: 50%; top: 22%; width: 260px; height: 110px; margin-left: -130px; background: linear-gradient(#8b5a2b, #5e3719); border: 5px solid #3d2410; border-radius: 8px; animation: kl-lade 1.4s .2s ease-out both; }
.kl-fx-boek { position: absolute; left: 50%; top: -46px; width: 120px; height: 80px; margin-left: -60px; background: #8a1c1f; border: 4px solid #f6d36b; border-radius: 4px 10px 10px 4px; animation: kl-op2 1s 1.3s ease-out both; }
@keyframes kl-lade { from { transform: translateY(60px) scale(.7); opacity: 0; } }
@keyframes kl-op2 { from { transform: translateY(40px); opacity: 0; } }
.kl-fx-kaartstuk { position: absolute; left: 50%; top: 18%; width: 180px; height: 140px; margin-left: -90px; background: #f1dfb0; border: 3px solid #b38b3e; clip-path: polygon(0 8%, 30% 0, 62% 6%, 100% 0, 94% 40%, 100% 78%, 70% 100%, 34% 92%, 0 100%, 6% 54%); animation: kl-stuk 1.6s .2s cubic-bezier(.2,.8,.2,1) both; }
@keyframes kl-stuk { from { transform: translate(260px, -240px) rotate(140deg) scale(.4); opacity: 0; } }
.kl-fx-kist { position: absolute; left: 50%; top: 24%; width: 220px; height: 120px; margin-left: -110px; background: linear-gradient(#8b5a2b, #5e3719); border: 6px solid #e9b43a; border-radius: 10px; }
.kl-fx-deksel { position: absolute; left: -6px; right: -6px; top: -66px; height: 66px; background: linear-gradient(#a06a35, #7a4a24); border: 6px solid #e9b43a; border-radius: 60px 60px 6px 6px; transform-origin: bottom; animation: kl-deksel 1.2s .4s ease-in-out both; display: grid; place-items: center; }
@keyframes kl-deksel { to { transform: rotateX(75deg) translateY(-30px); } }
.kl-fx-ticket { position: absolute; left: 50%; top: 10px; width: 110px; height: 56px; margin-left: -55px; background: #fff3cf; border: 3px dashed #b38b3e; border-radius: 6px; animation: kl-ticket 1s 1.4s ease-out both; }
@keyframes kl-ticket { from { transform: translateY(40px); opacity: 0; } to { transform: translateY(-120px); } }
.kl-fx-rondslot { position: absolute; left: 50%; top: 30px; width: 54px; height: 54px; margin-left: -27px; border-radius: 50%; border: 8px solid #e9b43a; background: #3d2410; animation: kl-draai 1s ease-in-out both; z-index: 2; }
@keyframes kl-draai { to { transform: rotate(270deg); } }
.kl-fx-kapitein .kl-fx-deksel { animation-delay: 1s; }
.kl-fx-kaartrol { position: absolute; left: 50%; top: 10px; width: 150px; height: 46px; margin-left: -75px; background: #f1dfb0; border: 3px solid #b38b3e; border-radius: 22px; animation: kl-ticket 1s 2s ease-out both; }
.kl-fx-sluis { position: absolute; inset: 20% 0 30%; display: flex; justify-content: space-between; }
.kl-fx-sluis i { width: 50%; background: repeating-linear-gradient(0deg, #5e3719 0 20px, #3d2410 20px 24px); animation: kl-sluis-l 1.4s .3s ease-in-out both; }
.kl-fx-sluis i + i { animation-name: kl-sluis-r; }
@keyframes kl-sluis-l { to { transform: translateX(-100%); } }
@keyframes kl-sluis-r { to { transform: translateX(100%); } }
.kl-fx-boten { z-index: 2; position: absolute; left: 0; right: 0; top: 52%; display: flex; justify-content: center; gap: 30px; }
.kl-fx-boten span { animation: kl-invaar 1.6s calc(.9s + var(--i) * .15s) ease-out both; }
.kl-fx-boten svg { width: 90px; height: 62px; }
@keyframes kl-invaar { from { transform: translateX(-60vw); } }
.kl-fx-race { position: absolute; left: 0; right: 0; top: 18%; height: 220px; }
.kl-fx-finish { position: absolute; right: 12%; top: 0; bottom: 0; width: 14px; background: repeating-linear-gradient(0deg, #fff 0 14px, #111 14px 28px); }
.kl-fx-a, .kl-fx-b { position: absolute; left: 4%; display: flex; align-items: center; gap: 4px; color: #fff; font-weight: 700; font-size: 28px; text-shadow: 0 2px 4px #000; }
.kl-fx-a { top: 10px; animation: kl-race-a 2.6s .3s ease-in-out both; }
.kl-fx-b { top: 120px; animation: kl-race-b 2.6s .3s ease-in-out both; }
.kl-fx-a svg, .kl-fx-b svg { width: 110px; height: 76px; }
@keyframes kl-race-a { to { left: calc(88% - 150px); } }
@keyframes kl-race-b { to { left: calc(86% - 160px); } }
.kl-fx-aanmeren { position: absolute; top: 40%; left: 50%; animation: kl-meer 2.4s ease-out both; }
.kl-fx-aanmeren svg, .kl-fx-schip svg { width: 140px; height: 96px; }
@keyframes kl-meer { from { transform: translateX(-60vw); } 80% { transform: translateX(-70px); } to { transform: translateX(-70px) translateY(4px); } }
.kl-fx-golven { position: absolute; left: 0; right: 0; bottom: 0; height: 90px; background: radial-gradient(40px 14px at 40px 20px, rgba(255,255,255,.5), transparent 70%) 0 0 / 80px 30px repeat-x, linear-gradient(transparent, rgba(14,124,116,.35)); animation: kl-golf 4s linear infinite; }
@keyframes kl-golf { to { background-position: 160px 0, 0 0; } }
.kl-fx-steendeur { position: absolute; inset: 0; background: repeating-linear-gradient(0deg, #8f949a 0 50px, #6f757b 50px 54px), #8f949a; animation: kl-steen 2s .3s ease-in both; }
@keyframes kl-steen { to { transform: translateY(-100%); } }
.kl-fx-kluisje { position: absolute; left: 50%; top: 20%; width: 180px; height: 160px; margin-left: -90px; background: linear-gradient(#9aa3ab, #5c646b); border: 6px solid #3d454c; border-radius: 12px; }
.kl-fx-wiel { position: absolute; left: 50%; top: 50%; width: 80px; height: 80px; margin: -40px 0 0 -40px; border-radius: 50%; border: 8px dotted #e9b43a; background: #2c3338; animation: kl-draai 1.4s ease-in-out both; }
.kl-fx-briefje { position: absolute; left: 50%; top: 20px; width: 90px; height: 110px; margin-left: -45px; background: #fdf3d8; border: 2px solid #b38b3e; animation: kl-ticket 1s 1.5s ease-out both; }
.kl-fx-schip { position: absolute; top: 34%; left: -20%; animation: kl-schip 10s ease-out both; }
@keyframes kl-schip { to { left: 30%; } }
.kl-fx-fles { position: absolute; bottom: 14%; right: 18%; width: 28px; height: 66px; border-radius: 10px 10px 8px 8px; background: rgba(170,220,210,.85); border: 3px solid #fff; transform: rotate(70deg); animation: kl-dobber 2.2s ease-in-out infinite; }
@keyframes kl-dobber { 50% { transform: rotate(64deg) translateY(-8px); } }
.kl-fx-stralen { position: absolute; left: 50%; top: 45%; width: 160vmax; height: 160vmax; margin: -80vmax 0 0 -80vmax; background: repeating-conic-gradient(rgba(255,215,90,.35) 0 6deg, transparent 6deg 18deg); animation: kl-stralen 20s linear infinite; mix-blend-mode: screen; }
@keyframes kl-stralen { to { transform: rotate(360deg); } }
.kl-fx-munten i { position: absolute; top: -40px; left: calc(var(--x) * 1%); width: 26px; height: 26px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #fff3b0, #e9b43a 55%, #9a6a00); border: 2px solid #9a6a00; animation: kl-munt 2.6s var(--d) ease-in infinite; }
@keyframes kl-munt { to { transform: translateY(105vh) rotate(540deg); } }

/* ---------- bonus ---------- */
.kl-bonuskaart, .kl-bonusspel, .kl-uitslagkaart { max-width: 760px; margin: 12px auto; background: var(--kl-papier); border: 3px solid var(--kl-goud); border-radius: 22px; padding: clamp(16px, 3vw, 28px); }
.kl-bonuskaart h2, .kl-bonusspel h2 { outline: none; margin: 4px 0 8px; font-size: 28px; }
.kl-bonuskaart .kl-stap { color: var(--kl-goud-donker); }
.kl-bonusbelofte { font-size: 22px; font-weight: 700; background: #fff3cf; border-radius: 12px; padding: 8px 14px; display: inline-block; }
.kl-bonuskop { display: flex; flex-wrap: wrap; gap: 10px 20px; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.kl-bonusklok { min-width: 200px; }
.kl-bonusklok span { font-size: 34px; font-weight: 700; font-variant-numeric: tabular-nums; }
.kl-bonusbalk { height: 14px; border-radius: 999px; background: #e7dcc4; overflow: hidden; }
.kl-bonusbalk i { display: block; height: 100%; width: 100%; background: linear-gradient(90deg, #2f9e44, #e9b43a); transition: width .25s linear; }
.kl-bonusverdiend { font-size: 20px; margin: 0; }
.kl-memory { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.kl-mkaart { position: relative; aspect-ratio: 3 / 4; min-height: 96px; border: 0; padding: 0; background: none; cursor: pointer; perspective: 800px; font: inherit; }
.kl-mkaart > span { position: absolute; inset: 0; border-radius: 14px; display: grid; place-items: center; backface-visibility: hidden; transition: transform .35s ease; }
.kl-mvoor { background: #fff; border: 4px solid #b7d6cf; transform: rotateY(180deg); }
.kl-mvoor svg { width: 60%; height: auto; }
.kl-machter { background: radial-gradient(circle at 50% 50%, #f6d36b 0 14%, transparent 15%), repeating-linear-gradient(45deg, #0e7c74 0 12px, #0b6a63 12px 24px); border: 4px solid #f6d36b; }
.kl-mkaart.kl-om .kl-mvoor { transform: rotateY(0); }
.kl-mkaart.kl-om .kl-machter { transform: rotateY(-180deg); }
.kl-mkaart.kl-gevonden .kl-mvoor { border-color: #2f9e44; background: #e6f6e9; }
.kl-bonusklaar { margin-top: 16px; padding: 14px 18px; border-radius: 16px; background: #e6f6e9; border: 2px solid #2f9e44; }
.kl-bonusklaar h3 { margin: 0 0 4px; }

/* ---------- uitslag ---------- */
.kl-uitslagkaart { text-align: center; }
.kl-uitslagkaart h2 { font-size: 34px; outline: none; }
.kl-uit-team { font-size: 21px; margin: 0; }
.kl-uittabel { margin: 14px auto; border-collapse: collapse; font-size: 19px; min-width: min(420px, 100%); }
.kl-uittabel th, .kl-uittabel td { padding: 7px 14px; border-bottom: 1px solid var(--kl-rand); text-align: left; }
.kl-uittabel td { text-align: right; font-variant-numeric: tabular-nums; font-weight: 700; }
.kl-uit-eind th, .kl-uit-eind td { font-size: 28px; background: #fff3cf; }
.kl-uitslagkaart .kl-ranglijst { margin: 12px auto; text-align: left; max-width: 420px; }
.kl-uitknoppen { justify-content: center; margin-top: 12px; }
.kl-uitknoppen a { text-decoration: none; color: inherit; display: inline-flex; align-items: center; }

/* ---------- dialogen ---------- */
.kl-dialoog { position: fixed; inset: 0; z-index: 80; background: rgba(8,24,34,.6); display: grid; place-items: center; padding: 12px; }
.kl-dl-doos { width: min(640px, 100%); max-height: calc(100dvh - 24px); overflow: auto; background: var(--kl-papier); border: 3px solid var(--kl-goud); border-radius: 20px; padding: 16px 20px 20px; }
.kl-dl-breed .kl-dl-doos { width: min(920px, 100%); }
.kl-dl-kop { display: flex; justify-content: space-between; align-items: center; gap: 10px; position: sticky; top: -16px; background: var(--kl-papier); padding: 4px 0; z-index: 2; }
.kl-dl-kop h2 { margin: 0; }
.kl-dl-kop .kl-balkknop { color: var(--kl-navy); border-color: var(--kl-rand); background: #fff; }
.kl-regelstekst ul { padding-left: 22px; }
.kl-regelstekst li { padding: 3px 0; }
.kl-instellingen { display: flex; flex-wrap: wrap; gap: 10px; margin: 12px 0; }
.kl-nieuw { margin-top: 16px; padding-top: 12px; border-top: 2px solid var(--kl-rand); }
.kl-gevaar { color: #8a1c1f !important; border-color: #f0b3b5 !important; }
.kl-lb-kaart { position: relative; aspect-ratio: 16 / 9; border-radius: 16px; overflow: hidden; background: var(--beeld) center / cover no-repeat; border: 3px solid var(--kl-goud); margin-bottom: 12px; }
.kl-pin { position: absolute; transform: translate(-50%, -50%); display: flex; flex-direction: column; align-items: center; }
.kl-pin b { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: #fff; color: var(--kl-navy); border: 3px solid var(--kl-navy); }
.kl-pin span { font-size: 13px; font-weight: 700; background: rgba(255,255,255,.92); padding: 0 6px; border-radius: 6px; white-space: nowrap; }
.kl-pin.kl-gezien b { background: var(--kl-goud); }
.kl-pin.kl-hier b { background: var(--kl-teal); color: #fff; box-shadow: 0 0 0 6px rgba(47,189,167,.45); animation: kl-pinpuls 1.6s ease-in-out infinite; }
@keyframes kl-pinpuls { 50% { box-shadow: 0 0 0 12px rgba(47,189,167,.15); } }
.kl-lb-lijst { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.kl-lb-lijst li { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 12px; background: #fff; border: 2px solid var(--kl-rand); }
.kl-lb-nr { display: grid; place-items: center; flex: none; width: 34px; height: 34px; border-radius: 50%; background: #ddd; font-weight: 700; }
.kl-lb-ok .kl-lb-nr { background: var(--kl-goud); }
.kl-lb-nu { border-color: var(--kl-teal) !important; }
.kl-lb-nu .kl-lb-nr { background: var(--kl-teal); color: #fff; }
.kl-lb-dicht { opacity: .6; }
.kl-lb-bonus .kl-lb-nr { background: #fff3cf; color: var(--kl-goud-donker); }
.kl-lb-mid { flex: 1; display: flex; flex-direction: column; }
.kl-lb-mid small { color: #4f6968; font-size: 15px; }

/* ---------- springknop naar het slot (alleen als het slot onder de puzzel staat) ---------- */
.kl-naarslot { display: none; }
@media (max-width: 980px) {
  .kl-naarslot { display: inline-flex; align-items: center; gap: 8px; position: fixed; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 25; min-height: 52px; padding: 8px 16px; border-radius: 999px; border: 3px solid #f6d36b; background: var(--kl-navy); color: #fff !important; font: inherit; font-weight: 700; box-shadow: 0 6px 16px rgba(0,0,0,.3); cursor: pointer; }
  .kl-naarslot svg { width: 24px; height: 24px; fill: none; stroke: #f6d36b; stroke-width: 2; }
  .kl-naarslot.kl-verborgen { display: none; }
}
@media (max-width: 520px) {
  .kl-kn { display: none; }
  .kl-tabel { font-size: 16px; }
  .kl-tabel th, .kl-tabel td { padding: 6px 8px; }
  .kl-streep { padding: 6px 8px; }
  .kl-tabel thead th { font-size: 14px; }
  .kl-klad { margin-left: 42px; width: calc(100% - 42px); }
  .kl-symrij { gap: 6px; }
  .kl-symbox { width: 46px; height: 46px; }
  .kl-sleutelletter { font-size: 21px; }
  .kl-sleuteltabel th[scope="row"] { padding: 6px 8px; }
}
@media (max-width: 1100px) { .kl-merk { display: none; } }
@media (max-width: 900px) { .kl-balkknop span { display: none; } .kl-balkknop { padding: 6px; } }

/* ---------- smalle schermen ---------- */
@media (max-width: 980px) {
  .kl-werk { grid-template-columns: minmax(0, 1fr); }
  .kl-slot { position: static; }
}
@media (max-width: 760px) {
  .kl { --kl-balkhoogte: 60px; }
  .kl-merk { display: none; }
  .kl-balk { padding: 6px 8px; gap: 6px; }
  .kl-balkknop span { display: none; }
  .kl-balkknop { padding: 6px; }
  .kl-score { gap: 3px; justify-content: flex-start; }
  .kl-cel { min-width: 0; flex: 1; padding: 3px 4px; }
  .kl-cel span { font-size: 10px; letter-spacing: 0; }
  .kl-cel b { font-size: 16px; }
  .kl-scene { padding: 14px; min-height: 160px; }
  .kl-main { padding: 10px 10px 40px; }
  .kl-ligplaatsen { gap: 4px; }
  .kl-ligplaats { min-height: 128px; padding-top: 28px; }
  .kl-boot { min-width: 72px; padding: 4px; }
  .kl-boot svg { width: 48px; height: 33px; }
  .kl-bootcijfer { font-size: 22px; }
  .kl-bootnaam { font-size: 15px; }
  .kl-symbox { width: 50px; height: 50px; }
  .kl-memory { gap: 8px; }
  .kl-startbeeld { align-items: flex-start; }
}
@media (max-width: 430px) {
  .kl-balkknop#kl-regels { display: none; }
  .kl-cel b { font-size: 15px; }
}

/* ---------- minder beweging ---------- */
.kl-rustig *, .kl-rustig *::before, .kl-rustig *::after { animation: none !important; transition: none !important; }
.kl-rustig .kl-fx-deur, .kl-rustig .kl-fx-steendeur, .kl-rustig .kl-fx-sluis, .kl-rustig .kl-fx-stof { display: none; }
@media (prefers-reduced-motion: reduce) {
  .kl *, .kl *::before, .kl *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition: none !important; }
  .kl .kl-fx-deur, .kl .kl-fx-steendeur, .kl .kl-fx-sluis { display: none; }
}

/* ---------- echte films (mp4) over de illustratie ---------- */
.kl-film { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: transparent; }
.kl-met-film .kl-ov-fx { display: none; }
.kl-met-film .kl-ov-beeld { animation: none; }

/* ---------- lof bij de finale ---------- */
.kl-lof { text-align: left; margin: 4px 0 12px; display: grid; gap: 4px; max-height: 34vh; overflow: auto; }
.kl-lof p { margin: 0 !important; font-size: 18px !important; padding: 4px 10px; border-radius: 10px; border-left: 5px solid #e7dcc4; transition: background .3s; }
.kl-lof p.kl-nu { background: #fff3cf; border-left-color: var(--kl-goud); font-weight: 700; }
