/* ============================================================
   RadioLogger – Stylesheet
   ============================================================ */

:root {
    --rl-primary:    #2563eb;
    --rl-primary-dk: #1d4ed8;
    --rl-dark:       #111827;
    --rl-dark2:      #1f2937;
    --rl-surface:    #f8fafc;
    --rl-border:     #e2e8f0;
    --rl-radius:     0.75rem;
    --rl-shadow:     0 2px 12px rgba(0,0,0,.08);

    /* Station avatar kleuren (6 varianten, cyclisch) */
    --av0: #2563eb; --av1: #7c3aed; --av2: #059669;
    --av3: #d97706; --av4: #dc2626; --av5: #0891b2;
}

/* ── Base ── */
html {
    /* Overscroll bounce-zone bovenaan matcht de navbar kleur */
    background: var(--rl-dark);
    /* Geen horizontale swipe-navigatie (back/forward) */
    overscroll-behavior-x: none;
}
body {
    background: var(--rl-surface);
    overscroll-behavior-x: none;
    color: #1e293b;
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main { flex: 1; }

/* ── Navbar ── */
.rl-navbar {
    background: linear-gradient(135deg, var(--rl-dark) 0%, var(--rl-dark2) 100%);
    border-bottom: 1px solid rgba(255,255,255,.08);
    box-shadow: 0 2px 16px rgba(0,0,0,.25);
}

.rl-navbar .navbar-brand { font-size: 1.3rem; letter-spacing: -.02em; }

.rl-navbar .nav-link {
    color: rgba(255,255,255,.6) !important;
    transition: color .15s;
    position: relative;
    padding-bottom: .6rem;
}
.rl-navbar .nav-link:hover {
    color: rgba(255,255,255,.9) !important;
}
.rl-navbar .nav-link.active {
    color: #fff !important;
    font-weight: 500;
}
/* Blauwe streep onder actieve link (via ::before zodat ::after vrij blijft voor Bootstrap-caret) */
.rl-navbar .nav-link.active::before {
    content: '';
    position: absolute;
    bottom: 0; left: .5rem; right: .5rem;
    height: 2px;
    border-radius: 2px 2px 0 0;
    background: var(--rl-primary, #2563eb);
}
/* Dropdown-toggles: geen streep, Bootstrap-caret blijft intact */
.rl-navbar .nav-link.dropdown-toggle.active::before { display: none; }

/* Geen streep in mobiel ingeklapt menu */
@media (max-width: 991px) {
    .rl-navbar .nav-link.active::before { display: none; }
    .rl-navbar .nav-link.active { border-left: 3px solid var(--rl-primary, #2563eb); padding-left: .75rem; }
}

/* ── Footer ── */
.rl-footer {
    background: var(--rl-dark);
    border-top: 1px solid rgba(255,255,255,.08);
}

/* ── Hero (index) ── */
.rl-hero {
    background: linear-gradient(135deg, var(--rl-primary) 0%, #7c3aed 100%);
    box-shadow: var(--rl-shadow);
}
.rl-hero-icon i {
    font-size: 4rem;
    color: rgba(255,255,255,.9);
    filter: drop-shadow(0 2px 8px rgba(0,0,0,.2));
}

/* ── Feature cards ── */
.feature-card {
    background: #fff;
    border: 1px solid var(--rl-border);
    transition: box-shadow .2s, transform .2s;
}
.feature-card:hover {
    box-shadow: 0 8px 24px rgba(37,99,235,.12);
    transform: translateY(-2px);
}
.feature-icon i { font-size: 2rem; color: var(--rl-primary); }

/* ── Station kaarten (homepage) ── */
.station-card {
    border-radius: var(--rl-radius) !important;
    transition: box-shadow .2s, transform .2s;
}
.station-card:hover {
    box-shadow: 0 8px 30px rgba(37,99,235,.14) !important;
    transform: translateY(-3px);
}

/* ── Favoriet-hartknop ── */
.fav-btn {
    background: none;
    border: none;
    padding: 0;
    line-height: 1;
    color: #cbd5e1;
    font-size: 1.2rem;
    cursor: pointer;
    flex-shrink: 0;
    transition: color .15s, transform .2s;
}
.fav-btn:hover           { color: #f43f5e; transform: scale(1.2); }
.fav-btn.is-fav          { color: #f43f5e; }
.fav-btn.is-fav i::before { content: "\f415"; } /* bi-heart-fill unicode */

/* Hartje-pop animatie bij toevoegen */
@keyframes heart-pop {
    0%   { transform: scale(1); }
    40%  { transform: scale(1.45); }
    70%  { transform: scale(.88); }
    100% { transform: scale(1); }
}
.fav-btn.pop { animation: heart-pop .35s ease; }

/* ── Favorieten-sectie ── */
.fav-section {
    background: linear-gradient(135deg, #fdf2f8 0%, #fce7f3 100%);
    border: 1px solid #fbcfe8;
    border-radius: var(--rl-radius);
    padding: 1.25rem 1.5rem 1.5rem;
    margin-bottom: 2rem;
}
.fav-section-title {
    font-weight: 700;
    font-size: .85rem;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: #be185d;
    margin-bottom: 1rem;
}
/* Kleinere variant van de station-kaart in de favorieten-strip */
.fav-card {
    background: #fff;
    border: 1px solid #fce7f3;
    border-radius: calc(var(--rl-radius) - 2px);
    padding: .875rem 1rem;
    display: flex;
    align-items: center;
    gap: .75rem;
    transition: box-shadow .2s, transform .15s;
    text-decoration: none;
    color: inherit;
}
.fav-card:hover {
    box-shadow: 0 4px 16px rgba(244,63,94,.15);
    transform: translateY(-2px);
    color: inherit;
}
.fav-card-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
}
.fav-card-avatar img { width: 100%; height: 100%; object-fit: contain; padding: 3px; }
.fav-card-name { font-weight: 600; font-size: .9rem; line-height: 1.2; }
.fav-card-sub  { font-size: .75rem; color: #94a3b8; }
.fav-remove-btn {
    background: none; border: none; padding: 0;
    color: #f9a8d4; font-size: 1rem; cursor: pointer;
    margin-left: auto; flex-shrink: 0;
    transition: color .15s;
}
.fav-remove-btn:hover { color: #f43f5e; }

/* ── Station avatar (homepage kaart + tabel) ── */
.station-avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
    background: var(--av0);
}

/* Kleurvarianten */
.station-avatar-color-0 { background: var(--av0); }
.station-avatar-color-1 { background: var(--av1); }
.station-avatar-color-2 { background: var(--av2); }
.station-avatar-color-3 { background: var(--av3); }
.station-avatar-color-4 { background: var(--av4); }
.station-avatar-color-5 { background: var(--av5); }

.station-initial {
    font-size: 1.4rem;
    font-weight: 700;
    color: #fff;
    line-height: 1;
}

.station-logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 4px;
}

/* ── Station avatar in tabel ── */
.station-table-logo {
    width: 40px;
    height: 40px;
    object-fit: contain;
    border: 1px solid var(--rl-border);
    padding: 2px;
    background: #fff;
}

.station-table-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #fff;
    font-size: 1rem;
}

/* ── Card headers ── */
.rl-card-header {
    background: linear-gradient(135deg, var(--rl-dark) 0%, var(--rl-dark2) 100%);
    color: #fff;
    border-bottom: none;
    padding: .9rem 1.25rem;
    border-radius: var(--rl-radius) var(--rl-radius) 0 0 !important;
}
.rl-card-header-dark {
    background: var(--rl-dark);
    color: #fff;
    border-bottom: none;
    padding: .9rem 1.25rem;
    border-radius: var(--rl-radius) var(--rl-radius) 0 0 !important;
}

/* ── Hour grid (listen) ── */
.hour-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 6px;
}

.hour-btn {
    aspect-ratio: 1;
    border: 2px solid var(--rl-border);
    border-radius: 8px;
    background: #fff;
    color: #94a3b8;
    font-size: .75rem;
    font-weight: 600;
    cursor: default;
    transition: all .15s;
    padding: 0;
    line-height: 1;
}
.hour-btn.available {
    border-color: var(--rl-primary);
    color: var(--rl-primary);
    background: #eff6ff;
    cursor: pointer;
}
.hour-btn.available:hover {
    background: var(--rl-primary);
    color: #fff;
    transform: scale(1.05);
}
.hour-btn.selected {
    background: var(--rl-primary) !important;
    color: #fff !important;
    border-color: var(--rl-primary-dk) !important;
    box-shadow: 0 2px 8px rgba(37,99,235,.4);
    transform: scale(1.08);
}
.hour-btn:disabled { opacity: .4; cursor: not-allowed; }

/* ── Flatpickr datumkiezer aanpassingen ── */
.flatpickr-calendar {
    border-radius: var(--rl-radius) !important;
    box-shadow: 0 8px 30px rgba(0,0,0,.15) !important;
    border: 1px solid var(--rl-border) !important;
}
.flatpickr-day.selected,
.flatpickr-day.selected:hover {
    background: var(--rl-primary) !important;
    border-color: var(--rl-primary) !important;
}
.flatpickr-day:not(.flatpickr-disabled):hover {
    background: #eff6ff !important;
}
/* Uitgeschakelde dagen (geen opnames) duidelijk grijs */
.flatpickr-day.flatpickr-disabled {
    color: #cbd5e1 !important;
    text-decoration: line-through;
}

/* ── Audio player ── */
.audio-wrapper audio {
    border-radius: var(--rl-radius);
    outline: none;
    width: 100%;
}

/* ── Player visual (listen) ── */
.player-logo-wrap { display: flex; justify-content: center; }

.player-logo-img {
    width: 100px;
    height: 100px;
    object-fit: contain;
    border-radius: var(--rl-radius);
    border: 1px solid var(--rl-border);
    padding: 6px;
    background: #fff;
    box-shadow: var(--rl-shadow);
}

.player-logo-fallback {
    width: 100px;
    height: 100px;
    border-radius: var(--rl-radius);
    background: linear-gradient(135deg, var(--rl-primary), #7c3aed);
    display: flex;
    align-items: center;
    justify-content: center;
}
.player-logo-fallback i {
    font-size: 3rem;
    color: #fff;
}

/* ── Stat cards (admin dashboard) ── */
.stat-card {
    border-radius: var(--rl-radius);
    padding: 1.25rem 1.5rem;
    color: #fff;
    box-shadow: var(--rl-shadow);
    display: flex;
    align-items: center;
    gap: 1rem;
    position: relative;
    overflow: hidden;
    height: 100%;
}
.stat-card::before {
    content: '';
    position: absolute; top: -20px; right: -20px;
    width: 80px; height: 80px;
    border-radius: 50%;
    background: rgba(255,255,255,.1);
}
.stat-blue   { background: linear-gradient(135deg, #2563eb, #3b82f6); }
.stat-green  { background: linear-gradient(135deg, #059669, #10b981); }
.stat-purple { background: linear-gradient(135deg, #7c3aed, #a78bfa); }
.stat-orange { background: linear-gradient(135deg, #d97706, #f59e0b); }
.stat-icon i  { font-size: 2rem; opacity: .9; }
.stat-value   { font-size: 1.8rem; font-weight: 700; line-height: 1; }
.stat-label   { font-size: .8rem; opacity: .85; margin-top: 2px; }

/* ── Recording dot (live indicator) ── */
.recording-dot {
    width: 10px; height: 10px;
    border-radius: 50%;
    background: #ef4444;
    animation: pulse-red 1.5s infinite;
    flex-shrink: 0;
}
@keyframes pulse-red {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%       { opacity: .6; transform: scale(1.3); }
}

/* ── Admin login ── */
.login-icon i { font-size: 4rem; color: var(--rl-primary); }

/* ── Logo upload/preview ── */
.logo-preview-existing {
    width: 60px;
    height: 60px;
    object-fit: contain;
    border: 1px solid var(--rl-border);
    padding: 4px;
    background: #fff;
}

/* ── Instellingen ── */
.stats-grid { display: flex; flex-direction: column; gap: .75rem; }
.stat-row   { display: flex; justify-content: space-between; align-items: center; padding: .5rem 0; border-bottom: 1px solid var(--rl-border); }
.stat-row:last-child { border-bottom: none; }
.stat-key   { color: #64748b; font-size: .9rem; }
.stat-val   { font-size: .9rem; }

.retention-info       { background: #eff6ff; color: var(--rl-primary); border: 1px solid #bfdbfe; }
.retention-unlimited  { background: #f0fdf4; color: #166534; border: 1px solid #bbf7d0; }
.retention-short      { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }
.retention-medium     { background: #eff6ff; color: #1e40af; border: 1px solid #bfdbfe; }
.retention-long       { background: #f5f3ff; color: #5b21b6; border: 1px solid #ddd6fe; }

/* ════════════════════════════════════════════════
   WAVESURFER SPELER
   ════════════════════════════════════════════════ */

/* Meta-strip: logo + zendernaam boven de waveform */
.ws-meta-strip {
    display: flex;
    align-items: center;
    gap: .75rem;
    margin-bottom: .75rem;
}
.ws-meta-logo {
    width: 40px; height: 40px;
    flex-shrink: 0;
    border-radius: 8px;
    overflow: hidden;
    display: flex; align-items: center; justify-content: center;
    background: rgba(255,255,255,.08);
}
.ws-logo-img {
    width: 100%; height: 100%;
    object-fit: contain;
}
.ws-logo-fallback {
    font-size: 1.2rem;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
}

/* Hoofd-container voor de speler */
.ws-player-wrap {
    background: #0f172a;
    border-radius: var(--rl-radius);
    padding: 1rem 1.25rem 1.1rem;
    color: #f1f5f9;
}

/* Waveform + bladwijzer-pin overlay als één gestapeld blok */
.ws-outer {
    position: relative;
    margin-bottom: .5rem;
    border-radius: 6px;
    overflow: visible;
    cursor: crosshair;
}
/* Flash-effect na klik op waveform */
.ws-outer.ws-flash {
    animation: wsFlash .25s ease-out;
}
@keyframes wsFlash {
    0%   { box-shadow: 0 0 0 3px rgba(251,191,36,.55); }
    100% { box-shadow: 0 0 0 0 transparent; }
}

/* ── Skeleton waveform laadindicator ── */
.ws-skeleton-loader {
    margin-bottom: .75rem;
}

.ws-skeleton-wave {
    display: flex;
    align-items: center;
    gap: 2px;
    height: 72px;
    margin-bottom: .75rem;
    border-radius: 4px;
    overflow: hidden;
}

.ws-skel-bar {
    flex: 1;
    border-radius: 2px;
    background: linear-gradient(
        90deg,
        rgba(255,255,255,.06) 0%,
        rgba(255,255,255,.14) 50%,
        rgba(255,255,255,.06) 100%
    );
    background-size: 300% 100%;
    animation: ws-shimmer 1.6s ease-in-out infinite;
}
/* Verschuif elke bar iets in fase voor een "golf" effect */
.ws-skel-bar:nth-child(3n)  { animation-delay: -.25s; }
.ws-skel-bar:nth-child(5n)  { animation-delay: -.5s; }
.ws-skel-bar:nth-child(7n)  { animation-delay: -.75s; }
.ws-skel-bar:nth-child(11n) { animation-delay: -1s; }
.ws-skel-bar:nth-child(13n) { animation-delay: -1.25s; }

@keyframes ws-shimmer {
    0%   { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* Laad-info rij (label + percentage + balk) */
.ws-load-progress { /* wrapper */ }

.ws-load-label {
    font-size: .76rem;
    color: rgba(255,255,255,.4);
}
.ws-load-pct {
    font-size: .72rem;
    color: rgba(255,255,255,.32);
}

/* Voortgangsbalk (gedeeld tussen skeleton en foutbericht) */
.ws-load-track {
    width: 100%;
    height: 3px;
    background: rgba(255,255,255,.08);
    border-radius: 2px;
    overflow: hidden;
}
.ws-load-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--rl-primary), #7c3aed);
    border-radius: 2px;
    transition: width .2s ease;
}

/* Bedieningsknoppen */
.ws-controls {
    display: flex;
    align-items: center;
    gap: .6rem;
    flex-wrap: wrap;
}
.wsc-top {
    display: flex;
    align-items: center;
    gap: .6rem;
    flex: 1;
    flex-wrap: wrap;
}

.cp-btn-play {
    width: 52px; height: 52px;
    border-radius: 50%;
    background: var(--rl-primary);
    border: none;
    color: #fff;
    font-size: 1.4rem;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    transition: background .15s, transform .1s;
    flex-shrink: 0;
}
.cp-btn-play:hover  { background: var(--rl-primary-dk); transform: scale(1.05); }
.cp-btn-play:active { transform: scale(.97); }

.cp-btn-rew, .cp-btn-fwd {
    width: 44px; height: 44px;
    border-radius: 50%;
    background: rgba(255,255,255,.1);
    border: none; color: #94a3b8;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    gap: 1px;
    cursor: pointer; transition: background .15s, color .15s;
    flex-shrink: 0;
    padding: 0;
}
.cp-btn-rew i, .cp-btn-fwd i {
    font-size: .85rem; line-height: 1;
}
.cp-btn-rew span, .cp-btn-fwd span {
    font-size: .6rem; font-weight: 700; line-height: 1; letter-spacing: .01em;
}
.cp-btn-rew:hover, .cp-btn-fwd:hover { background: rgba(255,255,255,.18); color: #fff; }

.cp-time {
    font-family: 'Courier New', monospace;
    font-size: .85rem;
    color: #94a3b8;
    white-space: nowrap;
}

.cp-vol {
    display: flex; align-items: center; gap: .4rem;
    color: #64748b; font-size: .9rem;
}
.cp-vol input[type=range] {
    width: 80px;
    accent-color: var(--rl-primary);
}

/* Afspeelsnelheid selector */
.ws-speed-select {
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.12);
    color: #94a3b8;
    border-radius: 6px;
    font-size: .78rem;
    font-weight: 600;
    padding: .3rem .45rem;
    cursor: pointer;
    transition: background .15s;
    appearance: none;
    -webkit-appearance: none;
}
.ws-speed-select:hover  { background: rgba(255,255,255,.15); color: #fff; }
.ws-speed-select:focus  { outline: none; border-color: var(--rl-primary); }

/* Dempen-knop */
.ws-mute-btn {
    display: flex; align-items: center; justify-content: center;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.12);
    color: #94a3b8;
    border-radius: 6px;
    width: 32px; height: 32px;
    font-size: .95rem;
    cursor: pointer;
    transition: background .15s, color .15s;
    flex-shrink: 0;
}
.ws-mute-btn:hover  { background: rgba(255,255,255,.18); color: #fff; }
.ws-mute-btn.muted  { color: #f87171; border-color: rgba(248,113,113,.4); }

/* ── Bladwijzer-pin laag over de waveform ── */
.bm-pin-layer {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    pointer-events: none;
    z-index: 10;
}

.bm-pin {
    position: absolute;
    bottom: 2px;
    transform: translateX(-50%);
    width: 0; height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 10px solid #f59e0b;
    cursor: pointer;
    pointer-events: all;
    transition: border-top-color .15s;
    filter: drop-shadow(0 1px 2px rgba(0,0,0,.6));
    z-index: 11;
}
.bm-pin:hover {
    border-top-color: #fde68a;
    transform: translateX(-50%) scale(1.3);
}

/* ════════════════════════════════════════════════
   BLADWIJZER LIJST
   ════════════════════════════════════════════════ */

.bm-item { border-color: var(--rl-border) !important; }
.bm-item:last-child { border-bottom: none !important; }

.bm-jump-btn {
    background: none; border: none;
    display: flex; align-items: center; gap: .5rem;
    cursor: pointer; padding: .25rem .5rem;
    border-radius: 6px;
    transition: background .15s;
}
.bm-jump-btn:hover { background: #fef9c3; }
.bm-jump-btn span  { font-size: .85rem; }

/* ════════════════════════════════════════════════
   CLIPS
   ════════════════════════════════════════════════ */

.clip-editor {
    background: #f8fafc;
    border: 1px solid var(--rl-border);
    border-radius: var(--rl-radius);
    padding: 1rem 1.25rem;
}

.clip-item { border-color: var(--rl-border) !important; }
.clip-item:last-child { border-bottom: none !important; }

.clip-icon { font-size: 1.3rem; flex-shrink: 0; }

/* ── Font/utility helpers ── */
.font-monospace   { font-family: 'Courier New', monospace !important; }
.letter-spacing   { letter-spacing: .05em; }
.min-w-0          { min-width: 0; }

/* ── Cards rounded ── */
.card { border-radius: var(--rl-radius) !important; }
.card-header:first-child {
    border-radius: var(--rl-radius) var(--rl-radius) 0 0 !important;
}

/* ── Tabel koppen ── */
.table th {
    font-size: .8rem;
    text-transform: uppercase;
    letter-spacing: .05em;
    font-weight: 600;
}

/* ══════════════════════════════════════════════════════════
   HERO V2  –  donker, zoek embedded
   ══════════════════════════════════════════════════════════ */

.rl-hero-v2 {
    background: linear-gradient(135deg, #0c1117 0%, #1a1040 55%, #0d1117 100%);
    padding: 2.5rem 2rem;
    position: relative;
    overflow: hidden;
}
/* Zachte glow-cirkels op de achtergrond */
.rl-hero-v2::before {
    content: '';
    position: absolute; top: -60px; right: -80px;
    width: 320px; height: 320px; border-radius: 50%;
    background: rgba(99,102,241,.13);
    filter: blur(70px);
    pointer-events: none;
}
.rl-hero-v2::after {
    content: '';
    position: absolute; bottom: -80px; left: 10px;
    width: 240px; height: 240px; border-radius: 50%;
    background: rgba(37,99,235,.09);
    filter: blur(55px);
    pointer-events: none;
}

/* Live-badge in hero */
.hero-on-air {
    display: inline-flex;
    align-items: center;
    background: rgba(239,68,68,.15);
    border: 1px solid rgba(239,68,68,.3);
    border-radius: 999px;
    padding: .25rem .75rem;
    color: #fca5a5;
    font-size: .78rem;
    letter-spacing: .02em;
}

/* Branding */
.hero-brand {
    display: flex;
    align-items: center;
    gap: .75rem;
}
.hero-brand-icon {
    font-size: 2.6rem;
    color: #818cf8;
    filter: drop-shadow(0 0 18px rgba(129,140,248,.4));
    flex-shrink: 0;
}
.hero-title {
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    font-weight: 800;
    color: #fff;
    letter-spacing: -.03em;
    margin: 0;
    line-height: 1.1;
}
.hero-sub {
    color: rgba(255,255,255,.45);
    font-size: .95rem;
    line-height: 1.6;
    margin: 0;
}

/* Zoekbalk in hero */
.hero-search-wrap .input-group {
    border-radius: 12px;
    overflow: hidden;
}
.hero-search-addon {
    background: rgba(255,255,255,.96);
    border: none;
    color: #94a3b8;
    padding: .75rem 1rem .75rem 1.1rem;
    border-radius: 12px 0 0 12px !important;
}
.hero-search-input {
    background: rgba(255,255,255,.96);
    border: none;
    font-size: .95rem;
    padding: .75rem .5rem;
    color: #1e293b;
}
.hero-search-input:focus {
    background: #fff;
    outline: none;
    box-shadow: none;
}
.hero-search-input::placeholder { color: #94a3b8; }
.hero-search-count {
    background: rgba(255,255,255,.96);
    border: none;
    color: #94a3b8;
    font-size: .78rem;
    padding: .75rem 1rem;
    border-radius: 0 12px 12px 0 !important;
    white-space: nowrap;
}

/* Categorie-pills als horizontale scrollstrip op dark bg */
.cat-scroll-strip {
    display: flex;
    gap: .4rem;
    overflow-x: auto;
    padding-bottom: .2rem;
    scrollbar-width: none;
    -ms-overflow-style: none;
    flex-wrap: nowrap;
}
.cat-scroll-strip::-webkit-scrollbar { display: none; }

/* In hero: override kleuren van cat-pill */
.cat-scroll-strip .cat-pill {
    background: rgba(255,255,255,.1);
    border-color: rgba(255,255,255,.18);
    color: rgba(255,255,255,.7);
    flex-shrink: 0;
}
.cat-scroll-strip .cat-pill:hover {
    background: rgba(255,255,255,.18);
    border-color: rgba(255,255,255,.35);
    color: #fff;
}
.cat-scroll-strip .cat-pill.active {
    background: #fff;
    border-color: #fff;
    color: #1e1b4b;
    box-shadow: 0 2px 10px rgba(0,0,0,.25);
}
.cat-scroll-strip .fav-filter-pill {
    background: rgba(244,63,94,.15);
    border-color: rgba(244,63,94,.3);
    color: #fda4af;
}
.cat-scroll-strip .fav-filter-pill:hover {
    background: rgba(244,63,94,.25);
    border-color: rgba(244,63,94,.5);
    color: #fff;
}
.cat-scroll-strip .fav-filter-pill.active {
    background: #f43f5e;
    border-color: #f43f5e;
    color: #fff;
}

/* ══════════════════════════════════════════════════════════
   STATION CARDS V2  –  modern, accent left-border
   ══════════════════════════════════════════════════════════ */

.sc-card {
    background: #fff;
    border-radius: var(--rl-radius);
    border: 1px solid var(--rl-border);
    border-left: 4px solid var(--sc-color, var(--rl-primary));
    padding: 1.15rem 1.15rem 1rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: .75rem;
    transition: box-shadow .2s, transform .18s;
    box-shadow: 0 1px 4px rgba(0,0,0,.06);
}
.sc-card:hover {
    box-shadow: 0 6px 28px rgba(0,0,0,.1);
    transform: translateY(-3px);
}

/* Top rij: avatar + naam + hart */
.sc-top {
    display: flex;
    align-items: center;
    gap: .875rem;
}
.sc-avatar {
    width: 46px; height: 46px;
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
    font-weight: 800; font-size: 1.25rem; color: #fff;
}
.sc-avatar-img img {
    width: 100%; height: 100%;
    object-fit: contain;
    padding: 5px;
}
.sc-info { flex: 1; min-width: 0; }
.sc-name {
    font-weight: 700;
    font-size: .97rem;
    line-height: 1.25;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #0f172a;
}
.sc-cat {
    display: inline-block;
    margin-top: .25rem;
    font-size: .7rem;
    color: #6366f1;
    background: #eef2ff;
    padding: .1rem .45rem;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: background .12s, color .12s;
    user-select: none;
}
.sc-cat:hover { background: #6366f1; color: #fff; }

/* Omschrijving */
.sc-desc {
    font-size: .8rem;
    color: #64748b;
    line-height: 1.5;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Voet: meta + play-knop */
.sc-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .5rem;
    margin-top: auto;
}
.sc-meta {
    display: flex;
    align-items: center;
    gap: .5rem;
    flex-wrap: wrap;
}
.sc-live {
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    font-size: .68rem;
    font-weight: 700;
    color: #dc2626;
    text-transform: uppercase;
    letter-spacing: .04em;
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 4px;
    padding: .1rem .4rem;
}
.sc-count {
    font-size: .75rem;
    color: #94a3b8;
    white-space: nowrap;
}
.sc-play-btn {
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    background: var(--sc-color, var(--rl-primary));
    color: #fff !important;
    padding: .35rem .9rem;
    border-radius: 7px;
    font-size: .8rem;
    font-weight: 600;
    text-decoration: none !important;
    white-space: nowrap;
    flex-shrink: 0;
    transition: opacity .15s, transform .1s;
}
.sc-play-btn:hover { opacity: .88; transform: scale(1.04); }

/* ══════════════════════════════════════════════════════════
   FEATURE TILES  –  compacte rij onderaan
   ══════════════════════════════════════════════════════════ */

.feature-tile {
    display: flex;
    align-items: center;
    gap: .9rem;
    background: #fff;
    border: 1px solid var(--rl-border);
    border-radius: var(--rl-radius);
    padding: 1rem 1.15rem;
    box-shadow: 0 1px 4px rgba(0,0,0,.05);
    height: 100%;
}
.feature-tile-icon {
    width: 42px; height: 42px;
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}
.feature-tile-title {
    font-weight: 600;
    font-size: .88rem;
    color: #0f172a;
    line-height: 1.2;
    margin-bottom: 2px;
}
.feature-tile-sub {
    font-size: .75rem;
    color: #94a3b8;
    line-height: 1.35;
}

/* ══════════════════════════════════════════════════════════
   DYNAMISCHE INDEX – Zoekbalk, categorie-pills, live strip
   ══════════════════════════════════════════════════════════ */

/* Zoek + filter balk */
.rl-search-bar {
    background: #fff;
    border: 1px solid var(--rl-border);
    border-radius: var(--rl-radius);
    padding: .875rem 1rem;
    box-shadow: 0 1px 4px rgba(0,0,0,.05);
}

/* Categorie-pills */
.cat-pill {
    display: inline-flex;
    align-items: center;
    padding: .3rem .85rem;
    border-radius: 999px;
    border: 1.5px solid var(--rl-border);
    background: #fff;
    color: #64748b;
    font-size: .8rem;
    font-weight: 600;
    cursor: pointer;
    transition: background .15s, color .15s, border-color .15s, transform .1s;
    white-space: nowrap;
    line-height: 1.4;
}
.cat-pill:hover {
    border-color: var(--rl-primary);
    color: var(--rl-primary);
    background: #eff6ff;
}
.cat-pill.active {
    background: var(--rl-primary);
    border-color: var(--rl-primary);
    color: #fff;
    box-shadow: 0 2px 8px rgba(37,99,235,.3);
}
.cat-pill.active:hover { background: var(--rl-primary-dk); }

/* Favorieten-filter pill (roze variant) */
.fav-filter-pill { border-color: #fce7f3; color: #be185d; }
.fav-filter-pill:hover {
    border-color: #f43f5e;
    background: #fdf2f8;
    color: #be185d;
}
.fav-filter-pill.active {
    background: #f43f5e;
    border-color: #f43f5e;
    color: #fff;
    box-shadow: 0 2px 8px rgba(244,63,94,.3);
}
.fav-filter-pill.active:hover { background: #e11d48; border-color: #e11d48; }

/* Live strip – "Nu opgenomen" balk */
.live-strip {
    background: linear-gradient(135deg, #fef2f2 0%, #fff5f5 100%);
    border: 1px solid #fecaca;
    border-radius: var(--rl-radius);
    padding: .75rem 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.live-strip-label {
    display: flex;
    align-items: center;
    font-size: .8rem;
    font-weight: 700;
    color: #dc2626;
    text-transform: uppercase;
    letter-spacing: .05em;
    white-space: nowrap;
    flex-shrink: 0;
}

/* Live chip (klikbare zendernaam in de strip) */
.live-chip {
    display: inline-flex;
    align-items: center;
    padding: .25rem .7rem;
    border-radius: 999px;
    background: #fff;
    border: 1px solid #fecaca;
    color: #dc2626;
    font-size: .8rem;
    font-weight: 600;
    transition: background .15s, border-color .15s, transform .1s;
    white-space: nowrap;
}
.live-chip:hover {
    background: #fef2f2;
    border-color: #f87171;
    transform: translateY(-1px);
    color: #b91c1c;
}

/* REC badge op station-kaart */
.station-rec-badge {
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    padding: .2rem .55rem;
    border-radius: 999px;
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #dc2626;
    font-size: .7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
    margin-bottom: .6rem;
}

/* Kleine pulserende dot (in badges en chips) */
.recording-dot-sm {
    width: 7px; height: 7px;
    border-radius: 50%;
    background: #ef4444;
    animation: pulse-red 1.5s infinite;
    flex-shrink: 0;
    display: inline-block;
}

/* Station-grid fade-transitie */
#stationGrid {
    transition: opacity .12s ease;
}

/* ── Responsive ── */
@media (max-width: 576px) {
    .hour-grid { grid-template-columns: repeat(4, 1fr); }
    .stat-card { padding: 1rem; }
    .stat-value { font-size: 1.4rem; }
    .live-strip { flex-direction: column; align-items: flex-start; gap: .5rem; }
}

/* ══════════════════════════════════════════════════════════
   RL-CARD  –  gedeelde kaartklasse (profiel, delen, etc.)
   ══════════════════════════════════════════════════════════ */
.rl-card {
    background: #fff;
    border: 1px solid var(--rl-border);
    border-radius: var(--rl-radius);
    box-shadow: var(--rl-shadow);
}

/* ══════════════════════════════════════════════════════════
   DONKERE MODUS KNOP
   ══════════════════════════════════════════════════════════ */
.dm-toggle {
    opacity: .75;
    transition: opacity .15s;
}
.dm-toggle:hover { opacity: 1; }

/* ══════════════════════════════════════════════════════════
   THEMA: SMARAGD
   ══════════════════════════════════════════════════════════ */
[data-theme="smaragd"] {
    --rl-primary:    #059669;
    --rl-primary-dk: #047857;
}
[data-theme="smaragd"] .rl-hero-v2 {
    background: linear-gradient(135deg, #022c22 0%, #065f46 55%, #022c22 100%);
}
[data-theme="smaragd"] .rl-hero-v2::before { background: rgba(16,185,129,.18); }
[data-theme="smaragd"] .rl-hero-v2::after  { background: rgba(5,150,105,.12); }
[data-theme="smaragd"] .hero-brand-icon    { color: #6ee7b7; filter: drop-shadow(0 0 18px rgba(110,231,183,.4)); }
[data-theme="smaragd"] .sc-cat             { color: #059669; background: #ecfdf5; }
[data-theme="smaragd"] .rl-hero            { background: linear-gradient(135deg, #059669, #047857); }


/* ══════════════════════════════════════════════════════════
   THEMA: VIOLET
   ══════════════════════════════════════════════════════════ */
[data-theme="violet"] {
    --rl-primary:    #7c3aed;
    --rl-primary-dk: #6d28d9;
}
[data-theme="violet"] .rl-hero-v2 {
    background: linear-gradient(135deg, #1e1b4b 0%, #4c1d95 55%, #1e1b4b 100%);
}
[data-theme="violet"] .rl-hero-v2::before { background: rgba(124,58,237,.22); }
[data-theme="violet"] .rl-hero-v2::after  { background: rgba(109,40,217,.14); }
[data-theme="violet"] .hero-brand-icon    { color: #c4b5fd; filter: drop-shadow(0 0 18px rgba(196,181,253,.45)); }
[data-theme="violet"] .sc-cat             { color: #7c3aed; background: #f5f3ff; }
[data-theme="violet"] .rl-hero            { background: linear-gradient(135deg, #7c3aed, #6d28d9); }


/* ══════════════════════════════════════════════════════════
   THEMA: KOPER  (warm amber)
   ══════════════════════════════════════════════════════════ */
[data-theme="koper"] {
    --rl-primary:    #d97706;
    --rl-primary-dk: #b45309;
}
[data-theme="koper"] .rl-hero-v2 {
    background: linear-gradient(135deg, #1c1003 0%, #78350f 55%, #1c1003 100%);
}
[data-theme="koper"] .rl-hero-v2::before { background: rgba(217,119,6,.2); }
[data-theme="koper"] .rl-hero-v2::after  { background: rgba(180,83,9,.12); }
[data-theme="koper"] .hero-brand-icon    { color: #fcd34d; filter: drop-shadow(0 0 18px rgba(252,211,77,.45)); }
[data-theme="koper"] .sc-cat             { color: #d97706; background: #fffbeb; }
[data-theme="koper"] .rl-hero            { background: linear-gradient(135deg, #d97706, #b45309); }


/* ══════════════════════════════════════════════════════════
   THEMA: ROBIJN  (ruby red)
   ══════════════════════════════════════════════════════════ */
[data-theme="robijn"] {
    --rl-primary:    #dc2626;
    --rl-primary-dk: #b91c1c;
}
[data-theme="robijn"] .rl-hero-v2 {
    background: linear-gradient(135deg, #1c0a0a 0%, #7f1d1d 55%, #1c0a0a 100%);
}
[data-theme="robijn"] .rl-hero-v2::before { background: rgba(220,38,38,.2); }
[data-theme="robijn"] .rl-hero-v2::after  { background: rgba(185,28,28,.12); }
[data-theme="robijn"] .hero-brand-icon    { color: #fca5a5; filter: drop-shadow(0 0 18px rgba(252,165,165,.45)); }
[data-theme="robijn"] .sc-cat             { color: #dc2626; background: #fef2f2; }
[data-theme="robijn"] .rl-hero            { background: linear-gradient(135deg, #dc2626, #b91c1c); }


/* ══════════════════════════════════════════════════════════
   THEMA: NACHT  (volledig donker)
   ══════════════════════════════════════════════════════════ */
[data-theme="nacht"] {
    --rl-primary:    #818cf8;
    --rl-primary-dk: #6366f1;
    --rl-surface:    #0f172a;
    --rl-border:     rgba(255,255,255,.09);
    --rl-shadow:     0 2px 14px rgba(0,0,0,.5);
    --rl-dark:       #020617;
    --rl-dark2:      #0f172a;
}

/* ── Pagina-basis ── */
[data-theme="nacht"] html        { background: #020617; }
[data-theme="nacht"] body        { background: #0f172a; color: #e2e8f0; }

/* ── Station kaarten ── */
[data-theme="nacht"] .sc-card        { background: #1e293b; border-color: rgba(255,255,255,.09) !important; }
[data-theme="nacht"] .sc-name        { color: #f1f5f9; }
[data-theme="nacht"] .sc-desc        { color: #94a3b8; }
[data-theme="nacht"] .sc-count       { color: #475569; }
[data-theme="nacht"] .sc-cat         { color: #a5b4fc; background: rgba(99,102,241,.2); }
[data-theme="nacht"] .sc-cat:hover   { background: #6366f1; color: #fff; }

/* ── Feature tiles ── */
[data-theme="nacht"] .feature-tile        { background: #1e293b; border-color: rgba(255,255,255,.08); }
[data-theme="nacht"] .feature-tile-title  { color: #f1f5f9; }
[data-theme="nacht"] .feature-tile-sub    { color: #475569; }

/* ── Zoekbalk in hero ── */
[data-theme="nacht"] .hero-search-addon,
[data-theme="nacht"] .hero-search-count  { background: rgba(15,23,42,.9) !important; color: #64748b; }
[data-theme="nacht"] .hero-search-input  { background: rgba(15,23,42,.9) !important; color: #e2e8f0 !important; }
[data-theme="nacht"] .hero-search-input:focus { background: rgba(2,6,23,.95) !important; }
[data-theme="nacht"] .hero-search-input::placeholder { color: #475569; }

/* ── Live strip ── */
[data-theme="nacht"] .live-strip { background: rgba(30,41,59,.95); border-color: rgba(239,68,68,.2); }
[data-theme="nacht"] .live-chip  { background: rgba(30,41,59,.8); border-color: rgba(239,68,68,.25); }

/* ── Bootstrap cards / panels ── */
[data-theme="nacht"] .card              { background: #1e293b !important; border-color: rgba(255,255,255,.08) !important; color: #e2e8f0; }
[data-theme="nacht"] .card-header       { background: #151f32 !important; border-color: rgba(255,255,255,.08) !important; }
[data-theme="nacht"] .card-footer       { background: #1a2944 !important; border-color: rgba(255,255,255,.08) !important; }
[data-theme="nacht"] .rl-card           { background: #1e293b; border-color: rgba(255,255,255,.08); }

/* ── Formulieren ── */
[data-theme="nacht"] .form-control,
[data-theme="nacht"] .form-select       { background: #1e293b; border-color: rgba(255,255,255,.15); color: #e2e8f0; }
[data-theme="nacht"] .form-control:focus,
[data-theme="nacht"] .form-select:focus { background: #1e293b; border-color: #818cf8; color: #e2e8f0;
                                           box-shadow: 0 0 0 .2rem rgba(129,140,248,.2); }
[data-theme="nacht"] .form-control::placeholder { color: #475569; }
[data-theme="nacht"] .input-group-text  { background: #253347; border-color: rgba(255,255,255,.12); color: #94a3b8; }
[data-theme="nacht"] .form-text         { color: #64748b; }
[data-theme="nacht"] .form-label        { color: #94a3b8; }

/* ── Uur-grid ── */
[data-theme="nacht"] .hour-btn          { background: #1e293b; border-color: rgba(255,255,255,.1); color: #475569; }
[data-theme="nacht"] .hour-btn.available { background: rgba(99,102,241,.15); border-color: #818cf8; color: #a5b4fc; }
[data-theme="nacht"] .hour-btn.available:hover { background: #818cf8; color: #fff; }
[data-theme="nacht"] .hour-btn.selected { background: #818cf8 !important; color: #fff !important; border-color: #6366f1 !important; }

/* ── Tabellen ── */
[data-theme="nacht"] .table             { color: #e2e8f0; --bs-table-bg: transparent; }
[data-theme="nacht"] .table-light,
[data-theme="nacht"] .table thead th   { background: #152032 !important; color: #94a3b8; border-color: rgba(255,255,255,.08) !important; }
[data-theme="nacht"] .table td,
[data-theme="nacht"] .table th         { border-color: rgba(255,255,255,.06); }
[data-theme="nacht"] .table-hover tbody tr:hover { background: rgba(255,255,255,.04); }

/* ── Dropdowns ── */
[data-theme="nacht"] .dropdown-menu    { background: #1e293b; border-color: rgba(255,255,255,.1); }
[data-theme="nacht"] .dropdown-item    { color: #e2e8f0; }
[data-theme="nacht"] .dropdown-item:hover,
[data-theme="nacht"] .dropdown-item:focus { background: rgba(255,255,255,.07); }
[data-theme="nacht"] .dropdown-divider { border-color: rgba(255,255,255,.1); }

/* ── Navigatie ── */
[data-theme="nacht"] .rl-navbar        { background: linear-gradient(135deg, #020617, #0c1117) !important; }

/* ── Utility overrides ── */
[data-theme="nacht"] .bg-white         { background: #1e293b !important; }
[data-theme="nacht"] .bg-light         { background: #152032 !important; }
[data-theme="nacht"] .text-dark        { color: #e2e8f0 !important; }
[data-theme="nacht"] .text-muted       { color: #64748b !important; }
[data-theme="nacht"] .border           { border-color: rgba(255,255,255,.1) !important; }
[data-theme="nacht"] .border-top,
[data-theme="nacht"] .border-bottom,
[data-theme="nacht"] .border-start,
[data-theme="nacht"] .border-end       { border-color: rgba(255,255,255,.08) !important; }

/* ── Badges / pills ── */
[data-theme="nacht"] .badge.bg-primary-subtle { background: rgba(99,102,241,.25) !important; color: #a5b4fc !important; }
[data-theme="nacht"] .badge.bg-warning         { background: #92400e !important; color: #fde68a !important; }
[data-theme="nacht"] .badge.bg-light           { background: #253347 !important; color: #94a3b8 !important; }

/* ── Tabs ── */
[data-theme="nacht"] .nav-tabs         { border-color: rgba(255,255,255,.1); }
[data-theme="nacht"] .nav-tabs .nav-link { color: #94a3b8; }
[data-theme="nacht"] .nav-tabs .nav-link:hover { color: #e2e8f0; border-color: transparent; }
[data-theme="nacht"] .nav-tabs .nav-link.active { background: #1e293b; color: #f1f5f9; border-color: rgba(255,255,255,.1) rgba(255,255,255,.1) #1e293b; }

/* ── Alerts ── */
[data-theme="nacht"] .alert-success    { background: rgba(5,150,105,.15); border-color: rgba(16,185,129,.25); color: #6ee7b7; }
[data-theme="nacht"] .alert-danger     { background: rgba(220,38,38,.15); border-color: rgba(239,68,68,.25); color: #fca5a5; }
[data-theme="nacht"] .alert-warning    { background: rgba(217,119,6,.15); border-color: rgba(245,158,11,.25); color: #fcd34d; }
[data-theme="nacht"] .alert-info       { background: rgba(8,145,178,.15); border-color: rgba(14,165,233,.25); color: #7dd3fc; }

/* ── Favorieten ── */
[data-theme="nacht"] .fav-section      { background: linear-gradient(135deg, rgba(30,41,59,.95), rgba(30,41,59,.8)); border-color: rgba(244,63,94,.2); }
[data-theme="nacht"] .fav-section-title { color: #f9a8d4; }
[data-theme="nacht"] .fav-card         { background: #1e293b; border-color: rgba(255,255,255,.08); }
[data-theme="nacht"] .fav-card-name    { color: #f1f5f9; }
[data-theme="nacht"] .fav-card-sub     { color: #64748b; }
[data-theme="nacht"] .fav-btn          { color: #475569; }

/* ── Clip editor ── */
[data-theme="nacht"] .clip-editor      { background: #1e293b; border-color: rgba(255,255,255,.1); }


/* ══════════════════════════════════════════════════════════
   HOMEPAGE
   ══════════════════════════════════════════════════════════ */

/* ── Paginakop ── */
.ix-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1.5rem;
    padding-bottom: 1.5rem;
    margin-bottom: 1.75rem;
    border-bottom: 1px solid var(--rl-border);
    flex-wrap: wrap;
}
.ix-head-left {}
.ix-title {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -.03em;
    color: #0f172a;
    margin: 0 0 .2rem;
    line-height: 1.15;
}
.ix-sub {
    font-size: .83rem;
    color: #94a3b8;
    margin: 0;
}

.ix-head-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: .6rem;
    flex-shrink: 0;
}
.ix-meta {
    display: flex;
    align-items: center;
    gap: .55rem;
    font-size: .78rem;
    color: #94a3b8;
}
.ix-dot {
    width: 3px; height: 3px;
    border-radius: 50%;
    background: #cbd5e1;
    flex-shrink: 0;
    display: inline-block;
}
.ix-live-chip {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    background: rgba(239,68,68,.08);
    border: 1px solid rgba(239,68,68,.2);
    border-radius: 999px;
    padding: .15rem .6rem;
    color: #ef4444;
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .04em;
}
.ix-actions {
    display: flex;
    gap: .45rem;
}
.ix-btn-primary {
    display: inline-flex; align-items: center; gap: .35rem;
    background: #2563eb;
    color: #fff !important; text-decoration: none !important;
    padding: .45rem 1rem;
    border-radius: 7px;
    font-weight: 600; font-size: .82rem;
    transition: background .15s;
}
.ix-btn-primary:hover { background: #1d4ed8; }
.ix-btn-ghost {
    display: inline-flex; align-items: center; gap: .35rem;
    background: #fff;
    border: 1px solid var(--rl-border);
    color: #475569 !important; text-decoration: none !important;
    padding: .45rem 1rem;
    border-radius: 7px;
    font-weight: 600; font-size: .82rem;
    transition: border-color .15s, color .15s;
}
.ix-btn-ghost:hover { border-color: #94a3b8; color: #1e293b !important; }

/* ── Sectielabel ── */
.ix-section-hd {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}
.ix-section-label {
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: #94a3b8;
}
.ix-section-more {
    font-size: .78rem;
    font-weight: 600;
    color: #2563eb;
    text-decoration: none;
}
.ix-section-more:hover { text-decoration: underline; }

/* ── Station grid ── */
.ix-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: .5rem;
}
@media (max-width: 991px) { .ix-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575px)  { .ix-grid { grid-template-columns: 1fr; } }

/* ── Station card ── */
.ix-card {
    display: flex;
    align-items: center;
    gap: .8rem;
    padding: .75rem .9rem;
    background: #fff;
    border: 1px solid var(--rl-border);
    border-radius: 10px;
    transition: border-color .15s, box-shadow .15s;
}
.ix-card:hover {
    border-color: #c7d2fe;
    box-shadow: 0 2px 10px rgba(37,99,235,.07);
}

.ix-av {
    width: 38px; height: 38px;
    border-radius: 9px;
    flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    font-size: 1rem; font-weight: 800; color: #fff;
    overflow: hidden;
}
.ix-av-img { background: #f8fafc; border: 1px solid var(--rl-border); }
.ix-av-img img { width: 100%; height: 100%; object-fit: contain; padding: 4px; }

.ix-info { flex: 1; min-width: 0; }
.ix-name {
    font-size: .875rem;
    font-weight: 700;
    color: #0f172a;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    margin-bottom: .2rem;
}
.ix-sub-row {
    display: flex;
    align-items: center;
    gap: .4rem;
}
.ix-tag {
    font-size: .65rem;
    font-weight: 600;
    color: #6366f1;
    background: #eef2ff;
    padding: .1rem .38rem;
    border-radius: 4px;
    white-space: nowrap;
}
.ix-cnt {
    font-size: .72rem;
    color: #94a3b8;
}

.ix-right {
    display: flex;
    align-items: center;
    gap: .35rem;
    flex-shrink: 0;
}
.ix-fav {
    width: 28px; height: 28px;
    background: none; border: none; padding: 0;
    color: #cbd5e1;
    display: flex; align-items: center; justify-content: center;
    border-radius: 6px;
    font-size: .82rem;
    cursor: pointer;
    transition: color .15s, background .15s;
}
.ix-fav:hover { color: #f43f5e; background: #fff1f2; }
.ix-fav.on    { color: #f43f5e; }
.ix-fav.pop   { animation: heart-pop .35s ease; }

.ix-play {
    width: 30px; height: 30px;
    border-radius: 7px;
    background: var(--c, #2563eb);
    color: #fff !important;
    text-decoration: none !important;
    display: flex; align-items: center; justify-content: center;
    font-size: .85rem;
    transition: opacity .15s, transform .12s;
}
.ix-play:hover { opacity: .8; transform: scale(1.07); }

/* Leeg scherm */
.ix-empty {
    padding: 3rem 1rem;
    text-align: center;
    color: #94a3b8;
}
.ix-empty i { font-size: 2rem; display: block; margin-bottom: .75rem; }

/* backward compat – fc-* classes gebruikt op andere pagina's */
.section-header { display:flex; align-items:flex-end; justify-content:space-between; gap:1rem; }
.section-title  { font-size:1.35rem; font-weight:800; letter-spacing:-.02em; margin-bottom:.2rem; color:#0f172a; }
.section-sub    { font-size:.83rem; color:#94a3b8; margin:0; }
.section-link   { font-size:.83rem; font-weight:600; color:var(--rl-primary); text-decoration:none; white-space:nowrap; }
.section-link:hover { text-decoration:underline; }
[data-theme="nacht"] .section-title { color:#f1f5f9; }
[data-theme="nacht"] .section-sub   { color:#475569; }
.fc-card  { background:#fff; border:1px solid var(--rl-border); border-radius:var(--rl-radius); box-shadow:0 1px 4px rgba(0,0,0,.06); overflow:hidden; height:100%; display:flex; flex-direction:column; transition:box-shadow .2s,transform .18s; }
.fc-card:hover { box-shadow:0 8px 30px rgba(0,0,0,.1); transform:translateY(-3px); }
.fc-accent { height:4px; background:var(--fc-color,var(--rl-primary)); flex-shrink:0; }
.fc-body   { padding:1.15rem 1.15rem 1rem; display:flex; flex-direction:column; gap:.65rem; flex:1; }
.fc-top    { display:flex; align-items:center; gap:.85rem; }
.fc-avatar { width:48px; height:48px; border-radius:12px; display:flex; align-items:center; justify-content:center; flex-shrink:0; overflow:hidden; font-weight:800; font-size:1.3rem; color:#fff; }
.fc-avatar-img { background:#f1f5f9; }
.fc-avatar-img img { width:100%; height:100%; object-fit:contain; padding:5px; }
.fc-info  { flex:1; min-width:0; }
.fc-name  { font-weight:700; font-size:.97rem; color:#0f172a; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.fc-cat   { display:inline-block; margin-top:3px; font-size:.7rem; color:#6366f1; background:#eef2ff; padding:.1rem .45rem; border-radius:4px; font-weight:600; }
.fc-desc  { font-size:.8rem; color:#64748b; line-height:1.5; flex:1; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.fc-footer { display:flex; align-items:center; justify-content:space-between; gap:.5rem; margin-top:auto; }
.fc-count  { font-size:.75rem; color:#94a3b8; }
.fc-play   { display:inline-flex; align-items:center; gap:.3rem; background:var(--fc-color,var(--rl-primary)); color:#fff !important; text-decoration:none !important; padding:.35rem .9rem; border-radius:7px; font-size:.8rem; font-weight:600; white-space:nowrap; transition:opacity .15s,transform .1s; }
.fc-play:hover { opacity:.88; transform:scale(1.04); }
[data-theme="nacht"] .fc-card  { background:#1e293b; border-color:rgba(255,255,255,.08); }
[data-theme="nacht"] .fc-name  { color:#f1f5f9; }
[data-theme="nacht"] .fc-desc  { color:#94a3b8; }
[data-theme="nacht"] .fc-count { color:#475569; }
[data-theme="nacht"] .fc-cat   { color:#a5b4fc; background:rgba(99,102,241,.2); }

/* dark mode homepage */
[data-theme="nacht"] .ix-title      { color:#f1f5f9; }
[data-theme="nacht"] .ix-sub        { color:#475569; }
[data-theme="nacht"] .ix-btn-ghost  { background:#1e293b; border-color:rgba(255,255,255,.1); color:#94a3b8 !important; }
[data-theme="nacht"] .ix-btn-ghost:hover { border-color:rgba(255,255,255,.25); color:#f1f5f9 !important; }
[data-theme="nacht"] .ix-card       { background:#1e293b; border-color:rgba(255,255,255,.07); }
[data-theme="nacht"] .ix-card:hover { border-color:rgba(99,102,241,.4); box-shadow:0 2px 12px rgba(99,102,241,.1); }
[data-theme="nacht"] .ix-name       { color:#f1f5f9; }
[data-theme="nacht"] .ix-cnt        { color:#475569; }
[data-theme="nacht"] .ix-tag        { color:#a5b4fc; background:rgba(99,102,241,.18); }
[data-theme="nacht"] .ix-av-img     { background:#253347; border-color:rgba(255,255,255,.08); }
[data-theme="nacht"] .ix-fav        { color:#374151; }
[data-theme="nacht"] .ix-section-label { color:#374151; }
[data-theme="nacht"] .ix-section-more  { color:#818cf8; }
[data-theme="nacht"] .ix-head       { border-color:rgba(255,255,255,.08); }

/* ══════════════════════════════════════════════════════════
   ZENDERS PAGINA  –  header + lijst-weergave
   ══════════════════════════════════════════════════════════ */

/* Paginaheader */
.zenders-header {
    border-bottom: 1px solid var(--rl-border);
    padding-bottom: 1.25rem;
    margin-bottom: 1.5rem;
}
.zh-inner {
    display: flex; align-items: flex-start;
    justify-content: space-between; gap: 1rem;
    flex-wrap: wrap;
}
.zh-title {
    font-size: 1.7rem; font-weight: 800; letter-spacing: -.02em;
    color: #0f172a; margin-bottom: .2rem;
}
.zh-sub   { font-size: .85rem; color: #94a3b8; margin: 0; }
.zh-count { font-size: .85rem; font-weight: 600; color: #64748b; }

[data-theme="nacht"] .zenders-header { border-color: rgba(255,255,255,.08); }
[data-theme="nacht"] .zh-title       { color: #f1f5f9; }

/* Zoekbalk + view-toggle rij */
.zenders-search-row {
    display: flex; gap: .75rem; align-items: center;
}
.zenders-search-input-group { flex: 1; border-radius: 10px; overflow: hidden; }
.zenders-search-icon {
    background: #fff; border: 1.5px solid var(--rl-border);
    border-right: none; color: #94a3b8;
    border-radius: 10px 0 0 10px !important;
}
.zenders-search-field {
    border: 1.5px solid var(--rl-border); border-left: none; border-right: none;
    font-size: .95rem; padding: .65rem .75rem;
}
.zenders-search-field:focus { box-shadow: none; border-color: var(--rl-primary); }
.zenders-clear-btn {
    background: #fff; border: 1.5px solid var(--rl-border); border-left: none;
    color: #94a3b8; border-radius: 0 10px 10px 0 !important;
    padding: 0 .75rem;
}
.zenders-clear-btn:hover { color: #ef4444; }

/* View-toggle knoppen */
.view-toggle { flex-shrink: 0; }
.view-btn {
    background: #fff; border: 1.5px solid var(--rl-border); color: #94a3b8;
    padding: .5rem .75rem; font-size: .9rem;
    transition: background .12s, color .12s;
}
.view-btn.active { background: var(--rl-primary); border-color: var(--rl-primary); color: #fff; }
.view-btn:first-child { border-radius: 8px 0 0 8px !important; }
.view-btn:last-child  { border-radius: 0 8px 8px 0 !important; }

[data-theme="nacht"] .zenders-search-icon,
[data-theme="nacht"] .zenders-search-field,
[data-theme="nacht"] .zenders-clear-btn,
[data-theme="nacht"] .view-btn { background: #1e293b; border-color: rgba(255,255,255,.12); color: #94a3b8; }
[data-theme="nacht"] .zenders-search-field { color: #e2e8f0; }
[data-theme="nacht"] .view-btn.active { background: var(--rl-primary); border-color: var(--rl-primary); color: #fff; }

/* ── Lijst-weergave ── */
.zenders-list {
    background: #fff;
    border: 1px solid var(--rl-border);
    border-radius: var(--rl-radius);
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(0,0,0,.06);
}
.sl-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: .875rem 1.1rem;
    border-bottom: 1px solid var(--rl-border);
    transition: background .12s;
}
.sl-row:last-child { border-bottom: none; }
.sl-row:hover      { background: #f8fafc; }

.sl-avatar {
    width: 40px; height: 40px; border-radius: 10px; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    font-weight: 800; font-size: 1.1rem; color: #fff; overflow: hidden;
}
.sl-avatar-img { background: #f1f5f9; }
.sl-avatar-img img { width: 100%; height: 100%; object-fit: contain; padding: 4px; }

.sl-info   { flex: 1.5; min-width: 0; }
.sl-name   { font-weight: 700; font-size: .9rem; color: #0f172a; display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; }
.sl-cat    { display: inline-block; font-size: .68rem; color: #6366f1; background: #eef2ff;
             padding: .1rem .4rem; border-radius: 4px; font-weight: 600; cursor: pointer; margin-top: 2px; }
.sl-cat:hover { background: #6366f1; color: #fff; }

.sl-live-pill { display: inline-flex; align-items: center; gap: .3rem;
                font-size: .65rem; font-weight: 700; color: #dc2626;
                background: #fef2f2; border: 1px solid #fecaca;
                border-radius: 4px; padding: .1rem .35rem; }

.sl-desc   { flex: 2; font-size: .8rem; color: #64748b; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sl-count  { font-size: .8rem; color: #94a3b8; white-space: nowrap; text-align: right; min-width: 80px; }
.sl-actions { display: flex; align-items: center; gap: .5rem; flex-shrink: 0; }

[data-theme="nacht"] .zenders-list  { background: #1e293b; border-color: rgba(255,255,255,.08); }
[data-theme="nacht"] .sl-row        { border-color: rgba(255,255,255,.06); }
[data-theme="nacht"] .sl-row:hover  { background: rgba(255,255,255,.04); }
[data-theme="nacht"] .sl-name       { color: #f1f5f9; }
[data-theme="nacht"] .sl-desc       { color: #64748b; }
[data-theme="nacht"] .sl-cat        { color: #a5b4fc; background: rgba(99,102,241,.2); }

/* ══════════════════════════════════════════════════════════
   HEATMAP
   ══════════════════════════════════════════════════════════ */
.hm-container {
    display: flex;
    gap: 4px;
    align-items: flex-start;
}
.hm-day-labels {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding-top: 1px;
}
.hm-day-labels span {
    display: block;
    width: 18px;
    height: 13px;
    line-height: 13px;
    font-size: 9px;
    color: #94a3b8;
    text-align: right;
    font-weight: 500;
}
.hm-grid {
    display: grid;
    grid-template-rows: repeat(7, 13px);
    grid-auto-flow: column;
    grid-auto-columns: 13px;
    gap: 2px;
}
.hm-cell {
    width: 13px;
    height: 13px;
    border-radius: 2px;
    transition: transform .1s, opacity .1s;
}
.hm-cell.lv0 { background: #e2e8f0; }
.hm-cell.lv1 { background: #fca5a5; }
.hm-cell.lv2 { background: #fcd34d; }
.hm-cell.lv3 { background: #4ade80; }
.hm-cell[data-date] { cursor: pointer; }
.hm-cell[data-date]:hover { transform: scale(1.25); opacity: .9; }

.hm-legend {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-top: 6px;
    flex-wrap: wrap;
}
.hm-legend .hm-cell { flex-shrink: 0; }
.hm-leg-label {
    font-size: .72rem;
    color: #94a3b8;
    margin-right: 6px;
}

/* Dark theme overrides */
[data-theme="nacht"] .hm-cell.lv0 { background: #1e293b; }
[data-theme="nacht"] .hm-day-labels span { color: #475569; }

/* ══════════════════════════════════════════════════════════
   TIJDSTIP DEELLINK KNOP
   ══════════════════════════════════════════════════════════ */
.ts-share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border: 1px solid rgba(148,163,184,.35);
    border-radius: 5px;
    background: transparent;
    color: #94a3b8;
    font-size: .9rem;
    cursor: pointer;
    transition: color .15s, border-color .15s, background .15s;
    vertical-align: middle;
    padding: 0;
}
.ts-share-btn:hover { color: var(--rl-primary); border-color: var(--rl-primary); background: rgba(99,102,241,.08); }
.ts-share-btn.ts-copied { color: #4ade80; border-color: #4ade80; background: rgba(74,222,128,.08); }

/* ══════════════════════════════════════════════════════════
   LIVE / IN-PROGRESS OPNAME
   ══════════════════════════════════════════════════════════ */

/* Uur-knop die momenteel opneemt */
.hour-btn.live-recording {
    background: rgba(239,68,68,.12);
    border-color: #ef4444;
    color: #ef4444;
    position: relative;
}
.hour-btn.live-recording::after {
    content: '';
    position: absolute;
    top: 4px; right: 4px;
    width: 5px; height: 5px;
    border-radius: 50%;
    background: #ef4444;
    animation: live-pulse 1.2s ease-in-out infinite;
}
.hour-btn.live-recording.selected {
    background: #ef4444;
    color: #fff;
}
.hour-btn.live-recording.selected::after {
    background: #fff;
}

@keyframes live-pulse {
    0%, 100% { opacity: 1; transform: scale(1);   }
    50%       { opacity: .3; transform: scale(.6); }
}

/* Kleine pulserende stip (badge + banner) */
.live-dot-sm {
    display: inline-block;
    width: 7px; height: 7px;
    border-radius: 50%;
    background: #fff;
    animation: live-pulse 1.2s ease-in-out infinite;
    flex-shrink: 0;
}

/* Live-banner boven de speler */
.live-banner {
    background: #991b1b;
    border-bottom: 1px solid #7f1d1d;
    color: #fecaca;
}
.live-banner strong {
    color: #fff;
}
.live-banner .btn-outline-light {
    border-color: rgba(255,255,255,.5);
    color: #fff;
}
.live-banner .btn-outline-light:hover {
    background: rgba(255,255,255,.15);
}

/* ══════════════════════════════════════════════════════════
   CLIP IN VERWERKING
   ══════════════════════════════════════════════════════════ */

/* Actieve kaart: licht gekleurde achtergrond */
.clip-item--active {
    background: rgba(99,102,241,.05);
    border-radius: 6px;
}

/* Statusregel onder de naam */
.clip-status-line {
    display: block;
    font-size: .78rem;
    color: #818cf8;
    margin-top: 1px;
    animation: clip-text-pulse 2s ease-in-out infinite;
}

@keyframes clip-text-pulse {
    0%, 100% { opacity: 1; }
    50%       { opacity: .45; }
}

/* Voortgangsbalk onderaan de clip-info */
.clip-prog-track {
    height: 2px;
    background: #e2e8f0;
    border-radius: 2px;
    margin-top: 5px;
    overflow: hidden;
}

/* Indeterminate balk bij 'processing' */
.clip-prog-fill.processing {
    height: 100%;
    width: 40%;
    background: #818cf8;
    border-radius: 2px;
    animation: clip-prog-slide 1.4s ease-in-out infinite;
}

/* Knipperende balk bij 'pending' */
.clip-prog-fill.pending {
    height: 100%;
    width: 100%;
    background: #94a3b8;
    border-radius: 2px;
    animation: clip-prog-pending 1.8s ease-in-out infinite;
}

@keyframes clip-prog-slide {
    0%   { transform: translateX(-150%); }
    100% { transform: translateX(350%);  }
}

@keyframes clip-prog-pending {
    0%, 100% { opacity: .25; }
    50%      { opacity: .6;  }
}

[data-theme="nacht"] .clip-item--active  { background: rgba(99,102,241,.08); }
[data-theme="nacht"] .clip-prog-track    { background: #1e293b; }


/* ══════════════════════════════════════════════════════════
   MINI-PLAYER  — sticky bottom audio controls
   ══════════════════════════════════════════════════════════ */

.rmp {
    position: fixed; bottom: 0; left: 0; right: 0; z-index: 1040;
    background: rgba(8, 14, 28, 0.97);
    backdrop-filter: blur(18px) saturate(1.8);
    -webkit-backdrop-filter: blur(18px) saturate(1.8);
    border-top: 1px solid rgba(255,255,255,.09);
    box-shadow: 0 -4px 32px rgba(0,0,0,.55);
    padding: 0 1.25rem;
    transform: translateY(105%);
    transition: transform .3s cubic-bezier(.4,0,.2,1);
}
.rmp.rmp-visible { transform: translateY(0); }

.rmp-inner {
    display: flex; align-items: center; gap: 1rem;
    max-width: 1200px; margin: 0 auto; height: 72px;
}

/* ── Info (left) ── */
.rmp-info {
    display: flex; align-items: center; gap: .65rem;
    flex: 0 0 220px; min-width: 0;
}
.rmp-logo-wrap {
    width: 40px; height: 40px; border-radius: 8px;
    overflow: hidden; flex-shrink: 0;
    background: rgba(99,102,241,.15);
    display: flex; align-items: center; justify-content: center;
}
.rmp-logo-img { width: 100%; height: 100%; object-fit: cover; }
.rmp-logo-fb  { color: var(--rl-primary,#6366f1); font-size: 1.1rem; }
.rmp-meta     { min-width: 0; flex: 1; }
.rmp-station-name {
    font-size: .8rem; font-weight: 700; color: rgba(255,255,255,.9);
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.rmp-track-title {
    font-size: .7rem; color: rgba(255,255,255,.42);
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.rmp-expand-btn {
    color: rgba(255,255,255,.3); font-size: .82rem; text-decoration: none;
    padding: .3rem; flex-shrink: 0; border-radius: 6px;
    transition: color .15s, background .15s;
}
.rmp-expand-btn:hover { color: #fff; background: rgba(255,255,255,.08); }

/* ── Controls (center) ── */
.rmp-controls {
    flex: 1; display: flex; flex-direction: column;
    justify-content: center; gap: .22rem; min-width: 0;
}
.rmp-btns {
    display: flex; align-items: center; justify-content: center; gap: .35rem;
}
.rmp-btn {
    background: none; border: none; cursor: pointer;
    color: rgba(255,255,255,.6); border-radius: 6px;
    padding: .22rem .38rem; font-size: .9rem;
    display: flex; align-items: center; gap: .18rem;
    transition: color .15s, background .15s; line-height: 1;
}
.rmp-btn:hover { color: #fff; background: rgba(255,255,255,.1); }
.rmp-btn-lbl { font-size: .62rem; font-weight: 700; }
.rmp-play {
    width: 36px; height: 36px; border-radius: 50% !important;
    background: var(--rl-primary,#6366f1) !important;
    color: #fff !important; justify-content: center;
    padding: 0 !important; font-size: 1rem !important; flex-shrink: 0;
}
.rmp-play:hover { background: #4f46e5 !important; }

/* Progress bar */
.rmp-progress-row {
    display: flex; align-items: center; gap: .45rem;
}
.rmp-time {
    font-size: .68rem; font-family: monospace;
    color: rgba(255,255,255,.42); white-space: nowrap; min-width: 34px;
}
.rmp-time:last-child { text-align: right; }
.rmp-bar-wrap { flex: 1; }
.rmp-bar {
    width: 100%; height: 3px; cursor: pointer; outline: none;
    -webkit-appearance: none; appearance: none;
    border-radius: 2px; background: rgba(255,255,255,.18);
}
.rmp-bar::-webkit-slider-thumb {
    -webkit-appearance: none; width: 11px; height: 11px;
    border-radius: 50%; background: var(--rl-primary,#6366f1); cursor: pointer;
}
.rmp-bar::-moz-range-thumb {
    width: 11px; height: 11px; border-radius: 50%;
    background: var(--rl-primary,#6366f1); border: none; cursor: pointer;
}

/* ── Right side ── */
.rmp-right {
    display: flex; align-items: center; gap: .3rem; flex-shrink: 0;
}
.rmp-speed {
    background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.1);
    color: rgba(255,255,255,.65); font-size: .7rem;
    padding: .18rem .3rem; border-radius: 5px; cursor: pointer; max-width: 54px;
}
.rmp-speed:focus { outline: none; }
.rmp-speed option { background: #0f172a; }
.rmp-vol {
    width: 64px; height: 3px; cursor: pointer; outline: none;
    -webkit-appearance: none; appearance: none;
    border-radius: 2px; background: rgba(255,255,255,.18);
}
.rmp-vol::-webkit-slider-thumb {
    -webkit-appearance: none; width: 9px; height: 9px;
    border-radius: 50%; background: rgba(255,255,255,.65); cursor: pointer;
}
.rmp-vol::-moz-range-thumb {
    width: 9px; height: 9px; border-radius: 50%;
    background: rgba(255,255,255,.65); border: none; cursor: pointer;
}

/* Body padding so content isn't hidden behind mini-player */
body.rmp-active main.container { padding-bottom: 88px; }

/* ── Mobile ── */
@media (max-width: 768px) {
    .rmp-inner   { height: auto; padding: .55rem 0; flex-wrap: wrap; gap: .5rem; }
    .rmp-info    { flex: 1 1 auto; max-width: calc(100% - 72px); }
    .rmp-controls{ order: 3; flex: 1 1 100%; }
    .rmp-right   { order: 2; flex: 0 0 auto; }
    .rmp-speed, .rmp-vol, .rmp-vol-btn { display: none !important; }
    body.rmp-active main.container { padding-bottom: 118px; }
}
@media (max-width: 480px) {
    .rmp-expand-btn { display: none; }
}

/* ── Sitemelding (admin banner) ── */
.rl-announcement {
    color: #fff;
    padding: .55rem 0;
    font-size: .875rem;
    font-weight: 500;
    line-height: 1.4;
    /* Strak tegen de sticky navbar */
    margin-top: 0;
}

/* Kleuren per kleur-instelling */
.rl-ann-purple { background: linear-gradient(90deg, #6366f1, #7c3aed); }
.rl-ann-blue   { background: linear-gradient(90deg, #1d4ed8, #2563eb); }
.rl-ann-teal   { background: linear-gradient(90deg, #0f766e, #0d9488); }
.rl-ann-green  { background: linear-gradient(90deg, #15803d, #16a34a); }
.rl-ann-orange { background: linear-gradient(90deg, #b45309, #d97706); }
.rl-ann-yellow { background: linear-gradient(90deg, #a16207, #ca8a04); }
.rl-ann-red    { background: linear-gradient(90deg, #b91c1c, #dc2626); }
.rl-ann-pink   { background: linear-gradient(90deg, #be185d, #db2777); }
.rl-ann-dark   { background: linear-gradient(90deg, #0f172a, #1e293b); }


/* ── PWA: voorkom automatisch inzoomen op inputs in iOS ── */
@media (max-width: 991.98px) {
    input, select, textarea {
        font-size: 16px !important;
    }
}
