/* ═══════════════════════════════════════════
   墨客志 · 评测实验室档案（Review Lab Archive）
   排版照搬预览板，深色配色对齐墨境 --dk-* token
   ═══════════════════════════════════════════ */

/* ═══ 浅色主题 · 档案米白 ═══ */
:root {
  --bg: #f5f2ec;               /* 档案米白（与墨境 #f5f2ed 一致） */
  --bg-2: #efeae0;             /* 档案纸深一档 */
  --bg-card: #fbf9f4;          /* 记录条底 */
  --ink: #1a1814;              /* 墨色（与墨境一致） */
  --ink-2: rgba(26,24,20,0.68);
  --ink-3: rgba(26,24,20,0.48);
  --ink-4: rgba(26,24,20,0.28);
  --line: rgba(26,24,20,0.10);
  --line-soft: rgba(26,24,20,0.05);
  --accent: #c4956a;           /* 金棕 · 印章/标签（与墨境一致） */
  --accent-deep: #8a6a3a;      /* 深金棕 · 印章 */
  --accent-soft: rgba(196,149,106,0.12);
  --accent-glow: rgba(196,149,106,0.22);
  --stamp: #b03535;            /* 朱砂印章 · 仅"实测"章用 */
  --stamp-soft: rgba(176,53,53,0.10);
  --success: #6a8a5a;
  --r: 4px;                    /* 档案风 · 小圆角 */
  --r-sm: 3px;
  --r-lg: 8px;
  --mono: 'Geist Mono', ui-monospace, monospace;
  --sans: 'Geist', system-ui, -apple-system, sans-serif;
  --serif: 'Noto Serif SC', serif;
  /* 卡片阴影 · 对齐墨境 shadow-card / shadow-hover */
  --shadow-card: 0 1px 3px rgba(0,0,0,0.04), 0 8px 32px rgba(0,0,0,0.07);
  --shadow-hover: 0 2px 8px rgba(196,149,106,0.08), 0 16px 48px rgba(196,149,106,0.10);
}

/* ═══ 深色主题 · 对齐墨境深色 token ═══ */
[data-theme="dark"] {
  --bg: #0a0a0c;               /* 对齐墨境 --color-background */
  --bg-2: #141416;             /* 对齐墨境 --color-card */
  --bg-card: #141416;          /* 对齐墨境 --color-card */
  --ink: #e8e4de;              /* 对齐墨境 --color-foreground */
  --ink-2: rgba(232,228,222,0.72);
  --ink-3: rgba(232,228,222,0.50);
  --ink-4: rgba(232,228,222,0.28);
  --line: rgba(255,255,255,0.07);   /* 对齐墨境 --color-border */
  --line-soft: rgba(255,255,255,0.04);
  --accent: #d4a574;           /* 对齐墨境 --color-primary 深色 */
  --accent-deep: #c4956a;
  --accent-soft: rgba(212,165,116,0.14);
  --accent-glow: rgba(212,165,116,0.25);
  --stamp: #d04545;
  --stamp-soft: rgba(208,69,69,0.12);
  --success: #2fb368;          /* 对齐墨境 --color-success 深色 */
  --shadow-card: 0 2px 8px rgba(0,0,0,0.2), 0 16px 48px rgba(0,0,0,0.35);
  --shadow-hover: 0 2px 8px rgba(212,165,116,0.15), 0 16px 48px rgba(212,165,116,0.2);
}

/* 深色主题组件覆盖 */
[data-theme="dark"] .masthead { background: rgba(10,10,12,0.82); }
[data-theme="dark"] body::before { opacity: 0.022; }
[data-theme="dark"] body::after {
  background: radial-gradient(circle at 60% 40%, rgba(212,165,116,0.16), transparent 65%);
  opacity: 1;
}
[data-theme="dark"] .mast-subscribe { background: var(--accent-deep); color: #fff; }
[data-theme="dark"] .mast-subscribe:hover { background: var(--accent); }
[data-theme="dark"] .stamp-btn {
  box-shadow: 0 4px 20px rgba(212,165,116,0.4), 0 0 0 1px rgba(212,165,116,0.25);
}
[data-theme="dark"] .terminal-card {
  background: linear-gradient(135deg, var(--bg-card) 0%, #1c1b1a 100%);
}
[data-theme="dark"] .score-stamp {
  text-shadow: 0 0 14px rgba(212,165,116,0.45);
}
[data-theme="dark"] .cover-title { text-shadow: 0 2px 30px rgba(212,165,116,0.15); }
[data-theme="dark"] .record:hover { box-shadow: inset 3px 0 0 var(--accent), var(--shadow-hover); }

/* 主题切换按钮 */
.mast-theme {
  width: 32px; height: 32px;
  display: grid; place-items: center;
  border-radius: var(--r-sm);
  color: var(--ink-2);
  border: 1px solid var(--line);
  background: var(--bg-card);
  transition: color 0.2s, border-color 0.2s, transform 0.3s;
  cursor: pointer;
}
.mast-theme:hover { color: var(--accent-deep); border-color: var(--accent); transform: rotate(20deg); }
.mast-theme .icon-moon { display: none; }
[data-theme="dark"] .mast-theme .icon-sun { display: none; }
[data-theme="dark"] .mast-theme .icon-moon { display: block; }
.mast-theme svg { transition: transform 0.4s; }

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
/* 档案纸感噪点 */
body::before {
  content: '';
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.7' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
  background-size: 140px 140px;
}
/* 背景光晕（克制 · 金棕径向） */
body::after {
  content: '';
  position: fixed;
  top: -20%; right: -10%;
  width: 60%; height: 60%;
  background: radial-gradient(circle at 60% 40%, rgba(196,149,106,0.10), transparent 65%);
  z-index: 0; pointer-events: none;
  animation: haloDrift 24s ease-in-out infinite;
}
@keyframes haloDrift {
  0%, 100% { transform: translate(0,0) scale(1); opacity: 0.6; }
  50% { transform: translate(-40px, 30px) scale(1.1); opacity: 0.9; }
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
::selection { background: var(--accent-soft); color: var(--ink); }

.shell { position: relative; z-index: 1; }

/* ═══════════════════════════════════════════
   1. 刊头条 · Masthead Bar
   ═══════════════════════════════════════════ */
.masthead {
  border-bottom: 1px solid var(--line);
  background: rgba(245,242,236,0.82);
  backdrop-filter: blur(12px) saturate(1.1);
  -webkit-backdrop-filter: blur(12px) saturate(1.1);
  position: sticky; top: 0; z-index: 50;
}
.masthead-inner {
  max-width: 1320px; margin: 0 auto;
  display: flex; align-items: center; gap: 24px;
  padding: 12px 28px;
}
.mast-brand {
  display: flex; align-items: baseline; gap: 10px;
  flex-shrink: 0;
}
.mast-mark {
  width: 26px; height: 26px;
  border-radius: var(--r-sm);
  background: var(--accent);
  display: grid; place-items: center;
  color: #fff;
  font-family: var(--serif);
  font-size: 14px; font-weight: 700;
  align-self: center;
}
.mast-name {
  font-family: var(--serif);
  font-size: 17px; font-weight: 700;
  letter-spacing: 0.02em;
}
.mast-tag {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--ink-3);
  text-transform: uppercase;
  padding-left: 10px;
  border-left: 1px solid var(--line);
}
.mast-search {
  flex: 1; max-width: 440px;
  height: 32px;
  display: flex; align-items: center; gap: 8px;
  padding: 0 12px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  color: var(--ink-3);
  font-size: 12px;
  transition: border-color 0.15s, background 0.15s;
  cursor: pointer;
}
.mast-search:hover { border-color: var(--ink-4); }
.mast-search .kbd {
  margin-left: auto;
  font-family: var(--mono);
  font-size: 10px;
  padding: 1px 5px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 2px;
  color: var(--ink-3);
}
.mast-search input {
  flex: 1; border: none; outline: none; background: none;
  color: var(--ink); font-size: 12px; font-family: var(--sans);
}
.mast-search input::placeholder { color: var(--ink-3); }
.mast-meta {
  display: flex; align-items: center; gap: 14px;
  margin-left: auto;
  flex-shrink: 0;
}
.mast-issue {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-3);
  letter-spacing: 0.04em;
}
.mast-issue .em { color: var(--accent-deep); font-weight: 600; }
.mast-subscribe {
  font-family: var(--sans);
  font-size: 12px; font-weight: 600;
  color: #fff;
  background: var(--ink);
  padding: 7px 14px;
  border-radius: var(--r-sm);
  transition: background 0.15s;
  cursor: pointer;
}
.mast-subscribe:hover { background: var(--accent-deep); }

/* ═══════════════════════════════════════════
   2. 封面区 · Cover
   ═══════════════════════════════════════════ */
.cover {
  max-width: 1320px; margin: 0 auto;
  padding: 56px 28px 32px;
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 48px;
  align-items: end;
  border-bottom: 1px solid var(--line);
}
.cover-left { min-width: 0; }
.cover-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono);
  font-size: 10px; letter-spacing: 0.16em;
  color: var(--accent-deep);
  text-transform: uppercase;
  margin-bottom: 18px;
}
.cover-eyebrow .pill {
  padding: 2px 8px;
  background: var(--accent-soft);
  border: 1px solid rgba(196,149,106,0.25);
  border-radius: 2px;
}
.cover-title {
  font-family: var(--serif);
  font-size: clamp(56px, 9vw, 104px);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.cover-title .accent { color: var(--accent-deep); }
.cover-sub {
  margin-top: 18px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink-2);
  max-width: 540px;
}
.cover-sub .em { color: var(--ink); font-weight: 600; }
.cover-byline {
  margin-top: 22px;
  display: flex; align-items: center; gap: 14px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-3);
  flex-wrap: wrap;
}
.cover-byline .sep { color: var(--ink-4); }
.cover-byline .editor { color: var(--ink-2); }

/* 封面右侧数据块 */
.cover-stats {
  display: flex; flex-direction: column;
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--bg-card);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.cover-stats .head {
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 10px; letter-spacing: 0.12em;
  color: var(--ink-3);
  text-transform: uppercase;
  background: var(--bg-2);
  display: flex; justify-content: space-between; align-items: center;
}
.cover-stats .head .live {
  display: inline-flex; align-items: center; gap: 5px;
  color: var(--success);
}
.live-dot {
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--success);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse { 0%,100%{opacity:1;} 50%{opacity:0.4;} }
.cover-stats .row {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line-soft);
}
.cover-stats .row:last-child { border-bottom: none; }
.cover-stats .row .l {
  font-size: 12px; color: var(--ink-3);
}
.cover-stats .row .v {
  font-family: var(--mono);
  font-size: 20px; font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.cover-stats .row .v .unit {
  font-size: 11px; color: var(--ink-3); font-weight: 400; margin-left: 3px;
}
.cover-stats .row .v.accent { color: var(--accent-deep); }

/* ═══════════════════════════════════════════
   3. 评测方法论横幅 · Methodology
   ═══════════════════════════════════════════ */
.method {
  max-width: 1320px; margin: 0 auto;
  padding: 24px 28px;
  border-bottom: 1px solid var(--line);
}
.method-inner {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 28px;
  align-items: start;
}
.method-label {
  font-family: var(--mono);
  font-size: 10px; letter-spacing: 0.14em;
  color: var(--ink-3);
  text-transform: uppercase;
  padding-top: 4px;
}
.method-label .big {
  display: block;
  font-family: var(--serif);
  font-size: 18px; font-weight: 700;
  color: var(--ink);
  letter-spacing: 0;
  margin-top: 4px;
  text-transform: none;
}
.method-dims {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  overflow: hidden;
}
.method-dim {
  background: var(--bg-card);
  padding: 10px 8px;
  display: flex; flex-direction: column; gap: 4px;
  transition: background 0.15s;
}
.method-dim:hover { background: var(--accent-soft); }
.method-dim .num {
  font-family: var(--mono);
  font-size: 10px; color: var(--accent-deep); font-weight: 600;
}
.method-dim .name {
  font-size: 12px; color: var(--ink); font-weight: 500;
}
.method-dim .w {
  font-family: var(--mono);
  font-size: 10px; color: var(--ink-3);
}

/* ═══════════════════════════════════════════
   4. 工序流水线 · Pipeline
   ═══════════════════════════════════════════ */
.pipeline {
  max-width: 1320px; margin: 0 auto;
  padding: 28px 28px 8px;
}
.pipeline-head {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-bottom: 16px;
}
.pipeline-head .title {
  font-family: var(--mono);
  font-size: 11px; letter-spacing: 0.12em;
  color: var(--ink-3);
  text-transform: uppercase;
}
.pipeline-head .hint {
  font-size: 11px; color: var(--ink-4);
}
.pipeline-flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--bg-card);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-card);
}
.pipe-node {
  padding: 16px 18px;
  border-right: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 6px;
  cursor: pointer;
  transition: background 0.15s, box-shadow 0.2s;
  position: relative;
  text-decoration: none;
  color: inherit;
}
.pipe-node:last-child { border-right: none; }
.pipe-node:hover {
  background: var(--accent-soft);
  box-shadow: var(--shadow-hover);
}
.pipe-node .step {
  font-family: var(--mono);
  font-size: 10px; color: var(--accent-deep); font-weight: 600;
  letter-spacing: 0.08em;
}
.pipe-node .name {
  font-size: 15px; font-weight: 600; color: var(--ink);
  letter-spacing: -0.01em;
}
.pipe-node .desc {
  font-size: 11px; color: var(--ink-3);
  line-height: 1.5;
}
.pipe-node .count {
  margin-top: 4px;
  font-family: var(--mono);
  font-size: 11px; color: var(--ink-2);
}
.pipe-node .count .n { color: var(--accent-deep); font-weight: 600; }
/* 流水线箭头 */
.pipe-node::after {
  content: '';
  position: absolute;
  right: -5px; top: 50%;
  transform: translateY(-50%);
  width: 8px; height: 8px;
  background: var(--bg-card);
  border-top: 1px solid var(--line);
  border-right: 1px solid var(--line);
  transform: translateY(-50%) rotate(45deg);
  z-index: 2;
}
.pipe-node:last-child::after { display: none; }

/* ═══════════════════════════════════════════
   5. 双栏档案 · Archive（左索引 + 右记录流）
   ═══════════════════════════════════════════ */
.archive {
  max-width: 1320px; margin: 0 auto;
  padding: 32px 28px 56px;
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 36px;
  align-items: start;
}

/* 左索引栏 */
.index-col {
  position: sticky; top: 72px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--bg-card);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.index-head {
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  background: var(--bg-2);
  font-family: var(--mono);
  font-size: 10px; letter-spacing: 0.12em;
  color: var(--ink-3);
  text-transform: uppercase;
  display: flex; justify-content: space-between;
}
.index-list { padding: 6px 0; }
.index-item {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 14px;
  color: var(--ink-2);
  cursor: pointer;
  transition: background 0.12s, color 0.12s;
  border-left: 2px solid transparent;
  text-decoration: none;
}
.index-item:hover { background: var(--bg-2); color: var(--ink); }
.index-item.active {
  color: var(--accent-deep);
  background: var(--accent-soft);
  border-left-color: var(--accent);
}
.index-item .cn {
  font-family: var(--serif);
  font-size: 13px; font-weight: 600;
  width: 18px;
}
.index-item .name {
  font-size: 13px; font-weight: 500;
  flex: 1;
}
.index-item .n {
  font-family: var(--mono);
  font-size: 10px; color: var(--ink-4);
}
.index-item.active .n { color: var(--accent-deep); }
.index-sub {
  padding: 4px 14px 4px 42px;
  font-size: 11px;
  color: var(--ink-3);
  cursor: pointer;
  transition: color 0.12s;
}
.index-sub:hover { color: var(--ink-2); }
.index-foot {
  padding: 10px 14px;
  border-top: 1px solid var(--line-soft);
  font-family: var(--mono);
  font-size: 10px; color: var(--ink-4);
  line-height: 1.6;
}

/* 右记录流 */
.records-col { min-width: 0; }
.records-head {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  flex-wrap: wrap;
  gap: 8px;
}
.records-head .title {
  font-family: var(--serif);
  font-size: 22px; font-weight: 700;
  letter-spacing: -0.01em;
}
.records-head .title .cn {
  color: var(--accent-deep);
  margin-right: 8px;
}
.records-head .meta {
  font-family: var(--mono);
  font-size: 11px; color: var(--ink-3);
}
.records-head .meta .em { color: var(--ink); }
.records-toolbar {
  display: flex; gap: 6px; margin-bottom: 14px;
  flex-wrap: wrap;
}
.chip {
  font-family: var(--mono);
  font-size: 10px; letter-spacing: 0.04em;
  padding: 4px 9px;
  border: 1px solid var(--line);
  border-radius: 2px;
  color: var(--ink-3);
  background: var(--bg-card);
  cursor: pointer;
  transition: all 0.12s;
}
.chip:hover { color: var(--ink); border-color: var(--ink-4); }
.chip.active {
  color: #fff; background: var(--ink); border-color: var(--ink);
}

/* 工具记录条 — 核心差异化元素 */
.record {
  display: grid;
  grid-template-columns: 56px 90px 1fr auto auto 120px 28px;
  gap: 16px;
  align-items: center;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line-soft);
  background: var(--bg-card);
  transition: background 0.12s, transform 0.2s, box-shadow 0.2s;
  cursor: pointer;
  position: relative;
  text-decoration: none;
  color: inherit;
}
.record:first-child { border-top: 1px solid var(--line); }
.record:hover {
  background: var(--accent-soft);
  transform: translateX(2px);
  box-shadow: var(--shadow-hover);
}
.record:hover .rec-arrow { color: var(--accent-deep); transform: translateX(2px); }
/* 编号 */
.rec-num {
  font-family: var(--mono);
  font-size: 11px; font-weight: 600;
  color: var(--ink-4);
  letter-spacing: 0.04em;
}
.record:hover .rec-num { color: var(--accent-deep); }
/* 工序标签 */
.rec-stage {
  font-family: var(--mono);
  font-size: 10px; letter-spacing: 0.06em;
  color: var(--ink-3);
  text-transform: uppercase;
  display: flex; align-items: center; gap: 6px;
}
.rec-stage .dot {
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--accent);
}
/* 名称 + 描述 */
.rec-body { min-width: 0; }
.rec-name {
  font-size: 15px; font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.01em;
  display: flex; align-items: center; gap: 8px;
  flex-wrap: wrap;
}
.rec-name .verified {
  font-family: var(--mono);
  font-size: 9px; font-weight: 600;
  color: var(--success);
  padding: 1px 5px;
  border: 1px solid rgba(106,138,90,0.3);
  border-radius: 2px;
  letter-spacing: 0.06em;
}
.rec-name .official {
  font-family: var(--mono);
  font-size: 9px; font-weight: 600;
  color: #fff;
  padding: 1px 5px;
  background: var(--accent-deep);
  border-radius: 2px;
  letter-spacing: 0.06em;
}
.rec-desc {
  font-size: 12px; color: var(--ink-3);
  margin-top: 2px;
  line-height: 1.5;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
/* 评分（印章式） */
.rec-score {
  display: flex; flex-direction: column; align-items: center;
  gap: 2px;
}
.score-stamp {
  font-family: var(--mono);
  font-size: 16px; font-weight: 700;
  color: var(--accent-deep);
  letter-spacing: -0.02em;
  line-height: 1;
}
.score-label {
  font-family: var(--mono);
  font-size: 9px; color: var(--ink-4);
  letter-spacing: 0.06em;
}
/* 实测标签 */
.rec-tags {
  display: flex; flex-direction: column; gap: 3px;
  align-items: flex-end;
}
.rec-tag {
  font-family: var(--mono);
  font-size: 9px; letter-spacing: 0.04em;
  padding: 2px 6px;
  border-radius: 2px;
}
.rec-tag.tested {
  color: var(--stamp);
  background: var(--stamp-soft);
  border: 1px solid rgba(176,53,53,0.2);
  font-weight: 600;
}
.rec-tag.cps {
  color: var(--accent-deep);
  background: var(--accent-soft);
  border: 1px solid rgba(196,149,106,0.2);
}
.rec-tag.free {
  color: var(--success);
  background: rgba(106,138,90,0.10);
  border: 1px solid rgba(106,138,90,0.2);
}
/* 收录日期 */
.rec-date {
  font-family: var(--mono);
  font-size: 11px; color: var(--ink-3);
  text-align: right;
}
.rec-date .price {
  display: block;
  font-size: 12px; color: var(--ink-2);
  font-weight: 500;
  margin-top: 2px;
}
/* 箭头 */
.rec-arrow {
  color: var(--ink-4);
  transition: color 0.15s, transform 0.15s;
  display: grid; place-items: center;
}

/* 记录条分组标题 */
.record-group {
  font-family: var(--mono);
  font-size: 10px; letter-spacing: 0.12em;
  color: var(--ink-3);
  text-transform: uppercase;
  margin: 20px 0 8px;
  padding-bottom: 6px;
  border-bottom: 1px dashed var(--line);
  display: flex; align-items: center; gap: 8px;
}
.record-group:first-child { margin-top: 0; }
.record-group .cn {
  font-family: var(--serif);
  font-size: 13px; color: var(--accent-deep);
  font-weight: 700; letter-spacing: 0;
  text-transform: none;
}

/* ═══════════════════════════════════════════
   6. 评测精选 · Reviews
   ═══════════════════════════════════════════ */
.reviews {
  max-width: 1320px; margin: 0 auto;
  padding: 16px 28px 56px;
  border-top: 1px solid var(--line);
}
.reviews-head {
  display: flex; justify-content: space-between; align-items: baseline;
  margin: 32px 0 20px;
  flex-wrap: wrap;
  gap: 8px;
}
.reviews-head .title {
  font-family: var(--serif);
  font-size: 26px; font-weight: 700;
  letter-spacing: -0.01em;
}
.reviews-head .title .accent { color: var(--accent-deep); }
.reviews-head .link {
  font-family: var(--mono);
  font-size: 11px; color: var(--ink-3);
  letter-spacing: 0.04em;
}
.reviews-head .link:hover { color: var(--accent-deep); }
.review-list {
  display: flex; flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--bg-card);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.review-item {
  display: grid;
  grid-template-columns: 60px 1fr 140px 100px;
  gap: 20px;
  align-items: center;
  padding: 20px 22px;
  border-bottom: 1px solid var(--line-soft);
  cursor: pointer;
  transition: background 0.12s, box-shadow 0.2s;
  text-decoration: none;
  color: inherit;
}
.review-item:last-child { border-bottom: none; }
.review-item:hover {
  background: var(--accent-soft);
  box-shadow: var(--shadow-hover);
}
.rev-num {
  font-family: var(--mono);
  font-size: 11px; color: var(--ink-4);
  letter-spacing: 0.04em;
}
.rev-body { min-width: 0; }
.rev-tag {
  font-family: var(--mono);
  font-size: 9px; letter-spacing: 0.08em;
  color: var(--accent-deep);
  text-transform: uppercase;
  margin-bottom: 6px;
}
.rev-title {
  font-size: 16px; font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.01em;
  line-height: 1.4;
}
.rev-excerpt {
  font-size: 12px; color: var(--ink-3);
  margin-top: 5px;
  line-height: 1.5;
}
.rev-meta {
  font-family: var(--mono);
  font-size: 11px; color: var(--ink-3);
  line-height: 1.6;
}
.rev-meta .row { display: flex; justify-content: space-between; }
.rev-meta .l { color: var(--ink-4); }
.rev-meta .v { color: var(--ink-2); }
.rev-cta {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--accent-deep);
  text-align: right;
  display: flex; align-items: center; justify-content: flex-end; gap: 6px;
}
.rev-cta .arrow { transition: transform 0.15s; }
.review-item:hover .rev-cta .arrow { transform: translateX(3px); }

/* ═══════════════════════════════════════════
   7. 墨境终点站 CTA · Terminal Stamp
   ═══════════════════════════════════════════ */
.terminal {
  max-width: 1320px; margin: 0 auto;
  padding: 16px 28px 64px;
}
.terminal-card {
  border: 1px solid var(--line);
  border-radius: var(--r);
  background:
    linear-gradient(135deg, var(--bg-card) 0%, var(--bg-2) 100%);
  padding: 36px 40px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 36px;
  align-items: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.terminal-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}
.terminal-body { min-width: 0; }
.terminal-eyebrow {
  font-family: var(--mono);
  font-size: 10px; letter-spacing: 0.14em;
  color: var(--accent-deep);
  text-transform: uppercase;
  margin-bottom: 12px;
  display: flex; align-items: center; gap: 8px;
}
.terminal-eyebrow .badge {
  padding: 2px 7px;
  background: var(--accent-soft);
  border: 1px solid rgba(196,149,106,0.25);
  border-radius: 2px;
}
.terminal-title {
  font-family: var(--serif);
  font-size: 28px; font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.25;
}
.terminal-title .accent { color: var(--accent-deep); }
.terminal-desc {
  margin-top: 10px;
  font-size: 14px; color: var(--ink-2);
  line-height: 1.7;
  max-width: 560px;
}
/* 印章式 CTA */
.terminal-stamp {
  display: flex; flex-direction: column;
  align-items: center; gap: 12px;
}
.stamp-btn {
  display: flex; flex-direction: column;
  align-items: center; gap: 4px;
  padding: 22px 30px;
  background: var(--accent-deep);
  color: #fff;
  border-radius: var(--r-sm);
  border: 2px solid var(--accent-deep);
  box-shadow: 0 4px 14px rgba(138,106,58,0.3);
  transition: transform 0.15s, box-shadow 0.2s;
  position: relative;
  transform: rotate(-2deg);
  text-decoration: none;
}
.stamp-btn:hover {
  transform: rotate(-2deg) translateY(-2px);
  box-shadow: 0 6px 20px rgba(138,106,58,0.4);
}
.stamp-btn:active { transform: rotate(-2deg) translateY(0); }
.stamp-btn .label {
  font-family: var(--serif);
  font-size: 18px; font-weight: 700;
  letter-spacing: 0.02em;
}
.stamp-btn .sub {
  font-family: var(--mono);
  font-size: 9px; letter-spacing: 0.12em;
  opacity: 0.8;
  text-transform: uppercase;
}
.stamp-note {
  font-family: var(--mono);
  font-size: 10px; color: var(--ink-3);
  letter-spacing: 0.04em;
}

/* ═══════════════════════════════════════════
   8. 排行条 · Ranking Strip
   ═══════════════════════════════════════════ */
.ranking {
  max-width: 1320px; margin: 0 auto;
  padding: 0 28px 48px;
}
.ranking-head {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-bottom: 14px;
}
.ranking-head .title {
  font-family: var(--serif);
  font-size: 18px; font-weight: 700;
}
.ranking-head .title .cn { color: var(--accent-deep); margin-right: 6px; }
.ranking-head .meta {
  font-family: var(--mono);
  font-size: 10px; color: var(--ink-3);
}
.ranking-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.rank-item {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--bg-card);
  cursor: pointer;
  transition: background 0.12s, box-shadow 0.2s;
  text-decoration: none;
  color: inherit;
}
.rank-item:hover {
  background: var(--accent-soft);
  box-shadow: var(--shadow-hover);
}
.rank-num {
  font-family: var(--mono);
  font-size: 20px; font-weight: 700;
  color: var(--accent-deep);
  letter-spacing: -0.02em;
  width: 28px;
}
.rank-body { min-width: 0; flex: 1; }
.rank-name {
  font-size: 14px; font-weight: 600; color: var(--ink);
}
.rank-score {
  font-family: var(--mono);
  font-size: 12px; color: var(--accent-deep);
  font-weight: 600;
}

/* ═══════════════════════════════════════════
   9. 页脚 · Colophon
   ═══════════════════════════════════════════ */
.colophon {
  border-top: 1px solid var(--line);
  background: var(--bg-2);
  padding: 32px 28px 24px;
}
.colophon-inner {
  max-width: 1320px; margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
}
.colo-brand .name {
  font-family: var(--serif);
  font-size: 18px; font-weight: 700;
  margin-bottom: 8px;
}
.colo-brand .desc {
  font-size: 12px; color: var(--ink-3);
  line-height: 1.6;
  max-width: 280px;
}
.colo-col h5 {
  font-family: var(--mono);
  font-size: 10px; letter-spacing: 0.12em;
  color: var(--ink-3);
  text-transform: uppercase;
  margin-bottom: 12px;
}
.colo-col a {
  display: block;
  font-size: 12px; color: var(--ink-2);
  padding: 3px 0;
  transition: color 0.12s;
}
.colo-col a:hover { color: var(--accent-deep); }
.colo-bottom {
  max-width: 1320px; margin: 24px auto 0;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--mono);
  font-size: 10px; color: var(--ink-4);
  letter-spacing: 0.04em;
  flex-wrap: wrap; gap: 10px;
}
.colo-bottom .disc {
  color: var(--ink-3);
  max-width: 560px;
  line-height: 1.5;
}

/* ═══════════════════════════════════════════
   子页面通用 · Page Head
   ═══════════════════════════════════════════ */
.page-head {
  max-width: 1320px; margin: 0 auto;
  padding: 48px 28px 24px;
  border-bottom: 1px solid var(--line);
}
.page-head .eyebrow {
  font-family: var(--mono);
  font-size: 10px; letter-spacing: 0.16em;
  color: var(--accent-deep);
  text-transform: uppercase;
  margin-bottom: 12px;
}
.page-head h1 {
  font-family: var(--serif);
  font-size: clamp(36px, 6vw, 56px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.page-head .sub {
  margin-top: 14px;
  font-size: 15px; color: var(--ink-2);
  line-height: 1.7;
  max-width: 640px;
}

/* 文章正文 */
.post-body {
  max-width: 820px; margin: 0 auto;
  padding: 32px 28px 56px;
}
.post-body h2 {
  font-family: var(--serif);
  font-size: 22px; font-weight: 700;
  margin: 32px 0 14px;
  color: var(--ink);
}
.post-body h3 {
  font-family: var(--serif);
  font-size: 18px; font-weight: 600;
  margin: 24px 0 10px;
  color: var(--ink);
}
.post-body p {
  font-size: 15px; line-height: 1.85;
  color: var(--ink-2);
  margin-bottom: 16px;
}
.post-body ul, .post-body ol {
  font-size: 15px; line-height: 1.85;
  color: var(--ink-2);
  margin-bottom: 16px;
  padding-left: 24px;
}
.post-body li { margin-bottom: 6px; }
.post-body blockquote {
  border-left: 3px solid var(--accent);
  padding: 10px 16px;
  margin: 16px 0;
  background: var(--accent-soft);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  font-size: 14px; color: var(--ink-2);
}
.post-body pre {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  padding: 14px 16px;
  overflow-x: auto;
  margin: 16px 0;
}
.post-body code {
  font-family: var(--mono);
  font-size: 13px;
}
.post-body img {
  max-width: 100%;
  border-radius: var(--r);
  margin: 16px 0;
}

/* FAQ */
.faq-item {
  border-bottom: 1px solid var(--line-soft);
  padding: 14px 0;
}
.faq-item summary {
  font-size: 14px; font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  padding: 4px 0;
}
.faq-item summary:hover { color: var(--accent-deep); }
.faq-item p {
  font-size: 13px; color: var(--ink-3);
  line-height: 1.7;
  margin-top: 8px;
  padding-left: 16px;
}

/* 工具详情页 */
.tool-detail {
  max-width: 820px; margin: 0 auto;
  padding: 32px 28px 56px;
}
.tool-detail-card {
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--bg-card);
  padding: 20px 24px;
  margin-bottom: 14px;
  box-shadow: var(--shadow-card);
  transition: box-shadow 0.2s;
}
.tool-detail-card:hover {
  box-shadow: var(--shadow-hover);
}
.tool-detail-card h2 {
  font-family: var(--mono);
  font-size: 10px; letter-spacing: 0.12em;
  color: var(--ink-3);
  text-transform: uppercase;
  margin-bottom: 8px;
}
.tool-detail-card p {
  font-size: 14px; color: var(--ink);
  line-height: 1.7;
}
.affiliate-badge {
  font-family: var(--mono);
  font-size: 11px; color: var(--ink-3);
  padding: 8px 14px;
  background: var(--bg-2);
  border-radius: var(--r-sm);
  border: 1px solid var(--line);
  margin-bottom: 14px;
}
.mojing-cta {
  border: 1px solid var(--accent);
  border-radius: var(--r);
  background: linear-gradient(135deg, var(--accent-soft) 0%, var(--bg-card) 100%);
  padding: 24px 28px;
  margin-top: 24px;
  text-align: center;
}
.mojing-cta .eyebrow {
  font-family: var(--mono);
  font-size: 10px; letter-spacing: 0.14em;
  color: var(--accent-deep);
  text-transform: uppercase;
  margin-bottom: 8px;
}
.mojing-cta p {
  font-size: 14px; color: var(--ink-2);
  margin-bottom: 14px;
}

/* ═══════════════════════════════════════════
   动效
   ═══════════════════════════════════════════ */
.cover, .method, .pipeline, .archive, .reviews, .terminal, .ranking {
  animation: fadeUp 0.6s cubic-bezier(0.32, 0.72, 0, 1) backwards;
}
.method { animation-delay: 0.05s; }
.pipeline { animation-delay: 0.1s; }
.archive { animation-delay: 0.15s; }
.reviews { animation-delay: 0.2s; }
.terminal { animation-delay: 0.25s; }
.ranking { animation-delay: 0.3s; }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}
.record {
  animation: recEnter 0.4s cubic-bezier(0.32, 0.72, 0, 1) backwards;
}
@keyframes recEnter {
  from { opacity: 0; transform: translateX(-6px); }
  to { opacity: 1; transform: translateX(0); }
}

/* ═══════════════════════════════════════════
   响应式
   ═══════════════════════════════════════════ */
@media (max-width: 1080px) {
  .cover { grid-template-columns: 1fr; gap: 28px; }
  .method-inner { grid-template-columns: 1fr; gap: 14px; }
  .method-dims { grid-template-columns: repeat(4, 1fr); }
  .archive { grid-template-columns: 1fr; }
  .index-col { position: static; }
  .pipeline-flow { grid-template-columns: repeat(2, 1fr); }
  .pipe-node:nth-child(2)::after { display: none; }
  .pipe-node:nth-child(3) { border-top: 1px solid var(--line); }
  .pipe-node:nth-child(4) { border-top: 1px solid var(--line); }
  .record { grid-template-columns: 44px 1fr auto; gap: 12px; }
  .rec-stage, .rec-tags, .rec-date { display: none; }
  .review-item { grid-template-columns: 1fr; gap: 10px; }
  .rev-num, .rev-meta, .rev-cta { display: none; }
  .terminal-card { grid-template-columns: 1fr; gap: 24px; text-align: left; }
  .terminal-stamp { align-items: flex-start; }
  .colophon-inner { grid-template-columns: 1fr 1fr; }
  .ranking-list { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .masthead-inner { flex-wrap: wrap; gap: 10px; padding: 10px 16px; }
  .mast-search { order: 3; max-width: none; width: 100%; }
  .mast-tag, .mast-issue { display: none; }
  .cover { padding: 36px 16px 24px; }
  .cover-title { font-size: 56px; }
  .method, .pipeline, .archive, .reviews, .terminal, .ranking { padding-left: 16px; padding-right: 16px; }
  .method-dims { grid-template-columns: repeat(2, 1fr); }
  .pipeline-flow { grid-template-columns: 1fr; }
  .pipe-node { border-right: none; border-bottom: 1px solid var(--line); }
  .pipe-node::after { display: none; }
  .colophon-inner { grid-template-columns: 1fr; }
  .colo-bottom { flex-direction: column; align-items: flex-start; }
  .page-head { padding: 32px 16px 20px; }
  .post-body, .tool-detail { padding: 24px 16px 40px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
