/* HomeProxy 路由器站 — 独立视觉稿 */
:root {
  --paper: #f3f0e6;
  --paper-2: #e9e4d5;
  --paper-3: #ded8c6;
  --white: #fbfaf3;
  --ink: #111c16;
  --ink-2: #1a2921;
  --ink-soft: #4e5a52;
  --ink-faint: #7c857d;
  --line: #cdc7b6;
  --line-dark: rgba(243, 240, 230, 0.18);
  --lime: #c9f36b;
  --lime-2: #ddf9a0;
  --orange: #ff5b35;
  --orange-soft: #ff8d70;
  --red: #b42d17;
  --shell: min(1220px, calc(100% - 48px));
  --radius: 18px;
  --sans: "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --serif: "Songti SC", "STSong", "Noto Serif SC", "SimSun", serif;
  --mono: "SFMono-Regular", "Cascadia Mono", "Menlo", "Consolas", monospace;
  --ease: cubic-bezier(.22, .75, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
::selection { background: var(--lime); color: var(--ink); }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { color: inherit; }
h1, h2, h3, h4, p, dl, dd, dt, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }
svg { display: block; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }

.shell { width: var(--shell); margin-inline: auto; }
.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: fixed; left: 16px; top: -60px; z-index: 1000;
  background: var(--ink); color: var(--paper); padding: 10px 16px; border-radius: 8px;
}
.skip-link:focus { top: 12px; }

/* 顶部状态条 */
.topbar {
  background: var(--ink);
  color: var(--paper);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.topbar-in {
  min-height: 34px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  font-family: var(--mono); font-size: 10.5px; letter-spacing: .04em;
}
.topbar-meta { display: flex; align-items: center; gap: 9px; color: rgba(243, 240, 230, .62); }
.topbar-meta strong { color: var(--paper); font-weight: 500; }
.live-dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--lime);
  box-shadow: 0 0 0 4px rgba(201, 243, 107, .12);
  animation: breathe 2.8s ease-in-out infinite;
}
.topbar-link {
  display: inline-flex; align-items: center; gap: 9px; color: var(--lime-2);
  white-space: nowrap; transition: color .2s;
}
.topbar-link span { color: rgba(243, 240, 230, .52); font-size: 9.5px; }
.topbar-link:hover { color: #fff; }
@keyframes breathe { 50% { box-shadow: 0 0 0 7px rgba(201, 243, 107, .02); } }

/* 导航 */
.site-header {
  position: sticky; top: 0; z-index: 80;
  background: rgba(243, 240, 230, .93);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.header-in { min-height: 78px; display: flex; align-items: center; gap: 30px; }
.brand { display: inline-flex; align-items: center; gap: 12px; flex: none; }
.brand-mark {
  width: 43px; height: 43px; border-radius: 12px;
  background: var(--lime); border: 1px solid var(--ink);
  display: grid; place-items: center; overflow: hidden;
  transition: transform .25s var(--ease), background .25s;
}
.brand-mark img { width: 25px; height: 25px; }
.brand:hover .brand-mark { transform: rotate(-5deg) translateY(-1px); background: var(--lime-2); }
.brand-type { display: grid; gap: 1px; }
.brand-type strong { font-size: 18px; line-height: 1.1; letter-spacing: -.035em; font-weight: 760; }
.brand-type small { color: var(--ink-soft); font-size: 10px; line-height: 1.4; letter-spacing: .06em; }
.site-nav { display: flex; align-items: center; gap: 28px; margin-left: auto; }
.site-nav a {
  position: relative; font-size: 13.5px; color: var(--ink-soft); padding: 6px 0;
  transition: color .2s;
}
.site-nav a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 2px;
  background: var(--ink); transition: right .28s var(--ease);
}
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--ink); }
.site-nav a:hover::after, .site-nav a[aria-current="page"]::after { right: 0; }
.site-nav .nav-rank { display: none; }
.header-cta {
  flex: none; display: inline-flex; align-items: center; justify-content: center;
  min-height: 42px; padding: 0 20px; border-radius: 999px;
  background: var(--ink); color: var(--paper); border: 1px solid var(--ink);
  font-size: 13px; letter-spacing: .02em;
  transition: background .2s, color .2s, transform .2s var(--ease);
}
.header-cta:hover { background: var(--orange); border-color: var(--orange); color: var(--ink); transform: translateY(-1px); }
.menu-toggle {
  display: none; width: 42px; height: 42px; border: 1px solid var(--line);
  border-radius: 11px; background: transparent; cursor: pointer; padding: 0;
  align-items: center; justify-content: center;
}
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after {
  display: block; width: 17px; height: 1.5px; background: var(--ink); content: "";
  transition: transform .25s var(--ease), top .25s var(--ease);
  position: relative;
}
.menu-toggle span::before { position: absolute; left: 0; top: -5px; }
.menu-toggle span::after { position: absolute; left: 0; top: 5px; }
.nav-open .menu-toggle span { background: transparent; }
.nav-open .menu-toggle span::before { top: 0; transform: rotate(45deg); }
.nav-open .menu-toggle span::after { top: 0; transform: rotate(-45deg); }

/* 通用按钮 */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 25px; border-radius: 999px;
  border: 1px solid var(--ink); font-size: 13.5px; letter-spacing: .015em;
  transition: background .22s, color .22s, border-color .22s, transform .22s var(--ease);
  cursor: pointer;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--ink); color: var(--paper); }
.btn-primary:hover { background: var(--orange); border-color: var(--orange); color: var(--ink); }
.btn-secondary { background: transparent; color: var(--ink); }
.btn-secondary:hover { background: var(--lime); }
.btn-ghost-dark { background: transparent; border-color: rgba(243, 240, 230, .35); color: var(--paper); }
.btn-ghost-dark:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.btn-lime { background: var(--lime); border-color: var(--lime); color: var(--ink); }
.btn-lime:hover { background: var(--paper); }

/* 首屏 */
.hero {
  position: relative; overflow: hidden;
  padding: 64px 0 42px;
  background:
    radial-gradient(circle at 90% 8%, rgba(201, 243, 107, .34), transparent 28rem),
    radial-gradient(circle at 8% 86%, rgba(255, 91, 53, .07), transparent 25rem);
}
.hero::after {
  content: ""; position: absolute; right: -84px; top: 100px;
  width: 240px; height: 240px; border: 1px solid rgba(17, 28, 22, .11);
  border-radius: 50%; pointer-events: none;
}
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(370px, .92fr);
  align-items: center; gap: clamp(32px, 5vw, 66px); position: relative; z-index: 1;
}
.hero h1 {
  font-size: clamp(2.7rem, 6.1vw, 4.625rem);
  line-height: .99; letter-spacing: -.06em; font-weight: 760;
  max-width: 780px;
}
.hero h1 .h1-brand {
  font-family: var(--serif); font-style: italic; font-weight: 600;
  letter-spacing: -.045em; color: var(--ink); position: relative;
  display: inline-block;
}
.hero h1 .h1-brand::after {
  content: ""; position: absolute; left: -2%; right: -2%; bottom: .08em; height: .12em;
  background: var(--lime); z-index: -1; transform: rotate(-1deg);
}
.hero h1 .h1-dim { color: var(--ink-faint); }
.hero-lead {
  max-width: 56ch; margin-top: 26px; color: var(--ink-soft);
  font-size: clamp(15px, 1.3vw, 17.5px); line-height: 1.82;
}
.hero-lead strong { color: var(--ink); font-weight: 600; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.hero-facts {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 20px; margin-top: 36px; padding-top: 19px; border-top: 1px solid var(--line);
  max-width: 630px;
}
.hero-facts dt { font-family: var(--mono); font-size: 9.5px; color: var(--ink-faint); letter-spacing: .1em; margin-bottom: 5px; }
.hero-facts dd { font-size: 13px; line-height: 1.45; color: var(--ink); }
.hero-facts dd b { font-weight: 600; }

/* 首屏面板示意 */
.console-wrap { position: relative; min-width: 0; }
.console-wrap::before {
  content: ""; position: absolute; inset: 18px -14px -14px 18px;
  background: var(--orange); border-radius: 24px; z-index: -1;
  transform: rotate(1.5deg);
}
.console {
  position: relative; background: #101913; color: #eff3e8;
  border: 1px solid rgba(255, 255, 255, .12); border-radius: 22px;
  padding: 15px; box-shadow: 0 26px 60px rgba(17, 28, 22, .23);
  transform: rotate(-.45deg);
}
.console-top { display: flex; align-items: center; gap: 10px; padding: 0 2px 12px; }
.console-dots { display: flex; gap: 4px; }
.console-dots i { width: 6px; height: 6px; border-radius: 50%; background: #49544c; }
.console-dots i:first-child { background: var(--orange); }
.console-dots i:nth-child(2) { background: #e4c35b; }
.console-dots i:nth-child(3) { background: var(--lime); }
.console-title { font-family: var(--mono); font-size: 9.5px; letter-spacing: .08em; color: #a9b4aa; margin-left: 2px; }
.console-title b { color: #eff3e8; font-weight: 500; }
.console-state {
  margin-left: auto; display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--mono); font-size: 9px; color: var(--lime);
  border: 1px solid rgba(201, 243, 107, .25); border-radius: 999px; padding: 3px 8px;
}
.console-state i { width: 5px; height: 5px; border-radius: 50%; background: var(--lime); }
.console-map {
  position: relative; height: 242px; border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 14px; overflow: hidden;
  background-color: #131f17;
  background-image: radial-gradient(rgba(201, 243, 107, .17) .7px, transparent .7px);
  background-size: 14px 14px;
}
.map-lines { position: absolute; inset: 0; width: 100%; height: 100%; }
.map-lines path { fill: none; stroke: rgba(201, 243, 107, .35); stroke-width: 1; stroke-dasharray: 3 4; }
.map-lines path.active { stroke: var(--lime); stroke-width: 1.25; animation: flow 7s linear infinite; }
@keyframes flow { to { stroke-dashoffset: -70; } }
.map-device, .map-node {
  position: absolute; z-index: 2; display: flex; align-items: center; justify-content: center;
  font-family: var(--mono); font-size: 8.5px; letter-spacing: .03em;
  border: 1px solid rgba(255, 255, 255, .2); background: #1a271e; color: #cbd2c6;
  border-radius: 5px; height: 23px; width: 69px;
}
.map-device { left: 12px; }
.map-device::before { content: ""; width: 4px; height: 4px; border: 1px solid #7c887d; margin-right: 5px; border-radius: 1px; }
.map-device.a { top: 37px; }
.map-device.b { top: 108px; }
.map-device.c { top: 179px; }
.map-node { right: 12px; justify-content: flex-start; padding-left: 9px; }
.map-node::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: var(--lime); margin-right: 6px; }
.map-node.a { top: 37px; }
.map-node.b { top: 108px; }
.map-node.c { top: 179px; }
.map-node.direct::before { background: #8b968b; }
.map-router {
  position: absolute; z-index: 3; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 112px; padding: 13px 10px 12px; text-align: center;
  border-radius: 10px; background: var(--lime); color: var(--ink);
  box-shadow: 0 0 0 5px rgba(201, 243, 107, .08), 0 12px 26px rgba(0, 0, 0, .3);
}
.map-router b { display: block; font-size: 13px; letter-spacing: -.03em; line-height: 1.1; }
.map-router span { display: block; font-family: var(--mono); font-size: 7.5px; margin-top: 4px; letter-spacing: .04em; opacity: .7; }
.map-router i { display: block; width: 20px; height: 1px; background: rgba(17, 28, 22, .35); margin: 7px auto 0; }
.console-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; margin-top: 9px; }
.console-stat { background: #18241b; border-radius: 8px; padding: 9px 10px; min-width: 0; }
.console-stat small { display: block; font-family: var(--mono); font-size: 7.5px; color: #879386; letter-spacing: .06em; }
.console-stat strong { display: block; font-family: var(--mono); font-size: 11px; font-weight: 500; margin-top: 2px; color: #e8eddf; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.console-log { margin-top: 9px; display: grid; gap: 3px; padding: 2px; }
.console-log p { display: flex; gap: 8px; font-family: var(--mono); font-size: 7.5px; color: #7f8d80; }
.console-log p span { color: var(--lime); min-width: 30px; }
.console-log p b { font-weight: 400; color: #aab5a8; }
.console-caption { display: block; width: max-content; margin: 12px 0 0 auto; padding: 2px 6px; background: var(--paper); border: 1px solid var(--line); border-radius: 3px; text-align: right; font-family: var(--mono); font-size: 8.5px; color: var(--ink-soft); letter-spacing: .05em; }

/* 信号带 */
.signal-line {
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background: rgba(233, 228, 213, .6); overflow: hidden;
}
.signal-track {
  display: flex; align-items: center; gap: 31px; min-height: 38px;
  width: max-content; min-width: 100%; padding-inline: 4px;
  font-family: var(--mono); font-size: 9.5px; letter-spacing: .08em; color: var(--ink-soft);
  white-space: nowrap;
}
.signal-track span::before { content: "◇"; margin-right: 31px; color: var(--orange); }
.signal-track span:first-child::before { content: ""; margin: 0; }

/* 区块结构 */
.section { padding: 94px 0; }
.section-tight { padding: 68px 0; }
.section-head {
  display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  align-items: end; gap: clamp(24px, 5vw, 70px);
  padding-top: 22px; border-top: 1px solid var(--line); margin-bottom: 45px;
}
.section-head h2 {
  font-size: clamp(2rem, 4.35vw, 3.35rem); line-height: 1.04;
  letter-spacing: -.052em; font-weight: 740;
}
.section-head p { max-width: 54ch; color: var(--ink-soft); font-size: 14.5px; line-height: 1.85; }
.section-head p strong { color: var(--ink); font-weight: 600; }
.section-head--stack { display: block; }
.section-head--stack p { margin-top: 18px; }
.on-dark { color: var(--paper); }
.on-dark.section-head { border-color: var(--line-dark); }
.on-dark .section-head p, .section-head.on-dark p { color: rgba(243, 240, 230, .62); }
.on-dark .section-head p strong { color: var(--lime); }

/* 为什么 */
.why { background: var(--paper); }
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.why-card { padding: 30px 30px 5px 0; border-right: 1px solid var(--line); }
.why-card + .why-card { padding-left: 30px; }
.why-card:last-child { border-right: 0; padding-right: 0; }
.why-card .why-index {
  display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono);
  font-size: 9.5px; color: var(--ink-faint); letter-spacing: .08em; margin-top: 23px;
}
.why-card .why-index::after { content: ""; width: 36px; height: 1px; background: var(--line); }
.why-card h3 { font-size: clamp(1.3rem, 2.1vw, 1.7rem); line-height: 1.25; letter-spacing: -.035em; font-weight: 680; }
.why-card p { margin-top: 14px; color: var(--ink-soft); font-size: 13.5px; line-height: 1.85; }
.why-foot {
  display: flex; align-items: center; gap: 12px; margin-top: 42px;
  padding-top: 18px; border-top: 1px solid var(--line);
  font-size: 12px; color: var(--ink-faint);
}
.why-foot::before { content: ""; width: 7px; height: 7px; background: var(--orange); border-radius: 50%; flex: none; }

/* 功能 */
.features { background: var(--ink); color: var(--paper); position: relative; overflow: hidden; }
.features::before {
  content: ""; position: absolute; left: -200px; bottom: -300px; width: 650px; height: 650px;
  border: 1px solid rgba(201, 243, 107, .13); border-radius: 50%;
}
.feature-list { position: relative; z-index: 1; border-top: 1px solid var(--line-dark); }
.feature-row {
  display: grid; grid-template-columns: 52px minmax(190px, .8fr) minmax(280px, 1.25fr) 155px;
  gap: 24px; align-items: start; padding: 24px 14px 24px 0;
  border-bottom: 1px solid var(--line-dark);
  transition: background .22s, padding-left .22s var(--ease);
}
.feature-row:hover { background: rgba(201, 243, 107, .055); padding-left: 14px; }
.feature-num { font-family: var(--mono); font-size: 9.5px; color: var(--lime); letter-spacing: .1em; padding-top: 7px; }
.feature-row h3 { font-size: 19px; font-weight: 580; line-height: 1.35; letter-spacing: -.02em; }
.feature-row p { color: rgba(243, 240, 230, .58); font-size: 13px; line-height: 1.8; max-width: 56ch; }
.feature-code {
  justify-self: end; font-family: var(--mono); font-size: 9px; color: var(--lime-2);
  border: 1px solid rgba(201, 243, 107, .2); padding: 4px 8px; border-radius: 4px;
  white-space: nowrap; margin-top: 3px; max-width: 100%; overflow: hidden; text-overflow: ellipsis;
}

/* 安装 */
.install { background: var(--paper); }
.install-card {
  display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: 54px; background: var(--ink); color: var(--paper);
  border-radius: 24px; padding: clamp(30px, 5vw, 58px); position: relative; overflow: hidden;
}
.install-card::before {
  content: "3"; position: absolute; right: 32px; top: 4px;
  font-family: var(--serif); font-size: 70px; line-height: 1;
  color: rgba(201, 243, 107, .12); pointer-events: none;
}
.install-copy h2 { font-size: clamp(2rem, 3.8vw, 3rem); line-height: 1.05; letter-spacing: -.05em; }
.install-copy p { margin-top: 18px; color: rgba(243, 240, 230, .62); font-size: 14px; line-height: 1.85; max-width: 42ch; }
.install-copy .btn { margin-top: 26px; }
.install-note { margin-top: 22px; font-family: var(--mono); font-size: 9.5px; line-height: 1.6; color: rgba(243, 240, 230, .38); }
.steps { display: grid; gap: 0; align-content: start; }
.step { display: grid; grid-template-columns: 28px 1fr; gap: 16px; padding: 0 0 23px; position: relative; }
.step:not(:last-child)::before {
  content: ""; position: absolute; left: 13px; top: 28px; bottom: 0; width: 1px;
  background: rgba(243, 240, 230, .16);
}
.step-num {
  width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%;
  background: var(--lime); color: var(--ink); font-family: var(--mono); font-size: 9px; z-index: 1;
}
.step h3 { font-size: 14px; font-weight: 600; line-height: 1.5; }
.step p { color: rgba(243, 240, 230, .55); font-size: 12.5px; line-height: 1.75; margin-top: 2px; }
.step code, .inline-code {
  font-family: var(--mono); font-size: .84em; color: var(--ink);
  background: var(--lime-2); border-radius: 3px; padding: 1px 5px;
}
.step code { color: var(--lime-2); background: rgba(201, 243, 107, .09); padding: 2px 5px; }
.code-block {
  margin-top: 9px; background: #0a120d; border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 8px; padding: 12px 14px; overflow-x: auto;
}
.code-block code { display: block; font-family: var(--mono); font-size: 10.5px; line-height: 1.8; color: #d7e0d2; white-space: pre; }
.code-block code .fn { color: var(--lime); }

/* 仓库状态 */
.repo { background: var(--paper-2); }
.repo-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 60px; align-items: start; }
.repo-intro h2 { font-size: clamp(2rem, 4.2vw, 3.25rem); line-height: 1.06; letter-spacing: -.052em; }
.repo-intro p { margin-top: 18px; color: var(--ink-soft); font-size: 14px; line-height: 1.85; max-width: 43ch; }
.repo-links { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 25px; }
.repo-links a { font-family: var(--mono); font-size: 10px; border-bottom: 1px solid var(--ink); padding-bottom: 2px; }
.repo-links a:hover { color: var(--red); border-color: var(--red); }
.repo-table { border-top: 1px solid var(--ink); }
.repo-row { display: grid; grid-template-columns: 130px 1fr; gap: 24px; padding: 15px 0; border-bottom: 1px solid var(--line); }
.repo-row dt { font-family: var(--mono); font-size: 9.5px; color: var(--ink-faint); letter-spacing: .06em; padding-top: 3px; }
.repo-row dd { font-size: 13px; line-height: 1.65; }
.repo-row dd small { color: var(--ink-faint); font-size: 11px; }
.repo-status {
  display: inline-flex; align-items: center; gap: 7px; font-size: 11px;
  background: var(--lime); border-radius: 999px; padding: 3px 9px;
}
.repo-status::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--ink); }

/* 榜单横幅 */
.rank-banner {
  background: var(--orange); color: var(--ink); border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink); padding: 58px 0;
  position: relative; overflow: hidden;
}
.rank-banner::after {
  content: "机场"; position: absolute; right: -20px; bottom: -44px;
  font-family: var(--serif); font-size: 74px; line-height: 1; color: rgba(17, 28, 22, .09);
  pointer-events: none; white-space: nowrap;
}
.rank-banner-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, .75fr); gap: 48px; align-items: end; position: relative; z-index: 1; }
.rank-banner h2 { font-size: clamp(3rem, 6.9vw, 4.75rem); line-height: .9; letter-spacing: -.075em; font-weight: 760; }
.rank-banner-copy p { font-size: 14px; line-height: 1.85; max-width: 40ch; }
.rank-banner-copy .btn { margin-top: 20px; background: var(--ink); color: var(--paper); border-color: var(--ink); }
.rank-banner-copy .btn:hover { background: var(--paper); color: var(--ink); }
.rank-banner-meta { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 22px; }
.rank-banner-meta span { font-family: var(--mono); font-size: 9.5px; border: 1px solid rgba(17, 28, 22, .28); border-radius: 999px; padding: 3px 8px; }

/* 文章卡片 */
.notes { background: var(--paper); }
.post-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.post-card {
  min-height: 245px; background: var(--white); border: 1px solid var(--line);
  border-radius: 16px; padding: 28px 28px 24px; display: flex; flex-direction: column;
  transition: transform .25s var(--ease), box-shadow .25s, border-color .25s;
}
.post-card:hover { transform: translateY(-4px); border-color: var(--ink); box-shadow: 0 18px 35px rgba(17, 28, 22, .08); }
.post-card.feature { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.post-card.feature .post-meta, .post-card.feature p { color: rgba(243, 240, 230, .56); }
.post-card.accent { background: var(--lime); border-color: var(--ink); }
.post-card.accent .post-meta { color: rgba(17, 28, 22, .6); }
.post-card.accent p { color: rgba(17, 28, 22, .72); }
.post-meta { display: flex; justify-content: space-between; gap: 12px; font-family: var(--mono); font-size: 10px; color: var(--ink-faint); letter-spacing: .04em; }
.post-card h3 { margin-top: 28px; font-family: var(--serif); font-size: clamp(1.35rem, 2.2vw, 1.78rem); line-height: 1.32; font-weight: 650; letter-spacing: -.025em; }
.post-card p { margin-top: 12px; color: var(--ink-soft); font-size: 12.5px; line-height: 1.8; max-width: 45ch; }
.post-more { margin-top: auto; padding-top: 23px; font-size: 11px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; }
.post-card.feature .post-more { border-color: var(--line-dark); color: var(--lime-2); }
.post-card.accent .post-more { border-color: rgba(17, 28, 22, .2); }
.post-more span:last-child { font-family: var(--mono); color: var(--ink-faint); }
.post-card.feature .post-more span:last-child { color: rgba(243, 240, 230, .4); }
.notes-foot { margin-top: 28px; display: flex; justify-content: flex-end; }
.text-link { font-size: 12px; border-bottom: 1px solid var(--ink); padding-bottom: 2px; }
.text-link:hover { color: var(--red); border-color: var(--red); }

/* FAQ */
.faq { background: var(--paper-2); }
.faq-grid { display: grid; grid-template-columns: minmax(0, .72fr) minmax(0, 1.28fr); gap: 60px; align-items: start; }
.faq-intro h2 { font-size: clamp(2rem, 4.2vw, 3.2rem); line-height: 1.06; letter-spacing: -.052em; }
.faq-intro p { margin-top: 18px; color: var(--ink-soft); font-size: 13.5px; line-height: 1.8; max-width: 36ch; }
.faq-list { border-top: 1px solid var(--ink); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary {
  list-style: none; cursor: pointer; padding: 19px 0; display: flex; align-items: flex-start;
  justify-content: space-between; gap: 20px; font-size: 14.5px; line-height: 1.55; font-weight: 560;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+"; font-family: var(--mono); font-size: 18px; line-height: 1; color: var(--ink-soft);
  flex: none; margin-top: 2px; transition: transform .2s;
}
.faq-list details[open] summary::after { content: "−"; transform: rotate(180deg); }
.faq-list details p { padding: 0 30px 20px 0; color: var(--ink-soft); font-size: 13px; line-height: 1.85; max-width: 65ch; }
.faq-list details p a { border-bottom: 1px solid var(--ink); }

/* 页脚 */
.site-footer { background: var(--ink); color: var(--paper); }
.footer-in { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 28px 0; }
.footer-brand { display: inline-flex; align-items: center; gap: 10px; }
.footer-brand .brand-mark { width: 31px; height: 31px; border-radius: 8px; border: 0; }
.footer-brand .brand-mark img { width: 18px; height: 18px; }
.footer-brand strong { font-size: 13px; letter-spacing: -.02em; font-weight: 600; }
.footer-brand small { display: block; font-size: 9px; color: rgba(243, 240, 230, .42); letter-spacing: .05em; }
.footer-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 21px; }
.footer-nav a { font-size: 11px; color: rgba(243, 240, 230, .58); }
.footer-nav a:hover { color: var(--lime); }
.footer-nav a[aria-current="page"] { color: var(--paper); }
.footer-copy { padding: 0 0 22px; font-family: var(--mono); font-size: 9px; color: rgba(243, 240, 230, .3); }
.footer-copy .shell { display: flex; justify-content: space-between; gap: 20px; padding-top: 14px; border-top: 1px solid rgba(243, 240, 230, .1); }

/* 内页首屏 */
.page-hero {
  position: relative; overflow: hidden; background: var(--ink); color: var(--paper);
  padding: 66px 0 58px;
}
.page-hero::before {
  content: ""; position: absolute; width: 520px; height: 520px; right: -180px; top: -210px;
  border: 1px solid rgba(201, 243, 107, .2); border-radius: 50%; pointer-events: none;
}
.page-hero::after {
  content: ""; position: absolute; width: 360px; height: 360px; right: -80px; top: -130px;
  border: 1px solid rgba(255, 91, 53, .28); border-radius: 50%; pointer-events: none;
}
.page-hero .shell { position: relative; z-index: 1; }
.page-hero h1 {
  font-size: clamp(2.5rem, 5.7vw, 4.4rem); line-height: 1.02;
  letter-spacing: -.06em; font-weight: 750; max-width: 900px;
}
.page-hero h1 .h1-brand { font-family: var(--serif); font-style: italic; font-weight: 520; }
.page-hero-lead { margin-top: 22px; max-width: 63ch; color: rgba(243, 240, 230, .6); font-size: 14.5px; line-height: 1.85; }
.page-hero-meta { display: flex; flex-wrap: wrap; gap: 8px 23px; margin-top: 28px; font-family: var(--mono); font-size: 9.5px; color: rgba(243, 240, 230, .38); }
.page-hero-meta span { display: inline-flex; align-items: center; gap: 7px; }
.page-hero-meta span::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: var(--orange); }
.page-hero-meta span:first-child::before { background: var(--lime); }

/* 下载 */
.download-hero-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(290px, .8fr); gap: 50px; align-items: end; }
.download-hero h1 { font-size: clamp(2.25rem, 4.9vw, 4rem); }
.manifest {
  background: #18251d; border: 1px solid rgba(243, 240, 230, .16); border-radius: 14px;
  overflow: hidden;
}
.manifest-head {
  display: flex; justify-content: space-between; align-items: center; padding: 11px 15px;
  border-bottom: 1px solid rgba(243, 240, 230, .12); font-family: var(--mono);
  font-size: 8.5px; letter-spacing: .08em; color: rgba(243, 240, 230, .42);
}
.manifest-head b { color: var(--lime); font-weight: 400; }
.manifest dl { margin: 0; padding: 7px 15px 11px; }
.manifest div { display: flex; justify-content: space-between; gap: 18px; padding: 7px 0; border-bottom: 1px solid rgba(243, 240, 230, .07); }
.manifest div:last-child { border-bottom: 0; }
.manifest dt { font-family: var(--mono); font-size: 8.5px; color: rgba(243, 240, 230, .4); letter-spacing: .04em; }
.manifest dd { font-family: var(--mono); font-size: 9.5px; color: rgba(243, 240, 230, .8); text-align: right; }
.download-main { padding: 76px 0 90px; }
.download-intro { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-bottom: 26px; }
.download-intro h2 { font-size: clamp(2rem, 4vw, 3.15rem); line-height: 1.05; letter-spacing: -.052em; }
.download-intro p { max-width: 40ch; color: var(--ink-soft); font-size: 13px; line-height: 1.8; }
.download-grid { display: grid; grid-template-columns: 1.1fr .95fr .95fr; gap: 14px; }
.download-card {
  border: 1px solid var(--line); background: var(--white); border-radius: 15px;
  padding: 27px 25px 24px; display: flex; flex-direction: column; min-height: 330px;
  transition: border-color .2s, transform .25s var(--ease);
}
.download-card:hover { border-color: var(--ink); transform: translateY(-3px); }
.download-card.primary { background: var(--lime); border-color: var(--ink); }
.download-card.dark { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.download-kicker { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 9.5px; letter-spacing: .06em; color: var(--ink-faint); }
.download-card.dark .download-kicker { color: rgba(243, 240, 230, .4); }
.download-card.primary .download-kicker { color: rgba(17, 28, 22, .58); }
.download-card h3 { margin-top: 36px; font-size: 22px; letter-spacing: -.035em; line-height: 1.25; font-weight: 680; }
.download-card p { margin-top: 12px; color: var(--ink-soft); font-size: 12.5px; line-height: 1.8; }
.download-card.dark p { color: rgba(243, 240, 230, .58); }
.download-card.primary p { color: rgba(17, 28, 22, .68); }
.download-card .btn { margin-top: auto; align-self: flex-start; min-height: 39px; font-size: 11.5px; padding: 0 17px; }
.download-card .file-meta { margin-top: auto; padding-top: 23px; font-family: var(--mono); font-size: 9.5px; color: var(--ink-faint); line-height: 1.7; }
.download-card.dark .file-meta { color: rgba(243, 240, 230, .38); }
.download-card.primary .file-meta { color: rgba(17, 28, 22, .55); }
.download-card .btn + .file-meta { margin-top: 15px; padding-top: 0; }
.download-note {
  display: flex; gap: 13px; margin-top: 15px; background: var(--paper-2);
  border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px;
  font-size: 12px; line-height: 1.8; color: var(--ink-soft);
}
.download-note::before { content: "!"; flex: none; width: 19px; height: 19px; border-radius: 50%; background: var(--orange); color: var(--ink); display: grid; place-items: center; font-family: var(--mono); font-size: 11px; margin-top: 1px; }
.download-note strong { color: var(--ink); }
.section-code { background: var(--paper-2); }
.install-steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 14px; }
.install-step { border-top: 1px solid var(--ink); padding-top: 18px; }
.install-step .step-index { font-family: var(--mono); font-size: 9px; color: var(--ink-faint); letter-spacing: .06em; }
.install-step h3 { margin-top: 23px; font-size: 18px; line-height: 1.35; font-weight: 620; }
.install-step p { margin-top: 8px; color: var(--ink-soft); font-size: 12.5px; line-height: 1.8; }
.install-step .code-block { background: var(--ink); margin-top: 14px; }
.compat { padding: 75px 0; }
.compat-table { width: 100%; border-collapse: collapse; margin-top: 4px; }
.compat-table th { text-align: left; padding: 13px 16px 13px 0; border-bottom: 1px solid var(--ink); font-family: var(--mono); font-size: 8.5px; letter-spacing: .07em; color: var(--ink-faint); font-weight: 400; }
.compat-table td { padding: 16px 16px 16px 0; border-bottom: 1px solid var(--line); font-size: 12.5px; line-height: 1.65; vertical-align: top; }
.compat-table td:first-child { font-weight: 600; width: 20%; }
.compat-table td:nth-child(2) { color: var(--ink-soft); width: 42%; }
.compat-table td:last-child { font-family: var(--mono); font-size: 9px; color: var(--ink-faint); }

/* 榜单页 */
.ranking-hero {
  position: relative; overflow: hidden; background: var(--ink); color: var(--paper);
  padding: 60px 0 44px;
}
.ranking-hero::before {
  content: ""; position: absolute; right: 3%; top: -15%; width: 440px; height: 440px;
  background: var(--orange); border-radius: 50%; opacity: .94; pointer-events: none;
}
.ranking-hero::after {
  content: ""; position: absolute; right: 19%; top: 42%; width: 160px; height: 160px;
  border: 1px solid rgba(201, 243, 107, .55); border-radius: 50%; pointer-events: none;
}
.ranking-hero .shell { position: relative; z-index: 1; }
.ranking-hero h1 {
  font-size: clamp(3rem, 6.6vw, 4.75rem); line-height: .92;
  letter-spacing: -.075em; font-weight: 780;
}
.ranking-hero h1 span { color: var(--lime); }
.ranking-lead { margin-top: 22px; max-width: 60ch; color: rgba(243, 240, 230, .62); font-size: 14.5px; line-height: 1.85; }
.ranking-meta { display: flex; flex-wrap: wrap; gap: 9px 27px; margin-top: 28px; font-family: var(--mono); font-size: 9.5px; color: rgba(243, 240, 230, .45); }
.ranking-meta span { display: inline-flex; align-items: center; gap: 7px; }
.ranking-meta span::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: var(--lime); }
.ranking-method { background: var(--paper-2); padding: 67px 0; }
.method-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--ink); }
.method-item { padding: 20px 26px 5px 0; border-right: 1px solid var(--line); }
.method-item + .method-item { padding-left: 26px; }
.method-item:last-child { border-right: 0; }
.method-item .method-index { font-family: var(--mono); font-size: 10px; color: var(--orange); letter-spacing: .06em; }
.method-item h3 { margin-top: 24px; font-size: 17px; line-height: 1.35; font-weight: 650; }
.method-item p { margin-top: 8px; color: var(--ink-soft); font-size: 12px; line-height: 1.8; }
.picks { padding: 74px 0 78px; background: var(--ink); color: var(--paper); }
.picks-head { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: 30px; }
.picks-head h2 { font-size: clamp(2rem, 4.1vw, 3.3rem); line-height: 1.03; letter-spacing: -.055em; }
.picks-head p { max-width: 37ch; color: rgba(243, 240, 230, .5); font-size: 12px; line-height: 1.8; text-align: right; }
.pick-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 13px; }
.pick-card {
  border: 1px solid rgba(243, 240, 230, .18); border-radius: 14px; padding: 24px;
  background: rgba(255, 255, 255, .025); display: flex; flex-direction: column; min-height: 365px;
  transition: border-color .2s, background .2s;
}
.pick-card:hover { border-color: var(--lime); background: rgba(201, 243, 107, .04); }
.pick-card-top { display: flex; justify-content: space-between; align-items: start; gap: 20px; }
.pick-label { font-family: var(--mono); font-size: 9.5px; color: var(--lime); letter-spacing: .06em; }
.pick-rank { font-family: var(--serif); font-size: 54px; line-height: .8; letter-spacing: -.06em; color: rgba(243, 240, 230, .14); }
.pick-name { margin-top: 27px; font-size: 27px; line-height: 1.1; letter-spacing: -.04em; font-weight: 690; }
.pick-tag { margin-top: 8px; color: rgba(243, 240, 230, .48); font-size: 11.5px; }
.pick-card p.pick-desc { margin-top: 20px; color: rgba(243, 240, 230, .64); font-size: 12.5px; line-height: 1.82; }
.pick-specs { display: grid; grid-template-columns: 1fr 1fr; gap: 11px 12px; margin-top: 20px; padding-top: 16px; border-top: 1px solid rgba(243, 240, 230, .12); }
.pick-specs dt { font-family: var(--mono); font-size: 9px; color: rgba(243, 240, 230, .4); letter-spacing: .05em; }
.pick-specs dd { margin-top: 3px; font-size: 12.5px; color: rgba(243, 240, 230, .86); }
.airport-cta {
  display: flex; align-items: center; justify-content: center; width: 100%;
  min-height: 41px; border-radius: 6px; background: var(--lime); color: var(--ink);
  font-size: 12px; font-weight: 600; letter-spacing: .06em; cursor: pointer;
  border: 1px solid var(--lime); transition: background .2s, color .2s;
}
.airport-cta:hover { background: var(--paper); border-color: var(--paper); }
.pick-card .airport-cta { margin-top: auto; }
.pick-card .pick-specs { margin-bottom: 23px; }
.ranking-list { padding: 72px 0 88px; }
.ranking-list-head { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: 22px; }
.ranking-list-head h2 { font-size: clamp(2rem, 4.1vw, 3.25rem); line-height: 1.04; letter-spacing: -.052em; }
.ranking-list-head p { color: var(--ink-soft); font-size: 12px; text-align: right; }
.filters { display: flex; flex-wrap: wrap; gap: 7px; padding: 18px 0 23px; border-top: 1px solid var(--line); }
.filter-btn {
  border: 1px solid var(--line); background: transparent; color: var(--ink-soft);
  border-radius: 999px; padding: 7px 14px; cursor: pointer; font-size: 11px;
  transition: background .2s, color .2s, border-color .2s;
}
.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-status { margin: -8px 0 16px; font-family: var(--mono); font-size: 9px; color: var(--ink-faint); letter-spacing: .04em; }
.airport-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 13px; }
.airport-card {
  display: flex; flex-direction: column; border: 1px solid var(--line);
  background: var(--white); border-radius: 14px; padding: 23px;
  min-height: 370px; transition: transform .25s var(--ease), border-color .2s;
}
.airport-card:hover { border-color: var(--ink); transform: translateY(-3px); }
.airport-card[hidden] { display: none; }
.airport-topline { display: flex; justify-content: space-between; gap: 15px; align-items: start; }
.airport-rank { font-family: var(--mono); font-size: 10px; color: var(--orange); letter-spacing: .04em; }
.airport-badge { font-family: var(--mono); font-size: 9px; color: var(--ink-faint); border: 1px solid var(--line); padding: 2px 7px; border-radius: 999px; }
.airport-head { display: flex; justify-content: space-between; align-items: end; gap: 15px; margin-top: 25px; }
.airport-name { font-size: 25px; line-height: 1.05; letter-spacing: -.045em; font-weight: 700; }
.airport-sub { font-size: 11.5px; color: var(--ink-faint); margin-top: 5px; }
.airport-score { text-align: right; flex: none; }
.airport-score strong { display: block; font-family: var(--mono); font-size: 22px; line-height: 1; font-weight: 500; letter-spacing: -.04em; }
.airport-score span { display: block; margin-top: 4px; font-family: var(--mono); font-size: 8.5px; color: var(--ink-faint); letter-spacing: .02em; }
.airport-desc { margin-top: 18px; color: var(--ink-soft); font-size: 12px; line-height: 1.8; }
.airport-specs { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 12px; margin-top: 19px; padding-top: 15px; border-top: 1px solid var(--line); }
.airport-specs dt { font-family: var(--mono); font-size: 9px; color: var(--ink-faint); letter-spacing: .03em; }
.airport-specs dd { margin-top: 3px; font-size: 12px; line-height: 1.4; color: var(--ink); }
.airport-watch { margin-top: 15px; color: var(--ink-faint); font-size: 11px; line-height: 1.6; }
.airport-watch b { color: var(--red); font-weight: 500; }
.airport-tags { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 15px; }
.airport-tags span { font-size: 9.5px; color: var(--ink-soft); border: 1px solid var(--line); padding: 2px 6px; border-radius: 3px; }
.airport-card .airport-cta { margin-top: auto; }
.airport-card .airport-tags { margin-bottom: 19px; }
.rank-disclaimer {
  margin-top: 30px; padding-top: 17px; border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; gap: 30px; color: var(--ink-faint); font-size: 10px; line-height: 1.7;
}
.rank-disclaimer p:last-child { text-align: right; white-space: nowrap; }

/* 文章页 */
.article-hero { background: var(--paper); padding: 58px 0 42px; border-bottom: 1px solid var(--line); position: relative; overflow: hidden; }
.article-hero::before {
  content: ""; position: absolute; right: -100px; bottom: -200px; width: 430px; height: 430px;
  border: 1px solid var(--line); border-radius: 50%;
}
.article-hero .shell { position: relative; z-index: 1; }
.article-head { max-width: 850px; }
.article-head h1 { font-family: var(--serif); font-size: clamp(2.4rem, 5.4vw, 4.2rem); line-height: 1.12; letter-spacing: -.045em; font-weight: 650; }
.article-deck { margin-top: 22px; max-width: 65ch; color: var(--ink-soft); font-size: 15px; line-height: 1.85; }
.article-meta { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 27px; font-family: var(--mono); font-size: 9px; color: var(--ink-faint); letter-spacing: .03em; }
.article-meta span { display: inline-flex; align-items: center; gap: 7px; }
.article-meta span::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: var(--orange); }
.article-shell { display: grid; grid-template-columns: minmax(0, 1fr) 278px; gap: 64px; padding: 50px 0 78px; align-items: start; }
.article-body { min-width: 0; max-width: 760px; overflow-wrap: break-word; font-size: 15.5px; line-height: 1.92; color: #253129; }
.article-body > p:first-of-type { font-size: 17.5px; line-height: 1.85; color: var(--ink); }
.article-body > p:first-of-type::first-letter {
  float: left; font-family: var(--serif); font-size: 65px; line-height: .82;
  padding: 8px 9px 0 0; color: var(--ink);
}
.article-body p { margin: 0 0 22px; }
.article-body h2 {
  font-size: clamp(1.65rem, 2.6vw, 2rem); line-height: 1.32; letter-spacing: -.035em;
  margin: 50px 0 17px; font-weight: 680; scroll-margin-top: 100px;
}
.article-body h3 { font-size: 19px; line-height: 1.4; margin: 31px 0 11px; font-weight: 650; }
.article-body a { border-bottom: 1px solid var(--ink); }
.article-body a:hover { color: var(--red); border-color: var(--red); }
.article-body strong { color: var(--ink); font-weight: 650; }
.article-body ul, .article-body ol { margin: 0 0 24px; padding-left: 0; display: grid; gap: 9px; }
.article-body ul li, .article-body ol li { position: relative; padding-left: 21px; }
.article-body ul li::before { content: ""; position: absolute; left: 2px; top: .73em; width: 5px; height: 5px; border-radius: 50%; background: var(--orange); }
.article-body ol { counter-reset: item; }
.article-body ol li { counter-increment: item; }
.article-body ol li::before { content: counter(item, decimal-leading-zero); position: absolute; left: 0; top: .18em; font-family: var(--mono); font-size: 8.5px; color: var(--orange); }
.article-body blockquote {
  margin: 28px 0; padding: 20px 24px; border-left: 3px solid var(--orange);
  background: var(--paper-2); color: var(--ink-soft); font-family: var(--serif);
  font-size: 17px; line-height: 1.75;
}
.article-body blockquote p { margin: 0; }
.article-body pre {
  max-width: 100%; margin: 20px 0 26px; padding: 17px 19px; background: var(--ink); color: #dbe5d7;
  border-radius: 8px; overflow-x: auto; line-height: 1.75;
}
.article-body pre code { font-family: var(--mono); font-size: 11px; }
.article-body :not(pre) > code {
  font-family: var(--mono); font-size: .82em; background: var(--paper-2);
  border: 1px solid var(--line); border-radius: 3px; padding: 1px 5px; color: var(--ink);
}
.article-body table { width: 100%; border-collapse: collapse; margin: 22px 0 28px; font-size: 12.5px; }
.article-body th { text-align: left; font-family: var(--mono); font-size: 8px; letter-spacing: .06em; color: var(--ink-faint); font-weight: 400; padding: 0 12px 9px 0; border-bottom: 1px solid var(--ink); }
.article-body td { padding: 12px 12px 12px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.article-foot {
  margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--ink);
  display: flex; justify-content: space-between; gap: 26px; align-items: center;
  font-size: 11px; color: var(--ink-soft);
}
.article-foot a { border-bottom: 1px solid var(--ink); font-size: 11px; white-space: nowrap; }
.article-aside { position: sticky; top: 104px; display: grid; gap: 15px; }
.toc { border: 1px solid var(--line); border-radius: 12px; padding: 19px; background: rgba(251, 250, 243, .55); }
.toc-title { font-family: var(--mono); font-size: 8.5px; color: var(--ink-faint); letter-spacing: .08em; }
.toc ol { margin-top: 13px; display: grid; gap: 9px; counter-reset: toc; }
.toc li { counter-increment: toc; font-size: 11.5px; line-height: 1.55; color: var(--ink-soft); padding-left: 20px; position: relative; }
.toc li::before { content: counter(toc, decimal-leading-zero); position: absolute; left: 0; top: 0; font-family: var(--mono); font-size: 8px; color: var(--orange); }
.toc a:hover { color: var(--ink); }
.aside-rank { background: var(--lime); border: 1px solid var(--ink); border-radius: 12px; padding: 20px; }
.aside-rank h2 { margin-top: 12px; font-size: 25px; line-height: 1; letter-spacing: -.05em; }
.aside-rank p { margin-top: 10px; font-size: 11.5px; line-height: 1.65; color: rgba(17, 28, 22, .68); }
.aside-rank a { display: flex; align-items: center; justify-content: center; min-height: 37px; margin-top: 16px; background: var(--ink); color: var(--paper); border-radius: 5px; font-size: 11px; }
.aside-rank a:hover { background: var(--orange); color: var(--ink); }
.aside-note { border-top: 1px solid var(--line); padding-top: 15px; font-size: 10.5px; line-height: 1.7; color: var(--ink-faint); }
.related { background: var(--paper-2); padding: 62px 0 70px; }
.related-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 22px; border-top: 1px solid var(--ink); padding-top: 17px; }
.related-head h2 { font-size: 28px; letter-spacing: -.04em; line-height: 1.1; }
.related-head a { font-size: 11px; border-bottom: 1px solid var(--ink); padding-bottom: 2px; }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.related-card { background: var(--paper); border: 1px solid var(--line); border-radius: 10px; padding: 20px; min-height: 155px; display: flex; flex-direction: column; }
.related-card:hover { border-color: var(--ink); }
.related-card .post-meta { font-size: 9px; }
.related-card h3 { margin-top: 17px; font-family: var(--serif); font-size: 18px; line-height: 1.4; letter-spacing: -.02em; font-weight: 650; }

/* 文章索引 */
.articles-hero { background: var(--paper); padding: 68px 0 51px; border-bottom: 1px solid var(--line); position: relative; overflow: hidden; }
.articles-hero::after { content: ""; position: absolute; right: 7%; top: -140px; width: 360px; height: 360px; background: var(--lime); border-radius: 50%; opacity: .55; }
.articles-hero .shell { position: relative; z-index: 1; }
.articles-hero h1 { font-size: clamp(2.7rem, 6vw, 4.5rem); line-height: 1.02; letter-spacing: -.065em; font-weight: 760; max-width: 780px; }
.articles-hero h1 em { font-family: var(--serif); font-weight: 550; }
.articles-hero-lead { margin-top: 21px; max-width: 55ch; color: var(--ink-soft); font-size: 14.5px; line-height: 1.85; }
.articles-index { padding: 50px 0 85px; }
.article-list { border-top: 1px solid var(--ink); }
.article-row {
  display: grid; grid-template-columns: 90px minmax(0, 1fr) 205px;
  gap: 28px; padding: 25px 0; border-bottom: 1px solid var(--line);
  transition: padding-left .25s var(--ease), background .2s;
}
.article-row:hover { padding-left: 10px; background: rgba(201, 243, 107, .12); }
.article-row-index { font-family: var(--mono); font-size: 9px; color: var(--ink-faint); padding-top: 5px; }
.article-row h2 { font-family: var(--serif); font-size: clamp(1.45rem, 2.8vw, 2.05rem); line-height: 1.3; letter-spacing: -.03em; font-weight: 650; }
.article-row p { margin-top: 8px; color: var(--ink-soft); font-size: 12.5px; line-height: 1.78; max-width: 62ch; }
.article-row-meta { text-align: right; font-family: var(--mono); font-size: 9px; color: var(--ink-faint); line-height: 1.8; padding-top: 5px; }

/* 网站地图 */
.sitemap-main { padding: 58px 0 88px; }
.sitemap-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 52px; }
.sitemap-group { border-top: 1px solid var(--ink); padding-top: 18px; }
.sitemap-group h2 { font-size: 22px; letter-spacing: -.03em; }
.sitemap-list { margin-top: 15px; display: grid; gap: 0; }
.sitemap-list a { display: flex; justify-content: space-between; gap: 20px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.sitemap-list a:hover { color: var(--red); }
.sitemap-list span { font-family: var(--mono); font-size: 8.5px; color: var(--ink-faint); }
.sitemap-note { margin-top: 45px; border-top: 1px solid var(--line); padding-top: 15px; font-family: var(--mono); font-size: 9px; color: var(--ink-faint); line-height: 1.7; }

/* 404 */
.error-page { min-height: 65vh; display: grid; place-items: center; padding: 80px 0; text-align: center; }
.error-code { font-family: var(--serif); font-size: 74px; line-height: .8; letter-spacing: -.08em; color: var(--orange); }
.error-page h1 { margin-top: 24px; font-size: clamp(2rem, 4.2vw, 3.2rem); letter-spacing: -.05em; }
.error-page p { margin-top: 15px; color: var(--ink-soft); font-size: 14px; }
.error-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 9px; margin-top: 25px; }

/* 响应式 */
@media (max-width: 1100px) {
  .hero-grid { grid-template-columns: 1fr; gap: 52px; }
  .hero-copy { max-width: 820px; }
  .console-wrap { max-width: 620px; width: 100%; }
  .console-wrap::before { inset: 14px -10px -10px 14px; }
  .feature-row { grid-template-columns: 42px minmax(170px, .8fr) minmax(220px, 1.2fr) 135px; gap: 18px; }
  .download-grid { grid-template-columns: 1fr 1fr; }
  .download-card.primary { grid-column: span 2; min-height: 265px; }
  .pick-grid { grid-template-columns: 1fr 1fr; }
  .pick-card:nth-child(3) { grid-column: span 2; min-height: 300px; }
  .airport-grid { grid-template-columns: 1fr 1fr; }
  .article-shell { grid-template-columns: minmax(0, 1fr) 250px; gap: 40px; }
  .method-grid { grid-template-columns: 1fr 1fr; }
  .method-item:nth-child(2) { border-right: 0; }
  .method-item:nth-child(n+3) { border-top: 1px solid var(--line); padding-top: 24px; margin-top: 16px; }
}

@media (max-width: 900px) {
  :root { --shell: calc(100% - 40px); }
  .header-in { min-height: 68px; gap: 16px; }
  .site-nav {
    display: none; position: fixed; left: 20px; right: 20px; top: 102px;
    background: var(--paper); border: 1px solid var(--ink); border-radius: 14px;
    padding: 12px; gap: 0; flex-direction: column; align-items: stretch;
    box-shadow: 0 22px 45px rgba(17, 28, 22, .16);
  }
  .topbar + .site-header .site-nav { top: 102px; }
  .nav-open .site-nav { display: flex; }
  .site-nav a { padding: 12px 10px; font-size: 14px; border-bottom: 1px solid var(--line); }
  .site-nav a:last-child { border-bottom: 0; }
  .site-nav a::after { display: none; }
  .site-nav .nav-rank { display: block; color: var(--red); font-weight: 600; }
  .header-cta { margin-left: auto; min-height: 38px; padding: 0 16px; font-size: 11.5px; }
  .menu-toggle { display: flex; }
  .section { padding: 72px 0; }
  .section-head { grid-template-columns: 1fr; gap: 18px; margin-bottom: 34px; }
  .section-head p { max-width: 62ch; }
  .why-grid { grid-template-columns: 1fr; border-top: 0; }
  .why-card, .why-card + .why-card { border-right: 0; border-top: 1px solid var(--line); padding: 25px 0; }
  .why-card:last-child { padding-bottom: 0; }
  .why-card .why-index { margin-top: 17px; }
  .feature-row { grid-template-columns: 36px 1fr; gap: 5px 16px; padding: 20px 0; }
  .feature-row p { grid-column: 2; }
  .feature-code { grid-column: 2; justify-self: start; margin-top: 7px; }
  .feature-num { grid-row: span 3; padding-top: 4px; }
  .install-card { grid-template-columns: 1fr; gap: 36px; }
  .repo-grid { grid-template-columns: 1fr; gap: 35px; }
  .rank-banner-in { grid-template-columns: 1fr; gap: 22px; }
  .rank-banner-copy p { max-width: 54ch; }
  .post-grid { grid-template-columns: 1fr; }
  .post-card { min-height: 215px; }
  .faq-grid { grid-template-columns: 1fr; gap: 29px; }
  .footer-in { align-items: flex-start; flex-direction: column; gap: 21px; padding: 27px 0 20px; }
  .footer-copy .shell { flex-direction: column; gap: 4px; }
  .download-hero-grid { grid-template-columns: 1fr; gap: 31px; }
  .manifest { max-width: 460px; }
  .download-main { padding: 58px 0 68px; }
  .download-intro { align-items: flex-start; flex-direction: column; gap: 13px; }
  .install-steps-grid { grid-template-columns: 1fr; gap: 25px; }
  .compat { padding: 60px 0; }
  .ranking-hero { padding: 48px 0 38px; }
  .ranking-hero::before { width: 280px; height: 280px; right: -132px; top: 34px; opacity: .34; }
  .ranking-hero::after { display: none; }
  .picks { padding: 58px 0 62px; }
  .picks-head { align-items: flex-start; flex-direction: column; gap: 13px; }
  .picks-head p { text-align: left; }
  .rank-banner { padding: 46px 0; }
  .article-shell { grid-template-columns: minmax(0, 1fr); gap: 34px; }
  .article-aside { position: static; grid-template-columns: 1fr 1fr; }
  .article-head { max-width: 720px; }
  .related-grid { grid-template-columns: 1fr 1fr; }
  .article-row { grid-template-columns: 52px minmax(0, 1fr); gap: 18px; }
  .article-row-meta { grid-column: 2; text-align: left; padding-top: 0; }
  .sitemap-grid { grid-template-columns: 1fr; gap: 38px; }
}

@media (max-width: 680px) {
  :root { --shell: calc(100% - 32px); }
  body { font-size: 15px; }
  .topbar-in { min-height: 31px; font-size: 9px; }
  .topbar-meta span:last-child { display: none; }
  .topbar-link span { display: none; }
  .header-in { min-height: 62px; }
  .brand-mark { width: 37px; height: 37px; border-radius: 10px; }
  .brand-mark img { width: 22px; height: 22px; }
  .brand-type strong { font-size: 16px; }
  .brand-type small { font-size: 9px; }
  .header-cta { display: none; }
  .site-nav { top: 93px; left: 16px; right: 16px; }
  .hero { padding-top: 43px; }
  .hero h1 { font-size: clamp(2.5rem, 12.4vw, 3.55rem); letter-spacing: -.06em; }
  .hero-lead { margin-top: 20px; font-size: 14.5px; }
  .hero-actions .btn { min-height: 44px; padding: 0 19px; font-size: 12.5px; }
  .hero-facts { grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 29px; }
  .hero-facts div:last-child { grid-column: span 2; padding-top: 3px; border-top: 1px solid var(--line); }
  .console { padding: 11px; border-radius: 17px; }
  .console-map { height: 220px; }
  .map-device, .map-node { width: 58px; font-size: 7.2px; height: 21px; }
  .map-device { left: 8px; }
  .map-node { right: 8px; padding-left: 6px; }
  .map-device.a, .map-node.a { top: 31px; }
  .map-device.b, .map-node.b { top: 99px; }
  .map-device.c, .map-node.c { top: 167px; }
  .map-router { width: 96px; padding: 11px 8px; }
  .map-router b { font-size: 12px; }
  .console-stat { padding: 7px; }
  .console-stat strong { font-size: 9.5px; }
  .console-caption { font-size: 7.5px; }
  .signal-track { min-height: 34px; gap: 18px; font-size: 8px; overflow: hidden; }
  .signal-track span::before { margin-right: 18px; }
  .section { padding: 57px 0; }
  .section-head h2 { font-size: clamp(1.9rem, 8.5vw, 2.65rem); }
  .section-head p { font-size: 13.5px; }
  .why-card h3 { font-size: 23px; }
  .install-card { border-radius: 18px; padding: 27px 21px; }
  .install-copy h2 { font-size: 2rem; }
  .install-card::before { font-size: 56px; right: 22px; top: 8px; }
  .repo-row { grid-template-columns: 1fr; gap: 3px; padding: 13px 0; }
  .rank-banner h2 { font-size: clamp(3rem, 15vw, 4rem); }
  .rank-banner::after { font-size: 60px; bottom: -22px; right: -24px; }
  .rank-banner-copy p { font-size: 13px; }
  .post-card { padding: 23px; border-radius: 13px; }
  .post-card h3 { margin-top: 22px; font-size: 23px; }
  .post-grid { gap: 11px; }
  .faq-list summary { font-size: 13.5px; padding: 17px 0; }
  .faq-list details p { font-size: 12.5px; }
  .footer-nav { gap: 12px 17px; }
  .footer-nav a { font-size: 10.5px; }
  .page-hero { padding: 48px 0 42px; }
  .page-hero h1 { font-size: clamp(2.2rem, 10.8vw, 3.2rem); }
  .page-hero-lead { font-size: 13.5px; }
  .download-grid { grid-template-columns: 1fr; }
  .download-card.primary { grid-column: auto; }
  .download-card { min-height: 280px; padding: 23px; }
  .download-card h3 { margin-top: 27px; font-size: 21px; }
  .download-note { font-size: 11.5px; }
  .compat-table { display: block; overflow-x: auto; white-space: nowrap; }
  .compat-table th, .compat-table td { white-space: normal; min-width: 120px; }
  .compat-table td:first-child { min-width: 105px; }
  .ranking-hero::before { width: 235px; height: 235px; right: -118px; top: 24px; opacity: .28; }
  .ranking-hero h1 { font-size: clamp(3rem, 16vw, 4.2rem); }
  .ranking-lead { font-size: 13px; }
  .ranking-method { padding: 48px 0; }
  .method-grid { grid-template-columns: 1fr; border-top: 0; }
  .method-item, .method-item + .method-item { border-right: 0; border-top: 1px solid var(--line); padding: 20px 0; margin: 0; }
  .method-item h3 { margin-top: 16px; }
  .picks { padding: 48px 0 52px; }
  .picks-head h2 { font-size: 2.25rem; }
  .pick-grid { grid-template-columns: 1fr; }
  .pick-card, .pick-card:nth-child(3) { grid-column: auto; min-height: 330px; }
  .picks-head p { font-size: 11.5px; }
  .ranking-list { padding: 50px 0 58px; }
  .ranking-list-head { flex-direction: column; align-items: flex-start; gap: 9px; }
  .ranking-list-head p { text-align: left; }
  .airport-grid { grid-template-columns: 1fr; }
  .airport-card { min-height: 345px; }
  .filters { gap: 6px; }
  .filter-btn { padding: 6px 11px; font-size: 10px; }
  .rank-disclaimer { flex-direction: column; gap: 9px; }
  .rank-disclaimer p:last-child { text-align: left; white-space: normal; }
  .article-hero { padding: 39px 0 33px; }
  .article-head h1 { font-size: clamp(2.1rem, 9.8vw, 3rem); }
  .article-deck { margin-top: 17px; font-size: 13.5px; }
  .article-meta { margin-top: 21px; gap: 6px 14px; font-size: 8px; }
  .article-shell { padding: 35px 0 55px; gap: 28px; }
  .article-body pre { max-width: calc(100vw - 32px); }
  .article-body { font-size: 15px; line-height: 1.9; }
  .article-body > p:first-of-type { font-size: 16.5px; }
  .article-body > p:first-of-type::first-letter { font-size: 54px; }
  .article-body h2 { margin-top: 39px; font-size: 24px; }
  .article-body h3 { font-size: 18px; }
  .article-body pre { padding: 14px; }
  .article-body pre code { font-size: 10px; }
  .article-aside { grid-template-columns: 1fr; }
  .toc { order: 2; }
  .aside-rank { order: 1; }
  .related { padding: 47px 0 53px; }
  .related-grid { grid-template-columns: 1fr; }
  .related-head { flex-direction: column; align-items: flex-start; gap: 9px; }
  .articles-hero { padding: 47px 0 37px; }
  .articles-hero h1 { font-size: clamp(2.4rem, 12.2vw, 3.35rem); }
  .articles-index { padding: 35px 0 60px; }
  .article-row { padding: 21px 0; grid-template-columns: 36px minmax(0, 1fr); }
  .article-row h2 { font-size: 22px; }
  .article-row p { font-size: 12px; }
  .sitemap-main { padding: 39px 0 61px; }
  .error-code { font-size: 65px; }
}

@media (max-width: 390px) {
  .hero h1 { font-size: 2.45rem; }
  .console-map { height: 205px; }
  .map-device, .map-node { width: 52px; font-size: 6.8px; }
  .map-router { width: 89px; }
  .console-log p { font-size: 6.8px; }
}

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

@media print {
  .topbar, .site-header, .site-footer, .rank-banner, .article-aside, .related { display: none !important; }
  body { background: #fff; color: #000; }
  .article-shell { display: block; }
  .article-body { max-width: none; }
}
