/* Lettertypes: Newsreader en Outfit (SIL Open Font License 1.1), zelf gehost. Geen verzoek naar Google, dus ook geen IP-adres naar derden. */
@font-face { font-family: 'Newsreader'; font-style: italic; font-weight: 450 560; font-display: swap; src: url(../assets/fonts/newsreader-italic-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Newsreader'; font-style: italic; font-weight: 450 560; font-display: swap; src: url(../assets/fonts/newsreader-italic-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Newsreader'; font-style: normal; font-weight: 400 560; font-display: swap; src: url(../assets/fonts/newsreader-normal-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Newsreader'; font-style: normal; font-weight: 400 560; font-display: swap; src: url(../assets/fonts/newsreader-normal-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Outfit'; font-style: normal; font-weight: 340 650; font-display: swap; src: url(../assets/fonts/outfit-normal-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Outfit'; font-style: normal; font-weight: 340 650; font-display: swap; src: url(../assets/fonts/outfit-normal-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
:root {
  --bg: #07110c;
  --bg-2: #0c1812;
  --raise: #101c16;
  --card: #132019;
  --line: rgba(198, 242, 90, 0.16);
  --line-strong: rgba(244, 247, 241, 0.14);
  --text: #f4f7f1;
  --muted: #a9bbae;
  --faint: #6f8578;
  --lime: #c6f25a;
  --lime-2: #e4ff9a;
  --ink: #10210a;
  --gold: #e4d2a8;
  --warn: #f0c36a;
  --danger: #ff8f7a;
  --good: #9dffc0;
  --serif: "Newsreader", "Iowan Old Style", Palatino, "Palatino Linotype", Georgia, serif;
  --sans: "Outfit", "Avenir Next", "Segoe UI", sans-serif;
  --nav: 68px;
  --tab: 62px;
  --shadow: 0 30px 70px rgba(0, 0, 0, 0.45);
  --radius: 18px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; background: var(--bg); color: var(--text); }
body {
  font-family: var(--sans);
  font-weight: 430;
  min-height: 100dvh;
  letter-spacing: 0.01em;
}
body.no-scroll { overflow: hidden; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; }

::selection { background: var(--lime); color: var(--ink); }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; }
::-webkit-scrollbar { height: 10px; width: 10px; }
::-webkit-scrollbar-thumb { background: #234232; border-radius: 99px; }
::-webkit-scrollbar-track { background: transparent; }

.skip {
  position: absolute; left: 12px; top: -40px; background: var(--lime); color: var(--ink);
  padding: 8px 12px; z-index: 100; border-radius: 8px;
}
.skip:focus { top: 12px; }

/* ---------- chrome ---------- */
.top {
  position: sticky; top: 0; z-index: 40;
  display: flex; align-items: center; gap: 18px;
  height: calc(var(--nav) + env(safe-area-inset-top));
  padding: env(safe-area-inset-top) 22px 0;
  background: linear-gradient(180deg, rgba(7,17,12,.92), rgba(7,17,12,.72) 70%, rgba(7,17,12,0));
  backdrop-filter: blur(16px);
}
.brand {
  display: flex; align-items: center; gap: 10px; background: none; border: 0; padding: 0; color: var(--text);
}
.brand svg { width: 28px; height: 28px; display: block; }
.brand em {
  font-family: var(--serif); font-style: italic; font-weight: 560;
  font-size: 1.55rem; letter-spacing: -0.04em; line-height: 1;
}
.nav-links { display: flex; gap: 4px; align-items: center; }
.nav-links button, .text-btn, .icon-btn {
  background: transparent; border: 0; color: var(--muted); padding: 8px 10px; border-radius: 999px;
}
.nav-links button[aria-current="page"], .nav-links button:hover { color: var(--text); background: rgba(255,255,255,.05); }
.top-spacer { flex: 1; }
.top-actions { display: flex; align-items: center; gap: 8px; }
.icon-btn {
  width: 40px; height: 40px; display: grid; place-items: center; padding: 0; color: var(--text);
}
.icon-btn svg { width: 20px; height: 20px; }
.avatar {
  width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center;
  font-weight: 650; color: var(--ink); border: 0; background: var(--lime);
}
.search-pop {
  position: absolute; top: calc(100% - 6px); right: 22px; width: min(520px, calc(100vw - 32px));
  background: rgba(12, 24, 18, .96); border: 1px solid var(--line); border-radius: 16px;
  box-shadow: var(--shadow); padding: 12px; backdrop-filter: blur(18px);
}
.search-pop input, .field input, .field select, .field textarea {
  width: 100%; background: #0b1611; border: 1px solid var(--line-strong); border-radius: 12px;
  padding: 12px 14px; outline: none;
}
.search-pop input:focus, .field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--lime);
}
.search-hit {
  display: flex; gap: 12px; width: 100%; text-align: left; background: none; border: 0;
  padding: 8px; border-radius: 12px; align-items: center;
}
.search-hit:hover { background: rgba(255,255,255,.05); }
.search-hit img { width: 42px; height: 58px; object-fit: cover; border-radius: 6px; }
.search-hit small { color: var(--faint); display: block; }

.tabbar {
  display: none;
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 45;
  background: rgba(7,17,12,.92); backdrop-filter: blur(16px);
  border-top: 1px solid rgba(255,255,255,.06);
  padding: 6px 8px calc(6px + env(safe-area-inset-bottom));
  justify-content: space-around;
}
.tabbar button {
  background: none; border: 0; color: var(--faint); display: grid; gap: 2px; justify-items: center;
  font-size: .68rem; letter-spacing: .04em; min-width: 64px;
}
.tabbar button svg { width: 22px; height: 22px; }
.tabbar button[aria-current="page"] { color: var(--lime); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border-radius: 999px; border: 1px solid transparent; padding: 0 18px; height: 46px;
  font-weight: 530; letter-spacing: .01em; text-decoration: none; background: transparent; color: var(--text);
}
.btn svg { width: 18px; height: 18px; }
.btn-lime { background: var(--lime); color: var(--ink); }
.btn-lime:hover { background: var(--lime-2); }
.btn-ghost { border-color: rgba(255,255,255,.18); background: rgba(7,17,12,.35); backdrop-filter: blur(8px); }
.btn-ghost:hover { border-color: rgba(255,255,255,.4); }
.btn-line { border-color: var(--line); color: var(--lime); }
.btn-danger { border-color: rgba(255,143,122,.4); color: var(--danger); }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .45; cursor: not-allowed; }
.btn-sm { height: 36px; padding: 0 12px; font-size: .92rem; }

/* ---------- hero / home ---------- */
.hero {
  position: relative; min-height: min(86dvh, 820px); display: grid; align-items: end;
  isolation: isolate; overflow: hidden;
}
.hero-media, .billboard-media { position: absolute; inset: 0; z-index: -2; }
.hero-video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1;
}
@media (prefers-reduced-motion: reduce) { .hero-video { display: none; } }
.hero-media img, .billboard-media img {
  width: 100%; height: 100%; object-fit: cover; transform-origin: center;
  animation: drift 32s ease-in-out infinite alternate;
}
@keyframes drift {
  from { transform: scale(1.06) translate3d(0,0,0); }
  to { transform: scale(1.14) translate3d(-2%, -1.5%, 0); }
}
.hero-media::after, .billboard-media::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .22; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='2'/></filter><rect width='100%' height='100%' filter='url(%23n)' opacity='.55'/></svg>");
}
.hero-shade, .billboard-shade {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(7,17,12,.94) 0%, rgba(7,17,12,.62) 42%, rgba(7,17,12,.12) 68%, rgba(7,17,12,.35) 100%),
    linear-gradient(180deg, rgba(7,17,12,.15) 0%, rgba(7,17,12,0) 28%, rgba(7,17,12,.55) 72%, var(--bg) 100%);
}
.hero-copy, .billboard-copy { padding: 8vh 6vw 7vh; max-width: 820px; }
.kicker {
  display: flex; flex-wrap: wrap; gap: 8px; align-items: center;
  color: var(--lime); letter-spacing: .14em; text-transform: uppercase; font-size: .74rem; font-weight: 650;
}
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--lime); display: inline-block; }
h1, h2, h3, h4 { font-weight: 560; letter-spacing: -0.03em; }
.hero h1, .billboard h1 {
  font-family: var(--serif); font-style: italic; font-weight: 450;
  font-size: clamp(2.6rem, 7vw, 5.6rem); line-height: .92; margin: 10px 0 14px;
  text-wrap: balance; overflow-wrap: break-word;
}
.lede { color: var(--muted); font-size: 1.05rem; max-width: 58ch; line-height: 1.5; margin: 0 0 18px; }
.meta { display: flex; flex-wrap: wrap; gap: 8px 12px; color: var(--muted); font-size: .92rem; margin-bottom: 16px; align-items: center; }
.badge {
  display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--line-strong);
  border-radius: 7px; padding: 2px 7px; font-size: .75rem; letter-spacing: .04em; color: var(--text);
}
.badge-lime { background: var(--lime); color: var(--ink); border-color: transparent; font-weight: 650; }
.badge-gold { color: var(--gold); border-color: rgba(228,210,168,.4); }
.hero-actions, .row-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.hero-dots { display: flex; gap: 6px; margin-top: 22px; }
.hero-dots button {
  width: 22px; height: 3px; border: 0; border-radius: 99px; background: rgba(255,255,255,.28); padding: 0;
}
.hero-dots button[aria-current="true"] { background: var(--lime); width: 36px; }

.band {
  margin: -20px 6vw 10px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px;
}
.band article {
  border: 1px solid var(--line); border-radius: 16px; padding: 16px 16px 14px;
  background: rgba(16, 28, 22, .72);
}
.band strong { display: block; margin-bottom: 4px; }
.band p { margin: 0; color: var(--muted); font-size: .92rem; line-height: 1.45; }

.section { padding: 8px 0 18px; }
.section-head, .page-head {
  display: flex; align-items: end; justify-content: space-between; gap: 12px;
  padding: 0 6vw 10px;
}
.section-head h2, .page-head h2 {
  font-family: var(--serif); font-style: italic; font-size: clamp(1.5rem, 2vw, 2rem); margin: 0;
}
.section-head button { background: none; border: 0; color: var(--muted); }

.scroller-wrap { position: relative; }
.scroller {
  display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 6px 6vw 16px; scrollbar-width: none;
}
.scroller::-webkit-scrollbar { display: none; }
.scroll-btn {
  position: absolute; top: 38%; z-index: 2; width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid var(--line-strong); background: rgba(7,17,12,.8); color: white;
  display: grid; place-items: center;
}
.scroll-btn.left { left: 14px; }
.scroll-btn.right { right: 14px; }
.scroll-btn svg { width: 18px; height: 18px; }

.card {
  flex: 0 0 168px; scroll-snap-align: start; background: none; border: 0; padding: 0; text-align: left; color: inherit;
  appearance: none; -webkit-appearance: none;
}
.card-face {
  position: relative; aspect-ratio: 2 / 3; border-radius: 14px; overflow: hidden;
  background: #0d1913; border: 1px solid rgba(255,255,255,.06);
  transition: transform .35s ease, border-color .35s ease, box-shadow .35s ease;
}
.card-face img { width: 100%; height: 100%; object-fit: cover; }
.card-shade {
  position: absolute; inset: auto 0 0 0; height: 58%;
  background: linear-gradient(180deg, transparent, rgba(5,10,8,.92));
  display: flex; flex-direction: column; justify-content: end; padding: 10px 10px 12px; gap: 4px;
}
.card-shade strong {
  font-family: var(--serif); font-style: italic; font-weight: 520; font-size: 1.05rem; line-height: 1.05;
}
.card-shade em { font-style: normal; color: var(--lime); font-size: .78rem; letter-spacing: .04em; }
.card:hover .card-face, .card:focus-visible .card-face {
  transform: translateY(-6px) scale(1.03); border-color: rgba(198,242,90,.55);
  box-shadow: 0 18px 40px rgba(0,0,0,.4);
}
.progress {
  position: absolute; left: 8px; right: 8px; bottom: 6px; height: 3px; border-radius: 99px;
  background: rgba(255,255,255,.2); overflow: hidden;
}
.progress span { display: block; height: 100%; background: var(--lime); }
.card-play {
  position: absolute; top: 10px; right: 10px; width: 32px; height: 32px; border-radius: 50%;
  border: 0; background: var(--lime); color: var(--ink); display: grid; place-items: center;
}
.own-flag {
  position: absolute; top: 10px; left: 10px;
}

.grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 16px 12px; padding: 0 6vw 40px;
}
.grid .card { flex: none; width: auto; }
.grid-more { display: flex; justify-content: center; padding: 0 6vw 48px; }
/* Rijen buiten beeld worden pas opgemaakt als ze in de buurt komen. */
.section { content-visibility: auto; contain-intrinsic-size: auto 340px; }

.filters { display: flex; gap: 8px; flex-wrap: wrap; padding: 0 6vw 16px; }
.chip, .filters select {
  background: #0e1b15; border: 1px solid var(--line-strong); color: var(--muted);
  border-radius: 999px; padding: 8px 12px; 
}
.chip[aria-pressed="true"], .chip.active { background: var(--lime); color: var(--ink); border-color: transparent; }

/* ---------- title ---------- */
.billboard { position: relative; min-height: 70dvh; display: grid; align-items: end; isolation: isolate; overflow: hidden; }
.billboard-copy { max-width: 760px; }
.layout {
  display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 34px;
  padding: 10px 6vw 70px; align-items: start;
}
.ticket {
  position: sticky; top: 84px;
  background:
    radial-gradient(12px 12px at 0 78px, transparent 11px, #12211a 12px),
    radial-gradient(12px 12px at 100% 78px, transparent 11px, #12211a 12px),
    linear-gradient(#163024, #163024) 0 78px / 100% 1px no-repeat,
    linear-gradient(180deg, #183328, #101c16);
  border: 1px solid rgba(198,242,90,.28);
  border-radius: 22px; padding: 18px 18px 16px; box-shadow: var(--shadow);
}
.ticket h3 { font-family: var(--serif); font-style: italic; margin: 4px 0 12px; font-size: 1.7rem; }
.plan {
  width: 100%; display: flex; justify-content: space-between; gap: 12px; align-items: center;
  background: rgba(0,0,0,.18); border: 1px solid transparent; color: inherit; border-radius: 14px;
  padding: 12px; margin-bottom: 8px; text-align: left;
}
.plan[aria-pressed="true"] { border-color: var(--lime); background: rgba(198,242,90,.08); }
.plan b { font-variant-numeric: tabular-nums; color: var(--lime); font-weight: 650; }
.plan small { display: block; color: var(--faint); margin-top: 2px; }
.fine { color: var(--faint); font-size: .82rem; line-height: 1.45; margin: 10px 0; }
.pay-row { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0 12px; }
.pay-row span {
  font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted);
  border: 1px solid var(--line); border-radius: 999px; padding: 4px 8px;
}
.cast-row, .ep-list { display: grid; gap: 8px; }
.ep {
  display: grid; grid-template-columns: 52px 1fr auto; gap: 12px; align-items: center;
  width: 100%; text-align: left; background: #101c16; border: 1px solid rgba(255,255,255,.05);
  border-radius: 14px; padding: 10px; color: inherit;
}
.ep:hover { border-color: var(--line); }
.ep .n { font-family: var(--serif); font-style: italic; font-size: 1.4rem; color: var(--lime); }
.ep p { margin: 4px 0 0; color: var(--muted); font-size: .88rem; }
.people { display: flex; flex-wrap: wrap; gap: 8px; }
.people button {
  background: #101c16; border: 1px solid var(--line-strong); border-radius: 999px; padding: 7px 12px;
}

/* ---------- checkout / bank ---------- */
.pay-layout, .split {
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 28px; padding: 18px 6vw 80px;
}
.panel {
  background: #101c16; border: 1px solid rgba(255,255,255,.06); border-radius: 22px; padding: 20px;
}
.panel h2 { font-family: var(--serif); font-style: italic; margin-top: 0; }
.methods { display: grid; gap: 8px; }
.method {
  display: flex; gap: 12px; align-items: center; width: 100%; text-align: left;
  background: #0c1712; border: 1px solid rgba(255,255,255,.06); border-radius: 14px; padding: 12px; color: inherit;
}
.method[aria-pressed="true"] { border-color: var(--lime); }
.method i {
  width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center;
  background: #183328; font-style: normal; font-size: .72rem; font-weight: 650; letter-spacing: .04em;
}
.banks { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px; }
.banks button {
  display: flex; gap: 8px; align-items: center; background: #0c1712; border: 1px solid rgba(255,255,255,.06);
  border-radius: 12px; padding: 10px; color: inherit; text-align: left;
}
.banks button[aria-pressed="true"] { border-color: var(--lime); }
.swatch { width: 10px; height: 10px; border-radius: 50%; flex: none; }
.field { display: grid; gap: 6px; margin-bottom: 12px; }
.field span { color: var(--muted); font-size: .85rem; }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.total { display: flex; justify-content: space-between; font-size: 1.25rem; margin: 8px 0; }
.total b { font-variant-numeric: tabular-nums; }
.check { display: flex; gap: 10px; align-items: flex-start; color: var(--muted); font-size: .9rem; margin: 12px 0; }
.bank-screen {
  min-height: 100dvh; display: grid; place-items: center; padding: 24px;
  background:
    radial-gradient(600px 300px at 50% 0%, rgba(198,242,90,.12), transparent 60%),
    var(--bg);
}
.bank-card { width: min(460px, 100%); }
.sandbox-pill {
  display: inline-flex; gap: 6px; align-items: center; color: var(--gold);
  letter-spacing: .12em; text-transform: uppercase; font-size: .72rem;
}

/* ---------- library / account ---------- */
.lib-list { display: grid; gap: 10px; padding: 0 6vw 40px; }
.lib-item {
  display: grid; grid-template-columns: 72px 1fr auto; gap: 14px; align-items: center;
  background: #101c16; border-radius: 16px; padding: 10px; border: 1px solid rgba(255,255,255,.05);
  text-align: left; color: inherit; width: 100%;
}
.lib-item img { width: 72px; height: 96px; object-fit: cover; border-radius: 8px; }
.tabs { display: flex; gap: 6px; flex-wrap: wrap; padding: 0 6vw 16px; }
.account-grid { display: grid; grid-template-columns: 240px 1fr; gap: 22px; padding: 10px 6vw 70px; }
.side-nav { display: grid; gap: 4px; align-content: start; }
.side-nav button { text-align: left; background: none; border: 0; color: var(--muted); padding: 10px 12px; border-radius: 12px; }
.side-nav button[aria-current="page"], .side-nav button:hover { background: #132019; color: var(--text); }
.plan-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.plan-card {
  border: 1px solid rgba(255,255,255,.08); border-radius: 18px; padding: 16px; background: #101c16; text-align: left; color: inherit;
}
.plan-card[aria-pressed="true"], .plan-card.featured { border-color: var(--lime); }
.plan-card .price { font-family: var(--serif); font-style: italic; font-size: 2.2rem; margin: 8px 0; }
.plan-card .price small { font-family: var(--sans); font-style: normal; font-size: .9rem; color: var(--muted); }
.calc { margin-top: 18px; }
.calc input[type="range"] { width: 100%; accent-color: var(--lime); }

.invoice {
  width: min(760px, calc(100% - 12vw)); margin: 24px auto 60px; background: #f6f3ea; color: #1b1a16;
  border-radius: 8px; padding: 36px; 
}
.invoice h2 { font-family: var(--serif); font-style: italic; margin: 0; }
.invoice table { width: 100%; border-collapse: collapse; margin-top: 18px; }
.invoice td { padding: 8px 0; border-bottom: 1px solid rgba(0,0,0,.08); }
.muted-ink { color: #5e5a50; }

/* ---------- player ---------- */
.stage {
  position: fixed; inset: 0; z-index: 70; background: black; color: white;
  display: grid; 
}
.stage video, .stage .stage-fallback {
  width: 100%; height: 100%; object-fit: contain; background: black;
}
.stage-top, .controls {
  position: absolute; left: 0; right: 0; display: flex; gap: 12px; align-items: center;
  padding: 18px 20px; z-index: 2;
  background: linear-gradient(180deg, rgba(0,0,0,.72), transparent);
  transition: opacity .4s ease;
}
.controls {
  bottom: 0; top: auto; flex-direction: column; align-items: stretch;
  background: linear-gradient(0deg, rgba(0,0,0,.8), transparent);
  padding-bottom: calc(16px + env(safe-area-inset-bottom));
}
.stage.idle .stage-top, .stage.idle .controls, .stage.idle .skip-intro { opacity: 0; pointer-events: none; }
.stage-top .grow { flex: 1; }
.stage-top strong { display: block; }
.stage-top span, .time { color: rgba(255,255,255,.72); font-variant-numeric: tabular-nums; font-size: .9rem; }
.seek {
  -webkit-appearance: none; appearance: none; width: 100%; height: 4px; border-radius: 99px;
  background: linear-gradient(90deg, var(--lime) var(--p, 0%), rgba(255,255,255,.28) var(--p, 0%));
  outline: none;
}
.seek::-webkit-slider-thumb {
  -webkit-appearance: none; width: 14px; height: 14px; border-radius: 50%; background: var(--lime); border: 0;
}
.controls-row { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.controls-row .spacer { flex: 1; }
.stage .icon-btn { color: white; }
.center-play {
  position: absolute; inset: 0; display: grid; place-items: center; background: none; border: 0; color: white;
}
.center-play span {
  width: 74px; height: 74px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(198,242,90,.92); color: var(--ink);
}
.skip-intro, .next-card {
  position: absolute; right: 22px; bottom: 108px; z-index: 3;
}
.next-card {
  width: min(360px, calc(100% - 32px)); background: rgba(10,18,14,.92); border: 1px solid var(--line);
  border-radius: 16px; padding: 12px; display: flex; gap: 12px; align-items: center;
}
.loading-note, .stage-error {
  position: absolute; left: 50%; top: 46%; transform: translate(-50%, -50%);
  text-align: center; max-width: 420px; color: var(--muted);
}
.spinner {
  width: 36px; height: 36px; border-radius: 50%; border: 2px solid rgba(255,255,255,.2);
  border-top-color: var(--lime); margin: 0 auto 10px; animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.pop {
  position: absolute; bottom: 64px; right: 12px; background: #101c16; border: 1px solid var(--line);
  border-radius: 12px; padding: 6px; display: grid; min-width: 160px; z-index: 4;
}
.pop button { background: none; border: 0; text-align: left; padding: 8px 10px; border-radius: 8px; color: white; }
.pop button[aria-pressed="true"], .pop button:hover { background: rgba(198,242,90,.12); }

/* ---------- reader ---------- */
.reader-top, .audio-top {
  position: sticky; top: 0; z-index: 5; display: flex; gap: 10px; align-items: center;
  padding: calc(10px + env(safe-area-inset-top)) 18px 10px; background: rgba(7,17,12,.9); backdrop-filter: blur(12px);
}
.reader { min-height: 100dvh; }
.reader[data-theme="sepia"] { background: #1c150e; color: #f3e6d0; }
.reader[data-theme="paper"] { background: #f4efe4; color: #1c1914; }
.reader[data-theme="paper"] .reader-top { background: rgba(244,239,228,.92); color: #1c1914; }
.reader[data-theme="contrast"] { background: #000; color: #fff; }
.reader-col {
  max-width: 68ch; margin: 0 auto; padding: 28px 22px 80px;
  font-family: var(--serif); font-size: var(--read, 1.22rem); line-height: 1.68; font-weight: 430;
}
.reader-col h2 { font-style: italic; font-weight: 520; font-size: 2rem; }
.reader-col p { margin: 0 0 1.05em; }
.reader-col .drop::first-letter {
  font-size: 3.5em; float: left; line-height: .78; padding: 8px 8px 0 0; color: var(--lime); font-style: italic;
}
.reader[data-theme="paper"] .drop::first-letter { color: #1f6a3a; }
.ch-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 28px; }

/* ---------- audio ---------- */
.audio-hero {
  display: grid; grid-template-columns: 280px 1fr; gap: 28px; padding: 20px 6vw 20px; align-items: center;
}
.cover {
  aspect-ratio: 1; border-radius: 18px; overflow: hidden; position: relative; box-shadow: var(--shadow);
}
.cover img { width: 100%; height: 100%; object-fit: cover; }
.cover.playing::after {
  content: ""; position: absolute; inset: -8%; border-radius: 24px;
  background: radial-gradient(circle, rgba(198,242,90,.35), transparent 60%);
  animation: pulse 2.4s ease-in-out infinite; z-index: -1;
}
@keyframes pulse { 50% { opacity: .35; } }
.wave { display: flex; gap: 3px; align-items: end; height: 28px; }
.wave i {
  display: block; width: 3px; height: 8px; background: var(--lime); border-radius: 99px;
}
.playing .wave i { animation: bar 1s ease-in-out infinite; }
.wave i:nth-child(2) { animation-delay: .1s } .wave i:nth-child(3) { animation-delay: .2s }
.wave i:nth-child(4) { animation-delay: .3s } .wave i:nth-child(5) { animation-delay: .15s }
@keyframes bar { 50% { height: 26px; } }
.chapter-list { padding: 0 6vw 100px; display: grid; gap: 6px; }
.mini {
  position: fixed; z-index: 50; right: 16px; bottom: 16px; width: min(420px, calc(100% - 24px));
  display: flex; gap: 10px; align-items: center; padding: 8px;
  background: rgba(14, 26, 20, .95); border: 1px solid var(--line); border-radius: 16px;
  box-shadow: var(--shadow); backdrop-filter: blur(10px);
}
.mini img { width: 46px; height: 46px; object-fit: cover; border-radius: 8px; }
.mini .grow { flex: 1; min-width: 0; }
.mini strong, .mini span { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mini span { color: var(--muted); font-size: .82rem; }

/* ---------- gate ---------- */
.gate {
  min-height: 100dvh; display: grid; grid-template-columns: 1.2fr .8fr;
}
.gate-visual { position: relative; min-height: 42dvh; }
.gate-visual img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.gate-visual .veil {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(7,17,12,.2), var(--bg));
}
.gate-panel { display: grid; align-content: center; padding: 48px 8vw 48px 4vw; }
.gate-panel h1 {
  font-family: var(--serif); font-style: italic; font-weight: 450;
  font-size: clamp(3rem, 6vw, 5.2rem); line-height: .92; margin: 12px 0;
}
.points { display: grid; gap: 10px; margin: 18px 0 22px; }
.points div { display: grid; grid-template-columns: 18px 1fr; gap: 10px; color: var(--muted); }
.mark-lg { width: 72px; height: 72px; border-radius: 18px; }

/* ---------- tv ---------- */
body.mode-tv { font-size: 1.12rem; }
body.mode-tv .card { flex-basis: 240px; }
body.mode-tv .hero { min-height: 78dvh; }
body.mode-tv :focus-visible { outline-width: 4px; outline-offset: 4px; }
.tv-hint {
  position: fixed; bottom: 14px; left: 50%; transform: translateX(-50%);
  background: rgba(0,0,0,.55); border: 1px solid var(--line); border-radius: 999px;
  padding: 8px 14px; color: var(--muted); font-size: .85rem; z-index: 30;
}

/* ---------- misc ---------- */
.page { padding-top: 8px; }
.page-head { padding-top: 12px; }
.page-head p { color: var(--muted); margin: 6px 0 0; max-width: 68ch; }
.footer {
  padding: 28px 6vw 40px; color: var(--faint); font-size: .82rem; display: flex; flex-wrap: wrap;
  gap: 8px 18px; border-top: 1px solid rgba(255,255,255,.05); margin-top: 20px;
}
.toast {
  position: fixed; z-index: 90; left: 50%; bottom: 24px; transform: translateX(-50%) translateY(20px);
  background: #173226; color: var(--text); border: 1px solid var(--line); border-radius: 999px;
  padding: 12px 16px; opacity: 0; pointer-events: none; transition: .3s ease; max-width: min(560px, calc(100% - 24px));
  text-align: center;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.empty {
  margin: 10px 6vw 30px; border: 1px dashed var(--line); border-radius: 18px; padding: 22px;
  display: grid; grid-template-columns: 120px 1fr; gap: 16px; align-items: center;
}
.empty img { height: 90px; width: 120px; object-fit: cover; border-radius: 10px; }
.sheet {
  position: fixed; inset: 0; z-index: 60; background: rgba(0,0,0,.55); display: grid; align-items: end;
}
.sheet-card {
  background: #101c16; border-radius: 22px 22px 0 0; padding: 18px 18px calc(18px + env(safe-area-inset-bottom));
  max-height: 86dvh; overflow: auto;
}
hr.fade { border: 0; border-top: 1px solid rgba(255,255,255,.06); margin: 18px 0; }
.help-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 0 6vw 50px; }
.help-grid article { background: #101c16; border-radius: 16px; padding: 16px; border: 1px solid rgba(255,255,255,.05); }
.help-grid h3 { margin: 0 0 6px; font-family: var(--serif); font-style: italic; }
.help-grid p, .prose p { color: var(--muted); line-height: 1.5; }
.device-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.device-cards article { background: #101c16; border-radius: 16px; padding: 16px; border: 1px solid rgba(255,255,255,.05); }
code, .code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .86em;
  background: rgba(198,242,90,.08); padding: 1px 6px; border-radius: 6px; color: var(--lime-2);
}

@media (max-width: 720px) {
  .top-actions .btn-line { display: none; }
}
@media (max-width: 980px) {
  .nav-links { display: none; }
  .tabbar { display: flex; }
  .band, .layout, .pay-layout, .split, .account-grid, .audio-hero, .gate, .help-grid, .plan-cards, .device-cards {
    grid-template-columns: 1fr;
  }
  .ticket { position: static; }
  .gate-visual { min-height: 34dvh; }
  .gate-visual .veil { background: linear-gradient(180deg, rgba(7,17,12,.1), var(--bg)); }
  .gate-panel { padding: 8px 22px 100px; }
  .scroll-btn { display: none; }
  .hero-copy, .billboard-copy, .section-head, .page-head { padding-left: 18px; padding-right: 18px; }
  .scroller, .grid, .filters, .lib-list, .tabs, .footer, .chapter-list { padding-left: 18px; padding-right: 18px; }
  .band, .empty, .help-grid { margin-left: 18px; margin-right: 18px; }
  .pay-layout, .split, .account-grid { padding-left: 18px; padding-right: 18px; }
  .mini { bottom: calc(var(--tab) + env(safe-area-inset-bottom) + 8px); }
  body { padding-bottom: calc(var(--tab) + env(safe-area-inset-bottom)); }
  body.playing .tabbar, body.reading .tabbar, body.mode-tv .tabbar { display: none; }
  body.playing, body.reading, body.mode-tv { padding-bottom: 0; }
  .card { flex-basis: 138px; }
  .banks { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .band { grid-template-columns: 1fr; }
  .lib-item { grid-template-columns: 64px 1fr; }
  .lib-item .tail { grid-column: 2; }
  .hero { min-height: 78dvh; }
  .empty { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
.free-flag {
  position: absolute; top: 10px; left: 10px;
  background: var(--lime); color: var(--ink);
  font-size: .68rem; font-weight: 720; letter-spacing: .08em; text-transform: uppercase;
  padding: 4px 8px; border-radius: 999px;
}
.card-shade em.is-free { color: var(--lime-2); }
.price-note {
  border-left: 3px solid var(--lime);
  padding: 8px 12px; margin: 8px 0 12px;
  color: var(--muted); background: rgba(198, 242, 90, .07);
  border-radius: 0 12px 12px 0;
}
.compare {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px;
  margin: 0 6vw 18px;
}
.compare article {
  border: 1px solid var(--line); border-radius: 18px; padding: 16px 16px 14px;
  background: #101c16;
}
.compare article.low {
  border-color: rgba(198, 242, 90, .55);
  background: linear-gradient(180deg, rgba(198, 242, 90, .14), #101c16 46%);
}
.compare span { color: var(--faint); font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; }
.compare strong {
  display: block; margin: 8px 0 6px;
  font-family: var(--serif); font-style: italic; font-weight: 520;
  font-size: 2rem; color: var(--lime); letter-spacing: -0.03em;
}
.compare p { margin: 0; color: var(--muted); font-size: .88rem; }
.tariff { display: grid; gap: 14px; margin: 0 6vw 48px; }
.price-table { width: 100%; border-collapse: collapse; margin-top: 8px; }
.price-table th, .price-table td {
  text-align: left; padding: 10px 8px;
  border-bottom: 1px solid rgba(255, 255, 255, .06);
  font-variant-numeric: tabular-nums;
}
.price-table th { color: var(--lime); font-size: .78rem; letter-spacing: .04em; font-weight: 560; }
.ticket .plan b { min-width: 4.6rem; text-align: right; }

@media (max-width: 900px) {
  .compare { grid-template-columns: 1fr 1fr; margin-left: 18px; margin-right: 18px; }
  .tariff { margin-left: 18px; margin-right: 18px; }
}

@media print {
  .top, .tabbar, .footer, .toast, .btn { display: none !important; }
  .invoice { width: 100%; margin: 0; }
  body { background: white; }
}

/* ---------- Beheer en veiligheid ---------- */
.bh-title { font-family: var(--serif); font-style: italic; font-size: clamp(1.9rem, 3vw, 2.4rem); margin: 6px 0 6px; }
.bh-alert { border: 1px solid rgba(240, 195, 106, .45); background: rgba(240, 195, 106, .08); color: var(--warn); border-radius: 14px; padding: 10px 14px; margin: 10px 0 16px; }
.bh-alert p { margin: 4px 0; }
.bh-alert .text-btn { color: var(--lime); }
.bh-kpis { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px; margin-bottom: 14px; }
.bh-kpis article { background: linear-gradient(160deg, var(--card), var(--raise)); border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px; }
.bh-kpis small { color: var(--muted); font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; }
.bh-kpis strong { display: block; font-size: 1.7rem; font-weight: 650; margin: 4px 0 2px; font-variant-numeric: tabular-nums; }
.bh-kpis p { margin: 0; color: var(--faint); font-size: .85rem; }
.bh-kpis .bh-up { color: var(--good); }
.bh-kpis .bh-down { color: var(--danger); }
.bh-block { margin-bottom: 14px; }
.bh-block h3 { margin: 0 0 10px; }
.bh-block h4 { margin: 18px 0 6px; color: var(--muted); font-weight: 600; font-size: .9rem; text-transform: uppercase; letter-spacing: .06em; }
.bh-chart { width: 100%; height: auto; display: block; }
.bh-chart rect { transition: opacity .15s; }
.bh-chart rect:hover { opacity: .75; }
.bh-two { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 14px; }
.bh-split { display: grid; grid-template-columns: 110px 1fr auto; gap: 10px; align-items: center; margin: 8px 0; font-size: .92rem; }
.bh-track { height: 8px; background: #16261d; border-radius: 99px; overflow: hidden; }
.bh-track i { display: block; height: 100%; background: linear-gradient(90deg, var(--lime), var(--lime-2)); border-radius: 99px; }
.bh-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line); border-radius: 14px; }
.bh-table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.bh-table th { text-align: left; color: var(--muted); font-weight: 600; font-size: .78rem; text-transform: uppercase; letter-spacing: .05em; padding: 10px 12px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.bh-table td { padding: 10px 12px; border-bottom: 1px solid rgba(244, 247, 241, .06); vertical-align: top; }
.bh-table tr:last-child td { border-bottom: 0; }
.bh-table small { color: var(--faint); }
.bh-click tbody tr { cursor: pointer; }
.bh-click tbody tr:hover, .bh-click tbody tr:focus { background: rgba(198, 242, 90, .06); outline: none; }
.bh-bar { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 0 0 14px; }
.bh-bar input, .bh-bar select, .bh-inline input { background: var(--bg-2); border: 1px solid var(--line-strong); border-radius: 10px; padding: 9px 12px; min-width: 0; }
.bh-bar input[type="search"], #bh-reason { flex: 1 1 240px; }
.bh-bar input[type="number"], .bh-inline input { width: 80px; }
.bh-inline { display: inline-flex; gap: 8px; align-items: center; color: var(--muted); font-size: .9rem; }
.bh-pager { display: flex; gap: 12px; align-items: center; justify-content: center; margin: 14px 0; color: var(--muted); }
.bh-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 9px 0; border-bottom: 1px solid rgba(244, 247, 241, .06); }
.bh-row small { display: block; color: var(--faint); font-size: .82rem; }
.bh-detail { border-color: rgba(198, 242, 90, .4); }
.bh-detail-head { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }
.bh-detail-head h3 { margin: 2px 0; font-size: 1.4rem; }
.badge.bh-bad { color: var(--danger); border-color: rgba(255, 143, 122, .45); }
.dev-list { display: grid; gap: 8px; margin: 10px 0; }
.dev-item { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg-2); }
.dev-item small { display: block; color: var(--faint); }
.dev-item.me { border-color: rgba(198, 242, 90, .5); }
@media (max-width: 640px) {
  .bh-split { grid-template-columns: 80px 1fr; }
  .bh-split span:last-child { grid-column: 1 / -1; color: var(--muted); font-size: .85rem; }
  .bh-kpis strong { font-size: 1.4rem; }
}
.bh-table td small { word-break: break-word; }
.bh-table td:first-child { white-space: nowrap; }
.bh-scroll .bh-table td:nth-child(5) { max-width: 320px; }
.bh-table .text-btn, .bh-alert .text-btn { padding: 0; }

/* ---------- Kijkers en bedrijven ---------- */
.prof-grid { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.prof-tile { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; }
.prof-tile.is-current { border-color: rgba(198, 242, 90, .55); }
.prof-pick { display: flex; flex-direction: column; align-items: center; gap: 6px; background: none; border: 0; color: inherit; cursor: pointer; padding: 6px; border-radius: 14px; width: 100%; }
.prof-pick:focus-visible { outline: 2px solid var(--lime); }
.prof-pick .avatar { width: 84px; height: 84px; font-size: 2rem; position: relative; margin-bottom: 4px; }
.prof-pick .avatar .lock { position: absolute; right: -4px; bottom: -4px; width: 24px; height: 24px; border-radius: 50%; background: var(--bg); color: var(--lime); display: grid; place-items: center; border: 1px solid var(--line); }
.prof-tile select, #profile-form select, #profile-edit-form select { width: 100%; background: var(--bg-2); border: 1px solid var(--line-strong); color: var(--text); border-radius: 10px; padding: 10px 12px; }
.rate-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 14px; }
.rate-btn { display: inline-flex; align-items: center; gap: 0; height: 40px; min-width: 40px; padding: 0 10px; border-radius: 99px; border: 1px solid var(--line-strong); background: rgba(7, 17, 12, .55); color: var(--text); cursor: pointer; transition: background .15s, border-color .15s, transform .1s; }
.rate-btn svg + svg { margin-left: -6px; }
.rate-btn:hover { border-color: var(--lime); }
.rate-btn:active { transform: scale(.94); }
.rate-btn[aria-pressed="true"] { background: var(--lime); color: var(--ink); border-color: var(--lime); }
.gift-btn { position: relative; }
.gift-btn i { position: absolute; top: -4px; right: -8px; font-style: normal; font-size: .62rem; font-weight: 700; background: var(--lime); color: var(--ink); border-radius: 99px; padding: 1px 5px; white-space: nowrap; }
.gift-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 16px; padding: 0 6vw 40px; }
.wallet-amount { font-size: clamp(2.4rem, 5vw, 3.4rem); margin: 4px 0 12px; font-variant-numeric: tabular-nums; color: var(--lime); }
.wallet-rows { max-height: 320px; overflow: auto; }
.gift-amounts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 14px; }
.gift-card { position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 6px; padding: 20px 22px; border-radius: 18px; min-height: 180px; max-width: 420px; margin: 18px 0; color: var(--ink);
  background: radial-gradient(120% 90% at 100% 0%, #e4ff9a 0%, #c6f25a 42%, #7fb33a 100%); box-shadow: 0 20px 50px rgba(198, 242, 90, .18); border: 0; text-align: left; overflow: hidden; }
.gift-card::after { content: ""; position: absolute; right: -40px; bottom: -40px; width: 160px; height: 160px; border-radius: 50%; border: 22px solid rgba(16, 33, 10, .1); }
.gift-card span { font-family: var(--serif); font-style: italic; font-size: 1.2rem; }
.gift-card strong { font-size: 2.6rem; line-height: 1; }
.gift-card code { font-size: 1.15rem; letter-spacing: .08em; font-weight: 700; background: rgba(16, 33, 10, .1); padding: 6px 10px; border-radius: 8px; align-self: flex-start; user-select: all; }
.gift-card small { opacity: .75; }
.gift-card.mini { min-height: 110px; margin: 0; cursor: pointer; transition: transform .15s; }
.gift-card.mini:hover { transform: translateY(-3px); }
.gift-card.mini strong { font-size: 1.9rem; }
.bundle-card .card-face { background: var(--card); }
.bundle-collage { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(3, 1fr); }
.bundle-collage img { width: 100%; height: 100%; object-fit: cover; }
.bundle-collage img + img { border-left: 2px solid var(--bg); }
.bundle-list { display: grid; gap: 8px; margin: 10px 0; }
.bundle-item { display: flex; align-items: center; gap: 12px; padding: 8px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg-2); }
.bundle-item img { width: 72px; height: 44px; object-fit: cover; border-radius: 8px; }
.bundle-item small { display: block; }
.total s { color: var(--faint); }
.kx-checks { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 4px 12px; margin: 6px 0 12px; }
.kx-checks .check { margin: 2px 0; }
.kx-scroll { max-height: 220px; overflow: auto; border: 1px solid var(--line); border-radius: 12px; padding: 8px 10px; }
#kx-bundle-form textarea, #kx-promo-form select, #kx-team-form select, .bh-table select, .filters select { background: var(--bg-2); border: 1px solid var(--line-strong); color: var(--text); border-radius: 10px; padding: 8px 10px; width: 100%; }
.filters select { width: auto; }
.bh-table select { width: auto; }
.code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .03em; }
@media (max-width: 640px) {
  .gift-grid { padding: 0 4vw 30px; }
  .gift-card strong { font-size: 2.1rem; }
  .rate-btn { height: 44px; min-width: 44px; }
}
.prof-grid { align-items: start; }
.bundle-list { list-style: none; margin: 14px 0; padding: 12px 0 0; border-top: 1px solid rgba(255,255,255,.08); display: grid; gap: 8px; }
.bundle-list li { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; }
.bundle-list small { color: var(--muted, #9aa59c); white-space: nowrap; }
.kx-scroll:empty { display: none; }

/* ---------- Betalen met QR-code ---------- */
.qr-or { display: flex; align-items: center; gap: 12px; margin: 12px 0; color: var(--muted); font-size: 13px; }
.qr-or::before, .qr-or::after { content: ""; flex: 1; border-top: 1px solid rgba(255,255,255,.08); }
.qr-btn svg { width: 20px; height: 20px; vertical-align: -4px; margin-right: 6px; }
.qr-sheet { align-items: center; justify-items: center; background: rgba(0,0,0,.72); backdrop-filter: blur(6px); }
.qr-card {
  border-radius: 24px; width: min(900px, 94vw); display: grid; grid-template-columns: minmax(240px, 380px) 1fr; gap: 32px;
  align-items: center; padding: 28px; border: 1px solid rgba(198,242,90,.18);
}
.qr-code { background: #fff; border-radius: 18px; padding: 14px; aspect-ratio: 1; box-shadow: 0 0 0 6px rgba(198,242,90,.25); }
.qr-code svg { display: block; width: 100%; height: 100%; }
.qr-side { max-width: 420px; }
.qr-side h3 { font-family: var(--serif); font-style: italic; font-size: clamp(2rem, 4vw, 3rem); margin: 6px 0 8px; }
.qr-side .total { font-size: 14px; }
.qr-steps { margin: 14px 0 10px; padding-left: 20px; color: var(--muted); line-height: 1.6; }
.qr-status { display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--lime); margin: 14px 0 4px; }
.qr-link b { color: var(--text); word-break: break-all; font-weight: 500; }
.qr-wait { display: flex; gap: 10px; align-items: center; padding: 30px; grid-column: 1 / -1; justify-content: center; }
.spin { width: 16px; height: 16px; border-radius: 50%; border: 2px solid rgba(198,242,90,.25); border-top-color: var(--lime); display: inline-block; animation: spin .8s linear infinite; flex: none; }
.qr-done { grid-template-columns: 1fr; text-align: center; justify-items: center; padding: 48px 28px; }
.qr-tick { width: 84px; height: 84px; border-radius: 50%; background: var(--lime); color: #0b0f0c; display: grid; place-items: center; }
.qr-tick svg { width: 44px; height: 44px; stroke-width: 2.6; }
@media (max-width: 720px) {
  .qr-card { grid-template-columns: 1fr; gap: 18px; padding: 20px; max-height: 92dvh; }
  .qr-code { max-width: 280px; width: 100%; margin: 0 auto; }
}
@media (min-width: 1600px) { .qr-card { width: min(1100px, 80vw); grid-template-columns: 460px 1fr; } }
@media (min-width: 1600px) {
  .qr-card { padding: 40px; gap: 48px; }
  .qr-side .kicker { font-size: 15px; }
  .qr-side h3 { font-size: 4.2rem; }
  .qr-side .fine, .qr-side .total { font-size: 18px; }
  .qr-steps { font-size: 21px; }
  .qr-status { font-size: 22px; }
  .qr-side .btn { font-size: 20px; padding: 14px 28px; }
}

/* Snelheid: korte wachtstand terwijl de details van een titel binnenkomen. */
.loading-detail { min-height: 60vh; display: flex; align-items: center; justify-content: center; gap: 14px; color: var(--muted, #9aa); font-size: 1.1rem; }
.loading-detail .spin { width: 22px; height: 22px; border-radius: 50%; border: 3px solid rgba(255,255,255,.15); border-top-color: var(--lime, #b6f23a); animation: loofspin .8s linear infinite; }
@keyframes loofspin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .loading-detail .spin { animation: none; } }

/* Snelheid: skelet tijdens het eerste laden. */
.skel .skel-hero { height: min(62vh, 560px); margin: 0 0 28px; background: linear-gradient(100deg, #0b1610 30%, #11211a 50%, #0b1610 70%); background-size: 300% 100%; animation: loofshine 1.4s ease-in-out infinite; }
.skel-row { padding: 0 6vw 28px; overflow: hidden; }
.skel-row > div { display: flex; gap: 12px; }
.skel-h { display: block; width: 180px; height: 18px; border-radius: 6px; margin-bottom: 14px; background: #10201a; }
.skel-card { flex: 0 0 168px; aspect-ratio: 2 / 3; border-radius: 14px; background: linear-gradient(100deg, #0d1913 30%, #132a20 50%, #0d1913 70%); background-size: 300% 100%; animation: loofshine 1.4s ease-in-out infinite; }
@keyframes loofshine { from { background-position: 100% 0; } to { background-position: 0 0; } }
@media (prefers-reduced-motion: reduce) { .skel .skel-hero, .skel-card { animation: none; } }

/* ---------- Titel bewerken ---------- */
.ed-top { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; margin-bottom: 14px; }
.ed-layout { display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: 20px; align-items: start; padding-bottom: 90px; }
.ed-main { border: 0; padding: 0; margin: 0; min-width: 0; display: grid; gap: 14px; }
.ed-main[disabled] { opacity: .78; }
.ed-sec { margin: 0; scroll-margin-top: 90px; min-width: 0; overflow-wrap: anywhere; }
.ed-main .row-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ed-main input, .ed-main select, .ed-main textarea { min-width: 0; width: 100%; box-sizing: border-box; }
.ed-sec h3 { margin: 0 0 12px; font-family: var(--serif); font-style: italic; font-size: 1.3rem; }
.ed-aside { position: sticky; top: 84px; display: grid; gap: 12px; }
.ed-mini { display: grid; gap: 4px; }
.ed-mini img { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; border-radius: 12px; background: #0d1511; }
.ed-nav { display: grid; gap: 2px; }
.ed-nav button { text-align: left; background: none; border: 0; color: var(--muted); padding: 8px 10px; border-radius: 10px; font: inherit; cursor: pointer; }
.ed-nav button:hover, .ed-nav button:focus-visible { background: #132019; color: var(--text); }
.ed-previews { display: grid; grid-template-columns: minmax(0, 1fr) 150px; gap: 12px; align-items: end; margin-bottom: 8px; }
.ed-previews figure { margin: 0; position: relative; overflow: hidden; border-radius: 14px; background: #0d1511; cursor: crosshair; border: 1px solid #1d2c24; }
.ed-previews figure img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; user-select: none; }
.ed-hero { aspect-ratio: 16 / 9; }
.ed-card { aspect-ratio: 2 / 3; }
.ed-previews figcaption { position: absolute; left: 8px; bottom: 8px; font-size: .72rem; padding: 3px 8px; border-radius: 99px; background: rgba(0,0,0,.66); color: #dfe; pointer-events: none; }
.ed-noimg { position: absolute; inset: 0; display: grid; place-items: center; color: var(--muted); font-size: .85rem; }
.ed-dot { position: absolute; width: 18px; height: 18px; margin: -9px 0 0 -9px; border-radius: 50%; border: 2px solid #fff; background: rgba(120, 220, 120, .55); box-shadow: 0 0 0 3px rgba(0,0,0,.45); pointer-events: none; }
.ed-stock { display: grid; grid-template-columns: repeat(auto-fill, minmax(58px, 1fr)); gap: 8px; }
.ed-stock button { padding: 0; border: 2px solid transparent; border-radius: 10px; overflow: hidden; background: none; cursor: pointer; aspect-ratio: 2 / 3; }
.ed-stock button[aria-pressed="true"], .ed-stock button:hover { border-color: var(--lime, #8fe36b); }
.ed-stock img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ed-block { border: 1px solid #1d2c24; border-radius: 14px; padding: 12px; margin-bottom: 12px; }
.ed-row { border-top: 1px solid #1a261f; padding: 12px 0 4px; }
.ed-head { display: flex; gap: 10px; align-items: center; justify-content: space-between; flex-wrap: wrap; margin-bottom: 8px; }
.ed-tools { display: flex; gap: 6px; }
.ed-text { font-family: var(--serif); font-size: 1.02rem; line-height: 1.55; min-height: 180px; }
.ed-count { justify-self: end; }
.ed-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: flex; gap: 14px; align-items: center; justify-content: flex-end; flex-wrap: wrap; padding: 12px 6vw calc(12px + env(safe-area-inset-bottom)); background: rgba(6, 10, 8, .94); border-top: 1px solid #1d2c24; backdrop-filter: blur(10px); }
.ed-state { margin-right: auto; color: var(--muted); font-size: .9rem; }
.ed-state.is-dirty { color: #f3d27a; }
.ed-bar-actions { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; justify-content: flex-end; min-width: 0; }
@media (max-width: 860px) {
  .ed-layout { grid-template-columns: minmax(0, 1fr); }
  .ed-aside { position: static; min-width: 0; grid-template-columns: minmax(0, 1fr); }
  .ed-mini { display: none; }
  .ed-nav { display: flex; overflow-x: auto; gap: 4px; min-width: 0; scrollbar-width: none; }
  .ed-nav button { white-space: nowrap; background: #101a14; }
  .ed-previews { grid-template-columns: minmax(0, 1fr) 96px; }
  .ed-main .row-2 { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .ed-state { width: 100%; }
  .ed-bar { padding-left: 18px; padding-right: 18px; gap: 6px 10px; }
  .ed-bar-actions { width: 100%; }
  .ed-bar-actions .btn-lime { flex: 1; }
  #desk-progress:empty { display: none; }
}
@media (max-width: 860px) {
  .account-grid { grid-template-columns: minmax(0, 1fr); }
  .account-grid .side-nav { display: flex; overflow-x: auto; gap: 4px; min-width: 0; scrollbar-width: none; margin: 0 -18px; padding: 0 18px 4px; }
  .account-grid .side-nav button { white-space: nowrap; flex: none; background: #101a14; }
}
