/* RockLists — site styles
   Fonts: Barlow Condensed (display), Inter (text). Self-hosted, latin subsets. */

@font-face { font-family: 'Barlow Condensed'; font-style: normal; font-weight: 600; font-display: swap; src: url(/assets/fonts/barlow-condensed-latin-600-normal.woff2) format('woff2'); }
@font-face { font-family: 'Barlow Condensed'; font-style: normal; font-weight: 700; font-display: swap; src: url(/assets/fonts/barlow-condensed-latin-700-normal.woff2) format('woff2'); }
@font-face { font-family: 'Barlow Condensed'; font-style: normal; font-weight: 800; font-display: swap; src: url(/assets/fonts/barlow-condensed-latin-800-normal.woff2) format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400; font-display: swap; src: url(/assets/fonts/inter-latin-400-normal.woff2) format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 500; font-display: swap; src: url(/assets/fonts/inter-latin-500-normal.woff2) format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 600; font-display: swap; src: url(/assets/fonts/inter-latin-600-normal.woff2) format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 700; font-display: swap; src: url(/assets/fonts/inter-latin-700-normal.woff2) format('woff2'); }

:root {
  /* Brand: the logo's blue (#0024FF) on black. #0024FF is used for fills (buttons, bars,
     highlights) with white text on top; text links use a lighter blue for contrast on black. */
  --ink: #000000;
  --ink-2: #07070d;
  --ink-3: #161622;
  --paper: #000000;
  --paper-2: #0a0a12;
  --paper-3: #12121c;
  --line: #1d1d2a;
  --line-2: #2c2c3d;
  --text: #eeeef4;
  --text-2: #b6b6c6;
  --muted: #8c8ca0;
  --accent: #0024ff;
  --accent-2: #4a6bff;
  --accent-ink: #7a92ff;
  --accent-soft: #050c38;
  --link: #7a92ff;
  --focus: #5c7dff;
  --radius: 10px;
  --radius-sm: 6px;
  --shadow: 0 1px 2px rgba(0,0,0,.6), 0 8px 24px -10px rgba(0,36,255,.25);
  --display: 'Barlow Condensed', 'Arial Narrow', 'Helvetica Neue', Arial, sans-serif;
  --body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --wrap: 1180px;
  color-scheme: dark;
}


*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.55;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; height: auto; vertical-align: middle; }
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 2px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
h1, h2, h3, h4 { font-family: var(--display); line-height: 1.05; margin: 0 0 .4em; letter-spacing: .005em; font-weight: 700; }
h1 { font-size: clamp(2rem, 4.2vw, 3.2rem); font-weight: 800; }
h2 { font-size: clamp(1.45rem, 2.4vw, 1.9rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--accent); color: #fff; padding: .5rem 1rem; border-radius: var(--radius-sm); z-index: 100; }
.skip:focus { left: 8px; }
.wrap { width: min(var(--wrap), 100% - 2rem); margin-inline: auto; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.mt { margin-top: 1.5rem; }
.plain { list-style: none; padding: 0; margin: 0; }
.plain li { padding: .25rem 0; }

/* ---------------------------------------------------------------- header */
.site-header { background: #000; color: #fff; border-bottom: 3px solid transparent; border-image: linear-gradient(90deg, #000 0%, var(--accent) 35%, var(--accent-2) 65%, #000 100%) 1; }
.header-inner { display: flex; align-items: center; gap: 1.5rem; min-height: 88px; }
.brand img { height: 80px; width: auto; display: block; }
@media (max-width: 900px) { .brand img { height: 60px; } .header-inner { min-height: 68px; } }
.site-nav { display: flex; align-items: center; gap: .25rem; margin-left: auto; }
.site-nav > a { color: #e6e6ee; font-family: var(--display); font-weight: 700; font-size: 1.15rem; letter-spacing: .03em; text-transform: uppercase; padding: .5rem .7rem; border-radius: var(--radius-sm); }
.site-nav > a:hover, .site-nav > a[aria-current] { color: #fff; background: var(--ink-3); text-decoration: none; }
.site-nav > a[aria-current] { box-shadow: inset 0 -3px 0 var(--accent); }
.search-form { display: flex; margin-left: .75rem; background: var(--ink-3); border-radius: 999px; padding: .2rem .25rem .2rem .9rem; align-items: center; }
.search-form input { background: transparent; border: 0; color: #fff; font: inherit; font-size: .95rem; width: 230px; }
.search-form input::placeholder { color: #9a9aa8; }
.search-form input:focus { outline: none; }
.search-form button { background: var(--accent); color: #fff; border: 0; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; }
.nav-toggle { display: none; margin-left: auto; background: transparent; border: 0; width: 44px; height: 44px; position: relative; cursor: pointer; }
.nav-toggle-bar, .nav-toggle-bar::before, .nav-toggle-bar::after { content: ''; position: absolute; left: 10px; width: 24px; height: 3px; background: #fff; border-radius: 2px; transition: transform .2s; }
.nav-toggle-bar { top: 20px; }
.nav-toggle-bar::before { top: -8px; left: 0; }
.nav-toggle-bar::after { top: 8px; left: 0; }

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--ink-2); flex-direction: column; align-items: stretch; padding: .75rem 1rem 1rem; z-index: 50; box-shadow: 0 20px 40px -20px rgba(0,0,0,.6); }
  .site-nav.is-open { display: flex; }
  .site-nav > a { padding: .8rem .75rem; font-size: 1.3rem; }
  .search-form { margin: .5rem 0 0; }
  .search-form input { width: 100%; }
  .site-header { position: relative; }
}

/* ---------------------------------------------------------------- breadcrumbs */
.breadcrumbs { margin-top: 1rem; font-size: .85rem; color: var(--muted); }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .35rem; padding: 0; margin: 0; }
.breadcrumbs li + li::before { content: '/'; margin-right: .35rem; color: var(--line-2); }
.breadcrumbs a { color: var(--text-2); }

/* ---------------------------------------------------------------- page head */
main { padding: 1.25rem 0 3rem; }
.page-head { margin: .5rem 0 1.75rem; max-width: 62rem; }
.kicker { font-family: var(--display); text-transform: uppercase; letter-spacing: .08em; font-weight: 600; color: var(--accent-ink); font-size: .95rem; margin: 0 0 .35rem; }
.kicker a { color: inherit; }
.tagline { font-style: italic; color: var(--text-2); margin-top: -.25rem; }
.lede { font-size: 1.1rem; color: var(--text-2); max-width: 60rem; }
.lede a { font-weight: 500; }
.h1-by { display: block; font-size: .5em; font-weight: 600; color: var(--text-2); margin-top: .25rem; }
.stats { display: flex; flex-wrap: wrap; gap: .5rem .75rem; margin: 1rem 0 0; }
.stat { background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: .45rem .8rem; display: flex; flex-direction: column; min-width: 6rem; }
.stat-v { font-family: var(--display); font-size: 1.45rem; font-weight: 700; line-height: 1.05; }
.stat-l { font-size: .75rem; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.prev-next { display: flex; justify-content: space-between; gap: 1rem; margin-top: 1.25rem; font-weight: 500; }
.prev-next a { padding: .5rem .85rem; background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius-sm); }
.note { background: var(--accent-soft); border-left: 4px solid var(--accent); padding: .6rem .9rem; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; color: var(--text-2); }
.alert { padding: .8rem 1rem; border-radius: var(--radius-sm); margin-bottom: 1rem; }
.alert-success { background: #12281a; border: 1px solid #24503a; color: #9fe0b2; }
.alert-error { background: #2a0f0f; border: 1px solid #6a2020; color: #ffb4b4; }

/* ---------------------------------------------------------------- layout */
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 2.5rem; align-items: start; }
.sidebar { position: sticky; top: 1rem; display: flex; flex-direction: column; gap: 1.25rem; }
.side-block { background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem 1.1rem; }
.side-block h2 { font-size: 1.15rem; margin-bottom: .6rem; text-transform: uppercase; letter-spacing: .04em; color: var(--text-2); }
.side-links { list-style: none; padding: 0; margin: 0; }
.side-links li { padding: .3rem 0; border-top: 1px solid var(--line); }
.side-links li:first-child { border-top: 0; }
@media (max-width: 960px) { .layout { grid-template-columns: 1fr; } .sidebar { position: static; } }

.section { margin: 2.25rem 0 0; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: .75rem; border-bottom: 2px solid var(--ink); padding-bottom: .35rem; }
.section-head { border-color: var(--line-2); }

.section-head h2 { margin: 0; }
.section-head .more { font-weight: 600; white-space: nowrap; font-size: .95rem; }
.section-sub { color: var(--text-2); margin-top: -.25rem; }
.home-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; }
@media (max-width: 800px) { .home-columns { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- hero */
.hero { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 2rem; align-items: center; padding: 2rem 0 1.5rem; }
.hero h1 { font-size: clamp(2.4rem, 5vw, 4rem); max-width: 14ch; }
.hero .lede { font-size: 1.15rem; }
.hero-search { display: flex; max-width: 560px; border: 2px solid var(--ink); border-radius: 999px; overflow: hidden; background: var(--paper-2); }
.hero-search input { flex: 1; border: 0; padding: .8rem 1.2rem; font: inherit; font-size: 1rem; background: transparent; color: var(--text); min-width: 0; }
.hero-search input:focus { outline: none; }
.hero-search button { border: 0; background: var(--accent); color: #fff; font-family: var(--display); font-weight: 700; font-size: 1.1rem; letter-spacing: .05em; text-transform: uppercase; padding: 0 1.4rem; cursor: pointer; }
.hero-search button:hover { background: var(--accent); }
.hero-search { border-color: var(--line-2); } .hero-search button { background: var(--accent); }

.hero-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: .6rem; }
.hero-stats .stat { padding: .8rem 1rem; }
.hero-stats .stat-v { font-size: 2rem; }
@media (max-width: 800px) { .hero { grid-template-columns: 1fr; } .hero-stats { grid-template-columns: repeat(3, 1fr); } }
.about-strip { background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem 1.75rem; }
.about-strip p { margin: 0; color: var(--text-2); }

/* ---------------------------------------------------------------- year strip */
.year-strip { display: flex; flex-wrap: wrap; gap: .35rem; margin: .5rem 0 1rem; }
.year-strip a { font-family: var(--display); font-weight: 700; font-size: 1.05rem; padding: .3rem .6rem; background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius-sm); color: var(--text); }
.year-strip a:hover { border-color: var(--accent); color: var(--accent-ink); text-decoration: none; }
.year-strip a[aria-current] { background: var(--accent); color: #fff; border-color: var(--accent); }
.year-strip a.decade { background: var(--accent-soft); color: var(--accent-ink); border-color: transparent; }

/* ---------------------------------------------------------------- cards */
.card-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: .9rem; }
.card { background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); transition: transform .15s, border-color .15s; }
.card:hover { transform: translateY(-2px); border-color: var(--accent); }
.card-link { display: flex; flex-direction: column; gap: .2rem; padding: .9rem 1rem; color: inherit; height: 100%; }
.card-link:hover { text-decoration: none; }
.card-kicker { font-size: .75rem; text-transform: uppercase; letter-spacing: .06em; color: var(--accent-ink); font-weight: 600; }
.card-title { font-family: var(--display); font-weight: 700; font-size: 1.3rem; line-height: 1.1; }
.card-meta { font-size: .8rem; color: var(--muted); margin-top: auto; padding-top: .3rem; }
.station-name { font-family: var(--display); font-weight: 800; font-size: 1.6rem; line-height: 1; }
.station-freq { font-size: .85rem; color: var(--accent-ink); font-weight: 600; }
.station-market { font-size: .9rem; color: var(--text-2); }

.year-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: .6rem; }
.year-tile { display: flex; flex-direction: column; background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: .6rem .8rem; color: inherit; }
.year-tile:hover { border-color: var(--accent); text-decoration: none; }
.year-tile-year { font-family: var(--display); font-weight: 800; font-size: 1.7rem; line-height: 1; color: var(--accent-ink); }
.year-tile-title { font-size: .85rem; font-weight: 500; }
.year-tile-meta { font-size: .75rem; color: var(--muted); }

.year-cards, .decade-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: .9rem; }
.year-card, .decade-card { display: flex; flex-direction: column; background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem 1.1rem; color: inherit; box-shadow: var(--shadow); }
.year-card:hover, .decade-card:hover { border-color: var(--accent); text-decoration: none; }
.year-card-year, .decade-name { font-family: var(--display); font-weight: 800; font-size: 2.2rem; line-height: 1; color: var(--accent-ink); margin-bottom: .4rem; }
.decade-card { background: var(--accent-soft); color: #fff; border-color: var(--accent); }
.decade-card .muted { color: #a4a4b4; }
.decade-card .card-meta { color: #c9c9d6; }
.decade-name { color: var(--accent-2); }
.mini-rank { margin: 0 0 .5rem; padding-left: 1.3rem; font-size: .9rem; }
.mini-rank li { padding: .1rem 0; }
.mini-rank strong { font-weight: 600; }

/* ---------------------------------------------------------------- rank lists */
.rank-list { list-style: none; margin: 0; padding: 0; }
.rank-list li { display: flex; align-items: center; gap: .75rem; padding: .5rem 0; border-bottom: 1px solid var(--line); }
.rank-list-compact li { padding: .35rem 0; }
.rank-n { font-family: var(--display); font-weight: 800; font-size: 1.35rem; min-width: 2rem; text-align: right; color: var(--accent-ink); line-height: 1; }
.rank-body { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.rank-meta { font-size: .8rem; color: var(--muted); white-space: nowrap; }
.song-title { font-weight: 600; color: var(--text); }
.song-artist { font-size: .85rem; color: var(--text-2); display: block; }
.rank-pills { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.rank-pills a { display: inline-block; background: var(--paper-2); border: 1px solid var(--line); border-radius: 999px; padding: .35rem .9rem; color: var(--text); }
.rank-pills a:hover { border-color: var(--accent); text-decoration: none; }
.rank-pills strong { color: var(--accent-ink); font-family: var(--display); font-size: 1.15rem; }
.inline-list { list-style: none; padding: 0; margin: 0 0 .75rem; display: flex; flex-wrap: wrap; gap: .35rem .9rem; }
.result-list { list-style: none; padding: 0; margin: 0; }
.result-list li { padding: .4rem 0; border-bottom: 1px solid var(--line); }
.artist-columns { list-style: none; padding: 0; margin: 0; columns: 4 200px; column-gap: 2rem; }
.artist-columns li { padding: .15rem 0; break-inside: avoid; }
.letter-nav { display: flex; flex-wrap: wrap; gap: .3rem; margin-bottom: 1.25rem; }
.letter-nav a { font-family: var(--display); font-weight: 700; padding: .3rem .65rem; background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius-sm); color: var(--text); min-width: 2.2rem; text-align: center; }
.letter-nav a[aria-current] { background: var(--accent); color: #fff; border-color: var(--accent); }

/* ---------------------------------------------------------------- tables */
.table-wrap { overflow-x: auto; background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius); }
table.chart { width: 100%; border-collapse: collapse; font-size: .95rem; }
table.chart th { text-align: left; font-family: var(--display); text-transform: uppercase; letter-spacing: .05em; font-size: .85rem; color: var(--muted); padding: .6rem .75rem; border-bottom: 2px solid var(--line-2); background: var(--paper-3); position: sticky; top: 0; z-index: 1; }
table.chart td { padding: .5rem .75rem; border-bottom: 1px solid var(--line); vertical-align: middle; }
table.chart tbody tr:last-child td { border-bottom: 0; }
table.chart tbody tr:hover td { background: var(--accent-soft); }
table.chart .col-rank { width: 3.5rem; font-family: var(--display); font-weight: 800; font-size: 1.25rem; color: var(--accent-ink); text-align: right; white-space: nowrap; }
table.chart .col-num { width: 4.5rem; text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
table.chart .col-bar { width: 150px; }
table.chart th.col-num, table.chart th.col-rank { text-align: right; }
table.chart .col-song .song-title { display: block; }
table.chart tr.is-top .col-rank { color: var(--accent); font-size: 1.45rem; }
table.chart tr.is-highlight td { background: #0b1d80; }
.chart-compact td, .chart-compact th { padding: .4rem .6rem; }
.chart-compact .col-rank { font-size: 1.05rem; }
.chart-inline { width: auto; min-width: 20rem; margin: 1rem 0 1.5rem; }
.chart-inline th, .chart-inline td { text-align: left; }
.bar { height: 8px; background: var(--paper-3); border-radius: 4px; overflow: hidden; }
.bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--accent-2), var(--accent)); border-radius: 4px; }
.bar-n { font-size: .75rem; color: var(--muted); font-variant-numeric: tabular-nums; }
abbr[title] { text-decoration: none; border-bottom: 1px dotted var(--line-2); cursor: help; }
.table-tools { display: flex; flex-wrap: wrap; gap: .75rem 1rem; align-items: center; margin: 0 0 .75rem; }
.filter input, .jump input { font: inherit; padding: .45rem .7rem; border: 1px solid var(--line-2); border-radius: var(--radius-sm); background: var(--paper-2); color: var(--text); }
.filter input { width: 260px; max-width: 100%; }
.jump { display: flex; gap: .4rem; align-items: center; margin-left: auto; font-size: .9rem; }
.jump input { width: 5rem; margin-left: .4rem; }
.filter-status { font-size: .85rem; color: var(--muted); }
@media (max-width: 640px) {
  table.chart .col-bar { display: none; }
  table.chart { font-size: .9rem; }
  table.chart td, table.chart th { padding: .45rem .5rem; }
}

/* ---------------------------------------------------------------- timeline */
.timeline { display: flex; align-items: flex-end; gap: 3px; height: 140px; padding: .5rem .25rem 1.5rem; background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius); overflow-x: auto; }
.timeline-bar { flex: 1 0 22px; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; position: relative; color: var(--muted); }
.timeline-fill { display: block; width: 100%; background: linear-gradient(180deg, var(--accent), var(--accent-2)); border-radius: 3px 3px 0 0; min-height: 3px; }
.timeline-bar:hover .timeline-fill { filter: brightness(1.1); }
.timeline-year { position: absolute; bottom: -1.3rem; font-size: .7rem; font-family: var(--display); font-weight: 600; }

/* ---------------------------------------------------------------- prose & misc */
.prose { max-width: 70ch; }
.prose h2 { margin-top: 1.5rem; }
.prose ul { padding-left: 1.3rem; }
.prose li { margin: .3rem 0; }
.facts { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: .6rem 1.5rem; margin: 1.25rem 0 0; padding: 1rem 1.2rem; background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius); }
.facts div { display: flex; flex-direction: column; }
.facts dt { font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.facts dd { margin: 0; font-weight: 500; }
.updates div { display: grid; grid-template-columns: 11rem 1fr; gap: 1rem; padding: .6rem 0; border-bottom: 1px solid var(--line); }
.updates dt { font-family: var(--display); font-weight: 700; font-size: 1.1rem; }
.updates dd { margin: 0; }
@media (max-width: 600px) { .updates div { grid-template-columns: 1fr; gap: .2rem; } }
.link-list li { margin: .5rem 0; }
.contributors { columns: 2 260px; column-gap: 2rem; }
.btn { display: inline-block; padding: .55rem 1rem; border-radius: var(--radius-sm); border: 1px solid var(--line-2); background: var(--paper-2); color: var(--text); font-weight: 600; cursor: pointer; font: inherit; }
.btn:hover { border-color: var(--accent); text-decoration: none; }
.btn-primary { background: var(--accent); color: #fff; border-color: var(--accent); font-family: var(--display); font-size: 1.15rem; text-transform: uppercase; letter-spacing: .05em; padding: .6rem 1.4rem; }
.btn-primary:hover { background: var(--accent-ink); }
.btn-small { padding: .35rem .7rem; font-size: .85rem; }
.pagination { display: flex; align-items: center; gap: 1rem; margin: 1.25rem 0; }
.pagination-info { color: var(--muted); }
.form { max-width: 44rem; background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.25rem 1.5rem; }
.form-row { margin-bottom: 1rem; }
.form-row label { display: block; font-weight: 600; margin-bottom: .3rem; }
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 600px) { .form-row-2 { grid-template-columns: 1fr; } }
.form input[type=text], .form input[type=email], .form textarea { width: 100%; font: inherit; padding: .55rem .7rem; border: 1px solid var(--line-2); border-radius: var(--radius-sm); background: var(--paper); color: var(--text); }
.form textarea { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .9rem; }
.hp { position: absolute; left: -9999px; }

/* ---------------------------------------------------------------- ads */
.ad { margin: 1.5rem 0; min-height: 90px; }
.ad-placeholder { display: grid; place-items: center; background: repeating-linear-gradient(45deg, var(--paper-3), var(--paper-3) 10px, var(--paper-2) 10px, var(--paper-2) 20px); color: var(--muted); font-size: .8rem; border-radius: var(--radius-sm); }
.ad-sidebar { margin: 0; min-height: 250px; }

/* ---------------------------------------------------------------- footer */
.site-footer { background: #000; color: #c9c9d6; margin-top: 3rem; padding: 2.5rem 0 1.5rem; border-top: 3px solid var(--accent); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; }
.footer-grid h2 { font-size: 1rem; text-transform: uppercase; letter-spacing: .08em; color: #fff; margin-bottom: .6rem; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { padding: .2rem 0; }
.footer-grid a { color: #dcdce6; }
.footer-brand p { color: #a4a4b4; font-size: .9rem; margin-top: .75rem; max-width: 34ch; }
.footer-bottom { border-top: 1px solid var(--ink-3); margin-top: 2rem; padding-top: 1rem; font-size: .8rem; color: #8a8a98; }
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

@media print {
  .site-header, .site-footer, .sidebar, .ad, .table-tools, .breadcrumbs, .prev-next { display: none !important; }
  .layout { grid-template-columns: 1fr; }
  body { background: #fff; color: #000; }
}

/* ================================================================ v2: accounts, community, formats */

/* ---------------------------------------------------------------- header account area */
.account-nav { display: flex; align-items: center; gap: .6rem; margin-left: .75rem; white-space: nowrap; }
.account-nav .account-login { color: #e6e6ee; font-weight: 600; font-size: .95rem; }
.account-nav .btn-small { background: transparent; color: #fff; border-color: #55556a; }
.account-nav .btn-small:hover { border-color: var(--accent); }
.account-menu { position: relative; }
.account-btn { display: flex; align-items: center; gap: .45rem; background: var(--ink-3); border: 0; color: #fff; padding: .3rem .7rem .3rem .3rem; border-radius: 999px; cursor: pointer; font: inherit; font-size: .9rem; }
.avatar-sm { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: linear-gradient(135deg, var(--accent-2), var(--accent)); color: #fff; font-family: var(--display); font-weight: 800; }
.account-name { max-width: 9rem; overflow: hidden; text-overflow: ellipsis; }
.account-drop { position: absolute; right: 0; top: calc(100% + .4rem); min-width: 12rem; background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: .35rem; z-index: 60; display: flex; flex-direction: column; }
.account-drop[hidden] { display: none; }
.account-drop a, .account-drop button { display: block; text-align: left; padding: .5rem .7rem; border-radius: var(--radius-sm); color: var(--text); background: none; border: 0; font: inherit; cursor: pointer; }
.account-drop a:hover, .account-drop button:hover { background: var(--paper-3); text-decoration: none; }
@media (max-width: 900px) {
  .account-nav { margin-left: auto; }
  .nav-toggle { margin-left: .25rem; }
  .account-nav .account-login { display: none; }
  .account-name { display: none; }
  .account-btn { padding: .2rem; }
}

/* ---------------------------------------------------------------- search suggestions */
.suggest-wrap { position: relative; flex: 1; min-width: 0; display: flex; }
.suggest-wrap > input { flex: 1; min-width: 0; }
.suggest-list { position: absolute; left: 0; right: 0; top: calc(100% + 6px); list-style: none; margin: 0; padding: .3rem; background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); z-index: 70; max-height: 70vh; overflow-y: auto; min-width: 280px; }
.suggest-list[hidden] { display: none; }
.suggest-list a, .suggest-list button { display: grid; grid-template-columns: auto 1fr; column-gap: .6rem; padding: .45rem .6rem; border-radius: var(--radius-sm); color: var(--text); width: 100%; text-align: left; background: none; border: 0; font: inherit; cursor: pointer; }
.suggest-list button { grid-template-columns: 1fr; }
.suggest-list li.is-active a, .suggest-list a:hover, .suggest-list button:hover { background: var(--paper-3); text-decoration: none; }
.s-type { grid-row: span 2; align-self: center; font-size: .65rem; text-transform: uppercase; letter-spacing: .06em; color: var(--accent-ink); font-weight: 700; min-width: 3.5rem; }
.s-title { font-weight: 600; }
.s-sub { font-size: .8rem; color: var(--muted); }
.search-form .suggest-list { color: var(--text); }

/* ---------------------------------------------------------------- scope tabs, actions, badges */
.scope-tabs { display: flex; flex-wrap: wrap; gap: .25rem; margin: -.5rem 0 1rem; border-bottom: 1px solid var(--line); }
.scope-tabs a { padding: .5rem .9rem; font-family: var(--display); font-weight: 700; font-size: 1.05rem; text-transform: uppercase; letter-spacing: .04em; color: var(--text-2); border-bottom: 3px solid transparent; margin-bottom: -1px; }
.scope-tabs a:hover { color: var(--accent-ink); text-decoration: none; }
.scope-tabs a[aria-current] { color: var(--text); border-bottom-color: var(--accent); }
.page-actions { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; margin-top: 1rem; position: relative; }
.btn-ghost { background: transparent; }
.btn-block { display: block; width: 100%; text-align: center; }
.btn-danger { background: #b91c1c; border-color: #b91c1c; color: #fff; }
.btn.is-liked { border-color: var(--accent); color: var(--accent-ink); }
.linklike { background: none; border: 0; padding: 0; color: var(--link); font: inherit; cursor: pointer; }
.linklike:hover { text-decoration: underline; }
.linklike.danger, .danger { color: #ff7b7b; }
.inline-form { display: inline; }
.badge { display: inline-block; font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; padding: .1rem .45rem; border-radius: 999px; background: var(--paper-3); color: var(--text-2); vertical-align: middle; }
.badge-ok { background: #12281a; color: #9fe0b2; }
.badge-warn { background: #2a2210; color: #f3d98b; }
.alert-warn { background: #2a2210; border: 1px solid #5a4a1a; color: #f3d98b; }
.alert-success { background: #12281a; border-color: #24503a; color: #9fe0b2; }
  .alert-warn { background: #2a2210; border-color: #5a4a1a; color: #f3d98b; }
  .badge-ok { background: #12281a; color: #9fe0b2; }
  .badge-warn { background: #2a2210; color: #f3d98b; }

.hint { font-size: .8rem; color: var(--muted); margin: .3rem 0 0; font-weight: 400; }
.form-check label { display: flex; gap: .5rem; align-items: flex-start; font-weight: 400; }
.form-check input { margin-top: .3rem; }
.form-row-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
@media (max-width: 700px) { .form-row-3 { grid-template-columns: 1fr; } }
.form input[type=password], .form input[type=url], .form input[type=search], .form select,
.editor input[type=text], .editor input[type=search], .editor select, .editor textarea { width: 100%; font: inherit; padding: .55rem .7rem; border: 1px solid var(--line-2); border-radius: var(--radius-sm); background: var(--paper); color: var(--text); }
.form select { appearance: auto; }
.narrow { max-width: 40rem; }
.toast { position: fixed; left: 50%; bottom: 1.5rem; transform: translate(-50%, 150%); background: var(--accent); color: #fff; padding: .7rem 1.1rem; border-radius: var(--radius); box-shadow: var(--shadow); z-index: 200; transition: transform .25s; max-width: calc(100% - 2rem); }
.toast.is-visible { transform: translate(-50%, 0); }
.toast.is-error { background: #b91c1c; }
.tag { font-size: .85rem; padding: .15rem .55rem; border-radius: 999px; background: var(--accent-soft); color: var(--accent-ink); }
.tag-cloud a { display: inline-block; margin: 0 .5rem .4rem 0; }
.cta-strip { background: linear-gradient(135deg, #00106e, var(--accent)); color: #fff; border-radius: var(--radius); padding: 1.75rem; }
.cta-strip h2 { color: #fff; }
.cta-strip p { color: #d4d4de; }
.cta-strip .btn-ghost { color: #fff; border-color: #55556a; }

/* ---------------------------------------------------------------- auth and account */
.auth-card { max-width: 28rem; margin: 2rem auto 3rem; }
.auth-card h1 { font-size: 2.4rem; }
.auth-card .form { padding: 1.4rem; }
.auth-alt { margin-top: 1rem; font-size: .9rem; color: var(--text-2); }
.account-tabs { display: flex; flex-wrap: wrap; gap: .25rem 1.25rem; align-items: center; margin: -.75rem 0 1.5rem; border-bottom: 1px solid var(--line); padding-bottom: .6rem; }
.account-tabs a { color: var(--text-2); font-weight: 600; }
.account-tabs a[aria-current] { color: var(--accent-ink); }
.account-tabs .inline-form { margin-left: auto; }
.account-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 2rem; align-items: start; }
.account-grid aside { display: flex; flex-direction: column; gap: 1rem; }
@media (max-width: 900px) { .account-grid { grid-template-columns: 1fr; } }
.settings-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 1.25rem; }
.settings-block { background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.2rem 1.3rem; }
.settings-block .form { border: 0; padding: 0; background: none; margin-top: .75rem; }
.settings-block h2 { font-size: 1.35rem; }
.secret-key code { font-size: 1.25rem; letter-spacing: .08em; background: var(--paper-3); padding: .4rem .7rem; border-radius: var(--radius-sm); display: inline-block; }
code.wrap { word-break: break-all; }

/* ---------------------------------------------------------------- member lists and profiles */
.ulist-card .card-desc { font-size: .85rem; color: var(--text-2); }
.item-note { display: block; font-size: .85rem; color: var(--text-2); font-style: italic; margin-top: .15rem; }
.compare { background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.2rem 1.4rem; }
.compare .section-head { border-bottom-width: 1px; }
.compare h3 { margin-top: 1.2rem; }
.profile-head { display: flex; gap: 1.25rem; align-items: flex-start; }
.avatar { flex: 0 0 auto; display: grid; place-items: center; width: 84px; height: 84px; border-radius: 50%; background: linear-gradient(135deg, var(--accent-2), var(--accent)); color: #fff; font-family: var(--display); font-weight: 800; font-size: 2.6rem; }
.how-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1rem; margin: 1rem 0 0; }
.how-grid > div { background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem 1.2rem; }
.how-grid h2 { font-size: 1.3rem; }
.how-grid p { margin: 0; color: var(--text-2); font-size: .95rem; }
.contributor-list { columns: 3 220px; column-gap: 2rem; list-style: none; padding: 0; }
.contributor-list li { padding: .3rem 0; break-inside: avoid; }
.add-pop { position: absolute; left: 0; top: calc(100% + .4rem); z-index: 60; background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: .6rem; min-width: 16rem; display: flex; flex-direction: column; gap: .25rem; }
.add-pop button { text-align: left; background: none; border: 0; padding: .45rem .6rem; border-radius: var(--radius-sm); font: inherit; color: var(--text); cursor: pointer; }
.add-pop button:hover { background: var(--paper-3); }
.add-pop-title { margin: 0 0 .2rem; font-weight: 700; font-size: .85rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.add-pop .btn { margin-top: .35rem; text-align: center; }

/* ---------------------------------------------------------------- list editor */
.editor { max-width: 52rem; }
.editor-head { margin-bottom: 1.25rem; }
.editor-title { font-family: var(--display); font-weight: 800; font-size: clamp(1.8rem, 4vw, 2.6rem) !important; padding: .3rem .5rem !important; }
.editor-desc { margin-top: .5rem; }
.editor-add { background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem 1.2rem; margin-bottom: 1rem; }
.editor-add > label { font-weight: 700; display: block; margin-bottom: .35rem; }
.editor-add details { margin-top: .75rem; }
.editor-add summary { cursor: pointer; font-weight: 600; color: var(--link); }
.editor-add textarea { margin: .4rem 0; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .9rem; }
.editor-add .form-row-2 { margin: .5rem 0; }
.editor-count { font-weight: 600; color: var(--text-2); margin: 0 0 .4rem; }
.editor-items { list-style: none; margin: 0; padding: 0; }
.editor-items li { display: grid; grid-template-columns: 2.4rem 1.2rem minmax(0, 1fr) auto; gap: .5rem; align-items: center; background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: .45rem .6rem; margin-bottom: .35rem; }
.editor-items li.is-over { border-color: var(--accent); box-shadow: 0 -3px 0 var(--accent); }
.editor-items li.is-dragging { opacity: .5; }
.ed-pos { font-family: var(--display); font-weight: 800; font-size: 1.4rem; text-align: right; color: var(--accent-ink); }
.ed-handle { cursor: grab; color: var(--muted); user-select: none; letter-spacing: -2px; }
.ed-body { display: flex; flex-direction: column; min-width: 0; }
.ed-title { font-weight: 600; }
.ed-artist { font-size: .85rem; color: var(--text-2); }
.ed-note { margin-top: .3rem; font-size: .85rem !important; padding: .3rem .5rem !important; }
.ed-actions { display: flex; gap: .2rem; }
.ed-actions button { width: 2rem; height: 2rem; border: 1px solid var(--line); background: var(--paper); border-radius: var(--radius-sm); cursor: pointer; color: var(--text); font-size: .95rem; }
.ed-actions button:disabled { opacity: .35; cursor: default; }
.ed-actions button:hover:not(:disabled) { border-color: var(--accent); }
@media (max-width: 600px) {
  .editor-items li { grid-template-columns: 2rem minmax(0, 1fr); }
  .ed-handle { display: none; }
  .ed-actions { grid-column: 1 / -1; justify-content: flex-end; }
}
.editor-settings { margin: 1.25rem 0 0; display: grid; gap: 1rem; }
.editor-settings label { font-weight: 600; display: block; margin-bottom: .3rem; }
.editor-bar { position: sticky; bottom: 0; display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; justify-content: flex-end; background: var(--paper); border-top: 1px solid var(--line); padding: .8rem 0; margin-top: 1.25rem; z-index: 10; }
.editor-status { margin-right: auto; font-size: .9rem; color: var(--text-2); }
.editor-status.is-error { color: #ff7b7b; }
.editor-delete { margin-top: 2rem; font-size: .9rem; }

/* ---------------------------------------------------------------- formats, series, records */
.format-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1rem; }
.format-card { background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem 1.25rem; box-shadow: var(--shadow); }
.format-card h2, .format-card h3 { font-size: 1.45rem; }
.format-card h2 a, .format-card h3 a { color: var(--text); }
.records-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 1.25rem 2rem; }
.record-block h2 { font-size: 1.35rem; border-bottom: 2px solid var(--ink); padding-bottom: .3rem; }
.record-block h2 { border-color: var(--line-2); }

.matrix th, .matrix td { padding: .35rem .4rem; font-size: .85rem; }
.matrix th.col-num a { color: var(--text-2); }
.matrix td.is-one { background: var(--accent); color: #fff; font-weight: 700; }
.matrix td.is-ten { background: var(--accent-soft); color: var(--accent-ink); font-weight: 600; }
.rank-scope { font-size: 1rem; text-transform: uppercase; letter-spacing: .05em; color: var(--text-2); margin: 1rem 0 .4rem; }

/* header fit with the account area */
.header-inner { gap: 1rem; }
.site-nav > a { white-space: nowrap; padding: .5rem .55rem; }
@media (max-width: 1240px) { .search-form input { width: 150px; } .site-nav > a { font-size: 1.05rem; padding: .45rem .45rem; } }
@media (min-width: 901px) and (max-width: 1060px) { .search-form { display: none; } }

[hidden] { display: none !important; }

/* Enrichment: facts line, album grid, multi-column rank lists */
.fact-line { margin: -.1rem 0 .6rem; color: var(--text-2); font-size: .98rem; }
.fact-line a { font-weight: 600; }
.album-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: .75rem; }
.album-card { display: flex; flex-direction: column; gap: .15rem; height: 100%; padding: .75rem .85rem; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--paper-2); color: var(--text); text-decoration: none; }
.album-card:hover, .album-card:focus-visible { border-color: var(--accent); box-shadow: var(--shadow); }
.album-year { font-family: var(--display); font-weight: 600; color: var(--accent-ink); letter-spacing: .04em; }
.album-title { font-weight: 600; line-height: 1.25; }
.album-meta { color: var(--muted); font-size: .85rem; margin-top: auto; }
@media (min-width: 760px) { .rank-list-cols { columns: 2; column-gap: 2rem; } .rank-list-cols li { break-inside: avoid; } }
.auth-or { display: flex; align-items: center; gap: .75rem; margin: 1rem 0; color: var(--muted); font-size: .85rem; }
.auth-or::before, .auth-or::after { content: ""; flex: 1; border-top: 1px solid var(--line); }
.btn-google { display: flex; align-items: center; justify-content: center; gap: .6rem; background: var(--paper-2); color: var(--text); border: 1px solid var(--line-2); }
.btn-google:hover { border-color: var(--text-2); }
.embed-code { width: 100%; font: 12px/1.4 ui-monospace, SFMono-Regular, Consolas, monospace; padding: .5rem; border: 1px solid var(--line-2); border-radius: var(--radius-sm); background: var(--paper-3); color: var(--text); resize: vertical; }

/* Articles, data stories, countdown season */
.article-list { list-style: none; padding: 0; margin: 0; }
.article-list li { padding: 1.1rem 0; border-bottom: 1px solid var(--line); }
.article-list h2 { margin: .1rem 0 .35rem; font-size: 1.5rem; }
.article-list h2 a { color: var(--text); text-decoration: none; }
.article-list h2 a:hover { color: var(--link); }
.article-body blockquote { margin: 1.25rem 0; padding: .25rem 0 .25rem 1rem; border-left: 3px solid var(--accent); color: var(--text-2); font-style: italic; }
.data-block { margin: 1rem 0 .25rem; padding: .5rem 1rem; background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius-sm); }
.prose .data-block li { margin: 0; }
.data-more { margin-top: .25rem; font-size: .92rem; }
.data-card { margin: 1rem 0; padding: 1rem 1.1rem; background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius); }
.data-card-title { font-family: var(--display); font-size: 1.6rem; font-weight: 700; margin: 0 0 .5rem; }
.season-progress { height: 10px; background: var(--paper-3); border-radius: 99px; overflow: hidden; margin: 1rem 0 .35rem; max-width: 36rem; }
.season-progress span { display: block; height: 100%; background: var(--accent); border-radius: 99px; }
.chip-list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .4rem; }
.chip-list a { display: inline-block; padding: .3rem .7rem; border: 1px solid var(--line-2); border-radius: 99px; text-decoration: none; color: var(--text); font-size: .92rem; }
.chip-list a:hover { border-color: var(--accent); }

/* Advertising: always labelled, space reserved so the page does not jump when an ad loads */
.ad { position: relative; margin: 1.5rem 0; text-align: center; min-height: 120px; }
.ad::before { content: 'Advertisement'; display: block; font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: .25rem; }
.ad-sidebar { min-height: 280px; }
.ad-inline { min-height: 120px; }
.ad-placeholder { display: grid; place-items: center; border: 1px dashed var(--line-2); border-radius: var(--radius-sm); color: var(--muted); }
.brand { display: block; line-height: 0; }
.footer-brand img { height: 70px; width: auto; }

/* Social sign-in */
.social-buttons { display: grid; gap: .5rem; margin: .5rem 0 1rem; }
.btn-social { display: flex; align-items: center; justify-content: center; gap: .6rem; background: var(--paper-2); color: var(--text); border: 1px solid var(--line-2); font-weight: 600; }
.btn-social:hover { border-color: var(--accent); text-decoration: none; }
.btn-social svg { width: 20px; height: 20px; flex: 0 0 auto; }
.settings-block .social-buttons { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
