/* =========================================================================
   第二幕 ACT II — 二手包袋店首页
   世界：一间冷光下的档案室。石膏灰的场、墨黑的字、一枚绛红的印。
   包不被陈列，被编目：每一只下面一张标签牌。
   全站零投影、零圆角（按钮 2px）、发丝线分隔；深色只出现一次。
   ========================================================================= */

/* ---------- 0. Tokens ---------- */
:root {
  --field: #E5E7E2;          /* 石膏灰的场 */
  --surface: #F2F3EF;        /* 标签牌 / 面板 */
  --ink: #141715;            /* 字与线 */
  --muted: #525853;          /* 次级信息 5.6:1（纹理最暗处 4.63:1） */
  --line: #C7CBC4;           /* 发丝线 */
  --line-strong: #9AA098;    /* 标签牌 / 表格上线 */
  --accent: #6B1F27;         /* 绛红：主动作 + 印章 9.11:1 */
  --accent-deep: #561820;    /* 悬停 */
  --accent-press: #451219;   /* 按下 */
  --on-accent: #F3F0E9;
  --deep: #1C3A32;           /* 墨绿：唯一一次深场 */
  --deep-lift: #234339;
  --on-deep: #E8E6DE;        /* 9.88:1 */
  --deep-muted: #BFC9BE;     /* 深场次级字 7.2:1（深墙最亮处 6.4:1） */
  --line-deep: #3A574D;
  --brass: #D2B078;          /* 旧黄铜：只在深场里做编号与标注（对深场 6.0:1，最亮处 5.3:1） */
  --sold: #8A8F89;
  --focus: var(--ink);

  --f-display: "Noto Serif SC", "Songti SC", "Source Han Serif SC", "STSong", serif;
  --f-latin: "Bodoni Moda", "Times New Roman", serif;
  --f-mono: "IBM Plex Mono", "SF Mono", ui-monospace, Menlo, monospace;
  --f-body: "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", "Microsoft YaHei", system-ui, sans-serif;

  --t-xs: .78125rem;   /* 12.5 */
  --t-s: 1rem;         /* 16 */
  --t-m: 1.3125rem;    /* 21 */
  --t-l: 1.75rem;      /* 28 */
  --t-xl: 2.375rem;    /* 38 */
  --t-2xl: 3.125rem;   /* 50 */
  --t-display: clamp(2.6rem, 5.4vw, 5.25rem);

  --lh-text: 1.85;
  --lh-title: 1.22;
  --lh-data: 1.35;

  --tr-label: .08em;
  --tr-latin: .18em;
  --tr-brand: .22em;

  --head-h: 72px;
  --gutter: clamp(20px, 4vw, 56px);
  --maxw: 1280px;
  --gap: clamp(16px, 2vw, 28px);
  --radius: 2px;

  /* 动效：一次入场 + 状态反馈；曲线只有两条 */
  --ease-expo: cubic-bezier(.16, 1, .3, 1);
  --ease-out: cubic-bezier(.2, 0, 0, 1);
  --dur-enter: .68s;
  --dur-state: .16s;
  --dur-press: .09s;
}

/* ---------- 1. Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--field);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: var(--t-s);
  line-height: var(--lh-text);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }

/* 场：一面石灰墙 + 从左上角进来的一束窗光。页面像挂在墙前的纸 */
body {
  background-image: url("img/bg-stone.jpg");
  background-repeat: repeat;
  background-size: 760px auto;
  background-color: var(--field);
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(72% 58% at 14% -6%, rgba(255,255,255,.55), rgba(255,255,255,0) 64%),
    radial-gradient(48% 40% at 97% 4%, rgba(255,255,255,.20), rgba(255,255,255,0) 72%);
}
main, .site-foot { position: relative; z-index: 1; }
h1, h2, h3, p, figure, dl, dd, ol, ul { margin: 0; }
ol, ul { padding: 0; list-style: none; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .28em; }
button, input, select { font: inherit; color: inherit; }
::selection { background: var(--accent); color: var(--on-accent); }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
* { caret-color: var(--accent); }

/* 滚动条也要有主题 */
html { scrollbar-color: var(--line-strong) var(--field); scrollbar-width: thin; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--field); }
::-webkit-scrollbar-thumb { background: var(--line-strong); border: 2px solid var(--field); }

.wrap {
  width: min(100% - 2 * var(--gutter), var(--maxw));
  margin-inline: auto;
}
section[id] { scroll-margin-top: calc(var(--head-h) + 8px); }

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--ink); color: var(--on-deep);
  padding: 12px 18px; font-size: var(--t-xs);
}
.skip:focus { left: 12px; top: 12px; }

/* 屏幕阅读器专用 */
.sr {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- 2. Typography helpers ---------- */
.metaline { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.metaline > span { display: inline-flex; align-items: center; }
.metaline > span + span::before {
  content: ""; display: inline-block;
  width: 1px; height: 10px; background: var(--line-strong);
  margin-right: 10px; vertical-align: -1px;
}
.mono {
  font-family: var(--f-mono);
  font-size: var(--t-xs);
  letter-spacing: var(--tr-label);
  line-height: var(--lh-data);
  font-variant-numeric: tabular-nums slashed-zero;
  color: var(--muted);
}
.latin-caps {
  font-family: var(--f-latin);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: var(--tr-latin);
  line-height: 1.1;
}
.h2 {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: clamp(1.9rem, 3vw, 2.75rem);
  line-height: 1.24;
  letter-spacing: .01em;
  text-wrap: balance;
}
.lead--stack { margin-top: 18px; }
.menu__brand { color: var(--muted); }
.lead {
  font-size: var(--t-s);
  line-height: 1.95;
  color: var(--muted);
  max-width: 23em;
  text-wrap: pretty;
}
.link {
  display: inline-block;
  font-size: var(--t-s);
  color: var(--ink);
  text-decoration-line: underline;
  text-decoration-color: var(--line-strong);
  text-decoration-thickness: 1px;
  text-underline-offset: .32em;
  transition: text-decoration-thickness .16s ease, text-decoration-color .16s ease;
}
.link:hover { text-decoration-thickness: 2px; text-decoration-color: var(--ink); }

/* ---------- 3. Header ---------- */
.site-head {
  position: sticky; top: 0; z-index: 10;
  height: var(--head-h);
  background-color: var(--field);
  background-image: url("img/bg-stone.jpg");
  background-size: 760px auto;
  background-repeat: repeat;
  border-bottom: 1px solid var(--line);
}
.site-head__in {
  height: 100%;
  display: flex; align-items: center; gap: clamp(16px, 3vw, 48px);
}
.brand {
  display: flex; align-items: baseline; gap: 12px;
  text-decoration: none; white-space: nowrap;
}
.brand__cn {
  font-family: var(--f-display); font-weight: 600;
  font-size: 1.1875rem; letter-spacing: .12em;
}
.brand__en {
  font-family: var(--f-latin); font-size: .8125rem;
  letter-spacing: var(--tr-brand); text-transform: uppercase;
  color: var(--muted);
}
.nav { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 34px); margin-left: auto; }
.nav a {
  position: relative;
  font-size: .9375rem; color: var(--muted);
  text-decoration: none; white-space: nowrap;
  padding-block: 6px;
  transition: color .16s ease;
}
.nav a:hover { color: var(--ink); }
.nav a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0;
  height: 2px; background: var(--ink);
  transition: right .2s ease;
}
.nav a:hover::after, .nav a[aria-current="page"]::after { right: 0; }
.nav a[aria-current="page"] { color: var(--ink); }
.head-cta { margin-left: 4px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 0 22px;
  border: 1px solid transparent; border-radius: var(--radius);
  background: var(--accent); color: var(--on-accent);
  font-size: .9375rem; letter-spacing: .04em;
  text-decoration: none; cursor: pointer;
  transition: background-color .16s ease, border-color .16s ease;
}
.btn:hover { background: var(--accent-deep); }
.btn:active { background: var(--accent-press); }
.btn:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.btn[disabled], .btn[aria-disabled="true"] {
  background: var(--accent); opacity: .4; cursor: not-allowed;
}

.menu-btn {
  display: none;
  width: 44px; height: 44px; margin-left: auto;
  align-items: center; justify-content: center;
  background: none; border: 1px solid var(--line-strong); border-radius: var(--radius);
  cursor: pointer;
}
.menu-btn svg { width: 18px; height: 18px; }

/* 手机端全屏菜单 */
.menu {
  position: fixed; inset: 0; z-index: 40;
  background: var(--field);
  padding: 24px var(--gutter) 32px;
  display: flex; flex-direction: column;
  transform: translateY(-101%);
  visibility: hidden;
  transition: transform .32s cubic-bezier(.2,.7,.2,1), visibility .32s;
}
.menu.is-open { transform: none; visibility: visible; }
.menu__top { display: flex; align-items: center; justify-content: space-between; height: 48px; }
.menu__close {
  width: 44px; height: 44px; display: grid; place-items: center;
  background: none; border: 1px solid var(--line-strong); border-radius: var(--radius); cursor: pointer;
}
.menu__list { margin-top: 32px; border-top: 1px solid var(--line-strong); }
.menu__list a {
  display: flex; align-items: center; min-height: 60px;
  border-bottom: 1px solid var(--line);
  font-family: var(--f-display); font-size: 1.375rem; text-decoration: none;
}
.menu__foot { margin-top: auto; display: grid; gap: 16px; }
.menu__foot .metaline { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.metaline > span { display: inline-flex; align-items: center; }
.metaline > span + span::before {
  content: ""; display: inline-block;
  width: 1px; height: 10px; background: var(--line-strong);
  margin-right: 10px; vertical-align: -1px;
}

/* ---------- 4. Hero ---------- */
.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 45fr) minmax(0, 55fr);
  min-height: clamp(560px, calc(100svh - var(--head-h)), 860px);
  border-bottom: 1px solid var(--line);
}
.hero__text {
  display: flex; flex-direction: column;
  padding: clamp(28px, 5.4vh, 64px) clamp(20px, 3vw, 48px) clamp(24px, 4vh, 48px)
           max(var(--gutter), calc((100vw - var(--maxw)) / 2));
}
.hero__meta {
  display: flex; align-items: center; flex-wrap: wrap; gap: 12px;
  color: var(--muted);
}
.hero__meta span + span::before {
  content: ""; display: inline-block;
  width: 1px; height: 10px; background: var(--line-strong);
  margin-right: 12px; vertical-align: -1px;
}
.hero h1 {
  margin-top: clamp(20px, 3.6vh, 40px);
  font-family: var(--f-display); font-weight: 600;
  font-size: var(--t-display);
  line-height: 1.16; letter-spacing: .01em;
  text-wrap: balance;
}
.hero__lead { margin-top: clamp(16px, 2.6vh, 28px); }
.hero__actions {
  margin-top: clamp(22px, 3.6vh, 40px);
  display: flex; align-items: center; flex-wrap: wrap; gap: 28px;
}
.hero__note {
  margin-top: auto; padding-top: clamp(20px, 3vh, 32px);
  border-top: 1px solid var(--line);
  color: var(--muted);
}
.hero__note span { color: var(--ink); }

.hero__media { position: relative; overflow: hidden; background: var(--surface); min-height: 0; }
.hero__shot { position: absolute; inset: 0; }
.hero__shot img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: 50% 74%;
}
/* 首屏：唯一一次编排入场。纯 CSS，脚本失败也不遮字；终态就是静态页面 */
.hero__text > *, .plate-hero {
  animation: rise var(--dur-enter) var(--ease-expo) both;
}
.hero__text > *:nth-child(1) { animation-delay: .04s; }
.hero__text > *:nth-child(2) { animation-delay: .10s; }
.hero__text > *:nth-child(3) { animation-delay: .17s; }
.hero__text > *:nth-child(4) { animation-delay: .24s; }
.hero__text > *:nth-child(5) { animation-delay: .31s; }
.plate-hero { animation-delay: .34s; }
.hero__shot img {
  animation: photo-settle .7s var(--ease-expo) both;
}
@keyframes rise {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: none; }
}
@keyframes photo-settle {
  from { transform: scale(1.05); }
  to   { transform: scale(1); }
}

/* 首屏标签牌：压在照片左下角 */
.plate-hero {
  position: absolute;
  left: calc(45% + clamp(16px, 2.4vw, 32px));
  bottom: clamp(16px, 2.4vw, 32px);
  width: min(330px, 33%);
  background: var(--surface);
  border: 1px solid var(--line-strong);
  padding: 18px 20px 16px;
}
.plate-hero__top {
  display: flex; align-items: center; justify-content: space-between;
  color: var(--muted);
}
.plate-hero__brand {
  margin-top: 14px;
  font-family: var(--f-latin); font-size: 1rem;
  letter-spacing: var(--tr-brand); text-transform: uppercase;
}
.plate-hero__name {
  margin-top: 6px;
  font-family: var(--f-display); font-size: 1.3125rem; font-weight: 600;
  line-height: 1.35; letter-spacing: .01em;
}
.plate-hero__spec {
  margin-top: 14px;
  display: grid; grid-template-columns: repeat(3, auto);
  justify-content: space-between; gap: 8px 16px;
  border-top: 1px solid var(--line);
  padding-top: 12px;
}
.plate-hero__spec > div { display: grid; gap: 2px; }
.plate-hero__spec dt { color: var(--muted); }
.plate-hero__spec dd { color: var(--ink); }
.plate-hero__foot {
  margin-top: 14px; padding-top: 12px;
  border-top: 1px solid var(--line);
  display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
}
.plate-hero__price {
  font-family: var(--f-mono); font-size: 1.0625rem;
  letter-spacing: .02em; font-variant-numeric: tabular-nums slashed-zero;
}
.plate-hero__price .cur { font-size: .8em; margin-right: .18em; color: var(--muted); }
.plate-hero__foot .link { font-size: .8125rem; white-space: nowrap; }

/* ---------- 5. Section furniture ---------- */
.section { padding-block: clamp(56px, 8.4vw, 112px); }
.section--tight { padding-block: clamp(48px, 6vw, 80px); }
.sec-head {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 24px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line-strong);
}
.sec-head__left { display: flex; align-items: baseline; flex-wrap: wrap; gap: 10px 22px; }
.sec-head .metaline { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.metaline > span { display: inline-flex; align-items: center; }
.metaline > span + span::before {
  content: ""; display: inline-block;
  width: 1px; height: 10px; background: var(--line-strong);
  margin-right: 10px; vertical-align: -1px;
}
.sec-head__right { padding-bottom: 4px; }

/* ---------- 6. 在售墙 ---------- */
.lots { margin-top: clamp(28px, 3.4vw, 44px); }
.lots__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(32px, 3.6vw, 52px) clamp(16px, 2.2vw, 30px);
}
.lot { display: block; text-decoration: none; color: inherit; }
.lot__fig {
  position: relative; overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--surface);
}
.lot__fig img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s cubic-bezier(.2,.7,.2,1);
}
.lot:hover .lot__fig img, .lot:focus-visible .lot__fig img { transform: scale(1.02); }
.lot--sold .lot__fig img { filter: saturate(.15) opacity(.55); }
.lot--sold:hover .lot__fig img { transform: none; }
.lot__plate { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line-strong); }
.lot__top { display: flex; align-items: baseline; justify-content: space-between; color: var(--muted); }
.lot__name {
  margin-top: 8px;
  font-family: var(--f-display); font-weight: 600;
  font-size: 1.3125rem; line-height: 1.4; letter-spacing: .01em;
}
.lot__brand {
  margin-top: 10px;
  font-family: var(--f-latin); font-size: .9375rem;
  letter-spacing: var(--tr-latin); text-transform: uppercase;
}
.lot__spec { margin-top: 10px; color: var(--muted); }
.lot__foot {
  margin-top: 10px; display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
}
.lot__price {
  font-family: var(--f-mono); font-size: .9375rem;
  font-variant-numeric: tabular-nums slashed-zero;
}
.lot__price .cur { font-size: .82em; color: var(--muted); margin-right: .18em; }
.lot__sold { color: var(--sold); font-family: var(--f-mono); font-size: .9375rem; letter-spacing: var(--tr-label); }
.lot__hint { color: var(--muted); font-size: var(--t-xs); font-family: var(--f-mono); letter-spacing: var(--tr-label); opacity: 0; transition: opacity .2s ease; }
.lot:hover .lot__hint, .lot:focus-visible .lot__hint { opacity: 1; }
.lot--sold .lot__hint { display: none; }

.lots__next {
  margin-top: clamp(32px, 4vw, 48px);
  padding-top: 16px; border-top: 1px solid var(--line);
  display: flex; align-items: baseline; justify-content: space-between; gap: 20px;
}
.lots__next p { color: var(--muted); max-width: 40em; }

/* ---------- 7. 鉴定档案（唯一深场） ---------- */
.archive {
  background-color: var(--deep);
  background-image: url("img/bg-stone-dark.jpg");
  background-size: 760px auto;
  background-repeat: repeat;
  color: var(--on-deep);
  --focus: var(--on-deep);
}
.archive ::selection { background: var(--accent); color: var(--on-accent); }
.archive .mono { color: var(--deep-muted); }
.archive .steps__no { color: var(--brass); }
.archive .detail__caphead { color: var(--brass); }
.archive .detail__no { color: var(--brass); border-color: var(--brass); }
.archive__grid {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6.4fr);
  gap: clamp(32px, 4.4vw, 64px);
  padding-block: clamp(56px, 7.4vw, 104px);
  align-items: start;
}
.archive__text .lead { color: var(--deep-muted); max-width: 24em; }
.archive__text .h2 { color: var(--on-deep); }
.steps { margin-top: clamp(24px, 3vw, 40px); border-top: 1px solid var(--line-deep); }
.steps li {
  display: grid; grid-template-columns: 3.25rem minmax(0, 1fr);
  gap: 4px 12px;
  padding: 14px 0 16px;
  border-bottom: 1px solid var(--line-deep);
}
.steps__no { color: var(--brass); padding-top: 4px; }
.steps__title { font-family: var(--f-display); font-size: 1.1875rem; font-weight: 600; line-height: 1.5; }
.steps__desc { grid-column: 2; color: var(--deep-muted); font-size: .9375rem; line-height: 1.75; }

.archive__figure { display: flex; justify-content: flex-end; }
.detail { margin: 0; width: 100%; max-width: 540px; }
.detail__frame { position: relative; }
.detail__frame img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; display: block; }
.detail__marks { position: absolute; inset: 0; margin: 0; padding: 0; list-style: none; }
.detail__marks li {
  position: absolute; left: var(--mx); top: var(--my);
  width: 28px; height: 28px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--deep); border: 1px solid var(--brass);
  color: var(--brass);
  font-family: var(--f-mono); font-size: .75rem; line-height: 1;
  transform: translate(-50%, -50%);
}
.detail__marks li:nth-child(1) { left: 27.5%; top: 32.4%; }
.detail__marks li:nth-child(2) { left: 44%; top: 77%; }
.detail__marks li:nth-child(3) { left: 64%; top: 44%; }
.detail.is-in .detail__frame img { animation: fig-settle .9s var(--ease-expo) both; }
@keyframes fig-settle {
  from { transform: scale(1.025); }
  to   { transform: scale(1); }
}
.detail__cap {
  margin-top: 14px; padding-top: 12px;
  border-top: 1px solid var(--line-deep);
}
.detail__caphead { color: var(--brass); }
.detail__legend { margin-top: 12px; display: grid; gap: 8px; }
.detail__legend li {
  display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 10px; align-items: baseline;
  color: var(--deep-muted); font-size: .875rem; line-height: 1.7;
}
.detail__legend b { color: var(--on-deep); font-weight: 600; }
.detail__no {
  display: inline-grid; place-items: center;
  width: 18px; height: 18px; border-radius: 50%;
  border: 1px solid var(--brass); color: var(--brass);
  font-size: .625rem; line-height: 1;
}

.grades {
  padding-bottom: clamp(56px, 7vw, 96px);
}
.grades__head {
  display: flex; align-items: baseline; justify-content: space-between; gap: 20px;
  color: var(--deep-muted);
  border-top: 1px solid var(--line-deep);
  padding-top: 20px;
}
.grades__list {
  margin-top: 26px;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(16px, 2.4vw, 32px);
}
.grades__list li { position: relative; padding-top: 22px; }
.grades__list li::before {
  content: ""; position: absolute; top: 0; left: 0;
  width: 1px; height: 12px; background: var(--line-deep);
}
.grade__letter {
  font-family: var(--f-latin); font-size: 2rem; line-height: 1;
}
.grade__now {
  display: inline-block; margin-left: 8px; vertical-align: 4px;
  background: var(--accent); color: var(--on-accent);
  font-family: var(--f-mono); font-size: .625rem; letter-spacing: var(--tr-label);
  padding: 2px 6px;
}
.grade__name {
  margin-top: 10px; font-family: var(--f-display); font-size: 1.0625rem; font-weight: 600;
}
.grade__desc { margin-top: 6px; color: var(--deep-muted); font-size: .875rem; line-height: 1.7; }

/* ---------- 8. 寄卖 ---------- */
.consign__grid {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(32px, 4.4vw, 64px); align-items: start;
}
.steps--light { border-top-color: var(--line-strong); }
.steps--light li { border-bottom-color: var(--line); }
.steps--light .steps__no { color: var(--muted); }
.steps--light .steps__desc { color: var(--muted); }
.figure-43 img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.figcap {
  display: flex; align-items: baseline; justify-content: space-between; gap: 16px;
  margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--line-strong);
  color: var(--muted);
}

/* ---------- 8b. 寄卖单 ---------- */
.slip {
  background: var(--surface);
  border: 1px solid var(--line-strong);
  padding: clamp(20px, 3vw, 34px);
}
.slip__head {
  display: flex; align-items: baseline; justify-content: space-between;
  color: var(--muted);
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line-strong);
}
.slip__rows { margin-top: 4px; }
.slip__rows > div {
  display: grid; grid-template-columns: 5rem minmax(0, 1fr);
  gap: 16px; align-items: baseline;
  padding: 13px 0;
  border-bottom: 1px dotted var(--line-strong);
}
.slip__rows dt { color: var(--muted); font-size: .875rem; }
.slip__rows dd { color: var(--ink); font-size: 1rem; }
.slip__foot { margin-top: 16px; color: var(--muted); }

/* ---------- 9. 到店 & 预约 ---------- */
.visit__grid {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(32px, 4.4vw, 64px); align-items: start;
}
.ledger { margin-top: clamp(24px, 3vw, 36px); border-top: 1px solid var(--line-strong); }
.ledger__row {
  display: grid; grid-template-columns: 5.5rem minmax(0, 1fr);
  gap: 16px; padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.ledger__row dt { color: var(--muted); }
.ledger__row dd { color: var(--ink); }
.ledger__row .metaline { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.metaline > span { display: inline-flex; align-items: center; }
.metaline > span + span::before {
  content: ""; display: inline-block;
  width: 1px; height: 10px; background: var(--line-strong);
  margin-right: 10px; vertical-align: -1px;
}

.booking {
  margin-top: clamp(32px, 4vw, 56px);
  background: var(--surface);
  border: 1px solid var(--line-strong);
  padding: clamp(22px, 3vw, 36px);
  display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: clamp(20px, 3vw, 40px);
}
.booking__intro .h2 { font-size: clamp(1.5rem, 2.2vw, 2rem); }
.booking__intro .lead { margin-top: 10px; font-size: .9375rem; max-width: 26em; }
.booking__form { display: grid; gap: 16px; }
.booking__row {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr);
  gap: 16px;
}
.field { display: grid; gap: 8px; }
.field__label { color: var(--muted); }
.field select, .field input {
  appearance: none; -webkit-appearance: none;
  width: 100%; min-height: 46px;
  padding: 8px 0;
  background: transparent;
  border: 0; border-bottom: 1px solid var(--line-strong); border-radius: 0;
  font-family: var(--f-body); font-size: 1rem;
  transition: border-color .12s ease;
}
.field select {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path d='M1 1l5 5 5-5' fill='none' stroke='%23141715' stroke-width='1.2'/></svg>");
  background-repeat: no-repeat;
  background-position: right 2px center;
  padding-right: 26px;
  cursor: pointer;
}
.field input::placeholder { color: var(--muted); opacity: 1; }
.field select:hover, .field input:hover { border-bottom-color: var(--ink); }
.field select:focus-visible, .field input:focus-visible {
  outline: 2px solid var(--ink); outline-offset: 2px;
  border-bottom-color: var(--ink);
}
.field select:focus { border-bottom-color: var(--ink); }
.field--invalid input { border-bottom-color: var(--accent); }
.field__err {
  color: var(--accent); font-size: .8125rem; line-height: 1.6;
  min-height: 0;
}
.field--invalid .field__err::before { content: "输入有误："; }

.chips { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips legend { padding: 0; color: var(--muted); font-size: var(--t-xs); letter-spacing: var(--tr-label); font-family: var(--f-mono); }
/* 时段：与筛选同一套——没有方框，选中是一条实线 */
.chip { position: relative; }
.chip input {
  position: absolute; opacity: 0; width: 1px; height: 1px;
}
.chip span {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 64px; min-height: 44px; padding: 10px 12px 11px;
  font-family: var(--f-mono); font-size: .8125rem; letter-spacing: .04em;
  color: var(--muted); cursor: pointer;
  transition: color var(--dur-state) var(--ease-out), background-color var(--dur-state) var(--ease-out);
}
.chip span::after {
  content: ""; position: absolute; left: 10px; right: 10px; bottom: 6px; height: 1px;
  background: var(--line-strong);
  transform: scaleX(0); transform-origin: left center;
  transition: transform var(--dur-state) var(--ease-out), background-color var(--dur-state) var(--ease-out);
}
.chip input:hover + span { color: var(--ink); }
.chip input:hover + span::after { transform: scaleX(1); }
.chip input:checked + span { color: var(--ink); }
.chip input:checked + span::after { height: 2px; background: var(--ink); transform: scaleX(1); }
.chip input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 2px; }
.booking__foot {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
}
.booking__note { color: var(--muted); font-size: var(--t-xs); }
.booking__done { padding: 8px 0; }
.booking__done h3 { font-family: var(--f-display); font-size: 1.375rem; font-weight: 600; }
.booking__done p { margin-top: 8px; color: var(--muted); }
.booking__done .metaline { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.metaline > span { display: inline-flex; align-items: center; }
.metaline > span + span::before {
  content: ""; display: inline-block;
  width: 1px; height: 10px; background: var(--line-strong);
  margin-right: 10px; vertical-align: -1px;
}

/* ---------- 10. 常问 ---------- */
.faq__list { border-top: 1px solid var(--line-strong); }
.faq__list details { border-bottom: 1px solid var(--line); }
.faq__list summary {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  min-height: 64px; padding: 14px 0;
  cursor: pointer; list-style: none;
  font-family: var(--f-display); font-size: 1.1875rem; font-weight: 600; line-height: 1.5;
}
.faq__list summary::-webkit-details-marker { display: none; }
.faq__sign { position: relative; flex: 0 0 16px; width: 16px; height: 16px; }
.faq__sign::before, .faq__sign::after {
  content: ""; position: absolute; left: 50%; top: 50%;
  width: 16px; height: 1px; background: var(--ink);
  transform: translate(-50%, -50%);
  transition: transform .2s ease;
}
.faq__sign::after { transform: translate(-50%, -50%) rotate(90deg); }
details[open] .faq__sign::after { transform: translate(-50%, -50%) rotate(0); }
.faq__a { padding: 0 0 20px; color: var(--muted); max-width: 34em; }
.faq__a p + p { margin-top: 8px; }

/* ---------- 11. Footer ---------- */
.site-foot { border-top: 1px solid var(--line-strong); padding-block: clamp(48px, 6vw, 80px) 32px; }
.foot__grid {
  display: grid; grid-template-columns: minmax(0, 1.2fr) repeat(3, minmax(0, .6fr));
  gap: clamp(24px, 3.4vw, 48px);
}
.foot__brand .brand__cn { font-size: clamp(2rem, 3.4vw, 2.75rem); letter-spacing: .1em; }
.foot__brand .brand__en { font-size: 1rem; }
.foot__tag { margin-top: 14px; color: var(--muted); max-width: 20em; }
.foot__col h3 {
  margin: 0 0 14px; color: var(--muted);
  font-family: var(--f-mono); font-size: var(--t-xs); font-weight: 400;
  letter-spacing: var(--tr-label);
}
.foot__col li + li { margin-top: 8px; }
.foot__col a { text-decoration: none; color: var(--ink); }
.foot__col a:hover { text-decoration: underline; text-underline-offset: .28em; }
.foot__bottom {
  margin-top: clamp(36px, 5vw, 64px); padding-top: 18px;
  border-top: 1px solid var(--line);
  display: flex; align-items: baseline; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  color: var(--muted);
}
.foot__note { max-width: 44em; }

/* ---------- 12. Responsive ---------- */
@media (max-width: 1080px) {
  .hero { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .hero__text { padding-right: 24px; }
  .lots__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .archive__grid, .consign__grid, .visit__grid { grid-template-columns: 1fr; }
  .archive__figure { max-width: 640px; }
  .booking { grid-template-columns: 1fr; }
  .foot__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  :root { --head-h: 60px; }
  .nav { display: none; }
  .menu-btn { display: flex; margin-left: 0; }
  .head-cta { margin-left: auto; }
  .site-head__in { gap: 12px; }
  .head-cta .btn { min-height: 44px; padding: 0 16px; font-size: .875rem; }
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero__text { padding: 28px var(--gutter) 32px; }
  .hero__media { order: 2; min-height: 0; overflow: visible; }
  .hero__shot { position: relative; inset: auto; height: 56svh; min-height: 340px; }
  .hero__shot img { position: absolute; inset: 0; object-position: 50% 52%; }
  .plate-hero {
    position: relative; order: 3; left: auto; bottom: auto;
    width: auto; margin: -26px var(--gutter) 0;
  }
  .grades__list { grid-template-columns: 1fr 1fr; }
  .booking__row { grid-template-columns: 1fr; }
  .foot__grid { grid-template-columns: 1fr; gap: 32px; }
  .foot__brand { border-bottom: 1px solid var(--line); padding-bottom: 24px; }
}

@media (max-width: 560px) {
  .site-head .brand__en { display: none; }
  .hero__media { height: 54svh; }
  .lots__grid { grid-template-columns: 1fr; gap: 36px; }
  .sec-head { flex-direction: column; align-items: flex-start; gap: 10px; }
  .sec-head__right { padding-bottom: 0; }
  .lots__next { flex-direction: column; align-items: flex-start; gap: 8px; }
  .steps li { grid-template-columns: 2.6rem minmax(0, 1fr); }
  .foot__bottom { flex-direction: column; gap: 8px; }
}

/* ---------- 13. Motion / reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* =========================================================================
   14. 内页：页头 / 面包屑 / 通用版心
   ========================================================================= */
.page-hero { padding-block: clamp(40px, 6vw, 76px) clamp(28px, 4vw, 48px); border-bottom: 1px solid var(--line); }
.crumb { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; color: var(--muted); }
.crumb a { color: var(--muted); text-decoration: none; }
.crumb a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.crumb span[aria-hidden] { color: var(--line-strong); }
.page-hero h1 {
  margin: 18px 0 0; font-family: var(--f-display); font-weight: 600;
  font-size: clamp(2.1rem, 4.6vw, 3.75rem); line-height: 1.12; letter-spacing: var(--tr-display);
}
.page-hero .lead { margin-top: 18px; max-width: 34em; }
.page-hero__meta { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 10px 22px; color: var(--muted); }
.page-hero--split { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(24px, 5vw, 80px); align-items: end; }

/* =========================================================================
   15. 档案库：筛选条 + 结果
   ========================================================================= */
.filters { border-bottom: 1px solid var(--line); padding-block: 18px; }
.filters__in { display: grid; gap: 14px; }
.filter-row { display: grid; grid-template-columns: 5.5rem minmax(0, 1fr); gap: 12px 18px; align-items: baseline; }
.filter-row + .filter-row { margin-top: 6px; padding-top: 10px; border-top: 1px solid var(--line); }
.filter-row__label { color: var(--muted); padding-top: 12px; }
/* 筛选：没有方框。选项是一行可点的字，选中用一条 2px 的发丝线，计数是跟在后面的小号数字 */
.filter-chips { display: flex; flex-wrap: wrap; gap: 0 10px; }
.filter-chip { position: relative; }
.filter-chip input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.filter-chip > span {
  position: relative;
  display: inline-flex; align-items: baseline; gap: 7px;
  min-height: 44px; padding: 10px 8px 11px;
  font-size: .9375rem; line-height: 1.5; color: var(--muted);
  background: none; border: 0;
  transition: color var(--dur-state) var(--ease-out),
              background-color var(--dur-state) var(--ease-out);
}
.filter-chip > span::after {
  content: ""; position: absolute; left: 8px; right: 8px; bottom: 5px; height: 1px;
  background: var(--line-strong);
  transform: scaleX(0); transform-origin: left center;
  transition: transform var(--dur-state) var(--ease-out), background-color var(--dur-state) var(--ease-out);
}
.filter-chip input:hover + span { color: var(--ink); }
.filter-chip input:hover + span::after { transform: scaleX(1); }
.filter-chip input:checked + span { color: var(--ink); }
.filter-chip input:checked + span::after { height: 2px; background: var(--ink); transform: scaleX(1); }
.filter-chip input:active + span { background-color: rgba(20, 23, 21, .04); }
.filter-chip input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 2px; }
.filter-chip .n { font-family: var(--f-mono); font-size: .6875rem; letter-spacing: .06em; color: var(--muted); font-variant-numeric: tabular-nums; }
.filter-chip input:checked + span .n { color: var(--ink); }
.filter-chip input:hover + span .n { color: var(--ink); }
.filters__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding-top: 4px; }
.results { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 12px; padding-block: 20px; border-bottom: 1px solid var(--line); }
.results__count { color: var(--muted); }
.results__count b { color: var(--ink); font-family: var(--f-mono); font-weight: 400; }
.sort { display: inline-flex; align-items: center; gap: 10px; }
.sort select {
  -webkit-appearance: none; appearance: none; border: 0; border-bottom: 1px solid var(--line-strong);
  background-color: transparent; font: inherit; font-size: .875rem; color: var(--ink); padding: 4px 24px 6px 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23525853' stroke-width='1.2'/%3E%3C/svg%3E");
  background-position: right 2px center; background-size: 10px 6px; background-repeat: no-repeat;
}
.sort select:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.empty { padding-block: 72px; text-align: left; border-bottom: 1px solid var(--line); }
.empty h3 { font-family: var(--f-display); font-size: 1.5rem; font-weight: 600; }
.empty p { margin-top: 10px; color: var(--muted); max-width: 34em; }
.empty .btn { margin-top: 22px; }
.filter-note { color: var(--muted); font-size: var(--t-xs); }
.filter-note b { color: var(--ink); font-weight: 400; }

/* =========================================================================
   16. 档案详情
   ========================================================================= */
.lotpage { display: grid; grid-template-columns: minmax(0, 1.06fr) minmax(0, .94fr); gap: clamp(28px, 5vw, 76px); align-items: start; padding-block: clamp(28px, 4vw, 52px) clamp(48px, 6vw, 80px); }
.gallery { display: grid; gap: 12px; position: sticky; top: calc(var(--head-h) + 20px); }
.gallery__main { position: relative; background: var(--surface); }
.gallery__main img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.gallery__thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.gallery__thumb { border: 0; padding: 0; background: none; cursor: pointer; display: block; overflow: hidden; }
.gallery__thumb img { width: 100%; aspect-ratio: 1; object-fit: cover; opacity: .58; transition: opacity .2s ease; }
.gallery__thumb[aria-pressed="true"] img, .gallery__thumb:hover img { opacity: 1; }
.gallery__thumb:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.lotinfo { min-width: 0; }
.lotinfo__top { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 10px; color: var(--muted); }
.badge-status { display: inline-flex; align-items: center; gap: 6px; }
.badge-status .dot { width: 6px; height: 6px; background: var(--accent); border-radius: 50%; }
.badge-status--sold .dot { background: var(--sold); }
.lotinfo__brand { margin-top: 26px; font-family: var(--f-latin); font-size: .9375rem; letter-spacing: .18em; color: var(--muted); }
.lotinfo h1 { margin: 8px 0 0; font-family: var(--f-display); font-weight: 600; font-size: clamp(1.9rem, 3.4vw, 2.9rem); line-height: 1.18; }
.lotinfo__price { margin-top: 18px; font-family: var(--f-mono); font-size: 1.5rem; font-variant-numeric: tabular-nums; }
.lotinfo__price .cur { font-size: .72em; margin-right: .18em; color: var(--muted); }
.lotinfo__story { margin-top: 18px; color: var(--muted); max-width: 32em; }
.spec { margin-top: 28px; border-top: 1px solid var(--line-strong); }
.spec__row { display: grid; grid-template-columns: 6.5rem minmax(0, 1fr); gap: 16px; padding-block: 11px; border-bottom: 1px solid var(--line); }
.spec__row dt { color: var(--muted); font-size: .875rem; }
.spec__row dd { margin: 0; color: var(--ink); font-size: .9375rem; }
.spec__row dd .mono { color: var(--ink); }
.lotinfo__cta { margin-top: 30px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.lotinfo__note { margin-top: 16px; color: var(--muted); font-size: var(--t-xs); }
.soldbox { margin-top: 30px; padding: 20px 22px; border: 1px solid var(--line-strong); background: var(--surface); }
.soldbox h2 { font-family: var(--f-display); font-size: 1.25rem; font-weight: 600; }
.soldbox p { margin-top: 8px; color: var(--muted); font-size: .9375rem; }
.soldbox .link { margin-top: 12px; display: inline-block; }
.cond { border-top: 1px solid var(--line); padding-block: clamp(44px, 5vw, 72px); }
.cond__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(26px, 4vw, 64px); align-items: start; margin-top: clamp(18px, 3vw, 32px); }
.cond__fig { margin: 0; position: relative; }
.cond__fig img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; display: block; }
.cond__fig .marks { position: absolute; inset: 0; margin: 0; padding: 0; list-style: none; font-style: normal; }
.cond__fig .marks li {
  position: absolute; transform: translate(-50%, -50%); width: 26px; height: 26px; border-radius: 50%;
  display: grid; place-items: center; background: var(--ink); color: var(--on-deep);
  font-family: var(--f-mono); font-size: .6875rem; letter-spacing: 0; font-style: normal;
}
.cond__legend { margin: 0; padding: 0; list-style: none; }
.cond__legend li { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 14px; padding-block: 14px; border-bottom: 1px solid var(--line); }
.cond__legend b { display: block; font-weight: 600; }
.cond__legend span { color: var(--muted); font-size: .9375rem; }
.cond__score { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px 16px; margin-bottom: 18px; }
.cond__score .grade { font-family: var(--f-display); font-size: 2.4rem; line-height: 1; }
.acc { margin-top: 34px; }
.acc h3 { font-family: var(--f-display); font-size: 1.0625rem; font-weight: 600; }
.acc ul { margin: 12px 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.acc li { border: 1px solid var(--line-strong); padding: 5px 10px; font-size: .8125rem; }
.acc li.is-no { color: var(--muted); border-style: dashed; text-decoration: line-through; }
.related { border-top: 1px solid var(--line); padding-block: clamp(44px, 5vw, 72px); }

/* =========================================================================
   17. 表单（寄卖 / 预约）
   ========================================================================= */
.form { display: grid; gap: 18px 24px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.form .field--full { grid-column: 1 / -1; }
.form .field__hint { color: var(--muted); font-size: var(--t-xs); }
.form fieldset { border: 0; padding: 0; margin: 0; }
.form textarea {
  border: 0; border-bottom: 1px solid var(--line-strong); background: var(--surface);
  padding: 12px; min-height: 92px; resize: vertical; font: inherit; color: var(--ink);
  border-radius: var(--r);
}
.form textarea:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; border-bottom-color: var(--ink); }
/* 附件：一个清单，不是一排按钮。只留一个 14px 的小方框 */
.check {
  display: inline-flex; align-items: center; gap: 9px;
  min-height: 44px; padding: 0 2px;
  font-size: .9375rem; color: var(--muted); cursor: pointer; border: 0;
  transition: color var(--dur-state) var(--ease-out);
}
.check:hover { color: var(--ink); }
.check:has(input:checked) { color: var(--ink); }
.check input {
  appearance: none; -webkit-appearance: none;
  width: 14px; height: 14px; min-height: 0; padding: 0; margin: 0; flex: 0 0 14px;
  border: 1px solid var(--line-strong); border-radius: 1px;
  background: transparent; position: relative; cursor: pointer;
  transition: background-color var(--dur-state) var(--ease-out), border-color var(--dur-state) var(--ease-out);
}
.check input:checked { background: var(--ink); border-color: var(--ink); }
.check input:checked::after {
  content: ""; position: absolute; left: 3px; top: 1px;
  width: 5px; height: 9px;
  border-right: 1.5px solid var(--surface); border-bottom: 1.5px solid var(--surface);
  transform: rotate(42deg);
}
.check input:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.form__foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; padding-top: 6px; border-top: 1px solid var(--line); }
.form__note { color: var(--muted); font-size: var(--t-xs); max-width: 32em; }
.form__done { padding: clamp(20px, 4vw, 40px); border: 1px solid var(--line-strong); background: var(--surface); }
.form__done h2 { font-family: var(--f-display); font-size: clamp(1.5rem, 2.6vw, 2.1rem); font-weight: 600; }
.form__done .metaline { margin-top: 14px; }
.form__done p { margin-top: 12px; color: var(--muted); }
.form__done ol { margin: 18px 0 0; padding-left: 20px; color: var(--muted); display: grid; gap: 8px; }
.form__err { grid-column: 1 / -1; color: var(--accent); font-size: .875rem; }
.form__err:empty { display: none; }
.checkgroup { display: flex; flex-wrap: wrap; gap: 8px 18px; }

/* =========================================================================
   18. 关于 / 须知 / 联系
   ========================================================================= */
.about-grid { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: clamp(26px, 5vw, 72px); align-items: start; }
.about-grid h2 { font-family: var(--f-display); font-weight: 600; font-size: clamp(1.6rem, 2.8vw, 2.4rem); line-height: 1.25; }
.rules { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line-strong); }
.rules li { display: grid; grid-template-columns: 3rem minmax(0, 1fr); gap: 8px 18px; padding-block: 18px; border-bottom: 1px solid var(--line); }
.rules .no { font-family: var(--f-mono); font-size: .8125rem; color: var(--muted); padding-top: 3px; }
.rules b { font-family: var(--f-display); font-size: 1.125rem; font-weight: 600; }
.rules p { grid-column: 2; color: var(--muted); font-size: .9375rem; }
.prose p + p { margin-top: 14px; }
.prose p { color: var(--muted); max-width: 36em; }
.prose strong { color: var(--ink); font-weight: 600; }
.notice { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line-strong); }
.notice li { display: grid; grid-template-columns: 1.5rem minmax(0, 1fr); gap: 10px; padding-block: 12px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: .9375rem; }
.notice .n { font-family: var(--f-mono); font-size: .75rem; color: var(--ink); }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--line); border-block: 1px solid var(--line); }
.stats > div { background: var(--field); padding: 22px 18px; }
.stats .k { color: var(--muted); }
.stats .v { margin-top: 8px; font-family: var(--f-display); font-size: clamp(1.6rem, 3vw, 2.4rem); line-height: 1.1; font-variant-numeric: tabular-nums; }
.stats .u { color: var(--muted); font-size: .8125rem; }
.contactcard { border: 1px solid var(--line-strong); background: var(--surface); padding: clamp(20px, 3vw, 32px); }
.contactcard h2 { font-family: var(--f-display); font-size: 1.375rem; font-weight: 600; }
.contactcard p { margin-top: 10px; color: var(--muted); }
.contactcard .metaline { margin-top: 16px; }

/* 内页页头：同一套入场，幅度更小 */
.page-hero .crumb,
.page-hero h1,
.page-hero .lead,
.page-hero__meta,
.page-hero .page-hero__actions,
.page-hero .hero__actions {
  animation: rise var(--dur-enter) var(--ease-expo) both;
}
.page-hero .crumb { animation-delay: .02s; }
.page-hero h1 { animation-delay: .08s; }
.page-hero .lead { animation-delay: .15s; }
.page-hero__meta,
.page-hero .page-hero__actions,
.page-hero .hero__actions { animation-delay: .22s; }

/* =========================================================================
   19. 动效：进场（可被减少动效关闭）
   ========================================================================= */
/* 筛选后的卡片：只做状态反馈（淡入 + 6px），从可见终态开始，不制造"整页进场" */
.lot--in {
  animation: card-in .26s var(--ease-out) both;
  animation-delay: calc(var(--i, 0) * 40ms);
}
@keyframes card-in {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: none; }
}

/* =========================================================================
   20. 内页响应式
   ========================================================================= */
@media (max-width: 1080px) {
  .lotpage { grid-template-columns: 1fr; }
  .gallery { position: static; }
  .cond__grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .page-hero--split { grid-template-columns: 1fr; align-items: start; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .filter-row { grid-template-columns: 1fr; gap: 6px; }
  .filter-row__label { padding-top: 0; }
  .form { grid-template-columns: 1fr; }
  .results { gap: 8px; }
  .lotinfo__cta .btn { width: 100%; justify-content: center; }
}

/* ---------- 21. 小工具 ---------- */
.crumb-band { padding-top: 24px; }
.note-band { padding-block: 40px; }
.lotinfo__top .mono { color: var(--muted); }
.sec-head__right.mono { color: var(--muted); }

/* ---------- 22. 修正：勾选项不换行、文字按钮、标注序号 ---------- */
.check { flex: 0 0 auto; white-space: nowrap; }
.checkgroup { row-gap: 8px; }
button.link { background: none; border: 0; padding: 0; cursor: pointer; font: inherit; color: var(--ink);
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .28em; }
button.link:hover { text-decoration-thickness: 2px; }
.cond__legend .no {
  width: 26px; height: 26px; border: 1px solid var(--line-strong); border-radius: 50%;
  display: grid; place-items: center; color: var(--ink); font-size: .75rem;
}
.lotinfo__price.is-sold { color: var(--muted); }
.lotinfo__price .sold-tag { margin-left: 10px; font-family: var(--f-body); font-size: .8125rem; color: var(--muted); }
.pad-top { margin-top: 18px; }
.soldbox .link { margin-left: 18px; }
.soldbox .btn { margin-top: 6px; }
.form[hidden] { display: none; }


/* =========================================================================
   23. 动效与细节（v2）
   ========================================================================= */

/* 锚点：sticky 页眉不盖住 #booking 这类落点 */
[id] { scroll-margin-top: calc(var(--head-h) + 24px); }
#booking { scroll-margin-top: calc(var(--head-h) + 32px); }

/* 链接：默认就有下划线（可读性），hover 时加粗、加深——不是从"没下划线"变出来 */
.link {
  display: inline-block;
  text-decoration-line: underline;
  text-decoration-thickness: 1px;
  text-decoration-color: var(--line-strong);
  text-underline-offset: .3em;
  transition: text-decoration-color var(--dur-state) var(--ease-out),
              text-decoration-thickness var(--dur-state) var(--ease-out),
              color var(--dur-state) var(--ease-out);
}
.link:hover, .link:focus-visible { text-decoration-thickness: 2px; text-decoration-color: var(--ink); }

/* 按钮：按下时下沉 1px、缩 1.5%；不改变命中区域 */
.btn {
  transition: background-color var(--dur-state) var(--ease-out),
              border-color var(--dur-state) var(--ease-out),
              transform var(--dur-press) var(--ease-out);
}
.btn:active { transform: translateY(1px) scale(.985); }

/* 商品卡：卡面轻抬 2px，上沿线加深；被移动的是子元素，不是命中区域 */
.lot__plate {
  transition: transform var(--dur-state) var(--ease-out),
              border-color var(--dur-state) var(--ease-out);
}
.lot:hover .lot__plate,
.lot:focus-visible .lot__plate { transform: translateY(-2px); border-top-color: var(--ink); }
.lot:focus-visible { outline: 2px solid var(--ink); outline-offset: 6px; }
.lot--sold:hover .lot__plate { transform: none; border-top-color: var(--line-strong); }

/* 筛选条：按下即时回弹；结果计数变化时轻轻落一下 */
.chip span { transition: background-color var(--dur-state) var(--ease-out),
                         border-color var(--dur-state) var(--ease-out),
                         color var(--dur-state) var(--ease-out),
                         transform var(--dur-press) var(--ease-out); }
.chip input:active + span { transform: scale(.98); }
.results__count.is-tick { animation: tick .22s var(--ease-out); }
@keyframes tick {
  from { opacity: .35; transform: translateY(4px); }
  to   { opacity: 1; transform: none; }
}

/* 图库：换图时交叉淡入，不是硬切 */
.gallery__main img { transition: opacity .18s var(--ease-out); }
.gallery__thumb { transition: opacity var(--dur-state) var(--ease-out); }
.gallery__thumb img { transition: opacity .18s var(--ease-out), transform .4s var(--ease-expo); }
.gallery__thumb:hover img { transform: scale(1.03); }

/* 表单：输入框聚焦时 3px 柔环（与 2px 硬环并存，键盘可见） */
.field select:focus-visible, .field input:focus-visible,
.field textarea:focus-visible {
  box-shadow: 0 0 0 3px rgba(107, 31, 39, .12);
}
.field textarea { caret-color: var(--accent); }
.field input, .field select { caret-color: var(--accent); }
::selection { background: var(--accent); color: var(--on-accent); }

/* 成功回执：进场一次，随后是静态内容 */
.booking__done, .form__done { animation: rise .5s var(--ease-expo) both; }

.plainlist { margin: 18px 0 8px; padding: 0; list-style: none; display: grid; gap: 10px; }
.plainlist li { border-bottom: 1px solid var(--line); padding-bottom: 10px; }
.lotinfo__print { margin-top: 18px; }

/* 页间转场（支持的浏览器）：头与页脚保持，内容交叉 180ms */
@view-transition { navigation: auto; }
.site-head { view-transition-name: site-head; }
.site-foot { view-transition-name: site-foot; }
::view-transition-old(root) { animation-duration: .18s; }
::view-transition-new(root) { animation-duration: .18s; }

/* 减少动效：全部入场与装饰动画关掉，终态显示 */
@media (prefers-reduced-motion: reduce) {
  .hero__text > *, .plate-hero, .hero__shot img,
  .page-hero .crumb, .page-hero h1, .page-hero .lead,
  .page-hero__meta, .page-hero .page-hero__actions, .page-hero .hero__actions,
  .lot--in, .booking__done, .form__done,
  .results__count.is-tick, .detail.is-in .detail__frame img {
    animation: none;
  }
  .btn, .link, .lot__plate, .chip span, .gallery__main img,
  .gallery__thumb, .gallery__thumb img, .lot__fig img { transition: none; }
  .btn:active { transform: none; }
  .lot:hover .lot__plate, .lot:focus-visible .lot__plate { transform: none; }
  @view-transition { navigation: none; }
}

/* 打印：一只包的档案就是一张纸 */
@media print {
  @page { margin: 14mm 12mm; }
  .site-head, .site-foot, .skip, .menu, .menu-btn, .lotinfo__print,
  .gallery__thumbs, .lotinfo__cta, .related, .crumb-band,
  .booking, .filters, .form { display: none; }
  body { background: #FBFAF7; }
  body::before { display: none; }
  .lotpage { display: grid; grid-template-columns: 40% minmax(0, 1fr); gap: 10mm; align-items: start; }
  .gallery__main img { max-height: 58vh; width: auto; margin-inline: auto; }
  .spec { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 8mm; }
  .lotinfo__story { margin-bottom: 6mm; }
  #lotName, .lotinfo__price { color: var(--ink); }
  .cond__grid { display: grid; grid-template-columns: 42% minmax(0, 1fr); gap: 8mm; }
  .lotpage, .cond { page-break-inside: avoid; }
  .cond { page-break-before: always; }
  .cond__fig { break-inside: avoid; }
  .marks li { background: var(--ink); border-color: var(--ink); color: #FBFAF7; }
  .plainlist { display: none; }
  .spec, .cond__legend { break-inside: avoid; }
  a[href^="#"] { text-decoration: none; }
}

/* =========================================================================
   24. 手机端收口：触控目标、触屏没有 hover、刘海安全区
   ========================================================================= */
html { -webkit-tap-highlight-color: transparent; }
body {
  padding-left: env(safe-area-inset-left);
  padding-right: env(safe-area-inset-right);
}
.menu {
  padding-left: max(24px, env(safe-area-inset-left));
  padding-right: max(24px, env(safe-area-inset-right));
}

@media (max-width: 860px) {
  .brand { display: inline-flex; align-items: center; min-height: 44px; }
  .foot__brand .brand { min-height: 0; }
  .foot__col li + li { margin-top: 0; }
  .foot__col a { display: inline-flex; align-items: center; min-height: 44px; }
  .crumb a { display: inline-flex; align-items: center; min-height: 44px; padding-inline: 7px; margin-inline: -7px; }
  button.link { display: inline-flex; align-items: center; min-height: 44px; }
  .sort select { min-height: 44px; }
  .results__count { display: inline-flex; align-items: center; min-height: 44px; }
  /* 行内链接不改变行高，但把命中区加到 44px（上下 padding + 等量负 margin） */
  .link { padding-block: 10px; margin-block: -10px; }
  .soldbox .link { margin-left: 0; margin-top: 10px; }
}

/* 触屏没有 hover：把"查看档案"直接露出来，并取消只在鼠标上成立的位移 */
@media (hover: none) {
  .lot__hint { opacity: 1; }
  .lot:hover .lot__fig img { transform: none; }
  .lot:hover .lot__plate { transform: none; border-top-color: var(--line-strong); }
  .lot:active .lot__fig img { transform: scale(.995); }
  .filter-chip input:hover:not(:checked) + span::after { transform: scaleX(0); }
  .chip input:hover:not(:checked) + span::after { transform: scaleX(0); }
  .nav a:hover::after { right: 100%; }
  .gallery__thumb:hover img { transform: none; }
}
