@font-face { font-family: "Nunito"; font-weight: 500 800; font-display: swap; src: url("fonts/nunito-latin.woff2") format("woff2"); }
@font-face { font-family: "Pacifico"; font-weight: 400; font-display: swap; src: url("fonts/pacifico-latin.woff2") format("woff2"); }
:root {
  --ink: #173447; --sky: #3AB0E2; --coral: #E96656; --sun: #FCB900; --forest: #4E7C5F;
  --bg: #f4f7f0; --white: #fff; --muted: #3d5a6b; --line: #cfe0d7;
  --bar-h: 56px; --sheet-vis: 300px; --r: 10px;
  --safe-b: env(safe-area-inset-bottom, 0px); --safe-t: env(safe-area-inset-top, 0px);
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { height: 100%; margin: 0; }
body { background: var(--bg); color: var(--ink); font: 600 1.0625rem/1.45 "Nunito", system-ui, sans-serif; overflow: hidden; -webkit-text-size-adjust: 100%; }
button, select, input { font: inherit; color: inherit; }
a { color: var(--ink); text-underline-offset: 3px; }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 2px; }
svg { width: 24px; height: 24px; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; fill: none; flex: none; }

.app { position: fixed; inset: 0; display: flex; flex-direction: column; }
.bar { min-height: calc(var(--bar-h) + var(--safe-t)); padding: var(--safe-t) 12px 0; display: flex; align-items: center; gap: 10px; background: var(--white); border-bottom: 3px solid var(--ink); z-index: 20; flex: none; }
.brand { display: flex; align-items: center; gap: 8px; text-decoration: none; min-height: 48px; }
.brand-name { font-family: "Pacifico", cursive; font-size: 1.3rem; line-height: 1; white-space: nowrap; }
.net { position: absolute; top: 0; left: 0; right: 0; z-index: 9; margin: 0; padding: 6px 12px; background: var(--sun); color: var(--ink); border-bottom: 2px solid var(--ink); font-weight: 800; font-size: .92rem; text-align: center; }
.bar-btn { margin-left: auto; min-height: 44px; padding: 0 14px 0 10px; display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; border: 2px solid var(--ink); border-radius: 999px; background: var(--white); font-weight: 800; cursor: pointer; }
.bar-btn.is-ready { background: var(--forest); color: var(--white); border-color: var(--forest); }

.stage { position: relative; flex: 1; min-height: 0; }
.map { position: absolute; inset: 0; background: #e8efe4; }
.maplibregl-ctrl-attrib { font-size: 11px; }
.maplibregl-ctrl-bottom-left .maplibregl-ctrl-attrib { padding: 1px 6px; border-radius: 6px; background: rgba(255,255,255,.75); line-height: 1.3; }
.maplibregl-ctrl-attrib-button { display: none; }
.maplibregl-ctrl-attrib a { color: var(--ink); }

/* Kaartknoppen: rechts, boven de lijst, groot genoeg voor een duim */
.ctrls { position: absolute; right: 10px; top: 10px; display: flex; flex-direction: column; gap: 8px; z-index: 6; }
.ctrls.two { display: grid; grid-template-columns: repeat(2, auto); grid-auto-flow: row; }
.ctrl { width: 4.6rem; min-height: 58px; padding: 6px 2px 4px; border: 2px solid var(--ink); border-radius: var(--r); background: var(--white); box-shadow: 3px 3px 0 var(--ink); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; cursor: pointer; }
.ctrl span { font-size: .82rem; text-align: center; font-weight: 800; line-height: 1.1; }
.ctrl[aria-pressed="true"], .ctrl.is-on { background: var(--ink); color: var(--white); }
.fs-exit { position: absolute; left: 10px; top: calc(10px + var(--safe-t)); z-index: 30; min-height: 52px; padding: 0 18px 0 12px; display: flex; align-items: center; gap: 6px; border: 2px solid var(--ink); border-radius: 999px; background: var(--white); box-shadow: 3px 3px 0 var(--ink); font-weight: 800; font-size: 1.05rem; cursor: pointer; }

.legend { position: absolute; left: 10px; bottom: calc(var(--sheet-vis) + 12px); z-index: 7; width: min(320px, calc(100% - 110px)); max-height: calc(100% - var(--sheet-vis) - 24px); overflow-y: auto; background: var(--white); border: 2px solid var(--ink); border-radius: var(--r); box-shadow: 3px 3px 0 var(--ink); padding: 10px 14px; font-size: .95rem; }
.legend h2 { font-size: 1rem; margin: 0 0 6px; }
.legend ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.legend li { display: flex; align-items: center; gap: 10px; }
.legend p { margin: 8px 0 0; font-size: .85rem; color: var(--muted); }
.lg { flex: none; display: inline-block; }
.lg-line { width: 30px; height: 7px; border-radius: 4px; border: 1.5px solid var(--ink); }
.lg-ey { background: var(--sun); } .lg-w { background: var(--forest); } .lg-f { background: var(--coral); }
.lg-camp { width: 22px; height: 22px; border-radius: 22%; border: 2px solid var(--ink); background: url("icons/logo-96.png") center/contain no-repeat var(--white); background-origin: content-box; padding: 1.5px; }
.lg-me { width: 18px; height: 18px; border-radius: 50%; background: var(--sky); border: 3px solid var(--white); box-shadow: 0 0 0 2px var(--ink); }
.kp { min-width: 30px; min-height: 30px; line-height: 1.1; padding: 0 4px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; font-weight: 800; font-size: .9rem; }
.kp-w { background: var(--forest); color: var(--white); border: 2px solid var(--white); box-shadow: 0 0 0 1.5px var(--forest); }
.kp-f { background: var(--white); color: var(--coral); border: 3px solid var(--coral); }

.toast { position: absolute; left: 50%; top: 12px; transform: translateX(-50%); z-index: 40; max-width: calc(100% - 24px); background: var(--ink); color: var(--white); border-radius: var(--r); padding: 10px 16px; font-weight: 700; opacity: 0; pointer-events: none; transition: opacity .2s; }
.toast.is-on { opacity: 1; }
.app.is-follow .toast { top: auto; bottom: calc(260px + var(--safe-b)); }

/* Uitschuifbare lijst (mobiel) */
.sheet { position: absolute; left: 0; right: 0; bottom: 0; height: var(--sheet-vis); background: var(--white); border-top: 3px solid var(--ink); border-radius: 16px 16px 0 0; box-shadow: 0 -4px 18px rgba(23,52,71,.18); z-index: 10; display: flex; flex-direction: column; transition: height .22s ease; }
.sheet.is-drag { transition: none; }
.sheet-handle { flex: none; height: 44px; width: 100%; border: 0; background: none; cursor: grab; display: flex; align-items: center; justify-content: center; touch-action: none; }
.sheet-handle span { width: 54px; height: 6px; border-radius: 3px; background: var(--ink); opacity: .55; }
.sheet-body { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 0 14px calc(24px + var(--safe-b)); touch-action: pan-y; -webkit-overflow-scrolling: touch; }
.sheet[data-snap="peek"] .sheet-body { overflow: hidden; }

.filters { display: flex; flex-wrap: wrap; gap: 8px; padding: 2px 0 8px; }
.chip { min-height: 48px; padding: 0 14px; display: inline-flex; align-items: center; gap: 6px; border: 2px solid var(--ink); border-radius: 999px; background: var(--white); font-weight: 800; cursor: pointer; }
.chip svg { width: 22px; height: 22px; }
.chip.is-on { background: var(--ink); color: var(--white); }
.chip-w.is-on { background: var(--forest); border-color: var(--forest); }
.chip-f.is-on { background: var(--coral); border-color: var(--coral); color: var(--ink); }
.sel select { min-height: 48px; border: 2px solid var(--ink); border-radius: 999px; padding: 0 12px; background: var(--white); font-weight: 800; }

.sec { font-size: 1.15rem; font-weight: 800; margin: 16px 0 2px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.sec-sub { margin: 0 0 10px; color: var(--muted); font-size: 1.0625rem; }
.count { font-weight: 700; color: var(--muted); font-size: .95rem; }
.tip { display: inline-block; background: var(--sun); color: var(--ink); border: 2px solid var(--ink); border-radius: 6px; padding: 0 8px; font-size: .85rem; font-weight: 800; }
.cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.card { width: 100%; text-align: left; display: grid; grid-template-columns: 44px 1fr; gap: 4px 12px; align-items: center; padding: 12px; min-height: 64px; border: 2px solid var(--ink); border-radius: var(--r); background: var(--white); cursor: pointer; }
.card:hover { box-shadow: 3px 3px 0 var(--ink); }
.card.is-sel { box-shadow: 4px 4px 0 var(--sky); }
.card .ic { grid-row: span 2; width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.ic-w { background: var(--forest); color: var(--white); } .ic-f { background: var(--coral); color: var(--ink); } .ic-ey { background: var(--sun); color: var(--ink); border: 2px solid var(--ink); }
.card .t { font-weight: 800; font-size: 1.15rem; line-height: 1.25; }
.card .m { color: var(--muted); font-size: 1.0625rem; }
.card .kps { grid-column: 2; display: flex; flex-wrap: wrap; gap: 4px; margin-top: 4px; }
.card .kps .kp { min-width: 28px; min-height: 28px; font-size: .9rem; }

.tools { display: grid; gap: 8px; margin: 14px 0 4px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 18px; border-radius: 999px; border: 2px solid var(--ink); font-weight: 800; font-size: 1rem; text-decoration: none; cursor: pointer; text-align: center; }
.btn-main { background: var(--coral); color: var(--ink); }
.btn-calm { background: var(--white); color: var(--ink); }
.btn[disabled] { opacity: .45; cursor: not-allowed; }
.btn-xl { min-height: 60px; font-size: 1.15rem; }
.row { display: flex; flex-wrap: wrap; gap: 8px; }
.row > .btn { flex: 1 1 auto; }

.about { margin-top: 22px; border-top: 2px solid var(--line); padding-top: 8px; font-size: .95rem; }
.about h2 { font-size: 1.05rem; margin: 12px 0 4px; }
.about p { margin: 0 0 8px; }
.offline-box { display: grid; gap: 8px; }
.progress { height: 12px; border: 2px solid var(--ink); border-radius: 999px; overflow: hidden; background: var(--white); }
.progress span { display: block; height: 100%; width: 0; background: var(--forest); transition: width .2s; }
.offline-status { font-weight: 800; }

/* Detail */
.back { min-height: 48px; padding: 0 14px 0 8px; margin: 0 0 6px; border: 0; background: none; font-weight: 800; color: var(--ink); text-decoration: underline; cursor: pointer; }
.back::before { content: "\2039"; font-size: 1.6rem; margin-right: 6px; text-decoration: none; display: inline-block; }
.d-title { font-size: 1.35rem; line-height: 1.2; margin: 0 0 6px; font-weight: 800; }
.badges { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.badge { border: 2px solid var(--ink); border-radius: 6px; padding: 0 8px; font-size: .85rem; font-weight: 800; }
.badge-w { background: var(--forest); color: var(--white); border-color: var(--forest); } .badge-f { background: var(--coral); border-color: var(--coral); } .badge-ey { background: var(--sun); } .badge-own { background: var(--sky); border-color: var(--sky); }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 8px 0 10px; }
.facts div { border: 2px solid var(--line); border-radius: var(--r); padding: 6px 8px; }
.facts span { display: block; font-size: .9rem; color: var(--muted); }
.facts strong { font-size: 1.05rem; }
.d-facts { color: var(--muted); margin: 6px 0; }
.kp-seq { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 4px; padding: 0; margin: 6px 0 8px; align-items: center; }
.kp-seq li { display: inline-flex; align-items: center; gap: 4px; }
.kp-seq li + li::before { content: ""; width: 10px; height: 2px; background: var(--ink); display: inline-block; }
.kp-seq .kp { min-width: 36px; height: 36px; font-size: 1rem; }
.hl { padding-left: 20px; margin: 6px 0 10px; }
.hl li { margin-bottom: 6px; }
.hl small { color: var(--muted); font-weight: 600; }
.note { background: var(--bg); border-radius: var(--r); padding: 8px 12px; font-size: .92rem; margin: 8px 0; }
.actions { display: grid; gap: 8px; margin: 10px 0; }
.seg { display: flex; border: 2px solid var(--ink); border-radius: 999px; overflow: hidden; margin: 6px 0; }
.seg-btn { flex: 1; min-height: 48px; border: 0; background: var(--white); font-weight: 800; cursor: pointer; }
.seg-btn.is-on { background: var(--ink); color: var(--white); }
.hint { margin: 6px 0; }

/* Camping-marker en eigen positie */
.camp-marker { display: flex; flex-direction: column; align-items: center; pointer-events: none; }
/* v8c: echt vierkant tegeltje (Bart): gelijke breedte en hoogte incl. rand, ronde hoeken 22%, logo gecentreerd (contain) met witruimte */
.camp-marker .pin { width: 52px; height: 52px; aspect-ratio: 1; flex: none; border-radius: 22%; background: var(--white); border: 2.5px solid var(--ink); box-shadow: 0 2px 6px rgba(0,0,0,.3); padding: 5px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.camp-marker .pin img { display: block; width: 100%; height: 100%; object-fit: contain; object-position: center; }
.camp-marker .lbl { margin-top: 2px; background: var(--ink); color: var(--white); font-weight: 800; font-size: .8rem; padding: 0 8px; border-radius: 999px; white-space: nowrap; }
.me-marker { width: 34px; height: 34px; display: flex; align-items: center; justify-content: center; position: relative; }
.me-marker .dot { width: 22px; height: 22px; border-radius: 50%; background: var(--sky); border: 4px solid var(--white); box-shadow: 0 0 0 2px var(--ink), 0 2px 6px rgba(0,0,0,.3); }
.me-marker .me-cone { position: absolute; width: 160px; height: 160px; left: -63px; top: -63px; transform-origin: 50% 50%; pointer-events: none; overflow: visible; }
.me-marker.no-heading .me-cone { display: none; }
.me-marker .me-nav { display: none; position: absolute; width: 62px; height: 62px; left: -14px; top: -14px; overflow: visible; transform-origin: 50% 50%; filter: drop-shadow(0 2px 3px rgba(0,0,0,.45)); }
.me-marker.is-nav .dot, .me-marker.is-nav .me-cone { display: none; }
.me-marker.is-nav .me-nav { display: block; }
.me-marker.is-nav.no-heading .me-nav { opacity: .75; }

/* Volgen */
.app.is-follow .bar, .app.is-follow .sheet, .app.is-follow .ctrls, .app.is-follow .legend, .app.is-follow .more-menu { display: none; }
.follow { position: absolute; inset: 0; z-index: 25; pointer-events: none; display: flex; flex-direction: column; justify-content: space-between; }
.follow > * { pointer-events: auto; }
.f-top { margin: calc(8px + var(--safe-t)) 8px 0; background: var(--ink); color: var(--white); border-radius: var(--r); padding: 10px 14px 12px; box-shadow: 0 3px 10px rgba(0,0,0,.25); }
.f-name { margin: 0 0 4px; font-size: 1.05rem; opacity: .9; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.f-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.f-lbl { display: block; font-size: .95rem; font-weight: 700; opacity: .85; }
.f-stats strong { font-size: 2rem; line-height: 1.1; font-weight: 800; }
.f-bar { margin-top: 8px; height: 10px; background: rgba(255,255,255,.25); border-radius: 999px; overflow: hidden; }
.f-bar span { display: block; height: 100%; width: 0; background: var(--sun); }
.f-off { margin: 8px 8px 0; background: var(--coral); color: var(--ink); border: 3px solid var(--ink); border-radius: var(--r); padding: 10px 14px; font-size: 1.1rem; font-weight: 800; }
.f-start { margin: auto 8px; background: var(--white); border: 3px solid var(--ink); border-radius: var(--r); padding: 16px; display: grid; gap: 10px; box-shadow: 4px 4px 0 var(--ink); }
.f-start h2 { margin: 0; font-size: 1.3rem; }
.f-start p { margin: 0; }
.f-priv { background: var(--bg); padding: 8px 10px; border-radius: var(--r); }
.f-bottom { margin: 0 8px calc(8px + var(--safe-b)); display: grid; gap: 8px; }
.f-home { display: grid; grid-template-columns: 52px 1fr auto; align-items: center; gap: 10px; background: var(--white); border: 3px solid var(--ink); border-radius: var(--r); padding: 8px 10px; }
.f-home strong { font-size: 1.35rem; display: block; line-height: 1.15; }
.f-dir { display: block; font-size: .95rem; color: var(--muted); }
.f-home .f-lbl { opacity: 1; color: var(--muted); }
.f-arrow { width: 52px; height: 52px; border-radius: 50%; background: var(--sun); border: 2px solid var(--ink); display: flex; align-items: center; justify-content: center; }
.f-arrow svg { width: 30px; height: 30px; fill: var(--ink); stroke: var(--ink); transition: transform .3s; }
.follow .row .btn { background: var(--white); }
.follow.is-running .f-start { display: none; }
.follow:not(.is-running) .f-bottom { visibility: hidden; }

.dialog { position: absolute; inset: 0; z-index: 50; background: rgba(23,52,71,.45); display: flex; align-items: flex-end; justify-content: center; padding: 12px; }
.dialog-box { width: min(420px, 100%); background: var(--white); border: 3px solid var(--ink); border-radius: 14px; padding: 16px; display: grid; gap: 8px; margin-bottom: var(--safe-b); }
.dialog-box h2 { margin: 0; }
.dialog-box p { margin: 0 0 4px; color: var(--muted); }
.noscript { padding: 20px; }

/* Volledig scherm: balk weg, kaart groot */
.app.is-fs .bar { display: none; }

/* Desktop en tablet liggend: lijst naast de kaart */
@media (min-width: 900px) {
  :root { --sheet-vis: 0px; }
  .stage { display: grid; grid-template-columns: 420px 1fr; grid-template-rows: minmax(0, 1fr); }
  .sheet { position: relative; grid-column: 1; grid-row: 1; height: auto; min-height: 0; overflow: hidden; border-top: 0; border-right: 3px solid var(--ink); border-radius: 0; box-shadow: none; touch-action: auto; }
  .sheet-handle { display: none; }
  .sheet-body { padding-top: 12px; }
  .sheet[data-snap="peek"] .sheet-body { overflow-y: auto; }
  .map { position: relative; grid-column: 2; grid-row: 1; inset: auto; height: 100%; }
  .app.is-fs .stage { grid-template-columns: 0 1fr; }
  .app.is-fs .sheet { display: none; }
  .follow { left: 420px; }
  .app.is-follow .stage { grid-template-columns: 0 1fr; }
  .app.is-follow .follow { left: 0; }
  .f-top, .f-bottom, .f-start, .f-off { width: min(520px, calc(100% - 16px)); margin-left: auto; margin-right: auto; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

/* ---------- v3 ---------- */
.bar-home { margin-left: auto; background: var(--coral); border-color: var(--ink); color: var(--ink); }
.bar-home + .bar-btn { margin-left: 0; }
.bar-btn svg { width: 22px; height: 22px; }
@media (max-width: 520px) { .brand-name { display: none; } .bar { gap: 6px; padding-left: 8px; padding-right: 8px; } .bar-btn { padding: 0 10px 0 8px; } }
.update-bar { flex: none; z-index: 21; min-height: 52px; border: 0; border-bottom: 3px solid var(--ink); background: var(--sun); color: var(--ink); font-weight: 800; font-size: 1.05rem; cursor: pointer; }

.sheet-top { flex: none; display: flex; align-items: center; justify-content: space-between; gap: 6px; padding: 6px 10px 4px; }
.sheet-top .sheet-handle { flex: 0 0 56px; width: 56px; height: 48px; }
.sheet-btn { flex: 1 1 0; min-height: 48px; padding: 4px 10px; border: 2px solid var(--ink); border-radius: 999px; background: var(--white); font-weight: 800; font-size: 1rem; cursor: pointer; line-height: 1.15; }
.sheet-btn#sheet-more { background: var(--ink); color: var(--white); }
.sheet-btn[disabled] { cursor: default; }

.filters { display: grid; gap: 6px; padding: 2px 0 8px; }
.flbl { margin: 6px 0 0; font-weight: 800; }
.seg-kind, .seg-dist { margin: 0; flex-wrap: wrap; }
.seg-kind .seg-btn, .seg-dist .seg-btn { display: inline-flex; align-items: center; justify-content: center; gap: 4px; padding: 6px 8px; font-size: 1rem; min-width: 0; }
.seg-btn + .seg-btn { border-left: 2px solid var(--ink); }
.seg-btn .n { font-weight: 700; opacity: .85; }
.seg-btn svg { width: 22px; height: 22px; }
.seg-kind .seg-btn[data-kind="wandelen"].is-on { background: var(--forest); }
.seg-kind .seg-btn[data-kind="fietsen"].is-on { background: var(--coral); color: var(--ink); }
.chip-kp { justify-content: center; margin-top: 4px; }
.f-summary { margin: 2px 0 0; font-weight: 800; font-size: 1.05rem; }

.badge-concept { background: var(--white); border-style: dashed; }
.card .badge-concept { grid-column: 2; justify-self: start; margin-top: 4px; }
.legend li { font-size: 1rem; }
.legend .btn { margin-top: 10px; width: 100%; }
.lg-poi { width: 18px; height: 18px; border-radius: 50%; background: var(--coral); border: 3px solid var(--white); box-shadow: 0 0 0 1.5px var(--ink); }
.lg-ring { width: 30px; height: 0; border-top: 3px dashed var(--ink); }

.poi-list { list-style: none; padding: 0; margin: 6px 0 10px; display: grid; gap: 8px; }
.poi-btn { width: 100%; display: flex; align-items: center; gap: 12px; text-align: left; min-height: 56px; padding: 8px 12px; border: 2px solid var(--ink); border-radius: var(--r); background: var(--white); cursor: pointer; }
.poi-dot { flex: none; width: 20px; height: 20px; border-radius: 50%; background: var(--coral); border: 3px solid var(--white); box-shadow: 0 0 0 1.5px var(--ink); }
.poi-t { display: grid; } .poi-t strong { font-size: 1.05rem; } .poi-t span { color: var(--muted); }
.poi-note { background: var(--bg); border-radius: var(--r); padding: 8px 10px; color: var(--ink) !important; }

.dialog-box { max-height: calc(100% - 24px); overflow-y: auto; }
.dialog-box p { color: var(--ink); }
.dialog-box .row .btn { flex: 1 1 8rem; }
.home-sum { font-size: 1.35rem; font-weight: 800; margin: 6px 0 !important; }
#home-route, #home-here { display: grid; gap: 8px; }
#home-route[hidden], #home-here[hidden] { display: none; }

.f-off.is-ok { background: var(--forest); color: var(--white); }
.f-cal { margin: 8px 8px 0; background: var(--white); border: 3px solid var(--ink); border-radius: var(--r); padding: 10px 14px; display: grid; gap: 8px; }
.f-cal p { margin: 0; font-weight: 700; }
.f-install { border-top: 2px solid var(--line); padding-top: 10px; display: grid; gap: 8px; }
.f-install h3 { margin: 0; font-size: 1.1rem; }
.inst-steps { margin: 0; padding-left: 22px; } .inst-steps li { margin-bottom: 4px; }
.f-home.is-here { background: var(--forest); color: var(--white); border-color: var(--ink); }
.f-home.is-here .f-arrow { visibility: hidden; }
.f-home.is-here .f-dir, .f-home.is-here .f-lbl { color: var(--white); }
.f-hsrc { display: block; font-size: .9rem; color: var(--muted); }
#f-rotate.is-on { background: var(--ink); color: var(--white); }
.f-start { max-height: calc(100% - 140px); overflow-y: auto; }
@media (min-width: 900px) { .sheet-top { display: none; } .bar-home { margin-left: auto; } }
.seg-kind .seg-btn { flex-direction: column; gap: 0; line-height: 1.15; padding: 6px 4px; }
.seg-kind .seg-btn > svg { display: none; }
.seg-btn .n { display: block; font-size: .9rem; }
@media (min-width: 900px) { .seg-kind .seg-btn > svg { display: inline; } }
/* ---------- v3: betrouwbaarheid ---------- */
.src-line { margin: 10px 0; font-size: .95rem; color: var(--muted); line-height: 1.35; }
.src-line.src-dark { color: var(--white); opacity: .9; margin: 6px 0 0; font-size: .85rem; }
.f-kps { margin: 6px 0 0; font-weight: 800; font-size: 1rem; }
.home-kps { margin: 0; font-weight: 800; background: var(--bg); border-radius: var(--r); padding: 8px 10px; }
.badge-ind { display: inline-block; vertical-align: middle; font-size: .8rem; background: var(--white); border-style: dashed; margin-left: 4px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 700; min-height: 48px; cursor: pointer; padding: 6px 0; }
.check input { width: 26px; height: 26px; flex: none; margin: 2px 0 0; accent-color: var(--ink); }
.check.is-off { opacity: .5; }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.row-2 > #f-rotate { grid-column: 1 / -1; }
.app.is-follow .toast { top: 170px; bottom: auto; }
.f-top .src-line { display: none; }
@media (min-height: 760px) { .f-top .src-line { display: block; } }

/* ---------- v3b ---------- */
/* Kaartknoppen compacter: icoon + kort woord, tikdoel >= 48 px */
.ctrls { gap: 6px; pointer-events: none; }
.ctrls > * { pointer-events: auto; }
.ctrl { width: 3.95rem; min-height: 3.1rem; padding: 4px 2px 3px; gap: 0; }
.ctrl svg { width: 22px; height: 22px; }
.ctrl span { font-size: .68rem; line-height: 1.05; }
.ctrls.two { gap: 6px; }
.ctrls.row { flex-direction: row; }
.ctrls.off { visibility: hidden; }
.ctrl.is-on { background: var(--ink); color: var(--white); }
.more-menu { position: absolute; z-index: 8; display: grid; gap: 6px; padding: 8px; background: var(--white); border: 2px solid var(--ink); border-radius: var(--r); box-shadow: 3px 3px 0 var(--ink); width: max-content; max-width: calc(100% - 100px); }
.more-item { min-height: 52px; display: flex; align-items: center; gap: 10px; padding: 0 16px 0 12px; border: 2px solid var(--ink); border-radius: var(--r); background: var(--white); font-weight: 800; font-size: 1rem; cursor: pointer; text-align: left; }
.more-item.is-on { background: var(--ink); color: var(--white); }
.more-close { justify-content: center; background: var(--bg); }
/* Legenda: eigen paneel, positie uit JS (naast de knoppen, boven de lijst) */
.legend { left: 10px; top: 10px; bottom: auto; width: auto; max-width: 360px; padding: 0 14px 12px; }
.legend-head { position: sticky; top: 0; z-index: 1; background: var(--white); display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 0 8px; margin-bottom: 4px; border-bottom: 2px solid var(--line); }
.legend-head h2 { margin: 0; font-size: 1.1rem; }
.legend .legend-head .btn { margin: 0; width: auto; min-height: 48px; padding: 0 16px; }
.legend li { font-size: .98rem; }
/* Terug: vaste plek links in de kop van de lijst */
.sheet-back { flex: 0 0 auto; min-height: 48px; padding: 0 14px 0 10px; display: inline-flex; align-items: center; gap: 4px; border: 2px solid var(--ink); border-radius: 999px; background: var(--sun); color: var(--ink); font-weight: 800; font-size: 1rem; cursor: pointer; }
.sheet-back span { font-size: 1.6rem; line-height: 1; margin-top: -3px; }
.sheet.has-back .sheet-top .sheet-btn { padding: 4px 8px; font-size: .95rem; }
@media (min-width: 900px) {
  .sheet-top { display: none; }
  .sheet.has-back .sheet-top { display: flex; justify-content: flex-start; padding: 10px 14px 4px; border-bottom: 2px solid var(--line); }
  .sheet.has-back .sheet-top .sheet-btn, .sheet.has-back .sheet-top .sheet-handle { display: none; }
}
/* Lengte en volgorde */
.seg-len { border: 0; border-radius: 0; overflow: visible; display: grid; gap: 6px; grid-template-columns: 1fr 1fr; margin: 0; }
.seg-len[data-n="5"] .seg-btn:first-child { grid-column: span 2; }
.seg-len .seg-btn, .seg-len .seg-btn + .seg-btn { border: 2px solid var(--ink); border-radius: var(--r); display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1.15; padding: 6px 4px; font-size: 1rem; }
.seg-len .seg-btn .t { font-weight: 800; }
.len-sub { margin: 0; color: var(--muted); font-size: .98rem; }
.seg-sort { margin: 0; }
.seg-sort .seg-btn { font-size: 1rem; padding: 6px 4px; }
/* De algemene regel svg { stroke: currentColor } gaf de kegel een donkere rand: uit. */
.me-marker .me-cone, .me-marker .me-cone * { stroke: none; }
/* ---------- v3c: naam Eyveld Ommetjes + ondertitel ---------- */
.brand-txt { display: flex; flex-direction: column; line-height: 1.05; }
.brand-sub { font-size: .8rem; font-weight: 700; color: var(--muted); white-space: nowrap; margin-top: 2px; }
@media (max-width: 899px) { .brand-sub { display: none; } }
@media (max-width: 520px) { .brand-txt { display: none; } }
.app-intro { margin: 0 0 4px; font-size: 1rem; color: var(--muted); }
.app-intro strong { font-family: "Pacifico", cursive; font-weight: 400; font-size: 1.2rem; color: var(--ink); margin-right: 4px; }
@media (min-width: 900px) { .app-intro { display: none; } }
.brand-txt .brand-name { line-height: 1.35; }
.brand-sub { margin-top: 0; }

/* ---------- v3d: update-balk met Later (in de kolom, bedekt niets) ---------- */
.update-bar { display: flex; align-items: stretch; gap: 8px; padding: 6px 10px; cursor: default; }
.update-bar[hidden] { display: none !important; }
.update-go { flex: 1 1 auto; min-height: 48px; border: 2px solid var(--ink); border-radius: 999px; background: var(--white); color: var(--ink); font-weight: 800; font-size: 1rem; cursor: pointer; padding: 4px 12px; }
.update-later { flex: 0 0 auto; min-height: 48px; min-width: 76px; border: 2px solid var(--ink); border-radius: 999px; background: var(--sun); color: var(--ink); font-weight: 800; font-size: 1rem; cursor: pointer; padding: 4px 14px; }

/* ---------- v3e: compact (feedback Bart: minder tekst, filters op één rij) ---------- */
.filters { display: block; padding: 0 0 4px; }
.chiprow { display: flex; align-items: center; gap: 6px; overflow-x: auto; scrollbar-width: none; margin: 0 -14px; padding: 2px 14px 6px; scroll-padding: 14px;
  -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 28px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 28px), transparent); }
.chiprow::-webkit-scrollbar { display: none; }
.chips { display: flex; gap: 6px; flex: none; }
.chip2 { flex: none; min-height: 44px; padding: 0 14px; border: 2px solid var(--ink); border-radius: 999px; background: var(--white); font-weight: 800; font-size: 1rem; cursor: pointer; white-space: nowrap; }
.chip2.is-on { background: var(--ink); color: var(--white); }
#chips-kind .chip2[data-kind="wandelen"].is-on { background: var(--forest); border-color: var(--forest); }
#chips-kind .chip2[data-kind="fietsen"].is-on { background: var(--coral); color: var(--ink); }
.chip-sep { flex: none; width: 2px; height: 28px; background: var(--line); }
.sec { margin: 10px 0 6px; font-size: 1.1rem; }
.sec-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 10px 0 6px; }
.sec-row .sec { margin: 0; }
.sort select { min-height: 44px; padding: 0 30px 0 12px; border: 2px solid var(--ink); border-radius: 999px; background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23173447' stroke-width='2'/%3E%3C/svg%3E") right 10px center / 12px 8px no-repeat; font-weight: 800; font-size: 1rem; -webkit-appearance: none; appearance: none; color: var(--ink); }
.cards { gap: 8px; }
.card { grid-template-columns: 40px 1fr; gap: 2px 10px; padding: 8px 10px; min-height: 0; }
.card .ic { width: 40px; height: 40px; }
.card .t { font-size: 1.1rem; line-height: 1.2; display: flex; flex-wrap: wrap; align-items: center; gap: 2px 8px; }
.card .m { grid-column: 2; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; color: var(--muted); font-size: 1.0625rem; line-height: 1.25; }
.card .kps { margin: 0; gap: 3px; flex-wrap: nowrap; align-items: center; }
.card .kps .kp { min-width: 26px; min-height: 26px; font-size: .82rem; padding: 0 3px; }
.kp-more { font-weight: 800; font-size: .95rem; color: var(--muted); margin-left: 2px; }
.lbl-concept { font-size: .78rem; font-weight: 800; border: 1.5px dashed var(--ink); border-radius: 999px; padding: 0 7px; line-height: 1.5; color: var(--ink); }
.tools-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 4px; }
.btn-sm { min-height: 44px; padding: 0 14px; font-size: .98rem; flex: 1 1 auto; }
.d-intro { margin: 8px 0; }
.d-lbl { margin: 8px 0 2px; font-weight: 800; }
.more-info { margin: 8px 0; border-top: 2px solid var(--line); border-bottom: 2px solid var(--line); }
.more-info summary { min-height: 48px; display: flex; align-items: center; font-weight: 800; cursor: pointer; }
.d-foot { display: flex; flex-wrap: wrap; gap: 4px 16px; margin-top: 8px; }
.linkbtn { min-height: 44px; display: inline-flex; align-items: center; border: 0; background: none; padding: 0; font-weight: 800; color: var(--ink); text-decoration: underline; cursor: pointer; font-size: 1rem; }
#pane-detail .src-line { font-size: .85rem; color: var(--muted); margin-top: 6px; }
.f-disc { font-size: .98rem; }
.f-priv { font-size: .98rem; }

.card .t { flex-wrap: nowrap; min-width: 0; }
.card .tn { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.card .lbl-concept { flex: none; }
.card .m { flex-wrap: nowrap; white-space: nowrap; min-width: 0; overflow: hidden; }
.card .m .mt { flex: none; }
.sheet-top { padding: 4px 10px 2px; }
#list-eyveld, #list-routes { margin-bottom: 4px; }
.sec { margin: 6px 0 6px; }
.chip2 { padding: 0 12px; }
.app-intro-about { display: block !important; margin: 12px 0 4px; }

.card .m { flex-wrap: wrap; white-space: normal; }
.card .m .mt { flex: 0 1 auto; }
.card .kps { flex: none; }
.badges { margin-bottom: 2px; }
.d-sub { margin: 2px 0 8px; font-size: 1.15rem; font-weight: 800; }

.no-results { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 8px 0; font-weight: 800; }
.no-results .btn { flex: 0 0 auto; }

.f-home.is-here #f-nav { display: none; }
.f-home.is-here { grid-template-columns: 1fr; }
.f-home.is-here .f-arrow { display: none; }

/* ---------- v3f: compact startscherm en volgmodus (minstens 65% kaart) ---------- */
.follow:not(.is-running) .f-top, .follow:not(.is-running) .f-bottom, .follow:not(.is-running) .f-side { display: none; }
.follow:not(.is-running) .f-bottom { visibility: visible; }
.f-start { position: absolute; left: 0; right: 0; bottom: 0; margin: 0; border-radius: 16px 16px 0 0; border-width: 3px 0 0; box-shadow: 0 -4px 18px rgba(23,52,71,.25);
  max-height: calc(100% - 8px); overflow-y: auto; padding: 14px 14px calc(14px + var(--safe-b)); gap: 8px; }
.f-start h2 { font-size: 1.25rem; }
.f-disc { margin: 0; font-size: .98rem; color: var(--muted); }
.f-start-btns { display: grid; grid-template-columns: 1fr 1.6fr; gap: 8px; }
.f-start-btns .btn { min-height: 56px; font-size: 1.1rem; }
.f-install { border-top: 2px solid var(--line); padding-top: 8px; }
.f-install h3 { font-size: 1.02rem; margin: 0 0 4px; }
.f-top { padding: 8px 12px 10px; }
.f-name { display: none; }
.f-line { margin: 0; font-size: 1.15rem; line-height: 1.3; }
.f-line strong { font-size: 1.35rem; }
.f-bar { margin-top: 6px; height: 8px; }
.f-kps { margin: 6px 0 0; font-size: .95rem; }
.f-side { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); display: grid; gap: 8px; pointer-events: auto; }
.f-sbtn { width: 52px; min-height: 52px; border: 2px solid var(--ink); border-radius: 12px; background: var(--white); box-shadow: 2px 2px 0 var(--ink); display: flex; flex-direction: column; align-items: center; justify-content: center; cursor: pointer; padding: 2px; }
.f-sbtn svg { width: 24px; height: 24px; }
.f-sbtn span { font-size: .62rem; font-weight: 800; line-height: 1.05; }
.f-sbtn.is-on, .f-sbtn[aria-pressed="true"] { background: var(--ink); color: var(--white); }
.f-bottom { gap: 6px; }
.f-row { display: flex; gap: 8px; align-items: stretch; }
.f-chip { flex: 1 1 auto; min-width: 0; min-height: 52px; display: flex; align-items: center; gap: 8px; padding: 4px 12px 4px 6px; border: 2px solid var(--ink); border-radius: 999px; background: var(--white); font-weight: 800; font-size: 1rem; cursor: pointer; text-align: left; }
.f-chip-t { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.f-chip .f-arrow { width: 40px; height: 40px; flex: none; }
.f-chip .f-arrow svg { width: 22px; height: 22px; }
.f-chip.is-here { background: var(--forest); color: var(--white); }
.f-chip.is-here .f-arrow { display: none; }
.f-stopb, .f-ctr { flex: none; min-height: 52px; padding: 0 16px; background: var(--white); }
.f-home-more { background: var(--white); border: 2px solid var(--ink); border-radius: var(--r); padding: 8px 10px; display: grid; gap: 6px; }
.f-home-more .f-dir { font-size: 1.05rem; font-weight: 800; color: var(--ink); }
.f-home-more .f-hsrc { font-size: .9rem; color: var(--muted); }
.app.is-follow .toast { top: auto; bottom: calc(80px + var(--safe-b)); }

.more-menu { max-width: calc(100% - 20px); }
.more-item { white-space: normal; text-align: left; }
.legend { overflow-x: hidden; }
.legend-head { flex-wrap: wrap; }
.legend li { min-width: 0; overflow-wrap: anywhere; }

/* ---------- v3g: meldingen niet onder de zijknoppen, Stop rechts (bronvermelding links vrij) ---------- */
.follow { justify-content: flex-start; }
.follow .f-bottom { margin-top: auto; }
.f-off, .f-cal { margin-right: 72px !important; }
.f-row { justify-content: flex-end; }
.app.is-follow .maplibregl-ctrl-bottom-left { margin-bottom: calc(4px + var(--safe-b)); }
.app.is-follow .maplibregl-ctrl-attrib { max-width: calc(100vw - 150px); }

/* ---------- v4: na afloop, delen, Mijn tochten ---------- */
.after-box, .share-box { width: min(560px, 100%); }
.after-box h2 { font-size: 1.45rem; }
.after-name { font-weight: 800; font-size: 1.15rem; margin: 0 !important; color: var(--ink) !important; }
.after-map { border: 3px solid var(--ink); border-radius: var(--r); overflow: hidden; background: #e8efe4; aspect-ratio: 1000 / 640; }
.after-map img { display: block; width: 100%; height: 100%; object-fit: cover; }
.chk { display: flex; gap: 10px; align-items: center; min-height: 48px; font-size: .98rem; cursor: pointer; }
.chk input { width: 24px; height: 24px; flex: none; accent-color: var(--ink); }
.after-facts { margin: 0; }
.after-extra { margin: 0 !important; font-weight: 700; }
.after-saved { font-size: .95rem; margin: 0 !important; }
.share-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; position: sticky; top: -16px; background: var(--white); padding: 4px 0; z-index: 1; }
.share-head .btn { min-height: 48px; }
.fmt-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.fmt-btn { min-height: 56px; padding: 6px 8px; border: 2px solid var(--ink); border-radius: var(--r); background: var(--white); font-weight: 800; font-size: 1rem; cursor: pointer; display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1.15; }
.fmt-btn span { font-size: .85rem; font-weight: 700; color: var(--muted); }
.fmt-btn.is-on { background: var(--ink); color: var(--white); }
.fmt-btn.is-on span { color: var(--white); opacity: .85; }
.fmt-btn[disabled] { opacity: .45; cursor: not-allowed; }
.fmt-btn[data-fmt="link"] { grid-column: span 2; }
.share-preview { display: flex; justify-content: center; align-items: center; background: var(--bg); border: 2px solid var(--line); border-radius: var(--r); padding: 8px; min-height: 120px; }
.share-preview img, .share-preview video { display: block; max-width: 100%; max-height: 46vh; border-radius: 8px; box-shadow: 0 2px 8px rgba(0,0,0,.2); }
.share-wait { min-height: 1.2em; font-size: .95rem; margin: 0 !important; }
#share-text { width: 100%; min-height: 7.5em; padding: 10px; border: 2px solid var(--ink); border-radius: var(--r); font: 600 1rem/1.4 "Nunito", system-ui, sans-serif; resize: vertical; }
.ch-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.ch-btn { min-height: 52px; border: 2px solid var(--ink); border-radius: var(--r); background: var(--white); font-weight: 800; font-size: 1rem; cursor: pointer; }
.ch-btn:active { background: var(--sun); }
.ch-more { grid-column: span 3; background: var(--bg); }
.share-help { font-weight: 800; margin: 0 !important; min-height: 1.2em; }
.share-priv { background: var(--bg); border-radius: var(--r); padding: 8px 10px; font-size: .95rem; }
.tour-list { list-style: none; margin: 0 0 6px; padding: 0; display: grid; gap: 8px; }
.tour { border: 2px solid var(--ink); border-radius: var(--r); padding: 10px 12px; display: grid; gap: 4px; }
.tour strong { font-size: 1.1rem; }
.tour .m { color: var(--muted); }
.tour .row .btn { min-height: 48px; }


/* v4b: kaartje vast, cijfers op één regel */
.after-map { aspect-ratio: auto; }
.after-map img { height: auto; aspect-ratio: 1000 / 640; }
.after-facts { display: block; font-size: 1.35rem; font-weight: 800; margin: 0; }

/* v4c: delen in één stap */
.after-note { font-size: .95rem; margin: 0 !important; text-align: center; min-height: 1.3em; }
.after-more { justify-self: center; align-self: center; font-size: .95rem; margin: -4px auto 0; display: flex; }
.after-fmts { margin: 0; }
.after-fmts .seg-btn[disabled] { opacity: .45; cursor: not-allowed; }

/* ---------- v4d: filters zonder scrollen (feedback Bart: "Scrollbare filters? Niet echt gepensioneerden-vriendelijk") ----------
   Rij 1: soort als drie even brede knoppen die altijd passen. Rij 2: één knop "Lengte: alle" die een groot keuzepaneel opent.
   Geen overflow-x, geen eigen scrollvak: alleen de lijst zelf scrolt. Sorteren en knooppunten staan onder Meer. */
.filters { display: grid; gap: 8px; padding: 2px 0 8px; overflow: visible; }
.kind3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
/* tekst schaalt alleen op smalle schermen met grote tekst iets mee, zodat "Wandelen" heel blijft (4,8 x de lettergrootte breed) */
.kbtn { min-width: 0; min-height: 52px; padding: 4px 2px; border: 2px solid var(--ink); border-radius: var(--r); background: var(--white); color: var(--ink);
  font-weight: 800; font-size: min(1.05rem, calc((100vw - 64px) / 15.5)); line-height: 1.15; cursor: pointer; white-space: nowrap; overflow: hidden; }
@media (min-width: 900px) { .kbtn { font-size: 1.05rem; } }
.kbtn.is-on { background: var(--ink); color: var(--white); box-shadow: inset 0 0 0 2px var(--white); }
.kbtn[data-kind="wandelen"].is-on { background: var(--forest); border-color: var(--forest); color: var(--white); }
.kbtn[data-kind="fietsen"].is-on { background: var(--coral); border-color: var(--ink); color: var(--ink); box-shadow: inset 0 0 0 2px var(--white); }
.len-btn { width: 100%; min-height: 52px; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 4px 16px; border: 2px solid var(--ink);
  border-radius: var(--r); background: var(--white); color: var(--ink); font-weight: 800; font-size: 1.05rem; line-height: 1.2; cursor: pointer; text-align: left; }
.len-btn-t { min-width: 0; overflow-wrap: anywhere; }
.len-btn strong { font-weight: 800; }
.len-btn svg { flex: none; width: 16px; height: 11px; fill: none; stroke: currentColor; stroke-width: 2.2; }
.len-btn.is-set { background: var(--sun); }
/* keuzepaneel (lengte, volgorde): grote regels, onderaan, past zonder scrollen */
.pick-dialog .dialog-box { gap: 10px; }
.pick-list { display: grid; gap: 8px; }
.pick { min-height: 56px; width: 100%; display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 2px 10px; padding: 8px 12px 8px 14px;
  border: 2px solid var(--ink); border-radius: var(--r); background: var(--white); color: var(--ink); font-size: 1.1rem; cursor: pointer; text-align: left; }
.pick-t { min-width: 0; font-weight: 800; }
.pick-sub { grid-column: 1 / -1; grid-row: 2; font-weight: 600; font-size: .92rem; line-height: 1.25; color: var(--muted); }
.pick-n { font-weight: 700; font-size: 1rem; color: var(--muted); white-space: nowrap; }
.pick-ok { flex: none; width: 26px; height: 26px; border: 2px solid var(--ink); border-radius: 50%; }
.pick[aria-pressed="true"] { background: var(--ink); color: var(--white); }
.pick[aria-pressed="true"] .pick-sub, .pick[aria-pressed="true"] .pick-n { color: var(--white); }
.pick[aria-pressed="true"] .pick-ok { border-color: var(--white); background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5' fill='none' stroke='%23173447' stroke-width='3'/%3E%3C/svg%3E") center / 18px no-repeat; }
.pick:disabled { opacity: .45; cursor: default; }
.sec-row { margin: 6px 0 6px; }

/* ---------- v4e: delen = Foto of Sticker (feedback Bart: "stuk beter"), geen taalkeuze ---------- */
.after-h { margin: 4px 0 -2px !important; font-weight: 800; font-size: 1.15rem; color: var(--ink) !important; }
.after-stk { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 6px 12px; align-items: center; padding: 10px; border: 2px solid var(--ink); border-radius: var(--r); background: var(--bg); }
.stk-prev { grid-row: 1; width: 62px; height: 70px; border-radius: 8px; display: flex; align-items: center; justify-content: center; overflow: hidden;
  background: linear-gradient(135deg, #3d6b52 0%, #2d4f6b 55%, #8fb6c9 100%); }
.stk-prev img { width: 54px; height: 62px; object-fit: contain; }
.stk-prev img:not([src]) { visibility: hidden; }
.after-stk-t { grid-row: 1; grid-column: 2; margin: 0 !important; font-weight: 800; font-size: 1.05rem; color: var(--ink) !important; line-height: 1.25; }
.after-stk-row { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px; }
.after-stk-row .btn { flex: 1 1 9rem; min-height: 52px; }
.after-stk-note { grid-column: 1 / -1; margin: 0 !important; font-size: .95rem; color: var(--muted) !important; }

/* v5d: knooppuntbolletjes in de lijst niet afknippen (wandel-ring valt buiten de regel) */
.card .m { overflow: visible; padding: 2px 0 2px 2px; }

/* v5d: knoppen in de bovenbalk compacter (Naar camping / Offline) */
.bar-btn { min-height: 38px; padding: 0 10px 0 8px; font-size: .9rem; gap: 3px; border-width: 2px; }
.bar-btn svg { width: 17px; height: 17px; }
@media (max-width: 520px) { .bar-btn { padding: 0 9px 0 7px; } }
.bar-btn { min-height: 36px; font-size: 14px; }
.bar-btn svg { width: 16px; height: 16px; }
/* wandelknooppunten in de lijst even groot als fietsknooppunten: geen ring buitenom */
.card .kps { gap: 4px; }
.card .kps .kp-w { box-shadow: none; border-color: var(--forest); }
/* v5d: knooppuntbolletjes echt rond (breedte = hoogte, schaalt mee met de tekst) */
.kp { width: 2.15em; height: 2.15em; min-width: 0; min-height: 0; padding: 0; flex: none; line-height: 1; letter-spacing: -.02em; }
.card .kps .kp { width: 2.15em; height: 2.15em; min-width: 0; min-height: 0; padding: 0; }
.kp-seq .kp { width: 2.3em; height: 2.3em; min-width: 0; }
