.song-list {
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: var(--line);
}

.song-card {
  background: var(--near-black);
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 1.75rem;
  padding-block: 2.25rem;
}
@media (max-width: 560px) {
  .song-card { grid-template-columns: 90px 1fr; gap: 1.1rem; }
}

.song-cover {
  aspect-ratio: 1;
  background: var(--black-elevated);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.song-cover img { width: 100%; height: 100%; object-fit: cover; }
.song-cover-fallback {
  font-size: 2.2rem;
  color: var(--muted-gray);
}

.song-title {
  font-size: 1.4rem;
  margin-top: 0.2rem;
}

.song-credits {
  margin-top: 0.6rem;
  font-size: 0.82rem;
  color: var(--muted-gray);
}
.song-credit-role { opacity: 0.75; }

.song-links {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.1rem;
  flex-wrap: wrap;
}
.song-links .btn { padding: 0.55rem 1.1rem; font-size: 0.72rem; }

/* --- Custom audio player --- */
.audio-player {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-top: 1.1rem;
  padding: 0.75rem 1rem;
  border: 1px solid var(--line);
  max-width: 420px;
}

/* Needs JS to function — hide it and show the <noscript> native
   controls instead when JS is unavailable. */
.no-js .audio-player { display: none; }

.player-play {
  flex-shrink: 0;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  border: 1px solid var(--off-white);
  background: none;
  color: var(--off-white);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--dur-fast) ease, color var(--dur-fast) ease;
}
.player-play:hover, .player-play:focus-visible {
  background: var(--off-white);
  color: var(--near-black);
}
.icon-play {
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 6px 0 6px 10px;
  border-color: transparent transparent transparent currentColor;
  margin-left: 2px;
}
.player-play.is-playing .icon-play {
  width: 10px;
  height: 12px;
  border-style: double;
  border-width: 0 0 0 10px;
  margin-left: 0;
}

.player-seek {
  flex: 1;
  accent-color: var(--accent);
}

.player-time {
  font-size: 0.72rem;
  color: var(--muted-gray);
  white-space: nowrap;
}
