/* GENERATED by tools/split_collection_css.py from collection.css: do not edit.
   Edit the source (for theme-inv-map.css, its own generator), then run
   python3 tools/split_collection_css.py. */
/* The part every first screen may need; render-blocking. */

/* ============================================================
   My Collection — vinyl tracker, valuation & wishlist
   Editorial extension of the Bring Back Records design language.
   Reuses --paper / --ink / --accent / type tokens from styles.css.
   ============================================================ */

.mc { position: relative; z-index: 2; max-width: var(--content-w); margin: 0 auto; padding: 104px 40px 120px; overflow-anchor: none;
  /* Safety net under the fixes at .mc-card-top and .mc-select: whatever a
     record's data does, the page never pans sideways on a phone. clip, not
     hidden: hidden would make .mc a scroll container and stop the sticky
     section nav sticking. The floating add button is position:fixed, so it is
     not clipped. */
  overflow-x: clip; }

.mc * { box-sizing: border-box; }

.mc-rule { border: 0; border-top: 1px solid var(--rule); margin: 0; }

.mc-money { font-family: var(--sans); font-weight: 900; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }

.mc-serif-it { font-family: var(--serif); font-style: italic; font-weight: 400; }

@keyframes mcLvlDot { 0%, 100% { opacity: .55; transform: scale(.9); } 50% { opacity: 1; transform: scale(1.18); } }

.mc-lvl-pop-list { list-style: none; margin: 0; padding: 0; }

.mc-lvl-pop-list li { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 4px 6px; border-radius: 6px; font-size: 12.5px; color: var(--ink-2); }

.mc-lvl-pop-list li.on { background: color-mix(in oklab, var(--accent) 12%, transparent); color: var(--ink); font-weight: 600; }

.mc-lvl-pop-range { font-family: var(--mono); font-size: 11px; color: var(--ink-mute); font-variant-numeric: tabular-nums; }

.mc-lvl-pop-list li.on .mc-lvl-pop-range { color: var(--accent); }

.mc-delta.up { color: oklch(0.52 0.13 150); }

.mc-delta.down { color: oklch(0.55 0.16 28); }

.mc-delta.flat { color: var(--ink-mute); }

/* ---- hero: the rolling collection value --------------------------------- */
.mc-hero {
  display: grid; grid-template-columns: 1.35fr 1fr; gap: 48px; align-items: end;
  padding: 8px 0 32px;
}

.mc-hero-label { display: flex; align-items: center; gap: 14px; margin-bottom: 6px; }

.mc-hero-total {
  font-family: var(--sans); font-weight: 900; letter-spacing: -0.045em;
  font-size: clamp(64px, 9vw, 132px); line-height: 0.86; color: var(--ink);
  font-variant-numeric: tabular-nums; display: flex; align-items: baseline;
}

.mc-hero-total .cur { font-size: 0.46em; color: var(--ink-mute); margin-right: 0.06em; font-weight: 800; }

.mc-hero-delta { margin-top: 6px; }

.mc-hero-sub { display: flex; align-items: center; gap: 18px; margin-top: 16px; flex-wrap: wrap; }

.mc-hero-milestone { margin-top: 22px; max-width: 460px; }

.mc-milestone-bar { height: 6px; background: var(--paper-2); border: 1px solid var(--rule); border-radius: 999px; overflow: hidden; }

.mc-milestone-fill { height: 100%; background: var(--accent); border-radius: 999px; transition: width 0.7s cubic-bezier(0.2,0.8,0.2,1); }

.mc-milestone-cap { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.08em; color: var(--ink-mute); margin-top: 7px; display: flex; justify-content: space-between; }

/* hero side stats */
.mc-hero-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--rule); border: 1px solid var(--rule); }

.mc-stat { background: var(--paper); padding: 16px 18px; }

.mc-stat-k { font-family: var(--mono); font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-mute); }

.mc-stat-v { font-family: var(--serif); font-size: 26px; line-height: 1.05; margin-top: 8px; }

.mc-stat-v small { font-family: var(--sans); font-weight: 700; font-size: 13px; color: var(--ink-2); display: block; margin-top: 3px; }

.mc-tab {
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 12px 4px; margin-right: 30px; color: var(--ink-mute); position: relative; transition: color 0.15s;
}

.mc-tab:hover { color: var(--ink); }

.mc-tab.active { color: var(--ink); }

.mc-tab.active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; background: var(--accent); }

@keyframes mc-add-ring { to { box-shadow: 0 0 0 12px color-mix(in oklab, var(--accent) 0%, transparent); } }

.mc-card-cover { width: 76px; height: 76px; flex-shrink: 0; position: relative; }

/* The canon marker, corner-set on the sleeve rather than in the text: the
   question it answers — "which of these are the ranked ones?" — is asked while
   scanning a grid, not while reading a card. Small enough to sit on artwork
   (about 6% of a 76px sleeve, in the corner where covers carry least), ink on
   paper so it reads at a glance without competing with the condition chip
   opposite. Mono numerals, padded to three, matching the album-page pill. */
.mc-canon {
  position: absolute; left: 0; bottom: 0; z-index: 2;
  font-family: var(--mono); font-size: 10px; font-weight: 700; letter-spacing: 0.04em;
  line-height: 1; padding: 3px 4px;
  background: var(--ink); color: var(--paper);
  pointer-events: none;
}

.mc-card-val { font-family: var(--sans); font-weight: 900; font-size: 25px; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; line-height: 1; }

.mc-card-val .cur { font-size: 0.6em; color: var(--ink-mute); font-weight: 800; }

/* A want with no pressing: the range across its most-owned pressings (18 Oct 2026).
   A little smaller, so "£1,250–£4,800" still fits the card. */
.mc-card-val.is-range { font-size: 21px; white-space: nowrap; }

.mc-card-val.is-range .dash { margin: 0 0.12em; color: var(--ink-mute); font-weight: 700; }

.mc-iconbtn { width: 26px; height: 26px; display: grid; place-items: center; border: 1px solid var(--rule); background: var(--paper); color: var(--ink-mute); border-radius: 4px; transition: all 0.15s; }

.mc-iconbtn:hover { color: var(--ink); border-color: var(--ink); }

.mc-iconbtn.danger:hover { color: oklch(0.55 0.16 28); border-color: oklch(0.55 0.16 28); }

/* sparkline */
.mc-spark { display: flex; align-items: flex-end; gap: 12px; }

.mc-spark svg { display: block; overflow: visible; }

.mc-tile .cv { width: 64px; height: 64px; flex-shrink: 0; }

.mc-empty-stack { display: flex; justify-content: center; gap: -20px; margin-bottom: 32px; }

.mc-empty-stack > div { margin-left: -28px; box-shadow: 0 16px 30px -20px rgba(0,0,0,.5) !important; transform: rotate(var(--r)); }

.mc-empty-stack > div:first-child { margin-left: 0; }

.mc-btn {
  display: inline-flex; align-items: center; gap: 9px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 600;
  padding: 12px 18px; transition: all 0.15s;
}

.mc-btn.solid { background: var(--ink); color: var(--paper); }

.mc-btn.solid:hover { background: var(--accent); }

.mc-btn.ghost { border: 1px solid var(--ink); color: var(--ink); }

.mc-btn.ghost:hover { background: var(--ink); color: var(--paper); }

/* Discogs one-tap: accent-filled so the fastest bulk-activation path co-leads
   with "Add your first record" without outranking it. */
.mc-btn.discogs { background: var(--accent); color: #fff; }

.mc-btn.discogs:hover { filter: brightness(0.92); }

.mc-btn.discogs svg { flex: 0 0 auto; }

/* ===========================================================
   FIRST-RECORD ACTIVATION NUDGE (sitewide, logged-in + zero records)
   Bottom-fixed toast so it never fights the fixed top nav or per-page
   clearance; dismissible, and it removes itself the instant a record lands.
   =========================================================== */
.frb { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: var(--ink); color: var(--paper); border-top: 2px solid var(--accent); box-shadow: 0 -10px 30px -18px rgba(0,0,0,.7); padding-bottom: env(safe-area-inset-bottom, 0px); animation: frb-in .35s cubic-bezier(.2,.8,.2,1); }

@keyframes frb-in { from { transform: translateY(100%); } to { transform: translateY(0); } }

.frb-in { max-width: var(--content-w); margin: 0 auto; display: flex; align-items: center; gap: 14px; padding: 13px 20px; }

.frb-badge { color: var(--accent); font-size: 12px; flex: 0 0 auto; }

.frb-txt { flex: 1 1 auto; font-family: var(--body-serif); font-size: 14px; line-height: 1.4; }

.frb-txt b { font-weight: 700; }

.frb-cta { flex: 0 0 auto; background: var(--accent); color: #fff; border: 0; border-radius: 8px; font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; font-weight: 700; padding: 10px 16px; cursor: pointer; transition: filter .15s; }

.frb-cta:hover { filter: brightness(.92); }

.frb-x { flex: 0 0 auto; background: none; border: 0; color: var(--paper); opacity: .6; font-size: 22px; line-height: 1; cursor: pointer; padding: 4px 6px; }

.frb-x:hover { opacity: 1; }

@media (max-width: 640px) {
.frb-in { flex-wrap: wrap; padding: 11px 14px; gap: 8px 12px; }
.frb-txt { flex: 1 1 100%; order: 1; font-size: 13px; }
.frb-badge { display: none; }
.frb-cta { order: 2; }
.frb-x { order: 3; margin-left: auto; }
}

/* Nav clearance lives on .mkt so the price ticker (first child) sits flush
   under the fixed nav; the safe-area term keeps it clear of the taller nav on
   notched iOS. .mkt-hero then only carries breathing room below the ticker.
   --nav-h is measured off the real bar (App.jsx), so this tracks a header that
   is 68px at 1280 and 73px at 900 rather than assuming ~65px. */
.mkt { position: relative; z-index: 2; padding-top: calc(var(--nav-h) + max(0px, env(safe-area-inset-top, 0px) - 12px)); }

/* Flush against the bottom of the fixed nav: clearance == nav height and no
   tuck, with no top border of its own, so the nav's bottom border is the SINGLE
   divider line — no gap, no double rule, and none of the tape behind the bar. */
.mkt .hd-ticker { margin-top: 0; border-top: none; }

@keyframes mktWipe { to { clip-path: inset(0 0 0 0); } }

@keyframes mktFadeIn { to { opacity: 1; } }

/* ===========================================================
   AUTH SCREENS (login / signup / forgot)
   =========================================================== */
.auth {
  position: fixed; inset: 0; z-index: 90; display: grid; grid-template-columns: 1fr 1fr;
  background: var(--paper); animation: mcFade 0.25s ease;
  /* --ink-mute was #8a8072, only 3.33:1 on --paper, which failed AA for the
     field labels, legal line and placeholders on this form; this darkened it
     here first (4.85:1). Site-wide it is #6b6256 since 18 Oct 2026. */
  --auth-mute: #6f6657;
}

@keyframes mcFade { from { opacity: 0; } to { opacity: 1; } }

.auth-aside { position: relative; background: var(--ink); color: var(--paper); padding: 48px 52px; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; }

.auth-aside .grainwash { position: absolute; inset: 0; opacity: 0.5; background-image: repeating-linear-gradient(0deg, rgba(255,255,255,0.025) 0 1px, transparent 1px 3px); pointer-events: none; }

/* #6: full bar-chart wordmark (matching the main nav) instead of the old
   red-dot + text placeholder. Dark aside -> cream mark, like the footer. */
.auth-brand { display: flex; align-items: center; gap: 11px; position: relative; }

.auth-brand .auth-mark { height: 30px; width: auto; display: block; flex: none; }

.auth-brand .auth-wordmark { font-family: var(--serif); font-size: 26px; letter-spacing: -0.015em; line-height: 1; color: var(--paper); }

.auth-brand .auth-wordmark .brand-art { font-style: italic; font-weight: 400; margin-right: 3px; color: color-mix(in oklab, var(--paper) 58%, transparent); }

.auth-aside-quote { position: relative; }

.auth-aside-quote .q { font-family: var(--serif); font-style: italic; font-size: clamp(28px, 3vw, 44px); line-height: 1.1; letter-spacing: -0.01em; }

.auth-aside-quote .q em { color: var(--accent); font-style: italic; }

.auth-aside-meta { position: relative; font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(243,237,225,0.55); display: flex; gap: 18px; flex-wrap: wrap; }

/* Centred by auto margins, not align-items:center. A centred flex child taller
   than its scrolling parent overflows upwards, where no scroll reaches: the
   sign-up form lost its heading and up to 208px above it on every phone, and
   "Browse the site" sat on top of "Sign up with Google" (site QA, 25 Oct 2026).
   Auto margins centre when there is room and fall to zero when there is not.
   position:relative makes the close button scroll with the form. */
.auth-main { position: relative; display: flex; flex-direction: column; padding: 40px; overflow-y: auto; }

.auth-form { width: 100%; max-width: 380px; margin: auto; }

.auth-close { position: absolute; top: 24px; right: 28px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--auth-mute); display: flex; align-items: center; gap: 7px; z-index: 2; }

.auth-close:hover { color: var(--ink); }

.auth-kicker { font-family: var(--mono); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--auth-mute); }

.auth-h { font-family: var(--serif); font-size: clamp(34px, 3.4vw, 46px); font-weight: 400; line-height: 1.02; margin: 14px 0 8px; }

.auth-sub { font-family: var(--body-serif); font-size: 15.5px; line-height: 1.5; color: var(--ink-2); margin: 0 0 28px; }

.auth-social { display: grid; gap: 10px; margin-bottom: 22px; }

.auth-soc-btn { display: flex; align-items: center; justify-content: center; gap: 11px; border: 1px solid var(--ink); background: #fff8; padding: 12px; font-family: var(--sans); font-weight: 600; font-size: 14px; transition: all 0.15s; }

.auth-soc-btn:hover { background: var(--ink); color: var(--paper); }

.auth-soc-btn:hover svg, .auth-soc-btn:hover svg * { filter: none; }

.auth-or { display: flex; align-items: center; gap: 14px; margin: 4px 0 22px; font-family: var(--mono); font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--auth-mute); }

.auth-or::before, .auth-or::after { content: ""; flex: 1; height: 1px; background: var(--rule); }

.auth-field { margin-bottom: 18px; }

.auth-field label { display: block; font-family: var(--mono); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--auth-mute); margin-bottom: 7px; }

.auth-input { width: 100%; border: 0; border-bottom: 1.5px solid var(--rule); background: transparent; padding: 9px 2px; font-family: var(--sans); font-size: 16px; color: var(--ink); outline: none; transition: border-color 0.15s; }

.auth-input:focus { border-color: var(--accent); }

/* No opacity here: 0.6 on the old muted grey put the placeholder at ~1.9:1. */
.auth-input::placeholder { color: var(--auth-mute); opacity: 1; }

.auth-field-row { display: flex; justify-content: space-between; align-items: baseline; }

.auth-field-row a { font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--auth-mute); }

.auth-field-row a:hover { color: var(--accent); }

/* Shop-code entry on signup. The printed kit carries the code as readable text as
   well as inside the QR, so a collector holding a flyer can be credited to the
   shop without having scanned anything. Validated live, because an unrecognised
   code is dropped server-side and would otherwise fail in complete silence. */
.auth-opt { font-family: var(--sans); font-size: 9.5px; letter-spacing: 0.04em; text-transform: none; color: var(--auth-mute); opacity: 0.75; margin-left: 6px; }

.auth-hint { font-size: 12.5px; line-height: 1.5; color: var(--auth-mute); margin: 7px 0 0; }

.auth-hint-ok { color: var(--good, #2f8f57); }

.auth-hint-bad { color: var(--accent); }

/* What the account includes, stated above the button. Sits between the fields and
   the CTA, so it reads as part of what you are agreeing to rather than as a
   footnote — but quiet, because it is information and not a decision. */
.auth-signup-promise {
  font-size: 12.5px; line-height: 1.55; color: var(--auth-mute);
  /* Generous top margin: directly above this sits the "Got a shop code?" link,
     which is a similar size and weight, and at a tighter gap the two read as one
     block of small print instead of a control followed by a statement. */
  margin: 22px 0 4px; max-width: 46ch;
}

/* "Got a shop code?" — the disclosure that replaced a permanent fourth field. */
.auth-disclose {
  background: none; border: 0; padding: 0; margin-top: 14px; cursor: pointer;
  font-family: var(--sans); font-size: 12.5px; color: var(--auth-mute);
  text-decoration: underline; text-underline-offset: 3px;
  text-decoration-color: var(--rule); align-self: flex-start;
}

.auth-disclose:hover { color: var(--ink); text-decoration-color: currentColor; }

.auth-submit { width: 100%; background: var(--ink); color: var(--paper); padding: 14px; font-family: var(--mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 600; margin-top: 8px; transition: background 0.15s; }

.auth-submit:hover { background: var(--accent); }

.auth-foot { font-family: var(--body-serif); font-size: 14.5px; color: var(--ink-2); margin-top: 24px; text-align: center; }

/* .auth-linkbtn is a <button> that has to read as one of these inline links
   (it triggers a rate-limited request, so it needs a disabled state). */
.auth-foot a, .auth-foot .auth-linkbtn { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--accent); }

.auth-foot a:hover, .auth-foot .auth-linkbtn:hover { color: var(--accent); }

.auth-foot .auth-linkbtn:disabled { color: var(--auth-mute); text-decoration-color: var(--rule); cursor: default; }

.auth-legal { font-family: var(--mono); font-size: 9.5px; line-height: 1.6; color: var(--auth-mute); margin-top: 22px; text-align: center; }

.auth-legal a { text-decoration: underline; text-underline-offset: 2px; }

/* Same overflow rule as .auth-main: on a landscape phone the gate is taller
   than the screen, so it scrolls and centres by auto margins. */
.gate-backdrop { position: fixed; inset: 0; z-index: 95; background: color-mix(in oklab, var(--ink) 38%, transparent); backdrop-filter: blur(3px); display: flex; overflow-y: auto; padding: 24px; animation: mcFade 0.2s ease; }

/* Both dialogs take focus on open (Auth.jsx useAuthDialog); the ring belongs
   on the controls inside, not round the whole sheet. */
.auth:focus, .gate:focus { outline: none; }

.gate { margin: auto; width: 100%; max-width: 440px; background: var(--paper); border: 1px solid var(--ink); box-shadow: 0 40px 90px -40px rgba(0,0,0,.6); animation: gateIn 0.28s cubic-bezier(0.2,0.8,0.2,1); }

@keyframes gateIn { from { opacity: 0; transform: translateY(12px) scale(0.98); } to { opacity: 1; transform: none; } }

.gate-top { background: var(--ink); color: var(--paper); padding: 26px 28px; position: relative; overflow: hidden; }

.gate-top .grainwash { position: absolute; inset: 0; opacity: 0.4; background-image: repeating-linear-gradient(0deg, rgba(255,255,255,0.03) 0 1px, transparent 1px 3px); }

.gate-eyebrow { font-family: var(--mono); font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent); position: relative; }

.gate-h { font-family: var(--serif); font-size: 30px; font-weight: 400; line-height: 1.05; margin: 12px 0 0; position: relative; }

.gate-body { padding: 26px 28px 28px; }

.gate-p { font-family: var(--body-serif); font-size: 16px; line-height: 1.55; color: var(--ink-2); margin: 0 0 22px; }

.gate-list { display: grid; gap: 12px; margin-bottom: 26px; }

.gate-li { display: flex; gap: 12px; align-items: flex-start; font-family: var(--sans); font-size: 14px; color: var(--ink-2); }

.gate-li .gi { width: 22px; height: 22px; flex-shrink: 0; display: grid; place-items: center; border: 1px solid var(--accent); color: var(--accent); border-radius: 50%; }

.gate-actions { display: grid; gap: 10px; }

.gate-skip { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-mute); text-align: center; padding: 4px; }

.gate-skip:hover { color: var(--ink); }

.gate-x { position: absolute; top: 18px; right: 20px; color: rgba(243,237,225,0.6); font-size: 18px; line-height: 1; z-index: 2; }

.gate-x:hover { color: var(--paper); }

/* ===========================================================
   ADD-RECORD FLOW (stepped modal / drawer)
   =========================================================== */
.add-backdrop { position: fixed; inset: 0; z-index: 95; background: color-mix(in oklab, var(--ink) 40%, transparent); backdrop-filter: blur(3px); display: grid; place-items: center; padding: 24px; animation: mcFade 0.2s ease; }

.add-modal { width: 100%; max-width: 620px; max-height: 88vh; display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--ink); box-shadow: 0 40px 90px -40px rgba(0,0,0,.6); animation: gateIn 0.28s cubic-bezier(0.2,0.8,0.2,1); }

.add-head { display: flex; align-items: center; justify-content: space-between; padding: 20px 24px; border-bottom: 1px solid var(--rule); }

.add-steps { display: flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-mute); }

.add-step { display: flex; align-items: center; gap: 7px; }

.add-step .n { width: 19px; height: 19px; border-radius: 50%; border: 1px solid var(--rule); display: grid; place-items: center; font-size: 9px; }

.add-step.active { color: var(--ink); }

.add-step.active .n { background: var(--accent); border-color: var(--accent); color: #fff; }

.add-step.done .n { background: var(--ink); border-color: var(--ink); color: var(--paper); }

.add-step-sep { width: 18px; height: 1px; background: var(--rule); }

.add-x { color: var(--ink-mute); font-size: 20px; line-height: 1; }

.add-x:hover { color: var(--ink); }

.add-body { padding: 22px 24px; overflow-y: auto; }

.add-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 24px; border-top: 1px solid var(--rule); }

.add-title { font-family: var(--serif); font-size: 24px; font-weight: 400; margin: 0 0 4px; }

.add-hint { font-family: var(--body-serif); font-size: 14px; color: var(--ink-2); margin: 0 0 18px; }

/* search results */
.add-search { display: flex; align-items: center; gap: 10px; border: 1px solid var(--ink); background: #fff8; padding: 11px 14px; margin-bottom: 14px; }

.add-search input { border: 0; background: transparent; outline: none; font-family: var(--sans); font-size: 16px; width: 100%; color: var(--ink); }

.add-results { display: grid; gap: 1px; background: var(--rule); border: 1px solid var(--rule); max-height: 330px; overflow-y: auto; }

.add-res { display: grid; grid-template-columns: 46px 1fr auto; gap: 13px; align-items: center; background: var(--paper); padding: 11px 14px; text-align: left; transition: background 0.12s; }

.add-res:hover { background: color-mix(in oklab, var(--paper) 78%, #fff 22%); }

.add-res-t { font-family: var(--serif); font-style: italic; font-size: 16px; line-height: 1.05; }

.add-res-a { font-family: var(--mono); font-size: 9.5px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-mute); margin-top: 3px; }

.add-res-rank { font-family: var(--mono); font-size: 10px; color: var(--accent); }

.add-manual-link { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-mute); margin-top: 14px; display: inline-flex; gap: 7px; align-items: center; }

.add-manual-link:hover { color: var(--accent); }

/* selected album banner */
.add-sel { display: flex; gap: 14px; align-items: center; padding: 12px; border: 1px solid var(--rule); background: #fff6; margin-bottom: 20px; }

.add-sel .cv { width: 54px; height: 54px; flex-shrink: 0; }

.add-sel-t { font-family: var(--serif); font-style: italic; font-size: 18px; }

.add-sel-a { font-family: var(--mono); font-size: 10px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-mute); margin-top: 3px; }

.add-sel-change { margin-left: auto; font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-mute); border: 1px solid var(--rule); padding: 6px 9px; }

.add-sel-change:hover { color: var(--ink); border-color: var(--ink); }

/* pressing picker (Discogs) */
.add-pr-attr { font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.06em; color: var(--ink-mute); margin: 0 0 12px; display: flex; align-items: center; gap: 6px; }

.add-pr-list { display: grid; gap: 10px; }

.add-pr {
  display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: center;
  border: 1px solid var(--rule); background: var(--paper); padding: 14px 16px; text-align: left; transition: all 0.14s;
}

.add-pr:hover { border-color: var(--ink-mute); }

.add-pr.sel { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); background: color-mix(in oklab, var(--paper) 92%, var(--accent) 8%); }

.add-pr-main { min-width: 0; }

.add-pr-label { font-family: var(--sans); font-weight: 700; font-size: 14.5px; }

.add-pr-tags { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 8px; }

.add-pr-tag { font-family: var(--mono); font-size: 9px; letter-spacing: 0.04em; text-transform: uppercase; padding: 3px 6px; border: 1px solid var(--rule); color: var(--ink-2); border-radius: 3px; }

.add-pr-notes { font-family: var(--body-serif); font-size: 13px; color: var(--ink-2); margin-top: 8px; }

.add-pr-meta { font-family: var(--mono); font-size: 9px; color: var(--ink-mute); margin-top: 8px; letter-spacing: 0.03em; }

.add-pr-val { text-align: right; white-space: nowrap; }

.add-pr-val .num { font-family: var(--sans); font-weight: 900; font-size: 20px; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }

.add-pr-val .lbl { font-family: var(--mono); font-size: 8.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-mute); margin-top: 3px; }

/* condition selector */
.add-cond-list { display: grid; gap: 7px; }

.add-cond {
  display: grid; grid-template-columns: 58px 1fr auto; gap: 14px; align-items: center;
  border: 1px solid var(--rule); background: var(--paper); padding: 12px 15px; text-align: left; transition: all 0.14s;
}

.add-cond:hover { border-color: var(--ink-mute); }

.add-cond.sel { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }

.add-cond-code { font-family: var(--mono); font-weight: 700; font-size: 14px; }

.add-cond-name { font-family: var(--sans); font-weight: 700; font-size: 13.5px; }

.add-cond-blurb { font-family: var(--body-serif); font-size: 12.5px; line-height: 1.4; color: var(--ink-2); margin-top: 3px; }

.add-cond-val { font-family: var(--sans); font-weight: 800; font-size: 16px; font-variant-numeric: tabular-nums; white-space: nowrap; }

.add-back { font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-mute); }

.add-back:hover { color: var(--ink); }

.add-next { background: var(--ink); color: var(--paper); padding: 12px 22px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 600; transition: background 0.15s; }

.add-next:hover { background: var(--accent); }

.add-next:disabled { opacity: 0.4; cursor: not-allowed; }

.add-next:disabled:hover { background: var(--ink); }

/* manual entry form */
.add-manual-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.add-manual-grid .full { grid-column: 1 / -1; }

.add-mf label { display: block; font-family: var(--mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-mute); margin-bottom: 6px; }

.add-mf input, .add-mf select { width: 100%; border: 1px solid var(--rule); background: #fff8; padding: 9px 11px; font-family: var(--sans); font-size: 16px; color: var(--ink); outline: none; }

.add-mf input:focus, .add-mf select:focus { border-color: var(--accent); }

/* ===========================================================
   NAV AVATAR + DROPDOWN
   =========================================================== */
.nav-acct { position: relative; display: flex; align-items: center; }

.nav-avatar { display: flex; align-items: center; gap: 9px; cursor: pointer; }

.nav-avatar .av { width: 30px; height: 30px; border-radius: 50%; background: var(--accent); color: #fff; font-family: var(--sans); font-weight: 800; font-size: 11px; display: grid; place-items: center; letter-spacing: 0.02em; }

.nav-avatar .nm { font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-2); }

.nav-avatar:hover .nm { color: var(--ink); }

.nav-signin { font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; white-space: nowrap; border: 1px solid var(--ink); padding: 7px 13px; transition: all 0.15s; color: var(--ink); }

.nav-signin:hover { background: var(--ink); color: var(--paper); }

.nav-menu { position: absolute; top: calc(100% + 12px); right: 0; width: 230px; background: var(--paper); border: 1px solid var(--ink); box-shadow: 0 24px 50px -28px rgba(0,0,0,.5); z-index: 80; animation: gateIn 0.18s ease; }

.nav-menu-head { padding: 16px; border-bottom: 1px solid var(--rule); }

.nav-menu-head .nm { font-family: var(--sans); font-weight: 700; font-size: 14px; }

/* An email is not a display string: uppercasing it inherited from .topnav .links
   both misspells it and widens it enough to break mid-word in a 230px menu. */
.nav-menu-head .em { font-family: var(--mono); font-size: 10px; color: var(--ink-mute); margin-top: 3px; overflow-wrap: anywhere; text-transform: none; letter-spacing: 0; }

/* Sign out is a <button> (for keyboard access), the others are links, so every
   row rule has to match both element types or the button loses its styling. */
.nav-menu a, .nav-menu button { display: flex; align-items: center; gap: 11px; padding: 12px 16px; font-family: var(--sans); font-size: 13.5px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.045em; text-decoration: none; color: var(--ink-2); transition: background 0.12s, color 0.12s; cursor: pointer; }

.nav-menu a:hover, .nav-menu button:hover { background: color-mix(in oklab, var(--paper) 80%, #fff 20%); color: var(--ink); }

.nav-menu a svg, .nav-menu button svg { color: var(--ink-mute); flex: 0 0 auto; }

.nav-menu .sep { border-top: 1px solid var(--rule); }

.nav-menu .signout { color: oklch(0.55 0.16 28); }

/* ===========================================================
   PROTOTYPE STATE SWITCHER
   =========================================================== */
.proto-sw { position: fixed; bottom: 24px; left: 24px; z-index: 88; background: var(--ink); color: var(--paper); border-radius: 8px; box-shadow: 0 16px 40px -18px rgba(0,0,0,.6); font-family: var(--mono); max-width: 230px; overflow: hidden; }

.proto-sw-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px; cursor: pointer; }

.proto-sw-head .t { font-size: 9.5px; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(243,237,225,0.6); }

.proto-sw-head .dot { width: 7px; height: 7px; border-radius: 50%; background: oklch(0.7 0.16 145); }

.proto-sw-body { padding: 4px 8px 10px; display: grid; gap: 4px; }

.proto-sw-grp { font-size: 8.5px; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(243,237,225,0.4); margin: 7px 4px 2px; }

.proto-sw button { text-align: left; font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.04em; color: rgba(243,237,225,0.8); padding: 7px 9px; border-radius: 5px; transition: background 0.12s, color 0.12s; }

.proto-sw button:hover { background: rgba(243,237,225,0.1); color: var(--paper); }

.proto-sw button.on { background: var(--accent); color: #fff; }

.proto-sw .chev { transition: transform 0.2s; font-size: 10px; }

.proto-sw.collapsed .chev { transform: rotate(-90deg); }

@media (max-width: 980px) {
.mc-hero { grid-template-columns: 1fr; gap: 28px; }
.auth { grid-template-columns: 1fr; }
.auth-aside { display: none; }
/* Room for "Browse the site" above the form, so they never overlap. */
  .auth-main { padding: 72px 24px 40px; }
}

@media (max-width: 640px) {
/* 120px of bottom padding came down unchanged from the desktop rule and read
     on a phone as most of a screen of empty paper between the last card and the
     footer. Nothing is parked down there — the feedback launcher and the finish-
     setup bar are both position:fixed and float over the footer at the page end,
     so they need no reserved column. 56px is a foot margin, not a void.
     Plus 68px since the add button floats (21 Oct 2026): its 52px and 16px
     inset, so the last card can scroll clear of it. */
  .mc { padding: calc(var(--nav-h) + 24px + max(0px, env(safe-area-inset-top, 0px) - 12px)) 18px calc(124px + env(safe-area-inset-bottom, 0px)); }
/* M7 (QA, real-device iOS Safari): line-height 0.86 + a huge mobile font lets
     the digits overhang their line box and collide with the "+£… this week" /
     uplift lines stacked directly beneath. A 0.1em padding-bottom buffer wasn't
     enough on a real device, so this both relaxes the line-height (less native
     overhang) and gives the lines below a much bigger fixed gap rather than
     relying on a thin, font-rendering-sensitive margin. */
  .mc-hero-total { font-size: clamp(54px, 17vw, 92px); line-height: 1.05; padding-bottom: 0.18em; }
.mc-hero-delta { margin-top: 18px; }
/* The backdrop height is set to window.visualViewport.height in JS so it
     shrinks when the keyboard opens (iOS doesn't shrink vh/dvh for the
     keyboard). The modal fits within that and its body scrolls.
     The row has to be minmax(0, 1fr): the backdrop is a grid, and in its default
     auto row the modal's max-height: 100% resolved against a row that grew to fit
     the modal, so it capped nothing. A long pressing list then ran off the bottom
     of the fixed backdrop and nothing could scroll to it (Ric, 28 Oct 2026). */
  .add-modal { max-width: 100%; max-height: 100%; align-self: flex-end; }
.add-modal .add-body { flex: 1 1 auto; min-height: 0; -webkit-overflow-scrolling: touch; }
.add-backdrop { place-items: end stretch; padding: 0; grid-template-rows: minmax(0, 1fr); }
.add-manual-grid { grid-template-columns: 1fr; }
.proto-sw { bottom: 14px; left: 14px; }
.nav-avatar .nm { display: none; }
}

/* ---- Password show/hide toggle (login + signup) ---- */
.auth-pass-wrap { position: relative; display: block; }

.auth-pass-wrap .auth-input { width: 100%; padding-right: 52px; }

.auth-pass-toggle {
  position: absolute; right: 0; bottom: 7px;
  background: none; border: 0; padding: 2px 2px;
  font-family: var(--sans); font-size: 12px; font-weight: 600;
  letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--auth-mute); cursor: pointer; opacity: 1;
  transition: color 0.15s, opacity 0.15s;
}

.auth-pass-toggle:hover { color: var(--accent); opacity: 1; }

/* ---- Add-record: "every record ever made" catalog results ---- */
.add-cat-head {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--ink-mute);
  padding: 14px 14px 6px; border-top: 1px solid var(--rule); margin-top: 6px;
}

.add-cat-spin { opacity: 0.6; text-transform: none; letter-spacing: 0; }

.add-res-cat .add-res-cover { overflow: hidden; border-radius: 2px; background: var(--paper-2, #eee); }

.add-res-cat-tag {
  color: var(--paper); background: var(--accent);
  padding: 3px 9px; border-radius: 999px; font-size: 10px;
  letter-spacing: 0.08em; text-transform: uppercase;
}

.add-res-cat[disabled] { opacity: 0.5; pointer-events: none; }

.add-cat-empty { padding: 14px; font-size: 13px; color: var(--ink-mute); font-style: italic; }

.add-cat-pricing {
  padding: 12px 14px; font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent);
}

.v2-public-note { font-size:12px; color:var(--ink-mute); margin-top:12px; max-width:46ch; }

@keyframes bsscan { 0%{top:10%} 50%{top:90%} 100%{top:10%} }

@keyframes av2-ld-spin { to { transform: rotate(360deg); } }

@keyframes av2-ld-appear { from { opacity:0; } to { opacity:1; } }

@keyframes av2-ld-drop { from { opacity:0; transform: translateY(-14px) scale(1.12); } to { opacity:1; transform:none; } }

@keyframes av2-ld-arm-in { to { transform: rotate(24deg); } }

@keyframes av2-ld-arm-ride { 0%,100% { rotate: 0deg; } 50% { rotate: 1.4deg; } }

@keyframes av2-ld-in { from { opacity:0; transform: translateY(5px); } to { opacity:1; transform:none; } }

@keyframes av2-ld-eq { 0%,100% { transform: scaleY(.25); } 50% { transform: scaleY(1); } }

.av2-consent-lede { font-size:15px; }

.av2-consent-list { padding-left:18px; font-size:14px; line-height:1.55; }

.av2-consent-ack { display:flex; gap:10px; align-items:flex-start; margin-top:14px; font-size:14px; }

.av2-entry-secondary { width:100%; padding:13px; border:1px solid var(--rule); border-radius:10px; background:#fff; cursor:pointer; margin-bottom:10px; font-size:15px; }

.av2-cand-list, .av2-results { display:flex; flex-direction:column; gap:8px; }

.av2-cand, .av2-res { display:flex; gap:10px; align-items:center; text-align:left; padding:10px; border:1px solid var(--rule); border-radius:10px; background:#fff; cursor:pointer; }

.av2-res { justify-content:space-between; }

.av2-res-rank { color:var(--ink-mute); font-size:12px; }

.av2-search input, .av2-manual-grid input { width:100%; padding:11px; border:1px solid var(--rule); border-radius:8px; font-size:16px; }

.av2-search { margin-bottom:12px; }

@keyframes av2ShootHalo {
  0%   { box-shadow:0 0 0 0 color-mix(in oklab, var(--accent) 42%, transparent); }
  70%  { box-shadow:0 0 0 14px color-mix(in oklab, var(--accent) 0%, transparent); }
  100% { box-shadow:0 0 0 0 color-mix(in oklab, var(--accent) 0%, transparent); }
}

@keyframes av2-est-pop { from { opacity: 0; transform: translateY(6px) scale(.96); } to { opacity: 1; transform: none; } }

/* The figure is the record-added card's (.rac-val), a size down for the sheet. */
.av2-dive-worth { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin-top: 12px; }

.av2-dive-val {
  font-family: var(--sans); font-weight: 900; font-size: 38px; letter-spacing: -.035em; line-height: 1;
  color: var(--ink); font-variant-numeric: tabular-nums;
}

.av2-dive-val .cur { font-size: .62em; vertical-align: .16em; margin-right: 1px; color: var(--ink-mute); }

.av2-dive-worth .tier-chip { margin-top: 0; animation: racTierIn .36s cubic-bezier(.2,1.3,.4,1); }

@keyframes av2-dive-in { from { opacity: 0; transform: translateY(6px); } }

.v2-progress-pct { color:var(--ink-mute); font-size:14px; margin-left:8px; }

.v2-gap-rank { display:block; font-size:10px; color:var(--ink-mute); margin-top:4px; }

.lb-title { font-family:var(--serif, Georgia); font-size:34px; margin:0 0 6px; }

.lb-meta { font-size:14px; color:var(--ink-mute); text-align:right; }

.lb-meta b { color:var(--ink); font-size:16px; }

.lb-arrow { color:var(--ink-mute); flex:none; }

.lb-back { background:none; border:none; color:var(--accent); cursor:pointer; font-size:14px; padding:0 0 14px; }

.lb-crown-blank { display:block; width:48px; height:48px; background:var(--paper-2, #efe9df); }

.lb-since { font-size:12px; color:var(--ink-mute); overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }

.lb-meta small { display:block; font-size:11px; font-weight:400; color:var(--ink-mute); }

.lb-meta small.lb-range { font-family:var(--mono); font-size:10.5px; margin-top:2px; }

/* leaderboard crown key + badge */
.lb-key { display:flex; align-items:center; gap:7px; font-size:13px; color:var(--ink-mute); margin-top:4px; }

.lb-key-crown { color:#b8860b; display:inline-flex; }

.lb-since svg { color:#b8860b; }

/* ===== Account settings ===== */
.acct { max-width:640px; margin:0 auto; padding:104px 18px 80px; }

.acct-head { display:flex; align-items:center; gap:16px; margin-bottom:22px; }

.acct-avatar { flex:none; width:52px; height:52px; border-radius:50%; background:var(--ink); color:var(--paper); display:flex; align-items:center; justify-content:center; font-size:18px; font-weight:700; }

.acct-sub { color:var(--ink-mute); font-size:14px; margin-top:4px; }

.acct-card { border:1px solid var(--rule); border-radius:12px; padding:18px; margin-bottom:14px; background:#fff; }

.acct-card-k { font-size:15px; font-weight:600; }

.acct-card-d { font-size:13px; color:var(--ink-mute); margin:4px 0 12px; }

.acct-row { display:flex; gap:8px; }

.acct-row input { flex:1; min-width:0; padding:11px; border:1px solid var(--rule); border-radius:8px; font-size:16px; }

.acct-btn { padding:11px 16px; border:none; border-radius:8px; background:var(--ink); color:var(--paper); font-size:14px; cursor:pointer; white-space:nowrap; }

.acct-btn:disabled { opacity:.5; }

.acct-btn.ghost { background:#fff; color:var(--ink); border:1px solid var(--rule); }

.acct-btn.danger { background:none; color:oklch(0.55 0.16 28); border:1px solid currentColor; }

.acct-link { background:none; border:none; color:var(--accent); cursor:pointer; font-size:13px; padding:10px 0 0; }

.acct-msg { font-size:13px; color:var(--ink-mute); margin-top:10px; }

.acct-switch { display:flex; align-items:center; gap:10px; cursor:pointer; margin-top:12px; font-size:14px; }

.acct-switch input { width:16px; height:16px; margin:0; accent-color:var(--accent); cursor:pointer; }

.acct-switch input:disabled { cursor:default; opacity:0.6; }

.acct-col { display:flex; flex-direction:column; gap:8px; }

.lb-pod-1 { transform: scale(1.05); }

.lb-pod-1:hover { transform: translateY(-3px) scale(1.05); }

.lb-pod-val { font-size: 13px; color: var(--ink-mute); }

@keyframes lbbar { to { width: var(--w); } }

.lb-mv.up { color: oklch(0.5 0.13 150); }

.lb-mv.down { color: oklch(0.55 0.16 28); }

.lb-mv.flat { color: var(--ink-mute); }

.lb-champ-val { font-weight: 700; }

/* rarest finds */
.lb-rare-list { display: flex; flex-direction: column; gap: 6px; }

.lb-rare { display: flex; align-items: center; gap: 12px; text-align: left; background: #fff; border: 1px solid var(--rule); border-radius: 10px; padding: 10px 14px; cursor: pointer; transition: border-color .2s ease; }

.lb-rare:hover { border-color: var(--accent); }

.lb-rare-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }

.lb-rare-v { font-weight: 700; flex: none; }

/* Entrance: rows/cards rise + fade, staggered by --i. */
@keyframes lbrise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* By transform, not `left`: animating left was a layout shift every 3.6s for as
   long as the board was open (site QA, 25 Oct 2026). The shine is 42% of the
   card wide and travelled from -60% to 130% of it: 190 / 42 = 452% of itself. */
@keyframes lbshine { 0% { transform: translateX(0) skewX(-18deg); } 32%, 100% { transform: translateX(452%) skewX(-18deg); } }

.lb-stat-n { font-family: var(--sans, system-ui); font-weight: 900; font-size: 30px; letter-spacing: -0.03em; line-height: 1; font-variant-numeric: tabular-nums; white-space: nowrap; }

.lb-stat-n .cur { font-size: .6em; opacity: .8; margin-right: 1px; font-weight: 800; }

.lb-pod-1 {
  background: linear-gradient(180deg, #fff, color-mix(in oklab, var(--accent) 9%, #fff));
  border-color: color-mix(in oklab, var(--accent) 42%, var(--rule));
  box-shadow: 0 16px 36px -20px color-mix(in oklab, var(--accent) 60%, rgba(0,0,0,.5));
}

.lb-pod-val { font-family: var(--sans, system-ui); font-size: 17px; font-weight: 800; letter-spacing: -.02em; color: var(--ink); margin-top: 2px; }

.lb-pod-1 .lb-pod-val { font-size: 19px; }

.lb-pod-val .cur { font-size: .7em; opacity: .7; margin-right: 1px; }

.lb-meta .cur { font-size: .68em; opacity: .7; margin-right: 1px; }

.lb-champ-val { font-family: var(--sans, system-ui); font-weight: 800; font-size: 21px; letter-spacing: -.02em; margin-top: 2px; }

.lb-champ-val .cur { font-size: .68em; opacity: .7; margin-right: 1px; }

.lb-rare-v {
  position: absolute; top: 8px; right: 8px; z-index: 2;
  background: rgba(20,17,13,.8); color: #fff; font-weight: 800; font-size: 13px;
  padding: 3px 9px; border-radius: 20px; backdrop-filter: blur(2px);
}

.lb-rare-v .cur { font-size: .8em; opacity: .85; margin-right: 1px; }

/* ============================================================
   Collection visibility toggle (public / private) — owner page.
   Appended for the public/private visibility feature. Mobile-first.
   ============================================================ */
.v2-vis { margin-top: 16px; max-width: 520px; }

.v2-vis-main { display: flex; align-items: flex-start; gap: 14px; }

.v2-vis-switch {
  flex: 0 0 auto; position: relative; width: 58px; height: 34px; padding: 0;
  border: 1px solid var(--rule); border-radius: 999px; cursor: pointer;
  background: color-mix(in oklab, var(--paper) 50%, #000 6%);
  transition: background .18s ease, border-color .18s ease;
}

.v2-vis-switch .v2-vis-knob {
  position: absolute; top: 50%; left: 4px; transform: translateY(-50%);
  width: 26px; height: 26px; border-radius: 50%; background: #fff;
  box-shadow: 0 1px 3px rgba(0,0,0,.28); transition: left .18s ease;
}

.v2-vis-switch.on { background: var(--accent); border-color: var(--accent); }

.v2-vis-switch.on .v2-vis-knob { left: 28px; }

.v2-vis-switch:disabled { opacity: .55; cursor: default; }

.v2-vis-switch:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.v2-vis-text { min-width: 0; }

.v2-vis-state { font-size: 15px; font-weight: 700; letter-spacing: -.01em; color: var(--ink); display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }

.v2-vis-state b { font-weight: 900; }

.v2-vis-explain { margin-top: 3px; font-size: 12.5px; line-height: 1.45; color: var(--ink-mute); max-width: 46ch; }

.v2-vis-flag { font-family: var(--mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; padding: 2px 7px; border-radius: 999px; }

.v2-vis-flag.saving { color: var(--ink-mute); border: 1px solid var(--rule); }

.v2-vis-flag.saved { color: oklch(0.5 0.13 150); border: 1px solid color-mix(in oklab, oklch(0.5 0.13 150) 40%, var(--rule)); }

.v2-vis-err { color: var(--accent); }

/* The alias line. A collector's entire public identity while their name is off,
   so it is given the weight of a nameplate rather than a settings row — the
   alias itself is the largest thing in the block. */
.v2-vis-alias {
  display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px;
  margin-top: 10px; padding: 10px 12px;
  border: 1px solid var(--rule); border-radius: 10px;
  background: color-mix(in oklab, var(--paper) 60%, #fff 40%);
}

.v2-vis-alias-k {
  font-family: var(--mono); font-size: 10px; letter-spacing: .1em;
  text-transform: uppercase; color: var(--ink-mute);
}

.v2-vis-alias-v {
  font-size: 15px; font-weight: 800; letter-spacing: -.01em; color: var(--ink);
}

.v2-vis-alias-roll {
  font: inherit; font-size: 12px; font-weight: 700; color: var(--ink-2);
  background: none; border: 1px solid var(--rule); border-radius: 999px;
  padding: 4px 11px; margin-left: auto; cursor: pointer; min-height: 32px;
}

.v2-vis-alias-roll:hover:not(:disabled) { border-color: var(--ink-2); color: var(--ink); }

.v2-vis-alias-roll:disabled { opacity: .5; cursor: default; }

.v2-vis-alias-roll:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.v2-vis-retry { font: inherit; color: var(--accent); background: none; border: 0; padding: 0; text-decoration: underline; cursor: pointer; }

/* inline consent (going public) / confirm (going private) panel */
.v2-vis-panel { margin-top: 14px; padding: 16px; border: 1px solid var(--rule); border-radius: 14px; background: color-mix(in oklab, var(--paper) 60%, #fff 40%); }

.v2-vis-panel-h { font-size: 15px; font-weight: 800; letter-spacing: -.01em; color: var(--ink); }

.v2-vis-panel-lede { margin: 8px 0 0; font-size: 13px; line-height: 1.5; color: var(--ink-2); }

.v2-vis-panel-list { margin: 10px 0 0; padding-left: 18px; display: grid; gap: 6px; font-size: 12.5px; line-height: 1.45; color: var(--ink-2); }

.v2-vis-ack { display: flex; align-items: flex-start; gap: 9px; margin-top: 12px; font-size: 12.5px; color: var(--ink-2); cursor: pointer; }

.v2-vis-ack input { margin-top: 2px; width: 16px; height: 16px; flex: 0 0 auto; accent-color: var(--accent); }

.v2-vis-actions { display: flex; gap: 10px; margin-top: 14px; flex-wrap: wrap; }

.v2-vis-cancel, .v2-vis-go { font: inherit; font-weight: 700; font-size: 13.5px; padding: 11px 16px; border-radius: 10px; cursor: pointer; min-height: 44px; }

.v2-vis-cancel { background: none; border: 1px solid var(--rule); color: var(--ink-2); }

.v2-vis-go { background: var(--accent); border: 1px solid var(--accent); color: #fff; }

.v2-vis-go.danger { background: var(--ink); border-color: var(--ink); }

.v2-vis-go:disabled { opacity: .5; cursor: default; }

@media (max-width: 560px) {
.v2-vis { max-width: none; }
/* THE ALIAS NAMEPLATE ON A PHONE. The desktop layout is one row — label,
     alias, and a "Try another" button pushed right by margin-left:auto. At
     375px that is three competing things in about 290 usable pixels: the alias
     and the button end up shoulder to shoulder with no breathing room, and the
     button lands under the thumb's path down the page. Stack it instead: the
     label and alias read as a nameplate, and the button becomes a full-width
     control beneath with a proper 44px touch target. */
  .v2-vis-alias {
    display: grid; grid-template-columns: 1fr; gap: 2px;
    padding: 12px 14px;
  }
.v2-vis-alias-v { font-size: 17px; }
.v2-vis-alias-roll {
    margin-left: 0; margin-top: 8px; width: 100%;
    min-height: 44px; font-size: 13px; border-radius: 10px;
  }
.v2-vis-switch { width: 64px; height: 38px; }
.v2-vis-switch .v2-vis-knob { width: 30px; height: 30px; }
.v2-vis-switch.on .v2-vis-knob { left: 30px; }
.v2-vis-cancel, .v2-vis-go { flex: 1 1 auto; }
}

.v2-gap-rank { font-size: 11px; margin-top: 6px; }

/* PC-03 — redacted value marker for anonymous (private) rows. */
.lb-val-hidden { color: var(--ink-mute); font-weight: 700; }

/* net value uplift (collection hero) */
.mc-uplift { margin-top: 12px; }

.mc-uplift-eyebrow { font-family: var(--mono); font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-mute); }

.mc-uplift-fig { font-size: 24px; font-weight: 800; letter-spacing: -0.01em; line-height: 1.1; margin-top: 2px; font-variant-numeric: tabular-nums; }

.mc-uplift-fig.pos { color: var(--accent); }

.mc-uplift-fig.zero { color: var(--ink-mute); }

.mc-uplift-cap { font-family: var(--mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-mute); margin-top: 5px; }

@media (max-width: 640px) {
/* M7: .mc-uplift's base rule (margin-top: 12px, below) sits later in this
     file than the responsive section near the top, so an override placed
     there would be shadowed by source order. Override it here instead, after
     the base rule, so it actually takes effect at mobile widths. */
  .mc-uplift { margin-top: 18px; }
}

@keyframes sh-pulse { 50% { opacity: .45; } }

/* "Pending valuation" on a record tile (imported, not yet priced) */
.mc-card-val.pending {
  font-family: var(--mono); font-weight: 700; font-size: 12px; letter-spacing: 0.04em;
  color: var(--ink-mute); line-height: 1.3;
}

.ci-target-opt {
  font: inherit; text-align: left; display: flex; flex-direction: column; gap: 2px;
  padding: 11px 14px; border: 1px solid var(--rule); border-radius: 12px; background: var(--paper);
  color: var(--ink-2); cursor: pointer; transition: border-color 0.15s, background 0.15s;
}

.ci-target-opt:hover:not(:disabled) { border-color: var(--ink); }

.ci-target-opt.on { border-color: var(--ink); background: var(--paper-2); box-shadow: inset 0 0 0 1px var(--ink); }

.ci-source-soon { opacity: 0.62; cursor: default; }

.ci-soon { font-family: var(--mono); font-size: 9px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-mute); border: 1px solid var(--rule); border-radius: 999px; padding: 2px 7px; }

/* ===========================================================
   Collection DNA panel (components/CollectionDNA.jsx).
   Sits between the hero and the tabs/shelf. The personality
   read is the hero (large serif); the fingerprint dimensions
   read as supporting metadata beneath it. Brand tokens only.
   =========================================================== */
.dna {
  margin: 8px 0 30px;
  padding: 26px 28px;
  background: var(--paper-2);
  border: 1px solid var(--rule);
  border-radius: 4px;
}

.dna-read { margin-top: 12px; }

.dna-read-body {
  font-family: var(--serif);
  font-size: clamp(21px, 2.7vw, 30px);
  line-height: 1.32;
  color: var(--ink);
  margin: 0;
  letter-spacing: -0.01em;
}

.dna-read-loading { color: var(--ink-mute); font-style: italic; }

.dna-nudge {
  margin-top: 16px;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.04em;
  color: var(--ink-mute);
  border-top: 1px solid var(--rule);
  padding-top: 14px;
}

/* fingerprint dimensions */
.dna-dims {
  margin-top: 22px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
  border-radius: 3px;
  overflow: hidden;
}

.dna-dim { background: var(--paper); padding: 18px 20px; min-width: 0; }

.dna-dim-k {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

.dna-dim-v {
  font-family: var(--serif);
  font-size: 23px;
  color: var(--ink);
  margin-top: 6px;
  line-height: 1.15;
  overflow-wrap: anywhere;
}

.dna-dim-note {
  font-family: var(--sans);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-2);
  margin-top: 4px;
}

.dna-bars { margin-top: 14px; display: flex; flex-direction: column; gap: 7px; }

.dna-bar-row { display: flex; align-items: center; gap: 10px; }

.dna-bar-label {
  flex: 0 0 84px;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-2);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dna-bar-track {
  flex: 1 1 auto;
  height: 7px;
  background: var(--paper-2);
  border-radius: 4px;
  overflow: hidden;
  min-width: 0;
}

.dna-bar-fill { display: block; height: 100%; background: var(--accent); border-radius: 4px; }

.dna-bar-n {
  flex: 0 0 auto;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-mute);
  min-width: 30px;
  text-align: right;
}

/* Part 5 — "+N more" reconciliation line under the era/genre bars, plus the
   extra fingerprint blocks (span / hundred / value shape / condition). */
.dna-bars-more { margin-top: 8px; font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.04em; color: var(--ink-mute); }

.dna-facts { margin-top: 14px; display: grid; gap: 1px; background: var(--rule); border: 1px solid var(--rule); border-radius: 3px; overflow: hidden; }

.dna-fact { background: var(--paper); padding: 16px 20px; display: block; text-decoration: none; color: inherit; }

.dna-fact-k { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-mute); }

.dna-fact-v { font-family: var(--sans); font-size: 14px; font-weight: 600; color: var(--ink-2); margin-top: 5px; line-height: 1.45; overflow-wrap: anywhere; }

.dna-fact-link { cursor: pointer; transition: background 0.15s; }

.dna-fact-link:hover { background: color-mix(in oklab, var(--paper) 82%, #fff 18%); }

.dna-fact-link .dna-fact-k::after { content: " →"; }

/* locked teaser (< 20 records) — intentional retention bait, not an error */
.dna-locked { text-align: center; padding: 38px 28px; }

.dna-lock-head {
  font-family: var(--serif);
  font-size: clamp(20px, 2.4vw, 26px);
  color: var(--ink);
  margin-top: 10px;
  letter-spacing: -0.01em;
}

.dna-lock-sub {
  font-family: var(--body-serif);
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink-2);
  max-width: 440px;
  margin: 10px auto 0;
}

@media (max-width: 640px) {
.dna { padding: 20px 18px; }
.dna-dims { grid-template-columns: 1fr; }
}

/* ===========================================================================
   Value-over-time chart (Brief B) — per-item detail modal.
   Inline-SVG line chart; estimated (dashed --ink-mute) vs live (solid --accent)
   is the load-bearing visual split. Brand tokens only, no default chart colours.
   =========================================================================== */
.vh { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--rule); }

.vh-delta.up .vh-delta-num { color: var(--accent); }

.vh-delta.down .vh-delta-num { color: var(--ink-2); }

.vh-delta.flat .vh-delta-num { color: var(--ink-mute); }

.mcp-head { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; }

.mcp-total { font-family: var(--sans); font-weight: 900; font-size: 22px; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }

.mcp-cur { font-size: 0.62em; color: var(--ink-mute); font-weight: 800; margin-right: 1px; }

.mcp-move { font-family: var(--mono); font-size: 12px; font-weight: 600; letter-spacing: 0.02em; }

.mcp-move::before { content: "· "; color: var(--ink-mute); }

.mcp-move.up { color: oklch(0.52 0.13 150); }

.mcp-move.down { color: oklch(0.55 0.16 28); }

.mcp-move.flat { color: var(--ink-mute); }

.nr-lock, .nr-loading { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.04em; color: var(--ink-mute); margin-top: 12px; }

/* --- Your Next Record: AI CTA (click to generate) --- */
.nr-cta { margin-top: 12px; }

.nr-cta-lead { font-family: var(--sans); font-size: 14px; line-height: 1.5; color: var(--ink-2); margin: 0 0 16px; max-width: 48ch; }

.nr-generate { display: inline-flex; align-items: center; justify-content: center; gap: 9px; width: 100%; max-width: 360px; font-family: var(--mono); font-size: 12.5px; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 700; color: var(--paper); background: var(--accent); border: 1px solid var(--accent); border-radius: 999px; padding: 14px 22px; cursor: pointer; transition: transform .12s ease, box-shadow .12s ease, filter .12s ease; box-shadow: 0 2px 0 rgba(0,0,0,0.12); }

.nr-generate:hover { transform: translateY(-1px); box-shadow: 0 8px 20px rgba(0,0,0,0.16); filter: brightness(1.05); }

.nr-generate:active { transform: translateY(0); box-shadow: 0 2px 0 rgba(0,0,0,0.12); }

.nr-generate:disabled { opacity: .6; cursor: default; transform: none; box-shadow: none; filter: none; }

@keyframes nrTwinkle { 0%, 100% { opacity: .5; transform: scale(.9); } 50% { opacity: 1; transform: scale(1.15); } }

@keyframes nrCardShine { 0%, 62% { transform: translateX(-120%); } 84%, 100% { transform: translateX(120%); } }

@keyframes nrSleeveBreathe {
  0%, 100% { transform: rotate(-1.5deg) scale(1); }
  50%      { transform: rotate(1.5deg) scale(1.035); }
}

@keyframes nrQPulse {
  0%, 100% { opacity: .82; transform: scale(1); }
  50%      { opacity: 1;   transform: scale(1.12); }
}

@keyframes nrCtaPulse {
  0%, 100% { transform: scale(1);    box-shadow: 0 3px 10px color-mix(in oklab, var(--accent) 40%, transparent); }
  50%      { transform: scale(1.045); box-shadow: 0 5px 18px color-mix(in oklab, var(--accent) 55%, transparent); }
}

@keyframes nrCtaShine { 0% { left: -60%; } 45%, 100% { left: 130%; } }

@keyframes nrReveal { from { opacity: 0; transform: translateY(6px) scale(0.985); } to { opacity: 1; transform: none; } }

@keyframes nrSpin { to { transform: rotate(360deg); } }

/* jump targets land below the sticky nav rather than under it */
#sec-top, #sec-shelf, #sec-dna, #sec-next, #sec-numbers { scroll-margin-top: calc(var(--nav-h) + 64px); }

.mc-vb-total {
  font-family: var(--sans); font-weight: 900; letter-spacing: -0.045em;
  font-size: clamp(48px, 7vw, 84px); line-height: 0.9; color: var(--ink);
  font-variant-numeric: tabular-nums; display: flex; align-items: baseline;
}

.mc-vb-total .cur { font-size: 0.46em; color: var(--ink-mute); margin-right: 0.06em; font-weight: 800; }

@media (max-width: 640px) {
#sec-top, #sec-shelf, #sec-dna, #sec-next, #sec-numbers { scroll-margin-top: calc(var(--nav-h) + 56px); }
}

/* ============================================================
   Floating feedback widget (components/FeedbackWidget.jsx)
   Bottom-RIGHT so it clears the bottom-left prototype switcher.
   ============================================================ */
.fbw { position: fixed; bottom: 24px; right: 24px; z-index: 89; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; font-family: var(--mono); transition: opacity 0.25s ease, transform 0.25s ease, bottom 0.25s ease; }

/* When the first-record nudge bar is showing (only coincides on Leaderboards),
   lift the feedback launcher clear of it so the two don't overlap. */
body.frb-active .fbw { bottom: calc(84px + env(safe-area-inset-bottom, 0px)); }

/* Tuck the launcher away while the footer is in view so it never covers footer
   links or bottom-of-page content. Suppressed while the panel is open. */
.fbw--hidden { opacity: 0; pointer-events: none; transform: translateY(16px); }

.fbw-tab { display: inline-flex; align-items: center; gap: 8px; padding: 11px 16px; background: var(--ink); color: var(--paper); border: none; border-radius: 999px; box-shadow: 0 16px 40px -18px rgba(0,0,0,.6); cursor: pointer; font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; transition: transform 0.14s ease, background 0.14s ease; }

.fbw-tab:hover { transform: translateY(-1px); background: var(--accent); }

.fbw-tab svg { display: block; }

.fbw-open .fbw-tab { width: 44px; height: 44px; padding: 0; justify-content: center; }

.fbw-tab-x { font-size: 15px; line-height: 1; }

.fbw-panel { width: 320px; max-width: calc(100vw - 32px); background: var(--paper); border: 1px solid var(--ink); border-radius: 12px; box-shadow: 0 28px 60px -24px rgba(0,0,0,.55); padding: 18px; animation: fbwIn 0.18s ease; }

@keyframes fbwIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

.fbw-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }

.fbw-title { font-family: var(--serif, Georgia, serif); font-size: 19px; letter-spacing: -0.01em; color: var(--ink); }

.fbw-x { background: none; border: none; cursor: pointer; color: var(--ink-mute); font-size: 13px; line-height: 1; padding: 4px; }

.fbw-x:hover { color: var(--accent); }

.fbw-sub { margin-top: 5px; font-family: var(--mono); font-size: 10.5px; line-height: 1.5; letter-spacing: 0.02em; color: var(--ink-mute); }

.fbw-mood { display: flex; gap: 8px; margin: 14px 0 10px; }

.fbw-mood-b { width: 40px; height: 36px; border: 1px solid var(--rule); border-radius: 8px; background: #fffdf8; cursor: pointer; font-size: 17px; line-height: 1; transition: border-color 0.12s, background 0.12s, transform 0.1s; }

.fbw-mood-b:hover { transform: translateY(-1px); }

.fbw-mood-b.on { border-color: var(--accent); background: color-mix(in oklab, var(--accent) 12%, #fffdf8); }

.fbw-mood-b.on.down { border-color: var(--ink); background: color-mix(in oklab, var(--ink) 8%, #fffdf8); }

.fbw-area { width: 100%; box-sizing: border-box; resize: vertical; min-height: 84px; padding: 11px 12px; border: 1px solid var(--rule); border-radius: 8px; background: #fffdf8; color: var(--ink); font-family: var(--mono); font-size: 12.5px; line-height: 1.5; }

.fbw-area:focus { outline: none; border-color: var(--accent); }

.fbw-err { margin-top: 8px; font-family: var(--mono); font-size: 10px; letter-spacing: 0.02em; color: var(--accent); }

.fbw-send { width: 100%; margin-top: 12px; padding: 11px 16px; background: var(--accent); color: #fff; border: none; border-radius: 8px; cursor: pointer; font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; transition: filter 0.12s; }

.fbw-send:hover { filter: brightness(1.05); }

.fbw-send:disabled { opacity: 0.6; cursor: default; }

.fbw-foot { margin-top: 10px; text-align: center; font-family: var(--mono); font-size: 9px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-mute); }

.fbw-done { text-align: center; padding: 12px 6px 8px; }

.fbw-tick { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: color-mix(in oklab, var(--accent) 14%, var(--paper)); color: var(--accent); font-size: 19px; margin-bottom: 12px; }

.fbw-done-t { font-family: var(--serif, Georgia, serif); font-size: 19px; color: var(--ink); }

.fbw-done-s { margin-top: 6px; font-family: var(--mono); font-size: 10.5px; line-height: 1.5; color: var(--ink-mute); }

@media (max-width: 640px) {
.fbw { bottom: 16px; right: 16px; }
body.frb-active .fbw { bottom: calc(112px + env(safe-area-inset-bottom, 0px)); }
.fbw-panel { width: calc(100vw - 32px); }
/* iOS Safari auto-zooms the viewport when a focused field is under 16px and
     doesn't zoom back out. Keep the desktop 12.5px look but hold at 16px on
     mobile so focusing the feedback field doesn't shift the page (FEED-01). */
  .fbw-area { font-size: 16px; }
}

/* ===========================================================
   EXPLORE-MORE — cross-link strip (deepen sessions). Sits at the foot of a
   surface and links to the others; card grid, on-brand, keyboard-friendly.
   =========================================================== */
.xplore { width: 100%; max-width: var(--content-w); margin: 42px auto 10px; }

/* On a dive page the strip sits straight in the full-width .album-page, which has
   no side padding, so below the content width it ran edge to edge. */
.album-page > .xplore { box-sizing: border-box; padding-inline: 16px; max-width: calc(var(--content-w) + 32px); }

.xplore-h { font-family: var(--mono); font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-mute); margin-bottom: 13px; }

.xplore-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }

.xplore-card { position: relative; display: flex; flex-direction: column; gap: 3px; padding: 16px 42px 16px 18px; border: 1px solid var(--rule); border-radius: 12px; background: var(--paper); text-decoration: none; transition: border-color .15s ease, transform .15s ease, box-shadow .15s ease; }

.xplore-card:hover { border-color: var(--ink); transform: translateY(-2px); box-shadow: 0 12px 26px -18px rgba(0,0,0,.5); }

.xplore-card:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.xplore-label { font-family: var(--sans, var(--mono)); font-size: 15px; font-weight: 700; color: var(--ink); letter-spacing: 0; }

.xplore-sub { font-family: var(--body-serif); font-size: 13px; color: var(--ink-2); line-height: 1.4; }

.xplore-go { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); color: var(--ink-mute); font-size: 17px; transition: color .15s ease, transform .15s ease; }

.xplore-card:hover .xplore-go { color: var(--accent); transform: translateY(-50%) translateX(2px); }

@media (max-width: 720px) {
.xplore-grid { grid-template-columns: 1fr; }
}

.dna-card-mv-val {
  font-family: var(--sans);
  font-weight: 900;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  font-size: 22px;
  color: var(--ink);
  margin-top: 6px;
}

.dna-card-mv-val .cur { font-size: 0.62em; color: var(--ink-mute); margin-right: 0.04em; font-weight: 800; }

@keyframes dnaReadFade { from { opacity: 0; } to { opacity: 1; } }

@keyframes tiPulse {
  0%   { box-shadow: 0 0 0 0 color-mix(in oklab, var(--accent) 55%, transparent); }
  70%  { box-shadow: 0 0 0 7px color-mix(in oklab, var(--accent) 0%, transparent); }
  100% { box-shadow: 0 0 0 0 color-mix(in oklab, var(--accent) 0%, transparent); }
}

/* Close/dismiss buttons drew between 11px and 34px of hit area. A transparent,
   centred ::before grows the *target* to 44x44 while the glyph keeps its
   designed size, so nothing moves and no icon is rescaled. The pseudo is
   position:absolute, which also keeps it out of flow (.mc-iconbtn is a grid
   container — an in-flow pseudo would become a second grid item and push the
   icon off-centre). .gate-x and .auth-close are already position:absolute and
   must stay that way; they are their own containing block. */
.fbw-x, .av2-x, .frb-x, .mc-iconbtn { position: relative; }

.fbw-x::before,
.gate-x::before,
.av2-x::before,
.frb-x::before,
.mc-iconbtn::before {
  content: ""; position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 44px; height: 44px;
  min-width: 100%; min-height: 100%;
}

/* Already a wide icon+label row, so it only needs vertical reach. */
.auth-close::before {
  content: ""; position: absolute; left: 0; right: 0; top: 50%;
  transform: translateY(-50%); height: 44px;
}

.gate-x:focus-visible, .av2-x:focus-visible, .fbw-x:focus-visible,
.frb-x:focus-visible, .auth-close:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* "On your wishlist. Take it off?" (App.jsx WishOwnedAsk): at the foot of the
   screen, clear of the centred record-added card and over any open sheet. */
.woa { position: fixed; left: 0; right: 0; bottom: 0; z-index: 10002; display: flex; justify-content: center;
  padding: 0 16px calc(16px + env(safe-area-inset-bottom)); pointer-events: none; }

.woa-card { pointer-events: auto; width: min(440px, 100%); background: var(--ink); color: var(--paper);
  border: 1px solid color-mix(in oklab, var(--paper) 28%, transparent);
  border-radius: 12px; padding: 14px 16px; box-shadow: 0 18px 40px -16px rgba(0,0,0,.55); animation: racPop .32s ease; }

.woa-k { font-family: var(--mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; opacity: .7; margin-bottom: 4px; }

.woa-q { margin: 0; font-size: 14px; line-height: 1.45; }

.woa-acts { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }

.woa-btn { font: 700 12px var(--sans); letter-spacing: .02em; padding: 9px 14px; border-radius: 999px; cursor: pointer;
  background: transparent; color: var(--paper); border: 1px solid color-mix(in oklab, var(--paper) 45%, transparent); }

.woa-btn.primary { background: var(--accent); border-color: var(--accent); color: #fff; }

.woa-btn:focus-visible { outline: 2px solid var(--paper); outline-offset: 2px; }

.rac {
  position: fixed; inset: 0; z-index: 10001;
  display: flex; align-items: center; justify-content: center;
  padding: 20px; pointer-events: none;
}

.rac-card {
  pointer-events: auto; cursor: pointer;
  width: min(340px, 100%); text-align: center;
  padding: 30px 26px 24px;
  background: var(--paper); border: 1px solid var(--rule); border-radius: 14px;
  box-shadow: 0 30px 70px -28px rgba(0,0,0,.55), 0 2px 0 0 var(--rule);
  animation: racPop .42s cubic-bezier(.2,1.35,.4,1);
}

@keyframes racPop { from { opacity: 0; transform: translateY(10px) scale(.94); } to { opacity: 1; transform: none; } }

/* The tick. Ring sweeps, then the mark draws inside it.
   EVERY RESTING STATE HERE IS THE FINISHED ONE — drawn, opaque — and the
   staging lives inside the keyframes (the mark holds undrawn for the first 52%)
   rather than in an animation-delay, which would need fill-mode: backwards.
   So a browser that never creates these animations still shows a drawn tick on
   an opaque card, rather than a blank disc. It does NOT rescue a hidden tab —
   there the animations are created and freeze at 0%, measured — but a hidden
   tab means nobody is watching, and the FIGURE is guaranteed independently by
   the count-up's own fallback (App.jsx). */
.rac-tick { display: block; margin: 0 auto 16px; width: 52px; height: 52px; }

.rac-tick-ring, .rac-tick-mark { stroke: oklch(0.52 0.13 150); stroke-dashoffset: 0; }

.rac-tick-ring {
  stroke-dasharray: 145;
  animation: racDrawRing .5s cubic-bezier(.35,0,.25,1);
}

.rac-tick-mark {
  stroke-dasharray: 36;
  animation: racDrawMark .66s cubic-bezier(.35,0,.25,1);
}

@keyframes racDrawRing { from { stroke-dashoffset: 145; } }

@keyframes racDrawMark { 0%, 52% { stroke-dashoffset: 36; } 100% { stroke-dashoffset: 0; } }

.rac-kicker {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase;
  color: oklch(0.52 0.13 150); font-weight: 700;
}

.rac-title { font-family: var(--serif); font-size: 24px; line-height: 1.12; color: var(--ink); margin-top: 10px; }

.rac-artist { font-family: var(--mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-mute); margin-top: 7px; }

.rac-val {
  font-family: var(--sans); font-weight: 900; letter-spacing: -.035em;
  font-size: 42px; line-height: 1; color: var(--ink);
  font-variant-numeric: tabular-nums;
  margin: 18px 0 0;
}

.rac-val .cur { font-size: .62em; vertical-align: .16em; margin-right: 1px; color: var(--ink-mute); }

.rac-val.pending {
  font-family: var(--body-serif); font-weight: 400; font-size: 15px; letter-spacing: 0;
  color: var(--ink-2); margin-top: 16px;
}

.rac-val.pending small {
  display: block; margin-top: 4px;
  font-family: var(--mono); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-mute);
}

.rac-foot {
  margin-top: 16px; padding-top: 13px; border-top: 1px solid var(--rule);
  font-family: var(--mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-mute);
}

@media (max-width: 480px) {
.rac-card { padding: 26px 20px 20px; }
.rac-title { font-size: 21px; }
.rac-val { font-size: 36px; }
}

/* A Scarce pressing, said on the card it was added from (App.jsx
   RecordAddedCheer). The chip is the shelf's own. */
.rac-tier {
  margin-top: 12px; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 4px 8px;
  animation: racTierIn .36s cubic-bezier(.2,1.3,.4,1);
}

.rac-tier .tier-chip { margin-top: 0; }

.rac-tier-nm { font-family: var(--mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }

.rac-tier-more { flex-basis: 100%; font-family: var(--body-serif); font-size: 13px; line-height: 1.4; color: var(--ink-mute); }

@keyframes racTierIn { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
.rac-card, .rac-tick-ring, .rac-tick-mark, .rac-tier { animation: none; }
}

/* ---- level-up celebration (App.jsx: LevelUpCheer) -------------------------
   The record-added tick's louder sibling, and deliberately the only thing on
   the site that goes gold. Same overlay geometry as .rac — fixed, centred,
   pointer-event-free backdrop so it can never trap anyone mid-flow — one step
   above it in the stack, because when both fire the level is the bigger news.
   Every resting state below is the FINISHED one (drawn, opaque, unrotated) with
   the staging inside the keyframes, so a browser that never runs these
   animations still shows a complete, legible card. */
.lvl {
  position: fixed; inset: 0; z-index: 10002;
  display: flex; align-items: center; justify-content: center;
  padding: 20px; pointer-events: none;
}

/* A scrim, not a modal: it dims the page so the card reads as a moment rather
   than a toast, but it takes no pointer events either, so the page underneath
   stays live and this can still never trap anyone. */
.lvl-scrim {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(80% 60% at 50% 50%, rgba(23,19,15,.30), rgba(23,19,15,.52));
  animation: lvlFade .4s ease both;
}

@keyframes lvlFade { from { opacity: 0; } to { opacity: 1; } }

.lvl-card {
  --lvl-gold: #c69a3e;          /* the achievement colour, matched to the email */
  --lvl-gold-lit: #e6c477;
  pointer-events: auto;
  position: relative; overflow: hidden;
  width: min(380px, 100%); text-align: center;
  padding: 34px 26px 26px;
  background:
    radial-gradient(120% 80% at 50% 0%, color-mix(in oklab, var(--lvl-gold) 16%, transparent), transparent 62%),
    var(--paper);
  border: 1px solid color-mix(in oklab, var(--lvl-gold) 45%, var(--rule));
  border-radius: 16px;
  box-shadow: 0 30px 70px -26px rgba(0,0,0,.6), 0 0 0 1px color-mix(in oklab, var(--lvl-gold) 18%, transparent);
  animation: lvlPop .52s cubic-bezier(.2,1.32,.38,1);
}

@keyframes lvlPop { from { opacity: 0; transform: translateY(14px) scale(.9); } to { opacity: 1; transform: none; } }

/* Sheen — one pass across the card as it lands. */
.lvl-card::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(72deg, transparent 34%,
    color-mix(in oklab, #fff 62%, transparent) 48%, transparent 62%);
  transform: translateX(125%);
  animation: lvlSheen 1.2s ease .3s 1;
}

@keyframes lvlSheen { from { transform: translateX(-125%); } to { transform: translateX(125%); } }

/* The medal. Glow pulses, ring sweeps, star drops in behind it. */
.lvl-medal { position: relative; display: block; width: 84px; height: 84px; margin: 0 auto 14px;
  animation: lvlMedal .66s cubic-bezier(.2,1.5,.4,1); }

@keyframes lvlMedal { 0% { opacity: 0; transform: scale(.35) rotate(-20deg); } 62% { transform: scale(1.14) rotate(5deg); } 100% { opacity: 1; transform: none; } }

.lvl-medal-glow { fill: color-mix(in oklab, var(--lvl-gold) 20%, transparent); animation: lvlGlow 1.9s ease-in-out infinite; }

@keyframes lvlGlow { 0%, 100% { opacity: .5; } 50% { opacity: 1; } }

.lvl-medal-ring {
  stroke: var(--lvl-gold); fill: none;
  stroke-dasharray: 208; stroke-dashoffset: 0;
  animation: lvlRing .7s cubic-bezier(.35,0,.25,1);
}

@keyframes lvlRing { from { stroke-dashoffset: 208; } }

.lvl-medal-face { fill: color-mix(in oklab, var(--lvl-gold) 14%, var(--paper)); }

.lvl-medal-star { fill: var(--lvl-gold); stroke: var(--lvl-gold-lit); }

.lvl-kicker {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase;
  font-weight: 700; color: color-mix(in oklab, var(--lvl-gold) 78%, var(--ink));
}

.lvl-name {
  font-family: var(--serif); font-size: 34px; line-height: 1.08; color: var(--ink);
  margin-top: 8px; letter-spacing: -.01em;
}

.lvl-sub { font-family: var(--body-serif); font-size: 15px; line-height: 1.45; color: var(--ink-2); margin-top: 10px; }

.lvl-next {
  margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--rule);
  font-family: var(--mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase;
  color: var(--ink-mute);
}

.lvl-next b { color: var(--ink-2); font-weight: 700; }

.lvl-next-gap { color: color-mix(in oklab, var(--lvl-gold) 72%, var(--ink-mute)); }

.lvl-go {
  margin-top: 18px; cursor: pointer;
  font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; font-weight: 700;
  color: var(--paper); background: var(--ink); border: 1px solid var(--ink);
  padding: 11px 20px; border-radius: 999px;
}

.lvl-go:hover { background: var(--ink-2); border-color: var(--ink-2); }

/* Confetti. Clipped to the card, so it rains inside the frame rather than over
   whatever page is underneath — this thing appears on top of the reader's
   collection, not instead of it. */
.lvl-confetti { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }

.lvl-cf {
  position: absolute; top: -14px; width: 7px; height: 7px; border-radius: 1px;
  opacity: 0;
  animation-name: lvlFall; animation-timing-function: cubic-bezier(.25,.5,.5,1); animation-iteration-count: 1;
  animation-fill-mode: forwards;
}

.lvl-cf.tall { height: 14px; }

.lvl-cf.t0 { background: var(--lvl-gold); }

.lvl-cf.t1 { background: var(--lvl-gold-lit); }

.lvl-cf.t2 { background: var(--accent); }

@keyframes lvlFall {
  0%   { opacity: 0; transform: translate3d(0,0,0) rotate(0deg); }
  8%   { opacity: 1; }
  85%  { opacity: 1; }
  100% { opacity: 0; transform: translate3d(var(--drift,0), 460px, 0) rotate(var(--spin,180deg)); }
}

@media (max-width: 480px) {
.lvl-card { padding: 28px 20px 22px; }
.lvl-name { font-size: 28px; }
.lvl-medal { width: 72px; height: 72px; }
.lvl-medal svg { width: 72px; height: 72px; }
}

@media (prefers-reduced-motion: reduce) {
.lvl-card, .lvl-medal, .lvl-medal-ring, .lvl-medal-glow, .lvl-scrim { animation: none; }
.lvl-card::after { display: none; }
.lvl-confetti { display: none; }
}

/* ---- tier moment (App.jsx: TierCheer) -------------------------------------
   A Rare or a Grail, the moment it is added. Built on the level-up's card,
   scrim, confetti and button (same overlay rules: nothing here takes the page's
   pointer events), with the sleeve where the medal sits. Grail keeps the
   level-up's gold, the only gold on the site; Rare swaps it for the vermilion
   of its ring on the shelf. Resting states are the finished ones, as above. */
.tc-card.tc-rare {
  --lvl-gold: var(--accent);
  --lvl-gold-lit: color-mix(in oklab, var(--accent) 55%, #fff);
}

.tc-sleeve {
  position: relative; width: max-content; margin: 2px auto 18px;
  animation: tcSleeve .7s cubic-bezier(.2,1.45,.4,1);
}

.tc-sleeve.tier-rare { outline: 3px solid var(--accent); outline-offset: 3px; }

.tc-sleeve.tier-grail { box-shadow: 0 0 0 1px rgba(156,122,28,.25), 0 18px 46px -18px rgba(198,154,62,.75); }

@keyframes tcSleeve { 0% { opacity: 0; transform: translateY(18px) scale(.7) rotate(-6deg); } 60% { transform: scale(1.06) rotate(1.5deg); } 100% { opacity: 1; transform: none; } }

.tc-kicker { font-size: 11px; }

.tc-title { font-family: var(--serif); font-size: 28px; line-height: 1.1; color: var(--ink); margin-top: 8px; letter-spacing: -.01em; text-wrap: balance; }

.tc-tag { font-family: var(--body-serif); font-style: italic; font-size: 15px; color: var(--ink-2); margin-top: 10px; }

.tc-val { margin-top: 14px; font-size: 38px; }

.tc-why { font-family: var(--body-serif); font-size: 14.5px; line-height: 1.5; color: var(--ink-2); margin: 12px auto 0; max-width: 32ch; text-wrap: pretty; }

.tc-rule { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px; text-transform: none; letter-spacing: .02em; font-size: 11px; line-height: 1.5; }

.tc-rule .tier-chip { margin-top: 0; }

.tc-actions { display: flex; flex-direction: column; align-items: center; gap: 4px; margin-top: 18px; }

.tc-actions .lvl-go { margin-top: 0; }

.tc-later {
  background: none; border: 0; cursor: pointer; padding: 10px 14px; min-height: 44px;
  font-family: var(--mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-mute);
}

.tc-later:hover { color: var(--ink); }

/* It has more to say than the level-up, so it is taller: on a short screen it
   tightens, and past that it scrolls inside itself rather than losing its
   button below the fold of a fixed overlay nobody can scroll. */
.tc-card { max-height: calc(100dvh - 40px); overflow-y: auto; }

@media (max-width: 480px) {
.tc-title { font-size: 24px; }
.tc-val { font-size: 32px; }
.tc-sleeve { margin-bottom: 14px; }
}

@media (max-height: 720px) {
.tc-card { padding-top: 24px; padding-bottom: 20px; }
.tc-sleeve { margin-bottom: 12px; }
.tc-title { font-size: 23px; margin-top: 6px; }
.tc-tag { margin-top: 6px; font-size: 14px; }
.tc-val { margin-top: 10px; font-size: 30px; }
.tc-why { margin-top: 8px; font-size: 14px; }
.tc-card .lvl-next { margin-top: 12px; padding-top: 10px; }
.tc-card .lvl-go { margin-top: 12px; }
}

@media (prefers-reduced-motion: reduce) {
.tc-sleeve { animation: none; }
}

/* ===== SHELF CHECK ==========================================================
   A daily deck of ten ungraded records (components/ShelfCheck.jsx). Replaced
   the grade queue on 27 Sep 2026. The entry card sits where the queue did,
   between the folder bar and the grid; the deck is a full-screen overlay so a
   drag never fights the page scroll (touch-action:none on the card).
   ========================================================================== */
:root { --sc-good: #2f7a4f; --sc-bad: #a3352b; }

/* ---- Rarity tiers (components/Tiers.jsx, C1 F7) ----------------------------
   The Tiers mockup: Common plain, Scarce an ink outline, Rare a vermilion
   ring, Grail the only foil on the site. Applied to the box a sleeve sits in
   (.mc-card-cover, .ft-sleeve), never to the sleeve itself, so the canon badge
   and the cover art are untouched. The foil's colours are literal on purpose:
   gold leaf is gold on any page. */
.tier-scarce, .tier-rare, .tier-grail { position: relative; }

.mc-card-cover.tier-grail::after, .ft-sleeve.tier-grail::after, .ftr-sleeve.tier-grail::after, .tc-sleeve.tier-grail::after {
  content: ""; position: absolute; inset: -6px; padding: 4px; border-radius: 3px; pointer-events: none;
  background: linear-gradient(115deg, #8a6a12, #f3e3a4 18%, #b9bcc2 32%, #f6d76e 48%, #9c7a1c 62%, #fff3c4 78%, #8a6a12);
  background-size: 300% 100%;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  animation: tier-foil 7s linear infinite;
}

@keyframes tier-foil { to { background-position: 300% 0; } }

@media (prefers-reduced-motion: reduce) {
.mc-card-cover.tier-grail::after, .ft-sleeve.tier-grail::after, .ftr-sleeve.tier-grail::after, .tc-sleeve.tier-grail::after { animation: none; }
}

.tier-chip {
  display: inline-block; margin-top: 6px; padding: 2px 7px; border-radius: 3px;
  font-family: var(--mono); font-size: 9.5px; letter-spacing: .1em; text-transform: uppercase; line-height: 1.5;
  white-space: nowrap;
}

.tier-chip-scarce { border: 1px solid var(--ink); color: var(--ink); }

.tier-chip-rare { background: var(--accent); color: #fff; }

.tier-chip-grail { background: linear-gradient(115deg, #9c7a1c, #f3e3a4 45%, #b8901f); color: #2a1d00; }

.tier-chip-common { border: 1px solid var(--rule); color: var(--ink-mute); }

.tier-counts {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 16px; margin: 12px 0 0;
  font-family: var(--mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-mute);
}

.tier-count-list { display: flex; flex-wrap: wrap; gap: 4px 14px; }

.tier-count b { color: var(--ink); font-weight: 600; }

.tier-count-grail b { color: #9c7a1c; }

.tier-count-rare b { color: var(--accent); }

.tier-how summary { cursor: pointer; color: var(--accent); text-decoration: underline; text-underline-offset: 3px; list-style: none; min-height: 32px; display: inline-flex; align-items: center; }

.tier-how summary::-webkit-details-marker { display: none; }

.tier-how summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.tier-how-body {
  margin: 8px 0 4px; max-width: 520px; text-transform: none; letter-spacing: 0;
  font-family: var(--sans); font-size: 14px; line-height: 1.5; color: var(--ink-2);
  border: 1px solid var(--rule); border-radius: 10px; background: color-mix(in oklab, var(--paper) 70%, #fff); padding: 14px 16px;
}

.tier-ladder { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }

.tier-ladder li { display: grid; grid-template-columns: 74px auto 1fr; align-items: center; gap: 12px; }

.tier-ladder .tier-chip { margin: 0; justify-self: start; }

.tier-ladder b { font-family: var(--mono); font-size: 13px; font-weight: 600; color: var(--ink); white-space: nowrap; }

.tier-ladder span:not(.tier-chip) { color: var(--ink-mute); font-size: 13.5px; }

.tier-ladder-key { margin: 10px 0 0; font-size: 12.5px; color: var(--ink-mute); }

.tier-notes { margin: 12px 0 0; padding: 12px 0 0; border-top: 1px solid var(--rule); list-style: none; display: grid; gap: 8px; font-size: 13.5px; }

.tier-notes b { color: var(--ink); font-weight: 600; }

@media (max-width: 640px) {
.tier-how summary { min-height: 44px; }
}

.cmty-more { font-family:var(--mono); font-size:12px; color:var(--ink-mute); padding-left:4px; }

.cmty :is(button, a):focus-visible, .cmty-tabs a:focus-visible { outline:2px solid var(--accent); outline-offset:2px; }

@keyframes cmtyBadgeIn { from { transform:scale(.3); opacity:0; } to { transform:scale(1); opacity:1; } }

@keyframes cmtyBadgePulse { 0% { box-shadow:0 0 0 0 color-mix(in oklab, var(--accent) 60%, transparent); } 100% { box-shadow:0 0 0 10px color-mix(in oklab, var(--accent) 0%, transparent); } }

.nav-burger { position:relative; }

@keyframes cmty-pulse { 0% { box-shadow:0 0 0 0 color-mix(in oklab, var(--accent) 55%, transparent); } 100% { box-shadow:0 0 0 9px transparent; } }

@keyframes cmty-wall { to { transform:translateX(calc(-50% - 5px)); } }

.cmty-wall-t { position:relative; flex:none; padding:0; border:none; background:none; cursor:pointer; border-radius:3px; overflow:hidden; transition:transform .2s ease; }

@keyframes cmty-in { from { opacity:0; transform:translateY(12px); } to { opacity:1; transform:none; } }

.cmty-post, .cmty-tile { transition:box-shadow .2s ease, transform .2s ease, border-color .2s ease; }

.cmty-mosaic { display:flex; gap:8px; margin-top:14px; padding:0; border:none; background:none; cursor:pointer; max-width:100%; }

.cmty-mosaic-side { display:flex; flex-direction:column; gap:8px; }

.cmty-mosaic > *, .cmty-mosaic-side > * { transition:transform .25s ease; }

.cmty-mosaic:hover > :first-child { transform:scale(1.015); }

.cmty-mosaic-cap { display:flex; align-items:baseline; gap:8px; font-size:12.5px; color:var(--ink-2); margin-top:9px; }

.cmty-cap-a { min-width:0; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }

.cmty-mosaic-cap .cmty-more { flex:none; padding-left:0; }

@keyframes cmty-pop { 0% { transform:scale(.6); } 60% { transform:scale(1.35); } 100% { transform:scale(1); } }

@media (prefers-reduced-motion: reduce) {
.cmty-post, .cmty-tile, .cmty-wall-t, .cmty-mosaic > *, .cmty-mosaic-side > * { transition:none; }
}

@media (max-width: 350px) {
/* The three-record mosaic was 31px wider than its card at 320px. */
  .cmty-mosaic { zoom:.84; }
}

.pubcol :is(button, a):focus-visible { outline:2px solid var(--accent); outline-offset:2px; }

.cmty-avp:focus { outline: none; }

.cmty-avp :is(button, input):focus-visible { outline:2px solid var(--accent); outline-offset:2px; }

.cmty-talk :is(button, textarea):focus-visible { outline:2px solid var(--accent); outline-offset:2px; }

.v2-who-link, .acct-link { font:inherit; font-size:13.5px; color:var(--ink); background:none; border:none; padding:0; cursor:pointer; text-decoration:underline; text-underline-offset:3px; display:inline-flex; align-items:center; min-height:32px; }

.v2-who-link:hover, .acct-link:hover { color:var(--accent); }

.acct-link { margin-top:12px; color:var(--ink-mute); }

.acct-link.inline { margin-top:0; min-height:0; display:inline; color:var(--ink); font-size:13px; }

.acct-msg.ok { color:#2f6b3a; }

.acct-msg.bad { color:color-mix(in oklab, var(--accent) 76%, #000); }

.acct-confirm { margin-top:12px; padding:12px 14px; border:1px solid var(--rule); border-radius:10px; background:var(--paper); }

.acct-confirm .acct-card-d { margin-top:0; color:var(--ink-2); }

.acct-card b { overflow-wrap:anywhere; }

.auth-hint-ok { color:#2f6b3a; }

.auth-hint-bad { color:color-mix(in oklab, var(--accent) 76%, #000); }

/* A confirm with two buttons and a long username ran out of a phone's width. */
.acct-confirm .acct-row, .acct-card .acct-row { flex-wrap:wrap; }

.acct-card .acct-btn { max-width:100%; overflow:hidden; text-overflow:ellipsis; }

.acct-card-k:focus { outline:none; }

.cmty-cmp-as { margin:10px 0 0; }

.cmty-cmp :is(button, textarea, input):focus-visible { outline:2px solid var(--accent); outline-offset:2px; }

.cmty-tags-s { font-size:12px; color:var(--ink-mute, #6b635a); }

@keyframes cmtyHit { 0%, 35% { background:color-mix(in oklab, var(--accent) 16%, transparent); box-shadow:0 0 0 6px color-mix(in oklab, var(--accent) 16%, transparent); } 100% { background:transparent; box-shadow:0 0 0 6px transparent; } }

@media (max-width:640px) {
.fbw-tab { padding:12px; }
.fbw-tab .fbw-tab-t { position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; }
body:has(textarea:focus, input[type="text"]:focus, input[type="search"]:focus) .fbw { opacity:0; pointer-events:none; transform:translateY(16px); }
}

@media (max-width:640px) {
.lb-back { padding:10px 12px 14px 0; min-height:44px; }
}

/* ===========================================================
   RECORD PAGE (components/RecordPage.jsx, 17 Oct 2026)
   The page every record gets: the hero, the about text with its
   attribution, your copy, the pressings on shelves here, the
   tracklist and credits. Container and padding are the shelf's
   (.mc), so the nav sits the same way over both.
   =========================================================== */
.rp { position: relative; z-index: 2; max-width: 960px; margin: 0 auto; padding: 104px 40px 120px; min-height: 100vh; }

.rp * { box-sizing: border-box; }

.rp-hero { display: flex; gap: 32px; align-items: flex-start; }

.rp-cover { flex: none; }

.rp-head { min-width: 0; flex: 1; }

.rp-kicker { font-family: var(--mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-mute); }

.rp-title { font-family: var(--serif); font-weight: 400; font-size: clamp(30px, 4.4vw, 46px); line-height: 1.04; letter-spacing: -.01em; color: var(--ink); margin: 8px 0 0; overflow-wrap: anywhere; }

.rp-artist { font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); margin-top: 10px; }

.rp-intro { font-family: var(--body-serif); font-size: 17px; line-height: 1.5; color: var(--ink-2); margin: 16px 0 0; max-width: 560px; }

.rp-mine { margin: 14px 0 0; font-size: 14px; color: var(--ink-2); }

.rp-mine-tick { color: oklch(0.52 0.13 150); font-weight: 700; margin-right: 6px; }

.rp-mine a, .rp-link { color: var(--accent); background: none; border: none; padding: 0; font: inherit; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }

.rp-dive { display: block; margin: 28px 0 0; padding: 16px 18px; border-radius: 12px; background: var(--ink); color: var(--paper); text-decoration: none; }

.rp-dive-k { display: block; font-family: var(--mono); font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; opacity: .7; }

.rp-dive-t { display: block; margin-top: 4px; font-family: var(--serif); font-size: 21px; line-height: 1.2; }

.rp-dive:hover .rp-dive-t { text-decoration: underline; text-underline-offset: 4px; }

.rp-sec { margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--rule); }

.rp-sec h2 { font-family: var(--mono); font-weight: 700; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-mute); margin: 0 0 14px; }

.rp-h3 { font-family: var(--mono); font-weight: 400; font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-mute); margin: 20px 0 8px; }

.rp-extract { font-family: var(--body-serif); font-size: 17px; line-height: 1.6; color: var(--ink); margin: 0; max-width: 680px; }

.rp-attrib { font-size: 12.5px; color: var(--ink-mute); margin: 10px 0 0; }

.rp-attrib a, .rp-sources a, .rp-more a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }

.rp-more a { color: var(--accent); }

/* The copy card (18 Oct 2026): one shape for every copy. What it is (pressing,
   where and when, format tags) beside what it is worth; then its runout
   etchings and who made it, each under a small heading, each at full width. */
.rp-copy { padding: 16px 18px; border: 1px solid var(--rule); border-radius: 12px; background: var(--paper-2); }

.rp-copy + .rp-copy { margin-top: 12px; }

.rp-copy-top { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 20px; align-items: start; }

.rp-copy-id { min-width: 0; }

.rp-copy-line { font-family: var(--sans); font-weight: 700; font-size: 16px; line-height: 1.3; color: var(--ink); overflow-wrap: break-word; }

.rp-copy-where { font-size: 13.5px; color: var(--ink-2); margin-top: 2px; }

.rp-copy-tags { display: flex; flex-wrap: wrap; gap: 5px; list-style: none; margin: 8px 0 0; padding: 0; }

.rp-copy-tags li { font-size: 11.5px; line-height: 1; padding: 4px 7px; border: 1px solid var(--rule); border-radius: 999px; background: var(--paper); color: var(--ink-2); }

.rp-pl-fmt { font-size: 13px; color: var(--ink-mute); margin-top: 3px; }

.rp-copy-val { text-align: right; }

.rp-copy-price { display: flex; align-items: center; justify-content: flex-end; gap: 6px; font-family: var(--sans); font-weight: 800; font-size: 22px; line-height: 1.1; color: var(--ink); }

.rp-copy-price .tier-chip { margin: 0; }

.rp-copy-price .rp-dim { font-weight: 400; font-size: 14px; }

.rp-copy-grade { margin-top: 4px; font-size: 13px; color: var(--ink-2); white-space: nowrap; }

.rp-copy-grade b { color: var(--ink); }

.rp-copy-part { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--rule); }

.rp-copy-h { margin: 0 0 8px; font-family: var(--mono); font-weight: 400; font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-mute); }

/* Runout etchings (RpRunouts): sides down, variants across; stacked by side on a phone. */
.rp-etch { min-width: 0; }

.rp-etch-sum { margin: 0 0 6px; font-size: 12.5px; color: var(--ink-2); }

.rp-etch-t { width: 100%; border-collapse: collapse; table-layout: fixed; }

.rp-etch-t th, .rp-etch-t td { text-align: left; vertical-align: top; padding: 7px 10px 7px 0; border-top: 1px solid color-mix(in oklab, var(--rule) 70%, transparent); }

.rp-etch-t tr:first-child > * { border-top: none; }

.rp-etch-t thead th { padding-top: 0; font-family: var(--mono); font-weight: 400; font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-mute); }

.rp-etch-t tbody th { width: 64px; font-weight: 600; font-size: 13px; color: var(--ink-2); white-space: nowrap; }

.rp-etch-t thead tr > th:first-child { width: 64px; }

.rp-etch-t td { min-width: 0; }

.rp-etch-t thead + tbody tr:first-child > * { border-top: 1px solid color-mix(in oklab, var(--rule) 70%, transparent); }

.rp-etch-c + .rp-etch-c { margin-top: 6px; }

.rp-etch-all { margin-top: 8px; font-size: 13px; }

/* Stacked: each side a block, its codes under it with the variant each belongs to.
   Always for more than three variants; for any table of variants on a phone. */
.rp-etch-t.is-stacked, .rp-etch-t.is-stacked tbody, .rp-etch-t.is-stacked tr, .rp-etch-t.is-stacked th, .rp-etch-t.is-stacked td { display: block; width: auto; }

.rp-etch-t.is-stacked thead { display: none; }

.rp-etch-t.is-stacked tbody tr { padding: 8px 0; border-top: 1px solid color-mix(in oklab, var(--rule) 70%, transparent); }

.rp-etch-t.is-stacked tbody tr:first-child { border-top: none; }

.rp-etch-t.is-stacked tbody th, .rp-etch-t.is-stacked td { border: none; padding: 0; }

.rp-etch-t.is-stacked tbody th { margin-bottom: 4px; }

.rp-etch-t.is-stacked td { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 0 8px; padding: 3px 0; }

.rp-etch-t.is-stacked td::before { content: attr(data-label); grid-column: 1; grid-row: 1 / span 9; font-size: 11.5px; line-height: 1.6; color: var(--ink-mute); }

.rp-etch-t.is-stacked td > .rp-etch-c { grid-column: 2; }

.rp-etch-t.is-stacked td > .rp-etch-c + .rp-etch-c { margin-top: 4px; }

.rp-etch-t.is-stacked td:empty { display: none; }

.rp-etch-v { display: block; font-family: var(--mono); font-size: 13px; line-height: 1.4; color: var(--ink); overflow-wrap: anywhere; }

.rp-etch-d { display: block; font-size: 12px; line-height: 1.35; color: var(--ink-mute); overflow-wrap: break-word; }

.rp-dim { color: var(--ink-mute); }

.rp-made { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; font-size: 13.5px; color: var(--ink); }

.rp-made span { color: var(--ink-mute); margin-right: 4px; }

.rp-notes { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--rule); font-size: 13px; }

.rp-notes summary { cursor: pointer; color: var(--ink-2); }

.rp-notes p { white-space: pre-line; color: var(--ink-2); line-height: 1.5; margin: 8px 0 0; }

.rp-press-first { font-family: var(--body-serif); font-size: 16px; line-height: 1.5; color: var(--ink-2); margin: 0; max-width: 680px; }

.rp-press-list { list-style: none; margin: 0; padding: 0; }

.rp-press-list li { padding: 10px 0; border-bottom: 1px solid var(--rule); }

.rp-press-list li.is-first { background: color-mix(in oklab, var(--accent) 5%, transparent); }

.rp-pl-row { display: flex; justify-content: space-between; gap: 12px; }

.rp-pl-tag { margin-left: 8px; font-family: var(--mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; }

.rp-pl-first { color: var(--accent); }

.rp-pl-yours { color: oklch(0.52 0.13 150); }

.rp-pl-ids { margin-top: 6px; font-size: 13px; }

.rp-pl-ids summary { cursor: pointer; color: var(--ink-2); width: max-content; }

.rp-pl-ids .rp-etch { margin-top: 8px; }

.rp-press-all { margin-top: 10px; font-size: 14px; }

.rp-press-note { margin: 10px 0 0; font-size: 13px; color: var(--ink-mute); }

.rp-press-note a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }

.rp-pl-main { min-width: 0; }

.rp-pl-line { display: block; font-size: 14px; color: var(--ink); }

.rp-pl-fmt { display: block; }

.rp-pl-side { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; justify-content: flex-end; font-size: 12.5px; color: var(--ink-mute); text-align: right; }

.rp-pl-side .tier-chip { margin: 0; }

.rp-pl-nm { font-family: var(--mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); }

.rp-tl { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 32px; }

.rp-tl li { display: flex; gap: 10px; padding: 5px 0; font-size: 14px; break-inside: avoid; border-bottom: 1px dotted var(--rule); }

.rp-tl-pos { flex: none; width: 2.6em; font-family: var(--mono); font-size: 12px; color: var(--ink-mute); }

.rp-tl-t { flex: 1; min-width: 0; color: var(--ink); }

.rp-tl-d { flex: none; font-family: var(--mono); font-size: 12px; color: var(--ink-mute); }

.rp-tl-head { font-family: var(--mono); font-size: 11px !important; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-mute); border-bottom: none !important; padding-top: 10px !important; }

/* The role column was max-content, so "Photography By [Additional Photography]"
   pushed a 360px page sideways (1,418 of 3,584 record pages carry a role that
   long, site QA 25 Oct 2026). Capped at 45% it wraps instead. */
.rp-cr { display: grid; grid-template-columns: fit-content(45%) minmax(0, 1fr); gap: 6px 18px; margin: 0; font-size: 14px; }

.rp-cr dt { color: var(--ink-mute); overflow-wrap: anywhere; }

.rp-cr dd { margin: 0; color: var(--ink); overflow-wrap: anywhere; }

.rp-more-list { list-style: none; margin: 0; padding: 0; font-size: 15px; }

.rp-more-list li + li { margin-top: 6px; }

.rp-sources { margin-top: 40px; font-size: 12.5px; color: var(--ink-mute); }

.rp-status { margin-top: 24px; font-family: var(--body-serif); font-size: 17px; color: var(--ink-2); }

.rp-wait .rp-hero { opacity: .9; }

/* ---- record page: what makes it move (17 Oct 2026) -------------------------
   Ric: "make sure the UX of these new pages are engaging and dynamic". The
   figures count up, the sections arrive in turn, the pressings sit on a
   timeline you can point at. Every resting state is the finished one; the
   motion lives in keyframes, and reduced motion removes it. */
.rp-stats { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 0; max-width: 600px; }

.rp-stat { flex: 0 1 auto; min-width: 104px; margin: 0; padding: 10px 14px 11px; border: 1px solid var(--rule); border-radius: 10px; background: var(--paper-2); animation: rpRise .42s cubic-bezier(.2,1.1,.4,1) backwards; }

.rp-stat dt { font-family: var(--mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-mute); white-space: nowrap; }

.rp-stat dd { margin: 4px 0 0; font-family: var(--sans); font-weight: 900; font-size: 22px; letter-spacing: -.02em; color: var(--ink); font-variant-numeric: tabular-nums; white-space: nowrap; }

.rp-ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 16px; }

.rp-btn { padding: 10px 16px; border-radius: 999px; border: 1px solid var(--ink); background: transparent; color: var(--ink); font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; transition: transform .12s, background .15s, color .15s; }

.rp-btn:hover { background: var(--ink); color: var(--paper); }

.rp-btn:active { transform: scale(.97); }

.rp-btn-go { background: var(--ink); color: var(--paper); }

.rp-btn-go:hover { background: color-mix(in oklab, var(--ink) 82%, var(--accent)); }

.rp-toast { font-size: 13px; color: oklch(0.52 0.13 150); animation: rpRise .3s ease-out backwards; }

.rp > .rp-dive, .rp > .rp-sec { animation: rpRise .5s cubic-bezier(.2,1,.4,1) backwards; }

.rp > .rp-sec:nth-of-type(1) { animation-delay: .08s; }

.rp > .rp-sec:nth-of-type(2) { animation-delay: .16s; }

.rp > .rp-sec:nth-of-type(n+3) { animation-delay: .24s; }

@keyframes rpRise { from { opacity: 0; transform: translateY(10px); } }

/* The timeline: a plot of stacked dots per year over an axis. */
.rp-tlx { margin: 18px 0 6px; }

.rp-press-one { margin: 8px 0 0; font-family: var(--body-serif); font-size: 15px; color: var(--ink-2); }

.rp-tlx-plot { position: relative; height: 92px; margin: 0 14px; border-bottom: 1px solid var(--ink-mute); }

.rp-tlx-col { position: absolute; bottom: 4px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 3px; }

.rp-tlx-dot { display: block; width: 11px; height: 11px; padding: 0; border-radius: 50%; border: 1.5px solid var(--ink-mute); background: var(--paper); cursor: pointer; animation: rpDot .36s cubic-bezier(.2,1.4,.4,1) backwards; transition: transform .12s; }

.rp-tlx-dot:hover, .rp-tlx-dot:focus-visible { transform: scale(1.45); outline: none; }

.rp-tlx-dot:focus-visible { box-shadow: 0 0 0 2px var(--paper), 0 0 0 4px var(--accent); }

.rp-tlx-dot.is-held { background: var(--ink); border-color: var(--ink); }

.rp-tlx-dot.is-yours { background: oklch(0.62 0.13 150); border-color: oklch(0.45 0.13 150); box-shadow: 0 0 0 2px color-mix(in oklab, oklch(0.62 0.13 150) 30%, transparent); }

.rp-tlx-dot.is-first { width: 14px; height: 14px; background: var(--accent); border-color: color-mix(in oklab, var(--accent) 70%, #000); }

.rp-tlx-more { font-family: var(--mono); font-size: 10px; color: var(--ink-mute); }

.rp-tlx-dot.is-ghost { border-style: dashed; border-color: color-mix(in oklab, var(--ink-mute) 70%, transparent); background: transparent; cursor: default; }

.rp-tlx-dot.is-ghost:hover { transform: none; }

.rp-press-list li.rp-press-gap { padding: 12px 0; font-size: 13px; color: var(--ink-mute); text-align: center; border-bottom-style: dashed; }

.rp-press-gap a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }

@keyframes rpDot { from { opacity: 0; transform: scale(.2); } }

.rp-tlx-axis { position: relative; height: 18px; margin: 4px 14px 0; font-family: var(--mono); font-size: 10.5px; color: var(--ink-mute); }

.rp-tlx-axis span { position: absolute; top: 0; transform: translateX(-50%); }

.rp-tlx-axis .rp-tlx-end { transform: none; }

.rp-tlx-axis .rp-tlx-end.is-hi { transform: translateX(-100%); }

.rp-tlx-cap { min-height: 1.5em; margin: 8px 0 0; font-size: 13.5px; color: var(--ink-2); }

.rp-tlx-key { display: flex; flex-wrap: wrap; gap: 6px 16px; list-style: none; margin: 8px 0 0; padding: 0; font-size: 12px; color: var(--ink-mute); }

.rp-tlx-key li { display: flex; align-items: center; gap: 6px; }

.rp-tlx-key .rp-tlx-dot { cursor: default; animation: none; }

.rp-press-list li.is-hl { animation: rpFlash 2.4s ease-out; }

@keyframes rpFlash { 0%, 30% { background: color-mix(in oklab, var(--accent) 22%, transparent); } }

/* Your copy, placed in the record's history. */
.rp-copy.is-first { border-color: color-mix(in oklab, var(--accent) 55%, var(--rule)); }

.rp-copy-ctx { margin: 0 0 10px; font-family: var(--body-serif); font-size: 16px; color: var(--ink); }

.rp-copy-ctx.is-first { font-weight: 600; color: color-mix(in oklab, var(--accent) 80%, #000); }

/* The tracklist, a side to a column. */
.rp-sides { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 8px 32px; }

.rp-side-h { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin: 0 0 4px; padding-bottom: 6px; border-bottom: 1px solid var(--ink); font-family: var(--serif); font-weight: 400; font-size: 18px; color: var(--ink); }

.rp-side-n { font-family: var(--mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-mute); }

.rp-sides .rp-tl { columns: 1; }

/* Loading: the page's own shape. */
.rp-vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.rp-sk { border-radius: 8px; background: linear-gradient(90deg, var(--paper-2) 0%, color-mix(in oklab, var(--paper-2) 60%, var(--paper)) 50%, var(--paper-2) 100%); background-size: 200% 100%; animation: rpShimmer 1.2s linear infinite; }

.rp-sk-line { height: 12px; margin-top: 12px; }

.rp-sk-title { height: 40px; width: 70%; margin-top: 12px; }

.rp-sk-para { height: 46px; width: 90%; margin-top: 18px; }

.rp-sk-stats { height: 58px; width: 100%; max-width: 520px; margin-top: 18px; }

@keyframes rpShimmer { to { background-position: -200% 0; } }

/* QA fixes, 17 Oct 2026. (--ink-mute itself meets 4.5:1 since 18 Oct, styles.css.) */
.rp-back { display: block; margin: -8px 0 18px; padding: 6px 0; font-family: var(--mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; }

.rp-back:hover { text-decoration: underline; text-underline-offset: 3px; }

.rp-pl-linked { color: var(--ink-2); border-bottom: 1px solid currentColor; }

.rp-press-list li.is-linked { background: color-mix(in oklab, var(--accent) 7%, transparent); }

.rp-tlx-plot.is-dense .rp-tlx-dot { width: 7px; height: 7px; border-width: 1.25px; }

.rp-tlx-plot.is-dense .rp-tlx-dot.is-first { width: 10px; height: 10px; }

.rp-tlx-plot.is-dense .rp-tlx-col { gap: 2px; }

/* While a collector's own record is built (RpBuilding): the steps, a bar, a turning record. */
.rp-build { margin-top: 26px; max-width: 560px; padding: 22px 22px 18px; border: 1px solid var(--rule); border-radius: 14px; background: color-mix(in oklab, var(--paper) 88%, #fff); box-shadow: 0 18px 40px -30px rgba(0,0,0,.45); }

.rp-build-top { display: flex; gap: 16px; align-items: center; }

.rp-build-disc { flex: none; position: relative; width: 52px; height: 52px; border-radius: 50%;
  background: repeating-radial-gradient(circle, #1b1712 0 2px, #2a241d 2px 3px); animation: rpSpin 1.8s linear infinite; }

.rp-build-disc i { position: absolute; inset: 17px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 2px #1b1712; }

.rp-build-disc i::after { content: ""; position: absolute; inset: 7px; border-radius: 50%; background: var(--paper); }

@keyframes rpSpin { to { transform: rotate(360deg); } }

.rp-build-h { margin: 0; font-family: var(--serif); font-size: 21px; line-height: 1.25; color: var(--ink); }

.rp-build-sub { margin: 4px 0 0; font-size: 14px; color: var(--ink-2); }

.rp-build-bar { position: relative; height: 4px; margin: 18px 0 14px; border-radius: 4px; background: color-mix(in oklab, var(--ink-mute) 25%, transparent); overflow: hidden; }

.rp-build-bar span { position: absolute; inset: 0 auto 0 0; border-radius: 4px; background: var(--accent); transition: width .5s ease-out; }

.rp-build-bar::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgba(255,255,255,.55), transparent); background-size: 40% 100%; background-repeat: no-repeat; animation: rpSweep 1.6s ease-in-out infinite; }

@keyframes rpSweep { from { background-position: -40% 0; } to { background-position: 140% 0; } }

.rp-build-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 14.5px; color: var(--ink-mute); }

.rp-build-steps li { display: flex; align-items: center; gap: 10px; transition: color .3s; }

.rp-build-steps li.is-done { color: var(--ink-2); }

.rp-build-steps li.is-now { color: var(--ink); font-weight: 600; }

.rp-build-mark { flex: none; display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid currentColor; font-size: 11px; line-height: 1; }

.rp-build-steps li.is-done .rp-build-mark { background: var(--accent); border-color: var(--accent); color: var(--paper); }

.rp-build-steps li.is-now .rp-build-mark { border-color: var(--accent); border-right-color: transparent; animation: rpSpin .9s linear infinite; }

.rp-build-late { margin: 14px 0 0; font-size: 13.5px; color: var(--ink-2); }

@media (max-width: 720px) {
.rp-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.rp-stat dd { font-size: 20px; }
.rp-tlx-plot { height: 84px; margin: 0 8px; }
.rp-tlx-axis { margin: 4px 8px 0; }
.rp-build { padding: 18px 16px 14px; }
.rp-back { margin-top: -4px; }
}

@media (prefers-reduced-motion: reduce) {
.rp-stat, .rp-toast, .rp > .rp-dive, .rp > .rp-sec, .rp-tlx-dot, .rp-press-list li.is-hl, .rp-sk { animation: none; }
.rp-btn, .rp-tlx-dot { transition: none; }
.rp-build-disc, .rp-build-steps li.is-now .rp-build-mark, .rp-build-bar::after { animation: none; }
}

@media (max-width: 720px) {
.rp { padding: calc(var(--nav-h) + 24px + max(0px, env(safe-area-inset-top, 0px) - 12px)) 16px 64px; }
.rp-hero { flex-direction: column; gap: 18px; }
.rp-tl { columns: 1; }
.rp-intro, .rp-extract { font-size: 16px; }
.rp-pl-row { flex-direction: column; gap: 6px; }
.rp-copy { padding: 14px 14px; }
.rp-copy-top { grid-template-columns: minmax(0, 1fr); }
.rp-copy-val { text-align: left; }
.rp-copy-price { justify-content: flex-start; }
/* Variants across do not fit a phone: each side becomes a block, its codes
     listed under it with the variant each belongs to. */
  .rp-etch-t.is-multi, .rp-etch-t.is-multi tbody, .rp-etch-t.is-multi tr, .rp-etch-t.is-multi th, .rp-etch-t.is-multi td { display: block; width: auto; }
.rp-etch-t.is-multi thead { display: none; }
.rp-etch-t.is-multi tbody tr { padding: 8px 0; border-top: 1px solid color-mix(in oklab, var(--rule) 70%, transparent); }
.rp-etch-t.is-multi tbody tr:first-child { border-top: none; }
.rp-etch-t.is-multi tbody th, .rp-etch-t.is-multi td { border: none; padding: 0; }
.rp-etch-t.is-multi tbody th { margin-bottom: 4px; }
.rp-etch-t.is-multi td { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 0 8px; padding: 3px 0; }
.rp-etch-t.is-multi td::before { content: attr(data-label); grid-column: 1; grid-row: 1 / span 9; font-size: 11.5px; line-height: 1.6; color: var(--ink-mute); }
.rp-etch-t.is-multi td > .rp-etch-c { grid-column: 2; }
.rp-etch-t.is-multi td > .rp-etch-c + .rp-etch-c { margin-top: 4px; }
.rp-etch-t.is-multi td:empty { display: none; }
.rp-pl-side { justify-content: flex-start; text-align: left; }
}

/* ===========================================================
   Community, every day (20 Oct 2026, Ric: "build 1, 2 and 5").
   Today's question (.cmty-vote), what's on the turntable (.cmty-tt, a day of
   spins in the feed .cmty-spin, the record sheet's .cmty-spinbtn) and
   collectors to follow (.cmty-suggest, which wears .cmty-twins). Components in
   Community.jsx; the homepage slot is .hm-daily-slot.
   =========================================================== */
.cmty-vote { border:1px solid var(--ink); border-radius:12px; background:#fff; padding:14px 16px 12px; margin-bottom:16px; }

/* At the end of a deep dive (AlbumPage.jsx), between the essay and the
   newsletter ask: the homepage slot's width. */
.ap-question { max-width:760px; margin:0 auto; padding:8px 40px 32px; box-sizing:border-box; }

@media (max-width:640px) {
.ap-question { padding:4px 16px 24px; }
}

@keyframes cmty-tt-turn { to { transform:rotate(360deg); } }

/* The homepage's slot, under today's record: today's question, and for an
   empty shelf, collectors to follow. */
.hm-daily-slot { max-width:760px; margin:0 auto; padding:40px 40px 8px; box-sizing:border-box; }

.hm-daily-slot:empty { display:none; }

.hm-daily-slot .cmty-vote { padding:18px 20px 14px; }

@media (max-width: 520px) {
.hm-daily-slot { padding:28px 16px 0; }
}

@keyframes vp-spin { to { transform: rotate(360deg); } }

@keyframes vp-pulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }

@keyframes vp-in { from { opacity: 0; transform: translateY(-12px); } to { opacity: 1; transform: none; } }

@keyframes vp-pop { 0% { transform: scale(.9); opacity: .4; } 60% { transform: scale(1.06); opacity: 1; } 100% { transform: none; } }

@keyframes vr-drop { from { opacity: 0; transform: translateY(-40px) scale(.9); } to { opacity: 1; transform: none; } }

@keyframes vr-flip { from { opacity: 0; transform: rotateY(80deg); } to { opacity: 1; transform: none; } }
