/* Style for the song pages built by tools\build-song-pages.ps1 (same look as the main site). */
:root {
  --bg: #0f1115; --panel: #181b22; --panel-2: #20242d; --line: #2c313c;
  --text: #eceef3; --muted: #9aa1b0; --accent: #7c9cff;
  --S: #ff7f7f; --A: #ffbf7f; --B: #ffdf7f; --C: #bfff7f; --D: #7fbfff; --F: #c89bff;
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--text);
  font: 15px/1.5 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
a { color: var(--accent); }
header { display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 12px 24px; border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; font-weight: 700; font-size: 17px; }
.brand img { width: 34px; height: 34px; filter: invert(1); }
main { max-width: 900px; margin: 0 auto; padding: 24px 16px; display: grid; gap: 16px; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 20px; }
.btn { background: var(--panel-2); border: 1px solid var(--line); border-radius: 10px; padding: 8px 14px;
  text-decoration: none; display: inline-block; color: var(--text); }
.btn.primary { background: var(--accent); border-color: var(--accent); color: #0b0d12; font-weight: 700; }
.btn.big { padding: 11px 20px; font-size: 16px; margin: 4px 0 14px; }
.eyebrow { color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .08em; margin: 0; }
.muted { color: var(--muted); }
h1 { font-size: 30px; line-height: 1.15; margin: 4px 0; overflow-wrap: anywhere; }
h2 { font-size: 18px; margin: 18px 0 6px; }
.card > h2:first-child, .notes h2:first-child { margin-top: 0; }
.by { font-size: 18px; color: var(--muted); margin: 0 0 14px; }

.song { display: grid; grid-template-columns: minmax(0, 360px) minmax(0, 1fr); gap: 24px; align-items: start; }
@media (max-width: 720px) { .song { grid-template-columns: minmax(0, 1fr); } }
.thumb { position: relative; display: block; border-radius: 10px; overflow: hidden; }
.thumb img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.thumb span { position: absolute; left: 10px; bottom: 10px; background: rgba(0,0,0,.75); color: #fff;
  padding: 6px 12px; border-radius: 999px; font-weight: 700; font-size: 14px; }
.score { display: flex; align-items: center; gap: 12px; margin: 0 0 12px; color: var(--muted); }
.tier { width: 52px; height: 52px; border-radius: 10px; display: grid; place-items: center; flex: none;
  font-size: 28px; font-weight: 800; color: #0f1115; background: var(--panel-2); }
.tier.none { color: var(--muted); }
.dist { display: flex; height: 8px; border-radius: 4px; overflow: hidden; width: 160px; margin-top: 6px; background: var(--panel-2); }
dl { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 4px 16px; margin: 0; }
dt { color: var(--muted); }
dd { margin: 0; overflow-wrap: anywhere; }
.notes p { margin: 0 0 6px; }
.notes ul { margin: 0; padding-left: 20px; }
.songs { list-style: none; padding: 0; margin: 0; columns: 2 260px; column-gap: 24px; }
.songs li { padding: 3px 0; break-inside: avoid; }
.letters { display: flex; flex-wrap: wrap; gap: 6px 10px; margin: 12px 0 0; font-weight: 700; }
.letter { font-size: 24px; margin: 8px 0 0; padding-bottom: 4px; border-bottom: 1px solid var(--line); }
.artist h3 { font-size: 15px; margin: 10px 0 2px; }
.artist .songs { padding-left: 12px; }
footer { max-width: 900px; margin: 0 auto; padding: 8px 16px 40px; color: var(--muted); font-size: 13px;
  display: flex; flex-wrap: wrap; gap: 8px 16px; }
footer a { color: var(--muted); }
