/* =========================================================
   持币手册 · v5.0 独立出版物风
   完全推翻：不学 Stripe/Linear/NYT/Anthropic 这些 AI 学烂的站
   走小众独立出版人路线：Solarized 米底 + 砖红 + 苔绿 + 手写体混搭
   关键：色彩有个性、字体有性格、装饰有手作感
   ========================================================= */

/* Google Fonts moved to HTML <head> for parallel loading */

/* === Reset === */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; padding: 0; }
img { display: block; max-width: 100%; height: auto; }
::selection { background: #c84a1e; color: #fdf6e3; }
::-webkit-scrollbar { width: 12px; height: 12px; }
::-webkit-scrollbar-track { background: #f0e8d2; }
::-webkit-scrollbar-thumb { background: #b8a878; border: 3px solid #f0e8d2; }
::-webkit-scrollbar-thumb:hover { background: #9c8c5a; }

/* === Tokens === */
:root {
  /* 复古奶米色系（Solarized light + 暖化）*/
  --bg:          #faf3df;
  --bg-soft:     #f0e8c8;
  --bg-paper:    #f7eed0;
  --bg-card:     #fbf5dd;
  --bg-stamp:    #ede0b8;

  /* 棕黑墨色（不用纯黑） */
  --ink:         #1f1611;
  --ink-2:       #4a3a28;
  --ink-3:       #7a6a52;
  --ink-4:       #a89878;

  /* 复古印刷线 */
  --rule:        #c4b890;
  --rule-soft:   #d8ce9c;
  --rule-strong: #8a7e52;

  /* 砖红 — 主 accent（标志色）*/
  --brick:       #b8442a;
  --brick-dark:  #8a3220;
  --brick-pale:  #f0d8c8;

  /* 苔绿 — 副 accent */
  --moss:        #4a6b3a;
  --moss-dark:   #3a5a2a;
  --moss-pale:   #d8e0c8;

  /* 复古深金 — 强调装饰 */
  --gold:        #9c7c3a;
  --gold-dark:   #7a5a20;
  --gold-pale:   #ece0b8;

  /* 墨蓝 — 链接（古典出版物用 ink blue 不用 cyber blue）*/
  --ink-blue:    #2c5a78;
  --ink-blue-dark: #1a4258;

  /* Typography */
  --serif:    'Crimson Pro', 'Iowan Old Style', Cambria, 'Noto Serif SC', 'Songti SC', Georgia, serif;
  --hand:     'Caveat', 'Marker Felt', 'Bradley Hand', cursive;
  --mono:     'JetBrains Mono', 'Courier New', ui-monospace, Menlo, monospace;
  --sans:     -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Hiragino Sans GB', sans-serif;

  /* Sizing */
  --max-w:        720px;
  --max-w-wide:   1040px;

  /* Motion */
  --ease:     cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* === Body / 纸质感 === */
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 19px;
  line-height: 1.65;
  font-feature-settings: 'kern', 'liga', 'onum';
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  position: relative;
  min-height: 100vh;
}
/* 纸纹质感 — subtle paper grain */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.4 0 0 0 0 0.3 0 0 0 0 0.15 0 0 0 0.08 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: 0.6;
  pointer-events: none;
  z-index: 1;
  mix-blend-mode: multiply;
}
body > * { position: relative; z-index: 2; }

/* === Skip link === */
.skip-link {
  position: absolute;
  top: -200px;
  left: 0;
  padding: 8px 14px;
  background: var(--ink);
  color: var(--bg);
  text-decoration: none;
  font-family: var(--mono);
  font-size: 12px;
  z-index: 100;
}
.skip-link:focus { top: 0; }

/* =========================================================
   1. Topbar 披露条 — 复古印刷条
   ========================================================= */
.topbar {
  background: var(--bg-stamp);
  border-bottom: 2px solid var(--ink);
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1.5;
  color: var(--ink-2);
  letter-spacing: 0.02em;
  position: relative;
}
.topbar::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--ink);
  opacity: 0.5;
}
.topbar-inner {
  max-width: var(--max-w-wide);
  margin: 0 auto;
  padding: 10px 28px;
  text-align: center;
}
.topbar strong { color: var(--ink); font-weight: 600; font-family: var(--serif); }
.topbar a {
  color: var(--brick);
  text-decoration: none;
  font-weight: 600;
  border-bottom: 1px solid var(--brick-pale);
  transition: border-color 0.18s;
}
.topbar a:hover { border-bottom-color: var(--brick); }
.topbar code {
  font-family: var(--mono);
  font-size: 12px;
  background: var(--brick);
  color: var(--bg);
  padding: 2px 8px;
  font-weight: 600;
  letter-spacing: 0.05em;
  margin: 0 3px;
  border-radius: 1px;
}
.topbar .sep { margin: 0 10px; color: var(--ink-4); }

@media (max-width: 720px) {
  .topbar-inner { padding: 8px 16px; }
  .topbar { font-size: 11px; }
}

/* =========================================================
   2. Nav — 复古印刷品报头
   ========================================================= */
.site-nav {
  background: var(--bg);
  border-bottom: 1px solid var(--rule);
  position: relative;
}
.site-nav::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--rule);
  opacity: 0.5;
}
.site-nav-inner {
  max-width: var(--max-w-wide);
  margin: 0 auto;
  padding: 24px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.site-brand {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
  display: inline-flex;
  align-items: baseline;
  gap: 12px;
  letter-spacing: -0.015em;
  transition: opacity 0.18s;
}
.site-brand:hover { opacity: 0.7; }
.site-brand em {
  font-family: var(--hand);
  font-style: normal;
  font-weight: 700;
  font-size: 18px;
  color: var(--brick);
  letter-spacing: 0.01em;
  transform: rotate(-2deg);
  display: inline-block;
}
.brand-mark {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 700;
  color: var(--ink);
  display: block;
  margin: 0 0 8px;
  letter-spacing: -0.015em;
}
.brand-mark em {
  font-family: var(--hand);
  font-style: normal;
  font-weight: 700;
  font-size: 16px;
  color: var(--brick);
  letter-spacing: 0.01em;
  margin-left: 8px;
}
.site-nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.site-nav-links a {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 500;
  color: var(--ink-2);
  text-decoration: none;
  position: relative;
  transition: color 0.18s;
  padding: 12px 0;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.site-nav-links a:hover { color: var(--brick); }
.site-nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--brick);
  transition: width 0.3s var(--ease-out);
}
.site-nav-links a:hover::after { width: 100%; }

/* Nav CTA — 邮票/印章风按钮 */
.nav-cta {
  font-family: var(--mono) !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  color: var(--bg) !important;
  background: var(--brick) !important;
  padding: 8px 14px !important;
  border-radius: 0 !important;
  text-decoration: none !important;
  display: inline-flex !important;
  align-items: center;
  gap: 6px;
  transition: all 0.18s !important;
  border: 2px solid var(--brick) !important;
  box-shadow: 3px 3px 0 var(--ink) !important;
  margin-left: 4px;
  letter-spacing: 0.04em;
  white-space: nowrap;
  text-transform: uppercase;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover {
  background: var(--brick-dark) !important;
  color: var(--bg) !important;
  transform: translate(-2px, -2px);
  box-shadow: 5px 5px 0 var(--ink) !important;
}
.nav-cta code {
  font-family: var(--mono);
  font-size: 11px;
  background: rgba(250, 243, 223, 0.25);
  color: var(--bg);
  padding: 1px 6px;
  font-weight: 700;
  letter-spacing: 0.05em;
}

@media (max-width: 720px) {
  .site-nav-inner { padding: 18px 20px; gap: 10px; }
  .site-brand { font-size: 22px; }
  .site-brand em { font-size: 15px; }
  .site-nav-links { gap: 16px; }
  .site-nav-links a { font-size: 15px; }
  .nav-cta { font-size: 11px !important; padding: 12px 14px !important; min-height: 44px; }
  .site-nav-links a { min-height: 44px; padding: 12px 0; }
}

/* =========================================================
   3. Hero — 复古杂志卷首
   ========================================================= */
.home-intro {
  max-width: var(--max-w-wide);
  margin: 0 auto;
  padding: 88px 28px 96px;
  position: relative;
}

/* 复古印刷分隔花纹 */
.home-intro::before {
  content: '❦';
  position: absolute;
  top: 48px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--serif);
  font-size: 32px;
  color: var(--brick);
  line-height: 1;
}

.home-eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.36em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin: 0 0 56px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
}
.home-eyebrow::before,
.home-eyebrow::after {
  content: '✦';
  font-family: var(--serif);
  font-size: 14px;
  color: var(--brick);
  letter-spacing: 0;
}

.home-title {
  font-family: var(--serif);
  font-size: clamp(48px, 7vw, 88px);
  line-height: 1.05;
  font-weight: 700;
  letter-spacing: -0.024em;
  margin: 0 auto 36px;
  max-width: 780px;
  color: var(--ink);
  text-align: center;
  text-wrap: balance;
}
.home-title em {
  font-family: var(--hand);
  font-style: normal;
  font-weight: 700;
  color: var(--brick);
  font-size: 0.85em;
  letter-spacing: 0.01em;
  position: relative;
  display: inline-block;
  transform: rotate(-2deg);
  margin: 0 4px;
}
.home-title em::before {
  content: '';
  position: absolute;
  bottom: 8%;
  left: -4%;
  right: -4%;
  height: 0.18em;
  background: var(--moss-pale);
  z-index: -1;
  transform: skewY(-2deg);
}

.home-deck {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(19px, 1.8vw, 23px);
  line-height: 1.55;
  font-weight: 400;
  color: var(--ink-2);
  margin: 0 auto 48px;
  max-width: 600px;
  text-align: center;
}

.home-meta {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-3);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 0 auto;
  padding-top: 32px;
  border-top: 1px solid var(--rule);
  max-width: 420px;
  position: relative;
}
.home-meta::before {
  content: '◆';
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--bg);
  padding: 0 12px;
  color: var(--brick);
  font-size: 12px;
}
.home-meta .sep {
  width: 4px;
  height: 4px;
  background: var(--brick);
  border-radius: 50%;
  opacity: 0.6;
}

/* =========================================================
   4. Home — CTA Card 复古邮票/印章风
   ========================================================= */
.home-cta {
  max-width: var(--max-w-wide);
  margin: 0 auto 96px;
  padding: 0 28px;
}
.home-cta::before, .home-cta::after { content: none; }
.home-cta-inner {
  background: var(--bg-card);
  border: 2px solid var(--ink);
  border-radius: 0;
  padding: 44px 48px;
  position: relative;
  box-shadow: 6px 6px 0 var(--brick);
}
.home-cta-inner::before {
  content: '';
  position: absolute;
  top: 8px;
  left: 8px;
  right: 8px;
  bottom: 8px;
  border: 1px solid var(--rule-strong);
  pointer-events: none;
}

.home-cta .cta-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--brick);
  font-weight: 600;
  margin: 0 0 18px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.home-cta .cta-label::before {
  content: '◆';
  color: var(--brick);
  font-size: 13px;
}
.home-cta .cta-title {
  font-family: var(--serif);
  font-size: clamp(28px, 3.6vw, 40px);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.018em;
  margin: 0 0 20px;
  color: var(--ink);
}
.home-cta .cta-title em {
  font-family: var(--hand);
  font-style: normal;
  font-weight: 700;
  color: var(--brick);
  font-size: 0.95em;
  transform: rotate(-1deg);
  display: inline-block;
  margin: 0 4px;
}
.home-cta .cta-deck {
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.62;
  color: var(--ink-2);
  margin: 0 0 32px;
  max-width: 620px;
}
.home-cta .cta-deck a {
  color: var(--ink-blue);
  text-decoration: underline;
  text-decoration-color: var(--ink-blue);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.home-cta .cta-deck a:hover { color: var(--brick); text-decoration-color: var(--brick); }

/* CTA 按钮 — 复古邮票 / 印章风 */
.home-cta .cta-btn {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  background: var(--ink);
  color: var(--bg);
  text-decoration: none;
  padding: 18px 32px;
  border: 2px solid var(--ink);
  border-radius: 0;
  transition: all 0.18s;
  margin-bottom: 20px;
  min-width: 320px;
  position: relative;
  box-shadow: 4px 4px 0 var(--brick);
}
.home-cta .cta-btn::before {
  content: '';
  position: absolute;
  top: 6px;
  left: 6px;
  right: 6px;
  bottom: 6px;
  border: 1px solid rgba(250, 243, 223, 0.35);
  pointer-events: none;
}
.home-cta .cta-btn::after {
  content: '→';
  position: absolute;
  right: 26px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--serif);
  font-size: 24px;
  color: var(--bg);
  font-weight: 600;
  transition: transform 0.3s var(--ease-out);
}
.home-cta .cta-btn:hover {
  background: var(--brick);
  border-color: var(--brick);
  color: var(--bg);
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 var(--ink);
}
.home-cta .cta-btn:hover::after { transform: translateY(-50%) translateX(4px); }
.home-cta .cta-btn-main {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 600;
  color: var(--bg);
  margin-bottom: 4px;
  letter-spacing: -0.005em;
}
.home-cta .cta-btn-sub {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  color: rgba(250, 243, 223, 0.78);
  text-transform: uppercase;
}
.home-cta .cta-fine {
  font-family: var(--serif);
  font-style: italic;
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-3);
  margin: 0;
  max-width: 540px;
}
.home-cta .cta-fine a {
  color: var(--ink-2);
  text-decoration: underline;
  text-decoration-color: var(--rule);
  font-style: normal;
}
.home-cta .cta-fine a:hover { color: var(--brick); }

@media (max-width: 720px) {
  .home-cta { padding: 0 20px; margin-bottom: 64px; }
  .home-cta-inner { padding: 28px 24px; box-shadow: 4px 4px 0 var(--brick); }
  .home-cta-inner::before { top: 6px; left: 6px; right: 6px; bottom: 6px; }
  .home-cta .cta-title { font-size: 24px; }
  .home-cta .cta-deck { font-size: 15px; margin-bottom: 24px; }
  .home-cta .cta-btn { min-width: 0; width: 100%; padding: 14px 22px; }
  .home-cta .cta-btn-main { font-size: 15px; }
}

/* =========================================================
   5. Section / Article list — 复古杂志目录
   ========================================================= */
.section {
  max-width: var(--max-w-wide);
  margin: 0 auto 96px;
  padding: 0 28px;
}

.section-head {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 24px;
  align-items: end;
  margin-bottom: 48px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--ink);
  position: relative;
}
.section-head::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--ink);
  opacity: 0.4;
}

.section-h {
  font-family: var(--serif);
  font-size: clamp(28px, 3.6vw, 38px);
  font-weight: 700;
  letter-spacing: -0.018em;
  margin: 0;
  color: var(--ink);
  position: relative;
  padding-left: 0;
}
.section-h::before { display: none !important; }

/* 罗马数字章节编号（复古杂志典型）*/
.section-roman {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(48px, 6vw, 76px);
  font-weight: 400;
  color: var(--brick);
  line-height: 0.9;
  letter-spacing: 0.02em;
  align-self: end;
  display: flex;
  align-items: flex-end;
  gap: 8px;
}
.section-roman::after {
  content: '';
  width: 32px;
  height: 1px;
  background: var(--brick);
  margin-bottom: 12px;
  opacity: 0.5;
}

.section-sub {
  font-family: var(--serif);
  font-style: italic;
  font-size: 16px;
  color: var(--ink-3);
  margin-top: 6px;
  display: block;
  grid-column: 2;
}

.article-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.article-list > li {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: 24px;
  padding: 28px 0;
  border-bottom: 1px solid var(--rule);
  align-items: start;
  position: relative;
  transition: padding 0.3s var(--ease-out);
}
.article-list > li:last-child { border-bottom: none; }
.article-list > li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 0;
  background: var(--brick);
  transition: width 0.3s var(--ease-out);
}
.article-list > li:hover {
  padding-left: 16px;
}
.article-list > li:hover::before {
  width: 4px;
}

.al-num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 44px;
  font-weight: 400;
  color: var(--brick);
  line-height: 1;
  letter-spacing: -0.01em;
  padding-top: 2px;
}
.al-num::before {
  content: '№ ';
  font-style: normal;
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-family: var(--mono);
  color: var(--ink-3);
  font-weight: 500;
  display: block;
  margin-bottom: 4px;
}

.al-body { min-width: 0; }
.al-title {
  font-family: var(--serif);
  font-size: clamp(22px, 2.4vw, 28px);
  line-height: 1.25;
  font-weight: 600;
  margin: 0 0 10px;
  letter-spacing: -0.012em;
}
.al-title a {
  color: var(--ink);
  text-decoration: none;
  background-image: linear-gradient(currentColor, currentColor);
  background-position: 0 100%;
  background-repeat: no-repeat;
  background-size: 0 1.5px;
  padding-bottom: 2px;
  transition: background-size 0.4s var(--ease-out), color 0.2s;
}
.al-title a:hover {
  color: var(--brick);
  background-size: 100% 1.5px;
}
.al-deck {
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.58;
  color: var(--ink-2);
  margin: 0 0 12px;
  max-width: 580px;
}
.al-meta {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}
.al-meta .tag {
  display: inline-block;
  font-family: var(--mono);
  background: var(--brick-pale);
  color: var(--brick-dark);
  padding: 2px 8px;
  font-size: 10px;
  letter-spacing: 0.16em;
  margin-right: 14px;
  font-weight: 600;
  border-radius: 1px;
  border: 1px solid var(--brick);
}
.al-meta .sep { margin: 0 10px; color: var(--ink-4); }

@media (max-width: 720px) {
  .section { padding: 0 22px; margin-bottom: 64px; }
  .section-head {
    grid-template-columns: 50px 1fr;
    gap: 16px;
    margin-bottom: 32px;
  }
  .section-roman { font-size: 44px; }
  .section-roman::after { display: none; }
  .section-h { font-size: 24px; }
  .article-list > li {
    grid-template-columns: 48px 1fr;
    gap: 14px;
    padding: 22px 0;
  }
  .article-list > li:hover { padding-left: 6px; }
  .al-num { font-size: 30px; }
  .al-title { font-size: 19px; }
  .al-deck { font-size: 15px; }
}

/* =========================================================
   6. Colophon — 卷尾说明
   ========================================================= */
.colophon {
  max-width: var(--max-w);
  margin: 80px auto 0;
  padding: 48px 28px 0;
  border-top: 2px double var(--rule);
  position: relative;
}
.colophon::before {
  content: '❦';
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--bg);
  padding: 0 14px;
  font-family: var(--serif);
  font-size: 22px;
  color: var(--brick);
}
.colophon h3 {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 700;
  margin: 0 0 18px;
  letter-spacing: -0.012em;
  color: var(--ink);
}
.colophon p {
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink-2);
  margin: 0 0 16px;
}
.colophon p:last-child { margin: 0; }
.colophon a {
  color: var(--ink-blue);
  text-decoration: underline;
  text-decoration-color: var(--ink-blue);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.colophon a:hover { color: var(--brick); }

/* =========================================================
   7. Article page
   ========================================================= */
.article-header {
  margin: 0 0 48px;
  padding: 0 0 36px;
  border-bottom: 1px solid var(--rule);
  position: relative;
  text-align: center;
}
.article-header::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 1px;
  background: var(--brick);
}
.article-category {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  color: var(--brick);
  font-weight: 600;
  margin: 0 0 28px;
  display: inline-flex;
  align-items: center;
  gap: 14px;
}
.article-category::before,
.article-category::after {
  content: '✦';
  font-size: 13px;
}
.article-title {
  font-family: var(--serif);
  font-size: clamp(34px, 4.8vw, 52px);
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -0.022em;
  margin: 0 0 22px;
  color: var(--ink);
  text-wrap: balance;
}
.article-deck {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(18px, 1.8vw, 22px);
  line-height: 1.55;
  color: var(--ink-2);
  margin: 0 auto 28px;
  font-weight: 400;
  max-width: 600px;
}
.article-byline {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.article-byline a {
  color: var(--ink-3);
  text-decoration: underline;
  text-decoration-color: var(--rule);
}
.article-byline .sep {
  width: 3px;
  height: 3px;
  background: var(--brick);
  border-radius: 50%;
  opacity: 0.7;
}

/* === Article cover === */
.article-cover { margin: 0 0 48px; }
.article-cover img {
  width: 100%;
  height: auto;
  border: 1px solid var(--rule);
  box-shadow: 6px 6px 0 var(--rule-soft);
}
.article-cover figcaption {
  font-family: var(--serif);
  font-style: italic;
  font-size: 13px;
  color: var(--ink-3);
  margin-top: 12px;
  text-align: center;
}

/* === TOC === */
.toc {
  background: var(--bg-card);
  border: 2px solid var(--ink);
  border-radius: 0;
  padding: 28px 32px;
  margin: 36px 0 56px;
  position: relative;
  box-shadow: 4px 4px 0 var(--rule);
}
.toc::before {
  content: '目录 / TABLE OF CONTENTS';
  position: absolute;
  top: -11px;
  left: 24px;
  background: var(--bg);
  padding: 0 12px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--ink);
  font-weight: 600;
}
.toc-title { display: none; }
.toc ol {
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: toc;
}
.toc li {
  counter-increment: toc;
  margin-bottom: 10px;
  font-family: var(--serif);
  font-size: 16px;
  line-height: 1.5;
  padding-left: 36px;
  position: relative;
}
.toc li::before {
  content: counter(toc, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 2px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--brick);
  font-weight: 600;
}
.toc a {
  color: var(--ink-2);
  text-decoration: none;
  border-bottom: 1px dotted var(--rule);
  transition: color 0.18s, border-color 0.18s;
}
.toc a:hover {
  color: var(--brick);
  border-bottom-color: var(--brick);
  border-bottom-style: solid;
}

/* === Article body === */
.article-body {
  font-family: var(--serif);
  font-size: 19px;
  line-height: 1.7;
  color: var(--ink);
}
/* 首段首字下沉（古典印刷品） */
.article-body > p:first-of-type::first-letter {
  font-family: var(--serif);
  font-size: 4.5em;
  font-weight: 600;
  float: left;
  line-height: 0.88;
  padding: 6px 14px 0 0;
  color: var(--brick);
  font-feature-settings: 'lnum';
}
.article-body h2 {
  font-family: var(--serif);
  font-size: clamp(26px, 3vw, 32px);
  line-height: 1.25;
  font-weight: 700;
  margin: 64px 0 18px;
  letter-spacing: -0.018em;
  color: var(--ink);
  padding-top: 24px;
  position: relative;
}
.article-body h2::before {
  content: '✦';
  position: absolute;
  top: 0;
  left: 0;
  font-family: var(--serif);
  font-size: 16px;
  color: var(--brick);
}
.article-body h3 {
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1.35;
  font-weight: 600;
  margin: 40px 0 12px;
  letter-spacing: -0.008em;
  color: var(--ink);
}
.article-body h4 {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brick);
  margin: 28px 0 8px;
}
.article-body p { margin: 0 0 22px; }
.article-body a {
  color: var(--ink-blue);
  text-decoration: underline;
  text-decoration-color: var(--ink-blue);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color 0.18s, text-decoration-color 0.18s;
}
.article-body a:hover { color: var(--brick); text-decoration-color: var(--brick); }
.article-body strong { font-weight: 700; color: var(--ink); }
.article-body em { font-style: italic; }
.article-body ul, .article-body ol {
  margin: 0 0 24px;
  padding-left: 28px;
}
.article-body li { margin-bottom: 8px; }
.article-body ul li::marker { color: var(--brick); }
.article-body ol li::marker {
  color: var(--brick);
  font-family: var(--mono);
  font-size: 0.9em;
  font-weight: 600;
}
.article-body blockquote {
  margin: 32px 0;
  padding: 20px 24px;
  background: var(--bg-paper);
  border-left: 3px solid var(--brick);
  font-family: var(--serif);
  font-style: italic;
  font-size: 19px;
  line-height: 1.6;
  color: var(--ink-2);
  position: relative;
}
.article-body blockquote::before {
  content: '"';
  position: absolute;
  top: -12px;
  left: 16px;
  font-family: var(--serif);
  font-size: 72px;
  color: var(--brick);
  opacity: 0.25;
  line-height: 1;
  font-style: normal;
}
.article-body code {
  font-family: var(--mono);
  font-size: 0.88em;
  background: var(--bg-stamp);
  padding: 2px 8px;
  border: 1px solid var(--rule);
  color: var(--brick-dark);
  border-radius: 0;
}
.article-body pre {
  background: var(--ink);
  color: var(--bg);
  padding: 20px 24px;
  overflow-x: auto;
  font-size: 14px;
  line-height: 1.6;
  margin: 24px 0;
  border: 2px solid var(--ink);
  box-shadow: 4px 4px 0 var(--rule);
  border-radius: 0;
}
.article-body pre code {
  background: transparent;
  border: none;
  padding: 0;
  color: var(--bg);
}
.article-body hr {
  border: none;
  margin: 48px auto;
  width: 100%;
  max-width: 200px;
  height: 24px;
  background-image: radial-gradient(circle, var(--rule-strong) 1.5px, transparent 1.5px);
  background-size: 14px 14px;
  background-repeat: repeat-x;
  background-position: center;
}

/* === Tables === */
.article-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 32px 0;
  font-family: var(--serif);
  font-size: 15px;
  background: var(--bg-card);
  border: 2px solid var(--ink);
  box-shadow: 4px 4px 0 var(--rule);
}
.article-body th {
  text-align: left;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink);
  padding: 14px 16px;
  background: var(--bg-stamp);
  border-bottom: 2px solid var(--ink);
}
.article-body td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--rule);
  color: var(--ink-2);
  vertical-align: top;
}
.article-body tr:last-child td { border-bottom: none; }
.article-body tr:hover td { background: var(--bg-paper); color: var(--ink); }

/* === Callouts === */
.callout {
  margin: 32px 0;
  padding: 20px 24px;
  background: var(--bg-paper);
  border: 1px solid var(--rule);
  border-left: 3px solid var(--ink-3);
  border-radius: 0;
  font-size: 16px;
  line-height: 1.65;
  position: relative;
}
.callout-label {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 10px;
  color: var(--ink-3);
}
.callout-label::before { content: '◆'; font-size: 11px; }
.callout p:last-child { margin: 0; }

.callout-warn {
  background: #f5e4c0;
  border-color: var(--gold);
  border-left-color: var(--gold-dark);
}
.callout-warn .callout-label,
.callout-warn strong { color: var(--gold-dark); }

.callout-experience {
  background: var(--brick-pale);
  border-color: var(--brick);
  border-left-color: var(--brick);
}
.callout-experience .callout-label,
.callout-experience strong { color: var(--brick-dark); }
.callout-experience::before { display: none; }

.callout-note {
  background: var(--moss-pale);
  border-color: var(--moss);
  border-left-color: var(--moss-dark);
}
.callout-note .callout-label,
.callout-note strong { color: var(--moss-dark); }

/* === Recommendation （article-end CTA）邮票/印章风 === */
.recommendation {
  margin: 56px 0;
  padding: 32px 36px;
  background: var(--bg-card);
  border: 2px solid var(--ink);
  border-radius: 0;
  position: relative;
  box-shadow: 5px 5px 0 var(--brick);
}
.recommendation::before { display: none; }
.recommendation::after {
  content: '';
  position: absolute;
  top: 6px;
  left: 6px;
  right: 6px;
  bottom: 6px;
  border: 1px solid var(--rule-strong);
  pointer-events: none;
}
.recommendation-label {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  color: var(--brick);
  font-weight: 600;
  margin: 0 0 14px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.recommendation-label::before { content: '◆'; font-size: 13px; }
.recommendation h4 {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.012em;
  margin: 0 0 14px;
  color: var(--ink);
}
.recommendation p {
  font-family: var(--serif);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-2);
  margin: 0 0 14px;
}
.recommendation a {
  color: var(--ink-blue);
  text-decoration: underline;
  text-decoration-color: var(--ink-blue);
  text-underline-offset: 3px;
}
.recommendation a:hover { color: var(--brick); }

.recommendation .ref-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 600;
  color: var(--bg);
  background: var(--ink);
  padding: 14px 28px;
  margin: 10px 0 6px;
  border: 2px solid var(--ink);
  text-decoration: none;
  box-shadow: 4px 4px 0 var(--brick);
  transition: all 0.18s;
  position: relative;
  letter-spacing: -0.005em;
}
.recommendation .ref-link::before {
  content: '';
  position: absolute;
  top: 4px;
  left: 4px;
  right: 4px;
  bottom: 4px;
  border: 1px solid rgba(250, 243, 223, 0.3);
  pointer-events: none;
}
.recommendation .ref-link:hover {
  background: var(--brick);
  border-color: var(--brick);
  color: var(--bg);
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 var(--ink);
}
.recommendation .disclosure-note {
  font-family: var(--serif);
  font-style: italic;
  font-size: 13px;
  color: var(--ink-3);
  margin-top: 16px;
}

/* === Related === */
.related {
  margin-top: 64px;
  padding-top: 32px;
  border-top: 2px double var(--rule);
  position: relative;
}
.related::before {
  content: '延伸阅读';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--bg);
  padding: 0 14px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--brick);
  font-weight: 600;
}
.related h3 { display: none; }
.related-list { display: grid; gap: 0; }
.related-list a {
  font-family: var(--serif);
  font-size: 18px;
  color: var(--ink);
  text-decoration: none;
  padding: 16px 0 16px 36px;
  border-bottom: 1px dotted var(--rule);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  transition: padding-left 0.3s var(--ease-out), color 0.18s;
  position: relative;
}
.related-list a::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--brick);
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 500;
  transition: transform 0.3s var(--ease-out);
}
.related-list a::after { display: none; }
.related-list a:last-child { border-bottom: none; }
.related-list a:hover {
  color: var(--brick);
  padding-left: 44px;
}
.related-list a:hover::before { transform: translateX(4px); }

/* === Author bio === */
.author-bio {
  margin: 48px 0 0;
  padding: 28px 32px;
  background: var(--bg-paper);
  border: 1px solid var(--rule);
  border-left: 3px solid var(--brick);
  position: relative;
}
.author-bio::before {
  content: '关于作者';
  position: absolute;
  top: -10px;
  left: 24px;
  background: var(--bg);
  padding: 0 12px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--brick);
  font-weight: 600;
  text-transform: uppercase;
  display: block !important;
}
.author-bio strong {
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 700;
  color: var(--ink);
  display: block;
  margin: 0 0 6px;
  letter-spacing: -0.008em;
}
.author-bio p {
  font-family: var(--serif);
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-2);
  margin: 0;
}

/* === Disclaimer === */
.disclaimer {
  font-family: var(--serif);
  font-style: italic;
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-3);
  background: transparent;
  margin: 40px 0 0;
  padding: 20px 0 0;
  border-top: 1px solid var(--rule);
}
.disclaimer strong { color: var(--ink-2); font-style: normal; }

/* =========================================================
   8. Footer
   ========================================================= */
.site-footer {
  background: var(--bg-stamp);
  border-top: 2px solid var(--ink);
  margin-top: 120px;
  padding: 64px 0 32px;
  position: relative;
}
.site-footer::before {
  content: '';
  position: absolute;
  top: -4px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--ink);
  opacity: 0.4;
}
.site-footer-inner {
  max-width: var(--max-w-wide);
  margin: 0 auto;
  padding: 0 28px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
}
.site-footer h4 {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--brick);
  font-weight: 600;
  margin: 0 0 18px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.site-footer h4::before { content: '◆'; font-size: 11px; }
.site-footer p {
  font-family: var(--serif);
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink-2);
  margin: 0 0 8px;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 12px; }
.site-footer a {
  font-family: var(--serif);
  font-size: 15px;
  color: var(--ink-2);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.18s, border-color 0.18s;
}
.site-footer a:hover {
  color: var(--brick);
  border-bottom-color: var(--brick);
}
.site-footer-bottom {
  max-width: var(--max-w-wide);
  margin: 48px auto 0;
  padding: 24px 28px 0;
  border-top: 1px solid var(--rule);
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-3);
  letter-spacing: 0.08em;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

@media (max-width: 880px) {
  .site-footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .site-footer-inner { grid-template-columns: 1fr; gap: 32px; }
}

/* === Focus === */
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--brick);
  outline-offset: 3px;
  border-radius: 0;
}

/* === Wrap (兼容) === */
.wrap, .wrap-wide {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 64px 28px 96px;
}

/* === Print === */
@media print {
  body { background: white; color: black; }
  body::before { display: none; }
  .site-nav, .site-footer, .related, .recommendation, .topbar { display: none; }
  .article-body a { color: black; }
}

/* === Reduced motion === */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}

/* === Hide legacy === */
.hero-ornament-top,
.hero-monogram,
.ornament-divider { display: none !important; }

/* === Mobile === */
@media (max-width: 720px) {
  body { font-size: 17px; }
  .wrap, .wrap-wide { padding: 32px 22px 56px; }
  .home-intro { padding: 56px 22px 64px; }
  .home-intro::before { top: 32px; font-size: 22px; }
  .home-eyebrow { margin-bottom: 36px; }
  .article-header { margin-bottom: 32px; padding-bottom: 24px; }
  .article-title { font-size: 28px; }
  .article-body { font-size: 17px; line-height: 1.7; }
  .article-body > p:first-of-type::first-letter { font-size: 3.6em; padding: 4px 10px 0 0; }
  .article-body h2 { margin: 48px 0 14px; padding-top: 20px; }
  .article-body h3 { margin: 28px 0 10px; }
  .article-body blockquote { padding: 16px 20px; font-size: 17px; }
  .toc { padding: 24px 20px; }
  .toc li { font-size: 15px; padding-left: 30px; }
  .recommendation { padding: 24px 22px; margin: 36px 0; box-shadow: 4px 4px 0 var(--brick); }
  .recommendation h4 { font-size: 21px; }
  .recommendation .ref-link { font-size: 15px; padding: 12px 22px; }
  .related-list a { font-size: 16px; padding: 14px 0 14px 30px; }
}

/* =========================================================
   v5.1 · 独立出版物精修
   在 v5.0 基础上加印刷品出版细节：期数 / Part 编号 / 邮票齿轮 / 版次印记
   ========================================================= */

/* === 1. Hero 区加创刊号期数印记 === */
.home-issue {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ink);
  margin: 0 auto 32px;
  text-align: center;
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 8px 20px;
  background: var(--bg-stamp);
  border: 1px solid var(--ink);
  position: relative;
  box-shadow: 3px 3px 0 var(--brick);
}
.home-issue::before, .home-issue::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 6px;
  height: 1px;
  background: var(--ink);
  transform: translateY(-50%);
}
.home-issue::before { left: -10px; }
.home-issue::after { right: -10px; }
.home-issue .num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 14px;
  font-weight: 600;
  color: var(--brick);
  letter-spacing: 0.04em;
  text-transform: none;
}
.home-issue .dot { color: var(--brick); margin: 0 2px; }

/* Hero 整体增加更多视觉层次 */
.home-intro {
  text-align: center;
}
.home-intro > .home-issue {
  display: inline-flex;
}

/* Hero 底部加一段引文式立场（emphasis），位于 meta 之下 */
.home-tagline {
  font-family: var(--hand);
  font-size: clamp(22px, 2.4vw, 28px);
  color: var(--brick);
  line-height: 1.45;
  margin: 64px auto 0;
  max-width: 540px;
  text-align: center;
  transform: rotate(-1deg);
  position: relative;
  display: block;
}
.home-tagline::before {
  content: '— ';
  color: var(--ink-3);
  font-family: var(--serif);
  font-style: italic;
}
.home-tagline::after {
  content: ' —';
  color: var(--ink-3);
  font-family: var(--serif);
  font-style: italic;
}

/* === 2. Section head 升级：加 PART 标签 === */
.section-head {
  position: relative;
}
.section-roman {
  position: relative;
}
.section-roman::before {
  content: 'PART';
  position: absolute;
  top: -6px;
  left: 0;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.32em;
  color: var(--ink-3);
  font-weight: 500;
  line-height: 1;
  text-transform: uppercase;
}

@media (max-width: 720px) {
  .section-roman::before { font-size: 9px; top: -4px; }
}

/* === 3. 文章列表精修 hover === */
.article-list > li {
  padding-right: 8px;
}
.article-list > li:hover .al-num {
  color: var(--brick-dark);
  transform: translateX(-4px);
}
.al-num {
  transition: color 0.25s, transform 0.4s var(--ease-out);
}

/* 文章 li 末尾加"打开"箭头 */
.article-list > li::after {
  content: '↗';
  position: absolute;
  right: 8px;
  top: 32px;
  font-family: var(--serif);
  font-size: 22px;
  color: var(--ink-4);
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity 0.3s, transform 0.4s var(--ease-out), color 0.2s;
  pointer-events: none;
}
.article-list > li:hover::after {
  opacity: 1;
  transform: translateX(0);
  color: var(--brick);
}

@media (max-width: 720px) {
  .article-list > li::after { display: none; }
}

/* === 4. CTA 邮票齿轮边（recommendation block）=== */
.recommendation {
  background-image:
    radial-gradient(circle 4px at 0 50%, transparent 4px, var(--bg) 4px),
    radial-gradient(circle 4px at 100% 50%, transparent 4px, var(--bg) 4px);
  background-size: 16px 16px;
  background-repeat: repeat-y;
  background-position: -2px 0, calc(100% + 2px) 0;
}

/* CTA 加邮票"印章"印记 */
.recommendation-label {
  position: relative;
  padding-right: 70px;
}
.recommendation-label::after {
  content: 'BN16188';
  position: absolute;
  right: 0;
  top: -4px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.18em;
  color: var(--brick);
  font-weight: 700;
  border: 1px solid var(--brick);
  padding: 2px 8px;
  background: var(--bg);
  transform: rotate(-3deg);
  text-transform: uppercase;
}

/* === 5. Home CTA 加印章效果 === */
.home-cta-inner {
  background-image:
    radial-gradient(circle 4px at 0 50%, transparent 4px, var(--bg) 4px),
    radial-gradient(circle 4px at 100% 50%, transparent 4px, var(--bg) 4px);
  background-size: 16px 16px;
  background-repeat: repeat-y;
  background-position: -2px 0, calc(100% + 2px) 0;
  background-color: var(--bg-card);
}

/* 顶部「编辑部目前长期使用」标签强化 */
.home-cta .cta-label {
  position: relative;
}
.home-cta .cta-label::after {
  content: 'No. 01';
  position: absolute;
  right: -110px;
  top: -2px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  color: var(--ink-3);
  font-weight: 500;
  border: 1px solid var(--rule-strong);
  padding: 3px 10px;
  background: var(--bg);
  transform: rotate(2deg);
  text-transform: uppercase;
}

@media (max-width: 720px) {
  .home-cta .cta-label::after { display: none; }
  .recommendation-label::after { display: none; }
  .recommendation-label { padding-right: 0; }
}

/* === 6. Footer 升级：加版本号 / 校对印记 === */
.site-footer-bottom {
  position: relative;
}
.site-footer-bottom::before {
  content: 'VOL.1 · No.001 · 2026 SPRING';
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.28em;
  color: var(--brick);
  font-weight: 600;
  background: var(--bg-stamp);
  padding: 0 16px;
  text-transform: uppercase;
}

/* Footer h4 加更精致的下划线 */
.site-footer h4 {
  position: relative;
  padding-bottom: 8px;
}
.site-footer h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 28px;
  height: 1px;
  background: var(--brick);
}

/* === 7. Nav 加精致 logo 印记 === */
.site-brand {
  position: relative;
  padding-bottom: 4px;
}
.site-brand::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 32px;
  height: 2px;
  background: var(--brick);
}

/* === 8. Topbar 升级：加邮戳风 === */
.topbar {
  background:
    repeating-linear-gradient(
      45deg,
      transparent,
      transparent 8px,
      rgba(184, 68, 42, 0.04) 8px,
      rgba(184, 68, 42, 0.04) 16px
    ),
    var(--bg-stamp);
}

/* === 9. Article-cover 升级：加印章风边 === */
.article-cover img {
  box-shadow: 6px 6px 0 var(--brick-pale), 12px 12px 0 var(--rule-soft);
}

/* === 10. Article body 段落首字加"小印章" 风（仅 callout-experience） === */
.callout-experience {
  position: relative;
}
.callout-experience::after {
  content: '◆ 实测';
  position: absolute;
  top: -10px;
  right: 16px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--brick);
  background: var(--bg);
  padding: 2px 10px;
  border: 1px solid var(--brick);
  font-weight: 600;
  text-transform: uppercase;
  transform: rotate(-2deg);
  display: block !important;
}

/* === 11. blockquote 升级：加左侧装饰 === */
.article-body blockquote {
  position: relative;
  margin-left: 20px;
}
.article-body blockquote::after {
  content: '"';
  position: absolute;
  bottom: -32px;
  right: 12px;
  font-family: var(--serif);
  font-size: 72px;
  color: var(--brick);
  opacity: 0.18;
  font-style: normal;
  line-height: 1;
}

/* === 12. TOC 加精致小印章 === */
.toc {
  position: relative;
}
.toc::after {
  content: '阅读约 X 分钟';
  position: absolute;
  top: -11px;
  right: 24px;
  background: var(--bg);
  padding: 0 12px;
  font-family: var(--mono);
  font-style: italic;
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--ink-3);
  font-weight: 400;
}

/* === 13. 微动效精修 — 所有链接 hover 更顺 === */
.site-nav-links a,
.al-title a,
.toc a,
.colophon a,
.article-body a,
.related-list a,
.site-footer a {
  transition-timing-function: var(--ease-out);
  transition-duration: 0.25s;
}

/* === 14. Hero meta 精致化 === */
.home-meta {
  background: var(--bg-stamp);
  padding: 12px 24px;
  border-top: none;
  border: 1px solid var(--rule);
  border-radius: 0;
  max-width: 480px;
  box-shadow: 2px 2px 0 var(--rule-soft);
}
.home-meta::before { display: none; }

/* === 15. Article header 整体加印章风 === */
.article-header {
  position: relative;
}
.article-header::before {
  content: '';
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 36px;
  height: 36px;
  border: 1px solid var(--brick);
  border-radius: 50%;
  opacity: 0.25;
  display: none; /* 默认不显示，仅装饰备用 */
}

/* === Mobile 适配 === */
@media (max-width: 720px) {
  .home-issue { font-size: 10px; padding: 6px 14px; gap: 10px; }
  .home-tagline { font-size: 20px; margin-top: 48px; }
  .article-list > li { padding-right: 0; }
  .recommendation { background-size: 12px 12px; padding: 24px 22px; }
  .home-cta-inner { background-size: 12px 12px; }
  .callout-experience::after { font-size: 9px; padding: 2px 8px; top: -8px; right: 12px; }
  .article-cover img { box-shadow: 4px 4px 0 var(--brick-pale); }
}

/* === Language switcher (v22 enhanced visibility) === */
.lang-switch {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.4rem 0.6rem;
  padding: 0.9rem 1.5rem;
  font-family: var(--font-serif, 'Crimson Pro', Georgia, serif);
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  background: linear-gradient(180deg, rgba(184, 168, 120, 0.06) 0%, rgba(184, 168, 120, 0.12) 100%);
  border-top: 1px solid rgba(122, 31, 31, 0.18);
  border-bottom: 1px solid rgba(122, 31, 31, 0.10);
}
.lang-switch-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #7a1f1f;
  font-weight: 600;
  margin-right: 0.5rem;
  font-family: var(--font-mono, 'JetBrains Mono', monospace);
}
.lang-switch::before {
  content: "Language · 语种 · Язык";
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(122, 31, 31, 0.65);
  font-weight: 600;
  margin-right: 0.4rem;
  font-family: var(--font-mono, 'JetBrains Mono', monospace);
}
.lang-switch-link {
  color: #1a3550;
  text-decoration: none;
  padding: 0.25rem 0.6rem;
  border-radius: 3px;
  font-weight: 500;
  transition: all 0.18s ease;
  position: relative;
}
.lang-switch-link:hover {
  color: #c84a1e;
  background: rgba(200, 74, 30, 0.08);
  text-decoration: none;
}
.lang-switch-current {
  background: #1a3550;
  color: #faf3df !important;
  font-weight: 600;
  cursor: default;
  box-shadow: 0 1px 3px rgba(26, 53, 80, 0.25);
}
.lang-switch-current:hover {
  background: #1a3550;
  color: #faf3df !important;
}
@media (max-width: 720px) {
  .lang-switch {
    padding: 0.75rem 0.5rem;
    font-size: 0.88rem;
    gap: 0.3rem 0.4rem;
  }
  .lang-switch::before {
    width: 100%;
    text-align: center;
    margin-bottom: 0.3rem;
    margin-right: 0;
  }
  .lang-switch-link {
    padding: 0.22rem 0.45rem;
  }
}
