/* 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. */
/* Only the collection and community screens use these; loaded with their groups. */

/* ---- shared small bits -------------------------------------------------- */
.mc-eyebrow { font-family: var(--mono); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-mute); }

.mc-chip {
  display: inline-flex; align-items: center; gap: 6px; white-space: nowrap;
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 4px 9px; border: 1px solid var(--rule); border-radius: 999px; color: var(--ink-2);
  background: color-mix(in oklab, var(--paper) 60%, #fff 40%);
}

/* Collector level badge — subtle chip in the value bar + tap/hover tooltip. */
.mc-lvl { position: relative; display: inline-flex; }

.mc-lvl-chip {
  display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; cursor: pointer;
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 4px 10px; border: 1px solid var(--rule); border-radius: 999px; color: var(--ink-2);
  background: color-mix(in oklab, var(--accent) 8%, #fff);
  transition: border-color .15s ease, background .15s ease;
}

.mc-lvl-chip:hover { border-color: color-mix(in oklab, var(--accent) 45%, var(--rule)); }

.mc-lvl-dot { color: var(--accent); font-size: 8px; line-height: 1; }

/* A touch more prominent on My Collection (the owner's own badge). */
.mc .mc-lvl-chip {
  color: var(--ink);
  background: color-mix(in oklab, var(--accent) 15%, #fff);
  border-color: color-mix(in oklab, var(--accent) 38%, var(--rule));
  box-shadow: 0 1px 0 color-mix(in oklab, var(--accent) 22%, transparent),
              0 8px 18px -13px color-mix(in oklab, var(--accent) 70%, transparent);
}

.mc .mc-lvl-chip:hover {
  background: color-mix(in oklab, var(--accent) 22%, #fff);
  border-color: color-mix(in oklab, var(--accent) 58%, var(--rule));
}

.mc .mc-lvl-dot { animation: mcLvlDot 2.4s ease-in-out infinite; }

@media (prefers-reduced-motion: reduce) {
.mc .mc-lvl-dot { animation: none; }
}

.mc-lvl-pop {
  position: absolute; top: calc(100% + 8px); left: 0; z-index: 60;
  width: 250px; max-width: 78vw; padding: 12px 14px;
  background: #fffdf8; border: 1px solid var(--rule); border-radius: 12px;
  box-shadow: 0 18px 40px -22px rgba(23,19,15,.5);
  font-family: Helvetica, Arial, sans-serif; text-transform: none; letter-spacing: 0;
}

.mc-lvl-pop-h { font-family: var(--mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-mute); margin-bottom: 8px; }

.mc-lvl-pop-name { white-space: nowrap; }

.mc-lvl-pop-foot { margin-top: 10px; padding-top: 8px; border-top: 1px solid var(--rule); font-size: 12px; color: var(--ink-mute); }

.mc-lvl-pop-foot b { color: var(--ink-2); }

.mc-delta { display: inline-flex; align-items: center; gap: 5px; font-family: var(--mono); font-size: 12px; font-weight: 600; font-variant-numeric: tabular-nums; }

.mc-arrow { font-size: 11px; line-height: 1; }

/* ---- toolbar: tabs + controls ------------------------------------------- */
.mc-bar { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin: 36px 0 22px; flex-wrap: wrap; }

.mc-tabs { display: flex; gap: 0; border-bottom: 1px solid var(--ink); }

.mc-tab .ct { font-weight: 400; color: var(--ink-mute); margin-left: 7px; }

.mc-controls { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }

/* min-width up from 200px to keep the full placeholder visible now that the
   input is 16px (below 16px iOS Safari zooms the viewport on focus). */
.mc-search { display: flex; align-items: center; gap: 8px; border: 1px solid var(--rule); background: #fff8; padding: 8px 12px; min-width: 224px; }

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

.mc-search svg { color: var(--ink-mute); flex-shrink: 0; }

.mc-select { position: relative; min-width: 0; max-width: 100%; }

.mc-select select {
  appearance: none; -webkit-appearance: none; font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase;
  border: 1px solid var(--rule); background: #fff8; color: var(--ink-2); padding: 9px 30px 9px 12px; cursor: pointer; outline: none;
  /* A select is as wide as its longest option, so a long genre name ran it
     past the screen edge; cap it and let the shown text truncate. */
  max-width: 100%; text-overflow: ellipsis;
}

.mc-select::after { content: "▾"; position: absolute; right: 11px; top: 50%; transform: translateY(-50%); pointer-events: none; color: var(--ink-mute); font-size: 10px; }

/* The one vermilion button on the bar (2 Oct 2026). It was ink-on-paper, the
   same weight as Import beside it and the selects around it, so the action
   people come here for read as one control among six. Now it is the accent
   fill with a lift, the plus sits in its own disc, and it sends out two soft
   rings when the page lands so the eye finds it once, then stays quiet. */
.mc-add {
  position: relative;
  display: inline-flex; align-items: center; gap: 9px; white-space: nowrap; font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 700;
  /* 92% accent, not the accent itself: white on the pure accent is 3.97:1,
     under the 4.5:1 that 12px text needs; this is 4.86:1 and reads the same. */
  background: color-mix(in oklab, var(--accent) 92%, #000); color: #fff; padding: 11px 20px 11px 12px; border-radius: 999px;
  box-shadow: 0 1px 0 color-mix(in oklab, var(--accent) 70%, #000), 0 10px 22px -12px color-mix(in oklab, var(--accent) 90%, transparent);
  transition: background 0.15s, transform 0.15s, box-shadow 0.15s;
}

.mc-add:hover { background: color-mix(in oklab, var(--accent) 82%, #000); transform: translateY(-1px);
  box-shadow: 0 1px 0 color-mix(in oklab, var(--accent) 60%, #000), 0 14px 26px -12px color-mix(in oklab, var(--accent) 95%, transparent); }

.mc-add:active { transform: translateY(0); }

.mc-add:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

.mc-add .plus {
  display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; border-radius: 50%;
  background: #fff; color: var(--accent); font-size: 17px; font-weight: 700; line-height: 1;
  transition: transform 0.25s cubic-bezier(.3,1.4,.5,1);
}

.mc-add:hover .plus { transform: rotate(90deg); }

.mc-add::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  box-shadow: 0 0 0 0 color-mix(in oklab, var(--accent) 55%, transparent);
  animation: mc-add-ring 1.6s ease-out 0.8s 2;
}

@media (prefers-reduced-motion: reduce) {
.mc-add::after { animation: none; }
.mc-add, .mc-add .plus { transition: none; }
}

/* The button is FIRST in the DOM (see MyCollectionV2.jsx) because it is the
   primary action; on desktop there is room for it at the end of the row, so it
   is ordered back there and the layout is unchanged. */
.mc-add { order: 1; }

@media (max-width: 640px) {
.mc-bar { gap: 12px; }
.mc-controls { width: 100%; gap: 8px; }
.mc-add {
    position: fixed; z-index: 80;
    left: 0; right: 0; margin: 0 auto; width: max-content;   /* centred without a transform, so hover's lift still works */
    bottom: calc(16px + env(safe-area-inset-bottom, 0px));
    justify-content: center;
    min-height: 52px;
    padding: 12px 24px 12px 14px; gap: 9px;
    font-size: 13px; letter-spacing: 0.12em;
    box-shadow: 0 1px 0 color-mix(in oklab, var(--accent) 70%, #000), 0 14px 30px -10px rgba(0,0,0,.45);
    transition: background 0.15s, transform 0.2s, opacity 0.2s, box-shadow 0.15s;
  }
.mc-add .plus { font-size: 17px; width: 22px; height: 22px; }
.mc-add--away,
  body:has(.mc-search input:focus) .mc-add { opacity: 0; pointer-events: none; transform: translateY(16px); }
.mc-import {
    flex: 1 1 auto; width: auto;
    justify-content: center; min-height: 48px;
    font-size: 10px; gap: 5px;
  }
/* Short labels: "Import", "Share", so the wishlist's three fit one row. */
  .mc-import-long { display: none; }
.mc-search { flex: 1 1 100%; min-width: 0; }
}

/* ---- record cards ------------------------------------------------------- */
.mc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 1px; background: var(--rule); border: 1px solid var(--rule); }

.mc-card { background: var(--paper); padding: 18px; display: grid; grid-template-columns: 76px 1fr; gap: 16px; position: relative; transition: background 0.15s; }

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

.mc-card-cover > div { box-shadow: 0 8px 18px -12px rgba(0,0,0,.4) !important; }

.mc-card-body { min-width: 0; }

.mc-card-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }

/* The title block shrinks and long words break (22 Oct 2026, Ric: the shelf
   scrolled sideways on a phone). A flex item will not shrink below its longest
   word, so one "Supercalifragilisticexpialidocious" or an unspaced artist name
   held the card wider than the screen and pushed its grade chip off the edge.
   The grade and "Deep dive" chips keep their size; the words give way. */
.mc-card-top > div:first-child { min-width: 0; }

.mc-card-title { font-family: var(--serif); font-style: italic; font-size: 18px; line-height: 1.16; overflow-wrap: anywhere; }

.mc-card-artist { font-family: var(--sans); font-weight: 700; font-size: 12.5px; color: var(--ink-2); margin-top: 6px; overflow-wrap: anywhere; }

@media (max-width: 340px) {
.mc-card-top { flex-wrap: wrap; }
.mc-card-top > div:first-child { flex: 1 1 100%; }
}

.mc-card-meta { font-family: var(--mono); font-size: 10px; letter-spacing: 0.04em; color: var(--ink-mute); margin-top: 10px; line-height: 1.5; }

.mc-card-meta b { color: var(--ink-2); font-weight: 600; }

/* "Read the deep dive →" on a record that has one (3 Oct 2026). */
.mc-card-dive { color: var(--ink-2); text-decoration: underline; text-underline-offset: 2px; }

.mc-card-dive:hover { color: var(--accent, var(--ink)); }

.mc-card-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; margin-top: 14px; }

.mc-card-range { font-family: var(--mono); font-size: 9.5px; color: var(--ink-mute); margin-top: 5px; letter-spacing: 0.03em; }

/* Who on The Lead-In owns a want (WishOwners in Community.jsx): the pictures over
   the sentence, as on a phone's dive page, since the card is that narrow anywhere. */
.dive-owners.wish-owners { flex-direction: column; align-items: flex-start; gap: 4px; margin: 9px 0 0; max-width: none; }

.dive-owners.wish-owners p { font-size: 12px; line-height: 1.45; }

.wish-owners-same { color: var(--ink-mute); }

/* condition chip */
.mc-cond { font-family: var(--mono); font-size: 10px; font-weight: 600; letter-spacing: 0.08em; padding: 3px 7px; border: 1px solid currentColor; border-radius: 3px; }

.mc-cond.M, .mc-cond.NM { color: oklch(0.50 0.12 150); }

.mc-cond.VGplus { color: oklch(0.55 0.10 90); }

.mc-cond.VG { color: oklch(0.55 0.10 70); }

.mc-cond.low { color: var(--ink-mute); }

/* An assumed grade is not a grade the collector gave. Dashed border + muted ink
   so it reads as provisional next to the stated grades' solid chips. */
.mc-cond.assumed { color: var(--ink-mute); border-style: dashed; font-weight: 500; }

/* row actions on hover */
.mc-card-actions { position: absolute; top: 12px; right: 12px; display: flex; gap: 6px; opacity: 0; transition: opacity 0.15s; }

.mc-card:hover .mc-card-actions { opacity: 1; }

/* ---- wishlist card variant --------------------------------------------- */
.mc-card.wish .mc-card-foot { flex-direction: column; align-items: stretch; gap: 12px; }

.mc-buy {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px; width: 100%;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 600;
  background: var(--accent); color: #fff; padding: 11px 14px; transition: filter 0.15s;
}

.mc-buy:hover { filter: brightness(1.07); }

.mc-buy .ar { transition: transform 0.18s; }

.mc-buy:hover .ar { transform: translateX(3px); }

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

.mc-move {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 600;
  border: 1px solid var(--ink); color: var(--ink); padding: 11px 12px; white-space: nowrap; transition: all 0.15s;
}

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

.mc-vendor { font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.06em; color: var(--ink-mute); text-align: center; }

/* ---- stats dashboard ---------------------------------------------------- */
.mc-dash { margin-top: 64px; }

.mc-dash-head { display: flex; align-items: baseline; gap: 14px; margin-bottom: 24px; }

.mc-dash-head h3 { font-family: var(--serif); font-size: 30px; font-weight: 400; margin: 0; }

.mc-dash-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 1px; background: var(--rule); border: 1px solid var(--rule); }

.mc-panel { background: var(--paper); padding: 24px; }

.mc-panel-k { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-mute); margin-bottom: 18px; }

/* breakdown bars */
.mc-break + .mc-break { margin-top: 26px; }

.mc-bk-row { display: grid; grid-template-columns: 92px 1fr 52px; align-items: center; gap: 12px; margin-bottom: 9px; }

.mc-bk-label { font-family: var(--mono); font-size: 10px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.mc-bk-track { height: 9px; background: var(--paper-2); border: 1px solid var(--rule); position: relative; }

.mc-bk-fill { position: absolute; inset: 0 auto 0 0; background: var(--ink); transition: width 0.7s cubic-bezier(0.2,0.8,0.2,1); }

.mc-bk-fill.accent { background: var(--accent); }

.mc-bk-val { font-family: var(--mono); font-size: 10.5px; color: var(--ink-mute); text-align: right; font-variant-numeric: tabular-nums; }

/* highlight tiles */
.mc-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--rule); border: 1px solid var(--rule); margin-top: 1px; }

.mc-tile { background: var(--paper); padding: 22px 24px; display: flex; gap: 16px; align-items: center; }

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

.mc-tile-t { font-family: var(--serif); font-style: italic; font-size: 19px; line-height: 1.05; margin-top: 6px; }

.mc-tile-s { font-family: var(--mono); font-size: 10px; color: var(--ink-2); margin-top: 6px; }

/* ---- empty state -------------------------------------------------------- */
.mc-empty { text-align: center; padding: 80px 24px; border: 1px dashed var(--rule); }

.mc-empty h3 { font-family: var(--serif); font-style: italic; font-size: 34px; font-weight: 400; margin: 0 0 12px; }

.mc-empty p { font-family: var(--body-serif); font-size: 17px; line-height: 1.55; color: var(--ink-2); max-width: 460px; margin: 0 auto 28px; }

.mc-empty-cta { display: inline-flex; gap: 12px; flex-wrap: wrap; justify-content: center; }

.mc-empty-badge { display: inline-block; font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 600; color: var(--accent); border: 1px solid var(--accent); border-radius: 999px; padding: 5px 12px; margin-bottom: 18px; }

.mc-empty-steps { list-style: none; margin: 8px auto 28px; padding: 0; max-width: 460px; text-align: left; display: flex; flex-direction: column; gap: 10px; }

.mc-empty-steps li { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border: 1px solid var(--rule); border-radius: 12px; cursor: pointer; background: var(--paper); transition: border-color 0.15s, transform 0.15s, box-shadow 0.15s; }

.mc-empty-steps li:hover { border-color: var(--ink); transform: translateY(-1px); box-shadow: 0 8px 22px -16px rgba(0,0,0,.5); }

.mc-empty-steps li:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.mc-es-ico { flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 10px; background: var(--wash, rgba(0,0,0,.04)); color: var(--ink); }

.mc-es-body { display: flex; flex-direction: column; gap: 2px; flex: 1 1 auto; }

.mc-es-body b { font-family: var(--sans, var(--mono)); font-size: 15px; font-weight: 600; color: var(--ink); letter-spacing: 0; text-transform: none; }

.mc-es-body small { font-family: var(--body-serif); font-size: 13.5px; color: var(--ink-2); }

.mc-es-go { flex: 0 0 auto; color: var(--ink-mute, var(--ink-2)); font-size: 17px; }

.mc-empty-steps li:hover .mc-es-go { color: var(--accent); }

.mc-empty-payoff { margin: 24px auto 0 !important; max-width: 460px; font-family: var(--body-serif); font-size: 14px !important; color: var(--ink-2); }

.mc-empty-discogs-hint { margin: 14px auto 0; max-width: 460px; font-family: var(--body-serif); font-size: 13.5px; color: var(--ink-2); }

.mc-linkbtn { background: none; border: 0; padding: 0; font: inherit; color: var(--accent); text-decoration: underline; text-underline-offset: 2px; cursor: pointer; }

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

/* --- visual: value spark --- */
.mkt-sc-spark { position: relative; height: 46px; }

.mkt-sc-spark svg { width: 100%; height: 46px; display: block; clip-path: inset(0 100% 0 0); }

.in .mkt-sc-spark svg { animation: mktWipe 1.1s .25s forwards; }

.mkt-sc-spark-dot { position: absolute; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 9px var(--accent); transform: translate(-50%, -50%); opacity: 0; }

.in .mkt-sc-spark-dot { animation: mktFadeIn .4s 1.15s forwards; }

/* --- visual: DNA genre bars --- */
.mkt-sc-dna { width: 100%; display: flex; flex-direction: column; gap: 9px; }

.mkt-sc-dna-row { display: grid; grid-template-columns: 68px 1fr; align-items: center; gap: 10px; }

.mkt-sc-dna-l { font-family: var(--mono); font-size: 10px; text-transform: uppercase; letter-spacing: 0.04em; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.mkt-sc-dna-t { height: 7px; background: var(--paper); border-radius: 5px; overflow: hidden; box-shadow: inset 0 0 0 1px var(--rule); }

.mkt-sc-dna-t i { display: block; height: 100%; width: 0; border-radius: 5px; background: linear-gradient(90deg, color-mix(in oklab, var(--accent) 60%, #fff), var(--accent)); transition: width .9s cubic-bezier(.2,.7,.2,1); }

.in .mkt-sc-dna-t i { width: var(--w); }

@media (prefers-reduced-motion: reduce) {
.mkt-sc-spark svg { clip-path: none; animation: none; }
.mkt-sc-spark-dot { opacity: 1; animation: none; }
.mkt-sc-dna-t i { transition: none; width: var(--w); }
}

@media (max-width: 980px) {
.mc-dash-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
.mc-grid { grid-template-columns: 1fr; }
.mc-tiles { grid-template-columns: 1fr; }
/* Item 2: the controls bar used to be sticky here (position: sticky; top: 56px,
     plus a full-bleed blurred backdrop) and stayed pinned under the nav while you
     scrolled, eating ~half the mobile viewport before any records showed. It now
     scrolls away with the page as normal in-flow content (falls back to the base
     .mc-bar flow rule). Desktop was already non-sticky. */
  .mc-controls { width: 100%; }
/* #7: search shared a wrapping row with the genre/sort selects, so a long
     selected genre (which varies per profile) squeezed it to icon-only and
     clipped the placeholder. Give it its own full-width row so the
     "Search this collection…" placeholder always shows, consistently. */
  .mc-search { flex: 1 1 100%; min-width: 0; }
}

/* verified-collection card extras */
.v2-badge { display:inline-block; margin-left:8px; padding:1px 7px; border-radius:20px; font-size:11px; letter-spacing:.02em; }

.v2-badge.scanned { background:oklch(0.52 0.13 150 / .15); color:oklch(0.42 0.13 150); }

.v2-badge.manual { background:var(--paper-2, #efe9df); color:var(--ink-mute); }

/* The photo the user took, shown beside the candidate list so a mis-identified
   cover is caught before it is saved. */
.av2-yours { display:flex; gap:12px; align-items:center; padding:10px; margin:0 0 12px; border-radius:10px; background:var(--paper-2, #efe9df); }

.av2-yours-img { width:56px; height:56px; object-fit:cover; border-radius:6px; flex:0 0 auto; }

.av2-yours-txt { font-size:13px; line-height:1.45; color:var(--ink-mute); }

.av2-yours-txt b { color:var(--ink); }

/* ---- scanner overlay ---- */
.bs-overlay { position:fixed; inset:0; z-index:9999; background:#000; display:flex; flex-direction:column; }

.bs-topbar { display:flex; align-items:center; justify-content:space-between; padding:14px 18px; color:#fff; }

.bs-title { font-size:15px; letter-spacing:.04em; text-transform:uppercase; }

.bs-close { background:none; border:none; color:#fff; font-size:30px; line-height:1; cursor:pointer; }

.bs-stage { position:relative; flex:1; overflow:hidden; }

.bs-video { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }

.bs-frame { position:absolute; left:50%; top:50%; transform:translate(-50%,-50%); width:min(78vw,360px); height:170px; }

.bs-corner { position:absolute; width:26px; height:26px; border:3px solid #fff; }

.bs-corner.tl { top:0; left:0; border-right:none; border-bottom:none; }

.bs-corner.tr { top:0; right:0; border-left:none; border-bottom:none; }

.bs-corner.bl { bottom:0; left:0; border-right:none; border-top:none; }

.bs-corner.br { bottom:0; right:0; border-left:none; border-top:none; }

.bs-scanline { position:absolute; left:6px; right:6px; top:50%; height:2px; background:var(--accent); box-shadow:0 0 8px var(--accent); animation:bsscan 1.8s ease-in-out infinite; }

.bs-hint { position:absolute; left:0; right:0; top:50%; text-align:center; color:#fff; font-size:14px; }

.bs-hint-bottom { top:auto; bottom:28px; opacity:.85; }

/* Torch. Sits clear of the centred target frame and the bottom hint, and only
   renders where the camera reports the capability. */
.bs-torch { position:absolute; right:18px; bottom:24px; width:46px; height:46px; display:flex; align-items:center; justify-content:center; border-radius:50%; border:1px solid rgba(255,255,255,.35); background:rgba(0,0,0,.4); color:#fff; cursor:pointer; }

.bs-torch.is-on { background:var(--accent); border-color:var(--accent); color:#fff; }

.bs-fallback { background:#111; color:#fff; padding:18px; }

.bs-fallback-msg { font-size:13px; opacity:.85; margin-bottom:12px; }

.bs-manual { display:flex; gap:8px; }

.bs-manual-input { flex:1; padding:12px; font-size:16px; border-radius:8px; border:1px solid #444; background:#1c1c1c; color:#fff; }

.bs-manual-go { padding:12px 16px; border:none; border-radius:8px; background:var(--accent); color:#fff; font-size:15px; }

.bs-manual-go:disabled { opacity:.4; }

.bs-type-instead { background:none; border:none; color:#fff; opacity:.8; padding:16px; font-size:14px; text-decoration:underline; cursor:pointer; }

/* ---- add flow modal ---- */
.av2-backdrop { position:fixed; inset:0; background:rgba(20,16,12,.55); display:flex; align-items:center; justify-content:center; padding:16px; z-index:500; }

.av2-modal { background:var(--paper); width:100%; max-width:520px; max-height:90vh; border-radius:14px; overflow:hidden; display:flex; flex-direction:column; box-shadow:0 24px 60px rgba(0,0,0,.3); }

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

/* Top-left "back to collection" group: a chevron next to the title. Pairs with
   the × (top-right); both dismiss the sheet, and the chevron gives the visible
   affordance for the same gesture the hardware/Safari Back button now does. */
.av2-head-left { display:flex; align-items:center; gap:6px; min-width:0; }

.av2-back-arrow { display:inline-flex; align-items:center; justify-content:center; background:none; border:none; padding:5px; margin:-5px 0 -5px -7px; cursor:pointer; color:var(--ink-mute); border-radius:8px; flex:0 0 auto; }

.av2-back-arrow:hover { color:var(--ink); background:var(--paper-2); }

.av2-head-title { text-transform:uppercase; letter-spacing:.06em; font-size:13px; }

.av2-x { background:none; border:none; font-size:26px; line-height:1; cursor:pointer; color:var(--ink-mute); flex:0 0 auto; }

.av2-body { overflow:auto; }

.av2-pane { padding:20px; }

.av2-title { font-size:20px; margin:0 0 6px; }

.av2-hint { color:var(--ink-mute); font-size:14px; margin:0 0 14px; }

/* Most catalogue lookups come back in 0.3-2s (measured 2 Oct). Shown at once,
   a fast one flashed half a record drop and an arm still swinging, so the
   deck fades in after 250ms (a quick answer shows nothing) and the arm lands
   by 0.8s. No minimum time on screen: nobody waits longer for the show. */
.av2-ld { display:flex; flex-direction:column; align-items:center; padding:18px 0 8px; animation: av2-ld-appear .2s ease-out .25s both; }

.av2-ld-sr { position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; }

.av2-ld-deck { position:relative; width:180px; height:150px; }

.av2-ld-platter { position:absolute; left:0; top:0; width:144px; height:144px; border-radius:50%; background:var(--paper-2); box-shadow:inset 0 0 0 1px var(--rule), inset 0 2px 6px rgba(0,0,0,.08); }

.av2-ld-disc { position:absolute; left:8px; top:8px; width:128px; height:128px; border-radius:50%;
  box-shadow:0 6px 14px -6px rgba(0,0,0,.45);
  animation: av2-ld-drop .34s cubic-bezier(.2,.9,.3,1.25) .25s both; }

.av2-ld-disc svg { display:block; animation: av2-ld-spin 1.8s linear .5s infinite; }

.av2-ld-sheen { position:absolute; inset:0; border-radius:50%; pointer-events:none;
  background: conic-gradient(from 25deg, transparent 0 8%, rgba(255,255,255,.16) 12%, transparent 18% 56%, rgba(255,255,255,.10) 61%, transparent 67%); }

.av2-ld-arm { position:absolute; left:120px; top:-6px; overflow:visible; transform-origin:44px 14px; transform:rotate(-8deg);
  filter: drop-shadow(1px 3px 2px rgba(0,0,0,.18));
  animation: av2-ld-arm-in .5s cubic-bezier(.5,0,.2,1) .3s forwards, av2-ld-arm-ride 3.6s ease-in-out .9s infinite; }

/* The photo path is two waits back to back: reading the cover, then the
   lookup. They are two loaders, so the second used to drop the record again
   and lift the arm off; it now picks up where the first left off. */
.av2-ld.is-continued, .av2-ld.is-continued .av2-ld-disc { animation: none; }

.av2-ld.is-continued .av2-ld-disc svg { animation-delay: 0s; }

.av2-ld.is-continued .av2-ld-arm { transform: rotate(24deg); animation: av2-ld-arm-ride 3.6s ease-in-out infinite; }

.av2-ld-line { margin:10px 0 0; min-height:1.4em; font-size:15px; color:var(--ink-2); text-align:center; animation: av2-ld-in .35s ease-out both; }

.av2-ld-eq { display:flex; gap:3px; align-items:flex-end; height:14px; margin-top:8px; }

.av2-ld-eq i { display:block; width:3px; height:100%; background:var(--accent); border-radius:1px; transform-origin:bottom; animation: av2-ld-eq .9s ease-in-out infinite; }

.av2-ld-eq i:nth-child(2) { animation-delay:-.6s; }

.av2-ld-eq i:nth-child(3) { animation-delay:-.3s; }

.av2-ld-eq i:nth-child(4) { animation-delay:-.75s; }

.av2-ld-eq i:nth-child(5) { animation-delay:-.15s; }

.av2-ld-mini { display:inline-block; width:14px; height:14px; margin-right:7px; vertical-align:-2px; border-radius:50%;
  background: radial-gradient(circle, var(--paper) 0 1px, var(--accent) 1.5px 4px, transparent 4.5px),
              conic-gradient(#161311 0 72%, #7a6e62 76% 84%, #161311 88%);
  animation: av2-ld-spin 1.2s linear infinite; }

@media (prefers-reduced-motion: reduce) {
.av2-ld, .av2-ld-disc, .av2-ld-disc svg, .av2-ld-line, .av2-ld-eq i, .av2-ld-mini { animation:none; }
.av2-ld-arm, .av2-ld.is-continued .av2-ld-arm { animation:none; transform:rotate(24deg); }
.av2-ld-eq i { transform:scaleY(.6); }
}

.av2-foot { display:flex; justify-content:space-between; gap:10px; margin-top:18px; }

.av2-next { padding:11px 18px; border:none; border-radius:8px; background:var(--ink); color:var(--paper); font-size:15px; cursor:pointer; }

.av2-next:disabled { opacity:.4; }

.av2-back { padding:11px 16px; border:1px solid var(--rule); border-radius:8px; background:#fff; cursor:pointer; }

.av2-back:disabled { opacity:.4; }

.av2-back-link, .av2-entry-link { background:none; border:none; color:var(--accent); cursor:pointer; padding:6px 0; font-size:14px; }

.av2-entry-primary { width:100%; display:flex; flex-direction:column; align-items:center; gap:4px; padding:22px; border:2px solid var(--ink); border-radius:12px; background:#fff; cursor:pointer; margin-bottom:12px; }

.av2-entry-primary span { font-size:17px; font-weight:600; }

.av2-entry-primary small { color:var(--ink-mute); }

.av2-public-note { font-size:12px; color:var(--ink-mute); margin-top:14px; }

/* CONTAIN, not cover. Discogs cover_image is not reliably square — a sample of
   12 pressings for one album returned four that were not, one of them 600x400,
   which a square centre-crop shaves by a THIRD. These two thumbnails are the
   only picture of the record while someone is deciding "is this my pressing?"
   and "is this my copy?", so the whole sleeve has to be in the box even when
   that means letterboxing it. The background makes the letterbox look meant. */
.av2-cand-thumb { width:48px; height:48px; object-fit:contain; border-radius:6px; background:var(--paper-2,#ebe3d2); flex:none; }

.av2-cand-main { display:flex; flex-direction:column; gap:2px; }

.av2-cand-meta, .av2-cand-fmt { font-size:12px; color:var(--ink-mute); }

.av2-manual-grid { display:flex; flex-direction:column; gap:10px; }

.av2-manual-grid label { display:flex; flex-direction:column; gap:4px; font-size:13px; color:var(--ink-mute); }

/* ---- narrow the pressing list by catalogue number --------------------------
   Sits above the confirm list. The list below filters live rather than being
   replaced, so nothing is hidden and the escape is always one tap. */
.av2-catnarrow {
  border: 1px solid var(--rule); border-radius: 12px;
  background: color-mix(in oklab, var(--accent) 5%, var(--paper));
  padding: 14px; margin: 0 0 14px;
}

.av2-catnarrow.is-picked {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  flex-wrap: wrap; padding: 10px 14px;
}

.av2-catnarrow-q { font-size: 15px; font-weight: 650; color: var(--ink); margin: 0 0 6px; }

.av2-catnarrow.is-picked .av2-catnarrow-q { margin: 0; font-weight: 500; font-size: 14px; }

.av2-catnarrow-help { font-size: 13px; line-height: 1.45; color: var(--ink-mute); margin: 0 0 11px; }

.av2-catnarrow-opts { display: flex; flex-wrap: wrap; gap: 7px; }

/* Codes are compared character by character against a printed sleeve, so they
   are set in mono at a size that survives a squint. 44px tall: this is a
   primary choice on a phone, not a filter chip. */
.av2-catnarrow-opt {
  font-family: var(--mono); font-size: 13px; font-weight: 600;
  min-height: 44px; padding: 10px 12px;
  border: 1px solid var(--ink); border-radius: 8px;
  background: var(--paper); color: var(--ink); cursor: pointer;
  transition: background 0.14s, color 0.14s;
}

.av2-catnarrow-opt:hover { background: var(--ink); color: var(--paper); }

.av2-catnarrow-opt small {
  font-size: 10px; opacity: 0.6; margin-left: 6px; font-weight: 500;
}

.av2-catnarrow-out { font-size: 12.5px; color: var(--ink-mute); margin: 11px 0 0; }

.av2-catnarrow-reset {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase;
  background: none; border: 0; border-bottom: 1px solid var(--rule);
  color: var(--ink-mute); cursor: pointer; padding: 2px 0; min-height: 32px;
}

.av2-catnarrow-reset:hover { color: var(--ink); border-bottom-color: var(--ink); }

/* ---- "Snap the cover": the primary action of its own step ------------------
   Was a dashed grey box with a 34px grey outline icon, which reads as an
   optional dropzone rather than the thing to do. Filled accent disc, the label
   phrased as an instruction, and a slow halo to carry the eye. The halo is
   pure decoration: it is removed, not just slowed, under reduced motion. */
.av2-shoot {
  display:block; margin:4px 0 12px; padding:26px 20px; text-align:center; cursor:pointer;
  border:1.5px solid color-mix(in oklab, var(--accent) 32%, var(--rule));
  border-radius:14px;
  background:
    radial-gradient(120% 90% at 50% 0%, color-mix(in oklab, var(--accent) 9%, transparent), transparent 70%),
    var(--paper);
  transition:border-color .18s ease, background .18s ease, transform .12s ease;
}

.av2-shoot:hover { border-color:var(--accent); background:radial-gradient(120% 90% at 50% 0%, color-mix(in oklab, var(--accent) 14%, transparent), transparent 70%), var(--paper); }

.av2-shoot:active { transform:scale(.995); }

.av2-shoot:focus-within { outline:2px solid var(--accent); outline-offset:2px; }

.av2-shoot.is-busy { cursor:default; opacity:.65; }

.av2-shoot.has-shot { padding:12px; }

.av2-shoot-inner { display:flex; flex-direction:column; align-items:center; gap:4px; }

.av2-shoot-disc {
  display:grid; place-items:center; width:64px; height:64px; margin-bottom:10px;
  border-radius:50%; background:var(--accent); color:#fff;
  box-shadow:0 0 0 0 color-mix(in oklab, var(--accent) 45%, transparent);
  animation:av2ShootHalo 2.6s ease-out infinite;
}

.av2-shoot-t { font-size:16px; font-weight:650; color:var(--ink); }

.av2-shoot-s { font-size:13px; color:var(--ink-mute); }

.av2-shoot-preview { max-width:100%; max-height:220px; border-radius:8px; display:block; margin:0 auto; }

@media (prefers-reduced-motion: reduce) {
.av2-shoot-disc { animation:none; }
.av2-shoot, .av2-shoot:active { transition:none; transform:none; }
}

.av2-chosen { display:flex; gap:12px; align-items:center; margin-bottom:16px; }

.av2-chosen-cover { width:56px; height:56px; object-fit:contain; border-radius:6px; background:var(--paper-2,#ebe3d2); flex:none; }

.av2-chosen-meta { font-size:13px; color:var(--ink-mute); }

/* Media and sleeve grade are both required, and a mis-tap silently records the
   wrong condition AND the wrong valuation — so these get full 44px+ targets and
   a gap wide enough that the media row can't be hit from the sleeve row. Eight
   grades at 50px + 10px gaps still fit one row in the 520px modal and wrap
   cleanly below that. */
.av2-grade-group { margin-bottom:18px; }

/* Sleeve row header: the label, with "Same as media" pushed to the far edge so
   it reads as an action on the row rather than part of the label. */
.av2-grade-head { display:flex; align-items:baseline; justify-content:space-between; gap:10px; margin-bottom:8px; }

.av2-grade-head .av2-grade-label { margin-bottom:0; }

.av2-grade-same {
  font-family:var(--mono); font-size:10px; letter-spacing:0.08em; text-transform:uppercase;
  background:none; border:0; border-bottom:1px solid var(--rule); color:var(--ink-mute);
  cursor:pointer; padding:4px 0; min-height:32px;
}

.av2-grade-same:hover { color:var(--ink); border-bottom-color:var(--ink); }

/* The things a sleeve grade actually turns on. */
.av2-grade-check { font-size:12px; line-height:1.45; color:var(--ink-mute); margin:7px 0 0; }

.av2-grade-label { font-size:13px; color:var(--ink-mute); margin-bottom:8px; }

.av2-grade-row { display:flex; flex-wrap:wrap; gap:10px; }

.av2-grade { min-width:50px; min-height:48px; padding:12px 10px; border:1px solid var(--rule); border-radius:8px; background:#fff; cursor:pointer; font-size:16px; }

.av2-grade.sel { background:var(--ink); color:var(--paper); border-color:var(--ink); }

/* Plain sleeve / No cover (18 Oct 2026): words, not codes, on a row of their own
   under the sleeve grades, the same height and gap so a mis-tap is as hard. */
.av2-sleeve-kinds { margin-top:10px; }

.av2-grade-kind { font-size:14px; padding:12px 14px; }

/* The plain-words line under each grade row: what the selected grade means,
   or (before a pick) how to tell VG+ from VG. min-height stops the panel
   jumping as descriptions of different lengths swap in. */
.av2-grade-desc { margin:8px 0 0; font-size:13px; line-height:1.5; color:var(--ink-2); min-height:2.4em; }

.av2-grade-desc-hint { color:var(--ink-mute); }

/* The estimate card (3 Oct 2026): straight under the media row, the price as
   the headline. Fixed height for each state, so a regrade or a slow lookup
   never pushes the sleeve row about. */
.av2-estcard { margin: 2px 0 18px; padding: 12px 16px 13px; border-radius: 12px;
  border: 1px solid var(--rule); background: color-mix(in oklab, var(--paper) 72%, #fff);
  transition: border-color .2s, background .2s; }

.av2-estcard.has-value { border-color: color-mix(in oklab, var(--accent) 45%, var(--rule));
  background: color-mix(in oklab, var(--accent) 6%, #fff); }

.av2-estcard-label { font-family: var(--mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-mute); }

.av2-estcard-row { display: flex; align-items: baseline; gap: 12px; min-height: 44px; margin-top: 2px; }

.av2-estcard-val { font-family: var(--serif); font-size: 38px; line-height: 1.1; color: var(--ink); letter-spacing: -.01em;
  animation: av2-est-pop .35s cubic-bezier(.2,1.4,.4,1); }

.av2-estcard.has-value .av2-estcard-val { color: color-mix(in oklab, var(--accent) 92%, #000); }

.av2-estcard-val.is-empty { color: var(--rule); animation: none; }

.av2-estcard.is-busy .av2-estcard-val { opacity: .35; animation: none; }

.av2-estcard-busy { font-size: 13px; color: var(--ink-mute); white-space: nowrap; }

/* Three lines reserved: the longest common basis ("Near Mint, scaled from the
   lowest price this is currently listed at") wraps to three at 375px, and a
   two-line reserve made the card grow 34px under the collector's thumb. */
.av2-estcard-why { margin: 2px 0 0; min-height: 3.9em; font-size: 13px; line-height: 1.3; color: var(--ink-2); }

.av2-estcard.is-busy .av2-estcard-why { opacity: .5; }

@media (prefers-reduced-motion: reduce) {
.av2-estcard-val { animation: none; }
.av2-estcard { transition: none; }
}

/* ---- the record's deep dive, once it is on the shelf (17 Oct 2026) --------
   MyCollectionAdd_v2's "dive" step: shown only when the saved record links to
   a published dive. The record-added card (.rac) stands aside for this step,
   so the step opens with what that card would say: the same tick (the
   .rac-tick classes, drawn the same way), its green, the figure counting up,
   the tier chip and the shelf's count and total. Then the dive.
   Resting states are the finished ones; the entrance lives in the keyframes. */
.av2-dive-done { margin: 0 0 18px; padding-bottom: 16px; border-bottom: 1px solid var(--rule); }

/* Focused by script so the pane is announced; it is not a control. */
.av2-dive-done:focus { outline: none; }

.av2-dive-done-head { display: flex; align-items: center; gap: 8px; }

.av2-dive-tick { flex: none; display: block; }

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

.av2-dive-val.is-pending {
  font-family: var(--body-serif); font-weight: 400; font-size: 15px; letter-spacing: 0; line-height: 1.3; color: var(--ink-2);
}

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

.av2-dive-foot {
  margin-top: 10px;
  font-family: var(--mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-mute);
}

.av2-dive-card {
  display: flex; gap: 14px; align-items: flex-start;
  margin: 4px 0 16px; padding: 12px;
  border: 1px solid var(--rule); border-radius: 12px; background: var(--paper-2);
  color: inherit; text-decoration: none;
  transition: border-color .15s;
  animation: av2-dive-in .34s cubic-bezier(.2,1.2,.4,1);
}

.av2-dive-card:hover { border-color: color-mix(in oklab, var(--accent) 45%, var(--rule)); }

.av2-dive-cover {
  width: 88px; height: 88px; flex: none; object-fit: cover; border-radius: 6px;
  background: var(--paper); box-shadow: 0 10px 20px -12px rgba(0,0,0,.55);
}

.av2-dive-txt { min-width: 0; display: flex; flex-direction: column; }

.av2-dive-t { font-family: var(--serif); font-size: 19px; line-height: 1.15; color: var(--ink); overflow-wrap: anywhere; }

.av2-dive-a { margin-top: 5px; font-family: var(--mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-mute); }

.av2-dive-x {
  margin-top: 8px; font-family: var(--body-serif); font-size: 14px; line-height: 1.45; color: var(--ink-2);
  display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden;
}

.av2-dive-go { display: block; width: 100%; box-sizing: border-box; text-align: center; text-decoration: none; }

.av2-dive-more { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-top: 12px; }

@media (max-width: 380px) {
.av2-dive-cover { width: 72px; height: 72px; }
.av2-dive-x { -webkit-line-clamp: 5; }
}

@media (prefers-reduced-motion: reduce) {
.av2-dive-card, .av2-dive-worth .tier-chip { animation: none; transition: none; }
}

/* ---- collection v2 dashboard ---- */
.v2-progress-panel { margin-bottom:18px; }

.v2-progress-head { font-size:22px; margin:6px 0 8px; }

.v2-progress-head b { font-size:26px; }

.v2-gaps-label { font-size:12px; color:var(--ink-mute); margin:16px 0 8px; text-transform:uppercase; letter-spacing:.04em; }

.v2-gaps { display:flex; gap:10px; overflow-x:auto; padding-bottom:6px; }

.v2-gap { flex:none; width:56px; text-align:center; text-decoration:none; color:inherit; opacity:.92; transition:opacity .15s; }

.v2-gap:hover { opacity:1; }

.v2-cond-dist { display:flex; flex-direction:column; gap:7px; margin-top:6px; }

.v2-cond-row { display:flex; align-items:center; gap:10px; }

.v2-cond-code { width:38px; font-size:13px; font-weight:600; }

.v2-cond-track { flex:1; height:10px; background:var(--rule); border-radius:6px; overflow:hidden; }

.v2-cond-fill { display:block; height:100%; background:var(--accent); }

.v2-cond-n { width:28px; text-align:right; font-size:13px; color:var(--ink-mute); }

/* value-over-time chart with axes */
.v2-vot { display:flex; gap:8px; }

.v2-vot-yaxis { display:flex; flex-direction:column; justify-content:space-between; height:150px; text-align:right; font-size:11px; color:var(--ink-mute); min-width:42px; }

.v2-vot-plot { flex:1; min-width:0; }

.v2-vot-plot svg { height:150px; }

.v2-vot-xaxis { display:flex; justify-content:space-between; font-size:11px; color:var(--ink-mute); margin-top:4px; }

@media (min-width: 981px) {
.mc-dash-grid .mc-panel { display:flex; flex-direction:column; }
.mc-dash-grid .v2-vot { flex:1; }
.mc-dash-grid .v2-vot-yaxis { height:auto; }
.mc-dash-grid .v2-vot-plot { display:flex; flex-direction:column; }
.mc-dash-grid .v2-vot-plot svg { flex:1; height:auto; min-height:150px; }
}

/* ===== Collection v2 — leaderboards + public collection view ===== */
.lb, .pubcol { max-width:780px; margin:0 auto; padding:32px 18px 80px; }

.lb-sub { color:var(--ink-mute); font-size:14px; max-width:54ch; margin:0 0 18px; }

.lb-tabs { display:flex; gap:6px; border-bottom:1px solid var(--rule); margin-bottom:18px; }

.lb-tab { background:none; border:none; padding:10px 14px; font-size:15px; color:var(--ink-mute); cursor:pointer; border-bottom:2px solid transparent; margin-bottom:-1px; }

.lb-tab.active { color:var(--ink); border-bottom-color:var(--accent); font-weight:600; }

.lb-genre-select { margin-bottom:14px; }

.lb-genre-select select { padding:9px 12px; border:1px solid var(--rule); border-radius:8px; font-size:16px; background:#fff; max-width:100%; }

.lb-note { color:var(--ink-mute); font-size:13px; font-style:italic; margin:0 0 14px; }

/* Sits directly under the movement note, so it pulls up against it and reads as
   the second half of the same legend rather than a new paragraph. */
.lb-note-tier { margin-top:-8px; }

/* Compact join ask after the top ten — the full card is at the foot of the board,
   which on a long board is far past where the decision gets made. */
.lb-inline-join {
  display:flex; align-items:center; justify-content:space-between; gap:16px; flex-wrap:wrap;
  margin:10px 0; padding:16px 18px;
  border:1px solid var(--accent); border-radius:10px;
  background:color-mix(in oklab, var(--accent) 7%, var(--paper));
}

.lb-inline-join-t { font-family:var(--body-serif, inherit); font-size:16px; color:var(--ink); }

.lb-inline-join-b {
  flex:none; cursor:pointer; padding:10px 16px;
  border:1px solid var(--accent); border-radius:8px;
  background:var(--accent); color:#fff;
  font-family:var(--mono); font-size:11px; letter-spacing:.06em; text-transform:uppercase; font-weight:700;
  transition:filter .15s;
}

.lb-inline-join-b:hover { filter:brightness(1.08); }

@media (max-width:560px) {
.lb-inline-join { flex-direction:column; align-items:stretch; gap:12px; }
.lb-inline-join-b { width:100%; }
}

.lb-empty { padding:40px 0; text-align:center; color:var(--ink-mute); }

.lb-list { display:flex; flex-direction:column; gap:6px; }

.lb-row { display:flex; align-items:center; gap:14px; width:100%; text-align:left; padding:14px 16px; border:1px solid var(--rule); border-radius:10px; background:#fff; cursor:pointer; transition:border-color .15s; }

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

.lb-row.me { background:var(--paper-2, #efe9df); }

.lb-rank { width:30px; font-size:16px; font-weight:600; color:var(--ink-mute); text-align:center; flex:none; }

.lb-rank.medal.r0 { color:#b8860b; }

.lb-rank.medal.r1 { color:#8a8a8a; }

.lb-rank.medal.r2 { color:#a0673a; }

.lb-name { font-size:16px; flex:1; min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }

.pubcol-head { margin-bottom:20px; }

.pubcol-stats { display:flex; gap:8px; flex-wrap:wrap; margin:8px 0; }

/* leaderboard rows — crown jewel cover + collecting-since */
.lb-crown { flex:none; width:48px; height:48px; border-radius:4px; overflow:hidden; }

.lb-name-col { flex:1; min-width:0; display:flex; flex-direction:column; gap:2px; }

/* NAMES MUST NOT BE CLIPPED HERE. An alias IS the collector's identity, so
     "Anonymous Pa…" identifies nobody — worse than a clipped display name,
     which at least starts with the distinctive part. Aliases are also longer
     than most real names (measured on a 375px screen: 147-182px of text in a
     121-125px slot, so every one of them clipped). Wrap to two lines instead
     of truncating; "Anonymous / Petty" breaks naturally at the space. */
  .lb-name-col .lb-name {
    flex:none; font-size:15.5px; line-height:1.25;
    white-space:normal; overflow:hidden;
    display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:2;
  }

/* Shelf Check phase 2: how much of a shelf's value is on the owner's own grades,
   and, for the rest, the range one grade either side of the assumed grade. */
.lb-graded {
  display:inline-flex; align-items:center; gap:3px; vertical-align:1px;
  font-family:var(--mono); font-size:10px; letter-spacing:.02em; white-space:nowrap;
  padding:2px 7px; border-radius:999px; background:#e3eee5; color:#2f7a4f;
}

.lb-graded.low { background:#f4e6cf; color:#8a5a14; }

.lb-graded.full { background:#2f7a4f; color:#fff; }

.lb-pod-graded { display:block; margin-top:6px; }

.pubcol-stats .lb-graded { font-size:11px; padding:5px 10px; align-self:center; }

.lb-sub-graded { margin-top:6px; }

/* Page roots that fill in after load (a shelf, Community, the boards, a record
   page) hold at least a screen, so the footer starts below the fold instead of
   flashing up under a short page and jumping away (layout shift 0.45-0.9 on
   these pages, site QA 25 Oct 2026). The homepage's main.stage already does. */
.pubcol { padding-top: 104px; min-height: 100vh; }

/* Leaderboards carries the price ticker flush under the nav (first child). The
   nav-clearance padding sits it right under the nav; the ticker breaks out of
   this centered column to full width and drops its top border so the nav's
   bottom border is the single divider. .lb-head keeps its breathing room.
   Clearance is the measured --nav-h with no tuck — see .mkt above. */
.lb { padding-top: calc(var(--nav-h) + max(0px, env(safe-area-inset-top, 0px) - 12px)); min-height: 100vh; }

/* A board still loading holds a screen, so the links under it start below the
   fold rather than being pushed there when the rows arrive. */
.lb-wait { min-height: 100vh; }

.lb > .hd-ticker {
  margin-top: 0; border-top: none;
  width: 100vw; margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw);
}

.lb > .hd-ticker + .lb-head { margin-top: 28px; }

.lb-crown { position:relative; }

.lb-crown-badge { position:absolute; top:-5px; right:-5px; width:16px; height:16px; border-radius:50%; background:#b8860b; color:#fff; display:flex; align-items:center; justify-content:center; box-shadow:0 1px 3px rgba(0,0,0,.3); }

/* ===== Leaderboards — dynamism: podium, bars, badges, movers, champions, rarest ===== */
.lb-tabs { overflow-x: auto; overflow-y: hidden; touch-action: pan-x; flex-wrap: nowrap; -webkit-overflow-scrolling: touch; scrollbar-width: none; }

.lb-tabs::-webkit-scrollbar { display: none; }

.lb-tab { white-space: nowrap; flex: none; }

/* podium */
.lb-podium { display: flex; align-items: flex-end; justify-content: center; gap: 12px; margin: 12px 0 24px; }

.lb-pod { flex: 1; max-width: 168px; text-align: center; background: #fff; border: 1px solid var(--rule); border-radius: 12px; padding: 14px 8px 0; cursor: pointer; display: flex; flex-direction: column; align-items: center; transition: transform .2s ease, box-shadow .2s ease; }

.lb-pod:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(0,0,0,.1); }

.lb-pod-medal { width: 28px; height: 28px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; color: #fff; margin: 10px 0 4px; }

.lb-pod-medal.m1 { background: #caa53d; }

.lb-pod-medal.m2 { background: #9a9a9a; }

.lb-pod-medal.m3 { background: #a0673a; }

.lb-pod-name { font-size: 13px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 100%; }

.lb-pod-bar { width: 64%; margin-top: 10px; border-radius: 6px 6px 0 0; background: linear-gradient(var(--accent), color-mix(in oklab, var(--accent) 35%, var(--paper))); }

.lb-pod-1 .lb-pod-bar { height: 36px; }

.lb-pod-2 .lb-pod-bar { height: 22px; }

.lb-pod-3 .lb-pod-bar { height: 14px; }

/* per-row value bar (animates on mount) */
.lb-bar { display: block; height: 5px; background: var(--rule); border-radius: 5px; overflow: hidden; margin-top: 7px; }

.lb-bar i { display: block; height: 100%; width: 0; background: var(--accent); border-radius: 5px; animation: lbbar .85s cubic-bezier(.2,.7,.2,1) forwards; }

@media (prefers-reduced-motion: reduce) {
.lb-bar i { animation: none; width: var(--w); }
}

/* badges */
.lb-badges { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 5px; }

.lb-badge { font-size: 10px; font-family: var(--mono); letter-spacing: .04em; text-transform: uppercase; color: var(--ink-mute); background: var(--paper-2, #efe9df); border-radius: 20px; padding: 2px 7px; }

/* movers chip */
.lb-mv { font-size: 11px; font-weight: 700; margin-left: 4px; white-space: nowrap; }

/* genre champions */
.lb-champ-grid { display: grid; grid-template-columns: 1fr; gap: 10px; }

@media (min-width: 560px) {
.lb-champ-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 860px) {
.lb-champ-grid { grid-template-columns: repeat(3, 1fr); }
}

.lb-champ { text-align: left; background: #fff; border: 1px solid var(--rule); border-radius: 12px; padding: 16px; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }

.lb-champ:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(0,0,0,.09); border-color: var(--accent); }

.lb-champ-genre { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }

.lb-champ-name { font-family: var(--serif); font-size: 20px; margin: 6px 0 2px; }

.lb-champ-tag { font-size: 11px; color: var(--ink-mute); margin-top: 8px; }

.lb-rare-rank { width: 20px; font-weight: 700; color: var(--ink-mute); flex: none; }

.lb-rare-cover { flex: none; }

.lb-rare-t { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

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

/* Fixed shares (minmax(0, ...)), not 1fr: an auto-sized column followed the
   count-up, so the headline tile widened and narrowed as its figure grew, its
   label rewrapped, and everything below jumped 5px at a time (layout shift on
   Community, site QA 25 Oct 2026). The headline keeps the wider share it took. */
.lb-stats {
  display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(4, minmax(0, 1fr)); gap: 1px;
  background: var(--rule); border-radius: 16px; overflow: hidden;
  margin: 0 0 24px; box-shadow: 0 22px 50px -30px rgba(0,0,0,.5);
}

.lb-stat {
  background: radial-gradient(150% 170% at 0% 0%, #241d15 0%, #14110d 62%);
  color: #f3ede1; padding: 20px 14px; text-align: center;
}

.lb-stat-n small { font-size: .46em; font-weight: 700; opacity: .55; letter-spacing: 0; }

.lb-stat-l { font-family: var(--mono, ui-monospace); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: rgba(243,237,225,.58); margin-top: 8px; }

.lb-stat-hero { background: radial-gradient(150% 170% at 100% 0%, #2a2016 0%, #14110d 62%); }

.lb-stat-hero .lb-stat-n { color: color-mix(in oklab, var(--accent) 72%, #f3ede1); font-size: 35px; }

@media (max-width: 680px) {
.lb-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.lb-stat-hero { grid-column: 1 / -1; order: -1; }
.lb-stat-n { font-size: 26px; }
.lb-stat-hero .lb-stat-n { font-size: 30px; }
}

/* ---- Podium: taller, gradient leader, shine, crown + sub-line ---- */
.lb-podium { gap: 14px; margin: 8px 0 30px; }

.lb-pod { position: relative; overflow: hidden; padding: 18px 10px 0; border-radius: 14px; }

.lb-pod-cover { position: relative; border-radius: 6px; box-shadow: 0 12px 26px -12px rgba(0,0,0,.45); }

.lb-pod-crownico {
  position: absolute; top: -8px; right: -8px; width: 21px; height: 21px; border-radius: 50%;
  background: #caa53d; color: #fff; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 6px rgba(0,0,0,.32); z-index: 2;
}

.lb-pod-val b { font-weight: 800; }

.lb-pod-sub { font-size: 11px; color: var(--ink-mute); margin-top: 3px; }

.lb-pod-1 .lb-pod-bar { height: 50px; }

.lb-pod-2 .lb-pod-bar { height: 32px; }

.lb-pod-3 .lb-pod-bar { height: 18px; }

.lb-pod-bar { margin-top: 12px; }

.lb-pod-shine {
  position: absolute; top: 0; left: -60%; width: 42%; height: 100%; pointer-events: none; z-index: 1;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.55), transparent);
  transform: skewX(-18deg); animation: lbshine 3.6s ease-in-out 1.1s infinite;
}

/* ---- Ranked rows: stagger in, sub-line, richer bar, hover ---- */
.lb-row { animation: lbrise .5s cubic-bezier(.2,.7,.2,1) backwards; animation-delay: calc(var(--i, 0) * 38ms); transition: border-color .15s, transform .15s, box-shadow .15s; }

.lb-row:hover { border-color: var(--accent); transform: translateX(3px); box-shadow: 0 10px 22px -14px rgba(0,0,0,.35); }

.lb-row.top { border-color: color-mix(in oklab, var(--accent) 26%, var(--rule)); }

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

.lb-bar i { background: linear-gradient(90deg, color-mix(in oklab, var(--accent) 55%, var(--paper)), var(--accent)); }

.lb-meta b { display: inline-flex; align-items: baseline; }

/* ---- Genre champions: cover-led cards ---- */
.lb-champ { display: flex; gap: 14px; align-items: center; animation: lbrise .5s cubic-bezier(.2,.7,.2,1) backwards; animation-delay: calc(var(--i, 0) * 48ms); }

.lb-champ-cover { flex: none; border-radius: 6px; overflow: hidden; box-shadow: 0 10px 22px -12px rgba(0,0,0,.42); }

.lb-champ-body { flex: 1; min-width: 0; }

.lb-champ-name { font-size: 18px; margin: 4px 0 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.lb-champ-tag { display: inline-flex; align-items: center; gap: 6px; color: #b8860b; margin-top: 8px; }

.lb-champ-tag svg { color: #caa53d; flex: none; }

/* ---- Rarest finds: cover gallery ---- */
.lb-rare-grid { display: grid; grid-template-columns: repeat(auto-fill, 150px); justify-content: center; gap: 16px; }

.lb-rare-card {
  position: relative; display: flex; flex-direction: column; text-align: left; width: 150px;
  background: #fff; border: 1px solid var(--rule); border-radius: 12px; overflow: hidden;
  padding: 0 0 12px; cursor: pointer; transition: transform .2s, box-shadow .2s, border-color .2s;
  animation: lbrise .5s cubic-bezier(.2,.7,.2,1) backwards; animation-delay: calc(var(--i, 0) * 42ms);
}

.lb-rare-card:hover { transform: translateY(-4px); box-shadow: 0 20px 38px -18px rgba(0,0,0,.32); border-color: var(--accent); }

.lb-rare-card.top { border-color: #caa53d; box-shadow: 0 0 0 1px #caa53d inset; }

.lb-rare-rank {
  position: absolute; top: 8px; left: 8px; width: 24px; height: 24px; border-radius: 50%;
  background: rgba(20,17,13,.78); color: #fff; font-weight: 700; font-size: 12px;
  display: flex; align-items: center; justify-content: center; backdrop-filter: blur(2px); z-index: 2;
}

.lb-rare-card.top .lb-rare-rank { background: #caa53d; }

.lb-rare-body { padding: 10px 12px 0; min-width: 0; display: flex; flex-direction: column; gap: 1px; }

.lb-rare-body .lb-rare-t { font-weight: 600; font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

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

/* Owner line. Aliases ("Anonymous Armstrong") run longer than most display
   names, and for an anonymous collector the artist name IS the identity — so
   clipping it to "Anonymous Arms…" loses the only handle they have. Wrap to a
   second line instead of truncating; the grade sits in front, so this reads as
   "NM · Anonymous / Armstrong" over two lines rather than a cut-off word. */
.lb-rare-owner {
  font-size: 11px; color: var(--ink-mute); margin-top: 2px;
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2;
  overflow: hidden; line-height: 1.3;
}

@media (prefers-reduced-motion: reduce) {
.lb-row, .lb-champ, .lb-rare-card { animation: none; }
.lb-pod-shine { animation: none; display: none; }
}

/* ── Catalogue-number entry (av2 add flow) ───────────────────────────────
   A second way into the same pressing-confirmation flow as barcode scan.
   Inputs are 16px so iOS Safari doesn't zoom-jump on focus. */
.av2-catno-form { display: flex; gap: 8px; margin: 4px 0 14px; }

.av2-catno-input {
  flex: 1; min-width: 0; padding: 12px; border: 1px solid var(--rule); border-radius: 8px;
  font-size: 16px; letter-spacing: .04em; text-transform: uppercase; background: #fff; color: var(--ink);
}

.av2-catno-input::placeholder { letter-spacing: 0; text-transform: none; color: var(--ink-mute); }

.av2-catno-go {
  flex: none; padding: 12px 18px; border: none; border-radius: 8px;
  background: var(--ink); color: var(--paper); font-size: 15px; cursor: pointer;
}

.av2-catno-go:disabled { opacity: .4; cursor: default; }

.av2-catno-eg {
  font-family: var(--mono); font-size: .92em; letter-spacing: .04em;
  background: var(--paper-2, #f1ece4); padding: 1px 6px; border-radius: 4px; white-space: nowrap;
}

@media (min-width: 560px) {
.av2-cand-list { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.av2-cand { align-items: flex-start; }
}

/* Anonymous rows open a shelf like any other — this used to be cursor:default
   because there was nothing behind them. Leaving it would have made the 22
   anonymous rows on the board look inert. */
.lb-row.anon, .lb-pod.anon { cursor: pointer; }

.lb-row.anon .lb-name, .lb-pod.anon .lb-pod-name { color: var(--ink-mute); font-style: italic; }

/* CN-02 — catalogue-number provenance badge. Verified treatment, like the
   `scanned` badge (not the muted `manual` one), with a distinct hue so it
   reads as its own provenance. */
.v2-badge.catalogue { background: oklch(0.55 0.12 255 / .15); color: oklch(0.45 0.13 262); }

/* CN-03 — reserve the top-right of the card body so the M/M condition control
   never sits under the absolute .mc-card-actions cluster. The cluster now holds
   TWO 26px buttons (details + remove) + 6px gap at top:12/right:12, so it spans
   ~58px from the card edge; reserve 62px so the widest chip (M/M) stays clear at
   every breakpoint (it's always visible <=640px, and on hover on desktop). */
.mc-card-top { padding-right: 62px; }

@media (max-width: 640px) {
.mc-card-actions { opacity: 1; }
}

/* CN-04 — make "Closest gaps" a proper feature: bigger heading, larger
   tappable thumbnails (Sleeve bumped 56->84 in JSX), more breathing room.
   .v2-gaps keeps overflow-x:auto so the row scrolls rather than widening the
   page (no body overflow involved). */
.v2-progress-panel { padding: 28px; margin-bottom: 22px; }

.v2-progress-head { font-size: 26px; margin: 8px 0 10px; }

.v2-progress-head b { font-size: 34px; }

.v2-gaps-label { font-size: 13.5px; margin: 22px 0 12px; }

.v2-gaps { gap: 14px; padding-bottom: 8px; }

.v2-gap { width: 84px; }

/* PC-02 — anonymous (and cover-less) leaderboard tiles show the site logo
   instead of a blank, cropped to fill the existing tile dimensions. */
.lb-crown-logo { display: block; width: 48px; height: 48px; object-fit: cover; }

.lb-pod-logo { display: block; object-fit: cover; border-radius: 6px; }

.mc-uplift-fig.neg { color: oklch(0.5 0.12 28); }

/* shared purchase fields (add flow + item edit) */
.av2-purchase { display: flex; flex-direction: column; gap: 12px; margin-top: 6px; }

.av2-pf { display: flex; flex-direction: column; gap: 5px; font-size: 13px; color: var(--ink-mute); }

.av2-pf-label { font-family: var(--mono); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; }

/* min-height matches the date field's forced 44px (next rule) so all three
   purchase fields sit the same height — see M2-01 below for why that
   matters. */
.av2-pf-input { width: 100%; padding: 11px; min-height: 44px; box-sizing: border-box; border: 1px solid var(--rule); border-radius: 8px; font-size: 16px; background: #fff; color: var(--ink); }

/* iOS Safari renders input[type=date] with its own intrinsic width and a
   vertically/horizontally off value, so it sat misaligned next to the text
   inputs. Strip the native appearance, pin full width, and left-align the
   value so the date field matches the rest of the purchase fields.
   M2-01 (QA, real-device retest): that min-height was set ONLY here, while
   the price/location text inputs' natural height (padding + content, no
   explicit box-sizing) settled a couple of px shorter — so the date field
   was a measurably different height from its siblings ("a small positioning
   glitch"). Confirmed in an isolated repro (42px vs 45px) and fixed by
   moving min-height + box-sizing onto the shared .av2-pf-input rule above,
   so every purchase field is the same height. */
.av2-pf-input[type="date"] { -webkit-appearance: none; appearance: none; min-width: 100%; text-align: left; }

.av2-pf-input[type="date"]::-webkit-date-and-time-value { text-align: left; margin: 0; }

.av2-pf-input[type="date"]::-webkit-datetime-edit { padding: 0; line-height: 1.2; }

/* min-height matches .av2-pf-input above — the price field is its own
   .av2-price-wrap (not a plain .av2-pf-input), so without this it would
   become the odd-height-out once the date/location fields were equalised. */
.av2-price-wrap { display: flex; align-items: center; min-height: 44px; box-sizing: border-box; border: 1px solid var(--rule); border-radius: 8px; background: #fff; overflow: hidden; }

.av2-price-wrap.disabled { opacity: 0.5; }

.av2-price-cur { padding: 0 4px 0 11px; color: var(--ink-mute); font-size: 16px; }

/* It also carries .av2-pf-input (for the shared text size/colour), but its
   OWN min-height would stack with .av2-price-wrap's — the wrapper already
   reserves the 44px tap target via align-items:center, so let the input
   size to its natural content height inside it. */
.av2-price-input { border: none; border-radius: 0; min-height: 0; padding-top: 0; padding-bottom: 0; }

.av2-price-input:focus { outline: none; }

.av2-pf-gift { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--ink-2); cursor: pointer; }

.av2-pf-err { color: oklch(0.5 0.12 28); font-size: 13px; margin: 8px 0 0; }

/* item detail readout (view mode) */
.cid-readout { margin-top: 4px; }

.cid-row { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--rule); }

.cid-row:first-child { border-top: 1px solid var(--rule); }

/* Upgrade headroom — what a better copy of a record you already own is worth.
   Sits inside the read-out with the other facts, tinted so it reads as a finding
   rather than another field. */
.cid-upgrade {
  margin: 12px 0 2px; padding: 12px 14px;
  background: color-mix(in oklab, var(--accent) 8%, transparent);
  border: 1px solid color-mix(in oklab, var(--accent) 28%, transparent);
  border-radius: 8px;
}

.cid-upgrade-k {
  display: block; margin-bottom: 5px;
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.09em;
  text-transform: uppercase; color: var(--accent);
}

.cid-upgrade-p { margin: 0; font-family: var(--body-serif); font-size: 14px; line-height: 1.5; color: var(--ink); }

.cid-upgrade-p b { font-weight: 700; }

.cid-upgrade-n { margin: 6px 0 0; font-family: var(--mono); font-size: 10px; line-height: 1.45; color: var(--ink-mute); }

/* Choose your pressing (4 Nov 2026): the album's pressings, oldest first, inside
   the "Value is an estimate" note. Scrolls within the note so a 100-pressing
   album doesn't push the rest of the sheet out of reach. */
.cid-pn { margin-top: 10px; }

.cid-pn-filter {
  width: 100%; box-sizing: border-box; margin: 8px 0 6px; padding: 9px 11px;
  font: inherit; font-size: 14px; color: var(--ink); background: var(--paper, transparent);
  border: 1px solid var(--rule); border-radius: 6px;
}

.cid-pn-list { list-style: none; margin: 6px 0 0; padding: 0; max-height: 320px; overflow-y: auto; border-top: 1px solid var(--rule); }

.cid-pn-list li { border-bottom: 1px solid var(--rule); }

.cid-pn-list li.cid-upgrade-n { padding: 10px 0; }

.cid-pn-row {
  display: flex; flex-direction: column; gap: 2px; width: 100%; padding: 10px 4px;
  text-align: left; background: none; border: 0; cursor: pointer; color: var(--ink); font: inherit;
}

.cid-pn-row:hover:not(:disabled), .cid-pn-row:focus-visible { background: color-mix(in oklab, var(--accent) 10%, transparent); outline: none; }

.cid-pn-row:disabled { cursor: default; opacity: 0.6; }

.cid-pn-t { font-size: 14px; font-weight: 600; }

.cid-pn-m { font-family: var(--mono); font-size: 11px; line-height: 1.45; color: var(--ink-mute); }

.cid-pn-tag {
  margin-left: 8px; padding: 1px 6px; border-radius: 4px; vertical-align: 1px;
  font-family: var(--mono); font-size: 9.5px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--accent); border: 1px solid color-mix(in oklab, var(--accent) 40%, transparent);
}

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

.cid-v { font-size: 15px; color: var(--ink); text-align: right; }

/* ---- collection folders (filter chips + management) --------------------- */
.mc-folders { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 20px; }

.mc-fchip {
  display: inline-flex; align-items: center; gap: 7px; white-space: nowrap;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 8px 13px; border: 1px solid var(--rule); border-radius: 999px; color: var(--ink-2);
  background: #fff8; cursor: pointer; transition: border-color 0.15s, color 0.15s, background 0.15s;
}

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

.mc-fchip.active { background: var(--ink); color: var(--paper); border-color: var(--ink); }

.mc-fchip.new { color: var(--ink-mute); border-style: dashed; }

.mc-fchip.new:hover { color: var(--ink); border-color: var(--ink-mute); }

.mc-fchip-ct { font-size: 10px; opacity: 0.65; font-variant-numeric: tabular-nums; }

.mc-fchip.active .mc-fchip-ct { opacity: 0.85; }

.mc-fchip-wrap { display: inline-flex; align-items: center; gap: 3px; }

.mc-fchip-tools { display: inline-flex; align-items: center; gap: 3px; }

.mc-fchip-tool {
  display: inline-flex; align-items: center; justify-content: center;
  width: 30px; height: 30px; border: 1px solid var(--rule); border-radius: 999px;
  background: #fff8; color: var(--ink-2); cursor: pointer; font-size: 12px; line-height: 1;
}

.mc-fchip-tool:hover { border-color: var(--ink-mute); color: var(--ink); }

.mc-fchip-tool.danger:hover { color: var(--accent); border-color: var(--accent); }

.mc-fchip-edit, .mc-fchip-confirm {
  display: inline-flex; align-items: center; gap: 6px; flex-wrap: wrap;
  border: 1px solid var(--rule); border-radius: 999px; padding: 4px 6px 4px 13px; background: #fff8;
}

.mc-fchip-confirm { border-color: var(--accent); }

/* The confirmation wraps to three lines on a phone, so it can't borrow the
   chip's 999px pill: at ~100px tall that radius became a stadium, and its
   curve cut through the first line and the Keep button. A box with room. */
.mc-fchip-confirm { border-radius: 14px; padding: 10px 12px; }

.mc-fchip-confirm-msg { font-family: var(--sans); font-size: 12px; color: var(--ink-2); max-width: 280px; line-height: 1.35; }

.mc-fchip-input {
  border: 0; background: transparent; outline: none; font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.06em; color: var(--ink); width: 130px;
}

.mc-fchip-mini {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 600;
  border: 0; border-radius: 999px; padding: 7px 11px; background: var(--ink); color: var(--paper); cursor: pointer;
}

.mc-fchip-mini:disabled { opacity: 0.45; cursor: default; }

.mc-fchip-mini.ghost { background: transparent; color: var(--ink-mute); }

.mc-fchip-mini.ghost:hover { color: var(--ink); }

.mc-fchip-mini.danger { background: var(--accent); }

.mc-fchip-manage {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink-mute); background: transparent; border: 0; cursor: pointer; padding: 8px 6px; margin-left: 2px;
}

.mc-fchip-manage:hover, .mc-fchip-manage.on { color: var(--ink); }

.mc-folder-empty {
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.04em; color: var(--ink-mute);
  padding: 44px 4px; text-align: center; border: 1px dashed var(--rule);
}

/* folder picker inside the item detail/edit modal */
.cid-folder-select {
  appearance: none; -webkit-appearance: none; width: 100%;
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.04em;
  border: 1px solid var(--rule); background: #fff8; color: var(--ink); padding: 10px 12px; cursor: pointer; outline: none;
}

@media (max-width: 640px) {
/* >=44px tap targets on mobile */
  .mc-fchip { min-height: 44px; padding: 0 16px; }
.mc-fchip-tool { width: 44px; height: 44px; }
.mc-fchip-mini { min-height: 44px; padding: 0 16px; }
.mc-fchip-confirm { flex: 1 1 100%; box-sizing: border-box; }
.mc-fchip-confirm-msg { flex: 1 1 100%; max-width: none; }
}

/* The negative-price validation error (Stream 02) toggled in and out of flow
   and pushed the grade step around on a phone. The error text is now always in
   the DOM; hide it with display:none on desktop (no gap, Stream 02 desktop
   layout unchanged) and reserve its row with visibility:hidden on mobile so a
   validity change causes no reflow. */
.av2-pf-err-reserve { display: none; }

@media (max-width: 640px) {
.av2-pf-err-reserve { display: block; visibility: hidden; }
/* Mobile: the add flow is a true full-screen overlay, not a centred card.
     The backdrop is an opaque page filling the viewport (nothing behind shows
     or scrolls); the modal fills it edge to edge with no radius; the header is
     sticky and never clipped; only .av2-body scrolls. 100dvh (not 90vh) so the
     iOS toolbar collapsing or the keyboard opening does not resize or shift it. */
  .av2-backdrop { padding: 0; align-items: flex-start; justify-content: center; background: var(--paper); overflow-x: hidden; }
.av2-modal {
    width: 100%; max-width: none;
    height: 100dvh; max-height: 100dvh;
    border-radius: 0; box-shadow: none;
  }
.av2-head { position: sticky; top: 0; background: var(--paper); z-index: 1; }
/* Internal vertical scroll only; overflow-x:hidden kills the left/right pan
     (overflow-y:auto alone makes the computed overflow-x:auto). */
  .av2-body { flex: 1 1 auto; min-height: 0; overflow-y: auto; overflow-x: hidden; -webkit-overflow-scrolling: touch; }
/* Long "Artist — Title" / where-bought text must wrap, not push the layer
     wider than the viewport. min-width:0 lets the flex text column shrink. */
  .av2-cand-main, .av2-chosen > div { min-width: 0; }
.av2-cand-t, .av2-cand-meta, .av2-chosen-t, .av2-chosen-meta, .av2-title { overflow-wrap: anywhere; }
}

/* ===========================================================
   Invite a friend: hero entry button + share sheet.
   The sheet reuses .av2-backdrop/.av2-modal (full-cover + body-lock on
   mobile, centred card on desktop); the classes below style its contents
   and the entry button that opens it. Append-only.
   =========================================================== */
.mc-invite {
  margin-top: 14px;
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 44px; padding: 9px 16px;
  border: 1px solid var(--rule); border-radius: 999px;
  background: var(--paper); color: var(--ink);
  font-family: var(--mono); font-size: 13px; letter-spacing: .02em;
  cursor: pointer; transition: background .15s ease, border-color .15s ease, color .15s ease;
}

.mc-invite:hover { border-color: var(--ink); background: var(--ink); color: var(--paper); }

.mc-invite svg { flex: none; }

/* Appraisal trigger — same pill, accent-outlined so the "take it out of the app"
   action reads as the valuable one without needing a second button style. */
.mc-appraise { border-color: color-mix(in oklab, var(--accent) 55%, var(--rule)); color: var(--accent); }

.mc-appraise:hover { border-color: var(--accent); background: var(--accent); color: var(--paper); }

/* Appraisal document overlay. Wider than the other av2 sheets because it holds
   an A4 document preview (rendered in an isolated iframe). */
.apx-modal { max-width: 860px; }

.apx-body { padding: 20px 22px 24px; display: flex; flex-direction: column; }

.apx-lede { margin: 0 0 16px; font-size: 15px; line-height: 1.5; color: var(--ink-2); }

.apx-preview { border-radius: 10px; overflow: hidden; }

.apx-frame { display: block; width: 100%; height: 58vh; border: 1px solid var(--rule); border-radius: 10px; background: #fff; }

.apx-loading { display: flex; align-items: center; justify-content: center; height: 40vh; border: 1px solid var(--rule); border-radius: 10px; color: var(--ink-mute); font-family: var(--mono); font-size: 13px; }

.apx-actions { display: flex; align-items: center; gap: 14px; margin-top: 16px; flex-wrap: wrap; }

.apx-print {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 46px; padding: 11px 22px; border: none; border-radius: 999px;
  background: var(--accent); color: #fff; text-decoration: none;
  font-family: var(--mono); font-size: 14px; letter-spacing: .02em; cursor: pointer;
  transition: filter .15s ease;
}

.apx-print:hover { filter: brightness(0.94); }

.apx-print.is-disabled { opacity: .5; cursor: default; pointer-events: none; }

.apx-print svg { flex: none; }

.apx-hint { font-size: 12px; color: var(--ink-mute); line-height: 1.4; flex: 1 1 200px; min-width: 180px; }

@media (max-width: 640px) {
.apx-body { padding: 14px 16px 24px; }
/* The tall preview pushes the save button off-screen, so on mobile the
     action bar leads and stays pinned under the sheet header. */
  .apx-actions {
    order: -1; margin-top: 0; margin-bottom: 12px;
    position: sticky; top: 0; z-index: 3;
    background: var(--paper); padding: 6px 0 12px;
    border-bottom: 1px solid var(--rule);
  }
.apx-lede { order: 0; font-size: 14px; }
.apx-preview { order: 1; }
.apx-print { flex: 1 1 auto; justify-content: center; }
.apx-frame { height: 54vh; }
}

.inv-modal { max-width: 460px; }

.inv-pane { padding: 22px 20px 24px; }

.inv-lede { margin: 0 0 18px; font-size: 16px; line-height: 1.5; color: var(--ink-2); }

.inv-share {
  width: 100%; min-height: 50px;
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  border: none; border-radius: 10px;
  background: var(--accent); color: #fff;
  font-size: 16px; font-weight: 700; cursor: pointer;
  transition: filter .15s ease;
}

.inv-share:hover { filter: brightness(0.94); }

.inv-share svg { flex: none; }

.inv-copy { margin-top: 18px; }

.inv-copy-label {
  text-transform: uppercase; letter-spacing: .06em; font-size: 12px;
  color: var(--ink-mute); margin-bottom: 8px;
}

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

.inv-copy-url {
  flex: 1 1 auto; min-width: 0;
  min-height: 44px; padding: 0 12px;
  border: 1px solid var(--rule); border-radius: 8px;
  background: #fff; color: var(--ink);
  font-family: var(--mono); font-size: 13px;
}

.inv-copy-btn {
  flex: none; min-height: 44px; padding: 0 18px;
  border: 1px solid var(--ink); border-radius: 8px;
  background: var(--ink); color: var(--paper);
  font-size: 14px; font-weight: 600; cursor: pointer;
  transition: background .15s ease, border-color .15s ease, color .15s ease;
}

.inv-copy-btn:hover { background: var(--accent); border-color: var(--accent); }

.inv-copy-btn.done { background: oklch(0.5 0.13 150); border-color: oklch(0.5 0.13 150); color: #fff; }

@media (max-width: 640px) {
/* The sheet is small, but reusing .av2-modal makes it a full-cover layer on
     mobile (per the overlay discipline). Keep the contents comfortably padded. */
  .inv-pane { padding: 22px 18px 28px; }
}

/* ---- Share your shelf (components/ShelfShare.jsx, C1) ---------------------
   The invite sheet's layout, plus the preview the link will unfurl into. The
   frame holds the 1200x630 aspect before the image exists, so the sheet does
   not jump when it arrives. */
.sh-modal { max-width: 520px; }

.sh-preview {
  aspect-ratio: 1200 / 630; width: 100%; margin: 0 0 14px;
  border: 1px solid var(--rule); border-radius: 10px; overflow: hidden;
  background: #ece5d6; display: flex; align-items: center; justify-content: center;
  color: var(--ink-mute); font-family: var(--mono); font-size: 12px; text-align: center; padding: 0;
}

.sh-preview img { display: block; width: 100%; height: 100%; object-fit: cover; }

.sh-preview.is-drawing span { animation: sh-pulse 1.4s ease-in-out infinite; }

@media (prefers-reduced-motion: reduce) {
.sh-preview.is-drawing span { animation: none; }
}

.sh-as { margin: 0 0 16px; font-size: 14px; line-height: 1.5; color: var(--ink-2); }

.sh-as b { color: var(--ink); }

.sh-edit .inv-copy-row { align-items: center; }

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

.sh-err { margin-top: 8px; font-size: 13px; line-height: 1.4; color: var(--accent); }

.sh-links { display: flex; flex-wrap: wrap; gap: 4px 18px; margin-top: 10px; }

.sh-text-btn {
  background: none; border: 0; padding: 0; min-height: 44px; cursor: pointer;
  font-family: var(--mono); font-size: 12px; letter-spacing: .04em; color: var(--accent);
  text-decoration: underline; text-underline-offset: 3px;
}

.sh-text-btn:disabled { color: var(--ink-mute); cursor: default; text-decoration: none; }

/* The story cards (F9, components/ShareCards.jsx). Tiles under the link, as
   the ShareSheet mockup has them: a dark 9:16 thumbnail with a sleeve, the
   card's name and its format. The cards themselves are dark, so the tiles are. */
.sh-cards { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--rule); }

.sh-card-row { display: flex; gap: 12px; margin-top: 10px; overflow-x: auto; padding: 4px 2px 6px; }

.sh-card-tile {
  flex: 0 0 auto; width: 104px; display: flex; flex-direction: column; gap: 6px; text-align: left;
  background: none; border: 0; padding: 0; cursor: pointer; color: var(--ink); font: inherit;
}

.sh-card-thumb {
  width: 104px; height: 185px; box-sizing: border-box; background: #17130f; padding: 10px 8px;
  display: flex; flex-direction: column; align-items: center; gap: 8px; border-radius: 4px;
}

.sh-card-grid { display: grid; grid-template-columns: repeat(2, 40px); gap: 4px; }

/* The month card's tile: a calendar page, not a sleeve (a sleeve repeated the
   Grail tile's, 30 Sep 2026). Same 64px as the other tiles' sleeves. Not
   .sh-card-month: that is the month TILE's own class ("sh-card-" + kind). */
.sh-card-cal { width: 64px; height: 64px; box-sizing: border-box; background: #2a241d; border-top: 5px solid var(--accent);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; }

.sh-card-cal b { font-family: var(--serif); font-weight: 400; font-size: 24px; line-height: 1; color: #f3ede1; letter-spacing: .02em; text-transform: uppercase; }

.sh-card-cal small { font-family: var(--mono); font-size: 9px; letter-spacing: .12em; color: #a89e8c; }

.sh-card-thumb i { display: block; height: 5px; width: 62px; background: #5b5248; }

.sh-card-thumb i + i { width: 44px; }

.sh-card-tile:hover .sh-card-thumb, .sh-card-tile:focus-visible .sh-card-thumb { outline: 2.5px solid var(--accent); outline-offset: 3px; }

.sh-card-t { font-size: 13px; font-weight: 700; }

.sh-card-s { font-family: var(--mono); font-size: 9.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-mute); }

.sh-card-view .av2-back-link { margin-bottom: 12px; }

.sh-card-big {
  width: min(100%, 300px); aspect-ratio: 9 / 16; margin: 0 auto 14px; background: #17130f; border-radius: 6px; overflow: hidden;
  display: flex; align-items: center; justify-content: center; color: #cfc6b6; font-size: 14px; text-align: center; padding: 0;
}

.sh-card-big img { display: block; width: 100%; height: 100%; object-fit: cover; }

.sh-card-big.is-drawing span { animation: sh-pulse 1.4s ease-in-out infinite; padding: 0 18px; }

.sh-card-note { margin: 10px 0 0; font-size: 13px; line-height: 1.45; color: var(--ink-2); }

@media (max-height: 720px) {
.sh-card-big { width: min(100%, 240px); }
}

@media (max-width: 640px) {
.sh-edit .inv-copy-row { flex-wrap: wrap; }
.sh-prefix { flex-basis: 100%; }
}

/* Import entry button — secondary sibling of .mc-add (outlined, not filled) */
.mc-import {
  display: inline-flex; align-items: center; gap: 7px; white-space: nowrap;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 600;
  background: transparent; color: var(--ink); border: 1px solid var(--ink);
  padding: 9px 14px; transition: background 0.15s, color 0.15s; cursor: pointer;
}

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

/* Share the wishlist on WhatsApp: an Import-weight link, its bubble in WhatsApp green. */
.mc-wa { text-decoration: none; }

.mc-wa svg { color: #1da851; }

.mc-wa:hover svg { color: #25d366; }

/* The wishlist's share sheet (WishShareSheet in MyCollectionV2.jsx): one tile
   per channel, two to a row. */
.wsh .add-hint { margin-bottom: 16px; }

.wsh-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }

.wsh-opt {
  display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 10px 14px;
  border: 1px solid var(--rule); border-radius: 10px; background: #fff; color: var(--ink);
  font: inherit; font-size: 15px; font-weight: 600; text-align: left; text-decoration: none; cursor: pointer;
  transition: border-color .15s ease;
}

.wsh-opt:hover { border-color: var(--ink); }

.wsh-opt svg { flex: none; }

.wsh-opt span { min-width: 0; }

.wsh-opt.is-off { opacity: .45; cursor: default; pointer-events: none; }

.wsh-more { width: 100%; margin-top: 8px; justify-content: center; }

.wsh-note { margin: 8px 0 0; font-size: 13.5px; color: var(--ink-mute); }

.wsh-note a { color: inherit; }

.wsh-err p { margin: 0 0 12px; }

/* Posting it on a network (23 Oct 2026): a smaller tile each, three to a row,
   the story image across the top. */
.wsh-social { margin-top: 18px; }

.wsh-social-note { margin: 0 0 10px; font-size: 13px; }

.wsh-grid-social { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.wsh-grid-social .wsh-opt { min-height: 46px; padding: 8px 10px; gap: 8px; font-size: 14px; }

.wsh-grid-social .wsh-opt-wide { grid-column: 1 / -1; }

.wsh-opt:disabled:not(.is-off) { cursor: progress; opacity: .7; }

.wsh-mark { flex: none; display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 6px; color: #fff; font: 700 12px/1 var(--sans, system-ui); letter-spacing: -.02em; }

@media (max-width: 380px) {
.wsh-grid-social { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* A shared wishlist, /w/<token> (SharedWishlist in MyCollectionV2.jsx, 22 Oct
   2026): the public shelf's column, widened to fit the wishlist's card grid. */
.pubcol.sw { max-width: 1080px; }

.sw-cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin: 4px 0 6px; }

.sw-cta { text-decoration: none; }

.sw-cta-note { font-size: 13.5px; color: var(--ink-mute); max-width: 46ch; }

.sw-mine { border: 1px solid var(--rule); padding: 14px 16px; margin: 4px 0 6px; max-width: 62ch; }

.sw-mine p { margin: 0 0 10px; font-size: 14px; }

.sw-mine .sw-mine-done { margin: 0; color: var(--ink-mute); }

.sw-foot { margin: 32px 0 0; display: flex; justify-content: center; }

.sw-foot .sw-cta-row { justify-content: center; text-align: center; }

/* Modal: a touch wider than the add flow for the preview table */
.ci-modal { max-width: 640px; }

.ci-body { padding: 0; }

.ci-pane { padding: 20px 22px 26px; }

.ci-center { text-align: center; display: flex; flex-direction: column; align-items: center; }

.ci-lede { font-size: 14.5px; line-height: 1.5; color: var(--ink-2); margin: 2px 0 18px; }

.ci-fineprint { font-size: 12.5px; line-height: 1.5; color: var(--ink-mute); margin: 4px 0 14px; }

.ci-err { margin: 0; padding: 12px 22px; background: color-mix(in oklab, var(--accent) 12%, var(--paper)); color: var(--accent); font-size: 13px; border-bottom: 1px solid var(--rule); }

/* Collection / Wishlist switch, above the sources (18 Oct 2026) */
.ci-target { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 0 0 16px; }

.ci-target-opt:disabled { opacity: 0.55; cursor: default; }

.ci-target-h { font-weight: 800; font-size: 14.5px; color: var(--ink); }

.ci-target-opt small { font-size: 12px; color: var(--ink-mute); }

/* Source picker */
.ci-source {
  display: flex; align-items: center; gap: 14px; width: 100%; text-align: left;
  border: 1px solid var(--rule); padding: 16px; margin-bottom: 12px; background: var(--paper);
  border-radius: 12px; cursor: pointer; transition: border-color 0.15s, background 0.15s;
}

.ci-source-active:hover { border-color: var(--ink); background: var(--paper-2); }

.ci-source-ico { flex: 0 0 auto; width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; border: 1px solid var(--rule); border-radius: 10px; color: var(--ink-2); }

.ci-source-txt { display: flex; flex-direction: column; gap: 3px; }

.ci-source-h { font-weight: 800; font-size: 15px; color: var(--ink); display: flex; align-items: center; gap: 8px; }

.ci-source-txt small { font-size: 12.5px; color: var(--ink-mute); }

.ci-hints { margin-top: 16px; border-top: 1px solid var(--rule); padding-top: 14px; display: flex; flex-direction: column; gap: 8px; }

.ci-hint { font-size: 12.5px; line-height: 1.5; color: var(--ink-mute); }

.ci-hint b { color: var(--ink-2); }

/* Column mapping */
.ci-maptable { display: flex; flex-direction: column; border: 1px solid var(--rule); border-radius: 12px; overflow: hidden; }

.ci-maprow { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 10px; padding: 11px 14px; border-bottom: 1px solid var(--rule); }

.ci-maprow:last-child { border-bottom: none; }

/* Let the grid tracks shrink below their content so a long header name or a
   wide native <select> wraps/clips instead of overflowing the modal width. */
.ci-mapcol, .ci-mapsel { min-width: 0; }

.ci-mapsel select { max-width: 100%; box-sizing: border-box; }

.ci-mapname { font-weight: 700; font-size: 13.5px; color: var(--ink); word-break: break-word; overflow-wrap: anywhere; }

.ci-mapsample { font-family: var(--mono); font-size: 10.5px; color: var(--ink-mute); margin-top: 3px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.ci-maparrow { color: var(--ink-mute); font-size: 14px; }

/* 16px (not the old 13px): under 16px iOS Safari zooms the viewport on focus,
   which is worst here — the mapper is a long list of side-by-side selects and
   the zoom hides the row you are on. Padding trimmed so the row keeps its
   height, and the track already has min-width:0 so the wider text can't push
   the modal out. */
.ci-mapsel select { width: 100%; font-size: 16px; padding: 5px 8px; border: 1px solid var(--rule); border-radius: 8px; background: var(--paper); color: var(--ink); }

.ci-note { margin-top: 14px; font-size: 12.5px; color: var(--ink-mute); line-height: 1.5; }

/* Actions */
.ci-actions { display: flex; gap: 10px; margin-top: 20px; justify-content: flex-end; }

.ci-actions-center { justify-content: center; }

.ci-btn { font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 600; padding: 11px 18px; border-radius: 8px; cursor: pointer; transition: background 0.15s, color 0.15s, opacity 0.15s; border: 1px solid var(--ink); }

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

.ci-btn.solid:hover { background: var(--accent); border-color: var(--accent); }

.ci-btn.ghost { background: transparent; color: var(--ink); }

.ci-btn.ghost:hover { background: var(--paper-2); }

.ci-btn:disabled { opacity: 0.4; cursor: not-allowed; }

/* Preview */
.ci-summary { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 6px; }

.ci-sum { font-size: 12.5px; padding: 5px 11px; border-radius: 999px; border: 1px solid var(--rule); color: var(--ink-2); }

.ci-sum b { color: var(--ink); }

.ci-sum.new { border-color: color-mix(in oklab, oklch(0.5 0.13 150) 50%, var(--rule)); }

.ci-sum.new b { color: oklch(0.45 0.13 150); }

.ci-sum.dup { color: var(--ink-mute); }

.ci-sum.attn b { color: var(--accent); }

.ci-previewwrap { border: 1px solid var(--rule); border-radius: 12px; overflow: auto; max-height: 46vh; }

.ci-preview { width: 100%; border-collapse: collapse; font-size: 13px; }

.ci-preview thead th { position: sticky; top: 0; background: var(--paper-2); text-align: left; font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-mute); padding: 9px 10px; border-bottom: 1px solid var(--rule); z-index: 1; }

.ci-prow td { padding: 8px 10px; border-bottom: 1px solid var(--rule); vertical-align: middle; }

.ci-prow:last-child td { border-bottom: none; }

.ci-prow.duplicate { opacity: 0.55; }

.ci-prow.attention { background: color-mix(in oklab, var(--accent) 6%, var(--paper)); }

.ci-prow-title { font-weight: 700; color: var(--ink); line-height: 1.3; }

.ci-prow-artist { font-size: 12px; color: var(--ink-mute); margin-top: 2px; }

.ci-canon { color: oklch(0.45 0.13 150); margin-left: 6px; }

.ci-thumb { width: 38px; height: 38px; object-fit: cover; border-radius: 4px; display: block; background: var(--paper-2); }

.ci-thumb-ph { display: flex; align-items: center; justify-content: center; color: var(--ink-mute); border: 1px solid var(--rule); }

.ci-badge { font-family: var(--mono); font-size: 9px; letter-spacing: 0.06em; text-transform: uppercase; padding: 3px 8px; border-radius: 999px; white-space: nowrap; }

.ci-badge.new { background: color-mix(in oklab, oklch(0.5 0.13 150) 16%, var(--paper)); color: oklch(0.4 0.13 150); }

.ci-badge.dup { background: var(--paper-2); color: var(--ink-mute); }

.ci-badge.attn { background: color-mix(in oklab, var(--accent) 14%, var(--paper)); color: var(--accent); }

/* Writing + done */
.ci-bigh { font-family: var(--sans); font-weight: 900; font-size: 22px; letter-spacing: -0.02em; color: var(--ink); margin: 12px 0; }

.ci-progress { width: 100%; max-width: 320px; height: 8px; background: var(--paper-2); border: 1px solid var(--rule); border-radius: 999px; overflow: hidden; margin: 6px 0 10px; }

.ci-progress-bar { height: 100%; background: var(--accent); border-radius: 999px; transition: width 0.3s ease; }

.ci-progress-num { font-family: var(--mono); font-size: 12px; color: var(--ink-mute); }

.ci-done-ico { color: oklch(0.5 0.13 150); margin-top: 8px; }

.ci-done-sub { font-size: 14px; line-height: 1.55; color: var(--ink-2); margin: 4px 0 8px; max-width: 420px; }

/* The Shelf Check offer after an import (27 Sep 2026): a quiet inset above the
   actions, so the offer reads as the next step rather than a second alert. */
.ci-sc { margin: 14px auto 0; max-width: 420px; border: 1px dashed var(--rule); border-radius: 10px; padding: 12px 14px; background: #fff; }

.ci-sc-p { margin: 0; font-size: 13.5px; line-height: 1.5; color: var(--ink-2); }

/* Post-import proof chips: record count + canon coverage. Same visual language
   as the collection page's .mc-chip so the summary reads as part of the shelf. */
.ci-done-chips { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin: 4px 0 10px; }

.ci-chip {
  display: inline-flex; align-items: center; gap: 6px; white-space: nowrap;
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 4px 9px; border: 1px solid var(--rule); border-radius: 999px; color: var(--ink-2);
  background: color-mix(in oklab, var(--paper) 60%, #fff 40%);
}

.ci-fail { width: 100%; max-width: 440px; text-align: left; border: 1px solid var(--rule); border-radius: 10px; padding: 12px 14px; margin: 8px 0; }

.ci-fail-h { font-weight: 700; font-size: 12.5px; color: var(--ink-2); margin-bottom: 6px; }

.ci-fail ul { margin: 0; padding-left: 18px; }

.ci-fail li { font-size: 12.5px; color: var(--ink-mute); line-height: 1.5; }

@media (max-width: 560px) {
.ci-pane { padding: 16px 14px 22px; }
.ci-maprow { grid-template-columns: 1fr auto 1fr; gap: 7px; padding: 10px; }
.ci-preview { font-size: 12px; }
.ci-actions { flex-direction: column-reverse; }
.ci-btn { width: 100%; text-align: center; }
.ci-actions-center .ci-btn { width: auto; }
}

/* ---- import: "here's what we found" playback (mapping confirmation) ------- */
.ci-found { border: 1px solid var(--rule); border-radius: 12px; overflow: hidden; margin-bottom: 14px; }

.ci-found-row { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px; padding: 11px 14px; border-bottom: 1px solid var(--rule); }

.ci-found-row:last-child { border-bottom: none; }

.ci-found-tick { flex: 0 0 auto; align-self: center; width: 20px; height: 20px; display: flex; align-items: center; justify-content: center; border-radius: 999px; background: color-mix(in oklab, oklch(0.5 0.13 150) 18%, var(--paper)); color: oklch(0.4 0.13 150); }

.ci-found-field { font-weight: 800; font-size: 14px; color: var(--ink); }

.ci-found-from { font-size: 13px; color: var(--ink-mute); }

.ci-found-from b { color: var(--ink-2); font-weight: 700; }

.ci-found-eg { font-family: var(--mono); font-size: 11px; color: var(--ink-mute); margin-left: auto; max-width: 50%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.ci-ask { border: 1px solid color-mix(in oklab, var(--accent) 40%, var(--rule)); background: color-mix(in oklab, var(--accent) 6%, var(--paper)); border-radius: 12px; padding: 14px; margin-bottom: 14px; }

.ci-ask-h { font-weight: 700; font-size: 13.5px; color: var(--ink); margin-bottom: 10px; line-height: 1.45; }

.ci-ask-row { display: flex; align-items: center; gap: 10px; margin-top: 8px; }

.ci-ask-label { flex: 0 0 110px; font-size: 13px; font-weight: 700; color: var(--ink-2); }

.ci-ask-sel { flex: 1 1 auto; min-width: 0; width: 100%; max-width: 100%; box-sizing: border-box; font-size: 13px; padding: 8px; border: 1px solid var(--rule); border-radius: 8px; background: var(--paper); color: var(--ink); }

.ci-skip { font-size: 12.5px; color: var(--ink-mute); line-height: 1.5; margin-bottom: 12px; }

.ci-skip b { color: var(--ink-2); font-weight: 600; }

.ci-link { background: none; border: none; padding: 0; margin: 2px 0 16px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-2); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

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

.ci-hint-reassure { color: var(--ink-2); background: var(--paper-2); border: 1px solid var(--rule); border-radius: 10px; padding: 11px 13px; }

@media (max-width: 560px) {
.ci-found-eg { margin-left: 0; max-width: 100%; flex-basis: 100%; }
.ci-ask-row { flex-direction: column; align-items: stretch; gap: 5px; }
.ci-ask-label { flex-basis: auto; }
}

/* import: disabled source card while another source is mid-flight */
.ci-source-disabled { opacity: 0.5; pointer-events: none; }

button.ci-source { font: inherit; text-align: left; }

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

.dna-lock-mark {
  width: 46px;
  height: 46px;
  margin: 0 auto 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--paper);
  border: 1px solid var(--rule);
  color: var(--ink-mute);
}

.dna-locked .dna-eyebrow { display: block; }

.vh-eyebrow {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--ink-mute); margin-bottom: 12px;
}

/* headline: current value + windowed delta */
.vh-head { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 18px; margin-bottom: 12px; }

.vh-current { display: flex; align-items: baseline; gap: 8px; }

.vh-cur-num {
  font-family: var(--sans); font-weight: 900; letter-spacing: -0.045em;
  font-variant-numeric: tabular-nums; font-size: 30px; line-height: 1; color: var(--ink);
}

.vh-cur-lab { font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-mute); }

.vh-delta { display: flex; align-items: baseline; gap: 8px; }

.vh-delta-num { font-family: var(--sans); font-weight: 800; font-variant-numeric: tabular-nums; font-size: 15px; }

.vh-delta-pct { font-weight: 600; opacity: 0.85; }

.vh-delta-lab { font-family: var(--mono); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-mute); }

/* metadata: confidence chip + master note */
.vh-meta { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 10px; }

.vh-chip {
  display: inline-flex; align-items: center; gap: 7px; cursor: pointer;
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 6px 11px; min-height: 30px; border: 1px solid var(--rule); border-radius: 999px;
  background: var(--paper); color: var(--ink-2); -webkit-tap-highlight-color: transparent;
}

.vh-chip-dot { width: 8px; height: 8px; border-radius: 999px; background: var(--ink-mute); }

.vh-chip.is-high .vh-chip-dot { background: var(--accent); }

.vh-chip.is-medium .vh-chip-dot { background: var(--ink-2); }

.vh-chip.is-low .vh-chip-dot { background: var(--ink-mute); }

.vh-explain {
  font-family: var(--body-serif); font-size: 13px; line-height: 1.5; color: var(--ink-2);
  margin: -2px 0 10px; max-width: 52ch;
}

.vh-note {
  font-family: var(--body-serif); font-style: italic; font-size: 12.5px; line-height: 1.5;
  color: var(--ink-mute); margin: -2px 0 10px; max-width: 52ch;
}

/* chart box */
.vh-chartbox { position: relative; width: 100%; margin-top: 4px; }

.vh-svg { display: block; width: 100%; height: auto; touch-action: pan-y; }

.vh-grid { stroke: var(--rule); stroke-width: 1; }

.vh-ylab, .vh-xlab {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.04em; fill: var(--ink-mute);
}

.vh-line-live { stroke: var(--accent); stroke-width: 2.25; fill: none; stroke-linecap: round; stroke-linejoin: round; }

.vh-line-est { stroke: var(--ink-mute); stroke-width: 1.75; fill: none; stroke-dasharray: 4 4; stroke-linecap: round; }

.vh-dot-live { fill: var(--accent); }

.vh-cross { stroke: var(--ink-mute); stroke-width: 1; stroke-dasharray: 2 3; opacity: 0.6; }

.vh-active { stroke: var(--paper); stroke-width: 2; }

.vh-active.live { fill: var(--accent); }

.vh-active.est { fill: var(--ink-mute); }

/* tooltip */
.vh-tip {
  position: absolute; top: 4px; transform: translateX(-50%); pointer-events: none;
  background: var(--ink); color: var(--paper); border-radius: 8px; padding: 7px 10px;
  box-shadow: 0 6px 22px rgba(23,19,15,0.22); white-space: nowrap; z-index: 2;
}

.vh-tip-v { font-family: var(--sans); font-weight: 800; font-variant-numeric: tabular-nums; font-size: 14px; }

.vh-tip-d { font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.08em; opacity: 0.8; margin-top: 1px; }

.vh-tip-tag { font-family: var(--mono); font-size: 9px; letter-spacing: 0.1em; text-transform: uppercase; margin-top: 3px; }

.vh-tip-tag.est { color: #d8cdb8; }

.vh-tip-tag.live { color: var(--accent); }

/* legend + captions */
.vh-legend { display: flex; gap: 18px; margin-top: 12px; }

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

.vh-swatch { width: 18px; height: 0; border-top-width: 2px; border-top-style: solid; display: inline-block; }

.vh-swatch.live { border-top-color: var(--accent); }

.vh-swatch.est { border-top-color: var(--ink-mute); border-top-style: dashed; }

.vh-caption { margin-top: 12px; font-family: var(--body-serif); font-style: italic; font-size: 12.5px; line-height: 1.5; color: var(--ink-mute); max-width: 56ch; }

/* states */
.vh-loading { font-family: var(--body-serif); font-size: 14px; color: var(--ink-mute); padding: 18px 0; }

.vh-empty { padding: 22px 18px; border: 1px dashed var(--rule); border-radius: 12px; background: var(--paper-2); text-align: center; }

.vh-empty-t { font-family: var(--serif); font-size: 18px; color: var(--ink); }

.vh-empty-s { font-family: var(--body-serif); font-size: 13px; color: var(--ink-mute); margin-top: 4px; }

.vh-single { padding: 22px 18px; border: 1px solid var(--rule); border-radius: 12px; background: var(--paper-2); text-align: center; }

.vh-single-dot { width: 10px; height: 10px; border-radius: 999px; background: var(--accent); margin: 0 auto 10px; }

.vh-single-t { font-family: var(--body-serif); font-size: 14px; color: var(--ink-2); }

.vh-single-s { font-family: var(--body-serif); font-size: 12.5px; color: var(--ink-mute); margin-top: 3px; }

@media (max-width: 480px) {
.vh-cur-num { font-size: 26px; }
.vh-head { gap: 4px 14px; }
.vh-legend { gap: 14px; }
}

/* single-reading state: muted dot when that lone reading is estimated, so it
   never reads as a live valuation (Brief B no-fabrication rule). */
.vh-single-dot.est { background: var(--ink-mute); }

/* ===========================================================================
   Part 2 — the whole collection tile is a tap target for the detail view (and
   its value chart). The 13px details icon was the only way in and few people
   found it on mobile. The icon buttons still work (they stopPropagation).
   =========================================================================== */
.mc-card-tappable { cursor: pointer; }

.mc-card-tappable:active { background: color-mix(in oklab, var(--paper) 88%, var(--ink) 12%); }

/* ===========================================================================
   Part 4 — portfolio block (total + this-week movement + movers), below the
   DNA panel. Snapshot-sourced so it reconciles with the tile deltas. The
   per-mover change reuses the existing .mc-delta up/down treatment.
   =========================================================================== */
.mc-portfolio { margin: 20px 0 4px; }

.mcp-movers { margin-top: 16px; border-top: 1px solid var(--rule); padding-top: 14px; }

.mcp-movers-h { font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-mute); margin-bottom: 8px; }

.mcp-movers-list { display: grid; gap: 2px; }

.mcp-mover { display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; background: none; border: none; padding: 8px; margin: 0; cursor: pointer; border-radius: 8px; transition: background 0.15s; font: inherit; color: inherit; }

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

.mcp-mover-cover { width: 40px; height: 40px; flex-shrink: 0; }

.mcp-mover-txt { min-width: 0; flex: 1 1 auto; display: flex; flex-direction: column; gap: 2px; }

.mcp-mover-t { font-family: var(--serif); font-style: italic; font-size: 15px; line-height: 1.15; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.mcp-mover-a { font-family: var(--sans); font-weight: 700; font-size: 11.5px; color: var(--ink-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.mcp-mover .mc-delta { flex: none; font-size: 13px; }

/* ===========================================================================
   Part 6 — best dig card (owner-only). Cost data appears here and in the
   user-initiated share image only, never on a public/shared collection.
   =========================================================================== */
.bd-card { margin: 18px 0 4px; padding: 18px 20px; background: var(--paper); border: 1px solid var(--rule); border-radius: 3px; }

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

.bd-main { display: flex; align-items: center; gap: 16px; margin-top: 12px; }

.bd-cover { width: 84px; height: 84px; flex-shrink: 0; }

.bd-info { min-width: 0; flex: 1 1 auto; }

.bd-title { font-family: var(--serif); font-style: italic; font-size: 20px; line-height: 1.15; overflow-wrap: anywhere; }

.bd-artist { font-family: var(--sans); font-weight: 700; font-size: 12.5px; color: var(--ink-2); margin-top: 3px; }

.bd-nums { font-family: var(--mono); font-size: 11.5px; color: var(--ink-mute); margin-top: 8px; display: flex; flex-wrap: wrap; gap: 6px; align-items: baseline; }

.bd-nums b { color: var(--ink-2); font-weight: 600; }

.bd-sep { color: var(--rule); }

.bd-uplift { font-family: var(--sans); font-weight: 900; font-size: 22px; letter-spacing: -0.02em; color: oklch(0.52 0.13 150); margin-top: 8px; font-variant-numeric: tabular-nums; }

.bd-pct { font-size: 14px; font-weight: 700; color: var(--ink-mute); }

.bd-actions { display: flex; align-items: center; gap: 12px; margin-top: 14px; flex-wrap: wrap; }

.bd-share { font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 600; color: var(--paper); background: var(--accent); border: none; border-radius: 999px; padding: 9px 18px; cursor: pointer; transition: opacity 0.15s; }

.bd-share:hover { opacity: 0.9; }

.bd-share:disabled { opacity: 0.6; cursor: default; }

.bd-note { font-family: var(--mono); font-size: 11px; color: var(--ink-mute); }

/* ===========================================================================
   Part 7 — grail watch: "moved this week" treatment on wishlist cards. The
   movement number itself reuses the .mc-delta up/down/flat classes.
   =========================================================================== */
.wish-moved-tag { display: inline-block; margin-left: 8px; font-family: var(--mono); font-size: 9px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); border: 1px solid color-mix(in oklab, var(--accent) 40%, var(--rule)); border-radius: 999px; padding: 2px 7px; vertical-align: middle; }

.mc-card.wish-moved { box-shadow: inset 3px 0 0 var(--accent); }

/* ===========================================================================
   Part 8 — DNA shift banner, shown above the DNA panel on the next visit after
   an unseen regeneration. Tap acknowledges + scrolls to the read; × dismisses.
   =========================================================================== */
.dna-shift { display: flex; align-items: stretch; margin: 0 0 12px; border: 1px solid color-mix(in oklab, var(--accent) 45%, var(--rule)); border-radius: 3px; background: color-mix(in oklab, var(--accent) 8%, var(--paper)); overflow: hidden; }

.dna-shift-main { flex: 1 1 auto; text-align: left; background: none; border: none; cursor: pointer; padding: 12px 16px; font-family: var(--sans); font-size: 13.5px; font-weight: 600; color: var(--ink-2); }

.dna-shift-cta { color: var(--accent); font-weight: 700; }

.dna-shift-x { flex: none; background: none; border: none; border-left: 1px solid color-mix(in oklab, var(--accent) 30%, var(--rule)); cursor: pointer; padding: 0 16px; font-size: 20px; line-height: 1; color: var(--ink-mute); }

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

/* ===========================================================================
   Part 9 — Your Next Record card, directly below the DNA panel.
   =========================================================================== */
.nr { margin: 14px 0 4px; padding: 18px 20px; background: var(--paper); border: 1px solid var(--rule); border-radius: 3px; }

.nr-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }

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

.nr-ai { display: inline-flex; align-items: center; gap: 5px; font-family: var(--mono); font-size: 9px; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 700; color: var(--accent); border: 1px solid var(--accent); border-radius: 999px; padding: 2px 8px; }

.nr-spark { display: inline-block; animation: nrTwinkle 2.4s ease-in-out infinite; }

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

.nr-error { font-family: var(--mono); font-size: 11px; letter-spacing: 0.03em; color: var(--accent); margin-top: 10px; }

.nr-foot { display: flex; align-items: center; gap: 6px; margin-top: 14px; font-family: var(--mono); font-size: 10px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-mute); }

.nr-refresh { display: inline-block; margin-top: 12px; background: none; border: none; padding: 0; font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.06em; color: var(--accent); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }

.nr-refresh:disabled { color: var(--ink-mute); cursor: default; text-decoration: none; }

.nr-ack { font-family: var(--sans); font-size: 13px; font-weight: 700; color: var(--accent); margin-top: 10px; }

.nr-main { display: flex; gap: 16px; margin-top: 12px; align-items: flex-start; }

.nr-cover { width: 92px; height: 92px; flex-shrink: 0; }

.nr-info { min-width: 0; flex: 1 1 auto; }

.nr-title { font-family: var(--serif); font-style: italic; font-size: 21px; line-height: 1.15; overflow-wrap: anywhere; }

.nr-artist { font-family: var(--sans); font-weight: 700; font-size: 12.5px; color: var(--ink-2); margin-top: 3px; }

.nr-why { font-family: var(--sans); font-size: 14px; font-weight: 500; line-height: 1.5; color: var(--ink-2); margin: 10px 0 0; }

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

.nr-btn { font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 600; border-radius: 999px; padding: 9px 16px; cursor: pointer; text-decoration: none; display: inline-block; }

.nr-btn.solid { background: var(--ink); color: var(--paper); border: 1px solid var(--ink); }

.nr-btn.solid:hover { background: var(--accent); border-color: var(--accent); }

.nr-btn.solid:disabled { background: var(--rule); border-color: var(--rule); color: var(--ink-mute); cursor: default; }

.nr-btn.ghost { background: none; color: var(--ink-2); border: 1px solid var(--rule); }

.nr-btn.ghost:hover { border-color: var(--ink); color: var(--ink); }

.nr-complete { margin-top: 12px; }

.nr-complete-h { font-family: var(--serif); font-style: italic; font-size: 20px; }

.nr-complete-s { font-family: var(--sans); font-size: 13px; color: var(--ink-2); margin-top: 5px; line-height: 1.45; }

/* Your Next Record: tap-to-reveal face-down card (2026-07). The whole card is
   a button; the sleeve is a face-down record you tap to unwrap. */
.nr-reveal {
  position: relative; overflow: hidden;
  display: flex; align-items: center; gap: 16px; width: 100%; text-align: left;
  margin-top: 12px; padding: 14px; cursor: pointer;
  background: color-mix(in oklab, var(--paper) 70%, var(--paper-2) 30%);
  border: 1px dashed color-mix(in oklab, var(--accent) 45%, var(--rule));
  border-radius: 6px;
  transition: transform .14s ease, box-shadow .14s ease, border-color .14s ease, background .14s ease;
}

/* a slow shine that sweeps across the whole card, inviting the tap */
.nr-reveal::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 1;
  background: linear-gradient(105deg, transparent 30%, color-mix(in oklab, var(--accent) 18%, transparent) 48%, transparent 66%);
  transform: translateX(-120%);
  animation: nrCardShine 5.6s cubic-bezier(0.5,0,0.2,1) infinite;
}

.nr-reveal:hover {
  transform: translateY(-2px);
  border-color: var(--accent);
  border-style: solid;
  background: color-mix(in oklab, var(--accent) 6%, var(--paper));
  box-shadow: 0 10px 26px rgba(23,19,15,0.14);
}

.nr-reveal:active { transform: translateY(0); box-shadow: none; }

.nr-reveal:disabled { cursor: default; }

.nr-reveal-sleeve {
  position: relative; z-index: 2; width: 88px; height: 88px; flex-shrink: 0; border-radius: 5px;
  display: flex; align-items: center; justify-content: center; overflow: hidden;
  background:
    radial-gradient(circle at 50% 50%, rgba(255,255,255,0.10) 0 22%, transparent 23%),
    linear-gradient(135deg, var(--ink) 0%, var(--ink-2) 100%);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.06), 0 4px 14px rgba(23,19,15,0.18);
  /* the face-down record breathes, tilting like it wants to be flipped */
  animation: nrSleeveBreathe 3.6s ease-in-out infinite;
  transition: transform .18s ease;
}

/* a gleam that rotates over the vinyl, catching the light */
.nr-reveal-sleeve::after {
  content: ""; position: absolute; inset: -40%; pointer-events: none;
  background: conic-gradient(from 0deg, transparent 0deg, color-mix(in oklab, var(--accent) 55%, #fff) 24deg, transparent 60deg);
  opacity: .5; animation: nrSpin 4.5s linear infinite;
}

.nr-reveal:hover .nr-reveal-sleeve { transform: rotate(0deg) scale(1.06); }

.nr-reveal-q {
  position: relative; z-index: 1;
  font-family: var(--serif); font-style: italic; font-size: 40px; line-height: 1;
  color: color-mix(in oklab, var(--accent) 80%, #fff 20%);
  text-shadow: 0 0 14px color-mix(in oklab, var(--accent) 55%, transparent);
  animation: nrQPulse 2.2s ease-in-out infinite;
}

.nr-reveal-spin {
  position: relative; z-index: 1;
  width: 26px; height: 26px; border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.25); border-top-color: var(--accent);
  animation: nrSpin 0.8s linear infinite;
}

.nr-reveal-copy { position: relative; z-index: 2; min-width: 0; flex: 1 1 auto; }

.nr-reveal-h { font-family: var(--serif); font-style: italic; font-size: 19px; line-height: 1.15; color: var(--ink); }

.nr-reveal-s { font-family: var(--sans); font-size: 12.5px; line-height: 1.45; color: var(--ink-2); margin: 6px 0 0; max-width: 46ch; }

.nr-reveal-cta {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; gap: 7px; margin-top: 12px;
  padding: 8px 16px; border-radius: 999px;
  border: 1px solid color-mix(in oklab, var(--accent) 55%, #000 12%);
  background: linear-gradient(135deg, color-mix(in oklab, var(--accent) 88%, #fff 12%), var(--accent));
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 800; color: #fff;
  box-shadow: 0 3px 10px color-mix(in oklab, var(--accent) 40%, transparent);
  transition: transform .14s ease, box-shadow .14s ease, background .14s ease;
  /* a gentle attention pulse so the action reads as the point of the card */
  animation: nrCtaPulse 2.4s ease-in-out infinite;
}

.nr-reveal-cta .nr-spark { color: #fff; }

/* a light sweeps through the CTA pill, like the leaderboard shine */
.nr-reveal-cta::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 45%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,0.7), transparent);
  animation: nrCtaShine 2.8s ease-in-out infinite;
}

.nr-reveal:hover .nr-reveal-cta {
  transform: scale(1.06);
  box-shadow: 0 6px 20px color-mix(in oklab, var(--accent) 60%, transparent);
  background: linear-gradient(135deg, color-mix(in oklab, var(--accent) 78%, #fff 22%), var(--accent));
}

/* reveal animation on the unwrapped pick */
.nr-revealed { animation: nrReveal 0.42s cubic-bezier(0.2,0.8,0.2,1) both; }

@media (prefers-reduced-motion: reduce) {
.nr-revealed { animation: none; }
.nr-reveal-spin { animation-duration: 1.6s; }
.nr-reveal::before,
  .nr-reveal-sleeve,
  .nr-reveal-sleeve::after,
  .nr-reveal-q,
  .nr-reveal-cta,
  .nr-reveal-cta::after { animation: none; }
.nr-reveal-sleeve { transform: none; }
.nr-reveal-cta { transform: none; }
.nr-reveal-q { opacity: 1; }
}

@media (max-width: 460px) {
.nr-reveal-sleeve { width: 72px; height: 72px; }
.nr-reveal-q { font-size: 32px; }
}

/* --- sticky jump-nav, tucked under the fixed site nav -------------------- */
.mc-jumpnav {
  /* -1px: --nav-h is a rounded measurement of the real bar, so exact-flush can
     round into a hairline gap that the page then scrolls through. */
  position: sticky; top: calc(var(--nav-h) - 1px + max(0px, env(safe-area-inset-top, 0px) - 12px)); z-index: 40;
  margin: 0 -40px 22px; padding: 0 40px;
  background: color-mix(in oklab, var(--paper) 90%, transparent);
  backdrop-filter: saturate(150%) blur(9px);
  -webkit-backdrop-filter: saturate(150%) blur(9px);
  border-bottom: 1px solid var(--rule);
}

.mc-jumpnav-inner { display: flex; align-items: stretch; gap: 2px; overflow-x: auto; scrollbar-width: none; }

.mc-jumpnav-inner::-webkit-scrollbar { display: none; }

.mc-jumplink {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--ink-mute); white-space: nowrap; padding: 14px 14px 13px; line-height: 1; cursor: pointer;
  border-bottom: 2px solid transparent; transition: color 0.15s, border-color 0.15s;
}

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

.mc-jumplink.active { color: var(--ink); border-bottom-color: var(--accent); }

.mc-jumplink-alt { margin-left: auto; color: var(--ink-2); }

.mc-jumplink-alt:hover { color: var(--accent); }

/* --- compact value bar --------------------------------------------------- */
.mc-valuebar {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 36px; align-items: start;
  padding: 4px 0 28px; border-bottom: 1px solid var(--rule); margin-bottom: 10px;
}

.mc-vb-main { min-width: 0; }

.mc-vb-figure { display: flex; align-items: baseline; gap: 20px; flex-wrap: wrap; margin-top: 6px; }

.mc-vb-move {
  display: inline-flex; align-items: baseline; gap: 6px;
  font-family: var(--sans); font-weight: 800; font-size: 20px; font-variant-numeric: tabular-nums;
}

.mc-vb-move small { font-family: var(--mono); font-size: 9px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-mute); }

.mc-vb-move .mc-arrow { font-size: 12px; }

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

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

.mc-vb-move.flat { color: var(--ink-mute); font-weight: 600; }

.mc-vb-chips { display: flex; align-items: center; gap: 12px; margin-top: 18px; flex-wrap: wrap; }

.mc-vb-uplift { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin-top: 16px; }

.mc-vb-uplift-v { font-family: var(--sans); font-weight: 800; font-size: 15px; font-variant-numeric: tabular-nums; }

.mc-vb-uplift.pos .mc-vb-uplift-v { color: oklch(0.52 0.13 150); }

.mc-vb-uplift.neg .mc-vb-uplift-v { color: oklch(0.55 0.16 28); }

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

.mc-vb-uplift-k { font-family: var(--mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-2); }

.mc-vb-uplift-cap { font-family: var(--mono); font-size: 10px; letter-spacing: 0.04em; color: var(--ink-mute); flex-basis: 100%; }

.mc-vb-side { display: flex; flex-direction: column; align-items: stretch; gap: 4px; width: 300px; max-width: 300px; }

.mc-vb-side .v2-vis { margin-top: 0; max-width: none; width: 100%; }

.mc-vb-side .mc-invite { margin-top: 6px; align-self: flex-start; }

/* --- insights block ------------------------------------------------------ */
.mc-insights { display: block; }

.mc-insight { margin: 0; }

@media (max-width: 860px) {
/* Stacked: give the value figure clear air from the public/private +
     invite column below it so the two read as separate sections (Part 2). */
  .mc-valuebar { grid-template-columns: 1fr; gap: 34px; }
.mc-vb-side { width: 100%; max-width: none; }
}

@media (max-width: 640px) {
/* The +5px that used to sit here was a correction for a --nav-h that was a
     hardcoded guess (56px against a real 65px bar), so +5 still landed 4px of
     OVERLAP. TopNav measures the bar and writes the real height into --nav-h
     (App.jsx), and the same +5 became a 5px GAP on every phone — a strip of the
     shelf scrolling between the two bars, which is what it was there to prevent.
     Keep the intent, drop the stale arithmetic: -1px, so a rounded measurement
     can only ever overlap the opaque nav, never leave a gap under it. */
  .mc-jumpnav { margin: 0 -18px 16px; padding: 0 18px;
    top: calc(var(--nav-h) - 1px + max(0px, env(safe-area-inset-top, 0px) - 12px)); }
.mc-vb-total { font-size: clamp(46px, 15vw, 72px); }
}

/* --- progress ladder (always visible) --- */
.dna-ladder { margin: 20px 0 6px; }

.dna-ladder-rail {
  position: relative;
  height: 22px;
  margin: 0 11px 0;
  display: flex;
  align-items: center;
}

.dna-ladder-rail::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 50%;
  height: 2px; transform: translateY(-50%);
  background: var(--rule);
  border-radius: 2px;
}

.dna-ladder-fill {
  position: absolute;
  left: 0; top: 50%;
  height: 2px; transform: translateY(-50%);
  background: var(--accent);
  border-radius: 2px;
  transition: width 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.dna-node-dot {
  position: absolute;
  top: 50%;
  width: 22px; height: 22px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: var(--paper-2);
  border: 2px solid var(--rule);
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  transition: background 0.25s, border-color 0.25s;
}

.dna-node-dot.done {
  background: var(--accent);
  border-color: var(--accent);
}

.dna-ladder-labels {
  margin: 9px 0 0;
  display: flex;
  justify-content: space-between;
}

.dna-node-label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

.dna-node-label.done { color: var(--ink-2); }

.dna-node-label:first-child { text-align: left; }

.dna-node-label:nth-child(2) { text-align: center; }

.dna-node-label:last-child { text-align: right; }

/* --- section groups --- */
.dna-group { margin-top: 22px; }

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

/* --- stat card rows --- */
.dna-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.dna-cards-3 { grid-template-columns: repeat(3, 1fr); }

.dna-card {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 6px;
  padding: 15px 16px;
  min-width: 0;
  /* A long unspaced word (an artist, a title, a genre) breaks rather than
     running past the card and dragging the page sideways on a phone. */
  overflow-wrap: anywhere;
  /* Lifted, orange-tinted drop shadow (the 3D lift from the design). */
  box-shadow: 0 1px 2px rgba(23, 19, 15, 0.05), 0 10px 20px -8px color-mix(in oklab, var(--accent) 32%, transparent);
  display: block;
  text-decoration: none;
  color: inherit;
}

.dna-card-link { cursor: pointer; transition: background 0.15s, box-shadow 0.15s; }

.dna-card-link:hover {
  background: color-mix(in oklab, var(--paper) 82%, #fff 18%);
  box-shadow: 0 2px 4px rgba(23, 19, 15, 0.06), 0 14px 26px -8px color-mix(in oklab, var(--accent) 45%, transparent);
}

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

.dna-card-link .dna-card-k::after { content: " \2192"; }

.dna-card-v {
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1.1;
  color: var(--ink);
  margin-top: 7px;
  overflow-wrap: anywhere;
}

.dna-card-empty { color: var(--ink-mute); font-size: 17px; }

.dna-card-sub {
  font-family: var(--sans);
  font-size: 11.5px;
  font-weight: 600;
  color: var(--ink-2);
  margin-top: 7px;
  line-height: 1.4;
}

.dna-card-bar {
  height: 6px;
  background: var(--paper-2);
  border-radius: 4px;
  overflow: hidden;
  margin-top: 10px;
}

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

/* MOST VALUABLE card: title lead, value emphasis, artist/year caption */
.dna-card-mv-title {
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.2;
  color: var(--ink);
  margin-top: 7px;
  overflow-wrap: anywhere;
}

/* MOST VALUABLE: cover thumb beside the title/value (the crown-jewel look) */
.dna-mv-inner { display: flex; gap: 12px; align-items: flex-start; margin-top: 8px; }

.dna-mv-cover { flex: none; width: 56px; border-radius: 4px; overflow: hidden; line-height: 0; }

.dna-mv-text { min-width: 0; }

.dna-mv-text .dna-card-mv-title { margin-top: 0; }

/* --- The Read dark bubble (the one dark surface in the section) --- */
.dna-read-bubble {
  background: #17130f;
  background: color-mix(in oklab, var(--ink) 96%, #000 4%);
  border-radius: 10px;
  padding: 26px 28px;
  box-shadow: 0 2px 6px rgba(23, 19, 15, 0.18), 0 10px 30px rgba(23, 19, 15, 0.16);
  min-height: 150px;
}

.dna-read-eyebrow {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: color-mix(in oklab, var(--accent) 70%, #fff 30%);
}

.dna-read-headline {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(24px, 3vw, 32px);
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: #f3ede1;
  color: var(--paper);
  margin: 10px 0 0;
}

.dna-read-em { font-style: italic; color: var(--accent); }

.dna-read-support {
  font-family: var(--body-serif);
  font-size: 15px;
  line-height: 1.5;
  color: color-mix(in oklab, var(--paper) 72%, transparent);
  margin: 12px 0 0;
  max-width: 460px;
}

.dna-read-open {
  margin-top: 20px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  color: #17130f;
  color: var(--ink);
  background: var(--accent);
  border: none;
  border-radius: 999px;
  padding: 12px 22px;
  cursor: pointer;
  transition: box-shadow 0.2s, transform 0.05s, filter 0.2s;
  box-shadow: 0 0 0 rgba(217, 119, 87, 0);
}

.dna-read-open:hover {
  box-shadow: 0 0 22px color-mix(in oklab, var(--accent) 55%, transparent);
  filter: brightness(1.05);
}

.dna-read-open:active { transform: translateY(1px); }

/* opened state: eyebrow + headline on the left, paragraph on the right */
.dna-read-bubble-open {
  display: grid;
  grid-template-columns: minmax(160px, 0.85fr) 1.4fr;
  gap: 26px;
  align-items: start;
  animation: dnaReadFade 0.4s ease both;
}

.dna-read-open-head .dna-read-headline { margin-top: 8px; }

.dna-read-open-body { min-width: 0; }

.dna-read-para {
  font-family: var(--body-serif);
  font-size: 16px;
  line-height: 1.6;
  color: color-mix(in oklab, var(--paper) 88%, transparent);
  margin: 0;
}

.dna-read-para-loading { color: color-mix(in oklab, var(--paper) 55%, transparent); font-style: italic; }

/* --- locked / blurred groups --- */
.dna-lockgroup { position: relative; margin-top: 4px; }

.dna-lockgroup-blur {
  filter: blur(7px);
  opacity: 0.6;
  pointer-events: none;
  user-select: none;
  -webkit-user-select: none;
}

.dna-lockgroup-blur .dna-read-bubble { min-height: 0; }

.dna-lockgroup-blur > * + * { margin-top: 12px; }

.dna-lockgroup-veil {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 16px;
}

.dna-lock-copy {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: var(--ink-2);
  margin: 4px 0 0;
  max-width: 320px;
  line-height: 1.5;
}

/* --- skeletons (content-free; nothing readable leaks under a blur) --- */
.dna-skel { box-shadow: none; }

.dna-skel-k { height: 8px; width: 40%; border-radius: 3px; background: var(--rule); }

.dna-skel-v { height: 20px; width: 62%; border-radius: 4px; background: var(--paper-2); margin-top: 10px; }

.dna-skel-bar { height: 6px; width: 100%; border-radius: 4px; background: var(--paper-2); margin-top: 12px; }

.dna-skel-bubble { background: color-mix(in oklab, var(--ink) 90%, transparent); }

.dna-skel-bubble .dna-skel-k { background: color-mix(in oklab, var(--paper) 40%, transparent); }

.dna-skel-line { height: 12px; border-radius: 4px; background: color-mix(in oklab, var(--paper) 22%, transparent); margin-top: 12px; }

.dna-skel-line.short { width: 55%; }

@media (max-width: 720px) {
.dna-cards, .dna-cards-3 { grid-template-columns: repeat(2, 1fr); }
/* Three Deep Read cards in a 2-col grid leave "Most valuable" alone on the
     second row at half-width; span it full-width per the design (DNA-01). */
  .dna-card-mv { grid-column: 1 / -1; }
.dna-read-bubble-open { grid-template-columns: 1fr; gap: 14px; }
/* Locked DNA: clip the tall blurred skeleton to a compact teaser strip so the
     lock veil doesn't eat the whole mobile screen. */
  .dna-lockgroup-blur { max-height: 190px; overflow: hidden; }
}

@media (max-width: 460px) {
.dna-cards, .dna-cards-3 { grid-template-columns: 1fr 1fr; }
.dna-read-bubble { padding: 20px 18px; }
.dna-node-label { font-size: 9px; letter-spacing: 0.08em; }
}

/* Reveal button — the "way in", sits under the headline value */
.ti-reveal {
  display: inline-flex; align-items: center; gap: 9px; margin-top: 14px;
  padding: 11px 16px; cursor: pointer;
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--paper); background: var(--ink);
  border: 1px solid var(--ink); border-radius: 999px;
  box-shadow: 0 12px 30px -18px rgba(0,0,0,.6);
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease;
}

.ti-reveal:hover { transform: translateY(-1px); box-shadow: 0 18px 38px -18px rgba(0,0,0,.55); background: color-mix(in oklab, var(--ink) 88%, var(--accent)); }

.ti-reveal:active { transform: translateY(0); }

.ti-reveal-ic { color: var(--accent); flex: 0 0 auto; }

.ti-reveal-go { color: color-mix(in oklab, var(--paper) 70%, var(--accent)); font-size: 14px; }

/* ---- The Index, promoted onto the page ------------------------------------
   The panel behind .ti-reveal holds the chart, every mover and every sell signal.
   This is its headline, sitting in the page where a phone can actually see it —
   a reveal button is a door, and nobody opens a door they have no reason to try.
   Each row is a button into the same panel, so the affordance is unchanged. */
.ti-strip {
  margin-top: 14px;
  border: 1px solid var(--rule);
  border-radius: 10px;
  overflow: hidden;
  background: var(--paper-2, var(--paper));
}

.ti-strip-row {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 12px; width: 100%;
  padding: 11px 14px;
  background: none; border: 0; border-top: 1px solid var(--rule);
  text-align: left; cursor: pointer; font: inherit; color: inherit;
  transition: background .14s ease;
}

.ti-strip-row:first-child { border-top: 0; }

.ti-strip-row:hover { background: color-mix(in oklab, var(--accent) 7%, transparent); }

.ti-strip-k {
  flex: 0 0 auto;
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.09em;
  text-transform: uppercase; color: var(--ink-mute);
}

.ti-strip-v { display: flex; align-items: baseline; gap: 10px; min-width: 0; justify-content: flex-end; }

.ti-strip-title {
  font-family: var(--body-serif); font-size: 14px; color: var(--ink);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}

/* What the record is worth NOW, so the move beside it has a size to be read
   against. Set in ink and mono like the delta, but unemphasised — it is the
   baseline, not the news. flex:0 0 auto so the title is the only thing that
   ever truncates. */
.ti-strip-now {
  flex: 0 0 auto;
  font-family: var(--mono); font-size: 13px; font-weight: 600;
  font-variant-numeric: tabular-nums; color: var(--ink);
}

.ti-strip-d {
  flex: 0 0 auto;
  font-family: var(--mono); font-size: 13px; font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.ti-strip-d.up { color: #2f7d4f; }

.ti-strip-d.down { color: #a8422a; }

.ti-strip-d small { font-size: 10px; font-weight: 500; opacity: .72; margin-left: 5px; }

@media (max-width: 560px) {
.ti-strip-row { flex-direction: column; align-items: stretch; gap: 4px; }
.ti-strip-v { justify-content: space-between; }
}

/* Overlay + panel */
.ti-overlay {
  position: fixed; inset: 0; z-index: 600;
  background: color-mix(in oklab, var(--ink) 46%, transparent);
  backdrop-filter: blur(3px);
  display: grid; place-items: center; padding: 24px;
  animation: mcFade .2s ease;
}

.ti-panel {
  position: relative; width: 100%; max-width: 580px; max-height: 90vh; overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  background: var(--paper); border: 1px solid var(--ink); border-radius: 14px;
  box-shadow: 0 40px 80px -30px rgba(0,0,0,.6);
  animation: gateIn .2s ease;
}

.ti-head {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 16px;
  padding: 22px 24px 16px; border-bottom: 1px solid var(--rule);
  position: sticky; top: 0; background: var(--paper); z-index: 2;
}

.ti-eyebrow { font-family: var(--serif); font-size: 24px; font-weight: 600; letter-spacing: -0.01em; color: var(--ink); line-height: 1; }

.ti-sub { margin-top: 6px; font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-mute); }

.ti-close { flex: 0 0 auto; width: 32px; height: 32px; border: 1px solid var(--rule); border-radius: 50%; background: transparent; color: var(--ink-mute); cursor: pointer; font-size: 13px; line-height: 1; transition: color .15s, border-color .15s; }

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

.ti-loading, .ti-quiet, .ti-empty { font-family: var(--body-serif); color: var(--ink-mute); }

.ti-loading { padding: 48px 24px; text-align: center; }

.ti-empty { padding: 44px 26px; text-align: center; }

.ti-empty-t { font-family: var(--serif); font-size: 18px; color: var(--ink); margin-bottom: 8px; }

.ti-empty-s { font-size: 14px; }

.ti-body { padding: 22px 24px 26px; }

/* Hero */
.ti-hero { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px 16px; margin-bottom: 6px; }

.ti-hero-total { font-family: var(--serif); font-size: 46px; font-weight: 600; letter-spacing: -0.02em; color: var(--ink); line-height: 1; }

.ti-hero-move { font-family: var(--mono); font-size: 14px; letter-spacing: 0.02em; display: inline-flex; align-items: baseline; gap: 5px; }

.ti-hero-move.up { color: #2f7d55; }

.ti-hero-move.down { color: var(--accent); }

.ti-hero-move.flat, .ti-hero-move.building { color: var(--ink-mute); }

.ti-hero-move small { font-family: var(--mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-mute); }

.ti-hero-move.building small { text-transform: none; letter-spacing: 0.01em; font-size: 12px; }

.ti-hero-pct { opacity: .85; }

.ti-arrow { font-size: 11px; }

/* Sparkline */
.ti-spark { margin: 12px 0 22px; }

.ti-svg { display: block; width: 100%; height: auto; overflow: visible; }

.ti-area { fill: color-mix(in oklab, var(--accent) 9%, transparent); stroke: none; }

.ti-line-live { stroke: var(--accent); stroke-width: 2; fill: none; }

.ti-line-est { stroke: var(--ink-mute); stroke-width: 1.5; stroke-dasharray: 3 3; fill: none; opacity: .7; }

.ti-dot-live { fill: var(--accent); }

.ti-dot-est { fill: var(--ink-mute); }

.ti-spark-axis { display: flex; justify-content: space-between; margin-top: 4px; font-family: var(--mono); font-size: 10px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-mute); }

/* Sections */
.ti-section { padding-top: 18px; margin-top: 18px; border-top: 1px solid var(--rule); }

.ti-sec-title { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-mute); margin-bottom: 12px; }

.ti-mover, .ti-sell { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 9px 0; border-bottom: 1px solid var(--rule); }

.ti-mover:last-of-type, .ti-sell:last-of-type { border-bottom: none; }

.ti-mover-rec { min-width: 0; }

.ti-mover-title { font-family: var(--body-serif); font-size: 15px; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.ti-mover-artist { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink-mute); margin-top: 2px; }

.ti-mover-delta { flex: 0 0 auto; font-family: var(--mono); font-size: 14px; display: inline-flex; align-items: baseline; gap: 6px; }

.ti-mover-delta.up { color: #2f7d55; }

.ti-mover-delta.down { color: var(--accent); }

.ti-mover-delta small, .ti-sell-gain small { font-size: 10px; letter-spacing: 0.04em; color: var(--ink-mute); }

/* The anchor value sits under the move rather than beside it — the row is
   already title | delta and a third inline figure crowds the phone. */
.ti-mover-now { display: block; width: 100%; text-align: right; margin-top: 2px; }

.ti-mover-delta { flex-wrap: wrap; justify-content: flex-end; }

.ti-sell-gain { flex: 0 0 auto; text-align: right; display: flex; flex-direction: column; align-items: flex-end; gap: 2px; }

.ti-sell-pct { font-family: var(--mono); font-size: 15px; color: #2f7d55; }

.ti-note { margin-top: 12px; font-family: var(--body-serif); font-size: 12.5px; font-style: italic; color: var(--ink-mute); }

.ti-quiet { font-size: 13.5px; }

.ti-foot { margin-top: 22px; font-family: var(--mono); font-size: 10px; letter-spacing: 0.04em; color: var(--ink-mute); line-height: 1.5; }

@media (max-width: 560px) {
.ti-overlay { padding: 0; }
.ti-panel { max-width: none; max-height: 100dvh; height: 100dvh; border-radius: 0; border: none; }
/* Full-bleed, so the panel's own header is the top of the screen and there is
     no browser chrome above it when the site is running installed. Pay the notch
     inset here or the eyebrow and the ✕ sit under the status bar. */
  .ti-head { padding-top: max(22px, env(safe-area-inset-top, 0px)); }
.ti-hero-total { font-size: 38px; }
}

/* The Index reveal button — "new report" dot */
.ti-reveal { position: relative; }

.ti-reveal.has-new { background: color-mix(in oklab, var(--ink) 82%, var(--accent)); }

.ti-reveal-dot {
  position: absolute; top: -3px; right: -3px; width: 11px; height: 11px; border-radius: 50%;
  background: var(--accent); border: 2px solid var(--paper); box-shadow: 0 0 0 0 color-mix(in oklab, var(--accent) 60%, transparent);
  animation: tiPulse 1.8s ease-out infinite;
}

@media (prefers-reduced-motion: reduce) {
.ti-reveal-dot { animation: none; }
}

/* Add-flow save failure. Previously a failed insert fell through `finally` with
   nothing rendered, so the sheet closed as though it had saved. */
.av2-save-err {
  margin: 14px 0 0; padding: 10px 12px; border-radius: 8px;
  background: oklch(0.94 0.04 28); border: 1px solid oklch(0.78 0.09 28);
  color: oklch(0.42 0.12 28); font-size: 14px; line-height: 1.45;
}

@media (prefers-color-scheme: dark) {
.av2-save-err { background: oklch(0.28 0.06 28); border-color: oklch(0.45 0.09 28); color: oklch(0.9 0.05 28); }
}

/* The two card buttons sat 6px apart, so 44px targets would have overlapped —
   and the right-hand one is the destructive Remove. Widen the gap to 18px so
   the targets meet without overlapping, and extend the reserve set by CN-03
   (was 62px) so the M/M condition chip stays clear of the hit area, not just
   the visible buttons. Chips themselves stay 26px. */
.mc-card-actions { gap: 18px; }

.mc-card-top { padding-right: 76px; }

/* A wishlist card has one button, Remove, not two, and a shared wishlist's
   card (readOnly, /w/) has none, so neither reserves the second button's room
   (22 Oct 2026, Ric: titles wrapped strangely on a phone). Remove's 44px target
   reaches 47px in from the card's edge, 29px past its 18px padding: reserve 32.
   On a phone the "Deep dive" chip then goes under the title instead of beside
   it: beside it, with the old reserve, "Thriller" had 24px and broke into
   three lines, "Thr/ill/er". */
.mc-card.wish .mc-card-top { padding-right: 32px; }

.mc-card.wish.wish-ro .mc-card-top { padding-right: 0; }

@media (max-width: 640px) {
.mc-card.wish .mc-card-top { flex-wrap: wrap; row-gap: 8px; }
.mc-card.wish .mc-card-top > div:first-child { flex: 1 1 100%; }
}

/* The action cluster is hover-revealed, so a keyboard user was tabbing onto an
   invisible Remove button. Reveal it on focus too, and give it a real ring. */
.mc-card:focus-within .mc-card-actions { opacity: 1; }

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

/* ---- GuestShelf: records a signed-out visitor logged on this device --------
   Sits above the marketing hero on /collection and renders only when the guest
   collection is non-empty (components/GuestShelf.jsx). Uses the .mkt vocabulary
   so it reads as part of the page rather than a bolted-on banner. */
.gs { border-bottom: 1px solid var(--rule); background: var(--paper-2); }

.gs-inner { max-width: var(--content-w); margin: 0 auto; padding: 26px 40px;
  display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center; }

.gs-kicker { font-family: var(--mono); font-size: 11px; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 10px; }

.gs-h { font-family: var(--serif); font-weight: 400; font-size: clamp(24px, 2.6vw, 34px);
  line-height: 1.06; letter-spacing: -0.01em; margin: 0; }

.gs-val { color: var(--accent); }

.gs-lede { font-family: var(--body-serif); font-size: 15.5px; line-height: 1.5;
  color: var(--ink-2); max-width: 560px; margin: 12px 0 18px; }

.gs-cta { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }

.gs-fine { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.04em; color: var(--ink-mute); }

.gs-fine-block { display: block; margin-top: 12px; }

.gs-covers { list-style: none; display: flex; gap: 8px; margin: 0; padding: 0; }

.gs-cover { width: 72px; height: 72px; border: 1px solid var(--rule); background: var(--paper);
  overflow: hidden; display: grid; place-items: center; }

.gs-cover img { display: block; width: 100%; height: 100%; object-fit: cover; }

.gs-cover a { display: block; width: 100%; height: 100%; }

.gs-cover-txt, .gs-more { font-family: var(--mono); font-size: 13px; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--ink-mute); }

@media (max-width: 900px) {
.gs-inner { grid-template-columns: 1fr; gap: 20px; padding: 22px 20px; }
/* Covers scroll rather than wrap into a ragged block on a phone. */
  .gs-covers { overflow-x: auto; padding-bottom: 4px; }
.gs-cover { flex: 0 0 auto; }
}

/* ---- Leaderboard: where the signed-in collector stands ----------------------
   The board is unpaginated and value-sorted, so a mid-pack collector had no way to
   find themselves — their row carried a `me` class and nothing else: no rank
   readout, no jump. Muted text uses --ink-2, since --ink-mute is 3.33:1 on paper
   and fails WCAG AA for body copy. */
.lb-standing { max-width: var(--content-w); margin: 0 auto 18px; padding: 16px 20px;
  background: var(--paper-2); border: 1px solid var(--rule); border-left: 3px solid var(--accent);
  display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap; }

.lb-standing-main { font-family: var(--serif); font-size: clamp(19px, 2vw, 25px); color: var(--ink); }

.lb-standing-main strong { color: var(--accent); font-weight: 400; }

.lb-standing-sub { font-family: var(--body-serif); font-size: 15px; color: var(--ink-2); }

.lb-standing-jump { margin-left: auto; padding: 9px 15px; min-height: 44px;
  border: 1px solid var(--ink); background: transparent; color: var(--ink);
  font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.06em; cursor: pointer; }

.lb-standing-jump:hover { background: var(--ink); color: var(--paper); }

.lb-standing-empty { border-left-color: var(--ink-mute); }

/* Brief highlight so "Show my row" lands somewhere visible on a long board. */
.lb-row.flash { outline: 2px solid var(--accent); outline-offset: 2px; }

@media (max-width: 720px) {
.lb-standing { margin-bottom: 14px; padding: 14px 16px; }
.lb-standing-jump { margin-left: 0; width: 100%; }
}

/* ---- Leaderboard: your best standing (C2, F10) ------------------------------
   Above the tabs, signed in only: the board where the collector places highest,
   what passing the next one up takes, and three more. Each opens its board. */
.lb-best { max-width: var(--content-w); margin: 0 auto 22px; padding: 18px 20px 14px;
  background: var(--paper-2); border: 1px solid var(--rule); border-top: 3px solid var(--accent); }

.lb-best-eyebrow { font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 8px; }

.lb-best-main { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; width: 100%;
  padding: 0; border: 0; background: none; text-align: left; cursor: pointer; color: var(--ink); }

.lb-best-place { font-family: var(--serif); font-size: clamp(24px, 3vw, 34px); line-height: 1.1; color: var(--ink); }

.lb-best-main:hover .lb-best-place { color: var(--accent); }

.lb-best-of { font-family: var(--mono); font-size: 12px; color: var(--ink-2); }

.lb-best-gap { flex-basis: 100%; font-family: var(--body-serif); font-size: 16px; color: var(--ink-2); margin-top: 2px; }

.lb-best-list { list-style: none; margin: 14px 0 0; padding: 0; border-top: 1px solid var(--rule); }

.lb-best-list li + li { border-top: 1px solid var(--rule); }

.lb-best-list button { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 16px; width: 100%;
  min-height: 44px; padding: 10px 0; border: 0; background: none; text-align: left; cursor: pointer; color: var(--ink); }

.lb-best-l { font-family: var(--serif); font-size: 17px; }

.lb-best-l small { font-family: var(--mono); font-size: 11px; color: var(--ink-2); margin-left: 4px; }

.lb-best-g { font-family: var(--body-serif); font-size: 14px; color: var(--ink-2); }

.lb-best-list button:hover .lb-best-l { color: var(--accent); }

.lb-mv.new { color: var(--accent); text-transform: uppercase; letter-spacing: 0.06em; font-size: 10px; }

@media (max-width: 720px) {
.lb-best { margin-bottom: 16px; padding: 14px 16px 10px; }
}

/* The wishlist's quick add (MyCollectionV2.jsx WishQuickAdd). */
.wqa-list { list-style: none; margin: 6px 0 0; padding: 0; }

.wqa-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 14px 0; border-top: 1px solid var(--rule); }

.wqa-row:last-child { border-bottom: 1px solid var(--rule); }

.wqa-l { font-weight: 700; font-size: 15px; line-height: 1.3; }

.wqa-n { font-family: var(--mono); font-size: 11px; color: var(--ink-mute); margin-top: 3px; letter-spacing: .02em; }

.wqa-row .mc-btn { flex: none; white-space: nowrap; }

.wqa-row .mc-btn:disabled { opacity: .4; cursor: default; }

.wqa-acts { display: flex; gap: 10px; margin-top: 16px; flex-wrap: wrap; }

.sc-entry {
  display:flex; align-items:center; gap:18px; margin:0 0 22px;
  border:1px solid var(--rule); border-radius:12px; background:#fff; padding:16px 20px;
}

.sc-ring { flex:0 0 auto; }

.sc-ring-t { font-family:var(--mono); font-size:13px; fill:var(--ink); }

.sc-entry-body { flex:1; min-width:0; }

.sc-kicker { font-family:var(--mono); font-size:10px; letter-spacing:0.12em; text-transform:uppercase; color:var(--accent); margin-bottom:4px; }

.sc-entry-h { font-family:var(--sans); font-size:17px; line-height:1.3; margin:0 0 4px; color:var(--ink); text-wrap:balance; }

.sc-entry-p { font-size:13px; line-height:1.5; color:var(--ink-mute); margin:0; }

.sc-entry-p b { color:var(--ink); font-family:var(--mono); font-weight:500; }

.sc-btn {
  flex:0 0 auto; min-height:44px; padding:10px 18px; border-radius:999px; cursor:pointer;
  background:var(--ink); color:var(--paper); border:1px solid var(--ink);
  font-family:var(--sans); font-weight:600; font-size:14px; white-space:nowrap;
}

.sc-btn.ghost { background:transparent; color:var(--ink); }

.sc-btn:focus-visible, .sc-rung:focus-visible, .sc-link:focus-visible, .sc-x:focus-visible { outline:2px solid var(--accent); outline-offset:2px; }

@media (max-width: 640px) {
.sc-entry { flex-wrap:wrap; padding:16px; }
.sc-entry-body { flex-basis:calc(100% - 82px); }
.sc-btn { width:100%; }
}

.sc-overlay {
  position:fixed; inset:0; z-index:520; background:var(--paper);
  display:flex; justify-content:center; overflow:hidden; outline:none;
  padding:env(safe-area-inset-top, 0px) 0 env(safe-area-inset-bottom, 0px);
}

.sc-shell { width:100%; max-width:420px; height:100%; display:flex; flex-direction:column; }

.sc-top { padding:12px 18px 10px; border-bottom:1px solid var(--rule); display:grid; gap:8px; }

.sc-row { display:flex; justify-content:space-between; align-items:center; gap:10px; font-size:13px; color:var(--ink); }

.sc-row-sm { font-size:12px; }

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

.sc-num { font-family:var(--mono); font-variant-numeric:tabular-nums; }

.sc-x { position:relative; background:none; border:0; font-size:26px; line-height:1; color:var(--ink-mute); cursor:pointer; padding:0 4px; }

.sc-x::before { content:""; position:absolute; left:50%; top:50%; width:44px; height:44px; transform:translate(-50%,-50%); }

.sc-dots { display:flex; gap:4px; }

.sc-dots i { flex:1; height:3px; border-radius:2px; background:var(--rule); }

.sc-dots i.done { background:var(--ink); }

.sc-dots i.skip { background:var(--ink-mute); opacity:.45; }

.sc-band { position:relative; height:16px; }

.sc-band-track { position:absolute; left:0; right:0; top:6px; height:4px; border-radius:2px; background:var(--rule); }

.sc-band-fill {
  position:absolute; top:2px; height:12px; border-radius:6px;
  background:oklch(0.93 0.04 28); border:1px solid var(--accent);
  transition:left .45s ease, width .45s ease;
}

.sc-band-note { font-size:11px; line-height:1.4; color:var(--ink-mute); }

.sc-stage { flex:1; position:relative; min-height:0; padding:14px 18px 0; user-select:none; -webkit-user-select:none; }

.sc-card {
  position:absolute; left:18px; right:18px; top:14px; margin:0 auto; max-width:320px;
  background:#fff; border-radius:14px; padding:10px; display:grid; gap:8px;
  box-shadow:0 1px 2px rgba(23,19,15,.06), 0 10px 28px rgba(23,19,15,.12);
  cursor:grab; touch-action:none; will-change:transform;
}

.sc-card:active { cursor:grabbing; }

.sc-card.back { transform:scale(.95) translateY(10px); opacity:.6; cursor:default; pointer-events:none; }

.sc-sleeve { display:flex; justify-content:center; border-radius:4px; overflow:hidden; pointer-events:none; }

.sc-meta { display:flex; justify-content:space-between; align-items:flex-start; gap:10px; padding:0 2px 2px; }

.sc-meta-id { min-width:0; }

.sc-meta-t { font-weight:600; font-size:14px; line-height:1.3; color:var(--ink); }

.sc-meta-s { font-size:11.5px; color:var(--ink-mute); margin-top:2px; }

.sc-meta-v { text-align:right; font-family:var(--mono); font-size:14px; color:var(--ink); white-space:nowrap; }

.sc-meta-v small { display:block; font-size:10.5px; color:var(--ink-mute); margin-top:2px; }

.sc-stamp {
  position:absolute; top:24px; padding:4px 10px; border:3px solid currentColor; border-radius:6px;
  font-family:var(--mono); font-weight:600; font-size:20px; letter-spacing:.04em;
  background:rgba(255,255,255,.9); pointer-events:none;
}

.sc-stamp.r { left:20px; color:var(--sc-good); transform:rotate(-10deg); }

.sc-stamp.l { right:20px; color:var(--sc-bad); transform:rotate(10deg); }

.sc-stamp.u, .sc-stamp.d { left:50%; transform:translateX(-50%); top:auto; bottom:70px; white-space:nowrap; }

.sc-stamp.u { color:var(--ink); }

.sc-stamp.d { color:var(--ink-mute); }

.sc-done { display:grid; gap:14px; text-align:center; padding-top:8px; }

.sc-done-h { font-family:var(--serif); font-size:30px; line-height:1.1; color:var(--ink); text-wrap:balance; }

.sc-done-box { background:#fff; border-radius:12px; padding:14px 16px; display:grid; gap:8px; text-align:left; box-shadow:0 1px 2px rgba(23,19,15,.06), 0 8px 24px rgba(23,19,15,.08); }

.sc-done-box > div { display:flex; justify-content:space-between; gap:12px; font-size:13px; color:var(--ink); }

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

.sc-ms { border:1px solid var(--sc-good); background:#eef5ef; border-radius:12px; padding:12px 14px; display:grid; gap:6px; text-align:left; }

.sc-ms.big { text-align:center; padding:18px 16px; }

.sc-ms-h { font-family:var(--mono); font-size:11px; letter-spacing:.1em; text-transform:uppercase; color:var(--sc-good); }

.sc-ms-p { margin:0; font-size:13.5px; line-height:1.45; color:var(--ink-2, #3a322a); }

.sc-ms-n { font-family:var(--serif); font-size:36px; line-height:1.1; color:var(--ink); }

/* Positioned above the stage: the card is absolutely positioned and would
   otherwise paint over the grades wherever it overflows. */
.sc-ladder { padding:10px 14px 4px; display:grid; gap:6px; position:relative; z-index:2; background:var(--paper); }

.sc-hint { display:flex; justify-content:space-between; font-size:10.5px; color:var(--ink-mute); gap:6px; }

.sc-rungs { display:grid; grid-template-columns:repeat(8, 1fr); gap:4px; }

.sc-rung {
  min-height:44px; padding:0; border-radius:8px; border:1px solid var(--rule); background:#fff;
  font-family:var(--mono); font-size:12px; color:var(--ink); cursor:pointer;
  transition:background .12s, color .12s, transform .12s;
}

.sc-rung:hover { border-color:var(--ink); }

.sc-rung.assumed { border-style:dashed; border-color:var(--ink-2, #3a322a); }

.sc-rung.hot { background:var(--ink); color:var(--paper); border-color:var(--ink); transform:translateY(-2px); }

.sc-rung:disabled { opacity:.4; cursor:default; transform:none; }

.sc-desc { font-family:var(--body-serif, Georgia, serif); font-size:13px; line-height:1.4; color:var(--ink-2, #3a322a); min-height:38px; margin:0; }

.sc-err { color:var(--sc-bad); font-family:var(--sans); }

.sc-foot { display:flex; justify-content:space-between; padding:4px 14px 14px; position:relative; z-index:2; background:var(--paper); }

.sc-link {
  min-height:44px; background:none; border:0; padding:0 6px; cursor:pointer;
  font-size:13px; color:var(--ink-mute); text-decoration:underline; text-underline-offset:3px;
}

.sc-link:disabled { opacity:.35; cursor:default; }

@media (max-height: 700px) {
.sc-band-note { display:none; }
.sc-desc { min-height:0; }
}

@media (prefers-reduced-motion: reduce) {
.sc-card, .sc-band-fill, .sc-rung { transition:none !important; }
}

/* Market check note + "This looks wrong" (26 Sep 2026). The note reuses the
   .cid-upgrade finding block; the flag panel is a quiet inset, and the link that
   opens it is secondary to "Edit details" so it never competes with the owner's
   own edits. */
.cid-market { margin-bottom: 10px; }

.cid-flag {
  margin: 14px 0 0; padding: 14px;
  background: var(--paper-2); border: 1px solid var(--rule); border-radius: 8px;
}

.cid-flag-opts { display: flex; flex-direction: column; gap: 6px; margin-top: 4px; }

.cid-flag-opt {
  display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 12px;
  border: 1px solid var(--rule); border-radius: 8px; background: #fff; cursor: pointer;
  font-size: 15px; color: var(--ink);
}

.cid-flag-opt.sel { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }

.cid-flag-opt input { accent-color: var(--ink); margin: 0; }

.cid-flag-note { width: 100%; resize: vertical; font-family: var(--body-serif); font-size: 14px; line-height: 1.45; }

.cid-flag-link {
  display: inline-flex; align-items: center; gap: 7px; min-height: 44px; padding: 0 4px;
  background: none; border: 0; cursor: pointer;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--ink-mute);
}

.cid-flag-link:hover, .cid-flag-link:focus-visible { color: var(--ink); }

/* ---- The front ten (components/FrontTen.jsx, C1 F6) ------------------------
   A horizontal row that scrolls on every width: ten sleeves never fit, and the
   one peeking at the edge is what says "there's more". The lead record is drawn
   larger, as in the Main mockup. */
.ft { margin: 34px 0 6px; }

.ft-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 14px; }

.ft-h { margin: 0; font-family: var(--serif); font-weight: 400; font-size: 30px; line-height: 1.1; letter-spacing: -0.01em; }

.ft-sub { margin: 6px 0 0; max-width: 560px; font-size: 14.5px; line-height: 1.5; color: var(--ink-2); }

.ft-edit { flex: none; }

.ft-row {
  /* 8px of room on the left: a scroll container clips what is drawn outside
     its first child, and the lead card is now the likeliest Grail, whose foil
     sits 6px out. */
  list-style: none; margin: 0; padding: 22px 0 20px 8px;
  display: flex; gap: 22px; align-items: flex-end;
  overflow-x: auto; scroll-snap-type: x proximity; overscroll-behavior-x: contain;
  border-top: 1.5px solid var(--ink); border-bottom: 1px solid var(--rule);
  scrollbar-width: thin;
}

.ft-row:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.ft-card { flex: none; width: 148px; display: flex; flex-direction: column; gap: 6px; scroll-snap-align: start; }

.ft-card.ft-lead { width: 220px; }

.ft-sleeve { line-height: 0; }

.ft-no { font-family: var(--mono); font-size: 10px; letter-spacing: .08em; color: var(--ink-mute); margin-top: 4px; }

.ft-title { font-family: var(--serif); font-style: italic; font-size: 16px; line-height: 1.15; color: var(--ink); overflow-wrap: anywhere; }

.ft-lead .ft-title { font-size: 19px; }

.ft-artist { font-size: 12.5px; font-weight: 600; color: var(--ink-2); overflow-wrap: anywhere; }

.ft-meta { display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: baseline; font-family: var(--mono); font-size: 10px; letter-spacing: .04em; color: var(--ink-mute); }

.ft-meta b { font-family: var(--sans); font-weight: 900; font-size: 16px; letter-spacing: -0.02em; color: var(--ink); font-variant-numeric: tabular-nums; }

.ft-lead .ft-meta b { font-size: 19px; }

.ft-pending { font-style: italic; }

/* Each card opens the record (23 Oct 2026). */
.ft-open { all: unset; box-sizing: border-box; display: flex; flex-direction: column; gap: 6px; width: 100%; cursor: pointer; }

.ft-open:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }

.ft-open .ft-sleeve { transition: transform .18s ease; }

.ft-open:hover .ft-sleeve { transform: translateY(-3px); }

.ft-open:hover .ft-title { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }

@media (prefers-reduced-motion: reduce) {
.ft-open .ft-sleeve { transition: none; }
.ft-open:hover .ft-sleeve { transform: none; }
}

/* FrontTenRecord: one of the ten, opened. */
.ftr { max-width: 520px; }

.ftr-top { display: flex; gap: 20px; align-items: flex-start; }

.ftr-sleeve { flex: none; line-height: 0; }

.ftr-id { min-width: 0; display: flex; flex-direction: column; gap: 4px; padding-top: 2px; }

.ftr-tier { align-self: flex-start; margin-bottom: 4px; }

.ftr-title { font-style: italic; overflow-wrap: anywhere; margin: 0; }

.ftr-artist { font-size: 14px; font-weight: 600; color: var(--ink-2); }

.ftr-val { display: flex; flex-direction: column; gap: 2px; margin-top: 10px; }

.ftr-val b { font-family: var(--sans); font-weight: 900; font-size: 26px; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }

.ftr-val span { font-family: var(--mono); font-size: 10px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-mute); }

.ftr-facts { margin: 20px 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 16px; border-top: 1px solid var(--rule); padding-top: 16px; }

.ftr-facts div { min-width: 0; }

.ftr-facts dt { font-family: var(--mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-mute); }

.ftr-facts dd { margin: 3px 0 0; font-size: 14.5px; color: var(--ink); overflow-wrap: anywhere; }

.ftr-go { display: flex; justify-content: center; margin-top: 20px; text-decoration: none; }

.ftr-none { margin: 20px 0 0; font-size: 14px; color: var(--ink-mute); }

.ftr-step { display: flex; justify-content: space-between; margin-top: 14px; }

.ftr-step .sh-text-btn { min-height: 40px; }

@media (max-width: 480px) {
.ftr-top { flex-direction: column; align-items: center; text-align: center; }
.ftr-id { align-items: center; }
.ftr-tier { align-self: center; }
}

@media (max-width: 640px) {
.ft-h { font-size: 24px; }
.ft-row { gap: 16px; margin-right: -16px; padding-right: 16px; }
}

/* the chooser */
.ft-modal { max-width: 560px; display: flex; flex-direction: column; }

.ft-pane { padding: 20px 20px 8px; }

.ft-lede { margin: 0 0 18px; font-size: 15px; line-height: 1.5; color: var(--ink-2); }

.ft-label { display: flex; justify-content: space-between; text-transform: uppercase; letter-spacing: .06em; font-size: 12px; color: var(--ink-mute); margin: 0 0 8px; }

.ft-label span { font-family: var(--mono); }

.ft-label-all { margin-top: 22px; }

.ft-empty { margin: 0; font-size: 14px; line-height: 1.5; color: var(--ink-mute); }

.ft-auto-note { margin: -2px 0 10px; font-size: 13px; line-height: 1.5; color: var(--ink-mute); }

.ft-full-hint { margin: -2px 0 10px; font-size: 13px; line-height: 1.5; color: var(--ink-2); }

.ft-chosen, .ft-all { list-style: none; margin: 0; padding: 0; }

.ft-chosen li { display: flex; align-items: center; gap: 10px; padding: 6px 0; border-bottom: 1px solid var(--rule); }

.ft-chosen .ft-no { margin: 0; width: 26px; flex: none; }

.ft-thumb { flex: none; width: 40px; height: 40px; line-height: 0; overflow: hidden; }

.ft-row-text { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 2px; }

.ft-row-text b { font-weight: 600; font-size: 14px; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.ft-row-text span { font-size: 12.5px; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.ft-row-btns { flex: none; display: flex; }

.ft-row-btns button {
  width: 44px; height: 44px; border: 0; background: none; cursor: pointer;
  font-size: 16px; color: var(--ink-2); border-radius: 8px;
}

.ft-row-btns button:hover:not(:disabled) { background: var(--rule); color: var(--ink); }

.ft-row-btns button:disabled { color: var(--rule); cursor: default; }

.ft-search { width: 100%; box-sizing: border-box; margin-bottom: 6px; }

.ft-pick {
  width: 100%; display: flex; align-items: center; gap: 10px; min-height: 52px;
  padding: 6px 4px; border: 0; border-bottom: 1px solid var(--rule); background: none;
  text-align: left; cursor: pointer; color: inherit; font: inherit;
}

.ft-pick:hover:not(:disabled) { background: #fff8; }

.ft-pick:disabled { opacity: .45; cursor: default; }

.ft-tick {
  flex: none; width: 30px; height: 30px; border-radius: 999px; border: 1px solid var(--rule);
  display: flex; align-items: center; justify-content: center; font-size: 15px; color: var(--ink-2);
}

.ft-pick.on .ft-tick { background: var(--ink); border-color: var(--ink); color: var(--paper); }

.ft-more { margin: 10px 0 0; font-family: var(--mono); font-size: 11px; color: var(--ink-mute); }

.ft-foot {
  position: sticky; bottom: 0; padding: 12px 20px 16px; background: var(--paper);
  border-top: 1px solid var(--rule);
}

.ft-foot-btns { display: flex; justify-content: space-between; align-items: center; gap: 12px; }

@media (max-width: 640px) {
.ft-pane { padding: 18px 16px 8px; }
.ft-foot { padding: 10px 16px calc(14px + env(safe-area-inset-bottom, 0px)); }
}

/* ---- Where they stand (components/ShelfStandings.jsx, C1 F8) ---------------
   Badges (accent) and standings (ink), each a link to the board that shows it. */
.ss { margin: 18px 0 4px; }

.ss-label { font-family: var(--mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-mute); margin-bottom: 8px; }

.ss-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }

.ss-chip {
  display: inline-flex; align-items: center; min-height: 34px; padding: 0 13px;
  border-radius: 999px; background: var(--ink); color: var(--paper); text-decoration: none;
  font-family: var(--mono); font-size: 11px; letter-spacing: .04em; white-space: nowrap;
  transition: filter .15s ease;
}

.ss-chip:hover { filter: brightness(1.25); }

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

.ss-chip.ss-badge { background: var(--accent); color: #fff; }

@media (max-width: 640px) {
.ss-chip { min-height: 44px; white-space: normal; text-align: left; line-height: 1.3; padding: 6px 14px; }
}

.mc-card-cover.tier-scarce, .ft-sleeve.tier-scarce, .ftr-sleeve.tier-scarce { outline: 2px solid var(--ink); outline-offset: 2px; }

.mc-card-cover.tier-rare, .ft-sleeve.tier-rare, .ftr-sleeve.tier-rare { outline: 3px solid var(--accent); outline-offset: 2px; }

.ft-sleeve.tier-scarce, .ft-sleeve.tier-rare, .ft-sleeve.tier-grail { width: max-content; }

.ft-tier { margin: 0 0 0 8px; vertical-align: 1px; }

.tier-chip-inline { margin: 0 8px 0 0; vertical-align: 1px; }

.cid-row.cid-tier { flex-wrap: wrap; }

.cid-tier .cid-v { text-align: left; flex: 1 1 260px; }

.cid-tier-why { display: block; margin-top: 6px; font-size: 13.5px; line-height: 1.5; color: var(--ink-2); }

/* The owner's own flag and what came of it (F1, 1 Oct 2026). Quieter than the
   market note: it reports on something they did, not on the value itself. */
.cid-flag-out {
  margin: 14px 0 0; padding: 2px 0 2px 12px;
  border-left: 2px solid var(--rule);
  font-family: var(--body-serif); font-size: 14px; line-height: 1.5; color: var(--ink-2);
}

.cid-flag-out p { margin: 0; }

.cid-flag-out.good { border-left-color: oklch(0.52 0.13 150); }

.cid-flag-out .cid-flag-out-note { margin-top: 6px; color: var(--ink); }

/* ============================================================
   Community (11 Oct 2026): the feed and the collectors grid.
   components/Community.jsx. Prefix cmty- (cm- is taken in styles.css).
   The page sits inside .lb, so it inherits the boards' nav clearance,
   title and sub-line; the three tabs are shared with /leaderboards.
   ============================================================ */
.cmty-tabs { display:flex; gap:24px; border-bottom:1px solid var(--rule); margin:0 0 20px; overflow-x:auto; overflow-y:hidden; scrollbar-width:none; }

.cmty-tabs::-webkit-scrollbar { display:none; }

.cmty-tab { flex:none; padding:10px 0; font-size:15px; color:var(--ink-mute); text-decoration:none; border-bottom:2px solid transparent; margin-bottom:-1px; white-space:nowrap; }

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

.cmty-tab.active { color:var(--ink); font-weight:600; border-bottom-color:var(--accent); }

.cmty-cols { display:flex; flex-direction:column; }

.cmty-chips { display:flex; gap:6px; flex-wrap:wrap; }

.cmty-feed > .cmty-chips { margin-bottom:6px; }

.cmty-chip { font:inherit; font-size:13px; padding:5px 12px; border:1px solid var(--rule); border-radius:99px; background:transparent; color:var(--ink-2); cursor:pointer; }

.cmty-chip.on { background:var(--ink); border-color:var(--ink); color:var(--paper); }

.cmty-day { font-family:var(--mono); font-weight:500; font-size:11px; letter-spacing:.06em; text-transform:uppercase; color:var(--ink-mute); margin:22px 0 8px; display:flex; align-items:center; gap:10px; }

.cmty-day::after { content:""; flex:1; height:1px; background:var(--rule); }

.cmty-empty { color:var(--ink-mute); font-size:14px; padding:24px 0; }

.cmty-post, .cmty-tile { background:#fff; border:1px solid var(--rule); border-radius:12px; padding:16px; }

.cmty-post { margin-bottom:10px; }

.cmty-post.milestone { border-color:var(--ink); }

.cmty-who { display:flex; gap:10px; align-items:center; }

.cmty-av { width:38px; height:38px; flex:none; border-radius:50%; background:var(--ink); color:var(--paper); display:inline-flex; align-items:center; justify-content:center; font-size:13px; font-weight:600; letter-spacing:.02em; }

.cmty-av.anon { background:var(--paper-2); color:var(--ink-2); border:1px dashed var(--ink-mute); }

.cmty-av.sys { background:transparent; color:var(--accent); border:1px solid var(--accent); font-size:17px; }

/* flex:1 so the name wraps inside its own column; a long one-word name ran
   under the Follow button on a phone (QA, 12 Oct 2026). */
.cmty-line { flex:1; min-width:0; font-size:15px; line-height:1.35; }

.cmty-line b { font-weight:600; }

.cmty-name, .cmty-tile-n { font:inherit; font-weight:600; color:var(--ink); background:none; border:none; padding:0; cursor:pointer; text-align:left; overflow-wrap:anywhere; }

.cmty-name:hover, .cmty-tile-n:hover { text-decoration:underline; text-underline-offset:3px; }

.cmty-meta { font-size:12.5px; color:var(--ink-mute); font-weight:400; }

.cmty-one { display:flex; gap:14px; align-items:center; margin-top:14px; }

.cmty-one > :first-child { flex:none; }

.cmty-one-t { font-family:var(--body-serif); font-size:18px; font-weight:600; line-height:1.2; }

.cmty-excerpt { font-family:var(--body-serif); font-size:15px; line-height:1.45; color:var(--ink-2); margin:0 0 6px; display:-webkit-box; -webkit-line-clamp:3; -webkit-box-orient:vertical; overflow:hidden; }

.cmty-link { font:inherit; font-size:13px; color:var(--ink); background:none; border:none; padding:0; cursor:pointer; text-decoration:underline; text-underline-offset:3px; }

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

.cmty-acts { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-top:14px; padding-top:10px; border-top:1px solid var(--rule); }

.cmty-post .cmty-acts { justify-content:flex-end; }

.cmty-owners { display:flex; align-items:center; gap:8px; font-size:12.5px; color:var(--ink-2); margin-top:10px; }

.cmty-owners-av { display:inline-flex; }

.cmty-owners-av .cmty-av { margin-right:-6px; border:2px solid #fff; box-sizing:content-box; }

.cmty-owners-av .cmty-av.anon { border:2px solid #fff; outline:1px dashed var(--ink-mute); outline-offset:-3px; }

.cmty-owners-av + span { margin-left:6px; }

.cmty-moves { list-style:none; margin:12px 0 0; padding:0; }

.cmty-moves li { display:flex; gap:12px; align-items:center; padding:8px 0; border-top:1px solid var(--rule); }

.cmty-moves li > :first-child { flex:none; }

.cmty-move-t { flex:1; min-width:0; font-size:14px; line-height:1.3; }

.cmty-move-t .cmty-owners { margin-top:3px; }

.cmty-moves-more { padding-top:8px; border-top:1px solid var(--rule); }

.cmty-loadmore { display:block; width:100%; margin-top:16px; padding:12px; font:inherit; font-size:14px; background:transparent; border:1px solid var(--ink); border-radius:99px; cursor:pointer; color:var(--ink); }

.cmty-loadmore:disabled { opacity:.5; cursor:default; }

.cmty-tools { display:flex; align-items:center; justify-content:space-between; gap:12px; flex-wrap:wrap; margin-bottom:16px; }

.cmty-grid { display:grid; grid-template-columns:repeat(auto-fill, minmax(min(290px, 100%), 1fr)); gap:14px; }

.cmty-tile { display:flex; flex-direction:column; gap:12px; }

.cmty-tile.me { border-color:var(--ink); }

.cmty-tile-n { font-family:var(--body-serif); font-size:19px; line-height:1.15; }

.cmty-strip { display:grid; grid-template-columns:repeat(4, 1fr); gap:5px; padding:0; border:none; background:none; cursor:pointer; }

.cmty-strip > .cmty-sv { width:100%; aspect-ratio:1; overflow:hidden; }

.cmty-strip > .cmty-sv > * { width:100% !important; height:100% !important; }

.cmty-desc { font-family:var(--body-serif); font-size:14.5px; line-height:1.45; color:var(--ink-2); margin:0; min-height:4.35em; }

.cmty-nums { display:flex; gap:18px; font-size:12px; color:var(--ink-mute); }

.cmty-nums b { display:block; font-family:var(--mono); font-weight:500; font-size:15px; color:var(--ink); }

.cmty-badges { display:flex; gap:6px; flex-wrap:wrap; min-height:24px; }

.cmty-badge { font-size:11.5px; padding:2px 8px; border:1px solid var(--ink-2); border-radius:4px; color:var(--ink-2); white-space:nowrap; }

.cmty-badge.hot { border-color:var(--accent); color:color-mix(in oklab, var(--accent) 76%, #000); }

.cmty-tile .cmty-acts { margin-top:auto; }

@media (max-width: 560px) {
.cmty-tabs { gap:20px; }
}

/* Community part 2: likes and follows. */
.cmty-who > .cmty-follow { margin-left:auto; }

.cmty-follow { flex:none; font:inherit; font-size:12.5px; padding:5px 14px; border:1px solid var(--ink); border-radius:99px; background:transparent; color:var(--ink); cursor:pointer; white-space:nowrap; }

.cmty-follow.on { background:var(--ink); color:var(--paper); }

.cmty-like { font:inherit; font-size:13.5px; display:inline-flex; align-items:center; gap:6px; background:none; border:none; padding:0; color:var(--ink-2); cursor:pointer; }

/* Darkened for text: the accent alone is 3.97:1 on white, under AA's 4.5. */
.cmty-like.on { color:color-mix(in oklab, var(--accent) 76%, #000); font-weight:600; }

.cmty-like.mine { cursor:default; color:var(--ink-mute); }

.cmty-post .cmty-acts { justify-content:space-between; }

.cmty-tile .cmty-acts { flex-wrap:wrap; }

.cmty-tile .cmty-acts .cmty-meta { margin-right:auto; }

/* A toast, fixed where the reader is looking. It was a paragraph above the
   first post, out of sight of whichever post had been tapped. Sits above the
   feedback launcher. */
.cmty-note { position:fixed; left:50%; bottom:calc(84px + env(safe-area-inset-bottom, 0px)); transform:translateX(-50%); z-index:60; display:flex; align-items:center; gap:12px; width:max-content; max-width:min(92vw, 480px); margin:0; font-size:14px; line-height:1.35; background:var(--ink); color:var(--paper); border-radius:12px; padding:10px 8px 10px 16px; box-shadow:0 12px 30px rgba(0,0,0,.28); }

.cmty-note .cmty-link { color:var(--paper); flex:none; }

.cmty-note .cmty-link:hover { color:var(--paper); }

.cmty-note-x { flex:none; min-width:32px; min-height:32px; font-size:20px; line-height:1; background:none; border:none; cursor:pointer; color:var(--paper); opacity:.75; }

/* Nov 2026 redo (Ric: "the little red dot isn't clear, it overlaps the
   hamburger"). It was a 17px mono pill darkened to brick, and on the burger the
   bar styling (.nav-burger span) leaked into its inner spans and drew a 2px ink
   line straight through the number. Now: brighter, sans, bold, a pop-in and a
   short pulse when it appears or the count goes up, and on the burger a paper
   ring so it reads as a notch cut out of the bars rather than sitting on them. */
.cmty-navbadge { --cmty-badge:color-mix(in oklab, var(--accent) 88%, #000); position:relative; display:inline-flex; align-items:center; justify-content:center; min-width:18px; height:18px; padding:0 5px; margin-left:7px; border-radius:999px; background:var(--cmty-badge); color:#fff; font-family:var(--sans); font-size:11px; font-weight:700; line-height:1; letter-spacing:0; text-transform:none; font-variant-numeric:tabular-nums; vertical-align:middle; box-shadow:0 1px 2px rgba(0,0,0,.2); animation:cmtyBadgeIn .38s cubic-bezier(.2,1.5,.4,1) both; }

.cmty-navbadge::after { content:""; position:absolute; inset:0; border-radius:inherit; pointer-events:none; animation:cmtyBadgePulse 1.6s ease-out .45s 3; }

.cmty-navbadge-new { display:none; }

@media (prefers-reduced-motion: reduce) {
.cmty-navbadge, .cmty-navbadge::after { animation:none; }
}

/* Top-right of the 44px target, ringed in the bar's own paper so it notches
   the top bar cleanly instead of colliding with it. */
.nav-burger .cmty-navbadge { position:absolute; top:1px; right:-1px; margin:0; display:inline-flex; width:auto; height:18px; background:var(--cmty-badge); border-radius:999px; transition:none; box-shadow:0 0 0 2.5px var(--paper), 0 2px 6px rgba(0,0,0,.22); }

body[data-dark] .nav-burger .cmty-navbadge { box-shadow:0 0 0 2.5px var(--ink), 0 2px 6px rgba(0,0,0,.4); }

@media (max-width: 960px) {
.topnav .links > a:has(.cmty-navbadge) { display:flex; align-items:center; }
.topnav .links .cmty-navbadge { margin-left:auto; height:24px; padding:0 10px; font-size:12px; }
.topnav .links .cmty-navbadge-new { display:inline; font-weight:600; white-space:pre; }
}

.cmty-inbox { border:1px solid var(--ink); border-radius:12px; background:#fff; padding:14px 16px; margin-bottom:16px; }

.cmty-inbox h2 { font-family:var(--serif); font-weight:400; font-size:19px; margin:0 0 6px; }

/* Collectors who share your records (17 Oct 2026) */
.cmty-twins { border:1px solid var(--rule); border-radius:12px; background:#fff; padding:14px 16px; margin-bottom:16px; }

.cmty-twins h2 { font-family:var(--serif); font-weight:400; font-size:19px; margin:0 0 8px; }

.cmty-twins-list { list-style:none; margin:0; padding:0; }

.cmty-twins-list > li { display:flex; align-items:center; gap:10px; padding:8px 0; border-top:1px solid var(--rule); }

.cmty-twins-list > li:first-child { border-top:0; }

.cmty-twin { flex:1; min-width:0; display:flex; align-items:center; gap:10px; background:none; border:0; padding:0; font:inherit; color:inherit; text-align:left; cursor:pointer; }

.cmty-twin-av { flex:none; }

.cmty-twin-txt { min-width:0; display:flex; flex-direction:column; }

.cmty-twin-txt b { font-weight:600; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }

.cmty-twin-txt .cmty-meta { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }

/* Follow or mute a conversation (17 Oct 2026) */
.cmty-sub { margin:8px 0 0; font-size:13px; color:var(--ink-mute); }

.cmty-sub .cmty-link { margin-top:0; }

.cmty-inbox .cmty-link { margin-top:8px; }

/* ============================================================
   Community, visual pass (11 Oct 2026): the dark stat band, a moving wall of
   fresh sleeves, cover mosaics, a level-up ribbon, genre-mix bars, entrances
   and a live "new activity" pill. All motion is off under reduced motion.
   ============================================================ */
.cmty-stats { margin:0 0 18px; }

.cmty-pulse { display:inline-block; width:8px; height:8px; border-radius:50%; background:var(--accent); box-shadow:0 0 0 0 color-mix(in oklab, var(--accent) 60%, transparent); animation:cmty-pulse 2s ease-out infinite; }

.cmty-wall { margin:0 0 20px; }

.cmty-wall-wait { min-height:142px; }

.cmty-wall-h { display:flex; align-items:center; gap:9px; font-family:var(--mono); font-weight:500; font-size:11px; letter-spacing:.1em; text-transform:uppercase; color:var(--ink-2); margin:0 0 10px; }

.cmty-wall-view { overflow:hidden; margin:0 -18px; padding:4px 18px 10px; -webkit-mask-image:linear-gradient(90deg, transparent, #000 28px, #000 calc(100% - 28px), transparent); mask-image:linear-gradient(90deg, transparent, #000 28px, #000 calc(100% - 28px), transparent); }

.cmty-wall-track { display:flex; gap:10px; width:max-content; animation:cmty-wall calc(var(--n) * 3.2s) linear infinite; }

/* Under a pointer, or a finger held down: on a touch screen there was no way to stop it. */
.cmty-wall-view:hover .cmty-wall-track, .cmty-wall-view:active .cmty-wall-track { animation-play-state:paused; }

.cmty-wall-t:hover, .cmty-wall-t:focus-visible { transform:translateY(-4px); }

.cmty-wall-c { position:absolute; left:0; right:0; bottom:0; padding:16px 7px 6px; background:linear-gradient(transparent, rgba(0,0,0,.82)); color:#fff; font-size:10.5px; line-height:1.25; text-align:left; opacity:0; transition:opacity .2s ease; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }

.cmty-wall-c b { display:block; font-weight:600; overflow:hidden; text-overflow:ellipsis; }

.cmty-wall-t:hover .cmty-wall-c, .cmty-wall-t:focus-visible .cmty-wall-c { opacity:1; }

/* `backwards`, not `both`: a forwards fill keeps the last keyframe's transform
   on the element for good, which outranks every normal rule, so the tile's hover
   lift could never apply (QA, 11 Oct 2026). */
.cmty-in { animation:cmty-in .45s cubic-bezier(.2,.7,.2,1) backwards; animation-delay:calc(var(--i, 0) * 55ms); }

.cmty-tile:hover { transform:translateY(-3px); box-shadow:0 14px 30px rgba(0,0,0,.09); }

.cmty-post:hover { box-shadow:0 8px 22px rgba(0,0,0,.06); }

.cmty-one.big { gap:16px; }

.cmty-one.big .cmty-one-t { font-size:21px; }

.cmty-post.milestone { border-color:#c69a3e; overflow:hidden; }

.cmty-ribbon { margin:-16px -16px 14px; padding:7px 16px; background:linear-gradient(90deg, #2a2016, #14110d); color:#f3e8cf; font-family:var(--mono); font-size:11px; letter-spacing:.1em; text-transform:uppercase; }

.cmty-ribbon span { color:#c69a3e; margin-right:4px; }

.cmty-tiermove { display:inline-flex; align-items:center; gap:6px; flex:none; font-size:11px; color:var(--ink-mute); }

.cmty-tier-from { font-family:var(--mono); letter-spacing:.06em; text-transform:uppercase; font-size:10px; text-decoration:line-through; }

.cmty-like.on > span:first-child { display:inline-block; animation:cmty-pop .35s cubic-bezier(.3,1.6,.5,1); }

.cmty-fresh { position:sticky; top:calc(var(--nav-h) + 10px); z-index:5; display:flex; align-items:center; gap:9px; margin:0 auto 10px; padding:8px 16px; font:inherit; font-size:13px; font-weight:600; color:var(--paper); background:var(--ink); border:none; border-radius:99px; cursor:pointer; box-shadow:0 8px 22px rgba(0,0,0,.18); animation:cmty-in .35s ease both; }

.cmty-mix-bar { display:flex; height:7px; border-radius:99px; overflow:hidden; background:var(--rule); }

.cmty-mix-bar span { display:block; height:100%; }

.cmty-mix-bar span + span { box-shadow:-1px 0 0 #fff; }

.cmty-mix-key { display:flex; gap:12px; flex-wrap:wrap; margin-top:6px; font-size:11.5px; color:var(--ink-mute); }

.cmty-mix-key i { display:inline-block; width:7px; height:7px; border-radius:50%; margin-right:5px; vertical-align:1px; }

.cmty-tile .cmty-desc { min-height:2.9em; }

@media (max-width: 560px) {
.cmty-stats .lb-stat-n { font-size:22px; }
.cmty-stats .lb-stat-hero .lb-stat-n { font-size:30px; }
.cmty-one.big { align-items:flex-start; }
.cmty-tiermove .cmty-tier-from { display:none; }
}

@media (prefers-reduced-motion: reduce) {
.cmty-in, .cmty-fresh, .cmty-pulse, .cmty-like.on > span:first-child { animation:none; }
.cmty-wall-track { animation:none; }
.cmty-wall-view { overflow-x:auto; }
.cmty-wall-t[aria-hidden="true"] { display:none; }
.cmty-tile:hover, .cmty-wall-t:hover { transform:none; }
}

.cmty-post.slim { display:flex; align-items:center; gap:14px; padding:12px 16px; }

.cmty-post.slim > :first-child { flex:none; }

.cmty-slim-end { display:flex; flex-direction:column; align-items:flex-end; gap:8px; flex:none; }

@media (max-width: 560px) {
.cmty-post.slim { align-items:flex-start; }
}

/* The box a sleeve sits in, and what the cover-lookup observer watches. */
.cmty-sv { display:block; line-height:0; }

.cmty-vh { position:absolute; width:1px; height:1px; margin:-1px; padding:0; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; border:0; }

/* The focus ring is drawn inside a tab: the strip clips anything outside it. */
.cmty-tabs a.cmty-tab:focus-visible { outline-offset:-3px; }

/* Thumb-sized: Like was 44x16 and "View shelf" 62x16 on a phone. */
.cmty-acts .cmty-like, .cmty-acts .cmty-link, .cmty-slim-end .cmty-like { display:inline-flex; align-items:center; min-height:32px; padding:0 2px; }

/* A reload keeps the posts on screen, dimmed, until the new ones arrive. */
.cmty-list { transition:opacity .15s ease; }

.cmty-list.is-swapping { opacity:.45; pointer-events:none; }

@media (prefers-reduced-motion: reduce) {
.cmty-list { transition:none; }
}

/* An avatar that is a record's cover or a drawn label fills its circle. */
.cmty-av { position:relative; }

.cmty-av.cover, .cmty-av.label { border:none; overflow:hidden; padding:0; }

.cmty-av.label { background:var(--paper-2); }

/* The picture sits over the initials and fades in when it has loaded. */
.cmty-av img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; border-radius:50%; opacity:0; transition:opacity .2s ease; }

.cmty-av img.on { opacity:1; }

@media (prefers-reduced-motion: reduce) {
.cmty-av img { transition:none; }
}

.cmty-av.label svg { display:block; }

.cmty-owners-av .cmty-av.cover, .cmty-owners-av .cmty-av.label { border:2px solid #fff; outline:none; }

/* The same picture as the label of a record, for the top of a profile. */
.cmty-disc { position:relative; display:inline-flex; align-items:center; justify-content:center; flex:none; border-radius:50%;
  background:repeating-radial-gradient(circle at 50% 50%, #15110d 0 1.5px, #262019 1.5px 3px);
  box-shadow:0 14px 30px -10px rgba(0,0,0,.45), inset 0 0 0 1px #000; }

.cmty-disc::after { content:""; position:absolute; inset:0; border-radius:50%; pointer-events:none;
  background:conic-gradient(from 20deg, transparent 0 12%, rgba(255,255,255,.11) 16%, transparent 22% 62%, rgba(255,255,255,.08) 66%, transparent 72%); }

.cmty-disc > .cmty-av { box-shadow:0 0 0 2px #0d0b09; }

/* The spindle hole sits on a sleeve, not on lettering: over initials or a
   drawn label it landed in the middle of the letters ("R.D"). */
.cmty-disc > .cmty-av:not(.cover) + i { display:none; }

.cmty-disc > i { position:absolute; width:5%; height:5%; min-width:5px; min-height:5px; border-radius:50%; background:var(--paper); box-shadow:0 0 0 1px rgba(0,0,0,.45); z-index:1; }

.pubcol-hero { display:flex; align-items:center; gap:22px; margin:2px 0 20px; }

.pubcol-pic { display:flex; flex-direction:column; align-items:center; gap:8px; flex:none; }

/* A bare 13px link is a 16px target; these are the only way in and out of the chooser. */
.pubcol-pic .cmty-link { font-size:12.5px; }

.pubcol-pic .cmty-link, .cmty-avp-foot .cmty-link { display:inline-flex; align-items:center; min-height:32px; padding:0 2px; }

.pubcol-id { min-width:0; flex:1; }

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

.pubcol-active { white-space:nowrap; }

.pubcol-hero .lb-title { font-size:38px; line-height:1.05; margin:4px 0 8px; overflow-wrap:anywhere; }

.pubcol-level { margin-bottom:12px; }

.pubcol-level .mc-lvl-chip { font-size:13px; }

.pubcol-actions { display:flex; align-items:center; gap:14px; flex-wrap:wrap; }

.pubcol-actions .cmty-like { min-height:32px; }

/* .mc-invite brings a top margin from the old layout, and an owner with no
   likes has an empty span where the like count would be: both pushed the
   Share button low and to the right. */
.pubcol-actions .mc-invite { margin-top:0; }

.pubcol-actions > span:empty { display:none; }

.pubcol-actions .cmty-follow { padding:7px 20px; font-size:13.5px; }

.pubcol-band { margin:0 0 16px; }

.pubcol-band .lb-stat-n small { font-size:.5em; font-weight:700; opacity:.6; margin-left:1px; }

/* Six figures since following joined followers (23 Oct 2026): the value takes
   a wider column, so a six-figure shelf still fits on one line. */
.lb-stats.pubcol-band { grid-template-columns:minmax(0, 1.6fr) repeat(5, minmax(0, 1fr)); }

.pubcol-band .lb-stat-hero { display:flex; flex-direction:column; align-items:center; justify-content:center; }

/* The owner's day, under their value (MyCollectionV2.jsx). */
.pubcol-band-note { font-family:var(--mono, ui-monospace); font-size:10px; letter-spacing:.08em; text-transform:uppercase; margin-top:7px; color:rgba(243,237,225,.58); font-variant-numeric:tabular-nums; }

.pubcol-band-note .up { color:oklch(0.78 0.13 150); }

.pubcol-band-note .down { color:oklch(0.74 0.14 28); }

@media (max-width:680px) {
.lb-stats.pubcol-band { grid-template-columns:repeat(5, minmax(0, 1fr)); }
}

@media (max-width:400px) {
.lb-stats.pubcol-band .lb-stat:not(.lb-stat-hero) { padding:11px 2px; }
.lb-stats.pubcol-band .lb-stat:not(.lb-stat-hero) .lb-stat-n { font-size:16px; }
.lb-stats.pubcol-band .lb-stat-l { font-size:8.5px; letter-spacing:.04em; }
}

.cmty-avp { max-width:560px; }

.cmty-avp .av2-body { padding:16px 18px 6px; }

.cmty-avp-top { display:flex; align-items:center; gap:18px; margin-bottom:6px; }

.cmty-avp-top p { margin:0; font-family:var(--body-serif); font-size:15px; line-height:1.45; color:var(--ink-2); }

.cmty-avp-h { font-family:var(--mono); font-weight:500; font-size:11px; letter-spacing:.1em; text-transform:uppercase; color:var(--ink-mute); margin:18px 0 10px; }

.cmty-avp-grid { display:grid; grid-template-columns:repeat(auto-fill, minmax(104px, 1fr)); gap:8px; }

.cmty-avp-labels { display:grid; grid-template-columns:repeat(6, minmax(0, 1fr)); gap:6px; }

.cmty-avp-opt { display:flex; flex-direction:column; align-items:center; gap:6px; padding:10px 6px; font:inherit; text-align:center; background:#fff; border:1px solid var(--rule); border-radius:10px; cursor:pointer; color:var(--ink); min-width:0; }

.cmty-avp-opt:hover { border-color:var(--ink-mute); }

.cmty-avp-opt.on, .cmty-avp-row.on { border-color:var(--ink); box-shadow:inset 0 0 0 1px var(--ink); }

.cmty-avp-t { font-size:12.5px; font-weight:600; line-height:1.2; max-width:100%; overflow:hidden; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; }

.cmty-avp-opt .cmty-meta { font-size:11px; line-height:1.25; }

.cmty-avp-q { width:100%; box-sizing:border-box; padding:10px 12px; font:inherit; font-size:16px; border:1px solid var(--rule); border-radius:8px; background:#fff; }

.cmty-avp-row { display:flex; align-items:center; gap:10px; width:100%; margin-top:6px; padding:7px 10px; font:inherit; font-size:14px; text-align:left; background:#fff; border:1px solid var(--rule); border-radius:8px; cursor:pointer; color:var(--ink); }

.cmty-avp-hues { display:flex; flex-wrap:wrap; gap:8px; margin-bottom:10px; }

.cmty-avp-hue { width:32px; height:32px; border-radius:50%; border:2px solid #fff; box-shadow:0 0 0 1px var(--rule); cursor:pointer; padding:0; }

.cmty-avp-hue.on { box-shadow:0 0 0 2px var(--ink); }

/* In the footer, beside Save: at the foot of the scrolling body it was off screen. */
.cmty-avp-err { flex:0 0 100%; color:color-mix(in oklab, var(--accent) 76%, #000); font-size:13.5px; margin:0 0 2px; }

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

.cmty-avp-foot .cmty-follow { padding:9px 26px; font-size:14px; }

.cmty-avp-foot .cmty-follow:disabled { opacity:.4; cursor:default; }

@media (max-width: 560px) {
.pubcol-hero { gap:14px; align-items:flex-start; }
.pubcol-hero .cmty-disc { width:84px !important; height:84px !important; }
.pubcol-hero .cmty-disc > .cmty-av { width:54px !important; height:54px !important; font-size:18px !important; }
.pubcol-hero .lb-title { font-size:28px; }
.cmty-avp-labels { grid-template-columns:repeat(3, minmax(0, 1fr)); }
.cmty-avp-top { align-items:flex-start; }
/* The level list is 250px wide and opened from the badge, which now starts
     beside the picture: it ran off a 320px screen. Hang it from the header. */
  .pubcol-hero { position:relative; }
.pubcol-level .mc-lvl { position:static; }
}

/* ============================================================
   Comments on the feed (12 Oct 2026)
   components/Community.jsx: useCmtyTalk, CmtyComment. The thread sits under a
   post's footer; the feed's own last two comments show before it is opened.
   ============================================================ */
.cmty-acts-l { display:inline-flex; align-items:center; gap:16px; }

.cmty-talk-btn { display:inline-flex; align-items:center; gap:6px; min-height:32px; padding:0 2px; font:inherit; font-size:13.5px; color:var(--ink-2); background:none; border:none; cursor:pointer; }

.cmty-talk-btn:hover, .cmty-talk-btn.on { color:color-mix(in oklab, var(--accent) 76%, #000); }

.cmty-bubble { flex:none; }

.cmty-talk { margin-top:10px; padding-top:12px; border-top:1px solid var(--rule); }

/* The one-line market post is a row; its thread takes the row beneath. */
.cmty-post.slim { flex-wrap:wrap; }

.cmty-post.slim > .cmty-talk { flex:0 0 100%; margin-top:0; }

.cmty-slim-end .cmty-acts-l { gap:12px; }

.cmty-cs { list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:12px; }

.cmty-c { display:flex; gap:10px; align-items:flex-start; }

.cmty-c-main { min-width:0; flex:1; }

.cmty-c-head { display:flex; align-items:baseline; gap:8px; flex-wrap:wrap; font-size:14px; }

.cmty-c-body { margin:2px 0 0; font-size:14.5px; line-height:1.45; color:var(--ink); white-space:pre-wrap; overflow-wrap:anywhere; }

.cmty-c-acts { display:flex; flex-wrap:wrap; gap:4px 14px; margin-top:1px; }

.cmty-c-acts .cmty-link { font-size:12px; color:var(--ink-mute); display:inline-flex; align-items:center; min-height:28px; }

.cmty-c-acts .cmty-link:hover { color:var(--accent); }

.cmty-talk-all { display:inline-flex; align-items:center; min-height:32px; margin-bottom:6px; }

.cmty-say { margin-top:12px; }

/* 16px, or iOS zooms the page when the box is tapped. */
.cmty-say textarea { display:block; width:100%; box-sizing:border-box; min-height:44px; padding:10px 12px; font:inherit; font-size:16px; line-height:1.4; color:var(--ink); background:#fff; border:1px solid var(--rule); border-radius:10px; resize:vertical; }

.cmty-say textarea:focus-visible { outline:2px solid var(--accent); outline-offset:1px; }

.cmty-say-row { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-top:8px; }

.cmty-say-row .cmty-follow { padding:7px 22px; font-size:13.5px; }

.cmty-say-row .cmty-follow:disabled { opacity:.4; cursor:default; }

.cmty-say-err { margin:8px 0 0; font-size:13.5px; color:color-mix(in oklab, var(--accent) 76%, #000); }

.cmty-say-out { margin:12px 0 0; font-size:14px; color:var(--ink-2); }

/* A post opened from the inbox or an email, above the feed. */
.cmty-focus { margin:0 0 6px; scroll-margin-top:80px; }

.cmty-focus-h { display:flex; align-items:center; gap:12px; }

.cmty-focus-h .cmty-day { flex:1; margin-top:8px; }

.cmty-focus-h .cmty-link { flex:none; display:inline-flex; align-items:center; min-height:32px; }

.cmty-focus .cmty-post { border-color:var(--ink); }

.cmty-inbox-q { display:block; font-family:var(--body-serif); font-style:italic; font-weight:400; color:var(--ink-2); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }

/* ============================================================
   Usernames (12 Oct 2026)
   The line on My Collection that replaced the visibility switch, the identity
   cards in Account settings, the real name beneath a username, sign-up hints.
   ============================================================ */
.v2-who { margin-top:14px; max-width:560px; font-size:13.5px; line-height:1.5; color:var(--ink-2); }

.v2-who b { color:var(--ink); font-weight:600; overflow-wrap:anywhere; }

.pubcol-real { font-size:15px; color:var(--ink-2); margin:-4px 0 8px; overflow-wrap:anywhere; }

.cmty-tile-real { display:block; font-size:12.5px; color:var(--ink-2); overflow-wrap:anywhere; }

/* Comments, after the review of 12 Oct 2026 */
.cmty-c-body { overflow:hidden; }

/* stacked marks and oversized glyphs stay in their line */
.cmty-c-acts .cmty-link { font-size:12.5px; color:var(--ink-2); }

/* ink-mute at 12px was 3.3:1 */
.cmty-c-ask { display:inline-flex; align-items:center; gap:8px; font-size:12.5px; color:var(--ink-2); }

/* "Yes" and "No" were two 15px words a space apart, beside an unconfirmed Report. */
.cmty-c-yn { font:inherit; font-size:12.5px; min-width:44px; min-height:32px; padding:0 10px; border:1px solid var(--rule); border-radius:99px; background:#fff; color:var(--ink); cursor:pointer; }

.cmty-c-yn:hover { border-color:var(--ink); }

.cmty-c-yn:disabled { opacity:.5; cursor:default; }

/* Empty, it takes no room, but it stays IN the page: a status region that is
   display:none until it has words is not reliably announced when they arrive. */
.cmty-talk-said { margin:0; }

.cmty-talk-said:not(:empty) { margin-top:8px; }

.cmty-focus-h .cmty-day:focus { outline:none; }

.cmty-talk-all:disabled { opacity:.6; cursor:default; }

@media (max-width: 420px) {
.cmty-post.slim .cmty-slim-end { flex:0 0 100%; flex-direction:row; align-items:center; justify-content:space-between; }
}

/* "Remove this comment? Yes No" on a narrow phone. */
.cmty-c-ask { flex-wrap:wrap; }

/* The ring: gold for a Grail on the shelf, the Rare red for a Rare. A shadow,
   not a border, so no avatar changes size and the owner stacks still overlap. */
.cmty-av.ring-grail, .cmty-av.ring-rare { --ring-gap:#fff; }

.cmty-av.ring-grail { box-shadow:0 0 0 2px var(--ring-gap), 0 0 0 4px #c9a227, 0 0 10px 3px rgba(201,162,39,.25); }

.cmty-av.ring-rare  { box-shadow:0 0 0 2px var(--ring-gap), 0 0 0 4px var(--accent); }

.cmty-owners-av .cmty-av.ring-grail, .cmty-owners-av .cmty-av.ring-rare { box-shadow:0 0 0 2px #c9a227; }

.cmty-owners-av .cmty-av.ring-rare { box-shadow:0 0 0 2px var(--accent); }

.cmty-disc.ring-grail { box-shadow:0 0 0 3px var(--paper), 0 0 0 7px #c9a227, 0 0 22px 6px rgba(201,162,39,.3); }

.cmty-disc.ring-rare  { box-shadow:0 0 0 3px var(--paper), 0 0 0 7px var(--accent); }

.cmty-disc > .cmty-av.photo { box-shadow:none; }

.cmty-disc > .cmty-av.photo + i { display:none; }

.cmty-av.photo { overflow:hidden; border:none; }

/* A day's records, each one a button. Scrolls sideways; a phone shows three. */
.cmty-recs { list-style:none; display:flex; gap:12px; margin:14px -16px 0; padding:2px 16px 6px; overflow-x:auto; scroll-snap-type:x proximity; scroll-padding-inline:16px; scrollbar-width:thin; overscroll-behavior-x:contain; }

.cmty-recs > li { flex:none; scroll-snap-align:start; }

.cmty-rec { display:flex; flex-direction:column; align-items:flex-start; gap:6px; width:116px; padding:0; font:inherit; text-align:left; background:none; border:none; color:var(--ink); cursor:pointer; }

.cmty-rec .cmty-sv { transition:transform .2s ease; }

.cmty-rec:hover .cmty-sv { transform:translateY(-2px); }

.cmty-rec-t { font-size:13px; font-weight:600; line-height:1.25; max-width:100%; overflow:hidden; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; }

.cmty-rec-a { font-size:12px; color:var(--ink-mute); line-height:1.25; max-width:100%; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }

.cmty-rec-more { justify-content:center; align-items:center; height:116px; border:1px dashed var(--rule); border-radius:6px; text-align:center; }

.cmty-rec-more .cmty-rec-a { white-space:normal; }

.cmty-rec-n { font-family:var(--serif); font-size:26px; line-height:1; }

.cmty-rec:focus-visible, .cmty-one-open:focus-visible, .cmty-gal-i:focus-visible, .cmty-up-rec:focus-visible { outline:2px solid var(--accent); outline-offset:3px; border-radius:6px; }

.cmty-one-open { padding:0; border:none; background:none; cursor:pointer; }

.cmty-one-btn { display:block; padding:0; border:none; background:none; color:var(--ink); cursor:pointer; text-align:left; font-family:var(--body-serif); }

.cmty-one-btn:hover { text-decoration:underline; text-underline-offset:3px; }

@media (prefers-reduced-motion: reduce) {
.cmty-rec .cmty-sv { transition:none; }
}

/* A record, opened. */
.cmty-rs { position:relative; max-width:440px; overflow:auto; }

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

.cmty-rs-x { position:absolute; top:10px; right:10px; z-index:2; }

.cmty-rs-cover { display:flex; justify-content:center; padding:28px 20px 6px; background:var(--paper-2, #ebe4d4); }

.cmty-rs-body { padding:16px 22px 22px; }

.cmty-rs-t { font-family:var(--serif); font-weight:400; font-size:26px; line-height:1.1; margin:0 0 4px; overflow-wrap:anywhere; }

.cmty-rs-a { font-size:15px; color:var(--ink-2); }

.cmty-rs-v { margin-top:12px; font-size:18px; }

.cmty-rs-who { display:flex; align-items:center; gap:8px; margin-top:12px; font-size:14px; color:var(--ink-2); }

.cmty-rs-go { display:flex; flex-wrap:wrap; gap:8px; margin-top:18px; }

.cmty-rs-go .cmty-follow { padding:9px 18px; font-size:14px; }

@media (max-width: 560px) {
.cmty-rs-back { align-items:flex-end; padding:0; }
.cmty-rs { max-width:none; border-radius:16px 16px 0 0; max-height:92vh; }
}

/* Comment likes and replies. */
.cmty-like.small { font-size:12.5px; gap:4px; min-height:28px; }

.cmty-like.small.mine { font-size:12px; }

.cmty-replies { margin-top:10px; padding-left:2px; gap:10px; }

.cmty-replies .cmty-c .cmty-av { width:24px !important; height:24px !important; font-size:9px !important; }

.cmty-c-more { font-size:12.5px; margin-top:4px; display:inline-flex; align-items:center; min-height:28px; color:var(--ink-2); }

.cmty-say-to { display:flex; align-items:center; justify-content:space-between; gap:10px; margin-bottom:6px; padding:6px 10px; font-size:13px; color:var(--ink-2); background:var(--paper); border-radius:8px; }

.cmty-say-to .cmty-link { font-size:12.5px; min-height:28px; display:inline-flex; align-items:center; }

/* A collector's post. */
.cmty-up-k { display:inline-block; margin-left:8px; padding:1px 8px; font-size:11.5px; font-weight:500; letter-spacing:.02em; color:var(--ink-2); border:1px solid var(--rule); border-radius:99px; vertical-align:2px; }

.cmty-up-text { margin:12px 0 0; font-family:var(--body-serif); font-size:16.5px; line-height:1.5; color:var(--ink); white-space:pre-wrap; overflow-wrap:anywhere; }

.cmty-up-text.clip { max-height:9em; overflow:hidden; -webkit-mask-image:linear-gradient(#000 70%, transparent); mask-image:linear-gradient(#000 70%, transparent); }

.cmty-up-more { display:inline-flex; align-items:center; min-height:30px; }

.cmty-gal { display:grid; gap:4px; margin-top:12px; border-radius:10px; overflow:hidden; }

.cmty-gal.n1 { grid-template-columns:1fr; }

.cmty-gal.n2 { grid-template-columns:1fr 1fr; aspect-ratio:2 / 1.1; }

.cmty-gal.n3 { grid-template-columns:2fr 1fr; grid-template-rows:1fr 1fr; aspect-ratio:3 / 2; }

.cmty-gal.n3 > :first-child { grid-row:1 / 3; }

.cmty-gal.n4 { grid-template-columns:1fr 1fr; grid-template-rows:1fr 1fr; aspect-ratio:1 / 1; }

.cmty-gal-i { position:relative; display:block; padding:0; border:none; background:var(--paper-2, #ebe4d4); cursor:zoom-in; min-height:0; overflow:hidden; }

.cmty-gal-i img { display:block; width:100%; height:100%; object-fit:cover; }

.cmty-gal.n1 .cmty-gal-i { aspect-ratio:var(--ar, 4 / 3); max-height:560px; }

.cmty-gal.n1 .cmty-gal-i img { object-fit:cover; }

.cmty-vid { margin-top:12px; border-radius:10px; overflow:hidden; background:#000; display:flex; justify-content:center; }

.cmty-vid video { display:block; width:100%; max-height:70vh; aspect-ratio:var(--ar, 16 / 9); object-fit:contain; background:#000; }

.cmty-up-rec { display:flex; align-items:center; gap:12px; width:100%; margin-top:12px; padding:8px 12px 8px 8px; font:inherit; text-align:left; background:var(--paper); border:1px solid var(--rule); border-radius:10px; cursor:pointer; color:var(--ink); }

.cmty-up-rec:hover { border-color:var(--ink-mute); }

.cmty-up-rec-t { flex:1; min-width:0; display:flex; flex-direction:column; font-size:14px; line-height:1.3; }

.cmty-up-rec-t b { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }

.cmty-up-rec-go { font-size:22px; color:var(--ink-mute); }

.cmty-up-end { display:inline-flex; align-items:center; }

.cmty-up-end .cmty-link { font-size:12.5px; color:var(--ink-2); display:inline-flex; align-items:center; min-height:32px; }

.cmty-post-gone { padding:12px 16px; background:transparent; border-style:dashed; }

.cmty-post-gone p { margin:0; }

/* Photos full screen. */
.cmty-mv { position:fixed; inset:0; z-index:600; background:rgba(10,8,6,.94); display:flex; align-items:center; justify-content:center; padding:48px 12px; }

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

.cmty-mv-m { max-width:100%; max-height:100%; object-fit:contain; border-radius:4px; }

.cmty-mv button { position:absolute; display:flex; align-items:center; justify-content:center; width:44px; height:44px; font-size:30px; line-height:1; color:#fff; background:rgba(255,255,255,.12); border:none; border-radius:50%; cursor:pointer; }

.cmty-mv button:hover { background:rgba(255,255,255,.24); }

.cmty-mv button:focus-visible { outline:2px solid #fff; outline-offset:2px; }

.cmty-mv-x { top:12px; right:12px; }

.cmty-mv-p { left:12px; top:50%; transform:translateY(-50%); }

.cmty-mv-n { right:12px; top:50%; transform:translateY(-50%); }

.cmty-mv-c { position:absolute; bottom:16px; left:50%; transform:translateX(-50%); color:#fff; font-family:var(--mono); font-size:12px; opacity:.8; }

/* Writing a post. */
.cmty-cmp { background:#fff; border:1px solid var(--rule); border-radius:12px; padding:12px 14px; margin:0 0 16px; }

.cmty-cmp.open { border-color:var(--ink); }

.cmty-cmp-fake { display:block; width:100%; padding:11px 14px; font:inherit; font-size:15px; text-align:left; color:var(--ink-mute); background:var(--paper); border:1px solid var(--rule); border-radius:99px; cursor:text; }

.cmty-cmp-fake:hover { border-color:var(--ink-mute); }

.cmty-cmp-fake:disabled { cursor:default; }

.cmty-cmp-ta { display:block; width:100%; box-sizing:border-box; min-height:96px; padding:10px 12px; font-family:var(--body-serif); font-size:16.5px; line-height:1.45; color:var(--ink); background:#fff; border:1px solid var(--rule); border-radius:10px; resize:vertical; }

.cmty-cmp-ta:focus-visible { outline:2px solid var(--accent); outline-offset:1px; }

.cmty-cmp-prompts { display:flex; gap:6px; margin-top:10px; overflow-x:auto; scrollbar-width:none; padding-bottom:2px; }

.cmty-cmp-prompts::-webkit-scrollbar { display:none; }

.cmty-cmp-prompts .cmty-chip { flex:none; }

.cmty-cmp-files { list-style:none; display:flex; flex-wrap:wrap; gap:8px; margin:12px 0 0; padding:0; }

.cmty-cmp-files li { position:relative; width:88px; height:88px; border-radius:8px; overflow:hidden; background:var(--paper-2, #ebe4d4); }

.cmty-cmp-files img, .cmty-cmp-files video { width:100%; height:100%; object-fit:cover; display:block; }

.cmty-cmp-dur { position:absolute; left:6px; bottom:6px; padding:1px 6px; font-size:11px; color:#fff; background:rgba(0,0,0,.6); border-radius:4px; }

.cmty-cmp-x { position:absolute; top:4px; right:4px; width:28px; height:28px; display:flex; align-items:center; justify-content:center; font-size:18px; line-height:1; color:#fff; background:rgba(0,0,0,.6); border:none; border-radius:50%; cursor:pointer; }

.cmty-cmp-rec { position:relative; display:flex; align-items:center; gap:10px; margin-top:12px; padding:8px 44px 8px 8px; font-size:14px; background:var(--paper); border:1px solid var(--rule); border-radius:10px; }

.cmty-cmp-rec .cmty-cmp-x { top:50%; transform:translateY(-50%); right:8px; background:var(--ink); }

.cmty-cmp-find { margin-top:12px; }

.cmty-cmp-bar { display:flex; align-items:center; justify-content:space-between; gap:10px; flex-wrap:wrap; margin-top:12px; padding-top:10px; border-top:1px solid var(--rule); }

.cmty-cmp-tools, .cmty-cmp-go { display:inline-flex; align-items:center; gap:6px; flex-wrap:wrap; }

.cmty-cmp-go { gap:14px; margin-left:auto; }

.cmty-cmp-tool { display:inline-flex; align-items:center; gap:6px; min-height:36px; padding:0 12px; font:inherit; font-size:13.5px; color:var(--ink-2); background:transparent; border:1px solid var(--rule); border-radius:99px; cursor:pointer; }

.cmty-cmp-tool:hover:not(:disabled) { border-color:var(--ink); color:var(--ink); }

.cmty-cmp-tool:disabled { opacity:.45; cursor:default; }

.cmty-cmp-go .cmty-follow { padding:8px 24px; font-size:14px; }

.cmty-cmp-go .cmty-follow:disabled { opacity:.4; cursor:default; }

/* The header on My collection, and the username edited in place. */
.mc-profile { margin:0 0 6px; }

/* The owner's controls beside their name (23 Oct 2026, Ric): who sees the
   shelf, then Appraisal, Share and Invite in a row, right-aligned so the header
   balances the picture and name on the left. Below the name under 1200px,
   where a long username and the buttons no longer fit side by side (at 1024px
   the name broke over two lines). */
.pubcol-aside { flex:0 1 auto; margin-left:auto; align-self:center; min-width:0; }

.mc-hero-aside { display:flex; flex-direction:column; align-items:flex-end; gap:6px; text-align:right; }

.mc-hero-aside .v2-who { margin-top:0; max-width:420px; }

.mc-hero-btns { display:flex; flex-wrap:wrap; justify-content:flex-end; gap:8px; }

.mc-hero-btns .mc-invite { margin-top:0; }

@media (max-width:1199px) {
.mc-profile .pubcol-hero { flex-wrap:wrap; }
.pubcol-aside { flex:1 1 100%; margin-left:0; }
.mc-hero-aside { flex-direction:row; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:8px 20px; text-align:left; }
.mc-hero-aside .v2-who { max-width:none; }
.mc-hero-btns { justify-content:flex-start; }
}

/* Today's report on its own, full width under the band (23 Oct 2026, Ric). */
.ti-reveal.ti-reveal-cta { display:flex; width:100%; margin:0 0 18px; padding:15px 20px; border-radius:14px; font-size:12.5px; }

.ti-reveal-cta .ti-reveal-t { flex:1; text-align:left; }

.ti-reveal-cta .ti-reveal-go { font-size:16px; }

/* Under the band the value bar keeps only The Index's lines, what was paid
   and the settings; with neither of the first two, the settings stand alone. */
.mc-valuebar-pill { padding-top:0; }

.mc-valuebar-pill .mc-vb-main > :first-child { margin-top:0; }

.mc-valuebar-pill .mc-vb-main:empty { display:none; }

.mc-valuebar-pill:has(> .mc-vb-main:empty) { grid-template-columns:1fr; }

.mc-profile .pubcol-hero { margin:0 0 18px; }

.pubcol-hero .cmty-av { --ring-gap:var(--paper); }

.pubcol-rename { margin-left:12px; font-family:var(--sans); font-size:13px; vertical-align:middle; display:inline-flex; align-items:center; min-height:32px; }

.pubcol-said { margin:-2px 0 8px; }

.pubcol-follows { display:flex; flex-wrap:wrap; gap:4px 16px; margin:0 0 12px; font-size:14px; color:var(--ink-2); }

.pubcol-follows b { color:var(--ink); font-weight:600; }

/* Each count opens who it counts (18 Oct 2026): beside the name, and the
   band's Followers on someone else's shelf. 32px tall, as the picture links. */
.pubcol-follows .pubcol-fcount { font-size:inherit; color:var(--ink-2); text-decoration:none; line-height:32px; }

.pubcol-follows .pubcol-fcount:hover { color:var(--accent); text-decoration:underline; }

/* Top-aligned like the figures beside it: a button centres its content, so in
   a row made taller by a two-line label its figure sat lower than theirs. */
button.pubcol-stat-btn { border:0; font:inherit; width:100%; cursor:pointer; display:flex; flex-direction:column; align-items:center; justify-content:flex-start; }

button.pubcol-stat-btn > span { display:block; }

/* Inside the band's rounded, clipped box: an outline outside it was cut off. */
.pubcol-band button.pubcol-stat-btn:focus-visible { outline:2px solid var(--accent); outline-offset:-4px; }

button.pubcol-stat-btn:hover .lb-stat-l, button.pubcol-stat-btn:focus-visible .lb-stat-l { color:#f3ede1; text-decoration:underline; text-underline-offset:3px; }

.pubcol-pic .cmty-c-ask { flex-direction:column; text-align:center; }

.pubcol-pic-rep { color:var(--ink-mute) !important; font-size:12px !important; }

.cmty-uname { display:flex; flex-wrap:wrap; align-items:center; gap:8px 10px; margin:6px 0 10px; }

.cmty-uname input { flex:1 1 220px; min-width:0; max-width:340px; padding:9px 12px; font:inherit; font-size:18px; border:1px solid var(--ink); border-radius:8px; background:#fff; }

.cmty-uname .cmty-follow { padding:8px 20px; font-size:14px; }

.cmty-uname .cmty-follow:disabled { opacity:.4; cursor:default; }

.cmty-uname-hint { flex:0 0 100%; font-size:13px; }

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

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

/* A collector's activity on their shelf, and on My collection. */
.cmty-act { max-width:780px; margin:8px 0 28px; }

.cmty-act-head { display:flex; align-items:baseline; justify-content:space-between; gap:12px; margin:0 0 12px; }

.cmty-act-h { font-family:var(--serif); font-weight:400; font-size:26px; margin:0; }

.cmty-act .cmty-empty { padding:10px 0 18px; }

.mc-activity { scroll-margin-top:120px; }

/* On My collection the activity runs the page's full width, as the header,
   the front ten and the shelf do (Ric, 23 Oct 2026); the 780px cap is the
   public shelf's own column, which is that wide anyway. */
.mc-activity .cmty-act { max-width:none; }

.cmty-avp-photo { display:flex; align-items:center; gap:14px; }

.cmty-avp-photo .cmty-avp-up { flex:none; width:120px; }

.cmty-avp-photo .cmty-meta { margin:0; line-height:1.4; }

@media (max-width: 560px) {
.cmty-cmp { padding:12px; }
.cmty-cmp-go { margin-left:0; width:100%; justify-content:flex-end; }
.cmty-gal.n1 .cmty-gal-i { max-height:440px; }
.cmty-act-h { font-size:22px; }
.pubcol-rename { margin-left:8px; }
.cmty-avp-photo { flex-direction:column; align-items:flex-start; }
}

/* A line under the picture (reported, removed) wraps in the picture's own
   width: unwrapped it pushed the name into a column one word wide on a phone. */
.pubcol-pic > .cmty-meta, .pubcol-pic .cmty-c-ask { max-width:132px; text-align:center; line-height:1.35; }

@media (max-width: 560px) {
.pubcol-hero .cmty-disc > .cmty-av.photo { width:76px !important; height:76px !important; }
.pubcol-pic > .cmty-meta, .pubcol-pic .cmty-c-ask { max-width:96px; font-size:11.5px; }
.cmty-up .cmty-who { align-items:flex-start; }
}

.pubcol-ring { display:inline-flex; align-items:center; margin-left:8px; padding:3px 10px; font-family:var(--mono); font-size:11px; letter-spacing:.08em; text-transform:uppercase; border-radius:99px; vertical-align:middle; }

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

.pubcol-ring.rare { background:var(--accent); color:#fff; }

/* QA, 14 Oct 2026: the name and its rename link side by side (the link used to sit inside the heading). */
.pubcol-name { display:flex; align-items:center; flex-wrap:wrap; gap:4px 12px; }

.pubcol-name .pubcol-rename { margin-left:0; }

/* Small controls keep their look and get a finger-sized target (44px). */
.cmty-like.small, .cmty-c-more { position:relative; }

.cmty-like.small::after, .cmty-c-more::after, .cmty-cmp-x::after { content:""; position:absolute; inset:-8px; }

/* 14 Oct 2026 (Ric): the writer's picture by the post box, tags, who liked it,
   the ring explained, who owns a deep dive's record, a shorter Activity. */
.cmty-cmp-top { display:flex; align-items:flex-start; gap:12px; }

.cmty-cmp-top > .cmty-cmp-fake, .cmty-cmp-top > .cmty-tagwrap { flex:1; min-width:0; }

.cmty-cmp-me { flex:none; display:inline-flex; padding-top:2px; }

.cmty-tagwrap { position:relative; }

.cmty-mention { display:inline; padding:0; font:inherit; font-weight:600; color:var(--accent); background:none; border:none; cursor:pointer; text-decoration:none; }

.cmty-mention:hover, .cmty-mention:focus-visible { text-decoration:underline; }

.cmty-likers { position:relative; display:inline-flex; }

.cmty-likers-tip { position:absolute; left:0; bottom:calc(100% + 8px); z-index:46; width:max-content; max-width:min(280px, 80vw); padding:8px 11px; font:400 13px/1.4 var(--sans, Helvetica, Arial, sans-serif); letter-spacing:0; text-transform:none; color:#fff; background:var(--ink, #17130f); border-radius:8px; box-shadow:0 6px 18px rgba(0,0,0,.18); pointer-events:none; }

button.cmty-like.mine { background:none; border:none; padding:0; font:inherit; color:inherit; cursor:pointer; }

button.pubcol-ring { border:none; cursor:pointer; }

button.pubcol-ring:focus-visible { outline:2px solid var(--ink); outline-offset:2px; }

.cmty-owners-open { font:inherit; color:inherit; text-decoration:underline; text-underline-offset:2px; }

.cmty-owners-sheet .cmty-rs-body { max-height:min(70vh, 560px); overflow:auto; }

.cmty-owners-list { list-style:none; margin:12px 0 0; padding:0; }

.cmty-owners-list li { display:flex; align-items:center; gap:10px; min-height:48px; border-top:1px solid var(--rule); }

.cmty-owners-list li:first-child { border-top:none; }

.cmty-act-less { display:block; margin:6px auto 0; min-height:44px; }

.cmty-act-list { position:relative; }

.cmty-act-list > .cmty-in:focus { outline:none; }

.cmty-act-list.clipped { overflow:hidden; }

.cmty-act-list.clipped::after { content:""; position:absolute; left:0; right:0; bottom:0; height:140px; background:linear-gradient(to bottom, rgba(243,237,225,0), var(--paper, #f3ede1) 85%); pointer-events:none; }

/* Tagging, reworked 14 Oct 2026: a layer under the box marks chosen tags; the
   list opens at the cursor. */
.cmty-tagwrap { position:relative; }

.cmty-tagwrap > textarea { position:relative; z-index:1; }

.cmty-tag-mirror { position:absolute; z-index:0; margin:0; overflow:hidden; white-space:pre-wrap; overflow-wrap:break-word; word-wrap:break-word; color:transparent; pointer-events:none; }

.cmty-tag-hl { color:transparent; background:rgba(180,71,46,.16); border-radius:4px; box-shadow:0 0 0 2px rgba(180,71,46,.16); }

.cmty-tags { position:absolute; z-index:45; margin:0; padding:6px; max-width:none; background:#fff; border:1px solid var(--rule); border-radius:12px; box-shadow:0 12px 32px rgba(0,0,0,.16); }

.cmty-tags ul { list-style:none; margin:0; padding:0; max-height:236px; overflow:auto; }

.cmty-tags li { display:flex; align-items:center; gap:10px; min-height:44px; padding:6px 8px; border-radius:8px; cursor:pointer; font-size:15px; }

.cmty-tags li.on { background:var(--paper, #f3ede1); }

.cmty-tags-n { display:flex; flex-direction:column; line-height:1.25; min-width:0; overflow:hidden; text-overflow:ellipsis; }

.cmty-tags-k { padding:4px 8px 6px; font-family:var(--mono); font-size:10.5px; letter-spacing:.08em; text-transform:uppercase; color:var(--ink-mute, #6b635a); }

.cmty-tags-note { padding:10px 10px; font-size:14px; color:var(--ink-mute, #6b635a); }

/* Deep QA, 14 Oct 2026. */
.cmty-say textarea[data-grow] { resize:none; overflow-y:auto; }

.cmty-tagwrap > textarea, .cmty-tag-mirror { scrollbar-gutter:stable; }

.cmty-likers { -webkit-touch-callout:none; }

.cmty-likers > button { -webkit-user-select:none; user-select:none; }

/* 14 Oct 2026 (Ric): the level and the ring are the same kind of chip, open
   the same panel, and sit side by side without overlapping on a phone. */
.pubcol-level { display:flex; flex-wrap:wrap; align-items:center; gap:8px; }

.pubcol-level .mc-lvl-chip.pubcol-ring { margin-left:0; border:1px solid transparent; letter-spacing:0.12em; }

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

.mc-lvl-chip.pubcol-ring.rare { background:var(--accent); color:#fff; border-color:var(--accent); }

.mc-lvl-chip.pubcol-ring .mc-lvl-dot { color:inherit; }

.mc-lvl-pop-p { margin:0 0 10px; font-size:13px; line-height:1.45; color:var(--ink-2); }

.mc-lvl-pop-foot .cmty-link { font-size:12.5px; }

@media (max-width:560px) {
.pubcol-level .cmty-ringpill { position:static; }
}

/* "For you": first, short, every line a way to the thing (14 Oct 2026, Ric). */
.cmty-inbox { padding:12px 14px 8px; }

.cmty-inbox-top { display:flex; align-items:baseline; justify-content:space-between; gap:10px; margin-bottom:4px; }

.cmty-inbox-top h2 { margin:0; }

.cmty-inbox-n { font-family:var(--mono); font-size:11px; letter-spacing:.08em; text-transform:uppercase; color:#fff; background:var(--accent); border-radius:99px; padding:2px 9px; }

.cmty-inbox-list { list-style:none; margin:0; padding:0; }

.cmty-inbox-list > li { border-top:1px solid var(--rule); }

.cmty-inbox-list > li:first-child { border-top:none; }

.cmty-inbox-row { display:flex; align-items:flex-start; gap:12px; width:100%; min-height:56px; padding:10px 6px; margin:0; font:inherit; font-size:14.5px; line-height:1.35; text-align:left; color:var(--ink); background:none; border:none; border-radius:8px; }

button.cmty-inbox-row { cursor:pointer; }

button.cmty-inbox-row:hover { background:color-mix(in oklab, var(--accent) 6%, transparent); }

button.cmty-inbox-row:focus-visible { outline:2px solid var(--ink); outline-offset:-2px; }

.cmty-inbox-list > li.new .cmty-inbox-row { background:color-mix(in oklab, var(--accent) 7%, transparent); }

.cmty-inbox-av { position:relative; flex:none; display:inline-flex; }

.cmty-inbox-k { position:absolute; right:-4px; bottom:-4px; width:18px; height:18px; display:flex; align-items:center; justify-content:center; font:700 11px/1 var(--sans, Helvetica, Arial, sans-serif); color:#fff; background:var(--ink); border:2px solid #fff; border-radius:50%; }

.cmty-inbox-k.k-like { background:var(--accent); }

.cmty-inbox-k.k-mention, .cmty-inbox-k.k-mention_comment { background:#2f5d8a; }

.cmty-inbox-k.k-follow { background:#3d6b52; }

.cmty-inbox-txt { flex:1; min-width:0; display:flex; flex-direction:column; gap:2px; }

.cmty-inbox-l b { font-weight:600; }

.cmty-inbox-list .cmty-inbox-q { display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; white-space:normal; overflow:hidden; font-size:14px; }

.cmty-inbox-when { font-size:12px; color:var(--ink-mute); }

.cmty-inbox-list > li.new .cmty-inbox-when::before { content:""; display:inline-block; width:7px; height:7px; margin-right:6px; border-radius:50%; background:var(--accent); vertical-align:1px; }

.cmty-inbox-more { display:block; margin:4px auto 2px; min-height:40px; }

/* The comment a notification led to, lit for a moment. */
.cmty-c.cmty-c-hit { animation:cmtyHit 2.6s ease-out 1; border-radius:10px; }

@media (prefers-reduced-motion: reduce) {
.cmty-c.cmty-c-hit { animation:none; background:color-mix(in oklab, var(--accent) 12%, transparent); }
}

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

.cmty-c:focus-visible { outline:2px solid var(--ink); outline-offset:2px; }

/* The two-step question: the question, then its two buttons together. */
.cmty-c-ask { flex-wrap:wrap; row-gap:6px; }

.cmty-c-yns { display:inline-flex; gap:8px; }

.cmty-c-yn.yes { border-color:var(--ink); }

.pubcol-pic .cmty-c-ask { align-items:center; }

.pubcol-pic .cmty-c-yns { flex-direction:column; width:100%; }

.pubcol-pic .cmty-c-yn { width:100%; }

.pubcol-pic .cmty-say-err { display:block; max-width:132px; margin-top:4px; font-size:12px; text-align:center; }

@media (max-width:640px) {
.cmty-tiermove .cmty-tier-arr { display:none; }
}

/* The owners list: no sideways scroll, the close button clear of the title. */
.cmty-owners-sheet { overflow-x:hidden; box-sizing:border-box; }

.cmty-owners-sheet .cmty-rs-t { padding-right:44px; }

.cmty-rs-x { min-width:44px; min-height:44px; display:inline-flex; align-items:center; justify-content:center; }

@media (max-width:640px) {
.cmty-post .cmty-link, .cmty-c-acts .cmty-link, .cmty-owners-open, .cmty-post a.cmty-link { position:relative; }
.cmty-post .cmty-link::after, .cmty-c-acts .cmty-link::after, .cmty-owners-open::after { content:""; position:absolute; inset:-10px -4px; }
.cmty-follow { min-height:36px; padding:7px 16px; }
.cmty-chip { min-height:36px; padding:7px 14px; }
}

/* Chip panels: the open chip shows it is open; on a phone both panels show
   as one card across the screen, under the chips. */
.mc-lvl.open > .mc-lvl-chip { border-color:var(--ink); box-shadow:0 0 0 2px color-mix(in oklab, var(--ink) 18%, transparent); }

@media (max-width:560px) {
.pubcol-level { position:relative; }
.pubcol-level .mc-lvl, .pubcol-level .cmty-ringpill { position:static; }
/* Under the chips, from the header's left edge (the 84px picture and the
     14px gap to its left), across the screen. */
  .pubcol-level .mc-lvl-pop { left:-98px; right:auto; top:calc(100% + 6px); width:calc(100vw - 32px); max-width:360px; }
}

.cmty-inbox-empty .cmty-meta { margin:2px 0 6px; }

/* The figures as one line on a phone, and the wall below the feed, so the
   first post is near the top; the line holds its place while it loads. */
.cmty-stats-line { display:none; margin:2px 0 14px; font-size:14px; color:var(--ink-2); min-height:1.4em; }

.cmty-stats-line b { color:var(--ink); }

@media (max-width:680px) {
.cmty-feed { display:flex; flex-direction:column; }
.cmty-feed > .cmty-stats { display:none; }
.cmty-stats-line { display:block; }
.cmty-feed > .cmty-wall { order:50; margin-top:28px; }
.cmty .lb-head .lb-sub { font-size:14px; margin-bottom:10px; }
}

/* Signed out: what joining gives. */
.cmty-join { display:flex; align-items:center; justify-content:space-between; gap:12px; flex-wrap:wrap; margin:0 0 14px; padding:12px 14px; font-size:14.5px; background:#fff; border:1px solid var(--rule); border-radius:12px; }

/* After posting: said where it can be seen. */
.cmty-cmp-done { display:flex; align-items:center; gap:6px; margin:10px 0 0; font-size:14.5px; color:var(--ink); }

.cmty-cmp-done > span { color:#3d6b52; font-weight:700; }

.cmty-in.cmty-hit { animation:cmtyHit 2.6s ease-out 1; border-radius:14px; }

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

/* Clear of the sticky header when scrolled to. */
.cmty-list > .cmty-in, .cmty-chips, .cmty-list { scroll-margin-top:calc(var(--nav-h, 64px) + 12px); }

/* Collectors: find one. */
.cmty-find { display:block; width:100%; box-sizing:border-box; margin:0 0 14px; padding:11px 14px; font:inherit; font-size:16px; color:var(--ink); background:#fff; border:1px solid var(--rule); border-radius:99px; }

.cmty-find:focus-visible { outline:2px solid var(--accent); outline-offset:1px; }

/* Following looks different from the site's own filled buttons. */
.cmty-follow.is-following { background:transparent; color:var(--ink); border-color:var(--rule); }

.cmty-follow.is-following::before { content:"✓ "; }

/* Ideas in the post box are not filters: a lighter, dashed chip, and a fade
   where the row runs off the edge. */
.cmty-chip.idea { border-style:dashed; }

.cmty-cmp-prompts { -webkit-mask-image:linear-gradient(90deg, #000 calc(100% - 28px), transparent); mask-image:linear-gradient(90deg, #000 calc(100% - 28px), transparent); padding-right:24px; }

/* Market moves on a phone say "Up to" where the old tier is hidden. */
.cmty-tier-up { display:none; font-size:11px; color:var(--ink-mute); }

@media (max-width:640px) {
.cmty-tier-up { display:inline; }
}

/* For you holds its place while it loads. */
.cmty-inbox-wait { min-height:96px; }

/* Long usernames: a smaller title rather than three lines. */
.pubcol-hero .lb-title.long { font-size:26px; }

@media (max-width:560px) {
.pubcol-hero .lb-title.long { font-size:21px; }
.pubcol-pic { width:84px; }
.pubcol-pic .cmty-link { text-align:center; }
}

@media (max-width:360px) {
.pubcol-level .mc-lvl-chip { white-space:normal; text-align:left; }
}

@media (max-width:420px) {
.cmty-meta-more { display:none; }
.cmty-one.big { flex-direction:column; align-items:flex-start; }
.cmty-cmp.open .cmty-cmp-me { display:none; }
.cmty-chips { flex-wrap:nowrap; overflow-x:auto; scrollbar-width:none; -webkit-mask-image:linear-gradient(90deg, #000 calc(100% - 24px), transparent); mask-image:linear-gradient(90deg, #000 calc(100% - 24px), transparent); padding-right:20px; }
.cmty-chips::-webkit-scrollbar { display:none; }
.cmty-chips .cmty-chip { flex:none; }
}

@media (max-width:640px) {
.av2-backdrop.cmty-rs-back { background:rgba(23,19,15,.48); align-items:flex-end; }
.av2-backdrop.cmty-rs-back .cmty-rs { height:auto; max-height:92dvh; margin-top:auto; }
.av2-backdrop.cmty-rs-back .cmty-rs-body { padding-bottom:calc(22px + env(safe-area-inset-bottom, 0px)); }
}

@media (hover:none) {
.cmty-wall-view { overflow-x:auto; scrollbar-width:none; }
.cmty-wall-view::-webkit-scrollbar { display:none; }
.cmty-wall-track { animation:none; }
.cmty-wall-c { opacity:1; }
.cmty-wall-t:hover, .cmty-tile:hover, .lb-row:hover { transform:none; }
}

/* Above the site's header, so a list or tip near the top is not under it. */
.cmty-likers-tip, .cmty-tags { z-index:55; }

/* The toast clear of the first-record banner as well as the Feedback button. */
body.frb-active .cmty-note { bottom:calc(172px + env(safe-area-inset-bottom, 0px)); }

@media (max-width:640px) {
.lb { padding-bottom:72px; }
}

@media (max-width:640px) {
.cmty-follow, .cmty-chip { min-height:40px; }
.cmty-like, .cmty-talk-btn, .cmty-acts .cmty-like, .cmty-acts .cmty-link, .cmty-slim-end .cmty-like, .pubcol-actions .cmty-like { min-height:40px; }
.cmty-like.small { min-height:36px; }
.cmty-c-yn { min-height:40px; }
.cmty-name { position:relative; }
.cmty-name::after { content:""; position:absolute; inset:-10px -4px; }
.mc-lvl-chip { position:relative; }
.mc-lvl-chip::after { content:""; position:absolute; inset:-8px -4px; }
.cmty-cmp-go .cmty-link { position:relative; }
.cmty-cmp-go .cmty-link::after { content:""; position:absolute; inset:-12px -6px; }
/* Today's question's "Talk about it" and past-results line, and a profile's
     "All of Community", were 16px-tall targets (site QA, 25 Oct 2026). */
  .cmty-vote .cmty-link, .cmty-act-head .cmty-link { position:relative; }
.cmty-vote .cmty-link::after, .cmty-act-head .cmty-link::after { content:""; position:absolute; inset:-10px -4px; }
}

@media (max-width:640px) {
.cmty-say { display:grid; grid-template-columns:1fr auto; align-items:end; column-gap:8px; }
.cmty-say > .cmty-say-to { grid-column:1 / -1; }
.cmty-say > .cmty-say-row { display:flex; flex-direction:column; align-items:flex-end; gap:2px; }
}

@media (max-width:420px) {
.lb-row { display:grid; grid-template-columns:24px 48px minmax(0, 1fr); column-gap:10px; row-gap:3px; padding:12px; }
.lb-row .lb-rank { grid-column:1; grid-row:1 / 3; width:auto; }
.lb-row .lb-crown { grid-column:2; grid-row:1 / 3; }
.lb-row .lb-name-col { display:contents; }
.lb-row .lb-name { grid-column:3; grid-row:1; }
.lb-row .lb-sub-line { grid-column:3; grid-row:2; }
.lb-row .lb-badges { grid-column:2 / -1; grid-row:3; margin-top:8px; }
.lb-row .lb-meta { grid-column:2 / -1; grid-row:4; display:flex; flex-wrap:wrap; align-items:baseline; column-gap:8px; margin-top:6px; text-align:left; }
.lb-row .lb-meta small { display:inline; margin:0; }
.lb-row .lb-bar { grid-column:2 / -1; grid-row:5; margin-top:6px; }
.lb-podium { gap:6px; }
.lb-pod { padding-left:4px; padding-right:4px; }
.lb-pod-name { white-space:normal; text-overflow:clip; overflow-wrap:break-word; font-size:12px; line-height:1.2; display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:2; }
.lb-tabs .lb-tab { border-radius:99px; border:1px solid var(--rule); padding:7px 14px; }
}

/* Long feeds and the Collectors list: the browser can skip drawing what is far off screen. */
.cmty-list > .cmty-in, .cmty-grid > .cmty-tile { content-visibility:auto; contain-intrinsic-size:auto 420px; }

@media (max-width:560px) {
.lb-stats { grid-template-columns:repeat(4, minmax(0, 1fr)); margin-bottom:18px; }
.lb-stats .lb-stat { padding:12px 4px; }
.lb-stats .lb-stat-hero { padding:14px 8px; }
.lb-stats .lb-stat-n { font-size:20px; }
.lb-stats .lb-stat-hero .lb-stat-n { font-size:28px; }
.lb-stats .lb-stat-l { font-size:9px; letter-spacing:.06em; margin-top:6px; }
}

.rp .dive-owners { margin-top: 14px; }

/* The record's detail sheet: its deep dive or record page, under its title. */
.cid-more { display: inline-block; margin-top: 6px; font-size: 13.5px; font-weight: 600; color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }

/* The add sheet's record-page card, when the record has no cover URL yet. */
.av2-dive-cover-sleeve { display: block; overflow: hidden; }

/* The card's place while the question loads (Community.jsx CmtyTodayVote):
   its usual height, 358-442px measured across widths on 25 Oct 2026. */
.cmty-vote-wait { min-height:360px; border-color:var(--rule); background:transparent; }

@media (max-width:480px) {
.cmty-vote-wait { min-height:400px; }
}

.cmty-vote-top { display:flex; align-items:baseline; justify-content:space-between; gap:12px; }

.cmty-vote-k { font:600 11.5px/1.3 var(--mono); letter-spacing:.14em; text-transform:uppercase; color:var(--accent); margin:0; }

.cmty-vote-q { font-family:var(--serif); font-weight:400; font-size:21px; line-height:1.25; margin:6px 0 12px; color:var(--ink); }

.cmty-vote-opts { display:grid; grid-template-columns:minmax(0, 1fr) auto minmax(0, 1fr); gap:10px; align-items:start; }

.cmty-vote-or { align-self:center; font:italic 400 15px var(--serif); color:var(--ink-mute); padding-top:0; margin-top:-40px; }

.cmty-vote-opt { display:flex; flex-direction:column; align-items:center; gap:4px; min-width:0; padding:10px 8px 10px; font:inherit; color:var(--ink); text-align:center;
  background:transparent; border:1px solid var(--rule); border-radius:10px; cursor:pointer; transition:border-color .15s ease, box-shadow .15s ease, transform .15s ease; }

.cmty-vote-opt.done { cursor:default; }

button.cmty-vote-opt:hover { border-color:var(--ink); box-shadow:0 8px 22px rgba(0,0,0,.07); transform:translateY(-1px); }

button.cmty-vote-opt:focus-visible { outline:2px solid var(--accent); outline-offset:2px; }

.cmty-vote-opt.on { border-color:var(--accent); box-shadow:inset 0 0 0 1px var(--accent); }

.cmty-vote-opt:disabled { cursor:progress; opacity:.75; }

.cmty-vote-opt .cmty-sv { display:block; max-width:100%; }

.cmty-vote-t { font-family:var(--body-serif); font-size:16px; font-weight:600; line-height:1.2; margin-top:6px; overflow-wrap:anywhere; }

.cmty-vote-a { font-size:12.5px; color:var(--ink-mute); overflow-wrap:anywhere; }

.cmty-vote-res { display:flex; align-items:center; gap:8px; width:100%; margin-top:6px; font-size:13px; color:var(--ink-2); }

.cmty-vote-res b { font-variant-numeric:tabular-nums; min-width:3ch; }

.cmty-vote-bar { flex:1; height:6px; border-radius:99px; background:var(--paper-2); overflow:hidden; }

.cmty-vote-bar > span { display:block; height:100%; border-radius:99px; background:color-mix(in oklab, var(--ink) 45%, var(--paper)); transition:width .6s cubic-bezier(.2,.8,.2,1); }

.cmty-vote-res.lead .cmty-vote-bar > span { background:var(--accent); }

.cmty-vote-mine { color:var(--accent); font-weight:600; white-space:nowrap; }

.cmty-vote-meta { margin:10px 0 0; font-size:13px; color:var(--ink-2); }

.cmty-vote-prev { margin:8px 0 0; padding-top:8px; border-top:1px solid var(--rule); font-size:13px; }

.cmty-vote-prev .cmty-link { display:inline; text-align:left; }

.cmty-vote-post .cmty-vote-q { font-size:19px; margin-top:12px; }

.cmty-vote-post .cmty-vote-body { margin-top:4px; }

/* After a signed-out answer (2 Nov 2026): the account ask, once they have
   seen the split. */
.cmty-vote-keep { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:8px 14px;
  margin:10px 0 0; padding:10px 12px; border-radius:10px; background:var(--paper-2); }

.cmty-vote-keep p { margin:0; font-size:13.5px; line-height:1.4; color:var(--ink); flex:1 1 220px; }

.cmty-vote-keep-btn { font:600 13px var(--sans); padding:8px 16px; border-radius:99px; border:0; cursor:pointer;
  background:var(--ink); color:var(--paper); white-space:nowrap; }

.cmty-vote-keep-btn:hover { background:var(--accent); }

.cmty-vote-keep-btn:focus-visible { outline:2px solid var(--accent); outline-offset:2px; }

.cmty-tt { border:1px solid var(--rule); border-radius:12px; background:#fff; padding:14px 16px 10px; margin-bottom:16px; }

.cmty-tt-top { display:flex; align-items:baseline; justify-content:space-between; flex-wrap:wrap; gap:2px 12px; }

.cmty-tt h2 { font-family:var(--serif); font-weight:400; font-size:19px; margin:0; display:flex; align-items:center; gap:8px; }

.cmty-tt-sub { margin:4px 0 0; }

/* A record, seen from above: label, grooves and a spindle. It turns on a post
   from the last hour, never for those who asked for less motion. */
.cmty-tt-disc { display:inline-block; flex:none; width:14px; height:14px; border-radius:50%; vertical-align:-2px;
  background:radial-gradient(circle, var(--paper) 0 1.4px, var(--accent) 1.6px 4.2px, #1c1814 4.4px 100%);
  box-shadow:inset 0 0 0 2px #1c1814, inset 0 0 0 3px #3a332c; }

.cmty-spin.now .cmty-tt-disc { animation:cmty-tt-turn 1.8s linear infinite; }

@media (prefers-reduced-motion: reduce) {
.cmty-spin.now .cmty-tt-disc, .cmty-tt-busy { animation:none; }
}

.cmty-tt-row { list-style:none; display:flex; gap:10px; margin:12px -16px 0; padding:2px 16px 6px; overflow-x:auto; scroll-snap-type:x proximity; scroll-padding-inline:16px; scrollbar-width:thin; overscroll-behavior-x:contain; }

.cmty-tt-row > li { flex:none; scroll-snap-align:start; }

.cmty-tt-rec { position:relative; display:flex; flex-direction:column; align-items:flex-start; gap:5px; width:84px; padding:0; font:inherit; text-align:left; background:none; border:none; color:var(--ink); cursor:pointer; }

.cmty-tt-rec:disabled { cursor:progress; }

.cmty-tt-rec:focus-visible { outline:2px solid var(--accent); outline-offset:3px; border-radius:6px; }

.cmty-tt-rec.on > :first-child { box-shadow:0 0 0 2px var(--accent); border-radius:4px; }

.cmty-tt-t { font-size:12px; line-height:1.25; width:100%; overflow:hidden; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; }

.cmty-tt-on { font-size:11px; color:var(--accent); font-weight:600; }

.cmty-tt-busy { position:absolute; top:31px; left:31px; width:22px; height:22px; border-radius:50%; border:2px solid #fff; border-top-color:transparent; animation:cmty-tt-turn .8s linear infinite; }

.cmty-tt-more { margin:6px 0 0; }

.cmty-tt-find { margin-top:8px; }

.cmty-tt-q { width:100%; box-sizing:border-box; font:inherit; font-size:15px; padding:8px 12px; border:1px solid var(--rule); border-radius:8px; background:var(--paper); color:var(--ink); }

.cmty-tt-found { list-style:none; margin:6px 0 0; padding:0; }

.cmty-tt-hit { display:flex; align-items:center; gap:10px; width:100%; padding:6px 0; font:inherit; text-align:left; color:var(--ink); background:none; border:none; border-top:1px solid var(--rule); cursor:pointer; }

.cmty-tt-hit > span:nth-child(2) { flex:1; min-width:0; }

.cmty-tt-said { margin:6px 0 0; min-height:1.4em; font-size:13px; color:var(--ink-2); }

.cmty-tt-said:focus { outline:none; }

.cmty-tt-today { list-style:none; margin:8px 0 0; padding:6px 0 0; border-top:1px solid var(--rule); font-size:13px; }

.cmty-tt-today > li { display:flex; align-items:baseline; justify-content:space-between; gap:12px; padding:3px 0; }

.cmty-tt-today > li > span { min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }

.cmty-tt-rec[aria-disabled="true"], .cmty-tt-hit[aria-disabled="true"], .cmty-vote-opt[aria-disabled="true"] { cursor:progress; }

.cmty-vote-opt[aria-disabled="true"] { opacity:.8; }

.cmty-tt-said .cmty-say-err { margin:0; }

.cmty-spinbtn { display:flex; align-items:center; flex-wrap:wrap; gap:6px 12px; margin:0 0 12px; }

.cmty-spinbtn .cmty-follow { display:inline-flex; align-items:center; gap:7px; font-size:13px; padding:6px 14px; }

.cmty-spinbtn-on { display:inline-flex; align-items:center; gap:7px; font-size:13px; font-weight:600; color:var(--accent); }

.cmty-follow.is-following .cmty-tt-disc, .cmty-follow:not(.on) .cmty-tt-disc { box-shadow:inset 0 0 0 2px var(--ink), inset 0 0 0 3px #3a332c; }

.cmty-suggest-top { display:flex; align-items:baseline; justify-content:space-between; gap:12px; }

.cmty-suggest-top h2 { margin:0; }

.cmty-suggest-sub { margin:2px 0 6px; }

.cmty-suggest-recs { display:flex; gap:3px; flex:none; margin-left:auto; padding-left:8px; }

.cmty-suggest-all { display:flex; justify-content:flex-end; padding-top:10px; border-top:1px solid var(--rule); }

.cmty-suggest-all > p { margin:0; text-align:left; flex:1; }

.cmty-suggest-off { margin:0 0 16px; }

.cmty-suggest-all > p:focus, .cmty-suggest-off:focus { outline:none; }

.cmty-suggest-wrap { text-align:left; max-width:560px; margin:28px auto 0; }

.cmty-suggest-wrap .cmty-twins { margin-bottom:0; }

/* Inside the empty shelf (.mc-empty) its own paragraphs are styled: not these. */
.cmty-suggest-wrap .cmty-suggest-sub { font-family:inherit; font-size:12.5px; line-height:1.45; color:var(--ink-mute); max-width:none; margin:2px 0 6px; padding:0; text-align:left; }

.cmty-suggest-wrap h2 { text-align:left; }

.hm-daily-slot .cmty-vote-q { font-size:24px; }

.hm-daily-slot .cmty-suggest-wrap { max-width:none; margin:0; }

@media (max-width: 520px) {
.cmty-vote-q { font-size:19px; }
.cmty-vote-opts { gap:6px; }
.cmty-vote-or { font-size:13px; }
.cmty-vote-opt { padding:8px 6px; }
.cmty-vote-t { font-size:14.5px; }
.cmty-suggest-recs { display:none; }
.cmty-tt h2 { font-size:17px; }
.hm-daily-slot .cmty-vote-q { font-size:20px; }
}

/* ---- A big import being valued, and the reveal (4 Nov 2026) -------------------
   MyCollectionV2.jsx ValuingPanel and ValuationReveal. The hero and the reveal sit
   on --ink so the live counter and the spinning record carry the moment; the rest
   uses the collection's own cards. Motion stops under prefers-reduced-motion. */
.vp, .vr { --vp-accent: var(--accent); }

.lb-stat-locked { letter-spacing: .02em; opacity: .75; }

.vp { display: flex; flex-direction: column; gap: 16px; margin: 0 0 28px; }

.vp-hero { background: var(--ink); color: var(--paper); padding: 28px 32px; display: flex; flex-wrap: wrap; gap: 32px; align-items: center; }

.vp-hero-main { flex: 999 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }

.vp-hero-disc { flex: 1 1 200px; display: flex; justify-content: center; }

.vp-kicker { display: flex; align-items: center; gap: 9px; font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--vp-accent); }

.vp-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--vp-accent); display: inline-block; animation: vp-pulse 1.2s ease-in-out infinite; }

.vp-h { margin: 0; font-family: var(--serif); font-weight: 400; font-size: clamp(30px, 4.4vw, 50px); line-height: 1.04; color: var(--paper); }

.vp-count { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 14px; }

.vp-count-n { font-family: var(--mono); font-weight: 700; font-size: clamp(30px, 4vw, 42px); }

.vp-count-of, .vp-eta { font-size: 15px; color: #b8ad9c; }

.vp-eta { margin-left: auto; }

.vp-bar { height: 6px; background: #3a322a; }

.vp-bar-fill { height: 6px; background: var(--vp-accent); transition: width .8s cubic-bezier(.2,0,0,1); }

.vp-p { margin: 0; font-family: var(--body-serif); font-size: 17px; line-height: 1.55; color: #d9d1c2; max-width: 640px; }

.vp-p-ink { color: var(--ink-2); font-size: 15px; }

.vp-disc { max-width: 100%; height: auto; }

.vp-disc-t { font: 800 34px var(--sans); fill: var(--ink); }

.vp-spin { transform-origin: 150px 150px; animation: vp-spin 1.8s linear infinite; }

.vp-ring { transition: stroke-dashoffset .8s cubic-bezier(.2,0,0,1); }

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

.vp-stat { background: #fffdf8; border: 1px solid var(--rule); padding: 16px 18px; display: flex; flex-direction: column; gap: 5px; min-width: 0; }

.vp-stat-dark { background: var(--ink); border-color: var(--ink); color: var(--paper); }

.vp-stat-l { font-size: 13px; font-weight: 600; color: var(--ink-mute); }

.vp-stat-dark .vp-stat-l { color: #b8ad9c; }

.vp-stat-big { font-family: var(--serif); font-size: 24px; line-height: 1.1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.vp-stat-num { font-family: var(--mono); font-weight: 700; font-size: 32px; line-height: 1; }

.vp-stat-s { font-size: 14px; color: var(--ink-2); }

.vp-stat-dark .vp-stat-s { color: #d9d1c2; }

.vp-locked { display: flex; align-items: center; gap: 8px; }

.vp-locked svg { color: var(--vp-accent); }

.vp-pop { animation: vp-pop .45s ease-out; display: inline-block; }

.vp-row { display: flex; flex-wrap: wrap; gap: 16px; align-items: stretch; }

.vp-feed { flex: 1 1 380px; min-width: 0; background: #fffdf8; border: 1px solid var(--rule); }

.vp-feed-h { display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; border-bottom: 1px solid var(--rule); font-family: var(--serif); font-size: 22px; }

.vp-live { display: flex; align-items: center; gap: 6px; font: 600 12px var(--sans); color: var(--ink-mute); }

.vp-feed-empty { margin: 0; padding: 16px 18px; font-size: 14px; color: var(--ink-mute); }

.vp-feed-row { display: flex; gap: 12px; align-items: center; padding: 10px 18px; border-bottom: 1px solid #ece5d6; animation: vp-in .45s cubic-bezier(.2,0,0,1) both; }

.vp-feed-row:last-child { border-bottom: 0; }

.vp-feed-cover { width: 40px; height: 40px; flex: none; background: var(--paper-2); overflow: hidden; }

.vp-feed-t { flex: 1; min-width: 0; display: flex; flex-direction: column; }

.vp-feed-t span { font-size: 15px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.vp-feed-t small { font-size: 13px; color: var(--ink-mute); }

.vp-feed-v { font: 700 15px var(--mono); }

.vp-tier { font: 700 11px var(--sans); color: #fff; background: var(--vp-accent); padding: 3px 8px; border-radius: 999px; }

.vp-acc { flex: 1 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }

.vp-acc-card { background: #fffdf8; border: 1px solid var(--rule); padding: 18px 20px; display: flex; flex-direction: column; gap: 10px; }

.vp-acc-h { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-family: var(--serif); font-size: 22px; }

.vp-acc-h b, .vr-acc-h b { font: 700 15px var(--sans); color: var(--vp-accent); white-space: nowrap; }

.vp-meter { display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); gap: 4px; }

.vp-meter span { height: 12px; background: #ece5d6; transition: background .4s; }

.vp-meter span.on { background: var(--vp-accent); }

.vp-meter-ends { display: flex; justify-content: space-between; font-size: 12px; color: var(--ink-mute); }

.vp-acc-count { font-size: 14px; font-weight: 600; }

.vp-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }

.vp-act { text-align: left; display: flex; flex-direction: column; gap: 6px; padding: 16px 18px; background: #fffdf8; color: var(--ink); border: 1.5px solid var(--ink); font-family: var(--sans); cursor: pointer; }

.vp-act-dark { background: var(--ink); color: var(--paper); border-color: var(--ink); }

.vp-act-t { font-size: 16px; font-weight: 700; }

.vp-act-s { font-size: 14px; line-height: 1.45; color: var(--ink-2); }

.vp-act-dark .vp-act-s { color: #d9d1c2; }

.vp-act-go { font-size: 14px; font-weight: 700; }

.vp-act-dark .vp-act-go { color: var(--vp-accent); }

.vp-act:hover { transform: translateY(-1px); }

.vp-act:focus-visible, .vr-btn:focus-visible, .vr-x:focus-visible { outline: 2px solid var(--vp-accent); outline-offset: 2px; }

@media (max-width: 720px) {
.vp-hero { padding: 20px 18px; gap: 18px; }
.vp-hero-disc { order: -1; justify-content: flex-start; }
.vp-hero-disc .vp-disc { width: 120px; }
.vp-eta { margin-left: 0; }
.vp-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.vp-stat-dark { grid-column: 1 / -1; }
.vp-actions { grid-template-columns: 1fr; }
}

.vr { position: fixed; inset: 0; z-index: 1000; background: var(--ink); color: var(--paper); overflow-y: auto; }

.vr-in { max-width: 440px; min-height: 100%; margin: 0 auto; box-sizing: border-box; padding: 12px 20px 24px; display: flex; flex-direction: column; align-items: center; text-align: center; }

.vr-top { align-self: stretch; display: flex; justify-content: flex-end; }

.vr-x { width: 44px; height: 44px; background: none; border: 0; color: var(--paper); font-size: 28px; cursor: pointer; }

.vr-disc { margin-top: 4px; animation: vr-drop .6s cubic-bezier(.2,0,0,1) both; }

.vr-disc .vp-spin { animation-duration: 6s; }

.vr-disc.fast .vp-spin { animation-duration: .9s; }

.vr-kicker { margin-top: 14px; font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--vp-accent); }

.vr-total { margin-top: 10px; font-family: var(--serif); font-size: clamp(56px, 18vw, 80px); line-height: 1; }

.vr-sub { margin-top: 6px; font-family: var(--body-serif); font-size: 17px; color: #d9d1c2; }

.vr-rank { align-self: stretch; margin-top: 18px; padding: 12px 0; border-top: 1px solid #3a322a; border-bottom: 1px solid #3a322a; display: flex; justify-content: center; align-items: baseline; gap: 12px; font-size: 14px; color: #b8ad9c; }

.vr-rank b { font: 700 28px var(--mono); color: var(--paper); }

.vr-cards { align-self: stretch; margin-top: 18px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; perspective: 600px; }

.vr-card { background: var(--paper); color: var(--ink); padding: 12px 10px; display: flex; flex-direction: column; gap: 4px; text-align: left; min-height: 100px; }

.vr-card small { font-size: 11px; font-weight: 700; color: var(--ink-mute); }

.vr-card b { font-family: var(--serif); font-weight: 400; font-size: 17px; line-height: 1.1; }

.vr-card b.vr-num { font: 700 28px var(--mono); }

.vr-card span { margin-top: auto; font: 700 14px var(--mono); }

.vr-card-hot { background: var(--vp-accent); }

.vr-card-hot small, .vr-card-hot span { color: var(--ink); }

.vr-card-hot span { font: 600 12px var(--sans); }

.vr-acc { align-self: stretch; margin-top: 20px; text-align: left; display: flex; flex-direction: column; gap: 8px; }

.vr-acc-h { display: flex; justify-content: space-between; font-size: 14px; font-weight: 600; }

.vr-meter span { background: #3a322a; height: 8px; }

.vr-acc p { margin: 0; font-size: 14px; line-height: 1.45; color: #d9d1c2; }

.vr-btns { align-self: stretch; margin-top: auto; padding-top: 24px; display: flex; flex-direction: column; gap: 10px; }

.vr-btn { padding: 15px; font: 700 16px var(--sans); background: var(--paper); color: var(--ink); border: 0; cursor: pointer; }

.vr-btn.ghost { background: transparent; color: var(--paper); border: 1.5px solid #5a5048; }

.vr-rise { animation: vp-in .45s cubic-bezier(.2,0,0,1) both; }

.vr-flip { animation: vr-flip .5s cubic-bezier(.2,0,0,1) both; }

.vr-flip.d2 { animation-delay: .2s; }

.vr-flip.d3 { animation-delay: .4s; }

@media (prefers-reduced-motion: reduce) {
.vp-spin, .vp-dot, .vp-pop, .vp-feed-row, .vr-disc, .vr-rise, .vr-flip { animation: none !important; }
.vp-bar-fill, .vp-ring { transition: none; }
}
