:root {
  color-scheme: light;
  --bg: #ffffff;
  --surface: #fffdf9;
  --surface-strong: #fff7eb;
  --text: #252229;
  --muted: #675f64;
  --soft: #8a8185;
  --accent: #7e0618;
  --accent-dark: #650412;
  --gold: #b98229;
  --gold-soft: #ead4a9;
  --line: #eadfcf;
  --shadow: 0 18px 50px rgba(91, 58, 22, 0.12);
  --glow: 0 0 55px rgba(190, 130, 38, 0.22);
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.playlist {
  padding-block: 1rem 3rem;
}

.spotify-card {
  overflow: hidden;
  border: 1px solid rgba(185, 130, 41, 0.32);
  border-radius: 10px;
  background: #121212;
  box-shadow: var(--shadow), var(--glow);
}

.spotify-card iframe,
.spotify-card #spotifyFrame {
  display: block;
  width: 100% !important;
  min-height: 232px;
  border: 0;
}

.episode-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 0.9rem 0 0.7rem;
}

.ep-nav-btn {
  flex: 1 1 12rem;
  min-height: 2.8rem;
  border: 1px solid var(--gold-soft);
  border-radius: 8px;
  color: var(--accent);
  background: var(--surface-strong);
  cursor: pointer;
  font-weight: 700;
  padding: 0.6rem 0.9rem;
  transition: background 160ms ease, border-color 160ms ease, opacity 160ms ease;
}

.ep-nav-btn:hover:not(:disabled),
.ep-nav-btn:focus-visible {
  border-color: var(--gold);
  background: var(--gold-soft);
}

.ep-nav-btn:disabled {
  opacity: 0.4;
  cursor: default;
}

.episode-list {
  display: grid;
  gap: 0.4rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

ol#episodeList li {margin-left: 0px!important;}

.episode-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--text);
  background: var(--surface);
  cursor: pointer;
  text-align: left;
  font: inherit;
  padding: 0.7rem 0.85rem;
  transition: background 160ms ease, border-color 160ms ease;
}

.episode-item:hover,
.episode-item:focus-visible {
  border-color: var(--gold);
  background: var(--surface-strong);
}

.episode-item.is-current {
  border-color: var(--accent);
  background: var(--surface-strong);
  color: var(--accent);
  font-weight: 700;
}

.episode-index {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 999px;
  color: var(--accent-dark);
  background: var(--gold-soft);
  font-size: 0.85rem;
  font-weight: 700;
}

.episode-item.is-current .episode-index {
  color: #fff;
  background: var(--accent);
}

.episode-title {
  flex: 1 1 auto;
  line-height: 1.35;
}