/*
 * ASOT Spotify — layout fixes + Spotify-like palette.
 * Loaded after app.css so it overrides it.
 */

/* ---------- Palette: neutral greys, Spotify green as the single accent ---------- */
:root {
  --bg-base: #121212;
  --bg-elev: #181818;
  --bg-card: #1f1f1f;
  --bg-hover: #2a2a2a;
  --bg-glass: rgba(18, 18, 18, 0.9);
  --border-subtle: rgba(255, 255, 255, 0.07);
  --text-main: #ffffff;
  --text-sub: #b3b3b3;
  --text-muted: #7a7a7a;
  --accent-green: #1ed760;
  --accent-cyan: #1ed760; /* legacy token: everything that was cyan becomes green */
  --accent-purple: #1ed760;
}
html, body { background: #000; }

/* ---------- Scroll fix: the content column must not grow past the screen ---------- */
.asot-app-shell { grid-template-rows: minmax(0, 1fr); }
.asot-main-column { min-height: 0; height: 100%; overflow: hidden; }
.asot-scroll-viewport { min-height: 0; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
.asot-sidebar { min-height: 0; }

/* ---------- Surfaces ---------- */
.asot-sidebar { background: #000; }
.asot-main-column { background: linear-gradient(180deg, #1f1f1f 0, #121212 280px); }
.asot-brand-logo { filter: none; }
.asot-nav-item.is-active { background: #232323; color: #fff; }
.asot-nav-item.is-active .asot-svg { color: #fff; }
.asot-search-form:focus-within { box-shadow: 0 0 0 2px #fff; }

/* ---------- Page banners (COMPLETE ARCHIVE, CHARTS, RADIO…) ---------- */
.asot-page-banner {
  background: linear-gradient(180deg, #2e2e2e 0%, #1a1a1a 100%);
  border: 0;
  padding: 32px 28px 26px;
}
.asot-pill-tag {
  background: none;
  color: #fff;
  padding: 0;
  border-radius: 0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  opacity: 0.85;
}
.asot-page-banner h1 { font-size: clamp(2rem, 5vw, 3.4rem); font-weight: 800; letter-spacing: -0.03em; }

/* ---------- Pills / chips ---------- */
.asot-pill { background: #2a2a2a; border-color: transparent; color: #fff; }
.asot-pill:hover { background: #333; border-color: transparent; }
.asot-pill.is-active { background: var(--accent-green); color: #000; border-color: var(--accent-green); }
.asot-pill-live { background: #fff; border: 0; color: #000; }
.asot-pill-live:hover { background: #f0f0f0; transform: scale(1.03); }
.asot-card-badge { color: #fff; background: rgba(0, 0, 0, 0.7); }

/* ---------- Misc accents ---------- */
.asot-track-row.is-active-track { background: rgba(30, 215, 96, 0.12); }
.asot-info-banner { background: #1f1f1f; border: 1px solid var(--border-subtle); }
.asot-toast { border: 0; background: #fff; color: #000; }
.asot-mobile-progress-line span { background: #fff; }

/* ---------- Filter bar: keep search + sort inside the screen on phones ---------- */
@media (max-width: 900px) {
  .asot-filter-inputs { width: 100%; }
  .asot-filter-inputs input { flex: 1 1 auto; min-width: 0; }
  .asot-filter-inputs select { flex: 0 0 auto; max-width: 45%; }
}
