/* Managerial Merry-Go-Round v2 */
:root {
    --bg: #0b1210;
    --panel: #111a17;
    --inset: #0d1513;
    --popover: #18221f;
    --text: #eef3ef;
    --secondary: #a9b6ae;
    --muted: #8a978f;
    --faint: #6f7d75;
    --row-label: #d3dcd6;
    --nav-muted: #9aa8a0;
    --accent: #66ff66;
    --border: rgba(255, 255, 255, .07);
    --red: #FF0033;
    --header-h: 90px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: 'Inter', system-ui, sans-serif;
    background: var(--bg);
    color: var(--text);
    -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); }
button { font: inherit; color: inherit; }
.hidden { display: none !important; }

/* ---------- Header (12b) ---------- */
.site-header {
    position: sticky; top: 0; z-index: 50;
    padding: 16px 24px 10px;
    background: rgba(11, 18, 16, .88);
    -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.site-nav {
    max-width: 1552px; margin: 0 auto;
    display: flex; align-items: center; gap: 1.5rem;
    padding: 10px 10px 10px 16px;
    background: rgba(255, 255, 255, .03);
    border: 1px solid var(--border);
    border-radius: 14px;
}
.logo { display: flex; align-items: center; gap: .75rem; color: var(--text); text-decoration: none; }
.logo-mark { flex: none; display: block; width: 46px; height: 42px; color: var(--text); }
.logo-text {
    display: flex; flex-direction: column;
    font-family: 'Bricolage Grotesque', sans-serif; font-size: 17px;
    letter-spacing: -.035em; line-height: .95; white-space: nowrap;
}
.logo-top { font-weight: 500; color: var(--nav-muted); }
.logo-bottom { font-weight: 800; color: var(--text); }
.nav-links { display: flex; gap: 2px; margin-left: auto; }
.nav-links a {
    color: var(--nav-muted); text-decoration: none; font-size: .85rem; font-weight: 600;
    padding: .4rem .8rem; border-radius: 8px;
}
.nav-links a:hover { color: var(--text); background: rgba(255, 255, 255, .05); }
.nav-links a.active { color: var(--bg); background: var(--text); }

/* ---------- Intro: presentatie (ontwerp design_handoff_intro) ---------- */
/* Schermvullend; de header zweeft erboven. Het intro zelf scrolt niet. */
.site-header.over-intro { background: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }
.site-header.over-intro .site-nav { background: rgba(11, 18, 16, .55); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.intro {
    position: relative; overflow: hidden;
    margin-top: calc(-1 * var(--header-h));
    padding-top: var(--header-h);
    height: 100vh; min-height: 560px;
    display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: minmax(0, 1fr) auto;
    background: var(--bg);
    outline: none;
}
.intro-glow { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(900px 500px at 75% 30%, rgba(102, 255, 102, .07), transparent 70%); }

/* Titelscherm */
.hero { position: absolute; inset: 0; z-index: 4; opacity: 0; pointer-events: none; transition: opacity .8s ease; }
.intro[data-step="0"] .hero { opacity: 1; pointer-events: auto; }
.hero-photos { position: absolute; inset: 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 3px; }
.hero-photo {
    position: relative; min-width: 0;
    background-color: #16201c; background-size: cover; background-position: center 20%; background-repeat: no-repeat;
    transform: translateX(-12%); transition: transform 1s cubic-bezier(.6, 0, .3, 1);
}
.hero-photo + .hero-photo { transform: translateX(12%); }
.intro[data-step="0"] .hero-photo { transform: none; }
.hero-shade { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(to bottom, rgba(11, 18, 16, .9) 0%, rgba(11, 18, 16, .1) 24%, rgba(11, 18, 16, .15) 42%, rgba(11, 18, 16, .94) 74%, #0b1210 100%); }
.hero-name {
    position: absolute; left: 48px; top: calc(var(--header-h) + clamp(8px, 4vh, 36px));
    display: flex; flex-direction: column; gap: 6px; pointer-events: none;
}
.hero-name.right { left: auto; right: 48px; align-items: flex-end; text-align: right; }
.hero-who { font-family: 'Bricolage Grotesque', sans-serif; font-weight: 800; font-size: 26px; letter-spacing: -.03em; }
.hero-what { font-size: .95rem; color: #c9d3cd; }
.hero-bar { display: flex; gap: 2px; margin-top: 6px; }
.hero-bar i { height: 6px; border-radius: 2px; }
.hero-main {
    position: absolute; left: 0; right: 0; bottom: clamp(40px, 11vh, 120px);
    display: flex; flex-direction: column; align-items: center; text-align: center;
    gap: clamp(.6rem, 1.8vh, 1.2rem); padding: 0 10vw;
}
.hero-kicker { margin: 0; font-size: .82rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--accent); }
.hero-main h1 {
    margin: 0; max-width: 1100px;
    font-family: 'Archivo', sans-serif; font-weight: 800; font-stretch: 112%;
    font-size: clamp(36px, min(6.2vw, 9vh), 92px); line-height: .97; letter-spacing: -.035em; text-wrap: balance;
}
.hero-sub { margin: 0; max-width: 660px; font-size: 1.25rem; line-height: 1.5; color: #c9d3cd; text-wrap: pretty; }
.hero-actions { display: flex; align-items: center; gap: 1.4rem; margin-top: .6rem; flex-wrap: wrap; justify-content: center; }
.btn-play {
    display: flex; align-items: center; gap: .7rem; border: none; cursor: pointer;
    font-weight: 800; font-size: 1.1rem; padding: 1.05rem 1.9rem; border-radius: 14px;
    background: var(--accent); color: var(--bg); box-shadow: 0 14px 40px rgba(102, 255, 102, .3);
}
.btn-play:hover { background: #8cff8c; }
.hero-skip { font-size: .95rem; color: var(--secondary); text-decoration: none; border-bottom: 1px solid rgba(255, 255, 255, .25); }
.hero-skip:hover { color: var(--text); }

/* Podium: tekst links, figuur rechts */
.stage, .controls { position: relative; z-index: 2; min-width: 0; transition: opacity .6s ease .2s; }
.intro[data-step="0"] .stage, .intro[data-step="0"] .controls { opacity: 0; pointer-events: none; transition-delay: 0s; }
.stage {
    display: grid; grid-template-columns: minmax(260px, 32%) minmax(0, 1fr); gap: clamp(20px, 3vw, 48px);
    padding: clamp(12px, 3vh, 28px) clamp(20px, 3.5vw, 48px) 12px; min-height: 0;
}
.stage-text { display: flex; flex-direction: column; justify-content: center; gap: clamp(.5rem, 1.6vh, 1rem); min-height: 0; overflow: hidden; }
.stage-text.enter > * { animation: st-in .5s ease both; }
.stage-text.enter > :nth-child(2) { animation-delay: .05s; }
.stage-text.enter > :nth-child(3) { animation-delay: .1s; }
.stage-text.enter > :nth-child(n+4) { animation-delay: .15s; }
@keyframes st-in { from { opacity: 0; transform: translateY(8px); } }
.st-portrait {
    width: 88px; height: 88px; border-radius: 16px; flex: none; margin: 3px 0 0 3px;
    background-color: #16201c; background-size: cover; background-position: center 20%;
    box-shadow: 0 0 0 3px var(--ring);
}
@media (max-height: 759px) { .st-portrait { display: none; } }
.st-kicker { margin: 0; font-size: .8rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); }
.st-title { margin: 0; font-family: 'Archivo', sans-serif; font-weight: 800; font-stretch: 112%; font-size: clamp(24px, min(3.2vw, 6vh), 50px); line-height: 1.02; letter-spacing: -.03em; text-wrap: balance; }
.st-big { font-family: 'Archivo', sans-serif; font-weight: 800; font-stretch: 112%; font-size: clamp(36px, min(6vw, 8vh), 88px); line-height: .9; letter-spacing: -.04em; }
.st-body { margin: 0; font-size: clamp(.95rem, 1.1vw, 1.12rem); line-height: 1.55; color: #b7c3bb; text-wrap: pretty; }
.st-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.st-chip { display: inline-flex; align-items: center; gap: .45rem; font-size: .9rem; font-weight: 700; padding: .35rem .75rem; border-radius: 999px; background: rgba(255, 255, 255, .07); }
.st-chip svg { filter: drop-shadow(0 1px 1px rgba(0, 0, 0, .6)); }
.st-cta {
    align-self: flex-start; margin-top: .6rem; text-decoration: none;
    font-weight: 800; font-size: 1.1rem; padding: 1rem 1.7rem; border-radius: 14px;
    background: var(--accent); color: var(--bg); box-shadow: 0 14px 40px rgba(102, 255, 102, .3);
}
.st-cta:hover { background: #8cff8c; color: var(--bg); }
.st-ctas { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1.2rem; }
.st-more { color: var(--secondary); font-weight: 600; font-size: .95rem; text-decoration: underline; text-underline-offset: 3px; }
.st-more:hover { color: var(--text); }

.stage-panel {
    position: relative; min-height: 0; min-width: 0; overflow: hidden;
    background: var(--panel); border: 1px solid var(--border); border-radius: 20px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, .4), inset 0 1px 0 rgba(255, 255, 255, .05);
}
.panel-cap { position: absolute; left: 28px; top: 22px; right: 28px; z-index: 2; display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }
#panel-caption { font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
#panel-source { font-size: .75rem; color: var(--faint); white-space: nowrap; }

/* Lagen: één tegelijk zichtbaar. Zonder 'armed' (en met 'instant') geen overgangen. */
.layer { position: absolute; inset: 64px 28px 28px; opacity: 0; pointer-events: none; transition: opacity .5s ease; }
.layer.active { opacity: 1; pointer-events: auto; }
.layer:not(.armed) *, .layer.instant * { transition: none !important; animation: none !important; }

/* Seizoensrij */
.layer-heat { display: flex; flex-direction: column; justify-content: center; --row-h: clamp(90px, 19vh, 150px); --lw: 190px; }
.layer-heat[data-row="mourinho"] { --lw: 210px; }
.h-anns { position: relative; height: 48px; margin-left: var(--lw); flex: none; }
.h-ann {
    position: absolute; bottom: 0; white-space: nowrap;
    font-size: 12.5px; line-height: 1.2; font-weight: 800;
    border-left: 2px solid var(--c); padding-left: 8px;
    opacity: 0; transition: opacity .5s ease var(--ad), left .6s ease;
}
.h-ann.flip { transform: translateX(-100%); border-left: none; border-right: 2px solid var(--c); padding-left: 0; padding-right: 8px; text-align: right; }
.h-ann.on { opacity: 1; }
.h-row { display: flex; align-items: center; margin-top: 6px; }
.h-label { width: var(--lw); flex: none; display: flex; align-items: center; gap: .6rem; padding-right: 12px; min-width: 0; }
.h-logo { width: 28px; height: 28px; object-fit: contain; flex: none; }
.h-name { font-size: 14px; font-weight: 700; color: var(--row-label); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.h-cells { flex: 1; min-width: 0; display: flex; gap: 2px; }
.h-cell {
    flex: 1; min-width: 0; height: var(--row-h); position: relative;
    display: flex; flex-direction: column; gap: 2px;
    opacity: 0; transform: scaleY(.2); transform-origin: bottom;
    transition: opacity .8s cubic-bezier(.2, .7, .2, 1) var(--d), transform .9s cubic-bezier(.2, .8, .2, 1) var(--d);
}
.h-cell.on { opacity: 1; transform: none; }
.h-slice { flex: 1; border-radius: 3px; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14); }
.h-slice.empty { background: rgba(255, 255, 255, .035); box-shadow: none; }
.h-shields {
    position: absolute; top: 5px; left: 0; right: 0; pointer-events: none;
    display: flex; flex-direction: column; align-items: center; gap: 2px;
    --sw: clamp(9px, calc(var(--row-h) * .107), 16px);
    opacity: 0; transition: opacity .6s ease var(--pd);
}
.h-shields svg { width: var(--sw); height: calc(var(--sw) * 13 / 12); filter: drop-shadow(0 1px 1px rgba(0, 0, 0, .6)); }
.layer-heat.show-prizes .h-cell.on .h-shields { opacity: 1; }
.h-axis { display: flex; gap: 2px; margin-left: var(--lw); margin-top: 8px; }
.h-tick { flex: 1; min-width: 0; font-size: 10.5px; color: var(--faint); white-space: nowrap; overflow: visible; }
.h-tick.end { direction: rtl; text-align: right; }

/* Filmstrip: Mourinho's clubs, schuift alleen bij een clubwissel */
.h-label.film {
    position: relative; overflow: hidden; display: block; padding-right: 0;
    height: calc(var(--row-h) + 110px); margin: -55px 0;
    -webkit-mask: linear-gradient(transparent, #000 22%, #000 78%, transparent); mask: linear-gradient(transparent, #000 22%, #000 78%, transparent);
}
.film-track { position: absolute; left: 0; right: 12px; top: calc(var(--row-h) / 2 + 33px); transition: transform .6s cubic-bezier(.5, 0, .2, 1); }
.film-item { height: 44px; display: flex; align-items: center; gap: .6rem; transform-origin: left center; transition: opacity .5s ease, transform .5s ease; }
.film-logo { width: 30px; height: 30px; flex: none; border-radius: 50%; background: rgba(255, 255, 255, .04); display: flex; align-items: center; justify-content: center; }
.film-logo img { width: 30px; height: 30px; object-fit: contain; }
.film-cc { font-size: 10px; font-weight: 800; letter-spacing: .06em; color: var(--muted); }
.film-name { font-size: 15px; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }

/* Duel */
.layer-duel { inset: 80px 40px 40px; display: flex; flex-direction: column; justify-content: center; }
.duel { display: flex; flex-direction: column; gap: 22px; }
.duel-row { display: grid; grid-template-columns: minmax(0, 1fr) 160px minmax(0, 1fr); align-items: center; gap: 12px; }
.duel-head { align-items: end; }
.dr-f, .dr-m { display: flex; align-items: center; gap: 10px; min-width: 0; }
.dr-f { justify-content: flex-end; }
.dr-f i, .dr-m i { width: 14px; height: 14px; border-radius: 3px; flex: none; }
.duel-who { font-family: 'Bricolage Grotesque', sans-serif; font-weight: 800; font-size: 24px; letter-spacing: -.03em; }
.duel-label { text-align: center; font-size: .82rem; font-weight: 600; color: var(--secondary); }
.duel-v { font-family: 'Archivo', sans-serif; font-weight: 800; font-stretch: 112%; font-size: 20px; flex: none; opacity: 0; transition: opacity .4s ease var(--d2); }
.duel-bar { height: 26px; border-radius: 5px; width: 0; max-width: calc(100% - 70px); transition: width .8s cubic-bezier(.3, .8, .3, 1) var(--d); }
.duel-bar.f { background: #1f7a2e; }
.duel-bar.m { background: var(--red); }
.layer-duel.armed .duel-bar { width: var(--w); }
.layer-duel.armed .duel-v { opacity: 1; }

/* Staven */
.layer-bars { inset: 84px 40px 20px 70px; }
.bars-plot { position: absolute; left: 0; right: 0; top: 0; bottom: 84px; }
.bars-grid { position: absolute; left: 0; right: 0; border-top: 1px solid rgba(255, 255, 255, .06); }
.bars-grid span { position: absolute; left: -44px; top: -8px; font-size: 11px; color: var(--faint); }
.bars-cols, .bars-labels { display: flex; gap: 3%; padding: 0 2%; }
.bars-cols { position: absolute; inset: 0; align-items: flex-end; }
.bars-col { flex: 1; min-width: 0; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; }
.bars-v { text-align: center; font-family: 'Archivo', sans-serif; font-weight: 800; font-stretch: 112%; font-size: clamp(15px, 1.5vw, 22px); margin-bottom: 8px; opacity: 0; transition: opacity .4s ease var(--d2); }
.bars-bar { height: 0; display: flex; flex-direction: column; gap: 3px; transition: height .9s cubic-bezier(.3, .8, .3, 1) var(--d); }
.bars-bar i { flex: 1; border-radius: 5px; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14); }
.bars-bar.split i { background: var(--red); }
.layer-bars.armed .bars-bar { height: var(--h); }
.layer-bars.armed .bars-v { opacity: 1; }
.bars-labels { position: absolute; left: 0; right: 0; bottom: 34px; }
.bars-labels div { flex: 1; min-width: 0; text-align: center; display: flex; flex-direction: column; gap: 3px; }
.bars-labels b { font-size: .85rem; white-space: nowrap; }
.bars-labels span { font-size: .7rem; color: var(--faint); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bars-note { position: absolute; left: 0; right: 0; bottom: 0; margin: 0; text-align: center; font-size: .75rem; color: var(--muted); }

/* Spreiding */
.layer-scatter { inset: 56px 28px 16px; }
.layer-scatter svg { display: block; overflow: visible; }
.sc-grid line { stroke: rgba(255, 255, 255, .05); }
.sc-axis { fill: none; stroke: rgba(255, 255, 255, .12); }
.sc-tick { font-size: 11px; fill: var(--faint); }
.sc-axis-label { font-size: 12.5px; fill: var(--secondary); }
.sc-axis-label .muted { fill: var(--faint); }
.sc-trend { stroke: rgba(102, 255, 102, .45); stroke-width: 2; stroke-dasharray: 6 5; }
.sc-dot circle { fill: #eef3ef; filter: drop-shadow(0 4px 6px rgba(0, 0, 0, .4)); }
.sc-dot circle.ring { stroke: var(--accent); stroke-width: 3; }
.sc-dot image.logo-invert { filter: none; }
.sc-label rect { fill: rgba(11, 18, 16, .75); }
.sc-label text { font-size: 12px; font-weight: 700; fill: var(--text); }

/* Slot: mozaïek */
.layer-end { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; }
.mosaic { display: grid; grid-template-columns: repeat(18, 22px); gap: 3px; }
.mosaic i { width: 22px; height: 34px; border-radius: 3px; opacity: 0; transform: scale(.4); transition: opacity .4s ease var(--d), transform .5s cubic-bezier(.3, 1.4, .4, 1) var(--d); }
.layer-end.armed .mosaic i { opacity: 1; transform: none; }
.mosaic-note { font-size: .9rem; color: var(--muted); }

/* Bediening */
.controls { display: flex; align-items: center; gap: clamp(8px, 1.4vw, 18px); padding: 14px clamp(20px, 3.5vw, 48px) 22px; }
.c-play, .c-prev, .c-next {
    height: 44px; border-radius: 12px; border: none; cursor: pointer; flex: none;
    display: flex; align-items: center; justify-content: center; font-weight: 700;
}
.c-play { width: 44px; background: var(--text); color: var(--bg); }
.c-prev { width: 44px; background: rgba(255, 255, 255, .06); }
.c-next { padding: 0 1.2rem; background: rgba(255, 255, 255, .06); }
.c-prev:hover, .c-next:hover { background: rgba(255, 255, 255, .1); }
.c-segs { flex: 1; min-width: 0; display: flex; gap: 5px; }
.c-seg { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 7px; padding: 6px 0; border: none; background: none; cursor: pointer; text-align: left; }
.c-track { height: 4px; border-radius: 2px; background: rgba(255, 255, 255, .12); overflow: hidden; }
.c-fill { display: block; height: 100%; width: 0; background: var(--accent); }
.c-name { min-width: 0; font-size: .72rem; font-weight: 600; color: var(--faint); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.c-seg.done .c-name { color: var(--secondary); }
.c-seg.current .c-name { color: var(--text); }
.c-skip { font-size: .85rem; color: var(--muted); text-decoration: none; white-space: nowrap; }
.c-skip:hover { color: var(--text); }
.btn-play:focus-visible, .c-play:focus-visible, .c-prev:focus-visible, .c-next:focus-visible, .c-seg:focus-visible, .st-cta:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

@media (max-width: 1149px) {
    .layer-heat { --lw: 44px; }
    .layer-heat[data-row="mourinho"] { --lw: 175px; }
    .h-name { display: none; }
}

.swatch { display: inline-block; width: 14px; height: 14px; border-radius: 3px; vertical-align: -2px; }
.shield { display: inline-block; width: 10px; height: 11px; vertical-align: -1px; filter: drop-shadow(0 1px 1px rgba(0, 0, 0, .55)); }

/* ---------- Explorer (7a) ---------- */
#explore {
    position: relative;
    max-width: 1600px; margin: 0 auto;
    padding: 16px 24px 8px;
}
/* Zachte gloed achter de titel; loopt boven de sectie door, zodat er geen harde rand ontstaat */
#explore::before {
    content: ""; position: absolute; z-index: -1; pointer-events: none;
    left: 0; right: 0; top: -240px; height: 600px;
    background: radial-gradient(800px 300px at 20% 300px, rgba(102, 255, 102, .09), transparent 70%);
}
.explore-title { display: flex; align-items: baseline; flex-wrap: wrap; gap: 14px; padding: 30px 4px 18px; }
.explore-title h2 {
    margin: 0; font-family: 'Archivo', sans-serif; font-weight: 800; font-stretch: 112%;
    font-size: 30px; letter-spacing: -.025em; line-height: 1.1;
}
.tagline { font-size: .9rem; color: var(--muted); }

/* Controls: vaste breedtes, zodat niets verspringt als je van weergave wisselt */
.control-row { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; }
.pop-wrap { position: relative; flex: none; }
.ctl {
    display: flex; align-items: center; gap: .5rem;
    font-size: .88rem; font-weight: 700; line-height: 1.25;
    padding: .55rem .8rem; border-radius: 10px; cursor: pointer; text-align: left;
}
.ctl-view { width: 210px; background: var(--text); color: var(--bg); border: 1px solid var(--text); }
.ctl-view .ctl-kind { color: #4f5d56; width: 36px; }
.ctl-context { width: 220px; background: transparent; color: var(--text); border: 1px solid rgba(255, 255, 255, .14); }
.ctl-context:hover { border-color: rgba(255, 255, 255, .28); }
.ctl-context .ctl-kind { color: var(--muted); width: 58px; }
.ctl-context .ctl-caret { color: var(--muted); }
.ctl-kind { font-size: .66rem; letter-spacing: .08em; text-transform: uppercase; flex: none; }
.ctl-value { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ctl-caret { font-size: .6rem; }
.ctl:focus-visible, .icon-btn:focus-visible, .pop-item:focus-visible, .row-remove:focus-visible, .add-club-btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.highlight {
    display: flex; align-items: center; gap: .45rem; flex: none;
    width: 220px; padding: .5rem .55rem .5rem .7rem; border-radius: 10px;
    background: rgba(255, 255, 255, .04); transition: opacity .2s;
}
.highlight input {
    border: none; background: transparent; outline: none; flex: 1; min-width: 0;
    color: var(--text); font: inherit; font-size: .82rem;
}
.highlight input::placeholder { color: var(--muted); }
.highlight input::-webkit-search-cancel-button, .highlight input::-webkit-calendar-picker-indicator { display: none !important; }
.highlight.disabled { opacity: .35; }
.highlight:focus-within { box-shadow: 0 0 0 1px rgba(102, 255, 102, .5); }
.hl-count {
    font-size: .68rem; font-weight: 700; color: var(--bg); background: var(--accent);
    border: none; border-radius: 999px; padding: .1rem .45rem; cursor: pointer; white-space: nowrap;
}
.spacer { margin-left: auto; }
.icon-btn {
    position: relative; flex: none;
    display: flex; align-items: center; justify-content: center;
    width: 34px; height: 34px; border-radius: 10px; border: none;
    background: rgba(255, 255, 255, .04); cursor: pointer;
}
.icon-btn:hover { background: rgba(255, 255, 255, .08); }
.share-toast {
    position: absolute; right: 0; top: calc(100% + 8px); z-index: 30;
    white-space: nowrap; font-size: .78rem; font-weight: 600; color: var(--text);
    background: var(--popover); border: 1px solid rgba(255, 255, 255, .1); border-radius: 8px; padding: .35rem .6rem;
}

/* Popovers */
.popover {
    position: absolute; top: calc(100% + 8px); left: 0; z-index: 30;
    background: var(--popover); border: 1px solid rgba(255, 255, 255, .1); border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, .5);
    padding: 6px; display: flex; flex-direction: column; gap: 2px;
}
.pop-view { width: 300px; }
.pop-context { width: 230px; }
.pop-list { display: flex; flex-direction: column; gap: 2px; max-height: 340px; overflow-y: auto; }
.pop-item {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    padding: 8px 12px; border-radius: 8px; border: none; background: transparent; width: 100%;
    cursor: pointer; font-size: .88rem; font-weight: 600; text-align: left; color: var(--text);
}
.pop-item:hover { background: rgba(255, 255, 255, .05); }
.pop-item .check { color: var(--accent); }
.pop-item .note { font-size: .72rem; font-weight: 500; color: var(--muted); }
.pop-item.view-item { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; padding: 10px 12px; border-radius: 9px; color: #8a978f; }
.pop-item.view-item.active { background: rgba(102, 255, 102, .1); color: #fff; }
.view-item .v-icon { padding-top: 1px; display: flex; }
.view-item .v-text { display: flex; flex-direction: column; gap: 2px; }
.view-item b { font-size: .92rem; color: var(--text); }
.view-item .v-desc { font-size: .8rem; font-weight: 400; color: var(--muted); }
.pop-item.club-item { justify-content: flex-start; gap: .6rem; padding: 7px 8px; font-size: .86rem; }
.pop-item.club-item img { width: 20px; height: 20px; object-fit: contain; flex: none; }
.pop-item.club-item span:first-of-type { flex: 1; }
.pop-search {
    display: flex; align-items: center; gap: .45rem; border-radius: 8px;
    padding: .5rem .6rem; background: rgba(255, 255, 255, .05); margin-bottom: 4px;
}
.pop-search input { border: none; background: transparent; outline: none; flex: 1; min-width: 0; color: var(--text); font: inherit; font-size: .82rem; }
.pop-search input::placeholder { color: var(--muted); }
.pop-search input::-webkit-search-cancel-button { display: none; }
.pop-empty { padding: 8px 12px; font-size: .82rem; color: var(--muted); }

/* Viz panel */
.viz-panel {
    position: relative;
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: 18px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, .4), inset 0 1px 0 rgba(255, 255, 255, .05);
    padding: 14px 18px 16px;
    display: flex; flex-direction: column; gap: 14px;
}

/* Compact info pane: vaste hoogte, zodat het grid onder de muis niet verschuift */
.info-pane {
    background: var(--inset); border: 1px solid rgba(255, 255, 255, .06); border-radius: 12px;
    padding: 10px 14px; height: 78px; overflow: hidden;
    display: flex; align-items: center;
}
.info-card { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto auto; gap: 14px; align-items: center; width: 100%; }
.info-photo { width: 56px; height: 56px; border-radius: 9px; object-fit: cover; object-position: top; background: #1a2521; display: block; }
.info-photo.split-mark { display: flex; flex-direction: column; gap: 3px; padding: 8px 16px; background: rgba(255, 255, 255, .04); }
.info-photo.split-mark i { flex: 1; border-radius: 2px; background: var(--red); }
.info-photo.initials { display: flex; align-items: center; justify-content: center; font-weight: 800; color: #4f5d56; }
.info-main { min-width: 0; line-height: 1.2; }
.info-head { display: flex; align-items: baseline; gap: .7rem; min-width: 0; }
.info-name { font-size: 1.15rem; line-height: 1.15; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.info-nat { color: var(--muted); font-size: .85rem; white-space: nowrap; }
.info-sub { font-size: .88rem; margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.info-sub .club { font-weight: 600; }
.info-sub .span { color: var(--muted); }
.info-extra { font-size: .76rem; color: var(--muted); margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.info-name .interim, .info-extra .interim { display: inline-block; vertical-align: .12em; font-size: .66rem; font-weight: 600; line-height: 1.25; border: 1px solid rgba(255, 255, 255, .15); border-radius: 4px; padding: 0 .25rem; margin-left: .3rem; }
.info-end { display: flex; align-items: center; gap: 8px; }
.info-report { width: 30px; height: 30px; border-radius: 9px; }
.legend-star { font-weight: 800; color: var(--secondary); margin-right: .1rem; }
.row-star { color: var(--secondary); font-weight: 700; margin-left: 1px; }
.chips { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.chip {
    display: inline-flex; align-items: center; gap: .4rem; white-space: nowrap;
    font-size: .8rem; font-weight: 700; padding: .25rem .6rem; border-radius: 999px; background: rgba(255, 255, 255, .06);
}
.chip.none { color: var(--muted); font-weight: 600; }
.tenure-badge {
    font-family: 'Archivo', sans-serif; font-weight: 800; font-stretch: 112%; font-size: 1rem;
    padding: .5rem .8rem; border-radius: 9px; white-space: nowrap;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2);
}
.info-default { color: var(--muted); font-size: .9rem; }
.stat-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; width: 100%; }
.stat-card { display: flex; gap: .65rem; align-items: center; min-width: 0; }
.stat-icon { width: 36px; height: 36px; border-radius: 9px; background: rgba(255, 255, 255, .05); display: flex; align-items: center; justify-content: center; flex: none; }
.stat-icon .swatch { width: 14px; height: 20px; border-radius: 2px; }
.stat-icon .shield { width: 14px; height: 15px; }
.stat-card > div:last-child { min-width: 0; }
.stat-label { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: .7rem; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; font-weight: 600; }
.stat-value { font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.stat-sub { font-size: .8rem; color: var(--secondary); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Grid */
.explorer-stage { width: 100%; overflow-x: auto; padding: 6px 0 2px; }
.grid { display: flex; flex-direction: column; gap: 5px; width: max-content; min-width: 100%; }
.grid-row { display: flex; align-items: center; }
.row-label {
    position: sticky; left: 0; z-index: 2; background: var(--panel);
    flex: none; display: flex; align-items: center; gap: .55rem;
    font-size: 13.5px; font-weight: 600; color: var(--row-label);
    padding-right: 10px; align-self: stretch;
}
.row-logo { width: 26px; height: 26px; object-fit: contain; flex: none; }
.logo-invert { filter: invert(1); }
.row-cc { font-size: 10px; font-weight: 800; letter-spacing: .06em; color: var(--muted); flex: none; }
.row-name { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row-remove {
    width: 20px; height: 20px; border-radius: 6px; border: none; background: transparent; flex: none;
    display: flex; align-items: center; justify-content: center; color: var(--muted); font-size: .85rem; cursor: pointer; padding: 0;
}
.row-remove:hover { background: rgba(255, 0, 51, .18); color: #fff; }
.row-cells { display: flex; gap: 2px; }
.seg { display: flex; gap: 2px; border-radius: 4px; outline: 2px solid transparent; outline-offset: 1px; transition: opacity .25s; }
.seg.live { cursor: pointer; }
.seg.dim { opacity: .13; }
.seg.selected { outline-color: #fff; }
.cell { height: 48px; display: flex; flex-direction: column; gap: 2px; position: relative; flex: none; transition: opacity .25s; }
.cell.dim { opacity: .13; }
.slice { flex: 1; border-radius: 3px; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .16); }
.cell.empty .slice { background: rgba(255, 255, 255, .035); box-shadow: none; }
.cell.unknown .slice { background: repeating-linear-gradient(45deg, #2a3531 0 3px, #1c2623 3px 6px); }
.trophies {
    position: absolute; top: 4px; left: 0; right: 0; pointer-events: none;
    display: flex; flex-direction: column; align-items: center; gap: 1px;
}
.trophies svg { display: block; filter: drop-shadow(0 1px 1px rgba(0, 0, 0, .55)); }
.axis-row { display: flex; gap: 2px; margin-top: 4px; }
.axis-row .tick { flex: none; font-size: 10.5px; color: var(--faint); white-space: nowrap; overflow: visible; }
.axis-row .axis-pad { position: sticky; left: 0; z-index: 2; background: var(--panel); flex: none; align-self: stretch; }
.add-club { position: relative; padding-right: 10px; }
.add-club-btn {
    display: flex; align-items: center; gap: .55rem; height: 40px; padding: 0 .6rem 0 0; border: none; border-radius: 10px; background: transparent;
    font-size: 13px; font-weight: 700; color: var(--accent); cursor: pointer;
}
.add-club-btn:hover { background: rgba(102, 255, 102, .07); }
.add-club-btn .plus { width: 26px; height: 26px; border-radius: 50%; border: 1.5px dashed rgba(102, 255, 102, .6); display: flex; align-items: center; justify-content: center; font-size: 15px; }
.pop-add { top: calc(100% + 4px); width: 260px; padding: 8px; }
.empty-state { color: var(--muted); padding: 3rem 1rem; text-align: center; margin: 0; }

/* Legend */
.legend { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 28px; font-size: .76rem; color: var(--secondary); }
.explorer-legend { padding: 14px 0 2px; border-top: 1px solid rgba(255, 255, 255, .06); }
.legend-item { display: inline-flex; align-items: center; gap: .5rem; }
.legend-swatches { display: flex; gap: 2px; }
.legend-swatches.split { gap: 3px; }
.legend-swatches .sw { width: 14px; height: 20px; border-radius: 2px; display: flex; flex-direction: column; gap: 2px; }
.legend-swatches .sw i { flex: 1; border-radius: 1.5px; background: var(--red); }
.legend-shields { display: inline-flex; align-items: center; gap: .9rem; }
.legend-shields span { display: inline-flex; align-items: center; gap: .3rem; }
.legend-hint { color: var(--faint); }
.coverage-note { text-align: center; font-size: .76rem; color: var(--faint); margin: -6px 0 0; }
.coverage-note:empty { display: none; }

/* Footer & loading */
.page-footer { text-align: center; color: var(--faint); font-size: .85rem; padding: 2rem 1rem 3rem; max-width: 900px; margin: 0 auto; line-height: 1.6; }
.page-footer a { color: var(--secondary); }
.loading { position: fixed; inset: 0; background: var(--bg); z-index: 200; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1rem; color: var(--muted); transition: opacity .4s; }
.loading.done { opacity: 0; pointer-events: none; }
.spinner { width: 36px; height: 36px; border-radius: 50%; border: 4px solid rgba(255, 255, 255, .08); border-top-color: var(--accent); animation: spin 0.9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .seg, .cell, .intro *, .intro { transition: none !important; animation: none !important; }
}

/* ---------- Smal scherm (nog niet ontworpen: alleen zorgen dat alles bruikbaar blijft) ---------- */
@media (max-width: 1000px) {
    .control-row { flex-wrap: wrap; }
    .spacer { display: none; }
    .info-card { grid-template-columns: 56px minmax(0, 1fr) auto; }
    .info-card .chips { display: none; }
    .stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 14px; }
    .stat-icon { display: none; }
}
@media (max-width: 900px) {
    :root { --header-h: 76px; }
    .site-header { padding: 10px 12px 8px; }
    .site-nav { gap: .75rem; padding: 8px 8px 8px 12px; }
    .logo-mark { width: 38px; height: 35px; }
    .logo-text { font-size: 15px; }
    .nav-links a { padding: .35rem .55rem; font-size: .82rem; }
    .nav-links { gap: 0; }
}
/* Heel smal: alle vier de links blijven, de logotekst valt weg */
@media (max-width: 520px) {
    .logo-text { display: none; }
    .nav-links a { padding: .35rem .5rem; font-size: .8rem; }


    #explore { padding: 8px 12px 24px; }
    .explore-title h2 { font-size: 24px; }
    .pop-wrap { flex: 1 1 100%; }
    .highlight { flex: 1 1 0; }
    .ctl-view, .ctl-context, .highlight { width: 100%; }
    .viz-panel { padding: 10px; }
    .info-pane { height: 86px; padding: 8px 10px; }
    .info-card { grid-template-columns: 44px minmax(0, 1fr) auto; gap: 10px; }
    .info-photo { width: 44px; height: 44px; }
    .info-nat { display: none; }
    .tenure-badge { font-size: .85rem; padding: .4rem .55rem; }
    .stat-grid { grid-template-columns: 1fr 1fr; }
    .stat-sub { display: none; }
}

/* ---------- Intro op een smal scherm (nog niet ontworpen): tekst boven de figuur, vegen voor volgende/vorige ---------- */
@media (max-width: 760px) {
    .intro { height: 100svh; min-height: 520px; }
    .hero-name { left: 16px; top: calc(var(--header-h) + 8px); }
    .hero-name.right { right: 16px; }
    .hero-who { font-size: 18px; }
    .hero-what { font-size: .78rem; max-width: 42vw; }
    .hero-main { padding: 0 16px; }
    .hero-sub { font-size: 1rem; }
    .stage { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr); gap: 10px; padding: 8px 16px; }
    .stage-text { justify-content: flex-start; gap: .4rem; }
    .st-portrait, .st-chips { display: none; }
    .st-big { font-size: 34px; }
    .st-body { font-size: .88rem; line-height: 1.45; }
    .panel-cap { left: 14px; right: 14px; top: 12px; }
    #panel-source { display: none; }
    .layer { inset: 40px 12px 12px; }
    .layer-heat { --row-h: clamp(70px, 14vh, 110px); --lw: 0px !important; }
    .h-label:not(.film) { display: none; }
    .layer-heat[data-row="mourinho"] { --lw: 110px !important; }
    .film-name { font-size: 12px; }
    .film-cc { display: none; }
    .layer-duel { inset: 44px 12px 12px; }
    .duel { gap: 12px; }
    .duel-row { grid-template-columns: minmax(0, 1fr) 84px minmax(0, 1fr); gap: 6px; }
    .duel-who { font-size: 16px; }
    .duel-label { font-size: .7rem; }
    .duel-v { font-size: 15px; }
    .duel-bar { height: 18px; max-width: calc(100% - 44px); }
    .layer-bars { inset: 48px 12px 12px 44px; }
    .bars-labels span, .bars-note { display: none; }
    .bars-plot { bottom: 30px; }
    .bars-labels { bottom: 4px; }
    .layer-scatter { inset: 40px 8px 8px; }
    .mosaic { grid-template-columns: repeat(12, 18px); }
    .mosaic i { width: 18px; height: 28px; }
    .mosaic i:nth-child(n+61) { display: none; }
    .controls { gap: 8px; padding: 8px 16px 14px; }
    .c-name, .c-skip { display: none; }
    .c-next { padding: 0 .9rem; }
}

/* ---------- Tekstpagina's: Articles, About, Methodology en de artikelen ---------- */
.text-page { min-height: 100vh; display: flex; flex-direction: column; }
.text-page .page-footer { margin-top: auto; }
.page-head { max-width: 820px; margin: 0 auto; padding: 44px 24px 8px; width: 100%; }
.page-head.wide { max-width: 1200px; }
.page-head h1 {
    margin: 0 0 .5rem; font-family: 'Archivo', sans-serif; font-weight: 800; font-stretch: 112%;
    font-size: clamp(32px, 5vw, 52px); letter-spacing: -.03em; line-height: 1.02;
}
.page-head p { margin: 0; font-size: 1.1rem; color: var(--secondary); line-height: 1.5; }
.text-main { width: 100%; padding: 0 0 48px; }
.text-main > article { width: 100%; }

/* Tabs About / Methodology */
.about-nav {
    display: flex; gap: 4px; max-width: 820px; margin: 22px auto 0; padding: 0 24px;
}
.about-nav-link {
    padding: .45rem .9rem; border-radius: 9px; font-size: .88rem; font-weight: 700;
    color: var(--nav-muted); text-decoration: none; background: rgba(255, 255, 255, .04);
}
.about-nav-link:hover { color: var(--text); background: rgba(255, 255, 255, .08); }
.about-nav-link.active { color: var(--bg); background: var(--text); }

/* Lopende tekst */
.article-body { max-width: 820px; margin: 0 auto; padding: 24px 24px 0; }
.article-body p, .article-body li { font-size: 1.08rem; line-height: 1.75; color: #c9d3cd; }
.article-body p { margin: 0 0 1.1rem; }
.article-body > p.text-lg:first-child { font-size: 1.25rem; line-height: 1.6; color: var(--text); }
.article-body strong { color: var(--text); font-weight: 700; }
.article-body a { color: var(--accent); text-underline-offset: 2px; }
.article-body a:hover { color: #b3ffb3; }
.article-body h3 {
    margin: 2.6rem 0 .9rem; font-family: 'Archivo', sans-serif; font-weight: 800; font-stretch: 112%;
    font-size: clamp(22px, 2.6vw, 30px); letter-spacing: -.02em; line-height: 1.15; color: var(--text);
}
.article-body > h3:first-child { margin-top: .5rem; }
.article-body h4, .article-body h5 { margin: 2rem 0 .8rem; font-size: 1.15rem; font-weight: 800; color: var(--text); font-family: 'Inter', sans-serif !important; }
.article-body ul, .article-body ol { padding-left: 1.4rem; margin: 0 0 1.2rem; }
.article-body li { margin-bottom: .45rem; }
.article-body blockquote {
    margin: 2rem 0; padding: .3rem 0 .3rem 1.4rem; border-left: 3px solid var(--accent);
    font-size: 1.2rem; line-height: 1.55; font-style: italic; color: var(--text);
}
.article-body figure { margin: 2.2rem 0; }
.article-body figure img, .article-body img.rounded-lg {
    display: block; max-width: 100%; height: auto; margin: 0 auto; border-radius: 12px;
    border: 1px solid var(--border); box-shadow: 0 20px 40px rgba(0, 0, 0, .35);
}
.article-body figcaption { margin-top: .8rem; text-align: center; font-size: .88rem; line-height: 1.5; color: var(--muted); }
.about-divider { border: none; border-top: 1px solid rgba(255, 255, 255, .08); margin: 2.5rem 0; }
.article-body .text-center { text-align: center; }
.article-body .mt-12 { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid rgba(255, 255, 255, .08); }
.article-body .mt-12 h3 { margin-top: 0; font-size: 1.2rem; }
.source-list { padding-left: 1.4rem; }
.source-list li, .source-list a { font-size: .82rem !important; line-height: 1.5 !important; color: var(--muted) !important; }
.timestamp { font-style: italic; font-size: .88rem !important; color: var(--faint) !important; }

/* Artikel-kop met foto */
.hero-section {
    position: relative; min-height: 380px; height: 52vh; display: flex; align-items: flex-end; justify-content: center;
    background-size: cover; background-position: center 20%; text-align: center;
}
.hero-section::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(11, 18, 16, .35), rgba(11, 18, 16, .55) 45%, var(--bg)); }
.hero-content { position: relative; z-index: 1; max-width: 900px; padding: 2rem 24px 1.5rem; }
.hero-title {
    margin: 0; font-family: 'Archivo', sans-serif; font-weight: 800; font-stretch: 112%;
    font-size: clamp(34px, 6vw, 68px); line-height: 1; letter-spacing: -.035em; text-wrap: balance;
}
.hero-subtitle { margin: .9rem 0 0; font-size: 1.2rem; color: #c9d3cd; }

/* Kaders in artikelen */
.data-focus-box, .explore-box, .prompt-box {
    margin: 2.4rem 0; padding: 1.4rem 1.6rem; border-radius: 14px;
    background: var(--panel); border: 1px solid var(--border);
}
.data-focus-box h4 { margin-top: 0; }
.data-focus-box ol, .data-focus-box ul { list-style: none; padding: 0; }
.data-focus-box li { display: flex; justify-content: space-between; gap: 1rem; margin-bottom: .4rem; }
.data-focus-box .ratio { color: var(--muted); font-size: .92rem; white-space: nowrap; }
.data-focus-box .grid { display: grid; gap: 1rem 2rem; width: auto; min-width: 0; }
@media (min-width: 768px) { .data-focus-box .md\:grid-cols-2 { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.data-focus-box .text-sm { font-size: .9rem; color: var(--muted); }
.explore-box { text-align: center; }
.explore-box h3 { margin-top: 0; }
.explore-image { display: block; max-width: 100%; margin: 0 auto 1rem; border-radius: 10px; border: 1px solid var(--border); }
.explore-button {
    display: inline-block; margin-top: .4rem; padding: .85rem 1.4rem; border-radius: 12px; text-decoration: none;
    font-weight: 800; background: var(--accent); color: var(--bg) !important;
}
.explore-button:hover { background: #8cff8c; }
.mount-rushmore { margin-top: 3rem; padding: 2rem 1.6rem; border-radius: 16px; background: var(--panel); border: 1px solid var(--border); }
.mount-rushmore h3 { margin-top: 0; text-align: center; }
.mount-rushmore-grid { display: grid; gap: 1.6rem; }
@media (min-width: 768px) { .mount-rushmore-grid { grid-template-columns: 1fr 1fr; } }
.rushmore-item h4 { margin: 0 0 .3rem; font-size: 1.3rem; }
.rushmore-item .title { font-style: italic; color: var(--muted); margin-bottom: .6rem; }
.rushmore-item p { font-size: 1rem; }

/* Methodology: prompt met taalkeuze */
.prompt-box { font-family: ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace; font-size: .86rem; color: #c9d3cd; }
/* Alleen de prompttekst zelf behoudt regeleindes (de inspringing van de HTML niet) */
.prompt-content > div { white-space: pre-line; overflow-wrap: anywhere; line-height: 1.55; }
.prompt-box p, .prompt-box li { font-size: .86rem; line-height: 1.6; }
.prompt-toggle { display: flex; justify-content: flex-end; margin-bottom: .8rem; font-family: 'Inter', sans-serif; }
.toggle-switch { display: inline-flex; gap: 2px; padding: 3px; border-radius: 10px; background: rgba(255, 255, 255, .05); }
.toggle-switch button { border: none; background: none; cursor: pointer; padding: .3rem .8rem; border-radius: 8px; font-size: .78rem; font-weight: 700; color: var(--muted); }
.toggle-switch button.active { background: var(--text); color: var(--bg); }

/* Overzicht artikelen */
.article-grid { max-width: 1200px; margin: 28px auto 0; padding: 0 24px; display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.article-card {
    display: flex; flex-direction: column; text-decoration: none; color: var(--text); overflow: hidden;
    background: var(--panel); border: 1px solid var(--border); border-radius: 18px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, .35); transition: transform .2s ease, border-color .2s ease;
}
.article-card:hover { transform: translateY(-3px); border-color: rgba(102, 255, 102, .35); }
.article-card-img { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: #16201c; }
.article-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.article-card-body { display: flex; flex-direction: column; gap: .6rem; padding: 18px 20px 20px; }
.article-card-title { font-family: 'Archivo', sans-serif; font-weight: 800; font-stretch: 112%; font-size: 1.4rem; letter-spacing: -.02em; line-height: 1.1; }
.article-card-text { font-size: .95rem; line-height: 1.55; color: var(--secondary); }
.article-card-more { font-size: .88rem; font-weight: 700; color: var(--accent); }

@media (max-width: 760px) {
    .page-head { padding: 28px 16px 4px; }
    .article-body, .about-nav { padding-left: 16px; padding-right: 16px; }
    .article-grid { padding: 0 16px; }
    .article-body p, .article-body li { font-size: 1rem; }
}

