* { box-sizing: border-box; }

:root {
  --bg: #fffaf7;
  --card: #ffffff;
  --text: #332d2b;
  --muted: #827774;
  --line: #eadfd9;
  --accent: #d96b63;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN",
               "Yu Gothic", "Noto Sans JP", sans-serif;
  line-height: 1.7;
}

a { color: inherit; }

.container {
  width: min(760px, calc(100% - 32px));
  margin: 0 auto;
  padding: 48px 0 64px;
}

.site-header, .song-header {
  text-align: center;
  padding-bottom: 36px;
}

.eyebrow, .track-label {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: .9rem;
}

h1 {
  margin: 0;
  font-size: clamp(2rem, 8vw, 3.2rem);
  letter-spacing: .04em;
}

.lead {
  margin: 18px 0 0;
  font-size: 1.05rem;
}

h2 {
  font-size: 1.25rem;
  margin: 0 0 14px;
}

.song-list {
  display: grid;
  gap: 8px;
}

.song-item {
  display: grid;
  grid-template-columns: 2.2rem 2rem 1fr auto 1.2rem;
  align-items: center;
  gap: 8px;
  padding: 14px 16px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  text-decoration: none;
  transition: transform .15s ease;
}

.song-item:hover { transform: translateY(-1px); }

.track-no { color: var(--muted); font-variant-numeric: tabular-nums; }
.type-icon { text-align: center; }
.song-title { font-weight: 700; }
.artist { color: var(--muted); font-size: .88rem; }
.arrow { color: var(--muted); font-size: 1.4rem; }

.back-link {
  display: inline-block;
  margin-bottom: 28px;
  color: var(--muted);
  text-decoration: none;
}

.artist-large { color: var(--muted); margin: 4px 0 16px; }

.credits {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 7px;
}

.credit {
  padding: 5px 10px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: .88rem;
}

.listen-card, .info-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 20px;
  margin-top: 14px;
}

.listen-card h3, .info-card h3 {
  margin: 0 0 8px;
  font-size: 1rem;
  letter-spacing: .05em;
}

.listen-card p { margin: 4px 0 14px; }

.youtube-button {
  display: inline-block;
  padding: 9px 14px;
  border-radius: 999px;
  background: var(--text);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: .9rem;
}

.youtube-button.secondary { background: #665b58; }

.muted { color: var(--muted); }

.credit-row {
  display: grid;
  grid-template-columns: 5rem 1fr;
  gap: 12px;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
}

.credit-row:last-child { border-bottom: 0; }
.credit-row span { color: var(--muted); }

.text-link {
  font-weight: 700;
  text-decoration: none;
}

.song-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 28px;
}

.song-nav a {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  text-decoration: none;
  background: var(--card);
}

.song-nav a:last-child { text-align: right; }

@media (max-width: 560px) {
  .container { padding-top: 32px; }
  .song-item {
    grid-template-columns: 2rem 1.8rem 1fr 1rem;
  }
  .artist { display: none; }
}
