/* BoomBapWax — "record store after dark"
   Plain CSS, no build step. Colours are tokens so the light theme is a swap.
   Signature details: the record slides out of each sleeve in the colour of the pressing; stickers like
   the hype stickers on a shrink-wrapped LP; OBI strips carry the facts; section heads are crate dividers. */


@font-face { font-family: "Anton"; src: url("../fonts/anton-latin-400-normal.912c3c9f2621.woff2") format("woff2"); font-weight: 400; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Anton"; src: url("../fonts/anton-latin-ext-400-normal.ab8365836d69.woff2") format("woff2"); font-weight: 400; font-display: swap; unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-latin-wght-normal.260c81a4759b.woff2") format("woff2-variations"); font-weight: 100 900; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-latin-ext-wght-normal.1ad231aac0a8.woff2") format("woff2-variations"); font-weight: 100 900; font-display: swap; unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Plex Mono"; src: url("../fonts/ibm-plex-mono-latin-400-normal.79936b18df9f.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Plex Mono"; src: url("../fonts/ibm-plex-mono-latin-500-normal.b1c8a895f5fd.woff2") format("woff2"); font-weight: 500; font-display: swap; }

/* Fallback metrics so text doesn't jump when Anton arrives */
@font-face { font-family: "Anton Fallback"; src: local("Impact"), local("Arial Narrow Bold"), local("Arial Bold"); size-adjust: 78%; ascent-override: 110%; descent-override: 30%; }

/* ---------------- tokens ----------------
   Dark is the default ("record store after dark"); light is "paper" and only swaps the tokens. */
:root {
  --bg: #0d0c0b;
  --bg-2: #141210;
  --surface: #1a1714;
  --surface-2: #221e1a;
  --line: #2e2924;
  --line-2: #3d362f;
  --text: #f3ebdc;
  --muted: #a8a091;
  --faint: #6f675b;
  --accent: #ffc23d;        /* gold label: fills, stickers */
  --accent-text: #ffc23d;   /* gold as text; darker on paper so it still reads */
  --accent-ink: #1a1305;
  --hot: #ff5a3c;           /* sticker red */
  --hot-text: #ff7a60;
  --ok: #45d483;
  --pre: #6fc6ff;
  --low: #ff9a3c;
  --sold: #8a7f72;
  --shadow: 0 1px 0 rgba(255,255,255,.03) inset, 0 18px 40px -18px rgba(0,0,0,.7);
  --shadow-sleeve: 0 1px 0 rgba(255,255,255,.05) inset, 0 12px 30px -12px rgba(0,0,0,.8);
  --shadow-sleeve-up: 0 1px 0 rgba(255,255,255,.06) inset, 0 24px 44px -16px rgba(0,0,0,.85);
  --radius: 14px;
  --radius-s: 8px;
  --ease: cubic-bezier(.2,.8,.2,1);
  --display: "Anton", "Anton Fallback", "Impact", "Haettenschweiler", "Arial Narrow Bold", sans-serif;
  --body: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "Plex Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --wrap: 1280px;
  --header-h: 68px;
  color-scheme: dark;
}
:root[data-theme="light"] {
  --bg: #f4eee3; --bg-2: #ede5d6; --surface: #fffaf1; --surface-2: #f5edde; --line: #e2d7c4; --line-2: #cfc0a8;
  --text: #17130f; --muted: #665c4e; --faint: #948a79; --accent: #e8a800; --accent-text: #8c6300; --accent-ink: #1a1305;
  --hot: #e2401f; --hot-text: #c4331a; --ok: #1f8f4e; --pre: #1569b3; --low: #c6640a; --sold: #8f8374;
  --shadow: 0 18px 40px -22px rgba(60,40,10,.35); --shadow-sleeve: 0 10px 26px -12px rgba(60,40,10,.45); --shadow-sleeve-up: 0 22px 40px -16px rgba(60,40,10,.5);
  color-scheme: light;
}
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    --bg: #f4eee3; --bg-2: #ede5d6; --surface: #fffaf1; --surface-2: #f5edde; --line: #e2d7c4; --line-2: #cfc0a8;
    --text: #17130f; --muted: #665c4e; --faint: #948a79; --accent: #e8a800; --accent-text: #8c6300; --accent-ink: #1a1305;
    --hot: #e2401f; --hot-text: #c4331a; --ok: #1f8f4e; --pre: #1569b3; --low: #c6640a; --sold: #8f8374;
    --shadow: 0 18px 40px -22px rgba(60,40,10,.35); --shadow-sleeve: 0 10px 26px -12px rgba(60,40,10,.45); --shadow-sleeve-up: 0 22px 40px -16px rgba(60,40,10,.5);
    color-scheme: light;
  }
}

/* ---------------- base ---------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 24px); scroll-behavior: smooth; overflow-x: clip; }
body {
  margin: 0; background: var(--bg); color: var(--text); font: 400 16px/1.55 var(--body);
  font-feature-settings: "ss01", "cv11"; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
/* subtle record-sleeve grain */
body::before {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 0; opacity: .045; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
main, header, footer, .ticker { position: relative; z-index: 1; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration-color: color-mix(in oklab, currentColor 35%, transparent); text-underline-offset: 3px; transition: color .15s; }
a:hover { color: var(--accent-text); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--accent); color: var(--accent-ink); }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
.mono { font-family: var(--mono); font-feature-settings: "zero", "tnum"; }
.muted { color: var(--muted); }
.faint { color: var(--faint); }
h1, h2, h3, .display { font-family: var(--display); font-weight: 400; letter-spacing: .01em; text-transform: uppercase; line-height: .95; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(2.6rem, 6vw, 5.2rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; text-wrap: pretty; }
code { font-family: var(--mono); font-size: .9em; background: var(--surface-2); border: 1px solid var(--line); padding: 1px 6px; border-radius: 5px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--accent); color: var(--accent-ink); padding: 8px 14px; border-radius: 8px; z-index: 99; }
.skip:focus { left: 8px; }

/* ---------------- header ---------------- */
.site-header { position: sticky; top: 0; z-index: 50; background: color-mix(in oklab, var(--bg) 86%, transparent); backdrop-filter: saturate(140%) blur(14px); -webkit-backdrop-filter: saturate(140%) blur(14px); border-bottom: 1px solid var(--line); }
.site-header::before { content: ""; display: block; height: 3px; background: linear-gradient(90deg, var(--accent) 0 60%, var(--hot)); }
.site-header .wrap { display: flex; align-items: center; gap: 22px; height: var(--header-h); }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); flex: none; }
.logo:hover { color: var(--text); }
.logo-disc { width: 34px; height: 34px; border-radius: 50%; flex: none; position: relative;
  background: repeating-radial-gradient(circle at 50% 50%, #111 0 1.5px, #1d1d1d 1.5px 3px); box-shadow: 0 0 0 1px #000 inset, 0 2px 6px rgba(0,0,0,.4); }
.logo-disc::after { content: ""; position: absolute; inset: 11px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px #111; }
.logo:hover .logo-disc { animation: spin 1.6s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.logo-word { font-family: var(--display); font-size: 1.55rem; letter-spacing: .02em; line-height: 1; text-transform: uppercase; }
.logo-word b { color: var(--accent-text); font-weight: 400; }
.nav { display: flex; gap: 2px; flex: 1; }
.nav a { text-decoration: none; font-weight: 600; font-size: .93rem; padding: 8px 12px; border-radius: 999px; color: var(--muted); white-space: nowrap; transition: background .15s, color .15s; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); background: var(--surface-2); }
.nav a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--accent); border-radius: 999px 999px 6px 6px; }
.nav a .dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--hot); margin-left: 6px; vertical-align: 2px; box-shadow: 0 0 0 0 var(--hot); animation: pulse 2s infinite; }
.nav-search { display: none; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 color-mix(in oklab, var(--hot) 60%, transparent); } 70% { box-shadow: 0 0 0 8px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }
.header-tools { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.search-mini { position: relative; }
.search-mini input { width: 210px; background: var(--surface); border: 1px solid var(--line); color: var(--text); border-radius: 999px; padding: 9px 14px 9px 36px; font: inherit; font-size: .9rem; transition: width .25s var(--ease), border-color .2s, box-shadow .2s; }
.search-mini input:focus { width: 280px; outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in oklab, var(--accent) 25%, transparent); }
.search-mini svg { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--faint); pointer-events: none; }
.icon-btn { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); color: var(--text); cursor: pointer; position: relative; text-decoration: none; transition: border-color .15s, color .15s, transform .12s; }
.icon-btn:hover { border-color: var(--line-2); color: var(--accent-text); }
.icon-btn:active { transform: scale(.94); }
.icon-btn .count { position: absolute; top: -4px; right: -4px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--accent); color: var(--accent-ink); font: 700 .7rem/18px var(--body); text-align: center; }
.icon-btn .count:empty { display: none; }
select.cur { appearance: none; background: var(--surface); color: var(--text); border: 1px solid var(--line); border-radius: 999px; padding: 8px 12px; font: 600 .82rem var(--mono); cursor: pointer; }
.menu-btn { display: none; }
/* theme toggle icons: show the one for the theme you'd switch to */
.tt-sun { display: none; }
@media (prefers-color-scheme: light) { :root:not([data-theme="dark"]) .tt-sun { display: block; } :root:not([data-theme="dark"]) .tt-moon { display: none; } }
:root[data-theme="light"] .tt-sun { display: block; } :root[data-theme="light"] .tt-moon { display: none; }
:root[data-theme="dark"] .tt-sun { display: none; } :root[data-theme="dark"] .tt-moon { display: block; }

/* ---------------- ticker ---------------- */
.ticker { border-bottom: 1px solid var(--line); background: var(--bg-2); overflow: hidden; font-size: .85rem; height: 38px; display: flex; align-items: center; }
.ticker-label { position: relative; z-index: 2; box-shadow: 12px 0 18px -4px var(--bg-2); flex: none; font-family: var(--display); text-transform: uppercase; letter-spacing: .06em; padding: 0 14px; height: 100%; display: flex; align-items: center; gap: 8px; background: var(--hot); color: #fff; text-decoration: none; }
.ticker-label::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #fff; animation: blink 1.4s ease-in-out infinite; }
@keyframes blink { 50% { opacity: .25; } }
.ticker-track { display: flex; gap: 38px; white-space: nowrap; animation: marquee 70s linear infinite; padding-left: 24px; }
.ticker:hover .ticker-track, .ticker:focus-within .ticker-track { animation-play-state: paused; }
.ticker a { text-decoration: none; color: var(--muted); }
.ticker a:hover { color: var(--text); }
.ticker .k { font-family: var(--mono); font-weight: 500; font-size: .75rem; letter-spacing: .04em; margin-right: 6px; text-transform: uppercase; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------------- buttons, pills, chips ---------------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 999px; padding: 11px 20px; font: 700 .92rem var(--body); text-decoration: none; cursor: pointer; border: 1px solid transparent; transition: transform .12s, background .2s, border-color .2s, box-shadow .2s, color .15s; white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn-gold { background: var(--accent); color: var(--accent-ink); box-shadow: 0 6px 18px -8px color-mix(in oklab, var(--accent) 70%, transparent); }
.btn-gold:hover { color: var(--accent-ink); filter: brightness(1.06); box-shadow: 0 10px 24px -8px color-mix(in oklab, var(--accent) 80%, transparent); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line-2); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent-text); }
.btn-sm { padding: 7px 14px; font-size: .82rem; }
.btn-buy { background: var(--text); color: var(--bg); }
.btn-buy:hover { background: var(--accent); color: var(--accent-ink); }
.btn[disabled], .btn.is-disabled { opacity: .45; pointer-events: none; }

.pill { display: inline-flex; align-items: center; gap: 6px; border-radius: 999px; padding: 3px 10px; font: 600 .74rem/1.4 var(--mono); letter-spacing: .03em; text-transform: uppercase; border: 1px solid var(--line-2); color: var(--muted); white-space: nowrap; }
.pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.pill.s-preorder { color: var(--pre); border-color: color-mix(in oklab, var(--pre) 45%, transparent); }
.pill.s-available { color: var(--ok); border-color: color-mix(in oklab, var(--ok) 45%, transparent); }
.pill.s-low { color: var(--low); border-color: color-mix(in oklab, var(--low) 50%, transparent); }
.pill.s-soldout { color: var(--sold); }
.pill.s-unknown { color: var(--faint); }
.chip { display: inline-block; padding: 2px 8px; border-radius: 6px; background: var(--surface-2); border: 1px solid var(--line); font: 500 .75rem/1.6 var(--mono); color: var(--muted); }

/* stickers: like the hype stickers on a shrink-wrapped LP */
.sticker { position: absolute; z-index: 3; font: 400 .78rem/1 var(--display); letter-spacing: .05em; text-transform: uppercase; padding: 6px 9px 5px; border-radius: 3px; transform: rotate(-4deg); box-shadow: 0 4px 10px rgba(0,0,0,.35), 0 0 0 1px rgba(255,255,255,.18) inset; pointer-events: none; }
.sticker.new { top: 10px; left: 10px; background: var(--accent); color: var(--accent-ink); }
.sticker.pre { top: 10px; left: 10px; background: var(--pre); color: #04121d; }
.sticker.ltd { bottom: 10px; right: 10px; background: var(--hot); color: #fff; transform: rotate(3deg); }
.sticker.sold { top: 42%; left: 50%; transform: translate(-50%, -50%) rotate(-10deg); background: #000; color: #fff; border: 2px solid #fff; font-size: 1.1rem; padding: 8px 12px 7px; box-shadow: 0 8px 20px rgba(0,0,0,.5); }
.sticker.low { top: 10px; right: 10px; background: var(--low); color: #1a0c00; transform: rotate(4deg); }
.sticker.round { border-radius: 50%; width: 58px; height: 58px; display: grid; place-items: center; text-align: center; padding: 0; line-height: 1; font-size: .7rem; }

/* ---------------- release cards ---------------- */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(196px, 1fr)); gap: 30px 22px; }
.grid.big { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.card { position: relative; display: grid; row-gap: 0; align-content: start; min-width: 0; }
.grid > .card { grid-template-rows: subgrid; grid-row: span 4; }
.sleeve { position: relative; aspect-ratio: 1; isolation: isolate; margin-bottom: 12px; }
.sleeve-link { position: absolute; inset: 0; z-index: 2; border-radius: 5px; overflow: hidden; background: var(--surface-2); box-shadow: var(--shadow-sleeve); transition: transform .35s var(--ease), box-shadow .35s var(--ease); display: block; }
/* the spine: a touch of shade down the left edge, like a real cardboard sleeve */
.sleeve-link::after { content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit;
  background: linear-gradient(90deg, rgba(0,0,0,.28), rgba(0,0,0,0) 7%), linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,0) 18%);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.06); }
.sleeve-link img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); background: var(--surface-2); }
/* no art: a plain die-cut sleeve, the label of the record showing through the hole */
.sleeve-link .no-art { width: 100%; height: 100%; display: flex; flex-direction: column; justify-content: space-between; align-items: center; text-align: center; padding: 15% 12px 8%; font: 400 1.15rem/1 var(--display); text-transform: uppercase; color: var(--muted); letter-spacing: .02em;
  background: linear-gradient(180deg, var(--surface-2), var(--surface)); }
.sleeve-link .no-art small { display: block; font: 500 .68rem var(--mono); color: var(--faint); letter-spacing: .06em; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rel-art:has(.no-art) .disc, .feature:has(.no-art) .disc { transform: none; }
.sleeve-link:has(.no-art) { -webkit-mask: radial-gradient(circle at 50% 50%, transparent 0 17%, #000 17.5%); mask: radial-gradient(circle at 50% 50%, transparent 0 17%, #000 17.5%); box-shadow: none; }
/* the record peeking out of the sleeve, in the colour of the pressing */
.disc { position: absolute; z-index: 1; top: 4%; left: 4%; width: 92%; height: 92%; border-radius: 50%; transition: transform .5s var(--ease);
  background:
    radial-gradient(circle at 50% 50%, var(--label, var(--accent)) 0 15%, #000 15.3% 16%, transparent 16.3%),
    repeating-radial-gradient(circle at 50% 50%, rgba(255,255,255,.06) 0 1px, transparent 1px 3px),
    var(--wax, #111);
  box-shadow: 0 0 0 1px rgba(0,0,0,.6) inset, 0 8px 20px -6px rgba(0,0,0,.6); }
.disc::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: radial-gradient(circle at 50% 50%, transparent 0 15%, rgba(0,0,0,.35) 15.3% 16.5%, transparent 17%), radial-gradient(circle at 50% 50%, transparent 0 1.6%, #000 1.8% 2.4%, transparent 2.6%); }
.disc::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(from 30deg, transparent 0 20%, rgba(255,255,255,.14) 25%, transparent 32% 70%, rgba(255,255,255,.08) 76%, transparent 82%); }
.card:hover, .card:focus-within { z-index: 2; }
.card:hover .disc, .card:focus-within .disc { transform: translateX(26%) rotate(40deg); }
.card:hover .sleeve-link, .card:focus-within .sleeve-link { transform: translateY(-4px); box-shadow: var(--shadow-sleeve-up); }
.card:hover .sleeve-link img { transform: scale(1.03); }
.card-body { display: contents; }
.card-artist { color: var(--muted); font: 600 .72rem/1.3 var(--mono); letter-spacing: .06em; text-transform: uppercase; text-decoration: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-bottom: 4px; }
.card-title { font-weight: 700; font-size: .98rem; line-height: 1.25; text-decoration: none; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; letter-spacing: -.005em; text-wrap: pretty; }
.card-meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 8px; min-width: 0; }
.card-price { font: 500 .88rem var(--mono); font-feature-settings: "tnum"; white-space: nowrap; }
.card-price .from { color: var(--faint); font-size: .7rem; margin-right: 2px; }
.card-price .conv { color: var(--faint); font-size: .78rem; }
.card-formats { display: inline-flex; align-items: center; gap: 6px; font: 500 .72rem var(--mono); color: var(--faint); text-transform: uppercase; letter-spacing: .03em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.swatch { display: inline-block; width: 11px; height: 11px; border-radius: 50%; flex: none; background: var(--wax, #111); box-shadow: 0 0 0 1px var(--line-2), 0 0 0 2px var(--surface-2) inset; }
.save-btn { position: absolute; z-index: 4; bottom: 10px; left: 10px; width: 34px; height: 34px; border-radius: 50%; border: 0; background: rgba(0,0,0,.62); color: #fff; display: grid; place-items: center; cursor: pointer; opacity: 0; transition: opacity .2s, transform .15s, color .15s; backdrop-filter: blur(4px); }
.card:hover .save-btn, .save-btn:focus-visible, .save-btn.is-saved { opacity: 1; }
.save-btn:hover { transform: scale(1.08); }
.save-btn.is-saved { color: var(--hot); }
.save-btn:active { transform: scale(.9); }
@media (hover: none) { .save-btn { opacity: 1; } }
.card.is-fresh .sleeve::after { content: ""; position: absolute; z-index: 5; top: -5px; right: -5px; width: 14px; height: 14px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 3px var(--bg), 0 0 18px var(--accent); }
.card.is-soldout .sleeve-link img { filter: grayscale(.85) brightness(.75); }
.card.is-soldout .card-title { color: var(--muted); }

/* OBI strip: the paper band on the left of a Japanese pressing, here carrying the facts */
.obi { position: absolute; z-index: 3; left: 0; top: 0; bottom: 0; width: 11%; min-width: 40px; background: var(--accent); color: var(--accent-ink); display: flex; flex-direction: column; align-items: center; justify-content: space-between; padding: 12px 0; writing-mode: vertical-rl; text-orientation: mixed; font: 500 .68rem/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; box-shadow: 4px 0 14px -4px rgba(0,0,0,.45); border-radius: 5px 0 0 5px; pointer-events: none; }
.obi b { font: 400 1rem/1 var(--display); letter-spacing: .06em; }
.obi span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-height: 55%; }
.obi.hot { background: var(--hot); color: #fff; }
.obi::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(0deg, rgba(0,0,0,.05) 0 2px, transparent 2px 4px); mix-blend-mode: multiply; }

/* ---------------- sections ---------------- */
.section { padding: 60px 0 8px; }
/* crate dividers: the heading sits as a tab on the rule */
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 28px; border-bottom: 3px solid var(--text); }
.section-head h2 { display: inline-flex; align-items: baseline; gap: 12px; background: var(--text); color: var(--bg); padding: 10px 16px 6px; border-radius: 8px 8px 0 0; font-size: clamp(1.4rem, 2.4vw, 1.9rem); }
.section-head .num { font: 500 .78rem var(--mono); color: color-mix(in oklab, var(--bg) 72%, transparent); letter-spacing: .04em; }
.section-head a.more { font-weight: 700; font-size: .9rem; text-decoration: none; white-space: nowrap; padding-bottom: 10px; }
.section-head a.more::after { content: " →"; display: inline-block; transition: transform .2s var(--ease); }
.section-head a.more:hover::after { transform: translateX(3px); }
.eyebrow { font: 500 .76rem var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--accent-text); margin-bottom: 12px; display: flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; flex: none; }

/* ---------------- hero ---------------- */
.hero { position: relative; padding: 56px 0 36px; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 56px; align-items: center; }
.hero::before { content: ""; position: absolute; inset: -30% 0 -10% 35%; z-index: -1; pointer-events: none;
  background: radial-gradient(50% 55% at 60% 45%, color-mix(in oklab, var(--accent) 13%, transparent), transparent 70%); }
.hero h1 { font-size: clamp(3.2rem, 8vw, 7rem); letter-spacing: 0; line-height: .9; }
.hero h1 .gold { color: var(--accent-text); }
.hero-lede { font-size: 1.15rem; color: var(--muted); max-width: 540px; margin: 22px 0 28px; }
.hero-stats { display: flex; flex-wrap: wrap; margin-top: 34px; border-top: 1px solid var(--line); }
.hero-stats div { display: flex; flex-direction: column; padding: 14px 26px 0 0; margin-right: 26px; border-right: 1px solid var(--line); }
.hero-stats div:last-child { border-right: 0; }
.hero-stats b { font: 400 2.4rem/1 var(--display); font-feature-settings: "tnum"; }
.hero-stats span { font: 500 .72rem var(--mono); color: var(--muted); text-transform: uppercase; letter-spacing: .08em; margin-top: 6px; }
.fresh-note { margin-top: 14px; font-size: .85rem; }
.feature { position: relative; padding-right: 18%; }
.feature .sleeve { box-shadow: none; }
.feature .sleeve-link { border-radius: 6px; box-shadow: 0 30px 60px -24px rgba(0,0,0,.8), 0 1px 0 rgba(255,255,255,.06) inset; }
.feature .disc { transform: translateX(22%) rotate(20deg); }
.feature:hover .disc { transform: translateX(30%) rotate(80deg); }
.feature-cap { margin-top: 24px; display: flex; justify-content: space-between; gap: 18px; align-items: start; }
.feature-cap .t { font: 400 clamp(1.5rem, 2.4vw, 2rem)/1 var(--display); text-transform: uppercase; text-decoration: none; display: block; }
.feature-cap .a { color: var(--muted); font-weight: 600; margin-top: 8px; display: block; text-decoration: none; }

/* ---------------- live wire ---------------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 48px; }
.wire { display: flex; flex-direction: column; }
.wire-item { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 14px; padding: 12px 10px 12px 12px; margin: 0 -10px 0 -12px; border-bottom: 1px solid var(--line); text-decoration: none; align-items: center; border-radius: 10px; position: relative; transition: background .15s; }
.wire-item::before { content: ""; position: absolute; left: 0; top: 14px; bottom: 14px; width: 3px; border-radius: 2px; background: var(--kind, var(--line-2)); }
.wire-item:hover { background: var(--surface); }
.wire-item img, .wire-item .ph { width: 48px; height: 48px; border-radius: 4px; object-fit: cover; background: var(--surface-2); box-shadow: 0 2px 8px -2px rgba(0,0,0,.5); }
.wire-item .k { font: 500 .7rem var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--kind, var(--muted)); }
.wire-item:has(.k.restock), .wire-item:has(.k.new), .wire-item:has(.k.variant) { --kind: var(--ok); }
.wire-item:has(.k.soldout) { --kind: var(--hot-text); }
.wire-item:has(.k.pricedrop) { --kind: var(--accent-text); }
.wire-item:has(.k.preorder), .wire-item:has(.k.date) { --kind: var(--pre); }
.wire-item:has(.k.low) { --kind: var(--low); }
.wire-item .k.restock, .wire-item .k.new, .wire-item .k.variant { color: var(--ok); }
.wire-item .k.soldout { color: var(--hot-text); }
.wire-item .k.pricedrop { color: var(--accent-text); }
.wire-item .k.preorder, .wire-item .k.date { color: var(--pre); }
.wire-item .k.low { color: var(--low); }
.wire-item .t { display: block; font-weight: 600; font-size: .92rem; line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wire-item .s { display: block; color: var(--muted); font-size: .82rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wire-item:hover .t { color: var(--accent-text); }
.wire-empty { color: var(--muted); padding: 20px 0; font-size: .95rem; }
.wire-day { position: sticky; top: calc(var(--header-h) + 54px); z-index: 2; margin: 22px 0 4px; padding: 6px 0; background: var(--bg); font: 500 .72rem var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--accent-text); display: flex; align-items: center; gap: 10px; }
.wire-day::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.wire-day:first-child { margin-top: 0; }

/* ---------------- calendar strip ---------------- */
.cal-strip { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(260px, 1fr); gap: 14px; overflow-x: auto; padding: 4px 4px 12px; margin: -4px -4px 0; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.cal-card { scroll-snap-align: start; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; display: grid; grid-template-columns: 64px minmax(0,1fr); gap: 14px; text-decoration: none; transition: border-color .15s, transform .25s var(--ease), box-shadow .25s var(--ease); }
.cal-card:hover { border-color: var(--line-2); transform: translateY(-2px); box-shadow: var(--shadow); }
.cal-card img, .cal-card .ph { width: 64px; height: 64px; border-radius: 4px; object-fit: cover; background: var(--surface-2); }
.cal-card b { font-weight: 700; line-height: 1.25; }
.date-badge { font: 400 1.05rem/1 var(--display); text-transform: uppercase; color: var(--accent-text); }
.countdown { font: 500 .75rem var(--mono); color: var(--muted); }

/* ---------------- labels strip ---------------- */
.labels { display: flex; flex-wrap: wrap; gap: 10px; }
.labels a { text-decoration: none; padding: 10px 16px; border: 1px solid var(--line); border-radius: 999px; font-weight: 600; font-size: .9rem; background: var(--surface); display: inline-flex; gap: 8px; align-items: center; transition: border-color .15s, transform .2s var(--ease); }
.labels a span { font: 500 .75rem var(--mono); color: var(--muted); }
.labels a:hover { border-color: var(--accent); transform: translateY(-1px); }

/* ---------------- signup ---------------- */
.signup { position: relative; overflow: hidden; margin: 72px 0 0; border-radius: 22px; padding: 48px; background:
  radial-gradient(900px 320px at 110% -20%, color-mix(in oklab, var(--accent) 32%, transparent), transparent),
  var(--surface); border: 1px solid var(--line); display: grid; grid-template-columns: 1.2fr 1fr; gap: 36px; align-items: center; }
.signup::after { content: ""; position: absolute; right: -70px; bottom: -120px; width: 320px; height: 320px; border-radius: 50%; pointer-events: none; opacity: .9;
  background: radial-gradient(circle at 50% 50%, var(--accent) 0 14%, #000 14.3% 15%, transparent 15.3%), repeating-radial-gradient(circle at 50% 50%, rgba(255,255,255,.09) 0 1px, transparent 1px 3px), #0a0a0a;
  box-shadow: 0 0 0 1px rgba(255,255,255,.08), 0 20px 50px -20px rgba(0,0,0,.8); }
.signup > * { position: relative; z-index: 1; }
.signup h2 { font-size: clamp(2rem, 4vw, 3.2rem); }
.signup p { color: var(--muted); margin-top: 12px; }
.form-row { display: flex; gap: 8px; }
.input { flex: 1; min-width: 0; background: var(--bg); color: var(--text); border: 1px solid var(--line-2); border-radius: 999px; padding: 12px 18px; font: inherit; transition: border-color .15s, box-shadow .15s; }
.input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in oklab, var(--accent) 25%, transparent); }
.hp { position: absolute; left: -5000px; }
/* Turnstile shows nothing unless Cloudflare wants the visitor to click; then it needs a little room. */
.cf-turnstile { margin-top: 10px; }
.cf-turnstile:empty { margin-top: 0; }
.fine { font-size: .8rem; color: var(--faint); margin-top: 10px; }

/* ---------------- page header, filters ---------------- */
.page-head { padding: 48px 0 26px; }
.page-head h1 { font-size: clamp(2.8rem, 6.5vw, 5.6rem); }
.page-head p { color: var(--muted); max-width: 680px; margin-top: 16px; font-size: 1.05rem; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; padding: 12px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: 30px; position: sticky; top: var(--header-h); z-index: 20; background: color-mix(in oklab, var(--bg) 90%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.filters a.f { text-decoration: none; padding: 7px 13px; border-radius: 999px; border: 1px solid var(--line); font-size: .85rem; font-weight: 600; color: var(--muted); transition: color .15s, border-color .15s, background .15s; }
.filters a.f:hover { color: var(--text); border-color: var(--line-2); }
.filters a.f.on { background: var(--text); color: var(--bg); border-color: var(--text); }
.filters .sep { width: 1px; height: 22px; background: var(--line); margin: 0 4px; }
.filters select { background: var(--surface); color: var(--text); border: 1px solid var(--line); border-radius: 999px; padding: 7px 12px; font: 600 .85rem var(--body); }
.filters .total { margin-left: auto; font: 500 .8rem var(--mono); color: var(--muted); }
.pager { display: flex; justify-content: center; gap: 8px; margin: 48px 0 10px; align-items: center; }
.pager a, .pager span { padding: 9px 15px; border-radius: 999px; border: 1px solid var(--line); text-decoration: none; font-weight: 600; font-size: .9rem; }
.pager a:hover { border-color: var(--accent); }
.pager span.cur { font-family: var(--mono); color: var(--muted); border: 0; }

/* ---------------- release page ---------------- */
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; font: 500 .78rem var(--mono); color: var(--muted); padding-top: 24px; letter-spacing: .02em; }
.crumbs a { text-decoration: none; }
.crumbs span { color: var(--faint); }
.rel { display: grid; grid-template-columns: minmax(0, 460px) minmax(0, 1fr); gap: 64px; padding: 32px 0 10px; align-items: start; }
.rel-art { position: sticky; top: calc(var(--header-h) + 28px); padding-right: 16%; }
.rel-art .sleeve-link { border-radius: 6px; box-shadow: 0 34px 60px -26px rgba(0,0,0,.85), 0 1px 0 rgba(255,255,255,.06) inset; }
.rel-art .disc { transform: translateX(20%) rotate(25deg); }
.rel-art:hover .disc { transform: translateX(28%) rotate(90deg); }
.rel-art .sleeve-link img { transition: none; }
.rel-head .artist { display: inline-block; font: 600 .82rem var(--mono); letter-spacing: .1em; text-transform: uppercase; text-decoration: none; color: var(--accent-text); margin-bottom: 8px; }
.rel-head h1 { font-size: clamp(2.6rem, 5.6vw, 5rem); margin: 0 0 18px; overflow-wrap: anywhere; line-height: .92; }
.rel-tags { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 24px; }
.facts { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; margin: 26px 0 8px; border-top: 2px solid var(--text); border-bottom: 1px solid var(--line); }
.facts div { padding: 14px 16px 14px 0; border-right: 1px solid var(--line); margin-right: 16px; }
.facts div:last-child { border-right: 0; margin-right: 0; }
.facts dt { font: 500 .68rem var(--mono); color: var(--muted); text-transform: uppercase; letter-spacing: .1em; }
.facts dd { margin: 8px 0 0; font: 400 1.5rem/1 var(--display); text-transform: uppercase; font-feature-settings: "tnum"; }
.facts dd .conv { display: block; font: 500 .74rem var(--mono); color: var(--faint); text-transform: none; margin-top: 4px; }
.summary { font-size: 1.06rem; color: var(--text); max-width: 64ch; margin-top: 22px; }
.summary-note { font-size: .78rem; color: var(--faint); }
.whats-new { margin: 22px 0 0; padding: 18px 20px; border-left: 3px solid var(--accent); background: var(--surface); border-radius: 0 var(--radius-s) var(--radius-s) 0; }
.whats-new h3 { font-size: 1rem; margin-bottom: 10px; }
.whats-new ul { margin: 0; padding-left: 1.1em; }
.whats-new li { margin-bottom: 8px; }
.whats-new q { display: block; color: var(--faint); font-size: .82rem; font-style: italic; quotes: "“" "”"; }
.buy { margin-top: 36px; }
.buy h2 { margin-bottom: 16px; }
.variant { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-bottom: 14px; background: var(--surface); }
.variant-head { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--line); background: var(--surface-2); }
.variant-head .swatch { width: 22px; height: 22px; box-shadow: 0 0 0 1px var(--line-2), 0 0 0 5px var(--surface-2) inset; }
.variant-head b { font-weight: 700; }
.variant-head .ps { margin-left: auto; font: 500 .74rem var(--mono); color: var(--hot-text); white-space: nowrap; text-transform: uppercase; letter-spacing: .04em; }
.offer { display: grid; grid-template-columns: minmax(0, 1fr) auto auto auto; gap: 18px; align-items: center; padding: 12px 16px; border-bottom: 1px solid var(--line); transition: background .15s; }
.offer:last-child { border-bottom: 0; }
.offer:hover { background: color-mix(in oklab, var(--surface-2) 60%, transparent); }
.offer .shop { font-weight: 600; min-width: 0; }
.offer .shop .best { display: inline-block; vertical-align: 1px; margin-left: 6px; font: 400 .62rem/1 var(--display); letter-spacing: .06em; text-transform: uppercase; background: var(--accent); color: var(--accent-ink); padding: 3px 6px 2px; border-radius: 3px; }
.offer .shop small { display: block; color: var(--faint); font: 400 .75rem var(--mono); margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.offer .actions { display: flex; gap: 6px; align-items: center; justify-content: flex-end; }
.share { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 18px 0 0; }
.share-label { font: 400 .72rem/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--faint); margin-right: 4px; }
.sh { display: inline-flex; align-items: center; padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; background: transparent;
  color: var(--text); font-family: inherit; font-size: .8rem; font-weight: 600; line-height: 1.2; text-decoration: none; cursor: pointer; transition: border-color .15s, background .15s; }
.sh:hover, .sh:focus-visible { border-color: var(--accent); background: color-mix(in oklab, var(--accent) 12%, transparent); }
.sh-ig, .sh-ig:hover, .sh-ig:focus-visible { background: linear-gradient(45deg, #f9ce34, #ee2a7b 55%, #6228d7); border-color: transparent; color: #fff; }
.sh-ig:hover { filter: brightness(1.08); }
.sh-native { background: var(--text); color: var(--bg); border-color: var(--text); }
.ig-panel { flex-basis: 100%; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 8px; padding: 12px 14px;
  border: 1px solid var(--line); border-radius: 12px; font-size: .86rem; }
.ig-panel p { flex-basis: 100%; margin: 0; color: var(--muted); }
.ig-panel[hidden], .sh[hidden] { display: none; }
.bio-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.elsewhere { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 14px; font-size: .88rem; color: var(--muted); }
.elsewhere.secondhand { padding: 14px 16px; border: 1px solid var(--line); border-radius: 14px; color: var(--text); }
.elsewhere.secondhand b { flex-basis: 100%; }
.offer .price { font: 500 1.05rem var(--mono); font-feature-settings: "tnum"; text-align: right; white-space: nowrap; }
.offer .price .conv { display: block; font-size: .74rem; color: var(--faint); }
.offer .stock { font: 500 .74rem var(--mono); text-transform: uppercase; white-space: nowrap; letter-spacing: .04em; }
.stock.s-instock { color: var(--ok); } .stock.s-pre { color: var(--pre); } .stock.s-sold { color: var(--sold); text-decoration: line-through; } .stock.s-low { color: var(--low); }
.disclosure { font-size: .8rem; color: var(--faint); margin-top: 12px; }
.watch-box { margin-top: 32px; padding: 24px; border-radius: var(--radius); border: 1px dashed var(--line-2); background: var(--bg-2); }
.watch-box h3 { margin-bottom: 6px; }
.watch-box p { color: var(--muted); font-size: .92rem; }
.row-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.timeline { list-style: none; padding: 0; margin: 0; border-left: 2px solid var(--line); }
.timeline li { padding: 0 0 16px 18px; position: relative; }
.timeline li::before { content: ""; position: absolute; left: -7px; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: var(--surface); border: 2px solid var(--accent); }
.timeline time { font: 500 .75rem var(--mono); color: var(--muted); display: block; }
.chart-wrap { position: relative; }
.chart { width: 100%; height: 180px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.chart-legend { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 10px; font: 500 .74rem var(--mono); color: var(--muted); }
.chart-legend span::before { content: ""; display: inline-block; width: 14px; height: 3px; border-radius: 2px; background: var(--c); margin-right: 6px; vertical-align: 3px; }
.gone-list { font-size: .88rem; color: var(--muted); }

/* ---------------- calendar page ---------------- */
.month-nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.month-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 5px; margin-bottom: 40px; }
.month-grid .dow { font: 500 .72rem var(--mono); color: var(--muted); text-transform: uppercase; text-align: center; padding: 6px 0; letter-spacing: .06em; }
.month-grid .day { min-height: 84px; border-radius: 10px; background: var(--surface); border: 1px solid var(--line); padding: 7px 9px; font: 500 .8rem var(--mono); color: var(--muted); text-decoration: none; display: flex; flex-direction: column; justify-content: space-between; gap: 6px; transition: border-color .15s, transform .2s var(--ease); }
.month-grid .day.out { opacity: .35; }
.month-grid .day.today { border-color: var(--accent); color: var(--text); box-shadow: inset 0 0 0 1px var(--accent); }
.month-grid .day.has { color: var(--text); background: color-mix(in oklab, var(--accent) 12%, var(--surface)); border-color: color-mix(in oklab, var(--accent) 35%, var(--line)); }
.month-grid .day.has:hover { transform: translateY(-2px); border-color: var(--accent); }
.month-grid .day .n { font: 400 1rem/1 var(--display); color: var(--accent-text); }
.month-grid .day .top { display: flex; justify-content: space-between; align-items: baseline; }
.month-grid .thumbs { display: flex; gap: 3px; }
.month-grid .thumbs img { width: 26px; height: 26px; border-radius: 3px; object-fit: cover; box-shadow: 0 1px 3px rgba(0,0,0,.4); }
.month-grid .thumbs .more { width: 26px; height: 26px; border-radius: 3px; display: grid; place-items: center; font: 500 .62rem var(--mono); background: var(--surface-2); color: var(--muted); }
.day-block { display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 24px; padding: 24px 0; border-top: 1px solid var(--line); }
.day-block .d { position: sticky; top: calc(var(--header-h) + 80px); align-self: start; }
.day-block .d b { display: block; font: 400 3.4rem/1 var(--display); }
.day-block .d span { font: 500 .78rem var(--mono); color: var(--muted); text-transform: uppercase; }
.day-block .d.window b { font-size: 1.6rem; line-height: 1.05; }
.was { font: 500 .72rem var(--mono); color: var(--low); text-transform: uppercase; display: block; margin-top: 6px; }

/* ---------------- tables / lists ---------------- */
.table { width: 100%; border-collapse: collapse; }
.table th { text-align: left; font: 500 .72rem var(--mono); text-transform: uppercase; letter-spacing: .06em; color: var(--muted); padding: 10px 12px; border-bottom: 2px solid var(--text); }
.table td { padding: 14px 12px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.table tbody tr { transition: background .15s; }
.table tbody tr:hover { background: var(--surface); }
.table td.num { font-family: var(--mono); font-feature-settings: "tnum"; text-align: right; }
.table a { text-decoration: none; }
.table a:hover { text-decoration: underline; }
.table th.num { text-align: right; }
.prose { max-width: 70ch; font-size: 1.05rem; }
.prose h2 { margin: 40px 0 12px; font-size: 1.8rem; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .4em; }
.notice { padding: 14px 18px; border-radius: var(--radius-s); background: var(--surface); border: 1px solid var(--line); margin: 18px 0; }
.messages { list-style: none; padding: 0; margin: 18px 0 0; }
.messages li { padding: 12px 16px; border-radius: 10px; background: var(--surface); border-left: 4px solid var(--accent); margin-bottom: 8px; }
.messages li.error { border-left-color: var(--hot); }

/* ---------------- footer ---------------- */
.site-footer { position: relative; overflow: hidden; margin-top: 96px; border-top: 1px solid var(--line); background: var(--bg-2); padding: 52px 0 40px; font-size: .9rem; color: var(--muted); }
.site-footer::after { content: "BoomBapWax"; position: absolute; left: 50%; bottom: -.28em; transform: translateX(-50%); font: 400 min(22vw, 300px)/1 var(--display); text-transform: uppercase; letter-spacing: .02em; color: var(--text); opacity: .035; pointer-events: none; white-space: nowrap; user-select: none; }
.site-footer .wrap { position: relative; z-index: 1; }
.foot-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 30px; }
.site-footer h4 { font: 500 .72rem var(--mono); text-transform: uppercase; letter-spacing: .12em; color: var(--text); margin: 0 0 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { text-decoration: none; }
.foot-bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 36px; padding-top: 18px; border-top: 1px solid var(--line); font-size: .8rem; color: var(--faint); }
.theme-toggle { background: none; border: 1px solid var(--line); color: var(--muted); border-radius: 999px; padding: 6px 12px; cursor: pointer; font: inherit; font-size: .8rem; }

/* ---------------- view transitions (sleeve morphs into the release page) ---------------- */
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .2s; }
::view-transition-group(sleeve) { animation-duration: .38s; animation-timing-function: var(--ease); }
.rel-art .sleeve-link { view-transition-name: sleeve; }

/* ---------------- motion preferences ---------------- */
@media (prefers-reduced-motion: reduce) {
  .ticker-track { animation: none; } .logo:hover .logo-disc { animation: none; } .nav a .dot, .ticker-label::before { animation: none; }
  .card:hover .disc { transform: translateX(18%); } .disc, .sleeve-link, .sleeve-link img { transition: none; }
  .card:hover .sleeve-link { transform: none; }
  html { scroll-behavior: auto; }
  @view-transition { navigation: none; }
}
@media (forced-colors: active) { .sticker, .pill, .chip, .btn { border: 1px solid; } }

/* ---------------- responsive ---------------- */
@media (max-width: 1080px) {
  .search-mini input { width: 160px; } .search-mini input:focus { width: 200px; }
  .split { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .nav { display: none; position: absolute; top: calc(var(--header-h) + 3px); left: 0; right: 0; flex-direction: column; background: var(--bg); border-bottom: 1px solid var(--line); padding: 12px 16px 18px; gap: 4px; box-shadow: 0 30px 40px -20px rgba(0,0,0,.6); }
  .nav.open { display: flex; }
  .nav a { padding: 12px; font-size: 1.05rem; }
  .nav a[aria-current="page"] { border-radius: 10px; box-shadow: inset 3px 0 0 var(--accent); }
  .nav-search { display: block; margin: 4px 0 8px; }
  .nav-search .form-row { flex-direction: row; }
  .nav-search .form-row .input { padding: 10px 16px; }
  .menu-btn { display: inline-grid; }
  .search-mini { display: none; }
  .hero { grid-template-columns: 1fr; gap: 36px; padding-top: 30px; }
  .hero::before { inset: auto -20% -10% -20%; height: 60%; }
  .feature { max-width: 440px; padding-right: 16%; }
  .rel { grid-template-columns: 1fr; gap: 28px; padding-top: 22px; }
  .rel-art { position: relative; top: 0; max-width: 380px; }
  .signup { grid-template-columns: 1fr; padding: 30px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .day-block { grid-template-columns: 1fr; gap: 12px; }
  .day-block .d { position: static; display: flex; gap: 10px; align-items: baseline; }
  .day-block .d b { font-size: 2rem; }
}
@media (max-width: 700px) { .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } .facts div:nth-child(2n) { border-right: 0; } .facts dd { font-size: 1.2rem; } }
@media (max-width: 560px) {
  .wrap { padding: 0 16px; }
  .grid, .grid.big { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 14px; }
  .logo-word { font-size: 1.3rem; }
  select.cur { display: none; }
  .hero h1 { font-size: clamp(3rem, 15vw, 4.4rem); }
  .offer { grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "shop shop btn" "stock price btn"; row-gap: 6px; column-gap: 12px; }
  .offer .shop { grid-area: shop; }
  .offer .stock { grid-area: stock; align-self: center; }
  .offer .price { grid-area: price; text-align: left; }
  .offer > .btn, .offer .actions { grid-area: btn; align-self: center; }
  .offer .actions { flex-direction: column; align-items: stretch; }
  .hero-stats { flex-wrap: nowrap; }
  .hero-stats div { padding-right: 16px; margin-right: 16px; }
  .hero-stats b { font-size: 1.8rem; }
  .hero-stats span { font-size: .62rem; }
  .section-head .num { display: none; }
  .section-head h2 { padding: 8px 12px 5px; }
  .month-grid { gap: 3px; }
  .month-grid .day { min-height: 50px; padding: 4px 5px; border-radius: 6px; }
  .month-grid .day .n { font-size: .9rem; }
  .month-grid .thumbs { display: none; }
  .filters { top: var(--header-h); overflow-x: auto; flex-wrap: nowrap; scrollbar-width: none; }
  .filters .total { display: none; }
  .foot-grid { grid-template-columns: 1fr; }
  .form-row { flex-direction: column; }
  .obi { min-width: 36px; font-size: .6rem; }
  .signup::after { display: none; }
  .sticker { font-size: .7rem; padding: 5px 7px 4px; }
}
