/* Inner pages: catalogue, lot, auction, demo (October 2026).

   Loaded after home.css, which carries the tokens, header, footer, buttons
   and chips. This sheet adds two things:

   1. The lot machinery the engine paints into (gauge, your number, payment,
      auto-buy, ties, alerts, the feed, the ladder, the condition report),
      carried over from styles.css unchanged in behaviour. The shim below maps
      the old token names onto home.css so those rules read as before.
   2. The storefront layouts: the catalogue (category pills, filters, a grid
      beside a featured stage) and the item page (the lot on a stage, the
      buying panel beside it). */

:root {
  --s-0: 2px; --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-5: 24px; --s-6: 32px; --s-7: 48px;
  --f-micro: 11px; --f-label: 12px; --f-fine: 13px; --f-body: 16px; --f-lead: 18px;
  --f-h4: clamp(19px, 1.6vw, 22px); --f-h3: clamp(23px, 2.2vw, 29px); --f-h2: clamp(30px, 3.4vw, 44px);
  --tr-engrave: 0.09em; --tr-label: 0.05em; --tr-tight: -0.022em; --tr-fig: -0.035em;
  --rule-soft: var(--line); --r-panel: 14px; --tick: var(--ink-3);
  --hot-fill: var(--hot-press); --hot-bright: var(--hot);
  --heat-1: #A87800; --heat-2: #C8620A; --heat-3: var(--hot);
  --t-ui: 220ms; --t-enter: 320ms; --on-dark-2: #A1A1A6;
  --f-fig: clamp(21px, 2.2vw, 28px); --f-fig2: clamp(32px, 3.6vw, 48px); --f-fig3: clamp(46px, 6.2vw, 92px);
}

/* ---------- carried over from styles.css ---------- */
.field-msg {
  font-size: var(--f-fine); line-height: 1.55; margin: 10px 0 0;
  color: var(--ink-2); max-width: 52ch;
}
.field-msg.is-bad { color: var(--hot-fill); font-weight: 500; }

.ladder { background: var(--band); border-radius: var(--r-panel); padding: clamp(22px, 3.4vw, 40px); }
.ladder-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 52px); align-items: start; }
@media (max-width: 860px) { .ladder-grid { grid-template-columns: 1fr; } }

.ladder .big {
  font-family: var(--sans); font-variant-numeric: tabular-nums; font-weight: 700;
  font-size: var(--f-fig3); line-height: 0.9; letter-spacing:var(--tr-fig);
  color: var(--hot-bright); display: block;
}
.ladder .off { font-size: var(--f-fine); color: var(--ink-2); display: block; margin-top:var(--s-2); }

.ladder-rungs { display: flex; gap:var(--s-0); align-items: flex-end; height: 74px; margin: var(--s-5) 0 6px; }
/* The site's other measuring control. It read as a bar chart; it is the same
   kind of object as the gauge — a row of graduations, one per price step — so
   it is lettered the same way. Square, hairline gaps, no rounding. */
.ladder-rungs .rung {
  flex: 1; background: var(--rule); border-radius: 0; height: 30%;
  transition: height var(--t-ui) var(--ease), background-color var(--t-ui) var(--ease);
}
.ladder-rungs .rung.is-past { background: var(--ink); height: 100%; }

/* A real range input, restyled. Keyboard, touch and assistive tech come free,
   and none of it has to be reimplemented badly. */
.ladder input[type="range"] { width: 100%; margin: 0; accent-color: var(--hot-fill); height: 44px; }
.ladder input[type="range"]:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }

.ladder .ends { display: flex; justify-content: space-between; font-size: var(--f-micro); letter-spacing:var(--tr-engrave); text-transform: uppercase; color: var(--ink-2); }
.ladder .read { font-size: var(--f-lead); line-height: 1.5; margin: 0 0 12px; }
.ladder .certain { font-size: var(--f-body); line-height: 1.55; color: var(--ink-2); margin: 0 0 22px; }
.ladder .done { font-size: var(--f-body); line-height: 1.55; margin: 16px 0 0; }
.ladder.is-set .done { font-weight: 500; }

/* ---------- the gauge ----------
   The price track was a 6px rounded pill: a progress bar, which says how far
   through something you are and nothing else. This product's claim is that the
   price is exact and derivable, so the track should be a measuring face — a
   graduated scale the indicator travels along, with every step it can stop at
   marked on it.

   Graduations are one per price step, majors every fifth, so the tick spacing
   IS the step size. Nothing here is decorative: each line is a price the lot
   can actually be bought at. */
.gauge { position: relative; padding-top:var(--s-3); }

.gauge-scale { position: relative; height: 9px; margin-bottom: 0; }
.gauge-scale .g { position: absolute; bottom: 0; width: 1px; height: 5px; background: var(--rule); }
.gauge-scale .g:last-child { transform: translateX(-1px); }  /* the last tick sits inside the face, not on its edge */
.gauge-scale .g--major { height: 9px; background: var(--tick); }
/* A stop the lot has actually made. History, not "moving against you", so ink.
   Under ADR-0001 the stops are not drawn ahead: that would publish the
   schedule. They appear as the price passes them. */
.gauge-scale .g--stop { height: 9px; width: 2px; background: var(--ink); transform: translateX(-1px); }
.reveal { font-size: var(--f-fine); line-height: 1.6; color: var(--ink-2); margin: var(--s-3) 0 0; }
.reveal summary { cursor: pointer; font-weight: 600; color: var(--ink); min-height: 44px; display: flex; align-items: center; }
.reveal p { margin: var(--s-2) 0 0; font-variant-numeric: tabular-nums; word-break: break-word; }

.gauge-bar { position: relative; height: 7px; background: var(--rule-soft); }
.gauge-bar > #fill { height: 100%; background: var(--ink); width: 0%; }
/* The fill is a traffic light (ADR-0002): amber, turning orange early in the
   span, red toward the reserve. The engine computes the colour from how far
   the lot has actually travelled, so it is always a reading of a real
   quantity, front-loaded so orange arrives at the higher prices. Position
   carries the same reading, so nothing depends on the colour alone. */
.gauge-bar > #fill {
  background: var(--heat-color, var(--heat-1));
  transition: background-color var(--t-ui) var(--ease);
}
@media (prefers-reduced-motion: reduce) { .gauge-bar > #fill { transition: none; } }
.laststep { font-variant-numeric: tabular-nums; }
.upcoming-form { margin-top: var(--s-4); }
.upcoming-form label { display: block; font-size: var(--f-fine); font-weight: 600; margin-bottom: var(--s-2); }
.upcoming-form .field-row .btn { width: auto; }

.gauge-ends {
  display: flex; justify-content: space-between; margin-top:var(--s-2);
  font-family: var(--sans); font-variant-numeric: tabular-nums;
  font-size: var(--f-micro); letter-spacing: var(--tr-engrave);
  text-transform: uppercase; color: var(--ink-2);
}

/* The buyer's number, marked on the live track. */
.track { position: relative; }
.limit-mark { position: absolute; top: 11px; bottom: -3px; width: 2px; background: var(--ink); }
.limit-mark::after {
  content: ''; position: absolute; left: -3px; bottom: -4px;
  border-left: 4px solid transparent; border-right: 4px solid transparent;
  border-top: 5px solid var(--ink);
}
.limit-mark span {
  position: absolute; left: 50%; transform: translateX(-50%); top: -16px;
  font-family: var(--sans); font-variant-numeric: tabular-nums;
  font-size: var(--f-micro); font-weight: 600; white-space: nowrap; color: var(--ink);
  letter-spacing: var(--tr-engrave); text-transform: uppercase;
  background: var(--paper); padding: 0 5px;
}
.at-number {
  margin-top:var(--s-4); padding:var(--s-4) 16px; border-radius: var(--r-panel);
  background: var(--paper); font-size: var(--f-body); line-height: 1.5;
}
.at-number strong { font-weight: 600; }

/* What happens after "yours" — the part second-hand buyers are actually
   anxious about, walkable instead of buried in terms. */
.after { margin-top: clamp(26px, 3.4vw, 40px); }
.after-tabs { display: flex; gap:var(--s-2); flex-wrap: wrap; margin-bottom:var(--s-4); }
.after-tabs button {
  border: none; background: var(--band); color: var(--ink-2); cursor: pointer;
  border-radius: 980px; padding:var(--s-3) 18px; min-height: 44px;
  font: 600 14px/1 var(--sans);
}
.after-tabs button[aria-selected="true"] { background: var(--ink); color: #fff; }
.after-tabs button:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.after-pane { font-size: var(--f-body); line-height: 1.6; color: var(--ink-2); max-width: 62ch; }
.after-pane strong { color: var(--ink); font-weight: 600; }

.report { border-top: 1px solid var(--ink); margin-top: clamp(30px, 4vw, 48px); }
.report h2, .report .rep-head {
  font-family: var(--sans); font-size: var(--f-micro); letter-spacing:var(--tr-engrave); font-weight: 600;
  text-transform: uppercase; color: var(--ink-2); margin: 0; padding-top:var(--s-4);
}
.report dl { margin: 10px 0 0; display: grid; grid-template-columns: minmax(120px, 190px) 1fr; }
.report dt {
  font-family: var(--sans); font-size: var(--f-label); letter-spacing:var(--tr-engrave); font-weight: 600;
  text-transform: uppercase;
  color: var(--ink-2); padding: var(--s-2) var(--s-4) var(--s-2) 0; border-top: 1px solid var(--rule-soft);
}
.report dd {
  margin: 0; font-size: var(--f-body); line-height: 1.5; color: var(--ink);
  padding: var(--s-2) 0; border-top: 1px solid var(--rule-soft); max-width: 68ch;
}
.report dt:first-of-type, .report dd:first-of-type { border-top: none; }
/* Emphasis, not accent: a disclosed flaw is not moving against anyone, so it
   is set in ink. Vermilion stays on the price and the closing clock. */
.report .flaw { font-weight: 600; }
@media (max-width: 620px) {
  .report dl { grid-template-columns: 1fr; }
  .report dt { padding-bottom: 0; border-top: 1px solid var(--rule-soft); }
  .report dd { padding-top:var(--s-1); border-top: none; }
}

/* ---------- forms ---------- */

.field { display: flex; flex-direction: column; gap:var(--s-3); max-width: 470px; }
.field label { font-size: var(--f-fine); font-weight: 600; }
.field-row { display: flex; gap:var(--s-2); flex-wrap: wrap; }
input[type="email"], input[type="text"], input[type="search"] {
  flex: 1 1 200px;
  min-height: 56px;
  border: 1px solid var(--rule);
  border-radius: var(--r-panel);
  padding: 0 16px;
  font-family: var(--sans);
  font-size: var(--f-body);
  background: transparent;
  color: var(--ink);
}
.note { font-size: var(--f-fine); color: var(--ink-3); }

.dropfilm { margin: clamp(28px, 4vw, 44px) auto; max-width: 1080px; }
.dropfilm video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; background: var(--paper); border-radius: var(--r-panel); }
.dropfilm figcaption { font-size: var(--f-fine); line-height: 1.55; color: var(--ink-2); max-width: 66ch; margin-top:var(--s-4); }
.dropfilm .replay {
  min-height: 40px; margin-top:var(--s-4); padding: 0 16px; background: transparent; cursor: pointer;
  border: 1px solid var(--dark-rule); color: var(--on-dark);
  font: 600 13px/1 var(--sans); letter-spacing:var(--tr-label);
}
.dropfilm .replay:hover { border-color: var(--on-dark); }
.ledger { display: flex; justify-content: space-between; gap:var(--s-4); border-top: 1px solid var(--rule); padding-top:var(--s-4); flex-wrap: wrap; }

.prov {
  border-bottom: 1px dashed var(--ink-3);
  /* The underline is not the whole signal: every .prov carries a visually
     hidden "(provisional)" so it is not colour-and-decoration alone. */
}

.check { display: flex; gap: var(--s-3); align-items: flex-start; margin-top: var(--s-4); font-size: var(--f-fine); line-height: 1.5; color: var(--ink-2); cursor: pointer; }
/* The native box is 18px, well under a 44px target. The control is a 44px
   square drawing its own 20px box, with negative margins so the box sits
   where the native one did. */
.check input {
  appearance: none; -webkit-appearance: none;
  width: 44px; height: 44px; margin: -11px -12px -11px -12px; flex-shrink: 0;
  display: grid; place-content: center; background: transparent; border: 0; cursor: pointer;
}
.check input::before {
  content: ""; width: 20px; height: 20px; box-sizing: border-box;
  border: 1.5px solid var(--ink-2); border-radius: 4px; background: var(--paper);
}
.check input:checked::before {
  border-color: var(--ink); background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 10.5l3.5 3.5L15 6.5'/%3E%3C/svg%3E") center/16px no-repeat;
}
.check input:focus-visible { outline: none; }
.check input:focus-visible::before { outline: 2px solid var(--ink); outline-offset: 3px; }
.check strong { color: var(--ink); font-weight: 600; }


.auto-on { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-1) var(--s-3); margin: 0 0 var(--s-3); padding: var(--s-3) var(--s-4); background: var(--paper); border: 1px solid var(--rule); border-radius: var(--r-panel); font-size: var(--f-fine); line-height: 1.5; color: var(--ink); }
.auto-off { min-height: 44px; padding: 0; border: 0; background: none; font: 600 var(--f-fine) var(--sans); color: var(--ink); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

.panel-prefs { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-2) var(--s-3); margin-top: var(--s-4); padding-top: var(--s-3); border-top: 1px solid var(--band); }
.pref-toggle { display: inline-flex; align-items: center; gap: var(--s-2); min-height: 44px; padding: 0 14px; border: 1px solid var(--rule); border-radius: 980px; background: var(--paper); font: 600 var(--f-fine) var(--sans); color: var(--ink-2); cursor: pointer; }
.pref-toggle[aria-pressed="true"] { border-color: var(--ink); color: var(--ink); }
.pref-toggle[aria-pressed="false"] .wave { opacity: 0.25; }

.feed-wrap { margin-top: var(--s-5); padding: var(--s-5) clamp(18px, 2.4vw, 24px); background: var(--band); border-radius: var(--r-panel); }
.feed-head { display: flex; align-items: center; gap: var(--s-3); flex-wrap: wrap; }
.feed-head h2 { margin: 0; }
.feed-tally { font-size: var(--f-fine); font-weight: 600; color: var(--ink); margin: var(--s-3) 0 var(--s-2); }
.feed { list-style: none; margin: 0; padding: 0; }
.feed li { display: grid; grid-template-columns: 5.2em 1fr auto; gap: var(--s-3); align-items: baseline; padding: var(--s-2) 0; border-top: 1px solid var(--rule-soft); font-size: var(--f-fine); line-height: 1.4; }
.feed .t { color: var(--ink-3); }
.feed .n { color: var(--ink); min-width: 0; }
.feed .r { color: var(--ink-2); text-align: right; }
.feed li.is-new .n, .feed li.is-new .r { font-weight: 600; color: var(--ink); }
@media (max-width: 420px) {
  .feed li { grid-template-columns: 1fr auto; }
  .feed .t { grid-column: 1 / -1; }
}

/* Front door: set your number, and pictures on the audience cards. */
.about-number { padding-block: var(--sec); }
.number-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-6) clamp(32px, 5vw, 72px); align-items: center; }
.number-pic, .audience-pic { margin: 0; }
.number-pic img, .audience-pic img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--r-panel); background: var(--rule-soft); }
.number-pic figcaption, .audience-pic figcaption { margin-top: var(--s-2); color: var(--ink-3); }
.about-number h2 { max-width: 16ch; margin: 0 0 var(--s-2); }
.about-number .chev { display: inline-flex; align-items: center; min-height: 44px; }
.audience-pic { align-self: stretch; margin-bottom: var(--s-2); }
@media (max-width: 860px) { .number-grid { grid-template-columns: 1fr; } }
/* The form's label rule makes labels bold blocks; the auto-buy option is a
   sentence with a bold lead, not a field label. */
.upcoming-form .check { display: flex; font-weight: 400; font-size: var(--f-fine); margin-bottom: 0; }

/* Payment in advance (ADR-0004). Quiet when ready; a clear prompt, never
   the accent, when someone presses Take it before setting it up. */
.pay { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-2) var(--s-3); margin: 0 0 var(--s-4); padding: var(--s-3) var(--s-4); border: 1px solid var(--rule); border-radius: var(--r-panel); background: var(--paper); font-size: var(--f-fine); line-height: 1.5; color: var(--ink-2); }
.pay svg { flex-shrink: 0; color: var(--ink-3); }
.pay-text { flex: 1 1 16em; }
.pay.is-ready { border-color: var(--rule-soft); }
.pay.is-ready svg { color: var(--ink); }
.pay.is-prompted { border-color: var(--ink); color: var(--ink); }
.pay-btn { min-height: 44px; padding: 0 16px; border: 1px solid var(--ink); border-radius: 980px; background: var(--ink); color: #fff; font: 600 var(--f-fine) var(--sans); cursor: pointer; }
.pay-btn:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.stage .pay { margin-bottom: var(--s-3); }

/* Ties (ADR-0005), email alerts and interests. */
.rival { display: block; width: 100%; min-height: 44px; margin-top: var(--s-3); padding: 0 14px; border: 1px dashed var(--rule); border-radius: 980px; background: transparent; font: 500 var(--f-fine) var(--sans); color: var(--ink-2); cursor: pointer; }
.rival:hover { border-color: var(--ink-2); color: var(--ink); }
.alerts, .interests { margin-top: var(--s-5); padding-top: var(--s-4); border-top: 1px solid var(--band); }
.alerts label:not(.check), .interests label:not(.check) { display: block; font-size: var(--f-fine); font-weight: 600; margin-bottom: var(--s-2); }
.alert-opts, .interest-kinds { display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-4); margin: var(--s-3) 0 0; }
.interest-kinds { margin: 0 0 var(--s-3); }
.check--tight { margin-top: 0; font-weight: 400; align-items: center; min-height: 32px; }
.check--tight input { margin: -12px; }
.interests .field-row { margin-top: var(--s-2); }
.watchlist .interests { border-top-color: var(--rule-soft); }

/* ---------- the lot machinery, retuned for the new look ---------- */
.gauge-bar { border-radius: 6px; overflow: hidden; }
.pay, .auto-on, .at-number { border-radius: 14px; }
.pay-btn { background: var(--ink); }
.report { border-top: 0; margin-top: 0; }
.report dl { margin-top: 6px; }
input[type="email"], input[type="text"], input[type="search"] { min-height: 52px; border-radius: var(--pill); padding: 0 20px; background: #fff; }
.field-row .btn { min-height: 52px; }
.check input { accent-color: var(--hot); }
.prov { border-bottom-color: var(--ink-3); }

/* ---------- page heading ---------- */
.page-head { padding-block: clamp(22px, 3vw, 36px) clamp(16px, 2vw, 24px); }
.crumb { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; font-size: 13px; color: var(--ink-2); margin-bottom: 10px; }
.crumb a { text-decoration: none; color: var(--ink-2); display: inline-flex; min-height: 32px; align-items: center; }
.crumb a:hover { color: var(--ink); }
.crumb .sep::before { content: "›"; color: var(--rule); }
.crumb [aria-current] { color: var(--ink); font-weight: 600; }
.page-head h1 { font-size: clamp(30px, 3.6vw, 46px); letter-spacing: -0.035em; line-height: 1.05; margin: 0; font-weight: 700; }
.page-head h1 em { font-style: normal; color: var(--hot); }
.page-head p { color: var(--ink-2); margin: 8px 0 0; max-width: 60ch; }

/* ---------- category pills (the reference's top bar) ---------- */
.pillbar { display: flex; justify-content: center; margin: 0 auto clamp(18px, 2.4vw, 26px); }
.pillbar-in { display: inline-flex; gap: 4px; padding: 5px; border-radius: var(--pill); background: var(--band); overflow-x: auto; scrollbar-width: none; max-width: 100%; }
.pillbar-in::-webkit-scrollbar { display: none; }
.pillbar button { border: 0; background: transparent; min-height: 40px; padding: 0 16px; border-radius: var(--pill); font-size: 14px; font-weight: 500; color: var(--ink-2); cursor: pointer; white-space: nowrap; }
.pillbar button:hover { color: var(--ink); }
.pillbar button[aria-pressed="true"] { background: #fff; color: var(--ink); font-weight: 600; box-shadow: 0 1px 3px rgba(0,0,0,.1); }

/* ---------- Drops / Auctions, a segmented control ---------- */
.seg { display: inline-flex; gap: 4px; padding: 4px; border-radius: var(--pill); border: 1px solid var(--line); }
.seg button { display: inline-flex; align-items: center; gap: 8px; border: 0; background: transparent; min-height: 40px; padding: 0 18px; border-radius: var(--pill); font-size: 14px; font-weight: 600; color: var(--ink-2); cursor: pointer; }
.seg button[aria-selected="true"] { background: var(--ink); color: #fff; }
.seg i { width: 7px; height: 7px; border-radius: 50%; background: var(--hot); }

/* ---------- filters ---------- */
.filters { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 18px; }
.filters .grow { flex: 1; }
.sel { position: relative; }
.sel select { appearance: none; -webkit-appearance: none; min-height: 40px; padding: 0 34px 0 14px; border: 1px solid var(--line); border-radius: 10px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%235F5F63' stroke-width='2.4'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center; font: inherit; font-size: 13px; font-weight: 500; color: var(--ink); cursor: pointer; }
.filters input[type="search"] { min-height: 40px; flex: 0 1 240px; border-radius: 10px; font-size: 14px; padding: 0 14px; border: 1px solid var(--line); }

/* ---------- the shop: a grid beside a featured stage ---------- */
.shop { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(18px, 2.4vw, 28px); align-items: start; padding-bottom: clamp(48px, 6vw, 80px); }
.shop-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.shop-side { position: sticky; top: 24px; }

.card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 10px; display: flex; flex-direction: column; transition: border-color .2s var(--ease), box-shadow .2s var(--ease), transform .2s var(--ease); }
.card:hover { border-color: var(--rule); box-shadow: 0 10px 26px rgba(0,0,0,.07); }
.card .ph { position: relative; aspect-ratio: 1; border-radius: 12px; background: var(--band); overflow: hidden; }
.card .ph img { width: 100%; height: 100%; object-fit: cover; }
.card .ph img.kind { object-fit: contain; padding: 22%; }
.card .chip { position: absolute; left: 8px; top: 8px; }
.card .tool { position: absolute; right: 8px; top: 8px; width: 34px; height: 34px; }
.card .body { padding: 10px 4px 2px; display: flex; flex-direction: column; gap: 2px; flex-grow: 1; }
.card .kind-l { font-size: 11px; color: var(--ink-3); text-transform: uppercase; letter-spacing: .08em; font-weight: 600; }
.card h3 { font-size: 15px; font-weight: 600; letter-spacing: -0.01em; line-height: 1.3; margin: 0; }
.card h3 a { text-decoration: none; }
.card h3 a::after { content: ""; position: absolute; inset: 0; border-radius: 18px; }
.card .btn { position: relative; z-index: 1; }
.card .tool { z-index: 2; }
.card .row { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 6px; }
.card .price { font-size: 20px; font-weight: 800; color: var(--hot); letter-spacing: -0.03em; }
.card .tbd { font-size: 12px; color: var(--ink-2); font-weight: 500; }
.card .when { font-size: 12px; color: var(--ink-3); }
.card .clock { font-size: 12px; color: var(--amber); font-weight: 700; }
.card.is-live { border-color: var(--hot); box-shadow: 0 0 0 3px var(--hot-soft); }
.card.is-sold .ph img { filter: grayscale(.6); opacity: .75; }

/* The stage: the reference's big right-hand panel. The lot stands on the
   logo's cream, its white photograph multiplied into it, with a turntable
   ring under it and the headline set large across the top. */
.stage { position: relative; overflow: hidden; border-radius: 28px; background: radial-gradient(120% 90% at 70% 35%, #FFF8EC 0%, #FFF0D6 45%, #F4DDB6 100%); color: var(--ink); padding: clamp(22px, 3vw, 34px); min-height: 640px; display: flex; flex-direction: column; isolation: isolate; }
.stage::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 34%; background: linear-gradient(180deg, rgba(196,140,70,0) 0%, rgba(196,140,70,.16) 100%); z-index: -1; }
.stage-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.stage-title { font-size: clamp(54px, 7vw, 104px); line-height: .9; letter-spacing: -0.055em; font-weight: 800; margin: 18px 0 0; color: var(--hot); max-width: 6ch; }
.stage-title span { display: block; color: var(--ink); }
.stage-pic { position: relative; flex: 1; min-height: 300px; display: grid; place-items: end center; margin-top: -70px; }
/* The photos are 16:9-ish (1600 × 893); the box takes the photo's own shape
   so the shadow lands at its foot. --ph is the tallest the photo may be. */
.pic-in { width: min(86%, calc(var(--ph, 440px) * 1.79)); }
.pic-in:has(img.kind) { width: auto; }
.stage-pic img { position: relative; z-index: 1; width: 100%; height: auto; object-fit: contain; mix-blend-mode: multiply; }
.stage-pic img.kind { width: auto; max-height: 220px; opacity: .8; }
/* The floor: a soft contact shadow under the appliance's feet, sized to the
   photo it sits in (the appliance fills the middle third of each shot), so
   the lot stands on the stage instead of floating over a ring. */
.pic-in { position: relative; display: inline-block; line-height: 0; }
.ring { position: absolute; z-index: 0; left: 50%; bottom: 1.5%; width: 40%; height: 7%; min-height: 10px; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(closest-side, rgba(90, 58, 22, .38), rgba(90, 58, 22, .12) 60%, rgba(90, 58, 22, 0)); pointer-events: none; }
.stage-foot { position: relative; z-index: 2; margin-top: 26px; display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 12px 18px; background: rgba(255,255,255,.82); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-radius: 20px; padding: 16px 18px; box-shadow: 0 10px 30px rgba(120,80,30,.12); }
.stage-foot .nm { font-weight: 600; font-size: 17px; }
.stage-foot .mt { font-size: 13px; color: var(--ink-2); }
.stage-foot .big { display: block; font-size: clamp(36px, 4vw, 52px); font-weight: 800; color: var(--hot); letter-spacing: -0.04em; line-height: 1; margin-top: 6px; }
.stage-foot .clock { font-size: 12px; font-weight: 700; color: var(--amber); letter-spacing: .06em; text-transform: uppercase; margin-top: 6px; }
.stage-foot .btn { min-height: 54px; padding: 0 28px; font-weight: 700; letter-spacing: .06em; }
.stage-cap { position: absolute; right: 22px; top: 22px; }
.stage-foot:has(.stage-acts) { grid-template-columns: 1fr; }
.stage-acts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.stage-acts .btn { min-height: 54px; }

/* ---------- the watchlist ---------- */
.watchlist { border: 1px solid var(--line); border-radius: 20px; padding: clamp(18px, 2.4vw, 26px); margin-bottom: 22px; }
.watchlist-head h2 { font-size: 20px; margin: 0; letter-spacing: -0.02em; }
.watchlist-head p { font-size: 13px; color: var(--ink-2); margin: 4px 0 0; }
.watchlist-items { list-style: none; margin: 14px 0 0; padding: 0; }
.watchlist-items:empty { display: none; }
.watchlist-items li { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; border-top: 1px solid var(--line); padding: 8px 0; }
.wl-name { font-size: 14px; font-weight: 600; flex-grow: 1; min-width: 0; }
.wl-name a { text-decoration: none; display: inline-flex; min-height: 44px; align-items: center; }
.wl-where { font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); }
.watchlist-items .btn { min-height: 40px; padding: 0 16px; font-size: 13px; background: var(--band); color: var(--ink); }
.watchlist-empty { font-size: 14px; color: var(--ink-2); margin: 12px 0 0; }
.no-hits { color: var(--ink-2); margin: 0 0 18px; }
.linkish { font: inherit; font-weight: 600; background: none; border: 0; padding: 0; text-decoration: underline; cursor: pointer; min-height: 44px; }
.grade-key { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; font-size: 12px; color: var(--ink-2); margin: 0 0 14px; }
.grade-key b { color: var(--ink); }

/* ---------- the item page ---------- */
.item { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(18px, 2.6vw, 32px); align-items: start; padding-bottom: clamp(40px, 5vw, 64px); }
.item .stage { min-height: 600px; }
.item .stage-title { max-width: 8ch; font-size: clamp(46px, 6vw, 88px); }
.thumbs { display: flex; gap: 10px; margin-top: 12px; }
.thumbs button { width: 76px; height: 60px; border-radius: 12px; overflow: hidden; border: 2px solid transparent; padding: 0; background: var(--band); cursor: pointer; }
.thumbs button[aria-pressed="true"] { border-color: var(--ink); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.thumb-cap { font-size: 12px; color: var(--ink-2); margin: 8px 0 0; }
.buy { position: sticky; top: 24px; background: #fff; border-radius: 24px; box-shadow: 0 1px 0 var(--line), 0 18px 44px rgba(0,0,0,.08); padding: clamp(18px, 2.4vw, 26px); display: flex; flex-direction: column; gap: 14px; }
.buy-top { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.buy .label { font-size: 12px; color: var(--ink-2); text-transform: uppercase; letter-spacing: .08em; font-weight: 600; }
.buy .price-xl { display: block; font-size: clamp(48px, 5vw, 72px); font-weight: 800; color: var(--hot); letter-spacing: -0.045em; line-height: 1; font-variant-numeric: tabular-nums; }
.buy .meta-line { font-size: 13px; color: var(--ink-2); }
.buy .meta-line strong { color: var(--ink); }
.buy hr { border: 0; border-top: 1px solid var(--line); margin: 2px 0; width: 100%; }
.buy .btn--take { min-height: 56px; }
.spec { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 18px 0 0; }
.spec > div { background: var(--band); border-radius: 14px; padding: 12px 14px; }
.spec dt { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 4px; }
.spec dd { margin: 0; font-weight: 600; }
.panel-card { background: var(--band); border-radius: 20px; padding: clamp(18px, 2.4vw, 26px); margin-top: 18px; }
.panel-card h2 { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); margin: 0 0 8px; font-weight: 600; }
.next-lot { display: flex; align-items: center; gap: 12px; }
.next-lot img { width: 56px; height: 48px; object-fit: cover; border-radius: 10px; background: #fff; }
.next-lot span { flex: 1; min-width: 0; font-size: 14px; font-weight: 600; }
.next-lot small { display: block; font-weight: 500; color: var(--ink-3); font-size: 12px; }
.next-lot .btn { min-height: 40px; padding: 0 16px; font-size: 13px; background: #fff; color: var(--ink); }
.flag { border-radius: 14px; padding: 12px 14px; font-size: 13px; background: var(--band); }

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
  .shop, .item { grid-template-columns: minmax(0, 1fr); }
  .shop-side, .buy { position: static; }
  .shop-side { order: -1; }
  .stage { min-height: 520px; }
}
@media (max-width: 640px) {
  .pillbar { justify-content: flex-start; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); }
  .filters .sel select { font-size: 13px; }
  .filters input[type="search"] { flex: 1 1 100%; }
  .stage { min-height: 460px; border-radius: 22px; }
  .stage-title { font-size: 56px; }
  .stage-pic { --ph: 240px; }
  .stage-foot { grid-template-columns: 1fr; }
  .stage-foot .btn { width: 100%; }
  .spec { grid-template-columns: 1fr; }
}
.card .chip { max-width: calc(100% - 56px); overflow: hidden; text-overflow: ellipsis; }
.btn[disabled].btn--take { background: var(--band); color: var(--ink-2); box-shadow: none; opacity: 1; }

/* ---------- the demo page ---------- */
.shop-grid--wide { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.ledger { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 16px; }
.ledger div { background: #fff; border-radius: 14px; padding: 14px 16px; display: flex; flex-direction: column; gap: 2px; }
.ledger .k { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
.ledger .v { font-size: 20px; font-weight: 700; letter-spacing: -.02em; }
.modes { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.mode { border-radius: 24px; padding: clamp(24px, 3vw, 36px); text-decoration: none; display: flex; flex-direction: column; gap: 10px; min-height: 220px; transition: transform .2s var(--ease); }
.mode:hover { transform: translateY(-2px); }
.mode--drop { background: var(--dark); color: var(--on-dark); }
.mode--up { background: var(--band); }
.mode .t { font-size: clamp(24px, 2.6vw, 32px); font-weight: 700; letter-spacing: -.03em; line-height: 1.1; margin-top: auto; }
.mode .go { font-weight: 600; font-size: 14px; }
.mode--drop .go { color: var(--hot-on-dark); }
.after-tabs button { min-height: 44px; padding: 0 18px; border-radius: var(--pill); border: 1px solid var(--line); background: #fff; font: 500 14px var(--sans); cursor: pointer; }
.after-tabs button[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.ladder { border-radius: 24px; }
@media (max-width: 1000px) { .shop-grid--wide { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 700px) { .modes, .ledger { grid-template-columns: 1fr; } .ladder-grid { grid-template-columns: 1fr; } }
.ladder-rungs .rung.is-past { background: linear-gradient(180deg, #C8620A, var(--hot)); }
.ladder .big { font-weight: 800; }

/* Item grid: on a phone the price and TAKE IT come straight after the
   product; on a desktop the details sit under the stage and the buying
   panel stays beside both. */
.item { grid-template-areas: "media buy" "details buy"; }
.item-media { grid-area: media; }
.item-buy { grid-area: buy; align-self: start; position: sticky; top: 24px; }
.item-buy .buy { position: static; }
.item-details { grid-area: details; }
@media (max-width: 1000px) {
  .item { grid-template-areas: "media" "buy" "details"; }
  .item-buy { position: static; }
}

/* ---------- the ascending auction, before it opens ----------
   Nothing on a draft can be bid on, so the panel explains instead of
   greying out: two facts, how bidding will run, a reminder, and the way
   back to the drop. */
.auc-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.auc-facts div { background: var(--band); border-radius: 14px; padding: 12px 14px; }
.auc-facts b { display: block; font-size: 17px; margin-top: 2px; }
.auc-how { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.auc-how li { position: relative; display: flex; flex-direction: column; gap: 2px; font-size: 13px; }
.auc-how b { font-size: 14px; }
.auc-how small { color: var(--ink-2); font-size: 12px; line-height: 1.35; }
.auc-ic { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: #fff; font-weight: 700; font-size: 13px; margin-bottom: 6px; }
.auc-how li:last-child .auc-ic { background: var(--ok); }
.auc-remind label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 8px; }
.auc-remind .field-msg { margin-top: 8px; font-size: 13px; color: var(--ink-2); }
.auc-remind .field-msg.is-bad { color: var(--hot); }
.auc-drop { display: flex; align-items: center; gap: 14px; margin-top: 18px; padding: 18px 20px; border-radius: 20px; background: var(--hot-soft); border: 1px solid #F3D3C4; text-decoration: none; transition: background-color .2s var(--ease); }
.auc-drop:hover { background: #F8E1D6; }
.auc-drop-ar { width: 44px; height: 44px; border-radius: 50%; background: var(--hot); color: #fff; display: grid; place-items: center; font-size: 20px; font-weight: 800; flex-shrink: 0; }
.auc-drop b { display: block; font-size: 16px; }
.auc-drop small { display: block; font-size: 13px; color: var(--ink-2); }
.auc-drop > span:last-child { margin-left: auto; color: var(--hot); font-weight: 700; }
@media (max-width: 640px) {
  .auc-how { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 14px; }
  .item .stage { min-height: 0; }
  .item .stage-pic { min-height: 240px; margin-top: -10px; }
  .item .stage-pic { --ph: 280px; }
  .item .stage-title { font-size: 52px; }
}
/* An ascending lot is not falling, so its title stays in ink: the accent
   means "this price is moving down". */
.stage-title--ink { color: var(--ink); }
.stage-title--ink span { color: var(--ink-2); }
.card .card-remind { margin-top: 10px; min-height: 40px; width: 100%; font-size: 13px; padding: 0 12px; }

@media (max-width: 360px) {
  .stage, .item .stage { padding: 18px; }
  .stage-title, .item .stage-title { font-size: 40px; }
  .buy { padding: 16px; }
  .auc-facts { grid-template-columns: 1fr; }
}
