:root {
  --accent: #1db954;
  --bg0: #000000;
  --bg1: #0d0d0d;
  --bg2: #141414;
  --bg3: #1e1e1e;
  --bg4: #2a2a2a;
  --t1: #ffffff;
  --t2: #a0a0a0;
  --t3: #555555;
  --border: rgba(255,255,255,0.07);
  --sidebar-w: 260px;
  --player-h: 86px;
  --radius: 10px;
  --radius-lg: 14px;
  --glow: none;
  --theme-banner: none;
  --content-max: 1360px;
  --gutter: 28px;
  --gap-sm: 8px;
  --gap-md: 14px;
  --gap-lg: 24px;
}

/* ── THEMA: Carnaval ── */
[data-theme="carnaval"] {
  --accent:  #e91e8c;
  --bg0:     #1a0a2e;
  --bg1:     #220e3a;
  --bg2:     #2b1248;
  --bg3:     #361758;
  --bg4:     #431d6c;
  --t1:      #fff8ec;
  --t2:      #d9b8f0;
  --t3:      #8a6aa8;
  --border:  rgba(255,193,7,0.18);
  --glow:    0 0 24px rgba(233,30,140,0.3);
  --theme-banner: block;
}
/* Achtergrond die zacht overloopt van oranje (boven) naar blauw/paars (onder) */
[data-theme="carnaval"] body {
  background: linear-gradient(180deg, #ff8a3d 0%, #e91e8c 25%, #6a2c91 50%, #2d1660 75%, #1a0a2e 100%);
  background-attachment: fixed;
}
[data-theme="carnaval"] .sidebar       { background: rgba(26,10,46,0.55); backdrop-filter: blur(6px); border-right-color: var(--border); }
[data-theme="carnaval"] .content       { background: transparent; }
[data-theme="carnaval"] .player-bar    { background: rgba(26,10,46,0.7); backdrop-filter: blur(8px); box-shadow: 0 -2px 24px rgba(233,30,140,0.25); }
[data-theme="carnaval"] .sb-np-art     { box-shadow: var(--glow); }
[data-theme="carnaval"] .btn-accent    { background: linear-gradient(135deg,#ffc107,#e91e8c); box-shadow: 0 0 14px rgba(233,30,140,0.5); }
[data-theme="carnaval"] .track.playing { background: rgba(233,30,140,0.12); border-left: 3px solid var(--accent); }
[data-theme="carnaval"] .card, [data-theme="carnaval"] .settings-card,
[data-theme="carnaval"] .tracklist, [data-theme="carnaval"] .home-hero,
[data-theme="carnaval"] .home-totw     { background: rgba(43,18,72,0.55); backdrop-filter: blur(4px); }
[data-theme="carnaval"] #wkBanner      { display: flex; background: linear-gradient(90deg,#ffc107 0%,#e91e8c 50%,#7b2ff7 100%); }

/* Confetti laag — vallende stukjes papier */
#confettiLayer {
  position: fixed; inset: 0; pointer-events: none; z-index: 9999; overflow: hidden; display: none;
}
[data-theme="carnaval"] #confettiLayer { display: block; }
.confetti-piece {
  position: absolute; top: -20px; width: 9px; height: 14px; opacity: .85;
  animation: confettiFall linear infinite, confettiSway ease-in-out infinite;
  border-radius: 2px;
}
@keyframes confettiFall { to { transform: translateY(110vh); } }
@keyframes confettiSway { 0%,100% { margin-left: 0; } 50% { margin-left: 40px; } }

/* ── THEMA: Midnight Blue ── */
[data-theme="midnight"] {
  --accent:  #4f8ef7;
  --bg0:     #020408;
  --bg1:     #060c14;
  --bg2:     #0c1420;
  --bg3:     #111d2e;
  --bg4:     #1a2a40;
  --t1:      #e8f0ff;
  --t2:      #7090b8;
  --t3:      #3a5070;
  --border:  rgba(79,142,247,0.12);
  --glow:    0 0 24px rgba(79,142,247,0.2);
}
[data-theme="midnight"] .btn-accent  { box-shadow: 0 0 12px rgba(79,142,247,0.35); }
[data-theme="midnight"] .player-bar  { box-shadow: 0 -2px 20px rgba(79,142,247,0.15); }

/* ── THEMA: Forest ── */
[data-theme="forest"] {
  --accent:  #2ecc71;
  --bg0:     #010a04;
  --bg1:     #040f07;
  --bg2:     #08180c;
  --bg3:     #0e2214;
  --bg4:     #152e1c;
  --t1:      #e8ffee;
  --t2:      #6aaa80;
  --t3:      #2d5c3a;
  --border:  rgba(46,204,113,0.1);
  --glow:    0 0 20px rgba(46,204,113,0.18);
}

/* ── THEMA: Sunset ── */
[data-theme="sunset"] {
  --accent:  #e040fb;
  --bg0:     #0a0010;
  --bg1:     #100018;
  --bg2:     #180024;
  --bg3:     #22003a;
  --bg4:     #2e0050;
  --t1:      #fff0ff;
  --t2:      #b070cc;
  --t3:      #6a3080;
  --border:  rgba(224,64,251,0.12);
  --glow:    0 0 24px rgba(224,64,251,0.2);
}
[data-theme="sunset"] .player-bar { box-shadow: 0 -2px 20px rgba(224,64,251,0.18); }

/* ── THEMA: Neon ── */
[data-theme="neon"] {
  --accent:  #00ffe7;
  --bg0:     #000000;
  --bg1:     #050510;
  --bg2:     #0a0a1a;
  --bg3:     #101028;
  --bg4:     #181832;
  --t1:      #f0ffff;
  --t2:      #50d0c0;
  --t3:      #204040;
  --border:  rgba(0,255,231,0.12);
  --glow:    0 0 28px rgba(0,255,231,0.25);
}
[data-theme="neon"] .btn-accent    { box-shadow: 0 0 16px rgba(0,255,231,0.5); }
[data-theme="neon"] .player-bar    { box-shadow: 0 -2px 24px rgba(0,255,231,0.2); }
[data-theme="neon"] .sb-item.active::before { box-shadow: 2px 0 12px var(--accent); }

/* ── THEMA: Light ── */
[data-theme="light"] {
  --accent:  #1a73e8;
  --bg0:     #f5f5f5;
  --bg1:     #ffffff;
  --bg2:     #f0f0f0;
  --bg3:     #e8e8e8;
  --bg4:     #d8d8d8;
  --t1:      #1a1a1a;
  --t2:      #555555;
  --t3:      #999999;
  --border:  rgba(0,0,0,0.1);
  --glow:    none;
}
[data-theme="light"] .content::-webkit-scrollbar-thumb { background: #ccc; }

/* ── WK Banner ── */
#wkBanner {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(90deg, #c4001a 0%, #FF6600 40%, #FF6600 60%, #c4001a 100%);
  padding: 0 16px;
  height: 32px;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  letter-spacing: .3px;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}
#wkBanner::before {
  content: '';
  position: absolute; inset: 0;
  background: repeating-linear-gradient(90deg, transparent, transparent 40px, rgba(255,255,255,0.06) 40px, rgba(255,255,255,0.06) 41px);
}
#wkBanner .wk-flag  { font-size: 18px; }
#wkBanner .wk-text  { position: relative; }
#wkBanner .wk-score { background: rgba(0,0,0,0.25); border-radius: 4px; padding: 1px 8px; font-size: 12px; position: relative; }
.wk-ticker { overflow: hidden; flex: 1; max-width: 260px; }
.wk-ticker-inner { display: flex; gap: 32px; animation: wkTick 18s linear infinite; white-space: nowrap; position: relative; }
@keyframes wkTick { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ── Thema admin pills ── */
.theme-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px,1fr)); gap: 10px; }
.theme-pill { border-radius: 12px; overflow: hidden; cursor: pointer; border: 2px solid transparent; transition: border-color .15s, transform .15s; }
.theme-pill:hover { transform: translateY(-2px); }
.theme-pill.on { border-color: var(--accent); }
.theme-pill-preview { height: 64px; display: flex; align-items: flex-end; padding: 6px; position: relative; }
.theme-pill-dot { width: 14px; height: 14px; border-radius: 50%; border: 2px solid rgba(255,255,255,0.3); }
.theme-pill-name { font-size: 12px; font-weight: 600; padding: 6px 8px; background: var(--bg2); color: var(--t1); }
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { overflow-x: hidden; max-width: 100vw; }
body { font-family: var(--font-body, 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif); background: var(--bg0); color: var(--t1); height: 100vh; display: flex; flex-direction: column; overflow: hidden; overflow-x: hidden; max-width: 100vw; font-size: 14px; }

/* ── LAYOUT ── */
.app-shell { display: flex; flex: 1; overflow: hidden; }
.sidebar { width: var(--sidebar-w); background: var(--bg0); display: flex; flex-direction: column; flex-shrink: 0; border-right: 1px solid var(--border); overflow-y: auto; overflow-x: hidden; }
.sidebar::-webkit-scrollbar { width: 0; }
.content { flex: 1; overflow-y: auto; overflow-x: hidden; background: var(--bg1); max-width: 100%; }
.content::-webkit-scrollbar { width: 6px; }
.content::-webkit-scrollbar-thumb { background: var(--bg4); border-radius: 3px; }

/* ── SIDEBAR ── */
.sb-logo { padding: 20px 16px 12px; }
.sb-logo img { max-width: 180px; height: auto; display: block; }
.sb-copyright { padding: 4px 16px 14px; font-size: 10px; color: var(--t1); line-height: 1.5; }
.sb-nav { padding: 0 8px; }
.sb-item { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 6px; color: var(--t2); cursor: pointer; font-size: 13px; font-weight: 500; transition: color .15s, background .15s; position: relative; white-space: nowrap; }
.sb-item:hover { color: var(--t1); background: var(--bg3); }
.sb-item.active { color: var(--t1); background: var(--bg3); }
.sb-item svg { flex-shrink: 0; }
.sb-divider { border: none; border-top: 1px solid var(--border); margin: 10px 16px; }
.sb-section { font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: 1.5px; color: var(--t3); padding: 6px 18px; }
.sb-playlist { padding: 6px 18px; color: var(--t2); font-size: 12px; cursor: pointer; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; border-radius: 4px; }
.sb-playlist:hover { color: var(--t1); }
.sb-spotify-link { display: flex; align-items: center; gap: 8px; padding: 9px 10px; margin: 4px 8px 6px; border-radius: 6px; color: var(--t2); font-size: 13px; font-weight: 500; text-decoration: none; transition: color .15s, background .15s; }
.sb-spotify-link:hover { color: #1db954; background: var(--bg3); }
.sb-spotify-link svg { flex-shrink: 0; color: #1db954; }

@keyframes fadeUp { from{opacity:0;transform:translateY(3px)} to{opacity:1;transform:translateY(0)} }

/* ── LOADING SPINNER ── */
.loading-spinner { width: 32px; height: 32px; border: 3px solid var(--bg4); border-top-color: var(--accent); border-radius: 50%; margin: 100px auto; animation: spin .8s linear infinite; }

/* ── Skeleton loading ── */
@keyframes shimmer {
  0%   { background-position: -600px 0; }
  100% { background-position:  600px 0; }
}
.skel {
  background: linear-gradient(90deg, var(--bg2) 25%, var(--bg3) 50%, var(--bg2) 75%);
  background-size: 600px 100%;
  animation: shimmer 1.4s infinite linear;
  border-radius: 4px;
  flex-shrink: 0;
}
.skel-page       { padding: 20px 16px; }
.skel-title      { height: 28px; width: 55%; margin-bottom: 6px; }
.skel-sub        { height: 16px; width: 30%; margin-bottom: 28px; }
.skel-section    { height: 14px; width: 22%; margin-bottom: 16px; border-radius: 3px; }
/* Kaarten rij (artiesten) */
.skel-cards      { display: flex; gap: 12px; overflow: hidden; margin-bottom: 28px; }
.skel-card       { display: flex; flex-direction: column; gap: 8px; min-width: 110px; }
.skel-card-img   { height: 110px; width: 110px; border-radius: 10px; }
.skel-card-name  { height: 12px; width: 80%; }
.skel-card-sub   { height: 11px; width: 55%; }
/* Tracklist rijen */
.skel-tracklist  { display: flex; flex-direction: column; gap: 4px; margin-bottom: 8px; }
.skel-track      { display: flex; align-items: center; gap: 12px; padding: 8px 4px; }
.skel-track-num  { height: 12px; width: 14px; border-radius: 2px; }
.skel-track-img  { height: 44px; width: 44px; border-radius: 6px; }
.skel-track-info { display: flex; flex-direction: column; gap: 6px; flex: 1; min-width: 0; }
.skel-track-t    { height: 13px; width: 55%; max-width: 220px; }
.skel-track-a    { height: 11px; width: 35%; max-width: 140px; }
.skel-track-dur  { height: 12px; width: 30px; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ── PLAYER ── */
.player { height: var(--player-h); background: var(--bg1); border-top: 1px solid var(--border); display: flex; align-items: center; padding: 0 20px; gap: 16px; flex-shrink: 0; }
.pl-track { display: flex; align-items: center; gap: 12px; width: 260px; min-width: 0; }
.pl-thumb { width: 52px; height: 52px; border-radius: 4px; background: var(--bg3); flex-shrink: 0; overflow: hidden; display: flex; align-items: center; justify-content: center; color: var(--t3); }
.pl-thumb img { width: 100%; height: 100%; object-fit: cover; }
.pl-info { min-width: 0; }
.pl-name { font-size: 13px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pl-artist { font-size: 11px; color: var(--t2); margin-top: 2px; }
.pl-fav { background: none; border: none; color: var(--t3); cursor: pointer; font-size: 16px; padding: 0 6px; transition: color .15s; }
.pl-fav.on { color: var(--accent); }
.pl-center { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.pl-controls { display: flex; align-items: center; gap: 18px; }
.pl-btn { background: none; border: none; color: var(--t2); cursor: pointer; display: flex; align-items: center; justify-content: center; transition: color .15s; padding: 0; }
.pl-btn:hover { color: var(--t1); }
.pl-play { width: 34px; height: 34px; border-radius: 50%; background: var(--t1); color: var(--bg0); display: flex; align-items: center; justify-content: center; cursor: pointer; border: none; transition: transform .15s, background .15s; }
.pl-play:hover { transform: scale(1.06); background: var(--accent); }
.pl-progress { display: flex; align-items: center; gap: 8px; width: 100%; max-width: 480px; }
.pl-time { font-size: 10px; color: var(--t3); min-width: 32px; font-variant-numeric: tabular-nums; }
.pl-time:last-child { text-align: right; }
.pl-bar { flex: 1; height: 3px; background: var(--bg4); border-radius: 2px; cursor: pointer; position: relative; }
.pl-bar:hover { height: 5px; }
.pl-fill { height: 100%; background: var(--t2); border-radius: 2px; transition: background .15s; pointer-events: none; }
.pl-bar:hover .pl-fill { background: var(--accent); }
.pl-right { display: flex; align-items: center; gap: 10px; width: 220px; justify-content: flex-end; }
.pl-vol { width: 70px; height: 3px; background: var(--bg4); border-radius: 2px; cursor: pointer; position: relative; }
.pl-vol:hover { height: 5px; }
.pl-vol-fill { height: 100%; background: var(--t2); border-radius: 2px; width: 70%; pointer-events: none; }
.pl-vol:hover .pl-vol-fill { background: var(--accent); }
/* ── STREAMING BUTTONS ── */
/* ── SHARE BUTTON ── */
.share-btn { display: inline-flex; align-items: center; gap: 7px; padding: 8px 16px; border-radius: 50px; border: 1px solid var(--border); background: var(--bg3); color: var(--t1); cursor: pointer; font-family: var(--font-body, 'Inter', sans-serif); font-size: 13px; font-weight: 600; transition: all .15s; margin-top: 10px; }
.share-btn:hover { border-color: var(--accent); color: var(--accent); background: rgba(29,185,84,.08); }
.share-btn svg { flex-shrink: 0; }
.track-share { display: flex; align-items: center; }
.track-share-btn { background: none; border: none; color: var(--t2); cursor: pointer; padding: 4px 6px; border-radius: 6px; display: flex; transition: color .15s; }
.track-share-btn:hover { color: var(--accent); }
.track-vote-row { display: flex; align-items: center; gap: 6px; margin-top: 4px; flex-wrap: wrap; }
.deezer-embed { margin-top: 16px; border-radius: 10px; overflow: hidden; }
.deezer-embed iframe { border: none; border-radius: 10px; display: block; }

/* Track streaming icons (inline in tracklist) */
.track-stream { display: flex; align-items: center; gap: 4px; }
.track-stream a { display: flex; align-items: center; justify-content: center; width: 24px; height: 24px; border-radius: 50%; background: transparent; transition: background .15s; opacity: .55; }
.track-stream a:hover { opacity: 1; background: rgba(255,255,255,.08); }

.admin-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--bg4); cursor: pointer; transition: background .2s; border: 1px solid var(--t3); }
.admin-dot:hover { background: var(--accent); border-color: var(--accent); }
.pl-btn.repeat-on { color: var(--accent); }
.repeat-one-dot { position: absolute; bottom: -5px; left: 50%; transform: translateX(-50%); font-size: 8px; font-weight: 700; color: var(--accent); line-height: 1; pointer-events: none; }

/* ── QUEUE PANEL ── */
.queue-panel { position: fixed; bottom: calc(var(--player-h) + 8px); right: 16px; width: 320px; max-height: 420px; background: var(--bg2); border: 1px solid var(--border); border-radius: 12px; box-shadow: 0 8px 32px rgba(0,0,0,.6); display: none; flex-direction: column; overflow: hidden; z-index: 200; }
.queue-panel.show { display: flex; }
.queue-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px 10px; border-bottom: 1px solid var(--border); flex-shrink: 0; }
.queue-head h3 { font-family: var(--font-heading, 'Syne', system-ui, sans-serif); font-size: 14px; font-weight: 700; }
.queue-close { background: none; border: none; color: var(--t2); cursor: pointer; font-size: 18px; line-height: 1; padding: 0; }
.queue-close:hover { color: var(--t1); }
.queue-list { overflow-y: auto; flex: 1; padding: 6px 0; }
.queue-list::-webkit-scrollbar { width: 4px; }
.queue-list::-webkit-scrollbar-thumb { background: var(--bg4); border-radius: 2px; }
.queue-item { display: flex; align-items: center; gap: 10px; padding: 7px 14px; cursor: pointer; transition: background .12s; border-radius: 0; }
.queue-item:hover { background: rgba(255,255,255,.05); }
.queue-item.current { background: rgba(29,185,84,.08); }
.queue-item-num { font-size: 11px; color: var(--t3); width: 16px; text-align: center; flex-shrink: 0; }
.queue-item.current .queue-item-num { color: var(--accent); }
.queue-item-thumb { width: 36px; height: 36px; border-radius: 4px; overflow: hidden; background: var(--bg3); flex-shrink: 0; display: flex; align-items: center; justify-content: center; color: var(--t3); }
.queue-item-thumb img { width: 100%; height: 100%; object-fit: cover; }
.queue-item-info { flex: 1; min-width: 0; }
.queue-item-title { font-size: 12px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.queue-item.current .queue-item-title { color: var(--accent); }
.queue-item-artist { font-size: 11px; color: var(--t2); margin-top: 1px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ── CONTENT PAGES ── */
.page { padding: var(--gutter) clamp(20px, 4vw, 48px) 60px; max-width: var(--content-max); margin: 0 auto; display: none; }
.page.show { display: block; }
.page-title { font-family: var(--font-heading, 'Syne', system-ui, sans-serif); font-size: 30px; font-weight: 800; margin-bottom: 6px; letter-spacing: -.6px; }
.page-sub { color: var(--t2); font-size: 13px; margin-bottom: var(--gap-lg); }
.section-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: var(--gap-md); margin-top: 6px; }
.section-head h2 { font-family: var(--font-heading, 'Syne', system-ui, sans-serif); font-size: 18px; font-weight: 700; letter-spacing: -.2px; }
.see-all { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .8px; color: var(--t2); cursor: pointer; }
.see-all:hover { color: var(--t1); }

/* Cards: vast aantal kolommen i.p.v. auto-fill, zodat elke rij — vol of niet — altijd
   nette, gelijke kolombreedtes heeft en nooit scheef oogt t.o.v. de rij erboven. */
.cards { display: grid; grid-template-columns: repeat(6, 1fr); gap: var(--gap-md); margin-bottom: var(--gap-lg); }
.cards > * { min-width: 0; }
.card { background: var(--bg2); border: 1px solid var(--border); border-radius: var(--radius); padding: var(--gap-md); cursor: pointer; transition: background .2s, transform .15s; position: relative; }
.card:hover { background: var(--bg3); transform: translateY(-2px); }
.card:hover .card-play { opacity: 1; transform: translateY(0); }
.card-img { width: 100%; aspect-ratio: 1; border-radius: 7px; overflow: hidden; background: var(--bg3); display: flex; align-items: center; justify-content: center; color: var(--t3); margin-bottom: 10px; }
.card-img img { width: 100%; height: 100%; object-fit: cover; }
.card-img svg { width: 36px; height: 36px; }
.card-title { font-weight: 600; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card-sub { color: var(--t2); font-size: 11px; margin-top: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card-play { position: absolute; bottom: 40px; right: 14px; width: 38px; height: 38px; border-radius: 50%; background: var(--accent); display: flex; align-items: center; justify-content: center; opacity: 0; transform: translateY(8px); transition: opacity .2s, transform .2s; box-shadow: 0 4px 16px rgba(0,0,0,.5); border: none; cursor: pointer; }
.card-play svg { margin-left: 2px; }

/* Track list */
.tracklist { margin-bottom: 28px; }
.tracklist-head { display: grid; grid-template-columns: 32px 48px 1fr 140px 56px 44px 56px 36px; gap: 12px; padding: 6px 10px; border-bottom: 1px solid var(--border); margin-bottom: 4px; font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: .8px; color: var(--t3); }
.track { display: grid; grid-template-columns: 32px 48px 1fr 140px 56px 44px 56px 36px; gap: 12px; align-items: center; padding: 6px 10px; border-radius: 6px; cursor: pointer; transition: background .12s; }
/* Grid-items hebben standaard min-width:auto, niet 0 — daardoor kon een lange titel
   de hele rij (en zo de hele pagina) breder duwen dan het scherm. Dit was de oorzaak
   van het horizontaal kunnen scrollen op iPhone/iPad. */
.tracklist-head > *, .track > * { min-width: 0; }
.track:hover { background: rgba(255,255,255,.05); }
.track.playing { color: var(--accent); }
.track-num { font-size: 13px; color: var(--t2); text-align: center; }
.track-thumb { width: 48px; height: 48px; border-radius: 4px; overflow: hidden; background: var(--bg3); display: flex; align-items: center; justify-content: center; color: var(--t3); flex-shrink: 0; position: relative; }
.track-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.track-thumb-overlay { position: absolute; inset: 0; background: rgba(0,0,0,.55); display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity .15s; border-radius: 4px; }
.track-thumb-overlay svg { width: 20px; height: 20px; fill: #fff; }
.track:hover .track-thumb-overlay { opacity: 1; }
.track.playing .track-thumb-overlay { opacity: 1; background: rgba(0,0,0,.45); }
.track-title { font-size: 13px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; cursor: pointer; }
.track-title:hover { text-decoration: underline; }
.track-artist { font-size: 11px; color: var(--t2); margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.track-album { font-size: 12px; color: var(--t2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.track-dur { font-size: 12px; color: var(--t2); text-align: right; font-variant-numeric: tabular-nums; }
.track-fav { background: none; border: none; color: var(--t3); cursor: pointer; font-size: 15px; text-align: center; transition: color .15s; }
.track-fav.on, .track-fav:hover { color: var(--accent); }

/* Song detail */
.song-detail { display: flex; align-items: flex-start; gap: 28px; }
.sd-left { flex: 1; min-width: 0; }
/* ── Advertentie middenkolom ── */
.sd-middle { width: 300px; flex-shrink: 0; }
.sd-ad { display: block; border-radius: 14px; overflow: hidden; text-decoration: none; border: 1px solid var(--border); transition: opacity .15s, transform .15s; position: relative; background: var(--bg2); }
.sd-ad:hover { opacity: .92; transform: translateY(-2px); }
.sd-ad-img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; display: block; }
.sd-ad-label { position: absolute; top: 8px; left: 8px; background: rgba(0,0,0,.6); color: #fff; font-size: 9px; font-weight: 700; letter-spacing: .8px; text-transform: uppercase; padding: 3px 7px; border-radius: 4px; }
.sd-ad-body { padding: 12px 14px 14px; }
.sd-ad-title { font-size: 15px; font-weight: 700; color: var(--t1); margin-bottom: 4px; }
.sd-ad-sub { font-size: 13px; color: var(--t2); line-height: 1.4; }
.sd-ad-cta { display: inline-block; margin-top: 10px; padding: 7px 16px; background: var(--accent); color: #000; font-size: 12px; font-weight: 700; border-radius: 20px; }
/* Horizontale advertentie (zoek / bibliotheek / playlist pagina) */
.inline-ad { display: flex; align-items: stretch; gap: 0; border-radius: 14px; overflow: hidden; text-decoration: none; border: 1px solid var(--border); background: var(--bg2); margin-top: 32px; position: relative; transition: opacity .15s, transform .15s; max-width: 680px; }
.inline-ad:hover { opacity: .92; transform: translateY(-2px); }
.inline-ad-img-wrap { width: 200px; flex-shrink: 0; overflow: hidden; }
.inline-ad-img-wrap img { width: 100%; height: 100%; object-fit: cover; display: block; }
.inline-ad-body { flex: 1; padding: 20px 24px; display: flex; flex-direction: column; justify-content: center; }
.inline-ad-title { font-size: 18px; font-weight: 700; color: var(--t1); margin-bottom: 8px; }
.inline-ad-sub { font-size: 13px; color: var(--t2); line-height: 1.5; }
/* Admin preview vierkant */
.ad-preview-square { width: 150px; height: 150px; border-radius: 10px; overflow: hidden; border: 2px dashed var(--border); display: flex; align-items: center; justify-content: center; cursor: pointer; background: var(--bg3); transition: border-color .15s; }
.ad-preview-square:hover { border-color: var(--accent); }
.ad-preview-square img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sd-cover { width: 220px; height: 220px; border-radius: 10px; overflow: hidden; background: var(--bg3); display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-bottom: 18px; box-shadow: 0 8px 32px rgba(0,0,0,.5); }
.sd-cover img { width: 100%; height: 100%; object-fit: cover; }
.sd-title { font-family: var(--font-heading, 'Syne', system-ui, sans-serif); font-size: 26px; font-weight: 800; margin-bottom: 4px; letter-spacing: -.5px; }
.sd-artist { color: var(--accent); font-size: 14px; font-weight: 600; cursor: pointer; margin-bottom: 4px; }
.sd-artist:hover { text-decoration: underline; }
.sd-meta { color: var(--t2); font-size: 12px; margin-bottom: 18px; }
.sd-actions { display: flex; align-items: center; gap: 10px; margin-bottom: 24px; }
.sd-right { width: 250px; flex-shrink: 0; position: sticky; top: 0; }
.artist-card { background: var(--bg2); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); margin-bottom: 16px; }
.artist-card-img { width: 100%; aspect-ratio: 1; object-fit: cover; display: block; background: var(--bg3); }
.artist-card-body { padding: 12px; }
.artist-card-label { font-size: 9px; font-weight: 600; text-transform: uppercase; letter-spacing: 1.5px; color: var(--t3); margin-bottom: 5px; }
.artist-card-name { font-family: var(--font-heading, 'Syne', system-ui, sans-serif); font-size: 15px; font-weight: 700; cursor: pointer; margin-bottom: 5px; }
.artist-card-name:hover { text-decoration: underline; }
.artist-card-bio { font-size: 11px; color: var(--t2); line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.artist-card-genre { display: inline-block; background: var(--bg3); color: var(--t2); font-size: 10px; padding: 2px 8px; border-radius: 50px; margin-top: 8px; }
.more-label { font-family: var(--font-heading, 'Syne', system-ui, sans-serif); font-size: 13px; font-weight: 700; margin-bottom: 8px; color: var(--t1); }
.more-track { display: flex; align-items: center; gap: 10px; padding: 6px 8px; border-radius: 6px; cursor: pointer; transition: background .12s; }
.more-track:hover { background: rgba(255,255,255,.05); }
.more-thumb { width: 38px; height: 38px; border-radius: 4px; overflow: hidden; background: var(--bg3); flex-shrink: 0; display: flex; align-items: center; justify-content: center; color: var(--t3); }
.more-thumb img { width: 100%; height: 100%; object-fit: cover; }
.more-info { flex: 1; min-width: 0; }
.more-title { font-size: 12px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.more-album { font-size: 11px; color: var(--t2); }

/* Artist hero */
.artist-hero { display: flex; align-items: flex-end; gap: 24px; padding: 28px 32px 24px; background: linear-gradient(180deg, #1c2a1e 0%, var(--bg1) 100%); margin: -28px -32px 24px; }
.artist-hero-img { width: 160px; height: 160px; border-radius: var(--radius); overflow: hidden; background: var(--bg3); flex-shrink: 0; }
.artist-hero-img img { width: 100%; height: 100%; object-fit: cover; }
.artist-hero-info .label { font-size: 10px; text-transform: uppercase; letter-spacing: 1.5px; color: var(--t2); font-weight: 600; margin-bottom: 6px; }
.artist-hero-info h1 { font-family: var(--font-heading, 'Syne', system-ui, sans-serif); font-size: 32px; font-weight: 800; margin-bottom: 4px; letter-spacing: -1px; }
.artist-hero-info .genre { color: var(--t2); font-size: 13px; }

/* Playlist hero */
.playlist-hero { display: flex; align-items: flex-end; gap: 24px; padding: 28px 32px 24px; background: linear-gradient(180deg, #1a1a2e 0%, var(--bg1) 100%); margin: -28px -32px 24px; }
.playlist-hero-img { width: 160px; height: 160px; border-radius: var(--radius); overflow: hidden; background: var(--bg3); flex-shrink: 0; display: flex; align-items: center; justify-content: center; color: var(--t3); }
.playlist-hero-img img { width: 100%; height: 100%; object-fit: cover; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 6px; padding: 9px 22px; border-radius: 50px; border: none; cursor: pointer; font-family: var(--font-body, 'Inter', sans-serif); font-size: 13px; font-weight: 600; transition: all .15s; }
.btn-accent { background: var(--accent); color: #000; }
.btn-accent:hover { background: #1ed760; transform: scale(1.02); }
.btn-ghost { background: transparent; color: var(--t2); border: 1px solid var(--t3); }
.btn-ghost:hover { color: var(--t1); border-color: var(--t1); }
.btn-danger { background: rgba(231,76,60,.12); color: #e74c3c; border: 1px solid rgba(231,76,60,.25); padding: 6px 12px; border-radius: 6px; font-size: 12px; }
.btn-danger:hover { background: rgba(231,76,60,.22); }
.btn-sm { padding: 6px 14px; font-size: 12px; }
.btn-icon { width: 34px; height: 34px; border-radius: 50%; padding: 0; justify-content: center; }

/* ── HOME STATS BAR ── */
/* Vaste grid i.p.v. flex-wrap: elke statkaart is exact even breed,
   ongeacht of de inhoud "5" of "2 u 7 min" is — dit was de hoofdoorzaak
   van de scheve, asymmetrische rij in het oude ontwerp. */
.home-stats { display: grid; grid-template-columns: repeat(5, 1fr); gap: var(--gap-md); margin-bottom: var(--gap-lg); }
.home-stats > * { min-width: 0; }
.home-stat { background: var(--bg2); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px 18px; display: flex; align-items: center; gap: 12px; min-width: 0; }
.home-stat-icon { width: 38px; height: 38px; border-radius: 9px; background: rgba(255,255,255,.05); display: flex; align-items: center; justify-content: center; color: var(--accent); flex-shrink: 0; }
.home-stat-val { font-family: var(--font-heading, 'Syne', system-ui, sans-serif); font-size: 22px; font-weight: 800; line-height: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.home-stat-lbl { font-size: 11px; color: var(--t2); margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 900px) { .home-stats { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .home-stats { grid-template-columns: repeat(2, 1fr); } }

/* ── HOME HERO (now-playing suggestion) ── */
/* Hero blokken naast elkaar — vaste kolommen, tekst breekt af binnen kolom */
.home-heroes { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 24px; align-items: start; }
.home-heroes.single { grid-template-columns: 1fr; }
.home-hero,
.home-totw { border-radius: var(--radius-lg); padding: 14px; display: flex; align-items: flex-start; gap: 12px; cursor: pointer; transition: background .2s, transform .15s; overflow: hidden; width: 100%; box-sizing: border-box; border: 1px solid transparent; }
.home-hero:hover, .home-totw:hover { transform: translateY(-2px); }
.home-hero { background: linear-gradient(135deg,rgba(29,185,84,.12),rgba(29,185,84,.03)); border: 1px solid rgba(29,185,84,.15); }
.home-hero:hover { background: linear-gradient(135deg,rgba(29,185,84,.2),rgba(29,185,84,.06)); }
.home-totw { background: linear-gradient(135deg,rgba(255,180,0,.13),rgba(255,120,0,.04)); border: 1px solid rgba(255,160,0,.2); }
.home-totw:hover { background: linear-gradient(135deg,rgba(255,180,0,.2),rgba(255,120,0,.08)); }
.home-hero-cover,
.home-totw-cover { width: 52px; height: 52px; border-radius: 7px; overflow: hidden; background: var(--bg3); flex-shrink: 0; display: flex; align-items: center; justify-content: center; color: var(--t3); box-shadow: 0 3px 12px rgba(0,0,0,.4); }
.home-hero-cover img,
.home-totw-cover img { width: 100%; height: 100%; object-fit: cover; }
.home-hero-info,
.home-totw-info { flex: 1; min-width: 0; overflow: hidden; }
.home-hero-label { font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: 1.2px; color: var(--accent); margin-bottom: 3px; }
.home-totw-label { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.2px; color: #ffaa00; margin-bottom: 3px; }
.home-hero-title,
.home-totw-title { font-family: var(--font-heading,'Syne',system-ui,sans-serif); font-size: 13px; font-weight: 800; margin-bottom: 3px; letter-spacing: -.2px; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; word-break: break-word; }
.home-hero-sub,
.home-totw-sub { font-size: 11px; color: var(--t2); overflow: hidden; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; word-break: break-word; line-height: 1.4; }
.home-hero-btn { margin-left: auto; flex-shrink: 0; width: 36px; height: 36px; border-radius: 50%; background: var(--accent); border: none; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: transform .15s; align-self: center; }
.home-hero-btn:hover { transform: scale(1.1); }
@media (max-width: 700px) { .home-heroes { grid-template-columns: 1fr; } }

/* ── QUICK-PLAY ROW ── */


















/* ── QUICK-PLAY ROW ── */
.quickplay { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 8px; margin-bottom: 28px; }
.qp-item { display: flex; align-items: center; gap: 12px; background: var(--bg2); border-radius: 6px; overflow: hidden; cursor: pointer; transition: background .15s; position: relative; }
.qp-item:hover { background: var(--bg4); }
.qp-item:hover .qp-play { opacity: 1; }
.qp-thumb { width: 52px; height: 52px; flex-shrink: 0; overflow: hidden; background: var(--bg3); display: flex; align-items: center; justify-content: center; color: var(--t3); }
.qp-thumb img { width: 100%; height: 100%; object-fit: cover; }
.qp-info { min-width: 0; flex: 1; padding-right: 8px; }
.qp-title { font-size: 13px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.qp-sub { font-size: 11px; color: var(--t2); margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.qp-play { position: absolute; right: 10px; width: 32px; height: 32px; border-radius: 50%; background: var(--accent); border: none; cursor: pointer; display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity .15s; box-shadow: 0 2px 12px rgba(0,0,0,.4); }

/* Empty state */
.empty { text-align: center; padding: 60px 20px; color: var(--t2); }
.empty svg { margin-bottom: 16px; opacity: .3; }
.empty h2 { font-family: var(--font-heading, 'Syne', system-ui, sans-serif); font-size: 20px; color: var(--t1); margin-bottom: 8px; }
.empty p { font-size: 13px; }

/* ── TOGGLE SWITCH ── */
.toggle-wrap { position: relative; display: inline-block; }
.toggle-input { opacity: 0; width: 0; height: 0; position: absolute; }
.toggle-label { display: block; width: 42px; height: 24px; background: var(--bg4); border-radius: 12px; cursor: pointer; transition: background .2s; position: relative; }
.toggle-label::after { content: ''; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: transform .2s; }
.toggle-input:checked + .toggle-label { background: var(--accent); }
.toggle-input:checked + .toggle-label::after { transform: translateX(18px); }

/* ── INSTALL BANNER ── */
#installBanner { position: fixed; bottom: calc(var(--player-h) + 10px); left: 50%; transform: translateX(-50%); width: calc(100% - 32px); max-width: 480px; background: var(--bg2); border: 1px solid var(--border); border-radius: 14px; box-shadow: 0 8px 32px rgba(0,0,0,.6); padding: 14px 16px; display: none; align-items: center; gap: 12px; z-index: 500; animation: slideUp .35s ease; }
#installBanner.show { display: flex; }
.install-icon { width: 44px; height: 44px; border-radius: 10px; overflow: hidden; flex-shrink: 0; background: var(--bg3); display: flex; align-items: center; justify-content: center; }
.install-icon img { width: 100%; height: 100%; object-fit: cover; }
.install-text { flex: 1; min-width: 0; font-size: 13px; color: var(--t1); line-height: 1.4; }
.install-text small { font-size: 11px; color: var(--t3); display: block; margin-top: 2px; }
.install-actions { display: flex; flex-direction: column; gap: 6px; flex-shrink: 0; }
.install-btn { background: var(--accent); color: #000; border: none; border-radius: 20px; padding: 7px 14px; font-size: 12px; font-weight: 700; cursor: pointer; white-space: nowrap; transition: opacity .15s; }
.install-btn:hover { opacity: .85; }
.install-dismiss { background: none; border: none; color: var(--t3); font-size: 11px; cursor: pointer; text-align: center; padding: 2px; }
.install-dismiss:hover { color: var(--t2); }
@keyframes slideUp { from { transform: translateX(-50%) translateY(20px); opacity:0; } to { transform: translateX(-50%) translateY(0); opacity:1; } }
.show-more-row { display: flex; justify-content: center; padding: 14px 0 6px; }
.show-more-btn { display: flex; align-items: center; gap: 6px; background: var(--bg2); border: 1px solid var(--border); color: var(--t2); font-size: 13px; font-weight: 500; padding: 9px 22px; border-radius: 20px; cursor: pointer; transition: all .15s; }
.show-more-btn:hover { background: var(--bg3); color: var(--t1); border-color: var(--t2); }
.song-pagination { display: flex; align-items: center; justify-content: center; gap: 16px; padding: 18px 0 8px; }
.page-btn { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; background: var(--bg2); border: 1px solid var(--border); color: var(--t1); cursor: pointer; transition: background .15s, opacity .15s; }
.page-btn:hover:not(:disabled) { background: var(--bg3); border-color: var(--t2); }
.page-btn:disabled { opacity: .3; cursor: default; }
.page-label { font-size: 13px; font-weight: 600; color: var(--t2); min-width: 52px; text-align: center; }
/* ── Font kiezer ── */
.font-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 8px; }
.font-pill { border: 1px solid var(--border); border-radius: 8px; padding: 10px 12px; cursor: pointer; background: var(--bg3); transition: border-color .15s, background .15s; }
.font-pill:hover { background: var(--bg4); }
.font-pill.on { border-color: var(--accent); background: var(--bg4); }
.font-pill-name { font-size: 13px; font-weight: 600; color: var(--t1); margin-bottom: 2px; }
.font-pill-preview { font-size: 12px; color: var(--t2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ── RECENT HISTORY ── */
.recent-track { display: flex; align-items: center; gap: 12px; padding: 7px 10px; border-radius: 6px; cursor: pointer; transition: background .12s; }
.recent-track:hover { background: rgba(255,255,255,.05); }
.recent-thumb { width: 42px; height: 42px; border-radius: 4px; overflow: hidden; background: var(--bg3); flex-shrink: 0; display: flex; align-items: center; justify-content: center; color: var(--t3); }
.recent-thumb img { width: 100%; height: 100%; object-fit: cover; }
.recent-info { flex: 1; min-width: 0; }
.recent-title { font-size: 13px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.recent-artist { font-size: 11px; color: var(--t2); margin-top: 2px; }
.recent-play { margin-left: auto; width: 30px; height: 30px; border-radius: 50%; background: var(--accent); border: none; cursor: pointer; display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity .15s; flex-shrink: 0; }
.recent-track:hover .recent-play { opacity: 1; }

/* ── GENRE FILTER ── */
.genre-filter { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 16px; }
.genre-btn { padding: 5px 14px; border-radius: 50px; border: 1px solid var(--border); background: var(--bg2); color: var(--t2); font-size: 12px; font-weight: 500; cursor: pointer; transition: all .15s; white-space: nowrap; }
.genre-btn:hover { border-color: var(--t2); color: var(--t1); }
.genre-btn.active { background: var(--accent); border-color: var(--accent); color: #000; font-weight: 600; }

/* ── SHUFFLE BUTTON ── */
.pl-btn.shuffle-on { color: var(--accent); }

/* ── SEARCH SUGGESTIONS ── */
.search-suggestions { margin-top: 8px; }

/* ── FAVORIETEN BADGE ── */
.sb-fav-count { margin-left: auto; background: var(--accent); color: #000; font-size: 10px; font-weight: 700; padding: 1px 6px; border-radius: 10px; min-width: 18px; text-align: center; display: none; }
.sb-fav-count.show { display: inline-block; }

/* ── SLAAPTIMER ── */
.sleep-timer-wrap { position: relative; }
.sleep-timer-menu { position: absolute; bottom: calc(100% + 8px); right: 0; background: var(--bg2); border: 1px solid var(--border); border-radius: 10px; padding: 6px; box-shadow: 0 8px 24px rgba(0,0,0,.5); display: none; flex-direction: column; gap: 2px; z-index: 300; min-width: 160px; }
.sleep-timer-menu.show { display: flex; }
.sleep-option { padding: 8px 14px; font-size: 12px; color: var(--t2); cursor: pointer; border-radius: 6px; transition: background .12s, color .12s; white-space: nowrap; }
.sleep-option:hover { background: var(--bg3); color: var(--t1); }
.sleep-option.active { color: var(--accent); font-weight: 600; }
.pl-sleep-btn { background: none; border: none; color: var(--t3); cursor: pointer; display: flex; align-items: center; gap: 4px; font-size: 11px; font-weight: 500; padding: 0 4px; transition: color .15s; white-space: nowrap; }
.pl-sleep-btn:hover { color: var(--accent); }
.pl-sleep-btn.active { color: var(--accent); }

/* ── DYNAMISCHE ACHTERGROND ── */
#dynBg { position: fixed; inset: 0; z-index: 0; pointer-events: none; transition: background 1.2s ease; background: transparent; }
.app-shell, .sidebar, .content, .player { position: relative; z-index: 1; }
.search-suggest-label { font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: 1.5px; color: var(--t3); margin-bottom: 10px; }
.suggest-genres { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 24px; }
.suggest-genre-pill { padding: 10px 20px; border-radius: 6px; font-size: 13px; font-weight: 600; cursor: pointer; transition: opacity .15s; color: #fff; }
.suggest-genre-pill:hover { opacity: .85; }

/* Search */
.search-input-wrap { display: flex; align-items: center; gap: 10px; background: var(--bg3); border-radius: var(--radius); padding: 10px 14px; max-width: 480px; margin-bottom: 24px; border: 1px solid var(--border); }
.search-input-wrap:focus-within { border-color: var(--accent); }
.search-input-wrap input { background: none; border: none; color: var(--t1); font-size: 14px; outline: none; flex: 1; font-family: var(--font-body, 'Inter', sans-serif); }
.search-input-wrap svg { color: var(--t3); flex-shrink: 0; }

/* ── ADMIN ── */
#adminView { display: none; flex-direction: column; height: 100vh; }
#adminView.show { display: flex; }
.admin-head { background: var(--bg0); border-bottom: 1px solid var(--border); padding: 0 24px; height: 54px; display: flex; align-items: center; justify-content: space-between; flex-shrink: 0; }
.admin-head-logo { height: 30px; width: auto; }
.admin-badge { background: rgba(29,185,84,.15); color: var(--accent); font-size: 11px; font-weight: 600; padding: 2px 8px; border-radius: 4px; margin-left: 8px; }
.admin-body { display: flex; flex: 1; overflow: hidden; }
.admin-sidebar { width: 190px; background: var(--bg1); border-right: 1px solid var(--border); padding: 16px 0; flex-shrink: 0; }
.admin-nav-item { display: flex; align-items: center; gap: 8px; padding: 8px 16px; color: var(--t2); cursor: pointer; font-size: 13px; font-weight: 500; border-radius: 0; transition: all .15s; }
.admin-nav-item:hover { color: var(--t1); background: var(--bg2); }
.admin-nav-item.active { color: var(--accent); background: rgba(29,185,84,.08); }
.admin-content { flex: 1; overflow-y: auto; padding: 28px; }
.admin-content::-webkit-scrollbar { width: 6px; }
.admin-content::-webkit-scrollbar-thumb { background: var(--bg4); border-radius: 3px; }
.admin-page { display: none; }
.admin-page.show { display: block; }
.admin-page-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.admin-page-head h2 { font-family: var(--font-heading, 'Syne', system-ui, sans-serif); font-size: 22px; font-weight: 700; }
.stats-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 12px; margin-bottom: 24px; }
.stat { background: var(--bg2); border-radius: var(--radius); padding: 16px; border: 1px solid var(--border); }
.stat-num { font-family: var(--font-heading, 'Syne', system-ui, sans-serif); font-size: 28px; font-weight: 800; color: var(--accent); }
.stat-label { color: var(--t2); font-size: 11px; margin-top: 3px; }
.tbl { width: 100%; border-collapse: collapse; }
.tbl th { text-align: left; padding: 8px 12px; font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: .8px; color: var(--t3); border-bottom: 1px solid var(--border); }
.tbl td { padding: 10px 12px; border-bottom: 1px solid rgba(255,255,255,.03); font-size: 13px; vertical-align: middle; }
.tbl tr:hover td { background: rgba(255,255,255,.02); }
.tbl-thumb { width: 40px; height: 40px; border-radius: 4px; overflow: hidden; background: var(--bg3); display: flex; align-items: center; justify-content: center; color: var(--t3); flex-shrink: 0; }
.tbl-thumb img { width: 100%; height: 100%; object-fit: cover; }
.badge { display: inline-block; font-size: 10px; font-weight: 600; padding: 2px 7px; border-radius: 4px; }
.badge-green { background: rgba(29,185,84,.15); color: var(--accent); }
.badge-blue  { background: rgba(52,152,219,.15); color: #3498db; }
.badge-orange{ background: rgba(243,156,18,.15); color: #f39c12; }
.row-actions { display: flex; gap: 6px; }
.btn-edit-sm { background: var(--bg3); color: var(--t2); border: 1px solid var(--border); padding: 5px 10px; border-radius: 5px; cursor: pointer; font-size: 11px; transition: all .15s; }
.btn-edit-sm:hover { color: var(--t1); background: var(--bg4); }
.search-filter { display: flex; align-items: center; gap: 8px; background: var(--bg3); border-radius: 6px; padding: 7px 12px; margin-bottom: 16px; border: 1px solid var(--border); max-width: 360px; }
.search-filter input { background: none; border: none; color: var(--t1); font-size: 13px; outline: none; flex: 1; font-family: var(--font-body, 'Inter', sans-serif); }

/* Modal */
.overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,.75); z-index: 900; align-items: center; justify-content: center; }
.overlay.open { display: flex; }
.modal { background: var(--bg2); border: 1px solid var(--border); border-radius: 14px; padding: 24px; width: 500px; max-width: 95vw; max-height: 88vh; overflow-y: auto; }
.modal::-webkit-scrollbar { width: 4px; }
.modal::-webkit-scrollbar-thumb { background: var(--bg4); border-radius: 2px; }
.modal h3 { font-family: var(--font-heading, 'Syne', system-ui, sans-serif); font-size: 18px; font-weight: 700; margin-bottom: 20px; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 11px; font-weight: 600; color: var(--t2); text-transform: uppercase; letter-spacing: .5px; margin-bottom: 5px; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; background: var(--bg3); border: 1px solid var(--border); color: var(--t1);
  padding: 9px 12px; border-radius: 7px; font-family: var(--font-body, 'Inter', sans-serif); font-size: 13px;
  outline: none; transition: border-color .2s;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--accent); }
.form-group textarea { resize: vertical; min-height: 70px; }
.form-group select option { background: var(--bg3); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.img-drop { width: 100%; height: 100px; border: 2px dashed var(--border); border-radius: 8px; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 6px; color: var(--t3); cursor: pointer; transition: border-color .2s; font-size: 12px; overflow: hidden; margin-bottom: 8px; }
.img-drop:hover { border-color: var(--accent); color: var(--accent); }
.img-drop img { width: 100%; height: 100%; object-fit: cover; }
.upload-area { background: var(--bg3); border: 2px dashed var(--border); border-radius: 8px; padding: 16px; text-align: center; cursor: pointer; transition: border-color .2s; }
.upload-area:hover { border-color: var(--accent); }
.upload-area p { color: var(--t2); font-size: 12px; }
.upload-area span { color: var(--accent); font-weight: 500; }
.upload-fname { color: var(--accent); font-size: 11px; margin-top: 6px; }
.modal-footer { display: flex; gap: 8px; justify-content: flex-end; margin-top: 20px; }
.song-checks { max-height: 180px; overflow-y: auto; background: var(--bg3); border-radius: 7px; padding: 10px; border: 1px solid var(--border); }
.song-checks::-webkit-scrollbar { width: 4px; }
.song-checks::-webkit-scrollbar-thumb { background: var(--bg4); border-radius: 2px; }
.check-item { display: flex; align-items: center; gap: 8px; padding: 5px 0; cursor: pointer; font-size: 12px; color: var(--t2); }
.check-item:hover { color: var(--t1); }
.check-item input { accent-color: var(--accent); flex-shrink: 0; }
.settings-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; max-width: 760px; }
.settings-card { background: var(--bg2); border-radius: var(--radius); padding: 18px; border: 1px solid var(--border); }
.settings-card h3 { font-size: 14px; font-weight: 600; margin-bottom: 14px; }
.color-swatches { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.swatch { width: 28px; height: 28px; border-radius: 50%; cursor: pointer; border: 3px solid transparent; transition: transform .15s; }
.swatch:hover { transform: scale(1.15); }
.swatch.on { border-color: white; }
.form-err { color: #e74c3c; font-size: 11px; min-height: 16px; margin-bottom: 4px; }
.login-wrap { height: 100vh; display: flex; align-items: center; justify-content: center; background: radial-gradient(ellipse at 50% 30%, #1a3d24 0%, #000 70%); }
.login-box { background: var(--bg2); border: 1px solid var(--border); border-radius: 14px; padding: 36px 32px; width: 360px; text-align: center; }
.login-box img { height: 60px; width: auto; margin-bottom: 20px; }
.login-box p { color: var(--t2); font-size: 13px; margin-bottom: 20px; }
.login-box input { width: 100%; background: var(--bg3); border: 1px solid var(--border); color: var(--t1); padding: 10px 12px; border-radius: 8px; font-family: var(--font-body, 'Inter', sans-serif); font-size: 14px; margin-bottom: 10px; outline: none; transition: border-color .2s; }
.login-box input:focus { border-color: var(--accent); }
.toast { position: fixed; bottom: 100px; left: 50%; transform: translateX(-50%); background: var(--bg3); color: var(--t1); padding: 10px 20px; border-radius: 8px; font-size: 13px; z-index: 9999; opacity: 0; transition: opacity .3s; border: 1px solid var(--border); pointer-events: none; white-space: nowrap; }
.toast.show { opacity: 1; }
.top-back { margin-bottom: 16px; }

/* ═══════════════════════════════════════════════
   RESPONSIVE — tablet & mobile
   ═══════════════════════════════════════════════ */

/* Hamburger button (mobile only) */
.hamburger {
  display: none;
  background: none;
  border: none;
  color: var(--t1);
  cursor: pointer;
  padding: 8px;
  border-radius: 6px;
  transition: background .15s;
}
.hamburger:hover { background: var(--bg3); }
.mobile-home-btn {
  display: flex;
  align-items: center;
  gap: 5px;
  background: var(--bg3);
  border: 1px solid var(--border);
  color: var(--t2);
  font-family: var(--font-body, 'Inter', sans-serif);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .5px;
  padding: 6px 11px;
  border-radius: 20px;
  cursor: pointer;
  transition: background .15s, color .15s;
  white-space: nowrap;
}
.mobile-home-btn:hover, .mobile-home-btn:active { background: var(--bg4); color: var(--t1); }

/* Sidebar overlay for mobile */
.sb-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.6);
  z-index: 98;
}
.sb-overlay.show { display: block; }

/* Mobile top bar */
.mobile-topbar {
  display: none;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  height: 52px;
  background: var(--bg0);
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}
.mobile-topbar img { height: 32px; width: auto; }

/* ── TABLET (≤900px) ── */
@media (max-width: 900px) {
  .mobile-topbar { height: 60px; }
  .mobile-topbar img { height: 44px; }
  :root { --sidebar-w: 220px; }
  .page { padding: 20px 20px; }
  .cards { grid-template-columns: repeat(4, 1fr); gap: 10px; }
  .tracklist-head { grid-template-columns: 28px 44px 1fr 60px 56px 36px; }
  .tracklist-head span:nth-child(4) { display: none; }
  .track { grid-template-columns: 28px 44px 1fr 60px 56px 36px; }
  .track-album { display: none; }
  .song-detail { flex-direction: column; }
  .sd-middle { width: 100%; order: 3; }
  .sd-right { width: 100%; position: static; }
  .sd-cover { width: 180px; height: 180px; }
  .stats-grid { grid-template-columns: repeat(2,1fr); }
  .settings-grid { grid-template-columns: 1fr; }
  .artist-hero { padding: 20px 20px 18px; }
  .artist-hero-img { width: 120px; height: 120px; }
  .artist-hero-info h1 { font-size: 24px; }
  .playlist-hero { padding: 20px 20px 18px; }
  .playlist-hero-img { width: 120px; height: 120px; }
}

/* ── MOBILE (≤620px) ── */
@media (max-width: 620px) {
  /* Show mobile topbar, hide sidebar by default */
  .mobile-topbar { display: flex; height: 64px; }
  .mobile-topbar img { height: 50px; }

  /* Sidebar becomes a slide-in drawer */
  .sidebar {
    position: fixed;
    left: -280px;
    top: 0;
    bottom: 0;
    width: 260px !important;
    z-index: 99;
    transition: left .28s cubic-bezier(.4,0,.2,1);
    box-shadow: 4px 0 24px rgba(0,0,0,.5);
  }
  .sidebar.open { left: 0; }

  /* Hide sidebar logo/copyright (shown in topbar) */
  .sb-logo, .sb-copyright { display: none; }

  /* Content takes full width */
  .app-shell { flex-direction: column; }
  .content { width: 100%; }

  /* Page padding tighter */
  .page { padding: 16px 14px; }
  .page-title { font-size: 22px; }

  /* Cards: 2 columns on mobile */
  .cards { grid-template-columns: repeat(2,1fr); gap: 10px; }
  .card { padding: 10px; }
  .card-title { font-size: 12px; }
  .card-sub { font-size: 10px; }
  .card-play { width: 32px; height: 32px; bottom: 36px; right: 10px; }

  /* Track list: simplified */
  .tracklist-head {
    grid-template-columns: 44px 1fr 32px 36px;
    gap: 8px;
  }
  .tracklist-head span:nth-child(1),
  .tracklist-head span:nth-child(4),
  .tracklist-head span:nth-child(5),
  .tracklist-head span:nth-child(6) { display: none; }
  .tracklist-head span:nth-child(2) { display: none; }
  .track {
    grid-template-columns: 44px 1fr 32px 36px;
    gap: 10px;
    padding: 6px 6px;
  }
  .track-num { display: none; }
  .track-album { display: none; }
  .track-dur { display: none; }
  .track-plays { display: none; }
  .track-thumb { width: 44px; height: 44px; }
  .track-share-btn { padding: 4px; }  /* share-knop zichtbaar houden op smal scherm */

  /* Song detail stacked */
  .song-detail { flex-direction: column; gap: 0; }
  .sd-left { width: 100%; }
  .sd-right { width: 100%; position: static; margin-top: 24px; }
  .sd-cover { width: 160px; height: 160px; margin: 0 auto 16px; display: flex; }
  .sd-title { font-size: 20px; text-align: center; }
  .sd-artist { text-align: center; }
  .sd-meta { text-align: center; }
  .sd-actions { justify-content: center; }

  /* Artist/Playlist hero stacked */
  .artist-hero, .playlist-hero {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px 14px 16px;
    margin: -16px -14px 20px;
    gap: 14px;
  }
  .artist-hero-img, .playlist-hero-img { width: 130px; height: 130px; }
  .artist-hero-info h1 { font-size: 22px; }

  /* Player compact */
  .player { padding: 0 10px; gap: 6px; height: 76px; }
  .pl-track { width: auto; flex: 0 1 40%; min-width: 0; }
  .pl-name { font-size: 12px; }
  .pl-artist { font-size: 10px; }
  .pl-thumb { width: 40px; height: 40px; }
  .pl-fav { display: none; }
  /* Compact progress bar on mobile — hide time labels, keep slim bar */
  .pl-progress { max-width: none; gap: 0; }
  .pl-time { display: none; }
  .pl-center { flex: 1; min-width: 0; gap: 4px; justify-content: center; }
  .pl-controls { gap: 10px; }
  .pl-right { width: auto; flex-shrink: 0; gap: 6px; }
  .pl-vol { display: none; }
  .pl-right svg { display: none; }
  .admin-dot { width: 10px; height: 10px; }

  /* Admin responsive */
  .admin-body { flex-direction: column; }
  .admin-sidebar {
    width: 100% !important;
    display: flex;
    flex-direction: row;
    overflow-x: auto;
    border-right: none;
    border-bottom: 1px solid var(--border);
    padding: 6px 8px;
    gap: 4px;
  }
  .admin-nav-item { padding: 7px 12px; border-radius: 50px; white-space: nowrap; font-size: 12px; }
  .admin-nav-item svg { display: none; }
  .admin-content { padding: 16px; }
  .admin-page-head h2 { font-size: 18px; }
  .stats-grid { grid-template-columns: repeat(2,1fr); gap: 8px; }
  .stat-num { font-size: 22px; }
  .tbl th:nth-child(4), .tbl td:nth-child(4) { display: none; }
  .settings-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .modal { padding: 18px 16px; border-radius: 12px 12px 0 0; align-self: flex-end; width: 100%; max-width: 100%; }
  .overlay { align-items: flex-end; }

  /* Search */
  .search-input-wrap { max-width: 100%; }

  /* Login */
  .login-box { width: 90vw; padding: 24px 20px; }
}

/* ── NOW PLAYING SIDEBAR CARD ── */
.sb-nowplaying { margin: 8px 10px; border-radius: 10px; overflow: hidden; background: var(--bg2); border: 1px solid var(--border); display: none; }
.sb-nowplaying.show { display: block; }
.sb-nowplaying-art { width: 100%; aspect-ratio: 1/1; background: var(--bg3); position: relative; overflow: hidden; cursor: pointer; }
.sb-nowplaying-art img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sb-nowplaying-art-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; color: var(--t3); }
.sb-nowplaying-overlay { position: absolute; bottom: 0; left: 0; right: 0; padding: 10px 12px; background: linear-gradient(transparent, rgba(0,0,0,.85)); }
.sb-nowplaying-title { font-size: 13px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: #fff; }
.sb-nowplaying-artist { font-size: 11px; color: rgba(255,255,255,.65); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 2px; }
.sb-nowplaying-bar { height: 3px; background: rgba(255,255,255,.15); }
.sb-nowplaying-bar-fill { height: 100%; background: var(--accent); width: 0%; transition: width .5s linear; }
.sb-nowplaying-controls { display: flex; align-items: center; justify-content: space-between; padding: 8px 10px; }
.sb-np-btn { background: none; border: none; color: var(--t2); cursor: pointer; padding: 4px; border-radius: 50%; display: flex; transition: color .15s; }
.sb-np-btn:hover { color: var(--t1); }
.sb-np-play { width: 32px; height: 32px; border-radius: 50%; background: var(--accent); color: #000; border: none; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: transform .15s; }
.sb-np-play:hover { transform: scale(1.08); }
.sb-np-label { font-size: 9px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; color: var(--t3); padding: 8px 12px 4px; }

  /* YouTube video panel in sidebar */
  .sb-video-panel { margin: 0 10px 10px; border-radius: var(--radius); overflow: hidden; background: var(--bg2); border: 1px solid var(--border); }
  .sb-video-head { display: flex; align-items: center; justify-content: space-between; padding: 8px 10px 6px; }
  .sb-video-label { font-size: 9px; font-weight: 600; text-transform: uppercase; letter-spacing: 1.5px; color: var(--t3); }
  .sb-video-select { font-size: 11px; background: var(--bg3); border: 1px solid var(--border); color: var(--t1); border-radius: 6px; padding: 3px 6px; cursor: pointer; max-width: 140px; outline: none; font-family: var(--font-body, 'Inter', sans-serif); }
  .sb-video-select:focus { border-color: var(--accent); }
  .sb-video-embed { width: 100%; aspect-ratio: 16/9; display: block; border: none; }
  .sb-video-placeholder { width: 100%; aspect-ratio: 16/9; background: #0f0f0f; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 10px; }
  .sb-video-placeholder svg.yt-logo { filter: drop-shadow(0 2px 8px rgba(255,0,0,.4)); }
  .sb-video-placeholder span { font-size: 10px; color: #555; letter-spacing: .5px; }

  /* Video beheer in admin */
  .video-list { display: flex; flex-direction: column; gap: 8px; margin-bottom: 12px; }
  .video-row { display: grid; grid-template-columns: 1fr 1.8fr 32px; gap: 6px; align-items: center; }
  .video-row input { width: 100%; background: var(--bg3); border: 1px solid var(--border); color: var(--t1); padding: 6px 8px; border-radius: 6px; font-size: 12px; font-family: var(--font-body, 'Inter', sans-serif); outline: none; }
  .video-row input:focus { border-color: var(--accent); }
  .video-remove-btn { width: 28px; height: 28px; border-radius: 6px; background: rgba(231,76,60,.12); color: #e74c3c; border: 1px solid rgba(231,76,60,.25); cursor: pointer; font-size: 16px; display: flex; align-items: center; justify-content: center; }
  .video-remove-btn:hover { background: rgba(231,76,60,.25); }

  /* Radio widget */
  .sb-radio { margin: 0 10px 14px; border-radius: var(--radius); background: var(--bg2); border: 1px solid var(--border); padding: 12px; }
  .sb-radio-title { font-family: var(--font-heading, 'Syne', system-ui, sans-serif); font-weight: 800; font-size: 13px; color: var(--t1); margin-bottom: 8px; line-height: 1.3; }
  .sb-radio select {
    width: 100%; background: var(--bg3); border: 1px solid var(--border); color: var(--t1);
    padding: 7px 10px; border-radius: 6px; font-family: var(--font-body, 'Inter', sans-serif); font-size: 12px;
    outline: none; cursor: pointer; transition: border-color .2s;
  }
  .sb-radio select:focus { border-color: var(--accent); }
  .sb-radio select option { background: var(--bg3); }
  .sb-radio-now { font-size: 11px; color: var(--accent); margin-top: 8px; display: none; align-items: center; gap: 6px; }
  .sb-radio-now.show { display: flex; }
  .sb-radio-now .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); animation: pulse 1.4s ease-in-out infinite; flex-shrink: 0; }
  @keyframes pulse { 0%,100%{opacity:1} 50%{opacity:.3} }

  /* Radio station rows in admin settings */
  .radio-station-row { display: grid; grid-template-columns: 1fr 1.6fr 32px; gap: 6px; margin-bottom: 6px; align-items: center; }
  .radio-station-row input { width: 100%; background: var(--bg3); border: 1px solid var(--border); color: var(--t1); padding: 6px 8px; border-radius: 6px; font-size: 12px; font-family: var(--font-body, 'Inter', sans-serif); outline: none; }
  .radio-station-row input:focus { border-color: var(--accent); }
  .radio-remove-btn { width: 28px; height: 28px; border-radius: 6px; background: rgba(231,76,60,.12); color: #e74c3c; border: 1px solid rgba(231,76,60,.25); cursor: pointer; font-size: 14px; display: flex; align-items: center; justify-content: center; }
  .radio-remove-btn:hover { background: rgba(231,76,60,.22); }

/* ── URL IMPORT tabs in song modal ── */
.audio-src-tabs { display: flex; gap: 0; margin-bottom: 10px; border: 1px solid var(--border); border-radius: 8px; overflow: hidden; }
.audio-src-tab  { flex: 1; padding: 7px 10px; font-size: 12px; font-weight: 600; border: none; background: transparent; color: var(--t2); cursor: pointer; transition: background .15s, color .15s; }
.audio-src-tab.active { background: var(--accent); color: #000; }
.audio-src-pane { display: none; }
.audio-src-pane.active { display: block; }
.url-input-wrap { position: relative; }
.url-input-wrap input { width: 100%; padding-right: 80px; }
.url-check-btn { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); font-size: 11px; padding: 4px 10px; border-radius: 6px; border: none; background: var(--accent); color: #000; cursor: pointer; font-weight: 600; white-space: nowrap; }
.url-check-btn:disabled { opacity: .5; cursor: not-allowed; }
.url-preview { margin-top: 8px; display: none; }
.url-preview audio { width: 100%; border-radius: 6px; }
.url-status { font-size: 11px; margin-top: 5px; color: var(--t2); }
.url-status.ok  { color: #1db954; }
.url-status.err { color: #e74c3c; }

@keyframes spinArt { to { transform: rotate(360deg); } }
.pl-thumb.spin-art { border-radius: 50% !important; overflow: hidden; }
.pl-thumb.spin-art img { animation: spinArt 12s linear infinite; border-radius: 50%; display: block; }
.pl-thumb.spin-art.spin-paused img { animation-play-state: paused; }

/* ── VISUALIZER overlay on thumb ── */
.pl-thumb { position: relative; overflow: hidden; }
#vizCanvas { position: absolute; bottom: 0; left: 0; width: 100%; height: 40%; pointer-events: none; opacity: .7; border-radius: 0 0 4px 4px; }

/* ── EQ PANEL ── */
.eq-panel { position: fixed; bottom: calc(var(--player-h) + 8px); right: 56px; width: 230px; background: var(--bg2); border: 1px solid var(--border); border-radius: 12px; box-shadow: 0 8px 32px rgba(0,0,0,.6); padding: 14px 16px; display: none; flex-direction: column; z-index: 200; }
.eq-panel.show { display: flex; }
.eq-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.eq-head h3 { font-family: 'Syne',system-ui,sans-serif; font-size: 14px; font-weight: 700; }
.eq-close { background: none; border: none; color: var(--t2); cursor: pointer; font-size: 20px; line-height: 1; padding: 0; }
.eq-close:hover { color: var(--t1); }
.eq-sliders { display: flex; gap: 16px; justify-content: center; }
.eq-band { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.eq-band label { font-size: 10px; color: var(--t3); text-transform: uppercase; letter-spacing: .5px; }
.eq-band input[type=range] { writing-mode: vertical-lr; direction: rtl; -webkit-appearance: slider-vertical; width: 24px; height: 80px; accent-color: var(--accent); cursor: pointer; }
.eq-val { font-size: 10px; color: var(--t2); width: 36px; text-align: center; }
.eq-presets { display: flex; gap: 4px; flex-wrap: wrap; margin-top: 12px; }
.eq-preset { font-size: 10px; padding: 3px 8px; border-radius: 50px; border: 1px solid var(--border); background: transparent; color: var(--t2); cursor: pointer; transition: all .15s; }
.eq-preset:hover { color: var(--t1); border-color: var(--t2); }
.eq-preset.active { background: var(--accent); color: #000; border-color: var(--accent); }
.pl-btn.eq-on { color: var(--accent); }

/* ── CROSSFADE TOAST ── */
.cf-toast { position: fixed; top: 14px; left: 50%; transform: translateX(-50%); background: rgba(29,185,84,.15); border: 1px solid rgba(29,185,84,.3); color: var(--accent); font-size: 11px; padding: 5px 14px; border-radius: 50px; pointer-events: none; opacity: 0; transition: opacity .4s; white-space: nowrap; z-index: 999; }
.cf-toast.show { opacity: 1; }

/* ── NEWS TICKER ── */
.news-ticker-wrap { background: var(--bg2); border-bottom: 1px solid var(--border); overflow: hidden; height: 32px; display: none; flex-shrink: 0; }
.news-ticker-wrap.show { display: flex; align-items: center; }
.ticker-label { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--accent); padding: 0 12px; white-space: nowrap; border-right: 1px solid var(--border); height: 100%; display: flex; align-items: center; flex-shrink: 0; }
.ticker-track { flex: 1; overflow: hidden; position: relative; height: 100%; }
.ticker-inner { display: flex; align-items: center; gap: 48px; white-space: nowrap; height: 100%; animation: tickerScroll 30s linear infinite; }
.ticker-inner:hover { animation-play-state: paused; }
.ticker-item { font-size: 12px; color: var(--t2); cursor: pointer; transition: color .15s; flex-shrink: 0; }
.ticker-item:hover { color: var(--t1); }
.ticker-sep { color: var(--accent); flex-shrink: 0; }
@keyframes tickerScroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* ── NEWS CARDS ── */
.news-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; margin-bottom: 28px; }
.news-card { background: var(--bg2); border: 1px solid var(--border); border-radius: 10px; overflow: hidden; cursor: pointer; transition: border-color .15s, transform .15s; text-decoration: none; display: flex; flex-direction: column; }
.news-card:hover { border-color: var(--accent); transform: translateY(-2px); }
.news-card-img { width: 100%; aspect-ratio: 16/9; object-fit: cover; background: var(--bg3); display: flex; align-items: center; justify-content: center; color: var(--t3); flex-shrink: 0; }
.news-card-img img { width: 100%; height: 100%; object-fit: cover; }
.news-card-body { padding: 12px 14px; flex: 1; }
.news-card-title { font-size: 13px; font-weight: 600; line-height: 1.4; margin-bottom: 6px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.news-card-desc { font-size: 11px; color: var(--t2); line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.news-card-date { font-size: 10px; color: var(--t3); margin-top: 8px; }

#splashScreen { position: fixed; inset: 0; z-index: 9999; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 20px; background: var(--bg1); transition: opacity .6s ease, visibility .6s ease; }
#splashScreen.hide { opacity: 0; visibility: hidden; pointer-events: none; }
.splash-logo { width: 100px; height: 100px; border-radius: 20px; object-fit: cover; animation: splashPop .5s cubic-bezier(.34,1.56,.64,1) both; }
.splash-title { font-family: 'Syne',system-ui,sans-serif; font-size: 28px; font-weight: 800; text-align: center; animation: splashFade .6s .2s both; }
.splash-sub { font-size: 14px; color: var(--t2); text-align: center; max-width: 280px; line-height: 1.5; animation: splashFade .6s .35s both; }
.splash-bar { width: 160px; height: 3px; background: var(--bg3); border-radius: 2px; overflow: hidden; margin-top: 8px; animation: splashFade .6s .4s both; }
.splash-bar-fill { height: 100%; background: var(--accent); border-radius: 2px; animation: splashLoad 2s .3s ease-out forwards; width: 0; }
.splash-enter { margin-top: 4px; font-size: 12px; color: var(--t3); animation: splashFade .6s .5s both; }
@keyframes splashPop  { from { transform: scale(.6); opacity: 0; } to { transform: scale(1); opacity: 1; } }
@keyframes splashFade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes splashLoad { from { width: 0; } to { width: 100%; } }

/* ── VOTING ── */
.vote-row { display: flex; align-items: center; gap: 6px; margin-top: 8px; }
.vote-btn { display: inline-flex; align-items: center; gap: 4px; padding: 5px 10px; border-radius: 50px; border: 1px solid var(--border); background: transparent; color: var(--t2); cursor: pointer; font-size: 12px; font-family: var(--font-body, 'Inter', sans-serif); transition: all .15s; }
.vote-btn:hover { border-color: var(--t2); color: var(--t1); }
.vote-btn.voted-up   { background: rgba(29,185,84,.15); border-color: #1db954; color: #1db954; }
.vote-btn.voted-down { background: rgba(231,76,60,.12); border-color: #e74c3c; color: #e74c3c; }
.vote-score { font-size: 11px; color: var(--t3); margin-left: 2px; }
.pop-row { display: flex; align-items: center; gap: 12px; padding: 8px 10px; border-radius: 8px; background: var(--bg3); margin-bottom: 6px; }
.pop-rank { font-size: 18px; font-weight: 800; color: var(--accent); min-width: 28px; text-align: center; }
.pop-info { flex: 1; min-width: 0; }
.pop-title { font-size: 13px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pop-artist { font-size: 11px; color: var(--t2); }
.pop-votes { display: flex; gap: 10px; font-size: 12px; }
.pop-up { color: #1db954; font-weight: 600; }
.pop-down { color: #e74c3c; font-weight: 600; }
.pop-net { color: var(--t2); }
