/* 机场在线｜Jichang Online — 全站样式 */
:root {
  --bg: #f6f8fa;
  --surface: #ffffff;
  --text: #13263d;
  --text-muted: #4a5b70;
  --border: #dbe2ea;
  --accent: #0f766e;
  --accent-strong: #0b5e57;
  --accent-soft: #e5f3f1;
  --warn-soft: #fff7e6;
  --warn-border: #e5b75a;
  --focus: #0f766e;
  --radius: 10px;
  --header-h: 64px;
  --font: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", "Source Han Sans SC", "Segoe UI", Roboto, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--font); font-size: 17px; line-height: 1.75;
  text-rendering: optimizeLegibility;
}
[hidden] { display: none !important; }
img, svg { max-width: 100%; }
a { color: var(--accent-strong); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--text); }
h1, h2, h3, h4 { line-height: 1.35; color: var(--text); font-weight: 700; }
h1 { font-size: clamp(1.7rem, 1.3rem + 1.6vw, 2.25rem); margin: 0 0 .5em; letter-spacing: .01em; }
h2 { font-size: 1.4rem; margin: 2em 0 .7em; }
h3 { font-size: 1.15rem; margin: 1.6em 0 .5em; }
code { font-family: var(--mono); font-size: .9em; background: #eef2f6; padding: .1em .35em; border-radius: 4px; }
p { margin: 0 0 1em; }

:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 4px; }
main:focus { outline: none; }

.visually-hidden {
  position: absolute !important; 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: 12px; top: -60px; z-index: 100; background: var(--text); color: #fff;
  padding: 8px 14px; border-radius: 6px; text-decoration: none;
}
.skip-link:focus { top: 12px; color: #fff; }

.container { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 820px; }
.narrow-text { max-width: 780px; }
.muted { color: var(--text-muted); font-size: .92em; }
.section { padding-top: 8px; padding-bottom: 32px; }

/* ---------- 页头 ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.97); border-bottom: 1px solid var(--border); }
.header-inner { display: flex; align-items: center; gap: 16px; min-height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); flex-shrink: 0; }
.brand img { display: block; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font-weight: 700; font-size: 1.1rem; }
.brand-en { font-size: .72rem; color: var(--text-muted); letter-spacing: .04em; }
.site-nav { margin-left: auto; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.site-nav a {
  display: block; padding: 8px 12px; border-radius: 8px; color: var(--text); text-decoration: none; font-size: .98rem;
}
.site-nav a:hover { background: var(--accent-soft); }
.site-nav a[aria-current="page"] { color: var(--accent-strong); font-weight: 600; box-shadow: inset 0 -2px 0 var(--accent); border-radius: 8px 8px 0 0; }
.header-actions { display: flex; align-items: center; gap: 6px; }
.icon-button {
  display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 8px; color: var(--text);
}
.icon-button:hover, .icon-button[aria-current="page"] { background: var(--accent-soft); color: var(--accent-strong); }
.nav-toggle {
  display: none; align-items: center; gap: 8px; height: 44px; padding: 0 12px; border: 1px solid var(--border);
  border-radius: 8px; background: var(--surface); color: var(--text); font: inherit; font-size: .95rem; cursor: pointer;
}
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after {
  display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px; position: relative; transition: transform .2s, background-color .2s;
}
.nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 899px) {
  .nav-toggle { display: inline-flex; }
  .header-actions { margin-left: auto; }
  .site-nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--surface);
    border-bottom: 1px solid var(--border); box-shadow: 0 8px 20px rgba(19,38,61,.08); margin: 0;
  }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; padding: 8px 20px 16px; gap: 2px; }
  .site-nav a { padding: 12px 12px; font-size: 1.02rem; }
  .site-nav a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--accent); border-radius: 0 8px 8px 0; background: var(--accent-soft); }
}

/* ---------- 面包屑 / 页面标题 ---------- */
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px; margin: 16px 0 0; padding: 0; font-size: .88rem; color: var(--text-muted); }
.breadcrumb li + li::before { content: "/"; margin: 0 6px 0 2px; color: #9aa8b8; }
.breadcrumb a { color: var(--text-muted); }
.breadcrumb [aria-current] { color: var(--text); }
.page-header { padding-top: 24px; padding-bottom: 8px; }
.page-lede { color: var(--text-muted); max-width: 46em; font-size: 1.05rem; }

/* ---------- 首页 ---------- */
.hero { background: linear-gradient(180deg, #ffffff 0%, var(--bg) 100%); border-bottom: 1px solid var(--border); margin-bottom: 32px; }
.hero-inner { padding-top: 56px; padding-bottom: 40px; max-width: 820px; }
.hero h1 { font-size: clamp(1.9rem, 1.4rem + 2.2vw, 2.7rem); }
.hero-lede { font-size: 1.12rem; color: var(--text-muted); margin-bottom: 24px; }
.hero-tags { margin: 16px 0 0; font-size: .92rem; color: var(--text-muted); display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }

.search-form { display: flex; gap: 8px; }
.search-form input {
  flex: 1; min-width: 0; height: 50px; padding: 0 16px; font: inherit; font-size: 1rem; color: var(--text);
  background: var(--surface); border: 1.5px solid #b8c4d1; border-radius: var(--radius);
}
.search-form input:focus { border-color: var(--accent); outline: 3px solid rgba(15,118,110,.25); outline-offset: 0; }
.button {
  display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 20px; border: 0; border-radius: var(--radius);
  background: var(--text); color: #fff; font: inherit; font-size: 1rem; font-weight: 600; cursor: pointer; text-decoration: none;
}
.search-form .button { height: 50px; }
.button:hover { background: var(--accent-strong); color: #fff; }
.button-ghost { background: transparent; color: var(--text); border: 1.5px solid var(--border); }
.button-ghost:hover { background: var(--accent-soft); color: var(--text); }

.search-results:not(:empty) { margin-top: 16px; }
.search-status { font-size: .95rem; color: var(--text-muted); margin-bottom: 8px; }
.search-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.search-item { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 14px 16px; }
.search-item-title { font-weight: 600; font-size: 1.05rem; }
.search-item-meta { font-size: .85rem; color: var(--text-muted); margin-top: 4px; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.search-item p { margin: 6px 0 0; font-size: .95rem; color: var(--text-muted); }
.search-empty { background: var(--surface); border: 1px dashed #b8c4d1; border-radius: var(--radius); padding: 18px 20px; }
.search-empty p { margin-bottom: .5em; }

.entry-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.entry-card {
  display: flex; flex-direction: column; gap: 6px; height: 100%; padding: 20px; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); text-decoration: none; color: var(--text); transition: border-color .2s, box-shadow .2s;
}
.entry-card:hover { border-color: var(--accent); box-shadow: 0 4px 14px rgba(19,38,61,.07); color: var(--text); }
.entry-icon { color: var(--accent); margin-bottom: 4px; }
.entry-title { font-weight: 700; font-size: 1.1rem; }
.entry-text { color: var(--text-muted); font-size: .93rem; line-height: 1.6; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.section-head h2 { margin-top: 1em; }
.more-link { font-size: .95rem; white-space: nowrap; }

.notice-panel { background: var(--surface); border: 1px solid var(--border); border-left: 4px solid var(--accent); border-radius: var(--radius); padding: 4px 24px 12px; }
.notice-panel h2 { margin-top: 1em; font-size: 1.2rem; }
.notice-panel ul { padding-left: 1.2em; }
.notice-small { font-size: .9rem; color: var(--text-muted); }

/* ---------- 文章卡片与列表 ---------- */
.post-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.post-card article { height: 100%; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px 20px 14px; display: flex; flex-direction: column; }
.post-card-cat { margin: 0 0 6px; }
.cat-badge { display: inline-block; font-size: .8rem; font-weight: 600; color: var(--accent-strong); background: var(--accent-soft); padding: 2px 10px; border-radius: 999px; text-decoration: none; }
.cat-badge:hover { color: var(--text); }
.post-card-title { font-size: 1.12rem; margin: 0 0 8px; }
.post-card-title a { color: var(--text); text-decoration: none; }
.post-card-title a:hover { color: var(--accent-strong); text-decoration: underline; }
.post-card-summary { color: var(--text-muted); font-size: .95rem; line-height: 1.65; flex: 1; }
.post-dates { margin: 0; font-size: .82rem; color: var(--text-muted); display: flex; flex-wrap: wrap; gap: 4px 14px; border-top: 1px solid #edf1f5; padding-top: 10px; }

.filter-bar { margin: 8px 0 12px; }
.filter-group { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.filter-label { font-size: .9rem; color: var(--text-muted); }
.chip {
  display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 4px 14px; border-radius: 999px; border: 1px solid var(--border);
  background: var(--surface); color: var(--text); font: inherit; font-size: .9rem; cursor: pointer;
}
.chip:hover { border-color: var(--accent); }
.chip[aria-pressed="true"] { background: var(--text); border-color: var(--text); color: #fff; }
.chip-count { font-size: .78rem; opacity: .75; }
.list-status { font-size: .9rem; color: var(--text-muted); margin: 0 0 12px; }
.list-status:focus { outline: none; }
.pagination { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin: 24px 0 8px; }
.pagination button {
  min-width: 44px; min-height: 44px; padding: 0 12px; border-radius: 8px; border: 1px solid var(--border); background: var(--surface);
  color: var(--text); font: inherit; cursor: pointer;
}
.pagination button:hover:not(:disabled) { border-color: var(--accent); }
.pagination button[aria-current="page"] { background: var(--text); color: #fff; border-color: var(--text); }
.pagination button:disabled { opacity: .45; cursor: not-allowed; }
.empty-state { color: var(--text-muted); padding: 24px; background: var(--surface); border: 1px dashed #b8c4d1; border-radius: var(--radius); }

.tag { display: inline-block; font-size: .85rem; padding: 3px 12px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface); color: var(--text); text-decoration: none; }
.tag:hover { border-color: var(--accent); color: var(--accent-strong); }
.tag-lg { font-size: 1rem; padding: 8px 16px; display: inline-flex; gap: 6px; align-items: center; }
.tag-list, .tag-cloud { list-style: none; padding: 0; margin: 12px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tag-cloud { margin-top: 8px; }

.badge { display: inline-block; font-size: .75rem; font-weight: 600; padding: 1px 8px; border-radius: 4px; margin-left: 6px; vertical-align: middle; }
.badge-sponsored { background: #fdecea; color: #8a1c13; border: 1px solid #f2b8b1; }
.badge-nature { background: #eef2f6; color: var(--text); border: 1px solid var(--border); margin-left: 0; font-weight: 500; }

/* ---------- 文章页 ---------- */
.article-header { max-width: 820px; padding-top: 16px; }
.article-lede { font-size: 1.1rem; color: var(--text-muted); }
.article-meta { display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 16px 0 0; padding: 12px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); font-size: .9rem; }
.article-meta div { display: flex; gap: 6px; }
.article-meta dt { color: var(--text-muted); white-space: nowrap; }
.article-meta dd { margin: 0; }
.article-meta .meta-wide { flex-basis: 100%; align-items: center; }

.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 48px; margin-top: 28px; align-items: start; }
.article-aside { grid-column: 2; grid-row: 1; position: sticky; top: calc(var(--header-h) + 20px); max-height: calc(100vh - var(--header-h) - 40px); overflow: auto; }
.article-main { grid-column: 1; grid-row: 1; min-width: 0; max-width: 760px; }

.toc { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 12px 16px; font-size: .92rem; }
.toc summary { font-weight: 700; cursor: pointer; padding: 4px 0; list-style-position: inside; }
.toc ol { list-style: none; margin: 8px 0 0; padding: 0; }
.toc li a { display: block; padding: 5px 10px; color: var(--text-muted); text-decoration: none; border-left: 2px solid transparent; line-height: 1.5; }
.toc li.toc-l3 a { padding-left: 22px; font-size: .88rem; }
.toc li a:hover { color: var(--text); }
.toc li a.is-active { color: var(--accent-strong); border-left-color: var(--accent); font-weight: 600; background: var(--accent-soft); }

@media (max-width: 1023px) {
  .article-layout { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .article-aside { grid-column: 1; position: static; max-height: none; overflow: visible; }
  .article-main { grid-row: 2; }
}

.prose { font-size: 1.04rem; line-height: 1.85; }
.prose h2 { padding-bottom: .3em; border-bottom: 1px solid var(--border); }
.prose > :first-child { margin-top: 0; }
.prose ul, .prose ol { padding-left: 1.4em; margin: 0 0 1.1em; }
.prose li { margin-bottom: .35em; }
.prose blockquote { margin: 1.2em 0; padding: 4px 18px; border-left: 4px solid var(--border); color: var(--text-muted); }

.table-wrap { position: relative; overflow-x: auto; margin: 1.2em 0 1.4em; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
.table-wrap table { width: 100%; border-collapse: collapse; font-size: .93rem; line-height: 1.6; }
.table-wrap th, .table-wrap td { padding: 10px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid #edf1f5; }
.table-wrap thead th { background: #f0f4f8; font-weight: 700; white-space: nowrap; }
.table-wrap tbody th { font-weight: 600; }
.table-wrap tbody tr:last-child > * { border-bottom: 0; }
.table-wrap caption { caption-side: top; text-align: left; padding: 12px 14px; font-size: .9rem; color: var(--text-muted); border-bottom: 1px solid var(--border); }
.table-compare table { min-width: 1320px; }
.table-compare td { min-width: 110px; }
.table-compare td:nth-child(2), .table-compare td:nth-child(3) { min-width: 210px; }
.prose .table-wrap th, .prose .table-wrap td { min-width: 4.5em; }
.prose .table-wrap tbody th { min-width: 8em; }
.table-empty { text-align: center !important; padding: 36px 16px !important; color: var(--text-muted); font-weight: 600; }

.callout { margin: 1.4em 0; padding: 14px 18px; border-radius: var(--radius); background: var(--accent-soft); border: 1px solid #b9ddd8; font-size: .97rem; }
.callout > :last-child { margin-bottom: 0; }
.callout-title { font-weight: 700; margin-bottom: .3em; color: var(--accent-strong); }
.callout-warn, .callout-volatile { background: var(--warn-soft); border-color: var(--warn-border); }
.callout-warn .callout-title, .callout-volatile .callout-title { color: #7a4b00; }
.callout-meta { font-size: .88rem; color: var(--text-muted); margin-top: .6em; }

/* ---------- 机场推荐枢纽页、专题页、对比页 ---------- */
.eyebrow { display: inline-block; font-size: .85rem; font-weight: 600; color: var(--accent-strong); background: var(--accent-soft); border-radius: 999px; padding: 3px 12px; margin: 0 0 12px; }
.byline { font-size: .88rem; color: var(--text-muted); }
.answer-box { background: var(--surface); border: 1px solid var(--border); border-left: 4px solid var(--accent); border-radius: var(--radius); padding: 14px 20px; margin: 20px 0; }
.answer-title { font-weight: 700; font-size: 1.05rem; margin-bottom: .4em; }
.answer-box ul { padding-left: 1.2em; margin: 0 0 .6em; }
.answer-box li { margin-bottom: .4em; }
.answer-note { font-size: .86rem; color: var(--text-muted); margin: 0; }
.sort-button { all: unset; cursor: pointer; display: inline-flex; align-items: center; gap: 4px; font-weight: inherit; white-space: nowrap; }
.sort-button:focus-visible { outline: 2px solid var(--accent-strong); outline-offset: 2px; border-radius: 3px; }
.sort-icon::after { content: "↕"; font-size: .8em; opacity: .45; }
th[aria-sort="ascending"] .sort-icon::after { content: "↑"; opacity: 1; }
th[aria-sort="descending"] .sort-icon::after { content: "↓"; opacity: 1; }
.table-filter { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin: 0 0 12px; }
.table-filter-buttons { display: flex; flex-wrap: wrap; gap: 6px; }
.table-filter .tag { cursor: pointer; font: inherit; }
.table-filter .tag[aria-pressed="true"] { background: var(--accent-strong); color: #fff; border-color: var(--accent-strong); }
.table-filter-status { margin: 0; font-size: .9rem; }
.kw-groups { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 14px; }
.kw-group { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 14px 16px; }
.kw-title { font-size: 1rem; margin: 0 0 10px; }
.kw-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 8px; }
.kw-list a { display: inline-block; padding: 3px 10px; border: 1px solid var(--border); border-radius: 999px; font-size: .92rem; text-decoration: none; background: #fff; }
.kw-list a:hover, .kw-list a:focus-visible { border-color: var(--accent-strong); color: var(--accent-strong); }
.home-prose { max-width: 50rem; }
.home-prose .guide-h { font-size: 1.25rem; margin-top: 1.8em; padding-left: 10px; border-left: 4px solid var(--accent, #0d9488); scroll-margin-top: 80px; }
.home-faq .faq-item { border-bottom: 1px solid var(--border); padding-bottom: .4em; }
.page-toc { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 12px 20px; margin: 20px 0; font-size: .95rem; }
.page-toc-title { font-weight: 700; margin-bottom: .3em; }
.page-toc ol { margin: 0; padding-left: 1.4em; columns: 2; column-gap: 32px; }
.page-toc li { break-inside: avoid; margin-bottom: .2em; }
.stat-grid { list-style: none; padding: 0; margin: 0 0 8px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.stat-grid li { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 12px 14px; }
.stat-num { display: block; font-size: 1.35rem; font-weight: 700; color: var(--accent-strong); line-height: 1.3; }
.stat-label { font-size: .85rem; color: var(--text-muted); }
.air-cards { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.air-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px 20px; scroll-margin-top: calc(var(--header-h) + 16px); }
.air-card-head { display: flex; align-items: center; gap: 8px; }
.air-card-head h3 { margin: 0; font-size: 1.15rem; }
.air-card-head h3 a { color: var(--text); text-decoration: none; }
.air-card-head h3 a:hover { color: var(--accent-strong); text-decoration: underline; }
.air-card-sum { color: var(--text-muted); font-size: .94rem; margin: 8px 0 10px; }
.air-card-facts { list-style: none; padding: 0; margin: 0 0 8px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.air-card-facts li { font-weight: 600; font-size: .95rem; }
.air-card-facts span { display: block; font-weight: 400; font-size: .8rem; color: var(--text-muted); }
.air-card-meta { font-size: .86rem; color: var(--text-muted); margin-bottom: 10px; }
.air-card-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0; }
.chip-links { list-style: none; padding: 0; margin: 8px 0 16px; display: flex; flex-wrap: wrap; gap: 8px; }
.link-list { list-style: none; padding: 0; margin: 8px 0 16px; }
.link-list li { padding: 8px 0; border-bottom: 1px solid #edf1f5; display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: baseline; }
.link-list .muted { font-size: .88rem; }
.changelog { list-style: none; padding: 0; }
.changelog li { padding: 8px 0; border-bottom: 1px solid #edf1f5; }
.changelog span { display: block; font-size: .92rem; color: var(--text-muted); }
.changelog strong { margin-left: 8px; }
.rank-strip { list-style: none; padding: 0; margin: 12px 0 8px; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; }
.rank-strip a { display: grid; grid-template-columns: auto 1fr; gap: 2px 8px; align-items: center; padding: 10px 12px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); text-decoration: none; color: var(--text); }
.rank-strip a:hover { border-color: var(--accent); }
@media (max-width: 520px) {
  /* 手机上两列紧凑排列，避免 14 张卡片纵向拉得过长 */
  .rank-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .rank-strip a { padding: 8px 10px; }
  .rank-strip .rank-sub { grid-column: 1 / -1; font-size: .8rem; }
}
.rank-name { font-weight: 700; }
.rank-sub { grid-column: 1 / -1; font-size: .8rem; color: var(--text-muted); }
.section-lede { color: var(--text-muted); font-size: .95rem; }
.sub-heading { font-size: 1.05rem; margin: 1.2em 0 .3em; }
.footer-topics { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: .86rem; padding-bottom: 14px; }
.footer-topics a { color: var(--text); }
.compare-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.table-topic table { min-width: 900px; }
@media (max-width: 640px) {
  .stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .air-card-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .page-toc ol { columns: 1; }
}

/* ---------- 测评信息框与图片 ---------- */
.review-box { background: var(--surface); border: 1px solid var(--border); border-top: 4px solid var(--accent); border-radius: var(--radius); padding: 16px 20px; margin-bottom: 28px; }
.review-box-head { display: flex; align-items: center; gap: 10px; font-size: .85rem; color: var(--text-muted); margin-bottom: 12px; }
.rank-no { display: inline-block; font-family: var(--mono); font-weight: 700; font-size: .85rem; color: #fff; background: var(--text); border-radius: 6px; padding: 1px 8px; }
.review-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 24px; margin: 0 0 16px; }
.review-facts div { border-bottom: 1px dashed #e3e8ee; padding-bottom: 8px; }
.review-facts dt { font-size: .82rem; color: var(--text-muted); }
.review-facts dd { margin: 2px 0 0; font-weight: 600; font-size: .98rem; }
.fact-sub { display: block; font-weight: 400; font-size: .82rem; color: var(--text-muted); }
.review-cta { display: flex; align-items: center; gap: 4px; margin-bottom: 8px; }
.review-box-note { font-size: .82rem; color: var(--text-muted); margin: 0; }
.figure { margin: 1.4em 0; text-align: center; }
.figure-link { display: inline-block; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; background: #fff; }
.figure img { display: block; max-width: 100%; height: auto; }
.figure figcaption { font-size: .86rem; color: var(--text-muted); margin-top: 8px; }
.table-compare .rank-no { margin-right: 4px; }
.table-compare tbody th { white-space: nowrap; }
@media (max-width: 640px) { .review-facts { grid-template-columns: 1fr; } }

.faq-item h3 { font-size: 1.05rem; margin-top: 1.2em; }
.article-section { margin-top: 8px; }
.article-section h2 { padding-bottom: .3em; border-bottom: 1px solid var(--border); }
.sources { padding-left: 1.4em; }
.sources li { margin-bottom: .6em; }
.source-note, .source-date { display: block; font-size: .87rem; color: var(--text-muted); }
.feedback-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.related { margin-top: 24px; }

.static-page { max-width: 860px; padding-bottom: 32px; }

.sitemap-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 8px 32px; padding-bottom: 24px; }
.sitemap-grid h2 { font-size: 1.1rem; margin-top: 1.2em; }
.sitemap-grid ul { padding-left: 1.2em; margin: 0; }
.sitemap-grid li { margin-bottom: .3em; }

.not-found { text-align: center; padding-top: 48px; padding-bottom: 48px; }
.not-found-code { font-size: 4.5rem; font-weight: 800; color: var(--accent); margin: 0; line-height: 1; letter-spacing: .05em; }
.not-found .search-form { max-width: 520px; margin: 24px auto; }
.inline-links { list-style: none; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 20px; }

/* ---------- 页脚 ---------- */
.site-footer { margin-top: 48px; background: var(--surface); border-top: 1px solid var(--border); font-size: .92rem; color: var(--text-muted); }
.footer-inner { display: grid; grid-template-columns: 1.3fr 1fr; gap: 32px; padding-top: 32px; padding-bottom: 16px; }
.footer-brand { font-weight: 700; color: var(--text); margin-bottom: .4em; }
.footer-nav ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 16px; }
.footer-nav a { color: var(--text); }
.footer-bottom { border-top: 1px solid #edf1f5; padding-top: 14px; padding-bottom: 20px; font-size: .84rem; }
.footer-bottom p { margin: 0; }

/* ---------- 返回顶部 ---------- */
.back-to-top {
  position: fixed; right: 20px; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); z-index: 40;
  width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--text); color: #fff;
  font-size: 1.35rem; line-height: 1; cursor: pointer; box-shadow: 0 4px 14px rgba(19,38,61,.22);
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .25s ease, transform .25s ease, visibility 0s linear .25s;
}
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: none; transition: opacity .25s ease, transform .25s ease, visibility 0s; }
.back-to-top:hover { background: var(--accent-strong); }
.back-to-top:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

/* ---------- 响应式 ---------- */
@media (max-width: 899px) {
  .entry-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .container { padding: 0 16px; }
  .hero-inner { padding-top: 36px; padding-bottom: 28px; }
  .entry-grid { grid-template-columns: 1fr; gap: 10px; }
  .entry-card { padding: 16px; }
  .post-list { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 16px; }
  /* 为返回顶部按钮预留空间，避免遮挡页脚末尾内容 */
  .footer-bottom { padding-bottom: calc(84px + env(safe-area-inset-bottom, 0px)); }
  .back-to-top { right: 14px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); width: 44px; height: 44px; }
  .brand-en { display: none; }
  .search-form .button { padding: 0 16px; }
  .prose { font-size: 1rem; }
}

/* ---------- 减少动态效果 ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0s !important; animation-duration: 0s !important; animation-iteration-count: 1 !important; }
  .back-to-top { transform: none; }
}

@media print {
  .site-header, .site-footer, .back-to-top, .article-aside, .feedback, .related { display: none !important; }
  body { background: #fff; }
}
