/* ARBI+ portaal. Vormgeving in de lijn van de website (arbi-launch): papierkleurige grond, inkt, het blauw van de
   knoppen, koppen in Barlow Condensed (hoofdletters) en tekst in Geist. Wedstrijdkleuren volgen de app: bond oranje,
   CS+ groen, club blauw. Lettertypes staan lokaal (geen verzoeken naar derden). Alleen voor een groot scherm: op een
   smal scherm verwijst de site naar de app (zie .klein-scherm). */

@font-face { font-family: "Barlow Condensed"; font-weight: 700; font-style: normal; font-display: swap; src: url("/fonts/barlow-condensed-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Geist"; font-weight: 400; font-style: normal; font-display: swap; src: url("/fonts/geist-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Geist"; font-weight: 500; font-style: normal; font-display: swap; src: url("/fonts/geist-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Geist"; font-weight: 600; font-style: normal; font-display: swap; src: url("/fonts/geist-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Geist"; font-weight: 700; font-style: normal; font-display: swap; src: url("/fonts/geist-latin-700-normal.woff2") format("woff2"); }

:root {
  font-synthesis: none;
  color-scheme: light;
  --grond: #F3F2ED;
  --vlak: #FFFFFF;
  --inkt: #111B2B;
  --label: #3F4957;
  --zacht: #56606D;
  --lijn: #DDDEDA;
  --lijn-zacht: #ECECE7;
  --rand-veld: #B4B8B9;
  --blauw: #0646E8;
  --blauw-donker: #0436B5;
  --blauw-tint: #E6ECFD;
  --lichtblauw: #C9D6FB;
  --oranje: #FF7A1A;
  --oranje-inkt: #A63C00;
  --oranje-tint: #FFF0E3;
  --groen: #1E9E57;
  --groen-inkt: #146C3C;
  --groen-tint: #E6F5EC;
  --geel: #DDA900;
  --rood: #D93A2B;
  --rood-inkt: #A32418;
  --rood-tint: #FCECEA;
  --grijs: #C6C9C8;
  --tweede: #8792A3;
  --inkt-2: #1C2738;
  --inkt-lijn: #2B374B;
  --kop: "Barlow Condensed", "Arial Narrow", sans-serif;
  --tekst: "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --straal: 20px;
  --vlot: cubic-bezier(.23, 1, .32, 1);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--grond); color: var(--inkt); font-family: var(--tekst); font-size: 16px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
img, svg { display: block; }
a { color: var(--blauw); }
a:hover { color: var(--blauw-donker); }
::selection { background: var(--lichtblauw); color: var(--inkt); }
:focus-visible { outline: 3px solid #FF9E30; outline-offset: 3px; border-radius: 8px; }
[hidden] { display: none !important; }
.alleen-lezer { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.pagina { max-width: 1240px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 32px) 56px; }
main { display: flex; flex-direction: column; gap: 36px; }

/* Kop en navigatie */
.kopbalk { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; padding: 22px 0 30px; }
.merk { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.merk .uil { width: 34px; height: 40px; object-fit: contain; }
.merk .woord { width: 124px; height: auto; }
.menu { display: flex; flex-wrap: wrap; gap: 8px; flex: 1 1 auto; }
.pil { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 20px; border-radius: 999px; background: var(--vlak); border: 1px solid var(--lijn); color: var(--label); font: inherit; font-weight: 600; text-decoration: none; cursor: pointer; transition: background-color .18s ease, border-color .18s ease; }
.pil:hover { background: var(--blauw-tint); border-color: var(--lichtblauw); color: var(--inkt); }
.pil[aria-current="page"], .pil[aria-pressed="true"] { background: var(--inkt); border-color: var(--inkt); color: #fff; }
.kopbalk .naar-site { font-size: 14px; font-weight: 500; color: var(--label); text-decoration: none; }
.kopbalk .naar-site:hover { color: var(--inkt); text-decoration: underline; text-underline-offset: 3px; }
.pil.profiel { padding: 0 16px 0 6px; color: var(--inkt); font-size: 15px; }
.pil.profiel[aria-current="page"] { color: #fff; }
.initialen { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--blauw); color: #fff; font-size: 13px; font-weight: 700; overflow: hidden; }
.initialen.groot { width: 76px; height: 76px; font-size: 26px; }
.initialen.midden { width: 40px; height: 40px; font-size: 14px; }
.initialen.licht { background: var(--blauw-tint); color: var(--blauw-donker); }
.initialen img { width: 100%; height: 100%; object-fit: cover; }

h1 { margin: 0; font-family: var(--kop); font-weight: 700; font-size: 72px; line-height: .96; letter-spacing: -0.025em; text-transform: uppercase; }
h2 { margin: 0; font-family: var(--kop); font-weight: 700; font-size: 30px; line-height: 1.05; letter-spacing: -0.01em; text-transform: uppercase; }
h2.klein { font-size: 25px; }
.inleiding { margin: 10px 0 0; color: var(--label); font-size: 17px; max-width: 62ch; }
.titelrij { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 32px; }
.koprij { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 24px; }
.bij { margin: 0; color: var(--label); font-size: 15px; }
.bij strong { color: var(--inkt); }
.voetnoot { margin: 22px 0 0; font-size: 14px; color: var(--zacht); }

.vlak { background: var(--vlak); border: 1px solid var(--lijn); border-radius: var(--straal); padding: 26px 28px; }

.knop { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 26px; border-radius: 999px; border: 0; background: var(--blauw); color: #fff; font: inherit; font-weight: 600; text-decoration: none; cursor: pointer; transition: transform .18s ease, background-color .18s ease; }
.knop:hover { background: var(--blauw-donker); color: #fff; }
.knop:active { transform: scale(.98); }
.knop[disabled], .knop[aria-disabled="true"] { background: var(--grijs); color: var(--label); cursor: default; transform: none; }
.knop.tweede { background: var(--vlak); color: var(--inkt); border: 1px solid var(--rand-veld); }
.knop.tweede:hover { background: var(--blauw-tint); color: var(--inkt); }
.knop.zwart { background: #000; min-height: 54px; font-size: 19px; }
.knop.zwart:hover { background: #1c1c1e; }
.knop.inkt { background: var(--inkt); }
.knop.inkt:hover { background: var(--inkt-2); }
.knop.tekst { background: transparent; color: var(--blauw); min-height: 44px; padding: 0 8px; }
.knop.tekst:hover { background: var(--blauw-tint); color: var(--blauw-donker); }

/* Seizoensband */
.band-schuif { overflow-x: auto; margin-top: 20px; }
.band { display: grid; grid-template-columns: repeat(var(--maanden, 12), minmax(58px, 1fr)); gap: 6px; min-width: 780px; list-style: none; padding: 2px; margin: 0; }
.band li { display: flex; flex-direction: column; justify-content: space-between; gap: 12px; min-height: 124px; padding: 12px 10px 10px; border-radius: 12px; background: var(--grond); }
.band li.nu { background: var(--vlak); box-shadow: inset 0 0 0 2px var(--inkt); }
.stippen { display: flex; flex-wrap: wrap; align-content: flex-start; gap: 5px; min-height: 52px; }
.stip { width: 14px; height: 14px; border-radius: 50%; border: 3px solid var(--blauw); background: var(--blauw); }
.stip.bond { border-color: var(--oranje); background: var(--oranje); }
.stip.csplus { border-color: var(--groen); background: var(--groen); }
.stip.gepland { background: #fff; }
.stip.afgelast { border-color: var(--grijs); background: var(--grijs); }
.stip.omlijnd { border-color: var(--zacht); }
.band .maand { display: flex; align-items: baseline; justify-content: space-between; gap: 4px; }
.band .maand span:first-child { font-family: var(--kop); font-weight: 700; font-size: 18px; text-transform: uppercase; letter-spacing: 0.04em; }
.band .maand span:last-child { font-size: 12px; font-weight: 600; color: var(--label); }
.legenda { display: flex; flex-wrap: wrap; gap: 8px 22px; list-style: none; padding: 0; margin: 18px 0 0; font-size: 14px; color: var(--label); }
.legenda li { display: flex; align-items: center; gap: 8px; }
.legenda .stip { width: 12px; height: 12px; }
.legenda .blok { width: 12px; height: 12px; border-radius: 3px; background: var(--blauw); }

/* Eerstvolgende wedstrijd */
.eerst { display: flex; flex-wrap: wrap; padding: 0; overflow: hidden; }
.datumtegel { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; background: var(--blauw-tint); color: var(--blauw-donker); font-family: var(--kop); }
.datumtegel.bond { background: var(--oranje-tint); color: var(--oranje-inkt); }
.datumtegel.csplus { background: var(--groen-tint); color: var(--groen-inkt); }
.datumtegel .dag { font-weight: 700; line-height: 1; letter-spacing: -0.02em; }
.datumtegel .rand { font-weight: 700; letter-spacing: 0.07em; line-height: 1.1; text-transform: uppercase; }
.eerst .datumtegel { flex: 1 0 150px; gap: 2px; padding: 26px 18px; }
.eerst .datumtegel .dag { font-size: 76px; line-height: .95; }
.eerst .datumtegel .rand { font-size: 24px; }
.soort { display: inline-flex; align-items: center; gap: 6px; font-family: var(--tekst); font-size: 13px; font-weight: 700; }
.eerst .datumtegel .soort { margin-top: 14px; }
.eerst .midden { flex: 999 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 22px; padding: 26px 32px 28px; }
.aftel { display: inline-flex; align-items: center; min-height: 30px; padding: 0 14px; border-radius: 999px; background: var(--lichtblauw); color: var(--inkt); font-size: 14px; font-weight: 700; }
.duel { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 12px 22px; }
.duel .ploeg { display: flex; align-items: center; gap: 14px; min-width: 0; }
.duel .ploeg.thuis { justify-content: flex-end; text-align: right; }
.duel .naam { font-size: 20px; font-weight: 700; line-height: 1.2; overflow-wrap: break-word; hyphens: auto; }
.duel .team { font-size: 16px; color: var(--label); white-space: nowrap; }
.duel .tijd { font-size: 40px; font-weight: 700; line-height: 1; font-variant-numeric: tabular-nums; letter-spacing: -0.02em; text-align: center; }
.duel .klasse { margin-top: 6px; font-size: 13px; font-weight: 600; color: var(--label); text-align: center; }
.logo { flex: none; width: 46px; height: 54px; object-fit: contain; }
.gegevens { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 10px 18px; margin: 0; font-size: 15px; }
.gegevens dt { color: var(--label); }
.gegevens dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
.eerst .gegevens { flex: 1 1 280px; align-content: center; padding: 26px 32px; border-left: 1px solid var(--lijn); }
.status { display: inline-flex; align-items: center; gap: 5px; font-size: 13px; font-weight: 600; color: var(--label); }
.status.ja { color: var(--groen-inkt); }

/* Aankomende wedstrijden */
.rijen { display: flex; flex-direction: column; gap: 10px; list-style: none; padding: 0; margin: 14px 0 0; }
.komend { display: flex; flex-wrap: wrap; align-items: stretch; background: var(--vlak); border: 1px solid var(--lijn); border-radius: 16px; overflow: hidden; }
.komend .datumtegel { flex: 0 0 104px; padding: 12px 8px; }
.komend .datumtegel .dag { font-size: 40px; }
.komend .datumtegel .rand { font-size: 15px; }
.komend .duel { flex: 999 1 380px; min-width: 0; gap: 8px 18px; padding: 14px 24px; }
.komend .duel .ploeg { display: block; }
.komend .duel .naam { font-size: 17px; line-height: 1.25; }
.komend .duel .team { font-size: 14px; }
.komend .duel .tijd { font-size: 24px; line-height: 1.1; letter-spacing: 0; min-width: 78px; }
.komend .duel .klasse { margin-top: 2px; font-size: 12px; }
.komend .bijzaak { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; justify-content: center; gap: 3px; padding: 14px 24px; border-left: 1px solid var(--lijn); font-size: 14px; color: var(--label); }
.komend .bijzaak b { color: var(--inkt); font-weight: 600; }
.komend .bijzaak span { display: flex; align-items: center; gap: 6px; }

/* Gespeeld */
.tabelvlak { background: var(--vlak); border: 1px solid var(--lijn); border-radius: 16px; overflow-x: auto; margin-top: 14px; }
.tabelvlak > div { min-width: 780px; }
.gespeeld-kop, .gespeeld a { display: grid; grid-template-columns: 112px minmax(0, 1fr) 118px minmax(0, 1fr) 170px 104px; align-items: center; gap: 0 16px; padding: 12px 24px; }
.gespeeld-kop { border-bottom: 1px solid var(--lijn); font-size: 13px; font-weight: 600; color: var(--label); }
.gespeeld-kop .rechts { text-align: right; }
.gespeeld-kop .midden { text-align: center; }
.gespeeld { list-style: none; padding: 0; margin: 0; }
.gespeeld .soort { font-size: 14px; font-weight: 600; color: var(--label); }
.gespeeld li { border-bottom: 1px solid var(--lijn-zacht); transition: background-color .18s ease; }
.gespeeld li:last-child { border-bottom: 0; }
.gespeeld li:hover { background: var(--grond); }
.gespeeld a { min-height: 60px; padding-top: 8px; padding-bottom: 8px; color: var(--inkt); text-decoration: none; font-size: 15px; }
.gespeeld .datum { font-variant-numeric: tabular-nums; color: var(--label); font-weight: 600; font-size: 14px; }
.gespeeld .thuis { text-align: right; font-weight: 600; }
.gespeeld .uit { font-weight: 600; }
.gespeeld .uitslag { text-align: center; font-size: 19px; font-weight: 700; font-variant-numeric: tabular-nums; }
.gespeeld .uitslag.los { font-size: 13px; color: var(--oranje-inkt); }
.gespeeld .afgelast .thuis, .gespeeld .afgelast .uit { text-decoration: line-through; color: var(--zacht); }
.gespeeld .klasse { color: var(--label); font-size: 14px; }
.kaarten { display: flex; align-items: center; gap: 12px; font-size: 14px; font-weight: 600; font-variant-numeric: tabular-nums; }
.kaarten span { display: inline-flex; align-items: center; gap: 5px; }
.kaarten .geen { color: var(--zacht); font-weight: 500; }
.tabelvoet { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 20px; padding: 14px 24px; border-top: 1px solid var(--lijn); font-size: 14px; color: var(--label); }

/* Wedstrijddetail */
.terug { display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; min-height: 44px; font-size: 15px; font-weight: 600; text-decoration: none; }
.scorebord { border-radius: 24px; background: var(--inkt); color: #fff; padding: 30px clamp(20px, 4vw, 44px) 0; overflow: hidden; }
.scorebord .boven { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; font-size: 15px; color: var(--lichtblauw); }
.scorebord .boven .soort { font-size: 15px; font-weight: 600; color: #fff; }
.scorebord .duel { gap: 16px clamp(16px, 4vw, 56px); padding: 34px 0 36px; }
.scorebord .duel .ploeg { gap: 18px; }
.scorebord .duel .naam { font-family: var(--kop); font-weight: 700; font-size: clamp(30px, 3.8vw, 52px); line-height: 1; letter-spacing: -0.02em; text-transform: uppercase; }
.scorebord .duel .team { font-size: 17px; color: var(--lichtblauw); }
.scorebord .logo { width: 64px; height: 75px; }
.stand { display: flex; align-items: center; justify-content: center; gap: clamp(10px, 1.6vw, 22px); font-weight: 700; font-size: clamp(56px, 8vw, 112px); line-height: 1; letter-spacing: -0.03em; }
.stand i { width: clamp(14px, 2vw, 28px); height: 6px; border-radius: 3px; background: var(--oranje); }
.stand.tekst { font-family: var(--kop); font-size: clamp(30px, 4vw, 52px); letter-spacing: 0.02em; text-transform: uppercase; }
.tweeluik { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 28px; }
.tweeluik > .hoofd { flex: 999 1 560px; min-width: 0; }
.tweeluik > aside { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.verloop { list-style: none; padding: 0; margin: 18px 0 0; display: flex; flex-direction: column; }
.periodekop { display: flex; align-items: center; gap: 14px; padding: 16px 0 8px; font-family: var(--kop); font-weight: 700; font-size: 17px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--label); }
.periodekop::before, .periodekop::after { content: ""; flex: 1; height: 1px; background: var(--lijn); }
.verloop .leeg { margin: 0; padding: 6px 0 10px; text-align: center; font-size: 14px; color: var(--zacht); }
.moment { display: grid; grid-template-columns: minmax(0, 1fr) 58px minmax(0, 1fr); align-items: center; gap: 0 14px; padding: 9px 0; }
.moment .kant { display: flex; align-items: center; gap: 12px; min-width: 0; }
.moment .kant.thuis { justify-content: flex-end; text-align: right; }
.moment .wat { font-weight: 700; font-size: 16px; line-height: 1.3; }
.moment .hoe { font-size: 14px; color: var(--label); }
.moment .minuut { display: inline-flex; align-items: center; justify-content: center; height: 30px; border-radius: 999px; background: var(--grond); border: 1px solid var(--lijn); font-size: 14px; font-weight: 700; font-variant-numeric: tabular-nums; }
.tussenstand { flex: none; display: inline-flex; align-items: center; justify-content: center; min-width: 54px; height: 34px; border-radius: 10px; background: var(--inkt); color: #fff; font-size: 15px; font-weight: 700; font-variant-numeric: tabular-nums; }
.moment .kaart { flex: none; margin: 0 12px; }
.personen { list-style: none; padding: 0; margin: 14px 0 0; display: flex; flex-direction: column; gap: 14px; }
.personen li { display: flex; align-items: center; gap: 12px; }
.personen b { display: block; font-weight: 700; }
.personen small { display: block; font-size: 14px; color: var(--label); }
.telling { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 10px 18px; margin: 14px 0 0; font-size: 15px; }
.telling dt { display: flex; align-items: center; gap: 9px; }
.telling dd { margin: 0; font-weight: 700; text-align: right; font-variant-numeric: tabular-nums; }
.telling .kolomkop { font-size: 13px; font-weight: 600; color: var(--label); }
.telling .streep { padding-top: 10px; border-top: 1px solid var(--lijn); }

/* Cijfers */
.filters { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; }
.groep { display: flex; flex-wrap: wrap; gap: 6px; }
.groep .pil { padding: 0 18px; font-size: 15px; }
.seizoenszin { margin: 0; max-width: 30ch; font-size: clamp(26px, 3.2vw, 40px); line-height: 1.3; font-weight: 500; color: var(--label); letter-spacing: -0.012em; text-wrap: balance; }
.seizoenszin strong { color: var(--inkt); font-weight: 700; }
.raster { display: flex; flex-wrap: wrap; align-items: stretch; gap: 24px; }
.raster > section { min-width: 0; }
.grafiek-schuif { overflow-x: auto; margin-top: 22px; }
.kolommen { position: relative; height: 232px; min-width: 520px; }
.kolommen .as { position: absolute; left: 0; right: 0; height: 1px; background: var(--lijn-zacht); }
.kolommen .as.nul { background: var(--rand-veld); }
.kolommen .tik { position: absolute; left: 0; font-size: 12px; color: var(--zacht); font-variant-numeric: tabular-nums; }
.kolommen .staven { position: absolute; left: 22px; right: 0; top: 0; bottom: 0; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 2px; }
.kolom { display: flex; flex-direction: column; align-items: center; justify-content: flex-end; padding: 0; border: 0; border-radius: 10px; background: transparent; font: inherit; color: var(--inkt); cursor: pointer; transition: background-color .15s ease; }
.kolom:hover, .kolom[aria-pressed="true"] { background: var(--grond); }
.kolom .top { font-size: 13px; font-weight: 700; font-variant-numeric: tabular-nums; margin-bottom: 5px; }
.kolom .gespeeld-staaf { width: 24px; background: var(--blauw); border-radius: 4px 4px 0 0; }
.kolom .gepland-staaf { width: 24px; background: var(--blauw-tint); border: 2px solid var(--blauw); border-bottom-width: 0; border-radius: 4px 4px 0 0; }
.kolom .gepland-staaf + .gespeeld-staaf { margin-top: 2px; border-radius: 0; }
.kolom .naam { display: flex; align-items: center; justify-content: center; height: 36px; font-family: var(--kop); font-weight: 700; font-size: 16px; letter-spacing: 0.05em; text-transform: uppercase; color: var(--label); }
.uitleg { margin: 14px 0 0; padding: 12px 16px; border-radius: 12px; background: var(--grond); font-size: 15px; color: var(--label); }
.uitleg strong { color: var(--inkt); }
.balken { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-direction: column; gap: 16px; font-size: 15px; }
.balken li { display: grid; grid-template-columns: 132px minmax(0, 1fr); align-items: center; gap: 0 14px; }
.balken .naam { display: flex; align-items: center; gap: 10px; font-weight: 500; overflow-wrap: anywhere; }
.balken .spoor { display: flex; align-items: center; gap: 10px; }
.balken .balk { flex: none; height: 14px; background: var(--blauw); border-radius: 0 4px 4px 0; }
.balken .balk.groen { background: var(--groen); }
.balken .balk.geel { background: var(--geel); }
.balken .balk.rood { background: var(--rood); }
.balken b { font-weight: 700; font-variant-numeric: tabular-nums; }
.dun { display: flex; gap: 2px; height: 8px; margin-top: 26px; }
.dun span { background: var(--inkt); border-radius: 4px 0 0 4px; }
.dun span + span { background: var(--tweede); border-radius: 0 4px 4px 0; }
.dik { display: flex; gap: 2px; height: 28px; margin-top: 26px; font-size: 14px; font-weight: 700; }
.dik span { display: flex; align-items: center; padding: 0 10px; border-radius: 4px; background: var(--blauw); color: #fff; overflow: hidden; white-space: nowrap; }
.dik span.d-bond { background: var(--oranje); color: var(--inkt); }
.dik span.d-csplus { background: var(--groen); color: #fff; }
.lijstje { list-style: none; padding: 0; margin: 16px 0 0; display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.lijstje li { display: flex; align-items: center; gap: 10px; }
.lijstje li span:nth-child(2) { flex: 1; }
.lijstje b { font-variant-numeric: tabular-nums; }
.lijstje .blok { width: 12px; height: 12px; border-radius: 3px; background: var(--inkt); }
.lijstje .blok.tweede { background: var(--tweede); }
details.vlak { padding: 4px 24px; border-radius: 16px; }
summary { min-height: 48px; display: flex; align-items: center; gap: 10px; font-weight: 600; cursor: pointer; list-style: none; }
summary::-webkit-details-marker { display: none; }
.tabel-schuif { overflow-x: auto; padding: 4px 0 18px; }
table { border-collapse: collapse; }
th, td { text-align: left; padding: 9px 20px 9px 0; border-bottom: 1px solid var(--lijn-zacht); font-size: 15px; }
th { font-weight: 600; color: var(--label); }
td.getal, th.getal { text-align: right; font-variant-numeric: tabular-nums; font-weight: 600; }

/* Formulieren */
form.vlak { padding: 6px clamp(18px, 3vw, 32px) 28px; }
fieldset { border: 0; padding: 26px 0 28px; margin: 0; border-bottom: 1px solid var(--lijn); min-width: 0; }
fieldset:last-of-type { border-bottom: 0; }
legend { float: left; width: 100%; padding: 0; margin: 0 0 18px; font-family: var(--kop); font-weight: 700; font-size: 26px; line-height: 1.05; letter-spacing: -0.01em; text-transform: uppercase; }
legend + * { clear: both; }
.velden { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 18px 20px; }
.veld { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.veld label, .veldlabel { font-size: 14px; font-weight: 600; }
.veld input, .veld select { min-height: 48px; width: 100%; padding: 0 14px; border-radius: 12px; border: 1px solid var(--rand-veld); background: #fff; color: var(--inkt); font: inherit; }
.veld input::placeholder { color: var(--zacht); }
.veld input[aria-invalid="true"], .veld select[aria-invalid="true"] { border-color: var(--rood); }
.veld .fout { font-size: 14px; color: var(--rood-inkt); font-weight: 600; }
.veld .hulp, .hulp { font-size: 14px; color: var(--label); margin: 0; }
.vink { display: flex; align-items: flex-start; gap: 12px; min-height: 44px; padding: 9px 0; }
.vink input { accent-color: var(--blauw); width: 20px; height: 20px; margin: 2px 0 0; flex: none; }
.acties { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; padding-top: 4px; }
.melding { margin: 0; padding: 12px 16px; border-radius: 12px; font-size: 15px; font-weight: 600; }
.melding.goed { background: var(--groen-tint); color: var(--groen-inkt); }
.melding.fout { background: var(--rood-tint); color: var(--rood-inkt); }
.marine { background: var(--inkt); color: #fff; border-color: var(--inkt); }
.marine h2 { color: #fff; }
.marine p { color: var(--lichtblauw); font-size: 15px; margin: 14px 0 0; }
.marine .woord { display: block; width: 150px; height: auto; margin-top: 16px; }

/* Aanmelden */
.aanmelden { min-height: 100vh; min-height: 100dvh; display: flex; flex-wrap: wrap; }
.aanmelden .beeld { position: relative; flex: 1.35 1 480px; min-height: 340px; overflow: hidden; background: var(--inkt); }
.aanmelden .beeld picture img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 58% 50%; }
.aanmelden .blok { position: absolute; left: 0; bottom: 0; max-width: min(520px, 88%); padding: 34px 40px 38px; background: var(--inkt); color: #fff; border-top-right-radius: 28px; }
.aanmelden .blok .merk .uil { width: 40px; height: 47px; }
.aanmelden .blok .merk .woord { width: 150px; }
.aanmelden .blok .leus { margin: 24px 0 0; font-family: var(--kop); font-weight: 700; font-size: 60px; line-height: .96; letter-spacing: -0.025em; text-transform: uppercase; text-wrap: balance; }
.aanmelden .blok .sub { margin: 14px 0 0; font-size: 17px; color: var(--lichtblauw); max-width: 38ch; }
.aanmelden main { flex: 1 1 420px; justify-content: center; padding: 48px clamp(20px, 6vw, 72px); gap: 0; }
.aanmelden .smal { width: 100%; max-width: 400px; margin: 0 auto; display: flex; flex-direction: column; gap: 26px; }
.aanmelden form { display: flex; flex-direction: column; gap: 12px; }
.aanmelden .veld input { min-height: 54px; font-size: 17px; border-radius: 16px; }
.aanmelden .code input { font-size: 22px; font-weight: 600; letter-spacing: 0.3em; font-variant-numeric: tabular-nums; }
.aanmelden .knop { min-height: 54px; font-size: 16px; }
.scheiding { display: flex; align-items: center; gap: 14px; color: var(--label); font-size: 14px; font-weight: 600; }
.scheiding::before, .scheiding::after { content: ""; flex: 1; height: 1px; background: var(--lijn); }
.kader { margin: 0; padding: 16px 18px; border-radius: 14px; background: #fff; border: 1px solid var(--lijn); font-size: 15px; color: var(--label); }
.kader strong { color: var(--inkt); }
.links { margin: 0; display: flex; flex-wrap: wrap; gap: 6px 20px; font-size: 14px; }

/* Toestanden */
.leegte { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; padding: 26px 28px; border-radius: var(--straal); border: 1.5px dashed var(--rand-veld); color: var(--label); }
.leegte h2 { color: var(--inkt); }
.leegte p { margin: 6px 0 0; max-width: 68ch; }
.leegte > div { flex: 1 1 320px; min-width: 0; }
.skelet { border-radius: 12px; background: linear-gradient(90deg, #E8E7E1 0%, #F3F2ED 50%, #E8E7E1 100%); background-size: 200% 100%; animation: glans 1.4s ease-in-out infinite; }
@keyframes glans { from { background-position: 200% 0; } to { background-position: -200% 0; } }
@media (prefers-reduced-motion: reduce) { .skelet { animation: none; } * { transition: none !important; } }

.voet { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; margin-top: 56px; padding-top: 22px; border-top: 1px solid var(--lijn); font-size: 14px; color: var(--label); }
.voet span:last-child { display: flex; flex-wrap: wrap; gap: 6px 20px; }


/* Profiel */
.fotorij { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-bottom: 12px; }
.hulp.onder { margin-top: 12px; }
fieldset > .hulp { margin-top: 12px; max-width: 68ch; }
.plek:empty { display: none; }
.veld input[readonly] { background: var(--grond); color: var(--label); }
.clubknop { justify-content: flex-start; min-height: 48px; padding: 0 14px; border-radius: 12px; font-weight: 500; width: 100%; background: #fff; }
.logo.mini { width: 24px; height: 28px; }
.melding.waarschuwing { background: var(--oranje-tint); color: var(--oranje-inkt); margin-bottom: 14px; }
form .melding { margin-bottom: 14px; }
dialog.kiezer { width: min(520px, calc(100vw - 32px)); max-height: min(640px, calc(100dvh - 48px)); padding: 22px 22px 14px; border: 1px solid var(--lijn); border-radius: var(--straal); background: var(--vlak); color: var(--inkt); box-shadow: 0 24px 60px -20px rgba(17, 27, 43, 0.45); }
dialog.kiezer[open] { display: flex; flex-direction: column; gap: 14px; }
dialog.kiezer::backdrop { background: rgba(17, 27, 43, 0.5); }
.clublijst { list-style: none; padding: 0; margin: 0; overflow-y: auto; display: flex; flex-direction: column; gap: 2px; }
.clublijst .leeg { padding: 18px 8px; color: var(--label); }
.clubrij { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 52px; padding: 6px 12px; border: 0; border-radius: 12px; background: transparent; color: var(--inkt); font: inherit; text-align: left; cursor: pointer; transition: background-color .15s ease; }
.clubrij:hover { background: var(--grond); }
.clubrij[aria-pressed="true"] { background: var(--inkt); color: #fff; }
.clubrij b { display: block; font-weight: 600; }
.clubrij small { display: block; font-size: 13px; color: var(--label); }
.clubrij[aria-pressed="true"] small { color: var(--lichtblauw); }

/* Aanvullingen fase 1 */
.raster > section { flex: 1 1 300px; }
.raster > section.breed { flex: 2 1 560px; }
.raster > section.smal { flex: 1 1 340px; }
.legenda.vlakbij { margin: 0; }
.legenda .blok.omlijnd { background: var(--blauw-tint); border: 2px solid var(--blauw); }
.legenda .blok.d-bond { background: var(--oranje); }
.legenda .blok.d-veld, .legenda .blok.d-competitie { background: var(--inkt); }
.legenda .blok.d-zaal, .legenda .blok.d-oefen { background: var(--tweede); }
.legenda b { color: var(--inkt); font-variant-numeric: tabular-nums; }
.dik span.d-veld, .dik span.d-competitie { background: var(--inkt); color: #fff; }
.dik span.d-zaal, .dik span.d-oefen { background: var(--tweede); color: var(--inkt); }
.verdeling { margin-top: 22px; }
.verdeling h3 { margin: 0; font-size: 15px; font-weight: 600; }
.verdeling .dik { margin-top: 10px; }
.verdeling .legenda { margin-top: 10px; }
.balken.kort li { grid-template-columns: 96px minmax(0, 1fr); }
.groot-getal { margin: 18px 0 6px; font-size: 56px; font-weight: 700; line-height: 1; letter-spacing: -0.02em; }
.scorebord { padding-bottom: 6px; }
.scorebord .onderregel { margin: -12px 0 28px; text-align: center; color: var(--lichtblauw); font-size: 15px; }
.gegevens.ruim { margin-top: 14px; gap: 9px 18px; }
section > p.leeg { margin: 18px 0 0; color: var(--zacht); }
main > .kader { max-width: 78ch; }
.aanmelden .code input::placeholder { letter-spacing: normal; font-weight: 400; font-size: 17px; }
.moment .punt { justify-self: center; width: 8px; height: 8px; border-radius: 50%; background: var(--rand-veld); }


/* Klein scherm: het portaal is er voor een groot scherm; op de telefoon is er de app. */
.klein-scherm { display: none; }
@media (max-width: 899px) {
  .pagina, .aanmelden { display: none; }
  .klein-scherm { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 18px; min-height: 100vh; min-height: 100dvh; padding: 32px 24px; background: var(--inkt); color: #fff; }
  .klein-scherm .merk .woord { width: 132px; }
  .klein-scherm h1 { font-size: 52px; }
  .klein-scherm p { margin: 0; font-size: 18px; line-height: 1.5; color: var(--lichtblauw); max-width: 34ch; }
}
