:root {
  --bg: #f4f8fc;
  --bg-elev: #ffffff;
  --ink: #071422;
  --ink-soft: #3e5670;
  --line: #d5e6f4;
  --accent: #0086ea;
  --accent-ink: #ffffff;
  --shadow: 0 12px 32px rgba(2, 29, 56, 0.08);
  --serif: "Segoe UI", "Outfit", sans-serif;
  --sans: "Segoe UI", "Outfit", sans-serif;
  --radius: 12px;
  color-scheme: light;
}

[data-theme="dark"] {
  --bg: #050910;
  --bg-elev: #0c1624;
  --ink: #f5f8fb;
  --ink-soft: #9eb6cc;
  --line: #1a3048;
  --accent: #00b4f8;
  --accent-ink: #041018;
  --shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  background-color: #f4f8fc;
  background-image: none;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16.5px;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}
[data-theme="dark"] body {
  background-color: #050910;
  background-image: none;
}
body::before {
  content: "";
  position: fixed;
  z-index: -1;
  inset: -25%;
  pointer-events: none;
  background:
    radial-gradient(circle at 18% 20%, rgba(0, 134, 234, .26), transparent 36%),
    radial-gradient(circle at 82% 12%, rgba(0, 194, 251, .22), transparent 34%),
    radial-gradient(circle at 72% 78%, rgba(9, 96, 201, .16), transparent 40%),
    radial-gradient(circle at 12% 88%, rgba(186, 230, 255, .4), transparent 36%);
  animation: field 26s ease-in-out infinite alternate;
}
[data-theme="dark"] body::before {
  background:
    radial-gradient(circle at 16% 18%, rgba(0, 180, 248, .2), transparent 34%),
    radial-gradient(circle at 84% 8%, rgba(0, 134, 234, .16), transparent 32%),
    radial-gradient(circle at 70% 84%, rgba(1, 77, 182, .22), transparent 40%),
    radial-gradient(circle at 8% 90%, rgba(2, 20, 40, .35), transparent 36%);
}
body.is-admin::before { display: none; }
@keyframes field {
  from { transform: translate3d(-3%, -2%, 0) scale(1); }
  to { transform: translate3d(4%, 3%, 0) scale(1.08); }
}

body, .site-header, .card, .panel, .auth, .ad-card, .stat, .account-menu, .admin-side, .post, .topic-row {
  transition: background-color .35s ease, color .35s ease, border-color .35s ease;
}

img { max-width: 100%; display: block; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 { margin: 0; font-weight: 500; }
p { margin: 0 0 .8rem; }
a { color: inherit; text-decoration: none; }

::selection { background: color-mix(in srgb, var(--accent) 32%, transparent); }

.skip {
  position: absolute;
  left: 12px;
  top: -40px;
  background: var(--bg-elev);
  color: var(--ink);
  padding: .5rem .8rem;
  border-radius: 999px;
  z-index: 80;
}
.skip:focus { top: 12px; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.wrap, body:not(.is-admin) main#inhoud {
  width: min(1160px, calc(100% - 40px));
  margin-inline: auto;
}
body.is-admin main#inhoud { width: auto; margin: 0; }
h1, h2, h3, .prose, .post .body, .lede { overflow-wrap: break-word; }

main#inhoud { padding-bottom: 3.5rem; }

.progress {
  position: fixed;
  inset: 0 0 auto 0;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: 0 50%;
  z-index: 70;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: color-mix(in srgb, var(--bg-elev) 78%, transparent);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 75%, transparent);
}
.site-header.is-scrolled {
  background: color-mix(in srgb, var(--bg-elev) 88%, transparent);
}

.mast {
  display: flex;
  align-items: center;
  gap: .75rem;
  min-height: 68px;
}
.mast-nav { display: flex; align-items: center; gap: .15rem; min-width: 0; }
.mast-nav > a, .rubriek-menu summary {
  display: inline-flex;
  align-items: center;
  padding: .42rem .72rem;
  border-radius: 999px;
  color: var(--ink-soft);
  text-decoration: none;
  font-size: .86rem;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
  list-style: none;
  transition: background-color .2s ease, color .2s ease, translate .2s ease;
}
.rubriek-menu summary::-webkit-details-marker { display: none; }
.mast-nav > a:hover, .rubriek-menu summary:hover { color: var(--ink); background: color-mix(in srgb, var(--ink) 6%, transparent); translate: 0 -1px; }
.mast-nav > a.is-active, .rubriek-menu.is-active summary { background: var(--accent); color: var(--accent-ink); }
.nav-meld { color: var(--accent) !important; }
.nav-meld.is-active { color: var(--accent-ink) !important; }
.rubriek-menu { position: relative; }
.rubriek-pop {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  z-index: 60;
  width: min(280px, 80vw);
  padding: .4rem;
  display: grid;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
  animation: notice-in .22s cubic-bezier(.2, .8, .2, 1);
}
.rubriek-pop a {
  display: flex;
  align-items: center;
  gap: .65rem;
  padding: .48rem .55rem;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 700;
  color: var(--ink);
}
.rubriek-pop { max-height: min(70vh, 540px); overflow: auto; }
.rubriek-pop a:hover, .rubriek-pop a.is-active { background: color-mix(in srgb, var(--accent) 12%, transparent); }
.rubriek-pop a.is-sub {
  margin: 0 .2rem .12rem 2.35rem;
  padding: .28rem .55rem;
  font-size: .84rem;
  font-weight: 650;
  color: var(--ink-soft);
}
.icon-mini, .icon-bubble {
  display: grid;
  place-items: center;
  color: var(--accent);
  background: color-mix(in srgb, var(--accent) 14%, var(--bg-elev));
}
.icon-mini { width: 28px; height: 28px; border-radius: 8px; flex: none; }
.icon-mini svg { width: 16px; height: 16px; }
.sections {
  border-top: 1px solid color-mix(in srgb, var(--line) 85%, transparent);
}
.sections-row {
  display: flex;
  align-items: stretch;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
}
.sections-row::-webkit-scrollbar { display: none; }
.sections a {
  position: relative;
  flex: none;
  display: flex;
  align-items: center;
  padding: .78rem .8rem;
  color: var(--ink-soft);
  text-decoration: none;
  font-size: .86rem;
  font-weight: 650;
  letter-spacing: -.01em;
  white-space: nowrap;
}
.sections a::after {
  content: "";
  position: absolute;
  left: .8rem;
  right: .8rem;
  bottom: 0;
  height: 2px;
  border-radius: 2px 2px 0 0;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .22s ease;
}
.sections a:hover { color: var(--ink); }
.sections a:hover::after,
.sections a.is-active::after { transform: scaleX(1); }
.sections a.is-active { color: var(--ink); }
.sections-meld { margin-left: auto; color: var(--accent); }

.logo {
  display: flex;
  align-items: center;
  gap: .7rem;
  text-decoration: none;
  color: inherit;
  min-width: 0;
}
img.logo-mark { object-fit: contain; background: transparent; }
.logo-mark {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: #0086ea;
  color: #fff;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 1.15rem;
  line-height: 1;
  flex: none;
  transition: transform .35s cubic-bezier(.2, .7, .2, 1);
}
[data-theme="dark"] .logo-mark { background: #00b4f8; color: #041018; }
[data-theme="dark"] img.logo-mark,
.admin-side img.logo-mark,
img.logo-img { background: transparent; }
img.logo-img {
  width: auto;
  height: 48px;
  max-width: 220px;
  border-radius: 0;
  object-fit: contain;
}
.logo:hover img.logo-img { transform: none; }
.logo:hover .logo-mark { transform: rotate(-8deg) scale(1.06); }
body:not(.is-admin) .logo:has(img.logo-img) .logo-word {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}
.admin-side img.logo-img { height: 40px; max-width: 188px; }
.auth-brand img.logo-img { height: 72px; max-width: 280px; }
@media (max-width: 720px) {
  img.logo-img { height: 36px; max-width: 150px; }
}
.logo-word {
  font-family: var(--sans);
  font-weight: 650;
  font-size: 1rem;
  letter-spacing: -.03em;
  line-height: 1;
  display: block;
  white-space: nowrap;
}
.rail {
  display: flex;
  align-items: center;
  gap: .28rem;
  flex: 1 1 240px;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
  padding: .1rem 0;
}
.rail::-webkit-scrollbar { display: none; }
.rail a {
  flex: none;
  text-decoration: none;
  color: var(--ink-soft);
  font-size: .8rem;
  font-weight: 650;
  letter-spacing: -.01em;
  padding: .32rem .68rem;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease, translate .2s ease;
}
.rail a:hover { color: var(--ink); background: color-mix(in srgb, var(--ink) 6%, transparent); translate: 0 -1px; }
.rail a.is-active { background: var(--accent); color: var(--accent-ink); border-color: transparent; }
.rail a.chip-go { color: var(--accent); border-color: color-mix(in srgb, var(--accent) 40%, var(--line)); }
.rail a.chip-go.is-active { color: var(--accent-ink); }
.logo-tag {
  display: block;
  margin-top: .18rem;
  color: var(--ink-soft);
  font-size: .72rem;
  line-height: 1.3;
  max-width: 16rem;
}

.search {
  position: relative;
  width: min(260px, 32vw);
  margin-left: auto;
  flex: none;
  transition: width .28s ease;
}
.search:focus-within { width: min(380px, 48vw); }
.search svg {
  position: absolute;
  left: 14px;
  top: 50%;
  translate: 0 -50%;
  color: var(--ink-soft);
  pointer-events: none;
}
.search input { padding-left: 40px; border-radius: 999px; background: color-mix(in srgb, var(--bg-elev) 86%, transparent); }

.tools { display: flex; align-items: center; gap: .55rem; }

.icon-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: transparent;
  display: grid;
  place-items: center;
  color: var(--ink);
  transition: transform .35s cubic-bezier(.2,.7,.2,1), border-color .3s ease;
}
.icon-btn svg { width: 18px; height: 18px; }
.icon-btn:hover { background: color-mix(in srgb, var(--ink) 6%, transparent); border-color: var(--ink); }
.icon-btn.is-spin { transform: rotate(180deg); }
.icon-sun { display: none; }
[data-theme="dark"] .icon-sun { display: block; }
[data-theme="dark"] .icon-moon { display: none; }

.avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--ink);
  color: var(--bg);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .02em;
}

.account { position: relative; }
.account summary { list-style: none; }
.account summary::-webkit-details-marker { display: none; }
.account-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  width: 230px;
  padding: .45rem;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
  z-index: 50;
}
.account-menu .who { padding: .55rem .65rem .7rem; }
.account-menu .who strong, .account-menu .who span { display: block; }
.account-menu .who span { color: var(--ink-soft); font-size: .82rem; }
.account-menu a, .account-menu button {
  display: block;
  width: 100%;
  text-align: left;
  background: none;
  border: 0;
  border-radius: 10px;
  padding: .55rem .65rem;
  color: var(--ink);
  text-decoration: none;
}
.account-menu a:hover, .account-menu button:hover {
  background: color-mix(in srgb, var(--ink) 6%, transparent);
}

.rubrieken {
  display: flex;
  align-items: center;
  gap: 1rem;
  border-top: 1px solid var(--line);
}
.rubrieken nav {
  display: flex;
  gap: 1.05rem;
  align-items: center;
  overflow-x: auto;
  flex: 1;
  min-width: 0;
  padding: .7rem 0;
  scrollbar-width: none;
}
.rubrieken nav::-webkit-scrollbar { display: none; }
.rubrieken a {
  text-decoration: none;
  color: var(--ink-soft);
  white-space: nowrap;
  font-size: .92rem;
  position: relative;
  padding: .32rem .7rem;
  border-radius: 999px;
}
.rubrieken a:hover { color: var(--ink); background: color-mix(in srgb, var(--ink) 5%, transparent); }
.rubrieken a.is-active {
  color: var(--accent-ink);
  background: var(--accent);
}
.rubrieken a.is-active::after { display: none; }
.rubrieken time { color: var(--ink-soft); font-size: .85rem; white-space: nowrap; flex: none; }
.account summary { cursor: pointer; }

.pill {
  border: 1px solid color-mix(in srgb, var(--accent) 50%, var(--line));
  color: var(--accent) !important;
  border-radius: 999px;
  padding: .28rem .7rem;
  font-size: .84rem !important;
}
.pill.is-active::after { display: none; }
.pill:hover { background: color-mix(in srgb, var(--accent) 10%, transparent); }

.kicker, .ad-label {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
  text-decoration: none;
}
.kicker-row, .labels { display: flex; align-items: center; flex-wrap: wrap; gap: .4rem .55rem; }
.labels { color: var(--ink-soft); font-size: .82rem; margin-top: .35rem; }
.label {
  margin: 0 0 .7rem;
  font-size: .72rem;
  font-weight: 650;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.meta, .muted, .hint { color: var(--ink-soft); }
.hint { font-size: .88rem; }
.meta { display: flex; flex-wrap: wrap; gap: .45rem .8rem; font-size: .9rem; }


.front {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, .85fr);
  gap: 1.6rem;
  margin-top: 1rem;
}
.front.is-solo { grid-template-columns: 1fr; }

.hero-media, .card-media, .stack-media, .story-media {
  display: block;
  overflow: hidden;
  background: color-mix(in srgb, var(--ink) 8%, var(--bg));
}
.hero-media, .card-media, .story-media, .stack-media img, .hero-media img, .card-media img, .story-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero, .stack, .layout aside, .story-layout aside, .card {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  box-shadow: 0 16px 40px rgba(15, 40, 70, 0.06);
}
.hero, .stack { border-radius: 22px; }
.hero { overflow: hidden; }
.hero-media { aspect-ratio: 16/10.2; border-radius: 0; }
.hero-copy { padding: 1.15rem 1.25rem 1.3rem; }
.stack { padding: .35rem 1rem .5rem; }
.card { border-radius: 18px; overflow: hidden; }
.card-body { padding: .95rem 1rem 1.05rem; }
.card-media { border-radius: 0; }
.layout aside, .story-layout aside {
  border-radius: 20px;
  padding: 1.1rem 1.15rem 1.2rem;
  align-self: start;
}
.hero-media img, .card-media img, .stack-media img { transition: scale .8s cubic-bezier(.2,.7,.2,1); }
.hero:hover img, .card:hover img, .stack-item:hover img { scale: 1.045; }
.is-empty {
  background:
    radial-gradient(circle at 18% 20%, color-mix(in srgb, var(--accent) 48%, transparent), transparent 42%),
    linear-gradient(160deg, var(--bg-elev), color-mix(in srgb, var(--ink) 14%, var(--bg)));
  min-height: 120px;
}

.hero h1, .page-intro h1, .auth h1, .story-head h1 {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -.035em;
  line-height: 1.05;
}
.hero h1 { font-size: clamp(2.1rem, 3.6vw, 3.5rem); margin: .3rem 0 .7rem; }
.hero h1 a, .stack-item h2 a, .card h3 a, .ranked a, .topic-row { text-decoration: none; }
.hero h1 a:hover, .stack-item h2 a:hover, .card h3 a:hover, .ranked a:hover { color: color-mix(in srgb, var(--accent) 72%, var(--ink)); }
.hero-copy p, .card p {
  color: var(--ink-soft);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.hero-copy p { -webkit-line-clamp: 3; font-size: 1.05rem; }
.card p { -webkit-line-clamp: 2; }

.stack { display: flex; flex-direction: column; }
.stack-item {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr);
  gap: .9rem;
  align-items: center;
  padding: .85rem 0;
  border-top: 1px solid var(--line);
}
.stack-item:first-child { border-top: 0; padding-top: 0; }
.stack-media { aspect-ratio: 1; border-radius: 16px; }
.stack-item h2 {
  font-family: var(--serif);
  font-size: 1.22rem;
  line-height: 1.2;
  letter-spacing: -.02em;
  margin: .15rem 0 .35rem;
}

.layout, .story-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 2.4rem;
  margin-top: 2.8rem;
}
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 1.05rem;
}
.section-head h2, .side-title {
  font-family: var(--serif);
  font-size: 1.7rem;
  letter-spacing: -.03em;
}
.section-head a { color: var(--ink-soft); text-decoration: none; }
.section-head a:hover { color: var(--ink); }

.news-grid, .related-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.3rem 1.15rem;
  align-items: start;
}
.related-grid { grid-template-columns: repeat(3, 1fr); margin-top: .4rem; }
.card-media { aspect-ratio: 16/10; }
.card h3 {
  font-family: var(--serif);
  font-size: 1.32rem;
  line-height: 1.18;
  letter-spacing: -.02em;
  margin: .15rem 0 .4rem;
}
.card .meta { margin-top: .2rem; }

.side-title { font-size: 1.35rem; margin-bottom: .3rem; }
.ranked { list-style: none; margin: 0; padding: 0; counter-reset: rank; }
.ranked li {
  counter-increment: rank;
  display: grid;
  grid-template-columns: 1.7rem minmax(0, 1fr);
  gap: .45rem;
  padding: .85rem 0;
  border-top: 1px solid var(--line);
}
.ranked li::before {
  content: counter(rank, decimal-leading-zero);
  color: var(--accent);
  font-size: .78rem;
  font-variant-numeric: tabular-nums;
  padding-top: .28rem;
}
.ranked a { font-family: var(--serif); font-size: 1.05rem; line-height: 1.25; }

.tip-card {
  display: block;
  margin-top: 1.2rem;
  padding: 1.15rem 1.15rem 1.2rem;
  border-radius: 18px;
  background: #0086ea;
  color: #ffffff;
  text-decoration: none;
}
.tip-card p { color: rgba(244, 248, 253, .86); }
[data-theme="dark"] .tip-card { background: #0086ea; color: #ffffff; }
.tip-card:hover { transform: translateY(-2px); }
.tip-card span { display: block; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; opacity: .7; }
.tip-card strong { display: block; font-family: var(--serif); font-size: 1.55rem; font-weight: 500; letter-spacing: -.03em; margin: .3rem 0 .25rem; }

.ad-slot { margin: 1.2rem 0; }
.ad-footer { margin-top: 2.6rem; }
.ad-card {
  display: block;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: 18px;
}
.ad-card img { width: 100%; max-height: 150px; object-fit: cover; }
.ad-card div { padding: .95rem 1.05rem 1.05rem; }
.ad-card strong { display: block; font-family: var(--serif); font-size: 1.3rem; font-weight: 500; letter-spacing: -.02em; }
.ad-card p { color: var(--ink-soft); margin: .25rem 0 0; }
.ad-label { margin-bottom: .4rem; display: block; }

.page-intro, .page-head { padding: 1.35rem 0 .85rem; }
.page-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
}
.page-intro h1, .page-head h1, .auth h1 { font-size: clamp(1.8rem, 3.4vw, 2.7rem); margin: .2rem 0 .15rem; }
.page-intro .actions, .toolbar, .form-actions { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; }
.toolbar form, .form-actions form { display: flex; gap: .5rem; margin: 0; }

.story-head { width: min(760px, 100%); margin: 1.5rem 0 1.1rem; text-align: left; }
.story-head h1 { font-size: clamp(2rem, 4vw, 3.15rem); }
.lede {
  font-family: var(--serif);
  font-size: 1.35rem;
  line-height: 1.35;
  color: var(--ink-soft);
  margin: .8rem 0 .9rem;
}
.story-head .meta { justify-content: flex-start; }
.story-media { aspect-ratio: 16/8; border-radius: 24px; margin: 0 0 1.5rem; }
.story-media img { width: 100%; height: 100%; object-fit: cover; }
.prose { max-width: 68ch; }
.prose p, .prose li { font-size: 1.08rem; line-height: 1.75; }
.prose h2 {
  font-family: var(--serif);
  font-size: 1.7rem;
  letter-spacing: -.03em;
  margin: 1.8rem 0 .55rem;
}
.prose blockquote {
  margin: 1.5rem 0;
  padding: 0 0 0 1rem;
  border-left: 2px solid var(--accent);
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.45rem;
  line-height: 1.35;
}
.prose blockquote p { margin: 0; }
.prose ul { padding-left: 1.15rem; }
.share { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.6rem; }
.concept-banner {
  margin-top: 1rem;
  padding: .8rem 1rem;
  border-radius: 14px;
  background: color-mix(in srgb, var(--accent) 14%, var(--bg-elev));
}

.filters { display: flex; gap: .45rem; flex-wrap: wrap; margin: .2rem 0 1rem; }
.filters a {
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: .35rem .75rem;
  color: var(--ink-soft);
}
.filters a.is-active, .filters a:hover { color: var(--ink); border-color: var(--ink); }

.topic-list { display: flex; flex-direction: column; gap: .55rem; margin-top: .2rem; }
.topic-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: .8rem 1.2rem;
  align-items: center;
  padding: .9rem 1rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--bg-elev);
  color: inherit;
  text-decoration: none;
  transition: translate .22s ease, border-color .22s ease, box-shadow .22s ease;
}
.topic-row h2 { font-family: var(--sans); font-weight: 650; font-size: 1.05rem; letter-spacing: -.02em; }
.topic-row:hover { translate: 3px 0; border-color: color-mix(in srgb, var(--accent) 55%, var(--line)); }
.topic-row { animation: rise .45s cubic-bezier(.2, .75, .2, 1) both; animation-delay: var(--d, 0ms); }
.topic-side { text-align: right; color: var(--ink-soft); font-size: .82rem; white-space: nowrap; }
.badges { display: flex; gap: .35rem; flex-wrap: wrap; margin-bottom: .3rem; }

.post {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: 1rem;
  padding: 1rem 1.05rem;
  margin-bottom: .55rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--bg-elev);
  animation: rise .45s cubic-bezier(.2, .75, .2, 1) both;
}
.post .who strong { display: block; }
.post .body { white-space: pre-wrap; }

.auth, .panel, .stat {
  background: color-mix(in srgb, var(--bg-elev) 92%, transparent);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 14px 34px rgba(15, 40, 70, 0.05);
}
a.stat { display: block; text-decoration: none; color: inherit; }
a.stat:hover { border-color: color-mix(in srgb, var(--accent) 45%, var(--line)); }
.auth {
  width: min(460px, 100%);
  margin: 6vh auto;
  padding: 1.5rem 1.4rem 1.3rem;
  box-shadow: var(--shadow);
}
.auth-split {
  display: grid;
  grid-template-columns: minmax(220px, .8fr) minmax(0, 1.1fr);
  gap: 1rem;
  width: min(880px, 100%);
  margin: 6vh auto 2rem;
}
.auth-split .auth { width: auto; margin: 0; background: var(--bg-elev); border: 1px solid var(--line); border-radius: 22px; }
.auth-brand {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: .55rem;
  min-height: 280px;
  padding: 1.4rem;
  border-radius: 22px;
  background:
    radial-gradient(280px 140px at 0% 0%, rgba(90, 162, 240, .35), transparent 70%),
    #041422;
  color: #fff;
  animation: rise .55s cubic-bezier(.2, .75, .2, 1) both;
}
.auth-brand h2 { color: #fff; font-weight: 750; }
.auth-brand p { color: #b7cbe0; }
.crumbs { display: flex; flex-wrap: wrap; gap: .35rem .5rem; align-items: center; margin: 1rem 0 .15rem; color: var(--ink-soft); font-size: .82rem; font-weight: 700; }
.crumbs a:hover { color: var(--accent); }
.rubriek-title { display: flex; gap: .8rem; align-items: center; }
.story-nav { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; margin-top: 1.5rem; }
.story-nav a {
  display: flex;
  flex-direction: column;
  gap: .25rem;
  min-height: 92px;
  padding: .95rem 1rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--bg-elev);
  text-decoration: none;
  transition: translate .22s ease, border-color .22s ease;
}
.story-nav a:hover { translate: 0 -3px; border-color: var(--accent); }
.story-nav .is-next { text-align: right; align-items: flex-end; }
.story-nav strong { font-weight: 750; letter-spacing: -.02em; line-height: 1.3; }
.meter-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: .7rem; margin: 0 0 1rem; }
.meter { padding: .9rem 1rem; border: 1px solid var(--line); border-radius: 16px; background: var(--bg-elev); }
.meter b { display: block; font-size: 1.25rem; font-weight: 800; letter-spacing: -.03em; }
.meter span { color: var(--ink-soft); font-size: .82rem; font-weight: 700; }
.page-search, .page-search:focus-within { width: 100%; margin: 0 0 1rem; }
.suggest { display: flex; flex-wrap: wrap; gap: .45rem; margin-bottom: 1rem; }
.suggest a { text-decoration: none; border: 1px solid var(--line); border-radius: 999px; padding: .4rem .8rem; background: var(--bg-elev); font-weight: 700; transition: translate .2s ease, border-color .2s ease; }
.suggest a:hover { translate: 0 -2px; border-color: var(--accent); }
.choice-3 { grid-template-columns: repeat(3, 1fr); }
.editor .choice-3 { grid-template-columns: 1fr; }
.editor [data-seo] { width: 100%; margin: 0 0 .85rem; }
[data-schedule] { display: none; }
.pick-block:has(input[value="gepland"]:checked) + [data-schedule] { display: flex; }
.follow-list { display: flex; flex-direction: column; gap: .35rem; margin-top: .8rem; }
.follow-list form { display: flex; justify-content: space-between; align-items: center; gap: .6rem; padding: .45rem .65rem; border: 1px solid var(--line); border-radius: 12px; }
.follow-list button { border: 0; background: transparent; color: var(--accent); font-weight: 800; cursor: pointer; }
.stock-grid { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: .9rem; }
.stock-grid figure { width: 128px; margin: 0; }
.stock-grid img { width: 128px; height: 86px; object-fit: cover; border-radius: 12px; }
.stock-grid .btn { margin-top: .35rem; }
.stock-grid form { margin: 0; }
.field span em { margin-left: .35rem; font-style: normal; font-weight: 700; font-size: .78rem; color: var(--ink-soft); }
.day-block h2 .hint { margin-left: .35rem; }
.setup {
  min-height: 100vh;
  padding: 8vh 1.25rem 4rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.setup .auth { margin: 1.4rem 0 0; width: min(560px, 100%); }
.admin-side .logo-tag { max-width: 150px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.field { display: flex; flex-direction: column; gap: .35rem; margin-bottom: .85rem; }
.field span { font-size: .92rem; }
input, textarea, select {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--bg);
  border-radius: 12px;
  padding: .75rem .85rem;
  outline: none;
}
textarea { min-height: 150px; resize: vertical; }
textarea.tall { min-height: 320px; }
input:focus, textarea:focus, select:focus {
  border-color: transparent;
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--accent) 70%, transparent);
}
.check { display: flex; align-items: center; gap: .55rem; margin: .4rem 0; }
.check input { width: auto; }
.editor .form-actions, .auth .form-actions, .panel .form-actions { margin-top: .4rem; }

.btn, a.btn, button.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  border-radius: 999px;
  border: 1px solid transparent;
  background: var(--accent);
  color: var(--accent-ink);
  text-decoration: none;
  padding: .72rem 1.1rem;
  line-height: 1;
  transition: transform .25s cubic-bezier(.2,.7,.2,1), background-color .25s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(1px); }
.btn-small { padding: .48rem .8rem; font-size: .88rem; }
.btn, a.btn, button.btn { font-weight: 750; letter-spacing: -.01em; }
button.btn.btn-ghost, a.btn.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
button.btn.btn-accent, a.btn.btn-accent { background: var(--accent); color: var(--accent-ink); }
button.btn.btn-danger, a.btn.btn-danger,
button.btn.btn-danger:hover, a.btn.btn-danger:hover {
  background: #b42318;
  color: #fff;
  border-color: #b42318;
}
[data-theme="dark"] button.btn:not(.btn-ghost):not(.btn-danger):not(.foot-cta),
[data-theme="dark"] a.btn:not(.btn-ghost):not(.btn-danger):not(.foot-cta) {
  background: #0086ea;
  color: #fff;
}
[data-theme="dark"] button.btn.btn-ghost,
[data-theme="dark"] a.btn.btn-ghost {
  background: transparent;
  color: #f4f8fc;
  border-color: #3c5670;
}
[data-theme="dark"] a.btn.foot-cta { background: #fff; color: #06315c; }

.badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: .16rem .5rem;
  font-size: .75rem;
  background: color-mix(in srgb, var(--ink) 7%, transparent);
  color: var(--ink-soft);
  letter-spacing: .01em;
}
.badge-accent { background: color-mix(in srgb, var(--accent) 16%, transparent); color: var(--accent); }
.badge-ok { background: color-mix(in srgb, #1f7a4d 16%, transparent); color: #146c43; }
[data-theme="dark"] .badge-ok { color: #8ee0b5; }

.notice {
  position: fixed;
  right: 1rem;
  top: 1rem;
  z-index: 90;
  width: min(390px, calc(100vw - 2rem));
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: .7rem;
  align-items: start;
  padding: .85rem .8rem 1rem;
  overflow: hidden;
  background: var(--bg-elev);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
  animation: notice-in .34s cubic-bezier(.2, .8, .2, 1);
}
.notice-copy p, .notice-copy ul { margin: 0; }
.notice-copy ul { padding-left: 1.05rem; }
.notice-copy li + li { margin-top: .25rem; }
.notice-mark {
  width: 10px;
  height: 10px;
  margin-top: .4rem;
  border-radius: 50%;
  background: #1f7a4d;
  box-shadow: 0 0 0 5px color-mix(in srgb, #1f7a4d 18%, transparent);
}
.notice-err .notice-mark {
  background: #b42318;
  box-shadow: 0 0 0 5px color-mix(in srgb, #b42318 16%, transparent);
}
.notice-close {
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--ink-soft);
  position: relative;
}
.notice-close:hover { background: color-mix(in srgb, var(--ink) 6%, transparent); color: var(--ink); }
.notice-close::before, .notice-close::after {
  content: "";
  position: absolute;
  left: 7px;
  right: 7px;
  top: 13px;
  height: 1.5px;
  background: currentColor;
}
.notice-close::before { rotate: 45deg; }
.notice-close::after { rotate: -45deg; }
.notice-bar {
  position: absolute;
  left: 0;
  bottom: 0;
  height: 3px;
  width: 100%;
  background: #1f7a4d;
  transform-origin: left center;
}
.notice-err .notice-bar { background: #b42318; }
.notice.is-leaving { animation: notice-out .2s ease forwards; }
@keyframes notice-in {
  from { opacity: 0; translate: 16px 0; }
  to { opacity: 1; translate: 0 0; }
}
@keyframes notice-out {
  to { opacity: 0; translate: 16px 0; }
}
@keyframes notice-drain {
  from { transform: scaleX(1); }
  to { transform: scaleX(0); }
}

.pager { display: flex; gap: .7rem; align-items: center; margin: 1.4rem 0; }
.empty { padding: 1.5rem 0 2rem; color: var(--ink-soft); }

.table-wrap { overflow-x: auto; }
body.is-admin .table-wrap {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: .25rem .85rem .45rem;
  box-shadow: 0 12px 30px rgba(15, 40, 70, 0.05);
}
.panel .table-wrap { background: transparent; border: 0; box-shadow: none; padding: 0; border-radius: 0; }
table { width: 100%; border-collapse: collapse; }
th {
  text-align: left;
  font-size: .75rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-soft);
  font-weight: 600;
  padding: .4rem .5rem .6rem;
}
td { padding: .85rem .5rem; border-top: 1px solid var(--line); vertical-align: middle; }
td a { text-decoration: none; }
td a:hover { color: var(--accent); }

.site-footer {
  position: relative;
  overflow: hidden;
  margin-top: 3.2rem;
  padding: 2.6rem 0 1.2rem;
  background: #041422;
  color: #e7f0f8;
}
.site-footer::before,
.site-footer::after {
  content: "";
  position: absolute;
  pointer-events: none;
}
.site-footer::before {
  top: 0;
  left: -40%;
  width: 45%;
  height: 2px;
  background: linear-gradient(90deg, transparent, #9ec7f5, transparent);
  animation: foot-scan 7.5s linear infinite;
}
.site-footer::after {
  width: 320px;
  height: 320px;
  right: -90px;
  bottom: -140px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(90, 162, 240, .38), transparent 68%);
  animation: field 16s ease-in-out infinite alternate;
}
[data-theme="dark"] .site-footer {
  background:
    radial-gradient(520px 180px at 0% 0%, rgba(21, 101, 192, .35), transparent 70%),
    #07111c;
}
.foot-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.35fr .9fr .7fr .7fr;
  gap: 1.8rem 2rem;
  align-items: start;
}
.foot-brand, .foot-links { animation: rise .6s cubic-bezier(.2, .75, .2, 1) both; }
.foot-grid > :nth-child(2) { animation-delay: .08s; }
.foot-grid > :nth-child(3) { animation-delay: .16s; }
.foot-grid > :nth-child(4) { animation-delay: .24s; }
.foot-brand p { max-width: 28ch; margin: .7rem 0 1rem; color: #b7cbe0; line-height: 1.45; }
.site-footer .logo-word { color: #fff; }
.site-footer .logo-mark { animation: soft-pop .5s cubic-bezier(.2, .75, .2, 1) both; }
.foot-cta {
  position: relative;
  overflow: hidden;
  background: #fff;
  color: #06315c;
}
.foot-cta::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 -40%;
  width: 40%;
  background: linear-gradient(90deg, transparent, rgba(21, 101, 192, .28), transparent);
  animation: foot-scan 2.8s ease infinite;
}
.foot-cta:hover { background: #e8f1fb; translate: 0 -2px; }
.foot-links { display: flex; flex-direction: column; gap: .15rem; }
.foot-links .label { color: #8eb6de; margin-bottom: .35rem; }
.foot-links a {
  display: flex;
  align-items: center;
  gap: .55rem;
  padding: .32rem 0;
  color: #d7e6f4;
  text-decoration: none;
  font-weight: 700;
  animation: rise .45s cubic-bezier(.2, .75, .2, 1) both;
  animation-delay: var(--d, 0ms);
  transition: translate .22s ease, color .22s ease;
}
.foot-links a:hover { translate: 5px 0; color: #fff; }
.site-footer .icon-mini {
  background: rgba(255, 255, 255, .1);
  color: #9ec7f5;
  transition: transform .3s cubic-bezier(.2, .7, .2, 1), background-color .25s ease, color .25s ease;
}
.foot-links a:hover .icon-mini { transform: rotate(-10deg) scale(1.08); background: #0086ea; color: #fff; }
.foot-bar {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1.8rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, .12);
  color: #9eb6cc;
  font-weight: 700;
  animation: rise .55s .2s cubic-bezier(.2, .75, .2, 1) both;
}
.foot-bar time { font-variant-numeric: tabular-nums; color: #fff; }
.foot-bar time::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: .4rem;
  border-radius: 50%;
  background: #8ec5ff;
  animation: pulse 1.6s ease infinite;
}
@keyframes foot-scan { to { translate: 280% 0; } }

.admin-shell { display: grid; grid-template-columns: 252px minmax(0, 1fr); min-height: 100vh; }
.admin-side {
  position: sticky;
  top: 0;
  height: 100vh;
  padding: 1.25rem 1rem 1rem;
  background: #071e3d;
  color: #e8eef6;
  display: flex;
  flex-direction: column;
  gap: .35rem;
}
.admin-side .logo-word { color: #fff; font-size: 1.15rem; }
.admin-side .logo-tag { color: #b7c7d9; }
.admin-side .logo-mark { background: #fff; color: #071e3d; }
.admin-side nav { display: flex; flex-direction: column; gap: .12rem; margin-top: 1rem; }
.nav-label {
  margin: .85rem .7rem .2rem;
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #8eabc8;
}
.admin-side nav a {
  position: relative;
  text-decoration: none;
  color: #d5e2ee;
  padding: .52rem .7rem .52rem .85rem;
  border-radius: 10px;
  transition: background-color .22s ease, color .22s ease, translate .22s ease;
}
.admin-side nav a:hover { background: rgba(255, 255, 255, .08); color: #fff; translate: 3px 0; }
.admin-side nav a.is-active { background: rgba(255, 255, 255, .14); color: #fff; }
.admin-side nav a.is-active::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 9px;
  bottom: 9px;
  width: 3px;
  border-radius: 3px;
  background: #7eb6ff;
}
.admin-side .icon-btn { color: #fff; border-color: rgba(255, 255, 255, .22); }
.admin-side .icon-btn:hover { background: rgba(255, 255, 255, .1); border-color: #fff; }
.admin-side-foot { margin-top: auto; display: flex; flex-direction: column; align-items: flex-start; gap: .55rem; }
.admin-side-foot a { color: #d5e2ee; text-decoration: none; }
.admin-side-foot a:hover { color: #fff; }
.admin-side .btn-ghost { color: #e8eef6; border-color: rgba(255, 255, 255, .22); }
.admin-side .btn-ghost:hover { background: rgba(255, 255, 255, .08); }
.admin-main { width: min(1180px, 100%); padding: 1.7rem 1.8rem 3.2rem; }
body.is-admin .admin-main > * { animation: rise .48s cubic-bezier(.2, .75, .2, 1) both; }
body.is-admin .admin-main > .notice { animation: notice-in .34s cubic-bezier(.2, .8, .2, 1); }
body.is-admin .admin-main > .notice.is-leaving { animation: notice-out .2s ease forwards; }
body.is-admin .admin-main > *:nth-child(2) { animation-delay: 40ms; }
body.is-admin .admin-main > *:nth-child(3) { animation-delay: 80ms; }
body.is-admin .admin-main > *:nth-child(4) { animation-delay: 120ms; }
body.is-admin .admin-main > *:nth-child(5) { animation-delay: 160ms; }
body.is-admin .admin-main > *:nth-child(6) { animation-delay: 200ms; }
body.is-admin .stat, body.is-admin .panel {
  transition: translate .22s ease, box-shadow .22s ease, border-color .22s ease;
}
body.is-admin .stat:hover, body.is-admin a.panel:hover { translate: 0 -2px; }
.admin-head { display: flex; justify-content: space-between; gap: 1rem; align-items: flex-end; margin: .4rem 0 1.2rem; }
.admin-head h1 { font-family: var(--sans); font-weight: 750; font-size: clamp(1.7rem, 3vw, 2.2rem); letter-spacing: -.03em; }
body.is-admin {
  font-family: "Segoe UI Variable Text", "Segoe UI Variable", "Segoe UI", sans-serif;
  background-color: #eef3f8;
  background-image: none;
  color: #102033;
}
[data-theme="dark"] body.is-admin {
  background-color: #0c1522;
  background-image: none;
  color: #f4f8fc;
}
body.is-admin h1,
body.is-admin h2,
body.is-admin h3,
body.is-admin .stat b,
body.is-admin .field > span,
body.is-admin th,
body.is-admin td a,
body.is-admin .admin-side nav a,
body.is-admin .nav-label {
  font-weight: 700;
}
body.is-admin .hint,
body.is-admin .muted { color: #3c5166; }
body.is-admin th { color: #24384c; }
[data-theme="dark"] body.is-admin .hint,
[data-theme="dark"] body.is-admin .muted,
[data-theme="dark"] body.is-admin th { color: #d5e2ee; }
body.is-admin .admin-side { background: #06315c; }
body.is-admin .admin-side .logo-tag,
body.is-admin .admin-side-foot a,
body.is-admin .nav-label { color: #d7e7f8; }
body.is-admin .admin-side nav a { color: #f7fbff; }
body.is-admin .admin-side nav a.is-active { background: #fff; color: #06315c; }
body.is-admin .admin-side nav a.is-active::before { background: #0086ea; }
body.is-admin .filters a.is-active,
body.is-admin .filters a:hover { background: var(--accent); color: var(--accent-ink); border-color: transparent; }
.manage-bar, .row-actions { display: flex; flex-wrap: wrap; gap: .45rem; align-items: center; }
.manage-bar { margin: 0 0 .9rem; }
.manage-bar input, .manage-bar select { width: auto; min-width: 180px; }
.row-actions .btn { white-space: nowrap; }
body.is-admin .article-desk td { font-weight: 650; }
body.is-admin .article-desk .row-actions .btn-ghost {
  background: #e7eef6;
  color: #102033;
  border-color: transparent;
}
[data-theme="dark"] body.is-admin .article-desk .row-actions .btn-ghost {
  background: #24384c;
  color: #f7fbff;
  border-color: #3c5670;
}
body.is-admin .article-desk .btn-danger { background: #b42318; color: #fff; border-color: #b42318; }
.article-desk .badge { font-weight: 750; }
.site-note { background: #0086ea; color: #fff; font-weight: 700; padding: .55rem 0; }
.board-edit { margin-bottom: .45rem; }
body.is-admin h2, body.is-admin .side-title, body.is-admin .stat b { font-family: var(--sans); }
.user-grid { display: grid; grid-template-columns: 1fr 1.2fr 150px 1fr auto; gap: .7rem; align-items: end; }
.user-card { margin-bottom: .8rem; }
@media (max-width: 980px) { .user-grid { grid-template-columns: 1fr 1fr; } }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: .8rem; margin-bottom: 1.3rem; }
.stat { padding: 1rem 1.05rem; }
.stat b { display: block; font-family: var(--serif); font-size: 2.1rem; font-weight: 500; letter-spacing: -.04em; }
.stat span { color: var(--ink-soft); font-size: .88rem; }
.editor { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 1rem; align-items: start; }
.editor aside.panel { position: sticky; top: .8rem; }
.pick-block { border: 0; margin: 0 0 .9rem; padding: 0; }
.pick-block legend { font-weight: 750; font-size: .92rem; margin-bottom: .4rem; }
.choice-row { display: grid; grid-template-columns: 1fr 1fr; gap: .45rem; }
.choice {
  display: flex;
  align-items: center;
  gap: .45rem;
  min-height: 46px;
  padding: .55rem .7rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--bg);
  cursor: pointer;
  font-weight: 700;
}
.choice input {
  width: 1.15rem;
  height: 1.15rem;
  margin: 0;
  accent-color: #0086ea;
  flex: 0 0 auto;
}
.choice:has(input:checked) {
  background: #0086ea;
  border-color: #0086ea;
  color: #fff;
}
.place-box { display: none; margin-top: .55rem; }
.pick-block:has([data-scope][value="gemeente"]:checked) .place-box { display: block; }
.place-meta { margin: .35rem 0; font-size: .82rem; font-weight: 700; color: var(--ink-soft); }
.place-list {
  max-height: 280px;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--bg);
}
.place-row {
  display: flex;
  align-items: center;
  gap: .65rem;
  margin: 0;
  padding: .62rem .75rem;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
  font-weight: 650;
}
.place-row:last-child { border-bottom: 0; }
.place-row input {
  appearance: none;
  width: 1.15rem;
  height: 1.15rem;
  margin: 0;
  border: 2px solid #0086ea;
  border-radius: 6px;
  background: transparent;
  flex: 0 0 auto;
}
.place-row input:checked { background: #0086ea; box-shadow: inset 0 0 0 3px #fff; }
.place-row:hover { background: color-mix(in srgb, #0086ea 10%, transparent); }
.place-row:has(input:checked) { background: #0086ea; color: #fff; }
.place-row:has(input:checked) input { border-color: #fff; background: #fff; box-shadow: inset 0 0 0 3px #0086ea; }
.place-row[hidden] { display: none; }
.toggle {
  display: flex;
  align-items: center;
  gap: .7rem;
  margin: 0 0 .5rem;
  padding: .7rem .8rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--bg);
  cursor: pointer;
}
.toggle input {
  appearance: none;
  width: 1.35rem;
  height: 1.35rem;
  margin: 0;
  border: 2px solid #0086ea;
  border-radius: 7px;
  background: transparent;
  flex: 0 0 auto;
}
.toggle input:checked { background: #0086ea; box-shadow: inset 0 0 0 3px var(--bg); }
.toggle span { display: flex; flex-direction: column; gap: .05rem; }
.toggle b { font-weight: 750; }
.toggle em { font-style: normal; font-weight: 600; color: var(--ink-soft); font-size: .82rem; }
.toggle:has(input:checked) { border-color: #0086ea; background: color-mix(in srgb, #0086ea 12%, var(--bg)); }
.btn-save { width: 100%; margin-top: .35rem; }
.panel { padding: 1rem; }
.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 1.2rem; align-items: start; }
.thumb { width: 100%; border-radius: 14px; margin: .4rem 0 .8rem; aspect-ratio: 16/9; object-fit: cover; }

.hp {
  position: absolute !important;
  left: -10000px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.rise { animation: rise .7s cubic-bezier(.2,.7,.2,1) both; animation-delay: var(--d, 0ms); }
@keyframes rise {
  from { opacity: 0; translate: 0 14px; }
  to { opacity: 1; translate: 0 0; }
}

body:not(.is-admin) main#inhoud > * { animation: rise .46s cubic-bezier(.2, .75, .2, 1) both; }
body:not(.is-admin) main#inhoud > *:nth-child(2) { animation-delay: 50ms; }
body:not(.is-admin) main#inhoud > *:nth-child(3) { animation-delay: 90ms; }
body:not(.is-admin) main#inhoud > *:nth-child(4) { animation-delay: 130ms; }
body:not(.is-admin) main#inhoud > .notice { animation: notice-in .34s cubic-bezier(.2, .8, .2, 1); }
body:not(.is-admin) main#inhoud > .notice.is-leaving { animation: notice-out .2s ease forwards; }

.stage {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, .75fr);
  gap: 1rem;
  margin-top: 1.15rem;
  align-items: stretch;
}
.stage-solo, .stage-empty { grid-template-columns: 1fr; }
.stage-empty h1 { font-size: clamp(2rem, 4vw, 3rem); letter-spacing: -.04em; margin: .2rem 0 .8rem; }
.home-picks { display: flex; flex-wrap: wrap; gap: .4rem; }
.home-picks a {
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: .35rem .75rem;
  background: var(--bg-elev);
  transition: translate .2s ease, border-color .2s ease;
}
.home-picks a:hover { translate: 0 -2px; border-color: var(--accent); }
.lead {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow);
  transition: translate .25s ease, box-shadow .25s ease;
}
.lead:hover { translate: 0 -3px; }
.lead.is-copy { border-left: 4px solid var(--accent); justify-content: flex-end; min-height: 220px; }
.lead-media { display: block; aspect-ratio: 16/9; overflow: hidden; }
.lead-media img { width: 100%; height: 100%; object-fit: cover; transition: scale .7s cubic-bezier(.2, .7, .2, 1); }
.lead:hover img { scale: 1.04; }
.lead-copy { display: flex; flex-direction: column; gap: .4rem; padding: 1.05rem 1.15rem 1.2rem; }
.lead.is-copy .lead-copy { padding: 1.6rem 1.4rem 1.5rem; }
.lead h1 { font-size: clamp(1.7rem, 2.6vw, 2.45rem); letter-spacing: -.035em; line-height: 1.08; font-weight: 650; }
.lead.is-copy h1 { font-size: clamp(2rem, 4vw, 3.1rem); }
.feed, .lines {
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: .35rem 1rem;
}
.lines { margin-top: 1rem; }
.line {
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr) auto;
  gap: .75rem;
  align-items: baseline;
  padding: .78rem 0;
  border-top: 1px solid var(--line);
  color: inherit;
  text-decoration: none;
  animation: rise .45s cubic-bezier(.2, .75, .2, 1) both;
  animation-delay: var(--d, 0ms);
  transition: translate .2s ease;
}
.feed .line:first-child, .lines .line:first-child { border-top: 0; }
.line:hover { translate: 4px 0; }
.line strong { font-weight: 650; letter-spacing: -.02em; line-height: 1.3; }
.line time { color: var(--ink-soft); font-size: .78rem; white-space: nowrap; }
.mosaic { display: grid; gap: .8rem; margin-top: 1rem; }
.mosaic-1 { grid-template-columns: minmax(0, 1fr); }
.mosaic-2 { grid-template-columns: 1fr 1fr; }
.mosaic-3 { grid-template-columns: repeat(3, 1fr); }
.shot {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 16/10;
  border-radius: 18px;
  animation: rise .5s cubic-bezier(.2, .75, .2, 1) both;
  animation-delay: var(--d, 0ms);
}
.shot img { width: 100%; height: 100%; object-fit: cover; transition: scale .7s cubic-bezier(.2, .7, .2, 1); }
.shot:hover img { scale: 1.05; }
.shot-copy {
  position: absolute;
  inset: auto 0 0 0;
  display: flex;
  flex-direction: column;
  gap: .15rem;
  padding: .75rem .9rem .85rem;
  background: rgba(5, 9, 16, .86);
  box-shadow: 0 -20px 26px rgba(5, 9, 16, .5);
  color: #fff;
}
.shot .kicker { color: #b9d4f5; }
.shot strong { font-weight: 650; letter-spacing: -.02em; line-height: 1.25; }
.card-copy { border-left: 3px solid var(--accent); }

.home-split {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) 300px;
  gap: 1rem;
  margin-top: 1.15rem;
  align-items: start;
}
.icon-board { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; }
.icon-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: .8rem;
  align-items: center;
  padding: .95rem;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: 18px;
  text-decoration: none;
  color: inherit;
  animation: rise .5s cubic-bezier(.2, .75, .2, 1) both;
  animation-delay: var(--d, 0ms);
  transition: translate .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.icon-card:hover { translate: 0 -4px; box-shadow: var(--shadow); border-color: var(--accent); }
.icon-bubble {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  transition: transform .35s cubic-bezier(.2, .7, .2, 1), background-color .25s ease, color .25s ease;
}
.icon-bubble svg { width: 24px; height: 24px; }
.icon-card:hover .icon-bubble { transform: scale(1.08) rotate(-8deg); background: var(--accent); color: #fff; }
.quiet-board { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: .8rem; }
.icon-card.is-quiet {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .35rem .7rem .35rem .35rem;
  background: transparent;
  box-shadow: none;
  opacity: .62;
}
.icon-card.is-quiet .icon-bubble { width: 28px; height: 28px; border-radius: 8px; }
.icon-card.is-quiet .icon-bubble svg { width: 16px; height: 16px; }
.icon-card.is-quiet strong { font-size: .86rem; font-weight: 650; color: var(--ink-soft); }
.icon-card.is-quiet:hover { opacity: 1; translate: 0 0; }
.icon-card strong { display: block; font-weight: 750; letter-spacing: -.02em; }
.icon-card em {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-top: .15rem;
  color: var(--ink-soft);
  font-style: normal;
  font-size: .84rem;
}
.home-side {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: .9rem 1rem 1rem;
}
.side-hit {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: .6rem;
  align-items: start;
  padding: .7rem 0;
  border-top: 1px solid var(--line);
  text-decoration: none;
  color: inherit;
  animation: rise .45s cubic-bezier(.2, .75, .2, 1) both;
  animation-delay: var(--d, 0ms);
  transition: translate .2s ease;
}
.side-hit:first-of-type { border-top: 0; }
.side-hit:hover { translate: 4px 0; }
.side-hit time { font-weight: 750; color: var(--accent); }
.side-hit b { display: block; font-weight: 700; line-height: 1.3; }
.side-hit em { display: block; margin-top: .12rem; color: var(--ink-soft); font-style: normal; font-size: .8rem; }
.day-block h2 { margin: 1.3rem 0 .15rem; font-size: 1.05rem; font-weight: 750; }
.roadmap li { animation: rise .45s cubic-bezier(.2, .75, .2, 1) both; animation-delay: var(--d, 0ms); }
.roadmap { margin-top: .2rem; }
.roadmap ol { list-style: none; margin: 0; padding: 0; }
.roadmap li {
  display: grid;
  grid-template-columns: 168px minmax(0, 1fr) auto;
  gap: .75rem;
  align-items: center;
  position: relative;
  padding: .72rem 0 .72rem 1.1rem;
  border-left: 2px solid color-mix(in srgb, var(--accent) 35%, var(--line));
}
.roadmap time { color: var(--ink-soft); font-size: .82rem; font-weight: 650; }
.roadmap a { display: flex; flex-direction: column; gap: .1rem; text-decoration: none; color: inherit; min-width: 0; }
.roadmap strong { font-weight: 700; letter-spacing: -.02em; line-height: 1.3; }
.roadmap a:hover strong { color: var(--accent); }
.roadmap li::before {
  content: "";
  position: absolute;
  left: -5px;
  top: 1.15rem;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #0086ea;
}
.story-media figcaption { padding: .45rem .1rem 0; color: var(--ink-soft); font-size: .82rem; font-weight: 650; }
.comments { margin-top: 2rem; max-width: 760px; }
.comment {
  padding: .9rem 0;
  border-top: 1px solid var(--line);
}
.comment p { margin: .35rem 0 .5rem; white-space: pre-wrap; }
.comment-top { display: flex; gap: .7rem; align-items: baseline; }
.comment-top time { color: var(--ink-soft); font-size: .82rem; }
.home-open { padding: 1.4rem 0 .2rem; }
.home-open h1 { font-size: clamp(2rem, 4vw, 3rem); letter-spacing: -.04em; font-weight: 650; margin-top: .15rem; }
.is-home .lead { margin-top: 1.15rem; position: relative; }
.is-home .lead-media img { animation: photo-settle 1.15s cubic-bezier(.2, .7, .2, 1) both; }
.is-home .lead::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 -30%;
  width: 28%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .34), transparent);
  pointer-events: none;
  opacity: 0;
}
.is-home .lead:hover::after { animation: sheen .85s ease; }
.is-home .lead-copy > * { animation: rise .5s cubic-bezier(.2, .75, .2, 1) both; }
.is-home .lead-copy > *:nth-child(1) { animation-delay: .12s; }
.is-home .lead-copy > *:nth-child(2) { animation-delay: .2s; }
.is-home .lead-copy > *:nth-child(3) { animation-delay: .28s; }
.is-home .home-side { position: sticky; top: 78px; animation: rise .55s .08s cubic-bezier(.2, .75, .2, 1) both; }
.is-home .side-hit { animation-name: slide-in; }
.is-home .side-hit b {
  background-image: linear-gradient(currentColor, currentColor);
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 0 1px;
  transition: background-size .28s ease;
}
.is-home .side-hit:hover b { background-size: 100% 1px; }
.is-home .icon-card:hover em { color: var(--ink); }
.is-home .quiet-board .icon-card { animation: soft-pop .4s cubic-bezier(.2, .75, .2, 1) both; animation-delay: var(--d, 0ms); }
.is-home .ranked li { animation: rise .45s cubic-bezier(.2, .75, .2, 1) both; animation-delay: var(--d, 0ms); transition: translate .22s ease; }
.is-home .ranked li:hover { translate: 3px 0; }
.is-home .band { animation: rise .55s .12s cubic-bezier(.2, .75, .2, 1) both; }
.is-home .tip-line .badge { animation: soft-pop .45s .35s cubic-bezier(.2, .75, .2, 1) both; }
@keyframes photo-settle {
  from { scale: 1.08; }
  to { scale: 1; }
}
@keyframes photo-in {
  from { opacity: 0; scale: 1.08; }
  to { opacity: 1; scale: 1; }
}
.is-home .lead.is-film .lead-media img {
  animation: photo-in 1.15s cubic-bezier(.2, .7, .2, 1) both, photo-drift 16s ease-in-out 1.15s infinite alternate;
}
@keyframes photo-drift {
  from { scale: 1; }
  to { scale: 1.06; }
}
@keyframes sheen {
  from { opacity: 0; translate: 0 0; }
  20% { opacity: 1; }
  to { opacity: 0; translate: 460% 0; }
}
@keyframes slide-in {
  from { opacity: 0; translate: 14px 0; }
  to { opacity: 1; translate: 0 0; }
}
@keyframes soft-pop {
  from { opacity: 0; scale: .94; }
  to { opacity: 1; scale: 1; }
}
body.is-home { background-image: none; }
[data-theme="dark"] body.is-home { background-image: none; }
.lead.is-film { display: grid; min-height: 460px; color: #fff; }
.lead.is-film .lead-media { grid-area: 1 / 1; aspect-ratio: auto; min-height: 460px; }
.lead.is-film .lead-copy {
  grid-area: 1 / 1;
  z-index: 1;
  align-self: end;
  color: #fff;
  background: linear-gradient(180deg, transparent 0 8%, rgba(5, 9, 16, .55) 16%, rgba(5, 9, 16, .9) 34%, rgba(5, 9, 16, .94) 100%);
  padding: 5.2rem 1.3rem 1.25rem;
}
.lead.is-film h1 { text-shadow: 0 2px 18px rgba(0, 0, 0, .45); }
.lead.is-film .kicker, .lead.is-film h1, .lead.is-film time { color: #fff; }
.lead.is-film .badge { background: rgba(255, 255, 255, .16); color: #fff; }
.ticker {
  display: flex;
  align-items: center;
  gap: .15rem;
  height: 48px;
  margin: 1rem 0 0;
  padding: 0 .4rem 0 .4rem;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: color-mix(in srgb, var(--bg-elev) 88%, transparent);
  backdrop-filter: blur(10px);
}
.ticker-live {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .42rem;
  height: 32px;
  padding: 0 .9rem;
  border-radius: 999px;
  background: color-mix(in srgb, #0086ea 16%, transparent);
  color: #0086ea;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .14em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
  flex: none;
}
.ticker-live i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  animation: pulse 1.6s ease infinite;
}
.ticker-window {
  display: flex;
  align-items: center;
  align-self: stretch;
  flex: 1;
  min-width: 0;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent 0, #000 22px, #000 calc(100% - 28px), transparent);
}
.ticker-track {
  display: flex;
  align-items: center;
  height: 100%;
  width: max-content;
  animation: ticker-move 46s linear infinite;
  will-change: transform;
}
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-set {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  height: 100%;
  padding-right: 1.6rem;
}
.ticker-set a {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  height: 100%;
  color: var(--ink);
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}
.ticker-set a::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent);
  flex: none;
}
.ticker-set a:hover { color: var(--accent); }
.icon-card { position: relative; }
.fresh {
  position: absolute;
  top: .55rem;
  right: .7rem;
  font-size: .72rem;
  font-weight: 800;
  color: var(--ink-soft);
}
.fresh.is-new::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: .28rem;
  border-radius: 50%;
  background: #0086ea;
  animation: pulse 1.6s ease infinite;
}
.home-side .label time { margin-left: .35rem; color: var(--accent); font-variant-numeric: tabular-nums; }
.side-hit.is-live time::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: .28rem;
  border-radius: 50%;
  background: currentColor;
  animation: pulse 1.6s ease infinite;
}
.pop-band { margin-top: 1.3rem; }
.pop-row {
  display: flex;
  gap: .7rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: .2rem;
}
.pop-card {
  flex: 0 0 240px;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  gap: .35rem;
  min-height: 148px;
  padding: 1rem;
  text-decoration: none;
  color: inherit;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: 18px;
  animation: rise .5s cubic-bezier(.2, .75, .2, 1) both;
  animation-delay: var(--d, 0ms);
  transition: translate .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.pop-card:hover { translate: 0 -4px; box-shadow: var(--shadow); border-color: var(--accent); }
.pop-card > span { font-weight: 800; color: var(--accent); font-variant-numeric: tabular-nums; }
.pop-card strong { font-weight: 750; letter-spacing: -.02em; line-height: 1.25; }
.pop-card em { margin-top: auto; color: var(--ink-soft); font-style: normal; font-size: .8rem; }
.pop-card .heat {
  display: block;
  height: 3px;
  width: var(--w, 0%);
  border-radius: 99px;
  background: #0086ea;
  animation: heat-in .7s cubic-bezier(.2, .75, .2, 1) both;
  animation-delay: var(--d, 0ms);
}
.pop-tools { display: flex; gap: .35rem; }
.pop-tools button {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--bg-elev);
  color: var(--ink);
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
  transition: translate .2s ease, border-color .2s ease, background-color .2s ease;
}
.pop-tools button:hover { translate: 0 -2px; border-color: var(--accent); color: var(--accent); }
.dayline {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin: 1rem 0 0;
  font-weight: 750;
}
.dayline span { color: var(--accent); }
.also { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .7rem; margin-top: 1rem; }
.also-card {
  position: relative;
  display: flex;
  min-height: 148px;
  overflow: hidden;
  border-radius: 18px;
  text-decoration: none;
  color: #fff;
  background: #10233c;
  animation: rise .5s cubic-bezier(.2, .75, .2, 1) both;
  animation-delay: var(--d, 0ms);
}
.also-card { transition: translate .28s cubic-bezier(.2, .7, .2, 1), box-shadow .28s ease; }
.also-card:hover { translate: 0 -5px; box-shadow: 0 18px 36px rgba(0, 0, 0, .32); }
.also-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: photo-in .9s cubic-bezier(.2, .7, .2, 1) both;
  transition: scale .7s cubic-bezier(.2, .7, .2, 1);
}
.also-card:hover img { scale: 1.07; }
.also-card::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 -40%;
  width: 32%;
  z-index: 2;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .34), transparent);
  pointer-events: none;
  opacity: 0;
}
.also-card:hover::after { animation: sheen .85s ease; }
.also-card span {
  position: relative;
  z-index: 1;
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: .18rem;
  width: 100%;
  padding: .72rem .9rem .82rem;
  background: rgba(5, 9, 16, .86);
  box-shadow: 0 -22px 28px rgba(5, 9, 16, .55);
  animation: rise .5s cubic-bezier(.2, .75, .2, 1) both;
  animation-delay: calc(var(--d, 0ms) + 90ms);
}
.also-card.is-copy span { background: none; box-shadow: none; padding-top: 1rem; }
.also-card em { font-style: normal; font-size: .75rem; font-weight: 800; color: #d7e9ff; }
.also-card strong {
  font-weight: 750;
  letter-spacing: -.02em;
  line-height: 1.25;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.icon-card strong i {
  margin-left: .3rem;
  font-style: normal;
  font-size: .75rem;
  font-weight: 800;
  color: var(--accent);
}
.lees {
  display: inline-flex;
  margin-top: .45rem;
  font-size: .78rem;
  font-weight: 800;
  color: var(--accent);
  opacity: 0;
  translate: -6px 0;
  transition: opacity .22s ease, translate .22s ease;
}
.lees::after { content: "→"; margin-left: .3rem; }
.card:hover .lees { opacity: 1; translate: 0 0; }
.to-top {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 45;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: #0086ea;
  color: #fff;
  font-size: 1.2rem;
  cursor: pointer;
  box-shadow: var(--shadow);
  animation: soft-pop .25s ease;
}
.to-top[hidden] { display: none; }
.to-top:hover { translate: 0 -3px; }
.lead-media img, .card-media img, .story-media img, .shot img, .also-card img {
  animation: fade-img .7s ease both;
}
.also-card img { animation: photo-in .9s cubic-bezier(.2, .7, .2, 1) both; }
.is-home .lead.is-film .lead-media img { animation: photo-in 1.15s cubic-bezier(.2, .7, .2, 1) both, photo-drift 16s ease-in-out 1.15s infinite alternate; }
.card:not(.card-copy) {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 280px;
  color: #fff;
  background: #0c1624;
  isolation: isolate;
}
.card:not(.card-copy) .card-media {
  position: absolute;
  inset: 0;
  height: auto;
  aspect-ratio: auto;
}
.card:not(.card-copy) .card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: photo-in .85s cubic-bezier(.2, .7, .2, 1) both;
}
.card:not(.card-copy) .card-body {
  position: relative;
  z-index: 1;
  margin-top: auto;
  padding: .72rem .95rem .88rem;
  background: rgba(5, 9, 16, .88);
  box-shadow: 0 -24px 32px rgba(5, 9, 16, .55);
  color: #fff;
}
.card:not(.card-copy) .kicker,
.card:not(.card-copy) h3,
.card:not(.card-copy) h3 a,
.card:not(.card-copy) .labels,
.card:not(.card-copy) .labels a,
.card:not(.card-copy) time { color: #fff; }
.card:not(.card-copy) .kicker { color: #d7e9ff; }
.card:not(.card-copy) h3 {
  margin: .15rem 0 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card:not(.card-copy) h3 a:hover { color: #fff; }
.card:not(.card-copy) .lees { color: #d7e9ff; }
.card:not(.card-copy) .badge { background: rgba(255, 255, 255, .16); color: #fff; }
.card:not(.card-copy)::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 -40%;
  width: 32%;
  z-index: 2;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .32), transparent);
  pointer-events: none;
  opacity: 0;
}
.card:not(.card-copy):hover { translate: 0 -5px; box-shadow: 0 18px 36px rgba(0, 0, 0, .32); }
.card:not(.card-copy):hover img { scale: 1.06; }
.card:not(.card-copy):hover::after { animation: sheen .85s ease; }
@keyframes heat-in { from { width: 0; } }
@keyframes fade-img { from { opacity: 0; } to { opacity: 1; } }
@media (hover: none) { .lees { opacity: 1; translate: 0 0; } }
.pop-row .tip-line { flex: 0 0 200px; scroll-snap-align: start; border-radius: 18px; }
.logo-mark { transition: transform .35s cubic-bezier(.2, .7, .2, 1); }
.card img, .story-media img, .shot img { transition: scale .7s cubic-bezier(.2, .7, .2, 1); }
.card:hover img, .story-media:hover img { scale: 1.04; }
.topic-row, .post, .line { transition: translate .22s ease; }
.topic-row:hover, .post:hover { translate: 4px 0; }
.rubriek-pop a { animation: rise .32s cubic-bezier(.2, .75, .2, 1) both; }
.rubriek-pop a:nth-child(2) { animation-delay: 25ms; }
.rubriek-pop a:nth-child(3) { animation-delay: 50ms; }
.rubriek-pop a:nth-child(4) { animation-delay: 75ms; }
.rubriek-pop a:nth-child(5) { animation-delay: 100ms; }
.rubriek-pop a:nth-child(6) { animation-delay: 125ms; }
.rubriek-pop a:nth-child(7) { animation-delay: 150ms; }
.rubriek-pop a:nth-child(8) { animation-delay: 175ms; }
.rubriek-pop a:nth-child(9) { animation-delay: 200ms; }
@keyframes ticker-move {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-50%, 0, 0); }
}
@keyframes pulse {
  0%, 100% { opacity: 1; scale: 1; }
  50% { opacity: .35; scale: .72; }
}
.desks {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .75rem;
  margin-top: 1rem;
}
.desk {
  --desk: #0086ea;
  display: flex;
  flex-direction: column;
  gap: .55rem;
  min-height: 168px;
  padding: 1rem 1.05rem 1.05rem;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-top: 3px solid var(--desk);
  border-radius: 18px;
  box-shadow: 0 10px 28px rgba(18, 52, 90, 0.04);
  animation: rise .5s cubic-bezier(.2, .75, .2, 1) both;
  animation-delay: var(--d, 0ms);
  transition: translate .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.desk:nth-child(3n+2) { --desk: #0d47a1; }
.desk:nth-child(3n) { --desk: #1e88e5; }
[data-theme="dark"] .desk:nth-child(3n+1) { --desk: #00b4f8; }
[data-theme="dark"] .desk:nth-child(3n+2) { --desk: #8ec5ff; }
[data-theme="dark"] .desk:nth-child(3n) { --desk: #3d8bdb; }
.desk:hover { translate: 0 -3px; box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--desk) 55%, var(--line)); }
.desk-wide {
  grid-column: span 2;
  display: grid;
  grid-template-columns: 168px minmax(0, 1fr);
  gap: .9rem;
  align-items: center;
}
.desk-photo { display: block; border-radius: 12px; overflow: hidden; height: 120px; margin: -.15rem 0 .1rem; }
.desk-wide .desk-photo { height: 112px; margin: 0; }
.desk-photo img { width: 100%; height: 100%; object-fit: cover; transition: scale .6s ease; }
.desk:hover .desk-photo img { scale: 1.05; }
.desk-body { display: flex; flex-direction: column; gap: .4rem; min-width: 0; }
.desk-name {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--desk);
  text-decoration: none;
}
.desk-title {
  color: inherit;
  text-decoration: none;
  font-weight: 650;
  letter-spacing: -.02em;
  line-height: 1.28;
}
.desk-title + .desk-title { color: var(--ink-soft); font-weight: 550; font-size: .92rem; }
.desk-title:hover { color: var(--desk); }
.desk-sub { display: flex; flex-wrap: wrap; gap: .35rem; margin-top: auto; }
.desk-sub a {
  text-decoration: none;
  color: var(--ink-soft);
  font-size: .75rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: .16rem .5rem;
  transition: border-color .2s ease, color .2s ease, background-color .2s ease;
}
.desk-sub a:hover { color: var(--ink); border-color: var(--desk); background: color-mix(in srgb, var(--desk) 8%, transparent); }
.tip-wide { margin-top: 1rem; }
.home-edit { margin-top: 1rem; }
.band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 240px;
  gap: 1rem;
  align-items: start;
  margin-top: 1.3rem;
}
.band-list, .tip-line {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: .95rem 1rem;
}
.tip-line {
  display: flex;
  align-items: center;
  gap: .7rem;
  min-height: 72px;
  text-decoration: none;
  color: inherit;
  background: #0086ea;
  color: #fff;
  border-color: transparent;
  transition: translate .22s ease;
}
.tip-line:hover { translate: 0 -2px; }
.tip-line .badge { background: rgba(255, 255, 255, .18); color: #fff; }
.tip-line strong { font-weight: 650; letter-spacing: -.02em; }
.card { transition: translate .22s ease, box-shadow .22s ease; }
.card:hover { translate: 0 -3px; }
@media (max-width: 900px) {
  .stage, .band, .mosaic-2, .mosaic-3, .desks, .also, .auth-split, .story-nav, .meter-row { grid-template-columns: 1fr; }
  .desk-wide, .home-split { grid-column: auto; grid-template-columns: 1fr; }
  .is-home .home-side { position: static; }
  .roadmap li { grid-template-columns: 1fr; gap: .2rem; }
  .line { grid-template-columns: minmax(0, 1fr); gap: .15rem; }
  .line time { white-space: normal; }
}

@media (max-width: 980px) {
  .front, .layout, .story-layout, .editor, .split, .footer-grid, .foot-grid { grid-template-columns: 1fr 1fr; }
  .related-grid, .news-grid, .stats { grid-template-columns: 1fr 1fr; }
  .admin-shell { grid-template-columns: 1fr; }
  .admin-side { position: relative; height: auto; }
  .admin-side nav { flex-direction: row; flex-wrap: wrap; margin-top: .8rem; }
  .nav-label { width: 100%; margin-bottom: 0; }
  .admin-side-foot { margin-top: .8rem; flex-direction: row; align-items: center; }
  .rubrieken time { display: none; }
}

@media (max-width: 720px) {
  .wrap, body:not(.is-admin) main#inhoud { width: min(1160px, calc(100% - 28px)); }
  .foot-grid { grid-template-columns: 1fr; }
  .mast { flex-wrap: wrap; min-height: 58px; padding: .45rem 0; }
  .mast-nav { order: 6; flex-basis: 100%; overflow-x: auto; }
  .icon-board { grid-template-columns: 1fr; }
  .search { order: 5; width: 100%; margin: 0 0 .35rem; }
  .sections-meld { margin-left: 0; }
  .logo-tag { display: none; }
  .news-grid, .related-grid, .stats { grid-template-columns: 1fr; }
  .post { grid-template-columns: 1fr; gap: .35rem; }
  .topic-row { grid-template-columns: 1fr; }
  .topic-side { text-align: left; }
  .hero, .stack, .story-media { border-radius: 16px; }
  .story-head { text-align: left; }
  .story-head .meta { justify-content: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  margin: 0 0 1.4rem;
}
.chip-row a {
  text-decoration: none;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: .35rem .8rem;
  font-size: .88rem;
  background: var(--bg-elev);
}
.tool-bar { display: flex; flex-direction: column; gap: .55rem; margin: .85rem 0 1rem; }
.place-row, .sort-row { display: flex; flex-wrap: wrap; gap: .4rem; }
.place-row a, .sort-row a {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .38rem .72rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  background: var(--bg-elev);
  text-decoration: none;
  font-size: .82rem;
  font-weight: 750;
  line-height: 1;
  animation: rise .4s cubic-bezier(.2, .75, .2, 1) both;
  animation-delay: var(--d, 0ms);
  transition: translate .2s ease, border-color .2s ease, background-color .2s ease, color .2s ease;
}
.place-row a b { font-weight: 800; color: var(--accent); }
.place-row a:hover, .sort-row a:hover { translate: 0 -2px; border-color: var(--accent); }
.place-row a.is-active, .sort-row a.is-active { background: #0086ea; color: #fff; border-color: #0086ea; }
.place-row a.is-active b { color: #fff; }
.nav-switch {
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink-soft);
  border-radius: 999px;
  padding: .35rem .7rem;
  font-weight: 800;
  cursor: pointer;
  transition: background-color .2s ease, color .2s ease, translate .2s ease;
}
.nav-switch.is-on { background: #0086ea; color: #fff; border-color: #0086ea; }
.nav-switch:hover { translate: 0 -2px; }
.admin-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; }
.table-wrap tr { animation: rise .35s cubic-bezier(.2, .75, .2, 1) both; animation-delay: var(--d, 0ms); }
.tl-item.is-filtering { animation: fade-img .2s ease both; }
.chip-row a.is-active,
.chip-row a:hover {
  background: var(--accent);
  color: var(--accent-ink);
  border-color: transparent;
}
tr.is-child td:first-child { padding-left: 1.6rem; }
.adsbygoogle { min-height: 90px; }

.admin-tabs { display: flex; flex-wrap: wrap; gap: .4rem; margin: 0 0 1.15rem; }
.admin-tabs a {
  text-decoration: none;
  padding: .42rem .85rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--bg-elev);
  color: var(--ink-soft);
  font-size: .9rem;
}
.admin-tabs a.is-active, .admin-tabs a:hover { background: var(--accent); color: var(--accent-ink); border-color: transparent; }
.chart-panel { margin-bottom: 1.2rem; }
.panel-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin-bottom: .85rem; }
.panel-head h2 { font-family: var(--serif); font-size: 1.35rem; letter-spacing: -.02em; }
.panel-head a { color: var(--ink-soft); text-decoration: none; }
.panel-head a:hover { color: var(--ink); }
.chart-scroll { overflow-x: auto; }
.bars { display: flex; align-items: stretch; gap: .35rem; height: 168px; min-width: 520px; }
.bars .bar { flex: 1; display: grid; grid-template-rows: auto minmax(0, 1fr) auto; justify-items: center; gap: .28rem; min-width: 26px; }
.bars .bar span { font-size: .68rem; color: var(--ink-soft); font-variant-numeric: tabular-nums; }
.track { width: 14px; height: 100%; display: flex; align-items: flex-end; }
.bars .bar i { display: block; width: 100%; height: 4%; min-height: 3px; border-radius: 7px; background: linear-gradient(180deg, #3d7ab8, #0c3f78); }
[data-theme="dark"] .bars .bar i { background: linear-gradient(180deg, #d7e7f8, #7eb0e6); }
.bars .bar em { font-style: normal; font-size: .68rem; color: var(--ink-soft); }
.meter { display: block; height: 6px; width: min(160px, 100%); margin-top: .35rem; border-radius: 99px; background: color-mix(in srgb, var(--ink) 8%, transparent); }
.meter i { display: block; height: 100%; border-radius: inherit; background: var(--accent); }
.card .meta { margin-bottom: 0; }
.pill.is-active { background: var(--accent); color: var(--accent-ink) !important; }

.sheet {
  margin-top: 1.25rem;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.35rem 1.4rem 1.15rem;
  box-shadow: 0 18px 40px rgba(8, 42, 84, 0.08);
}
.sheet h1, .sheet h2 { font-family: var(--sans); font-weight: 650; letter-spacing: -.03em; }
.sheet h1 { font-size: clamp(1.55rem, 2.8vw, 2.15rem); line-height: 1.2; margin: .3rem 0 .65rem; }
.sheet h1 a:hover, .sheet h2 a:hover { color: #0c3f78; }
[data-theme="dark"] .sheet h1 a:hover, [data-theme="dark"] .sheet h2 a:hover { color: #8eb7ef; }
.sheet-lead { padding-bottom: 1rem; border-bottom: 1px solid var(--line); }
.sheet-lead p { color: var(--ink-soft); max-width: 68ch; }
.sheet-list { margin: .2rem 0 0; }
.sheet-row {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr) auto;
  gap: .9rem;
  align-items: center;
  padding: .85rem 0;
  border-bottom: 1px solid var(--line);
}
.sheet-row h2 { font-size: 1.05rem; line-height: 1.3; margin: .1rem 0; }
.sheet-thumb { width: 88px; height: 64px; border-radius: 10px; overflow: hidden; background: color-mix(in srgb, var(--accent) 12%, var(--bg)); }
.sheet-thumb img { width: 100%; height: 100%; object-fit: cover; }
.sheet-side { color: var(--ink-soft); font-size: .85rem; white-space: nowrap; }
.home-cats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .65rem; margin-top: 1.2rem; }
.home-cats a { display: block; padding: .85rem .9rem; border: 1px solid var(--line); border-radius: 12px; background: color-mix(in srgb, var(--bg) 65%, var(--bg-elev)); }
.home-cats strong { display: block; }
.home-cats span { display: block; margin-top: .15rem; color: var(--ink-soft); font-size: .85rem; }
.home-cats a:hover { border-color: var(--accent); }
.sheet .tip-card { margin-top: 1rem; }
@media (max-width: 800px) {
  .sheet-row, .home-cats { grid-template-columns: 1fr; }
  .sheet-side { white-space: normal; }
}

.roster {
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--bg-elev);
}
.roster table { border-collapse: collapse; min-width: 980px; width: 100%; }
.roster th, .roster td { border: 1px solid var(--line); padding: 0; vertical-align: middle; }
.roster th {
  position: sticky;
  top: 0;
  background: color-mix(in srgb, var(--accent) 12%, var(--bg-elev));
  color: var(--ink);
  font-size: .72rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: .5rem .55rem;
  text-align: left;
}
.roster td input, .roster td select {
  width: 100%;
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: .48rem .55rem;
  box-shadow: none;
}
.roster td input:focus, .roster td select:focus { box-shadow: inset 0 0 0 2px var(--accent); }
.roster tbody tr:nth-child(even) td { background: color-mix(in srgb, var(--accent) 5%, var(--bg-elev)); }
.roster tbody tr:hover td { background: color-mix(in srgb, var(--accent) 10%, var(--bg-elev)); }
.roster .num, .roster .since { padding: .48rem .55rem; color: var(--ink-soft); font-variant-numeric: tabular-nums; white-space: nowrap; }
.roster .actions { padding: .3rem .4rem; white-space: nowrap; display: flex; gap: .35rem; }

.health-top {
  display: grid;
  grid-template-columns: 148px minmax(0, 1fr);
  gap: 1.1rem;
  align-items: center;
  margin-bottom: 1.15rem;
}
.health-ring {
  width: 132px;
  height: 132px;
  border-radius: 50%;
  background: conic-gradient(#1f7a4d calc(var(--p) * 1%), var(--line) 0);
  display: grid;
  place-items: center;
  animation: rise .5s cubic-bezier(.2, .75, .2, 1) both;
}
.health-ring.has-bad { background: conic-gradient(#b42318 calc(var(--p) * 1%), var(--line) 0); }
.health-ring span {
  width: 102px;
  height: 102px;
  border-radius: 50%;
  background: var(--bg-elev);
  display: grid;
  place-items: center;
  font-weight: 650;
  font-size: 1.45rem;
  letter-spacing: -.03em;
}
.health-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.health-list { list-style: none; margin: .2rem 0 0; padding: 0; }
.health-list li {
  display: grid;
  grid-template-columns: 12px minmax(108px, 150px) minmax(0, 1fr);
  gap: .65rem;
  align-items: baseline;
  padding: .62rem 0;
  border-top: 1px solid var(--line);
  animation: rise .4s cubic-bezier(.2, .75, .2, 1) both;
  animation-delay: var(--d, 0ms);
}
.health-list strong { font-weight: 600; }
.health-list em { font-style: normal; color: var(--ink-soft); }
.health-dot { width: 9px; height: 9px; border-radius: 50%; background: #1f7a4d; translate: 0 1px; }
.health-warn .health-dot { background: #b8860b; }
.health-bad .health-dot { background: #b42318; }
@media (max-width: 800px) {
  .health-top, .health-grid { grid-template-columns: 1fr; }
  .health-list li { grid-template-columns: 12px minmax(0, 1fr); }
  .health-list em { grid-column: 2; }
}

@media (prefers-reduced-motion: reduce) {
  .notice, .notice.is-leaving, body.is-admin .admin-main > *, .health-list li, .health-ring, .rise,
  .card:not(.card-copy) .card-media img, .also-card img, .lead.is-film .lead-media img, .ticker-track { animation: none; }
  .notice-bar { transform: none; }
}

.story { margin-top: .2rem; }
.story-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 292px;
  gap: 2rem;
  align-items: start;
}
.story-main .story-head { width: auto; max-width: none; margin: .2rem 0 1.15rem; }
.story-main .story-head h1 {
  font-weight: 750;
  font-size: clamp(2rem, 3.5vw, 2.85rem);
  line-height: 1.08;
  margin: .4rem 0 .65rem;
}
.story-main .lede {
  max-width: 40rem;
  margin: 0;
  font-size: 1.16rem;
  line-height: 1.5;
  font-weight: 450;
  color: color-mix(in srgb, var(--ink) 84%, var(--ink-soft));
}
.story-byline {
  display: flex;
  gap: .8rem;
  align-items: center;
  margin-top: 1.05rem;
  padding: .8rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.story-byline .avatar {
  width: 42px;
  height: 42px;
  flex: none;
  background: #0086ea;
  color: #fff;
  font-weight: 750;
}
.story-byline strong { display: block; font-weight: 750; letter-spacing: -.02em; }
.story-byline p {
  display: flex;
  flex-wrap: wrap;
  gap: .15rem .15rem;
  margin: .12rem 0 0;
  color: var(--ink-soft);
  font-size: .86rem;
  font-weight: 650;
}
.story-byline p > * + *::before { content: "·"; margin: 0 .4rem 0 .15rem; }
.story-main .story-media {
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border-radius: 18px;
  margin: 1.15rem 0 1.25rem;
}
.story-main .prose { max-width: none; }
.story-main .prose > p:first-of-type { font-size: 1.12rem; }
.story-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  align-items: center;
  margin-top: 1.45rem;
}
.story-tags > span {
  margin-right: .25rem;
  font-size: .7rem;
  font-weight: 750;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.story-tags a {
  text-decoration: none;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: .32rem .7rem;
  background: var(--bg-elev);
  font-size: .86rem;
  font-weight: 700;
}
.story-tags a:hover { border-color: var(--accent); color: var(--accent); }
.story-share {
  margin-top: 1.15rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}
.story-share .btn {
  background: var(--bg-elev);
  color: var(--ink);
  border-color: var(--line);
  font-weight: 700;
}
.story-main .comments { max-width: none; margin-top: 1.8rem; }
.story-rail {
  position: sticky;
  top: 84px;
  display: flex;
  flex-direction: column;
  gap: .8rem;
}
.rail-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .7rem .85rem;
  margin: 0;
  padding: .95rem 1rem;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--bg-elev);
}
.rail-facts div { display: flex; flex-direction: column; gap: .12rem; min-width: 0; }
.rail-facts dt {
  font-size: .68rem;
  font-weight: 750;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.rail-facts dd { margin: 0; font-weight: 750; letter-spacing: -.02em; }
.rail-facts a { text-decoration: none; }
.rail-card {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: .9rem 1rem .35rem;
}
.rail-card .side-title { font-size: 1.02rem; font-weight: 750; margin: 0 0 .1rem; }
.story-rail .ranked a {
  display: flex;
  flex-direction: column;
  gap: .12rem;
  text-decoration: none;
}
.story-rail .ranked strong { font-weight: 700; letter-spacing: -.02em; line-height: 1.28; }
.story-rail .ranked em { font-style: normal; color: var(--ink-soft); font-size: .78rem; font-weight: 650; }
.story-rail .tip-line { margin: 0; min-height: 64px; }
.story-more { margin-top: 2.2rem; }
@media (max-width: 900px) {
  .story-grid { grid-template-columns: 1fr; }
  .story-rail { position: static; }
}

.photo-upload { margin: 0 0 1rem; }
.photo-desk {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: .85rem;
}
.photo-card {
  display: flex;
  flex-direction: column;
  gap: .7rem;
  margin: 0;
  padding: .75rem;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: 18px;
}
.photo-card img { width: 100%; height: 168px; object-fit: cover; border-radius: 12px; }
.photo-state { margin: 0; font-size: .78rem; font-weight: 750; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-soft); }
.photo-groups { display: flex; flex-direction: column; gap: .45rem; }
.photo-group, .photo-subs { display: flex; flex-wrap: wrap; gap: .35rem; align-items: center; }
.photo-subs { flex-basis: 100%; padding-left: .15rem; }
.pick { position: relative; display: inline-flex; margin: 0; }
.pick input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}
.pick span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 .75rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--ink);
  font-size: .8rem;
  font-weight: 750;
  letter-spacing: -.01em;
  white-space: nowrap;
  cursor: pointer;
}
.pick.is-sub span { min-height: 28px; padding: 0 .62rem; font-size: .75rem; font-weight: 700; color: var(--ink-soft); }
.pick:has(input:focus-visible) span { box-shadow: 0 0 0 2px color-mix(in srgb, #0086ea 55%, transparent); }
.pick:has(input:checked) span,
.pick.is-sub:has(input:checked) span {
  background: #0086ea;
  border-color: #0086ea;
  color: #fff;
}
[data-theme="dark"] .pick span { background: transparent; border-color: #2a4158; color: #e8f1f8; }
[data-theme="dark"] .pick.is-sub span { color: #9eb6cc; }
.photo-card .row-actions { margin-top: auto; }
.photo-card .row-actions .btn-ghost { margin-right: auto; }

.user-layout, .user-streams {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(260px, .85fr);
  gap: .8rem;
  align-items: start;
  margin-bottom: .8rem;
}
.user-streams { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.user-facts dl { display: grid; gap: .55rem; margin: .2rem 0 0; }
.user-facts div { display: flex; justify-content: space-between; gap: .8rem; padding-top: .45rem; border-top: 1px solid var(--line); }
.user-facts dt { color: var(--ink-soft); font-size: .78rem; font-weight: 750; letter-spacing: .04em; text-transform: uppercase; }
.user-facts dd { margin: 0; font-weight: 750; text-align: right; }
.user-desk td:first-child a { font-weight: 750; }
.mini-list { list-style: none; margin: 0; padding: 0; }
.mini-list li {
  display: flex;
  justify-content: space-between;
  gap: .7rem;
  padding: .45rem 0;
  border-top: 1px solid var(--line);
  font-weight: 650;
}
.mini-list a { text-decoration: none; }
.mini-list span, .mini-list strong { color: var(--ink-soft); font-size: .82rem; font-weight: 650; text-align: right; }
.choice-stack { display: grid; gap: .4rem; margin: .7rem 0; }
.choice-stack .choice { align-items: flex-start; min-height: 0; }
.choice-stack .choice span { display: flex; flex-direction: column; gap: .1rem; }
.choice-stack .choice b { font-weight: 750; }
.choice-stack .choice em { font-style: normal; font-weight: 650; color: var(--ink-soft); font-size: .82rem; }
.choice-stack .choice:has(input:checked) em { color: #fff; }
.user-delete { margin-top: .2rem; }
.logo-preview { width: 72px; height: 72px; object-fit: cover; border-radius: 16px; border: 1px solid var(--line); margin: 0 0 .7rem; }
@media (max-width: 900px) {
  .user-layout { grid-template-columns: 1fr; }
}

.tl-filters { display: flex; flex-wrap: wrap; gap: .4rem; margin: .15rem 0 1.1rem; }
.tl-filters button {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  border: 1px solid var(--line);
  background: var(--bg-elev);
  color: var(--ink);
  border-radius: 999px;
  padding: .38rem .72rem;
  font-weight: 750;
  font-size: .82rem;
  cursor: pointer;
}
.tl-filters button i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--tone, var(--accent));
}
.tl-filters button b { color: var(--ink-soft); font-weight: 750; }
.tl-filters button.is-on {
  background: var(--accent);
  border-color: transparent;
  color: var(--accent-ink);
}
.tl-filters button.is-on i { background: currentColor; }
.tl-filters button.is-on b { color: inherit; }
.tl-day { margin-top: 1.15rem; }
.tl-day h2 {
  display: flex;
  align-items: baseline;
  gap: .55rem;
  margin: 0 0 .2rem;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -.02em;
}
.tl-count {
  display: inline-flex;
  min-width: 1.35rem;
  justify-content: center;
  padding: .05rem .42rem;
  border-radius: 999px;
  background: color-mix(in srgb, var(--accent) 14%, var(--bg-elev));
  color: var(--accent);
  font-size: .75rem;
}
.tl-list { list-style: none; margin: 0; padding: 0; }
.tl-item {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: .15rem .75rem;
  position: relative;
  padding: .72rem 0 .72rem 1.15rem;
  border-left: 2px solid color-mix(in srgb, var(--tone, var(--accent)) 50%, var(--line));
  animation: rise .45s cubic-bezier(.2, .75, .2, 1) both;
  animation-delay: var(--d, 0ms);
}
.tl-item[hidden] { display: none; }
.tl-item::before {
  content: "";
  position: absolute;
  left: -6px;
  top: 1.05rem;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--tone, var(--accent));
  box-shadow: 0 0 0 3px var(--bg);
}
.tl-item.is-now::before { animation: pulse 1.6s ease infinite; }
.tl-item time {
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  letter-spacing: -.03em;
  color: var(--tone, var(--accent));
}
.tl-link { display: block; text-decoration: none; color: inherit; min-width: 0; }
.tl-link strong {
  display: block;
  margin-top: .32rem;
  font-weight: 750;
  letter-spacing: -.02em;
  line-height: 1.28;
}
.tl-link:hover strong { color: var(--accent); }
.tl-tags { display: flex; flex-wrap: wrap; gap: .28rem; }
.tl-chip {
  display: inline-flex;
  align-items: center;
  gap: .28rem;
  max-width: 100%;
  padding: .14rem .5rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--bg-elev);
  color: var(--ink);
  font-size: .74rem;
  font-weight: 750;
  line-height: 1.2;
}
.tl-chip.cat {
  background: color-mix(in srgb, var(--tone) 14%, var(--bg-elev));
  border-color: color-mix(in srgb, var(--tone) 38%, transparent);
  color: var(--tone);
}
[data-theme="dark"] .tl-chip.cat { color: color-mix(in srgb, var(--tone) 58%, white); }
.tl-chip.tag {
  color: var(--tone);
  border-color: color-mix(in srgb, var(--tone) 32%, var(--line));
  background: color-mix(in srgb, var(--tone) 8%, var(--bg-elev));
}
[data-theme="dark"] .tl-chip.tag { color: color-mix(in srgb, var(--tone) 55%, white); }
.tl-chip.live {
  background: var(--tone);
  border-color: transparent;
  color: #fff;
}
.tl-ico { display: inline-flex; width: 14px; height: 14px; }
.tl-ico svg { width: 14px; height: 14px; }
.tl-meta {
  margin: .28rem 0 0;
  color: var(--ink-soft);
  font-size: .78rem;
  font-weight: 700;
}
@media (max-width: 720px) {
  .tl-item { grid-template-columns: 46px minmax(0, 1fr); padding-left: .9rem; }
}

html { scroll-behavior: smooth; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
::selection { background: color-mix(in srgb, #0086ea 42%, transparent); }
button:active, .btn:active, summary:active { scale: .98; }
:disabled, .btn:disabled { opacity: .55; cursor: wait; }
::placeholder { color: color-mix(in srgb, var(--ink-soft) 70%, transparent); }
* { -webkit-tap-highlight-color: transparent; }
[id] { scroll-margin-top: 84px; }
.pager { animation: rise .4s cubic-bezier(.2, .75, .2, 1) both; }
.crumbs a { transition: translate .2s ease, color .2s ease; }
.crumbs a:hover { translate: 3px 0; }
.foot-links a { transition: translate .22s ease, color .22s ease; }
.stat { transition: translate .22s ease, box-shadow .22s ease, border-color .22s ease; }
.stat:hover { translate: 0 -4px; border-color: var(--accent); box-shadow: var(--shadow); }
.table-wrap tbody tr, .table-wrap tr { transition: background-color .2s ease; }
.table-wrap tr:hover { background: color-mix(in srgb, var(--accent) 8%, transparent); }
.field input:focus, .field textarea:focus, .field select:focus, .search input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, #0086ea 28%, transparent);
}
.badge-accent { animation: pulse 2.4s ease infinite; }
.empty { padding: 1.2rem 0 1.4rem; }
.progress { box-shadow: 0 0 12px color-mix(in srgb, var(--accent) 70%, transparent); }
details.rubriek-menu[open] .rubriek-pop, details.account[open] .account-menu { animation: notice-in .22s cubic-bezier(.2, .8, .2, 1); }
.avatar { box-shadow: 0 0 0 2px color-mix(in srgb, var(--accent) 35%, transparent); }
.prose a { text-decoration-thickness: 1px; text-underline-offset: .16em; transition: color .2s ease; }
.prose blockquote { border-left: 3px solid var(--accent); }
.share .btn:active { translate: 0 1px; }
.to-top { box-shadow: var(--shadow); }
.site-header.is-scrolled { box-shadow: 0 10px 30px rgba(0, 0, 0, .18); }
.chip-row a:active, .place-row a:active, .sort-row a:active { scale: .97; }
.topic-row { border-left: 3px solid transparent; transition: border-color .2s ease, translate .22s ease; }
.topic-row:hover { border-left-color: var(--accent); }
mark { background: color-mix(in srgb, #0086ea 28%, transparent); color: inherit; }
.card h3 a { background-image: linear-gradient(currentColor, currentColor); background-size: 0 1px; background-repeat: no-repeat; background-position: 0 100%; transition: background-size .25s ease, color .2s ease; }
.card h3 a:hover { background-size: 100% 1px; }
.field.is-drag { outline: 2px dashed var(--accent); outline-offset: 4px; border-radius: 12px; }
.field:has(input[type="password"]) { position: relative; }
.peek {
  position: absolute;
  right: .45rem;
  bottom: .4rem;
  border: 0;
  background: transparent;
  color: var(--accent);
  font-weight: 800;
  cursor: pointer;
}
.field input[type="password"] { padding-right: 4.2rem; }
img.is-broken { background: color-mix(in srgb, var(--ink) 8%, var(--bg)); min-height: 80px; }
.miss-list { display: flex; flex-direction: column; gap: .45rem; margin-top: 1rem; }
.miss-list a { font-weight: 750; color: var(--ink); text-decoration: none; }
.miss-list a:hover { color: var(--accent); }
.stats { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
hr { border: 0; border-top: 1px solid var(--line); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .badge-accent, .stat, .pager, .crumbs a, .card h3 a { animation: none; transition: none; }
}

.for-you { margin: .9rem 0 0; }
.for-row {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(210px, 28%);
  gap: .55rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding-bottom: .15rem;
}
.for-row::-webkit-scrollbar { display: none; }
.for-card {
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  gap: .28rem;
  min-height: 96px;
  padding: .75rem .85rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--bg-elev);
  color: inherit;
  text-decoration: none;
  animation: rise .45s cubic-bezier(.2, .75, .2, 1) both;
  animation-delay: var(--d, 0ms);
  transition: translate .22s ease, border-color .22s ease, box-shadow .22s ease;
}
.for-card:hover { translate: 0 -4px; border-color: var(--accent); box-shadow: var(--shadow); }
.for-card em { font-style: normal; font-size: .72rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: var(--accent); }
.for-card strong { font-weight: 750; letter-spacing: -.02em; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.for-card time { margin-top: auto; color: var(--ink-soft); font-size: .78rem; font-weight: 700; }
.story-more { animation: rise .5s cubic-bezier(.2, .75, .2, 1) both; }
.story-more + .story-more { animation-delay: .08s; }

@media (max-width: 720px) {
  body { padding-bottom: env(safe-area-inset-bottom); }
  .site-header { padding-top: env(safe-area-inset-top); }
  main#inhoud { overflow-x: clip; }
  .page-head, .page-intro { padding: .85rem 0 .45rem; }
  .page-head { align-items: flex-start; }
  .page-intro h1, .page-head h1 { font-size: 1.55rem; }
  .lead.is-film, .lead.is-film .lead-media { min-height: 250px; }
  .lead.is-film .lead-copy { padding: 2.8rem .85rem .85rem; }
  .lead.is-film h1, .story-main .story-head h1 { font-size: 1.42rem; }
  .story-main .lede { font-size: 1rem; }
  .card:not(.card-copy) { min-height: 200px; }
  .also-card { min-height: 168px; }
  .story-more { margin-top: 1.2rem; }
  .share { gap: .35rem; }
  .share .btn { flex: 1 1 calc(50% - .35rem); justify-content: center; min-height: 40px; }
  .place-row, .sort-row, .chip-row, .tl-filters, .mast-nav {
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
  }
  .place-row::-webkit-scrollbar, .sort-row::-webkit-scrollbar, .chip-row::-webkit-scrollbar, .tl-filters::-webkit-scrollbar, .mast-nav::-webkit-scrollbar { display: none; }
  .place-row a, .sort-row a, .chip-row a, .tl-filters button, .mast-nav > a, .rubriek-menu summary { scroll-snap-align: start; flex: none; }
  .mast { gap: .4rem; }
  .mast-nav > a, .rubriek-menu summary { min-height: 40px; }
  .search input { min-height: 42px; }
  .rubriek-menu { position: static; }
  .rubriek-pop {
    position: fixed;
    left: 10px;
    right: 10px;
    bottom: calc(12px + env(safe-area-inset-bottom));
    top: auto;
    width: auto;
    max-height: 58vh;
    z-index: 80;
  }
  .for-row { grid-auto-columns: 78%; }
  .ticker { height: 44px; }
  .tool-bar { margin: .55rem 0 .65rem; }
  .home-side, .rail-card, .panel { border-radius: 14px; }
  .admin-side a { min-height: 40px; }
  .photo-desk { grid-template-columns: 1fr; }
  .comment { padding: .75rem 0; }
}

@media print {
  .site-header, .site-footer, .ad-slot, .share, .tip-card, .progress, .tools, .notice, .story-rail { display: none !important; }
  body { background: #fff; color: #000; }
  main#inhoud { width: auto; }
}
