/* ==========================================================================
   Topografie van België (V2.54.0) – zelfde opbouw als Europa Landen en Provincies van België – huisstijl; kleuren, kaart, knop, veld, segment uit css/basis.css
   ========================================================================== */
/* standaard donker (zoals de site), licht via :root.light-mode */
.tb {
  --tb-zee: #10263a; --tb-achter: #22252d; --tb-lijn: #161a24; --tb-meng: #0b0e16;
  --tb-land: #2e3442; --tb-provrand: #1a1e28; --tb-water: #5aa6f0; --tb-kanaal: #3fc1b0; --tb-stad: #ff6b6b; --tb-streek: #b48cf0; --tb-punt: #8fd16a; --tb-doel: #ff9f1c; --tb-naamrand: #10141c; --tb-naam: #eef1f7;
  --tb-t0: #b35a4a; --tb-t1: #b8864a; --tb-t2: #4a9a86; --tb-t3: #5b86bd; --tb-quiz: #4a5164;
  --tb-s0: #353049; --tb-s1: #4c3d7d; --tb-s2: #6a4db5; --tb-s3: #8c6ae0; --tb-s4: #b59df4;
  display: flex; flex-direction: column; gap: 16px;
}
:root.light-mode .tb {
  --tb-zee: #d4e9f7; --tb-achter: #e7e4dd; --tb-lijn: #ffffff; --tb-meng: #ffffff;
  --tb-land: #f3f1e8; --tb-provrand: #ffffff; --tb-water: #2f7fd6; --tb-kanaal: #0f9b8e; --tb-stad: #d63a3a; --tb-streek: #8a5cc9; --tb-punt: #4d9a2e; --tb-doel: #f07800; --tb-naamrand: #ffffff; --tb-naam: #1c2230;
  --tb-t0: #e59f8f; --tb-t1: #f0c389; --tb-t2: #93cfbd; --tb-t3: #8db7e6; --tb-quiz: #cdd3de;
  --tb-s0: #ece6fb; --tb-s1: #cbbcf4; --tb-s2: #a68aea; --tb-s3: #7f57dc; --tb-s4: #5a2cbd;
}
.tb [hidden] { display: none !important; }
.tb .kaart { padding: 20px; }
.tb h2 { font: 600 1.1rem/1.3 var(--font-tekst); margin: 0 0 10px; display: flex; align-items: center; gap: 8px; }
.tb h2 svg.i { width: 18px; height: 18px; color: var(--merk); flex: none; }
.tb h3 { font: 700 var(--fs-xs)/1.3 var(--font-tekst); margin: 16px 0 8px; color: var(--tekst-3); text-transform: uppercase; letter-spacing: .04em; }
.tb-hint { margin: 8px 0 0; font-size: var(--fs-xs); color: var(--tekst-3); line-height: 1.5; }
.tb-laden { margin: 0; padding: 40px; text-align: center; color: var(--tekst-2); }
.tb-laden.fout { color: var(--fout); }

/* modi-tegels */
.tb-modi { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.tb-modi button, .tb-q-soort button {
  display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: var(--r-m); border: 2px solid var(--rand);
  background: var(--vlak); color: var(--tekst); text-align: left; cursor: pointer; transition: border-color .15s, background .15s;
}
.tb-modi button:hover, .tb-q-soort button:hover { border-color: color-mix(in srgb, var(--merk) 50%, var(--rand)); }
.tb-modi button[aria-selected="true"], .tb-q-soort button[aria-checked="true"] { border-color: var(--merk); background: var(--merk-zacht); box-shadow: 0 4px 14px color-mix(in srgb, var(--merk) 20%, transparent); }
.tb-modi button[aria-selected="true"] b, .tb-q-soort button[aria-checked="true"] b { color: var(--merk); }
.tb-modi button[aria-selected="true"] .tb-modi-ic, .tb-q-soort button[aria-checked="true"] .tb-modi-ic { background: var(--merk); color: #fff; }
.tb-modi button:focus-visible, .tb-q-soort button:focus-visible { outline: none; box-shadow: var(--ring); }
.tb-modi-ic { width: 38px; height: 38px; border-radius: var(--r-s); background: var(--vlak-2); color: var(--tekst-2); display: grid; place-items: center; flex: none; }
.tb-modi-ic svg.i { width: 19px; height: 19px; }
.tb-modi button > span:last-child, .tb-q-soort button > span:last-child { display: flex; flex-direction: column; min-width: 0; }
.tb-modi b, .tb-q-soort b { font: 700 var(--fs-s)/1.2 var(--font-tekst); }
.tb-modi small, .tb-q-soort small { font-size: .72rem; color: var(--tekst-3); line-height: 1.25; }

/* werkkaart */
.tb-werk { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(290px, 1fr); gap: 22px; align-items: start; }
.tb-balk { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 10px 16px; margin-bottom: 10px; }
.tb-zoek { position: relative; flex: 1 1 100%; }
.tb-zoek > svg.i { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); width: 17px; height: 17px; color: var(--tekst-3); pointer-events: none; }
.tb .tb-zoek .veld { width: 100%; padding-left: 38px; height: 42px; }
.tb-zoek-lijst { position: absolute; z-index: 20; left: 0; right: 0; top: calc(100% + 4px); margin: 0; padding: 4px; list-style: none; background: var(--vlak); border: 1px solid var(--rand); border-radius: var(--r-m); box-shadow: 0 10px 28px rgba(0, 0, 0, .18); max-height: 320px; overflow: auto; }
.tb-zoek-lijst li { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: var(--r-s); cursor: pointer; }
.tb-zoek-lijst li[aria-selected="true"], .tb-zoek-lijst li:hover { background: var(--merk-zacht); }
.tb-zoek-lijst li b { font-size: var(--fs-s); }
.tb-zoek-lijst li small { margin-left: auto; color: var(--tekst-3); font-size: var(--fs-xs); }
.tb-zoek-lijst li img, .tb-buur img, .tb-rij img { border-radius: 3px; box-shadow: 0 0 0 1px rgba(0, 0, 0, .12); object-fit: cover; flex: none; }
.tb-zoek-lijst .tb-geen { color: var(--tekst-3); cursor: default; }
.tb-kleur-blok { display: flex; flex-direction: column; gap: 5px; }
.tb .tb-kleur { flex-wrap: wrap; }

.tb-kaart { position: relative; border-radius: var(--r-m); overflow: hidden; border: 1px solid var(--rand); background: var(--tb-zee); outline: none; }
.tb-kaart:focus-visible { box-shadow: var(--ring); }
#tb-svg { display: block; width: 100%; height: auto; touch-action: none; cursor: grab; user-select: none; -webkit-user-select: none; }
.tb-kaart.slepen #tb-svg { cursor: grabbing; }
.tb-zee { fill: var(--tb-zee); }
.tb-achter { fill: var(--tb-achter); stroke: var(--tb-lijn); stroke-width: .6; vector-effect: non-scaling-stroke; }
.tb-kader { fill: none; stroke: var(--tekst-3); stroke-width: 1; stroke-dasharray: 5 4; opacity: .55; vector-effect: non-scaling-stroke; pointer-events: none; }
.tb-land { stroke: var(--tb-lijn); stroke-width: 1.1; stroke-linejoin: round; vector-effect: non-scaling-stroke; cursor: pointer; transition: filter .12s; }
.tb-land:hover { filter: brightness(1.08) saturate(1.1); }
.tb-land.buur { stroke: var(--merk); stroke-width: 1.1; stroke-dasharray: 3 2; }
.tb-land.gekozen { stroke: var(--merk); stroke-width: 2.6; filter: brightness(1.06) saturate(1.2) drop-shadow(0 0 3px color-mix(in srgb, var(--merk) 60%, transparent)); }
.tb-land.juist, .tb-bol.juist { fill: var(--ok) !important; stroke: #fff; stroke-width: 2; }
.tb-land.fout, .tb-bol.fout { fill: var(--fout) !important; }
.tb-bol { stroke: var(--tb-lijn); stroke-width: 1.4; vector-effect: non-scaling-stroke; cursor: pointer; }
.tb-bol.gekozen { stroke: var(--merk); stroke-width: 2.6; }
.tb-hs path { fill: #ffd43b; stroke: #5c3d00; stroke-width: 1; vector-effect: non-scaling-stroke; pointer-events: none; }
.tb-hs text { font-family: var(--font-tekst); font-weight: 700; fill: #1a1a2e; stroke: #fff; paint-order: stroke; stroke-linejoin: round; pointer-events: none; }
.tb-zoomknoppen { position: absolute; right: 10px; top: 10px; display: flex; flex-direction: column; gap: 4px; }
.tb-zk { width: 36px; height: 36px; border-radius: var(--r-s); border: 1px solid var(--rand); background: var(--vlak); color: var(--tekst); display: grid; place-items: center; cursor: pointer; box-shadow: 0 2px 6px rgba(0, 0, 0, .12); }
.tb-zk:hover { color: var(--merk); border-color: var(--merk); }
.tb-zk:focus-visible { outline: none; box-shadow: var(--ring); }
.tb-zk svg.i { width: 18px; height: 18px; }
.tb-tip { position: absolute; z-index: 5; pointer-events: none; padding: 4px 10px; border-radius: var(--r-s); background: var(--tekst); color: var(--vlak); font-size: var(--fs-xs); font-weight: 600; white-space: nowrap; opacity: 0; transform: translateY(-100%); transition: opacity .1s; }
.tb-tip.zichtbaar { opacity: 1; }
.tb-legende { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 10px; font-size: var(--fs-xs); color: var(--tekst-2); }
.tb-legende span { display: inline-flex; align-items: center; gap: 6px; }
.tb-legende i { width: 14px; height: 14px; border-radius: 4px; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .12); }

/* landkaart */
.tb-zij { min-width: 0; }
.tb-leeg { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; padding: 40px 16px; color: var(--tekst-2); border: 2px dashed var(--rand); border-radius: var(--r-m); }
.tb-leeg svg.i { width: 34px; height: 34px; color: var(--merk); }
.tb-leeg p { margin: 0; font-weight: 600; color: var(--tekst); }
.tb-leeg small { color: var(--tekst-3); }
.tb-land-kop { display: flex; align-items: center; gap: 14px; margin-bottom: 10px; }
.tb-vlag { width: 96px; height: 64px; object-fit: cover; border-radius: 6px; box-shadow: 0 0 0 1px rgba(0, 0, 0, .12), 0 3px 10px rgba(0, 0, 0, .15); flex: none; }
.tb-land-kop h2 { margin: 0 0 4px; font-size: 1.35rem; }
.tb-regio { display: inline-flex; align-items: center; gap: 6px; font-size: var(--fs-xs); font-weight: 600; color: var(--tekst-2); }
.tb-regio::before { content: ""; width: 10px; height: 10px; border-radius: 3px; background: var(--r); }
.tb-noot { display: flex; gap: 8px; margin: 0 0 12px; padding: 10px 12px; border-radius: var(--r-s); background: var(--let-op-zacht); color: var(--tekst); font-size: var(--fs-xs); line-height: 1.5; }
.tb-noot svg.i { width: 16px; height: 16px; color: var(--let-op); flex: none; margin-top: 1px; }
.tb-feiten { margin: 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 6px; }
.tb-feiten > div { padding: 8px 10px; border-radius: var(--r-s); background: var(--vlak-2); min-width: 0; }
.tb-feiten dt { display: flex; align-items: center; gap: 6px; font-size: .7rem; font-weight: 700; color: var(--tekst-3); text-transform: uppercase; letter-spacing: .03em; }
.tb-feiten dt svg.i { width: 13px; height: 13px; }
.tb-feiten dd { margin: 3px 0 0; font-weight: 700; font-size: var(--fs-s); overflow-wrap: anywhere; }
.tb-feiten dd small { display: block; font-weight: 500; font-size: var(--fs-xs); color: var(--tekst-3); }
.tb-feiten .breed { grid-column: 1 / -1; }
.tb-afk { font: 700 var(--fs-xs)/1 var(--font-code); padding: 3px 7px; border-radius: 6px; background: var(--vlak-2); color: var(--tekst-2); vertical-align: middle; }
.tb-afk-cel { font-family: var(--font-code); font-weight: 600; color: var(--tekst-2); }
.tb-tabel td small { color: var(--tekst-3); font-weight: 500; }
.tb-ster-ic { color: #e6a700; margin-right: 4px; }
.tb-badges { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.tb-badge { display: inline-flex; align-items: center; gap: 4px; padding: 4px 10px; border-radius: var(--r-rond); font-size: var(--fs-xs); font-weight: 700; flex-wrap: wrap; }
.tb-badge svg.i { width: 13px; height: 13px; }
.tb-badge.ja { background: var(--ok-zacht); color: var(--ok); }
.tb-badge.nee { background: var(--vlak-2); color: var(--tekst-3); }
.tb-badge small { flex-basis: 100%; font-weight: 500; color: var(--tekst-2); }
.tb-desc { margin: 12px 0 0; font-size: var(--fs-s); line-height: 1.6; color: var(--tekst-2); }
.tb-vgl { margin-top: 4px; }
.tb-vgl p { margin: 4px 0; display: flex; align-items: center; gap: 8px; font-size: var(--fs-s); font-weight: 600; }
.tb-vgl svg.i { width: 16px; height: 16px; color: var(--merk); flex: none; }
.tb-buren { display: flex; flex-wrap: wrap; gap: 6px; }
.tb-buur { display: inline-flex; align-items: center; gap: 7px; padding: 5px 10px 5px 6px; border-radius: var(--r-rond); border: 1px solid var(--rand); background: var(--vlak); color: var(--tekst); font: 600 var(--fs-xs) var(--font-tekst); cursor: pointer; }
.tb-buur:hover { border-color: var(--merk); color: var(--merk); }
.tb-buur:focus-visible { outline: none; box-shadow: var(--ring); }

/* quiz */
.tb-q-soort { display: grid; grid-template-columns: minmax(0, 1fr); gap: 6px; margin-bottom: 14px; }
.tb-q-filter { flex-wrap: wrap; margin: 5px 0 4px; }
.tb-q-start { margin-top: 14px; width: 100%; justify-content: center; }
.tb-q-kop { display: flex; align-items: center; gap: 10px; font-size: var(--fs-xs); font-weight: 700; color: var(--tekst-2); }
.tb-q-score { margin-left: auto; color: var(--merk); }
.tb-q-voortgang, .tb-q-balk { height: 6px; border-radius: var(--r-rond); background: var(--vlak-2); overflow: hidden; margin: 8px 0 14px; }
.tb-q-voortgang i, .tb-q-balk i { display: block; height: 100%; background: var(--merk); border-radius: inherit; transition: width .25s; }
.tb-q-vraag { margin: 0; font: 600 1.15rem/1.4 var(--font-tekst); }
.tb-q-vraag b { color: var(--merk); }
.tb-q-vlag { display: block; width: 100%; max-width: 260px; height: auto; aspect-ratio: 3 / 2; object-fit: cover; margin: 0 auto 12px; border-radius: 8px; box-shadow: 0 0 0 1px rgba(0, 0, 0, .12), 0 6px 18px rgba(0, 0, 0, .15); }
.tb-q-keuzes { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; margin-top: 14px; }
.tb-q-keuze { min-height: 48px; padding: 8px 10px; border-radius: var(--r-m); border: 2px solid var(--rand); background: var(--vlak); color: var(--tekst); font: 600 var(--fs-s) var(--font-tekst); cursor: pointer; }
.tb-q-keuze:hover:not(:disabled) { border-color: var(--merk); }
.tb-q-keuze:focus-visible { outline: none; box-shadow: var(--ring); }
.tb-q-keuze.juist { border-color: var(--ok); background: var(--ok-zacht); color: var(--ok); }
.tb-q-keuze.fout { border-color: var(--fout); background: var(--fout-zacht); color: var(--fout); }
.tb-q-keuze.uit { opacity: .55; }
.tb-q-keuze:disabled { cursor: default; }
.tb-q-feedback { margin: 14px 0 10px; padding: 10px 12px; border-radius: var(--r-s); font-size: var(--fs-s); line-height: 1.5; }
.tb-q-feedback.ok { background: var(--ok-zacht); color: var(--tekst); }
.tb-q-feedback.ok b { color: var(--ok); }
.tb-q-feedback.nok { background: var(--fout-zacht); color: var(--tekst); }
.tb-q-feedback.nok b { color: var(--fout); }
#tb-q-volgende { width: 100%; justify-content: center; }
.tb-q-eind { text-align: center; padding: 10px 0 4px; }
.tb-q-eind > svg.i { width: 40px; height: 40px; color: #e6a700; }
.tb-q-eind h2 { justify-content: center; margin: 8px 0 4px; }
.tb-q-eind p { margin: 0; color: var(--tekst-2); }
.tb-q-fouten { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; font-size: var(--fs-s); }
.tb-q-fouten span { color: var(--tekst-2); font-weight: 600; }
.tb-q-knoppen { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.tb-q-knoppen .knop { flex: 1; justify-content: center; }
.tb.in-quiz .tb-land { cursor: crosshair; }

/* tabel */
.tb-teller { font: 700 var(--fs-xs) var(--font-code); padding: 2px 8px; border-radius: var(--r-rond); background: var(--vlak-2); color: var(--tekst-2); }
.tb-tabel-wrap { overflow-x: auto; margin-top: 10px; border: 1px solid var(--rand); border-radius: var(--r-m); }
.tb-tabel { width: 100%; border-collapse: collapse; font-size: var(--fs-s); }
.tb-tabel th, .tb-tabel td { padding: 7px 12px; text-align: left; border-bottom: 1px solid var(--rand); white-space: nowrap; }
.tb-tabel tbody tr:last-child th, .tb-tabel tbody tr:last-child td { border-bottom: 0; }
.tb-tabel thead th { position: sticky; top: 0; background: var(--vlak-2); padding: 0; }
.tb-tabel thead button { width: 100%; display: flex; align-items: center; gap: 6px; padding: 10px 12px; border: 0; background: none; color: var(--tekst-2); font: 700 var(--fs-xs) var(--font-tekst); text-transform: uppercase; letter-spacing: .03em; cursor: pointer; }
.tb-tabel thead .getal button { justify-content: flex-end; }
.tb-tabel thead button svg.i { width: 13px; height: 13px; opacity: .45; }
.tb-tabel th[aria-sort="ascending"] button, .tb-tabel th[aria-sort="descending"] button { color: var(--merk); }
.tb-tabel th[aria-sort="ascending"] svg.i, .tb-tabel th[aria-sort="descending"] svg.i { opacity: 1; }
.tb-tabel thead button:focus-visible { outline: none; box-shadow: inset var(--ring); }
.tb-tabel .getal { text-align: right; font-family: var(--font-code); font-weight: 600; }
.tb-tabel tbody tr:hover { background: var(--merk-zacht); }
.tb-rij { display: inline-flex; align-items: center; gap: 10px; border: 0; background: none; padding: 0; color: var(--tekst); font: 700 var(--fs-s) var(--font-tekst); cursor: pointer; text-align: left; }
.tb-rij:hover { color: var(--merk); }
.tb-rij:focus-visible { outline: none; box-shadow: var(--ring); border-radius: 4px; }
.tb-ja { color: var(--ok); font-weight: 700; }
.tb-nee { color: var(--tekst-3); }
.tb-bron { margin: 10px 0 0; font-size: var(--fs-xs); color: var(--tekst-3); }

/* uitleg */
.tb-uitleg ul { margin: 0; padding-left: 20px; color: var(--tekst-2); line-height: 1.7; }
.tb-uitleg li + li { margin-top: 6px; }
.tb-uitleg b { color: var(--tekst); }

@media (max-width: 960px) {
  .tb-werk { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) {
  .tb .kaart { padding: 14px; }
  .tb-modi { gap: 6px; }
  .tb-modi button { flex-direction: column; text-align: center; gap: 4px; padding: 8px 4px; }
  .tb-modi button > span:last-child { align-items: center; }
  .tb-modi small { display: none; }
  .tb-zoomknoppen { right: 6px; top: 6px; }
  .tb-zk { width: 32px; height: 32px; }
  .tb-feiten { grid-template-columns: minmax(0, 1fr); }
  .tb-tabel th, .tb-tabel td { padding: 6px 8px; }
}

/* ---------- kaartlagen ---------- */
.tb-lagen { display: flex; flex-direction: column; gap: 6px; margin-bottom: 10px; }
.tb-lagen .label { margin: 0; }
.tb-lagen-knoppen { display: flex; flex-wrap: wrap; gap: 6px; }
.tb-laag { position: relative; display: inline-flex; align-items: center; gap: 7px; height: 34px; padding: 0 12px; border: 1px solid var(--rand); border-radius: var(--r-rond); background: var(--vlak); font-size: var(--fs-s); font-weight: 600; color: var(--tekst-3); cursor: pointer; user-select: none; }
.tb-laag input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.tb-laag i { width: 14px; height: 14px; border-radius: 4px; border: 2px solid currentColor; opacity: .5; }
.tb-laag:has(input:checked) { border-color: color-mix(in srgb, var(--merk) 50%, var(--rand)); color: var(--tekst); }
.tb-laag:has(input:checked) i { opacity: 1; }
.tb-laag:has(input:focus-visible) { box-shadow: var(--ring); }
.tb-laag-stad:has(input:checked) i { background: var(--tb-stad); border-color: var(--tb-stad); border-radius: 50%; }
.tb-laag-rivier:has(input:checked) i { background: var(--tb-water); height: 4px; border-width: 0; border-radius: 2px; }
.tb-laag-kanaal:has(input:checked) i { border: 0; height: 4px; border-radius: 0; background: repeating-linear-gradient(90deg, var(--tb-kanaal) 0 4px, transparent 4px 6px); }
.tb-laag-streek:has(input:checked) i { background: color-mix(in srgb, var(--tb-streek) 30%, transparent); border-color: var(--tb-streek); border-style: dashed; border-radius: 50%; }
.tb-laag-punt:has(input:checked) i { border: 0; width: 0; height: 0; border-left: 7px solid transparent; border-right: 7px solid transparent; border-bottom: 12px solid var(--tb-punt); border-radius: 0; }

.tb-achter { fill: var(--tb-achter); stroke: var(--tb-lijn); stroke-width: .6; vector-effect: non-scaling-stroke; fill-rule: evenodd; }
.tb-provincie { fill: var(--tb-land); stroke: var(--tb-provrand); stroke-width: 1; vector-effect: non-scaling-stroke; fill-rule: evenodd; }
.tb-streek { fill: color-mix(in srgb, var(--tb-streek) 16%, transparent); stroke: var(--tb-streek); stroke-width: 1.2; stroke-dasharray: 5 4; vector-effect: non-scaling-stroke; cursor: pointer; }
.tb-streek:hover { fill: color-mix(in srgb, var(--tb-streek) 26%, transparent); }
.tb-water { cursor: pointer; }
.tb-water .tb-lijn { fill: none; stroke: var(--tb-water); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.tb-kanaal .tb-lijn { stroke: var(--tb-kanaal); stroke-dasharray: 7 3; stroke-linecap: butt; }
.tb-water .tb-hit { fill: none; stroke: transparent; stroke-width: 14; vector-effect: non-scaling-stroke; pointer-events: stroke; }
.tb-water:hover .tb-lijn { stroke-width: 3.6; }
.tb-stad { fill: var(--tb-stad); stroke: var(--tb-naamrand); stroke-width: 1.4; vector-effect: non-scaling-stroke; cursor: pointer; }
.tb-stad.hoofd { stroke-width: 2.2; }
.tb-punt { fill: var(--tb-punt); stroke: var(--tb-naamrand); stroke-width: 1.2; vector-effect: non-scaling-stroke; cursor: pointer; }
.tb-naam { font-family: var(--font-tekst); font-weight: 600; fill: var(--tb-naam); stroke: var(--tb-naamrand); paint-order: stroke; stroke-linejoin: round; pointer-events: none; }
.tb-naam.hoofd { font-weight: 800; }
.tb-naam-streek { font-style: italic; fill: var(--tb-streek); text-anchor: middle; letter-spacing: .03em; }
.tb-naam-rivier { fill: var(--tb-water); font-style: italic; text-anchor: middle; }
.tb-naam-kanaal { fill: var(--tb-kanaal); font-style: italic; text-anchor: middle; }
.tb-landnaam { font-family: var(--font-tekst); font-weight: 600; fill: var(--tekst-3); text-anchor: middle; letter-spacing: .05em; opacity: .75; pointer-events: none; }
.tb-landnaam.zee { font-style: italic; fill: color-mix(in srgb, var(--tekst-3) 60%, #3b82f6); }
/* gekozen (verkennen), doel (quiz) en fout */
.tb-stad.gekozen, .tb-punt.gekozen { fill: var(--merk); stroke-width: 3; }
.tb-water.gekozen .tb-lijn { stroke: var(--merk); stroke-width: 4.5; }
.tb-streek.gekozen { fill: color-mix(in srgb, var(--merk) 25%, transparent); stroke: var(--merk); stroke-width: 2.2; }
.tb-stad.doel, .tb-punt.doel { fill: var(--tb-doel); stroke-width: 3; }
.tb-water.doel .tb-lijn { stroke: var(--tb-doel); stroke-width: 5; stroke-dasharray: none; }
.tb-streek.doel { fill: color-mix(in srgb, var(--tb-doel) 30%, transparent); stroke: var(--tb-doel); stroke-width: 2.6; stroke-dasharray: none; }
.tb-stad.fout, .tb-punt.fout { fill: var(--fout); }
.tb-water.fout .tb-lijn { stroke: var(--fout); stroke-width: 4; }
.tb-kruis { fill: none; stroke: var(--fout); stroke-width: 3; stroke-linecap: round; vector-effect: non-scaling-stroke; pointer-events: none; }
.tb-kruis.ok { stroke: var(--ok); }
.tb.in-quiz .tb-streek, .tb.in-quiz .tb-water, .tb.in-quiz .tb-stad { cursor: crosshair; }

/* ---------- infopaneel ---------- */
.tb-info-kop { margin-bottom: 12px; }
.tb-info-kop h2 { margin: 6px 0 2px; font-size: 1.35rem; }
.tb-info-kop small { color: var(--tekst-3); font-size: var(--fs-xs); }
.tb-soort { display: inline-flex; align-items: center; gap: 6px; font: 700 .7rem/1 var(--font-tekst); text-transform: uppercase; letter-spacing: .05em; padding: 4px 8px; border-radius: var(--r-rond); background: var(--vlak-2); color: var(--tekst-2); }
.tb-soort::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--c, var(--merk)); }
.tb-soort-stad { --c: var(--tb-stad); } .tb-soort-rivier { --c: var(--tb-water); } .tb-soort-kanaal { --c: var(--tb-kanaal); }
.tb-soort-streek { --c: var(--tb-streek); } .tb-soort-punt { --c: var(--tb-punt); }
.tb-badge { display: inline-flex; align-items: center; gap: 6px; margin: 10px 0 0; padding: 5px 10px; border-radius: var(--r-rond); background: var(--merk-zacht); color: var(--merk-tekst); font-size: var(--fs-xs); font-weight: 700; }
.tb-badge svg.i { width: 14px; height: 14px; }
.tb-desc { margin: 12px 0 0; font-size: var(--fs-s); line-height: 1.6; color: var(--tekst-2); }
.tb-noot { margin: 10px 0 0; font-size: var(--fs-xs); color: var(--tekst-3); }
.tb-q-vraag .tb-soort { vertical-align: middle; margin-right: 4px; }
.tb-chip { display: inline-flex; align-items: center; padding: 5px 10px; border-radius: var(--r-rond); border: 1px solid var(--rand); background: var(--vlak); color: var(--tekst); font: 600 var(--fs-xs) var(--font-tekst); cursor: pointer; }
.tb-chip:hover { border-color: var(--merk); color: var(--merk); }

/* ---------- alles op een rij ---------- */
#tb-lijst { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px 26px; margin-top: 12px; }
.tb-lijst-groep h3 { display: flex; align-items: center; gap: 8px; margin: 0 0 8px; font: 700 var(--fs-s)/1.3 var(--font-tekst); color: var(--tekst); text-transform: none; letter-spacing: 0; }
.tb-lijst-groep h3 small { color: var(--tekst-3); font-weight: 600; }
.tb-bol { width: 11px; height: 11px; border-radius: 50%; background: var(--c); }
.tb-bol-stad { --c: var(--tb-stad); } .tb-bol-rivier { --c: var(--tb-water); } .tb-bol-kanaal { --c: var(--tb-kanaal); } .tb-bol-streek { --c: var(--tb-streek); } .tb-bol-punt { --c: var(--tb-punt); }
.tb-lijst-groep ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.tb-lijst-groep li { display: flex; flex-direction: column; gap: 1px; padding: 6px 0; border-bottom: 1px solid var(--rand-zacht); }
.tb-lijst-naam { align-self: flex-start; border: 0; background: none; padding: 0; color: var(--tekst); font: 700 var(--fs-s) var(--font-tekst); cursor: pointer; text-align: left; }
.tb-lijst-naam:hover { color: var(--merk); }
.tb-lijst-naam:focus-visible { outline: none; box-shadow: var(--ring); border-radius: 4px; }
.tb-lijst-groep li span { font-size: var(--fs-xs); color: var(--tekst-3); line-height: 1.45; }

/* in de quiz: rivieren als lichte achtergrond om je te oriënteren (niet aanklikbaar) */
.orientatie { opacity: .35; pointer-events: none; }
