/* ============================================================================
   硅基方舟 · SILICON ARK —— 设计系统 v4「像素终端 PIXEL TERMINAL」
   令牌唯一来源：本文件 :root。页面内禁止散落硬编码色值。

   设计约束（与 v3 的根本区别，改版时请守住）：
     1. 零模糊 —— 不用 blur / backdrop-filter / 柔光径向渐变，一律硬边。
     2. 零圆角 —— 全部 0px；直角 + 阶梯切角，绝不出现胶囊形。
     3. 4px 栅格 —— 间距、边框、位移、阴影偏移全部为 4 的倍数。
     4. 抖动替代渐变 —— 需要过渡时用棋盘 dither，不用线性渐变铺面。
     5. 图形优先 —— 像素画用 SVG 整数坐标绘制（见 main.js NG.sprite）。
   ========================================================================== */

:root {
  /* ---- 基底（深空靛） ---- */
  --void:    #080611;
  --bg:      #110e20;
  --panel:   #191536;
  --panel-2: #221c46;
  --panel-3: #2c2557;

  /* ---- 文字 ---- */
  /* 三级文字都按 WCAG AA 反推过。--ink-low 是给 10px 微标签用的，
     小字最吃对比度，所以在最亮的 --panel-2 上也要留住 5.15:1，不能再压暗 */
  --ink:     #f2eeff;
  --ink-mid: #a99fd6;
  --ink-low: #948cc4;

  /* ---- 线条 ---- */
  --line:    #2e2758;
  --line-hi: #4a3f8f;

  /* ---- 像素强调色 ---- */
  /* 品红与紫罗兰会直接当标签文字色用（.tag-c-手记 / .tag-saved），
     所以取值不能只顾好看，两个色都保证最坏情况下 ≥5.2:1 */
  --p-lime:    #c9ff3d;
  --p-cyan:    #38e1ff;
  --p-magenta: #ff6ba8;
  --p-amber:   #ffc63d;
  --p-violet:  #a48fff;

  /* ---- 字体 ---- */
  --font-mono: "Cascadia Mono", "Consolas", ui-monospace, "DejaVu Sans Mono", monospace;
  --font-cn: "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", "Noto Sans CJK SC", sans-serif;

  /* ---- 像素几何 ---- */
  --u: 4px;
  --bd: 4px;
  --shadow: 6px 6px 0 #06050d;
  --px-clip: polygon(
    0 8px, 4px 8px, 4px 4px, 8px 4px, 8px 0,
    calc(100% - 8px) 0, calc(100% - 8px) 4px, calc(100% - 4px) 4px,
    calc(100% - 4px) 8px, 100% 8px,
    100% calc(100% - 8px), calc(100% - 4px) calc(100% - 8px),
    calc(100% - 4px) calc(100% - 4px), calc(100% - 8px) calc(100% - 4px),
    calc(100% - 8px) 100%,
    8px 100%, 8px calc(100% - 4px), 4px calc(100% - 4px),
    4px calc(100% - 8px), 0 calc(100% - 8px)
  );
}

/* ---------------------------------------------------------------- 重置 / 基底 */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-cn);
  font-size: 15px;
  line-height: 1.75;
  min-height: 100vh;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img, canvas, svg { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; color: inherit; }
input, select, textarea { font-family: inherit; }
[hidden] { display: none !important; }
::selection { background: var(--p-lime); color: var(--void); }
:focus-visible { outline: 4px solid var(--p-cyan); outline-offset: 2px; }

/* 抖动底纹：整页一层棋盘 dither，替代 v3 的极光模糊 */
body::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    linear-gradient(45deg, rgba(139, 107, 255, 0.10) 25%, transparent 25% 75%, rgba(139, 107, 255, 0.10) 75%),
    linear-gradient(45deg, rgba(139, 107, 255, 0.10) 25%, transparent 25% 75%, rgba(139, 107, 255, 0.10) 75%);
  background-size: 16px 16px;
  background-position: 0 0, 8px 8px;
}
/* CRT 扫描线 + 暗角 */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 9998; pointer-events: none;
  background:
    repeating-linear-gradient(180deg, rgba(0, 0, 0, 0.22) 0 2px, transparent 2px 4px),
    radial-gradient(ellipse at 50% 50%, transparent 58%, rgba(0, 0, 0, 0.42) 100%);
}

.container { width: min(1180px, 92%); margin: 0 auto; }
.container-narrow { width: min(820px, 92%); margin: 0 auto; }

/* ---------------------------------------------------------------- 排版原子 */
.mono {
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--p-lime);
  background: var(--panel);
  border: 2px solid var(--line-hi);
  padding: 4px 10px;
}
.eyebrow::before { content: "\25B8"; color: var(--p-cyan); }
.eyebrow.bare::before { content: none; }

.display {
  font-family: var(--font-cn);
  font-weight: 900; line-height: 1.02; letter-spacing: 0.01em;
}
/* 8-bit 硬挤出：多层无模糊 text-shadow 叠出方块厚度 */
.px-extrude { text-shadow: 4px 4px 0 var(--p-violet), 8px 8px 0 var(--p-magenta); }
.px-extrude-2 { text-shadow: 4px 4px 0 var(--void), 8px 8px 0 var(--p-violet); }
.px-outline { -webkit-text-stroke: 3px var(--p-lime); color: transparent; }
.hint { font-size: 12.5px; color: var(--ink-low); letter-spacing: 0.03em; }
.dim { color: var(--ink-mid); }
.cursor::after {
  content: "\258A"; color: var(--p-lime); margin-left: 6px;
  animation: blink 1s steps(2, jump-none) infinite;
}
@keyframes blink { 0%, 50% { opacity: 1; } 50.01%, 100% { opacity: 0; } }

/* 像素虚线分隔：4px 实 / 4px 空，比 1px 实线更像 8-bit */
.px-rule {
  height: 4px; border: 0;
  background-image: repeating-linear-gradient(90deg, var(--line-hi) 0 4px, transparent 4px 8px);
}
/* 棋盘抖动带 */
.px-dither {
  height: 16px;
  background-image:
    linear-gradient(45deg, var(--line) 25%, transparent 25% 75%, var(--line) 75%),
    linear-gradient(45deg, var(--line) 25%, transparent 25% 75%, var(--line) 75%);
  background-size: 8px 8px;
  background-position: 0 0, 4px 4px;
}

/* ---------------------------------------------------------------- 像素面板 */
.px {
  background: var(--panel);
  border: var(--bd) solid var(--line-hi);
  clip-path: var(--px-clip);
  filter: drop-shadow(var(--shadow));
}
.px-flat { filter: none; }
.px-2 { background: var(--panel-2); }
.px-title {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 8px 12px;
  background: var(--panel-2);
  border-bottom: 4px solid var(--line-hi);
  font-family: var(--font-mono);
  font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ink-mid);
}
.px-title b { color: var(--p-lime); font-weight: 400; }
.px-body { padding: 18px 20px; }

/* ---------------------------------------------------------------- 顶部导航 */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: var(--void);
  border-bottom: 4px solid var(--line-hi);
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px; gap: 20px;
}
.logo { display: flex; align-items: center; gap: 12px; white-space: nowrap; }
.logo-mark { width: 30px; height: 30px; flex: none; image-rendering: pixelated; }
.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-cn { font-weight: 900; font-size: 16px; letter-spacing: 0.1em; }
/* 微标签下限锁死 10px：像素风的小号大写字母本来就难认，再小就只剩装饰意义了 */
.logo-en { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.24em; color: var(--ink-low); }

.site-nav { display: flex; align-items: stretch; gap: 0; }
.site-nav a {
  display: flex; align-items: center; gap: 8px;
  padding: 0 18px; height: 68px;
  font-size: 14px; letter-spacing: 0.08em; color: var(--ink-mid);
  border-left: 4px solid transparent;
  transition: color .12s steps(2), background .12s steps(2);
}
.site-nav a i {
  font-style: normal; font-family: var(--font-mono);
  font-size: 10px; letter-spacing: 0.08em; color: var(--ink-low);
}
.site-nav a:hover { color: var(--ink); background: var(--panel); }
.site-nav a.active {
  color: var(--void); background: var(--p-lime);
}
.site-nav a.active i { color: rgba(8, 6, 17, 0.6); }

.header-tools { display: flex; align-items: center; gap: 10px; }
.nav-toggle {
  display: none; width: 44px; height: 36px; flex: none;
  background: var(--panel); border: 3px solid var(--line-hi);
  align-items: center; justify-content: center; flex-direction: column; gap: 4px;
}
.nav-toggle span { display: block; width: 18px; height: 3px; background: var(--ink); transition: transform .14s steps(2), opacity .14s steps(2); }
body.menu-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.menu-open .nav-toggle span:nth-child(2) { opacity: 0; }
body.menu-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .site-nav {
    position: fixed; inset: 68px 0 auto 0; z-index: 55;
    flex-direction: column; align-items: stretch;
    background: var(--void);
    border-bottom: 4px solid var(--line-hi);
    transform: translateY(-8px); opacity: 0; pointer-events: none;
    transition: opacity .14s steps(2), transform .14s steps(2);
  }
  body.menu-open .site-nav { opacity: 1; transform: translateY(0); pointer-events: auto; }
  .site-nav a { height: auto; padding: 18px 6%; font-size: 20px; border-left: 0; border-top: 4px solid var(--line); }
  .site-nav a.active { color: var(--void); background: var(--p-lime); }
  .site-nav a.active i { color: rgba(8, 6, 17, 0.6); }
}

/* ---------------------------------------------------------------- 按钮 / 标签 */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 12px 22px;
  font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.14em; text-transform: uppercase;
  background: var(--panel-2); color: var(--ink);
  border: 3px solid var(--void);
  box-shadow: inset 3px 3px 0 rgba(255, 255, 255, 0.14), inset -3px -3px 0 rgba(0, 0, 0, 0.55), 5px 5px 0 var(--void);
  transition: background .1s steps(2), color .1s steps(2);
}
.btn:hover { background: var(--panel-3); color: var(--p-lime); }
.btn:active { transform: translate(4px, 4px); box-shadow: inset 3px 3px 0 rgba(255, 255, 255, 0.14), inset -3px -3px 0 rgba(0, 0, 0, 0.55), 1px 1px 0 var(--void); }
.btn-solid {
  background: var(--p-lime); color: var(--void); font-weight: 700;
  box-shadow: inset 3px 3px 0 rgba(255, 255, 255, 0.55), inset -3px -3px 0 rgba(0, 0, 0, 0.30), 5px 5px 0 var(--void);
}
.btn-solid:hover { background: var(--p-cyan); color: var(--void); }
.btn-cyan { background: var(--p-cyan); color: var(--void); font-weight: 700;
  box-shadow: inset 3px 3px 0 rgba(255, 255, 255, 0.55), inset -3px -3px 0 rgba(0, 0, 0, 0.30), 5px 5px 0 var(--void); }
.btn-cyan:hover { background: var(--p-lime); }
.btn-sm { padding: 9px 15px; font-size: 10px; }

.tag {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 3px 9px;
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase;
  border: 2px solid currentColor; color: var(--ink-mid);
}
.tag-c-公告 { color: var(--p-lime); }
.tag-c-快讯 { color: var(--p-amber); }
.tag-c-观察 { color: var(--p-cyan); }
.tag-c-手记 { color: var(--p-magenta); }
.tag-saved { color: var(--p-violet); }
.tag-read { color: var(--ink-low); }

.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px;
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink-mid); background: var(--panel);
  border: 3px solid var(--line-hi);
  box-shadow: 3px 3px 0 var(--void);
  transition: color .1s steps(2), background .1s steps(2);
}
.chip:hover { color: var(--ink); background: var(--panel-2); }
.chip:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--void); }
.chip.on { background: var(--p-lime); border-color: var(--p-lime); color: var(--void); font-weight: 700; }
.chip .n { opacity: 0.65; }

.empty { padding: 56px 0; text-align: center; color: var(--ink-mid); }

/* ---------------------------------------------------------------- 页脚 */
.site-footer {
  margin-top: 64px;
  border-top: 4px solid var(--line-hi);
  background: var(--void);
  font-size: 13px; color: var(--ink-mid);
}
.site-footer .container { display: flex; flex-direction: column; gap: 20px; padding: 40px 0 44px; }
.foot-top { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.foot-brand { max-width: 340px; display: flex; flex-direction: column; gap: 10px; }
.foot-brand .display { font-size: 20px; }
.foot-cols { display: flex; gap: 52px; flex-wrap: wrap; }
.foot-col { display: flex; flex-direction: column; gap: 10px; }
.foot-col h4 {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--p-lime); font-weight: 400;
}
.foot-col a { color: var(--ink-mid); font-size: 13px; transition: color .12s steps(2); }
.foot-col a:hover { color: var(--p-lime); }
.foot-bottom {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding-top: 20px; border-top: 4px solid var(--line);
  font-size: 12px; color: var(--ink-low);
}
.foot-bottom a { color: var(--ink-mid); border-bottom: 2px solid var(--line-hi); }
.foot-bottom a:hover { color: var(--p-lime); border-color: var(--p-lime); }

/* ---------------------------------------------------------------- 滚动进场 */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .4s steps(6), transform .4s steps(6); }
.reveal.in { opacity: 1; transform: none; }

/* ---------------------------------------------------------------- 首屏 Hero */
.hero {
  position: relative;
  border-bottom: 4px solid var(--line-hi);
  background: var(--void);
  overflow: hidden;
}
.hero-inner {
  display: grid; grid-template-columns: 1.05fr 0.95fr;
  gap: 40px; align-items: center;
  padding: 64px 0 56px;
}
.hero-copy { display: flex; flex-direction: column; gap: 22px; align-items: flex-start; }
.hero-title {
  font-size: clamp(40px, 7.4vw, 92px);
  font-weight: 900; line-height: 0.96; letter-spacing: -0.01em;
}
.hero-title .l2 { color: var(--p-lime); display: block; }
.hero-sub { max-width: 46ch; color: var(--ink-mid); font-size: 15px; line-height: 1.9; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats { display: flex; flex-wrap: wrap; border: 3px solid var(--line-hi); background: var(--panel); }
.hero-stat { padding: 12px 20px; border-right: 3px solid var(--line-hi); min-width: 108px; }
.hero-stat:last-child { border-right: 0; }
.hero-stat b { display: block; font-family: var(--font-mono); font-size: 22px; color: var(--p-lime); line-height: 1.2; }
.hero-stat span { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-low); }

.hero-stage {
  position: relative;
  border: 4px solid var(--line-hi);
  background: var(--void);
  clip-path: var(--px-clip);
  filter: drop-shadow(var(--shadow));
}
.hero-stage svg { width: 100%; height: auto; display: block; image-rendering: pixelated; }
.hero-stage .stage-tag {
  position: absolute; left: 0; bottom: 0;
  padding: 4px 10px; background: var(--p-lime); color: var(--void);
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase;
}
/* 信号弧：steps() 做像素式扩张，不做平滑淡出 */
@keyframes sig { 0% { opacity: 0; } 20% { opacity: .9; } 100% { opacity: 0; } }
.sig-arc { animation: sig 2.4s steps(8, jump-none) infinite; }
.sig-arc.a2 { animation-delay: .8s; }
.sig-arc.a3 { animation-delay: 1.6s; }

@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; gap: 28px; padding: 44px 0 40px; }
  .hero-stage { order: -1; }
}

/* ---------------------------------------------------------------- 跑马灯 */
.ticker {
  border-bottom: 4px solid var(--line-hi);
  background: var(--p-lime); color: var(--void);
  overflow: hidden; white-space: nowrap;
}
.ticker-track { display: inline-flex; animation: tick 34s linear infinite; }
.ticker-item {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 9px 26px 9px 0;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em;
}
.ticker-item::after { content: "\25C6"; font-size: 8px; opacity: 0.6; }
@keyframes tick { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------------------------------------------------------------- 区块骨架 */
.section { padding: 56px 0 0; }
.section-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 20px; flex-wrap: wrap; margin-bottom: 26px;
}
.section-head h2 { font-size: clamp(24px, 3.4vw, 38px); font-weight: 900; letter-spacing: 0.01em; }
.section-head .lead { color: var(--ink-mid); font-size: 13.5px; max-width: 52ch; margin-top: 8px; }

/* ---------------------------------------------------------------- 卡片网格 */
.grid { display: grid; gap: 20px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1000px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

/* 资讯卡：左侧 12px 色条 + 阶梯切角 */
.card {
  position: relative;
  display: flex; flex-direction: column; gap: 12px;
  padding: 20px 20px 18px;
  background: var(--panel);
  border: var(--bd) solid var(--line-hi);
  border-left: 12px solid var(--line-hi);
  clip-path: var(--px-clip);
  transition: transform .12s steps(3), border-color .12s steps(3);
}
.card:hover { transform: translate(-2px, -2px); border-left-color: var(--p-lime); }
.card.c-公告 { border-left-color: var(--p-lime); }
.card.c-快讯 { border-left-color: var(--p-amber); }
.card.c-观察 { border-left-color: var(--p-cyan); }
.card.c-手记 { border-left-color: var(--p-magenta); }
.card-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.card h3 { font-size: 17.5px; font-weight: 800; line-height: 1.5; letter-spacing: 0.01em; }
.card:hover h3 { color: var(--p-lime); }
.card p { font-size: 13.5px; color: var(--ink-mid); line-height: 1.8; }
.card-foot {
  margin-top: auto; padding-top: 12px;
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  border-top: 4px solid var(--line);
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.1em; color: var(--ink-low);
}
.card.is-read { opacity: 0.66; }
.card.is-read h3::after { content: " \2713"; color: var(--ink-low); }

/* 头条大卡 */
.feature {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0;
  border: var(--bd) solid var(--line-hi);
  background: var(--panel);
  clip-path: var(--px-clip);
  filter: drop-shadow(var(--shadow));
  overflow: hidden;
}
.feature-art {
  background: var(--void);
  border-right: 4px solid var(--line-hi);
  display: flex; align-items: center; justify-content: center;
  padding: 22px; min-height: 260px;
}
.feature-art svg { width: 100%; max-width: 320px; image-rendering: pixelated; }
.feature-body { padding: 30px 28px; display: flex; flex-direction: column; gap: 14px; }
.feature-body h3 { font-size: clamp(22px, 2.8vw, 32px); font-weight: 900; line-height: 1.28; }
.feature-body p { color: var(--ink-mid); font-size: 14.5px; line-height: 1.9; }
@media (max-width: 860px) {
  .feature { grid-template-columns: 1fr; }
  .feature-art { border-right: 0; border-bottom: 4px solid var(--line-hi); min-height: 0; }
}

/* ---------------------------------------------------------------- 资讯页布局 */
.news-layout { display: grid; grid-template-columns: 1fr 300px; gap: 28px; align-items: start; }
@media (max-width: 1000px) { .news-layout { grid-template-columns: 1fr; } }

.toolbar {
  display: flex; flex-direction: column; gap: 16px;
  padding: 18px; margin-bottom: 26px;
  background: var(--panel); border: var(--bd) solid var(--line-hi);
  clip-path: var(--px-clip);
}
.search-row { display: flex; gap: 12px; flex-wrap: wrap; }
.px-input {
  flex: 1 1 240px; min-width: 0;
  padding: 11px 14px;
  background: var(--void); color: var(--ink);
  border: 3px solid var(--line-hi);
  font-family: var(--font-mono); font-size: 12.5px; letter-spacing: 0.06em;
}
.px-input::placeholder { color: var(--ink-low); }
.px-input:focus { outline: none; border-color: var(--p-lime); }

.side-card { margin-bottom: 20px; }
.side-list { display: flex; flex-direction: column; }
.side-list a, .side-list button {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  width: 100%; text-align: left;
  padding: 10px 0; border: 0; background: none;
  border-bottom: 3px solid var(--line);
  font-size: 13px; color: var(--ink-mid);
  transition: color .12s steps(2);
}
.side-list a:last-child, .side-list button:last-child { border-bottom: 0; }
.side-list a:hover, .side-list button:hover { color: var(--p-lime); }
.side-list .n { font-family: var(--font-mono); font-size: 10px; color: var(--ink-low); }

/* ---------------------------------------------------------------- 文章详情 */
.article-head { padding: 40px 0 26px; border-bottom: 4px solid var(--line-hi); }
.article-head h1 { font-size: clamp(26px, 4.2vw, 46px); font-weight: 900; line-height: 1.26; margin: 16px 0 18px; }
.article-meta {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.12em; color: var(--ink-low);
}
.article-body { padding: 34px 0 0; max-width: 74ch; }
.article-body p { margin-bottom: 20px; font-size: 16px; line-height: 2; color: var(--ink); }
.article-body h2 {
  margin: 40px 0 18px; padding-left: 14px;
  font-size: 22px; font-weight: 900;
  border-left: 8px solid var(--p-lime);
}
.article-body ul { margin: 0 0 22px; padding-left: 0; list-style: none; }
.article-body li {
  position: relative; padding-left: 26px; margin-bottom: 12px;
  font-size: 15.5px; line-height: 1.95; color: var(--ink-mid);
}
.article-body li::before { content: "\25AA"; position: absolute; left: 4px; top: 0; color: var(--p-lime); font-size: 14px; }
.article-body a { color: var(--p-cyan); border-bottom: 2px solid var(--p-cyan); }
.article-body code {
  font-family: var(--font-mono); font-size: 13px;
  background: var(--panel-2); border: 2px solid var(--line-hi); padding: 1px 6px;
}
.article-foot {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  margin-top: 40px; padding-top: 24px; border-top: 4px solid var(--line-hi);
}

/* ---------------------------------------------------------------- 关于页 */
.prose { font-size: 15.5px; line-height: 2; color: var(--ink-mid); }
.prose p { margin-bottom: 18px; }
.prose strong { color: var(--ink); }

.spec-list { display: flex; flex-direction: column; }
.spec-row {
  display: grid; grid-template-columns: 168px 1fr; gap: 18px;
  padding: 14px 0; border-bottom: 3px solid var(--line);
}
.spec-row:last-child { border-bottom: 0; }
.spec-row .k {
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--p-lime);
}
.spec-row .v { font-size: 14px; color: var(--ink-mid); line-height: 1.8; }
@media (max-width: 560px) { .spec-row { grid-template-columns: 1fr; gap: 6px; } }

.notice {
  padding: 18px 20px;
  background: var(--panel-2);
  border: 3px solid var(--line-hi);
  border-left: 12px solid var(--p-amber);
  font-size: 14px; line-height: 1.9; color: var(--ink-mid);
}
.notice strong { color: var(--p-amber); }
.backup-row { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }

/* ---------------------------------------------------------------- 分类速览 */
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 860px) { .cat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 430px) { .cat-grid { grid-template-columns: 1fr; } }
.cat-tile {
  display: flex; flex-direction: column; gap: 12px;
  padding: 20px;
  background: var(--panel); border: var(--bd) solid var(--line-hi);
  clip-path: var(--px-clip);
  transition: transform .12s steps(3);
}
.cat-tile:hover { transform: translate(-2px, -2px); }
.cat-tile .ico { width: 40px; height: 40px; image-rendering: pixelated; }
.cat-tile h3 { font-size: 17px; font-weight: 800; }
.cat-tile p { font-size: 12.5px; color: var(--ink-mid); line-height: 1.75; }
.cat-tile .n { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.14em; color: var(--ink-low); }

/* ---------------------------------------------------------------- 无障碍 / 降级 */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  .ticker-track { animation: none; }
}
@media (max-width: 430px) {
  body { font-size: 14.5px; }
  .hero-stat { min-width: 92px; padding: 10px 14px; }
  .card { padding: 16px 16px 14px; }
}

