:root{
  --bg:#fff;--bg2:#f5f5f5;--fg:#000;--fg2:#6b6b6b;--fg3:#9b9b9b;--line:#e6e6e6;--accent:#15a34a;
  --rail:224px;--side:332px;--row:40px;
}
:root[data-theme="dark"]{--bg:#000;--bg2:#121212;--fg:#f2f2f2;--fg2:#a0a0a0;--fg3:#6a6a6a;--line:#232323}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]){--bg:#000;--bg2:#121212;--fg:#f2f2f2;--fg2:#a0a0a0;--fg3:#6a6a6a;--line:#232323}}
*{box-sizing:border-box;margin:0;padding:0}
html{-webkit-text-size-adjust:100%;scrollbar-gutter:stable;overflow-y:scroll}
body{background:var(--bg);color:var(--fg);font:14px/1.45 -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;font-variant-numeric:tabular-nums}
a{color:inherit;text-decoration:none}
button{font:inherit;color:inherit;background:none;border:0;cursor:pointer}
ul{list-style:none}
img{display:block}
:focus-visible{outline:2px solid var(--fg);outline-offset:-2px}
.g2{color:var(--fg2)}.g3{color:var(--fg3)}
.xs{font-size:12px}.sm{font-size:13px}
b,strong{font-weight:600}
.c{display:inline-block;width:14px;height:14px;border-radius:3px;flex:none;background:linear-gradient(135deg,var(--a) 50%,var(--b) 50%);box-shadow:inset 0 0 0 1px rgba(0,0,0,.1)}
:root[data-theme="dark"] .c{box-shadow:inset 0 0 0 1px rgba(255,255,255,.14)}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]) .c{box-shadow:inset 0 0 0 1px rgba(255,255,255,.14)}}
.c.lg{width:20px;height:20px;border-radius:4px}
.fav{width:14px;height:14px;border-radius:3px;flex:none;object-fit:contain}
.fav.sm{width:12px;height:12px}

.app{display:grid;grid-template-columns:var(--rail) minmax(0,1fr) var(--side);min-height:100vh;max-width:1280px;margin:0 auto}
.rail{border-right:1px solid var(--line);position:sticky;top:0;height:100vh;overflow:auto;padding:14px 10px 24px;display:flex;flex-direction:column;gap:14px}
.main{min-width:0}
.side{border-left:1px solid var(--line);padding:16px 16px 24px}

.brand{display:flex;align-items:center;justify-content:space-between;padding:4px 8px 2px}
@font-face{font-family:"Barlow Brand";src:url(/fonts/barlow-800-italic.woff2) format("woff2");font-weight:800;font-style:italic;font-display:swap}
.brand .name,.mtop .name{font-family:"Barlow Brand",-apple-system,"Segoe UI",Roboto,sans-serif;font-weight:800;font-style:italic;letter-spacing:-.005em;line-height:1}
.brand .name{font-size:26px;display:flex;align-items:center;gap:9px}
.logo{width:19px;height:28px;display:inline-block}
:root[data-theme="dark"] .logo{filter:invert(1)}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]) .logo{filter:invert(1)}}
.ib{width:30px;height:30px;display:grid;place-items:center;border-radius:6px;color:var(--fg2)}
.ib:hover{background:var(--bg2);color:var(--fg)}
.ib svg{width:17px;height:17px}
.search{display:flex;align-items:center;gap:8px;border:1px solid var(--line);border-radius:6px;padding:0 8px;color:var(--fg3);background:var(--bg2);height:32px}
.search svg{width:14px;height:14px;flex:none}
.search input{border:0;background:none;color:var(--fg);font:inherit;width:100%;outline:none;height:30px}
.search input::placeholder{color:var(--fg3)}
.rail nav a{display:flex;align-items:center;gap:10px;height:32px;padding:0 8px;border-radius:6px;color:var(--fg2)}
.rail nav a:hover{background:var(--bg2);color:var(--fg)}
.rail nav a.on{background:var(--fg);color:var(--bg)}
.rail nav a svg{width:16px;height:16px;flex:none}
.rail h6{font-size:11px;font-weight:600;color:var(--fg3);padding:0 8px;margin:0 0 4px}
.rail .foot{margin-top:auto;padding:0 8px;font-size:10.5px;color:var(--fg3);line-height:1.7;white-space:nowrap;letter-spacing:-.01em}
.rail .foot a:hover{color:var(--fg)}

.head{position:sticky;top:0;background:var(--bg);z-index:5;border-bottom:1px solid var(--line)}
.head .t{display:flex;align-items:center;gap:10px;height:48px;padding:0 20px}
.head .t h1,.head .t .h1{font-size:15px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.head .t .sub{color:var(--fg3);font-size:13px;white-space:nowrap}
.head .t .sw{margin-left:auto;display:flex;gap:4px;overflow-x:auto;scrollbar-width:none}
.head .t .sw::-webkit-scrollbar{display:none}
.pill{border:1px solid var(--line);border-radius:999px;padding:4px 10px;font-size:12px;color:var(--fg2);white-space:nowrap;display:inline-flex;align-items:center;gap:6px}
.pill.on{background:var(--fg);color:var(--bg);border-color:var(--fg)}
a.pill:hover:not(.on){background:var(--bg2)}
.tabs{display:flex;gap:2px;padding:0 14px;overflow-x:auto;scrollbar-width:none}
.tabs::-webkit-scrollbar{display:none}
.tabs a{padding:8px 8px 10px;font-size:13px;color:var(--fg2);white-space:nowrap;position:relative}
.tabs a.on{color:var(--fg);font-weight:600}
.tabs a.on::after{content:"";position:absolute;left:8px;right:8px;bottom:-1px;height:2px;background:var(--fg)}
.content{padding:0 20px 56px}

.sec{display:flex;align-items:baseline;justify-content:space-between;padding:18px 0 6px;gap:12px}
.sec h1,.sec h2{font-size:13px;font-weight:600}
.sec a,.sec span{font-size:12px;color:var(--fg3)}
.sec a:hover{color:var(--fg)}

.nrow{display:grid;grid-template-columns:44px 1fr;gap:12px;padding:10px 0;border-bottom:1px solid var(--line)}
.nrow .t{font-size:12px;color:var(--fg3);padding-top:2px;white-space:nowrap}
.nrow h3{font-size:14px;font-weight:600;line-height:1.35}
.nrow h3 a:hover{text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:2px}
.nrow p{color:var(--fg2);font-size:13px;margin-top:2px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.nrow .m{display:flex;align-items:center;gap:6px;font-size:12px;color:var(--fg3);margin-top:5px;flex-wrap:wrap}
.nrow .m .c{width:10px;height:10px;border-radius:2px}
.nrow .m a:hover{color:var(--fg)}
.nrow.lead h3{font-size:19px;letter-spacing:-.01em;line-height:1.25}
.nrow.lead p{-webkit-line-clamp:3;font-size:14px}

table{width:100%;border-collapse:collapse;font-size:13px}
th,td{height:var(--row);padding:0 6px;text-align:right;border-bottom:1px solid var(--line);white-space:nowrap}
th{font-size:11px;font-weight:600;color:var(--fg3);height:30px}
th.l,td.l{text-align:left}
td.pos{color:var(--fg3);width:30px;padding-left:0}
td.club{width:100%}
td.club a,td.club>span{display:inline-flex;align-items:center;gap:10px}
td.pts{font-weight:600}
.side table{font-size:13px}
.side td,.side th{height:34px}
.side .sec{padding-top:0}
.side>*+.sec{padding-top:22px}
.side .src{display:flex;align-items:center;gap:8px;height:32px;border-bottom:1px solid var(--line);font-size:13px}
.side .src span:last-child{margin-left:auto;color:var(--fg3);font-size:12px}
.spot{background:var(--bg2);border-radius:6px;display:grid;place-items:center;color:var(--fg3);font-size:11px;margin:16px auto;overflow:hidden;contain:layout}
.spot span{letter-spacing:.04em;text-transform:uppercase}
.spot-wide{width:100%;height:90px}
.spot-mrec{width:300px;height:250px}
.spot-half{width:300px;height:600px}
.side .spot{margin:22px auto 0}
.side .spot.stick{position:sticky;top:16px}
@media (max-width:760px){.spot-wide{width:300px;max-width:100%;height:250px;margin:14px auto}}
.empty{padding:40px 0;color:var(--fg3);text-align:center}

.clubs{display:grid;grid-template-columns:repeat(2,1fr);gap:0 28px;padding-top:6px}
/* Binnenruimte + negatieve marge: de hover-achtergrond krijgt lucht, de namen blijven uitgelijnd met de kopjes. */
.clubs a{display:flex;align-items:center;gap:12px;min-height:var(--row);padding:7px 10px;margin:0 -10px;border-bottom:1px solid var(--line);border-radius:6px;font-size:13px;line-height:1.3;transition:background .12s}
.clubs a:hover{background:var(--bg2);border-bottom-color:transparent}
.clubs a > .badge{flex:none;object-fit:contain}
.clubs a > span:not(.r){min-width:0;overflow:hidden;text-overflow:ellipsis}
.clubs a .r{margin-left:auto;flex:none;padding-left:8px;color:var(--fg3);font-size:12px;font-variant-numeric:tabular-nums}

.art{padding-top:22px}
.art .crumb{display:flex;align-items:center;gap:8px;font-size:12px;color:var(--fg3);flex-wrap:wrap}
.art .crumb a:hover{color:var(--fg)}
.art h1{font-size:26px;line-height:1.2;letter-spacing:-.015em;font-weight:700;margin:10px 0 8px}
.art .meta{font-size:12px;color:var(--fg3);display:flex;gap:12px;flex-wrap:wrap;padding-bottom:16px;border-bottom:1px solid var(--line);margin-bottom:16px;align-items:center}
.art .meta .src{display:inline-flex;align-items:center;gap:6px}
.art .body p{font-size:16px;line-height:1.6;margin-bottom:14px}
.btn{display:inline-flex;align-items:center;gap:8px;height:38px;padding:0 14px;border-radius:6px;background:var(--fg);color:var(--bg);font-weight:600;font-size:13px;margin:4px 0 20px}
.btn svg{width:14px;height:14px}
.btn.o{background:none;border:1px solid var(--line);color:var(--fg)}
.also a{display:flex;justify-content:space-between;gap:14px;min-height:var(--row);align-items:center;border-bottom:1px solid var(--line);font-size:13px;padding:6px 0}
.also a span:last-child{color:var(--fg3);font-size:12px;flex:none;display:inline-flex;align-items:center;gap:6px}
.also a:hover span:first-child{text-decoration:underline;text-underline-offset:2px}
.tags{display:flex;gap:6px;flex-wrap:wrap;padding:8px 0}
.tags span,.tags a,.tags button{border:1px solid var(--line);border-radius:999px;padding:3px 9px;font-size:12px;color:var(--fg2)}
.tags button{background:none;font-family:inherit;line-height:inherit;cursor:pointer}
.tags a:hover,.tags button:hover{background:var(--bg2);color:var(--fg)}
.tags+form.tags{padding-top:0}

.prose{padding-top:22px}
.prose h1{font-size:24px;letter-spacing:-.01em;margin-bottom:12px}
.prose h2{font-size:16px;margin:22px 0 6px}
.prose p,.prose li{font-size:15px;line-height:1.6;margin-bottom:12px;color:var(--fg)}
.prose ul{padding-left:18px;list-style:disc}
.facts-intro{border:1px solid var(--line);border-radius:8px;padding:12px 14px;margin:4px 0 18px;background:var(--bg2)}
.facts-intro b{display:block;font-size:12px;text-transform:uppercase;letter-spacing:.04em;color:var(--fg3);margin-bottom:4px}
.facts-intro p{margin:0;font-size:14px}
.prose a{text-decoration:underline;text-underline-offset:2px}
.seo{padding-top:28px;border-top:1px solid var(--line);margin-top:30px}
.seo p{font-size:14px;line-height:1.6;color:var(--fg2);margin-bottom:12px}
.seo h2{font-size:14px;margin:18px 0 8px}
.seo details{border-bottom:1px solid var(--line)}
.seo summary{cursor:pointer;padding:10px 0;font-size:14px;font-weight:600;list-style:none;display:flex;justify-content:space-between}
.seo summary::-webkit-details-marker{display:none}
.seo summary::after{content:"+";color:var(--fg3)}
.seo details[open] summary::after{content:"–"}
.seo details p{padding-bottom:12px}

.pager{display:flex;gap:4px;justify-content:center;padding:24px 0 8px;flex-wrap:wrap}
.pager a,.pager span{min-width:32px;height:32px;display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--line);border-radius:6px;padding:0 8px;font-size:13px;color:var(--fg2)}
.pager a:hover{background:var(--bg2);color:var(--fg)}
.pager .on{background:var(--fg);color:var(--bg);border-color:var(--fg)}
.pager .dis{color:var(--fg3);opacity:.5}

.mtop,.mbar,.mclose,.mback{display:none}

@media (max-width:1100px){
  .app{grid-template-columns:var(--rail) minmax(0,1fr)}
  .side{display:none}
}
@media (max-width:760px){
  .app{display:block}
  .rail{display:flex;position:fixed;top:0;right:0;bottom:0;width:min(300px,86vw);height:auto;z-index:70;background:var(--bg);border-right:0;border-left:1px solid var(--line);padding:10px 12px calc(24px + env(safe-area-inset-bottom));transform:translateX(100%);visibility:hidden;transition:transform .22s ease,visibility 0s .22s}
  .rail .brand{justify-content:flex-start;gap:2px;padding:4px 0 2px 8px}
  .rail .brand .name{font-size:21px;margin-right:auto}
  .rail .mclose{display:grid}
  .rail nav a{height:40px}
  .menu-open .rail{transform:none;visibility:visible;transition:transform .22s ease}
  .mback{display:block;position:fixed;inset:0;background:rgba(0,0,0,.45);z-index:65;opacity:0;pointer-events:none;transition:opacity .22s}
  .menu-open .mback{opacity:1;pointer-events:auto}
  .menu-open{overflow:hidden}
  .mtop{display:flex;align-items:center;gap:4px;height:48px;padding:0 8px 0 12px;border-bottom:1px solid var(--line);position:sticky;top:0;background:var(--bg);z-index:6}
  .mtop .name{font-size:24px;margin-right:auto;display:flex;align-items:center;gap:8px}
  .head{position:static}
  .head .t{height:42px;padding:0 12px}
  .head .t .sub{display:none}
  .tabs{padding:0 6px}
  .content{padding:0 12px 80px}
  .clubs{grid-template-columns:1fr}
  .hide-m{display:none!important}
  .art h1{font-size:22px}
  .mbar{display:grid;grid-template-columns:repeat(4,1fr);position:fixed;left:0;right:0;bottom:0;height:56px;background:var(--bg);border-top:1px solid var(--line);z-index:50;padding-bottom:env(safe-area-inset-bottom)}
  .mbar button{font:inherit;background:none;border:0;padding:0;cursor:pointer}
  .mbar a,.mbar button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;font-size:10px;color:var(--fg3)}
  .mbar .on{color:var(--fg)}
  .mbar svg{width:21px;height:21px}
  .msearch{display:none;padding:8px 12px;border-bottom:1px solid var(--line)}
  .msearch.open{display:block}
}
@media (min-width:761px){.msearch{display:none}}
.cf{display:grid;gap:12px;margin-top:8px}
.cf label{display:grid;gap:4px;font-size:12px;color:var(--fg2)}
.cf input,.cf textarea{font:inherit;color:var(--fg);background:var(--bg);border:1px solid var(--line);border-radius:6px;padding:9px 10px;width:100%}
.cf .btn{justify-self:start;margin:4px 0 0}
.cf .hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
.badge{display:inline-block;flex:none;object-fit:contain;vertical-align:middle}
.rail nav a .badge{width:16px;height:16px}
.complogo{width:22px;height:22px}
/* in dark mode staat elk logo op een klein licht tegeltje, zodat donkere logo's leesbaar blijven */
:root[data-theme="dark"] .badge{background:#ececec;border-radius:4px;padding:2px;box-sizing:border-box}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]) .badge{background:#ececec;border-radius:4px;padding:2px;box-sizing:border-box}}
/* wedstrijden en stand */
.mrow{display:grid;grid-template-columns:52px 1fr 64px 1fr;align-items:center;min-height:var(--row);border-bottom:1px solid var(--line);font-size:13px}
.mrow:hover{background:var(--bg2)}
.mrow .st{font-size:12px;color:var(--fg3)}
.mrow .st.live{color:var(--accent);font-weight:600}
.mrow .h,.mrow .a{display:flex;align-items:center;gap:8px;min-width:0}
.mrow .a{justify-content:flex-end;text-align:right}
.mrow .h span,.mrow .a span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.mrow .sc{text-align:center;font-weight:600;white-space:nowrap}
.mrow .sc.t{font-weight:400;color:var(--fg2)}
.mrow .sc small{display:block;font-size:10px;font-weight:400;line-height:1.1;white-space:nowrap}
.mrow .win{font-weight:600}
.mrow .lose{color:var(--fg2)}
.day{font-size:12px;color:var(--fg3);padding:14px 0 4px}
.day b{color:var(--fg2);font-weight:600}
td.pos i{display:inline-block;width:3px;height:14px;border-radius:2px;vertical-align:-2px;margin-right:6px}
.legend{display:flex;gap:14px 18px;font-size:12px;color:var(--fg3);padding:12px 0 6px;flex-wrap:wrap}
.legend i{display:inline-block;width:3px;height:12px;border-radius:2px;vertical-align:-1px;margin-right:6px}
.head .t .sw.rsw{overflow:visible}
.rmenu{position:relative}
.rmenu summary{list-style:none;cursor:pointer;user-select:none}
.rmenu summary::-webkit-details-marker{display:none}
.rmenu[open] summary svg{transform:rotate(180deg)}
.rmenu .rlist{position:absolute;right:0;top:calc(100% + 6px);z-index:20;width:240px;max-height:min(60vh,420px);overflow-y:auto;background:var(--bg);border:1px solid var(--line);border-radius:10px;box-shadow:0 8px 24px rgba(0,0,0,.12);padding:4px}
.rmenu .rlist a{display:flex;justify-content:space-between;gap:12px;padding:7px 10px;border-radius:6px;font-size:13px;color:var(--fg2);white-space:nowrap}
.rmenu .rlist a:hover{background:var(--bg2);color:var(--fg)}
.rmenu .rlist a.on{background:var(--bg2);color:var(--fg);font-weight:600}
.rmenu .rlist a .g3{font-size:12px;font-weight:400}
.rnav{display:flex;justify-content:space-between;gap:12px;padding:18px 0 8px;font-size:13px}
.rnav a{border:1px solid var(--line);border-radius:8px;padding:8px 12px;color:var(--fg2)}
.rnav a:hover{background:var(--bg2);color:var(--fg)}
.side .mrow{grid-template-columns:40px 1fr 30px 1fr;font-size:12px;min-height:36px}
.side .day{padding:8px 0 2px;font-size:11px}
.side .mrow .badge{width:14px;height:14px}
@media (max-width:760px){.mrow{grid-template-columns:44px 1fr 56px 1fr}}
.mrow.has-d{grid-template-columns:66px 1fr 64px 1fr}
.mrow .st b{display:block;font-weight:400;color:var(--fg2);white-space:nowrap;line-height:1.25}
.side .mrow.has-d{grid-template-columns:58px 1fr 34px 1fr}
.side .mrow .st{font-size:11px}
@media (max-width:760px){.mrow.has-d{grid-template-columns:62px 1fr 48px 1fr}}
.ch{padding:20px 0 8px;display:flex;align-items:center;gap:14px}
.ch h1{font-size:22px;font-weight:700;letter-spacing:-.01em}
.ch .g3{font-size:13px}
.kpis{display:grid;grid-template-columns:repeat(4,1fr);border:1px solid var(--line);border-radius:8px;overflow:hidden;margin:10px 0 6px}
.kpis div{padding:10px 14px;border-right:1px solid var(--line)}
.kpis div:last-child{border:0}
.kpis b{display:block;font-size:18px;font-weight:600}
.kpis span{font-size:12px;color:var(--fg3)}
@media (max-width:760px){.kpis div{padding:8px 10px}.kpis b{font-size:15px}}
/* actief menu-item heeft een donkere achtergrond: logo op een licht tegeltje */
.rail nav a.on .badge{background:#ececec;border-radius:4px;padding:2px;box-sizing:border-box}
/* wedstrijdpagina */
.match-hero{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:16px;padding:26px 0 18px;border-bottom:1px solid var(--line)}
.match-hero .team{display:flex;flex-direction:column;align-items:center;gap:10px;font-weight:600;font-size:16px;text-align:center}
.match-hero a.team:hover span{text-decoration:underline;text-underline-offset:2px}
.match-hero .mid{text-align:center}
.match-hero .score{font-size:40px;font-weight:700;letter-spacing:-.02em;line-height:1}
.match-hero .score.t{font-size:28px;font-weight:600;color:var(--fg2)}
.match-hero .when{font-size:12px;color:var(--fg3);margin-top:8px}
.match-hero .when .live{color:var(--accent)}
.match-hero .when b.live::after{content:"";display:inline-block;width:7px;height:7px;margin-left:7px;border-radius:50%;background:currentColor;vertical-align:1px;animation:livepulse 2s ease-in-out infinite}
@keyframes livepulse{0%,100%{opacity:1}50%{opacity:.4}}
@media (prefers-reduced-motion:reduce){.match-hero .when b.live::after{animation:none}}
.match-h1{font-size:15px;font-weight:600;padding:14px 0 6px}
.facts{display:grid;grid-template-columns:1fr 1fr;column-gap:28px}
.facts div{display:flex;justify-content:space-between;gap:12px;min-height:36px;align-items:center;border-bottom:1px solid var(--line);font-size:13px}
.facts dt{color:var(--fg3)}
.facts dd{font-weight:600;text-align:right}
.facts dd a:hover{text-decoration:underline}
.vs-table td.club{width:auto}
.form{display:inline-flex;gap:3px;vertical-align:middle}
.form a{display:inline-flex;align-items:center;justify-content:center;width:18px;height:18px;border-radius:3px;box-sizing:border-box;font-size:10px;font-weight:600;line-height:1}
.form .w{background:var(--fg);color:var(--bg)}
.form .d{background:var(--line);color:var(--fg2)}
.form .l{border:1px solid var(--line);color:var(--fg3)}
@media (max-width:760px){.match-hero .score{font-size:32px}.match-hero .team{font-size:14px}.facts{grid-template-columns:1fr}}
.more{display:flex;justify-content:center;padding:22px 0 4px}
.more .btn{margin:0}
.events{display:grid;grid-template-columns:1fr 1fr;gap:16px;padding:12px 0;border-bottom:1px solid var(--line);font-size:13px}
.events .away{text-align:right}
.events div div{padding:2px 0}
.events .rc{display:inline-block;width:8px;height:11px;border-radius:1px;background:#d2122e;margin-right:6px;vertical-align:-1px}
.day .comp{color:var(--fg3);font-weight:400}
.alist a{display:grid;grid-template-columns:auto 1fr auto;gap:10px;align-items:center;min-height:var(--row);border-bottom:1px solid var(--line);font-size:13px;padding:6px 0}
.alist a:hover .tt{text-decoration:underline;text-underline-offset:2px}
.alist .ic{display:inline-flex;gap:3px;align-items:center;width:52px}
.alist .mt{color:var(--fg3);font-size:12px;white-space:nowrap}
@media (max-width:760px){.alist a{grid-template-columns:auto 1fr}.alist .mt{grid-column:2}}
.video-link{padding:12px 0 2px}
.video-link a{display:inline-flex;align-items:center;gap:8px;font-size:13px;font-weight:600}
.video-link a:hover{text-decoration:underline;text-underline-offset:2px}
.seasons{display:flex;align-items:center;gap:6px;flex-wrap:wrap;padding:12px 0 2px}
.seasons .xs{margin-right:2px}
.empty-state{padding:56px 24px 48px;text-align:center;display:flex;flex-direction:column;align-items:center}
.empty-state .es-icon{width:68px;height:68px;border-radius:50%;display:grid;place-items:center;background:#fff;border:1px solid var(--line);color:#9b9b9b;margin-bottom:16px;box-shadow:0 0 0 6px var(--bg2)}
.empty-state .es-icon img{width:34px;height:34px;object-fit:contain}
.empty-state .es-icon svg{width:28px;height:28px}
.empty-state h3{font-size:17px;font-weight:600;letter-spacing:-.01em;margin-bottom:6px}
.empty-state p{color:var(--fg2);font-size:13px;max-width:380px;margin-bottom:18px}
.empty-state .es-btn{display:inline-flex;align-items:center;height:34px;padding:0 14px;border-radius:6px;background:var(--fg);color:var(--bg);font-size:13px;font-weight:600}
.empty-state .es-btn:hover{opacity:.85}
.empty-state .es-more{margin-top:24px;display:flex;flex-direction:column;align-items:center;gap:8px}
.empty-state .es-chips{display:flex;flex-wrap:wrap;justify-content:center;gap:6px}
.empty-state .es-chips a{display:inline-flex;align-items:center;gap:6px;height:28px;padding:0 10px;border:1px solid var(--line);border-radius:999px;font-size:12px;background:#fff;color:#000}
.empty-state .es-chips a:hover{border-color:var(--fg3)}
.empty-state .es-chips img{width:14px;height:14px;object-fit:contain}

.share{display:flex;align-items:center;gap:6px;flex-wrap:wrap;margin:14px 0 20px}
.share .lbl{font-size:12px;color:var(--fg3);margin-right:4px}
.share a,.share button{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;border-radius:6px;border:1px solid var(--line);background:none;color:var(--fg2,var(--fg));cursor:pointer;padding:0}
.share a:hover,.share button:hover{color:var(--fg);border-color:var(--fg3)}
.share svg{width:16px;height:16px}
.share .ok{font-size:12px;color:var(--fg3)}

.scorers td.club{width:auto;white-space:nowrap;padding-right:28px}
.scorers td.team{width:100%}
.scorers td.team a,.scorers td.team>span{gap:8px}
.pavatar{width:56px;height:56px;border-radius:50%;background:var(--bg2);border:1px solid var(--line);display:grid;place-items:center;font-weight:700;font-size:20px;color:var(--fg2);flex:none}
.pfacts{display:grid;grid-template-columns:1fr 1fr;column-gap:32px;font-size:13px;margin:0}
.pfacts div{display:flex;gap:12px;padding:8px 0;border-bottom:1px solid var(--line);min-width:0}
.pfacts dt{color:var(--fg3);width:110px;flex:none}
.pfacts dd{margin:0;min-width:0}
/* Vaste kolombreedtes: elke rij is een eigen grid, dus variabele breedtes laten teams en uitslag per rij verspringen. */
.mrow.has-ex{grid-template-columns:52px 1fr 64px 1fr 150px}
.mrow.has-d.has-ex{grid-template-columns:72px 1fr 64px 1fr 210px}
.mrow .ex{font-size:12px;color:var(--fg2);text-align:right;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;padding-left:10px}
@media (max-width:700px){.pfacts{grid-template-columns:1fr}.mrow.has-ex{grid-template-columns:44px 1fr 52px 1fr;row-gap:0}.mrow.has-ex .ex{grid-column:2/5;text-align:left;padding:0 0 6px}}
@media (max-width:700px){.mrow.has-d.has-ex{grid-template-columns:68px 1fr 48px 1fr}}
.squad td.club{width:100%}
.pintro{font-size:15px;line-height:1.6;color:var(--fg2);margin:4px 0 10px;max-width:680px}
.tvb{display:inline-flex;align-items:center;gap:4px;height:18px;vertical-align:middle;line-height:1}
.tvb img{height:10px;width:auto;display:block}
.tvb-npo img{height:14px}
.tvb-ziggo img{height:13px}
.tvb-disney img{height:14px}.tvb-disney.sm img{height:11px}
.tvb b{font-size:10.5px;font-weight:700;color:var(--fg);letter-spacing:-.01em}
.tvb.sm{height:15px;padding:0 4px;gap:3px;margin-top:3px}
.tvb.sm img{height:8px}.tvb-ziggo.sm img{height:11px}.tvb-npo.sm img{height:11px}
.tvb.sm b{font-size:9.5px}
.mrow .sc.t small{display:flex;justify-content:center}
.tvrow{display:grid;grid-template-columns:84px minmax(0,1fr) 12px minmax(0,1fr) 84px;align-items:center;gap:8px;min-height:var(--row);border-bottom:1px solid var(--line);font-size:13px}
a.tvrow:hover{background:var(--bg2)}
.tvrow .st{font-size:12px;color:var(--fg3)}
.tvrow .tm{display:flex;align-items:center;gap:7px;min-width:0}
.tvrow .tm .badge{flex:none}
.tvrow .nm{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.tvrow .dash{text-align:center}
.tvrow .tm.home{justify-content:flex-end;text-align:right}
.tvcomp{width:100%}.tvcomp td{font-size:13px;text-align:left;white-space:normal;padding:6px 12px 6px 0;height:auto}.tvcomp td:last-child{color:var(--fg2);padding-right:0}
.tvrow .tvb{justify-content:flex-end}
@media (max-width:700px){.tvrow{grid-template-columns:66px minmax(0,1fr) 10px minmax(0,1fr) 66px;gap:6px}.tvrow .tm{gap:5px}}
/* padding/gap op 0: de algemene .ch (paginakop) heeft 20px bovenruimte en duwde de zender onder de regel */
.tvrow .ch{justify-self:stretch;display:flex;justify-content:flex-end;padding:0;gap:0}
/* Zenderlogo's zonder vlak of rand (licht en donker); in de donkere modus wordt het donkerblauwe Disney+-logo wit. */
:root[data-theme="dark"] .tvb-disney img{filter:brightness(0) invert(1)}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]) .tvb-disney img{filter:brightness(0) invert(1)}}
/* Zender in het feitenblok van een wedstrijdpagina: iets groter dan in de lijst. */
.facts .tvb{height:20px;gap:5px}.facts .tvb img{height:12px}.facts .tvb-ziggo img{height:15px}.facts .tvb-npo img{height:17px}.facts .tvb-disney img{height:18px}.facts .tvb b{font-size:13px}
.formline{display:flex;align-items:center;gap:5px;padding:10px 0 2px;font-size:12px}
.formline .g3{margin-right:6px}
.fm{width:20px;height:20px;border-radius:4px;display:grid;place-items:center;font-size:11px;font-weight:700;color:#fff}
.fm-w{background:#1f9d55}.fm-g{background:#9aa0a6}.fm-v{background:#d93025}
.kpis .mv{font-style:normal;font-size:11px;font-weight:600;margin-left:6px;padding:1px 5px;border-radius:4px;vertical-align:3px}
.kpis .mv.up{color:#1f9d55;background:rgba(31,157,85,.12)}.kpis .mv.down{color:#d93025;background:rgba(217,48,37,.12)}
.kpis .fmrow{display:flex;gap:3px;height:27px;align-items:center}.kpis .fmrow .fm{font-style:normal}
@media (max-width:760px){.kpis .fmrow{height:22px}.kpis .fmrow .fm{width:18px;height:18px;font-size:10px}
.kpis-2m{grid-template-columns:1fr 1fr}.kpis-2m div:nth-child(2n){border-right:0}.kpis-2m div:nth-child(-n+2){border-bottom:1px solid var(--line)}}
tr.me td{background:var(--bg2);font-weight:600}
table.fixed{table-layout:fixed}
table.fixed td{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
@media (max-width:700px){table.fixed{table-layout:auto}table.fixed col{width:auto!important}}
/* Onderlinge duels */
.h2h-bar{display:flex;height:6px;border-radius:3px;overflow:hidden;margin:2px 0 12px;background:var(--line)}
.h2h-bar i{display:block;height:100%}
.h2h-bar .w{background:var(--fg)}
.h2h-bar .d{background:var(--fg3);opacity:.45}
.h2h-bar .l{background:var(--fg2);opacity:.75}
.h2h-text{font-size:14px;line-height:1.6;color:var(--fg2);margin:0 0 8px}
.h2h-kpis span{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.h2h-cards{display:grid;grid-template-columns:repeat(2,1fr);gap:10px;margin-top:4px}
.h2h-card{display:block;border:1px solid var(--line);border-radius:8px;padding:10px 14px 8px}
.h2h-card:hover{background:var(--bg2)}
.h2h-card .lbl{display:block;font-size:11px;text-transform:uppercase;letter-spacing:.04em;color:var(--fg3);margin-bottom:6px}
.h2h-card .teams{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:10px;font-size:14px;font-weight:600}
.h2h-card .teams>span{display:flex;flex-direction:column;align-items:center;gap:6px;min-width:0;line-height:1.25;text-align:center;overflow-wrap:anywhere}
.h2h-card .teams .badge{flex:none}
.h2h-card .teams b{font-size:15px;white-space:nowrap}
.h2h-card .h2h-bar{margin:10px 0 6px}
.h2h-card .sub{display:block;font-size:12px;color:var(--fg3)}
.h2h-more,.h2h-clubs details{border-bottom:1px solid var(--line)}
.h2h-more summary,.h2h-clubs summary{cursor:pointer;list-style:none;display:flex;align-items:center;gap:8px;min-height:40px;font-size:13px;font-weight:600}
.h2h-more summary::-webkit-details-marker,.h2h-clubs summary::-webkit-details-marker{display:none}
.h2h-more summary{color:var(--fg3);font-weight:400}
.h2h-clubs summary .g3{margin-left:auto;font-weight:400}
.h2h-more p,.h2h-clubs p{font-size:13px;line-height:1.8;padding:0 0 10px}
.h2h-more a,.h2h-clubs p a{color:var(--fg2)}
.h2h-more a:hover,.h2h-clubs p a:hover{color:var(--fg);text-decoration:underline}
.h2h-clubs{display:grid;grid-template-columns:1fr 1fr;column-gap:28px;align-items:start}
@media (max-width:700px){.h2h-cards,.h2h-clubs{grid-template-columns:1fr}}

.h2h-bar .w,.h2h-bar .l{opacity:1}
.h2h-bar .d{background:var(--line);opacity:1}
.h2h-kpis .dot{display:inline-block;width:8px;height:8px;border-radius:2px;margin-right:5px;vertical-align:0}
/* Onze voorspelling */
.fc{margin-top:2px}
.fc-bar{display:flex;gap:2px;height:28px}
.fc-bar span{display:flex;align-items:center;padding:0 8px;border-radius:4px;font-size:12px;font-weight:600;min-width:0;white-space:nowrap;overflow:hidden}
.fc-legend{display:flex;flex-wrap:wrap;gap:4px 16px;margin:8px 0 2px;font-size:12px;color:var(--fg2)}
.fc-legend span{display:inline-flex;align-items:center;gap:6px}
.fc-legend i{width:10px;height:10px;border-radius:2px;display:inline-block}
.fc-legend i.ln{width:14px;height:2px;border-radius:1px}
.fc-legend b{color:var(--fg)}
.fc-legend-l{margin:4px 0 6px}
.fc-head{font-size:14px;line-height:1.55;margin:10px 0 4px}
.fc-verdict{display:inline-block;font-size:11px;font-weight:600;padding:2px 7px;border-radius:4px;margin-right:6px;vertical-align:1px}
.fc-verdict.ok{background:var(--accent);color:#fff}
.fc-verdict.no{background:var(--line);color:var(--fg2)}
.fc-kpis{grid-template-columns:repeat(4,1fr)}
.fc-kpis span{white-space:normal;line-height:1.3}
.fc-why{margin:10px 0 4px;padding:0;list-style:none}
.fc-why li{position:relative;padding:0 0 6px 16px;font-size:13.5px;line-height:1.55;color:var(--fg2)}
.fc-why li::before{content:"";position:absolute;left:2px;top:.62em;width:6px;height:6px;border-radius:50%;background:var(--fg3)}
.fc-more{border-top:1px solid var(--line);border-bottom:1px solid var(--line);margin-top:10px}
.fc-more>summary{cursor:pointer;list-style:none;display:flex;align-items:center;justify-content:space-between;min-height:42px;font-size:13px;font-weight:600}
.fc-more>summary::-webkit-details-marker{display:none}
.fc-more>summary::after{content:"";width:7px;height:7px;border-right:1.5px solid var(--fg3);border-bottom:1.5px solid var(--fg3);transform:rotate(45deg);margin:0 4px 4px 0;transition:transform .15s}
.fc-more[open]>summary::after{transform:rotate(-135deg);margin-bottom:-2px}
.fc-more[open]{padding-bottom:14px}
.fc-h{font-size:13px;font-weight:600;margin:16px 0 2px}
.fc-sub{font-size:12px;color:var(--fg3);line-height:1.5;margin:0 0 6px}
.fc-chart{position:relative}
.fc-chart svg{width:100%;height:auto;display:block;touch-action:pan-y}
.fc-chart .grid{stroke:var(--line);stroke-width:1}
.fc-chart .tick{fill:var(--fg3);font-size:11px;font-variant-numeric:tabular-nums}
.fc-chart .end{fill:var(--fg2);font-size:11.5px}
.fc-chart .end .v{fill:var(--fg);font-weight:600}
.fc-chart .ring,.fc-chart .hd{stroke:var(--bg);stroke-width:2}
.fc-chart .xh{stroke:var(--fg3);stroke-width:1}
.fc-tip{position:absolute;top:0;pointer-events:none;background:var(--bg);border:1px solid var(--line);border-radius:6px;padding:6px 9px;font-size:12px;line-height:1.5;box-shadow:0 2px 8px rgba(0,0,0,.08);white-space:nowrap}
.fc-tip .d{color:var(--fg3);font-size:11px}
.fc-tip i{display:inline-block;width:10px;height:2px;margin-right:6px;vertical-align:3px}
.fc-tip span{color:var(--fg2)}
.fc-forms{display:grid;grid-template-columns:1fr 1fr;column-gap:28px}
.fc-team{display:flex;align-items:center;gap:8px;font-size:13px;font-weight:600;height:30px}
.fc-frow{display:grid;grid-template-columns:24px 1fr 36px 64px;align-items:center;gap:6px;height:32px;border-bottom:1px solid var(--line);font-size:12.5px}
.fc-frow:hover{background:var(--bg2)}
.fc-frow .o{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--fg2)}
.fc-frow .s{font-weight:600;text-align:center;font-variant-numeric:tabular-nums}
.fc-frow .e{position:relative;display:flex;align-items:center;justify-content:flex-end;gap:6px;font-size:11.5px;color:var(--fg3);font-variant-numeric:tabular-nums}
.fc-frow .e i{display:block;height:6px;max-width:34px;border-radius:0 3px 3px 0;background:var(--fg3);opacity:.5;margin-right:auto}
.fc-chip{display:inline-flex;align-items:center;justify-content:center;width:18px;height:18px;border-radius:3px;box-sizing:border-box;font-size:10px;font-weight:600}
.fc-sum{display:flex;gap:14px;font-size:12px;color:var(--fg3);padding:8px 0 0}
.fc-sum b{color:var(--fg)}
.fc-sum .up{color:var(--accent);font-weight:600}
.fc-sum .down{color:var(--fg2);font-weight:600}
.fc-heat{border-collapse:separate;border-spacing:2px;margin:2px 0 0}
.fc-heat th{font-size:11px;color:var(--fg3);font-weight:400;width:22px;height:22px;text-align:center}
.fc-heat td{width:52px;height:30px;text-align:center;font-size:11.5px;border-radius:4px;font-variant-numeric:tabular-nums;color:var(--fg)}
.fc-heat .s0{background:var(--bg2)}
.fc-heat .s1{background:color-mix(in oklab,var(--accent) 12%,var(--bg))}
.fc-heat .s2{background:color-mix(in oklab,var(--accent) 24%,var(--bg))}
.fc-heat .s3{background:color-mix(in oklab,var(--accent) 38%,var(--bg))}
.fc-heat .s4{background:color-mix(in oklab,var(--accent) 54%,var(--bg))}
.fc-heat .s5{background:color-mix(in oklab,var(--accent) 72%,var(--bg));color:#fff}
.fc-heat .s6{background:var(--accent);color:#fff}
.fc-heat td.top{font-weight:700;box-shadow:inset 0 0 0 2px var(--fg)}
.fc-note{font-size:11.5px;color:var(--fg3);line-height:1.5;margin:10px 0 0}
@media (max-width:700px){.fc-kpis{grid-template-columns:1fr 1fr}.fc-kpis div:nth-child(2){border-right:0}.fc-kpis div:nth-child(-n+2){border-bottom:1px solid var(--line)}.fc-forms{grid-template-columns:1fr}.fc-heat td{width:auto;min-width:40px}}
.fc-list{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:4px}
.fc-card{display:block;border:1px solid var(--line);border-radius:8px;padding:10px 14px 12px}
.fc-card:hover{background:var(--bg2)}
.fc-card .lbl{display:block;font-size:11px;text-transform:uppercase;letter-spacing:.04em;color:var(--fg3);margin-bottom:6px}
.fc-card .teams{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:10px;font-size:13.5px;margin-bottom:9px}
.fc-card .teams>span{display:flex;align-items:center;gap:8px;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:var(--fg2)}
.fc-card .teams>span.fav{color:var(--fg);font-weight:600}
.fc-card .teams .r{justify-content:flex-end}
.fc-card .teams b{font-size:15px;font-variant-numeric:tabular-nums}
.fc-bar.sm{height:22px}
.fc-bar.sm span{font-size:11px;padding:0 6px}
.fc-power td.bar{width:42%;padding-right:12px}
.fc-power td.bar i{display:block;height:8px;border-radius:0 4px 4px 0}
.fc-power td.d{width:44px;font-size:12px;color:var(--fg3);font-variant-numeric:tabular-nums}
.fc-power td.d.up{color:var(--accent)}
@media (max-width:700px){.fc-list{grid-template-columns:1fr}.fc-power td.bar{width:30%}}
/* Voorspelling als kaart */
.h2h-card.fc{padding:12px 16px 14px;margin-top:4px}
.h2h-card.fc .teams b{font-size:14px;font-variant-numeric:tabular-nums}
.h2h-card.fc .h2h-bar{height:8px;border-radius:4px;gap:2px;background:none}
.h2h-card.fc .h2h-bar i{border-radius:4px}
.h2h-card.fc .h2h-bar .d{background:var(--line)}
.h2h-card.fc .fc-head{margin-top:12px}
.h2h-card.fc .fc-more{border-bottom:0;margin-bottom:-4px}
@media (max-width:560px){.h2h-card.fc .teams{font-size:13px}.h2h-card.fc .teams b{font-size:12.5px}}
.h2h-card.fc:hover{background:none}
.fc-club{display:inline-flex;align-items:center;gap:8px}
.fc-ftable{width:100%;font-size:12.5px;font-variant-numeric:tabular-nums}
.fc-ftable th{text-align:right;font-weight:400;font-size:11px;color:var(--fg3);height:26px;padding-left:8px}
.fc-ftable th.l,.fc-ftable td.l{text-align:left;padding-left:0}
.fc-ftable td{text-align:right;height:32px;border-bottom:1px solid var(--line);padding-left:8px;white-space:nowrap}
.fc-ftable td.l a{display:flex;align-items:center;gap:8px;min-width:0}
.fc-ftable td.l .o{overflow:hidden;text-overflow:ellipsis}
.fc-ftable td.l .form{flex:none}
.fc-ftable td.pts{font-weight:600}
.fc-ftable td.up{color:var(--accent);font-weight:600}
.fc-ftable tfoot td{border-bottom:0;font-weight:600;height:30px}
.fc-ftable tfoot td.l{color:var(--fg2)}
.fc-verdict-line{font-size:12.5px;color:var(--fg2);margin:2px 0 12px}
.fc-forms{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
.fc-forms>div{min-width:0}
.fc-ftable{table-layout:fixed}
.fc-ftable td.l{overflow:hidden}
.fc-ftable td.l .o{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}
@media (max-width:700px){.fc-forms{grid-template-columns:minmax(0,1fr)}}
.mrow.ned{background:var(--bg2)}.mrow.ned .h span,.mrow.ned .a span{font-weight:600}
.h2h-first{margin:4px 0 8px;padding:10px 14px;border:1px solid var(--line);border-radius:8px;color:var(--fg2)}
/* Topscorers op mobiel: korte clubnaam, namen mogen afbreken */
.scorers .nm-short{display:none}
@media (max-width:640px){
  .scorers td.club{white-space:normal;padding-right:10px}
  .scorers td.team{width:auto}
  .scorers .nm-full{display:none}
  .scorers .nm-short{display:inline}
}
/* Voorbeschouwing en verslag op de wedstrijdpagina */
.mtext{margin:6px 0 4px}
.mtext-h{font-size:17px;line-height:1.3;margin:2px 0 8px}
.mtext p{margin:0 0 10px;line-height:1.6}
.mtext p.xs{margin-top:-2px}
