@font-face {
  font-family: "Source Serif 4";
  src: url("/fonts/source-serif-4-latin.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --bg: #0b0c0e;
  --bg-elev: #131519;
  --bg-card: #181b21;
  --bg-hover: #20242c;
  --border: rgba(236, 236, 240, 0.1);
  --border-strong: rgba(232, 195, 107, 0.35);
  --text: #ececf0;
  --text-muted: #a6acb8;
  --text-dim: #737986;
  --gold: #e8c36b;
  --gold-ink: #141108;
  --sage: #84b0a5;
  --sage-bg: rgba(132, 176, 165, 0.13);
  --gold-bg: rgba(232, 195, 107, 0.12);
  --serif: "Source Serif 4", Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", Roboto, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  --max-w: 1180px;
  --dock-h: 92px;
}

*, *::before, *::after {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

[id],
.filter-tabs {
  scroll-margin-top: 92px;
}

html {
  scroll-behavior: smooth;
  background: var(--bg);
  color: var(--text);
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  background: var(--bg);
  color: var(--text);
  padding-bottom: calc(var(--dock-h) + 28px);
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible,
select:focus-visible,
input:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 8px;
  z-index: 1000;
  padding: 10px 16px;
  background: var(--gold);
  color: var(--gold-ink);
  font-weight: 600;
  border-radius: 8px;
}
.skip-link:focus {
  left: 12px;
}

.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

/* Header & Unified Ecosystem Bar */
.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(11, 12, 14, 0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 68px;
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.brand-lockup svg {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
}

.brand-wordmark {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-name {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 600;
  color: var(--text);
}

.brand-sub {
  font-size: 11px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--sage);
  margin-top: 2px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.nav-link {
  padding: 8px 10px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  white-space: nowrap;
  flex-shrink: 0;
  transition: color 0.15s ease, background 0.15s ease;
}

.nav-link:hover,
.nav-link[aria-current="page"] {
  color: var(--text);
  background: var(--bg-card);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 15px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  background: var(--gold);
  color: var(--gold-ink);
  white-space: nowrap;
  flex-shrink: 0;
  transition: transform 0.15s ease, opacity 0.15s ease;
}
.nav-cta:hover {
  opacity: 0.92;
  transform: translateY(-1px);
}

/* Mobile app discovery page */
.app-hero { overflow: hidden; background: radial-gradient(ellipse at 75% 40%, #213c36 0%, transparent 53%); }
.app-platforms { color: var(--sage); font-weight: 600; margin: 0 0 10px; }
.app-availability, .app-privacy { color: var(--text-muted); margin: 18px 0 0; }
.app-hero .hero-grid { grid-template-columns: minmax(0, 1.15fr) minmax(240px, .85fr); }
.app-player-preview { margin: 0; display: flex; justify-content: center; }
.app-player-preview img { display: block; width: min(100%, 255px); height: auto; border: 1px solid var(--border); border-radius: 20px; box-shadow: 0 18px 45px #060a0a88; }
.app-features { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 32px; }
.app-features p { color: var(--text-muted); }
@media (max-width: 640px) {
  .app-hero .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .app-player-preview img { width: min(64vw, 240px); }
}

/* Hero */
.hero {
  padding: 56px 0 44px;
  border-bottom: 1px solid var(--border);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.95fr;
  gap: 40px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--sage-bg);
  color: var(--sage);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--sage);
}

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0;
}

.hero h1 {
  font-size: clamp(34px, 4.6vw, 54px);
  line-height: 1.08;
  margin-bottom: 18px;
}

.hero-lede {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 0 26px;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  font-family: var(--sans);
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.12s ease;
}

.btn-primary {
  background: var(--gold);
  color: var(--gold-ink);
}
.btn-primary:hover {
  opacity: 0.93;
  transform: translateY(-1px);
}

.btn-secondary {
  background: var(--bg-card);
  color: var(--text);
  border-color: var(--border);
}
.btn-secondary:hover {
  background: var(--bg-hover);
  border-color: var(--border-strong);
}

.btn-ghost {
  background: transparent;
  color: var(--text-muted);
  border-color: var(--border);
  padding: 8px 14px;
  font-size: 13px;
}
.btn-ghost:hover {
  color: var(--text);
  border-color: var(--border-strong);
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-top: 30px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
}

.stat-item strong {
  display: block;
  font-family: var(--serif);
  font-size: 24px;
  color: var(--text);
  line-height: 1.15;
}
.stat-item span {
  font-size: 13px;
  color: var(--text-muted);
}

/* Featured Album Spotlight Card */
.spotlight-card {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.spotlight-top {
  display: flex;
  gap: 18px;
  align-items: center;
}

.spotlight-cover {
  width: 124px;
  height: 124px;
  border-radius: 14px;
  object-fit: cover;
  border: 1px solid var(--border);
  flex-shrink: 0;
}

.spotlight-meta h2 {
  font-size: 24px;
  margin-bottom: 4px;
}

.spotlight-meta p {
  margin: 0 0 10px;
  font-size: 14px;
  color: var(--text-muted);
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.pill {
  display: inline-flex;
  align-items: center;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 500;
  background: rgba(255, 255, 255, 0.055);
  color: var(--text-muted);
  border: 1px solid rgba(255, 255, 255, 0.06);
}
.pill-gold {
  background: var(--gold-bg);
  color: var(--gold);
  border-color: rgba(232, 195, 107, 0.25);
}
.pill-sage {
  background: var(--sage-bg);
  color: var(--sage);
  border-color: rgba(132, 176, 165, 0.25);
}

/* Sections */
.section {
  padding: 52px 0;
  border-bottom: 1px solid var(--border);
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 26px;
}

.section-head h2 {
  font-size: clamp(26px, 3vw, 34px);
}

.section-head p {
  margin: 6px 0 0;
  color: var(--text-muted);
  max-width: 660px;
}

/* Filter Bar */
.filter-tabs {
  display: inline-flex;
  gap: 6px;
  padding: 4px;
  max-width: 100%;
  overflow-x: auto;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: 999px;
  margin-bottom: 20px;
}

.filter-tab {
  background: transparent;
  border: 0;
  color: var(--text-muted);
  padding: 7px 15px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  font-family: var(--sans);
  white-space: nowrap;
  flex-shrink: 0;
}
.filter-tab[aria-selected="true"] {
  background: var(--gold);
  color: var(--gold-ink);
}

/* Imprint / Collection Filter Bar & Cards */
.collection-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.collection-pill {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  color: var(--text-muted);
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  font-family: var(--sans);
  white-space: nowrap;
  transition: background 0.14s ease, color 0.14s ease, border-color 0.14s ease;
}

.collection-pill:hover {
  color: var(--text);
  border-color: var(--border-strong);
}

.collection-pill[aria-pressed="true"] {
  background: var(--sage-bg);
  color: var(--sage);
  border-color: rgba(132, 176, 165, 0.45);
}

.imprints-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 18px;
}

.imprint-card {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.imprint-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-2px);
}

.imprint-art-wrap {
  position: relative;
  aspect-ratio: 1 / 1;
  background: var(--bg-card);
  overflow: hidden;
}

.imprint-art-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.album-block {
  margin-bottom: 38px;
}

.album-block-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  padding: 18px 20px;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: 18px;
  margin-bottom: 12px;
}

.album-block-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.album-block-cover {
  width: 76px;
  height: 76px;
  border-radius: 12px;
  object-fit: cover;
  border: 1px solid var(--border);
  flex-shrink: 0;
}

/* Tracklist Table / Rows */
.track-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.track-row {
  display: grid;
  grid-template-columns: 44px minmax(200px, 1.5fr) minmax(150px, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 13px 16px;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: 14px;
  transition: background 0.14s ease, border-color 0.14s ease;
}

.track-row:hover,
.track-row.is-playing {
  background: var(--bg-card);
  border-color: var(--border-strong);
}

.track-play-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  background: var(--gold-bg);
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 14px;
  flex-shrink: 0;
}
.track-row.is-playing .track-play-btn,
.track-play-btn:hover {
  background: var(--gold);
  color: var(--gold-ink);
}

.track-main {
  min-width: 0;
}
.track-title {
  font-weight: 600;
  font-size: 15.5px;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.track-sub {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 2px;
}

.track-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.track-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.track-time {
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--text-muted);
  min-width: 44px;
  text-align: right;
}

/* Stations Grid */
.stations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 18px;
}

.station-card {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.station-card:hover,
.station-card.is-playing {
  border-color: var(--border-strong);
  transform: translateY(-2px);
}

.station-art-wrap {
  position: relative;
  aspect-ratio: 16 / 10;
  background: var(--bg-card);
  overflow: hidden;
}
.station-art-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.station-play-fab {
  position: absolute;
  right: 12px;
  bottom: 12px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 0;
  background: var(--gold);
  color: var(--gold-ink);
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.45);
}

.station-body {
  padding: 16px 18px 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.station-body h3 {
  font-size: 20px;
}
.station-tagline {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--sage);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.station-blurb {
  font-size: 14px;
  color: var(--text-muted);
  margin: 0;
  flex: 1;
}
.station-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 10px;
  border-top: 1px solid var(--border);
  font-size: 12.5px;
  color: var(--text-muted);
}

/* Ecosystem 4-Pillar Grid */
.eco-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(245px, 1fr));
  gap: 16px;
}

.eco-card {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.eco-card.is-current {
  border-color: var(--border-strong);
  background: linear-gradient(180deg, rgba(232, 195, 107, 0.06), var(--bg-elev));
}
.eco-card h3 {
  font-size: 21px;
}
.eco-card p {
  margin: 0;
  font-size: 14px;
  color: var(--text-muted);
  flex: 1;
}
.eco-domain {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--gold);
}

/* Prose / Legal / FAQ Pages */
.prose-wrap {
  max-width: 800px;
  margin: 0 auto;
  padding: 48px 24px 64px;
}
.prose-wrap h1 {
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.14;
  margin-bottom: 12px;
}
.prose-meta {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 32px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}
.prose-wrap h2 {
  font-size: 24px;
  margin: 34px 0 12px;
}
.prose-wrap h3 {
  font-size: 19px;
  margin: 24px 0 8px;
}
.prose-wrap p,
.prose-wrap li {
  color: #d3d7e0;
  font-size: 16px;
}
.prose-wrap ul,
.prose-wrap ol {
  padding-left: 22px;
}
.prose-wrap a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.prose-wrap pre.license-verbatim {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px;
  overflow-x: auto;
  font-family: var(--mono);
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--text-muted);
  white-space: pre-wrap;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.faq-list details {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px 20px;
}
.faq-list summary {
  font-weight: 600;
  font-size: 16.5px;
  cursor: pointer;
  color: var(--text);
}
.faq-list details p {
  margin: 12px 0 0;
  color: var(--text-muted);
}

/* Footer */
.site-footer {
  padding: 48px 0 36px;
  background: var(--bg);
  color: var(--text-muted);
  font-size: 14px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 32px;
}
.footer-col h4 {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text);
  margin: 0 0 12px;
}
.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-col a:hover {
  color: var(--gold);
}
.footer-bottom {
  padding-top: 22px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
  color: var(--text-dim);
}

/* Persistent Bottom Streaming Player Dock */
.player-dock {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 120;
  min-height: var(--dock-h);
  background: rgba(16, 18, 22, 0.96);
  backdrop-filter: blur(18px);
  border-top: 1px solid var(--border-strong);
  padding: 12px 20px;
  display: flex;
  align-items: center;
}

.dock-inner {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(200px, 1.1fr) minmax(240px, 1.6fr) minmax(180px, 1fr);
  gap: 20px;
  align-items: center;
}

.dock-now {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.dock-art {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  object-fit: cover;
  border: 1px solid var(--border);
  flex-shrink: 0;
}
.dock-meta {
  min-width: 0;
}
.dock-title {
  font-weight: 600;
  font-size: 14.5px;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.dock-artist {
  font-size: 12.5px;
  color: var(--sage);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dock-cast-status {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--gold);
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dock-cast-btn {
  padding: 6px 13px;
  font-size: 12.5px;
  min-height: 36px;
  border-color: var(--border-strong);
  color: var(--gold);
}
.dock-cast-btn.is-active {
  background: var(--gold-bg);
  border-color: var(--gold);
  color: var(--gold);
}

.dock-timer-select {
  appearance: none;
  -webkit-appearance: none;
  background: var(--bg-card);
  color: var(--text-muted);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 6px 12px;
  min-height: 36px;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
}
.dock-timer-select:hover,
.dock-timer-select.is-active {
  border-color: var(--gold);
  color: var(--gold);
  background: var(--gold-bg);
}

/* Commercial Venue Guides, Daypart Tables & Developer API Blocks */
.venue-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}

.venue-card {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.venue-card h3 {
  font-size: 20px;
}
.venue-card p {
  margin: 0;
  font-size: 14.5px;
  color: var(--text-muted);
  flex: 1;
}

.schedule-table-wrap {
  width: 100%;
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--bg-elev);
}
.schedule-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 620px;
  font-size: 14.5px;
}
.schedule-table th,
.schedule-table td {
  text-align: left;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}
.schedule-table th {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--sage);
  background: rgba(255, 255, 255, 0.02);
}
.schedule-table tr:last-child td {
  border-bottom: 0;
}

.notice-callout {
  background: var(--bg-elev);
  border: 1px solid var(--border-strong);
  border-radius: 16px;
  padding: 20px 22px;
  margin-top: 24px;
}
.notice-callout h3 {
  font-size: 18px;
  margin-bottom: 8px;
  color: var(--gold);
}
.notice-callout p {
  margin: 0;
  font-size: 14px;
  color: var(--text-muted);
}

.code-card {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.code-card h3 {
  font-size: 19px;
}
.code-card pre {
  margin: 0;
  padding: 14px 16px;
  border-radius: 12px;
  background: #08090c;
  border: 1px solid var(--border);
  overflow-x: auto;
  font-family: var(--mono);
  font-size: 12.5px;
  line-height: 1.55;
  color: #dfe4ee;
}
.method-badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 6px;
  background: var(--sage-bg);
  color: var(--sage);
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 700;
}

.dock-vol-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 11.5px;
  color: var(--text-muted);
  margin-top: 2px;
}
.dock-vol-label {
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
}
.dock-vol-slider {
  max-width: 140px;
}
.dock-vol-hint {
  font-size: 11px;
  color: var(--text-dim);
}

.dock-center {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.dock-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.ctrl-btn {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
}
.ctrl-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
}
.ctrl-play {
  min-width: 68px;
  height: 38px;
  padding: 0 16px;
  border-radius: 999px;
  background: var(--gold);
  color: var(--gold-ink);
  border-color: var(--gold);
  font-weight: 700;
  font-size: 14px;
  white-space: nowrap;
}
.ctrl-play:hover {
  color: var(--gold-ink);
  opacity: 0.92;
}

.dock-progress {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--text-muted);
}
.dock-seek {
  flex: 1;
  accent-color: var(--gold);
  cursor: pointer;
  height: 4px;
}

.dock-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

/* Lyrics & Provenance Drawer Modal */
.drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(0, 0, 0, 0.72);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.drawer-backdrop.is-open {
  display: flex;
}
.drawer-panel {
  width: 100%;
  max-width: 640px;
  max-height: 84vh;
  overflow-y: auto;
  background: var(--bg-elev);
  border: 1px solid var(--border-strong);
  border-radius: 20px;
  padding: 26px;
}
.drawer-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 16px;
}
.drawer-lyrics {
  white-space: pre-wrap;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px;
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--text);
  margin-top: 14px;
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .track-row {
    grid-template-columns: 40px 1fr;
  }
  .track-specs {
    grid-column: 2;
  }
  .track-actions {
    grid-column: 2;
    justify-content: flex-start;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .dock-inner {
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 12px;
  }
  .dock-progress {
    display: none;
  }
  .dock-vol-wrap:not(.is-cast-vol) {
    display: none !important;
  }
  #dock-studio-link {
    display: none;
  }
}

@media (max-width: 640px) {
  :root {
    --dock-h: 112px;
  }
  .container {
    padding: 0 16px;
  }
  .player-dock {
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom, 0px));
  }
  .dock-inner {
    grid-template-columns: minmax(0, 1fr) auto;
    row-gap: 8px;
    column-gap: 8px;
  }
  .dock-now {
    grid-column: 1 / -1;
  }
  .dock-art {
    width: 40px;
    height: 40px;
  }
  .dock-center {
    align-items: flex-start;
  }
  .dock-controls {
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 6px;
  }
  .ctrl-play {
    min-width: 58px;
    height: 36px;
    padding: 0 12px;
    font-size: 13px;
  }
  .dock-cast-btn {
    padding: 5px 10px;
    font-size: 12px;
    min-height: 34px;
    white-space: nowrap;
  }
  .dock-right {
    justify-content: flex-end;
  }
  #dock-info-btn {
    padding: 6px 9px;
    font-size: 11.5px;
    white-space: nowrap;
  }
}

@media (max-width: 560px) {
  .header-inner {
    flex-wrap: wrap;
    padding: 10px 0;
  }
  .main-nav {
    width: 100%;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 4px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .main-nav::-webkit-scrollbar {
    display: none;
  }
  .filter-tabs {
    gap: 3px;
  }
  .filter-tab {
    padding: 6px 9px;
    font-size: 12px;
  }
  .dock-timer-select {
    padding: 5px 9px;
    font-size: 11.5px;
    min-height: 34px;
  }
  .spotlight-top {
    flex-direction: column;
    align-items: flex-start;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* Community Artist Grid & Share Toast */
.artist-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 22px;
}

.artist-chip-card {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 14px;
  border-radius: 999px;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  transition: border-color 0.14s ease, background 0.14s ease;
}

.artist-chip-card:hover {
  background: var(--bg-card);
  border-color: var(--border-strong);
}

.artist-avatar-badge {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--gold-bg);
  border: 1px solid rgba(232, 195, 107, 0.35);
  color: var(--gold);
  font-family: var(--serif);
  font-size: 12px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.artist-chip-name {
  font-weight: 600;
  font-size: 14px;
  color: var(--text);
}

.artist-chip-handle {
  font-size: 12.5px;
  color: var(--sage);
}

.fm-share-toast {
  position: fixed;
  left: 50%;
  bottom: calc(var(--dock-h) + 18px);
  transform: translateX(-50%);
  z-index: 260;
  background: #1c2028;
  color: var(--text);
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  padding: 10px 18px;
  font-size: 13.5px;
  font-weight: 600;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5);
  max-width: calc(100vw - 32px);
  text-align: center;
}
