/* Sportspots website — design system
   Type: Barlow Condensed (headings) + Barlow (text), self-hosted.
   Colours: warm canvas + coral brand; sport categories (brand.ts) only for icons, markers and small accents.
   Contrast: body text ≥ 4.5:1, graphics ≥ 3:1, in light and dark mode. */

@font-face { font-family: "Barlow"; font-weight: 400; font-display: swap; src: url(/static/fonts/barlow-400.woff2) format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 500; font-display: swap; src: url(/static/fonts/barlow-500.woff2) format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 600; font-display: swap; src: url(/static/fonts/barlow-600.woff2) format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 700; font-display: swap; src: url(/static/fonts/barlow-700.woff2) format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 600; font-display: swap; src: url(/static/fonts/barlow-condensed-600.woff2) format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 700; font-display: swap; src: url(/static/fonts/barlow-condensed-700.woff2) format("woff2"); }
/* metric-matched fallbacks: text keeps the same width while the web fonts load (no layout shift) */
@font-face { font-family: "Barlow Fallback"; font-weight: 400; src: local("Arial"), local("Liberation Sans"), local("Helvetica Neue"), local("Roboto"); size-adjust: 90.4%; ascent-override: 100%; descent-override: 20%; line-gap-override: 0%; }
@font-face { font-family: "Barlow Fallback"; font-weight: 500; src: local("Arial"), local("Liberation Sans"), local("Helvetica Neue"), local("Roboto"); size-adjust: 97.2%; ascent-override: 100%; descent-override: 20%; line-gap-override: 0%; }
@font-face { font-family: "Barlow Fallback"; font-weight: 600 700; src: local("Arial Bold"), local("Liberation Sans Bold"), local("Arial-BoldMT"), local("HelveticaNeue-Bold"), local("Roboto Bold"); size-adjust: 89.6%; ascent-override: 100%; descent-override: 20%; line-gap-override: 0%; }
@font-face { font-family: "Barlow Condensed Fallback"; font-weight: 600 700; src: local("Arial Bold"), local("Liberation Sans Bold"), local("Arial-BoldMT"), local("HelveticaNeue-Bold"), local("Roboto Bold"); size-adjust: 75.8%; ascent-override: 100%; descent-override: 20%; line-gap-override: 0%; }

:root {
  color-scheme: light dark;
  --canvas: #FBF8F4;
  --surface: #FFFFFF;
  --fill: #F2EDE6;
  --fill-strong: #E5DCD0;
  --text: #1F1A17;
  --text-2: #5F574F;
  --text-3: #766C63;
  --brand: #EF5A35;
  --accent-ink: #B8401C;
  --btn: #C4441F;
  --btn-hover: #A83817;
  --btn-text: #FFFFFF;
  --accent-soft: #FDE9E2;
  --open-ink: #14632F; --open-bg: #E3F4E8;
  --on-c: #FFFFFF;
  --hair: rgba(31, 26, 23, .10);
  --shadow: 0 1px 2px rgba(90, 58, 34, .06), 0 6px 18px rgba(90, 58, 34, .07);
  --focus: #1F1A17;
  --r-l: 20px;
  --r-m: 14px;
  --r-s: 10px;
  --font: "Barlow", "Barlow Fallback", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --display: "Barlow Condensed", "Barlow Condensed Fallback", system-ui, sans-serif;
  --max: 1160px;
  /* sport categories (light) */
  --c-bal: #15803D; --c-racket: #A16207; --c-water: #0369A1; --c-fitness: #BE185D; --c-dans: #7C3AED;
  --c-lopen: #0F766E; --c-vecht: #B91C1C; --c-outdoor: #7C5A2E; --c-overig: #57534E; --c-denk: #475569;
  /* illustration */
  --kade: #F1E9DE;
  --ill-sun: #FCD9C9; --ill-back: #EADFD2; --ill-front: #DCCBB9; --ill-win: #F7F1EA; --ill-tower: #B8A48E; --ill-tower-d: #EADFD2;
  --ill-tree: #B9CFA7; --ill-trunk: #A8927A; --ill-quay: #C9B8A5; --ill-water: #BFD9E6; --ill-wave: #E4F0F6; --ill-fig: #3B302A; --ill-ball: #EF5A35; --ill-boat: #EF5A35;
}
@media (prefers-color-scheme: dark) {
  :root {
    --canvas: #13110F;
    --surface: #1E1B18;
    --fill: #29251F;
    --fill-strong: #3A342D;
    --text: #F5F0EA;
    --text-2: #C3B9AE;
    --text-3: #A59A8F;
    --accent-ink: #FF9773;
    --btn: #FF7A55;
    --btn-hover: #FF9773;
    --btn-text: #1A0E09;
    --accent-soft: #3A2219;
    --open-ink: #86EFAC; --open-bg: #16301F;
    --on-c: #111111;
    --hair: rgba(255, 255, 255, .12);
    --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 6px 18px rgba(0, 0, 0, .3);
    --focus: #F5F0EA;
    --c-bal: #4ADE80; --c-racket: #FACC15; --c-water: #38BDF8; --c-fitness: #F472B6; --c-dans: #A78BFA;
    --c-lopen: #2DD4BF; --c-vecht: #F87171; --c-outdoor: #D6B188; --c-overig: #A8A29E; --c-denk: #94A3B8;
    --kade: #1C1916;
    --ill-sun: #2E2925; --ill-back: #2A2521; --ill-front: #352E28; --ill-win: #5B4C3C; --ill-tower: #4B4036; --ill-tower-d: #2A2521;
    --ill-tree: #2F4029; --ill-trunk: #4B4036; --ill-quay: #3A322B; --ill-water: #1B3442; --ill-wave: #27495B; --ill-fig: #E9DED2; --ill-ball: #FF7A55; --ill-boat: #FF7A55;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--canvas); color: var(--text); font: 500 17px/1.55 var(--font); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: var(--accent-ink); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--text); }
h1, h2, h3 { font-family: var(--display); line-height: 1.05; letter-spacing: -0.005em; margin: 0 0 .35em; font-weight: 700; }
h1 { font-size: clamp(2.1rem, 6vw, 3.4rem); }
h2 { font-size: clamp(1.55rem, 3.4vw, 2.05rem); }
h3 { font-size: 1.25rem; font-weight: 600; }
p { margin: 0 0 .8em; }
img, svg { max-width: 100%; }
.num, .act-clock, .ev-clock, .slot-time, .slot-price, .stat-n { font-variant-numeric: tabular-nums; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; }
.muted { color: var(--text-2); }
.small { font-size: .9rem; }
.sr-only, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--text); color: var(--canvas); padding: 10px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 6px; }
.ic { display: block; flex: none; }
.tmp { display: inline-block; font-size: .75rem; font-weight: 700; background: #FFF3BF; color: #5C4400; border-radius: 6px; padding: 1px 6px; margin-left: 4px; vertical-align: middle; }

/* sport badge: icon in a tinted circle of the category colour */
.sb { --c: var(--c-overig); width: var(--sb, 40px); height: var(--sb, 40px); flex: none; display: inline-grid; place-items: center; border-radius: 50%; color: var(--c); background: color-mix(in srgb, var(--c) 13%, var(--surface)); }
.sb-bal { --c: var(--c-bal); } .sb-racket { --c: var(--c-racket); } .sb-water { --c: var(--c-water); } .sb-fitness { --c: var(--c-fitness); }
.sb-dans { --c: var(--c-dans); } .sb-lopen { --c: var(--c-lopen); } .sb-vecht { --c: var(--c-vecht); } .sb-outdoor { --c: var(--c-outdoor); }
.sb-overig { --c: var(--c-overig); } .sb-denk { --c: var(--c-denk); }

/* header */
.site-header { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--canvas) 90%, transparent); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px); border-bottom: 1px solid var(--hair); }
.header-row { display: flex; align-items: center; gap: 16px; height: 62px; }
.brand { display: flex; align-items: center; gap: 8px; text-decoration: none; color: var(--text); font: 700 1.45rem/1 var(--display); letter-spacing: .01em; }
.brand-mark { width: 32px; height: 32px; border-radius: 10px; background: var(--brand); color: #fff; display: grid; place-items: center; }
.brand-city { font-weight: 600; color: var(--text-2); }
.main-nav { display: flex; gap: 2px; margin-left: auto; }
.nav-link { text-decoration: none; color: var(--text-2); font-weight: 700; padding: 10px 14px; border-radius: 999px; min-height: 44px; display: inline-flex; align-items: center; }
.nav-link:hover { color: var(--text); background: var(--fill); }
.nav-link.is-active { color: var(--text); background: var(--fill-strong); }
.profile-btn { width: 44px; height: 44px; border-radius: 50%; background: var(--surface); border: 1px solid var(--hair); display: grid; place-items: center; text-decoration: none; font-size: 1.2rem; color: var(--text); }
.profile-btn.is-active { outline: 2px solid var(--brand); }
@media (max-width: 640px) {
  .brand-city { display: none; }
  .main-nav { margin-left: 0; flex: 1; justify-content: center; }
}
@media (max-width: 480px) {
  .brand-name { display: none; }
  .wrap { padding: 0 16px; }
  .header-row { gap: 6px; }
  .nav-link { padding: 10px 10px; font-size: .98rem; }
}

/* hero: text and search first, then a full-bleed skyline strip that flows into the "kade" with the tiles */
.hero { padding: 28px 0 14px; }
.hero h1 { max-width: 16ch; }
.hero .lead { margin-bottom: 0; }
.skyline { position: relative; width: 100%; height: 130px; overflow: hidden; pointer-events: none; }
@media (min-width: 768px) { .skyline { height: 170px; } .hero { padding: 40px 0 18px; } }
@media (min-width: 1280px) { .skyline { height: 200px; } }
.ill { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.kade { background: var(--kade); padding: 6px 0 22px; }
.ill-sun { fill: var(--ill-sun); }
.ill-back { fill: var(--ill-back); }
.ill-front { fill: var(--ill-front); }
.ill-win { fill: var(--ill-win); }
.ill-tower { fill: var(--ill-tower); stroke: var(--ill-tower); stroke-width: 3; }
.ill-tower-d { fill: var(--ill-tower-d); stroke: none; }
.ill-tree { fill: var(--ill-tree); }
.ill-trunk { stroke: var(--ill-trunk); stroke-width: 4; }
.ill-quay { fill: var(--ill-quay); }
.ill-water { fill: var(--ill-water); }
.ill-kade { fill: var(--kade); }
.ill-fade-a { stop-color: var(--ill-water); }
.ill-fade-b { stop-color: var(--kade); }
.ill-wave { fill: none; stroke: var(--ill-wave); stroke-width: 3; }
.ill-fig circle, .ill-bike circle { fill: none; stroke: var(--ill-fig); stroke-width: 3; }
.ill-fig circle:first-child, .ill-bike > circle:nth-of-type(3) { fill: var(--ill-fig); }
.ill-fig path, .ill-bike path { fill: none; stroke: var(--ill-fig); stroke-width: 3.2; stroke-linecap: round; stroke-linejoin: round; }
.ill-ball { fill: var(--ill-ball); }
.ill-boat path:first-child { fill: var(--ill-boat); }
.ill-boat circle { fill: var(--ill-fig); }
.ill-boat path { stroke: var(--ill-fig); stroke-width: 2.6; stroke-linecap: round; }
@media (prefers-reduced-motion: no-preference) {
  .ill-run { animation: bob 0.7s ease-in-out infinite alternate; }
  .ill-ball { animation: ball 1.4s ease-in-out infinite; transform-box: fill-box; }
  .ill-bike { animation: ride 60s linear infinite; }
  .ill-boat { animation: row 12s ease-in-out infinite alternate; }
}
@keyframes bob { to { transform: translateY(-3px); } }
@keyframes ball { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@keyframes ride { from { transform: translateX(-1500px); } to { transform: translateX(1500px); } }
@keyframes row { to { transform: translateX(140px); } }

.lead { font-size: 1.18rem; color: var(--text-2); max-width: 62ch; font-weight: 500; }
.eyebrow { text-transform: uppercase; letter-spacing: .09em; font-size: .8rem; font-weight: 700; color: var(--accent-ink); margin-bottom: .5em; display: flex; align-items: center; gap: 6px; }
.section { margin: 40px 0; }
.section-head { margin-bottom: 14px; }
.section-head.row, .row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.section-head p { margin: 0; }
.section-quiet { background: var(--fill); border-radius: var(--r-l); padding: 22px; }
.sub-h { margin-top: 26px; }
.h-small { font-size: 1.25rem; }
.page-head { padding: 12px 0 8px; }
.card { background: var(--surface); border-radius: var(--r-l); box-shadow: var(--shadow); padding: 20px; border: 1px solid var(--hair); }
.split { display: grid; grid-template-columns: 1fr 1.4fr; gap: 24px; align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.two-col { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 28px; align-items: start; }
.col-side { display: grid; gap: 16px; position: sticky; top: 84px; }
@media (max-width: 900px) { .two-col { grid-template-columns: 1fr; } .col-side { position: static; } }

.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 16px 0 0; margin: 0; font-size: .92rem; color: var(--text-2); }
.crumbs li + li::before { content: "›"; margin-right: 6px; color: var(--text-3); }
.crumbs a { color: var(--text-2); text-decoration: none; }
.crumbs a:hover { color: var(--accent-ink); text-decoration: underline; }
.jump { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.jump a { text-decoration: none; font-weight: 700; font-size: .95rem; color: var(--text); background: var(--surface); border: 1px solid var(--hair); padding: 9px 14px; border-radius: 999px; min-height: 40px; display: inline-flex; align-items: center; }
.jump a:hover { border-color: var(--text-3); }

/* buttons, chips, forms */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; font: 700 1rem/1.2 var(--font); color: var(--btn-text); background: var(--btn); border: 0; border-radius: 999px; padding: 12px 20px; text-decoration: none; cursor: pointer; min-height: 46px; }
.btn:hover { background: var(--btn-hover); color: var(--btn-text); }
.btn-ghost { background: var(--surface); color: var(--text); border: 1px solid var(--hair); }
.btn-ghost:hover { background: var(--fill); color: var(--text); }
.btn-small { padding: 8px 14px; min-height: 40px; font-size: .95rem; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 16px 0 6px; }
.chips, .quick { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; }
.chip { font: 700 .95rem/1.2 var(--font); color: var(--text); background: var(--surface); border: 1px solid var(--hair); border-radius: 999px; padding: 8px 14px; cursor: pointer; text-decoration: none; display: inline-flex; gap: 6px; align-items: center; min-height: 40px; }
.chip:hover { border-color: var(--text-3); color: var(--text); }
.chip.is-on { background: var(--text); color: var(--canvas); border-color: var(--text); }
.chip .sb { --sb: 24px; }
.linkish { font: inherit; color: var(--accent-ink); background: none; border: 0; padding: 0; text-decoration: underline; cursor: pointer; }
label { display: grid; gap: 4px; font-weight: 700; font-size: .92rem; color: var(--text-2); }
input, select, textarea { font: 500 1rem/1.3 var(--font); color: var(--text); background: var(--surface); border: 1px solid var(--fill-strong); border-radius: var(--r-s); padding: 10px 12px; min-height: 46px; width: 100%; }
textarea { min-height: 120px; }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--focus); outline-offset: 1px; }
label.check { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--text); min-height: 40px; }
label.check input { width: 22px; height: 22px; min-height: 0; accent-color: var(--btn); }
fieldset { border: 0; padding: 0; margin: 0; }
legend { font-weight: 700; font-size: .92rem; color: var(--text-2); margin-bottom: 6px; }

.search { display: flex; gap: 10px; margin: 22px 0 14px; max-width: 680px; }
.search input { border-radius: 999px; padding-left: 20px; box-shadow: var(--shadow); border-color: var(--hair); min-height: 52px; font-size: 1.05rem; }
.search .btn { flex: none; min-height: 52px; }
@media (max-width: 480px) {
  .search { margin: 14px 0 0; gap: 8px; }
  .search input { min-height: 48px; font-size: 1rem; padding-left: 16px; }
  .search .btn { min-height: 48px; padding: 10px 16px; }
  .hero { padding-top: 18px; }
  .hero h1 { font-size: 2.15rem; margin-bottom: .25em; }
  .hero .lead { font-size: 1.02rem; }
  .hero .eyebrow { margin-bottom: .3em; }
}

/* compact horizontal rails (homepage "Vandaag" and "Uitgelicht") */
.rail { list-style: none; margin: 0; padding: 2px 2px 10px; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(250px, 78%); gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; }
.rail > li { scroll-snap-align: start; }
@media (min-width: 760px) { .rail { grid-auto-flow: row; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); grid-auto-columns: unset; overflow: visible; } }
.mini { position: relative; height: 100%; display: grid; grid-template-columns: auto 1fr; gap: 4px 10px; align-content: start; background: var(--surface); border: 1px solid var(--hair); border-radius: var(--r-m); padding: 12px; box-shadow: var(--shadow); }
.mini .sb { --sb: 36px; grid-row: span 2; }
.mini-time { font: 700 1.35rem/1 var(--display); font-variant-numeric: tabular-nums; }
.mini-time small { font: 600 .8rem/1 var(--font); color: var(--text-2); margin-left: 4px; }
.mini .act-title { font-size: 1rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.mini .act-meta { grid-column: 1 / -1; font-size: .88rem; }
.mini .badges { grid-column: 1 / -1; margin-top: 2px; }
.mini.is-past { opacity: .5; }
.mini.is-past .mini-time::after, .act.is-past .act-clock::after { content: " · voorbij"; font: 600 .8rem var(--font); color: var(--text-2); }
.act.is-past { opacity: .55; }
.now-tag { font: 700 .75rem/1 var(--font); color: var(--open-ink); background: var(--open-bg); border-radius: 5px; padding: 3px 6px; margin-left: 6px; vertical-align: middle; }
[data-group][hidden] { display: none; }

/* situation tiles (homepage) */
.tiles { list-style: none; margin: 18px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.tile { display: flex; gap: 12px; align-items: center; height: 100%; background: var(--surface); border: 1px solid var(--hair); border-radius: var(--r-m); padding: 16px; text-decoration: none; color: var(--text); box-shadow: var(--shadow); min-height: 76px; }
.tile:hover { border-color: var(--text-3); color: var(--text); }
.tile-ic { width: 44px; height: 44px; flex: none; border-radius: 12px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-ink); }
.tile strong { display: block; font: 700 1.2rem/1.1 var(--display); }
.tile span.muted { font-size: .92rem; }
.tiles { margin: 0; }
@media (max-width: 860px) { .tiles { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) {
  .tiles { gap: 8px; }
  .tile { min-height: 64px; padding: 10px 10px; gap: 8px; }
  .tile-ic { width: 34px; height: 34px; border-radius: 10px; }
  .tile strong { font-size: 1.06rem; }
  .tile span.muted { display: none; }
}

/* activity cards */
.week { display: grid; gap: 22px; }
.day-h { font: 700 1rem/1.2 var(--font); text-transform: uppercase; letter-spacing: .07em; color: var(--text-2); margin-bottom: 8px; }
.acts, .evs { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.act, .ev { position: relative; display: grid; grid-template-columns: auto 74px minmax(0, 1fr); gap: 14px; align-items: start; background: var(--surface); border: 1px solid var(--hair); border-radius: var(--r-m); padding: 14px 16px; box-shadow: var(--shadow); }
.act[hidden], .ev[hidden] { display: none; }
.act:hover { border-color: var(--text-3); }
.act-time, .ev-date { display: grid; line-height: 1.1; }
.act-day, .ev-day { font-size: .8rem; font-weight: 700; color: var(--text-2); text-transform: uppercase; letter-spacing: .05em; min-height: 1em; }
.act-clock, .ev-clock { font: 700 1.55rem/1 var(--display); }
.act-end { font-size: .82rem; color: var(--text-2); margin-top: 2px; }
.act-window { font-size: 1.15rem; white-space: nowrap; }
.act-body { display: grid; gap: 3px; min-width: 0; }
.act-title { font: 700 1.08rem/1.25 var(--font); color: var(--text); text-decoration: none; }
a.act-title::after { content: ""; position: absolute; inset: 0; border-radius: var(--r-m); }
a.act-title:hover { text-decoration: underline; }
a.act-title:focus-visible { outline: none; }
.act:has(a.act-title:focus-visible) { outline: 3px solid var(--focus); outline-offset: 2px; }
.act-title.plain::after { display: none; }
.act-meta { color: var(--text-2); font-size: .95rem; }
.act-meta a { color: var(--text-2); position: relative; z-index: 1; }
.badges { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.badge { font-size: .82rem; font-weight: 700; color: var(--text); background: var(--fill); border-radius: 999px; padding: 3px 10px; }
/* access: plain text, not button-like; "open" is the one that stands out */
.acc { display: inline-flex; align-items: center; gap: 4px; font-size: .86rem; font-weight: 600; color: var(--text-2); padding: 3px 2px; margin-right: 4px; }
.acc-open { color: var(--open-ink); background: var(--open-bg); font-weight: 700; padding: 3px 9px; border-radius: 6px; }
.badge-soft { background: transparent; border: 1px solid var(--fill-strong); font-weight: 600; color: var(--text-2); }
.badge-warn { background: #FFF3BF; color: #5C4400; }
.act-cta { font-weight: 700; font-size: .95rem; color: var(--accent-ink); margin-top: 6px; }
.link-ext { font-size: .92rem; position: relative; z-index: 1; }
.more, .empty { margin-top: 6px; }
.empty { background: var(--fill); padding: 14px 16px; border-radius: var(--r-m); }
.section-quiet .ev, .section-quiet .act { box-shadow: none; }
@media (max-width: 480px) {
  .act, .ev { grid-template-columns: auto minmax(0, 1fr); gap: 10px 12px; padding: 12px 14px; }
  .act > .sb, .ev > .sb { grid-row: span 2; --sb: 36px !important; }
  .act-time, .ev-date { display: flex; gap: 8px; align-items: baseline; }
  .act-clock, .ev-clock { font-size: 1.35rem; }
}

/* location cards / sport tiles */
.loc-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.loc-card { position: relative; background: var(--surface); border: 1px solid var(--hair); border-radius: var(--r-m); padding: 14px 16px; box-shadow: var(--shadow); display: grid; gap: 3px; align-content: start; }
.loc-head { display: flex; gap: 10px; align-items: center; }
.loc-name { font-weight: 700; color: var(--text); text-decoration: none; }
.loc-name:hover { text-decoration: underline; }
.loc-meta { font-size: .95rem; color: var(--text-2); }
.loc-addr { font-size: .9rem; }
.loc-card .btn { justify-self: start; margin-top: 8px; }
.sport-tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(165px, 1fr)); gap: 10px; }
.sport-tile { display: flex; gap: 12px; align-items: center; background: var(--surface); border: 1px solid var(--hair); border-radius: var(--r-m); padding: 12px 14px; text-decoration: none; color: var(--text); box-shadow: var(--shadow); height: 100%; min-height: 64px; }
.sport-tile:hover { border-color: var(--text-3); }
.sport-tile .sb { --sb: 42px; }
.sport-name { font: 700 1.15rem/1.1 var(--display); display: block; }
.sport-count { font-size: .86rem; }
@media (max-width: 480px) { .sport-tiles { grid-template-columns: 1fr 1fr; gap: 8px; } .sport-tile { padding: 10px; gap: 8px; } .sport-tile .sb { --sb: 36px; } }

/* facts, quotes, faq */
.facts dl { display: grid; grid-template-columns: max-content 1fr; gap: 8px 16px; margin: 0; }
.facts dt { color: var(--text-2); font-weight: 700; }
.facts dd { margin: 0; overflow-wrap: anywhere; }
.sources ul, .link-list { margin: 0 0 8px; padding-left: 18px; }
.quote { margin: 0 0 8px; padding: 14px 18px; background: var(--surface); border-left: 4px solid var(--brand); border-radius: 0 var(--r-m) var(--r-m) 0; font-size: 1.02rem; }
.book-card { border: 2px solid var(--accent-soft); }
.faq-list dt { font-weight: 700; margin-top: 14px; }
.faq-list dd { margin: 4px 0 0; color: var(--text-2); }
.az { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.az a { text-decoration: none; font-weight: 700; padding: 8px 11px; background: var(--surface); border: 1px solid var(--hair); border-radius: 8px; color: var(--text); min-width: 40px; text-align: center; }
.az-h { margin-top: 18px; }
.az-list { columns: 3 240px; padding-left: 18px; margin: 0; }
.az-list li { break-inside: avoid; margin-bottom: 4px; }
.prose { max-width: 68ch; }
.prose h2 { margin-top: 1.4em; }
.trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.trust .card { padding: 18px; }
.trust h3 { margin-bottom: .2em; }
@media (max-width: 760px) { .trust { grid-template-columns: 1fr; } }

/* padel finder */
.finder-form { display: grid; gap: 14px; }
.finder-fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.finder-venues { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.finder-form .btn { justify-self: start; }
.finder-edit summary { cursor: pointer; display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: baseline; min-height: 44px; }
.finder-edit[open] summary { margin-bottom: 12px; }
.finder-compact { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.finder-compact .summary { font: 700 1.25rem/1.2 var(--display); }
.finder-compact details { width: 100%; }
.finder-compact summary { cursor: pointer; font-weight: 700; color: var(--accent-ink); min-height: 40px; display: inline-flex; align-items: center; }
.sort { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.venue-status { list-style: none; padding: 0; margin: 0 0 14px; display: grid; gap: 8px; }
.venue-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 12px 16px; }
.venue-row .btn { margin-left: auto; }
.slots { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.slot { display: grid; grid-template-columns: 90px 1fr auto; gap: 14px; align-items: center; background: var(--surface); border: 1px solid var(--hair); border-radius: var(--r-m); padding: 12px 16px; box-shadow: var(--shadow); }
.slot-time { font: 700 1.4rem/1.05 var(--display); }
.slot-time small { display: block; font: 600 .82rem/1.2 var(--font); color: var(--text-2); }
.slot-where strong { display: block; }
.slot-price { text-align: right; }
.slot-price strong { display: block; font: 700 1.35rem/1.1 var(--display); }
.slot .btn { grid-column: 3; justify-self: end; }
@media (max-width: 600px) { .slot { grid-template-columns: 74px 1fr; } .slot-price { grid-column: 2; text-align: left; } .slot .btn { grid-column: 1 / -1; justify-self: stretch; } }

/* samen / profile / forms */
.crew-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px; }
.crew { background: var(--surface); border: 1px solid var(--hair); border-radius: var(--r-m); padding: 16px; box-shadow: var(--shadow); display: grid; gap: 6px; }
.crew-faces { display: flex; gap: 4px; font-size: 1.3rem; }
.profile-form, .provider-form, .stack-form { display: grid; gap: 14px; }
.provider-form .btn, .stack-form .btn { justify-self: start; }
.emoji-pick { display: flex; flex-wrap: wrap; gap: 8px; }
.emoji-pick label { display: block; }
.emoji-pick input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.emoji-pick span { display: grid; place-items: center; width: 48px; height: 48px; font-size: 1.6rem; border-radius: 14px; background: var(--fill); cursor: pointer; }
.emoji-pick input:checked + span { outline: 3px solid var(--btn); background: var(--accent-soft); }
.emoji-pick input:focus-visible + span { outline: 3px solid var(--focus); }
.signup { display: grid; grid-template-columns: 1.2fr 1fr; gap: 20px; align-items: center; }
.signup form { display: flex; gap: 10px; flex-wrap: wrap; }
.signup input[type=email] { flex: 1 1 220px; }
@media (max-width: 760px) { .signup { grid-template-columns: 1fr; } }
.notice { background: var(--fill); border-radius: var(--r-m); padding: 12px 14px; }

/* footer */
.site-footer { margin-top: 64px; padding: 36px 0 28px; border-top: 1px solid var(--hair); background: var(--fill); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 24px; }
.footer-grid nav { display: grid; gap: 2px; align-content: start; }
.footer-grid nav a { color: var(--text); text-decoration: none; min-height: 36px; display: flex; align-items: center; }
.footer-grid nav a:hover { text-decoration: underline; }
.brand-foot, .foot-h { font: 700 1.2rem/1.2 var(--display); margin-bottom: 6px; }
.foot-legal { margin-top: 22px; font-size: .88rem; }
@media (max-width: 720px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > div { grid-column: 1 / -1; } }

/* map page */
body.is-map .site-footer { display: none; }
body.is-map main { height: calc(100dvh - 63px); }
.map-app { display: grid; grid-template-columns: 400px 1fr; height: 100%; }
.map-panel { display: flex; flex-direction: column; overflow: hidden; border-right: 1px solid var(--hair); background: var(--canvas); }
.map-panel-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 14px 16px 0; }
.h-map { font-size: 1.5rem; margin: 0; }
.view-toggle { display: none; gap: 6px; }
.map-filters { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 10px; padding: 12px 16px; border-bottom: 1px solid var(--hair); }
.map-filters label { font-size: .85rem; }
.map-filters select { min-height: 42px; padding: 7px 10px; font-size: .98rem; }
.toggles { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 0 14px; }
.map-count { padding: 8px 16px 4px; margin: 0; }
.map-list { list-style: none; margin: 0; padding: 4px 12px 16px; overflow-y: auto; display: grid; gap: 8px; align-content: start; flex: 1; }
.map-item { background: var(--surface); border: 1px solid var(--hair); border-radius: var(--r-m); padding: 10px 12px; display: grid; grid-template-columns: auto 52px minmax(0, 1fr); gap: 10px; cursor: pointer; align-items: start; }
.map-item .sb { --sb: 32px; }
.map-item:hover, .map-item.is-hl { border-color: var(--text); }
.map-item .act-clock { font-size: 1.25rem; }
.map-item .act-title { font-size: 1rem; }
/* in the map list only the title is a link (the rest of the row zooms the map), so no full-card link overlay:
   without a positioned row it would cover the panel, including the Filters and Kaart/Lijst buttons */
.map-item a.act-title::after { display: none; }
.map-item .act-meta { font-size: .9rem; }
.map-wrap { position: relative; }
.map, .map.maplibregl-map { position: absolute; inset: 0; width: 100%; height: 100%; }
.legend { position: absolute; left: 12px; bottom: 28px; padding: 10px 14px; font-size: .86rem; border-radius: var(--r-m); max-width: 300px; }
.legend p { margin: 3px 0; display: flex; align-items: center; gap: 8px; }
.legend-h { font-weight: 700; cursor: pointer; min-height: 32px; }
.legend-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2px 10px; }
.filters-btn { display: none; }
.filters-done { display: none; }
.lg { display: inline-block; flex: none; width: 14px; height: 14px; border-radius: 50%; background: var(--c); }
.lg-watch { width: 22px; height: 14px; border-radius: 7px; background: var(--surface); border: 2px dashed var(--text-2); }
.lg-cluster { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--c-bal); color: var(--on-c); font-size: .72rem; font-weight: 700; }
.mk { --c: var(--c-overig); display: inline-flex; align-items: center; gap: 5px; background: var(--surface); color: var(--text); border-radius: 999px; padding: 3px 10px 3px 3px; font: 700 14px/1 var(--font); box-shadow: 0 2px 6px rgba(0,0,0,.25); border: 2px solid var(--c); cursor: pointer; white-space: nowrap; min-height: 32px; }
.mk.is-watch { border-style: dashed; border-color: var(--text-2); }
.mk-ic { width: 24px; height: 24px; display: grid; place-items: center; background: var(--c); color: var(--on-c); border-radius: 50%; }
.mk-ic .ic { width: 16px; height: 16px; }
.mk-name { font-weight: 600; max-width: 140px; overflow: hidden; text-overflow: ellipsis; }
.mk-more { color: var(--text-2); font-weight: 600; }
.mk.is-hl { transform: scale(1.12); z-index: 5; }
.cl { --c: var(--text); width: 40px; height: 40px; border-radius: 50%; background: var(--c); color: var(--on-c); display: grid; place-items: center; font: 700 15px/1 var(--font); border: 3px solid var(--surface); box-shadow: 0 2px 8px rgba(0,0,0,.25); cursor: pointer; }
.cl.big { width: 50px; height: 50px; }
.pop h3 { font-size: 1.15rem; margin: 0 0 6px; }
.pop ul { list-style: none; padding: 0; margin: 0 0 6px; display: grid; gap: 4px; font-size: .95rem; }
.pop .t { font-weight: 700; font-variant-numeric: tabular-nums; margin-right: 6px; }
.maplibregl-popup-content { border-radius: 14px; padding: 12px 14px; font-family: var(--font); box-shadow: var(--shadow); background: var(--surface) !important; color: var(--text); }
.maplibregl-popup-tip { border-top-color: var(--surface) !important; border-bottom-color: var(--surface) !important; }
@media (max-width: 860px) {
  .map-app { grid-template-columns: 1fr; position: relative; }
  .view-toggle { display: flex; margin-left: 8px; }
  .map-panel { border-right: 0; }
  .map-app[data-view="kaart"] .map-list, .map-app[data-view="kaart"] .map-count { display: none; }
  .map-app[data-view="kaart"] .map-panel { position: absolute; z-index: 3; left: 0; right: 0; top: 0; background: color-mix(in srgb, var(--canvas) 96%, transparent); max-height: 70%; overflow-y: auto; }
  .map-app[data-view="lijst"] .map-wrap { display: none; }
  .map-app[data-view="kaart"] .map-wrap { position: absolute; inset: 0; }
  .legend { bottom: 30px; font-size: .8rem; padding: 8px 12px; }
  .filters-btn { display: inline-flex; margin-left: auto; }
  .map-panel-head { padding-bottom: 10px; }
  .h-map { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .map-app:not(.filters-open) .map-filters { display: none; }
  .filters-done { display: inline-flex; grid-column: 1 / -1; justify-self: end; }
  /* list rows: day, time and "tot …" stacked in their own column, never over the title */
  .map-item { grid-template-columns: auto 56px minmax(0, 1fr); }
  .map-item .act-time { display: grid; gap: 0; align-items: start; }
  .map-item .act-clock { font-size: 1.15rem; }
  .map-item .act-end { font-size: .76rem; white-space: nowrap; }
  .map-item .act-day:empty { display: none; }
}

.map-loading { position: absolute; z-index: 4; left: 50%; top: 50%; transform: translate(-50%, -50%); display: flex; align-items: center; gap: 10px; background: var(--surface); color: var(--text); border: 1px solid var(--hair); border-radius: 999px; padding: 10px 18px; box-shadow: var(--shadow); font-weight: 600; }
.map-loading[hidden] { display: none; }
.spinner { width: 18px; height: 18px; border-radius: 50%; border: 3px solid var(--fill-strong); border-top-color: var(--btn); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .spinner { animation: none; } }
@media (max-width: 860px) {
  /* zoom/locate buttons bottom-right on mobile, clear of the filter bar */
  .map-wrap .maplibregl-ctrl-top-right { top: auto; bottom: 34px; }
}

/* sticky action bar on mobile (activity pages) */
.sticky-cta { display: none; }
@media (max-width: 640px) {
  .sticky-cta { display: flex; position: sticky; bottom: 0; z-index: 40; gap: 8px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: color-mix(in srgb, var(--canvas) 94%, transparent); border-top: 1px solid var(--hair); backdrop-filter: blur(10px); }
  .sticky-cta .btn { flex: 1; }
}

/* places you can just go to */
.act.place { grid-template-columns: auto minmax(0, 1fr); }
.hours-line { font-size: .95rem; font-weight: 600; color: var(--text-2); }
.hours-line.is-open { color: var(--open-ink); }

.admin-table { border-collapse: collapse; width: 100%; font-size: .95rem; }
.admin-table th, .admin-table td { padding: 6px 10px; border-bottom: 1px solid var(--hair); text-align: left; }
.admin-table td.num, .admin-table th.num { text-align: right; font-variant-numeric: tabular-nums; }

/* compact spot rows */
.pcs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 8px; }
.pc a { display: flex; align-items: center; gap: 10px; background: var(--surface); border: 1px solid var(--hair); border-radius: var(--r-m); padding: 8px 12px; text-decoration: none; color: var(--text); min-height: 52px; }
.pc a:hover { border-color: var(--text-3); }
.pc-t { display: grid; flex: 1; min-width: 0; line-height: 1.2; }
.pc-t strong { font-weight: 700; }
.pc .acc { margin: 0; flex: none; }
.fold { list-style: none; }
.fold summary { cursor: pointer; font-weight: 700; color: var(--accent-ink); min-height: 44px; display: flex; align-items: center; }
.fold .acts { margin-top: 8px; }

/* sport page: key figures, steps, club cards, filters, embedded map */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 8px; margin: 16px 0 6px; }
.stats > div { background: var(--surface); border: 1px solid var(--hair); border-radius: var(--r-m); padding: 10px 14px; }
.stats dt { font-size: .85rem; font-weight: 600; color: var(--text-2); }
.stats dd { margin: 2px 0 0; font: 700 1.35rem/1.15 var(--display); }
.begin { border-left: 4px solid var(--brand); }
.steps { margin: 6px 0 10px; padding: 0; list-style: none; counter-reset: st; display: grid; gap: 12px; }
.steps li { counter-increment: st; display: grid; grid-template-columns: 34px 1fr; gap: 2px 12px; }
.steps li::before { content: counter(st); grid-row: span 2; width: 30px; height: 30px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-ink); font: 700 1.05rem/30px var(--display); text-align: center; }
.steps strong { font-weight: 700; }
.steps span { color: var(--text-2); }
.mini-facts { display: grid; grid-template-columns: max-content 1fr; gap: 2px 10px; margin: 8px 0 2px; font-size: .92rem; }
.mini-facts dt { color: var(--text-2); font-weight: 600; }
.mini-facts dd { margin: 0; }
.filter-form { margin-bottom: 16px; display: grid; gap: 10px; }
.filter-form .actions { margin: 0; }
.map-embed { width: 100%; height: 520px; border: 1px solid var(--hair); border-radius: var(--r-l); background: var(--fill); display: block; }
@media (max-width: 640px) { .map-embed { height: 460px; } }
body.is-embed .site-header, body.is-embed .site-footer, body.is-embed .skip { display: none; }
body.is-embed.is-map main { height: 100dvh; }

.fold-more { margin-top: 10px; }
.fold-more > summary { cursor: pointer; font-weight: 700; color: var(--accent-ink); min-height: 44px; display: inline-flex; align-items: center; }
.fold-more[open] > summary { margin-bottom: 10px; }
@media (max-width: 640px) { .club-card .mini-facts { font-size: .88rem; } .loc-grid { gap: 8px; } }

.first-time { border-left: 4px solid var(--open-ink); margin-bottom: 16px; }
.first-time ul { margin: 6px 0 10px; padding-left: 18px; display: grid; gap: 4px; }
.report { margin: 16px 0; }
.report > summary { cursor: pointer; min-height: 40px; display: flex; align-items: center; }

/* access restriction ("Wie mag meedoen"): plain text like the access labels, with a clear marker */
.acc-beperkt { font-weight: 600; color: var(--text); }
.acc-beperkt::before { content: "● "; color: var(--accent, #EF5A35); font-size: .7em; vertical-align: .1em; }
.restr { font-weight: 600; }
.notice-restr { border-left: 4px solid var(--accent, #EF5A35); }

/* search: how the query was understood, each part removable */
.understood { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin-top: 12px; }
.chip-x { gap: 6px; }
.chip-x span[aria-hidden] { font-weight: 700; opacity: .65; }
.chip-x:hover span[aria-hidden], .chip-x:focus-visible span[aria-hidden] { opacity: 1; }

/* map: "Zoek in dit gebied" after the visitor moved the map */
.map-area-btn { position: absolute; top: 12px; left: 50%; transform: translateX(-50%); z-index: 3; box-shadow: var(--shadow); }
.map-panel-head, .map-filters, .map-count { flex-shrink: 0; }
.map-list { min-height: 0; }
@media (max-height: 760px) and (min-width: 861px) { .map-panel { overflow-y: auto; } .map-list { overflow: visible; flex: none; } }
.map-area-btn[hidden] { display: none; }

/* keuzehulp */
.kh { padding: 20px; display: grid; gap: 18px; }
.kh-progress { height: 6px; border-radius: 99px; background: var(--hair); overflow: hidden; display: none; }
.kh.is-stepped .kh-progress { display: block; }
.kh-progress span { display: block; height: 100%; width: 0; background: var(--accent); transition: width .25s ease; }
.kh-step { border: 0; margin: 0; padding: 0; min-width: 0; }
.kh-step legend { font: 700 1.35rem/1.2 var(--display); margin-bottom: 12px; padding: 0; outline: none; }
.kh-n { display: block; font: 600 .78rem/1.4 var(--font); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.kh-options { display: grid; gap: 8px; }
.kh-opt { display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 10px 14px; border: 1.5px solid var(--hair); border-radius: 14px; background: var(--surface); cursor: pointer; font-weight: 600; }
.kh-opt:hover { border-color: var(--accent); }
.kh-opt input { width: 20px; height: 20px; accent-color: var(--accent); margin: 0; flex: none; }
.kh-opt:has(input:checked) { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 8%, var(--surface)); }
.kh-opt:has(input:focus-visible) { outline: 3px solid var(--focus, var(--accent)); outline-offset: 2px; }
.kh select { width: 100%; min-height: 48px; }
.kh-nav { display: flex; gap: 10px; justify-content: space-between; }
.kh-nav [data-kh-next], .kh-nav [data-kh-submit] { margin-left: auto; }
.kh:not(.is-stepped) .kh-step + .kh-step { border-top: 1px solid var(--hair); padding-top: 18px; }
.kh-pick-head { display: flex; align-items: center; gap: 14px; margin-bottom: 8px; }
.kh-pick-head h2 { margin: 0; }
.kh-pick-head .eyebrow { margin: 0; }
.kh-after .actions { display: flex; flex-wrap: wrap; gap: 8px; }
[hidden] { display: none !important; }
