/* ══════════════════════════════════════════════════════════════
   PiTunes — Complete Stylesheet (Phases 1–7)
   ══════════════════════════════════════════════════════════════ */

/* ── Theme: Light (default) ────────────────────────────────── */
:root {
  --bg: #f5f5f7;
  --bg-card: #ffffff;
  --bg-inset: #e8e8ed;
  --bg-hover: rgba(0, 0, 0, 0.03);
  --bg-overlay: rgba(0, 0, 0, 0.5);

  --text: #1c1c1e;
  --text-dim: #6e6e73;
  --text-faint: #aeaeb2;

  --accent: #e91e7b;
  --accent-hover: #c4165f;
  --accent-bg: rgba(233, 30, 123, 0.1);

  --green: #4caf50;
  --green-hover: #388e3c;

  --border: rgba(0, 0, 0, 0.08);
  --border-strong: rgba(0, 0, 0, 0.15);
  --slider-track: #c7c7cc;

  --shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  --error: #ff3b30;
  --on-accent: #ffffff;
}

/* ── Theme: Dark ───────────────────────────────────────────── */
[data-theme="dark"] {
  --bg: #1c1c1e;
  --bg-card: #2c2c2e;
  --bg-inset: #3a3a3c;
  --bg-hover: rgba(255, 255, 255, 0.04);
  --bg-overlay: rgba(0, 0, 0, 0.7);

  --text: #f5f5f7;
  --text-dim: #98989d;
  --text-faint: #636366;

  --accent: #e91e7b;
  --accent-hover: #f04e97;
  --accent-bg: rgba(233, 30, 123, 0.15);

  --green: #66bb6a;
  --green-hover: #81c784;

  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.15);
  --slider-track: #48484a;

  --shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
  --error: #ff453a;
  --on-accent: #ffffff;
}

/* ── Reset + base ──────────────────────────────────────────── */
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow: hidden;
  height: 100vh;
}

/* ── Logo ──────────────────────────────────────────────────── */
.logo-dark { display: none; }
[data-theme="dark"] .logo-light { display: none; }
[data-theme="dark"] .logo-dark { display: inline-block; }

/* ── Autofill flash fix (Chrome needs hardcoded hex) ──────── */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus {
  -webkit-box-shadow: 0 0 0px 1000px #e8e8ed inset;
  -webkit-text-fill-color: #1c1c1e;
  transition: background-color 5000s ease-in-out 0s;
}
[data-theme="dark"] input:-webkit-autofill,
[data-theme="dark"] input:-webkit-autofill:hover,
[data-theme="dark"] input:-webkit-autofill:focus {
  -webkit-box-shadow: 0 0 0px 1000px #3a3a3c inset;
  -webkit-text-fill-color: #f5f5f7;
}

/* ── App shell ─────────────────────────────────────────────── */
.app { display: flex; flex-direction: column; height: 100vh; overflow: hidden; }
.header { flex-shrink: 0; padding: 12px 16px 0; background: var(--bg-card); border-bottom: 1px solid var(--border); }
.header-top { display: flex; justify-content: space-between; align-items: center; }
.header h1 { font-size: 20px; color: var(--accent); display: inline; }
.header .tabs { display: flex; gap: 2px; margin-top: 10px; }
.header .tab { padding: 8px 16px; border-radius: 8px 8px 0 0; cursor: pointer; font-size: 13px; color: var(--text-dim); background: transparent; border: none; }
.header .tab.active { background: var(--bg); color: var(--text); }
.content { flex: 1; overflow-y: auto; padding: 16px; }

/* ── Theme toggle ──────────────────────────────────────────── */
.theme-toggle { background: none; border: none; font-size: 18px; cursor: pointer; padding: 4px 8px; border-radius: 6px; color: var(--text-dim); line-height: 1; }
.theme-toggle:hover { background: var(--bg-hover); color: var(--text); }

/* ── Now Playing bar (desktop) ─────────────────────────────── */
.now-playing { flex-shrink: 0; background: var(--bg-card); border-top: 2px solid var(--accent); }
.np-header { display: flex; align-items: center; gap: 10px; padding: 8px 12px 2px; }
.np-art { width: 36px; height: 36px; border-radius: 5px; background: var(--bg-inset); object-fit: cover; flex-shrink: 0; }
.np-info { flex: 0 1 200px; min-width: 0; }
.np-title { font-size: 13px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.np-artist { font-size: 11px; color: var(--text-dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.np-vol-group { display: flex; align-items: center; gap: 6px; flex-shrink: 0; }
.np-vol-group span { font-size: 12px; }
.np-vol-group input[type="range"] { width: 160px; height: 4px; -webkit-appearance: none; appearance: none; background: transparent; outline: none; cursor: pointer; }
.np-vol-group input[type="range"]::-webkit-slider-runnable-track { height: 4px; background: var(--slider-track); border-radius: 2px; }
.np-vol-group input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 14px; height: 14px; border-radius: 50%; background: var(--accent); margin-top: -5px; }
.np-vol-group input[type="range"]::-moz-range-track { height: 4px; background: var(--slider-track); border-radius: 2px; border: none; }
.np-vol-group input[type="range"]::-moz-range-thumb { width: 14px; height: 14px; border-radius: 50%; background: var(--accent); border: none; }
.np-vol-group input[type="range"]::-moz-range-progress { background: var(--accent); border-radius: 2px; height: 4px; }
.np-close { background: none; border: none; color: var(--text-dim); cursor: pointer; font-size: 16px; padding: 2px 4px; flex-shrink: 0; }
.np-close:hover { color: var(--text); }
.np-controls { flex: 1; display: flex; align-items: center; justify-content: center; gap: 12px; }
.np-btn { background: none; border: none; color: var(--text); cursor: pointer; font-size: 18px; padding: 2px; line-height: 1; }
.np-btn:hover { color: var(--accent); }
.np-btn.active { color: var(--accent); }
.np-btn.play { font-size: 24px; }
.np-btn.small { font-size: 14px; }
.np-progress { display: flex; align-items: center; gap: 6px; padding: 2px 12px 6px; font-size: 10px; color: var(--text-dim); }
.np-bar { flex: 1; height: 3px; background: var(--slider-track); border-radius: 2px; cursor: pointer; position: relative; }
.np-bar-fill { height: 100%; background: var(--accent); border-radius: 2px; transition: width 0.3s; }

/* ── Shared styles ─────────────────────────────────────────── */
.card { background: var(--bg-card); border-radius: 12px; padding: 16px; margin-bottom: 12px; box-shadow: var(--shadow); }
.stat { display: inline-block; text-align: center; padding: 10px 16px; }
.stat .num { font-size: 24px; font-weight: 600; color: var(--accent); }
.stat .label { font-size: 11px; color: var(--text-dim); margin-top: 2px; }
.row { padding: 10px 0; border-bottom: 1px solid var(--border); cursor: pointer; display: flex; align-items: center; gap: 10px; }
.row:hover { background: var(--bg-hover); }
.row:last-child { border-bottom: none; }
.row-main { flex: 1; min-width: 0; }
.row-title { font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row-sub { font-size: 13px; color: var(--text-dim); }
.track-row { display: flex; align-items: center; gap: 10px; padding: 8px 4px; border-bottom: 1px solid var(--border); }
.track-num { color: var(--text-faint); min-width: 24px; text-align: right; font-size: 13px; }
.track-main { flex: 1; min-width: 0; cursor: pointer; }
.track-main:hover .track-title { color: var(--accent); }
.track-title { font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.track-meta { font-size: 12px; color: var(--text-dim); }
.track-btn { background: none; border: none; color: var(--text-dim); cursor: pointer; font-size: 16px; padding: 4px; }
.track-btn:hover { color: var(--accent); }
.badge { background: var(--accent-bg); color: var(--accent); padding: 2px 6px; border-radius: 4px; font-size: 11px; font-weight: 500; text-transform: uppercase; }
button { background: var(--accent); color: var(--on-accent); border: none; border-radius: 8px; padding: 10px 20px; cursor: pointer; font-size: 14px; }
button:hover { background: var(--accent-hover); }
button:disabled { background: var(--slider-track); cursor: not-allowed; }
button.ghost { background: transparent; border: 1px solid var(--border-strong); color: var(--text); }
button.ghost:hover { border-color: var(--accent); color: var(--accent); }
button.sm { padding: 6px 12px; font-size: 12px; }
button.sm.on { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }
input, select { background: var(--bg-inset); border: 1px solid var(--border-strong); color: var(--text); border-radius: 8px; padding: 10px 14px; font-size: 14px; width: 100%; }
select { width: auto; padding-right: 30px; }
.flex { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
h3 { color: var(--accent); margin: 0 0 12px; font-size: 16px; }
.back { cursor: pointer; color: var(--text-dim); font-size: 13px; margin-bottom: 8px; display: inline-block; }
.back:hover { color: var(--text); }
.album-art { width: 120px; height: 120px; border-radius: 10px; object-fit: cover; background: var(--bg-inset); flex-shrink: 0; }
.album-art-sm { width: 44px; height: 44px; border-radius: 6px; object-fit: cover; background: var(--bg-inset); flex-shrink: 0; }
#log { background: var(--bg-inset); border-radius: 8px; padding: 12px; font-family: monospace; font-size: 12px; max-height: 200px; overflow-y: auto; white-space: pre-wrap; color: var(--text-dim); }
.pl-card { background: var(--bg-card); border-radius: 10px; padding: 14px; margin-bottom: 10px; cursor: pointer; }
.pl-card:hover { background: var(--bg-inset); }
.pl-name { font-weight: 500; }
.pl-meta { font-size: 13px; color: var(--text-dim); margin-top: 4px; }

/* ── Album grid ────────────────────────────────────────────── */
.album-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 14px; }
.album-card { cursor: pointer; text-align: center; position: relative; }
.album-card img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 10px; background: var(--bg-inset); display: block; }
.album-card .album-card-title { font-size: 13px; font-weight: 500; margin-top: 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.album-card .album-card-sub { font-size: 11px; color: var(--text-dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.album-card .album-card-play { position: absolute; top: 6px; right: 6px; background: rgba(0,0,0,0.7); border: none; color: white; border-radius: 50%; width: 30px; height: 30px; font-size: 14px; cursor: pointer; opacity: 0; transition: opacity 0.15s; display: flex; align-items: center; justify-content: center; }
.album-card:hover .album-card-play { opacity: 1; }

/* ── Art placeholder (artists without images) ─────────────── */
.art-card-img { position: relative; width: 100%; aspect-ratio: 1; border-radius: 10px; overflow: hidden; background: var(--bg-inset); }
.art-card-img img { width: 100%; height: 100%; object-fit: cover; position: relative; z-index: 1; }
.art-placeholder { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 36px; font-weight: 600; color: var(--accent); background: var(--accent-bg); }

/* ── Library mobile sub-nav (Artists/Albums segmented) ─────── */
.lib-subnav { display: inline-flex; gap: 2px; background: var(--bg-inset); border-radius: 8px; padding: 2px; }
.lib-subnav button { flex: 1; padding: 6px 14px; font-size: 13px; border-radius: 6px; background: transparent; border: none; color: var(--text-dim); cursor: pointer; white-space: nowrap; }
.lib-subnav button.on { background: var(--bg-card); color: var(--text); box-shadow: var(--shadow); }

/* ── Three-pane library (desktop) ──────────────────────────── */
.lib-desktop { display: none; }
.lib-mobile { display: block; }
@media (min-width: 900px) {
  .lib-desktop { display: grid; grid-template-columns: 325px 325px 1fr; gap: 0; height: 100%; }
  .lib-mobile { display: none; }
  .lib-pane { overflow-y: auto; border-right: 1px solid var(--border); padding: 0 12px; }
  .lib-pane:last-child { border-right: none; }
  .lib-pane h3 { position: sticky; top: 0; background: var(--bg); padding: 10px 0 8px; margin: 0; z-index: 2; }
  .lib-pane .row { padding: 8px 4px; font-size: 14px; }
  .lib-pane .row.selected { background: var(--accent-bg); border-radius: 6px; }
  .lib-pane .row.selected .row-title { color: var(--accent); }
  .lib-pane .album-grid { grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); gap: 10px; }
  .lib-pane .album-card .album-card-title { font-size: 12px; }
  .lib-pane .album-card .album-card-sub { font-size: 10px; }
  .lib-pane .art-placeholder { font-size: 24px; }
  .lib-pane .album-card.selected { box-shadow: 0 0 0 2px var(--accent); border-radius: 10px; }
  .lib-pane .album-card.selected .album-card-title { color: var(--accent); }
}

/* ── Mix mode ──────────────────────────────────────────────── */
.mix-bar { position: fixed; bottom: 0; left: 0; right: 0; background: var(--accent); color: var(--on-accent); display: flex; align-items: center; justify-content: space-between; padding: 12px 20px; z-index: 200; font-size: 14px; font-weight: 500; }
.mix-bar button { background: var(--on-accent); color: var(--accent); font-weight: 600; }
.mix-bar button:hover { background: var(--bg); }
.mix-bar .mix-clear { background: transparent; color: var(--on-accent); border: 1px solid rgba(255,255,255,0.4); font-weight: 400; padding: 6px 12px; }
.mix-cb { width: 18px; height: 18px; accent-color: var(--accent); cursor: pointer; flex-shrink: 0; }

/* ── Tag editor modal ──────────────────────────────────────── */
.modal-overlay { position: fixed; inset: 0; background: var(--bg-overlay); z-index: 300; display: flex; align-items: center; justify-content: center; }
.modal { background: var(--bg-card); border-radius: 14px; padding: 24px; width: 90%; max-width: 480px; max-height: 90vh; overflow-y: auto; }
.modal h3 { margin-bottom: 16px; }
.modal label { display: block; font-size: 12px; color: var(--text-dim); margin: 10px 0 4px; text-transform: uppercase; letter-spacing: 0.5px; }
.modal input { margin-bottom: 2px; }
.modal .modal-actions { display: flex; gap: 10px; justify-content: flex-end; margin-top: 20px; }
.modal .read-only-notice { background: var(--accent-bg); color: var(--accent); padding: 10px 14px; border-radius: 8px; font-size: 13px; margin-bottom: 12px; }

/* ══════════════════════════════════════════════════════════════
   Phase 5: Bottom Tab Bar (mobile)
   ══════════════════════════════════════════════════════════════ */

/* ── Bottom tab bar ────────────────────────────────────────── */
.bottom-tabs { display: none; }
.mobile-footer { display: none; }

.bottom-tab { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 6px 0 4px; background: none; border: none; color: var(--text-dim); font-size: 10px; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.bottom-tab-icon { font-size: 20px; line-height: 1; }
.bottom-tab.active { color: var(--accent); }

/* ── Mobile overrides ──────────────────────────────────────── */
@media (max-width: 899px) {
  .header .tabs { display: none; }

  .mobile-footer {
    display: block;
    position: fixed;
    bottom: 0; left: 0; right: 0;
    z-index: 100;
  }

  .bottom-tabs {
    display: flex;
    background: var(--bg-card);
    border-top: 1px solid var(--border);
    padding-bottom: env(safe-area-inset-bottom, 0px);
  }

  .content { padding-bottom: 70px; }
  .app.has-player .content { padding-bottom: 126px; }

  .now-playing { display: none !important; }
  .mix-bar { bottom: 56px; }
}

/* ══════════════════════════════════════════════════════════════
   Phase 6: Now Playing — Mini Bar + Full Screen (mobile)
   ══════════════════════════════════════════════════════════════ */

/* ── Mini bar (mobile only) ────────────────────────────────── */
.np-mini {
  display: none;
  position: relative;
  left: auto; right: auto;
  background: var(--bg-card);
  border-top: 2px solid var(--accent);
  padding: 8px 12px;
  z-index: 101;
  cursor: pointer;
  align-items: center;
  gap: 10px;
  -webkit-tap-highlight-color: transparent;
}
.np-mini img { width: 40px; height: 40px; border-radius: 6px; object-fit: cover; background: var(--bg-inset); flex-shrink: 0; }
.np-mini-info { flex: 1; min-width: 0; }
.np-mini-title { font-size: 14px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.np-mini-artist { font-size: 12px; color: var(--text-dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.np-mini-btn { background: none; border: none; font-size: 24px; color: var(--text); padding: 4px 8px; cursor: pointer; flex-shrink: 0; line-height: 1; }

@media (min-width: 900px) {
  .np-mini { display: none !important; }
}

/* ── Full screen overlay (mobile only) ─────────────────────── */
.np-full {
  position: fixed; inset: 0;
  background: var(--bg);
  z-index: 500;
  flex-direction: column;
  /* display set by JS: none or flex */
}
.np-full-top { display: flex; justify-content: space-between; align-items: center; padding: 16px; flex-shrink: 0; }
.np-full-top button { background: none; border: none; color: var(--text-dim); font-size: 20px; cursor: pointer; padding: 4px 8px; line-height: 1; }
.np-full-top button.active { color: var(--accent); }
.np-full-top span { font-size: 13px; font-weight: 500; color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.5px; }

.np-full-body { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 0 32px 24px; gap: 24px; overflow: hidden; }
.np-full-art { width: 70vw; max-width: 320px; aspect-ratio: 1; border-radius: 12px; object-fit: cover; background: var(--bg-inset); box-shadow: 0 8px 30px rgba(0,0,0,0.15); }
[data-theme="dark"] .np-full-art { box-shadow: 0 8px 30px rgba(0,0,0,0.4); }
.np-full-info { text-align: center; width: 100%; max-width: 320px; }
.np-full-song { font-size: 20px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.np-full-artist { font-size: 15px; color: var(--text-dim); margin-top: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.np-full-progress { width: 100%; max-width: 320px; display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--text-dim); }
.np-full-progress .np-bar { height: 4px; }

.np-full-controls { display: flex; align-items: center; justify-content: center; gap: 28px; }
.np-full-controls .np-btn { font-size: 24px; }
.np-full-controls .np-btn.play { font-size: 40px; }
.np-full-controls .np-btn.small { font-size: 20px; }

.np-full-volume { display: flex; align-items: center; gap: 8px; width: 100%; max-width: 280px; }
.np-full-volume span { font-size: 14px; }
.np-full-volume input[type="range"] { flex: 1; height: 4px; -webkit-appearance: none; appearance: none; background: transparent; outline: none; cursor: pointer; }
.np-full-volume input[type="range"]::-webkit-slider-runnable-track { height: 4px; background: var(--slider-track); border-radius: 2px; }
.np-full-volume input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 16px; height: 16px; border-radius: 50%; background: var(--accent); margin-top: -6px; }
.np-full-volume input[type="range"]::-moz-range-track { height: 4px; background: var(--slider-track); border-radius: 2px; border: none; }
.np-full-volume input[type="range"]::-moz-range-thumb { width: 16px; height: 16px; border-radius: 50%; background: var(--accent); border: none; }

/* Queue view inside full screen */
.np-full-queue { flex: 1; overflow-y: auto; padding: 0 16px 16px; }
.np-full-queue h3 { margin-bottom: 8px; }

/* ══════════════════════════════════════════════════════════════
   Radio Stations
   ══════════════════════════════════════════════════════════════ */

/* ── Now streaming banner ─────────────────────────────────── */
.radio-banner { background: var(--accent-bg); border-radius: 10px; padding: 14px 16px; margin-bottom: 12px; display: flex; align-items: center; gap: 12px; }
.radio-banner-icon { font-size: 28px; flex-shrink: 0; }
.radio-banner-info { flex: 1; min-width: 0; }
.radio-banner-name { font-weight: 600; font-size: 15px; color: var(--accent); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.radio-banner-meta { font-size: 13px; color: var(--text-dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 2px; }
.radio-banner button { flex-shrink: 0; }

/* ── Station card grid ────────────────────────────────────── */
.station-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.station-card { background: var(--bg-inset); border-radius: 10px; padding: 12px; cursor: pointer; position: relative; transition: background 0.15s; }
.station-card:hover { background: var(--bg-hover); }
.station-card-favicon { width: 40px; height: 40px; border-radius: 8px; object-fit: cover; background: var(--bg-card); margin-bottom: 8px; }
.station-card-favicon-placeholder { width: 40px; height: 40px; border-radius: 8px; background: var(--accent-bg); display: flex; align-items: center; justify-content: center; font-size: 20px; margin-bottom: 8px; }
.station-card-name { font-size: 13px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.station-card-sub { font-size: 11px; color: var(--text-dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 2px; }
.station-card-actions { display: flex; gap: 4px; margin-top: 8px; }
.station-card-actions button { padding: 4px 10px; font-size: 11px; }
.station-card .station-delete { position: absolute; top: 6px; right: 6px; background: none; border: none; color: var(--text-faint); font-size: 14px; padding: 2px 4px; cursor: pointer; opacity: 0; transition: opacity 0.15s; border-radius: 4px; }
.station-card:hover .station-delete { opacity: 1; }
.station-card .station-delete:hover { color: var(--error); background: none; }

/* ── Browse pills ─────────────────────────────────────────── */
.radio-pills { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0; }
.radio-pill { background: var(--bg-inset); border: 1px solid var(--border); color: var(--text-dim); padding: 5px 12px; border-radius: 16px; font-size: 12px; cursor: pointer; white-space: nowrap; transition: all 0.15s; }
.radio-pill:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-bg); }

/* ── Station search result row ────────────────────────────── */
.station-row { display: flex; align-items: center; gap: 10px; padding: 10px 4px; border-bottom: 1px solid var(--border); }
.station-row:last-child { border-bottom: none; }
.station-row-favicon { width: 36px; height: 36px; border-radius: 6px; object-fit: cover; background: var(--bg-inset); flex-shrink: 0; }
.station-row-favicon-placeholder { width: 36px; height: 36px; border-radius: 6px; background: var(--accent-bg); display: flex; align-items: center; justify-content: center; font-size: 16px; flex-shrink: 0; }
.station-row-info { flex: 1; min-width: 0; }
.station-row-name { font-size: 14px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.station-row-meta { font-size: 12px; color: var(--text-dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.station-row-actions { display: flex; gap: 4px; flex-shrink: 0; }
.station-row-actions button { padding: 6px 10px; font-size: 13px; }

/* ── Radio mode: Now Playing overrides ────────────────────── */

/* Desktop bar — hide seek bar, shuffle, prev, next, repeat */
.now-playing.radio-active .np-progress { display: none; }
.now-playing.radio-active #btn-shuffle,
.now-playing.radio-active #btn-repeat { display: none; }

/* Favorite button in desktop bar */
.np-radio-fav { background: none; border: none; font-size: 18px; cursor: pointer; padding: 4px 6px; color: var(--text-dim); flex-shrink: 0; line-height: 1; }
.np-radio-fav:hover { color: var(--accent); background: none; }
.np-radio-fav.saved { color: var(--accent); }

/* Mobile full-screen — hide seek bar, show radio actions */
.np-full.radio-active .np-full-progress { display: none; }
.np-full.radio-active #np-full-stop-clear { display: none; }
.np-full.radio-active #np-full-radio-actions { display: flex !important; gap: 10px; justify-content: center; margin-top: 8px; }
.np-full.radio-active .np-full-art { border-radius: 16px; }

/* Mobile full-screen radio actions */
.np-full-radio-actions button { font-size: 13px; }
.np-full-radio-actions .saved { color: var(--accent); border-color: var(--accent); }
