:root { color-scheme: light; --ink: #172235; --muted: #627087; --paper: #f5f7fb; --line: #e2e8f0; --accent: #2867c7; }
* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.6 "Segoe UI", Arial, sans-serif; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
.site-header { background: #10233f; color: white; }
.header-inner, main, .site-footer { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }
.header-inner { min-height: 86px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { color: white; font-size: 1.3rem; font-weight: 750; letter-spacing: .02em; }
nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
nav a { color: #d7e5fb; font-weight: 600; }
main { padding: 46px 0 64px; min-height: calc(100vh - 160px); }
h1 { margin: 0 0 10px; font-size: clamp(2rem, 5vw, 3rem); line-height: 1.15; letter-spacing: -.035em; }
h2 { margin: 32px 0 12px; font-size: 1.35rem; }
.intro { margin: 0 0 28px; color: var(--muted); }
.card { padding: 26px; border: 1px solid var(--line); border-radius: 16px; background: white; box-shadow: 0 8px 24px #1722350a; }
.artist-grid, .letter-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 12px; }
.artist-card { display: block; padding: 16px 18px; border: 1px solid var(--line); border-radius: 12px; background: white; font-weight: 650; }
.artist-card small { display: block; color: var(--muted); font-weight: 400; }
.song-list { list-style: none; margin: 0; padding: 0; }
.song-list li { display: flex; justify-content: space-between; gap: 18px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.song-list li:last-child { border-bottom: 0; }
.song-year, .count { color: var(--muted); white-space: nowrap; }
.letter-section { margin: 32px 0; }
.letter-section h2, .decade-section h2 { padding-bottom: 8px; border-bottom: 2px solid var(--line); }
.letter-section h2 a { color: inherit; }
.decade-section { margin: 34px 0; }
.year-group { margin: 20px 0; }
.year-group h3 { margin: 0 0 4px; color: #43536b; font-size: 1rem; }
.breadcrumbs { margin: 0 0 20px; color: var(--muted); }
.chart-panel { margin-top: 24px; padding: 12px; border: 1px solid var(--line); border-radius: 16px; background: white; }
.chart-frame { display: block; width: 100%; height: min(78vh, 1050px); min-height: 560px; border: 0; background: white; }
.button { display: inline-block; padding: 10px 16px; border-radius: 9px; background: var(--accent); color: white; font-weight: 650; }
.button:hover { background: #1e53a3; color: white; text-decoration: none; }
.site-footer { padding: 20px 0 28px; border-top: 1px solid var(--line); color: var(--muted); font-size: .9rem; }
@media (max-width: 650px) { .header-inner { align-items: flex-start; flex-direction: column; padding: 18px 0; gap: 10px; } main { padding-top: 32px; } .card { padding: 18px; } .song-list li { gap: 8px; } .chart-frame { min-height: 70vh; } }