/* 首发场 v3 · 报纸行情版：暖纸、墨色、朱砂印章、宋体标题
 * floor: contrast, responsive type, focus and states · structural: cardless list, hairline rules */
:root {
  color-scheme: light;
  --surface-0: #faf8f1;
  --surface-1: #fffdf7;
  --surface-2: #f0ecdf;
  --surface-accent: #f7ebe3;
  --text-primary: #221f18;
  --text-secondary: #5d574a;
  --text-muted: #8b8471;
  --border: #ddd6c4;
  --border-strong: #b3aa93;
  --accent: #bd3b23;
  --accent-hover: #a32f1a;
  --accent-action: #bd3b23;
  --success: #3d7a4e;
  --rank-gold: #9c7418;
  --on-accent: #fff8ef;
  --footer-bg: #1e1b14;
  --footer-text: #f3efe3;
  --footer-muted: #9b937f;
  --ink: #221f18;
  --page-gutter: max(24px, calc((100vw - 1220px) / 2));
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --font-serif: Georgia, "Times New Roman", "Songti SC", "STSong", "Noto Serif SC", "Source Han Serif SC", "SimSun", serif;
  font-family: var(--font-sans);
}

[data-theme="dark"] {
  color-scheme: dark;
  --surface-0: #17150f;
  --surface-1: #201d15;
  --surface-2: #2b271d;
  --surface-accent: #2e1f19;
  --text-primary: #f0ecdf;
  --text-secondary: #b3ab97;
  --text-muted: #8a8270;
  --border: #383327;
  --border-strong: #5c5442;
  --accent: #e4694c;
  --accent-hover: #ee8261;
  --accent-action: #bd3b23;
  --success: #6fae82;
  --rank-gold: #d3a63b;
  --on-accent: #fff8ef;
  --ink: #f0ecdf;
}

* { box-sizing: border-box; }
.theme-switching *, .theme-switching *::before, .theme-switching *::after { transition: none !important; }
html { overflow-x: clip; scroll-behavior: smooth; }
body { margin: 0; overflow-x: clip; background: var(--surface-0); color: var(--text-primary); font-size: 16px; font-weight: 400; line-height: 1.6; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; transition: background-color .35s ease, color .35s ease; }
button, input, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }
h1 { max-width: 620px; font-family: var(--font-serif); font-size: 32px; font-weight: 700; line-height: 1.15; text-wrap: balance; }
h2 { font-size: 20px; font-weight: 600; line-height: 1.35; }
h3 { font-size: 16px; font-weight: 600; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
::selection { background: var(--accent); color: var(--on-accent); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; z-index: 10; inset-block-start: 8px; inset-inline-start: 8px; padding: 8px 12px; border-radius: 4px; background: var(--text-primary); color: var(--surface-0); transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }

.site-header { height: 64px; padding: 0 var(--page-gutter); display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--border); background: var(--surface-0); transition: background-color .35s ease, border-color .35s ease; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-serif); font-size: 19px; font-weight: 700; letter-spacing: .02em; }
.brand-mark { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 5px; background: var(--accent); color: var(--on-accent); font-family: var(--font-serif); font-size: 17px; font-weight: 700; line-height: 1; box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--on-accent) 55%, transparent); }
.header-actions { display: flex; align-items: center; gap: 8px; }
.nav-link { padding: 6px 10px; color: var(--text-secondary); font-size: 13px; letter-spacing: .04em; }
.nav-link:hover { color: var(--accent); }
.icon-button { width: 36px; height: 36px; padding: 0; display: grid; place-items: center; border: 1px solid var(--border); border-radius: 4px; background: transparent; cursor: pointer; transition: border-color .2s ease; }
.icon-button:hover { border-color: var(--ink); }
.button { min-height: 42px; padding: 0 18px; display: inline-flex; align-items: center; justify-content: center; gap: 7px; border: 1px solid var(--border-strong); border-radius: 4px; background: transparent; color: var(--text-primary); font-weight: 500; letter-spacing: .03em; cursor: pointer; transition: background-color .2s ease, border-color .2s ease, color .2s ease; }
.button:hover { border-color: var(--ink); }
.button-primary { border-color: var(--ink); background: var(--ink); color: var(--surface-0); }
.button-primary:hover { border-color: var(--accent); background: var(--accent); color: var(--on-accent); }
.button:active, .icon-button:active, .segment:active, .category:active { transform: translateY(1px); }
.button:disabled, button[aria-disabled="true"] { cursor: not-allowed; opacity: .45; }
.button-secondary { background: transparent; }
.button-small { min-height: 36px; padding-inline: 14px; font-size: 13px; }

.kicker { display: flex; align-items: center; gap: 9px; color: var(--accent); font-size: 12px; font-weight: 600; letter-spacing: .18em; }
.kicker::before { content: ""; width: 7px; height: 7px; border-radius: 1px; background: var(--accent); }
.intro { padding: 72px var(--page-gutter) 56px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 48px; }
.intro-main { max-width: 720px; }
.intro h1 { max-width: 720px; margin-top: 20px; font-size: clamp(46px, 5vw, 76px); line-height: 1.08; }
.intro-copy { max-width: 34ch; margin-top: 22px; color: var(--text-secondary); font-size: 17px; line-height: 1.6; text-wrap: pretty; }
.intro-actions { margin-top: 32px; display: flex; align-items: center; gap: 24px; }
.text-action { position: relative; display: inline-flex; align-items: center; gap: 5px; padding-bottom: 2px; color: var(--text-secondary); font-size: 14px; letter-spacing: .03em; }
.text-action::after { content: ""; position: absolute; right: 0; bottom: 0; left: 0; height: 1px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .3s ease; }
.text-action:hover { color: var(--accent); }
.text-action:hover::after { transform: scaleX(1); }

.bid-snapshot { display: grid; grid-template-columns: repeat(3, auto) 1fr; gap: 20px 56px; align-items: end; padding: 18px 0 20px; border-top: 3px double var(--ink); border-bottom: 1px solid var(--border); transition: border-color .35s ease; }
.snapshot-head { grid-column: 1 / -1; display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; letter-spacing: .12em; }
.snapshot-head strong { display: inline-flex; align-items: center; gap: 5px; color: var(--accent); font-size: 11px; font-weight: 600; letter-spacing: .18em; }
.snapshot-head strong::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); animation: pulse 2s ease-in-out infinite; }
.snapshot-values { display: contents; }
.snapshot-values div { min-width: 0; }
.snapshot-values strong, .snapshot-values span { display: block; }
.snapshot-values strong { font-family: var(--font-serif); font-size: 30px; font-weight: 700; line-height: 1.1; font-variant-numeric: tabular-nums; }
.snapshot-values span { margin-top: 3px; color: var(--text-muted); font-size: 12px; letter-spacing: .08em; }
.bid-snapshot > p { justify-self: end; display: flex; align-items: center; gap: 6px; color: var(--text-muted); font-size: 12px; letter-spacing: .05em; font-variant-numeric: tabular-nums; }

.workspace { padding: 40px var(--page-gutter) 104px; display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 56px; align-items: start; }
.board-title { display: flex; align-items: baseline; }
.board-title h2 { font-family: var(--font-serif); font-size: 30px; font-weight: 700; }
.board-head { margin-top: 12px; padding-bottom: 2px; display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; border-bottom: 1px solid var(--ink); transition: border-color .35s ease; }
.segmented { display: flex; gap: 4px; }
.segment { position: relative; min-width: 0; height: 42px; padding: 0 16px 0 0; border: 0; background: transparent; color: var(--text-muted); font-size: 14px; letter-spacing: .04em; cursor: pointer; transition: color .2s ease; }
.segment + .segment { margin-left: 20px; }
.segment::after { content: ""; position: absolute; right: 16px; bottom: -1px; left: 0; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .25s ease; }
.segment:hover { color: var(--text-primary); }
.segment.is-active { color: var(--text-primary); font-weight: 600; }
.segment.is-active::after { transform: scaleX(1); }
.reset-note { padding-bottom: 10px; display: flex; align-items: center; gap: 6px; color: var(--text-muted); font-size: 12px; letter-spacing: .05em; font-variant-numeric: tabular-nums; }
.is-invisible { visibility: hidden; }
.categories { padding: 16px 0 4px; display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.categories::-webkit-scrollbar { display: none; }
.category { flex: 0 0 auto; height: 30px; padding: 0 10px; border: 0; border-radius: 3px; background: transparent; color: var(--text-secondary); font-size: 13px; letter-spacing: .03em; cursor: pointer; transition: color .2s ease, background-color .2s ease; }
.category:hover { color: var(--text-primary); }
.category.is-active { background: var(--surface-accent); color: var(--accent); font-weight: 600; }
.disclosure { margin: 12px 0 4px; padding: 0; display: flex; align-items: center; gap: 10px; color: var(--text-muted); font-size: 12px; letter-spacing: .04em; }
.disclosure strong { padding: 1px 6px; border: 1px solid var(--accent); border-radius: 2px; color: var(--accent); font-size: 11px; font-weight: 600; letter-spacing: .14em; }
.ranking-list { margin: 0; padding: 0; list-style: none; }
.loading-row { min-height: 96px; padding: 20px 4px; display: grid; grid-template-columns: 44px minmax(0, 1fr) 90px; align-items: center; gap: 16px; border-bottom: 1px solid var(--border); }
.loading-row span { height: 14px; border-radius: 3px; background: var(--surface-2); }
.loading-row span:first-child { width: 44px; height: 44px; border-radius: 4px; }
.rank-item { position: relative; min-height: 96px; padding: 18px 8px 18px 4px; display: grid; grid-template-columns: 40px 46px minmax(0, 1fr) auto; align-items: center; gap: 16px; border-bottom: 1px solid var(--border); transition: background-color .25s ease, border-color .35s ease; }
.rank-item:hover { background: color-mix(in srgb, var(--surface-accent) 45%, transparent); }
.rank-number { font-family: var(--font-serif); color: var(--text-muted); font-size: 17px; font-style: italic; font-variant-numeric: tabular-nums; text-align: center; }
.rank-item:first-child .rank-number { color: var(--accent); font-size: 30px; font-style: normal; font-weight: 700; }
.product-logo { width: 46px; height: 46px; display: grid; place-items: center; border: 1px solid var(--border-strong); border-radius: 4px; background: var(--surface-1); font-family: var(--font-serif); font-size: 19px; font-weight: 700; transition: border-color .35s ease, background-color .35s ease; }
.product-info { min-width: 0; }
.product-line { display: flex; align-items: center; gap: 8px; }
.product-name { position: relative; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 16px; font-weight: 600; letter-spacing: .01em; background-image: linear-gradient(var(--accent), var(--accent)); background-repeat: no-repeat; background-position: 0 100%; background-size: 0 1.5px; transition: background-size .3s ease, color .2s ease; }
.rank-item:hover .product-name { background-size: 100% 1.5px; }
a.product-name:hover { color: var(--accent); }
.verified { color: var(--success); font-size: 14px; }
.external-link { color: var(--text-muted); font-size: 14px; }
.external-link:hover { color: var(--accent); }
.product-description { margin-top: 3px; overflow: hidden; color: var(--text-secondary); font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.product-meta { margin-top: 6px; display: flex; align-items: center; gap: 12px; color: var(--text-muted); font-size: 12px; letter-spacing: .03em; }
.product-meta span { display: inline-flex; align-items: center; gap: 4px; }
.mini-share { padding: 0; display: inline-flex; align-items: center; gap: 4px; border: 0; background: transparent; color: var(--accent); font-size: inherit; letter-spacing: inherit; cursor: pointer; }
.mini-share:hover { color: var(--accent-hover); }
.mini-share:disabled { opacity: .5; cursor: wait; }
.mini-code { position: relative; }
.mini-code summary { display: inline-flex; align-items: center; gap: 4px; color: var(--accent); cursor: pointer; list-style: none; }
.mini-code summary::-webkit-details-marker { display: none; }
.mini-code > div { position: absolute; z-index: 3; top: 26px; left: 0; width: 150px; padding: 10px; border: 1px solid var(--border); border-radius: 6px; background: var(--surface-1); box-shadow: 0 12px 32px -16px rgb(34 31 24 / .35); }
.mini-code img { width: 128px; height: 128px; display: block; border-radius: 3px; object-fit: contain; background: #fff; }
.mini-code > div span { margin-top: 6px; display: block; color: var(--text-secondary); font-size: 12px; text-align: center; }
.offer { color: var(--accent) !important; }
.rank-value { min-width: 92px; text-align: right; }
.rank-value strong { display: block; font-family: var(--font-serif); color: var(--accent); font-size: 22px; font-weight: 700; line-height: 1.2; font-variant-numeric: tabular-nums; }
.rank-value small { display: block; margin-top: 1px; color: var(--text-muted); font-size: 12px; letter-spacing: .06em; }
.rank-value button { margin-top: 4px; padding: 0; border: 0; background: transparent; color: var(--text-muted); font-size: 13px; cursor: pointer; transition: color .2s ease; }
.rank-value button:hover { color: var(--accent); }
.bid-track { position: absolute; right: 0; bottom: -1px; left: 0; width: 100%; height: 2px; overflow: hidden; border: 0; appearance: none; background: transparent; }
.bid-track::-webkit-progress-bar { background: transparent; }
.bid-track::-webkit-progress-value { background: var(--accent); }
.bid-track::-moz-progress-bar { background: var(--accent); }
.save-button.is-saved { color: var(--accent); }
.empty-state { padding: 72px 20px; border-bottom: 1px solid var(--border); text-align: center; }
.empty-state > i { color: var(--text-muted); font-size: 28px; }
.empty-state h2 { margin-top: 12px; font-family: var(--font-serif); }
.empty-state p { margin: 6px 0 20px; color: var(--text-secondary); font-size: 13px; }
.toast { min-height: 0; margin-top: 8px; padding: 0 14px; display: flex; align-items: center; gap: 8px; overflow: hidden; border-radius: 4px; background: var(--ink); color: var(--surface-0); font-size: 13px; opacity: 0; visibility: hidden; transition: min-height .18s ease, opacity .18s ease, visibility 0s linear .18s; }
.toast.is-visible { min-height: 44px; opacity: 1; visibility: visible; transition-delay: 0s; }
.toast > span { flex: 1; }
.toast button { width: 30px; height: 30px; padding: 0; display: none; place-items: center; border: 0; background: transparent; color: inherit; cursor: pointer; }
.toast.is-persistent button { display: grid; }

.submit-panel { padding: 22px; border: 1px solid var(--border); border-top: 3px solid var(--ink); border-radius: 6px; background: var(--surface-1); transition: background-color .35s ease, border-color .35s ease; }
.panel-head { margin-bottom: 18px; display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.panel-head h2 { font-family: var(--font-serif); font-size: 22px; font-weight: 700; }
.panel-close { display: none; }
.panel-mode { margin-bottom: 20px; display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid var(--border); }
.panel-mode[hidden], .mini-fields[hidden] { display: none; }
.panel-mode button { position: relative; height: 38px; border: 0; background: transparent; color: var(--text-muted); font-size: 13px; letter-spacing: .05em; cursor: pointer; }
.panel-mode button::after { content: ""; position: absolute; right: 12px; bottom: -1px; left: 12px; height: 2px; background: var(--accent); transform: scaleX(0); transition: transform .25s ease; }
.panel-mode button:disabled { cursor: not-allowed; opacity: .45; }
.panel-mode button.is-active { color: var(--text-primary); font-weight: 600; }
.panel-mode button.is-active::after { transform: scaleX(1); }
.field { margin-bottom: 14px; display: block; }
.field > span { margin-bottom: 6px; display: block; color: var(--text-secondary); font-size: 13px; letter-spacing: .04em; }
.field em { color: var(--text-muted); font-size: 12px; font-style: normal; }
.field input, .field select { width: 100%; height: 42px; padding: 0 12px; border: 1px solid var(--border); border-radius: 4px; outline: none; background: transparent; color: var(--text-primary); transition: border-color .2s ease; }
.field input:hover, .field select:hover { border-color: var(--border-strong); }
.field input:focus, .field select:focus { border-color: var(--ink); outline: none; }
.field input[aria-invalid="true"] { border-color: var(--accent); }
.field-error { min-height: 14px; display: block; color: var(--accent); font-size: 12px; line-height: 1.35; }
.upload-field { position: relative; margin-bottom: 0; display: block; }
.upload-field > span:first-child { margin-bottom: 6px; display: block; color: var(--text-secondary); font-size: 13px; letter-spacing: .04em; }
.upload-field em { color: var(--text-muted); font-size: 12px; font-style: normal; }
.file-input { position: absolute; z-index: 1; inset: 28px 0 auto; width: 100%; height: 54px; opacity: 0; cursor: pointer; }
.upload-control { min-height: 54px; padding: 10px 12px; display: flex; align-items: center; gap: 9px; border: 1px dashed var(--border-strong); border-radius: 4px; color: var(--text-secondary); font-size: 13px; cursor: pointer; transition: border-color .2s ease, color .2s ease; }
.upload-control:hover { border-color: var(--accent); color: var(--accent); }
.file-input:focus-visible + .upload-control { outline: 2px solid var(--accent); outline-offset: 2px; }
#qrPreview { width: 112px; height: 112px; margin-top: 10px; border: 1px solid var(--border); border-radius: 4px; object-fit: contain; background: #fff; }
.campaign-fields[hidden] { display: none; }
.amount-field > span { margin-bottom: 6px; display: block; color: var(--text-secondary); font-size: 13px; letter-spacing: .04em; }
.amount-input { display: flex; align-items: center; border-bottom: 1px solid var(--ink); transition: border-color .35s ease; }
.amount-input > span { color: var(--text-muted); font-family: var(--font-serif); font-size: 26px; }
.amount-input input { height: 62px; padding: 0 8px; border: 0; background: transparent; font-family: var(--font-serif); font-size: 42px; font-weight: 700; font-variant-numeric: tabular-nums; }
.amount-input input:focus { border: 0; outline: none; }
.amount-input input::-webkit-inner-spin-button { appearance: none; }
.quick-amounts { margin-top: 10px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.quick-amounts button { height: 32px; border: 1px solid var(--border); border-radius: 3px; background: transparent; color: var(--text-secondary); font-size: 13px; font-variant-numeric: tabular-nums; cursor: pointer; transition: border-color .2s ease, color .2s ease; }
.quick-amounts button:hover { border-color: var(--accent); color: var(--accent); }
.estimate { margin: 16px 0 10px; padding: 12px 0; display: grid; grid-template-columns: 1fr auto; align-items: baseline; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); transition: border-color .35s ease; }
.estimate span { color: var(--text-secondary); font-size: 13px; }
.estimate strong { font-family: var(--font-serif); color: var(--accent); font-size: 20px; font-weight: 700; }
.estimate small { grid-column: 1 / -1; margin-top: 4px; color: var(--text-muted); font-size: 12px; }
.balance-note { margin-bottom: 14px; display: flex; align-items: center; gap: 6px; color: var(--text-muted); font-size: 12px; letter-spacing: .03em; }
.agreement { display: flex; align-items: flex-start; gap: 8px; color: var(--text-secondary); font-size: 13px; line-height: 1.55; }
.agreement input { margin: 3px 0 0; accent-color: var(--accent); }
.agreement a { text-decoration: underline; text-underline-offset: 3px; }
.agreement a:hover { color: var(--accent); }
.button-submit { width: 100%; margin-top: 14px; }
.payment-note { margin-top: 10px; display: flex; align-items: center; justify-content: center; gap: 5px; color: var(--text-muted); font-size: 12px; letter-spacing: .04em; }

.how-section { margin: 0 var(--page-gutter); padding: 72px 0 112px; border-top: 1px solid var(--ink); transition: border-color .35s ease; }
.section-heading { padding: 0; display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(260px, .7fr); align-items: end; gap: 60px; }
.section-heading h2 { max-width: 780px; font-family: var(--font-serif); font-size: clamp(34px, 4vw, 56px); font-weight: 700; line-height: 1.15; }
.section-heading p { max-width: 420px; color: var(--text-secondary); font-size: 15px; line-height: 1.75; }
.rules-details { max-width: 760px; margin-top: 44px; color: var(--text-secondary); font-size: 14px; }
.rules-details summary { width: fit-content; padding-bottom: 2px; border-bottom: 1px solid var(--accent); color: var(--text-primary); font-weight: 600; letter-spacing: .05em; cursor: pointer; transition: color .2s ease; }
.rules-details summary:hover { color: var(--accent); }
.rules-details div { padding-top: 14px; line-height: 1.8; }
.site-footer { padding: 56px var(--page-gutter) 60px; display: grid; grid-template-columns: 1fr auto auto; align-items: end; gap: 40px; background: var(--footer-bg); color: var(--footer-text); font-size: 13px; }
.footer-name { font-family: var(--font-serif); font-size: clamp(52px, 7vw, 96px); font-weight: 700; line-height: .95; letter-spacing: .02em; }
.footer-tagline { color: var(--footer-muted); letter-spacing: .08em; }
.site-footer nav { display: flex; gap: 20px; }
.site-footer a:hover { color: var(--footer-muted); }
.mobile-action { display: none; }

@media (max-width: 980px) {
  .intro { padding-top: 56px; gap: 36px; }
  .bid-snapshot { width: 100%; }
  .workspace { grid-template-columns: 1fr; gap: 32px; }
  .submit-panel { display: none; }
  .submit-panel.is-open { display: block; }
  .panel-close { display: grid; }
}

@media (max-width: 700px) {
  :root { --page-gutter: 16px; }
  .site-header { height: 58px; }
  .brand { font-size: 17px; }
  .brand-mark { width: 27px; height: 27px; font-size: 15px; }
  .nav-link, .header-actions .button { display: none; }
  .intro { padding-top: 40px; padding-bottom: 40px; gap: 32px; }
  .intro h1 { max-width: 400px; margin-top: 16px; font-size: clamp(38px, 11vw, 52px); line-height: 1.12; }
  .intro-copy { font-size: 15px; line-height: 1.65; }
  .intro-actions { margin-top: 24px; justify-content: space-between; }
  .intro-actions .button { min-height: 40px; }
  .bid-snapshot { grid-template-columns: repeat(3, 1fr); gap: 14px 12px; padding: 14px 0 16px; }
  .snapshot-values strong { font-size: 22px; }
  .bid-snapshot > p { grid-column: 1 / -1; justify-self: start; }
  .workspace { padding-top: 24px; padding-bottom: 64px; }
  .board-title h2 { font-size: 24px; }
  .board-head { align-items: flex-start; flex-direction: column; gap: 0; }
  .segmented { width: 100%; display: flex; }
  .segment { flex: 1; padding-right: 0; text-align: left; }
  .segment + .segment { margin-left: 0; }
  .segment::after { right: 12px; }
  .reset-note { padding: 8px 0 4px; }
  .categories { flex-wrap: wrap; overflow-x: visible; }
  .rank-item { min-height: 96px; padding: 14px 6px 14px 2px; grid-template-columns: 24px 40px minmax(0, 1fr) auto; gap: 10px; }
  .rank-item:first-child .rank-number { font-size: 22px; }
  .product-logo { width: 40px; height: 40px; font-size: 17px; }
  .product-meta span:first-child { display: none; }
  .product-description { max-width: 42vw; }
  .product-meta { gap: 8px; }
  .product-meta .offer { display: none; }
  .rank-value { min-width: 62px; }
  .rank-value strong { font-size: 18px; }
  .submit-panel { padding: 18px; }
  .how-section { padding: 52px 0 56px; }
  .section-heading { display: flex; align-items: flex-start; flex-direction: column; gap: 10px; }
  .section-heading h2 { font-size: 32px; }
  .site-footer { padding-top: 44px; padding-bottom: 36px; grid-template-columns: 1fr; align-items: start; }
  .footer-name { font-size: 60px; }
  .site-footer nav { flex-wrap: wrap; }
  .mobile-action { min-height: 68px; margin: 0 16px 20px; padding: 10px 0 calc(10px + env(safe-area-inset-bottom)); display: flex; align-items: center; justify-content: space-between; gap: 16px; border-top: 1px solid var(--border); background: var(--surface-0); }
  .mobile-action div span, .mobile-action div small { display: block; }
  .mobile-action div span { font-size: 13px; font-weight: 500; }
  .mobile-action div small { color: var(--text-muted); font-size: 13px; }
  .toast { padding-inline: 12px; }
  .field input, .field select { font-size: 16px; }
}

@media (prefers-reduced-motion: no-preference) {
  .kicker, .intro h1, .intro-copy, .intro-actions, .bid-snapshot { animation: rise .55s cubic-bezier(.22, .61, .21, 1) both; }
  .intro h1 { animation-delay: .06s; }
  .intro-copy { animation-delay: .12s; }
  .intro-actions { animation-delay: .18s; }
  .bid-snapshot { animation-delay: .26s; }
  @keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
  @keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
  .rank-item { animation: row-in .4s cubic-bezier(.22, .61, .21, 1) both; }
  .rank-item:nth-child(2) { animation-delay: .04s; }
  .rank-item:nth-child(3) { animation-delay: .08s; }
  .rank-item:nth-child(4) { animation-delay: .12s; }
  .rank-item:nth-child(5) { animation-delay: .16s; }
  .rank-item:nth-child(6) { animation-delay: .2s; }
  .rank-item:nth-child(n+7) { animation-delay: .24s; }
  @keyframes row-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
