/* Randolph Goods look (Ryan, 2026-11-17: "use https://www.randolphgoods.com/ colors... make sure we dont look the same").
   Loaded after app.css only when web/look.py says so (ADMIN accounts until the admin page says everyone), and every
   rule hangs off html.rg, so nobody else sees a pixel of it.

   Read from randolphgoods.com's live theme: white page, #f1f3f3 alternate surface, ink #0a0f0e, headings #000, the deep
   teal band #043735 (their other teals #173f39, #347f66, #108474), the mint "Sale" badge #a1d9c6 on a 2px rectangle,
   Playfair Display headings and Source Serif 4 body (both OFL, self-hosted under /static/fonts). The gold, sampled from
   their logo (#e5b378 to #a57a58), is the wordmark's, and the front door's one selected thing (a Liked heart, a
   reached target, the retail side of the spread) and nothing else's. Distinction from the field: the teal band,
   the serif body, square geometry and hairline rules. No cream, no forest green, no pills, no glow. */

@font-face { font-family: "Playfair Display"; src: url("/static/fonts/playfair-display-latin-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Playfair Display"; src: url("/static/fonts/playfair-display-latin-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Source Serif 4"; src: url("/static/fonts/source-serif-4-latin-normal.woff2") format("woff2"); font-weight: 200 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Source Serif 4"; src: url("/static/fonts/source-serif-4-latin-italic.woff2") format("woff2"); font-weight: 200 900; font-style: italic; font-display: swap; }

/* ------------------------------------------------------------ tokens */
html.rg {
  /* the band: the teal is ours alone among the competitors */
  --brand: #043735;
  --brand-deep: #022a28;
  --on-brand: #c3d6d1;
  --copper-hi: #a1d9c6;   /* the accent on the band: their mint, never gold */
  --copper-lo: #347f66;
  --gold-hi: #e5b378;     /* the wordmark only */
  --gold: #ba9064;
  --gold-lo: #a57a58;

  --bg: #ffffff;
  --panel: #ffffff;
  --panel-2: #f1f3f3;
  --text: #0a0f0e;
  --strong: #000000;
  --muted: #46514e;
  --faint: #59645f;
  --line: rgba(10, 15, 14, 0.22);
  --line-soft: rgba(10, 15, 14, 0.12);
  --rule: #0a0f0e;
  --accent: #043735;
  --bronze: #347f66;
  --btn: #043735;
  --btn-ink: #f1f3f3;
  --btn-hover: #283e36;
  --accent-ink: #f1f3f3;
  --mint: #a1d9c6;
  --mint-line: #5cbc9c;
  --ok: #1b6a50;
  --warn: #8a5a00;
  --bad: #7a1f2b;
  --code-bg: #f1f3f3;
  --row-hover: #f1f3f3;
  --focus: #108474;
  --fill: rgba(10, 15, 14, 0.04);
  --fill-2: rgba(10, 15, 14, 0.08);
  --plate: #f1f3f3;
  --plate-ink: #0a0f0e;
  --seg-on: #ffffff;
  --shadow: none;
  --l0: #f1f3f3;
  --l1: #d3e6e0;
  --l2: #a1d9c6;
  --l3: #5c9c86;
  --l4: #347f66;
  --l5: #043735;
  --s-realized: #108474;

  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Source Serif 4", Georgia, "Times New Roman", serif;
  font-synthesis-weight: none;  /* Playfair is 400 everywhere, never a faux bold */
}
@media (prefers-color-scheme: dark) {
  /* a deep teal-black ground, derived from the band; the same rules */
  html.rg {
    --brand: #043735;
    --brand-deep: #011a19;
    --on-brand: #c3d6d1;
    --bg: #011c1b;
    --panel: #032523;
    --panel-2: #06302d;
    --text: #e3ebe9;
    --strong: #ffffff;
    --muted: #a6b8b4;
    --faint: #8ea29d;
    --line: rgba(241, 243, 243, 0.22);
    --line-soft: rgba(241, 243, 243, 0.11);
    --rule: #f1f3f3;
    --accent: #a1d9c6;
    --bronze: #5cbc9c;
    --btn: #a1d9c6;
    --btn-ink: #06140f;
    --btn-hover: #cfe2dc;
    --accent-ink: #06140f;
    --ok: #a1d9c6;
    --warn: #e5b866;
    --bad: #e59aa4;
    --code-bg: #032523;
    --row-hover: #06302d;
    --focus: #a1d9c6;
    --fill: rgba(241, 243, 243, 0.06);
    --fill-2: rgba(241, 243, 243, 0.12);
    --plate: #e6ebea;
    --plate-ink: #0a0f0e;
    --seg-on: #0a3c39;
    --l0: #06302d;
    --l1: #0b4440;
    --l2: #17605a;
    --l3: #347f66;
    --l4: #5cbc9c;
    --l5: #a1d9c6;
    --s-realized: #5cbc9c;
  }
}

/* ------------------------------------------------------------ type */
html.rg body { font-family: var(--sans); font-variant-numeric: lining-nums tabular-nums; }
html.rg h1, html.rg h2, html.rg .brand { font-weight: 400; }
html.rg h1 { letter-spacing: -0.01em; }
/* a solid hairline divides each section; :where keeps it weaker than any h2 drawn without one */
:where(html.rg) h2 { letter-spacing: 0; border-bottom-color: var(--rule); }
:where(html.rg) .pagehead { border-bottom-color: var(--rule); }
html.rg h3, html.rg .kicker { font-family: var(--sans); font-weight: 600; letter-spacing: 0.16em; }
html.rg b, html.rg strong { font-weight: 600; }
html.rg ::selection { background: color-mix(in srgb, var(--mint) 60%, transparent); }
html.rg :focus-visible { border-radius: 0; }

/* ------------------------------------------------------------ the band: side nav, top bar, phone tab bar */
html.rg .topbar .brand { color: var(--gold); }
html.rg .topbar .brand .mark { display: none; }
html.rg .topbar .brand .word, html.rg .topbar .brand .coll {
  /* their logo: wide-tracked serif capitals in a gold gradient on the teal; the only gold on the site */
  font-family: var(--serif); font-weight: 400; color: var(--gold);
  background: linear-gradient(100deg, var(--gold-lo) 0%, var(--gold-hi) 42%, var(--gold) 68%, var(--gold-lo) 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
html.rg .topbar .brand .word { font-size: 1.625rem; letter-spacing: 0.26em; padding-left: 0.26em; }
html.rg .topbar .brand .coll { font-size: 0.6875rem; letter-spacing: 0.5em; padding-left: 0.5em; margin-top: var(--sp-2); }
html.rg .topbar .tabs ul a { color: #d5e3df; }
html.rg .topbar .tabs ul a:hover, html.rg .topbar .tabs a.on, html.rg .topbar .tabs ul.sub a.on { color: #ffffff; }
html.rg .topbar .tabs .adv, html.rg .topbar .tabs .who { color: #d5e3df; }
html.rg .topbar .tabs .end { border-top-color: rgba(241, 243, 243, 0.2); }
html.rg .shell.no-nav .topbar { background: var(--brand); }
@media (max-width: 860px) {
  html.rg .topbar .brand .word { font-size: 1.1875rem; letter-spacing: 0.24em; padding: 0; }
  html.rg .topbar .brand .coll { font-size: 0.5625rem; letter-spacing: 0.34em; padding: 0; margin: 0; }
  html.rg .topbar .tabs ul a { border-bottom-color: rgba(241, 243, 243, 0.14); }
  html.rg .menu, html.rg .menu:hover { color: #f1f3f3; }
  html.rg .dock { border-top-color: rgba(241, 243, 243, 0.16); }
  html.rg .dock a { color: #b9cdc8; }
}

/* ------------------------------------------------------------ square geometry and hairlines */
html.rg .tile, html.rg img.thumb, html.rg table.frozen-comps td.comp-photo img, html.rg .play-more img { border-radius: 0; }
html.rg .stat-row .stat, html.rg .stepno, html.rg .milestone.earned .mark-i { border-radius: 2px; }
html.rg nav.steps-nav a[aria-current] .stepno { color: #ffffff; }
html.rg .tag.ok, html.rg .tag.sale { color: #0a0f0e; background: var(--mint); border-color: var(--mint-line); }  /* their "Sale" badge */
html.rg .tag.bad { color: #ffffff; background: var(--bad); border-color: var(--bad); }
@media (prefers-color-scheme: dark) {
  html.rg .tag.ok, html.rg .tag.sale { color: #06140f; }
  html.rg .tag.bad { color: #1a0306; }
}

/* ------------------------------------------------------------ hero bands */
@media (max-width: 860px) {
  html.rg .filters summary::before { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23347f66' stroke-width='1.8' stroke-linecap='round'%3E%3Cpath d='M4 7h16M7 12h10M10 17h4'/%3E%3C/svg%3E") no-repeat center / contain; }  /* the filter icon: teal, not copper */
}
@media (max-width: 860px) and (prefers-color-scheme: dark) {
  html.rg .filters summary::before { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a1d9c6' stroke-width='1.8' stroke-linecap='round'%3E%3Cpath d='M4 7h16M7 12h10M10 17h4'/%3E%3C/svg%3E") no-repeat center / contain; }
}
html.rg .play-hero { background: var(--brand); color: #f1f3f3; border-radius: 0; }
html.rg .play-hero h2 { color: #ffffff; border: 0; }
html.rg .play-hero p { color: #d5e3df; }
html.rg .play-hero .small, html.rg .play-hero .small.muted { color: #b9cdc8; }
html.rg .play-hero .button { background: var(--mint); border-color: var(--mint); color: #06140f; }  /* their button on the teal */
html.rg .play-hero .button:hover { background: #cfe2dc; border-color: #cfe2dc; color: #06140f; }

/* ------------------------------------------------------------ photo tiles: a flat light grey, like their product grid */
html.rg .ph::after { box-shadow: inset 0 0 0 1px rgba(10, 15, 14, 0.06); }

/* ------------------------------------------------------------ Curtain Call */
html.rg .dk { --dk-gold: #108474; --dk-gold-fill: #a1d9c6; --ic-high: #7a1f2b; --ic-skip: #59645f; --ic-buy: #108474; --ic-fair: #043735; }
@media (prefers-color-scheme: dark) {
  html.rg .dk { --dk-gold: #5cbc9c; --dk-gold-fill: #a1d9c6; --ic-high: #e59aa4; --ic-skip: #a6b8b4; --ic-buy: #5cbc9c; --ic-fair: #a1d9c6; }
}
html.rg .hp-hero, html.rg .hp-photo, html.rg .hp-box, html.rg .hp-card .dk-strip { border-radius: 0; box-shadow: none; }
html.rg .hp-box { border-color: var(--line); }
html.rg .hp-price { border-radius: 2px; background: #ffffff; color: #0a0f0e; box-shadow: none; border: 1px solid #0a0f0e; font-weight: 400; }
html.rg .hp-price small { color: #46514e; font-family: var(--sans); }
html.rg h2.hp-title { font-weight: 400; }
html.rg .hp-note { border-radius: 2px; }
html.rg .hp-note.bad { color: #ffffff; background: #7a1f2b; border-color: #7a1f2b; }
html.rg .hp-note.good { color: #0a0f0e; background: #a1d9c6; border-color: #a1d9c6; }
html.rg .hp-note.mixed, html.rg .hp-note.info { color: #ffffff; background: rgba(10, 15, 14, 0.45); border-color: rgba(241, 243, 243, 0.6); }
html.rg .hp-chip { border-radius: 2px; background: var(--panel-2); border-color: transparent; }
html.rg .hp-chip.unknown { background: none; border-color: var(--line); }
html.rg .hp-tag { border-radius: 2px; color: #0a0f0e; background: var(--mint); }
html.rg .hp-answer { font-weight: 400; }
html.rg .hp-rb svg { border-radius: 2px; box-shadow: none; background: var(--panel); }
html.rg .hp-rb.is-approve svg { background: var(--panel); }
html.rg .dk-pg { border-radius: 2px; background: #ffffff; color: #043735; box-shadow: none; border: 1px solid rgba(10, 15, 14, 0.2); }
html.rg .dk-pg:hover { background: #ffffff; color: #0a0f0e; border-color: #0a0f0e; }
html.rg .pc-bars li { border-radius: 0; background: rgba(10, 15, 14, 0.16); }
html.rg .pc-bars li.on { background: #043735; }
html.rg .dk-expand { border-radius: 2px; background: rgba(4, 55, 53, 0.88); color: #f1f3f3; }
html.rg .dk-expand:hover { background: #043735; color: #ffffff; }
html.rg .dk-game b, html.rg .dk-move, html.rg .dk-own input, html.rg .review-ask, html.rg button.play-call { font-weight: 400; }
html.rg .dk-btn.is-buy.on { color: #06140f; }
html.rg .dk-toast { color: #f1f3f3; box-shadow: none; border: 1px solid rgba(241, 243, 243, 0.2); }
html.rg .dk-undo { background: var(--mint); border-color: var(--mint); color: #06140f; }
html.rg .dk-undo:hover { background: #cfe2dc; border-color: #cfe2dc; color: #06140f; }
html.rg .dk-reason { color: #f1f3f3; border-color: rgba(241, 243, 243, 0.35); }
html.rg .dk-reason:hover, html.rg .dk-reason[aria-pressed="true"] { background: var(--mint); color: #06140f; border-color: var(--mint); }
html.rg dialog.dk-viewer { background: #011c1b; color: #f1f3f3; }
html.rg .dk-vcount { color: #b9cdc8; }
html.rg .dk-vzoom, html.rg .dk-vclose { color: #f1f3f3; border-color: rgba(241, 243, 243, 0.35); }
html.rg .dk-vzoom:hover, html.rg .dk-vclose:hover, html.rg .dk-vzoom[aria-pressed="true"] { background: #f1f3f3; color: #0a0f0e; border-color: #f1f3f3; }

/* the admin page's look switch */
html.rg .look-choice, .look-choice { margin: var(--sp-5) 0; }
.look-form fieldset { border: 0; padding: 0; margin: 0 0 var(--sp-3); display: flex; gap: var(--sp-5); flex-wrap: wrap; }

/* ============================================================ UX pass (Ryan's brief, 2026-11-17)
   Shared components first (every page in the new look), then the pages drawn from templates/ux/. Same tokens as above:
   no new colour, square corners, hairline rules. */

/* ------------------------------------------------------------ compact headings: a page reads as content, not titles */
html.rg h1, html.rg .pagehead h1, html.rg main > h1 { font-size: 2rem; line-height: 1.12; }
html.rg h2 { font-size: 1.375rem; margin-top: var(--sp-6); }
html.rg .pagehead { margin-bottom: var(--sp-4); padding-bottom: var(--sp-3); }
html.rg .pagehead p { max-width: 70ch; }
@media (max-width: 860px) {
  html.rg h1, html.rg .pagehead h1, html.rg main > h1, html.rg .split > div > h1 { font-size: 1.625rem; }
  html.rg h2 { font-size: 1.25rem; margin-top: var(--sp-5); }
}

/* ------------------------------------------------------------ controls: 44px to tap or click, visible focus everywhere */
html.rg button:not(.link):not(.x-close), html.rg a.button, html.rg a.btn,
html.rg input:not([type=checkbox]):not([type=radio]):not([type=file]), html.rg select { min-height: var(--tap); }
html.rg .views a, html.rg .markets a, html.rg .crumb a, html.rg .pager a, html.rg .listing-link a,
html.rg details > summary { min-height: var(--tap); display: inline-flex; align-items: center; }
html.rg details > summary { display: flex; }
html.rg :focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
html.rg .topbar :focus-visible, html.rg .dock :focus-visible { outline-color: var(--mint); }
html.rg .filters select, html.rg .filters input:not([type=checkbox]) { min-height: var(--tap); }

/* ------------------------------------------------------------ states: loading, empty, stale, unavailable, error.
   Each says its word in bold first, so none depends on its colour. */
html.rg .state { margin: var(--sp-3) 0 var(--sp-4); padding: var(--sp-3) var(--sp-4); border: 1px solid var(--line-soft); border-left: 2px solid var(--line); max-width: 78ch; }
html.rg .state b:first-child { color: var(--strong); font-weight: 600; margin-right: var(--sp-1); }
html.rg .state.empty { border-style: dashed; border-left-style: solid; }
html.rg .state.stale { border-left-color: var(--warn); }
html.rg .state.unavailable { border-left-color: var(--faint); color: var(--muted); }
html.rg .state.error { border-left-color: var(--bad); }
html.rg .state.loading { color: var(--muted); }
html.rg .skeleton { display: block; height: 0.9rem; margin: var(--sp-2) 0; background: var(--fill-2); }
html.rg .pager.feed::after { display: block; padding: var(--sp-3) 0; border-top: 1px solid var(--line-soft); color: var(--muted); }

/* ------------------------------------------------------------ chips: what is in force, each removable in one tap */
html.rg .ux-chips { display: flex; flex-wrap: wrap; gap: var(--sp-2); align-items: center; margin: 0 0 var(--sp-3); }
html.rg .ux-chips .chip { display: inline-flex; align-items: center; gap: var(--sp-2); min-height: var(--tap); padding: 0 var(--sp-2) 0 var(--sp-3); border: 1px solid var(--line); color: var(--text); text-decoration: none; font-size: var(--t-sm); background: var(--panel); }
html.rg .ux-chips .chip b { font-weight: 600; color: var(--strong); }
html.rg .ux-chips a.chip:hover { border-color: var(--rule); background: var(--fill); }
html.rg .ux-chips .chip .tx-ic { width: 1.1rem; height: 1.1rem; color: var(--muted); }
html.rg .ux-chips .chip.fixed { padding-right: var(--sp-3); background: var(--panel-2); border-color: transparent; }
html.rg .ux-chips .chip-reset { display: inline-flex; align-items: center; min-height: var(--tap); padding: 0 var(--sp-2); font-size: var(--t-sm); }

/* ------------------------------------------------------------ Explore */
html.rg .ux-head h1 { margin: 0; }
html.rg .ux-head p { margin-top: var(--sp-1); }
html.rg .ux-explore .search { margin-bottom: var(--sp-3); }
/* the four market views, all visible: one row on a wide screen, two by two on a phone */
html.rg .ux-markets { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin: 0 0 var(--sp-2); border: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: visible; }
html.rg .ux-markets a { display: flex; justify-content: space-between; align-items: center; gap: var(--sp-2); padding: var(--sp-2) var(--sp-3); margin: 0; border: 0; border-left: 1px solid var(--line-soft); color: var(--muted); white-space: normal; line-height: 1.25; font-size: var(--t-sm); }
html.rg .ux-markets a:first-child { border-left: 0; }
html.rg .ux-markets a span { color: var(--faint); font-size: var(--t-xs); margin: 0; }
html.rg .ux-markets a:hover { color: var(--strong); background: var(--fill); }
html.rg .ux-markets a.on { color: var(--btn-ink); background: var(--btn); }
html.rg .ux-markets a.on span { color: inherit; }
html.rg .ux-traits .ux-config-link { display: inline-flex; align-items: center; min-height: var(--tap); margin-left: var(--sp-2); font-size: var(--t-sm); white-space: nowrap; }
html.rg .m-note { margin: 0 0 var(--sp-3); }
html.rg .ux-explore .explore { gap: var(--sp-5); }
html.rg .ux-explore aside.filters { border-top: 1px solid var(--rule); }
html.rg .ux-explore .filters details.more { border-top: 1px solid var(--line-soft); margin-top: var(--sp-2); padding-top: var(--sp-1); }
html.rg .ux-explore .filters details.more > summary { color: var(--text); font-size: var(--t-sm); letter-spacing: 0; text-transform: none; font-weight: 600; margin-bottom: var(--sp-2); }
html.rg .ux-explore .pair-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 0 var(--sp-2); }
html.rg .ux-explore .filter-acts { display: flex; gap: var(--sp-2); position: sticky; bottom: 0; background: var(--bg); padding: var(--sp-2) 0; border-top: 1px solid var(--line-soft); }
html.rg .ux-explore .filter-acts button { flex: 1; width: auto; margin: 0; }
html.rg .ux-toolbar { display: flex; flex-wrap: wrap; align-items: end; gap: var(--sp-2) var(--sp-4); margin: 0 0 var(--sp-3); }
html.rg .ux-toolbar .views { margin: 0; }
html.rg .ux-toolbar .count { color: var(--muted); font-size: var(--t-sm); margin-right: auto; align-self: center; }
html.rg .ux-toolbar .sort { display: flex; gap: var(--sp-2); align-items: end; }
html.rg .ux-toolbar .sort label { font-size: var(--t-xs); }
html.rg .ux-toolbar .sort select { font-size: var(--t-sm); }
html.js.rg .ux-toolbar .nojs { display: none; }
/* more bags a screen: square plates, the text under them allowed to wrap rather than cut */
html.rg .ux-gallery { grid-template-columns: repeat(auto-fill, minmax(12.5rem, 1fr)); gap: var(--sp-5) var(--sp-4); }
html.rg .ux-gallery a.bag .ph { aspect-ratio: 1 / 1; }
html.rg .ux-gallery a.bag .meta .src { white-space: normal; }
html.rg .ux-gallery a.bag .meta .traits { white-space: normal; overflow: visible; }
html.rg .ux-gallery a.bag:focus-visible { outline-offset: 4px; }
@media (max-width: 860px) {
  html.rg .ux-markets { grid-template-columns: 1fr 1fr; margin: var(--sp-2) 0; padding: 0; }
  html.rg .ux-markets a { min-height: var(--tap); padding: var(--sp-2) var(--sp-3); background: none; color: var(--muted); border-radius: 0; font-size: var(--t-sm); border-left: 1px solid var(--line-soft); border-top: 1px solid var(--line-soft); }
  html.rg .ux-markets a:nth-child(odd) { border-left: 0; }
  html.rg .ux-markets a:nth-child(-n+2) { border-top: 0; }
  html.rg .ux-markets a.on { background: var(--btn); color: var(--btn-ink); }
  html.rg .ux-markets a span { font-size: var(--t-xs); opacity: 1; }
  html.rg .ux-explore .filters summary { min-height: var(--tap); }
  html.rg .ux-toolbar { align-items: center; }
  html.rg .ux-toolbar .views { flex: 1 1 100%; }
  html.rg .ux-toolbar .views a { min-height: var(--tap); }
  html.rg .ux-toolbar .count { order: 0; flex: 0 0 auto; }
  html.rg .ux-toolbar .sort { flex: 1 1 auto; justify-content: flex-end; }
  html.rg .ux-toolbar .sort label:last-of-type { display: none; }
  html.rg .ux-toolbar .sort .lbl { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  html.rg .ux-explore-head p { display: none; }  /* on a phone Explore's results come first; other pages keep theirs */
  html.rg .ux-toolbar .sort select { min-width: 9.5rem; }
  html.rg .ux-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-5) var(--sp-3); }
  html.rg .ux-chips .chip { max-width: 100%; }
}

/* ------------------------------------------------------------ a bag: identity, the value, the ask compared, then why */
html.rg .ux-crumb { display: flex; flex-wrap: wrap; gap: 0 var(--sp-4); }
html.rg .ux-bag { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--sp-2) var(--sp-6); }
html.rg .ux-bag .detail-ph { max-width: none; aspect-ratio: 1 / 1; }
html.rg .ux-bag-main h1 { margin: 0 0 var(--sp-1); }
html.rg .ux-traits { margin: 0 0 var(--sp-3); }
html.rg .ux-pair { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); margin: var(--sp-3) 0 var(--sp-2); padding-top: var(--sp-3); border-top: 2px solid var(--rule); }
html.rg .ux-pair p { margin: 0; max-width: none; }
html.rg .ux-pair .ux-k { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 var(--sp-2); margin-bottom: var(--sp-1); }
html.rg .ux-pair .pair-label { display: inline; font-size: var(--t-sm); font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--strong); margin: 0; }
html.rg .ux-pair .ux-sub { font-size: var(--t-xs); color: var(--muted); }
html.rg .ux-pair .figure { font-size: clamp(2.25rem, 3.2vw, 2.875rem); font-weight: 400; font-family: var(--serif); }
html.rg .ux-pair .slot-range { font-style: normal; font-size: var(--t-base); margin-top: var(--sp-1); }
html.rg .ux-pair .ux-sure { font-size: var(--t-sm); color: var(--text); margin-top: var(--sp-2); line-height: 1.45; }
html.rg .ux-pair .pair-state { font-style: normal; font-size: 1.375rem; }
html.rg .ux-ask { border-left: 1px solid var(--line); padding-left: var(--sp-5); }
html.rg .ux-ask .ux-ask-fig { font-family: var(--serif); font-size: 1.625rem; color: var(--strong); line-height: 1.15; }
html.rg .ux-ask .ux-ask-fig .fx { display: block; font-family: var(--sans); font-size: var(--t-xs); color: var(--muted); }
html.rg .ux-gap { margin-top: var(--sp-2) !important; font-size: var(--t-sm); color: var(--strong); }
html.rg .ux-gap .tx-ic { margin-right: 0.3em; }
html.rg .ux-ask .faint.small { margin-top: var(--sp-1); font-size: var(--t-xs); }
html.rg .ux-acts { display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-2) var(--sp-4); margin: var(--sp-3) 0; }
html.rg .ux-acts .ux-link { display: inline-flex; align-items: center; min-height: var(--tap); font-size: var(--t-sm); }
html.rg .ux-acts button.link { min-height: var(--tap); font-size: var(--t-sm); }
html.rg .ux-pair .ux-fresh { font-size: var(--t-xs); color: var(--muted); margin-top: var(--sp-1); }
html.rg .ux-status { font-size: var(--t-sm); margin: var(--sp-3) 0 var(--sp-1); padding-top: var(--sp-2); border-top: 1px solid var(--line-soft); }
html.rg .ux-status .avail { display: inline; }
html.rg .ux-more-acts { display: flex; flex-wrap: wrap; align-items: center; gap: 0 var(--sp-5); margin: 0 0 var(--sp-2); font-size: var(--t-sm); }
html.rg .ux-more-acts form.inline { display: inline; margin: 0; }
html.rg .ux-more-acts button.link, html.rg .ux-more-acts .ux-link { min-height: var(--tap); display: inline-flex; align-items: center; font-size: var(--t-sm); }
html.rg .ux-bag-acts { margin: var(--sp-3) 0 var(--sp-2); }
html.rg .ux-bag .listing-link { margin-top: var(--sp-2); }
@media (max-width: 860px) {
  html.rg .ux-bag { grid-template-columns: minmax(0, 1fr); }
  /* the photograph gives way to the value: a band, not the whole first screen */
  html.rg .ux-bag .detail-ph.ph { aspect-ratio: auto; height: min(30vh, 15rem); }
  html.rg .ux-bag-main h1 { margin-top: var(--sp-3); }
  html.rg .ux-pair { grid-template-columns: minmax(0, 1fr); gap: var(--sp-3); }
  html.rg .ux-ask { border-left: 0; padding: var(--sp-3) 0 0; border-top: 1px solid var(--line-soft); }
  html.rg .ux-bag-acts { grid-template-columns: 1fr 1fr; }
  html.rg .ux-bag-acts > form.inline { display: block; }
  html.rg .ux-bag-acts > form.inline button, html.rg .ux-bag-acts > a.button { width: 100%; }
  html.rg .ux-bag-acts > form:first-child { grid-column: 1 / -1; }
  html.rg .ux-bag-acts > a.button { grid-column: auto; }
}

/* ------------------------------------------------------------ a configuration: asks, Inquire and sales apart */
html.rg .ux-config { margin-top: calc(-1 * var(--sp-2)); }
html.rg .ux-groups { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 2fr); gap: 0 var(--sp-5); }
html.rg .ux-group h3 { margin: var(--sp-3) 0 0; color: var(--strong); letter-spacing: 0.08em; }
html.rg .ux-group .figs { grid-template-columns: repeat(auto-fit, minmax(min(10rem, 100%), 1fr)); margin-bottom: var(--sp-2); }
@media (max-width: 1100px) { html.rg .ux-groups { grid-template-columns: minmax(0, 1fr); } }

/* ------------------------------------------------------------ UX pass B: saved states, undo, research status */
html.rg .vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
html.rg h2 a.small { min-height: var(--tap); display: inline-flex; align-items: center; vertical-align: middle; }
/* Watching, in place of the Watch button, with the way to undo it beside */
html.rg .ux-watching { display: inline-flex; align-items: center; gap: var(--sp-3); min-height: var(--tap); }
html.rg .ux-saved { display: inline-flex; align-items: center; gap: var(--sp-1); min-height: var(--tap); padding: 0 var(--sp-3); border: 1px solid var(--rule); color: var(--strong); font-size: var(--t-sm); font-weight: 600; }
html.rg .ux-watching button.link { min-height: var(--tap); font-size: var(--t-sm); }
html.rg form[data-sent] button[aria-disabled] { opacity: 0.55; cursor: progress; }
/* an action just taken, and its undo, where the reader is */
html.rg .ux-undo { display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-2) var(--sp-4); margin: 0 0 var(--sp-4); padding: var(--sp-2) var(--sp-4); border: 1px solid var(--line); border-left: 2px solid var(--rule); max-width: 78ch; }
html.rg .ux-sum { margin: 0 0 var(--sp-3); color: var(--muted); }
html.rg .ux-watch h2 { margin-top: var(--sp-5); }
/* the Randolph Index: where it stands, before any reading */
html.rg .ux-status-block { border: 1px solid var(--line); border-left: 2px solid var(--warn); padding: var(--sp-2) var(--sp-5) var(--sp-3); margin: 0 0 var(--sp-5); }
html.rg .ux-status-block h2 { margin-top: var(--sp-2); border: 0; padding-bottom: 0; }
html.rg .ux-needs { margin: var(--sp-2) 0; padding-left: var(--sp-5); }
html.rg .ux-needs > li { margin: var(--sp-2) 0; }
html.rg .ux-needs ul.plain { margin: var(--sp-1) 0 0; }
/* the Decision Lab: the two practice games side by side on a wide screen, compact */
html.rg .ux-practice { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(22rem, 100%), 1fr)); gap: var(--sp-4); margin: var(--sp-5) 0; }
html.rg .ux-practice .play-hero { margin: 0; }
html.rg .ux-practice .play-hero h2 { font-size: 1.25rem; margin-top: var(--sp-1); }
@media (max-width: 860px) {
  html.rg .ux-watching { width: 100%; justify-content: space-between; grid-column: 1 / -1; }
  html.rg .ux-undo { padding: var(--sp-2) var(--sp-3); }
}
html.rg .ux-more-acts form.ux-held { display: inline-flex; align-items: center; gap: var(--sp-4); }
html.rg .ux-saved-text { display: inline-flex; align-items: center; gap: var(--sp-1); min-height: var(--tap); font-weight: 600; }

/* Figures: prices, values and counts set in Source Serif 4, a plain text serif, so a number reads cleanly
   at a glance (Ryan, 2026-11-17: "Cleaner, similar to just a plain Serif"). Playfair stays on headings. */
html.rg :is(p.figs > span > b, .hero .v, .it-level, .figure, .ux-pair .figure, .ux-ask .ux-ask-fig,
            dl.card-prices .v, .review-ask, table.ruled td.n, .review .rfv-cell b, dl.play-score dd,
            .dk-game b, .hp-price, .dk-own input) {
  font-family: var(--sans); font-weight: 500; letter-spacing: 0;
  font-variant-numeric: lining-nums tabular-nums;
}
html.rg dl.card-prices .rfv .v { font-weight: 600; }

/* The price spectrum above a search's results (templates/_spectrum.html, Ryan 2026-11-20). */
html.rg .ux-spectrum { margin: var(--sp-4) 0 var(--sp-5); padding-top: var(--sp-3); border-top: 2px solid var(--rule); }
html.rg .ux-spectrum h2 { margin-top: 0; border-bottom: 0; }
html.rg .ux-spectrum h3 { margin-top: var(--sp-4); }
html.rg .spec-figs { margin-bottom: var(--sp-2); }
html.rg .spec-chart { max-width: 40rem; }
html.rg .spec-chart svg .axis { font-size: 12px; }
html.rg svg .spec-dot { fill-opacity: 0.6; }
html.rg svg .spec-band { fill-opacity: 0.14; stroke: none; }
html.rg svg .spec-med { stroke: var(--strong); stroke-width: 2; }
html.rg .spec-cols { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 0 var(--sp-6, 2rem); }
html.rg .spec-sources { width: 100%; table-layout: fixed; }
html.rg .spec-sources th { white-space: normal; }
html.rg .spec-sources th:first-child { width: 30%; }
html.rg .spec-sources td { overflow-wrap: anywhere; }
html.rg .spec-sources td { vertical-align: top; }
html.rg .spec-sources .spec-px { display: block; color: var(--muted); font-size: var(--t-sm); font-variant-numeric: tabular-nums; }
html.rg .spec-offers { list-style: none; margin: 0; padding: 0; }
html.rg .spec-offers li { display: grid; grid-template-columns: 7.5rem minmax(0, 1fr); gap: 0 var(--sp-3); padding: var(--sp-2) 0; border-bottom: 1px solid var(--line-soft); }
html.rg .spec-offers li > b { font-family: var(--sans); font-weight: 600; font-variant-numeric: lining-nums tabular-nums; }
@media (max-width: 900px) {
  html.rg .spec-cols { grid-template-columns: minmax(0, 1fr); }
}

/* ------------------------------------------------------------ front door (2026-11-20)
   Explore's Wholesale and Retail switch, the card and its gallery, the heart, the asking-price spread, Liked and
   Overview. Tokens only: the teal band, hairlines, the logo gold for the one selected thing (a Liked heart). */
html.rg .sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
html.rg .rg-switch { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); margin: var(--sp-3) 0 var(--sp-4); border: 1px solid var(--rule); max-width: 34rem; }
html.rg .rg-switch a { display: flex; justify-content: center; align-items: baseline; gap: var(--sp-2); min-height: 2.75rem; padding: var(--sp-3) var(--sp-3); font-family: "Playfair Display", Georgia, serif; font-size: var(--t-md); color: var(--text); text-decoration: none; border-left: 1px solid var(--rule); }
html.rg .rg-switch a:first-child { border-left: 0; }
html.rg .rg-switch a span { font-family: inherit; font-size: var(--t-xs); color: var(--faint); }
html.rg .rg-switch a.on { background: var(--brand); color: #fff; }
html.rg .rg-switch a.on span { color: var(--on-brand); }
html.rg .filters .ux-markets { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-bottom: var(--sp-4); }
html.rg .filters .ux-markets a:nth-child(3) { border-left: 0; }
html.rg .filters .ux-markets a:nth-child(n + 3) { border-top: 1px solid var(--line); }

html.rg .rg-card { position: relative; display: flex; flex-direction: column; }
html.rg .rg-ph { position: relative; aspect-ratio: 1 / 1; padding: 0; overflow: hidden; background: var(--panel-2); }
html.rg .rg-ph .shots { display: flex; width: 100%; height: 100%; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; color: inherit; text-decoration: none; align-items: center; }
html.rg .rg-ph .shots::-webkit-scrollbar { display: none; }
html.rg .rg-ph .shots > span { margin: auto; }
html.rg .rg-ph .shots img { position: static; inset: auto; flex: 0 0 100%; width: 100%; height: 100%; padding: 6%; object-fit: contain; scroll-snap-align: center; scroll-snap-stop: always; mix-blend-mode: multiply; transform: none; }
html.rg .rg-ph:has(img) .shots > span { display: none; }
html.rg .rg-ph [hidden] { display: none !important; }
html.rg .shot-count { position: absolute; left: var(--sp-2); bottom: var(--sp-2); padding: 0.1rem 0.45rem; font-size: var(--t-xs); background: rgba(255, 255, 255, 0.88); color: var(--text); border: 1px solid var(--line-soft); pointer-events: none; }
html.rg .shot-count b { font-weight: 400; }
html.rg .shot-nav { position: absolute; top: calc(50% - 1.375rem); width: 2.75rem; height: 2.75rem; display: none; align-items: center; justify-content: center; padding: 0; background: rgba(255, 255, 255, 0.9); color: var(--text); border: 1px solid var(--line-soft); }
html.rg .shot-nav.prev { left: 0; border-left: 0; }
html.rg .shot-nav.next { right: 0; border-right: 0; }
html.rg.js .rg-ph:hover .shot-nav, html.rg.js .rg-ph:focus-within .shot-nav, html.rg.js .rg-detail-ph .shot-nav { display: inline-flex; }
html.rg .like { position: absolute; top: 0; right: 0; margin: 0; z-index: 2; }
html.rg button.like, html.rg form.like button { width: 2.75rem; height: 2.75rem; min-height: 0; display: inline-flex; align-items: center; justify-content: center; padding: 0; background: rgba(255, 255, 255, 0.9); border: 0; border-left: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); border-radius: 0; color: var(--text); box-shadow: none; }
html.rg .like .ic { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.5; }
html.rg button.like.on, html.rg form.like.on button { color: var(--gold-lo); }
html.rg .like.on .ic { fill: var(--gold); stroke: var(--gold-lo); }
html.rg .like.pop .ic { animation: rg-pop 380ms var(--ease, ease-out); }
@keyframes rg-pop { 40% { transform: scale(1.35); } 100% { transform: scale(1); } }
html.rg .rg-card a.bag { display: block; color: inherit; text-decoration: none; padding-top: var(--sp-3); }
html.rg .rg-title { font-family: "Playfair Display", Georgia, serif; font-weight: 400; font-size: var(--t-lg); line-height: 1.2; color: var(--strong); }
html.rg .rg-card .card-prices div { display: flex; flex-direction: column; align-items: flex-start; gap: 0.1rem; }
html.rg .rg-card .card-prices dt { font-size: var(--t-xs); letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); }
html.rg .rg-card .card-prices .v { font-size: var(--t-lg); color: var(--strong); font-variant-numeric: lining-nums tabular-nums; overflow-wrap: anywhere; }
html.rg .tag.ch-wholesale { background: var(--brand); color: #fff; border-color: var(--brand); }
html.rg .tag.ch-retail { background: transparent; color: var(--brand); border-color: var(--brand); }
html.rg .rg-kicker { margin: var(--sp-1) 0 var(--sp-3); color: var(--muted); }
html.rg .rg-detail-ph { max-width: 36rem; }
html.rg .rg-detail-ph .shots { cursor: zoom-in; }

html.rg .rg-viewer { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: #fff; }
html.rg .rg-viewer::backdrop { background: #fff; }
html.rg .rg-viewer .vw-stage { width: 100%; height: calc(100dvh - 3.5rem - env(safe-area-inset-bottom)); overflow: auto; display: flex; touch-action: pan-x pan-y pinch-zoom; }
html.rg .rg-viewer .vw-stage img { margin: auto; max-width: 100%; max-height: 100%; object-fit: contain; }
html.rg .rg-viewer .vw-stage.zoomed img { max-width: none; max-height: none; width: 220%; }
html.rg .rg-viewer .vw-bar { display: flex; align-items: center; justify-content: center; gap: var(--sp-3); height: 3.5rem; margin: 0; padding: 0 var(--sp-3) env(safe-area-inset-bottom); border-top: 1px solid var(--line); }
html.rg .rg-viewer .vw-bar button { min-width: 2.75rem; min-height: 2.75rem; background: transparent; color: var(--text); border: 1px solid var(--line); padding: 0 var(--sp-3); }

html.rg .rg-spread { margin: var(--sp-4) 0 var(--sp-5); padding: var(--sp-4) 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--line); }
html.rg .rg-spread h2 { margin: 0 0 var(--sp-2); font-size: var(--t-sm); letter-spacing: 0.08em; text-transform: uppercase; font-family: inherit; color: var(--muted); }
html.rg .sp-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--sp-2) var(--sp-3); margin: 0 0 var(--sp-3); }
html.rg .sp-diff { font-family: "Source Serif 4", Georgia, serif; font-weight: 400; font-size: clamp(1.75rem, 5vw, 2.5rem); line-height: 1.1; color: var(--strong); font-variant-numeric: lining-nums; }
html.rg .sp-scale { display: block; width: 100%; max-width: 34rem; height: auto; }
html.rg .sp-track { stroke-width: 2; stroke-linecap: square; }
html.rg .sp-track.sp-wholesale, html.rg .sp-median.sp-wholesale { stroke: var(--brand); }
html.rg .sp-track.sp-retail, html.rg .sp-median.sp-retail { stroke: var(--gold-lo); }
html.rg .sp-band.sp-wholesale { fill: var(--brand); opacity: 0.25; }
html.rg .sp-band.sp-retail { fill: var(--gold); opacity: 0.35; }
html.rg .sp-median { stroke-width: 3; }
html.rg .sp-offer { stroke: var(--strong); stroke-width: 1.5; stroke-dasharray: 3 3; }
html.rg .sp-legend .k { display: inline-block; width: 0.9rem; height: 0.2rem; vertical-align: middle; margin: 0 0.25rem 0 0.6rem; }
html.rg .sp-legend .k:first-child { margin-left: 0; }
html.rg .sp-legend .k.sp-wholesale { background: var(--brand); }
html.rg .sp-legend .k.sp-retail { background: var(--gold-lo); }
html.rg .sp-legend .k.sp-offer { background: var(--strong); }
html.rg .sp-sides { display: grid; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); gap: var(--sp-3) var(--sp-5); margin: var(--sp-3) 0; }
html.rg .sp-side dt { font-size: var(--t-xs); letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
html.rg .sp-side dd { margin: 0; display: flex; flex-direction: column; gap: 0.15rem; }
html.rg .sp-fig { font-family: "Source Serif 4", Georgia, serif; font-weight: 400; font-size: var(--t-xl); color: var(--strong); font-variant-numeric: lining-nums; }
html.rg .sp-notes { margin: var(--sp-2) 0 0; padding-left: 1.1rem; color: var(--muted); }
html.rg .sp-closest { margin: var(--sp-2) 0; }

html.rg .rg-liked { display: flex; flex-direction: column; }
html.rg .liked-row { display: grid; grid-template-columns: 6.5rem minmax(0, 1.4fr) minmax(0, 1fr) auto; gap: var(--sp-3) var(--sp-4); align-items: start; padding: var(--sp-4) 0; border-top: 1px solid var(--line); }
html.rg .liked-row .ph { aspect-ratio: 1 / 1; background: var(--panel-2); }
html.rg .liked-row.gone .ph img { opacity: 0.55; }
html.rg .liked-main { display: flex; flex-direction: column; gap: 0.2rem; min-width: 0; }
html.rg .liked-main .t { font-family: "Playfair Display", Georgia, serif; font-size: var(--t-lg); color: var(--strong); text-decoration: none; }
html.rg .liked-prices { display: flex; flex-direction: column; gap: var(--sp-1); margin: 0; }
html.rg .liked-prices div { display: flex; justify-content: space-between; gap: var(--sp-3); }
html.rg .liked-prices dt { color: var(--muted); font-size: var(--t-sm); }
html.rg .liked-prices dd { margin: 0; font-variant-numeric: lining-nums tabular-nums; color: var(--strong); }
html.rg .liked-prices .chg.down dd { color: var(--brand); }
html.rg .liked-prices .hit dd { color: var(--gold-lo); }
html.rg .liked-acts { display: flex; flex-direction: column; gap: var(--sp-2); align-items: flex-end; }
html.rg .liked-acts .target { display: flex; gap: var(--sp-2); align-items: flex-end; }
html.rg .liked-acts .target input { width: 7.5rem; }
html.rg .liked-acts .lbl { display: block; font-size: var(--t-xs); color: var(--muted); }

html.rg .rg-figures { display: grid; grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr)); gap: 0 var(--sp-6); align-items: start; }
html.rg .rg-figure { border-top: 1px solid var(--rule); padding: var(--sp-4) 0; }
html.rg .rg-figure[open] { grid-column: 1 / -1; }
html.rg .rg-figure summary { display: flex; flex-direction: column; gap: 0.2rem; cursor: pointer; list-style: none; min-height: 2.75rem; }
html.rg .rg-figure summary::-webkit-details-marker { display: none; }
html.rg .rg-figure summary .lbl { font-size: var(--t-xs); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
html.rg .rg-figure summary b { font-family: "Source Serif 4", Georgia, serif; font-weight: 400; font-size: clamp(1.75rem, 5vw, 2.6rem); line-height: 1.1; color: var(--strong); font-variant-numeric: lining-nums; overflow-wrap: anywhere; }
html.rg .rg-figure summary .open { color: var(--brand); }
html.rg .rg-gaps { margin: var(--sp-5) 0; padding-top: var(--sp-4); border-top: 1px solid var(--line); }
html.rg .rg-gaps h2 { font-size: var(--t-sm); letter-spacing: 0.08em; text-transform: uppercase; font-family: inherit; color: var(--muted); }
html.rg .rg-pay-form { display: grid; grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr)); gap: var(--sp-3) var(--sp-4); align-items: end; margin: 0 0 var(--sp-5); max-width: 56rem; }

/* two panes from a wide container (a tablet, an unfolded phone, a desktop): the photo beside the facts and spread */
@media (min-width: 700px) {
  html.rg .ux-bag { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--sp-6); align-items: start; }
  html.rg .ux-bag .rg-detail-ph { position: sticky; top: var(--sp-4); max-width: none; }
}
@media (max-width: 699px) {
  html.rg .liked-row { grid-template-columns: 5.5rem minmax(0, 1fr); }
  html.rg .liked-prices, html.rg .liked-acts { grid-column: 1 / -1; align-items: stretch; }
  html.rg .liked-acts { flex-direction: row; justify-content: space-between; align-items: flex-end; }
  html.rg .rg-switch { max-width: none; }
  html.rg .ux-gallery.rg-feed { grid-template-columns: repeat(auto-fill, minmax(min(100%, 17rem), 1fr)); }
}
@media (max-width: 420px) { html.rg .ux-gallery.rg-feed { grid-template-columns: minmax(0, 1fr); } }
@media (prefers-reduced-motion: reduce) { html.rg .like.pop .ic { animation: none; } html.rg .rg-ph .shots { scroll-behavior: auto; } }

/* Explore, quieted to Search's look (Ryan, 2026-12-01: "All of this looks hideous too"): text tabs with an underline
   in place of boxed buttons, and Search's card (price, bag, seller, the original) */
html.rg .rg-switch { display: flex; gap: 1.5rem; border: 0; border-bottom: 1px solid var(--line-soft); background: none; margin: 0 0 1rem; padding: 0; }
html.rg .rg-switch a { flex: 0 0 auto; padding: 0.75rem 0; min-height: 44px; box-sizing: border-box; border: 0; border-bottom: 2px solid transparent; background: none; color: var(--muted); font-size: 1rem; }
html.rg .rg-switch a span { color: var(--faint); font-size: 0.8125rem; }
html.rg .rg-switch a.on, html.rg .rg-switch a:hover { background: none; color: var(--strong); border-bottom-color: var(--strong); }
html.rg .rg-switch a.on span { color: var(--muted); }
html.rg .ux-markets, html.rg .ux-markets a, html.rg .ux-markets a:first-child, html.rg .ux-markets a:nth-child(odd), html.rg .ux-markets a:nth-child(-n+2) { border: 0; }
html.rg .ux-markets { display: flex; flex-direction: column; gap: 0; margin: 0 0 var(--sp-2); }
html.rg .ux-markets a { padding: 0.4rem 0; min-height: 36px; background: none; justify-content: space-between; }
html.rg .ux-markets a.on, html.rg .ux-markets a:hover { background: none; color: var(--strong); font-weight: 600; }
html.rg .ux-markets a.on span { color: var(--muted); }
html.rg .ux-toolbar .views a { border: 0; background: none; padding: 0.4rem 0; margin-right: 1rem; color: var(--muted); border-bottom: 2px solid transparent; border-radius: 0; }
html.rg .ux-toolbar .views a.on { background: none; color: var(--strong); border-bottom-color: var(--strong); }
html.rg .rg-card .find-meta { display: flex; flex-direction: column; gap: 0.2rem; padding-top: 0.5rem; }
html.rg .rg-card .find-meta p { margin: 0; }
html.rg .rg-card .fc-price { font-size: 1.0625rem; font-weight: 600; color: var(--strong); font-variant-numeric: tabular-nums lining-nums; }
html.rg .rg-card .fc-price .fx { font-weight: 400; font-size: 0.8125rem; color: var(--muted); }
html.rg .rg-card .fc-kind { font-weight: 400; font-size: 0.75rem; color: var(--muted); }
html.rg .rg-card .fc-bag { font-size: 0.875rem; line-height: 1.35; color: var(--muted); }
html.rg .rg-card .fc-bag b { font-weight: 400; color: var(--strong); }
html.rg .rg-card .fc-seller { font-size: 0.8125rem; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
html.rg .rg-card .fc-link { font-size: 0.8125rem; margin: 0.15rem 0 0; padding: 0; }
html.rg .rg-card .rg-ph .shots > span { font-family: "Playfair Display", Georgia, serif; letter-spacing: 0; font-size: 1.375rem; text-transform: none; }
html.rg .rg-card .tag { background: none; border: 0; padding: 0; font-weight: 400; font-size: 0.75rem; color: var(--muted); }
html.rg .rg-card .dealer-src.on-card { font-size: 0.8125rem; color: var(--muted); margin: 0.15rem 0 0; padding: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
html.rg .rg-card .dealer-src.on-card .ds-where { color: var(--muted); font-weight: 400; text-transform: none; letter-spacing: 0; }
html.rg .rg-card .dealer-src.on-card .ds-link { display: block; margin-top: 0.15rem; }
