/* Sonar — music streaming (dark, neon sunset) */
:root {
  --bg-0: #090610;
  --bg-1: #1a0f1e;
  --glow: rgba(244, 63, 94, 0.30);
  --glow-2: rgba(251, 146, 60, 0.18);
  --accent: #fb5e7e;
  --accent-2: #f97316;
  --on-accent: #ffffff;
  --app-bg: #0c0810;
  --app-bg-2: #17101a;
  --ink: #f6eef2;
  --muted: #9a8b96;
  --line: rgba(255, 255, 255, 0.08);
  --card: #16101a;
}

/* NOW PLAYING */
.np { padding: 2px 24px 0; display: flex; flex-direction: column; height: 100%; }
.np .np-top { display: flex; align-items: center; justify-content: space-between; padding: 2px 0 6px; }
.np .np-top .lbl { text-align: center; flex: 1; }
.np .np-top .lbl small { font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.np .np-top .lbl b { display: block; font-size: 13px; color: var(--ink); margin-top: 2px; }
.np .np-top .ic { color: var(--muted); font-size: 20px; display: grid; place-items: center; }
.art { margin: 8px auto 6px; width: min(248px, 66%); aspect-ratio: 1; border-radius: 26px; position: relative; overflow: hidden;
  background: radial-gradient(120% 120% at 25% 15%, #fb7185, #db2777 45%, #7c3aed); box-shadow: 0 30px 60px -22px rgba(219,39,119,0.7); display: grid; place-items: center; }
.art .disc { font-size: 96px; color: rgba(255,255,255,0.92); filter: drop-shadow(0 10px 20px rgba(0,0,0,0.35)); animation: spin 8s linear infinite; animation-play-state: paused; }
.art .disc .gi * { vector-effect: normal; stroke-width: 1.4; }
.art.playing .disc { animation-play-state: running; }
@keyframes spin { to { transform: rotate(360deg); } }
.art .sheen { position: absolute; inset: 0; background: linear-gradient(120deg, transparent 40%, rgba(255,255,255,0.18) 50%, transparent 60%); }

.track-info { text-align: center; margin-top: 12px; }
.track-info h2 { font-family: var(--font-display); font-size: 24px; font-weight: 600; color: var(--ink); }
.track-info p { font-size: 13.5px; color: var(--muted); margin-top: 3px; }

.eq { display: flex; align-items: flex-end; justify-content: center; gap: 4px; height: 34px; margin: 14px 0 2px; }
.eq i { width: 4px; border-radius: 3px; background: linear-gradient(var(--accent), var(--accent-2)); height: 30%; }
.eq.playing i { animation: bounce 0.9s ease-in-out infinite; }
.eq i:nth-child(2n) { animation-duration: 1.1s; }
.eq i:nth-child(3n) { animation-duration: 0.7s; }
.eq i:nth-child(4n) { animation-duration: 1.3s; }
@keyframes bounce { 0%,100% { height: 20%; } 50% { height: 100%; } }

.prog { margin: 14px 0 6px; }
.prog .track { height: 5px; border-radius: 4px; background: rgba(255,255,255,0.12); overflow: hidden; }
.prog .track i { display: block; height: 100%; background: linear-gradient(90deg, var(--accent), var(--accent-2)); border-radius: 4px; width: 0%; }
.prog .times { display: flex; justify-content: space-between; font-size: 11px; color: var(--muted); margin-top: 6px; font-variant-numeric: tabular-nums; }

.controls { display: flex; align-items: center; justify-content: center; gap: 22px; margin: 8px 0 4px; }
.controls button { border: none; background: none; color: var(--ink); cursor: pointer; display: grid; place-items: center; }
.controls .sec { color: var(--muted); font-size: 15px; }
.controls svg { width: 30px; height: 30px; }
.controls .sec .gi { width: 21px; height: 21px; }
.controls .play-btn { width: 66px; height: 66px; border-radius: 50%; background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #fff; box-shadow: 0 14px 30px -8px var(--accent); }
.controls .play-btn svg { width: 28px; height: 28px; }
.np-actions { display: flex; justify-content: space-between; align-items: center; padding: 14px 6px 6px; color: var(--muted); font-size: 21px; }
.np-actions span { display: grid; place-items: center; cursor: pointer; }
.np-actions .liked { color: var(--accent); }

/* generic section header */
.m-head { padding: 8px 22px 2px; }
.m-head .hi { font-size: 12.5px; color: var(--muted); }
.m-head h2 { font-family: var(--font-display); font-size: 25px; font-weight: 600; color: var(--ink); }
.m-sec { padding: 16px 22px 10px; font-family: var(--font-display); font-size: 17px; font-weight: 600; color: var(--ink); }

.hscroll { display: flex; gap: 12px; padding: 0 22px 4px; overflow-x: auto; scrollbar-width: none; }
.hscroll::-webkit-scrollbar { display: none; }
.pl-card { flex: 0 0 auto; width: 132px; cursor: pointer; }
.pl-card .cov { width: 132px; height: 132px; border-radius: 18px; display: grid; place-items: center; font-size: 46px; color: rgba(255,255,255,0.95); box-shadow: 0 16px 30px -18px rgba(0,0,0,0.6); }
.pl-card .cov .gi *, .song .cov .gi *, .genre span .gi * { vector-effect: normal; stroke-width: 1.5; }
.pl-card h5 { font-size: 13px; color: var(--ink); font-weight: 600; margin-top: 8px; }
.pl-card p { font-size: 11.5px; color: var(--muted); margin-top: 2px; }

.song { display: flex; align-items: center; gap: 13px; padding: 8px 22px; cursor: pointer; }
.song .n { width: 20px; text-align: center; color: var(--muted); font-size: 12px; }
.song .cov { width: 46px; height: 46px; border-radius: 11px; display: grid; place-items: center; font-size: 24px; color: rgba(255,255,255,0.95); flex: 0 0 auto; }
.song .t { flex: 1; min-width: 0; }
.song .t h5 { font-size: 14px; color: var(--ink); font-weight: 600; }
.song .t p { font-size: 11.5px; color: var(--muted); margin-top: 1px; }
.song .dur { font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }

.genre-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 6px 22px; }
.genre { aspect-ratio: 1.5; border-radius: 18px; padding: 14px; font-weight: 700; color: #fff; font-size: 15px; position: relative; overflow: hidden; cursor: pointer; }
.genre span { position: absolute; right: -2px; bottom: -6px; font-size: 46px; transform: rotate(18deg); opacity: 0.55; color: #fff; }
