@charset "UTF-8";
/* ==========================================================================
   WhatsApp 网页版 · 使用场景手册
   设计方向：新粗野主义（Neo-brutalism）精致版
   暖白底 + 2px 硬黑边框 + 纯黑偏移投影 + 单一高饱和橙
   无圆角、无渐变、无毛玻璃。所有颜色走变量。
   ========================================================================== */

:root {
  --bg: #f0ede6;
  --surface: #fffdf9;
  --ink: #111110;
  --ink-soft: #35312a;
  --muted: #6d665b;
  --line: #111110;
  --accent: #ff4d00;
  --accent-deep: #8f2a00;
  --yellow: #ffd400;
  --tint: #e4e0d6;
  --ok: #1c6b3c;

  --font-sans: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", "Noto Sans SC", system-ui, sans-serif;
  --font-mono: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;

  --fs-xs: 0.75rem;
  --fs-sm: 0.85rem;
  --fs-base: 1.0625rem;
  --fs-md: 1.19rem;
  --fs-lg: 1.4rem;
  --fs-xl: clamp(1.5rem, 2.4vw, 2rem);
  --fs-2xl: clamp(1.85rem, 3.4vw, 2.9rem);
  --fs-3xl: clamp(2.3rem, 5vw, 3.9rem);

  --sp-1: 0.25rem;
  --sp-2: 0.5rem;
  --sp-3: 1rem;
  --sp-4: 1.5rem;
  --sp-5: 2.4rem;
  --sp-6: 4rem;
  --sp-7: 6rem;

  --gutter: clamp(1.1rem, 4.5vw, 3.5rem);
  --maxw: 74rem;
  --border: 2px solid var(--ink);
  --shadow: 5px 5px 0 var(--ink);
  --shadow-lg: 8px 8px 0 var(--ink);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---------- 重置 ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: var(--fs-base);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, p, ul, ol, dl, figure, blockquote { margin: 0; }
ul, ol { padding: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
img, svg { max-width: 100%; }
img { height: auto; }
table { border-collapse: collapse; width: 100%; }
code, kbd { font-family: var(--font-mono); font-size: 0.9em; }
strong { font-weight: 700; }

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}
::selection { background: var(--ink); color: var(--yellow); }

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ---------- 顶条 ---------- */
.topbar {
  background: var(--ink);
  color: var(--bg);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.topbar-in {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.45rem;
}
.topbar b { color: var(--yellow); font-weight: 400; }

/* ---------- 报头 ---------- */
.masthead {
  background: var(--surface);
  border-bottom: var(--border);
  position: sticky;
  top: 0;
  z-index: 30;
}
.masthead-in {
  display: flex;
  align-items: center;
  gap: clamp(0.8rem, 2vw, 1.8rem);
  min-height: 4rem;
  padding-block: 0.6rem;
}
.logo { display: flex; align-items: center; gap: 0.6rem; margin-right: auto; }
.logo-mark {
  width: 2.1rem; height: 2.1rem;
  background: var(--ink);
  color: var(--yellow);
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  flex: none;
}
.logo-text {
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.logo-text span {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 400;
  letter-spacing: 0.16em;
  color: var(--muted);
  text-transform: uppercase;
  line-height: 1.2;
}

/* 标签式导航 */
.tabs { display: flex; gap: 0.35rem; }
.tabs a {
  display: block;
  border: 2px solid transparent;
  padding: 0.32rem 0.6rem;
  font-size: var(--fs-sm);
  font-weight: 600;
  white-space: nowrap;
  transition: background var(--ease) 140ms, border-color 140ms;
}
.tabs a:hover { border-color: var(--ink); background: var(--tint); }
.tabs a[aria-current="page"] {
  background: var(--accent);
  color: #fff;
  border-color: var(--ink);
}
@media (max-width: 1080px) { .tabs { display: none; } }

.head-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--ink);
  color: var(--surface);
  border: 2px solid var(--ink);
  padding: 0.4rem 0.85rem;
  font-size: var(--fs-sm);
  font-weight: 700;
  white-space: nowrap;
  box-shadow: 3px 3px 0 var(--accent);
  transition: transform 120ms var(--ease), box-shadow 120ms var(--ease);
}
.head-btn:hover { transform: translate(-2px, -2px); box-shadow: 5px 5px 0 var(--accent); }
.head-btn:active { transform: translate(1px, 1px); box-shadow: 2px 2px 0 var(--accent); }
@media (max-width: 640px) { .head-btn { display: none; } }

/* 移动菜单 */
.menu { position: relative; display: none; }
@media (max-width: 1080px) { .menu { display: block; } }
.menu > summary {
  list-style: none;
  cursor: pointer;
  border: 2px solid var(--ink);
  padding: 0.3rem 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  background: var(--surface);
  min-height: 2rem;
  display: grid;
  place-items: center;
}
.menu > summary::-webkit-details-marker { display: none; }
.menu[open] > summary { background: var(--ink); color: var(--surface); }
.menu-list {
  position: absolute;
  right: 0;
  top: calc(100% + 0.4rem);
  min-width: 12rem;
  background: var(--surface);
  border: var(--border);
  box-shadow: var(--shadow);
  display: grid;
  z-index: 10;
}
.menu-list a {
  padding: 0.6rem 0.9rem;
  font-size: var(--fs-sm);
  border-bottom: 1px solid var(--tint);
}
.menu-list a:last-child { border-bottom: 0; }
.menu-list a[aria-current="page"] { background: var(--accent); color: #fff; }

/* ---------- 首屏 ---------- */
.hero { padding-block: clamp(2rem, 4.5vw, 3.6rem) clamp(1.6rem, 3vw, 2.6rem); }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.65fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: start;
}
@media (max-width: 900px) { .hero-grid { grid-template-columns: minmax(0, 1fr); } }

.kicker {
  display: inline-block;
  background: var(--ink);
  color: var(--yellow);
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 0.22rem 0.5rem;
  margin-bottom: 1.1rem;
}
h1 {
  font-size: var(--fs-3xl);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.035em;
  margin-bottom: 1.1rem;
}
h1 em {
  font-style: normal;
  color: var(--accent);
  /* 用下划粗线代替斜体，形成色块感 */
  background-image: linear-gradient(var(--accent), var(--accent));
  background-repeat: no-repeat;
  background-size: 100% 0.12em;
  background-position: 0 0.88em;
  padding-bottom: 0.04em;
}
.hero-lead {
  font-size: var(--fs-md);
  line-height: 1.75;
  max-width: 33em;
  color: var(--ink-soft);
}
.hero-acts { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.6rem; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 2.9rem;
  padding: 0.6rem 1.2rem;
  border: var(--border);
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  font-size: var(--fs-sm);
  box-shadow: 4px 4px 0 var(--ink);
  transition: transform 120ms var(--ease), box-shadow 120ms var(--ease);
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); }
.btn:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink); }
.btn-dark { background: var(--ink); color: var(--surface); box-shadow: 4px 4px 0 var(--accent); }
.btn-dark:hover { box-shadow: 6px 6px 0 var(--accent); }
.btn-ghost { background: var(--surface); color: var(--ink); }

/* 首屏右侧：判断卡 */
.verdict {
  background: var(--surface);
  border: var(--border);
  box-shadow: var(--shadow-lg);
  padding: 1.1rem;
}
.verdict h2 {
  font-size: 0.72rem;
  font-family: var(--font-mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 400;
  border-bottom: 2px solid var(--ink);
  padding-bottom: 0.55rem;
  margin-bottom: 0.8rem;
}
.verdict ol { list-style: none; display: grid; gap: 0.55rem; }
.verdict li {
  display: grid;
  grid-template-columns: 1.35rem minmax(0, 1fr);
  gap: 0.6rem;
  font-size: var(--fs-sm);
  line-height: 1.55;
  align-items: start;
}
.verdict li b {
  display: grid;
  place-items: center;
  width: 1.35rem; height: 1.35rem;
  background: var(--ink);
  color: var(--surface);
  font-family: var(--font-mono);
  font-size: 0.66rem;
  font-weight: 400;
}
.verdict li.yes b { background: var(--ok); }
.verdict li.no b { background: var(--accent); }
.verdict .sum {
  margin-top: 0.9rem;
  padding-top: 0.75rem;
  border-top: 2px dashed var(--ink);
  font-size: var(--fs-sm);
  font-weight: 700;
}

/* ---------- 指标条 ---------- */
.metrics {
  background: var(--ink);
  color: var(--surface);
  border-top: var(--border);
  border-bottom: var(--border);
}
.metrics-in {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.metrics-in > div {
  padding: 1.15rem 1rem;
  border-right: 1px solid #3a352c;
}
.metrics-in > div:last-child { border-right: 0; }
.metrics b {
  display: block;
  font-family: var(--font-mono);
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  color: var(--yellow);
  font-weight: 400;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.metrics span {
  display: block;
  margin-top: 0.45rem;
  font-size: 0.72rem;
  color: #b8b1a4;
  line-height: 1.5;
}
@media (max-width: 700px) {
  .metrics-in { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .metrics-in > div:nth-child(2) { border-right: 0; }
  .metrics-in > div:nth-child(-n+2) { border-bottom: 1px solid #3a352c; }
}

/* ---------- 区块 ---------- */
.sec { padding-block: clamp(2.2rem, 5vw, 4.2rem); }
.sec + .sec { border-top: 2px solid var(--ink); }
.sec-tint { background: var(--tint); }
.sec-dark { background: var(--ink); color: var(--surface); }
.sec-dark .sec-sub, .sec-dark .lead { color: #b8b1a4; }
.sec-dark .tag-line { background: var(--yellow); color: var(--ink); }

.sec-head { margin-bottom: clamp(1.2rem, 2.5vw, 2rem); }
.tag-line {
  display: inline-block;
  background: var(--ink);
  color: var(--yellow);
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.18rem 0.45rem;
  margin-bottom: 0.7rem;
}
h2.sec-title {
  font-size: var(--fs-2xl);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.025em;
  text-wrap: balance;
  max-width: 24em;
}
.sec-sub {
  margin-top: 0.7rem;
  color: var(--muted);
  max-width: 42em;
  font-size: var(--fs-base);
}
h3 { font-size: var(--fs-lg); font-weight: 700; line-height: 1.35; letter-spacing: -0.01em; }

/* ---------- 卡片 ---------- */
.grid { display: grid; gap: clamp(0.8rem, 1.6vw, 1.2rem); }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1000px) { .g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 720px) {
  .g2, .g3, .g4 { grid-template-columns: minmax(0, 1fr); }
}

.card {
  background: var(--surface);
  border: var(--border);
  padding: 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  box-shadow: 3px 3px 0 var(--ink);
  transition: transform 150ms var(--ease), box-shadow 150ms var(--ease);
}
.card:hover { transform: translate(-3px, -3px); box-shadow: 7px 7px 0 var(--ink); }
.card h3 { font-size: 1.1rem; }
.card p { font-size: var(--fs-sm); color: var(--ink-soft); line-height: 1.7; }
.card .meta {
  margin-top: auto;
  padding-top: 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
}
.card-link { display: block; }
.card-link:hover .card { transform: translate(-3px, -3px); box-shadow: 7px 7px 0 var(--ink); }

/* 编号方块 */
.num {
  display: inline-grid;
  place-items: center;
  width: 2rem; height: 2rem;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  flex: none;
}

/* 适合度评分 */
.score {
  display: flex;
  gap: 0.18rem;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.05em;
}
.score i {
  width: 0.62rem; height: 0.62rem;
  border: 1.5px solid var(--ink);
  background: transparent;
  display: block;
}
.score i.on { background: var(--accent); border-color: var(--ink); }
.score span { margin-left: 0.4rem; color: var(--muted); font-size: 0.68rem; }

/* ---------- 表格 ---------- */
.tbl-wrap { overflow-x: auto; max-width: 100%; border: var(--border); background: var(--surface); }
.tbl { font-size: var(--fs-sm); min-width: 36rem; }
.tbl caption {
  caption-side: top;
  text-align: left;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  color: var(--muted);
  padding: 0.55rem 0.7rem;
  border-bottom: 1px solid var(--tint);
  text-transform: uppercase;
}
.tbl th {
  text-align: left;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.6rem 0.7rem;
  background: var(--ink);
  color: var(--surface);
  border-right: 1px solid #3a352c;
  white-space: nowrap;
}
.tbl th:last-child { border-right: 0; }
.tbl td {
  padding: 0.7rem;
  border-top: 1px solid var(--tint);
  border-right: 1px solid var(--tint);
  vertical-align: top;
  line-height: 1.65;
}
.tbl td:last-child { border-right: 0; }
.tbl tbody tr:hover td { background: #fff6e8; }

.pill {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  padding: 0.08rem 0.4rem;
  border: 1.5px solid var(--ink);
  white-space: nowrap;
  background: var(--surface);
}
.pill.ok { background: #d8ecd9; }
.pill.no { background: #ffd9cc; }

/* ---------- 便利贴 ---------- */
.note {
  border: var(--border);
  background: var(--yellow);
  color: var(--ink);
  padding: 0.9rem 1rem;
  font-size: var(--fs-sm);
  line-height: 1.7;
  box-shadow: 4px 4px 0 var(--ink);
  margin-block: 1.3rem;
}
.note b { display: block; font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 0.25rem; }
.note p + p { margin-top: 0.5rem; }

/* ---------- 清单 ---------- */
.checklist { list-style: none; display: grid; gap: 0; border: var(--border); background: var(--surface); }
.checklist li {
  display: grid;
  grid-template-columns: 2.6rem minmax(0, 1fr);
  gap: 0.9rem;
  padding: 1rem;
  border-bottom: 2px solid var(--ink);
  align-items: start;
}
.checklist li:last-child { border-bottom: 0; }
.checklist .box {
  width: 1.5rem; height: 1.5rem;
  border: 2px solid var(--ink);
  margin-top: 0.25rem;
  position: relative;
  background: var(--surface);
}
.checklist .box::after {
  content: "";
  position: absolute;
  inset: 0.25rem;
  background: var(--accent);
  opacity: 0;
}
.checklist li:hover .box::after { opacity: 1; }
.checklist h3 { font-size: 1rem; margin-bottom: 0.15rem; }
.checklist p { font-size: var(--fs-sm); color: var(--ink-soft); line-height: 1.65; }
@media (max-width: 600px) {
  .checklist li { grid-template-columns: 1.9rem minmax(0, 1fr); gap: 0.6rem; padding: 0.85rem; }
  .checklist .box { width: 1.1rem; height: 1.1rem; }
}

/* ---------- 问答 ---------- */
.qa { display: grid; gap: 0.7rem; }
.qa details {
  border: var(--border);
  background: var(--surface);
  box-shadow: 3px 3px 0 var(--ink);
}
.qa summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  padding: 0.85rem 0.95rem;
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.5;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after {
  content: "+";
  margin-left: auto;
  font-family: var(--font-mono);
  font-weight: 400;
  color: var(--accent);
  font-size: 1.2rem;
  line-height: 1.3;
}
.qa details[open] summary { background: var(--ink); color: var(--surface); }
.qa details[open] summary::after { content: "\2212"; color: var(--yellow); }
.qa .ans {
  padding: 0.85rem 0.95rem 1rem;
  font-size: var(--fs-sm);
  line-height: 1.75;
  border-top: 2px solid var(--ink);
  color: var(--ink-soft);
}
.qa .ans p + p { margin-top: 0.6rem; }
.qa .ans ul { margin-top: 0.5rem; padding-left: 1.1rem; }
.qa .ans li { margin-block: 0.3rem; }

/* ---------- 面包屑 ---------- */
.crumb {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  padding-block: 0.9rem 0;
  color: var(--muted);
}
.crumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 0.4rem; }
.crumb li { display: flex; gap: 0.4rem; }
.crumb li:not(:last-child)::after { content: "→"; color: var(--accent); }
.crumb a:hover { color: var(--accent); text-decoration: underline; }

/* ---------- 内页头 ---------- */
.page-head { padding-block: clamp(1.2rem, 3vw, 2.2rem) clamp(1.5rem, 3.5vw, 2.6rem); }
.page-head h1 {
  font-size: clamp(1.9rem, 4vw, 3.1rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  text-wrap: balance;
  margin-block: 0.6rem 0.9rem;
}
.page-head .lead { font-size: var(--fs-md); color: var(--ink-soft); max-width: 36em; }
.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.2rem;
}
.meta-row span {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  border: 1.5px solid var(--ink);
  padding: 0.15rem 0.45rem;
  background: var(--surface);
}

/* ---------- 正文 ---------- */
.prose { max-width: 42em; }
.prose p + p { margin-top: 1em; }
.prose h2 { margin-top: 2.2rem; margin-bottom: 0.6rem; font-size: var(--fs-xl); font-weight: 800; letter-spacing: -0.02em; }
.prose h3 { margin-top: 1.6rem; margin-bottom: 0.4rem; }
.prose ul, .prose ol { margin-block: 0.9rem; padding-left: 1.2rem; }
.prose li { margin-block: 0.4rem; }
.prose li::marker { color: var(--accent); font-weight: 700; }
.prose code {
  background: var(--tint);
  border: 1px solid var(--ink);
  padding: 0.05em 0.3em;
}

/* ---------- 引语 ---------- */
.pull {
  border: var(--border);
  border-left-width: 8px;
  border-left-color: var(--accent);
  background: var(--surface);
  padding: 1.1rem 1.2rem;
  font-size: var(--fs-lg);
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: -0.01em;
  margin-block: 1.6rem;
}
.pull cite {
  display: block;
  margin-top: 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 400;
  font-style: normal;
  color: var(--muted);
  letter-spacing: 0.08em;
}

/* ---------- 相关链接 ---------- */
.related { margin-top: clamp(1.6rem, 3vw, 2.6rem); border-top: var(--border); padding-top: 1.1rem; }
.related h2 {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 400;
  margin-bottom: 0.7rem;
}
.related ul { list-style: none; display: grid; gap: 0.5rem; }
.related a {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: baseline;
  padding: 0.55rem 0.7rem;
  border: 2px solid transparent;
  background: var(--surface);
  font-size: var(--fs-sm);
}
.related a:hover { border-color: var(--ink); box-shadow: 3px 3px 0 var(--ink); }
.related .rd { font-family: var(--font-mono); font-size: 0.68rem; color: var(--muted); white-space: nowrap; }

/* ---------- 页脚 ---------- */
.foot {
  background: var(--ink);
  color: var(--surface);
  border-top: var(--border);
  padding-block: clamp(1.8rem, 3.5vw, 2.8rem) 1.4rem;
  margin-top: clamp(2rem, 4vw, 3.4rem);
  font-size: var(--fs-sm);
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: clamp(1.2rem, 3vw, 2.6rem);
}
@media (max-width: 760px) { .foot-grid { grid-template-columns: minmax(0, 1fr); } }
.foot h2 {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--yellow);
  font-weight: 400;
  margin-bottom: 0.65rem;
}
.foot ul { list-style: none; display: grid; gap: 0.4rem; }
.foot a { color: #d8d2c6; }
.foot a:hover { color: var(--yellow); text-decoration: underline; }
.foot p { color: #b8b1a4; line-height: 1.7; }

/* 假条形码 */
.barcode {
  margin-top: 1.8rem;
  padding-top: 1rem;
  border-top: 1px solid #3a352c;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.barcode-lines {
  height: 2.2rem;
  flex: 1 1 12rem;
  max-width: 20rem;
  background-image: repeating-linear-gradient(
    90deg,
    var(--surface) 0 2px, transparent 2px 5px,
    var(--surface) 5px 6px, transparent 6px 11px,
    var(--surface) 11px 14px, transparent 14px 16px,
    var(--surface) 16px 17px, transparent 17px 22px
  );
  opacity: 0.85;
}
.barcode-no {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  color: #b8b1a4;
}

/* ---------- 404 ---------- */
.err { padding-block: 4rem; display: grid; gap: 1rem; }
.err-code {
  font-size: clamp(4rem, 13vw, 8rem);
  font-weight: 800;
  line-height: 0.85;
  letter-spacing: -0.06em;
  color: var(--accent);
  -webkit-text-stroke: 2px var(--ink);
}
.err h1 { font-size: var(--fs-2xl); }
.err p { color: var(--ink-soft); max-width: 34em; }

/* ---------- 动效 ---------- */
@media (prefers-reduced-motion: no-preference) {
  @keyframes rise {
    from { opacity: 0; transform: translateY(14px); }
    to { opacity: 1; transform: none; }
  }
  .anim { animation: rise 520ms var(--ease) both; }
  .anim-2 { animation-delay: 80ms; }
  .anim-3 { animation-delay: 160ms; }
  .anim-4 { animation-delay: 240ms; }

  .js .reveal { opacity: 0; transform: translateY(16px); }
  .reveal.in {
    opacity: 1;
    transform: none;
    transition: opacity 520ms var(--ease), transform 520ms var(--ease);
  }
  .reveal:nth-child(2) { transition-delay: 60ms; }
  .reveal:nth-child(3) { transition-delay: 120ms; }
  .reveal:nth-child(4) { transition-delay: 180ms; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- 打印 ---------- */
@media print {
  .topbar, .masthead, .foot, .related { display: none !important; }
  body { background: #fff; color: #000; }
  .card, .qa details, .note, .tbl-wrap { box-shadow: none; }
}

/* ---------- 小屏收尾 ---------- */
@media (max-width: 480px) {
  .logo-text { font-size: 0.95rem; }
  .logo-text span { display: none; }
  .hero-acts .btn { flex: 1 1 100%; }
  .verdict { box-shadow: 5px 5px 0 var(--ink); }
}
