/* bball.be — parket, lijnen en een scorebord */
@font-face { font-family: "Barlow"; src: url(fonts/barlow-latin-400-normal.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Barlow"; src: url(fonts/barlow-latin-500-normal.woff2) format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Barlow"; src: url(fonts/barlow-latin-600-normal.woff2) format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url(fonts/barlow-condensed-latin-600-normal.woff2) format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url(fonts/barlow-condensed-latin-700-normal.woff2) format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url(fonts/barlow-condensed-latin-700-italic.woff2) format("woff2"); font-weight: 700; font-style: italic; font-display: swap; }

:root {
  --bg: #eef1f5;
  --card: #ffffff;
  --ink: #14213d;
  --ink-2: #47536b;
  --muted: #6a7588;
  --line: #d9dfe8;
  --line-2: #e9edf2;
  --navy: #101b33;
  --navy-2: #1a2848;
  --ball: #f26a1b;
  --win: #157a55;
  --loss: #c0352b;
  --live: #e11d48;
  --accent: var(--ball);
  --body: "Barlow", "Segoe UI", system-ui, sans-serif;
  --cond: "Barlow Condensed", "Arial Narrow", "Barlow", sans-serif;
  --r: 4px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.5 var(--body); min-height: 100vh; display: flex; flex-direction: column; }
main { flex: 1; padding-bottom: 3rem; }
main.wrap { padding-top: 1.75rem; }
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--ball); outline-offset: 2px; border-radius: 3px; }
h1, h2, h3 { font-family: var(--cond); font-weight: 700; line-height: 1.1; margin: 0; letter-spacing: .005em; }
p { margin: 0 0 1rem; }
small { font-weight: 400; }
code { font: 500 .9em ui-monospace, Consolas, monospace; background: var(--line-2); padding: .1em .35em; border-radius: 3px; }
.wrapcode { display: block; padding: .6rem .75rem; overflow-wrap: anywhere; }
.wrap { width: 100%; max-width: 1180px; margin-inline: auto; padding-inline: 1.25rem; }
.narrow { max-width: 30rem; }
.skip { position: absolute; left: -999px; top: 0; background: #fff; padding: .5rem 1rem; z-index: 10; }
.skip:focus { left: .5rem; top: .5rem; }

/* ---------- kop ---------- */
.top { background: var(--navy); color: #fff; }
.top-in { display: flex; align-items: center; gap: 2rem; min-height: 60px; }
.brand { font: italic 700 1.9rem/1 var(--cond); letter-spacing: -.01em; display: inline-flex; align-items: baseline; }
.brand:hover { text-decoration: none; }
.brand i { width: .34em; height: .34em; margin: 0 .07em; border-radius: 50%; background: var(--ball); display: inline-block; }
.top-nav { display: flex; gap: .25rem; margin-left: auto; overflow-x: auto; scrollbar-width: none; }
.top-nav a { padding: .45rem .8rem; border-radius: var(--r); font-weight: 500; white-space: nowrap; color: #c9d2e3; border-bottom: 3px solid transparent; }
.top-nav a:hover { color: #fff; text-decoration: none; background: var(--navy-2); }
.top-nav a[aria-current] { color: #fff; border-bottom-color: var(--c, var(--ball)); border-radius: var(--r) var(--r) 0 0; }
.nav-admin { margin-left: .75rem; }

.sub { background: var(--card); border-bottom: 1px solid var(--line); border-top: 4px solid var(--accent); }
.sub-in { display: flex; align-items: center; gap: 1.5rem; min-height: 52px; }
.sub-title { font: 700 1.35rem/1 var(--cond); white-space: nowrap; }
.sub-title small { font: 500 .85rem var(--body); color: var(--muted); margin-left: .3rem; }
.tabs { display: flex; gap: .1rem; overflow-x: auto; scrollbar-width: none; align-self: stretch; }
.tabs a { display: flex; align-items: center; padding: 0 .8rem; font-weight: 500; color: var(--ink-2); white-space: nowrap; border-bottom: 3px solid transparent; margin-bottom: -1px; }
.tabs a:hover { color: var(--ink); text-decoration: none; background: var(--bg); }
.tabs a[aria-current] { color: var(--ink); border-bottom-color: var(--accent); font-weight: 600; }
.logout { margin-left: auto; }

.demo { background: #fff4d6; border-bottom: 1px solid #ecd9a0; color: #5c4400; font-size: .92rem; padding: .5rem 0; }
.demo a { text-decoration: underline; font-weight: 600; }

/* ---------- hero: de wedstrijd op het veld ---------- */
.hero { position: relative; background: var(--navy); color: #fff; overflow: hidden; }
.hero .court { position: absolute; inset: 0; width: 100%; height: 100%; color: rgba(255, 255, 255, .09); pointer-events: none; }
.hero-in { position: relative; padding-block: 2.25rem 2.5rem; text-align: center; }
.hero-kicker { color: #c3cce0; margin: 0 0 1.25rem; font-weight: 500; }
.chip { display: inline-block; background: var(--accent); color: #fff; font-weight: 600; font-size: .85rem; padding: .15rem .6rem; border-radius: 99px; margin-right: .4rem; }
.match { display: block; }
.match:hover { text-decoration: none; }
.match-h { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1rem 2rem; font-size: clamp(1.4rem, 3.4vw, 2.4rem); }
.m-team { display: flex; flex-direction: column; align-items: center; gap: .7rem; text-wrap: balance; line-height: 1.05; min-width: 0; }
.m-team small { font: 500 1rem var(--body); color: #aab5cd; }
a.m-team:hover { text-decoration: none; }
a.m-team:hover span { text-decoration: underline; text-underline-offset: 4px; }
.m-mid { display: flex; align-items: baseline; gap: .15em; font: 700 clamp(3.2rem, 10vw, 6.5rem)/0.9 var(--cond); font-variant-numeric: tabular-nums; color: #8f9bb7; }
.m-mid b.won { color: #fff; }
.m-mid i { font-style: normal; font-size: .5em; color: #5f6c8c; transform: translateY(-.25em); }
.hero-empty { font-size: clamp(2rem, 6vw, 3.5rem); margin-bottom: 1rem; }

.hero-game { border-radius: var(--r); margin-bottom: 1.25rem; }
.hero-game .hero-in { padding-inline: 1.25rem; }
.quarters { margin: 1.75rem auto 0; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.quarters th, .quarters td { padding: .3rem .8rem; text-align: center; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.quarters thead th { color: #aab5cd; font-weight: 500; font-size: .85rem; }
.quarters tbody th { text-align: left; font-weight: 500; }
.quarters .tot { font-weight: 700; font-family: var(--cond); font-size: 1.25rem; }
.quarters tbody tr:last-child th, .quarters tbody tr:last-child td { border-bottom: 0; }

.strip { position: relative; background: rgba(8, 14, 30, .55); border-top: 1px solid rgba(255, 255, 255, .1); }
.strip-in { display: flex; align-items: flex-start; gap: .6rem; overflow-x: auto; padding-block: .8rem; scroll-snap-type: x proximity; scrollbar-width: thin; scrollbar-color: #3a4a70 transparent; }
.sb { flex: 0 0 220px; scroll-snap-align: start; background: var(--navy-2); border-radius: var(--r); padding: .5rem .7rem .55rem; border-left: 3px solid var(--accent); display: grid; gap: .2rem; font-size: .9rem; }
.sb:hover { text-decoration: none; background: #22335c; }
.sb-meta { display: flex; justify-content: space-between; color: #9fabc6; font-size: .78rem; margin-bottom: .1rem; }
.sb-line { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: .45rem; align-items: center; color: #c3cce0; }
.sb-line.won { color: #fff; font-weight: 600; }
.sb-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sb-line b { font: 700 1.1rem/1 var(--cond); font-variant-numeric: tabular-nums; }

.live-pill { display: inline-flex; align-items: center; gap: .35rem; background: var(--live); color: #fff; font-weight: 600; font-size: .78rem; padding: .08rem .5rem; border-radius: 99px; }
.live-pill::before { content: ""; width: .45rem; height: .45rem; border-radius: 50%; background: #fff; animation: blink 1.4s infinite; }
@keyframes blink { 50% { opacity: .25; } }

/* ---------- badges ---------- */
.badge { flex: none; display: inline-grid; place-items: center; width: 2rem; height: 2rem; object-fit: contain; vertical-align: middle; }
.badge-mono { border-radius: 50%; background: #e4e9f1; color: #33415c; font: 700 .8rem/1 var(--cond); letter-spacing: .02em; box-shadow: inset 0 0 0 1px #c6cfdd; }
.hero .badge-mono { background: #24345a; color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25); }
.badge-xs { width: 1.4rem; height: 1.4rem; font-size: .62rem; }
.badge-sm { width: 1.75rem; height: 1.75rem; font-size: .72rem; }
.badge-lg { width: 3.5rem; height: 3.5rem; font-size: 1.35rem; }
.badge-xl { width: 5rem; height: 5rem; font-size: 1.9rem; }

/* ---------- panelen & indeling ---------- */
.page-h { font-size: 2.3rem; margin-bottom: 1.25rem; }
.page-h small { font: 500 1rem var(--body); color: var(--muted); margin-left: .5rem; }
.panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 1.1rem 1.25rem 1.25rem; margin-bottom: 1.25rem; }
.panel > h2, .panel > h3 { font-size: 1.25rem; margin-bottom: .75rem; display: flex; align-items: center; gap: .5rem; border-left: 4px solid var(--accent); padding-left: .6rem; margin-left: -1.25rem; }
.panel h2 small, .panel h3 small { font: 400 .9rem var(--body); color: var(--muted); }
.cols { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 1.25rem; align-items: start; }
.cols-wide-left { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); }
.stack > .panel:last-child, .cols > .panel { margin-bottom: 0; }
.cols { margin-bottom: 1.25rem; }
.empty { color: var(--muted); margin: 0; }
.note { color: var(--muted); font-size: .9rem; max-width: 75ch; }
.note a, .more a, .panel p a { text-decoration: underline; text-underline-offset: 3px; }
.more { margin: .9rem 0 0; font-weight: 500; }
.msg { max-width: 38rem; }
.msg h1 { font-size: 2rem; margin-bottom: .75rem; }

.lblock { margin-top: 2.25rem; }
.lblock-h { display: flex; align-items: baseline; flex-wrap: wrap; gap: .5rem 1.5rem; border-bottom: 4px solid var(--accent); padding-bottom: .5rem; margin-bottom: 1.25rem; }
.lblock-h h2 { font-size: 2.1rem; }
.quick { display: flex; flex-wrap: wrap; gap: .25rem 1.1rem; margin-left: auto; font-weight: 500; color: var(--ink-2); }

/* ---------- tabellen ---------- */
.tscroll { overflow-x: auto; margin-inline: -1.25rem; padding-inline: 1.25rem; }
.tbl { width: 100%; border-collapse: collapse; font-size: .95rem; font-variant-numeric: tabular-nums; }
.tbl th, .tbl td { padding: .45rem .55rem; border-bottom: 1px solid var(--line-2); white-space: nowrap; text-align: right; }
.tbl .l { text-align: left; }
.tbl thead th { font-weight: 600; font-size: .82rem; color: var(--muted); border-bottom: 2px solid var(--line); position: relative; }
.tbl th[data-sort] { cursor: pointer; user-select: none; }
.tbl th[data-sort]:hover { color: var(--ink); }
.tbl th[aria-sort] { color: var(--ink); }
.tbl th[aria-sort]::after { content: "▾"; margin-left: .2em; color: var(--accent); }
.tbl th[aria-sort="ascending"]::after { content: "▴"; }
.tbl tbody tr:hover { background: #f6f8fb; }
.tbl tbody tr:last-child td { border-bottom: 0; }
.tbl tfoot td { font-weight: 600; border-top: 2px solid var(--line); border-bottom: 0; }
.tbl .strong { font-weight: 600; }
.tbl .pos { color: var(--muted); width: 2rem; }
.tbl tr.hl { background: color-mix(in srgb, var(--accent) 9%, #fff); }
.tbl tr.dnp { color: var(--muted); }
.pos-v { color: var(--win); }
.neg-v { color: var(--loss); }
.tlink { display: inline-flex; align-items: center; gap: .5rem; font-weight: 500; max-width: 100%; }
.tlink span:last-child { overflow: hidden; text-overflow: ellipsis; max-width: 17rem; }
.tag { font-size: .72rem; font-weight: 500; color: var(--muted); border: 1px solid var(--line); border-radius: 3px; padding: 0 .3rem; margin-left: .3rem; }
.at { color: var(--muted); margin-right: -.2rem; }
.form { display: inline-flex; gap: 3px; vertical-align: middle; }
.form i { width: .55rem; height: .95rem; border-radius: 2px; background: var(--loss); opacity: .85; }
.form i.w { background: var(--win); }
.res { display: inline-grid; place-items: center; width: 1.35rem; height: 1.35rem; border-radius: 3px; color: #fff; font: 700 .8rem/1 var(--cond); background: var(--loss); margin-right: .3rem; }
.res.w { background: var(--win); }
.tbars .bar { width: 22%; padding-inline: 0 .75rem; }
.tbars .bar i { display: block; height: .6rem; background: var(--accent); border-radius: 0 2px 2px 0; }
.tbars .bar i.alt { background: #9aa6bd; }

/* ---------- wedstrijdlijsten ---------- */
.glist { display: grid; }
.grow { display: grid; grid-template-columns: 4.5rem minmax(0, 1fr) auto; align-items: center; gap: .9rem; padding: .6rem .25rem; border-bottom: 1px solid var(--line-2); }
.grow:last-child { border-bottom: 0; }
.grow:hover { background: #f6f8fb; text-decoration: none; }
.g-when { display: grid; gap: .1rem; font-size: .82rem; color: var(--muted); line-height: 1.25; }
.g-state { color: var(--ink-2); font-weight: 600; }
.is-next .g-state { color: var(--ink); font-size: .95rem; font-variant-numeric: tabular-nums; }
.g-teams { display: grid; gap: .3rem; min-width: 0; }
.g-t { display: grid; grid-template-columns: 1.4rem minmax(0, 1fr) auto; align-items: center; gap: .55rem; color: var(--ink-2); }
.g-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.g-s { font: 600 1.2rem/1 var(--cond); font-variant-numeric: tabular-nums; min-width: 2.2rem; text-align: right; color: var(--muted); }
.g-t.won, .is-next .g-t { color: var(--ink); }
.g-t.won .g-name, .g-t.me .g-name { font-weight: 600; }
.g-t.won .g-s { color: var(--ink); font-weight: 700; }
.is-live .g-s { color: var(--live); }
.g-res .res { margin: 0; }
.day .glist { grid-template-columns: repeat(auto-fill, minmax(min(100%, 27rem), 1fr)); gap: 0 3rem; }
.day .grow { grid-template-columns: 3.6rem minmax(0, 1fr) auto; }
.day .grow { border-bottom: 0; }

/* ---------- filters, knoppen, formulieren ---------- */
.filters { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.25rem; margin-bottom: 1.25rem; }
.pills { display: flex; flex-wrap: wrap; gap: .35rem; }
.pills a { padding: .3rem .75rem; border-radius: var(--r); background: var(--card); border: 1px solid var(--line); font-weight: 500; font-size: .92rem; }
.pills a:hover { text-decoration: none; border-color: var(--ink-2); }
.pills a[aria-current] { background: var(--ink); border-color: var(--ink); color: #fff; }
.field-inline { display: inline-flex; align-items: center; gap: .5rem; font-weight: 500; margin-left: auto; }
.panel .field-inline { margin-left: 0; }
.count { color: var(--muted); }
input, select, button { font: inherit; color: inherit; }
input:not([type=checkbox]):not([type=color]), select { border: 1px solid #b9c2d0; border-radius: var(--r); padding: .45rem .65rem; background: #fff; min-width: 0; }
input[type=color] { width: 2.6rem; height: 2.1rem; padding: 2px; border: 1px solid #b9c2d0; border-radius: var(--r); background: #fff; }
.btn { display: inline-flex; align-items: center; justify-content: center; border: 1px solid #b9c2d0; background: #fff; border-radius: var(--r); padding: .5rem 1rem; font-weight: 600; cursor: pointer; }
.btn:hover { border-color: var(--ink); text-decoration: none; }
.btn-primary { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn-primary:hover { background: #0b1326; }
.btn-danger { color: var(--loss); border-color: #e4b5b0; }
.btn-quiet { border-color: transparent; background: none; color: var(--ink-2); font-weight: 500; }

form.form { display: grid; gap: 1rem; max-width: 26rem; }
form.form-wide { max-width: 46rem; }
form.form-wide .panel { display: grid; gap: 1rem; margin-bottom: 0; }
form.form label, .grid2 label { display: grid; gap: .3rem; font-weight: 600; }
form.form label small, .grid2 label small { color: var(--muted); font-weight: 400; }
form.form label.check { display: flex; align-items: center; gap: .55rem; font-weight: 500; }
.grid2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); gap: 1rem; align-items: end; }
.actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 1rem; }
.tbl-form td { padding-block: .35rem; }
.tbl-form input:not([type=checkbox]):not([type=color]) { padding: .3rem .5rem; }
.auth { margin-top: 3rem; }
.auth h1 { font-size: 2rem; margin-bottom: .75rem; }
.flash { padding: .7rem 1rem; border-radius: var(--r); margin-bottom: 1.25rem; border: 1px solid; font-weight: 500; }
.flash-ok { background: #e6f4ee; border-color: #a9d6c2; color: #0d4f37; }
.flash-err { background: #fbeae8; border-color: #ecb9b3; color: #7e1d15; }
.flash-warn { background: #fff4d6; border-color: #ecd9a0; color: #5c4400; }

/* ---------- team, speler, statistieken ---------- */
.thead { display: flex; align-items: center; gap: 1.25rem; margin-bottom: 1.25rem; }
.thead h1 { font-size: clamp(2rem, 5vw, 3rem); }
.thead p { margin: .25rem 0 0; color: var(--ink-2); }
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(8.5rem, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; margin: 0 0 1.25rem; }
.tiles div { background: var(--card); padding: .8rem 1rem .9rem; }
.tiles dt { color: var(--muted); font-size: .85rem; }
.tiles dd { margin: .1rem 0 0; font: 700 2rem/1.05 var(--cond); font-variant-numeric: tabular-nums; }
.tiles dd.sm { font-size: 1.35rem; padding-top: .3rem; }
.tgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr)); gap: 1rem; }
.tcard { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 1rem; display: grid; grid-template-columns: auto 1fr; gap: .15rem .9rem; align-items: center; }
.tcard:hover { border-color: var(--accent); text-decoration: none; }
.tcard .badge { grid-row: span 2; }
.tcard-n { font: 700 1.2rem/1.1 var(--cond); align-self: end; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.tcard-r { display: flex; align-items: center; gap: .6rem; color: var(--ink-2); align-self: start; }
.tcard-r b { font-variant-numeric: tabular-nums; }
.teamrow { display: grid; grid-template-columns: repeat(auto-fill, minmax(11.5rem, 1fr)); gap: .5rem .75rem; }
.teamrow a { display: flex; align-items: center; gap: .55rem; padding: .3rem; border-radius: var(--r); font-weight: 500; min-width: 0; }
.teamrow a span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.teamrow a:hover { background: var(--bg); text-decoration: none; }

.lgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(17.5rem, 1fr)); gap: 1.25rem; margin-bottom: 1.25rem; }
.lgrid .panel { margin: 0; }
.leaders { list-style: none; margin: 0; padding: 0; }
.leaders li { display: grid; grid-template-columns: 1.4rem minmax(0, 1fr) auto; gap: 0 .6rem; align-items: baseline; padding: .4rem 0; border-bottom: 1px solid var(--line-2); }
.leaders li:last-child { border-bottom: 0; }
.leaders .rk { color: var(--muted); font-variant-numeric: tabular-nums; grid-row: span 2; }
.leaders a { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.leaders .lt { grid-column: 2; color: var(--muted); font-size: .85rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.leaders b { grid-column: 3; grid-row: 1 / span 2; align-self: center; font: 700 1.5rem/1 var(--cond); font-variant-numeric: tabular-nums; }
.leaders li:first-child { padding-bottom: .65rem; }
.leaders li:first-child a { font-size: 1.1rem; }
.leaders li:first-child b { font-size: 2.3rem; color: var(--accent); }

.cmp { display: grid; gap: .65rem; max-width: 46rem; margin-inline: auto; }
.cmp-head, .cmp-row { display: grid; grid-template-columns: 7.5rem minmax(0, 1fr) 7.5rem; gap: 1rem; align-items: end; }
.cmp-head { font-weight: 600; }
.cmp-head span:last-child, .cmp-v.r { text-align: right; }
.cmp-v { font-variant-numeric: tabular-nums; color: var(--ink-2); }
.cmp-v.best { color: var(--ink); font-weight: 600; }
.cmp-l { display: block; text-align: center; font-size: .85rem; color: var(--muted); margin-bottom: .2rem; }
.cmp-bar { display: flex; gap: 3px; height: .55rem; }
.cmp-bar i { background: #c5cedb; border-radius: 2px; }
.cmp-bar i.best { background: var(--accent); }

/* ---------- voet ---------- */
.foot { background: var(--navy); color: #aab5cd; font-size: .9rem; }
.foot-in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 2rem; padding-block: 1.25rem; }
.foot a { text-decoration: underline; margin-left: .5rem; }
.foot b { color: #fff; margin-right: .35rem; }

/* ---------- klein scherm ---------- */
@media (max-width: 860px) {
  .cols, .cols-wide-left { grid-template-columns: minmax(0, 1fr); }
  .stack > .panel:last-child { margin-bottom: 0; }
  .sub-in { flex-direction: column; align-items: stretch; gap: 0; padding-top: .6rem; }
  .tabs a { padding: .6rem .7rem; }
  .logout { margin: 0 0 .5rem; }
  .field-inline { margin-left: 0; }
}
@media (max-width: 560px) {
  .wrap { padding-inline: .9rem; }
  .top-in { gap: 1rem; }
  .panel { padding: .9rem .9rem 1rem; }
  .panel > h2, .panel > h3 { margin-left: -.9rem; }
  .tlink span:last-child { max-width: 9.5rem; }
  .tscroll { margin-inline: -.9rem; padding-inline: .9rem; }
  .page-h { font-size: 1.9rem; }
  .page-h small { display: block; margin: .2rem 0 0; }
  .match-h { gap: .5rem .75rem; }
  .match-h .badge-xl { width: 3.25rem; height: 3.25rem; font-size: 1.3rem; }
  .quarters th, .quarters td { padding: .25rem .45rem; }
  .cmp-head, .cmp-row { grid-template-columns: 5.2rem minmax(0, 1fr) 5.2rem; gap: .5rem; font-size: .9rem; }
  .thead .badge-xl { width: 3.5rem; height: 3.5rem; font-size: 1.35rem; }
  .tbars .bar { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .live-pill::before { animation: none; }
}

/* ---------- nieuws, spelersfoto, staf ---------- */
.ngrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(15.5rem, 1fr)); gap: 1.25rem; margin-bottom: 1.25rem; }
.ncard { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column; }
.ncard:hover { text-decoration: none; border-color: var(--accent); }
.ncard img, .ncard-ph { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; background: var(--navy-2); display: block; }
.ncard-b { display: grid; gap: .35rem; padding: .85rem 1rem 1rem; }
.ncard-b time { color: var(--muted); font-size: .82rem; }
.ncard-b strong { font: 700 1.25rem/1.15 var(--cond); }
.ncard-b span { color: var(--ink-2); font-size: .92rem; }
.sec-h { font-size: 1.6rem; margin: .5rem 0 .9rem; }
.art { max-width: 44rem; margin-inline: auto; }
.art h1 { font-size: clamp(2rem, 5vw, 3rem); margin-bottom: 1rem; }
.art-meta { color: var(--muted); margin-bottom: .5rem; }
.art-meta a { text-decoration: underline; }
.art-lead { font-size: 1.15rem; font-weight: 500; }
.art-img { width: 100%; height: auto; border-radius: var(--r); margin-bottom: 1.25rem; }
.art-body { font-size: 1.05rem; line-height: 1.65; }
.art-body h2, .art-body h3, .art-body h4 { font-size: 1.4rem; margin: 1.75rem 0 .5rem; }
.art-body a { text-decoration: underline; }
.pphoto { width: 6rem; height: 6rem; border-radius: 50%; object-fit: cover; object-position: top; background: var(--line); flex: none; }
.plain { list-style: none; margin: 0; padding: 0; }
.plain li { padding: .4rem 0; border-bottom: 1px solid var(--line-2); }
.plain li:last-child { border-bottom: 0; }
.plain .lt, .tbl .lt { color: var(--muted); font-size: .9rem; margin-left: .4rem; }
img.badge { border-radius: 3px; }
.strip img.badge, .hero img.badge { background: #fff; padding: 2px; }
.hero img.badge-xl { padding: 6px; border-radius: 8px; }
