/* The Downsizing Hub — public site. Plain CSS, no build step. */
:root {
  /* Design system v2 (see the redesign canvas): ink on white, one action color. */
  --bg: #ffffff;
  --surface: #ffffff;
  --surface-alt: #f4f6f5;   /* Mist */
  --text: #0f1130;          /* Ink */
  --body: #3d4844;          /* Slate */
  --muted: #56635e;
  --border: #e3e6e4;        /* Line */
  --border-strong: #cdd3d0;
  --accent: #4a7a1a;        /* Pine: actions only */
  --accent-hover: #3b6215;
  --accent-text: #ffffff;
  --accent-soft: #eef5e6;
  --urgent: #b4430e;        /* Ember: closing soon only */
  --urgent-soft: #fbeee6;
  --gold: #e8b84e;
  --gold-soft: #f6e7c4;
  --live: #4a7a1a;
  --preview: #56635e;
  --closed: #56635e;
  --danger: #a3361f;
  --radius: 12px;
  --shadow: none;
  --font: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --serif: var(--font);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 16px/1.55 var(--font);
  -webkit-font-smoothing: antialiased; font-feature-settings: "cv11", "ss01";
}
img, video { max-width: 100%; display: block; }
a { color: var(--accent); text-underline-offset: 3px; }
h1, h2, h3 { font-family: var(--font); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -0.02em; font-weight: 800; }
h1 { font-size: clamp(1.75rem, 6vw, 2.6rem); }
h2 { font-size: 1.35rem; margin-top: 1.5em; font-weight: 750; letter-spacing: -0.015em; }
h3 { font-size: 1.15rem; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 16px; }
.section { padding: 32px 0 48px; }
.section.alt { background: var(--surface-alt); }
.muted { color: var(--muted); }
.urgent { color: var(--urgent); font-weight: 600; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 8px; background: var(--surface); padding: 8px 12px; z-index: 10; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

/* Header / footer */
.site-header { background: var(--surface); border-bottom: 1px solid var(--border); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-family: var(--serif); font-size: 1.3rem; font-weight: 700; }
.brand svg { color: var(--accent); }
nav a { margin-left: 20px; color: var(--text); text-decoration: none; font-weight: 500; }
nav a:hover { color: var(--accent); }
.site-footer { border-top: 1px solid var(--border); padding: 24px 0; font-size: .95rem; }
.site-footer p { margin: .25em 0; }

/* Hero */
.hero { background: var(--accent-soft); padding: 56px 0; }
.hero .lead { font-size: 1.25rem; max-width: 36em; color: var(--muted); }

/* Buttons + forms */
.button {
  display: inline-block; background: var(--accent); color: var(--accent-text);
  border: 0; border-radius: var(--radius); padding: 12px 22px; font: 600 1rem var(--font);
  text-decoration: none; cursor: pointer; min-height: 48px;
}
.button.secondary { background: var(--surface); color: var(--accent); border: 2px solid var(--accent); }
.button.wide { width: 100%; }
.button:disabled { opacity: .6; cursor: not-allowed; }
input[type=search], select {
  font: inherit; padding: 10px 12px; border: 1px solid var(--border); border-radius: var(--radius);
  background: var(--surface); color: var(--text); min-height: 48px;
}
.filters { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 24px; }
.filters input[type=search] { flex: 1 1 260px; }

/* Cards + grid */
.grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.grid.auctions { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; color: var(--text); text-decoration: none; box-shadow: var(--shadow);
  transition: transform .15s ease, box-shadow .15s ease;
}
.card:hover { transform: translateY(-2px); }
.card-media { position: relative; aspect-ratio: 4 / 3; background: var(--surface-alt); }
.card-media.square { aspect-ratio: 1; }
/* Show the whole item in cards (tall phone photos would otherwise be cropped to a slice). */
.card-media img, .card-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.card-body { padding: 14px 16px 16px; }
.card-body p { margin: .2em 0; }
.placeholder { display: grid; place-items: center; height: 100%; color: var(--muted); font-size: .95rem; }
.badge {
  position: absolute; top: 10px; left: 10px; padding: 3px 10px; border-radius: var(--r);
  font-size: .8rem; font-weight: 700; background: var(--surface); color: var(--text);
}
.badge-live { background: var(--live); color: var(--bg); }
.badge-preview { background: var(--preview); color: var(--bg); }
.badge-closed { background: var(--closed); color: var(--bg); }
.price { font-weight: 600; }
.empty { background: var(--surface); border: 1px dashed var(--border); border-radius: var(--radius); padding: 32px; text-align: center; }
.empty .search-everywhere { margin: 14px 0 0; }

/* How it works */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); counter-reset: s; }
.steps li { background: var(--surface); border-radius: var(--radius); padding: 20px; counter-increment: s; }
.steps li::before { content: counter(s); display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--accent); color: var(--accent-text); font-weight: 700; margin-bottom: 10px; }
.steps strong { display: block; font-size: 1.15rem; }
.steps span { color: var(--muted); }

/* Sale page */
.sale-header { background: var(--surface); border-bottom: 1px solid var(--border); padding: 24px 0 32px; }
.crumbs { font-size: .95rem; color: var(--muted); margin: 0 0 12px; }
.notice { background: #fff4cf; color: #5a4300; padding: 10px 14px; border-radius: var(--radius); }
.facts, .specs { display: flex; flex-wrap: wrap; gap: 12px 32px; margin: 16px 0; }
.facts dt, .specs dt { font-size: .85rem; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.facts dd, .specs dd { margin: 0; font-weight: 600; }
.prose { max-width: 42em; }
.pickup { background: var(--accent-soft); border-radius: var(--radius); padding: 4px 20px 8px; max-width: 42em; }
.pickup h2 { font-size: 1.2rem; margin-top: .8em; }

/* Item page */
.item-layout { display: grid; gap: 32px; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); align-items: start; }
/* Whole photo, any shape (tall phone shots included), scaled to fit; never cropped. */
.gallery-main { background: var(--surface-alt); border-radius: var(--radius); overflow: hidden; height: min(72vh, 680px); display: flex; align-items: center; justify-content: center; }
.gallery-main img, .gallery-main video { display: block; max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.gallery-main.placeholder { height: auto; aspect-ratio: 4 / 3; }
.thumbs { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; padding-bottom: 4px; }
.thumb { flex: 0 0 76px; height: 76px; padding: 0; border: 2px solid transparent; border-radius: var(--r); overflow: hidden; background: var(--surface-alt); cursor: pointer; }
.thumb.active { border-color: var(--accent); }
.thumb img { width: 100%; height: 100%; object-fit: contain; background: var(--surface-alt); }
.play { display: grid; place-items: center; height: 100%; font-size: 1.4rem; color: var(--text); }
.auction-label { color: var(--muted); font-weight: 600; margin: 0 0 4px; }
.bid-box { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px 20px; margin: 16px 0 24px; box-shadow: var(--shadow); }
.bid-box p { margin: .2em 0; }
.big-price { font-size: 2rem; font-weight: 700; }
.auction-nav { display: flex; justify-content: space-between; border-top: 1px solid var(--border); padding-top: 16px; margin-top: 24px; font-weight: 600; }

@media (max-width: 760px) {
  body { font-size: 17px; }
  .item-layout { grid-template-columns: 1fr; }
  nav a { margin: 0 16px 0 0; }
  .hero { padding: 36px 0; }
}

/* Questionnaire */
.narrow { max-width: 760px; }
.center { text-align: center; }
.lead { font-size: 1.2rem; color: var(--muted); }
.small { font-size: .9rem; }
.inquiry-form { margin-top: 24px; }
.form-step { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px 22px 8px; margin-bottom: 20px; }
.form-step h2 { display: flex; align-items: center; gap: 10px; margin-top: 0; font-size: 1.35rem; }
.step-no { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--accent); color: var(--accent-text); font: 700 1rem var(--font); }
.field { margin-bottom: 18px; }
.field > label, legend { display: block; font-weight: 600; margin-bottom: 6px; }
fieldset { border: 0; padding: 0; margin: 0; }
.field input[type=text], .field input[type=email], .field input[type=tel], .field input[type=password], .field input[type=number], .field select, .field textarea {
  width: 100%; font: inherit; padding: 10px 12px; border: 1px solid var(--border); border-radius: var(--radius);
  background: var(--bg); color: var(--text); min-height: 48px;
}
.options { display: grid; gap: 8px; }
.option { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid var(--border); border-radius: var(--radius); cursor: pointer; background: var(--bg); }
.option:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); }
.option input { width: 20px; height: 20px; accent-color: var(--accent); flex: none; }
.row { display: grid; gap: 0 16px; grid-template-columns: 1fr 1fr; }
.req { color: var(--urgent); }
.error { color: var(--urgent); margin: 4px 0 0; font-size: .95rem; }
.has-error input, .has-error select, .has-error textarea { border-color: var(--urgent); }
.form-error { background: #fde8e3; color: #6b1d0c; border-radius: var(--radius); padding: 10px 16px; margin-bottom: 16px; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 760px) { .row { grid-template-columns: 1fr; } }

/* Bidding */
.win { color: var(--live); font-weight: 700; }
.lose { color: var(--urgent); font-weight: 700; }
.status-line { min-height: 1.4em; margin: .4em 0; }
.bid-form label { display: block; font-weight: 600; margin-top: 10px; }
.bid-input { display: flex; align-items: center; gap: 6px; margin: 6px 0; }
.bid-input span { font-size: 1.4rem; font-weight: 700; }
.bid-input input { flex: 1; font: 700 1.4rem var(--font); padding: 8px 12px; border: 2px solid var(--border); border-radius: var(--radius); min-height: 52px; background: var(--bg); color: var(--text); }
.bid-message { min-height: 1.4em; margin: .6em 0 0; }
.history { margin-top: 14px; }
.history summary { cursor: pointer; font-weight: 600; }
.history ol { padding-left: 1.2em; margin: .5em 0; }
.flash { animation: flash 1.2s ease; }
@keyframes flash { 0% { background-color: var(--accent-soft); } 100% { background-color: transparent; } }
.bid-table { display: grid; gap: 8px; }
.bid-row { display: grid; grid-template-columns: 1fr auto auto; gap: 16px; align-items: center; padding: 12px 16px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); color: var(--text); text-decoration: none; }
.right { text-align: right; }
.inline { display: inline; }
.linklike { background: none; border: 0; padding: 0; color: var(--accent); font: inherit; text-decoration: underline; cursor: pointer; }
@media (max-width: 760px) { .bid-row { grid-template-columns: 1fr auto; } .bid-row > :last-child { grid-column: 1 / -1; text-align: left; } }


/* ===================================================================
   v2: modern look (header, hero, doors, services, band, footer)
   =================================================================== */
.site-header { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--surface) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--border); }
.header-row { min-height: 68px; }
.brand { font-family: var(--font); font-size: 1.15rem; letter-spacing: -0.01em; }
.main-nav { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 22px; }
.main-nav a { margin: 0; font-size: .98rem; }
.nav-cta { background: var(--accent); color: var(--accent-text) !important; padding: 8px 16px; border-radius: var(--r); font-weight: 650; }
.nav-cta:hover { filter: brightness(1.08); }

.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; font-weight: 700; color: var(--accent); margin: 0 0 10px; }

.hero { position: relative; isolation: isolate; color: #fff; padding: clamp(72px, 12vw, 140px) 0 clamp(120px, 14vw, 170px); overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background: var(--hero-img) center 40% / cover no-repeat; transform: scale(1.03); }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgb(18 24 22 / .72) 0%, rgb(18 24 22 / .55) 45%, rgb(18 24 22 / .82) 100%); }
.hero-inner { max-width: 760px; }
.hero h1 { font-size: clamp(2.4rem, 6vw, 4rem); color: #fff; margin-bottom: 16px; }
.hero .eyebrow { color: #cfe7de; }
.hero-lead { font-size: clamp(1.1rem, 2.2vw, 1.3rem); color: rgb(255 255 255 / .9); max-width: 40em; margin: 0; }

.doors-wrap { margin-top: clamp(-110px, -10vw, -80px); position: relative; z-index: 2; padding-bottom: 24px; }
.doors { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.door { display: flex; flex-direction: column; gap: 8px; background: var(--surface); color: var(--text); text-decoration: none;
  border: 1px solid var(--border); border-radius: var(--r); padding: 28px 26px; box-shadow: 0 10px 30px rgb(0 0 0 / .10);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.door:hover, .door:focus-visible { transform: translateY(-4px); box-shadow: 0 16px 40px rgb(0 0 0 / .14); border-color: var(--accent); }
.door h2 { margin: 6px 0 0; font-size: 1.45rem; }
.door p { color: var(--muted); margin: 0; flex: 1; }
.door-cta { margin-top: 10px; font-weight: 700; color: var(--accent); }
.door-icon { width: 48px; height: 48px; border-radius: var(--r); background: var(--accent-soft); display: grid; place-items: center; }
.door-icon svg { width: 26px; height: 26px; fill: none; stroke: var(--accent); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.section-head { max-width: 640px; margin-bottom: 28px; }
.section-head h2 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); margin: 0; }
.service-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); margin-bottom: 28px; }
.service { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r); padding: 22px 22px 18px; }
.service h3 { font-size: 1.12rem; margin: 0 0 6px; }
.service p { color: var(--muted); margin: 0; font-size: 1rem; }

.band { background: linear-gradient(135deg, var(--accent) 0%, color-mix(in srgb, var(--accent) 70%, #000) 100%); color: var(--accent-text); padding: 44px 0; }
.band.rounded { border-radius: var(--r); padding: 32px; margin-top: 32px; }
.band-inner { display: flex; flex-wrap: wrap; gap: 20px 32px; align-items: center; justify-content: space-between; }
.band h2 { color: inherit; margin: 0 0 6px; font-size: clamp(1.5rem, 3vw, 2rem); }
.band p { margin: 0; max-width: 40em; opacity: .92; }
.button.light { background: #fff; color: #1f2b27; }
.center { text-align: center; }

.page-hero { position: relative; isolation: isolate; color: #fff; padding: clamp(56px, 9vw, 96px) 0; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background: var(--hero-img) center / cover no-repeat; }
.page-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgb(18 24 22 / .85), rgb(18 24 22 / .55)); }
.page-hero h1 { color: #fff; font-size: clamp(2rem, 5vw, 3rem); max-width: 18em; }
.page-hero .eyebrow { color: #cfe7de; }

.services-page { max-width: 860px; }
.svc-block { padding: 26px 0; border-bottom: 1px solid var(--border); scroll-margin-top: 90px; }
.svc-block h2 { font-size: 1.5rem; margin-bottom: 8px; }
.svc-block p { margin: 0 0 8px; color: var(--text); }
.ticks { margin: 8px 0 0; padding-left: 0; list-style: none; }
.ticks li { padding-left: 28px; position: relative; margin: 4px 0; color: var(--muted); }
.ticks li::before { content: "✓"; position: absolute; left: 4px; color: var(--accent); font-weight: 800; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.chips span { background: var(--accent-soft); color: var(--text); border-radius: var(--r); padding: 6px 14px; font-size: .95rem; }

.site-footer { background: #1d2422; color: #d9dfdc; border-top: 0; padding: 48px 0 24px; margin-top: 48px; }
.site-footer a { color: #d9dfdc; text-decoration: none; display: block; margin: 6px 0; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer .muted { color: #a3aca8; }
.footer-grid { display: grid; gap: 24px; grid-template-columns: 1.4fr repeat(3, 1fr); }
.footer-brand { font-weight: 800; font-size: 1.15rem; color: #fff; margin: 0 0 6px; }
.footer-h { font-weight: 700; color: #fff; margin: 0 0 8px; }
.footer-base { border-top: 1px solid #2e3734; margin-top: 28px; padding-top: 18px; font-size: .9rem; }

@media (max-width: 760px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .main-nav { gap: 4px 14px; font-size: .95rem; }
  .doors-wrap { margin-top: -70px; }
}

.thumb { position: relative; }
.play.overlay { position: absolute; inset: 0; display: grid; place-items: center; color: #fff; font-size: 1.3rem;
  text-shadow: 0 1px 4px rgb(0 0 0 / .7); background: rgb(0 0 0 / .18); }
.updated-note { background: #fff4cf; color: #5a4300; border-radius: var(--r); padding: 6px 10px; font-size: .95rem; display: inline-block; }
.mfa-steps li { margin: 10px 0; }
.qr { background: #fff; padding: 12px; border-radius: var(--r); width: 232px; margin: 12px 0; }
.qr svg { width: 100%; height: auto; display: block; }
.secret { font-size: 1.05rem; letter-spacing: .08em; background: var(--surface-alt); padding: 4px 8px; border-radius: var(--r); }

/* Lots inside an auction */
.section-title { margin: 8px 0 14px; }
.lot-nav { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 28px; font-weight: 600; }

/* Lot card photo collage: 1 item = one whole photo; 2-4 items = a tiled peek at what's inside. */
.collage { display: grid; gap: 2px; overflow: hidden; }
.collage img { position: static; width: 100%; height: 100%; min-height: 0; object-fit: cover; }
.collage-1 img { position: absolute; inset: 0; object-fit: contain; }
.collage-2 { grid-template-columns: 1fr 1fr; }
.collage-3 { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; }
.collage-3 img:first-child { grid-row: span 2; }
.collage-4 { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; }

/* Save this item */
.save-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin: -8px 0 20px; }
.save-row form { margin: 0; }
.save-button { display: inline-block; background: var(--surface); color: var(--accent); border: 2px solid var(--accent);
  border-radius: var(--r); padding: 8px 16px; font: inherit; font-weight: 700; cursor: pointer; text-decoration: none; }
.save-button.saved { background: var(--accent); color: var(--bg); }
.lot-label { color: var(--muted); font-size: .85rem; font-weight: 700; letter-spacing: .02em; margin: 0 0 2px; }

/* Lot grid: compact so big sales scroll fast. 2 per row on phones, more on wider screens. */
.grid.items { grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 14px; }
.grid.items .card-media.square { aspect-ratio: 1; }
.grid.items .card-body { padding: 8px 10px 10px; }
.grid.items .card-body h3 { font-size: .95rem; line-height: 1.25; margin: 0 0 2px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.grid.items .price { font-size: .95rem; }
.grid.items .small { font-size: .8rem; }
@media (max-width: 560px) {
  .grid.items { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .grid.items .card-media.square { aspect-ratio: 4 / 3; }
  .grid.items .lot-label { font-size: .75rem; }
}

/* Fees up front, Buy it now, sale info */
.fee-line { margin: .4em 0 .6em; color: var(--muted); }
.buy-now { margin: 6px 0 14px; }
.buy-now-btn { background: var(--text); color: var(--bg); }
.sale-info { display: grid; gap: 8px; margin-top: 14px; }
.sale-info details { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r); padding: 10px 14px; }
.sale-info summary { font-weight: 700; cursor: pointer; }
.sale-info details p { margin: .5em 0 0; }

/* Settlement report + family page: plain, printable */
.report-page { max-width: 900px; }
.report-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.report-kicker { text-transform: uppercase; letter-spacing: .08em; font-size: .75rem; font-weight: 700; color: var(--muted); margin: 0; }
.report-sub { font-size: 15px; margin: 22px 0 -6px; }
.report-totals { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; margin: 18px 0; }
.report-totals div { border: 1px solid var(--border); border-radius: var(--r); padding: 10px 12px; }
.report-totals dt { color: var(--muted); font-size: .8rem; }
.report-totals dd { margin: 2px 0 0; font-size: 1.25rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.report-owner { border-top: 1px solid var(--border); padding-top: 14px; margin-top: 18px; }
.report-owner-head h2 { margin: 0; font-size: 1.15rem; }
.report-table { width: 100%; border-collapse: collapse; margin: 10px 0; font-size: .95rem; }
.report-table th, .report-table td { text-align: left; padding: 7px 6px; border-bottom: 1px solid var(--border); vertical-align: top; }
.report-table .num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.report-table tfoot th { border-bottom: 0; }
.report-payout { font-weight: 600; }
@media (max-width: 560px) { .report-table { font-size: .85rem; } .report-table th:nth-child(4), .report-table td:nth-child(4) { display: none; } }
@media print {
  .site-header, .site-footer, .no-print, .skip { display: none !important; }
  body { background: #fff; color: #000; }
  .report-totals div { border-color: #999; }
  a { color: inherit; text-decoration: none; }
}
.agree-box { display: flex; gap: 10px; align-items: flex-start; margin: 10px 0; font-size: .92rem; }
.agree-box input { width: 20px; height: 20px; margin-top: 2px; flex: none; }
.agree-box.needs { outline: 2px solid var(--danger, #a3361f); outline-offset: 4px; border-radius: var(--r); }

/* ======================================================================
   Design system v2 components (phone first; wider screens open up)
   ====================================================================== */
.tabnum { font-variant-numeric: tabular-nums; }
.kicker { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin: 0; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 20px;
  border-radius: var(--radius); border: 0; background: var(--accent); color: var(--accent-text); font: 700 16px/1 var(--font);
  text-decoration: none; cursor: pointer; }
.btn:hover { background: var(--accent-hover); color: var(--accent-text); }
.btn.ghost { background: var(--surface); color: var(--text); border: 1.5px solid var(--border-strong); font-weight: 600; }
.btn.ghost:hover { border-color: var(--text); }
.btn.outline { background: var(--surface); color: var(--accent); border: 1.5px solid var(--accent); }
.btn.small { min-height: 40px; padding: 0 14px; font-size: 14px; border-radius: var(--r); }
.btn.block { width: 100%; }
.tag { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: var(--r); font-size: 13px; font-weight: 600;
  border: 1px solid var(--border-strong); color: var(--body); background: var(--surface); }
.tag.good { background: var(--accent-soft); border-color: transparent; color: var(--accent-hover); }
.tag.hot { background: var(--urgent); border-color: transparent; color: #fff; }
.tag.gold { background: var(--gold-soft); border-color: transparent; color: #5c4410; }
.ico { width: 20px; height: 20px; flex: none; }

/* Header: brand + account + menu on phones, inline nav on wider screens */
.site-header { position: sticky; top: 0; z-index: 20; background: rgb(255 255 255 / .96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--border); }
.header-row { min-height: 60px; flex-wrap: nowrap; gap: 8px; }
.brand { font-size: 16px; font-weight: 800; letter-spacing: -0.01em; gap: 8px; }
.brand svg { color: var(--accent); width: 28px; height: 28px; }
.header-actions { display: flex; align-items: center; gap: 4px; }
.header-actions > a { font-weight: 600; font-size: 15px; text-decoration: none; padding: 10px 8px; color: var(--accent); }
.menu { position: relative; }
.menu > summary { list-style: none; width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; cursor: pointer; border-radius: var(--r); }
.menu > summary::-webkit-details-marker { display: none; }
.menu[open] > summary { background: var(--surface-alt); }
.menu-panel { position: absolute; right: 0; top: 50px; width: min(300px, calc(100vw - 32px)); background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r); box-shadow: 0 12px 32px rgb(17 22 20 / .12); padding: 8px; display: flex; flex-direction: column; }
.menu-panel a { margin: 0; padding: 12px; border-radius: var(--r); color: var(--text); text-decoration: none; font-weight: 600; }
.menu-panel a:hover { background: var(--surface-alt); }
.menu-panel .btn { margin-top: 6px; }
.main-nav { display: none; }
@media (min-width: 900px) {
  .main-nav { display: flex; align-items: center; gap: 4px; }
  .main-nav a { margin: 0; padding: 10px 12px; border-radius: var(--r); font-size: 15px; font-weight: 600; color: var(--text); }
  .main-nav a:hover { background: var(--surface-alt); color: var(--text); }
  .main-nav .btn { margin-left: 8px; min-height: 42px; color: var(--accent-text); }
  .menu, .header-actions > a.phone-only { display: none; }
}

/* Footer */
.site-footer { background: var(--text); color: #c9d1cd; border: 0; padding: 32px 0 40px; }
.site-footer a { color: #fff; text-decoration: none; display: block; padding: 6px 0; }
.site-footer .muted { color: #aab4af; }
.footer-brand { color: #fff; font-weight: 800; font-size: 17px; }
.footer-h { color: #fff; font-weight: 700; margin-top: 12px !important; }
.footer-grid { display: grid; gap: 8px 32px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }

/* Home */
.home-hero { padding: 32px 16px 28px; }
.home-hero h1 { font-size: clamp(2rem, 8.5vw, 3.4rem); line-height: 1.08; letter-spacing: -0.03em; margin: 12px 0 14px; max-width: 18ch; }
.home-hero p.lead { font-size: 17px; line-height: 1.5; color: var(--body); margin: 0 0 22px; max-width: 34em; }
.hero-actions { display: grid; gap: 10px; }
@media (min-width: 640px) { .hero-actions { display: flex; } }
.section-title-row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.section-title-row h2 { margin: 0; }
.section-title-row a { font-weight: 600; text-decoration: none; }
.needs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
@media (min-width: 900px) { .needs { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.need { display: flex; flex-direction: column; gap: 10px; padding: 14px; min-height: 108px; border-radius: var(--r); background: var(--surface-alt);
  text-decoration: none; color: var(--text); }
.need:hover { background: var(--accent-soft); color: var(--text); }
.need-ico { width: 36px; height: 36px; border-radius: var(--r); background: #fff; border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; color: var(--accent); }
.need strong { font-size: 15px; line-height: 1.25; }
.need span:last-child { font-size: 13px; line-height: 1.35; color: var(--muted); }
.band-mist { background: var(--surface-alt); padding: 24px 0 28px; }
.rail { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 4px; margin: 0 -16px; padding-left: 16px; padding-right: 16px; }
.rail > * { scroll-snap-align: start; flex: none; width: 168px; }
@media (min-width: 900px) { .rail { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); overflow: visible; margin: 0; padding: 0; } .rail > * { width: auto; } }
.how { display: grid; gap: 16px; }
@media (min-width: 900px) { .how { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.how-step { display: flex; gap: 14px; align-items: flex-start; }
.how-step b { flex: none; width: 32px; height: 32px; border-radius: var(--r); border: 1.5px solid var(--accent); color: var(--accent);
  display: flex; align-items: center; justify-content: center; font-size: 15px; }
.how-step strong { display: block; font-size: 16px; margin-bottom: 2px; }
.how-step span { color: var(--body); font-size: 15px; }

/* Lot cards (grid + rail): photo, number, title, price, time */
.grid.items { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 10px; }
@media (min-width: 640px) { .grid.items { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 900px) { .grid.items { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 24px 16px; } }
.lot-card { display: flex; flex-direction: column; gap: 4px; text-decoration: none; color: var(--text); min-width: 0; }
.lot-card .ph { aspect-ratio: 1; border-radius: var(--r); background: #dce1de; overflow: hidden; position: relative; margin-bottom: 4px; }
.lot-card .ph img, .lot-card .ph video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.lot-card .no { font-size: 12px; font-weight: 700; color: var(--muted); }
.lot-card .t { font-size: 14px; font-weight: 600; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.6em; }
.lot-card .p { display: flex; align-items: baseline; justify-content: space-between; gap: 6px; }
.lot-card .p strong { font-size: 17px; font-weight: 800; font-variant-numeric: tabular-nums; }
.lot-card .p span { font-size: 12px; color: var(--muted); }
.lot-card .when { font-size: 12px; font-weight: 600; color: var(--muted); font-variant-numeric: tabular-nums; }
.lot-card .when.urgent { color: var(--urgent); }
.lot-card .pill { position: absolute; left: 8px; bottom: 8px; }

/* Auction list cards */
.auction-card { border: 0; box-shadow: none; background: transparent; }
.auction-card .card-media { border-radius: var(--r); overflow: hidden; }
.auction-card .card-body { padding: 10px 2px 0; }

/* Auction page */
.auction-top { padding: 16px 0 8px; display: flex; flex-direction: column; gap: 12px; }
.company-row { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); }
.avatar { width: 40px; height: 40px; border-radius: var(--r); background: var(--accent); color: #fff; font-weight: 800; font-size: 14px; display: flex; align-items: center; justify-content: center; flex: none; }
.company-row .who { flex: 1; display: flex; flex-direction: column; line-height: 1.3; }
.company-row .who strong { font-size: 15px; }
.company-row .who span { font-size: 13px; color: var(--muted); }
.auction-top h1 { font-size: clamp(1.6rem, 7vw, 2.4rem); margin: 4px 0 0; }
.meta-row { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 14px; color: var(--body); }
.meta-row span { display: inline-flex; align-items: center; gap: 5px; }
.meta-row .format-tag { padding: 2px 9px; border-radius: var(--r); border: 1px solid rgb(255 255 255 / .28); font-size: 12.5px; font-weight: 600; }
.status-banner { display: flex; gap: 10px; align-items: center; padding: 12px 14px; border-radius: var(--r); background: var(--accent-soft); font-size: 14px; line-height: 1.35; }
.status-banner .dot { width: 8px; height: 8px; border-radius: var(--r); background: var(--accent); flex: none; }
.status-banner.soon { background: var(--surface-alt); }
.status-banner.soon .dot { background: var(--muted); }
.info-list details { border-top: 1px solid var(--border); padding: 14px 0; }
.info-list details:last-child { border-bottom: 1px solid var(--border); }
.info-list summary { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-weight: 650; font-size: 15px; cursor: pointer; list-style: none; }
.info-list summary::-webkit-details-marker { display: none; }
.info-list summary .sub { font-weight: 400; color: var(--muted); }
.info-list details[open] summary svg { transform: rotate(180deg); }
.info-list .body { padding-top: 8px; font-size: 14px; line-height: 1.55; color: var(--body); }
.info-list .body p { margin: .4em 0; }
.lot-toolbar { position: sticky; top: 60px; z-index: 10; background: rgb(255 255 255 / .97); padding: 10px 0; display: flex; flex-direction: column; gap: 10px; border-bottom: 1px solid var(--border); margin-bottom: 14px; }
.searchbox { display: flex; align-items: center; gap: 8px; height: 44px; padding: 0 12px; border-radius: var(--r); background: var(--surface-alt); }
.searchbox input { flex: 1; border: 0; background: transparent; font: inherit; font-size: 16px; outline: none; color: var(--text); min-height: 0; padding: 0; }
.chip-row { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.chip-row::-webkit-scrollbar { display: none; }
.chip { flex: none; height: 34px; padding: 0 14px; border-radius: var(--r); border: 1px solid var(--border-strong); background: #fff; color: var(--text);
  font-size: 14px; font-weight: 600; display: inline-flex; align-items: center; text-decoration: none; }
.chip.on { background: var(--text); border-color: var(--text); color: #fff; }

/* Lot page */
.lot-wrap { padding-bottom: 150px; }
@media (min-width: 900px) { .lot-wrap { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 32px; padding-top: 24px; align-items: start; } }
.lot-gallery { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 -16px; background: #dce1de; scrollbar-width: none; }
.lot-gallery::-webkit-scrollbar { display: none; }
.lot-gallery > * { flex: none; width: 100%; aspect-ratio: 1; scroll-snap-align: center; object-fit: contain; background: #dce1de; }
@media (min-width: 900px) { .lot-gallery { margin: 0; border-radius: var(--r); } }
.gallery-count { font-size: 13px; color: var(--muted); text-align: center; margin: 8px 0 0; }
.lot-info { padding-top: 16px; display: flex; flex-direction: column; gap: 10px; }
.lot-info h1 { font-size: clamp(1.4rem, 6vw, 2rem); margin: 0; }
.stat-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 4px; }
.stat { padding: 12px; border-radius: var(--r); background: var(--surface-alt); display: flex; flex-direction: column; gap: 2px; }
.stat .k { font-size: 13px; color: var(--muted); }
.stat .v { font-size: 26px; font-weight: 800; font-variant-numeric: tabular-nums; line-height: 1.15; }
.stat .s { font-size: 13px; color: var(--muted); }
.stat.clock { background: var(--urgent-soft); }
.stat.clock .k, .stat.clock .v, .stat.clock .s { color: #8a3a12; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.lot-actions { display: flex; gap: 8px; }
.lot-actions form { margin: 0; }
.detail-list { margin: 6px 0 0; }
.detail-list > div { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-top: 1px solid var(--border); font-size: 14px; }
.detail-list > div:last-child { border-bottom: 1px solid var(--border); }
.detail-list dt { color: var(--muted); }
.detail-list dd { margin: 0; text-align: right; }
.lot-nav { display: flex; justify-content: space-between; margin: 8px 0 0; }
.lot-nav a { font-weight: 600; text-decoration: none; padding: 10px 0; }

/* Bottom bid bar (phones) / bid panel (desktop) */
.bidbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; background: #fff; border-top: 1px solid var(--border);
  padding: 10px 16px calc(14px + env(safe-area-inset-bottom)); box-shadow: 0 -6px 18px rgb(17 22 20 / .06); display: flex; flex-direction: column; gap: 8px; }
.bidbar .quick { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.bidbar .quick button { min-height: 44px; border-radius: var(--r); border: 1.5px solid var(--border-strong); background: #fff; font: 700 15px var(--font); color: var(--text); cursor: pointer; }
.bidbar .note { font-size: 13px; color: var(--muted); text-align: center; margin: 0; }
@media (min-width: 900px) { .bidbar { position: static; border: 1px solid var(--border); border-radius: var(--r); box-shadow: none; margin-top: 8px; padding: 14px; } }

/* Confirm sheet */
dialog.sheet { border: 0; padding: 0; margin: auto auto 0; width: 100%; max-width: 520px; border-radius: 0; background: #fff; color: var(--text); }
dialog.sheet::backdrop { background: rgb(17 22 20 / .45); }
@media (min-width: 640px) { dialog.sheet { margin: auto; border-radius: var(--r); } }
.sheet-in { padding: 10px 20px calc(24px + env(safe-area-inset-bottom)); display: flex; flex-direction: column; gap: 14px; }
.sheet-grip { align-self: center; width: 40px; height: 5px; border-radius: var(--r); background: var(--border-strong); }
.sheet h2 { margin: 2px 0 0; font-size: 22px; }
.money-input { display: flex; align-items: center; height: 56px; border-radius: var(--r); border: 2px solid var(--accent); padding: 0 14px; font-size: 24px; font-weight: 800; font-variant-numeric: tabular-nums; }
.money-input input { border: 0; outline: none; font: inherit; width: 100%; margin-left: 2px; color: var(--text); background: transparent; min-height: 0; padding: 0; }
.breakdown { margin: 0; border-radius: var(--r); background: var(--surface-alt); padding: 4px 14px; }
.breakdown > div { display: flex; justify-content: space-between; padding: 8px 0; font-size: 15px; font-variant-numeric: tabular-nums; }
.breakdown > div + div { border-top: 1px solid var(--border); }
.breakdown > div.total { font-size: 17px; font-weight: 800; }
.breakdown dd { margin: 0; }
.sheet .agree-box { margin: 0; }
.sheet .linkish { align-self: center; background: none; border: 0; color: var(--accent); font: 600 15px var(--font); padding: 8px 12px; cursor: pointer; }

/* Company page */
.company-hero { padding: 20px 0; display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.company-hero .logo { width: 72px; height: 72px; border-radius: var(--r); background: var(--accent); color: #fff; font-weight: 800; font-size: 24px; display: flex; align-items: center; justify-content: center; }
.company-hero h1 { margin: 0; font-size: 26px; }
.company-hero .row2 { display: flex; gap: 10px; width: 100%; max-width: 420px; }
.company-hero .row2 > * { flex: 1; }
.link-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.split { border-top: 8px solid var(--surface-alt); padding: 20px 0; }
@media (min-width: 900px) { .split { border-top-width: 1px; } }
.auction-row { display: flex; gap: 12px; align-items: center; text-decoration: none; color: var(--text); padding: 6px 0; }
.auction-row .ph { width: 76px; height: 76px; border-radius: var(--r); background: #dce1de; overflow: hidden; flex: none; }
.auction-row .ph img { width: 100%; height: 100%; object-fit: cover; }
.auction-row .st { font-size: 12px; font-weight: 700; color: var(--muted); letter-spacing: .04em; }
.auction-row .st.live { color: var(--accent); }

/* ======================================================================
   Depth pass: tinted ground, white cards, a bold pine band at the top
   ====================================================================== */
:root { --bg: #f3f2ed; --ground: #f3f2ed; --pine-deep: #143d2f; --card-shadow: 0 1px 2px rgb(20 30 25 / .05), 0 6px 18px rgb(20 30 25 / .06); }
body { background: var(--bg); }
.site-header { background: rgb(255 255 255 / .94); }

/* Pine band (home hero, auction header) */
.band-pine { background: var(--pine-deep); color: #eef3f0; }
.band-pine h1, .band-pine strong { color: #fff; }
.band-pine .kicker { color: #e8b84e; }
.band-pine p.lead, .band-pine .meta-row, .band-pine .prose { color: #cfdcd5; }
.band-pine .btn { background: #fff; color: var(--pine-deep); }
.band-pine .btn:hover { background: #eef5e6; color: var(--pine-deep); }
.band-pine .btn.ghost { background: transparent; color: #fff; border-color: rgb(255 255 255 / .45); }
.band-pine .btn.ghost:hover { border-color: #fff; }
.band-pine .btn.outline { background: transparent; color: #fff; border-color: rgb(255 255 255 / .6); }
.band-pine a { color: #fff; }
.home-hero { padding: 36px 16px 34px; }
.home-hero h1 span.gold { color: #e8b84e; }
.pine-pad { padding-bottom: 26px; }

/* Cards on the tinted ground */
.card-white { background: #fff; border: 1px solid #e6e4dd; border-radius: var(--r); box-shadow: var(--card-shadow); }
.need { background: #fff; border: 1px solid #e6e4dd; box-shadow: var(--card-shadow); }
.need:hover { background: #fff; border-color: var(--accent); }
.need-ico { background: var(--accent-soft); border: 0; }
.band-mist { background: transparent; }
.lot-card { background: #fff; border: 1px solid #e6e4dd; border-radius: var(--r); padding: 8px 8px 10px; box-shadow: var(--card-shadow); }
.lot-card .ph { border-radius: var(--r); }
.lot-card .no, .lot-card .t, .lot-card .p, .lot-card .when { padding: 0 2px; }
.rail > .lot-card { width: 172px; }

/* Auction page: header sits in the pine band; info + toolbar become cards */
.auction-top { padding: 18px 0 24px; }
.band-pine .company-row .who span { color: #b9cbc2; }
.band-pine .avatar { background: #fff; color: var(--pine-deep); }
.band-pine .status-banner { background: rgb(255 255 255 / .1); color: #eef3f0; }
.band-pine .status-banner .dot { background: #7fd19e; }
.band-pine .status-banner.soon .dot { background: #e8b84e; }
.band-pine .notice { background: #fff; color: var(--text); }
.info-list { background: #fff; border: 1px solid #e6e4dd; border-radius: var(--r); padding: 0 14px; margin-top: -14px; box-shadow: var(--card-shadow); position: relative; }
.info-list details { border-top: 1px solid #ecebe5; }
.info-list details:first-child { border-top: 0; }
.info-list details:last-child { border-bottom: 0; }
.lot-toolbar { background: rgb(243 242 237 / .96); border-bottom: 0; margin-top: 8px; }
.searchbox { background: #fff; border: 1px solid #e6e4dd; }
.chip { border-color: #dcdad2; }

/* Lot page: info in a white card; stats on soft tints */
.lot-info { background: #fff; border: 1px solid #e6e4dd; border-radius: var(--r); padding: 16px; margin-top: 12px; box-shadow: var(--card-shadow); }
@media (min-width: 900px) { .lot-info { margin-top: 0; } }
.lot-gallery { background: #e4e2db; }
.lot-gallery > * { background: #e4e2db; }

/* Company page + auctions list */
.company-hero { background: #fff; border: 1px solid #e6e4dd; border-radius: var(--r); padding: 20px; margin-top: 16px; box-shadow: var(--card-shadow); }
.split { border-top: 0; background: #fff; border: 1px solid #e6e4dd; border-radius: var(--r); padding: 18px; margin-top: 12px; box-shadow: var(--card-shadow); }
.auction-card { background: #fff; border: 1px solid #e6e4dd; border-radius: var(--r); padding: 8px; box-shadow: var(--card-shadow); }
.auction-card .card-body { padding: 10px 6px 6px; }

/* Forms and other pages pick up the card look */
.inquiry-form, .form-step { background: #fff; border-radius: var(--r); }
.empty { background: #fff; }

/* "What do you need help with?": a clean grouped list, not icon tiles */
.choices { display: grid; gap: 14px; }
@media (min-width: 900px) { .choices { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; } }
.choice-group { background: #fff; border: 1px solid #e6e4dd; border-radius: var(--r); box-shadow: var(--card-shadow); overflow: hidden; }
.choice-group .kicker { padding: 14px 16px 4px; }
.choice { display: flex; align-items: center; gap: 12px; padding: 14px 16px; min-height: 64px; text-decoration: none; color: var(--text); }
.choice + .choice { border-top: 1px solid #ecebe5; }
.choice > span { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.choice strong { font-size: 16px; font-weight: 650; letter-spacing: -0.005em; }
.choice > span > span { font-size: 14px; color: var(--muted); }
.choice .chev { width: 18px; height: 18px; color: #9aa6a1; flex: none; }
.choice:hover { background: #fafaf7; color: var(--text); }
.choice:active { background: #f1f0ea; }
.choice-cta { margin-top: 14px; border-radius: var(--r); background: var(--accent-soft); border: 1px solid #d3e4db; }
.choice-cta strong { color: var(--accent-hover); }
.choice-cta .chev { color: var(--accent); }
.choice-cta:hover { background: #e1ede7; }

/* Service pages */
.included { list-style: none; margin: 0; padding: 4px 16px 14px; display: flex; flex-direction: column; gap: 10px; }
.included li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; line-height: 1.4; }
.included .ico { color: var(--accent); width: 18px; height: 18px; margin-top: 1px; }
.quick-form .field { margin-bottom: 12px; }
.quick-form label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 6px; }
.quick-form input, .quick-form textarea { width: 100%; font: inherit; font-size: 16px; padding: 12px; border: 1px solid #d9d7cf; border-radius: var(--r); background: #fff; color: var(--text); }
.quick-form input:focus, .quick-form textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.quick-form .two { display: grid; gap: 0 12px; }
@media (min-width: 560px) { .quick-form .two { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Auctions list: compact cards like the lot cards (2 per row on phones) */
.auction-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 10px; }
@media (min-width: 640px) { .auction-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 900px) { .auction-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px 16px; } }
.auction-grid .auction-card { padding: 8px 8px 10px; border-radius: var(--r); display: flex; flex-direction: column; gap: 4px; text-decoration: none; color: var(--text); }
.auction-grid .auction-card .card-media { aspect-ratio: 1; border-radius: var(--r); position: relative; }
.auction-grid .auction-card .badge { top: 6px; left: 6px; font-size: 11px; padding: 3px 8px; }
.auction-grid .auction-card .card-body { padding: 6px 2px 0; }
.auction-grid .auction-card h3 { font-size: 15px; line-height: 1.25; margin: 0 0 2px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.auction-grid .auction-card p { font-size: 12px; margin: 1px 0; line-height: 1.35; }
.badge { background: #fff; color: var(--text); }
.badge-live { background: var(--accent); color: #fff; }
.badge-preview { background: var(--gold-soft); color: #5c4410; }
.badge-closed { background: var(--text); color: #fff; }
.lot-card[hidden] { display: none; }

/* Lot photos: count badge + thumbnail strip so it's obvious there are more */
.gallery-wrap { position: relative; }
.photo-count { position: absolute; right: 10px; bottom: 10px; background: rgb(17 22 20 / .72); color: #fff; font-size: 13px; font-weight: 700;
  padding: 4px 10px; border-radius: var(--r); font-variant-numeric: tabular-nums; pointer-events: none; }
.gallery-thumbs { display: flex; gap: 8px; overflow-x: auto; padding: 10px 0 2px; scrollbar-width: none; }
.gallery-thumbs::-webkit-scrollbar { display: none; }
.gthumb { flex: none; width: 60px; height: 60px; padding: 0; border-radius: var(--r); overflow: hidden; border: 2px solid transparent;
  background: #e4e2db; cursor: pointer; position: relative; opacity: .75; }
.gthumb img { width: 100%; height: 100%; object-fit: cover; }
.gthumb.on { border-color: var(--accent); opacity: 1; }
.gthumb .vid { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.gthumb .vid::after { content: ""; border-left: 12px solid #fff; border-top: 8px solid transparent; border-bottom: 8px solid transparent; filter: drop-shadow(0 1px 2px rgb(0 0 0 / .5)); }
@media (min-width: 900px) { .gthumb { width: 72px; height: 72px; } }
/* Centered when they fit; scroll when they don't (auto margins never clip the first thumbnail) */
.gallery-thumbs > .gthumb:first-child { margin-left: auto; }
.gallery-thumbs > .gthumb:last-child { margin-right: auto; }
.gallery-count { text-align: center; }

/* Lot page: one-tap way back to the whole auction (lands on the lot you came from) */
.backbar { background: #fff; border-bottom: 1px solid #e6e4dd; }
.backbar a { display: flex; align-items: center; gap: 6px; min-height: 48px; text-decoration: none; color: var(--text); font-size: 15px; }
.backbar a strong { font-weight: 700; }
.backbar .ico { color: var(--accent); width: 20px; height: 20px; }
.backbar span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* Landing on a lot card from the back link: clear the sticky header and search bar */
.lot-card { scroll-margin-top: 170px; }
.lot-card:target { outline: 3px solid var(--accent); outline-offset: 2px; }
/* Keep the way back pinned under the header while scrolling a lot page */
.backbar { position: sticky; top: 60px; z-index: 15; background: rgb(255 255 255 / .97); backdrop-filter: blur(8px); }

/* Auction cards v3: photo first (collage), clock on the photo, heart to save, company link.
   2 per row on phones, 3 on tablets, 4-5 on desktop. The whole card is one big tap target
   (.acard-link is stretched over it); the heart and company link sit above it. */
.auction-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 10px; }
@media (min-width: 640px) { .auction-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px 14px; } }
@media (min-width: 960px) { .auction-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 1240px) { .auction-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.acard { position: relative; display: flex; flex-direction: column; min-width: 0; }
.acard-link { position: absolute; inset: 0; z-index: 1; border-radius: var(--r); }
.acard-link:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.acard-media { position: relative; aspect-ratio: 4 / 3.4; border-radius: var(--r); overflow: hidden; background: #e6e4dd;
  display: grid; gap: 2px; grid-template-columns: 1fr; grid-template-rows: 1fr; }
.acard-media img { width: 100%; height: 100%; object-fit: cover; display: block; min-height: 0; transition: transform .35s ease; }
.acard-media.n2 { grid-template-columns: 1fr 1fr; }
.acard-media.n3, .acard-media.n4 { grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; }
.acard-media.n3 img:first-child, .acard-media.n4 img:first-child { grid-row: 1 / 3; }
@media (hover: hover) { .acard:hover .acard-media img { transform: scale(1.03); } .acard:hover h3 { color: var(--accent); } }
.acard-empty { display: grid; place-items: center; color: var(--muted); font-size: 13px; }
.acard-format, .acard-demo { position: absolute; top: 8px; left: 8px; background: rgb(255 255 255 / .94); color: var(--text);
  font-size: 11px; font-weight: 700; letter-spacing: .02em; padding: 3px 8px; border-radius: var(--r); }
.acard-demo { left: auto; right: 48px; background: #0f1130; color: #fff; }
.acard-heart { position: absolute; top: 4px; right: 4px; z-index: 2; margin: 0; }
.acard-heart button { width: 40px; height: 40px; display: grid; place-items: center; border: 0; border-radius: var(--r); cursor: pointer;
  background: transparent; color: #fff; padding: 0; }
.acard-heart svg { width: 24px; height: 24px; filter: drop-shadow(0 1px 2px rgb(0 0 0 / .5)); }
.acard-heart button[aria-pressed="true"] { color: #e5484d; }
.acard-heart button:focus-visible { outline: 3px solid #fff; }
.acard-time { position: absolute; left: 8px; bottom: 8px; background: rgb(17 22 20 / .78); color: #fff; font-size: 12px; font-weight: 600;
  padding: 4px 9px; border-radius: var(--r); font-variant-numeric: tabular-nums; backdrop-filter: blur(4px); max-width: calc(100% - 16px);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.acard-time b { font-weight: 800; }
.acard.urgent .acard-time { background: var(--urgent); }
.acard-body { padding: 8px 2px 0; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.acard h3 { margin: 0; font-size: 15px; line-height: 1.25; font-weight: 700; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.acard-blurb { margin: 2px 0 0; font-size: 13px; line-height: 1.4; color: var(--body); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.acard-co { align-self: flex-start; font-size: 13px; font-weight: 600; color: var(--accent); text-decoration: none;
  padding: 2px 0; max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.acard-meta { margin: 0; font-size: 12.5px; color: var(--muted); }
@media (min-width: 640px) { .acard h3 { font-size: 16px; } }
/* Homepage "Ending soon" rail: wider cards with the blurb */
.rail > .acard { width: 240px; }
@media (min-width: 900px) { .rail > .acard { width: 280px; } }
.section-sub { margin: -6px 0 12px; color: var(--muted); font-size: 14px; }

/* Auction page: title with a Save button; demo notice */
.title-row { display: flex; align-items: flex-start; gap: 12px; justify-content: space-between; }
.title-row h1 { flex: 1; min-width: 0; }
.save-auction { margin: 6px 0 0; flex: none; }
.band-pine .save-auction .btn { background: transparent; color: #fff; border-color: rgb(255 255 255 / .5); }
.band-pine .save-auction .btn[aria-pressed="true"] svg { color: #ff8a8f; }
.demo-notice { background: #0f1130; color: #fff; border: 0; }
/* Fixes: rail snaps respect the side gutter; Demo tag sits under the format tag; company page grid
   is sized for its narrower column */
.rail { scroll-padding-inline: 16px; }
.acard-demo { top: 34px; left: 8px; right: auto; }
.split .auction-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 640px) { .split .auction-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.notice.demo-notice, .band-pine .notice.demo-notice { background: var(--gold); color: #241a05; border: 0; }
.notice.demo-notice strong { color: inherit; }

/* Manage area (sellers): phone-first cards, big tap targets, same look as the site */
.mg { padding-top: 16px; padding-bottom: 48px; }
.mg-narrow { max-width: 760px; }
.mg h1 { font-size: clamp(24px, 6vw, 32px); margin: 4px 0 4px; letter-spacing: -0.02em; }
.mg h2 { font-size: 17px; margin: 0 0 10px; }
.mg-crumbs { display: flex; flex-wrap: wrap; gap: 6px; font-size: 14px; color: var(--muted); margin-bottom: 10px; }
.mg-crumbs a { color: var(--accent); text-decoration: none; font-weight: 600; }
.mg-demo { margin: 0 0 12px; }
.mg-msg { padding: 10px 14px; border-radius: var(--r); margin: 0 0 12px; background: var(--accent-soft); color: var(--accent-hover); font-weight: 600; }
.mg-msg.error { background: #fde8e3; color: #6b1d0c; }
.mg-top { display: flex; flex-wrap: wrap; gap: 12px 16px; align-items: flex-end; justify-content: space-between; margin-bottom: 14px; }
.mg-top .muted { margin: 0; }
.mg-actions, .mg-btnrow { display: flex; flex-wrap: wrap; gap: 8px; }
.mg-card { padding: 16px; margin-bottom: 14px; }
.mg-h2row { display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: baseline; justify-content: space-between; margin-bottom: 8px; }
.mg-h2row h2 { margin: 0; }
.mg .field { margin-bottom: 14px; }
.mg select { width: 100%; font: inherit; font-size: 16px; padding: 12px; border: 1px solid #d9d7cf; border-radius: var(--r); background: #fff; color: var(--text); }
.mg input[readonly], .mg select:disabled { background: var(--surface-alt); color: var(--muted); }
.mg input[type="datetime-local"] { min-height: 48px; }
.mg .hint { margin: 6px 0 0; font-size: 13px; color: var(--muted); }
.mg-check { display: flex; gap: 12px; align-items: flex-start; padding: 12px 0; margin-bottom: 6px; cursor: pointer; }
.mg-check input { width: 22px; height: 22px; margin-top: 2px; accent-color: var(--accent); flex: none; }
.mg-check > span { display: flex; flex-direction: column; gap: 2px; }
.mg-check > span span { font-size: 13px; color: var(--muted); }
.mg-formats { border: 0; padding: 0; margin: 0 0 16px; display: grid; gap: 8px; }
.mg-formats legend { font-weight: 600; font-size: 14px; margin-bottom: 6px; padding: 0; }
.mg-radio { display: flex; align-items: center; gap: 10px; border: 1.5px solid #d9d7cf; border-radius: var(--r); padding: 12px 14px; cursor: pointer; }
.mg-radio:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); }
.mg-radio input { accent-color: var(--accent); width: 18px; height: 18px; }
.mg-radio.off { opacity: .55; cursor: default; }
.mg-radio em { font-style: normal; font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); margin-left: 6px; }
.mg-save { position: sticky; bottom: 0; padding: 12px 0 calc(12px + env(safe-area-inset-bottom)); background: linear-gradient(rgb(243 242 237 / 0), #f3f2ed 30%); z-index: 5; }
.mg-save .btn { width: 100%; }
@media (min-width: 700px) { .mg-save .btn { width: auto; min-width: 220px; } }
.mg-list, .mg-lots, .mg-photos { list-style: none; margin: 0; padding: 0; }
.mg-list li + li, .mg-lots li + li { border-top: 1px solid #ecebe5; }
.mg-list a, .mg-lots a { display: flex; align-items: center; gap: 12px; padding: 12px 2px; min-height: 60px; color: var(--text); text-decoration: none; }
.mg-list a:hover strong, .mg-lots a:hover strong { color: var(--accent); }
.mg-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.mg-main strong { font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mg-main .muted { font-size: 13px; }
.mg-list .chev { width: 18px; height: 18px; color: var(--muted); flex: none; }
.mg-thumb { width: 52px; height: 52px; border-radius: var(--r); overflow: hidden; background: #e6e4dd; flex: none; }
.mg-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mg-status { display: inline-block; font-size: 12px; font-weight: 700; padding: 3px 9px; border-radius: var(--r); background: var(--surface-alt); color: var(--muted); white-space: nowrap; flex: none; margin: 0; }
.mg-status.s-live, .mg-status.s-lot-published { background: var(--accent-soft); color: var(--accent); }
.mg-status.s-preview, .mg-status.s-lot-ready { background: var(--gold-soft); color: #5c4410; }
.mg-photos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 560px) { .mg-photos { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.mg-photo { position: relative; display: block; aspect-ratio: 1; border-radius: var(--r); overflow: hidden; background: #e6e4dd; }
.mg-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mg-photo b { position: absolute; left: 6px; top: 6px; background: var(--accent); color: #fff; font-size: 11px; padding: 2px 8px; border-radius: var(--r); }
.mg-photo-actions { display: flex; flex-wrap: wrap; gap: 0 2px; margin-top: 4px; }
.mg .linkish { background: none; border: 0; color: var(--accent); font: 600 14px var(--font); padding: 8px 6px; cursor: pointer; min-height: 40px; }
.mg .linkish.danger { color: #b42318; }
.mg-delete { text-align: center; margin-top: 10px; }
.mg-publish-form { margin-top: 12px; }

/* Account pages: log in, sign up, code, password reset */
.auth { max-width: 460px; padding-top: 28px; padding-bottom: 48px; }
.auth h1 { font-size: clamp(26px, 7vw, 32px); margin: 0 0 6px; letter-spacing: -0.02em; }
.auth > .muted { margin: 0 0 16px; }
.auth-card { padding: 18px; margin-bottom: 14px; }
.auth-card .field { margin-bottom: 14px; }
.auth-card .field .help, .auth-card .field p.muted { font-size: 13px; color: var(--muted); margin: 6px 0 0; }
.field-hint { font-size: 14px; color: var(--muted); margin: 6px 0 0; }
.auth-fine { margin: 12px 0 0; font-size: 13px; color: var(--muted); text-align: center; }
.auth-fine a, .auth-alt a { color: var(--accent); font-weight: 600; }
.auth-alt { text-align: center; margin: 10px 0; font-size: 15px; }
.auth .linkish { background: none; border: 0; color: var(--accent); font: 600 15px var(--font); padding: 10px; cursor: pointer; }
.auth .linkish:disabled { color: var(--muted); cursor: default; }
.code-input { font-size: 28px !important; letter-spacing: .35em; text-align: center; font-variant-numeric: tabular-nums; }
.mg-wait { margin: 0 0 12px; } .mg-wait a { color: inherit; font-weight: 700; }

/* "Rather talk? Call us now": one tap to dial instead of filling out a form */
.call-us { display: flex; align-items: center; gap: 14px; margin-top: 14px; padding: 16px 18px; border-radius: var(--r); text-decoration: none;
  background: var(--accent); color: #fff; box-shadow: var(--card-shadow); min-height: 64px; }
.call-us .ico { width: 26px; height: 26px; flex: none; }
.call-us > span { display: flex; flex-direction: column; gap: 2px; }
.call-us strong { font-size: 17px; }
.call-us > span > span { font-size: 14px; color: #d6e6de; }
.call-us:hover { background: var(--accent-hover); }

/* Seller report: two tabs, big stat tiles, an easy-to-scan lots table that becomes cards on phones */
.rp-tabs { display: flex; gap: 4px; background: #e8e6df; padding: 4px; border-radius: var(--r); margin: 0 0 14px; width: fit-content; }
.rp-tabs a { padding: 9px 20px; border-radius: var(--r); text-decoration: none; color: var(--text); font-weight: 700; font-size: 15px; min-height: 40px; display: flex; align-items: center; }
.rp-tabs a[aria-current="page"] { background: #fff; color: var(--accent); box-shadow: 0 1px 3px rgb(0 0 0 / .1); }
.rp-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 0; }
@media (min-width: 760px) { .rp-stats { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.rp-stats div { background: var(--ground, #f3f2ed); border-radius: var(--r); padding: 12px 14px; }
.rp-stats dt { font-size: 13px; color: var(--muted); margin: 0 0 4px; }
.rp-stats dd { margin: 0; font-size: 24px; font-weight: 800; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.rp-stats .rp-note { display: block; margin-top: 2px; letter-spacing: 0; overflow-wrap: anywhere; }
.rp-stats dd small { font-size: 13px; font-weight: 600; color: var(--muted); }
.rp-sort { display: flex; flex-wrap: wrap; gap: 4px; align-items: center; }
.rp-sort a { font-size: 13px; font-weight: 600; padding: 6px 10px; border-radius: var(--r); color: var(--accent); text-decoration: none; }
.rp-sort a[aria-current="true"] { background: var(--accent-soft); }
.rp-table { display: flex; flex-direction: column; }
.rp-row { display: grid; grid-template-columns: minmax(0, 1fr) repeat(3, 84px); gap: 8px; align-items: center; padding: 10px 2px;
  border-top: 1px solid #ecebe5; color: var(--text); text-decoration: none; }
.rp-row:hover strong { color: var(--accent); }
.rp-head { border-top: 0; font-size: 12px; font-weight: 700; color: var(--muted); padding-top: 0; }
.rp-row .n { text-align: right; font-variant-numeric: tabular-nums; font-weight: 700; }
.rp-lot { display: flex; align-items: center; gap: 10px; min-width: 0; }
.rp-lot .mg-thumb { width: 44px; height: 44px; }
@media (max-width: 559px) {
  .rp-head { display: none; }
  .rp-row { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 6px; }
  .rp-row .rp-lot { grid-column: 1 / -1; }
  .rp-row .n { text-align: left; font-size: 15px; }
  .rp-row .n::before { content: attr(data-k) " "; font-weight: 500; color: var(--muted); font-size: 12px; display: block; }
}

/* Near me: ZIP + distance + "Use my location" */
.near { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 14px 0 0; background: #fff; border: 1px solid #e6e4dd;
  border-radius: var(--r); padding: 10px 12px; box-shadow: var(--card-shadow); }
.near .ico { width: 20px; height: 20px; color: var(--accent); flex: none; }
.near input { width: 110px; font: inherit; font-size: 16px; padding: 10px 12px; border: 1px solid #d9d7cf; border-radius: var(--r); min-height: 44px; }
.near select { font: inherit; font-size: 16px; padding: 10px; border: 1px solid #d9d7cf; border-radius: var(--r); background: #fff; min-height: 44px; }
.near .btn.small { min-height: 44px; }
.near-gps { background: none; border: 0; color: var(--accent); font: 600 15px var(--font); padding: 10px 4px; cursor: pointer; min-height: 44px; }
.near-now { flex-basis: 100%; font-size: 14px; color: var(--muted); }
.near-now a { color: var(--accent); font-weight: 600; }
.near-now.err { color: #b42318; }
.acard-meta b { color: var(--text); font-weight: 700; }

/* ---- Manage: adding lots from the phone's browser ---- */
.mg-file { position: relative; overflow: hidden; cursor: pointer; }
.mg-file input { position: absolute; inset: 0; opacity: 0; cursor: pointer; font-size: 0; }
.mg-add-lots { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 4px 0 14px; }
.mg-add-lots .btn { width: 100%; }
@media (max-width: 520px) { .mg-add-lots { grid-template-columns: 1fr; } }
.mg-roll-choice, .mg-upload-status { grid-column: 1 / -1; margin: 0; }
.mg-roll-choice { padding: 12px 14px; border-radius: var(--r); background: var(--accent-soft); }
.mg-roll-choice p { margin: 0 0 10px; }
.mg-upload-status { font-weight: 600; color: var(--accent-hover); }
.mg-add-media { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; }
.mg-add-media .mg-upload-status { margin: 0; }
.mg-video-tag { position: absolute; left: 6px; bottom: 6px; font-style: normal; font-size: 11px; font-weight: 700; color: #fff;
  background: rgba(17,22,20,.75); padding: 2px 7px; border-radius: var(--r); }
.mg-photo { position: relative; }
.mg-lotnav { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: -4px 0 14px; }
.mg-ai.busy h2::after { content: ""; display: inline-block; width: 10px; height: 10px; margin-left: 8px; border-radius: 50%;
  background: var(--accent); animation: mg-pulse 1s ease-in-out infinite; vertical-align: middle; }
@keyframes mg-pulse { 50% { opacity: .25; } }
.mg-card:has(input[name=dates][value=later]:checked) .mg-when { display: none; }
.mg-card:has(input[name=dates][value=set]:checked) .mg-later { display: none; }
.mg-dates { grid-template-columns: 1fr 1fr; }

/* ---- Camera page (full screen, dark) ---- */
body.cam-page { background: #000; }
body.cam-page .site-header, body.cam-page .site-footer, body.cam-page .skip { display: none; }
.cam { position: fixed; inset: 0; background: #000; color: #fff; overflow: hidden; touch-action: manipulation;
  -webkit-user-select: none; user-select: none; }
.cam-view { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; }
.cam-flash { position: absolute; inset: 0; background: #fff; opacity: 0; pointer-events: none; }
.cam-flash.on { animation: cam-flash .25s ease-out; }
@keyframes cam-flash { from { opacity: .7; } to { opacity: 0; } }
.cam-top { position: absolute; left: 0; right: 0; top: 0; display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: calc(env(safe-area-inset-top) + 10px) 14px 10px; background: linear-gradient(rgba(0,0,0,.6), transparent); }
.cam-title { flex: 1; min-width: 0; text-align: center; display: flex; flex-direction: column; line-height: 1.2; }
.cam-title strong { font-size: 17px; }
.cam-title span { font-size: 12px; opacity: .8; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cam-pill { min-height: 40px; padding: 0 14px; border-radius: var(--r); border: 0; background: rgba(255,255,255,.18); color: #fff;
  font: 600 15px var(--font); display: inline-flex; align-items: center; cursor: pointer; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.cam-pill.strong { background: #fff; color: #0f1130; }
.cam-pill:disabled { opacity: .5; }
.cam-up { font-size: 13px; min-height: 32px; background: rgba(31,90,70,.85); }
.cam-up.bad { background: rgba(163,54,31,.9); }
.cam-modes { position: absolute; left: 50%; transform: translateX(-50%); top: calc(env(safe-area-inset-top) + 64px);
  display: flex; align-items: center; gap: 4px; padding: 4px; border-radius: var(--r); background: rgba(0,0,0,.45); white-space: nowrap; }
.cam-modes button { min-height: 34px; min-width: 34px; padding: 0 12px; border: 0; border-radius: var(--r); background: none; color: #fff;
  font: 600 13px var(--font); cursor: pointer; }
.cam-modes button[aria-pressed=true] { background: #fff; color: #0f1130; }
.cam-modes [data-count] { padding: 0; }
.cam-modes .cam-many { padding: 0 10px; }
.cam-sep { width: 1px; height: 20px; background: rgba(255,255,255,.3); margin: 0 4px; }
.cam-label { font-size: 12px; opacity: .8; margin: 0 2px 0 4px; }
.cam.recording .cam-modes { display: none; }
.cam-rec { position: absolute; left: 50%; transform: translateX(-50%); top: calc(env(safe-area-inset-top) + 66px);
  background: #c0261b; color: #fff; font: 700 14px var(--font); padding: 6px 14px; border-radius: var(--r); font-variant-numeric: tabular-nums; }
.cam-error { position: absolute; left: 16px; right: 16px; top: 40%; margin: 0; padding: 14px 16px; border-radius: var(--r);
  background: rgba(17,22,20,.92); font-weight: 600; text-align: center; }
.cam-bottom { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px 16px calc(env(safe-area-inset-bottom) + 12px);
  background: linear-gradient(transparent, rgba(0,0,0,.7)); text-align: center; }
.cam-hint { margin: 0 0 12px; font-weight: 600; text-shadow: 0 1px 3px rgba(0,0,0,.6); min-height: 1.5em; }
.cam-controls { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; }
.cam-thumbs { display: flex; gap: 4px; justify-content: flex-start; min-width: 0; overflow: hidden; }
.cam-thumbs img { width: 40px; height: 40px; object-fit: cover; border-radius: var(--r); border: 2px solid #fff; flex: none; }
.cam-side { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.cam-shutter { width: 76px; height: 76px; border-radius: 50%; border: 4px solid #fff; background: none; padding: 4px; cursor: pointer; }
.cam-shutter span { display: block; width: 100%; height: 100%; border-radius: 50%; background: #fff; transition: all .15s; }
.cam-shutter:active span { transform: scale(.9); }
.cam.recording .cam-shutter span { background: #c0261b; border-radius: var(--r); transform: scale(.5); }
.cam-roll-link { display: inline-block; margin-top: 12px; color: #fff; opacity: .8; font-size: 14px; }
.cam.no-camera .cam-shutter, .cam.no-camera .cam-modes { display: none; }
.cam [hidden] { display: none !important; }
.mg-save.mg-btnrow { display: grid; grid-template-columns: 1fr 1fr; }
.mg-save.mg-btnrow .btn:only-child { grid-column: 1 / -1; }
.cam.photos-mode [data-count], .cam.photos-mode .cam-label, .cam.photos-mode .cam-sep { display: none; }

/* ======================================================================
   Design v3: "live market". Ink on white, photos carry the color, square
   structure (2px), round only where round means something (heart, live dot,
   controls). Inter Tight for headlines, JetBrains Mono for anything live or
   numbered (timers, lot numbers, labels). One action color (ink), one signal
   color (ember) that only ever means "live / closing".
   ====================================================================== */
:root {
  --r: 2px; --radius: 2px;
  --bg: #ffffff; --ground: #ffffff; --surface-alt: #f4f4f1;
  --text: #0f1130; --body: #383d3b; --muted: #636b67;
  --border: #e3e3df; --border-strong: #c9cac5; --line: #e3e3df;
  --ink: #0f1130; --ink-2: #23264a; --night: #0b0d24;
  --accent: #0f1130; --accent-hover: #262a55; --accent-text: #fff; --accent-soft: #f4f4f1;
  --brand: #4a7a1a;
  --urgent: #c2410c; --urgent-soft: #fff1ea; --signal: #ff5a1f;
  --gold: #e8b84e; --gold-soft: #f7ecd2;
  --card-shadow: none;
  --display: "Inter Tight", Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}
body { background: #fff; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; letter-spacing: -0.035em; }
h1 { line-height: 1.02; }
h2 { letter-spacing: -0.03em; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
a { color: var(--ink); }
.mono, .kicker, .tag, .chip, .badge { font-family: var(--mono); }
.kicker { font-size: 11px; font-weight: 600; letter-spacing: .12em; color: var(--muted); }
.tabnum, [data-countdown], [data-until], .acard-time, .lot-card .when, .stat .v, .photo-count { font-variant-numeric: tabular-nums; }

/* Header: crisp white bar, brand mark keeps the pine */
.site-header { background: rgb(255 255 255 / .92); border-bottom: 1px solid var(--line); }
.brand { font-family: var(--display); font-size: 17px; font-weight: 700; letter-spacing: -0.03em; }
.brand svg { color: var(--brand); }
.header-actions > a { color: var(--ink); }
.main-nav a { font-weight: 550; }
.main-nav a:hover, .menu-panel a:hover { background: var(--surface-alt); }
.menu-panel { box-shadow: 0 24px 48px -12px rgb(12 14 13 / .25); border-color: var(--line); }

/* Buttons: solid ink rectangles; outline = ink hairline. Inverted on dark bands. */
.btn { border-radius: var(--r); background: var(--ink); color: #fff; font: 650 15px/1 var(--font); letter-spacing: -0.005em;
  min-height: 50px; padding: 0 22px; transition: background .15s, color .15s, border-color .15s, transform .1s; }
.btn:hover { background: var(--ink-2); color: #fff; }
.btn:active { transform: translateY(1px); }
.btn.outline, .btn.ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--ink); }
.btn.outline:hover, .btn.ghost:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn.ghost { border-color: var(--border-strong); }
.btn.small { min-height: 38px; padding: 0 14px; font-size: 14px; }
.btn .arr { transition: transform .2s; }
.btn:hover .arr { transform: translateX(3px); }
.linkish { color: var(--ink); }

/* Tags & chips: small square labels in mono caps */
.tag { border-radius: var(--r); font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; padding: 4px 8px; }
.tag.hot { background: var(--urgent); }
.chip { border-radius: var(--r); font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; height: 34px; }
.chip.on { background: var(--ink); border-color: var(--ink); }
.badge { border-radius: var(--r); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; }

/* Bands: dark sections replace the pine band; open white sections replace boxed cards */
.band-pine, .band-night { background: var(--night); color: #e9ecea; }
.band-pine .kicker, .band-night .kicker { color: #8c958f; }
.band-pine p.lead, .band-pine .meta-row, .band-pine .prose { color: #aeb5b1; }
.band-pine .btn, .band-night .btn { background: #fff; color: var(--ink); border: 0; }
.band-pine .btn:hover, .band-night .btn:hover { background: #e9ecea; color: var(--ink); }
.band-pine .btn.ghost, .band-pine .btn.outline, .band-night .btn.ghost, .band-night .btn.outline { background: transparent; color: #fff; border: 1.5px solid rgb(255 255 255 / .35); }
.band-pine .btn.ghost:hover, .band-pine .btn.outline:hover, .band-night .btn.ghost:hover, .band-night .btn.outline:hover { border-color: #fff; background: transparent; color: #fff; }
.band-pine .status-banner .dot { background: var(--signal); }
.band-pine .avatar { border-radius: var(--r); }
.avatar, .company-hero .logo { border-radius: var(--r); background: var(--ink); }

/* Cards: hairline frames instead of floating rounded boxes */
.card-white, .info-list, .lot-info, .company-hero, .split, .choice-group, .need, .inquiry-form, .form-step {
  box-shadow: none; border-color: var(--line); border-radius: var(--r); }
.info-list { margin-top: 0; }
.lot-toolbar { background: rgb(255 255 255 / .96); border-bottom: 1px solid var(--line); }
.searchbox { border-radius: var(--r); background: #fff; border: 1px solid var(--border-strong); }
.quick-form input, .quick-form textarea, .quick-form select, input[type=search], select { border-radius: var(--r); border-color: var(--border-strong); }
.quick-form input:focus, .quick-form textarea:focus { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.status-banner { border-radius: var(--r); }
.stat { border-radius: var(--r); background: transparent; border: 1px solid var(--line); }
.stat .k { font-family: var(--mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; }
.stat .v { font-family: var(--display); letter-spacing: -0.03em; }
.stat.clock { background: transparent; border-color: var(--urgent); }
.stat.clock .k, .stat.clock .s { color: var(--urgent); }
.stat.clock .v { color: var(--urgent); font-family: var(--mono); letter-spacing: -0.02em; font-size: 24px; }
.bidbar { box-shadow: none; }
.bidbar .quick button { border-radius: var(--r); font-family: var(--mono); font-size: 14px; }
.bidbar .quick button:hover { border-color: var(--ink); }
.money-input { border-color: var(--ink); border-radius: var(--r); }
.breakdown { border-radius: var(--r); }
dialog.sheet { border-radius: 0; }
@media (min-width: 640px) { dialog.sheet { border-radius: var(--r); } }
.flash { animation: flash-v3 1.2s ease; }
@keyframes flash-v3 { 0% { background-color: #ffe3d6; color: var(--urgent); } 100% { background-color: transparent; } }

/* Photos are full-bleed rectangles */
.lot-gallery, .lot-gallery > *, .gthumb, .acard-media, .acard-link, .lot-card .ph, .auction-row .ph, .card-media, .auction-card .card-media { border-radius: 0; }
.lot-gallery, .lot-gallery > *, .gthumb, .lot-card .ph, .acard-media { background: #ececE8; }
.gthumb.on { border-color: var(--ink); }
.photo-count { border-radius: var(--r); font-family: var(--mono); font-size: 11.5px; }

/* Lot cards: no box. Photo, then price + clock, then title, then lot number. */
.lot-card, .auction-card, .auction-grid .auction-card { background: transparent; border: 0; padding: 0; box-shadow: none; border-radius: 0; }
.lot-card { gap: 3px; }
.lot-card .ph { margin-bottom: 8px; }
.lot-card .ph img { transition: opacity .25s ease, transform .4s ease; }
.lot-card .ph img.alt { opacity: 0; }
@media (hover: hover) {
  .lot-card:hover .ph img.alt { opacity: 1; }
  .lot-card:hover .ph img:only-of-type { transform: scale(1.03); }
  .lot-card:hover .t { text-decoration: underline; text-underline-offset: 3px; }
}
.lot-card .p { order: 1; align-items: center; padding: 0; }
.lot-card .p strong { font-family: var(--display); font-size: 19px; font-weight: 700; letter-spacing: -0.03em; }
.lot-card .p > span { font-family: var(--mono); font-size: 11px; color: var(--muted); }
.lot-card .when { order: 2; font-family: var(--mono); font-size: 11.5px; font-weight: 500; padding: 0; }
.lot-card .when.urgent { color: var(--urgent); font-weight: 600; }
.lot-card .t { order: 3; font-size: 14px; font-weight: 500; color: var(--body); padding: 0; min-height: 2.6em; }
.lot-card .no { order: 4; font-family: var(--mono); font-size: 10.5px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; padding: 0; }
.lot-card .ph { order: 0; }
.lot-card .pill { border-radius: var(--r); }
.lot-card:target { outline: 2px solid var(--ink); outline-offset: 4px; }

/* Auction cards */
.acard-link { border-radius: 0; }
.acard-format, .acard-demo { border-radius: var(--r); font-family: var(--mono); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; font-weight: 600; }
.acard-time { border-radius: var(--r); font-family: var(--mono); font-size: 11px; font-weight: 500; background: rgb(12 14 13 / .82); }
.acard-time b { font-weight: 700; }
.acard.urgent .acard-time { background: var(--urgent); }
.acard.urgent .acard-time::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: #fff; margin-right: 6px;
  vertical-align: 1px; animation: live-dot 1.4s ease-in-out infinite; }
.acard-heart button { border-radius: 50%; }
.acard h3 { font-family: var(--display); font-weight: 650; letter-spacing: -0.02em; }
@media (hover: hover) { .acard:hover h3 { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; } }
.acard-co { color: var(--ink); font-weight: 600; }
.acard-meta { font-family: var(--mono); font-size: 11px; letter-spacing: .02em; }
.acard-meta b { color: var(--ink); }
@keyframes live-dot { 50% { opacity: .3; } }
.live-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--signal); animation: live-dot 1.4s ease-in-out infinite; }

/* ---------------- Homepage ---------------- */
.hx { background: var(--night); color: #e9ecea; overflow: hidden; }
.hx-grid { display: grid; gap: 28px; padding: 40px 16px 36px; }
@media (min-width: 960px) { .hx-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 48px; align-items: center; padding: 72px 16px 72px; } }
.hx .kicker { color: #8c958f; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.hx h1 { color: #fff; font-size: clamp(2.5rem, 10.5vw, 5rem); letter-spacing: -0.05em; line-height: .96; margin: 18px 0 18px; max-width: 11ch; }
.hx h1 .dim { color: #6e7672; display: block; }
.hx .lead { color: #aeb5b1; font-size: 17px; line-height: 1.55; max-width: 32em; margin: 0 0 26px; }
.hx-actions { display: grid; gap: 10px; }
@media (min-width: 560px) { .hx-actions { display: flex; flex-wrap: wrap; } }
.hx .btn { background: #fff; color: var(--ink); }
.hx .btn:hover { background: #e9ecea; color: var(--ink); }
.hx .btn.ghost { background: transparent; color: #fff; border: 1.5px solid rgb(255 255 255 / .3); }
.hx .btn.ghost:hover { border-color: #fff; color: #fff; background: transparent; }
.hx-stats { display: flex; flex-wrap: wrap; gap: 0; margin-top: 30px; border-top: 1px solid rgb(255 255 255 / .12); }
.hx-stats div { flex: 1 1 33%; min-width: 110px; padding: 16px 16px 0 0; }
.hx-stats b { display: block; font-family: var(--display); font-size: 30px; font-weight: 700; letter-spacing: -0.04em; color: #fff; line-height: 1; }
.hx-stats span { font-family: var(--mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: #8c958f; }
/* Mosaic of real lots: one tall, the rest stacked; a live chip on each */
.hx-mosaic { display: grid; gap: 4px; grid-template-columns: 1.3fr 1fr; grid-template-rows: repeat(2, minmax(0, 1fr)); aspect-ratio: 1 / 1; margin: 0 -16px; }
@media (min-width: 960px) { .hx-mosaic { margin: 0; aspect-ratio: 5 / 5.2; } }
.hx-tile { position: relative; overflow: hidden; background: #1a1e1c; display: block; color: #fff; text-decoration: none; }
.hx-tile:first-child { grid-row: 1 / 3; }
.hx-tile:nth-child(n+4) { display: none; }
.hx-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
@media (hover: hover) { .hx-tile:hover img { transform: scale(1.04); } }
.hx-tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 55%, rgb(0 0 0 / .65)); pointer-events: none; }
.hx-tile .cap { position: absolute; left: 10px; right: 10px; bottom: 10px; z-index: 1; display: flex; flex-direction: column; gap: 4px; }
.hx-tile .cap strong { font-family: var(--display); font-size: 15px; font-weight: 650; letter-spacing: -0.02em; line-height: 1.2;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.hx-tile .clock { align-self: flex-start; font-family: var(--mono); font-size: 11px; background: rgb(12 14 13 / .8); padding: 4px 8px; border-radius: var(--r); }
.hx-tile .clock.urgent { background: var(--urgent); }
@media (min-width: 960px) { .hx-tile .cap strong { font-size: 17px; } }

/* Section headings: big, left, with a mono index */
.sx { padding: 56px 0; }
.sx-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 22px; flex-wrap: wrap; }
.sx-head h2 { margin: 6px 0 0; font-size: clamp(1.9rem, 6.5vw, 3rem); letter-spacing: -0.045em; line-height: 1; }
.sx-head a { font-weight: 650; text-decoration: none; border-bottom: 1.5px solid currentColor; padding-bottom: 2px; }
.band-night .sx-head h2 { color: #fff; }
.band-night .sx-head a { color: #fff; }
.band-night .kicker { color: #8c958f; }

/* Closing now: dark band, cards turn light-on-dark */
.band-night .acard h3, .band-night .acard-co { color: #fff; }
.band-night .acard-blurb { color: #aeb5b1; }
.band-night .acard-meta { color: #8c958f; }
.band-night .acard-meta b { color: #fff; }
.band-night .acard-media { background: #1a1e1c; }
.band-night .muted { color: #8c958f; }

/* One place: a numbered index of everything we do (no icon tiles) */
.ix { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.ix li { border-bottom: 1px solid var(--line); }
.ix a { display: grid; grid-template-columns: 44px minmax(0, 1fr) 28px; gap: 4px 12px; align-items: center; padding: 18px 4px; text-decoration: none; color: var(--ink);
  transition: background .2s, color .2s, padding .2s; }
.ix .n { font-family: var(--mono); font-size: 12px; color: var(--muted); align-self: start; padding-top: 8px; }
.ix strong { font-family: var(--display); font-size: clamp(1.4rem, 5.6vw, 2.4rem); font-weight: 650; letter-spacing: -0.04em; line-height: 1.05; }
.ix .d { grid-column: 2; font-size: 15px; color: var(--muted); }
.ix svg { width: 24px; height: 24px; grid-row: 1 / 3; grid-column: 3; transition: transform .2s; }
@media (min-width: 900px) {
  .ix a { grid-template-columns: 64px minmax(0, 1.1fr) minmax(0, 1fr) 32px; padding: 22px 8px; }
  .ix .d { grid-column: 3; grid-row: 1; }
  .ix svg { grid-row: 1; grid-column: 4; }
}
@media (hover: hover) {
  .ix a:hover { background: var(--ink); color: #fff; padding-left: 16px; padding-right: 16px; }
  .ix a:hover .n, .ix a:hover .d { color: #aeb5b1; }
  .ix a:hover svg { transform: translateX(4px); }
}
.ix-cta { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 26px; }

/* How it works: three columns, mono step numbers on a hairline. No bubbles. */
.steps-x { display: grid; gap: 0; border-top: 1px solid var(--line); }
@media (min-width: 900px) { .steps-x { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.steps-x > div { padding: 20px 0 22px; border-bottom: 1px solid var(--line); }
@media (min-width: 900px) { .steps-x > div { border-bottom: 0; padding: 22px 28px 0 0; } .steps-x > div + div { padding-left: 28px; border-left: 1px solid var(--line); } }
.steps-x .n { font-family: var(--mono); font-size: 12px; color: var(--urgent); font-weight: 600; letter-spacing: .06em; }
.steps-x strong { display: block; font-family: var(--display); font-size: 22px; font-weight: 650; letter-spacing: -0.03em; margin: 8px 0 6px; }
.steps-x p { margin: 0; color: var(--body); font-size: 15px; line-height: 1.5; }

/* Choices on service pages keep working, just squared off */
.choice-cta { border-radius: var(--r); background: var(--surface-alt); border-color: var(--line); }
.choice-cta strong, .choice-cta .chev { color: var(--ink); }

/* Manage + account pages: same shapes, calmer */
.mg-msg { border-radius: var(--r); background: var(--surface-alt); color: var(--ink); border-left: 3px solid var(--brand); }
.mg-msg.error { border-left-color: var(--danger); }
.mg-radio { border-radius: var(--r); border-color: var(--border-strong); }
.mg-radio:has(input:checked) { border-color: var(--ink); background: var(--surface-alt); box-shadow: inset 0 0 0 1px var(--ink); }
.mg-radio input, .mg-check input { accent-color: var(--ink); }
.mg-save { background: linear-gradient(rgb(255 255 255 / 0), #fff 30%); }
.mg-roll-choice { background: var(--surface-alt); border-radius: var(--r); }
.mg-upload-status { color: var(--ink); }
.cam-pill, .cam-modes, .cam-modes button, .cam-error { border-radius: var(--r); }
.cam-rec { border-radius: var(--r); font-family: var(--mono); }
.cam-shutter, .cam-shutter span { border-radius: 50%; }
.cam.recording .cam-shutter span { border-radius: var(--r); }

/* Footer */
.site-footer { background: var(--night); }
.footer-brand { font-family: var(--display); letter-spacing: -0.03em; font-size: 22px; }
.footer-h { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: #8c958f !important; font-weight: 600; }
.site-footer a:hover { color: #fff; text-decoration: underline; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
@media (min-width: 900px) { .rail > .acard, .rail > .lot-card { width: auto; } .rail { gap: 28px 18px; } }
.wrap.section { padding-left: 16px; padding-right: 16px; }

/* v3.1: calmer headline type (no squeezed giant display, no gray split line); hero uses a real
   showroom photo instead of repeating the auctions shown right below it */
:root { --display: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; }
h1, h2, h3 { letter-spacing: -0.022em; }
.hx { position: relative; }
.hx-photo { position: relative; height: 220px; }
.hx-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 55%; }
.hx-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 40%, var(--night)); }
.hx-grid { padding-top: 8px; }
.hx h1 { font-size: clamp(2rem, 7.4vw, 3.5rem); letter-spacing: -0.025em; line-height: 1.08; font-weight: 750; max-width: 17ch; margin: 14px 0 16px; }
@media (min-width: 960px) {
  .hx { min-height: 600px; display: flex; align-items: center; }
  .hx-photo { position: absolute; inset: 0 0 0 46%; height: auto; }
  .hx-photo::after { background: linear-gradient(90deg, var(--night) 0%, rgb(11 13 12 / .55) 30%, rgb(11 13 12 / 0) 65%); }
  .hx-grid { grid-template-columns: minmax(0, 560px); padding: 80px 16px; width: 100%; }
}
.sx-head h2 { letter-spacing: -0.03em; font-size: clamp(1.75rem, 5.6vw, 2.6rem); line-height: 1.05; }
.ix strong { letter-spacing: -0.025em; font-size: clamp(1.3rem, 4.8vw, 2rem); }
.ix a { grid-template-columns: minmax(0, 1fr) 28px; }
.ix .d { grid-column: 1; }
.ix svg { grid-column: 2; }
@media (min-width: 900px) {
  .ix a { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) 32px; }
  .ix .d { grid-column: 2; grid-row: 1; }
  .ix svg { grid-column: 3; grid-row: 1; }
}
.steps-x strong { margin-top: 0; letter-spacing: -0.02em; }
.with-us { padding-top: 8px; }
.hx-grid { position: relative; z-index: 1; }
@media (min-width: 960px) {
  .hx-photo { left: 50%; }
  .hx-grid { grid-template-columns: minmax(0, 520px); }
  .hx h1 { font-size: clamp(2.4rem, 3.9vw, 3.4rem); }
}

/* v3.2: the top is just where we are, the live numbers and two ways in. No photo, no headline copy. */
.hx-min { min-height: 0; display: block; border-bottom: 1px solid rgb(255 255 255 / .08); }
.hx-min .wrap { padding-top: 36px; padding-bottom: 32px; }
.hx-loc { margin: 0; font-family: var(--mono); font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: #aeb5b1;
  display: flex; align-items: center; gap: 10px; }
.hx-row { display: grid; gap: 24px; margin-top: 22px; }
.hx-min .hx-stats { margin: 0; border: 0; }
.hx-min .hx-stats div { padding: 0 16px 0 0; }
.hx-min .hx-stats b { font-size: clamp(2.4rem, 11vw, 4rem); letter-spacing: -0.03em; }
.hx-min .hx-stats span { display: block; margin-top: 8px; }
@media (min-width: 960px) {
  .hx-min .wrap { padding-top: 56px; padding-bottom: 48px; }
  .hx-row { grid-template-columns: minmax(0, 1fr) auto; align-items: end; }
  .hx-min .hx-stats div { padding-right: 56px; flex: none; }
}
.with-us { padding-top: 0; }
.with-us .ix-cta { margin-top: 0; }

/* Auctions page: search every lot */
.lotsearch { margin: 10px 0 4px; }
.lotsearch label { display: block; font-size: 14px; color: var(--muted); margin-bottom: 8px; }
.lotsearch-row { display: flex; align-items: center; gap: 0; border: 1.5px solid var(--ink); border-radius: var(--r); background: #fff; padding-left: 12px; }
.lotsearch-row .ico { color: var(--muted); }
.lotsearch-row input { flex: 1; min-width: 0; border: 0; outline: none; font: inherit; font-size: 16px; padding: 0 10px; min-height: 50px; background: transparent; color: var(--text); }
.lotsearch-row .btn { border-radius: 0; min-height: 50px; margin: -1.5px -1.5px -1.5px 0; flex: none; }

/* Service pages: local partners near you (referrals) */
.pn { margin-top: 28px; }
.pn h2 { margin: 0; font-size: 24px; }
.pn-sub { margin: 4px 0 4px; font-size: 15px; }
.pn-list { list-style: none; margin: 14px 0 0; padding: 0; border-top: 1px solid var(--ink); }
.pn-card { padding: 16px 0; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 6px; }
.pn-top { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.pn-top strong { font-size: 18px; letter-spacing: -0.015em; }
.pn-meta { margin: 0; font-family: var(--mono); font-size: 12px; color: var(--muted); letter-spacing: .02em; }
.pn-blurb { margin: 0; font-size: 15px; color: var(--body); }
.pn-offers { margin: 2px 0 0; display: flex; flex-wrap: wrap; gap: 6px; }
.pn-offers span { font-family: var(--mono); font-size: 11px; letter-spacing: .04em; text-transform: uppercase; color: var(--body);
  border: 1px solid var(--line); padding: 3px 7px; border-radius: var(--r); }
.pn-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.pn-note { margin: 10px 0 0; }
.pn-none { margin: 14px 0 0; padding: 14px; background: var(--surface-alt); border-left: 3px solid var(--ink); }
.pn-join { margin: 14px 0 0; font-size: 14px; }
.pn-join a { font-weight: 600; }
.small { font-size: 13px; }
.lotsearch-row .btn { margin: 0; min-height: 47px; }
.lotsearch-row input { min-height: 47px; }

/* New logo: header shows the house + name; the tagline line replaces the old state line on the homepage */
.brand img { display: block; height: 64px; width: auto; }
.header-row { min-height: 80px; }
@media (min-width: 900px) { .brand img { height: 96px; } .header-row { min-height: 116px; } }
.hx-tag { display: flex; align-items: center; flex-wrap: wrap; font-family: var(--font); font-size: 13px; letter-spacing: .16em; color: #e9ece9; }
.hx-tag i { display: inline-block; width: 3px; height: 1.1em; background: #6fa82f; margin: 0 .9em; }
@media (min-width: 640px) { .hx-tag { font-size: 15px; } }

/* Colors from the logo: navy for ink and dark bands, logo green for the brand (deeper shade where it's text) */
:root {
  --text: #0f1130; --ink: #0f1130; --ink-2: #23264a; --night: #0b0d24;
  --accent: #0f1130; --accent-hover: #262a55;
  --brand: #4a7a1a; --live: #4a7a1a; --logo-green: #6fa82f;
  --body: #3a3d4f; --muted: #626679;
}
.btn.btn-brand { background: var(--brand); border-color: var(--brand); color: #fff; }
.btn.btn-brand:hover { background: #3b6215; border-color: #3b6215; }

/* Camera review step: the shot stays on screen with Retake / Record video / Next lot */
.cam-review { position: absolute; inset: 0; background: #000; }
.cam-review img, .cam-review video { width: 100%; height: 100%; object-fit: contain; max-width: none; }
.cam.reviewing .cam-modes { display: none; }
.cam.reviewing .cam-controls { grid-template-columns: 1fr; }
.cam.reviewing .cam-thumbs, .cam.reviewing .cam-side { display: none; }
.cam-choices { display: flex; gap: 10px; }
.cam-choice { flex: 1; min-height: 56px; border: 0; border-radius: var(--r); background: rgba(255,255,255,.2); color: #fff;
  font: 650 17px/1 var(--font); cursor: pointer; }
.cam-choice.strong { background: #fff; color: #0f1130; }
.cam.video-ready .cam-shutter span { background: #c0261b; }
.cam.video-ready .cam-modes { display: none; }
/* Main homepage action in the logo's green */
.hx .btn:not(.ghost) { background: var(--brand); color: #fff; border-color: var(--brand); }
.hx .btn:not(.ghost):hover { background: #3b6215; color: #fff; }

/* Camera: room letters */
.cam-top-right { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.cam-rooms { position: absolute; inset: 0; background: rgba(0,0,0,.72); display: flex; align-items: flex-end; z-index: 5; }
.cam-rooms-box { width: 100%; background: #fff; color: #0f1130; padding: 20px 16px calc(env(safe-area-inset-bottom) + 16px);
  display: flex; flex-direction: column; gap: 10px; border-radius: var(--r) var(--r) 0 0; }
.cam-rooms-box h2 { margin: 0; font-size: 20px; }
.cam-rooms-box p { margin: 0 0 4px; color: #3a3d4f; font-size: 15px; }
.cam-rooms-box .cam-choice { width: 100%; flex: none; }
.cam-rooms-box .cam-choice.strong { background: var(--brand); color: #fff; }
.cam-rooms-box [data-room-list] { display: flex; flex-direction: column; gap: 8px; }
.cam-rooms-box [data-room-list] .cam-choice { background: #f1f2f6; color: #0f1130; }
.cam-rooms-close { background: none; border: 0; color: #3a3d4f; font: 600 15px var(--font); padding: 10px; cursor: pointer; }
.cam-pill[data-ai].off { background: rgba(192,38,27,.75); }
.menu-logout { margin: 4px 0 0; }
.menu-logout button { width: 100%; text-align: left; padding: 12px; border: 0; background: none; color: var(--muted); font: 600 15px var(--font); cursor: pointer; border-radius: var(--r); }
.menu-logout button:hover { background: var(--surface-alt); color: var(--text); }
/* Room + AI on their own row under the mode bar (they overlapped it in the corner) */
.cam-tools { position: absolute; left: 0; right: 0; top: calc(env(safe-area-inset-top) + 64px); display: flex; justify-content: center; gap: 8px; }
.cam-tools .cam-pill { min-height: 36px; font-size: 14px; }
.cam.recording .cam-rec { top: calc(env(safe-area-inset-top) + 66px); }
/* Show / Hide on password boxes */
.pw-wrap { position: relative; display: block; }
.pw-wrap input { width: 100%; padding-right: 72px; }
.pw-toggle { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); min-height: 36px; padding: 0 12px;
  border: 0; border-radius: var(--r); background: var(--surface-alt); color: var(--text); font: 600 14px var(--font); cursor: pointer; }
.pw-toggle:hover { background: var(--border); }

/* ---- Pickup sheet (manage): each buyer's lots by room, prints one buyer per page ---- */
.pk-sheet { background: #fff; border: 1px solid var(--line, #e3e5e8); border-radius: 12px; padding: 16px; margin: 16px 0; }
.pk-head h2 { margin: 0; font-size: 1.25rem; }
.pk-head p { margin: 2px 0; color: var(--muted); font-size: .9rem; }
.pk-count { font-weight: 600; color: var(--ink, inherit) !important; }
.pk-room { margin: 18px 0 6px; padding-bottom: 4px; border-bottom: 2px solid var(--logo-green, #6fa82f); font-size: 1.05rem; display: flex; justify-content: space-between; }
.pk-room span { color: var(--muted); font-weight: 500; font-size: .9rem; }
.pk-lots { list-style: none; margin: 0; padding: 0; }
.pk-lots li { display: flex; align-items: center; gap: 12px; padding: 8px 0; border-bottom: 1px solid #eef0f2; break-inside: avoid; }
.pk-box { flex: none; width: 22px; height: 22px; border: 2px solid #9aa1a9; border-radius: 4px; }
.pk-ph { flex: none; width: 64px; height: 64px; border-radius: 8px; overflow: hidden; background: #e6e8eb; }
.pk-ph img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pk-main { min-width: 0; }
@media print {
  .site-header, .site-footer, footer, .no-print, .mg-crumbs, .mg-msg, .notice { display: none !important; }
  body { background: #fff !important; }
  .pk-sheet { border: 0; padding: 0; margin: 0; break-after: page; }
  .pk-sheet:last-child { break-after: auto; }
}
.cam-tools { flex-wrap: wrap; padding: 0 12px; }
.cam-place { max-width: 60vw; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cam-place.unset { background: var(--logo-green, #6fa82f); }
.cam-place-input { width: 100%; min-height: 48px; border: 1px solid #c9ccd6; border-radius: var(--r); padding: 0 12px; font: 500 17px var(--font); color: #0f1130; }
.cam-rooms-box [data-place-list] { display: flex; flex-wrap: wrap; gap: 8px; }
.cam-rooms-box [data-place-list] .cam-choice { width: auto; flex: 0 1 auto; background: #f1f2f6; color: #0f1130; min-height: 44px; padding: 0 14px; }
/* Menu: the Get help button keeps white text (menu links are navy) */
.menu-panel a.btn, .menu-panel a.btn:hover { color: #fff; }
.mg-pickup { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 520px) { .mg-pickup { grid-template-columns: 1fr; } }

/* Bid sheet: compact, and the handle is a real drag target */
.sheet-in { padding: 4px 18px calc(16px + env(safe-area-inset-bottom)); gap: 10px; }
.sheet-grip { width: 44px; height: 5px; margin: 6px auto 2px; box-sizing: content-box; padding: 8px 40px; background-clip: content-box; cursor: grab; touch-action: none; }
.sheet h2 { font-size: 19px; outline: none; touch-action: none; }
.sheet .money-input { height: 48px; font-size: 21px; }
.sheet .breakdown { padding: 2px 12px; }
.sheet .breakdown > div { padding: 6px 0; font-size: 14px; }
.sheet .breakdown > div.total { font-size: 15.5px; }
.sheet .agree-box { font-size: 14px; }
.sheet .linkish { padding: 4px 12px; }
dialog.sheet { max-height: 92dvh; overflow-y: auto; }
.bid-amount { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; }
.bid-total { margin: 0; display: flex; justify-content: space-between; align-items: baseline; font-size: 16px; font-variant-numeric: tabular-nums; }
.bid-fine { margin: -6px 0 0; font-size: 12.5px; line-height: 1.4; }
.sheet .money-input { height: 46px; font-size: 20px; }

/* Back tab on the left edge (phones) */
.edge-back { position: fixed; left: 0; top: 58%; z-index: 30; display: flex; align-items: center; gap: 6px; height: 64px; min-width: 22px;
  padding: 0 6px 0 4px; border: 0; border-radius: 0 14px 14px 0; background: rgb(74 122 26 / .38); color: #fff;
  cursor: pointer; overflow: hidden; -webkit-tap-highlight-color: transparent; }
/* See-through so the page text shows behind it; a bit more solid only while the "Swipe to go back" tip shows. */
.edge-back.hint { background: rgb(74 122 26 / .8); }
.edge-back[hidden] { display: none; }
.edge-back-chev { font: 700 28px/1 var(--font); margin-top: -3px; }
.edge-back-tip { max-width: 0; opacity: 0; white-space: nowrap; font: 600 13px var(--font); transition: max-width .35s ease, opacity .25s ease; }
.edge-back.hint .edge-back-tip { max-width: 160px; opacity: 1; }
.edge-back.hint { animation: edge-nudge 1.2s ease 2; }
@keyframes edge-nudge { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(6px); } }
dialog[open] ~ .edge-back, body:has(dialog[open]) .edge-back { display: none; }
@media (pointer: fine) { .edge-back { display: none !important; } }
/* The swipe feeds (Watch videos / Swipe photos) are a phone thing: computers with a mouse or trackpad
   just get the lot grid (the feed pages still open if someone follows a link). */
@media (pointer: fine) { .feed-tiles { display: none !important; } }
@media print { .edge-back { display: none !important; } }
.footer-contact { margin: 10px 0 0; line-height: 1.8; }
.footer-contact a { font-weight: 600; }
.follow-form { display: flex; gap: 8px; flex-wrap: wrap; }
.follow-form input[type=email] { flex: 1 1 200px; min-width: 0; }

/* Owners' stats page */
.stats h1 { margin-bottom: 4px; }
.st-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
@media (max-width: 700px) { .st-grid { grid-template-columns: repeat(2, 1fr); } }
.st-tile { border: 1px solid var(--border); border-radius: 10px; padding: 12px; display: flex; flex-direction: column; gap: 2px; }
.st-label { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 600; }
.st-tile strong { font-size: 30px; font-variant-numeric: tabular-nums; }
.st-table { width: 100%; border-collapse: collapse; font-size: 14px; font-variant-numeric: tabular-nums; }
.st-table th { text-align: left; font-size: 12px; color: var(--muted); font-weight: 600; padding: 6px 4px; border-bottom: 1px solid var(--border); }
.st-table td { padding: 6px 4px; border-bottom: 1px solid #f0f1f3; position: relative; }
.st-table td:nth-child(2), .st-table td:nth-child(3) { width: 34%; }
.st-table .num { text-align: right; }
.st-bar { position: absolute; left: 4px; top: 7px; bottom: 7px; border-radius: 4px; opacity: .22; max-width: calc(100% - 8px); }
.st-bar.s { background: var(--logo-green, #6fa82f); } .st-bar.v { background: #3b5bdb; }
.st-n { position: relative; padding-left: 6px; font-weight: 600; }
.st-two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 700px) { .st-two { grid-template-columns: 1fr; } }
.st-src { display: flex; justify-content: space-between; margin: 0; padding: 7px 0; border-bottom: 1px solid #f0f1f3; }
.change-email { margin-top: 28px; border-top: 1px solid var(--border); padding-top: 16px; }
.change-email summary { cursor: pointer; font-weight: 700; font-size: 17px; padding: 6px 0; }
/* Seller bid lists */
.mg-bid-list { list-style: none; margin: 0; padding: 0; }
.mg-bid-list li { padding: 10px 0; border-bottom: 1px solid var(--border); }
.mg-bid-list li:last-child { border-bottom: 0; }
.mg-bid-top { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.mg-bid-top .muted { margin-left: auto; }
.mg-bids .hint { margin-top: 10px; }
/* Company logo (settings preview, public page, auction page) */
.mg-logo-row { display: flex; gap: 14px; align-items: flex-start; }
.mg-logo-preview { flex: none; width: 72px; height: 72px; border-radius: 12px; border: 1px solid var(--border); background: #fff; display: grid; place-items: center; font-weight: 800; color: var(--ink, #0f1130); overflow: hidden; }
.mg-logo-preview img, .company-hero .logo img, .company-row .avatar img { width: 100%; height: 100%; object-fit: contain; display: block; }
.company-hero .logo.has-img, .company-row .avatar.has-img { background: #fff; padding: 4px; }
.mg-check-inline { display: inline-flex; gap: 6px; align-items: center; font-size: 14px; margin-top: 6px; }
.signup-extra { margin: 4px 0 14px; border-top: 1px solid var(--border); padding-top: 12px; }
.signup-extra summary { cursor: pointer; font-weight: 700; padding: 4px 0 8px; }
.practice-note { margin: 10px 0; padding: 10px 14px; border-radius: 10px; background: #eef6e4; border: 1px solid #c9e2ad; color: #2f4d12; font-size: 14.5px; }
.fix-email summary { cursor: pointer; font-weight: 600; color: var(--accent); }
.fix-email form { margin-top: 10px; text-align: left; }
.preview-note { margin: 10px 0; padding: 10px 14px; border-radius: 10px; background: #fff7e0; border: 1px solid #f0d58a; color: #6b4e00; font-size: 14.5px; }
.nobids-toggle { margin: 6px 0; }
.cam-rooms-sub { margin: 4px 0 0 !important; font-size: 14px !important; }
.cam-mic { background: #eef3ff; color: #1a2a6b; font-weight: 700; }
.cam-mic.on { background: #c8102e; color: #fff; }
.cam-letter-pick { display: flex; gap: 8px; align-items: stretch; }
.cam-letter-pick select { flex: 0 0 96px; min-height: 48px; border-radius: 12px; border: 1px solid #d5d8e0; background: #f1f2f6; color: #0f1130;
                          font-size: 20px; font-weight: 800; text-align: center; text-align-last: center; }
.cam-letter-pick .cam-choice { flex: 1; margin: 0; }

/* Video feed: one lot video per screen, swipe up for the next */
body.feed-page .site-header, body.feed-page .site-footer, body.feed-page .skip, body.feed-page .edge-back, body.feed-page .verify-banner { display: none !important; }
body.feed-page { background: #000; }
/* No double-tap zoom in the swipe feeds: it got people stuck zoomed in (pinch zoom still works, and pinching out undoes it). */
body.feed-page, .feed { touch-action: manipulation; }
.feed { height: 100dvh; overflow-y: auto; scroll-snap-type: y mandatory; background: #000; position: relative;
        overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
/* Each slide gets its own compositing layer and the poster as a backdrop, so scrolling doesn't repaint
   the videos (the flicker) and there's never a black frame while the next video starts. */
.feed-slide { position: relative; height: 100dvh; scroll-snap-align: start; scroll-snap-stop: always; display: grid; place-items: center;
              overflow: hidden; background: #000 center / contain no-repeat; transform: translateZ(0); backface-visibility: hidden; contain: layout paint; }
.feed-video { width: 100%; height: 100%; object-fit: contain; background: transparent; }
/* Big, labelled and high-contrast so anyone can find the way out. */
.feed-close { position: fixed; top: calc(env(safe-area-inset-top) + 12px); left: 12px; z-index: 5; min-height: 48px; padding: 0 18px 0 14px;
  border-radius: 999px; display: inline-flex; align-items: center; gap: 8px; background: #fff; color: #111; font-size: 17px; font-weight: 700;
  text-decoration: none; box-shadow: 0 2px 10px rgb(0 0 0 / .35); }
.feed-close span { font-size: 20px; line-height: 1; }
.feed-hint { margin: 12px 0 0; font-size: 15px; opacity: .9; animation: feed-hint 1.6s ease-in-out 3; }
@keyframes feed-hint { 50% { transform: translateY(-6px); } }
.feed-big { font-size: 18px; padding: 14px 22px; }
.feed-sound { position: absolute; top: calc(env(safe-area-inset-top) + 12px); right: 14px; width: 48px; height: 48px; border-radius: 50%; border: 0;
  background: rgb(0 0 0 / .45); color: #fff; font-size: 18px; }
/* Tap anywhere on the video: a quick 🔊/🔇 in the middle. */
.feed-sound-flash { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%) scale(.9); width: 84px; height: 84px;
  border-radius: 50%; background: rgb(0 0 0 / .5); color: #fff; font-size: 36px; display: grid; place-items: center;
  opacity: 0; pointer-events: none; transition: opacity .2s ease, transform .2s ease; z-index: 2; }
.feed-sound-flash.on { opacity: 1; transform: translate(-50%, -50%) scale(1); }
/* Big tap-to-play, only when the phone blocked automatic playback (iPhone Low Power Mode). */
.feed-play { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 88px; height: 88px; border-radius: 50%;
  border: 0; background: rgb(0 0 0 / .55); color: #fff; font-size: 36px; padding-left: 6px; z-index: 2; }
.feed-play[hidden] { display: none; }
.feed-info { position: absolute; left: 0; right: 70px; bottom: 0; padding: 18px 16px calc(env(safe-area-inset-bottom) + 22px);
  color: #fff; background: linear-gradient(transparent, rgb(0 0 0 / .7)); }
.feed-info h2 { margin: 2px 0 4px; font-size: 20px; line-height: 1.25; }
.feed-lot { margin: 0; font-size: 13px; opacity: .85; letter-spacing: .04em; }
.feed-price { margin: 0 0 12px; font-size: 15px; }
.feed-heart { position: absolute; right: 14px; bottom: calc(env(safe-area-inset-bottom) + 110px); width: 52px; height: 52px; border-radius: 50%; border: 0;
  background: rgb(0 0 0 / .45); color: #fff; font-size: 26px; }
.feed-heart.on { color: #ff4d6d; }
.feed-empty { color: #fff; }
/* "Watch videos" / "Swipe photos": two preview tiles into the full-screen swipe feed (side by side on phones too). */
.feed-tiles { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 16px; }
.feed-tile { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border: 1.5px solid var(--border-strong);
  border-radius: 999px; background: var(--surface); color: var(--text); font-weight: 600; font-size: 15px; text-decoration: none; }
.feed-tile:hover, .feed-tile:focus-visible { border-color: var(--text); }
.feed-tile-icon { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--text); color: #fff; font-size: 10px; }
.feed-tile-n { color: var(--muted); font-weight: 500; font-size: 14px; }
.pk-ship { display: inline-block; margin-left: 6px; padding: 1px 6px; border-radius: 4px; background: #e7f0ff; color: #1d4ed8; font-size: 12px; font-weight: 800; }
.pk-tag { display: inline-block; margin-left: 6px; padding: 1px 6px; border-radius: 4px; font-size: 12px; font-weight: 800; }
.pk-tag.paid { background: #e3f4e1; color: #1f6b2a; }
.pk-tag.owes { background: #fff1d6; color: #8a4b00; }
.pk-pay { margin: 6px 0; font-size: 18px; font-weight: 800; }
.pk-pay.owes { color: #8a4b00; }
.pk-pay.paid { color: #1f6b2a; }
.pk-pay span { font-size: 14px; font-weight: 600; }
.pk-markpaid { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 4px 0 8px; }
.pk-markpaid select { min-height: 36px; margin-left: 4px; }
.pk-shipto { margin: 6px 0; padding: 8px 10px; background: #e7f0ff; color: #1d3a8a; font-size: 15px; }

/* Messages */
.msg-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.msg-list { list-style: none; padding: 0; margin: 12px 0; }
.msg-list li a { display: grid; grid-template-columns: 1fr auto; gap: 2px 8px; padding: 12px 4px; border-bottom: 1px solid var(--border); color: inherit; text-decoration: none; }
.msg-list li.unread a { background: #f3f8ec; }
.msg-preview { grid-column: 1 / -1; color: var(--muted); font-size: 14px; }
.msg-thread { display: flex; flex-direction: column; gap: 10px; margin: 14px 0; }
.bubble { max-width: 85%; padding: 10px 12px; border-radius: 14px; background: #f1f2f6; }
.bubble.me { align-self: flex-end; background: #e7f0dc; }
.bubble p { margin: 0 0 4px; }
.bubble-lot { display: block; color: var(--muted); margin-bottom: 4px; }
.bubble-report summary { cursor: pointer; color: var(--muted); }
.msg-reply { display: flex; flex-direction: column; gap: 8px; }
.msg-reply textarea { width: 100%; }
.msg-block { margin-top: 36px; padding-top: 14px; border-top: 1px solid var(--border); }
.msg-block-status { margin: 0 0 10px; font-weight: 600; }
.msg-block-more summary { cursor: pointer; color: var(--muted); font-size: 14px; font-weight: 600; min-height: 40px; display: flex; align-items: center; }
.msg-block-options { display: grid; gap: 12px; margin-top: 8px; }
.msg-block-options > div { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.msg-block-options .btn { min-width: 96px; }
.msg-block-danger { color: #b42318; border-color: #f0c4bf; }
.badge { display: inline-block; min-width: 20px; padding: 0 6px; border-radius: 10px; background: #c0261b; color: #fff; font-size: 12px; font-weight: 800; text-align: center; }
.msg-seller { margin: 6px 0 0; font-size: 14px; } .msg-seller a { font-weight: 600; }

/* Search results bar: count on the left; sort + "Watch videos" on the right (stacked on phones). */
.results-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin: 18px 0 16px; }
.results-count { margin: 0; font-weight: 600; font-size: 17px; }
.results-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.sort-toggle { display: inline-flex; align-items: center; gap: 4px; padding: 4px; border-radius: 999px; background: var(--surface-alt); }
.sort-label { padding: 0 6px 0 10px; font-size: 15px; color: var(--muted, #666); }
.sort-toggle a { min-height: 40px; display: inline-flex; align-items: center; padding: 0 16px; border-radius: 999px; font-size: 15px; font-weight: 600;
                 color: inherit; text-decoration: none; }
.sort-toggle a.on { background: #fff; box-shadow: 0 1px 3px rgb(0 0 0 / .15); }
@media (max-width: 640px) {
  .results-tools { width: 100%; }
  .sort-toggle { width: 100%; justify-content: space-between; }
  .sort-toggle a { flex: 1; justify-content: center; }
}

/* Lot feed, photo lots: swipe sideways; the next photo peeks in from the right so it's obvious there's more. */
.feed-photos { position: absolute; inset: 0; display: flex; gap: 8px; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory;
               padding: 0 7%; scrollbar-width: none; overscroll-behavior-x: contain; }
.feed-photos::-webkit-scrollbar { display: none; }
.feed-photos img { flex: 0 0 86%; height: 100%; object-fit: contain; scroll-snap-align: center; }
.feed-photos img:only-child { flex-basis: 100%; }
.feed-photo-slide .feed-photos:has(img:only-child) { padding: 0; }
.feed-count { position: absolute; top: calc(env(safe-area-inset-top) + 72px); left: 50%; transform: translateX(-50%); margin: 0; z-index: 2;
              padding: 6px 14px; border-radius: 999px; background: rgb(0 0 0 / .55); color: #fff; font-size: 15px; font-weight: 600;
              display: flex; align-items: center; gap: 10px; white-space: nowrap; }
.feed-dots { display: inline-flex; gap: 5px; }
.feed-dots i { width: 7px; height: 7px; border-radius: 50%; background: rgb(255 255 255 / .45); }
.feed-dots i.on { background: #fff; }
.feed-arrow { position: absolute; top: 45%; z-index: 2; width: 52px; height: 52px; border-radius: 50%; border: 0; font-size: 34px; line-height: 1;
              background: rgb(255 255 255 / .85); color: #111; box-shadow: 0 2px 8px rgb(0 0 0 / .3); display: grid; place-items: center; padding-bottom: 4px; }
.feed-arrow.prev { left: 10px; } .feed-arrow.next { right: 10px; }
.feed-arrow:disabled { opacity: 0; pointer-events: none; }
/* Payment & billing */
.bill-lines { width: 100%; border-collapse: collapse; margin: 8px 0 0; font-size: 15px; }
.bill-lines td { padding: 4px 0; } .bill-lines td:last-child { text-align: right; }
.bill-lines tr.total td { border-top: 1px solid #ddd; font-weight: 700; padding-top: 8px; }
.pill.ok { background: #e3f4e8; color: #1c6b34; } .pill.bad { background: #fde7ea; color: #a1122c; }
/* "♥ Saved 3" in the header: a red pill with a label, so it's obvious where saved things are. Outline when empty. */
.saved-pill { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 14px 0 11px; border-radius: 999px;
              border: 2px solid #c8102e; color: #c8102e; background: #fff; font-weight: 700; font-size: 15px; text-decoration: none; white-space: nowrap; }
.saved-pill svg { width: 18px; height: 18px; flex: none; }
.saved-pill.has { background: #c8102e; color: #fff; box-shadow: 0 2px 6px rgb(200 16 46 / .3); }
.saved-pill .n { font-weight: 800; }
@media (max-width: 380px) { .saved-pill .w { display: none; } .saved-pill { padding: 0 12px 0 10px; } }  /* small phones: "♥ 3" */
/* "No bids yet": gold outline + price tag, on its own line; solid gold when on */
.nobids-chip { display: inline-flex; align-items: center; gap: 7px; min-height: 40px; padding: 0 14px; border: 2px solid #c9a227;
               background: #fffaf0; color: #6b5310; font-weight: 700; }
.nobids-chip .ico { width: 18px; height: 18px; }
.nobids-chip .x { display: none; margin-left: 2px; }
.nobids-chip.on { background: #c9a227; border-color: #c9a227; color: #fff; }
.nobids-chip.on .x { display: inline; }

/* Card on file or pay at pickup (first bid on a lot, "Pay online or at pickup" auctions): two big, clear choices */
.pay-pick { border: 0; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.pay-pick[hidden], .pay-line[hidden] { display: none; }  /* chosen already: don't ask again */
.pay-pick legend { font-weight: 800; font-size: 17px; margin-bottom: 8px; padding: 0; }
.pay-pick.needs legend { color: var(--danger, #a3361f); }
.pay-opt { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 64px; padding: 12px 14px; text-align: left;
  border: 2px solid var(--border-strong, #c9cac5); border-radius: var(--r); background: var(--surface, #fff); color: var(--text); font: inherit; cursor: pointer; }
.pay-opt input { position: absolute; opacity: 0; pointer-events: none; }
.pay-ico { font-size: 26px; line-height: 1; flex: none; }
.pay-txt { display: flex; flex-direction: column; gap: 2px; flex: 1; }
.pay-txt strong { font-size: 17px; }
.pay-txt small { font-size: 14px; color: var(--muted); }
.pay-tick { flex: none; width: 28px; height: 28px; border-radius: 50%; border: 2px solid var(--border-strong, #c9cac5); color: transparent;
  display: flex; align-items: center; justify-content: center; font-weight: 800; }
.pay-opt:has(input:checked) { border-color: var(--accent); background: var(--accent-soft, #f4f4f1); box-shadow: 0 0 0 1px var(--accent); }
.pay-opt:has(input:checked) .pay-tick { background: var(--accent); border-color: var(--accent); color: var(--accent-text, #fff); }
.pay-opt:has(input:focus-visible), .pay-dialog .pay-opt:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.pay-pick.needs .pay-opt { border-color: var(--danger, #a3361f); }
.pay-line { margin: 8px 0 0; font-size: 15px; text-align: center; }
.pay-line .linkish { background: none; border: 0; color: var(--accent); font: 600 15px var(--font); padding: 8px 6px; cursor: pointer; text-decoration: underline; }

/* Privacy policy / terms of use: easy-to-read long text */
.legal { max-width: 760px; padding-top: 24px; padding-bottom: 48px; font-size: 17px; line-height: 1.6; }
.legal h1 { margin-bottom: 4px; }
.legal h2 { font-size: 21px; margin: 32px 0 8px; }
.legal h3 { font-size: 17px; margin: 18px 0 6px; }
.legal ul { padding-left: 22px; }
.legal li { margin: 6px 0; }
.footer-base a { color: inherit; text-decoration: underline; }

/* Lot cards: small photo / video count in the corner */
.lot-card .media-count { position: absolute; top: 6px; right: 6px; display: inline-flex; gap: 8px; align-items: center;
  padding: 3px 7px; border-radius: 3px; background: rgba(15,17,48,.62); color: #fff; font-size: 12px; font-weight: 700; line-height: 1; pointer-events: none; }
.lot-card .media-count > span { display: inline-flex; align-items: center; gap: 3px; }
.lot-card .media-count svg { width: 13px; height: 13px; }

/* Live camera: what to take for each lot, as a one-tap strip above the shutter (like the phone's camera),
   and one chip that cycles the photos before the video. Hidden while recording or reviewing a shot. */
.cam-strip { display: flex; justify-content: center; gap: 4px; margin: 0 auto 8px; }
.cam-strip button { min-height: 40px; padding: 0 12px; border: 0; background: none; color: rgba(255,255,255,.75);
  font: 700 13px var(--font); letter-spacing: .06em; text-transform: uppercase; cursor: pointer; text-shadow: 0 1px 3px rgba(0,0,0,.6); }
.cam-strip button[aria-pressed=true] { color: #ffd60a; }
.cam-count-chip { display: block; margin: 0 auto 10px; min-height: 36px; padding: 0 14px; border: 0; border-radius: var(--r);
  background: rgba(0,0,0,.45); color: #fff; font: 600 14px var(--font); cursor: pointer; }
.cam.photos-mode .cam-count-chip { display: none; }
.cam.recording .cam-strip, .cam.recording .cam-count-chip,
.cam.reviewing .cam-strip, .cam.reviewing .cam-count-chip, .cam.no-camera .cam-strip { display: none; }
.cam.video-ready .cam-count-chip { display: none; }

/* Camera AI control: a standard on/off switch (green on, grey off) */
.cam-pill.cam-ai { display: inline-flex; align-items: center; gap: 8px; padding-right: 8px; }
.cam-switch { position: relative; width: 40px; height: 24px; border-radius: 12px; background: #8e8e93; transition: background .2s; flex: none; }
.cam-switch::after { content: ""; position: absolute; top: 2px; left: 2px; width: 20px; height: 20px; border-radius: 50%;
  background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.3); transition: transform .2s; }
.cam-ai[aria-pressed=true] .cam-switch { background: #34c759; }
.cam-ai[aria-pressed=true] .cam-switch::after { transform: translateX(16px); }
.cam-pill[data-ai].off { background: rgba(255,255,255,.18); }  /* the switch shows on/off now */

.acard-demo.solo { top: 8px; }  /* no In person badge above it */

/* Bid window: someone outbid the amount while it was open (live.js). The amount is never raised for them. */
.bid-low { margin: 0 0 10px; padding: 10px 12px; border-radius: var(--r); background: #fff1d6; color: #6b3a00; }
.bid-low p { margin: 0 0 8px; font-weight: 600; }
.bid-low[hidden] { display: none; }

/* Homepage between auctions: thank-you banner + the next seller to follow (landing.html, `coming`). */
.hx-thanks { display: grid; gap: 4px; min-width: 0; }
.hx-thanks-t { margin: 0; font: 800 clamp(20px, 3.2vw, 26px)/1.2 var(--font); }
.hx-thanks-s { margin: 0; font-size: 16px; opacity: .9; max-width: 56ch; }
.coming-card { display: grid; grid-template-columns: auto 1fr; gap: 14px 16px; align-items: center; padding: 18px;
  border-radius: var(--radius, 14px); background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); max-width: 760px; }
.coming-card .avatar { width: 56px; height: 56px; font-size: 20px; }
.coming-card .avatar.has-img { width: 88px; height: 88px; padding: 3px; background: #fff; border: 1px solid #e6e4dd; }
.coming-card .avatar img { width: 100%; height: 100%; object-fit: contain; display: block; }
.coming-main { min-width: 0; }
.coming-main h3 { margin: 2px 0 4px; } .coming-main h3 a { color: inherit; }
.coming-main p { margin: 0; }
.coming-follow { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px; }
.coming-follow input { flex: 1 1 220px; min-height: 44px; padding: 0 12px; border-radius: var(--r); border: 1px solid var(--border); font: inherit; }
@media (min-width: 700px) { .coming-follow { grid-column: auto / span 2; } }

/* Company logo: bigger on the profile; tap to see it almost full screen (templates/auctions/_logo_zoom.html). */
.company-hero .logo.has-img { width: 140px; height: 140px; border: 1px solid #e6e4dd; }
.logo-zoom { cursor: zoom-in; font: inherit; -webkit-tap-highlight-color: transparent; }
.logo-dialog { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; border: 0; background: transparent;
               box-sizing: border-box; padding: calc(max(14px, env(safe-area-inset-top)) + 58px) 16px 24px; }
.logo-dialog[open] { display: grid; place-items: center; }
.logo-dialog::backdrop { background: rgb(0 0 0 / .85); }
/* Square logo sized to the space under the Close button, so the two never overlap. */
.logo-dialog img { width: min(100%, calc(100dvh - max(14px, env(safe-area-inset-top)) - 82px - 24px), 760px); height: auto; border-radius: 12px; background: #fff; }
.logo-dialog-close { position: fixed; top: max(14px, env(safe-area-inset-top)); right: 14px; min-height: 44px; padding: 0 18px; border: 0; border-radius: 22px;
                     background: #fff; color: #111; font: 700 16px var(--font); cursor: pointer; z-index: 1; box-shadow: 0 2px 10px rgb(0 0 0 / .3); }

/* "Find them elsewhere" on a company profile: each link in its own brand colours. */
.social { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 22px; border: 1px solid transparent;
          font: 700 15px var(--font); text-decoration: none; -webkit-tap-highlight-color: transparent; }
.social svg { width: 20px; height: 20px; flex: none; }
.social:hover, .social:focus-visible { filter: brightness(.94); }
.social-facebook { background: #1877f2; color: #fff; }
.social-instagram { background: linear-gradient(45deg, #f9ce34, #ee2a7b 45%, #6228d7); color: #fff; }
.social-whatnot { background: #ffe500; color: #000; letter-spacing: -.01em; }
.social-website, .social-more { background: #fff; color: var(--text); border-color: var(--border-strong); }
.social-website svg, .social-more svg { color: var(--accent); }

/* Referral contest box (My details + /account/refer/) */
.refer-box { margin-top: 28px; padding: 18px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--accent-soft); }
.refer-box h2 { margin-top: 0; }
.refer-link { display: flex; gap: 8px; margin: 12px 0; }
.refer-link input { flex: 1; min-width: 0; font-size: 16px; padding: 10px 12px; border: 1px solid var(--border-strong); border-radius: 8px; background: #fff; color: var(--text); }
.refer-link .button { flex: none; }
.refer-mine { font-size: 1.05rem; }
.refer-top { list-style: none; padding: 0; margin: 10px 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.refer-top li { background: #fff; border: 1px solid var(--border); border-radius: 8px; padding: 10px; text-align: center; font-size: .9rem; }
.refer-top li span { display: block; color: var(--muted); font-size: .8rem; margin-bottom: 2px; }
.refer-top li strong { font-size: 1.4rem; display: block; color: var(--text); }
.refer-top li.me { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
.refer-top li .who { display: block; color: var(--text); font-weight: 600; }
.refer-rules { background: #fff; border: 1px solid var(--border); border-radius: 8px; padding: 12px 14px; margin: 12px 0; }
.refer-rules ol { margin: 6px 0 6px 1.2em; padding: 0; }
.refer-rules .small { color: var(--muted); }
.refer-label { display: block; font-weight: 600; margin-top: 14px; }
.refer-link { margin-top: 4px; }
.refer-pending { background: #fff4cf; color: #5a4300; padding: 8px 12px; border-radius: 8px; font-size: .92rem; }
.refer-board-title { margin: 18px 0 6px; }
.field-note { margin: -4px 0 12px; }

.auction-more { margin-top: 14px; }
.auction-more-title { font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; margin: 0 0 4px; opacity: .8; }

/* Lot cards say what to do: people didn't see that tapping the lot is how you bid */
.lot-card .lot-cta { display: block; margin: 6px 2px 0; padding: 8px 10px; border-radius: 8px; text-align: center;
  background: var(--accent); color: var(--accent-text); font-weight: 700; font-size: 14px; }
.lot-card .lot-cta.quiet { background: var(--surface-alt); color: var(--text); }
.lot-card:hover .lot-cta:not(.quiet) { background: var(--accent-hover); }
.lots-hint { margin: 0 0 10px; font-weight: 600; color: var(--text); }

/* Swipe feeds: a short how-to next to Close (replaces the photo arrow buttons); fades out after a few seconds. */
.feed-tip { position: fixed; top: calc(env(safe-area-inset-top) + 16px); left: 118px; right: 12px; z-index: 6; margin: 0;
            padding: 9px 12px; border-radius: 12px; background: rgb(0 0 0 / .72); color: #fff; font-size: 14px; font-weight: 600;
            line-height: 1.3; opacity: 0; transform: translateY(-6px); transition: opacity .35s ease, transform .35s ease; }
.feed-tip.on { opacity: 1; transform: none; }

/* The seller looking at their own sale/lot: quick ways back to editing it in Manage. */
.seller-bar { background: #fff4cf; color: #5a4300; border-bottom: 1px solid #f0dc9a; font-size: 14px; font-weight: 600; }
.seller-bar .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; padding-top: 8px; padding-bottom: 8px; }
.seller-bar .wrap > span { margin-right: auto; }
.seller-edit { font-size: 13px; font-weight: 600; color: var(--accent); text-decoration: underline; margin-left: 6px; }
.seller-edit.on-dark { color: #fff; margin-left: 0; }
.pk-instructions { margin: 6px 0 0; font-size: 14px; line-height: 1.4; }

.mg-review-start { margin: 14px 0 6px; font-size: 17px; }
.mg-review-btns .btn { flex: 1; }

/* Sale page steps (Manage): 1 Sale info · 2 Times & pickup · 3 Address · 4 Lots · 5 Advertise & publish */
.mg-steps { display: flex; flex-wrap: wrap; gap: 6px; margin: 14px 0; }
.mg-steps::-webkit-scrollbar { display: none; }
.mg-steps a { flex: none; display: inline-flex; align-items: center; gap: 6px; padding: 9px 14px; border-radius: 999px; border: 1.5px solid var(--border-strong);
              color: var(--text); text-decoration: none; font-weight: 600; font-size: 14px; background: var(--surface); }
.mg-steps a .n { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--surface-alt); font-size: 12px; }
.mg-steps a[aria-current="step"] { border-color: var(--text); background: var(--text); color: #fff; }
.mg-steps a[aria-current="step"] .n { background: #fff; color: var(--text); }
.mg-covers { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 10px; }
.mg-cover { border: 2px solid var(--border); border-radius: 10px; padding: 0; background: var(--surface); cursor: pointer; overflow: hidden; text-align: left; }
.mg-cover img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; }
.mg-cover span { display: block; padding: 6px 8px; font-size: 13px; font-weight: 600; }
.mg-cover.on { border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent); }
.mg-share { display: flex; gap: 8px; flex-wrap: wrap; }
.mg-share input { flex: 1; min-width: 0; font-size: 15px; padding: 9px 10px; border: 1px solid var(--border-strong); border-radius: 8px; }
.mg-steps a.done .n { background: var(--accent-soft); color: var(--accent); }
/* Phones: all five steps as a short numbered list (nothing hidden off to the side). */
@media (max-width: 640px) {
  .mg-steps { flex-direction: column; gap: 4px; }
  .mg-steps a { border-radius: 10px; padding: 8px 12px; }
}
.pk-noshow { display: inline-block; margin: 4px 0; padding: 2px 8px; border-radius: 6px; background: var(--danger); color: #fff; font-weight: 800; font-size: 13px; }
.cust-list { list-style: none; padding: 0; margin: 0; }
.cust-list li { border-top: 1px solid var(--border); }
.cust-list a { display: flex; justify-content: space-between; gap: 10px; padding: 10px 2px; color: var(--text); text-decoration: none; }
.cust-sale { border-top: 1px solid var(--border); padding: 12px 0; }
.cust-sale summary { cursor: pointer; color: var(--accent); font-weight: 600; font-size: 14px; }
.cust-flag { display: inline-block; padding: 1px 7px; border-radius: 6px; font-size: 12px; font-weight: 700; background: #fde8e4; color: var(--danger); }
.mg-publish-choices { display: grid; gap: 10px; margin-top: 10px; }
.mg-choice { display: block; width: 100%; text-align: left; padding: 14px 16px; border: 2px solid var(--border-strong); border-radius: 12px; background: var(--surface); color: var(--text); cursor: pointer; }
.mg-choice strong { display: block; font-size: 16px; }
.mg-choice span { display: block; font-size: 14px; color: var(--muted); margin-top: 2px; }
.mg-choice:first-child { border-color: var(--accent); }
.mg-choice:hover:not(:disabled) { border-color: var(--text); }
.mg-choice:disabled { opacity: .55; cursor: not-allowed; }

/* "Your sale so far": the seller's own team only, on their sale page (below the description). */
.seller-stats { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 14px 16px;
  margin: 16px 0 18px; box-shadow: var(--card-shadow); }
.seller-stats h2 { margin: 0 0 10px; font-size: 17px; }
.seller-stats h2 .sub { font-size: 13px; font-weight: 500; color: var(--muted); }
.ss-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.ss-tiles > div { background: var(--surface-alt); border-radius: 10px; padding: 10px 12px; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.ss-tiles strong { font-size: 18px; color: var(--text); font-variant-numeric: tabular-nums; }
.ss-tiles span { font-size: 13px; color: var(--muted); }
.ss-table { width: 100%; border-collapse: collapse; margin-top: 12px; font-size: 14px; }
.ss-table th { text-align: left; font-size: 12px; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .03em;
  padding: 6px 6px; border-bottom: 1px solid var(--border); }
.ss-table td { padding: 8px 6px; border-bottom: 1px solid var(--border); vertical-align: top; }
.ss-table .num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.ss-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; margin: 10px 0 0; font-size: 14px; color: var(--muted); }
@media (max-width: 640px) {
  .ss-tiles { grid-template-columns: repeat(2, 1fr); }
  .ss-table th:nth-child(2), .ss-table td:nth-child(2) { max-width: 46vw; overflow-wrap: anywhere; }
}

/* Sale setup: bid increments table (read-only while "Use the standard" is on). */
.inc-rows { display: grid; gap: 6px; margin-top: 8px; }
.inc-row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.inc-row label, .inc-row > span { display: inline-flex; align-items: center; gap: 4px; font-size: 15px; min-width: 9.5em; }
.inc-row input { width: 6.5em; }
.inc-rows.locked input { background: var(--surface-alt); color: var(--muted); }
.inc-table td { padding: 3px 14px 3px 0; font-variant-numeric: tabular-nums; }

/* Lot page: the bidder's own max (private). Green while winning, muted once outbid. */
.my-max { margin: 10px 0 0; padding: 8px 12px; border-radius: 10px; background: var(--accent-soft); color: var(--text); font-size: 15px; }
.my-max.out { background: var(--surface-alt); }

/* Lot page Save button: red like every other "saved" heart (the header's Saved pill, the feed's heart), so it stands
   out from the plain buttons beside it. White with a red heart; solid red once saved. */
.btn.save-lot { background: #fff; color: #c8102e; border: 1.5px solid #c8102e; font-weight: 700; }
.btn.save-lot:hover { background: #fdecef; }
.btn.save-lot .ico { color: #c8102e; }
.btn.save-lot.on { background: #c8102e; color: #fff; border-color: #c8102e; box-shadow: 0 2px 6px rgb(200 16 46 / .3); }
.btn.save-lot.on .ico { color: #fff; }
