/* ==========================================================================
   PLAYER STYLES — shared between index.html and album.html
   ========================================================================== */

/* The sticky mini-player at the bottom of every page */
.miniplayer {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 200;
  background: rgba(15, 7, 12, 0.92);
  backdrop-filter: blur(28px) saturate(160%);
  -webkit-backdrop-filter: blur(28px) saturate(160%);
  border-top: 1px solid rgba(232, 184, 120, 0.18);
  transform: translateY(100%);
  transition: transform 0.5s var(--ease);
  /* Make sure body content can be read above it */
  box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.4);
}
.miniplayer.is-active { transform: translateY(0); }
/* When mini-player is active, push body content up so nothing's hidden */
body.has-miniplayer { padding-bottom: 96px; }
@media (max-width: 700px) {
  body.has-miniplayer { padding-bottom: 140px; }
}

.miniplayer__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 1rem var(--gutter);
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1.25rem;
  align-items: center;
}
@media (max-width: 700px) {
  .miniplayer__inner {
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
    gap: 0.75rem 1rem;
    padding: 0.75rem var(--gutter);
  }
}

/* Album art on the left */
.miniplayer__art {
  position: relative;
  width: 56px; height: 56px;
  flex-shrink: 0;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
  cursor: pointer;
}
.miniplayer__art img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.4s var(--ease);
}
.miniplayer__art:hover img { transform: scale(1.06); }

/* Track info — title + album */
.miniplayer__info {
  min-width: 0;
  cursor: pointer;
}
.miniplayer__title {
  font-family: var(--display);
  font-weight: 400;
  font-size: 0.92rem;
  letter-spacing: 0.05em;
  color: var(--cream);
  margin-bottom: 0.15rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.miniplayer__album {
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.82rem;
  color: var(--rose);
  opacity: 0.8;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Controls cluster on the right */
.miniplayer__controls {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
@media (max-width: 700px) {
  .miniplayer__controls {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: center;
  }
}

.player-btn {
  width: 38px; height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--cream);
  opacity: 0.75;
  transition: opacity 0.2s var(--ease), background 0.2s var(--ease), color 0.2s var(--ease);
  cursor: pointer;
}
.player-btn:hover {
  opacity: 1;
  background: rgba(232, 184, 120, 0.1);
  color: var(--gold);
}
.player-btn svg {
  width: 18px; height: 18px;
  fill: currentColor;
}
.player-btn--play {
  width: 44px; height: 44px;
  background: var(--gold);
  color: var(--brand);
  opacity: 1;
}
.player-btn--play:hover {
  background: var(--cream);
  color: var(--brand);
}
.player-btn--play svg { width: 16px; height: 16px; margin-left: 2px; }
.player-btn--play.is-playing svg { margin-left: 0; }

.player-btn.is-active {
  color: var(--gold);
  opacity: 1;
}

/* Progress bar across the top of the mini-player */
.miniplayer__progress {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: rgba(232, 184, 120, 0.12);
  cursor: pointer;
}
.miniplayer__progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--gold) 0%, var(--peach) 100%);
  width: 0%;
  transition: width 0.1s linear;
}
.miniplayer__progress:hover { height: 5px; }
.miniplayer__progress:hover ~ * { /* nothing — selector keeps it ergonomic */ }

/* ==========================================================================
   ALBUM PAGE
   ========================================================================== */

.album-page {
  min-height: 100vh;
  padding: 8rem var(--gutter) 6rem;
  position: relative;
  background: var(--brand-darker);
  overflow: hidden;
}

/* Atmospheric backdrop using the album art, heavily blurred */
.album-page__backdrop {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-size: cover;
  background-position: center;
  filter: blur(60px) brightness(0.4) saturate(0.9);
  opacity: 0.6;
  transform: scale(1.2); /* prevent blur edges from showing */
}
.album-page__backdrop::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    rgba(25, 11, 21, 0.6) 0%,
    rgba(25, 11, 21, 0.85) 100%);
}

.album-page__inner {
  position: relative;
  z-index: 1;
  max-width: var(--max-w);
  margin: 0 auto;
}

/* Header — album art + meta */
.album-page__header {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
  align-items: end;
}
@media (min-width: 800px) {
  .album-page__header {
    grid-template-columns: 320px 1fr;
    gap: 4rem;
  }
}
@media (min-width: 1100px) {
  .album-page__header {
    grid-template-columns: 380px 1fr;
  }
}

.album-page__art {
  aspect-ratio: 1;
  width: 100%;
  max-width: 380px;
  margin: 0 auto;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(232, 184, 120, 0.15);
  overflow: hidden;
}
.album-page__art img {
  width: 100%; height: 100%;
  object-fit: cover;
}

.album-page__meta { min-width: 0; }
.album-page__back {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--display);
  font-weight: 400;
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--cream);
  padding: 0.7rem 1.2rem 0.7rem 1rem;
  border: 1px solid rgba(232, 184, 120, 0.4);
  border-radius: 999px;
  margin-bottom: 2.5rem;
  transition: all 0.3s var(--ease);
  white-space: nowrap;
  cursor: pointer;
}
.album-page__back:hover {
  background: var(--gold);
  color: var(--brand);
  border-color: var(--gold);
}
.album-page__back svg {
  width: 14px; height: 14px;
  fill: currentColor;
  flex-shrink: 0;
  transition: transform 0.3s var(--ease);
}
.album-page__back:hover svg { transform: translateX(-3px); }

.album-page__volume {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1rem;
  color: var(--rose);
  opacity: 0.85;
  margin-bottom: 0.5rem;
  letter-spacing: 0.05em;
}
.album-page__title {
  font-family: var(--display);
  font-weight: 200;
  font-size: clamp(2.5rem, 7vw, 5rem);
  line-height: 1;
  letter-spacing: -0.005em;
  color: var(--cream);
  margin-bottom: 0.75rem;
}
.album-page__theme {
  font-family: var(--script);
  font-weight: 400;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  color: var(--gold);
  margin-bottom: 1.5rem;
  text-transform: lowercase;
  line-height: 0.9;
}
.album-page__tagline {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--cream-soft);
  opacity: 0.9;
  max-width: 50ch;
  margin-bottom: 2.5rem;
}

/* Action buttons */
.album-page__actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.album-action {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--display);
  font-weight: 400;
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  padding: 1rem 1.75rem;
  border: 1px solid var(--gold);
  color: var(--cream);
  cursor: pointer;
  transition: all 0.35s var(--ease);
}
.album-action:hover {
  background: var(--gold);
  color: var(--brand);
}
.album-action--solid {
  background: var(--gold);
  color: var(--brand);
}
.album-action--solid:hover {
  background: var(--cream);
  border-color: var(--cream);
}
.album-action svg {
  width: 14px; height: 14px;
  fill: currentColor;
}
.album-action--ghost {
  border-color: rgba(232, 184, 120, 0.35);
  opacity: 0.9;
}

/* Track list */
.tracklist {
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(232, 184, 120, 0.1);
  padding: 1rem 0;
}
.tracklist__head {
  display: grid;
  grid-template-columns: 50px 1fr auto auto;
  gap: 1.25rem;
  padding: 0 1.5rem 1rem;
  border-bottom: 1px solid rgba(232, 184, 120, 0.1);
  font-family: var(--display);
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.7;
}
@media (max-width: 600px) {
  .tracklist__head { grid-template-columns: 30px 1fr auto; padding: 0 1rem 1rem; gap: 1rem; }
  .tracklist__head .col-actions { display: none; }
}

.track {
  display: grid;
  grid-template-columns: 50px 1fr auto auto;
  gap: 1.25rem;
  align-items: center;
  padding: 0.85rem 1.5rem;
  cursor: pointer;
  transition: background 0.2s var(--ease);
  border-left: 2px solid transparent;
  position: relative;
}
@media (max-width: 600px) {
  .track { grid-template-columns: 30px 1fr auto; padding: 0.85rem 1rem; gap: 1rem; }
}
.track:hover { background: rgba(232, 184, 120, 0.05); }
.track.is-playing {
  border-left-color: var(--gold);
  background: rgba(232, 184, 120, 0.05);
}
.track.is-expanded { background: rgba(232, 184, 120, 0.05); }

.track__num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1rem;
  color: var(--cream-soft);
  opacity: 0.55;
  text-align: center;
  position: relative;
  width: 100%;
}
.track.is-playing .track__num { opacity: 0; }
.track__playing-icon {
  position: absolute;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  color: var(--gold);
}
.track.is-playing .track__playing-icon { display: flex; }
.track__playing-icon svg { width: 16px; height: 16px; fill: currentColor; }
.track:hover .track__num { opacity: 0; }
.track:hover .track__hover-play {
  display: flex;
}
.track__hover-play {
  position: absolute;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  color: var(--gold);
}
.track__hover-play svg { width: 16px; height: 16px; fill: currentColor; }
.track.is-playing:hover .track__hover-play { display: none; }

.track__title {
  font-family: var(--display);
  font-weight: 400;
  font-size: 1rem;
  letter-spacing: 0.02em;
  color: var(--cream);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.track.is-playing .track__title { color: var(--gold); }

.track__duration {
  font-family: var(--display);
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  color: var(--cream-soft);
  opacity: 0.65;
  font-variant-numeric: tabular-nums;
}
.track__duration-loading {
  opacity: 0.4;
  letter-spacing: 0.15em;
  animation: durationPulse 1.6s ease-in-out infinite;
}
@keyframes durationPulse {
  0%, 100% { opacity: 0.3; }
  50%      { opacity: 0.7; }
}

.track__actions {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
@media (max-width: 600px) {
  .track__actions { display: none; }
}
.track-icon-btn {
  width: 32px; height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cream-soft);
  opacity: 0.55;
  transition: opacity 0.2s var(--ease), color 0.2s var(--ease);
}
.track-icon-btn:hover { opacity: 1; color: var(--gold); }
.track-icon-btn svg { width: 16px; height: 16px; fill: currentColor; }

/* Lyrics panel — appears below the track when expanded */
.track__lyrics {
  display: none;
  grid-column: 1 / -1;
  padding: 1.5rem 1rem 1.25rem 4.5rem;
  font-family: var(--serif);
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.8;
  color: var(--cream-soft);
  white-space: pre-line;
  border-top: 1px solid rgba(232, 184, 120, 0.08);
  margin-top: 0.75rem;
  opacity: 0.9;
}
.track.is-expanded .track__lyrics { display: block; }
@media (max-width: 600px) {
  .track__lyrics { padding-left: 2.5rem; }
}

/* "Other albums" section at the bottom */
.album-page__more {
  margin-top: 6rem;
  padding-top: 4rem;
  border-top: 1px solid rgba(232, 184, 120, 0.1);
}
.album-page__more-title {
  font-family: var(--display);
  font-weight: 300;
  font-size: 0.72rem;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 2.5rem;
  text-align: center;
}
.album-page__more-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 2rem 1.5rem;
}
.mini-album {
  text-align: center;
  cursor: pointer;
}
.mini-album__art {
  aspect-ratio: 1;
  margin-bottom: 1rem;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}
.mini-album__art img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.mini-album:hover .mini-album__art img { transform: scale(1.05); }
.mini-album__title {
  font-family: var(--display);
  font-weight: 400;
  font-size: 0.95rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--cream);
  margin-bottom: 0.25rem;
}
.mini-album__theme {
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.85rem;
  color: var(--rose);
  opacity: 0.75;
}

/* ==========================================================================
   FULL-SCREEN "NOW PLAYING" — opens when mini-player is tapped
   ========================================================================== */

.nowplaying {
  position: fixed;
  inset: 0;
  z-index: 300;  /* above mini-player (200) */
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}
.nowplaying.is-open {
  pointer-events: auto;
  opacity: 1;
}

/* Heavily blurred album art as the backdrop, like Apple Music */
.nowplaying__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: blur(60px) brightness(0.4) saturate(1.1);
  transform: scale(1.3); /* hide blur edges */
  transition: background-image 0.6s var(--ease);
}
.nowplaying__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    rgba(15, 7, 12, 0.45) 0%,
    rgba(15, 7, 12, 0.7) 50%,
    rgba(15, 7, 12, 0.92) 100%);
}

/* The card slides up from the bottom on open */
.nowplaying__sheet {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  transform: translateY(100%);
  transition: transform 0.5s var(--ease);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.nowplaying.is-open .nowplaying__sheet {
  transform: translateY(0);
}

/* When dragging on mobile, transition is paused so the sheet follows the finger */
.nowplaying__sheet.is-dragging {
  transition: none;
}

/* ----- TOP BAR ----- */
.nowplaying__topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem var(--gutter);
  position: sticky;
  top: 0;
  z-index: 2;
}
.nowplaying__handle {
  /* Subtle drag-handle indicator on mobile */
  display: none;
  width: 40px;
  height: 4px;
  background: rgba(244, 234, 217, 0.3);
  border-radius: 2px;
}
@media (max-width: 800px) {
  .nowplaying__handle { display: block; }
  .nowplaying__topbar { justify-content: space-between; }
}
.nowplaying__label {
  font-family: var(--display);
  font-size: 0.65rem;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.7;
}
.nowplaying__close {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cream);
  opacity: 0.7;
  transition: opacity 0.2s var(--ease), background 0.2s var(--ease);
  cursor: pointer;
}
.nowplaying__close:hover {
  opacity: 1;
  background: rgba(255, 255, 255, 0.08);
}
.nowplaying__close svg { width: 18px; height: 18px; fill: currentColor; }

/* ----- MAIN CONTENT ----- */
.nowplaying__content {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  padding: 1rem var(--gutter) 2rem;
  align-items: start;
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
}
@media (min-width: 900px) {
  .nowplaying__content {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 4rem;
    padding: 2rem var(--gutter) 3rem;
    align-items: center;
  }
}

/* ----- LEFT (or top): Album art + meta + controls ----- */
.nowplaying__player {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 2rem;
}
@media (min-width: 900px) {
  .nowplaying__player { gap: 2.5rem; }
}

.nowplaying__art {
  width: 100%;
  max-width: 380px;
  aspect-ratio: 1;
  overflow: hidden;
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.6),
    0 0 0 1px rgba(232, 184, 120, 0.15);
  position: relative;
}
.nowplaying__art img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: opacity 0.4s var(--ease);
}
@media (max-width: 600px) {
  .nowplaying__art { max-width: 280px; }
}

.nowplaying__meta {
  text-align: center;
  width: 100%;
  max-width: 480px;
}
.nowplaying__track-title {
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(1.5rem, 3.5vw, 2.25rem);
  line-height: 1.2;
  color: var(--cream);
  margin-bottom: 0.5rem;
  letter-spacing: -0.005em;
}
.nowplaying__track-album {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1rem;
  color: var(--rose);
  opacity: 0.85;
}
.nowplaying__track-album .sep {
  margin: 0 0.5em;
  opacity: 0.5;
}

/* ----- PROGRESS BAR ----- */
.nowplaying__progress-wrap {
  width: 100%;
  max-width: 480px;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.nowplaying__progress {
  width: 100%;
  height: 4px;
  background: rgba(232, 184, 120, 0.15);
  cursor: pointer;
  border-radius: 2px;
  position: relative;
  transition: height 0.2s var(--ease);
}
.nowplaying__progress:hover { height: 6px; }
.nowplaying__progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--gold) 0%, var(--peach) 100%);
  width: 0%;
  border-radius: 2px;
  position: relative;
}
.nowplaying__progress-bar::after {
  content: '';
  position: absolute;
  right: -6px;
  top: 50%;
  transform: translateY(-50%);
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--cream);
  box-shadow: 0 0 8px rgba(232, 184, 120, 0.6);
  opacity: 0;
  transition: opacity 0.2s var(--ease);
}
.nowplaying__progress:hover .nowplaying__progress-bar::after { opacity: 1; }
.nowplaying__times {
  display: flex;
  justify-content: space-between;
  font-family: var(--display);
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  color: var(--cream-soft);
  opacity: 0.6;
  font-variant-numeric: tabular-nums;
}

/* ----- CONTROLS ----- */
.nowplaying__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}
.np-btn {
  width: 48px; height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--cream);
  opacity: 0.8;
  transition: opacity 0.2s var(--ease), background 0.2s var(--ease), color 0.2s var(--ease);
  cursor: pointer;
}
.np-btn:hover {
  opacity: 1;
  background: rgba(232, 184, 120, 0.1);
  color: var(--gold);
}
.np-btn svg { width: 22px; height: 22px; fill: currentColor; }
.np-btn--play {
  width: 64px; height: 64px;
  background: var(--gold);
  color: var(--brand);
  opacity: 1;
  margin: 0 0.5rem;
}
.np-btn--play:hover {
  background: var(--cream);
  color: var(--brand);
}
.np-btn--play svg { width: 24px; height: 24px; }
.np-btn.is-active {
  color: var(--gold);
  opacity: 1;
}

/* ----- RIGHT (or bottom): Tabs + Lyrics + Up Next ----- */
.nowplaying__panel {
  display: flex;
  flex-direction: column;
  min-height: 0;
  width: 100%;
  max-width: 540px;
  margin: 0 auto;
}
@media (min-width: 900px) {
  .nowplaying__panel {
    max-height: 70vh;
    align-self: stretch;
    justify-self: start;
    margin: 0;
    max-width: none;
  }
}

.nowplaying__tabs {
  display: flex;
  gap: 2rem;
  border-bottom: 1px solid rgba(232, 184, 120, 0.18);
  margin-bottom: 1.5rem;
  padding: 0 0.5rem;
}
.np-tab {
  font-family: var(--display);
  font-weight: 400;
  font-size: 0.78rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--cream-soft);
  opacity: 0.6;
  padding: 1rem 0;
  cursor: pointer;
  position: relative;
  transition: opacity 0.3s var(--ease), color 0.3s var(--ease);
}
.np-tab:hover { opacity: 1; }
.np-tab.is-active {
  opacity: 1;
  color: var(--gold);
}
.np-tab.is-active::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0; right: 0;
  height: 2px;
  background: var(--gold);
}

.np-tab__count {
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.85em;
  opacity: 0.6;
  margin-left: 0.4em;
  letter-spacing: 0.05em;
  text-transform: none;
}

.nowplaying__panel-body {
  flex: 1;
  overflow-y: auto;
  padding: 0.5rem;
  -webkit-overflow-scrolling: touch;
}
/* Custom scrollbar */
.nowplaying__panel-body::-webkit-scrollbar { width: 6px; }
.nowplaying__panel-body::-webkit-scrollbar-track { background: transparent; }
.nowplaying__panel-body::-webkit-scrollbar-thumb {
  background: rgba(232, 184, 120, 0.2);
  border-radius: 3px;
}
.nowplaying__panel-body::-webkit-scrollbar-thumb:hover {
  background: rgba(232, 184, 120, 0.4);
}

/* ----- LYRICS PANEL ----- */
.nowplaying__lyrics {
  font-family: var(--serif);
  font-weight: 300;
  font-size: 1.1rem;
  line-height: 1.85;
  color: var(--cream);
  white-space: pre-line;
  text-align: center;
  padding: 1rem 0 4rem;
}
.nowplaying__lyrics--empty {
  font-style: italic;
  color: var(--rose);
  opacity: 0.6;
  font-size: 1rem;
  padding: 4rem 1rem;
  text-align: center;
}
.nowplaying__lyrics--empty .icon {
  display: block;
  width: 32px; height: 32px;
  margin: 0 auto 1.5rem;
  opacity: 0.4;
}
.nowplaying__lyrics--empty .icon svg {
  width: 100%; height: 100%;
  fill: currentColor;
}

/* ----- UP NEXT QUEUE ----- */
.nowplaying__queue {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding-bottom: 4rem;
}
.queue-item {
  display: grid;
  grid-template-columns: 40px 1fr auto;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem 0.75rem;
  cursor: pointer;
  transition: background 0.2s var(--ease);
  border-left: 2px solid transparent;
  position: relative;
}
.queue-item:hover { background: rgba(232, 184, 120, 0.08); }
.queue-item.is-current {
  border-left-color: var(--gold);
  background: rgba(232, 184, 120, 0.05);
}
.queue-item.is-played { opacity: 0.45; }
.queue-item__num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.95rem;
  color: var(--cream-soft);
  opacity: 0.55;
  text-align: center;
  position: relative;
}
.queue-item__playing-icon {
  position: absolute;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  color: var(--gold);
}
.queue-item.is-current .queue-item__num span { display: none; }
.queue-item.is-current .queue-item__playing-icon { display: flex; }
.queue-item__playing-icon svg { width: 14px; height: 14px; fill: currentColor; }

.queue-item__info { min-width: 0; }
.queue-item__title {
  font-family: var(--display);
  font-weight: 400;
  font-size: 0.95rem;
  color: var(--cream);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 0.15rem;
}
.queue-item.is-current .queue-item__title { color: var(--gold); }
.queue-item__album {
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.85rem;
  color: var(--rose);
  opacity: 0.7;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.queue-item__duration {
  font-family: var(--display);
  font-size: 0.8rem;
  color: var(--cream-soft);
  opacity: 0.5;
  font-variant-numeric: tabular-nums;
}

.queue-section-label {
  font-family: var(--display);
  font-size: 0.65rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.7;
  padding: 1.5rem 0.75rem 0.75rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.queue-section-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(232, 184, 120, 0.2);
}
.queue-section-label:first-child { padding-top: 0.5rem; }

/* When body has nowplaying open, prevent scroll behind it */
body.has-nowplaying { overflow: hidden; }

@media (prefers-reduced-motion: reduce) {
  .nowplaying, .nowplaying__sheet, .nowplaying__progress, .nowplaying__progress-bar {
    transition: none !important;
  }
}
