/* "What's my card worth?" (/card-value/, scripts/sections/card-value.mjs) and the shared price chart (src/assets/price-chart.js,
   reused by My Collection). Loaded after styles.css and reuses its tokens and buttons. Marketplace layout (owner, mock-up v2,
   2026-10-26): picture grids with a quick view under the tapped tile's row, short card pages with folding sections. Mobile
   first: at 400px the H1, the search box (lists) or the headline box (card pages) sit in the first screen, grids are two
   columns, and nothing scrolls sideways except the filter row. Nothing moves under prefers-reduced-motion. */
.cv-header { padding: 20px 0 26px; margin-bottom: 20px; }
.cv-header h1 { font-size: var(--h1-size); font-weight: var(--h1-weight); letter-spacing: var(--h1-tracking); line-height: var(--h1-line); margin-bottom: 8px; }
.cv-lead { margin: 0 0 14px; max-width: 760px; color: #d4dcf1; font-size: 16px; line-height: 1.5; }
.cv-free { display: inline-block; padding: 0 8px; border-radius: 999px; background: rgba(198, 244, 50, .16); color: var(--lime); font-weight: 700; font-size: 13px; line-height: 1.7; white-space: nowrap; }
.cv-label { display: block; margin: 0 0 6px; font-weight: 700; font-size: 14px; color: #fff; }
.cv-form { max-width: 760px; margin: 0; }
.cv-row { display: grid; grid-template-columns: minmax(0, auto) minmax(0, 1fr) auto; gap: 8px; }
.cv-row select, .cv-row input { min-width: 0; height: 48px; padding: 0 12px; border: 2px solid transparent; border-radius: var(--radius-sm); background: #fff; color: var(--ink); font: inherit; font-size: 16px; }
.cv-row select { max-width: 132px; padding-right: 4px; font-weight: 700; }
.cv-row input:focus-visible, .cv-row select:focus-visible { outline: 3px solid var(--lime); outline-offset: 1px; }
.cv-row .button { height: 48px; padding: 0 16px; }
.cv-form.is-compact .cv-row select, .cv-form.is-compact .cv-row input, .cv-form.is-compact .button { height: 44px; }
.cv-again .cv-row select, .cv-again .cv-row input { border-color: var(--border-strong); }
.cv-again .cv-row input:focus-visible, .cv-again .cv-row select:focus-visible { outline-color: var(--blue); }
@media (max-width: 480px) {
  .cv-row { grid-template-columns: minmax(0, 1fr) auto; }
  .cv-row select { grid-column: 1 / -1; max-width: none; height: 40px; }
}
.cv-status { min-height: 0; margin: 10px 0 0; color: #d4dcf1; font-size: 14px; }
.cv-status:empty { margin: 0; }
.cv-again .cv-status { color: var(--muted); }
.cv-offer-line { margin: 12px 0 0; font-size: 13px; color: #d4dcf1; }

/* ---- Filter row: games as links, then the filters; one row that scrolls sideways on a phone ---- */
.cv-filters { margin: 0 0 18px; }
/* position: relative keeps the off-row parts (the sr-only labels) inside the row, so the page never gets wider. */
.cv-frow { position: relative; display: flex; align-items: center; gap: 8px; overflow-x: auto; padding: 3px 3px 6px; margin: 0 -3px; scrollbar-width: thin; }
.cv-frow > * { flex: none; }
.cv-frow + .cv-frow { margin-top: 4px; }
.cv-fctl[hidden] { display: none; }
.cv-chip { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border: 1px solid var(--border-strong); border-radius: 999px; background: #fff; color: var(--ink); font: inherit; font-size: 14px; font-weight: 700; white-space: nowrap; cursor: pointer; text-decoration: none; }
.cv-chip:hover { border-color: var(--ink); }
.cv-chip[aria-current="page"], .cv-chip[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.cv-chip:focus-visible, .cv-fsel select:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
.cv-fsel { flex: none; }
.cv-fsel[hidden] { display: none; }
.cv-fsel select { min-height: 40px; max-width: 220px; padding: 0 10px; border: 1px solid var(--border-strong); border-radius: 999px; background: #fff; color: var(--ink); font: inherit; font-size: 14px; font-weight: 700; }
.cv-fempty { margin: 6px 0 0; color: var(--muted); font-size: 14px; }
.cv-fempty:empty { display: none; }
.cv-section.is-filtered-out { display: none; }

/* ---- Picture grid: one link per tile; with JavaScript, the quick view button covers the tile ---- */
.cv-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 560px) { .cv-grid { grid-template-columns: repeat(auto-fill, minmax(168px, 1fr)); } }
.cv-gt { position: relative; display: flex; flex-direction: column; gap: 2px; min-width: 0; padding: 10px; border: 1px solid var(--border); border-radius: var(--radius); background: #fff; box-shadow: 0 1px 2px rgba(11, 20, 48, .04); }
.cv-gt[hidden] { display: none; }
.cv-gt:hover { border-color: var(--border-strong); box-shadow: var(--shadow); }
.cv-gt-link { display: flex; flex-direction: column; gap: 8px; color: var(--ink); text-decoration: none; }
.cv-gt-link::after { content: ''; position: absolute; inset: 0; border-radius: var(--radius); }
.cv-gt-link:focus-visible { outline: none; }
.cv-gt-link:focus-visible::after, .cv-gt-qv:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
.cv-gt-pic { display: block; aspect-ratio: 63 / 88; border-radius: 8px; overflow: hidden; background: var(--bg-soft); }
.cv-gt-img { display: block; width: 100%; height: 100%; object-fit: contain; }
.cv-gt-ph { display: flex; align-items: center; justify-content: center; height: 100%; padding: 8px; background: linear-gradient(160deg, var(--navy-700), var(--navy)); color: rgba(255, 255, 255, .8); font-size: 13px; font-weight: 800; text-align: center; letter-spacing: .02em; }
.cv-gt-name { font-weight: 800; font-size: 15px; line-height: 1.25; overflow-wrap: anywhere; }
.cv-gt-set { font-size: 13px; line-height: 1.35; color: var(--muted); overflow-wrap: anywhere; }
/* The printing a tile's market price is for ("Unlimited · Holofoil"), audit 2026-11-16 R3. */
.cv-gt-print { font-size: 12px; line-height: 1.35; color: var(--muted); font-weight: 600; overflow-wrap: anywhere; }
.cv-gt-price { margin-top: auto; padding-top: 4px; font-size: 13px; line-height: 1.4; color: var(--muted); }
.cv-gt-price .cv-amt { display: block; font-size: 17px; font-weight: 800; color: var(--ink); font-variant-numeric: tabular-nums; }
.cv-gt-price .cv-old { margin-top: 2px; }
.cv-gt-note { display: block; font-size: 12px; color: var(--muted); }
/* A price on its way (CARDS-R01): two quiet bars the size of the price and its source line, so nothing moves when it
   arrives. They pulse only when motion is welcome. */
.cv-gt-wait { display: block; height: 42px; color: var(--muted); opacity: .28; background: linear-gradient(currentColor 0 0) 0 4px / 55% 16px no-repeat, linear-gradient(currentColor 0 0) 0 28px / 85% 10px no-repeat; border-radius: 4px; }
@media (prefers-reduced-motion: no-preference) {
  .cv-gt-wait { animation: cv-wait 1.2s ease-in-out infinite alternate; }
  @keyframes cv-wait { from { opacity: .16; } to { opacity: .34; } }
}
.cv-gt-own { align-self: flex-start; margin-top: 4px; padding: 1px 8px; border-radius: 999px; background: var(--ok-bg); color: var(--ok-text); font-size: 12px; font-weight: 800; }
.cv-gt-qv { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; padding: 0; border: 0; border-radius: var(--radius); background: transparent; cursor: pointer; }
.cv-gt-qv[hidden] { display: none; }
.cv-gt.is-open { border-color: var(--lime); box-shadow: 0 0 0 3px rgba(198, 244, 50, .55); }
.cv-img-credit { margin: 10px 0 0; font-size: 12px; color: var(--muted); }

/* ---- Quick view: a full-width row under the tapped tile's row ---- */
.cv-qv-slot { grid-column: 1 / -1; }
.cv-qv-slot[hidden] { display: none; }
.cv-qv { border: 1px solid var(--border-strong); border-radius: var(--radius); background: var(--bg-tint); padding: 14px; }
.cv-qv:focus { outline: none; }
.cv-qv:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
.cv-qv-card { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
.cv-qv-card:has(> .cv-qv-pic) { grid-template-columns: 96px minmax(0, 1fr); }
/* Phone: the picture next to the name and price; the stores and buttons use the full width under them. */
@media (max-width: 639px) {
  .cv-qv-card:has(> .cv-qv-pic) { row-gap: 8px; }
  .cv-qv-card:has(> .cv-qv-pic) > .cv-qv-body { display: contents; }
  .cv-qv-card > .cv-qv-pic { grid-row: 1 / span 2; }
  .cv-qv-card:has(> .cv-qv-pic) > .cv-qv-body > * { grid-column: 1 / -1; }
  .cv-qv-card:has(> .cv-qv-pic) > .cv-qv-body > .cv-qv-top, .cv-qv-card:has(> .cv-qv-pic) > .cv-qv-body > .cv-qv-ask:first-of-type { grid-column: 2; }
  .cv-qv-card:has(> .cv-qv-pic) .cv-qv-ask { margin-top: 0; }
  .cv-qv-card:has(> .cv-qv-pic) > .cv-qv-body:not(:has(> .cv-qv-ask)) > .cv-qv-ref { grid-column: 2; margin-top: 0; }
}
@media (min-width: 640px) { .cv-qv-card:has(> .cv-qv-pic) { grid-template-columns: 180px minmax(0, 1fr); } }
.cv-qv-pic { margin: 0; }
.cv-qv-pic img { display: block; width: 100%; height: auto; border-radius: 10px; background: var(--bg-soft); }
.cv-qv-pic figcaption { margin-top: 4px; font-size: 11px; color: var(--muted); }
.cv-qv-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.cv-qv-name { margin: 0; font-size: 18px; font-weight: 800; color: var(--ink); line-height: 1.25; }
.cv-qv-sub { margin: 2px 0 0; font-size: 13px; color: var(--muted); }
.cv-qv-x { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin: -8px -8px 0 0; border: 0; border-radius: 999px; background: transparent; color: var(--ink); font-size: 26px; line-height: 1; cursor: pointer; }
.cv-qv-x:hover { background: var(--bg-soft); }
.cv-qv-x:focus-visible { outline: 3px solid var(--blue); outline-offset: 0; }
.cv-qv-ask { margin: 10px 0 0; font-size: 14px; color: var(--muted); }
.cv-qv-ask .cv-amt { font-size: 20px; font-weight: 800; color: var(--ink); }
.cv-qv-ref { margin: 10px 0 0; font-size: 13px; line-height: 1.5; color: var(--muted); }
.cv-qv-ref .cv-price { display: block; }
.cv-qv-ref .cv-amt { color: var(--ink); }
.cv-qv-label { font-weight: 700; color: var(--text); }
.cv-qv-btns { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 0; }
.cv-qv-btns .button { min-height: 44px; padding: 10px 16px; }
.cv-qv .cv-stores { margin-top: 8px; }

/* ---- Store rows (a card page's list of every store, quick view, search detail): cheapest first ---- */
.cv-stores { list-style: none; margin: 0; padding: 0; border: 1px solid var(--border); border-radius: var(--radius); background: #fff; overflow: hidden; }
.cv-store { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 6px 14px; padding: 12px 14px; border-bottom: 1px solid var(--border); }
.cv-store:last-child { border-bottom: 0; }
.cv-store-who { min-width: 0; }
.cv-store-name { display: block; color: var(--ink); overflow-wrap: anywhere; }
.cv-store-meta { display: block; font-size: 13px; color: var(--muted); }
.cv-store-amt { font-size: 18px; font-weight: 800; color: var(--ink); font-variant-numeric: tabular-nums; text-align: right; }
.cv-store-go { grid-column: 1 / -1; min-height: 44px; padding: 10px 14px; }
.cv-store-soon { grid-column: 1 / -1; font-size: 13px; font-weight: 700; color: var(--pending-text); }
@media (min-width: 640px) {
  .cv-store { grid-template-columns: minmax(0, 1fr) auto auto; }
  .cv-store-go, .cv-store-soon { grid-column: auto; }
}
.cv-own { margin-bottom: 8px; }
.cv-store.is-own { background: var(--bg-tint); }
.cv-disc { margin: 10px 2px 0; font-size: 13px; line-height: 1.5; color: var(--muted); }
.cv-soon { margin: 10px 2px 0; font-size: 13px; color: var(--muted); }
/* The headline box is white inside the navy page header: its links use the AA blue, not the header's lime (review 2, P2-15). */
.page-header .cv-headline .inline-link, .page-header .cv-forsale .inline-link { color: var(--blue); }

/* ---- Card page: picture, chips, name, one headline box ---- */
.cv-card-head { padding-bottom: 24px; }
.cv-hero { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; align-items: start; }
.cv-hero.has-img { grid-template-columns: 104px minmax(0, 1fr); grid-template-rows: 1fr auto auto auto; column-gap: 14px; row-gap: 0; }
.cv-hero.has-img .cv-hero-main { display: contents; }
.cv-hero.has-img .cv-hero-img { grid-column: 1; grid-row: 1 / span 3; }
.cv-hero.has-img .cv-chips, .cv-hero.has-img h1, .cv-hero.has-img .cv-hero-refs { grid-column: 2; }
.cv-hero.has-img .cv-headline { grid-column: 1 / -1; }
@media (min-width: 720px) {
  .cv-hero.has-img { grid-template-columns: 260px minmax(0, 1fr); grid-template-rows: auto; column-gap: 32px; }
  .cv-hero.has-img .cv-hero-main { display: block; grid-column: 2; grid-row: 1; }
  .cv-hero.has-img .cv-hero-img { grid-row: 1; }
}
.cv-hero h1 { margin: 0; align-self: end; overflow-wrap: anywhere; }
.cv-img { margin: 0; max-width: 260px; }
.cv-img img { display: block; width: 100%; height: auto; border-radius: 12px; object-fit: contain; background: var(--bg-alt); }
.cv-img figcaption { margin-top: 6px; font-size: 12px; color: var(--muted); }
.cv-hero-img img { border-radius: 10px; box-shadow: 0 14px 30px rgba(0, 0, 0, .35); background: var(--navy-700); }
.cv-hero-img figcaption { color: rgba(255, 255, 255, .65); font-size: 11px; line-height: 1.35; }
.cv-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 8px; padding: 0; align-self: end; }
.cv-chips li { padding: 2px 10px; border-radius: 999px; background: rgba(255, 255, 255, .12); color: #e2e8f7; font-size: 12px; font-weight: 700; line-height: 1.8; }
/* The versions row (UX CP2): one row of chips under the name, full width; it scrolls inside itself on a phone, never the page. */
.cv-versions { margin: 12px 0 0; min-width: 0; }
.cv-hero.has-img .cv-versions { grid-column: 1 / -1; }
.cv-versions-h { margin: 0 0 6px; color: #e2e8f7; font-size: 13px; font-weight: 700; }
.cv-versions-l { list-style: none; display: flex; gap: 8px; margin: 0; padding: 2px 2px 6px; overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: thin; }
.cv-versions-l li { flex: 0 0 auto; }
.cv-ver { display: flex; flex-direction: column; justify-content: center; min-height: 44px; padding: 5px 12px; border: 1px solid rgba(255, 255, 255, .3); border-radius: 12px; color: #fff; font-size: 13px; line-height: 1.3; white-space: nowrap; text-decoration: none; }
a.cv-ver:hover, a.cv-ver:focus-visible { border-color: var(--lime, #c6f432); background: rgba(255, 255, 255, .08); }
.cv-ver.is-current { border-color: #fff; background: #fff; color: var(--text); }
.cv-ver-n { font-weight: 700; }
.cv-ver-p { font-variant-numeric: tabular-nums; }
.cv-ver-p.is-none { opacity: .75; }
.cv-versions-note { margin: 2px 0 0; color: rgba(255, 255, 255, .7); font-size: 12px; }
.cv-headline { margin-top: 14px; padding: 16px 18px; border-radius: var(--radius); background: #fff; color: var(--text); box-shadow: var(--shadow-lg); max-width: 640px; }
.cv-hl { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.5; }
.cv-hl .cv-big, .cv-headline .cv-big { display: inline; font-size: clamp(26px, 6vw, 36px); line-height: 1.15; font-weight: 800; letter-spacing: -.02em; color: var(--ink); }
.cv-hl-at { font-size: 18px; font-weight: 800; color: var(--ok-text); }
.cv-hl .cv-src { display: block; margin-top: 2px; }
.cv-headline .cv-line1 .cv-big { display: block; }
.cv-hl-note { margin: 6px 0 0; font-size: 14px; color: var(--muted); }
/* The secondary actions, after the stores: one compact row under a thin rule (My Collection, Wishlist, Trade value, Grade it?, the app's
   Add to a deck and Price alert). Before any store lists the card, + My Collection is the main action: full width. */
.cv-hl-btns { display: flex; flex-wrap: wrap; gap: 6px; margin: 14px 0 0; padding-top: 12px; border-top: 1px solid var(--border); }
.cv-hl-btns .button { min-height: 36px; padding: 6px 12px; font-size: 14px; }
.cv-hl-btns .button-primary { flex: 1 0 100%; min-height: 48px; font-size: 16px; }
.cv-headline .button-ghost { background: #fff; color: var(--ink); border-color: var(--border-strong); }
.cv-headline .button-ghost:hover { border-color: var(--ink); }
.cv-headline .cv-disc { margin: 10px 0 0; font-size: 12px; }
.cv-stale { margin: 10px 0 0; padding: 6px 10px; border-radius: var(--radius-sm); background: var(--warn-bg); color: var(--warn-text); font-weight: 700; font-size: 14px; display: inline-block; }

/* The reference lines under the name, beside the picture (owner, 2026-10-28: "US estimate, TCGplayer in the empty space"):
   each market's price with its day, then the US estimate after shipping. Small, on the navy header. */
.cv-hero-refs { min-width: 0; align-self: start; }
/* Each line a small two-column row: the market and its amount, then its day (or "after shipping") under the market's name,
   with "Not updated lately" under the amount. */
.cv-refs { list-style: none; display: grid; gap: 6px; margin: 10px 0 0; padding: 0; color: rgba(255, 255, 255, .7); font-size: 13px; line-height: 1.3; }
.cv-refs > .cv-ref > span { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: baseline; column-gap: 8px; }
.cv-refs .cv-ref-t { grid-column: 1; color: rgba(255, 255, 255, .88); font-weight: 600; }
.cv-refs .cv-amt { grid-column: 2; grid-row: 1; color: #fff; font-weight: 800; font-variant-numeric: tabular-nums; text-align: right; white-space: nowrap; }
.cv-refs .cv-ref-d { grid-column: 1; font-size: 12px; white-space: nowrap; }
.cv-refs .cv-ref-d > [aria-hidden="true"] { display: none; }
.cv-refs .cv-old { grid-column: 2; grid-row: 2; justify-self: end; padding: 0 6px; border-radius: 999px; background: rgba(255, 196, 92, .18); color: #ffd58f; font-size: 11px; font-style: normal; font-weight: 700; line-height: 1.6; white-space: nowrap; }
.cv-hero-refs .cv-stale { margin: 8px 0 0; padding: 2px 8px; font-size: 12px; }
.cv-hero-refs .cv-ref-vintage { margin: 8px 0 0; max-width: 380px; color: rgba(255, 255, 255, .78); font-size: 12.5px; }
@media (min-width: 720px) { .cv-refs { max-width: 380px; margin-top: 14px; font-size: 14px; } }

/* The headline's store block (owner, 2026-10-28: "here's the card, you can buy it in Canada. Here's the cheapest one. You
   can buy it here. And see all these stores."): "Buy it in Canada", the cheapest copy big, "Buy at <store>", the next
   cheapest copies as open compact rows (price, store, city · condition, a small View link), "See all 8 stores" (the rest,
   in place), then the verdict line, small. Nothing to tap to see the top stores. */
.cv-hl-eyebrow { margin: 0 0 2px; color: var(--muted); font-size: 12px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.cv-hl-price .cv-hl-at { overflow-wrap: anywhere; }
.cv-hl-meta { display: block; margin-top: 2px; color: var(--muted); font-size: 14px; }
.cv-hl-go { display: flex; margin: 12px 0 0; }
/* No copy of the fair price's printing near mint or lightly played (card-value.js headlinePick): one plain line, then the list. */
.cv-hl-none { margin: 4px 0 8px; color: var(--muted); font-size: 14px; }
/* Canadian fair price (the Canadian answer) and its cross-check; a store buylist offer beside the asking prices
   (docs/PRICES.md "Canadian fair price and buylist prices"). */
.cv-fair { margin: 2px 0 8px; font-size: 16px; }
.cv-fair .cv-fair-t { font-weight: 700; }
.cv-fair .cv-amt { font-size: 20px; }
.cv-fair .cv-src, .cv-buyoffer .cv-src { color: var(--muted); font-size: 14px; }
.cv-fair-x { margin: -4px 0 10px; color: var(--muted); font-size: 14px; }
.cv-buyoffer { margin: 10px 0 0; font-size: 15px; overflow-wrap: anywhere; }
.cv-hl-go > .cv-store-go { flex: 1 1 auto; min-height: 48px; padding: 10px 18px; font-size: 16px; }
@media (min-width: 720px) { .cv-hl-go > .cv-store-go { flex: 0 0 auto; min-width: 220px; } }
.cv-hl-store .cv-stores { margin: 0; border: 0; border-radius: 0; background: transparent; overflow: visible; }
.cv-hl-store .cv-next { margin-top: 12px; border-top: 1px solid var(--border); }
.cv-hl-store .cv-store { grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 0 12px; min-height: 56px; padding: 6px 0; border-bottom: 1px solid var(--border); }
.cv-hl-store .cv-store-amt { grid-column: 1; grid-row: 1; min-width: 4.6em; font-size: 16px; text-align: left; }
.cv-hl-store .cv-store-who { grid-column: 2; grid-row: 1; }
.cv-hl-store .cv-store-name { font-size: 15px; line-height: 1.3; }
.cv-hl-store .cv-store-meta { font-size: 13px; line-height: 1.35; }
.cv-hl-store .cv-store-view { grid-column: 3; grid-row: 1; }
.cv-store-view { display: inline-flex; align-items: center; justify-content: flex-end; min-width: 44px; min-height: 44px; color: var(--blue); font-size: 14px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.cv-store-view:hover { text-decoration: underline; }
.cv-store-view:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; border-radius: 4px; }
.cv-allstores-s { display: flex; align-items: center; gap: 6px; min-height: 48px; padding: 4px 0; border-bottom: 1px solid var(--border); color: var(--blue); font-size: 15px; font-weight: 700; cursor: pointer; list-style: none; }
.cv-allstores-s::-webkit-details-marker { display: none; }
.cv-allstores-s::after { content: '›'; flex: none; font-size: 20px; line-height: 1; transition: transform .15s; }
.cv-allstores[open] > .cv-allstores-s::after { transform: rotate(-90deg); }
@media (prefers-reduced-motion: reduce) { .cv-allstores-s::after { transition: none; } }
.cv-allstores-x, .cv-allstores[open] .cv-allstores-t { display: none; }
.cv-allstores[open] .cv-allstores-x { display: inline; }
.cv-allstores-s:hover { text-decoration: underline; }
.cv-allstores-s:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
/* Yu-Gi-Oh! store prices by printing (card-value.js printingStoresHtml): store rows (the hero's .cv-store grid), one per printing */
.cv-pstores .cv-pstore-list { margin-top: 8px; }
.cv-pstore .cv-store-name { overflow-wrap: break-word; }
.cv-pstores .cv-hint { margin: 8px 0 0; font-size: 13px; }

/* ---- Folding sections (details/summary): the title and a count or key number; open on tap ---- */
.cv-fold { margin: 0 0 12px; border: 1px solid var(--border); border-radius: var(--radius); background: #fff; }
.cv-fold > summary { display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 12px 16px; cursor: pointer; list-style: none; border-radius: var(--radius); }
.cv-fold > summary::-webkit-details-marker { display: none; }
.cv-fold > summary::after { content: '+'; flex: none; margin-left: auto; width: 28px; height: 28px; border-radius: 999px; background: var(--bg-soft); color: var(--ink); font-size: 20px; font-weight: 700; line-height: 28px; text-align: center; }
.cv-fold[open] > summary::after { content: '–'; }
.cv-fold > summary:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
.cv-fold-h { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; min-width: 0; }
.cv-fold-t { font-size: 18px; font-weight: 800; color: var(--ink); }
.cv-fold-k { font-size: 14px; font-weight: 600; color: var(--muted); }
.cv-fold-k .cv-ask b { color: var(--ink); }
.cv-fold-b { padding: 0 16px 16px; }
.cv-fold-b > p { margin: 0 0 10px; line-height: 1.55; }
.cv-fold-b > p.cv-soon, .cv-fold-b > p.cv-disc { margin: 10px 2px 0; }
.cv-hint { color: var(--muted); font-size: 14px; }
.cv-sub-h { margin: 18px 0 8px; font-size: 16px; font-weight: 800; color: var(--ink); }
.cv-near { margin: 0 0 12px; padding-left: 18px; line-height: 1.7; }
.cv-near-where { margin: 0 0 4px; font-size: 14px; color: var(--muted); }
.cv-muted-i { color: var(--muted); font-size: 14px; }
.cv-linkbtn { min-height: 32px; padding: 0 4px; border: 0; background: none; color: var(--blue); font: inherit; font-weight: 700; text-decoration: underline; cursor: pointer; }
.cv-linkbtn:focus-visible { outline: 3px solid var(--blue); outline-offset: 1px; }
.cv-chart-sec { margin-top: 16px; }
/* The price chart and Raw vs graded, unfolded right under the headline (APP-UX plan item 14): one box like the folds. */
.cv-pricing { margin: 0 0 12px; padding: 4px 16px 16px; border: 1px solid var(--border); border-radius: var(--radius); background: #fff; }
.cv-pricing > .cv-chart-sec { margin-top: 0; }
.cv-pricing .cv-sub-h { margin: 12px 0 8px; font-size: 18px; }
.cv-rg-sec { margin-top: 16px; padding-top: 4px; border-top: 1px solid var(--border); }
.cv-rg { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 8px; max-width: 760px; }
.cv-rg-t { padding: 8px 10px; border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--bg-alt); color: var(--text); }
.cv-rg-t.is-raw { background: var(--bg-tint); border-color: var(--border-strong); }
.cv-rg-t > .cv-price { display: grid; gap: 1px; }
.cv-rg-l { font-size: 13px; font-weight: 800; color: var(--ink); }
.cv-rg-t .cv-amt { font-size: 20px; line-height: 1.2; font-weight: 800; color: var(--ink); font-variant-numeric: tabular-nums; white-space: nowrap; }
.cv-rg-x { font-size: 13px; font-weight: 700; color: var(--muted); }
.cv-rg-d { font-size: 12px; color: var(--muted); }
.cv-rg-src { margin: 8px 0 0; max-width: 760px; font-size: 13px; line-height: 1.5; color: var(--muted); }
.cv-promo { margin: 0 0 16px; padding: 10px 14px; border-radius: var(--radius-sm); background: var(--bg-soft); color: var(--text); font-size: 14px; font-weight: 600; }
html.is-member .cv-promo { display: none; }
.cv-more-cards { margin-top: 28px; }
.cv-again { margin-top: 8px; }
.cv-again .cv-form { max-width: 640px; }

/* ---- The market answer (headline box without store prices, Market prices, search detail) ---- */
.cv-answer { max-width: 860px; }
.cv-answer:focus { outline: none; } /* not a control: focused by script so screen readers start here */
.cv-name { margin: 0 0 4px; font-weight: 800; font-size: 18px; color: var(--ink); }
.cv-set, .cv-var { font-weight: 600; color: var(--muted); font-size: 15px; }
.cv-line1 { margin: 0; font-size: 15px; line-height: 1.5; color: var(--muted); }
.cv-big { display: block; font-size: clamp(28px, 6vw, 40px); line-height: 1.1; font-weight: 800; letter-spacing: -.02em; color: var(--ink); }
.cv-src { color: var(--muted); }
.cv-range, .cv-alt { margin: 6px 0 0; font-size: 15px; line-height: 1.5; }
.cv-vintage { margin: 6px 0 0; font-size: 15px; line-height: 1.5; font-weight: 600; }
.cv-offer { margin: 10px 0 0; font-size: 14px; line-height: 1.5; color: var(--text); }
.cv-none { color: var(--muted); }
.cv-ref + .cv-chart-sec { margin-top: 20px; }
.cv-why { display: block; margin-top: 6px; font-size: 15px; line-height: 1.45; }
.cv-tiles { list-style: none; margin: 12px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 8px; max-width: 620px; }
.cv-tile { padding: 10px 12px; border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--bg-alt); color: var(--text); }
.cv-tile > .cv-price { display: grid; gap: 2px; }
.cv-tile-h { font-size: 13px; line-height: 1.35; font-weight: 800; color: var(--ink); }
.cv-tile-m { display: block; font-weight: 600; }
.cv-tile-amt { font-size: 26px; line-height: 1.15; font-weight: 800; letter-spacing: -.01em; color: var(--ink); font-variant-numeric: tabular-nums; }
.cv-tile-d { font-size: 14px; line-height: 1.5; }
.cv-tile-fx { font-size: 13px; line-height: 1.4; font-variant-numeric: tabular-nums; }
.cv-tile .cv-src { font-size: 13px; line-height: 1.4; }
.cv-tile .cv-range, .cv-tile-note { margin: 6px 0 0; font-size: 13px; line-height: 1.4; }
/* Graded prices (JustTCG): one line under the market tiles, "Graded (JustTCG): PSA 10 CA$X · PSA 9 CA$Y". */
.cv-graded { margin: 10px 0 0; max-width: 620px; padding: 8px 12px; border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--bg-tint); font-size: 15px; line-height: 1.5; }
.cv-graded-h { font-weight: 800; color: var(--ink); }
.cv-graded .cv-amt { white-space: nowrap; }
.cv-graded .cv-src { display: block; font-size: 13px; color: var(--muted); }
.cv-old { display: inline-block; padding: 0 8px; border-radius: 999px; background: rgba(91, 102, 124, .14); color: var(--muted); font-style: normal; font-size: 12px; font-weight: 700; line-height: 1.6; white-space: nowrap; }
.cv-more { margin: 10px 0 0; }
.cv-card:empty { display: none; }
.cv-card { margin-top: 16px; max-width: 860px; padding: 16px; border: 1px solid var(--border); border-radius: var(--radius); background: #fff; color: var(--text); }
.cv-card .inline-link { color: var(--blue); }
.cv-result.has-img { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 14px; align-items: start; }
.cv-result:focus { outline: none; } /* not a control: focused by script so screen readers start here */

.cv-shell { padding-bottom: 32px; }
.cv-section { margin: 0 0 32px; }
.cv-section h2 { margin: 0 0 12px; }
.cv-section > .cv-muted { margin-top: 12px; }
.cv-muted { margin: 10px 0 0; max-width: 760px; font-size: 14px; line-height: 1.55; color: var(--muted); }
.cv-how, .cv-links { margin: 0; padding-left: 18px; max-width: 820px; line-height: 1.6; }
.cv-how li, .cv-links li { margin: 0 0 8px; }
.cv-table-wrap { position: relative; max-width: 100%; overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius-sm); background: #fff; }
.cv-table-wrap:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
.cv-table { width: 100%; min-width: 420px; border-collapse: collapse; font-size: 15px; line-height: 1.45; }
.cv-table th, .cv-table td { padding: 10px 12px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--border); }
.cv-table thead th { background: var(--bg-alt); font-size: 13px; font-weight: 800; color: var(--ink); }
.cv-table tr:last-child > * { border-bottom: 0; }
.cv-table .cv-amt { color: var(--ink); }
.cv-credits { margin: 24px 0 0; padding-top: 12px; border-top: 1px solid var(--border); font-size: 13px; line-height: 1.6; color: var(--muted); max-width: 860px; }
.cv-card .cv-credits { margin-top: 14px; }
.cv-note { margin: 24px 0 0; padding: 12px 14px; border-left: 4px solid var(--subtle); border-radius: var(--radius-sm); background: var(--bg-alt); color: var(--muted); font-size: 13px; line-height: 1.6; }
.cv-note p { margin: 0 0 6px; }
.cv-note p:last-child { margin: 0; }

/* The chart's legend (card-value.js chartNote): the one source it draws; other markets are never mixed into its line. */
.cv-chart-src { display: flex; align-items: baseline; gap: 8px; margin: 0 0 10px; max-width: 760px; font-size: 14px; line-height: 1.5; color: var(--text); }
.cv-key { flex: none; display: inline-block; width: 18px; height: 3px; border-radius: 2px; background: var(--blue); transform: translateY(-4px); }

/* ---- Price chart (price-chart.js): one series, one source; the legend above it names the source. ---- */
.pc { margin: 0; }
.pc-head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin: 0 0 8px; }
.pc-ranges { display: inline-flex; gap: 4px; padding: 3px; border-radius: 999px; background: var(--bg-soft); }
.pc-range { min-width: 44px; min-height: 36px; padding: 0 10px; border: 0; border-radius: 999px; background: transparent; color: var(--ink); font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; }
.pc-range[aria-pressed="true"] { background: var(--navy); color: #fff; }
.pc-range:disabled { color: #5f6a80; cursor: not-allowed; }
.pc-range:focus-visible { outline: 3px solid var(--blue); outline-offset: 1px; }
.pc-summary { margin: 0; font-weight: 700; color: var(--ink); font-size: 15px; }
.pc-summary.is-up .pc-arrow { color: var(--ok-text); }
.pc-summary.is-down .pc-arrow { color: var(--error-text); }
.pc-summary.is-flat .pc-arrow { color: var(--muted); }
.pc-fig { margin: 0; }
.pc-svg { display: block; width: 100%; height: 220px; border-radius: var(--radius-sm); background: #fff; border: 1px solid var(--border); touch-action: pan-y; }
.pc-svg:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
.pc-grid { stroke: var(--border); stroke-width: 1; vector-effect: non-scaling-stroke; }
.pc-axis { fill: var(--muted); font-size: 12px; }
.pc-line { fill: none; stroke: var(--blue); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.pc-end { fill: var(--blue); stroke: #fff; stroke-width: 2; vector-effect: non-scaling-stroke; }
.pc-cross { stroke: var(--ink); stroke-width: 1; stroke-dasharray: 3 3; vector-effect: non-scaling-stroke; }
.pc-dot { fill: #fff; stroke: var(--blue); stroke-width: 2; vector-effect: non-scaling-stroke; }
.pc-read { min-height: 1.4em; margin: 6px 0 0; font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; }
.pc-empty { margin: 0; padding: 14px 16px; border-radius: var(--radius-sm); background: var(--bg-alt); color: var(--text); }
.pc-table { margin-top: 8px; }
.pc-table summary { cursor: pointer; font-weight: 700; color: var(--blue); min-height: 44px; display: flex; align-items: center; }
.pc-table-wrap { max-height: 320px; overflow: auto; border: 1px solid var(--border); border-radius: var(--radius-sm); }
.pc-table table { width: 100%; border-collapse: collapse; font-size: 14px; }
.pc-table th, .pc-table td { padding: 6px 10px; text-align: left; border-bottom: 1px solid var(--border); }
.pc-table thead th { position: sticky; top: 0; background: var(--bg-alt); }
@media (prefers-reduced-motion: no-preference) {
  .pc-line { stroke-dasharray: 1; stroke-dashoffset: 1; animation: pc-draw .7s ease-out forwards; }
  @keyframes pc-draw { to { stroke-dashoffset: 0; } }
  .cv-gt, .cv-chip, .cv-fold > summary::after { transition: border-color .15s ease, box-shadow .15s ease, background-color .15s ease; }
}
/* One Piece: our logo-free name card stands in for the card picture (no licensed card art; docs/PRICES.md). In a tile, in
   the card page hero: the game banner behind the number, the name and the printing (scripts/lib/game-art.mjs nameCard). */
.cv-gt-pic:has(> .cv-ncard), .cv-hero-name { position: relative; }
.cv-ncard { padding: 10px; }
.cv-ncard::after { background: linear-gradient(0deg, rgba(6, 12, 34, .96) 0%, rgba(6, 12, 34, .7) 55%, rgba(6, 12, 34, .2) 100%); }
.cv-ncard .ncard-art { object-position: 70% center; }
.cv-ncard .ncard-text { max-width: 100%; gap: 4px; }
.cv-ncard .ncard-set { font-size: 11px; }
.cv-ncard .ncard-name { font-size: 16px; line-height: 1.15; }
.cv-ncard .ncard-price { margin-top: 2px; padding: 1px 7px; font-size: 11px; line-height: 1.45; }
.cv-hero-name { display: block; aspect-ratio: 63 / 88; border-radius: 10px; overflow: hidden; box-shadow: 0 6px 18px rgba(2, 11, 37, .35); }
.cv-hero-name .ncard-name { font-size: 15px; }
@media (min-width: 720px) { .cv-hero-name .cv-ncard { padding: 18px; } .cv-hero-name .ncard-set { font-size: 14px; } .cv-hero-name .ncard-name { font-size: 28px; } .cv-hero-name .ncard-price { font-size: 13px; } }
/* Set pages and the set list on a game page. */
.cv-set-top { margin: 0; max-width: 760px; color: #e2e8f7; font-size: 15px; line-height: 1.5; }
.cv-set-top .inline-link { color: #fff; }
.cv-set-top .cv-price .cv-amt { color: #fff; }
.cv-set-top .cv-src { color: #d4dcf1; }
.cv-set-page .cv-chips { align-self: auto; }
.cv-set-list { list-style: none; display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; margin: 8px 0 18px; padding: 0; }
@media (min-width: 640px) { .cv-set-list { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); } }
.cv-set-link { display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-areas: 'code name' 'code meta'; column-gap: 10px; align-items: center; min-height: 48px; padding: 8px 12px; border: 1px solid var(--border); border-radius: var(--radius); background: #fff; color: var(--ink); text-decoration: none; }
.cv-set-link:hover { border-color: var(--border-strong); box-shadow: var(--shadow); }
.cv-set-link:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
.cv-set-code { grid-area: code; min-width: 48px; padding: 2px 8px; border-radius: 6px; background: var(--navy); color: #fff; font-size: 12px; font-weight: 800; text-align: center; letter-spacing: .04em; }
.cv-set-name { grid-area: name; font-weight: 800; font-size: 15px; line-height: 1.25; overflow-wrap: anywhere; }
.cv-set-meta { grid-area: meta; font-size: 13px; color: var(--muted); }
.cv-set-link:not(:has(.cv-set-code)) { grid-template-areas: 'name' 'meta'; grid-template-columns: minmax(0, 1fr); }

/* ---- Buy in Canada (docs/BUY-IN-CANADA.md): in the headline, one line (the verdict) and its details: the cheapest Canadian
   store copy next to the landed cost of ordering from the US, an estimate, with the dated rules. Tokens only, so the app
   frame's dark theme repaints it. No lime: the page keeps its one main action. ---- */
.cv-buyca-row { display: flex; flex-wrap: wrap; align-items: center; gap: 0 12px; margin: 6px 0 0; }
.cv-hl-store .cv-buyca-row { margin-top: 10px; }
.cv-verdict { margin: 0; font-size: 14px; line-height: 1.35; color: var(--ink); }
.cv-verdict.is-ca { color: var(--ok-text); }
.cv-buyca { min-width: 0; }
.cv-buyca[open] { flex-basis: 100%; }
.cv-buyca > summary { display: inline-flex; align-items: center; min-height: 36px; cursor: pointer; font-size: 14px; font-weight: 700; color: var(--blue); list-style: none; }
.cv-buyca > summary::-webkit-details-marker { display: none; }
.cv-buyca > summary:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
.cv-buyca-b { margin: 2px 0 4px; padding: 12px 14px 4px; border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--bg-tint); }
.cv-buyca-b > .cv-verdict { margin-bottom: 8px; }
.cv-buyca-rows { list-style: none; margin: 0; padding: 0; }
.cv-buyca-rows > li { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2px; padding: 8px 0; border-top: 1px solid var(--border); }
.cv-buyca-rows > li:first-child { border-top: 0; padding-top: 2px; }
.cv-buyca-t { font-size: 13px; font-weight: 700; color: var(--muted); }
.cv-est { margin-left: 4px; padding: 1px 7px; border-radius: 999px; background: var(--bg-soft); color: var(--text); font-size: 11px; font-weight: 700; letter-spacing: .03em; vertical-align: 1px; }
.cv-buyca-rows .cv-amt { font-size: 18px; font-weight: 800; line-height: 1.25; color: var(--ink); font-variant-numeric: tabular-nums; }
.cv-buyca-rows .cv-src { display: block; font-size: 13px; line-height: 1.45; color: var(--muted); }
.cv-buyca-rows .cv-none { font-size: 14px; color: var(--muted); }
.cv-buyca-note { margin: 4px 0 0; font-size: 13px; line-height: 1.45; color: var(--muted); }
.cv-buyca .cv-how { margin: 8px 0 10px; padding-left: 18px; font-size: 13px; line-height: 1.5; color: var(--text); }
@media (min-width: 640px) {
  .cv-buyca-rows > li { grid-template-columns: 140px minmax(0, 1fr); column-gap: 14px; align-items: baseline; }
}

/* ---- Most valuable cards (/card-value/<game>/most-valuable/): a ranked list, one row per card, each row one link. At 400px:
   the rank, a small picture, the name and set, then the price with its source and day under the name; from 720px the price
   has its own column. Tokens only (the app frame's dark theme repaints it). Up and down: an arrow and a word, never colour
   alone. ---- */
.cv-mv-answer { margin: 0 0 10px; max-width: 760px; color: #e2e8f7; font-size: 16px; line-height: 1.5; }
.cv-mv-answer .inline-link, .cv-mv-answer .cv-price .cv-amt { color: #fff; }
.cv-mv-answer .cv-src { color: #d4dcf1; }
.cv-mv-line { margin: 0 0 16px; font-size: 15px; }
.cv-mv-tabs { margin: 0 0 12px; }
.cv-mv-cap { margin: 0 0 8px; font-size: 14px; font-weight: 700; color: var(--muted); }
.cv-mv-block + .cv-mv-block { margin-top: 24px; }
.cv-mv-list { list-style: none; margin: 0 0 8px; padding: 0; display: grid; gap: 8px; max-width: 900px; }
.cv-mv-row { position: relative; display: grid; grid-template-columns: 26px minmax(0, 1fr); grid-template-areas: 'rank link' '. price'; column-gap: 8px; row-gap: 2px; padding: 10px 12px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg); }
.cv-mv-row:hover { border-color: var(--border-strong); box-shadow: var(--shadow); }
.cv-mv-rank { grid-area: rank; align-self: center; font-size: 15px; font-weight: 800; color: var(--muted); text-align: right; font-variant-numeric: tabular-nums; }
.cv-mv-link { grid-area: link; display: flex; align-items: center; gap: 10px; min-width: 0; color: var(--ink); text-decoration: none; }
.cv-mv-link::after { content: ''; position: absolute; inset: 0; border-radius: var(--radius); }
.cv-mv-link:focus-visible { outline: none; }
.cv-mv-link:focus-visible::after { outline: 3px solid var(--blue); outline-offset: 2px; }
.cv-mv-pic { flex: 0 0 44px; width: 44px; aspect-ratio: 63 / 88; border-radius: 4px; overflow: hidden; background: var(--bg-soft); }
.cv-mv-pic .cv-gt-img { display: block; width: 100%; height: 100%; object-fit: contain; }
.cv-mv-ph { display: flex; align-items: center; justify-content: center; height: 100%; padding: 2px; background: var(--navy); color: #fff; font-size: 9px; font-weight: 800; line-height: 1.15; text-align: center; overflow-wrap: anywhere; }
.cv-mv-main { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.cv-mv-name { font-weight: 800; font-size: 15px; line-height: 1.25; overflow-wrap: anywhere; }
.cv-mv-set { font-size: 13px; line-height: 1.35; color: var(--muted); overflow-wrap: anywhere; }
.cv-mv-ser { align-self: flex-start; margin-top: 2px; padding: 1px 8px; border-radius: 999px; background: var(--warn-bg); color: var(--warn-text); font-size: 12px; font-weight: 700; line-height: 1.5; }
.cv-mv-price { grid-area: price; padding-left: 54px; font-size: 13px; line-height: 1.4; color: var(--muted); }
.cv-mv-price .cv-amt { font-size: 17px; font-weight: 800; color: var(--ink); font-variant-numeric: tabular-nums; }
.cv-mv-price .cv-src { display: block; }
.cv-mv-game { font-size: 18px; color: var(--ink); }
.cv-mv-chs { display: flex; flex-wrap: wrap; gap: 2px 10px; margin-top: 2px; }
.cv-mv-ch { font-size: 13px; font-weight: 700; }
.cv-mv-ch.is-up { color: var(--ok-text); }
.cv-mv-ch.is-down { color: var(--error-text); }
.cv-mv-ch .cv-muted-i { font-size: 12px; font-weight: 400; }
@media (min-width: 720px) {
  .cv-mv-row { grid-template-columns: 32px minmax(0, 1fr) minmax(200px, 260px); grid-template-areas: 'rank link price'; align-items: center; }
  .cv-mv-price { padding-left: 0; text-align: right; }
  .cv-mv-chs { justify-content: flex-end; }
  .cv-mv-pic { flex-basis: 52px; width: 52px; }
}

/* ---- Card search (review 2026-10-28): the game of an "All games" hit, a variant badge, "Show 12 more", the other games
   that have the card, the card opened by its address on a game page, and the quick view as a bottom sheet in the app. ---- */
.cv-gt-game { font-weight: 700; color: var(--ink, inherit); }
.cv-gt-var { display: inline-block; align-self: flex-start; margin-top: 4px; padding: 1px 7px; border: 1px solid currentColor; border-radius: 999px; font-size: 12px; font-weight: 700; line-height: 1.5; color: var(--muted); }
/* A hit found by its French name (search helper 2026-11-01): the French name under the English one. */
.cv-gt-fr { display: block; margin-top: -4px; font-size: 13px; font-weight: 600; line-height: 1.3; color: var(--muted); overflow-wrap: anywhere; }
/* Search results as compact rows on a phone (UX re-check 2026-10-31: tiles 334 to 421 px tall showed 2 results a
   screen, where the leading card apps show 5 to 7 rows). Each row: a small picture on the left, the name, game · set ·
   number, then the price with its source and day in a right-hand column of its own, so the prices line up to compare.
   The row is still one link with the quick view button over all of it (a full-width target, 84px or more tall), and
   the picture and price column keep their size while the price loads, so nothing moves. From 720px: the picture grid. */
@media (max-width: 719.98px) {
  .cv-rows { gap: 8px; grid-template-columns: minmax(0, 1fr); }
  .cv-rows > .cv-gt { display: grid; grid-template-columns: minmax(0, 1fr) 116px; grid-template-rows: auto auto 1fr; align-content: start; column-gap: 10px; row-gap: 2px; min-height: 84px; padding: 8px 10px 8px 70px; }
  .cv-rows .cv-gt-link { display: block; grid-column: 1; }
  .cv-rows .cv-gt-pic { position: absolute; top: 8px; left: 10px; width: 48px; border-radius: 4px; }
  .cv-rows .cv-gt-name { display: inline; }
  .cv-rows .cv-gt-var { margin: 0 0 0 6px; padding: 0 6px; border-radius: 8px; font-size: 11px; vertical-align: 1px; }
  .cv-rows .cv-gt-fr { margin-top: 1px; font-size: 12px; }
  .cv-rows > .cv-gt > :is(.cv-gt-set, .cv-gt-print, .cv-gt-game, .cv-gt-own) { grid-column: 1; }
  .cv-rows > .cv-gt > .cv-gt-own { justify-self: start; margin-top: 2px; }
  .cv-rows .cv-gt-price { grid-column: 2; grid-row: 1 / -1; margin: 0; padding: 0; font-size: 12px; line-height: 1.35; text-align: right; overflow-wrap: anywhere; }
  .cv-rows .cv-gt-price .cv-amt { font-size: 16px; line-height: 1.3; }
  .cv-rows .cv-gt-price .cv-old { white-space: normal; }
  .cv-rows .cv-gt-price time { white-space: nowrap; }
  .cv-rows .cv-gt-wait { height: 36px; background-position: right 3px, right 24px; background-size: 64px 14px, 96px 9px; }
  /* A 48px picture: our name card shows only its game art (the name and number are in the row), the plain stand-in its
     game's name in small type. */
  .cv-rows .cv-ncard { padding: 0; }
  .cv-rows .cv-ncard .ncard-text { display: none; }
  .cv-rows .cv-gt-ph { padding: 2px; font-size: 9px; line-height: 1.15; overflow-wrap: anywhere; }
}
.cv-more-row { margin: 14px 0 0; text-align: center; }
.cv-more-row[hidden] { display: none; }
.cv-elsewhere { margin: 6px 0 0; color: #d4dcf1; font-size: 14px; }
.cv-elsewhere[hidden] { display: none; }
.cv-elsewhere .cv-linkbtn { min-height: 32px; color: inherit; }
.cv-again .cv-elsewhere { color: var(--muted); }
.cv-again .cv-elsewhere .cv-linkbtn { color: var(--blue); }
.cv-addbar { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 0; }
.cv-page.cv-is-card .cv-header h1, .cv-page.cv-is-card .cv-lead, .cv-page.cv-is-card .cv-offer-line, .cv-page.cv-is-card .cv-filters, .cv-page.cv-is-card .cv-mv-line, .cv-page.cv-is-card .cv-promo,
.cv-page.cv-is-card .cv-shell > .cv-section:not(#cv-search), .cv-page.cv-is-card .cv-shell > .cv-img-credit { display: none; }
/* The quick view sheet (app frame): picture beside the name and prices, the two buttons right under them (above the tab
   bar even when the sheet is short), then the stores. */
.cv-qv-sheet .cv-qvs { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 10px 12px; align-items: start; padding-bottom: 72px; }
.cv-qv-sheet .cv-qvs > :not(.cv-qv-pic):not(.cv-qvs-info) { grid-column: 1 / -1; }
.cv-qv-sheet .cv-qvs:not(:has(> .cv-qv-pic)) > .cv-qvs-info { grid-column: 1 / -1; }
.cv-qv-sheet .cv-qv-pic { margin: 0; }
.cv-qv-sheet .cv-qv-pic img { display: block; width: 96px; height: auto; border-radius: 6px; }
.cv-qv-sheet .cv-qv-pic figcaption { font-size: 11px; color: var(--muted); }
.cv-qv-sheet .cv-qvs-info { display: grid; gap: 6px; min-width: 0; }
.cv-qv-sheet .cv-qvs-info p { margin: 0; }
.cv-qv-sheet .cv-qv-btns { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; }
.cv-qv-sheet .cv-qv-btns .button { flex: 1 1 140px; justify-content: center; }
/* Card page headline (review 2026-10-28): the edition caveat of old Pokémon sets, a one-listing price, and the line to the
   card shops page before the visitor's city is known. */
.cv-hl-vintage { margin: 8px 0 0; font-size: 14px; line-height: 1.4; color: var(--muted); }
.cv-one { font-weight: 700; }
.cv-near-find { margin: 10px 0 0; }
.cv-near-box[hidden] { display: none; }
/* Two sources of one market's price: why their numbers differ (tools test 2026-11-05). */
.cv-why-two { margin: 8px 0 0; font-size: 12px; line-height: 1.35; color: rgba(255, 255, 255, .7); }
/* Yu-Gi-Oh! printings (card-value.js printingPickerHtml): the versions row with a picker, because a card can have 78. */
.cv-print-pick { display: block; margin: 0 0 8px; }
.cv-print-pick select { width: 100%; min-height: 44px; padding: 8px 12px; border: 1px solid rgba(255, 255, 255, .3); border-radius: 12px; background: #0d1731; color: #fff; font: inherit; font-size: 14px; }
.cv-print-pick select:focus-visible { outline: 3px solid var(--lime, #c6f432); outline-offset: 2px; }
.cv-print-line .cv-why { display: block; margin-top: 4px; font-size: 13px; line-height: 1.4; }
.cv-print-line .cv-big { display: block; }
.cv-print-table { min-width: 560px; font-size: 14px; }
.cv-result .cv-printings { margin: 10px 0; }

/* ---- Makeover 2026-11-13 (owner: "more colour … our market is used to all the cool looking stuff"): the hub and each
   game's page get an arena band in the game colours (Pokémon yellow, Yu-Gi-Oh! purple, One Piece red, Magic orange,
   Lorcana teal, as in the app's tokens), a holo edge, and game-coloured chips. Header text stays white on navy (AA). ---- */
.cv-hub-head { --cvg: #5fd3ff; --cvg2: #a78bfa; position: relative; isolation: isolate; overflow: hidden; margin-bottom: 16px; padding-bottom: 20px;
  background: radial-gradient(520px 240px at 6% 0%, color-mix(in srgb, var(--cvg) 30%, transparent), transparent 70%),
    radial-gradient(460px 240px at 96% 0%, color-mix(in srgb, var(--cvg2) 32%, transparent), transparent 70%),
    linear-gradient(160deg, #101c52, #070d26 70%); }
.cv-hub-head::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; z-index: -1;
  background: linear-gradient(90deg, #FFCB05, #F2994A, #F0565C, #A78BFA, #4F8DF7, #34C3C9, #c6f432); }
.cv-hub-head.is-all { --cvg: #FFCB05; --cvg2: #A78BFA; }
.cv-hub-head.is-pokemon { --cvg: #FFCB05; --cvg2: #4F8DF7; }
.cv-hub-head.is-yugioh { --cvg: #A78BFA; --cvg2: #F2994A; }
.cv-hub-head.is-onepiece { --cvg: #F0565C; --cvg2: #FFCB05; }
.cv-hub-head.is-mtg { --cvg: #F2994A; --cvg2: #A78BFA; }
.cv-hub-head.is-lorcana { --cvg: #34C3C9; --cvg2: #A78BFA; }
.cv-hub-head.is-digimon { --cvg: #4F8DF7; --cvg2: #F2994A; }
.cv-hub-head:not(.is-all) h1 { text-shadow: 0 2px 18px color-mix(in srgb, var(--cvg) 45%, transparent); }
.cv-hub-head:not(.is-all)::before { content: ''; position: absolute; inset: 0 auto 0 0; width: 5px; z-index: -1; background: var(--cvg); -webkit-mask-image: none; mask-image: none; }
.cv-hub-head .cv-lead { margin-bottom: 12px; color: #dfe6f7; }
.cv-hub-head .cv-row input { box-shadow: 0 0 0 1px color-mix(in srgb, var(--cvg) 55%, transparent), 0 8px 24px rgba(2, 8, 28, .35); }
/* Game chips in their own colour: a coloured dot, and the game's colour when it is the page you are on. */
.cv-gamechips .cv-chip[class*="is-"]::before { content: ''; width: 10px; height: 10px; margin-right: 8px; border-radius: 50%; background: var(--chip-g, #5fd3ff); }
.cv-gamechips .cv-chip.is-pokemon { --chip-g: #FFCB05; }
.cv-gamechips .cv-chip.is-yugioh { --chip-g: #A78BFA; }
.cv-gamechips .cv-chip.is-onepiece { --chip-g: #F0565C; }
.cv-gamechips .cv-chip.is-mtg { --chip-g: #F2994A; }
.cv-gamechips .cv-chip.is-lorcana { --chip-g: #34C3C9; }
.cv-gamechips .cv-chip.is-digimon { --chip-g: #4F8DF7; }
/* The page you are on: the game's colour (a light tint of it where the colour itself is too dark for navy text), navy text.
   Literal colours, so the dark theme's generator (scripts/lib/app-shell-dark.mjs) sees a bright fill and keeps the text. */
.cv-gamechips .cv-chip.is-pokemon[aria-current="page"] { background-color: #FFCB05; border-color: #FFCB05; color: #0b1430; }
.cv-gamechips .cv-chip.is-yugioh[aria-current="page"] { background-color: #C4B5FD; border-color: #C4B5FD; color: #0b1430; }
.cv-gamechips .cv-chip.is-onepiece[aria-current="page"] { background-color: #FF8A8F; border-color: #FF8A8F; color: #0b1430; }
.cv-gamechips .cv-chip.is-mtg[aria-current="page"] { background-color: #F2994A; border-color: #F2994A; color: #0b1430; }
.cv-gamechips .cv-chip.is-lorcana[aria-current="page"] { background-color: #34C3C9; border-color: #34C3C9; color: #0b1430; }
.cv-gamechips .cv-chip.is-digimon[aria-current="page"] { background-color: #8DB4FF; border-color: #8DB4FF; color: #0b1430; }
.cv-gamechips .cv-chip[class*="is-"][aria-current="page"]::before { background: #0b1430; }

/* The Pokémon Market's way in on the hub (owner, 2026-11-13): the dashboard's arena colours, white text on navy (AA). */
.cv-pm-banner { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 12px; align-items: center; margin: 0 0 18px; padding: 14px 16px; border: 1px solid rgba(95, 211, 255, .45); border-radius: 18px; color: #fff; text-decoration: none;
  background: radial-gradient(260px 120px at 0% 0%, rgba(95, 211, 255, .35), transparent 70%), radial-gradient(260px 140px at 100% 0%, rgba(160, 90, 255, .38), transparent 70%), linear-gradient(160deg, #101c52, #070d26 70%); }
.cv-pm-h { grid-column: 1; font-size: 19px; font-weight: 800; color: #fff; }
.cv-pm-s { grid-column: 1; font-size: 14px; color: #c9d2ea; }
.cv-pm-go { grid-column: 2; grid-row: 1 / span 2; font-size: 30px; line-height: 1; color: #5fd3ff; }
.cv-pm-banner:focus-visible { outline: 3px solid #5fd3ff; outline-offset: 3px; }

/* ---- Card page v2 (site plan 2026-11-13, B1/B2; scripts/sections/card-value.mjs .cv-hero2) ----
   The price first, beside the picture; under it, full width: the Canadian row, the versions, Ungraded / PSA tabs and the
   actions ("Add to collection" adds here; no floating bar). Sources and long notes are in the ⓘ sheet (info-sheet.css).
   The page draws this in both the website and the app frame (app-screens.js leaves .cv-hero2 alone), so the selectors
   carry #main.cv-card-page and :root to sit above the frame's older card-screen rules. Dark hero in both site themes. */
:root #main.cv-card-page .cv-hero.cv-hero2 { --cv2-ink: #f4f6ff; --cv2-soft: #c9d2ec; --cv2-mute: #a9b4d6; --cv2-line: rgba(255, 255, 255, .1); --cv2-card: rgba(255, 255, 255, .06); row-gap: 0; font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif; }
/* Nothing here waits for the frame's card screen (it leaves .cv-hero2 alone): the price paints with the page. */
html.zx-shell:not(.zx-cv-ready) #main.cv-card-page .cv-hero.cv-hero2 :is(#cv-headline, .cv-hero-main > :not(.cv-chips):not(h1)) { visibility: visible; }
:root #main.cv-card-page .cv-hero.cv-hero2 .cv-hero-main,
:root #main.cv-card-page .cv-hero.cv-hero2 .cv-headline { display: contents; }
:root #main.cv-card-page .cv-hero.cv-hero2.has-img { grid-template-columns: 128px minmax(0, 1fr); grid-template-rows: auto auto auto 1fr; column-gap: 16px; align-items: start; }
:root #main.cv-card-page .cv-hero.cv-hero2.has-img .cv-hero-img { grid-column: 1; grid-row: 1 / 5; }
:root #main.cv-card-page .cv-hero.cv-hero2.has-img .cv-chips { grid-column: 2; grid-row: 1; }
:root #main.cv-card-page .cv-hero.cv-hero2.has-img h1 { grid-column: 2; grid-row: 2; }
:root #main.cv-card-page .cv-hero.cv-hero2.has-img .cv-subs { grid-column: 2; grid-row: 3; }
:root #main.cv-card-page .cv-hero.cv-hero2.has-img :is(.cv-answer, .cv-gline) { grid-column: 2; grid-row: 4; align-self: end; }
:root #main.cv-card-page .cv-hero.cv-hero2.has-img .cv-headline > :not(.cv-answer):not(.cv-gline) { grid-column: 1 / -1; }
:root #main.cv-card-page .cv-hero.cv-hero2 .cv-chips { margin: 0 0 6px; align-self: start; }
:root #main.cv-card-page .cv-hero.cv-hero2 .cv-chips li { padding: 1px 9px; background: var(--zx-gglow, rgba(143, 220, 255, .16)); color: var(--zx-gc, #8fdcff); font-size: 11.5px; letter-spacing: .02em; }
:root #main.cv-card-page .cv-hero.cv-hero2 h1 { margin: 0; align-self: start; color: #fff; font-size: clamp(22px, 6vw, 26px); line-height: 1.12; letter-spacing: -.015em; }
:root #main.cv-card-page .cv-hero.cv-hero2 .cv-subs { display: flex; flex-direction: column; gap: 1px; margin: 4px 0 0; }
:root #main.cv-card-page .cv-hero.cv-hero2 .cv-sub { color: var(--cv2-soft); font-size: 14px; font-weight: 600; }
:root #main.cv-card-page .cv-hero.cv-hero2 .cv-sub2 { color: var(--cv2-mute); font-size: 12.5px; }
/* The price: big, white, its source small under it, the ⓘ at the end of that line. */
:root #main.cv-card-page .cv-hero.cv-hero2 :is(.cv-answer, .cv-gline) { margin: 12px 0 0; min-width: 0; }
:root #main.cv-card-page .cv-hero.cv-hero2 .cv-line1 { margin: 0; }
:root #main.cv-card-page .cv-hero.cv-hero2 .cv-line1 .cv-big { display: block; color: #fff; font-size: clamp(26px, 7vw, 30px); font-weight: 800; line-height: 1.08; letter-spacing: -.025em; font-variant-numeric: tabular-nums; }
:root #main.cv-card-page .cv-hero.cv-hero2 .cv-line1 :is(.cv-src, .cv-why) { display: inline; color: var(--cv2-mute); font-size: 12.5px; line-height: 1.4; }
:root #main.cv-card-page .cv-hero.cv-hero2 .cv-headline .inline-link { color: #8fdcff; }
:root #main.cv-card-page .cv-hero.cv-hero2 :is(.cv-stale, .cv-hl-note) { justify-self: start; margin: 12px 0 0; padding: 3px 10px; border-radius: 999px; background: rgba(255, 196, 92, .16); color: #ffd58f; font-size: 12.5px; font-weight: 700; }
:root #main.cv-card-page .cv-hero.cv-hero2 .cv-hl-vintage { margin: 10px 0 0; color: var(--cv2-mute); font-size: 12.5px; }
:root #main.cv-card-page .cv-hero.cv-hero2 .cv-print-line .cv-src { display: block; }
/* "Estimate · not an offer" under every value the block leads with, the ⓘ beside it: small, muted, always on screen. */
:root #main.cv-card-page .cv-hero.cv-hero2 .cv-est { display: flex; align-items: center; gap: 4px; margin: 6px 0 0; }
:root #main.cv-card-page .cv-hero.cv-hero2 .cv-est-t { display: inline-block; padding: 1px 8px; border: 1px solid rgba(255, 255, 255, .16); border-radius: 999px; color: var(--cv2-mute); font-size: 11.5px; font-weight: 600; line-height: 1.6; white-space: nowrap; }
:root #main.cv-card-page .cv-hero.cv-hero2 .cv-est .zx-info-btn { width: 28px; height: 28px; margin: -4px 0; }
/* In Canada: one row, one tap to its sheet. */
:root #main.cv-card-page .cv-hero.cv-hero2 .cv-ca { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; column-gap: 12px; margin: 14px 0 0; padding: 10px 12px; border: 1px solid var(--cv2-line); border-radius: 14px; background: var(--cv2-card); color: var(--cv2-ink); text-decoration: none; }
:root #main.cv-card-page .cv-hero.cv-hero2 .cv-ca:hover { border-color: rgba(255, 255, 255, .24); background: rgba(255, 255, 255, .09); }
:root #main.cv-card-page .cv-hero.cv-hero2 .cv-ca:focus-visible { outline: 2px solid var(--lime, #c6f432); outline-offset: 2px; }
.cv-ca-tag { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 10px; background: rgba(213, 43, 30, .18); color: #ff9a92; font-size: 12px; font-weight: 800; letter-spacing: .04em; }
:root #main.cv-card-page .cv-hero.cv-hero2 .cv-ca .cv-ask { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 8px; min-width: 0; }
.cv-ca-t { flex: 1 0 100%; color: #a9b4d6; font-size: 12px; font-weight: 600; }
.cv-ca-amt { color: #fff; font-size: 17px; font-weight: 800; font-variant-numeric: tabular-nums; }
.cv-ca-meta { color: #c9d2ec; font-size: 13px; }
.cv-ca-go { color: #a9b4d6; font-size: 22px; line-height: 1; }
/* The versions and the grade tabs. */
:root #main.cv-card-page .cv-hero.cv-hero2 .cv-versions { margin: 16px 0 0; }
:root #main.cv-card-page .cv-hero.cv-hero2 .cv-versions-h { margin: 0 0 6px; color: var(--cv2-mute); font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
:root #main.cv-card-page .cv-hero.cv-hero2 .cv-ver { border-color: var(--cv2-line); background: var(--cv2-card); }
:root #main.cv-card-page .cv-hero.cv-hero2 .cv-ver.is-current { border-color: #fff; background: #f4f6ff; color: #0a1028; }
:root #main.cv-card-page .cv-hero.cv-hero2 .cv-versions-note { color: var(--cv2-mute); font-size: 11.5px; }
:root #main.cv-card-page .cv-hero.cv-hero2 .cv-gtabs { display: flex; gap: 4px; margin: 14px 0 0; padding: 4px; overflow-x: auto; border-radius: 14px; background: rgba(0, 0, 0, .28); scrollbar-width: none; }
:root #main.cv-card-page .cv-hero.cv-hero2 .cv-gtabs::-webkit-scrollbar { display: none; }
.cv-gtab { flex: 1 0 auto; min-height: 40px; padding: 0 14px; border: 0; border-radius: 10px; background: transparent; color: #a9b4d6; font: inherit; font-size: 14px; font-weight: 700; white-space: nowrap; cursor: pointer; }
.cv-gtab:hover { color: #fff; }
:root #main.cv-card-page .cv-gtab[aria-pressed="true"] { background: #f4f6ff; color: #0a1028; }
.cv-gtab:focus-visible { outline: 2px solid var(--lime, #c6f432); outline-offset: 1px; }
#main.cv-card-page.cv-has-gtabs .cv-rg-sec { display: none; }
/* The actions: Add to collection (the screen's one lime button), then small ones. */
:root #main.cv-card-page .cv-hero.cv-hero2 .cv-hl-btns { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 0; padding: 0; border: 0; }
:root #main.cv-card-page .cv-hero.cv-hero2 .cv-hl-btns .button { display: inline-flex; align-items: center; gap: 6px; min-height: 38px; padding: 6px 12px; border: 1px solid rgba(255, 255, 255, .18); border-radius: 999px; background: rgba(255, 255, 255, .07); color: #fff; font-size: 14px; font-weight: 700; box-shadow: none; }
:root #main.cv-card-page .cv-hero.cv-hero2 .cv-hl-btns .button:hover { border-color: rgba(255, 255, 255, .34); background: rgba(255, 255, 255, .12); }
:root #main.cv-card-page .cv-hero.cv-hero2 .cv-hl-btns .button.button-primary { flex: 1 0 100%; justify-content: center; min-height: 50px; border-color: transparent; border-radius: 14px; background: var(--lime, #c6f432); color: var(--navy, #0b1430); font-size: 16px; }
:root #main.cv-card-page .cv-hero.cv-hero2 .cv-hl-btns .button.button-primary:hover { filter: brightness(1.05); }
:root #main.cv-card-page .cv-hero.cv-hero2 .cv-hl-btns .button[aria-busy="true"] { opacity: .7; }
:root #main.cv-card-page .cv-hero.cv-hero2 .cv-hl-btns .button:focus-visible { outline: 2px solid var(--lime, #c6f432); outline-offset: 2px; }
.cv-i { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.button-primary .cv-i { width: 20px; height: 20px; stroke-width: 2.6; }
:root #main.cv-card-page .cv-hero.cv-hero2 :is(.cv-forsale, .cv-disc) { margin: 12px 0 0; color: var(--cv2-soft); font-size: 13px; }
/* No picture: the same order in one column. */
:root #main.cv-card-page .cv-hero.cv-hero2:not(.has-img) { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 720px) {
  :root #main.cv-card-page .cv-hero.cv-hero2.has-img { grid-template-columns: 260px minmax(0, 1fr); grid-template-rows: auto; column-gap: 36px; }
  :root #main.cv-card-page .cv-hero.cv-hero2.has-img .cv-hero-img { grid-row: 1; }
  :root #main.cv-card-page .cv-hero.cv-hero2 .cv-hero-main { display: flex; flex-direction: column; grid-column: 2; grid-row: 1; max-width: 560px; }
  :root #main.cv-card-page .cv-hero.cv-hero2:not(.has-img) .cv-hero-main { grid-column: 1; }
  :root #main.cv-card-page .cv-hero.cv-hero2 .cv-headline { display: flex; flex-direction: column; max-width: none; margin: 0; padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; }
  :root #main.cv-card-page .cv-hero.cv-hero2.has-img :is(.cv-chips, h1, .cv-answer, .cv-gline) { align-self: flex-start; }
  :root #main.cv-card-page .cv-hero.cv-hero2 .cv-headline > * { min-width: 0; }
  :root #main.cv-card-page .cv-hero.cv-hero2 :is(.cv-stale, .cv-hl-note) { align-self: flex-start; }
  :root #main.cv-card-page .cv-hero.cv-hero2 h1 { font-size: 34px; }
  :root #main.cv-card-page .cv-hero.cv-hero2 .cv-sub { font-size: 16px; }
  :root #main.cv-card-page .cv-hero.cv-hero2 :is(.cv-answer, .cv-gline) { margin-top: 18px; }
  :root #main.cv-card-page .cv-hero.cv-hero2 .cv-line1 .cv-big { font-size: 44px; }
  :root #main.cv-card-page .cv-hero.cv-hero2 .cv-line1 :is(.cv-src, .cv-why) { font-size: 13.5px; }
  :root #main.cv-card-page .cv-hero.cv-hero2 .cv-hl-btns .button.button-primary { flex: 0 1 auto; min-width: 240px; }
}

/* The "Added · Undo · View collection" message (card-value.js), over the tab bar. */
.cv-toast { position: fixed; z-index: 300; left: 50%; bottom: calc(var(--zx-bar, 0px) + 16px + env(safe-area-inset-bottom, 0px)); display: flex; align-items: center; gap: 10px; width: max-content; max-width: calc(100vw - 32px); box-sizing: border-box; padding: 8px 8px 8px 14px; border: 1px solid rgba(255, 255, 255, .12); border-radius: 16px; background: #16224d; color: #fff; box-shadow: 0 14px 34px rgba(0, 0, 0, .45); font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif; font-size: 14px; opacity: 0; visibility: hidden; transform: translate(-50%, 12px); }
.cv-toast.is-on { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
@media (prefers-reduced-motion: no-preference) {
  .cv-toast { transition: opacity .18s ease, transform .18s ease, visibility 0s linear .18s; }
  .cv-toast.is-on { transition: opacity .18s ease, transform .18s ease, visibility 0s; }
}
.cv-toast-ico { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--lime, #c6f432); color: var(--navy, #0b1430); font-size: 13px; font-weight: 900; }
.cv-toast-t { min-width: 0; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cv-toast-b, .cv-toast-a { flex: none; display: inline-flex; align-items: center; min-height: 36px; padding: 0 10px; border: 0; border-radius: 10px; background: transparent; color: #8fdcff; font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; }
.cv-toast-b { margin-left: 6px; color: var(--lime, #c6f432); }
.cv-toast-b:hover, .cv-toast-a:hover { background: rgba(255, 255, 255, .08); }
.cv-toast-b:focus-visible, .cv-toast-a:focus-visible { outline: 2px solid var(--lime, #c6f432); outline-offset: 1px; }
@media (min-width: 1024px) { html.zx-shell .cv-toast { left: calc(50% + var(--zx-side, 248px) / 2); } }

/* The ⓘ sheets' content (Sources, In Canada): dark, like every sheet. Without JavaScript these are page sections. */
.zx-isheet .cv-refs { margin: 0; max-width: none; color: #c9d2ec; font-size: 14px; }
.zx-isheet .cv-refs > .cv-ref { padding: 8px 0; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.zx-isheet .cv-why-two, .zx-isheet .cv-ref-vintage { margin: 10px 0 0; color: #a9b4d6; font-size: 13px; }
.zx-isheet .cv-buyca-row { margin: 12px 0 0; }
.zx-isheet .cv-buyca > summary { color: #8fdcff; }
.zx-isheet .cv-buyca-b { border-color: rgba(255, 255, 255, .1); background: #0a1028; color: #c9d2ec; }
.zx-isheet .cv-buyca-b :is(.cv-amt, strong) { color: #fff; }
.zx-isheet .cv-buyca-b :is(.cv-buyca-t, .cv-src, .cv-buyca-note, .cv-how) { color: #a9b4d6; }
.zx-isheet .cv-buyca-rows > li { border-top-color: rgba(255, 255, 255, .08); }
.zx-isheet .cv-est { background: rgba(255, 255, 255, .1); color: #fff; }
.zx-isheet .cv-offer { margin: 16px 0 0; color: #dfe6fb; font-size: 13.5px; }
.zx-isheet .cv-credits { margin: 12px 0 0; padding-top: 12px; border-top-color: rgba(255, 255, 255, .1); color: #a9b4d6; font-size: 12.5px; }
.zx-isheet .cv-old { background: rgba(255, 196, 92, .18); color: #ffd58f; }
.cv-ca-sum { margin: 0 0 12px; font-size: 15px; }
.zx-isheet .cv-ca-sum { color: #dfe6fb; }
.zx-isheet .cv-ca-sum b { color: #fff; font-size: 17px; }
.cv-ca-list { list-style: none; margin: 0 0 6px; padding: 0; }
.cv-ca-row { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; column-gap: 12px; padding: 10px 0; border-top: 1px solid rgba(255, 255, 255, .08); }
.cv-ca-who { display: flex; flex-direction: column; min-width: 0; }
.cv-ca-store { color: #fff; font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cv-ca-where { color: #a9b4d6; font-size: 12.5px; }
.cv-ca-price { color: #fff; font-size: 15px; font-variant-numeric: tabular-nums; }
.cv-ca-view { display: inline-flex; align-items: center; min-height: 36px; padding: 0 12px; border-radius: 10px; background: rgba(255, 255, 255, .08); color: #fff; font-weight: 700; text-decoration: none; }
.cv-ca-view:focus-visible { outline: 2px solid var(--lime, #c6f432); }
.cv-ca-more { color: #a9b4d6; font-size: 12.5px; }
.cv-ca-gate { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 4px 0 14px; padding: 12px 14px; border: 1px solid rgba(198, 244, 50, .28); border-radius: 14px; background: rgba(198, 244, 50, .07); font-weight: 600; }
.zx-isheet .cv-ca-gate { color: #f4f6ff; }
.cv-ca-gate[hidden] { display: none; }
.cv-ca-gate span { flex: 1 1 200px; }
.cv-ca-gate .button { min-height: 40px; }
.cv-ca-note { margin: 10px 0 0; font-size: 12.5px; }
.zx-isheet .cv-ca-note { color: #a9b4d6; }

/* ---- Card details (card pages audit 2026-11-15): the card's own facts, label and value per row; two columns from 720px ---- */
.cv-facts-l { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; margin: 8px 0 6px; max-width: 820px; border-top: 1px solid var(--border); }
.cv-facts-l > div { display: grid; grid-template-columns: 9.5em minmax(0, 1fr); gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--border); }
.cv-facts-l dt { margin: 0; color: var(--muted); font-size: 14px; }
.cv-facts-l dd { margin: 0; font-size: 15px; font-weight: 600; overflow-wrap: anywhere; }
@media (min-width: 720px) { .cv-facts-l { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 28px; } }
/* A set page's cards past the picture grid: plain links, several per row on a wide screen. */
.cv-rest { list-style: none; margin: 8px 0 18px; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 2px 18px; }
@media (min-width: 640px) { .cv-rest { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); } }
.cv-rest a { display: block; min-height: 36px; padding: 7px 0; color: var(--ink); overflow-wrap: anywhere; }
.cv-rest a:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
