/* Ceyssens TV — true-black flat: één zwarte grond, hoogte door lichtheid, kleur alleen op de actieve zender */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("/fonts/inter.woff2") format("woff2"); }
@font-face { font-family: "Bricolage Grotesque"; font-style: normal; font-weight: 500 800; font-display: swap; src: url("/fonts/bricolage.woff2") format("woff2"); }

:root {
  --ground: #000000;
  --surface: #111111;
  --raised: #1c1c1c;
  --active: #1f1f1f;
  --hover: #141414;
  --rule: #1a1a1a;
  --control: #616161;
  --text: #ffffff;
  --muted: #b4b4b4;
  --faint: #949494;
  --accent: #f2b441;
  --negative: #e5566f;
  --pill-negative-bg: #2c1a20; --pill-negative-ink: #e5566f;
  --pill-warning-bg: #2b2414; --pill-warning-ink: #e5a93b;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-merk: "Bricolage Grotesque", "Inter", system-ui, sans-serif;
  --fs-title: 20px; --fs-body: 14px; --fs-small: 12px;
  --radius-card: 20px; --radius-row: 10px;
  --lijst-b: 372px; --top-h: 64px; --pad: 28px; --gap: 14px;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --t-press: 120ms; --t-hover: 150ms; --t-ui: 200ms;
  color-scheme: dark;
  accent-color: var(--accent);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; height: 100%; }
body {
  margin: 0; height: 100%;
  background: var(--ground); color: var(--text);
  font: var(--fs-body)/20px var(--font);
  font-variant-numeric: tabular-nums;
  -webkit-font-smoothing: antialiased; -webkit-tap-highlight-color: transparent;
  overscroll-behavior: none;
}
h1, h2, p, ol, dl, dd { margin: 0; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; padding: 0; }
svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; flex: none; }
img, video { display: block; }
kbd { font: 500 12px/1 var(--font); color: var(--muted); background: var(--raised); border-radius: 5px; padding: 3px 6px; }
::selection { background: var(--accent); color: #1a1206; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 6px; }
* { scrollbar-width: thin; scrollbar-color: var(--raised) transparent; }
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-thumb { background: var(--raised); border-radius: 8px; }
::-webkit-scrollbar-track { background: transparent; }
.symbolen { position: absolute; width: 0; height: 0; }
.verborgen { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.overslaan { position: absolute; left: 12px; top: -48px; z-index: 20; padding: 8px 14px; background: var(--text); color: var(--ground); border-radius: 999px; font-weight: 600; }
.overslaan:focus { top: 12px; }
[hidden] { display: none !important; }

/* ---------- knoppen ---------- */
.knop, .knop-icoon, .knop-tekst, .tab, .rij-kies, .ster, .speel { transition: transform var(--t-press) var(--ease-out), background var(--t-hover) ease, color var(--t-hover) ease; }
.knop:active, .knop-icoon:active, .knop-tekst:active, .ster:active, .speel:active { transform: scale(0.96); }
.knop {
  height: 36px; padding: 0 16px; border-radius: 999px;
  background: var(--raised); color: var(--text); font-weight: 500; white-space: nowrap;
}
.knop-primair { background: var(--text); color: var(--ground); font-weight: 600; }
.knop-icoon {
  display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 999px;
  color: var(--muted); background: transparent;
}
.knop-icoon[aria-pressed="true"] { color: var(--accent); }
.knop-icoon[aria-pressed="true"] svg { fill: var(--accent); }
.knop-tekst { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 12px; border-radius: 999px; color: var(--muted); }
.knop-tekst svg { width: 18px; height: 18px; }
@media (hover: hover) and (pointer: fine) {
  .knop:hover { background: #2a2a2a; }
  .knop-primair:hover { background: #e8e8e8; }
  .knop-icoon:hover, .knop-tekst:hover { background: var(--raised); color: var(--text); }
  .knop-icoon[aria-pressed="true"]:hover { color: var(--accent); }
}

/* ---------- bovenbalk ---------- */
.top {
  position: sticky; top: 0; z-index: 10;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px;
  height: var(--top-h); padding: 0 var(--pad);
  background: var(--ground); border-bottom: 1px solid var(--rule);
}
.merk { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; justify-self: start; }
.merk-teken { width: 28px; height: 28px; stroke: none; }
.woordmerk { font: 700 18px/1 var(--font-merk); letter-spacing: -0.02em; }
.zoek { position: relative; width: min(548px, 100%); margin: 0; }
.zoek svg { position: absolute; left: 13px; top: 50%; translate: 0 -50%; width: 16px; height: 16px; color: var(--faint); pointer-events: none; }
.zoek input {
  width: 100%; height: 36px; padding: 0 44px 0 38px; border: 0; border-radius: 999px;
  background: var(--surface); color: var(--text); caret-color: var(--accent);
}
.zoek input::placeholder { color: var(--faint); }
.zoek input:focus { outline: none; background: var(--raised); }
.zoek input::-webkit-search-cancel-button { -webkit-appearance: none; }
.zoek kbd { position: absolute; right: 10px; top: 50%; translate: 0 -50%; }
.zoek input:focus ~ kbd { opacity: 0; }
.top-rechts { display: flex; align-items: center; gap: 6px; justify-self: end; }
.uit-vorm { margin: 0; padding-left: 10px; margin-left: 4px; border-left: 1px solid var(--rule); height: var(--top-h); display: flex; align-items: center; }

/* ---------- indeling ---------- */
.app {
  display: grid; grid-template-columns: var(--lijst-b) minmax(0, 1fr);
  height: calc(100dvh - var(--top-h));
}
.zenders { display: flex; flex-direction: column; min-height: 0; min-width: 0; border-right: 1px solid var(--rule); }
.podium { display: flex; flex-direction: column; min-width: 0; min-height: 0; padding: var(--pad); gap: var(--gap); }

/* ---------- zenderlijst ---------- */
.zenders-kop { display: flex; align-items: baseline; gap: 10px; padding: 22px var(--pad) 10px; }
.zenders-kop h1 { font-size: var(--fs-title); font-weight: 600; letter-spacing: -0.01em; line-height: 24px; }
.zenders-tel { color: var(--faint); }
.tabs { display: flex; gap: 20px; padding: 0 var(--pad); border-bottom: 1px solid var(--rule); overflow-x: auto; scrollbar-width: none; flex: none; }
.tabs::-webkit-scrollbar { display: none; }
.tab {
  position: relative; height: 38px; padding: 0 2px; color: var(--muted); font-weight: 500; white-space: nowrap; flex: none;
}
.tab::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--text); opacity: 0; transition: opacity var(--t-ui) ease; }
.tab[aria-selected="true"] { color: var(--text); }
.tab[aria-selected="true"]::after { opacity: 1; }
.tab .tel { color: var(--faint); margin-left: 5px; font-weight: 400; }
.werkbalk { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px var(--pad) 8px; }
.keuze {
  height: 32px; padding: 0 30px 0 12px; border: 0; border-radius: 999px;
  background: var(--surface); color: var(--text); appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b4b4b4' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 10px center; background-size: 16px;
  max-width: 60%; text-overflow: ellipsis;
}
.werkbalk-tel { color: var(--faint); font-size: 13px; white-space: nowrap; }
.lijst { list-style: none; padding: 0 calc(var(--pad) - 10px) 20px; overflow-y: auto; flex: 1; min-height: 0; overscroll-behavior: contain; }
.groep { position: sticky; top: 0; z-index: 1; padding: 12px 10px 6px; background: var(--ground); color: var(--faint); font-size: 13px; }
.rij { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 36px; align-items: center; border-radius: var(--radius-row); }
.rij-kies {
  display: grid; grid-template-columns: 30px 40px minmax(0, 1fr); align-items: center; gap: 12px;
  width: 100%; height: 64px; padding: 0 0 0 10px; border-radius: var(--radius-row); text-align: left; color: var(--text);
}
.rij + .rij .rij-kies::after { content: ""; position: absolute; left: 92px; right: 10px; top: -1px; height: 1px; background: var(--rule); }
.rij[aria-current="true"] .rij-kies, .rij[aria-current="true"] { background: var(--active); }
.rij[aria-current="true"] .rij-kies::after, .rij[aria-current="true"] + .rij .rij-kies::after { opacity: 0; }
@media (hover: hover) and (pointer: fine) { .rij:not([aria-current="true"]):hover { background: var(--hover); } }
.nr { font: 600 14px/1 var(--font-merk); color: var(--faint); text-align: right; font-variant-numeric: tabular-nums; }
.rij[aria-current="true"] .nr { color: var(--accent); }
.logo { width: 40px; height: 28px; border-radius: 5px; background: #fff; display: grid; place-items: center; overflow: hidden; }
.logo img { width: 100%; height: 100%; object-fit: contain; padding: 3px; }
.logo.leeg-logo { background: var(--raised); color: var(--muted); font: 600 11px/1 var(--font-merk); }
.tekst { min-width: 0; }
.naam { display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; font-weight: 500; line-height: 20px; overflow-wrap: anywhere; }
.rij[aria-current="true"] .naam { font-weight: 600; }
.meta { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 13px; line-height: 18px; max-height: 36px; color: var(--faint); overflow-wrap: anywhere; }
.meta .pil { display: inline-block; vertical-align: 1px; margin-right: 6px; }
.pil { flex: none; height: 18px; padding: 0 7px; border-radius: 999px; font-size: 11px; font-weight: 500; line-height: 18px; }
.pil-uit { background: var(--pill-negative-bg); color: var(--pill-negative-ink); }
.pil-let { background: var(--pill-warning-bg); color: var(--pill-warning-ink); }
.rij.kapot .naam { color: var(--muted); }
.ster { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 999px; color: var(--faint); opacity: 0; }
.ster svg { width: 18px; height: 18px; }
.rij:hover .ster, .ster:focus-visible, .ster[aria-pressed="true"], .rij[aria-current="true"] .ster { opacity: 1; }
.ster[aria-pressed="true"] { color: var(--accent); }
.ster[aria-pressed="true"] svg { fill: var(--accent); }
.leeg { margin: 14px var(--pad); padding: 14px 16px; border: 1px dashed var(--control); border-radius: 12px; color: var(--muted); }

/* ---------- beeld ---------- */
.beeld {
  position: relative; width: 100%; aspect-ratio: 16 / 9;
  max-height: calc(100dvh - var(--top-h) - var(--pad) * 2 - 88px - 20px - var(--gap) * 2);
  margin: 0 auto; background: var(--surface); border-radius: var(--radius-card); overflow: hidden;
}
.beeld:fullscreen { border-radius: 0; max-height: none; background: #000; }
video { position: absolute; inset: 0; width: 100%; height: 100%; background: #000; }
.osd {
  position: absolute; top: 18px; right: 22px; text-align: right; pointer-events: none;
  opacity: 0; translate: 0 -6px;
  transition: opacity 400ms ease, translate 400ms ease;
  padding: 10px 16px 12px; border-radius: 16px; background: rgba(0, 0, 0, .6);
}
.osd.aan { opacity: 1; translate: 0 0; transition: opacity var(--t-ui) var(--ease-out), translate var(--t-ui) var(--ease-out); }
.osd-nr { font: 700 clamp(40px, 6vw, 72px)/1 var(--font-merk); letter-spacing: -0.03em; color: #fff; min-height: 1em; font-variant-numeric: tabular-nums; }
.osd-nr .cursor { display: inline-block; width: 0.45em; height: 0.8em; margin-left: 0.06em; border-bottom: 0.08em solid var(--accent); animation: knipper 0.9s steps(2, start) infinite; }
.osd-info { display: flex; align-items: center; justify-content: flex-end; gap: 10px; margin-top: 8px; font-size: 16px; font-weight: 600; color: #fff; }
.osd-info img { height: 26px; max-width: 60px; object-fit: contain; background: #fff; border-radius: 5px; padding: 3px; }
@keyframes knipper { to { visibility: hidden; } }
.melding { position: absolute; inset: 0; display: grid; place-content: center; gap: 16px; padding: 24px; text-align: center; background: rgba(0, 0, 0, .72); }
.melding p { font-size: 16px; line-height: 24px; max-width: 32ch; color: var(--text); }
.melding-knoppen { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.speel {
  position: absolute; inset: 0; margin: auto; width: 76px; height: 76px; border-radius: 50%;
  background: var(--text); color: var(--ground); display: grid; place-items: center;
}
.speel svg { width: 30px; height: 30px; fill: currentColor; stroke: none; margin-left: 4px; }
.laden { position: absolute; left: 0; right: 0; top: 0; height: 3px; overflow: hidden; }
.laden span { position: absolute; top: 0; bottom: 0; width: 35%; background: var(--accent); border-radius: 3px; animation: laden 1.1s var(--ease-out) infinite; }
@keyframes laden { from { left: -35%; } to { left: 100%; } }

/* ---------- nu-kaart ---------- */
.nu {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 88px; padding: 14px 16px; background: var(--surface); border-radius: var(--radius-card);
}
.nu-zender { display: flex; align-items: center; gap: 14px; min-width: 0; }
.nu-logo { width: 60px; height: 60px; flex: none; border-radius: 12px; background: #fff; display: grid; place-items: center; overflow: hidden; }
.nu-logo img { width: 100%; height: 100%; object-fit: contain; padding: 6px; }
.nu-logo.leeg-logo { background: var(--raised); color: var(--muted); font: 600 16px/1 var(--font-merk); }
.nu-tekst { min-width: 0; display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-rows: auto auto; column-gap: 10px; align-items: baseline; transition: filter var(--t-ui) ease, opacity var(--t-ui) ease; }
.nu-tekst.wisselt { filter: blur(2px); opacity: .6; }
.nu-nr { grid-row: 1 / 3; align-self: center; font: 700 28px/1 var(--font-merk); letter-spacing: -0.03em; color: var(--accent); min-width: 2ch; text-align: right; }
.nu-tekst strong { display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; font-size: 18px; line-height: 24px; font-weight: 600; letter-spacing: -0.01em; overflow-wrap: anywhere; }
.nu-meta { color: var(--muted); font-size: 13px; line-height: 18px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nu-meta .let { color: var(--pill-warning-ink); }
.nu-knoppen { display: flex; gap: 2px; flex: none; }
.hint { color: var(--faint); font-size: 13px; line-height: 18px; padding: 0 4px; }

/* ---------- sneltoetsen ---------- */
.toetsen { width: min(420px, calc(100% - 32px)); padding: 20px 22px 22px; border: 0; border-radius: var(--radius-card); background: var(--surface); color: var(--text); box-shadow: 0 24px 60px -20px rgba(0, 0, 0, .9); /* taste-skill-ignore: zwevende dialoog */ }
.toetsen::backdrop { background: rgba(0, 0, 0, .6); }
.toetsen-kop { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.toetsen h2 { font-size: var(--fs-title); font-weight: 600; }
.toetsen-lijst div { display: grid; grid-template-columns: 110px 1fr; align-items: center; gap: 12px; min-height: 40px; padding: 6px 0; border-top: 1px solid var(--rule); }
.toetsen-lijst dt { display: flex; gap: 4px; align-items: center; color: var(--muted); }
.toetsen-lijst dd { color: var(--text); }

/* ---------- login ---------- */
.login-pagina { display: grid; place-items: center; min-height: 100dvh; padding: 24px 16px; }
.login { width: min(100%, 360px); }
.login-merk { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px; margin-bottom: 32px; }
.login-merk .merk-teken { width: 56px; height: 56px; }
.login h1 { font: 700 30px/1 var(--font-merk); letter-spacing: -0.02em; }
.login-lijn { color: var(--muted); font-size: 15px; line-height: 22px; max-width: 30ch; }
.login-vorm { display: flex; flex-direction: column; gap: 10px; }
.login-vorm label { color: var(--muted); font-weight: 500; }
.login-vorm input { height: 48px; padding: 0 18px; border: 0; border-radius: 999px; background: var(--surface); font-size: 17px; caret-color: var(--accent); }
.login-vorm input:focus { outline: 2px solid var(--accent); outline-offset: 2px; background: var(--raised); }
.login-vorm .knop { height: 48px; margin-top: 6px; font-size: 16px; }
.fout { color: var(--negative); }
.login-noot { margin-top: 8px; text-align: center; color: var(--faint); font-size: var(--fs-small); }

/* ---------- gsm en tablet ---------- */
@media (max-width: 900px) {
  :root { --top-h: 56px; --pad: 16px; }
  .top { grid-template-columns: auto minmax(0, 1fr) auto; gap: 10px; }
  .top .woordmerk { display: none; }
  .zoek kbd, #k-toetsen, .knop-tekst span { display: none; }
  .zoek input { padding-right: 14px; }
  .uit-vorm { border: 0; padding: 0; margin: 0; }
  .app { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr); height: auto; min-height: calc(100dvh - var(--top-h)); }
  .podium { order: 0; position: sticky; top: var(--top-h); z-index: 5; padding: 0 0 10px; gap: 8px; background: var(--ground); border-bottom: 1px solid var(--rule); }
  .beeld { border-radius: 0; max-height: 56dvh; }
  .nu { min-height: 64px; padding: 8px 8px 0 16px; background: transparent; border-radius: 0; }
  .nu-logo { display: none; }
  .nu-nr { font-size: 24px; }
  .nu-tekst strong { font-size: 15px; line-height: 20px; }
  .nu-knoppen .knop-icoon { width: 44px; height: 44px; }
  .hint { display: none; }
  .zenders { order: 1; border-right: 0; min-height: 50dvh; }
  .zenders-kop { padding-top: 14px; }
  .lijst { overflow: visible; padding-bottom: 32px; }
  .groep { top: auto; position: static; }
  .ster { opacity: 1; width: 44px; height: 44px; }
  .rij { grid-template-columns: minmax(0, 1fr) 44px; scroll-margin-top: calc(var(--top-h) + 56dvh + 90px); }
  .osd { top: 10px; right: 12px; }
  .osd-nr { font-size: 40px; }
  .osd-info { font-size: 14px; }
  .osd-info img { height: 22px; }
}
@media (max-width: 420px) { #k-geluid { display: none; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .osd, .osd.aan { translate: 0 0; }
}

/* ---------- navigatie in de bovenbalk ---------- */
.top { grid-template-columns: auto minmax(160px, 548px) auto; justify-content: space-between; }
.top-links { display: flex; align-items: center; gap: 22px; justify-self: start; flex: none; }
.merk { flex: none; white-space: nowrap; }
.navigatie { display: flex; gap: 18px; }
.navigatie a { color: var(--muted); font-weight: 500; white-space: nowrap; height: var(--top-h); display: inline-flex; align-items: center; position: relative; transition: color var(--t-hover) ease; }
.navigatie a[aria-current="page"] { color: var(--text); }
.navigatie a[aria-current="page"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--text); }
@media (hover: hover) and (pointer: fine) { .navigatie a:hover { color: var(--text); } }

/* ---------- startpagina ---------- */
.home { display: flex; flex-direction: column; gap: 30px; width: 100%; max-width: 1480px; margin: 0 auto; padding: 24px var(--pad) 56px; }
.home-kop { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.home-kop h1 { font-size: 24px; line-height: 28px; font-weight: 600; letter-spacing: -0.01em; }
.home-lijn { color: var(--muted); }
.held { display: grid; grid-template-columns: 132px minmax(0, 1fr) auto; align-items: center; gap: 22px; padding: 18px 22px 18px 18px; background: var(--surface); border-radius: var(--radius-card); min-height: 168px; }
.held-logo { width: 132px; height: 132px; border-radius: 16px; background: #fff; display: grid; place-items: center; overflow: hidden; }
.held-logo img { width: 100%; height: 100%; object-fit: contain; padding: 12px; }
.held-logo.leeg-logo { background: var(--raised); color: var(--muted); font: 600 28px/1 var(--font-merk); }
.held-tekst { min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.held-label { color: var(--muted); }
.held-naam { display: flex; align-items: baseline; gap: 12px; min-width: 0; }
.held-naam .nr { font-size: 22px; color: var(--accent); }
.held-naam strong { font-size: 22px; line-height: 28px; font-weight: 600; letter-spacing: -0.01em; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; }
.held-meta { color: var(--faint); font-size: 13px; }
.held-gids { color: var(--text); display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; }
.held-gids .straks { color: var(--faint); }
.held .nu-voortgang { margin-top: 6px; max-width: 420px; }
.held .knop { height: 44px; padding: 0 22px; font-size: 15px; }
.held-leeg { grid-column: 1 / -1; color: var(--muted); }
.rij-kop { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.rij-kop h2 { font-size: 16px; line-height: 20px; font-weight: 600; }
.rij-kop h2 .tel { color: var(--faint); font-weight: 400; margin-left: 6px; }
.rij-kop a { color: var(--muted); display: inline-flex; align-items: center; gap: 4px; height: 32px; padding: 0 8px; border-radius: 999px; transition: color var(--t-hover) ease, background var(--t-hover) ease; }
.rij-kop a svg { width: 16px; height: 16px; }
@media (hover: hover) and (pointer: fine) { .rij-kop a:hover { color: var(--text); background: var(--raised); } }
.strook { display: grid; grid-template-columns: repeat(auto-fill, minmax(156px, 1fr)); grid-template-rows: auto; grid-auto-rows: 0; row-gap: 0; column-gap: 10px; overflow: hidden; margin: 0 -6px; }
.tegel { min-width: 0; display: flex; flex-direction: column; gap: 8px; padding: 6px; border-radius: 14px; text-align: left; color: var(--text); transition: background var(--t-hover) ease, transform var(--t-press) var(--ease-out); }
.tegel:active { transform: scale(0.98); }
@media (hover: hover) and (pointer: fine) { .tegel:hover { background: var(--hover); } }
.tegel-logo { width: 100%; aspect-ratio: 16 / 9; border-radius: 10px; background: #fff; display: grid; place-items: center; overflow: hidden; position: relative; }
.tegel-logo img { width: 100%; height: 100%; object-fit: contain; padding: 10px; }
.tegel-logo.leeg-logo { background: var(--raised); color: var(--muted); font: 600 18px/1 var(--font-merk); }
.tegel-logo .nr { position: absolute; left: 6px; top: 5px; font-size: 12px; color: var(--faint); background: var(--surface); padding: 2px 6px; border-radius: 999px; }
.tegel-naam { font-weight: 500; line-height: 20px; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; }
.tegel-sub { color: var(--faint); font-size: 13px; line-height: 18px; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; }
.tegel-sub.gids { color: var(--muted); }
.home-leeg { color: var(--muted); padding: 14px 16px; border: 1px dashed var(--control); border-radius: 12px; }

/* ---------- werkbalk met twee keuzes ---------- */
.werkbalk { flex-wrap: wrap; row-gap: 6px; }
.werkbalk-keuzes { display: flex; gap: 8px; min-width: 0; flex: 1 1 100%; }
.werkbalk-keuzes .keuze { flex: 1 1 0; min-width: 0; max-width: none; }
.werkbalk-tel { flex: 1 1 100%; text-align: right; }

/* ---------- nu-kaart: gids, status ---------- */
.nu { flex-wrap: wrap; row-gap: 6px; }
.nu-gids { display: block; color: var(--text); font-size: 13px; line-height: 18px; margin-top: 2px; }
.nu-gids .straks { color: var(--faint); }
.nu-voortgang { display: block; height: 2px; margin-top: 6px; background: var(--raised); border-radius: 2px; overflow: hidden; max-width: 320px; }
.nu-voortgang span { display: block; height: 100%; width: 0; background: var(--accent); border-radius: 2px; transition: width 600ms ease; }
.nu-status { flex-basis: 100%; color: var(--muted); font-size: 13px; line-height: 18px; min-height: 0; margin: 0; }
.nu-status:empty { display: none; }
.pil-slaap { background: var(--raised); color: var(--muted); margin-left: 8px; vertical-align: 2px; }

/* ---------- meer-menu ---------- */
.meer { width: min(380px, calc(100% - 32px)); padding: 18px 16px 16px; border: 0; border-radius: var(--radius-card); background: var(--surface); color: var(--text); box-shadow: 0 24px 60px -20px rgba(0, 0, 0, .9); /* taste-skill-ignore: zwevende dialoog */ }
.meer::backdrop { background: rgba(0, 0, 0, .6); }
.meer .toetsen-kop { padding: 0 6px; }
.meer-lijst { display: flex; flex-direction: column; gap: 2px; }
.meer-item { display: flex; align-items: center; gap: 12px; min-height: 44px; padding: 8px 10px; border-radius: 12px; color: var(--text); text-align: left; width: 100%; transition: background var(--t-hover) ease; }
.meer-item svg { color: var(--muted); }
.meer-item[aria-pressed="true"] svg { color: var(--accent); }
.meer-item[aria-pressed="true"]::after { content: "aan"; margin-left: auto; color: var(--accent); font-size: 13px; }
@media (hover: hover) and (pointer: fine) { button.meer-item:hover { background: var(--raised); } }
.meer-groep { flex-wrap: wrap; cursor: default; }
.meer-keuzes { display: flex; gap: 6px; flex-basis: 100%; padding-left: 32px; margin-top: 4px; }
.meer-keuzes .knop { height: 32px; padding: 0 12px; font-size: 13px; }
.meer-keuzes .knop[aria-pressed="true"] { background: var(--text); color: var(--ground); }

/* ---------- tv-bediening ---------- */
body.tv-modus :focus-visible, body.tv-modus :focus { outline: 3px solid var(--accent); outline-offset: 3px; }
body.tv-modus .beeld:focus { outline-offset: -3px; }
body.tv-modus .ster { opacity: 1; }

@media (max-width: 900px) {
  .top { grid-template-columns: auto minmax(0, 1fr) auto; }
  .top-links { gap: 12px; }
  .navigatie { gap: 12px; }
  .navigatie a { font-size: 14px; }
  .home { gap: 24px; padding: 16px var(--pad) 40px; }
  .held { grid-template-columns: 72px minmax(0, 1fr); gap: 14px; padding: 14px; min-height: 0; }
  .held-logo { width: 72px; height: 72px; border-radius: 12px; }
  .held-logo.leeg-logo { font-size: 18px; }
  .held-naam .nr, .held-naam strong { font-size: 18px; line-height: 24px; }
  .held .knop { grid-column: 1 / -1; width: 100%; }
  .strook { grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); grid-template-rows: auto auto; row-gap: 6px; column-gap: 6px; margin: 0; }
  .tegel { padding: 4px; gap: 6px; }
  .tegel-naam { padding-left: 2px; }
  .tegel-sub { display: none; }
  .nu-voortgang { max-width: none; }
  .nu-status { padding-left: 0; }
}
