/* Clashoo — 站点样式
   配色取自项目 Logo：深蓝、帽檐棕、铃铛金、纸白 */

:root {
  --paper: #f6f1e6;
  --paper-2: #efe8d8;
  --paper-3: #e6decb;
  --ink: #16202b;
  --ink-2: #4b5764;
  --ink-3: #6f7a86;
  --navy: #1e3a5f;
  --navy-deep: #14283f;
  --navy-soft: #2c4f79;
  --brown: #7c4a29;
  --gold: #c8963e;
  --gold-soft: #e3c489;
  --green: #2f7a4d;
  --line: rgba(22, 32, 43, 0.14);
  --line-soft: rgba(22, 32, 43, 0.08);
  --line-strong: rgba(22, 32, 43, 0.3);
  --serif: "Songti SC", "Noto Serif SC", "Source Han Serif SC", Georgia, "Times New Roman", serif;
  --sans: "PingFang SC", "HarmonyOS Sans SC", "Noto Sans SC", "Microsoft YaHei", -apple-system, "Segoe UI", sans-serif;
  --mono: "SF Mono", "JetBrains Mono", Menlo, Consolas, "Courier New", monospace;
  --max: 1180px;
  --fs-display: clamp(2.3rem, 6.3vw, 4.75rem); /* 76px 上限 */
  --fs-h2: clamp(1.8rem, 3.4vw, 2.85rem);
  --fs-h3: clamp(1.15rem, 1.9vw, 1.5rem);
  --fs-lead: clamp(1.02rem, 1.35vw, 1.22rem);
  --radius: 3px;
}

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

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.78;
  -webkit-font-smoothing: antialiased;
  background-image:
    linear-gradient(180deg, rgba(255, 255, 255, 0.35), transparent 320px),
    linear-gradient(90deg, rgba(22, 32, 43, 0.028) 1px, transparent 1px);
  background-size: auto, 88px 100%;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--navy); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--brown); }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 700;
  line-height: 1.2;
  margin: 0;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

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

::selection { background: var(--gold-soft); color: var(--ink); }

.wrap {
  width: min(100% - 48px, var(--max));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 99;
  background: var(--ink);
  color: var(--paper);
  padding: 10px 16px;
  font-size: 0.9rem;
}
.skip-link:focus { top: 12px; color: var(--paper); }

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

.site-head {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(246, 241, 230, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.head-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 68px;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  text-decoration: none;
  flex: none;
}
.brand:hover { color: var(--ink); }

.brand-mark {
  width: 38px;
  height: 38px;
  border: 1px solid var(--line-strong);
  border-radius: 2px;
  background: #fff;
  overflow: hidden;
  display: grid;
  place-items: center;
}
.brand-mark img { width: 100%; height: 100%; object-fit: cover; }

.brand-name {
  font-family: var(--serif);
  font-size: 1.32rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1;
}
.brand-sub {
  display: block;
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  color: var(--ink-3);
  margin-top: 5px;
  text-transform: uppercase;
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav a {
  display: inline-block;
  padding: 9px 13px;
  color: var(--ink-2);
  font-size: 0.95rem;
  text-decoration: none;
  border-radius: 2px;
  white-space: nowrap;
}
.nav a:hover { color: var(--ink); background: var(--paper-2); }
.nav a[aria-current="page"] { color: var(--ink); box-shadow: inset 0 -2px 0 var(--navy); }

.nav a.nav-rank {
  color: var(--brown);
  font-weight: 600;
  border: 1px solid rgba(124, 74, 41, 0.35);
  margin-left: 6px;
}
.nav a.nav-rank::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  margin-right: 7px;
  vertical-align: 2px;
}
.nav a.nav-rank:hover { background: rgba(200, 150, 62, 0.12); color: var(--brown); }

.nav-toggle {
  display: none;
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line-strong);
  padding: 8px 12px;
  border-radius: 2px;
  cursor: pointer;
}

/* ---------- 通用按钮 ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  min-height: 46px;
  padding: 0 22px;
  border: 1px solid var(--navy);
  border-radius: 2px;
  background: var(--navy);
  color: var(--paper);
  font-size: 0.96rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}
.btn:hover { background: var(--navy-deep); color: var(--paper); border-color: var(--navy-deep); transform: translateY(-1px); }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}
.btn-ghost:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }

.btn-gold {
  background: var(--gold);
  border-color: var(--gold);
  color: #241a0c;
}
.btn-gold:hover { background: #b9862f; border-color: #b9862f; color: #241a0c; }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

.text-link {
  font-weight: 600;
  text-underline-offset: 4px;
  text-decoration-color: rgba(30, 58, 95, 0.35);
}
.text-link:hover { text-decoration-color: var(--brown); }

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

.hero { padding: clamp(44px, 7vw, 92px) 0 clamp(40px, 6vw, 76px); }

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(320px, 0.88fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}

.display {
  font-size: var(--fs-display);
  line-height: 1.06;
  letter-spacing: -0.02em;
}
.display .accent { color: var(--navy); }
.display .hatline {
  position: relative;
  display: inline-block;
}
.display .hatline::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.08em;
  height: 6px;
  background: linear-gradient(90deg, var(--gold-soft), rgba(200, 150, 62, 0.15));
  z-index: -1;
}

.lead {
  font-size: var(--fs-lead);
  color: var(--ink-2);
  max-width: 34em;
  margin-top: 22px;
}

.meta-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 0;
  margin-top: 30px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 0.76rem;
  letter-spacing: 0.03em;
  color: var(--ink-2);
}
.meta-strip span { display: inline-flex; align-items: center; }
.meta-strip span + span::before {
  content: "/";
  color: var(--ink-3);
  margin: 0 12px;
}

/* 控制台卡片 */

.console {
  background: var(--navy-deep);
  color: #e9e4d6;
  border: 1px solid var(--navy-deep);
  border-radius: var(--radius);
  box-shadow: 14px 14px 0 rgba(30, 58, 95, 0.1);
  overflow: hidden;
}

.console-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 16px;
  background: rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: rgba(233, 228, 214, 0.7);
}
.console-bar b { color: #e9e4d6; font-weight: 600; letter-spacing: 0.02em; }

.console-body { padding: 6px 16px 16px; }

.status-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 11px 0;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.13);
  font-size: 0.87rem;
}
.status-row:last-of-type { border-bottom: 0; }
.status-row .k { color: rgba(233, 228, 214, 0.62); font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.04em; }
.status-row .v { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; }

.led {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 3px rgba(47, 122, 77, 0.18);
  flex: none;
}
.led.gold { background: var(--gold); box-shadow: 0 0 0 3px rgba(200, 150, 62, 0.18); }

.traffic {
  margin-top: 14px;
  height: 54px;
  display: flex;
  align-items: flex-end;
  gap: 3px;
  padding: 0 0 2px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}
.traffic i {
  flex: 1;
  display: block;
  background: linear-gradient(180deg, var(--gold-soft), rgba(200, 150, 62, 0.28));
  border-radius: 1px 1px 0 0;
  height: 30%;
  transform-origin: bottom;
  animation: pulse 4.5s ease-in-out infinite;
  opacity: 0.78;
}
.traffic i { height: calc(24% + var(--h, 0%) * 1); }
.traffic i:nth-child(1) { --h: 34%; animation-delay: -0.2s; }
.traffic i:nth-child(2) { --h: 18%; animation-delay: -1.1s; }
.traffic i:nth-child(3) { --h: 46%; animation-delay: -0.7s; }
.traffic i:nth-child(4) { --h: 12%; animation-delay: -1.6s; }
.traffic i:nth-child(5) { --h: 28%; animation-delay: -2.4s; }
.traffic i:nth-child(6) { --h: 52%; animation-delay: -0.4s; }
.traffic i:nth-child(7) { --h: 20%; animation-delay: -1.9s; }
.traffic i:nth-child(8) { --h: 38%; animation-delay: -2.8s; }
.traffic i:nth-child(9) { --h: 60%; animation-delay: -1.3s; }
.traffic i:nth-child(10) { --h: 22%; animation-delay: -0.9s; }
.traffic i:nth-child(11) { --h: 44%; animation-delay: -2.1s; }
.traffic i:nth-child(12) { --h: 16%; animation-delay: -3.1s; }
.traffic i:nth-child(13) { --h: 32%; animation-delay: -1.5s; }
.traffic i:nth-child(14) { --h: 56%; animation-delay: -0.3s; }
.traffic i:nth-child(15) { --h: 26%; animation-delay: -2.6s; }
.traffic i:nth-child(16) { --h: 40%; animation-delay: -1.2s; }
.traffic i:nth-child(17) { --h: 14%; animation-delay: -2.9s; }
.traffic i:nth-child(18) { --h: 48%; animation-delay: -0.6s; }
.traffic i:nth-child(19) { --h: 30%; animation-delay: -1.8s; }
.traffic i:nth-child(20) { --h: 62%; animation-delay: -0.1s; }
.traffic i:nth-child(21) { --h: 18%; animation-delay: -2.3s; }
.traffic i:nth-child(22) { --h: 36%; animation-delay: -1.0s; }
.traffic i:nth-child(23) { --h: 24%; animation-delay: -3.3s; }
.traffic i:nth-child(24) { --h: 50%; animation-delay: -1.7s; }

@keyframes pulse {
  0%, 100% { transform: scaleY(0.85); opacity: 0.6; }
  50% { transform: scaleY(1.12); opacity: 0.95; }
}

.console-foot {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 12px;
  font-family: var(--mono);
  font-size: 0.7rem;
  color: rgba(233, 228, 214, 0.55);
  letter-spacing: 0.04em;
}

/* ---------- 区块 ---------- */

.section { padding: clamp(48px, 7vw, 88px) 0; border-top: 1px solid var(--line); }
.section-tight { padding: clamp(36px, 5vw, 60px) 0; }

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
  margin-bottom: clamp(24px, 3.5vw, 40px);
  max-width: 780px;
}

.section h2 { font-size: var(--fs-h2); }
.section .sub { color: var(--ink-2); font-size: var(--fs-lead); max-width: 40em; }

/* 功能列表 */

.spec-list { display: grid; gap: 0; border-top: 1px solid var(--line); }

.spec-row {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 20px 40px;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}
.spec-row h3 { font-size: var(--fs-h3); }
.spec-row p { color: var(--ink-2); margin: 0; }
.spec-row p + p { margin-top: 0.55em; }
.spec-row .tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }

.tag {
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.03em;
  color: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 2px 9px;
  background: rgba(255, 255, 255, 0.35);
}

/* 安装快捷块 */

.quick-grid > *,
.spec-row > div,
.step > div,
.article-wrap > *,
.prose { min-width: 0; }

.quick-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: start;
}
.quick-grid h2 { font-size: var(--fs-h2); margin-bottom: 16px; }
.quick-grid p { color: var(--ink-2); }

.code {
  max-width: 100%;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  background: var(--navy-deep);
  color: #f0ebdd;
  border-radius: var(--radius);
  padding: 16px 18px;
  overflow-x: auto;
  font-family: var(--mono);
  font-size: 0.79rem;
  line-height: 1.85;
  border: 1px solid rgba(255, 255, 255, 0.08);
  margin: 0;
}
.code .c { color: rgba(240, 235, 221, 0.45); }

.arch-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.arch-chips a {
  font-family: var(--mono);
  font-size: 0.76rem;
  color: var(--ink-2);
  text-decoration: none;
  border: 1px solid var(--line);
  padding: 5px 10px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.4);
}
.arch-chips a:hover { border-color: var(--navy); color: var(--navy); }

.mini-note {
  margin-top: 18px;
  font-size: 0.86rem;
  color: var(--ink-3);
  border-left: 2px solid var(--gold);
  padding-left: 14px;
}

/* ---------- 榜单引导带 ---------- */

.rank-band {
  background: var(--navy-deep);
  color: #f2edde;
  padding: clamp(44px, 7vw, 84px) 0;
  position: relative;
  overflow: hidden;
}
.rank-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(120deg, #000, transparent 78%);
  pointer-events: none;
}
.rank-band .wrap { position: relative; }
.rank-band h2 {
  font-size: var(--fs-h2);
  color: #f7f2e3;
  max-width: 22em;
}
.rank-band p { color: rgba(242, 237, 222, 0.72); max-width: 40em; margin-top: 16px; }
.rank-band .btn-gold { margin-top: 26px; }

.band-note {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  color: rgba(242, 237, 222, 0.5);
  margin-top: 20px;
}

/* ---------- 文章列表 ---------- */

.posts { border-top: 1px solid var(--line); }

.post-row {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) 128px;
  gap: 16px 28px;
  align-items: baseline;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  color: inherit;
}
.post-row:hover { color: inherit; }
.post-idx {
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--ink-3);
  letter-spacing: 0.06em;
}
.post-title {
  font-family: var(--serif);
  font-size: var(--fs-h3);
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 6px;
}
.post-row:hover .post-title { color: var(--brown); }
.post-excerpt { color: var(--ink-2); font-size: 0.92rem; margin: 0; }
.post-date {
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--ink-3);
  text-align: right;
  white-space: nowrap;
}

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

.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 20px 34px 20px 0;
  font-family: var(--serif);
  font-size: 1.12rem;
  font-weight: 700;
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 17px;
  font-family: var(--mono);
  font-weight: 400;
  color: var(--ink-3);
}
.faq details[open] summary::after { content: "–"; }
.faq .answer { padding: 0 0 22px; color: var(--ink-2); max-width: 46em; }

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

.page-hero { padding: clamp(38px, 5.5vw, 70px) 0 clamp(28px, 4vw, 48px); }
.page-hero h1 { font-size: clamp(2.05rem, 4.6vw, 3.55rem); line-height: 1.14; }
.page-hero .lead { margin-top: 18px; }

.crumbs {
  font-family: var(--mono);
  font-size: 0.74rem;
  color: var(--ink-3);
  margin-bottom: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.crumbs a { color: var(--ink-2); text-decoration: none; }
.crumbs a:hover { color: var(--brown); text-decoration: underline; }
.crumbs .sep { color: var(--line-strong); }

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}
.fact {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.35);
  padding: 8px 12px;
  border-radius: 2px;
  font-size: 0.83rem;
  color: var(--ink-2);
}
.fact b {
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--ink);
  font-weight: 600;
  margin-right: 6px;
}

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

.dl-table-wrap { overflow-x: auto; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.3); }
table.arch {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
  font-size: 0.9rem;
}
table.arch th, table.arch td {
  text-align: left;
  padding: 13px 16px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
table.arch th {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  color: var(--ink-3);
  font-weight: 500;
  background: var(--paper-2);
  border-bottom: 1px solid var(--line-strong);
  white-space: nowrap;
}
table.arch tbody tr:hover { background: rgba(255, 255, 255, 0.45); }
table.arch tr:last-child td { border-bottom: 0; }
table.arch code {
  font-family: var(--mono);
  font-size: 0.8rem;
  color: var(--navy);
}
table.arch td a { font-size: 0.82rem; font-family: var(--mono); }

.dl-note {
  margin-top: 14px;
  font-size: 0.84rem;
  color: var(--ink-3);
}

.pkg-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.pkg {
  border: 1px solid var(--line);
  border-top: 2px solid var(--navy);
  background: rgba(255, 255, 255, 0.3);
  padding: 20px;
  border-radius: 2px;
}
.pkg .pkg-name { font-family: var(--mono); font-size: 0.82rem; color: var(--navy); word-break: break-all; }
.pkg h3 { font-size: 1.14rem; margin: 8px 0 8px; }
.pkg p { font-size: 0.9rem; color: var(--ink-2); margin: 0; }
.pkg .size { font-family: var(--mono); font-size: 0.72rem; color: var(--ink-3); margin-top: 12px; display: block; }

.steps { counter-reset: step; border-top: 1px solid var(--line); }
.step {
  counter-increment: step;
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 16px 20px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}
.step::before {
  content: "0" counter(step);
  font-family: var(--mono);
  font-size: 0.8rem;
  color: var(--gold);
  letter-spacing: 0.06em;
  padding-top: 4px;
}
.step h3 { font-size: 1.16rem; margin-bottom: 8px; }
.step p { color: var(--ink-2); margin: 0 0 10px; font-size: 0.95rem; }
.step .code { font-size: 0.78rem; }

.callout {
  border: 1px solid var(--line);
  border-left: 3px solid var(--gold);
  padding: 16px 18px;
  background: rgba(200, 150, 62, 0.06);
  font-size: 0.92rem;
  color: var(--ink-2);
  border-radius: 2px;
}
.callout strong { color: var(--ink); }

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

.criteria {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.criteria div { padding: 22px 22px 22px 0; }
.criteria div + div { padding-left: 22px; border-left: 1px solid var(--line); }
.criteria h3 { font-size: 1rem; font-family: var(--sans); font-weight: 700; margin-bottom: 6px; }
.criteria p { font-size: 0.86rem; color: var(--ink-2); margin: 0; }

.podium {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.airport-card {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.34);
  border-radius: 2px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  position: relative;
}
.airport-card:hover { border-color: rgba(30, 58, 95, 0.4); }

.top-card { border-top: 2px solid var(--gold); background: #fbf8f0; }
.top-card .rank-badge {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  color: var(--brown);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.top-card .rank-badge .score { color: var(--ink-3); }

.airport-card h3 { font-size: 1.3rem; margin-bottom: 6px; }
.airport-card .line-desc { font-size: 0.82rem; color: var(--ink-3); margin: 0 0 14px; }
.price-label {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  color: var(--brown);
  margin: 0 0 2px;
}


.airport-card .price {
  font-family: var(--serif);
  font-size: 1.72rem;
  line-height: 1.1;
  color: var(--ink);
  margin-bottom: 2px;
}
.airport-card .price small { font-family: var(--sans); font-size: 0.78rem; color: var(--ink-3); font-weight: 400; }
.airport-card .plan { font-size: 0.83rem; color: var(--ink-2); margin: 0 0 12px; }

.airport-card dl {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 6px 12px;
  margin: 0 0 16px;
  font-size: 0.82rem;
  border-top: 1px dashed var(--line);
  padding-top: 12px;
}
.airport-card dt { color: var(--ink-3); white-space: nowrap; }
.airport-card dd { margin: 0; color: var(--ink-2); }

.airport-card .go {
  display: block;
  margin-top: auto;
  width: 100%;
  text-align: center;
  min-height: 42px;
  line-height: 42px;
  border: 1px solid var(--navy);
  background: var(--navy);
  color: var(--paper);
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 2px;
  cursor: pointer;
  user-select: none;
}
.airport-card .go:hover { background: var(--navy-deep); color: var(--paper); }

.rank-list { display: grid; gap: 14px; }

.airport-row {
  display: grid;
  grid-template-columns: 74px minmax(0, 1.15fr) minmax(0, 1.5fr) 168px;
  gap: 20px 26px;
  align-items: center;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.3);
  padding: 20px 22px;
  border-radius: 2px;
}
.airport-row:hover { border-color: rgba(30, 58, 95, 0.35); }
.airport-row .ord {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 2.6vw, 2.4rem);
  line-height: 1;
  color: var(--line-strong);
}
.airport-row .name { font-family: var(--serif); font-size: 1.22rem; font-weight: 700; }
.airport-row .name span { display: block; font-family: var(--sans); font-size: 0.78rem; font-weight: 400; color: var(--ink-3); margin-top: 4px; }
.airport-row .facts-line { font-size: 0.84rem; color: var(--ink-2); display: flex; flex-wrap: wrap; gap: 4px 14px; }
.airport-row .facts-line b { font-family: var(--mono); font-size: 0.74rem; color: var(--ink-3); font-weight: 400; margin-right: 4px; }
.airport-row .go {
  display: block;
  text-align: center;
  min-height: 40px;
  line-height: 40px;
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--navy);
  font-size: 0.88rem;
  font-weight: 600;
  border-radius: 2px;
  text-decoration: none;
  cursor: pointer;
}
.airport-row .go:hover { background: var(--navy); border-color: var(--navy); color: var(--paper); }

.compare-table { min-width: 760px; }
.compare-table td:first-child { font-weight: 600; }
.compare-table .money { font-family: var(--mono); font-size: 0.82rem; }
.money-value { white-space: nowrap; }

/* ---------- 文章页 ---------- */

.article-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 250px;
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
  padding-bottom: clamp(40px, 6vw, 72px);
}

.article-head { border-bottom: 1px solid var(--line); padding-bottom: 24px; margin-bottom: 30px; }
.article-head h1 { font-size: clamp(1.95rem, 4.2vw, 3.1rem); line-height: 1.18; }
.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 18px;
  font-family: var(--mono);
  font-size: 0.73rem;
  color: var(--ink-3);
  letter-spacing: 0.03em;
}

.prose { max-width: 72ch; font-size: 1.02rem; color: #222c36; }
.prose > p { margin: 0 0 1.25em; }
.prose h2 {
  font-size: clamp(1.4rem, 2.4vw, 1.85rem);
  margin: 2.1em 0 0.7em;
  padding-top: 0.9em;
  border-top: 1px solid var(--line);
}
.prose h3 { font-size: 1.16rem; margin: 1.7em 0 0.5em; font-family: var(--sans); font-weight: 700; }
.prose ul, .prose ol { margin: 0 0 1.3em; padding-left: 1.3em; }
.prose li { margin-bottom: 0.45em; }
.prose blockquote {
  margin: 1.8em 0;
  padding: 4px 0 4px 20px;
  border-left: 2px solid var(--gold);
  color: var(--ink-2);
  font-family: var(--serif);
  font-size: 1.08rem;
}
.prose blockquote p { margin: 0; }
.prose code {
  font-family: var(--mono);
  font-size: 0.85em;
  background: rgba(30, 58, 95, 0.07);
  padding: 0.1em 0.35em;
  border-radius: 2px;
}
.prose .code { margin: 1.4em 0; font-size: 0.8rem; }
.prose .code code { background: none; padding: 0; font-size: 1em; color: inherit; }
.prose table { width: 100%; border-collapse: collapse; font-size: 0.9rem; margin: 1.4em 0; }
.prose th, .prose td { text-align: left; padding: 9px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.05em; color: var(--ink-3); font-weight: 500; background: var(--paper-2); }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2.4em 0; }
.prose a { text-decoration-color: rgba(30, 58, 95, 0.35); }
.prose a:hover { color: var(--brown); }

.toc {
  position: sticky;
  top: 92px;
  border-top: 1px solid var(--line-strong);
  padding-top: 14px;
  font-size: 0.85rem;
}
.toc strong {
  display: block;
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  color: var(--ink-3);
  font-weight: 500;
  margin-bottom: 10px;
}
.toc ol { list-style: none; margin: 0; padding: 0; counter-reset: toc; }
.toc li { counter-increment: toc; margin-bottom: 8px; line-height: 1.5; }
.toc li::before {
  content: "0" counter(toc) " ";
  font-family: var(--mono);
  font-size: 0.68rem;
  color: var(--ink-3);
}
.toc a { color: var(--ink-2); text-decoration: none; }
.toc a:hover { color: var(--brown); text-decoration: underline; }

.article-foot { margin-top: 44px; border-top: 1px solid var(--line); padding-top: 24px; }
.article-foot .tag-row { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 22px; }

.related {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.3);
  padding: 20px;
  border-radius: 2px;
}
.related h2 { font-size: 1.1rem; font-family: var(--sans); margin-bottom: 12px; }
.related ul { list-style: none; margin: 0; padding: 0; }
.related li { border-top: 1px dashed var(--line); padding: 10px 0; font-size: 0.9rem; }
.related li:first-child { border-top: 0; }
.related a { text-decoration: none; color: var(--ink-2); }
.related a:hover { color: var(--brown); text-decoration: underline; }

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

.site-foot {
  border-top: 1px solid var(--line-strong);
  background: var(--paper-2);
  padding: 34px 0 40px;
}
.foot-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px 32px;
}
.foot-brand { display: flex; align-items: center; gap: 12px; }
.foot-brand .brand-mark { width: 30px; height: 30px; background: #fff; }
.foot-brand strong { font-family: var(--serif); font-size: 1.05rem; }
.foot-brand span { display: block; font-size: 0.74rem; color: var(--ink-3); font-family: var(--mono); letter-spacing: 0.04em; margin-top: 2px; }
.foot-nav { display: flex; flex-wrap: wrap; gap: 4px 18px; font-size: 0.88rem; }
.foot-nav a { color: var(--ink-2); text-decoration: none; }
.foot-nav a:hover { color: var(--brown); text-decoration: underline; }
.foot-legal { width: 100%; font-size: 0.75rem; color: var(--ink-3); border-top: 1px solid var(--line); padding-top: 16px; margin-top: 6px; font-family: var(--mono); letter-spacing: 0.02em; }

/* ---------- 动效 ---------- */

.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.6s ease, transform 0.6s ease; }
.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

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

@media (max-width: 1020px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .console { max-width: 560px; }
  .criteria { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .criteria div:nth-child(3) { border-left: 0; padding-left: 0; }
  .criteria div:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .podium { grid-template-columns: 1fr; }
  .airport-row { grid-template-columns: 56px minmax(0, 1fr); align-items: start; }
  .airport-row .facts-line { grid-column: 2; }
  .airport-row .go { grid-column: 2; width: 100%; }
  .article-wrap { grid-template-columns: 1fr; }
  .toc { display: none; }
}

@media (max-width: 860px) {
  .nav-toggle { display: inline-block; }
  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line-strong);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 24px 16px;
    display: none;
    box-shadow: 0 14px 24px rgba(22, 32, 43, 0.08);
  }
  .nav.open { display: flex; }
  .nav a { padding: 12px 4px; border-bottom: 1px solid var(--line-soft); border-radius: 0; }
  .nav a.nav-rank { margin-left: 0; border: 0; border-bottom: 1px solid var(--line-soft); }
  .spec-row { grid-template-columns: 1fr; gap: 10px; }
  .pkg-grid { grid-template-columns: 1fr; }
  .quick-grid { grid-template-columns: 1fr; }
  .post-row { grid-template-columns: 40px minmax(0, 1fr); }
  .post-date { grid-column: 2; text-align: left; }
}

@media (max-width: 640px) {
  .wrap { width: min(100% - 32px, var(--max)); }
  .brand-sub { display: none; }
  .head-inner { min-height: 60px; }
  body { background-image: none; }
  .hero { padding-top: 30px; }
  .btn-row { gap: 10px; }
  .btn { flex: 1 1 auto; }
  .meta-strip { gap: 6px 0; font-size: 0.7rem; }
  .meta-strip span + span::before { margin: 0 8px; }
  .criteria { grid-template-columns: 1fr; }
  .criteria div { padding: 16px 0; }
  .criteria div + div { border-left: 0; border-top: 1px solid var(--line); padding-left: 0; }
  .step { grid-template-columns: 34px minmax(0, 1fr); }
  .foot-inner { flex-direction: column; align-items: flex-start; }
  .article-meta { gap: 6px 12px; font-size: 0.68rem; }
  table.arch { font-size: 0.84rem; }
  .post-excerpt { font-size: 0.88rem; }
  table.dl-arch { min-width: 0; font-size: 0.76rem; }
  table.dl-arch th, table.dl-arch td { padding: 9px 6px; }
  table.dl-arch th { white-space: normal; font-size: 0.6rem; line-height: 1.45; letter-spacing: 0.02em; }
  table.dl-arch .dev { display: none; }
  table.dl-arch td code { font-size: 0.68rem; word-break: break-all; }
  table.dl-arch td a { font-size: 0.72rem; white-space: nowrap; }
  table.compare-table { min-width: 0; }
  table.compare-table thead { display: none; }
  table.compare-table, table.compare-table tbody, table.compare-table tr, table.compare-table td { display: block; width: 100%; }
  table.compare-table tr { padding: 14px 16px; border-bottom: 1px solid var(--line); }
  table.compare-table tr:last-child { border-bottom: 0; }
  table.compare-table td { border: 0; padding: 3px 0; display: flex; justify-content: space-between; gap: 16px; font-size: 0.85rem; }
  table.compare-table td::before { content: attr(data-label); color: var(--ink-3); font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.04em; }
  table.compare-table td:first-child { font-size: 1rem; font-weight: 700; padding-bottom: 6px; }
  table.compare-table td:first-child::before { content: none; }
}

@media print {
  .site-head, .site-foot, .toc, .btn { display: none; }
  body { background: #fff; }
}
