/* =========================================================
   Box for Android · 盒子
   暖纸 / 墨黑 / 朱红，工具箱手册的排版语感
   ========================================================= */

:root {
  --paper: #f2eee4;
  --paper-2: #faf7ef;
  --ink: #171915;
  --ink-soft: #3f423a;
  --muted: #6f7065;
  --line: #d8d1c1;
  --line-strong: #b9b09c;
  --accent: #d64a24;
  --accent-ink: #a83315;
  --green: #1f4d3d;
  --sans: "PingFang SC", "Hiragino Sans GB", "Noto Sans CJK SC", "Source Han Sans SC", "Microsoft YaHei", sans-serif;
  --serif: "Songti SC", "Noto Serif CJK SC", "Source Han Serif SC", "Noto Serif SC", "STSong", serif;
  --mono: "SFMono-Regular", "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
  --maxw: 1180px;
  --pad: clamp(20px, 4vw, 48px);
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background-color: var(--paper);
  background-image: radial-gradient(rgba(23, 25, 21, 0.045) 0.6px, transparent 0.6px);
  background-size: 4px 4px;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
::selection { background: var(--accent); color: #fff8ee; }

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 16px; top: -60px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--ink);
  color: var(--paper);
  text-decoration: none;
  font-size: 13px;
}
.skip-link:focus { top: 12px; }

.wrap {
  width: min(var(--maxw), 100% - var(--pad) * 2);
  margin-inline: auto;
}

.mono { font-family: var(--mono); }

/* ---------- 按钮 ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 22px;
  border: 1.5px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  box-shadow: 4px 4px 0 var(--accent);
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease;
  cursor: pointer;
}
.btn:hover {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 var(--accent);
}
.btn-ghost {
  background: transparent;
  color: var(--ink);
  box-shadow: 4px 4px 0 var(--line-strong);
}
.btn-ghost:hover { box-shadow: 2px 2px 0 var(--line-strong); }
.btn-light {
  background: var(--paper-2);
  color: var(--ink);
  border-color: var(--ink);
  box-shadow: 4px 4px 0 var(--ink);
}
.btn-light:hover { box-shadow: 2px 2px 0 var(--ink); }
.btn-accent {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff8ee;
  box-shadow: 4px 4px 0 #f0b9a8;
}
.btn-accent:hover { box-shadow: 2px 2px 0 #f0b9a8; }

/* ---------- 顶部导航 ---------- */

.site-head {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(242, 238, 228, 0.9);
  -webkit-backdrop-filter: blur(14px) saturate(1.15);
  backdrop-filter: blur(14px) saturate(1.15);
  border-bottom: 1px solid var(--line);
}

.head-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex: none;
}
.brand-text {
  display: flex;
  flex-direction: row;
  align-items: baseline;
  gap: 9px;
  line-height: 1;
}
.brand-name {
  font-family: var(--serif);
  font-size: 25px;
  font-weight: 900;
  letter-spacing: 0.02em;
}
.brand-en {
  margin-top: 0;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  color: var(--muted);
}

.nav {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: auto;
}
.nav-link {
  position: relative;
  padding: 9px 12px;
  font-size: 14px;
  color: var(--ink-soft);
  text-decoration: none;
  white-space: nowrap;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 12px; right: 12px; bottom: 2px;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}
.nav-link:hover { color: var(--ink); }
.nav-link:hover::after,
.nav-link[aria-current="page"]::after { transform: scaleX(1); }
.nav-link[aria-current="page"] { color: var(--ink); font-weight: 600; }

.head-actions { display: flex; align-items: center; gap: 10px; }

.nav-rank {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border: 1.5px solid var(--accent);
  background: rgba(214, 74, 36, 0.07);
  color: var(--accent-ink);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.18s ease, color 0.18s ease;
}
.nav-rank:hover { background: var(--accent); color: #fff8ee; }
.nav-rank[aria-current="page"] { background: var(--accent); color: #fff8ee; }

.menu-toggle {
  display: none;
  width: 42px; height: 42px;
  padding: 0;
  border: 1px solid var(--line-strong);
  background: transparent;
  cursor: pointer;
  place-items: center;
}
.menu-toggle span {
  display: block;
  width: 18px; height: 1.5px;
  margin: 3.5px auto;
  background: var(--ink);
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

.mobile-menu {
  border-top: 1px solid var(--line);
  padding: 12px var(--pad) 20px;
  background: var(--paper-2);
}
.mobile-menu[hidden] { display: none; }
.mobile-menu a {
  display: block;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  font-size: 15px;
}
.mobile-menu a:last-child { border-bottom: 0; }
.mobile-menu .mobile-note {
  margin: 14px 0 0;
  font-family: var(--mono);
  font-size: 10px;
  color: var(--muted);
  letter-spacing: 0.04em;
}

/* ---------- 首屏 ---------- */

.hero {
  position: relative;
  overflow: clip;
  border-bottom: 1px solid var(--line);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(23, 25, 21, 0.055) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(23, 25, 21, 0.055) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, rgba(0, 0, 0, 0.35) 62%, transparent 92%);
  mask-image: linear-gradient(to bottom, #000 0%, rgba(0, 0, 0, 0.35) 62%, transparent 92%);
  pointer-events: none;
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: clamp(32px, 5vw, 64px);
  padding: clamp(48px, 7vw, 84px) 0 clamp(48px, 7vw, 80px);
}

.hero-title {
  margin: 0 0 26px;
  text-wrap: balance;
  font-family: var(--serif);
  font-size: clamp(2.55rem, 5.6vw, 74px);
  font-weight: 900;
  line-height: 1.04;
  letter-spacing: -0.035em;
}
.hero-title .line { display: block; }
.hero-title em {
  font-style: normal;
  background: linear-gradient(transparent 60%, rgba(214, 74, 36, 0.3) 60%, rgba(214, 74, 36, 0.3) 94%, transparent 94%);
  padding: 0 0.03em;
}

.hero-lede {
  max-width: 34em;
  margin: 0;
  color: var(--ink-soft);
  font-size: clamp(15.5px, 1.35vw, 17.5px);
  line-height: 1.95;
}
.hero-lede strong { color: var(--ink); font-weight: 600; }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.spec-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 38px 0 0;
  padding: 18px 0 0;
  border-top: 1px solid var(--line);
}
.spec-item { padding: 0 14px; border-left: 1px solid var(--line); }
.spec-item:first-child { padding-left: 0; border-left: 0; }
.spec-item:last-child { padding-right: 0; }
.spec-item dt {
  margin: 0 0 5px;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.1em;
  color: var(--muted);
}
.spec-item dd {
  margin: 0;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: -0.01em;
}

.hero-visual { position: relative; min-width: 0; }
.hero-visual::before {
  content: "";
  position: absolute;
  inset: 22px -14px -14px 22px;
  border: 1px dashed var(--line-strong);
  pointer-events: none;
}
.tape {
  position: absolute;
  top: -14px;
  left: clamp(18px, 5vw, 56px);
  z-index: 3;
  padding: 8px 14px;
  background: #e8dfc7;
  border: 1px solid #c9bfa6;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.14em;
  color: #5d594b;
  transform: rotate(-2.5deg);
  box-shadow: 0 2px 0 rgba(23, 25, 21, 0.08);
}

.console {
  position: relative;
  z-index: 2;
  overflow: hidden;
  background: #161814;
  color: #e9e4d6;
  border: 1px solid #0b0c0a;
  box-shadow: 12px 12px 0 rgba(23, 25, 21, 0.12);
}
.console-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
}
.dots { display: flex; gap: 5px; flex: none; }
.dots i { width: 8px; height: 8px; border-radius: 50%; background: #4b4d44; }
.dots i:first-child { background: var(--accent); }
.console-path {
  font-family: var(--mono);
  font-size: 10.5px;
  color: #a8a697;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.console-state {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 7px;
  flex: none;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.08em;
  color: #9fd3b6;
}
.live-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #5cc08b;
  box-shadow: 0 0 0 3px rgba(92, 192, 139, 0.15);
}

.console-tabs {
  display: flex;
  overflow-x: auto;
  scrollbar-width: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.console-tabs::-webkit-scrollbar { display: none; }
.core-tab {
  appearance: none;
  flex: none;
  padding: 13px 16px;
  border: 0;
  border-bottom: 2px solid transparent;
  background: none;
  color: #9c9b8e;
  font-family: var(--mono);
  font-size: 11px;
  cursor: pointer;
  white-space: nowrap;
}
.core-tab:hover { color: #e9e4d6; }
.core-tab[aria-selected="true"] {
  color: #fff;
  border-bottom-color: var(--accent);
  background: rgba(255, 255, 255, 0.045);
}

.console-body { padding: 20px 18px 22px; }
.console-kv {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
  font-family: var(--mono);
  font-size: 10px;
  color: #8f8e81;
}
.console-kv code {
  font-family: var(--mono);
  font-size: 10.5px;
  color: #e9e4d6;
  text-align: right;
  word-break: break-all;
}
.console pre {
  margin: 0;
  overflow-x: auto;
  font-family: var(--mono);
  font-size: 11.5px;
  line-height: 1.9;
  color: #cfcaba;
  white-space: pre;
}
.console pre .dim { color: #77786c; }
.console-foot {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-family: var(--mono);
  font-size: 9.5px;
  color: #8f8e81;
}
.console-note {
  position: relative;
  z-index: 2;
  margin: 18px 0 0;
  text-align: right;
  font-size: 11.5px;
  color: var(--muted);
  line-height: 1.7;
}

/* ---------- 通用区块 ---------- */

.section {
  padding: clamp(56px, 8vw, 96px) 0;
  border-bottom: 1px solid var(--line);
}
.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 20px 48px;
  align-items: end;
  margin-bottom: clamp(32px, 5vw, 48px);
}
.section-title {
  margin: 0;
  text-wrap: balance;
  font-family: var(--serif);
  font-size: clamp(2rem, 4.2vw, 52px);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -0.03em;
}
.section-lede {
  margin: 0;
  max-width: 38em;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.9;
}
.section-lede code {
  font-family: var(--mono);
  font-size: 0.88em;
  background: #e9e3d4;
  padding: 1px 5px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding-bottom: 2px;
  border-bottom: 1.5px solid var(--accent);
  color: var(--ink);
  font-size: 13.5px;
  font-weight: 600;
  text-decoration: none;
}
.text-link:hover { color: var(--accent-ink); }

/* ---------- 功能列表 ---------- */

.feature-list { border-top: 1px solid var(--line-strong); }
.feature-row {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) 224px;
  gap: 24px;
  padding: 26px 12px 26px 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
  transition: background 0.18s ease, padding-left 0.18s ease;
}
.feature-row:hover {
  background: rgba(250, 247, 239, 0.72);
  padding-left: 12px;
}
.feature-index {
  padding-top: 5px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--accent);
}
.feature-title {
  margin: 0 0 6px;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.feature-text {
  margin: 0;
  max-width: 54em;
  color: var(--ink-soft);
  font-size: 14.5px;
  line-height: 1.85;
}
.feature-text code {
  font-family: var(--mono);
  font-size: 0.86em;
  color: var(--accent-ink);
  word-break: break-all;
}
.feature-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: flex-end;
  padding-top: 4px;
}
.tag {
  padding: 3px 8px;
  border: 1px solid var(--line-strong);
  background: var(--paper-2);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.tag-accent { border-color: var(--accent); color: var(--accent-ink); background: rgba(214, 74, 36, 0.05); }

/* ---------- 安装 ---------- */

.install-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}
.tree-panel {
  position: sticky;
  top: 96px;
  background: #161814;
  border: 1px solid var(--ink);
  box-shadow: 8px 8px 0 rgba(23, 25, 21, 0.1);
  color: #e9e4d6;
}
.tree-head,
.tree-foot {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.08em;
  color: #a8a697;
}
.tree-head { border-bottom: 1px solid rgba(255, 255, 255, 0.12); }
.tree-foot { border-top: 1px solid rgba(255, 255, 255, 0.12); color: #8f8e81; }
.tree-pre {
  margin: 0;
  padding: 20px 16px;
  overflow-x: auto;
  color: #d5cfbf;
  font-family: var(--mono);
  font-size: 11.5px;
  line-height: 1.95;
  white-space: pre;
}
.tree-pre .dim { color: #7c7d70; }

.steps { list-style: none; margin: 0; padding: 0; }
.step {
  position: relative;
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 18px;
  padding-bottom: 26px;
}
.step:last-child { padding-bottom: 0; }
.step:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 25px; top: 52px; bottom: 0;
  width: 1px;
  background: var(--line-strong);
}
.step-num {
  display: grid;
  place-items: center;
  width: 52px; height: 52px;
  border: 1px solid var(--ink);
  background: var(--paper-2);
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 900;
}
.step-title { margin: 2px 0 6px; font-size: 18px; font-weight: 700; }
.step-text {
  margin: 0;
  color: var(--ink-soft);
  font-size: 14.5px;
  line-height: 1.85;
}
.step-text code {
  padding: 1px 5px;
  background: #e9e3d4;
  font-family: var(--mono);
  font-size: 0.86em;
  word-break: break-all;
}
.callout {
  margin: 24px 0 0 70px;
  padding: 14px 16px;
  border-left: 3px solid var(--accent);
  background: rgba(214, 74, 36, 0.055);
  color: var(--ink-soft);
  font-size: 13.5px;
  line-height: 1.85;
}

/* ---------- 榜单入口 ---------- */

.rank-band {
  position: relative;
  overflow: clip;
  padding: clamp(48px, 7vw, 76px) 0;
  background: var(--accent);
  color: #fbf7ee;
  border-bottom: 1px solid #a83a1a;
}
.rank-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.055) 0 1px, transparent 1px 16px);
  pointer-events: none;
}
.rank-band-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px;
  align-items: center;
}
.rank-band-title {
  margin: 0 0 14px;
  text-wrap: balance;
  font-family: var(--serif);
  font-size: clamp(2.2rem, 5.6vw, 60px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.03em;
}
.rank-band-text {
  max-width: 44em;
  margin: 0;
  color: rgba(251, 247, 238, 0.9);
  font-size: 15px;
  line-height: 1.9;
}
.rank-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.rank-tag {
  padding: 4px 9px;
  border: 1px solid rgba(251, 247, 238, 0.45);
  color: rgba(251, 247, 238, 0.88);
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.04em;
}

/* ---------- 下载条 ---------- */

.dl-band {
  padding: clamp(48px, 7vw, 84px) 0;
  background: var(--ink);
  color: #f3efe4;
  border-bottom: 1px solid #000;
}
.dl-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
.dl-title {
  margin: 0 0 16px;
  text-wrap: balance;
  font-family: var(--serif);
  font-size: clamp(2rem, 4.6vw, 54px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.03em;
}
.dl-note {
  max-width: 44em;
  margin: 0 0 26px;
  color: #b8b5a7;
  font-size: 14.5px;
  line-height: 1.9;
}
.dl-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.dl-band .btn-ghost {
  color: #f3efe4;
  border-color: #f3efe4;
  box-shadow: 4px 4px 0 #4b4d44;
}
.dl-band .btn-ghost:hover { box-shadow: 2px 2px 0 #4b4d44; }

.package-card {
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.035);
}
.pkg-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.15);
}
.pkg-row:last-child { border-bottom: 0; }
.pkg-label {
  flex: none;
  padding-top: 2px;
  color: #9c9b8e;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.08em;
}
.pkg-value {
  color: #e6e1d3;
  font-family: var(--mono);
  font-size: 11px;
  text-align: right;
  word-break: break-all;
}

/* ---------- 文章卡片 ---------- */

.post-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.post-card {
  display: flex;
  flex-direction: column;
  padding: 24px;
  border: 1px solid var(--line);
  background: var(--paper-2);
  color: inherit;
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.post-card:hover {
  transform: translateY(-3px);
  border-color: var(--ink);
  box-shadow: 6px 6px 0 var(--line-strong);
}
.post-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 24px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.04em;
}
.post-title {
  margin: 0 0 12px;
  text-wrap: balance;
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 900;
  line-height: 1.38;
  letter-spacing: -0.02em;
}
.post-excerpt {
  flex: 1;
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.85;
}
.post-more {
  align-self: flex-start;
  padding-bottom: 2px;
  border-bottom: 2px solid var(--accent);
  font-size: 12.5px;
  font-weight: 600;
}
.section-more {
  display: flex;
  justify-content: flex-end;
  margin-top: 28px;
}

/* ---------- FAQ ---------- */

.faq-list { border-top: 1px solid var(--line-strong); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 0;
  list-style: none;
  cursor: pointer;
  font-size: 16.5px;
  font-weight: 600;
  line-height: 1.6;
}
.faq-q::-webkit-details-marker { display: none; }
.faq-q::after {
  content: "+";
  flex: none;
  color: var(--accent);
  font-family: var(--mono);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.2;
}
details[open] .faq-q::after { content: "−"; }
.faq-a {
  max-width: 60em;
  padding: 0 24px 24px 0;
  color: var(--ink-soft);
  font-size: 14.5px;
  line-height: 1.9;
}
.faq-a p { margin: 0 0 0.8em; }
.faq-a p:last-child { margin-bottom: 0; }
.faq-a a { color: var(--accent-ink); }

/* ---------- 页脚 ---------- */

.site-foot {
  padding: 44px 0 26px;
  background: #11130f;
  color: #cfcaba;
}
.foot-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.foot-brand { display: flex; align-items: center; gap: 10px; }
.foot-name {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 900;
  color: #f3efe4;
}
.foot-en {
  margin-top: 2px;
  color: #8f8e81;
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 0.12em;
}
.foot-nav { display: flex; flex-wrap: wrap; gap: 22px; }
.foot-nav a {
  color: #b8b5a7;
  font-size: 13px;
  text-decoration: none;
}
.foot-nav a:hover { color: #fff; }
.foot-base {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px 16px;
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: #77786c;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.03em;
}

/* ---------- 内页头部 ---------- */

.page-head {
  position: relative;
  overflow: clip;
  border-bottom: 1px solid var(--line);
}
.page-head::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(23, 25, 21, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(23, 25, 21, 0.05) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: linear-gradient(to bottom, #000, transparent 88%);
  mask-image: linear-gradient(to bottom, #000, transparent 88%);
  pointer-events: none;
}
.page-head-inner {
  position: relative;
  padding: clamp(34px, 5vw, 56px) 0 clamp(40px, 6vw, 64px);
}
.crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 26px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.02em;
}
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--ink); }
.crumbs .sep { color: var(--line-strong); }
.crumbs [aria-current="page"] { color: var(--ink-soft); }
.page-title {
  max-width: 16em;
  margin: 0 0 20px;
  text-wrap: balance;
  font-family: var(--serif);
  font-size: clamp(2.3rem, 5.6vw, 62px);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.03em;
}
.page-lede {
  max-width: 50em;
  margin: 0 0 26px;
  color: var(--ink-soft);
  font-size: clamp(15px, 1.3vw, 16.5px);
  line-height: 1.9;
}
.page-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.04em;
}
.page-meta strong { color: var(--ink-soft); font-weight: 500; }

/* ---------- 文章正文 ---------- */

.article-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 236px;
  gap: clamp(32px, 6vw, 72px);
  align-items: start;
  padding: clamp(40px, 6vw, 64px) 0;
}
.article-body {
  max-width: 720px;
  color: #2b2e27;
  font-size: 16.5px;
  line-height: 1.95;
}
.article-body > p:first-child { margin-top: 0; }
.article-body p { margin: 0 0 1.35em; }
.article-body h2 {
  margin: 2.1em 0 0.65em;
  font-family: var(--serif);
  font-size: clamp(1.6rem, 3vw, 32px);
  font-weight: 900;
  line-height: 1.32;
  letter-spacing: -0.02em;
  scroll-margin-top: 96px;
}
.article-body h3 {
  margin: 1.8em 0 0.5em;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.6;
}
.article-body ul,
.article-body ol { margin: 0 0 1.4em; padding-left: 1.35em; }
.article-body li { margin: 0.35em 0; }
.article-body a {
  color: var(--accent-ink);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.article-body a:hover { background: rgba(214, 74, 36, 0.09); }
.article-body strong { font-weight: 700; color: var(--ink); }
.article-body blockquote {
  margin: 1.8em 0;
  padding: 16px 20px;
  border-left: 3px solid var(--accent);
  background: var(--paper-2);
  color: var(--ink-soft);
}
.article-body blockquote p { margin: 0; }
.article-body code {
  padding: 2px 5px;
  background: #e9e3d4;
  font-family: var(--mono);
  font-size: 0.86em;
  word-break: break-word;
}
.article-body pre {
  margin: 1.6em 0;
  padding: 18px;
  overflow-x: auto;
  background: #161814;
  border: 1px solid #0b0c0a;
  color: #d5cfbf;
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1.85;
}
.article-body pre code { padding: 0; background: none; color: inherit; font-size: inherit; }
.article-body hr {
  margin: 2.4em 0;
  border: 0;
  border-top: 1px solid var(--line);
}

.article-aside {
  position: sticky;
  top: 96px;
  padding-top: 14px;
  border-top: 2px solid var(--ink);
}
.aside-title {
  margin: 0 0 12px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.1em;
}
.aside-list { list-style: none; margin: 0; padding: 0; }
.aside-list a {
  display: block;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 12.5px;
  line-height: 1.7;
  text-decoration: none;
}
.aside-list a:hover { color: var(--accent-ink); }
.aside-cta {
  display: block;
  margin-top: 22px;
  padding: 16px;
  border: 1px solid var(--ink);
  background: var(--paper-2);
  text-decoration: none;
  box-shadow: 4px 4px 0 var(--accent);
}
.aside-cta-title {
  display: block;
  margin-bottom: 4px;
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 900;
}
.aside-cta-text { font-size: 11.5px; color: var(--muted); line-height: 1.7; }

.article-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.article-foot .label {
  margin-right: 4px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9.5px;
}
.article-back {
  margin-left: auto;
  font-size: 12.5px;
  color: var(--muted);
  text-decoration: none;
  border-bottom: 1px solid var(--line-strong);
}
.article-back:hover { color: var(--ink); }

/* ---------- 文章归档 ---------- */

.archive { max-width: 920px; margin: 0 auto; }
.archive-row {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr);
  gap: 24px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
  color: inherit;
  text-decoration: none;
  transition: padding-left 0.18s ease, background 0.18s ease;
}
.archive-row:first-of-type { border-top: 1px solid var(--line-strong); }
.archive-row:hover { padding-left: 10px; background: rgba(250, 247, 239, 0.6); }
.archive-index {
  padding-top: 7px;
  color: var(--accent);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
}
.archive-title {
  margin: 0 0 8px;
  text-wrap: balance;
  font-family: var(--serif);
  font-size: clamp(1.3rem, 2.6vw, 26px);
  font-weight: 900;
  line-height: 1.38;
  letter-spacing: -0.02em;
}
.archive-excerpt {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.85;
}
.archive-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9.5px;
}

/* ---------- 榜单页 ---------- */

.rank-date {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin: 0 0 24px;
  padding: 6px 12px;
  border: 1px solid var(--line-strong);
  background: var(--paper-2);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.03em;
}

.criteria-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 30px;
  border: 1px solid var(--line);
  background: var(--paper-2);
}
.criteria-card { padding: 22px; border-left: 1px solid var(--line); }
.criteria-card:first-child { border-left: 0; }
.criteria-card h3 {
  margin: 0 0 8px;
  font-size: 15.5px;
  font-weight: 700;
}
.criteria-card p {
  margin: 0;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.8;
}
.criteria-card .num {
  display: inline-block;
  margin-right: 8px;
  color: var(--accent);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.08em;
}

.airport-feature {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: clamp(20px, 3vw, 34px);
  align-items: center;
  margin: 34px 0 18px;
  padding: clamp(22px, 3vw, 34px);
  border: 1.5px solid var(--ink);
  background: var(--paper-2);
  box-shadow: 8px 8px 0 var(--accent);
}
.feature-rank {
  font-family: var(--serif);
  font-size: clamp(3rem, 6vw, 64px);
  font-weight: 900;
  line-height: 0.9;
  letter-spacing: -0.05em;
  color: var(--accent);
}
.feature-label {
  display: inline-block;
  margin-bottom: 8px;
  padding: 2px 8px;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.08em;
}
.feature-name {
  margin: 0 0 4px;
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3.4vw, 32px);
  font-weight: 900;
  line-height: 1.2;
}
.feature-line { margin: 0; color: var(--muted); font-size: 12px; }
.feature-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
  color: var(--ink-soft);
  font-size: 12.5px;
}
.feature-specs li { position: relative; padding-left: 12px; }
.feature-specs li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.7em;
  width: 4px; height: 4px;
  background: var(--accent);
}
.feature-buy { min-width: 168px; }
.feature-price {
  margin: 0 0 12px;
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 900;
  white-space: nowrap;
}
.feature-price small {
  margin-left: 8px;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 400;
  color: var(--muted);
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 30px 0 0;
}
.filter-btn {
  appearance: none;
  padding: 7px 12px;
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--muted);
  font-size: 12px;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.filter-btn:hover { border-color: var(--ink); color: var(--ink); }
.filter-btn[aria-pressed="true"] {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}
.filter-count {
  margin-left: auto;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.04em;
}

.airport-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 22px;
}
.airport-card {
  display: flex;
  flex-direction: column;
  padding: 22px;
  border: 1px solid var(--line);
  background: var(--paper-2);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.airport-card:hover {
  transform: translateY(-2px);
  border-color: var(--ink);
  box-shadow: 5px 5px 0 var(--line-strong);
}
.airport-card[hidden] { display: none; }
.card-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
}
.card-rank { color: var(--muted); font-family: var(--mono); font-size: 10px; }
.card-name {
  margin: 0 0 3px;
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.card-line { margin: 0; color: var(--muted); font-family: var(--mono); font-size: 10px; }
.card-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0 14px; }
.card-specs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px 10px;
  margin: 0 0 16px;
  padding-top: 14px;
  border-top: 1px dashed var(--line-strong);
}
.card-specs dt {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.05em;
}
.card-specs dd { margin: 2px 0 0; font-size: 12.5px; font-weight: 600; }
.card-price {
  margin: auto 0 14px;
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 900;
  line-height: 1.2;
}
.card-price small {
  margin-left: 8px;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 400;
  color: var(--muted);
}

.buy-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 3px 3px 0 var(--accent);
  transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease, border-color 0.16s ease;
}
.buy-btn:hover {
  transform: translate(2px, 2px);
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: 1px 1px 0 var(--accent);
}
.buy-btn::before,
.buy-btn::after { content: none !important; }

.rank-note {
  margin: 22px 0 0;
  padding: 14px 16px;
  border-left: 3px solid var(--line-strong);
  background: rgba(250, 247, 239, 0.7);
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.85;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  background: var(--paper-2);
}
.compare-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  font-size: 13px;
}
.compare-table th {
  padding: 12px 14px;
  border-bottom: 1px solid var(--line-strong);
  background: #e9e3d4;
  color: var(--ink-soft);
  font-family: var(--mono);
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-align: left;
  white-space: nowrap;
}
.compare-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.compare-table tr:last-child td { border-bottom: 0; }
.compare-table .name { font-family: var(--serif); font-size: 16px; font-weight: 900; }
.compare-table .score { font-family: var(--mono); font-weight: 600; }

/* ---------- 下载页 ---------- */

.dl-primary {
  display: grid;
  grid-template-columns: 196px minmax(0, 1fr);
  margin: 36px 0 22px;
  border: 1.5px solid var(--ink);
  background: var(--paper-2);
  box-shadow: 10px 10px 0 var(--line-strong);
}
.dl-version {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 26px;
  border-right: 1px dashed var(--line-strong);
  background: var(--ink);
  color: var(--paper);
}
.dl-version strong {
  font-family: var(--serif);
  font-size: 64px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.05em;
}
.dl-version span {
  margin-top: 8px;
  color: #a8a697;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.08em;
}
.dl-body { padding: 26px 28px; }
.dl-body h2 {
  margin: 0 0 8px;
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 900;
  line-height: 1.3;
}
.dl-body > p {
  margin: 0;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.85;
}
.meta-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 24px;
  margin: 18px 0 22px;
  border-top: 1px solid var(--line);
}
.meta-list > div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  min-width: 0;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
}
.meta-list > div.meta-wide {
  grid-column: 1 / -1;
  display: block;
}
.meta-list > div.meta-wide dt { margin-bottom: 4px; }
.meta-list > div.meta-wide dd { text-align: left; }
.meta-list dt {
  flex: none;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.03em;
}
.meta-list dd {
  min-width: 0;
  margin: 0;
  font-family: var(--mono);
  font-size: 10.5px;
  text-align: right;
  overflow-wrap: anywhere;
  word-break: break-all;
}
.dl-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.dl-actions .btn { font-size: 14px; padding: 12px 18px; }

.req-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 26px;
}
.req-card {
  padding: 20px;
  border: 1px solid var(--line);
  background: var(--paper-2);
}
.req-card h3 { margin: 0 0 6px; font-size: 15.5px; font-weight: 700; }
.req-card p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.85; }
.req-card code {
  padding: 1px 5px;
  background: #e9e3d4;
  font-family: var(--mono);
  font-size: 0.9em;
  word-break: break-all;
}

.version-table .file {
  font-family: var(--mono);
  font-size: 11px;
  white-space: nowrap;
}
.version-table td:nth-child(2) { white-space: nowrap; }
.table-hint { display: none; }
.version-table .badge {
  display: inline-block;
  margin-left: 6px;
  padding: 1px 6px;
  background: rgba(31, 77, 61, 0.1);
  color: var(--green);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.04em;
}
.version-table a { color: var(--accent-ink); }

/* ---------- 通用 CTA ---------- */

.cta-strip {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  margin: clamp(40px, 6vw, 56px) 0;
  padding: clamp(22px, 4vw, 32px);
  border: 1.5px solid var(--ink);
  background: var(--paper-2);
  box-shadow: 7px 7px 0 var(--accent);
}
.cta-strip h2 {
  margin: 0 0 6px;
  text-wrap: balance;
  font-family: var(--serif);
  font-size: clamp(1.5rem, 3vw, 30px);
  font-weight: 900;
  line-height: 1.3;
  letter-spacing: -0.02em;
}
.cta-strip p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.8; }

.note {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.8;
}
.note a { color: var(--accent-ink); }

/* ---------- 响应式 ---------- */

@media (max-width: 1100px) {
  .hero-grid { gap: 36px; }
  .feature-row { grid-template-columns: 52px minmax(0, 1fr) 190px; }
  .feature-meta { justify-content: flex-start; }
  .criteria-grid { grid-template-columns: repeat(2, 1fr); }
  .criteria-card:nth-child(3) { border-left: 0; border-top: 1px solid var(--line); }
  .criteria-card:nth-child(4) { border-top: 1px solid var(--line); }
  .airport-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .nav { display: none; }
  .menu-toggle { display: grid; }
  .head-inner { justify-content: space-between; }
  .head-actions { margin-left: auto; }

  .hero-grid { grid-template-columns: 1fr; padding-top: 44px; }
  .hero-title { font-size: clamp(2.5rem, 7.2vw, 64px); }
  .hero-visual { margin-top: 12px; }
  .hero-visual::before { inset: 18px -10px -10px 18px; }
  .console-note { text-align: left; }
  .tape { left: 20px; }

  .section-head { grid-template-columns: 1fr; align-items: start; }
  .section-lede { max-width: 46em; }

  .install-grid { grid-template-columns: 1fr; }
  .tree-panel { position: static; }

  .dl-inner { grid-template-columns: 1fr; }
  .rank-band-inner { grid-template-columns: 1fr; justify-items: start; }

  .post-grid { grid-template-columns: 1fr; }
  .post-title { font-size: 23px; }

  .article-shell { grid-template-columns: 1fr; }
  .article-aside { position: static; margin-top: 8px; }
  .aside-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 20px; }

  .dl-primary { grid-template-columns: 1fr; }
  .dl-version {
    flex-direction: row;
    align-items: flex-end;
    border-right: 0;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.25);
    padding: 18px 24px;
  }
  .dl-version strong { font-size: 54px; }
  .meta-list { grid-template-columns: 1fr; }

  .airport-feature { grid-template-columns: auto minmax(0, 1fr); }
  .feature-buy { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
  .feature-buy .buy-btn { width: auto; min-width: 180px; }
  .feature-price { margin: 0; }

  .cta-strip { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 680px) {
  .brand-name { font-size: 22px; }
  .brand-en { font-size: 8px; }
  .nav-rank { padding: 7px 11px; font-size: 12px; }

  .hero-grid { padding: 38px 0 52px; }
  .hero-title { font-size: clamp(2rem, 10vw, 52px); margin-bottom: 20px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .spec-strip { grid-template-columns: repeat(2, 1fr); gap: 16px 0; }
  .spec-item:nth-child(3) { border-left: 0; padding-left: 0; }
  .spec-item:nth-child(3),
  .spec-item:nth-child(4) { border-top: 1px solid var(--line); padding-top: 12px; }

  .console-kv { flex-direction: column; gap: 4px; }
  .console-kv code { text-align: left; }
  .console-body { padding: 16px 14px; }
  .console pre { font-size: 10.5px; }
  .core-tab { padding: 12px 13px; }

  .section { padding: 52px 0; }
  .section-title { font-size: clamp(1.85rem, 8.4vw, 40px); }

  .feature-row {
    grid-template-columns: 30px minmax(0, 1fr);
    gap: 4px 10px;
    padding: 22px 0;
  }
  .feature-row:hover { padding-left: 0; }
  .feature-index { padding-top: 2px; }
  .feature-title { font-size: 18px; }
  .feature-meta {
    grid-column: 2;
    justify-content: flex-start;
    margin-top: 6px;
  }

  .step { grid-template-columns: 44px minmax(0, 1fr); gap: 14px; }
  .step-num { width: 44px; height: 44px; font-size: 19px; }
  .step:not(:last-child)::before { left: 21px; top: 44px; }
  .callout { margin-left: 0; }

  .rank-band-title { font-size: clamp(2rem, 10vw, 44px); }
  .rank-band-inner .btn { width: 100%; }

  .dl-band { padding: 48px 0; }
  .dl-actions .btn { flex: 1 1 100%; }
  .pkg-row { flex-direction: column; gap: 3px; }
  .pkg-value { text-align: left; }

  .faq-q { font-size: 15.5px; padding: 18px 0; }
  .faq-a { padding-right: 0; }

  .foot-inner { align-items: flex-start; flex-direction: column; gap: 20px; }
  .foot-nav { gap: 16px; }
  .foot-base { flex-direction: column; }

  .page-title { font-size: clamp(2rem, 9vw, 44px); }
  .page-head-inner { padding-bottom: 40px; }
  .page-lede { font-size: 15px; }

  .article-body { font-size: 16px; line-height: 1.9; }
  .article-body pre { font-size: 11px; padding: 14px; }
  .aside-list { grid-template-columns: 1fr; }
  .article-back { margin-left: 0; }

  .archive-row { grid-template-columns: 1fr; gap: 6px; padding: 22px 0; }
  .archive-index { padding-top: 0; }

  .criteria-grid { grid-template-columns: 1fr; }
  .criteria-card { border-left: 0; border-top: 1px solid var(--line); padding: 18px; }
  .criteria-card:first-child { border-top: 0; }

  .airport-feature { grid-template-columns: auto minmax(0, 1fr); align-items: start; box-shadow: 5px 5px 0 var(--accent); }
  .feature-rank { font-size: 46px; padding-top: 7px; }
  .feature-buy { flex-direction: column; align-items: stretch; }
  .feature-buy .buy-btn { width: 100%; }
  .airport-grid { grid-template-columns: 1fr; }
  .buy-btn { min-height: 46px; font-size: 15px; }
  .filter-count { flex-basis: 100%; margin-left: 0; }

  .req-grid { grid-template-columns: 1fr; }
  .table-hint { display: block; margin-top: 10px; }
  .dl-body { padding: 22px 20px; }
  .dl-actions .btn { width: 100%; }
  .cta-strip .btn { width: 100%; }
  .cta-strip { padding: 22px 20px; }
}

@media (max-width: 400px) {
  .head-inner { gap: 12px; }
  .brand-en { display: none; }
  .brand-name { font-size: 21px; }
  .nav-rank { padding: 7px 9px; font-size: 11.5px; }
  .spec-item dd { font-size: 15px; }
  .airport-card { padding: 18px; }
}

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

@media print {
  .site-head, .site-foot, .rank-band, .dl-band, .cta-strip { display: none; }
  body { background: #fff; }
}

/* ---------- 仅用于明确指向 GitHub 的入口 ---------- */

.gh-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 3px;
  border-bottom: 1px solid var(--line-strong);
  color: var(--accent-ink);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}
.gh-link:hover { border-bottom-color: var(--accent); }
.gh-link img { width: 16px; height: 16px; flex: none; }
.gh-link-light {
  border-bottom-color: rgba(243, 239, 228, 0.35);
  color: #f3efe4;
}
.gh-link-light:hover { border-bottom-color: var(--accent); }
.gh-link-light img { filter: invert(1); }

.section-head-gap { margin-top: clamp(48px, 7vw, 72px); }
.nowrap { white-space: nowrap; }

/* 防止长路径、代码块撑破窄屏网格 */
.install-grid > *,
.article-shell > *,
.dl-primary > *,
.dl-inner > *,
.airport-grid > *,
.post-grid > *,
.feature-row > *,
.cta-strip > * { min-width: 0; }
.tree-panel,
.tree-pre,
.article-body,
.article-body pre { max-width: 100%; }
.article-body pre { overflow-x: auto; }

@media (max-width: 900px) {
  .article-shell { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 680px) {
  /* 历史版本在窄屏改成纵向条目，避免横向裁切 */
  .version-table { min-width: 0; width: 100%; }
  .version-table thead { display: none; }
  .version-table tbody,
  .version-table tr,
  .version-table td { display: block; width: 100%; }
  .version-table tr {
    padding: 16px 14px;
    border-bottom: 1px solid var(--line);
  }
  .version-table tr:last-child { border-bottom: 0; }
  .version-table td {
    display: block;
    width: auto;
    padding: 2px 0;
    border: 0;
    white-space: normal;
  }
  .version-table td:nth-child(2) { white-space: normal; }
  .version-table td::before {
    content: attr(data-label);
    display: inline-block;
    width: 68px;
    flex: none;
    color: var(--muted);
    font-family: var(--mono);
    font-size: 9px;
    letter-spacing: 0.04em;
    vertical-align: top;
    padding-top: 1px;
  }
  .version-table .file { white-space: normal; }
}

/* 固定月付参考的货币符号，避免衬线字体中字形过细 */
.price-cur {
  margin-right: 2px;
  font-family: var(--sans);
  font-size: 0.9em;
  font-weight: 500;
}
