/* Longplay — liner notes, pressed in the colours of the sleeve.
   Tinted tokens (--page … --seq-7) are written at runtime by tint.js from one album cover;
   the values below are the house pressing, used before any sleeve is chosen.
   Type: Archivo Condensed (display, 800 / wdth 62), Archivo (body), IBM Plex Mono (labels, numbers). */

/* Registered so a re-tint crossfades instead of snapping. */
@property --page { syntax: "<color>"; inherits: true; initial-value: #141413; }
@property --surface { syntax: "<color>"; inherits: true; initial-value: #1b1b1a; }
@property --well { syntax: "<color>"; inherits: true; initial-value: #0e0e0d; }
@property --ink { syntax: "<color>"; inherits: true; initial-value: #efede8; }
@property --ink-2 { syntax: "<color>"; inherits: true; initial-value: #c6c3bb; }
@property --muted { syntax: "<color>"; inherits: true; initial-value: #9b988f; }
@property --grid { syntax: "<color>"; inherits: true; initial-value: #262624; }
@property --axis { syntax: "<color>"; inherits: true; initial-value: #33322f; }
@property --accent { syntax: "<color>"; inherits: true; initial-value: #8fa8ff; }
@property --accent-ink { syntax: "<color>"; inherits: true; initial-value: #12141c; }

:root {
  color-scheme: dark;
  --page: #141413; --surface: #1b1b1a; --well: #0e0e0d; --grid: #262624; --axis: #33322f;
  --ring: rgba(255, 255, 255, 0.09); --empty: #22221f;
  --ink: #efede8; --ink-2: #c6c3bb; --muted: #9b988f;
  --accent: #8fa8ff; --accent-ink: #12141c;
  --seq-1: #2a3150; --seq-2: #354276; --seq-3: #45589c; --seq-4: #5b72bf;
  --seq-5: #7a90db; --seq-6: #a0b2ee; --seq-7: #cbd5f8;
  /* categorical: fixed, validated for both grounds; never tinted */
  --series-1: #3987e5; --series-2: #d95926; --series-3: #199e70; --series-4: #c98500;
  --series-5: #d55181; --series-6: #2f9e2f; --series-7: #9085e9; --series-8: #e66767;
  --other: #4a4a46;

  --display: "Archivo Variable", "Archivo", "Arial Narrow", sans-serif;
  --font: "Archivo Variable", "Archivo", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --grain-blend: overlay; --grain-opacity: 0.55;

  transition: --page .6s ease, --surface .6s ease, --well .6s ease, --ink .6s ease, --ink-2 .6s ease,
    --muted .6s ease, --grid .6s ease, --axis .6s ease, --accent .6s ease, --accent-ink .6s ease;
}
:root[data-theme="light"] {
  color-scheme: light;
  --page: #f1ece2; --surface: #f7f3eb; --well: #16140f; --grid: #e2dccf; --axis: #cfc8b8;
  --ring: rgba(27, 26, 23, 0.12); --empty: #e8e2d5;
  --ink: #1b1a17; --ink-2: #4d4940; --muted: #6b665b; --accent: #2238c9; --accent-ink: #f1ece2;
  --series-1: #2a78d6; --series-2: #eb6834; --series-3: #1baf7a; --series-4: #eda100;
  --series-5: #e87ba4; --series-6: #008300; --series-7: #6250d6; --series-8: #e34948;
  --other: #c3c2b7;
  --grain-blend: multiply; --grain-opacity: 0.35;
}
@media (prefers-reduced-motion: reduce) { :root { transition: none; } }

* { box-sizing: border-box; }
html { background: var(--page); }
body {
  margin: 0; background: var(--page); color: var(--ink);
  font: 15px/1.5 var(--font); -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
button { font: inherit; color: inherit; }

.card {
  background: var(--surface); border: 1px solid var(--ring); border-radius: 12px;
  padding: 20px; margin-bottom: 20px;
}
.card h2 { font-size: 15px; margin: 0 0 12px; font-weight: 600; }
.card .note { color: var(--muted); font-size: 13px; margin: 8px 0 0; }

.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin-bottom: 20px; }
.stat { background: var(--surface); border: 1px solid var(--ring); border-radius: 12px; padding: 14px 16px; }
.stat .v { font-size: 28px; font-weight: 650; letter-spacing: -0.02em; }
.stat .l { color: var(--muted); font-size: 13px; }

.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 860px) { .grid2 { grid-template-columns: 1fr !important; } }

.rank { list-style: none; margin: 0; padding: 0; counter-reset: r; }
.rank li {
  display: grid; grid-template-columns: 28px 1fr auto; gap: 8px; align-items: baseline;
  padding: 5px 0; border-bottom: 1px solid var(--grid); counter-increment: r;
}
.rank li::before { content: counter(r); color: var(--muted); font-variant-numeric: tabular-nums; font-size: 13px; }
.rank .n { color: var(--ink-2); font-variant-numeric: tabular-nums; font-size: 13px; }
.rank .s { color: var(--muted); font-size: 13px; }
.rank a { text-decoration: none; }
.rank a:hover { text-decoration: underline; }

.controls { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 14px; }
.controls label { color: var(--ink-2); font-size: 13px; display: flex; gap: 8px; align-items: center; }
.seg { display: inline-flex; border: 1px solid var(--ring); border-radius: 8px; overflow: hidden; }
.seg button { background: none; border: 0; padding: 6px 12px; cursor: pointer; color: var(--ink-2); font-size: 13px; }
.seg button[aria-pressed="true"] { background: var(--ink); color: var(--surface); }
input[type="range"] { accent-color: var(--accent); }
input[type="search"], input[type="date"], select {
  font: inherit; font-size: 14px; color: var(--ink); background: var(--surface);
  border: 1px solid var(--ring); border-radius: 8px; padding: 6px 10px;
}
.btn {
  background: var(--ink); color: var(--surface); border: 0; border-radius: 8px;
  padding: 8px 16px; cursor: pointer; font-weight: 600;
}
.btn.ghost { background: none; color: var(--ink); border: 1px solid var(--ring); }

.legend { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 13px; color: var(--ink-2); margin-top: 10px; }
.legend span { display: inline-flex; align-items: center; gap: 6px; cursor: default; }
.legend i { width: 10px; height: 10px; border-radius: 3px; display: inline-block; }
.legend span.dim { opacity: 0.35; }

svg text { fill: var(--muted); font: 11px var(--font); }
svg .axis path, svg .axis line { stroke: var(--axis); }
svg .grid line { stroke: var(--grid); }
svg .axis .domain { display: none; }

.tip {
  position: fixed; z-index: 10; pointer-events: none; max-width: 300px;
  background: var(--surface); color: var(--ink); border: 1px solid var(--ring);
  border-radius: 8px; padding: 8px 10px; font-size: 13px; line-height: 1.4;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.12);
}
.tip b { font-weight: 600; }
.tip .m { color: var(--muted); }

.scroll-x { overflow-x: auto; }
.empty { color: var(--muted); padding: 40px 0; text-align: center; }
.big-play {
  width: 64px; height: 64px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--ink); color: var(--surface); font-size: 22px;
}

.ghost-row { display: grid; grid-template-columns: minmax(140px, 220px) 1fr 150px; gap: 14px; align-items: center; padding: 6px 0; border-bottom: 1px solid var(--grid); }
.ghost-row .who { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ghost-row .when { font-size: 13px; color: var(--ink-2); text-align: right; }
.ghost-row .when small { display: block; color: var(--muted); }
@media (max-width: 700px) {
  .ghost-row { grid-template-columns: 1fr 110px; }
  .ghost-row .spark, .ghost-row.axis-row div { grid-column: 1 / -1; grid-row: 2; min-width: 0; }
}

.otd-year { display: grid; grid-template-columns: 56px 1fr auto; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--grid); align-items: baseline; }
.otd-year .y { font-weight: 650; font-variant-numeric: tabular-nums; }
.otd-year .first { color: var(--ink-2); font-size: 13px; }
.otd-year .n { color: var(--muted); font-size: 13px; font-variant-numeric: tabular-nums; }

.chip { display: inline-block; border: 1px solid var(--ring); border-radius: 999px; padding: 1px 9px; font-size: 12px; color: var(--ink-2); margin: 0 4px 4px 0; }



.sleeve { display: block; border-radius: 3px; object-fit: cover; background: var(--empty); }
.sleeve.blank {
  display: flex; align-items: flex-end; padding: 8%; overflow: hidden; color: rgba(255, 255, 255, 0.92);
  width: var(--s); height: var(--s); max-width: 100%; aspect-ratio: 1;
  font-size: clamp(7px, calc(var(--s) / 9), 17px); line-height: 1.1; text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
  overflow-wrap: anywhere;
}
a:has(> .sleeve) { text-decoration: none; }
.sleeve.blank b { font-weight: 650; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.tip .sleeves { display: flex; gap: 6px; margin: 6px 0 2px; }
.tip .sleeves figure { margin: 0; width: 64px; }
.tip .sleeves figcaption { font-size: 11px; color: var(--muted); line-height: 1.25; margin-top: 3px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---- Wall ---- */
.wall-weeks {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(var(--tile, 58px), 1fr));
  gap: 2px; background: var(--page);
}
.wall-weeks .tile, .wall-years .tile { position: relative; display: block; aspect-ratio: 1; }
.wall-weeks .tile .sleeve, .wall-years .tile .sleeve { width: 100%; height: 100%; border-radius: 2px; }
.wall-weeks .tile.empty { background: var(--empty); border-radius: 2px; }
.wall-weeks .tile .badge {
  position: absolute; left: 3px; top: 3px; font-size: 10px; font-weight: 700; line-height: 1;
  padding: 3px 4px; border-radius: 3px; background: var(--ink); color: var(--surface); pointer-events: none;
}
.wall-weeks .tile, .wall-years .tile { transition: transform 0.12s ease, box-shadow 0.12s ease; }
.wall-weeks .tile:hover, .wall-years .tile:hover {
  transform: scale(1.5); z-index: 2; box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}
.wall-years .shelf { display: grid; grid-template-columns: 56px 1fr; gap: 12px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--grid); }
.wall-years .yr { font-weight: 650; font-variant-numeric: tabular-nums; color: var(--ink-2); }
.wall-years .row {
  display: grid; grid-template-columns: repeat(12, minmax(0, var(--tile, 58px))); gap: 6px;
  overflow-x: auto;
}
@media (max-width: 700px) {
  .wall-years .shelf { grid-template-columns: 1fr; gap: 4px; }
  .wall-years .row { grid-template-columns: repeat(6, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  .wall-weeks .tile, .wall-years .tile { transition: none; }
  .wall-weeks .tile:hover, .wall-years .tile:hover { transform: none; outline: 2px solid var(--ink); }
}
.loom-card { padding: 16px; }

/* ---- Artist ---- */
.artist-hero { display: flex; gap: 20px; align-items: center; margin: 4px 0 20px; }
.artist-hero .sleeve { box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25); border-radius: 4px; flex: none; }
.swatches { display: flex; height: 10px; border-radius: 5px; overflow: hidden; margin-top: 12px; max-width: 320px; }
.shelf-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 16px; }
.shelf-row figure { margin: 0; }
.shelf-row .sleeve { width: 100%; height: auto; aspect-ratio: 1; }
.shelf-row figcaption { font-size: 13px; margin-top: 6px; line-height: 1.35; overflow-wrap: anywhere; }
.shelf-row figcaption span { color: var(--muted); }
@media (max-width: 600px) { .artist-hero { flex-direction: column; align-items: flex-start; } }

.loom-card .np {
  display: flex; gap: 10px; align-items: center; min-height: 40px; margin-bottom: 8px;
  font-size: 13px; color: var(--ink); line-height: 1.3;
}
.loom-card .np span, .loom-card .np-hint { color: var(--muted); }
.loom-card .np .sleeve { width: 36px; height: 36px; flex: none; }

.rank.plain li::before { content: none; }

/* ======================================================================================
   Liner notes: shell
   ====================================================================================== */
html { background: var(--page); }
body {
  margin: 0; background: var(--page); color: var(--ink);
  font: 15px/1.5 var(--font); font-stretch: 100%; -webkit-font-smoothing: antialiased;
  min-height: 100vh; display: flex; flex-direction: column;
}
body::after { /* paper grain over everything, never in the way */
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 20;
  background: url(grain.png) 0 0 / 128px 128px; mix-blend-mode: var(--grain-blend); opacity: var(--grain-opacity);
}
::selection { background: var(--accent); color: var(--accent-ink); }
a { color: inherit; }
a:hover { color: var(--accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 30; background: var(--accent); color: var(--accent-ink); padding: 6px 10px; }
.skip:focus { left: 8px; }

.mono, .strip, .kicker, .tracklist .no, .tracklist .st, .side-label, .credits, .card h2, .stat .l,
.controls, .legend, .rank .n, svg text { font-family: var(--mono); }

.strip {
  display: flex; align-items: center; gap: 16px; justify-content: space-between;
  margin: 0 56px; padding: 22px 0 12px; border-bottom: 1px solid var(--axis);
  font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase;
}
.strip b { color: var(--accent); font-weight: 500; }
.pressed { margin-left: auto; display: flex; align-items: center; gap: 8px; text-transform: none; letter-spacing: 0; color: var(--muted); min-width: 0; }
.pressed b { color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 26ch; }
.pressed .dots { display: flex; gap: 3px; }
.pressed .dots i { width: 10px; height: 10px; border-radius: 50%; display: block; box-shadow: 0 0 0 1px var(--ring); }
.theme {
  background: none; border: 1px solid var(--axis); border-radius: 50%; flex: none;
  width: 30px; height: 30px; cursor: pointer; color: var(--ink-2); font-size: 15px; line-height: 1;
}
.theme:hover { color: var(--accent); border-color: var(--accent); }

.sleeve-layout {
  flex: 1; display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 56px;
  padding: 32px 56px 48px; width: 100%; max-width: 1560px; margin: 0 auto; box-sizing: border-box;
}
.liner { position: sticky; top: 24px; align-self: start; display: flex; flex-direction: column; gap: 18px; }
.wordmark {
  font-family: var(--display); font-weight: 800; font-stretch: 62%; text-transform: uppercase;
  font-size: 104px; line-height: 0.84; letter-spacing: -0.02em; text-decoration: none; color: var(--ink);
}
.wordmark:hover { color: var(--ink); }
.liner-blurb { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.5; }
.tracklist { display: flex; flex-direction: column; gap: 18px; margin-top: 6px; }
.side-label { display: block; font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.tracklist ol { list-style: none; margin: 0; padding: 0; }
.tracklist a {
  display: grid; grid-template-columns: 30px 1fr auto; align-items: baseline; gap: 6px;
  padding: 6px 0; border-bottom: 1px solid var(--axis); text-decoration: none; font-size: 15px;
}
.tracklist .no { font-size: 12px; color: var(--muted); }
.tracklist .st { font-size: 11px; color: var(--muted); white-space: nowrap; }
.tracklist a:hover .t { color: var(--accent); }
.tracklist a[aria-current="page"] { color: var(--accent); font-weight: 700; }
.tracklist a[aria-current="page"] .no, .tracklist a[aria-current="page"] .st { color: var(--accent); }
.tracklist a[aria-current="page"] .t::after { content: " ▸"; }

main { min-width: 0; outline: none; }
.view-head { margin-bottom: 26px; max-width: 78ch; }
.kicker { font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); margin-bottom: 8px; }
.view-head h1 {
  font-family: var(--display); font-weight: 800; font-stretch: 62%; text-transform: uppercase;
  font-size: clamp(52px, 6.4vw, 96px); line-height: 0.86; letter-spacing: -0.02em; margin: 0 0 14px;
  overflow-wrap: anywhere;
}
.view-head p { margin: 0; color: var(--ink-2); max-width: 64ch; }

.credits {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px;
  margin: 0 56px; padding: 14px 0 28px; border-top: 1px solid var(--axis); font-size: 12px; line-height: 1.55;
}
.credits span { display: block; color: var(--muted); }
.credits:empty { display: none; }

/* ---- liner-notes components ---- */
.card { background: none; border: 0; border-top: 1px solid var(--axis); border-radius: 0; padding: 14px 0 22px; margin-bottom: 18px; }
.card h2 { font-size: 11px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin: 0 0 14px; }
.card .note { font-size: 13px; }
.stats { gap: 0 24px; margin-bottom: 22px; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); }
.stat { background: none; border: 0; border-top: 1px solid var(--axis); border-radius: 0; padding: 10px 0 12px; }
.stat .v {
  font-family: var(--display); font-weight: 800; font-stretch: 62%; font-size: 44px; line-height: 1;
  letter-spacing: -0.01em; font-variant-numeric: tabular-nums;
}
.stat .l { font-size: 11px; letter-spacing: 0.04em; margin-top: 4px; }
.rank li { border-bottom-color: var(--axis); }
.rank li::before { font-family: var(--mono); font-size: 12px; color: var(--accent); }
.rank .n { font-size: 12px; color: var(--muted); }
.controls { font-size: 12px; gap: 10px 12px; }
.controls label { font-size: 12px; }
.seg { border: 1px solid var(--axis); border-radius: 3px; }
.seg button { font-family: var(--mono); font-size: 12px; letter-spacing: 0.02em; padding: 6px 12px; }
.seg button[aria-pressed="true"] { background: var(--accent); color: var(--accent-ink); }
.btn {
  background: var(--accent); color: var(--accent-ink); border-radius: 3px; font-family: var(--mono);
  font-size: 12px; font-weight: 500; letter-spacing: 0.04em; text-transform: uppercase; padding: 8px 14px;
}
.btn.ghost { background: none; color: var(--ink); border: 1px solid var(--axis); }
.btn.ghost:hover { border-color: var(--accent); color: var(--accent); }
.big-play { background: var(--accent); color: var(--accent-ink); }
input[type="search"], input[type="date"], select { border-radius: 3px; border-color: var(--axis); background: var(--surface); font-size: 13px; }
.chip { border-color: var(--axis); border-radius: 3px; font-family: var(--mono); font-size: 11px; }
.legend { font-size: 12px; }
.tip { border-radius: 3px; border-color: var(--axis); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35); }
.sleeve { border-radius: 1px; }
.shelf-row figcaption b { font-weight: 600; }
.wall-weeks .tile .badge { font-family: var(--mono); font-weight: 500; background: var(--accent); color: var(--accent-ink); border-radius: 1px; }
.wall-weeks .tile.empty { background: var(--grid); }
.otd-year .y, .wall-years .yr { font-family: var(--mono); font-weight: 500; }

/* ---- Loom: a record on the platter, the sleeve as its label ---- */
.loom-card { background: none; border: 0; padding: 0; }
.loom-card .np { font-size: 13px; }
.disc { position: relative; }
.disc .label {
  position: absolute; border-radius: 50%; overflow: hidden; pointer-events: none;
  box-shadow: 0 0 0 3px var(--accent), 0 0 0 7px var(--well); background: var(--accent);
  transform: translate(-50%, -50%); transition: box-shadow .6s ease;
}
.disc .label img, .disc .label .sleeve { width: 100%; height: 100%; display: block; object-fit: cover; border-radius: 0; }
.disc .label::after { /* spindle hole */
  content: ""; position: absolute; left: 50%; top: 50%; width: 8%; height: 8%; min-width: 6px; min-height: 6px;
  transform: translate(-50%, -50%); border-radius: 50%; background: var(--page);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.4);
}
.disc .label[hidden] { display: none; }
.disc .label .sleeve.blank b { display: none; } /* a typeset title can't survive the round crop */

/* ---- Wall: a year in sleeves ---- */
.pressings { display: grid; grid-template-columns: repeat(auto-fill, minmax(72px, 1fr)); gap: 6px 8px; margin-bottom: 26px; }
.pressings a {
  display: flex; align-items: center; gap: 8px; height: 28px; padding: 0 8px; border-radius: 3px;
  text-decoration: none; font-family: var(--mono); font-size: 12px; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08);
}
.pressings a i { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.pressings a[aria-current="true"] { box-shadow: 0 0 0 1.5px var(--accent); }
.year-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.year-grid figure { margin: 0; display: flex; flex-direction: column; gap: 8px; }
.year-grid .sleeve { width: 100%; height: auto; aspect-ratio: 1; box-shadow: 0 16px 34px rgba(0, 0, 0, 0.45); }
.year-grid figcaption { display: grid; grid-template-columns: 30px 1fr auto; gap: 4px; align-items: baseline; font-size: 14px; line-height: 1.3; }
.year-grid figcaption .r { font-family: var(--mono); font-size: 12px; color: var(--accent); }
.year-grid figcaption .p { font-family: var(--mono); font-size: 12px; color: var(--muted); }
.year-grid figcaption small { display: block; color: var(--muted); font-size: 12px; }
.year-grid figcaption > span { min-width: 0; overflow-wrap: anywhere; }
.year-grid a { text-decoration: none; }

/* ---- narrower ---- */
@media (max-width: 1100px) {
  .sleeve-layout { grid-template-columns: 240px minmax(0, 1fr); gap: 36px; padding: 28px 32px 40px; }
  .strip, .credits { margin: 0 32px; }
  .wordmark { font-size: 84px; }
  .tracklist .st { display: none; }
  .year-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .strip { margin: 0 16px; padding-top: 14px; gap: 10px; }
  .strip .cat { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
  .pressed .lbl { display: none; }
  .pressed b { max-width: 14ch; }
  .sleeve-layout { display: block; padding: 18px 16px 32px; }
  .liner { position: static; gap: 12px; margin-bottom: 22px; }
  .wordmark { font-size: 64px; }
  .wordmark br { display: none; }
  .liner-blurb { display: none; }
  .tracklist { flex-direction: row; gap: 0; overflow-x: auto; scrollbar-width: none; margin: 0 -16px; padding: 0 16px; border-bottom: 1px solid var(--axis); }
  .tracklist::-webkit-scrollbar { display: none; }
  .tracklist .side { display: contents; }
  .side-label { display: none; }
  .tracklist ol { display: contents; }
  .tracklist a { display: flex; gap: 6px; white-space: nowrap; padding: 10px 12px 10px 0; margin-right: 6px; border-bottom: 2px solid transparent; }
  .tracklist a[aria-current="page"] { border-bottom-color: var(--accent); }
  .tracklist a[aria-current="page"] .t::after { content: none; }
  .view-head h1 { font-size: 56px; }
  .credits { margin: 0 16px; grid-template-columns: 1fr 1fr; gap: 14px 18px; }
  .year-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 14px; }
  .stat .v { font-size: 36px; }
}
.artist-name {
  font-family: var(--display); font-weight: 800; font-stretch: 62%; text-transform: uppercase;
  font-size: clamp(40px, 5vw, 72px); line-height: 0.9; letter-spacing: -0.01em; margin: 0 0 10px;
  overflow-wrap: anywhere; hyphens: auto;
}
.artist-hero .sleeve { border-radius: 1px; box-shadow: 0 16px 34px rgba(0, 0, 0, 0.45); }
.swatches { border-radius: 1px; height: 8px; }
[hidden] { display: none !important; }
.theme { display: grid; place-items: center; padding: 0; }
.shelf-row.eight { grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 14px; }
.shelf-row.eight figcaption { font-size: 12px; }
@media (max-width: 1100px) { .shelf-row.eight { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 760px) { .pressed b { display: none; } }

/* ---- inner views, in liner-notes dress ---- */
.legend i { border-radius: 1px; }
.note, .controls .note { color: var(--muted); font-size: 13px; }
.chip {
  border: 0; border-radius: 0; padding: 0; margin: 0 14px 4px 0; color: var(--ink-2);
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase;
}
a.chip { text-decoration: none; }
a.chip:hover { color: var(--accent); }
.chip.none { color: var(--muted); }
.artist-hero .tags { margin-top: 2px; }

.rank.years li { grid-template-columns: 52px minmax(0, 1fr) auto auto; }
.rank.years li > a, .rank.years li > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 760px) {
  .rank.years li { grid-template-columns: 44px minmax(0, 1fr) auto; }
  .rank.years .new { display: none; }
}
.rank .yr { font-family: var(--mono); font-size: 13px; font-weight: 500; }
.rank li.silent, .rank li.silent .n { color: var(--muted); }
.stat .v.name { font-size: 28px; line-height: 1.15; overflow-wrap: anywhere; }
.stat .v.name a { text-decoration: none; }

.wall-weeks .tile.gap {
  grid-column: 1 / -1; aspect-ratio: auto; display: flex; justify-content: space-between; gap: 12px;
  padding: 9px 0; margin: 6px 0; border-top: 1px solid var(--axis); border-bottom: 1px solid var(--axis);
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted);
}
.wall-weeks .tile.gap:hover { transform: none; box-shadow: none; }

.ghost-row { border-bottom-color: var(--axis); }
.ghost-row .who { font-weight: 500; text-decoration: none; }
.ghost-row .when { font-family: var(--mono); font-size: 12px; }
.ghost-row.axis-row { border-bottom: 0; padding-bottom: 0; }
.ghost-row.axis-row div { font-family: var(--mono); }

.otd-year { border-bottom-color: var(--axis); }
.otd-year .y { font-size: 13px; }
.otd-year.silent .y, .otd-year.silent .first { color: var(--muted); }
.otd-year .chip { text-transform: none; letter-spacing: 0; font-size: 12px; color: var(--ink); }
.otd-year .chip span { color: var(--muted); }
.otd-year .first { font-family: var(--mono); font-size: 12px; color: var(--muted); }
.otd-year .bar { display: inline-block; height: 2px; background: var(--accent); margin-right: 8px; vertical-align: middle; }

.swatch { display: inline-block; width: 10px; height: 10px; border-radius: 1px; vertical-align: -1px; margin-right: 6px; }
#now b { font-family: var(--mono); font-weight: 500; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; }
