:root {
  --bg: #161310;
  --surface: #211c17;
  --border: #382f26;
  --text: #efe6d5;
  --muted: #b5a68e;
  --accent: #d4a14c;
  --accent-hover: #e3b464;
  --accent-ink: #1a140d;
  --live: #7ec48a;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background: radial-gradient(circle at top, #241d16 0%, var(--bg) 65%);
  color: var(--text);
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.5;
  padding: 2rem 1rem 3rem;
}

.shell {
  max-width: 680px;
  margin: 0 auto;
}

.masthead {
  text-align: center;
  margin-bottom: 1.75rem;
}

.eyebrow {
  display: inline-block;
  margin: 0 0 0.5rem;
  padding: 0.15rem 0.65rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.eyebrow.is-live {
  border-color: rgba(126, 196, 138, 0.45);
  color: var(--live);
}

h1 {
  margin: 0;
  font-size: clamp(1.75rem, 4vw, 2.35rem);
  font-weight: 600;
  letter-spacing: 0.02em;
}

.tagline {
  margin: 0.35rem 0 0;
  color: var(--muted);
  font-style: italic;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.5rem;
  margin-bottom: 1.25rem;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
}

.controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}

.play-btn {
  appearance: none;
  border: 0;
  border-radius: 6px;
  background: var(--accent);
  color: var(--accent-ink);
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  padding: 0.7rem 1.35rem;
  cursor: pointer;
  transition: background-color 0.15s ease;
}

.play-btn:hover {
  background: var(--accent-hover);
}

.volume-wrap {
  display: flex;
  align-items: center;
  margin-left: auto;
}

#volume-slider {
  accent-color: var(--accent);
  width: 120px;
}

.player-state {
  margin: 0.65rem 0 0;
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 0.85rem;
  color: var(--muted);
}

.now-playing {
  margin-top: 1.35rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
}

.section-label {
  margin: 0 0 0.45rem;
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

.track-title {
  margin: 0;
  font-size: 1.4rem;
  font-weight: 600;
}

.track-artist {
  margin: 0.2rem 0 0;
  font-size: 1.05rem;
  color: var(--text);
}

.track-meta {
  margin: 0.35rem 0 0;
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 0.85rem;
  color: var(--muted);
}

.track-notes {
  margin: 0.85rem 0 0;
  font-size: 0.95rem;
  color: var(--text);
}

.track-credit {
  margin: 0.65rem 0 0;
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 0.8rem;
  color: var(--muted);
}

.recent-list {
  list-style: none;
  margin: 0.5rem 0 0;
  padding: 0;
}

.recent-item {
  padding: 0.6rem 0;
  border-bottom: 1px solid rgba(56, 47, 38, 0.7);
}

.recent-item:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.recent-title {
  font-weight: 600;
}

.recent-sub {
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 0.82rem;
  color: var(--muted);
}

.recent-empty {
  color: var(--muted);
  font-style: italic;
}

.colophon {
  text-align: center;
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 1.5rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
