/* ---------- 设计令牌 ---------- */
:root {
  /* 内容色板（保留原站语义） */
  --bg: #f5f7fa;
  --bg-soft: #eef2f7;
  --surface: #ffffff;
  --surface-2: #f4f6fa;
  --border: #e3e8ef;
  --border-strong: #cfd6e0;
  --text: #16202c;
  --text-2: #5b6b7e;
  --text-3: #93a1b3;
  --accent: #2563eb;
  --accent-strong: #1d4ed8;
  --accent-soft: #e8eefe;
  --accent-2: #d64530;
  --accent-2-soft: #fbe9e5;
  --warn: #b7791f;
  --warn-soft: #fff3cd;
  --danger: #c0392b;
  --danger-soft: #fae8e4;
  --ok: #178a52;
  --ok-soft: #e7f4ec;

  /* Tabler 风令牌（参考资料站） */
  --dark: #0f172a;
  --dark-2: #1e293b;
  --primary: #334155;
  --primary-d: #1e293b;
  --primary-l: #e2e8f0;
  --gradient: linear-gradient(135deg, #475569 0%, #334155 55%, #1e293b 100%);
  --gradient-accent: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  --radius-s: 6px;
  --radius: 10px;
  --radius-l: 14px;
  --shadow-sm: 0 1px 2px rgb(20 30 50 / .05), 0 1px 3px rgb(20 30 50 / .06);
  --shadow: 0 6px 18px rgb(20 30 50 / .09);
  --shadow-lg: 0 16px 40px rgb(20 30 50 / .14);
  --maxw: 1320px;
  --nav-h: 60px;

  --content-width: 76rem;
  --article-width: 46rem;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
}

/* ---------- 基础 ---------- */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 15px;
  min-height: 100vh;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; line-height: 1.25; }
.ti { line-height: 1; vertical-align: -2px; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
.eyebrow { display: inline-block; font-size: 12px; letter-spacing: .08em; color: var(--accent); font-weight: 700; text-transform: uppercase; }
.sec-title { font-size: 26px; margin: 4px 0 8px; }
.sec-sub { color: var(--text-2); margin: 0 0 16px; }
/* 链接按钮化：查看详情 / 全部文章 / → 等统一为描边胶囊按钮 */
.text-link {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 18px; border: 1px solid var(--accent); border-radius: 999px;
  color: var(--accent); font-weight: 700; font-size: 14px; line-height: 1;
  background: #fff; white-space: nowrap; cursor: pointer;
  transition: background .16s, color .16s, box-shadow .16s, transform .16s;
}
.text-link:hover { background: var(--accent); color: #fff; text-decoration: none; box-shadow: var(--shadow-sm); transform: translateY(-1px); }
/* 路径卡里的纯箭头 → 做成圆形图标按钮 */
.path-card .text-link {
  padding: 0; width: 34px; height: 34px; border-radius: 50%;
  justify-content: center; font-size: 17px;
}

.skip-link {
  position: absolute; left: -9999px; top: 0; background: var(--accent); color: #fff;
  padding: 8px 14px; border-radius: var(--radius-s); z-index: 200;
}
.skip-link:focus { left: 12px; top: 12px; }

/* ---------- 顶栏（深色钢蓝，参考资料站） ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--gradient); color: #fff;
  box-shadow: 0 1px 0 rgba(255,255,255,.05), var(--shadow-sm);
}
.header-inner { display: flex; align-items: center; gap: 18px; height: var(--nav-h); }
.brand { display: flex; flex-direction: column; line-height: 1.1; margin-right: auto; color: #fff; }
.brand-zh { font-size: 18px; font-weight: 800; color: #fff; letter-spacing: .2px; }
.brand-en { font-size: 11px; color: rgba(255,255,255,.6); letter-spacing: .05em; }
.site-nav ul { display: flex; gap: 2px; flex-wrap: wrap; align-items: center; }
.site-nav a {
  display: flex; align-items: center; gap: 7px;
  padding: 8px 12px; border-radius: var(--radius-s);
  font-size: 14px; font-weight: 500; color: rgba(255,255,255,.82);
  transition: background .15s, color .15s; white-space: nowrap;
}
.site-nav a .ti { font-size: 15px; color: rgba(255,255,255,.7); }
.site-nav a:hover { background: rgba(255,255,255,.12); color: #fff; }
.site-nav a.active { background: rgba(255,255,255,.2); color: #fff; }
.menu-toggle {
  display: none; border: 1px solid rgba(255,255,255,.28); background: transparent;
  border-radius: var(--radius-s); width: 40px; height: 38px; font-size: 18px; cursor: pointer; color: #fff;
}

/* ---------- 内页 hero 带（层级核心） ---------- */
.page-hero {
  background: var(--gradient-accent); color: #fff;
  padding: 40px 0 34px; position: relative;
  box-shadow: var(--shadow-sm);
}
.page-hero::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(120% 140% at 100% 0%, rgba(255,255,255,.12), transparent 60%);
  pointer-events: none;
}
.page-hero .container { position: relative; }
.page-crumb {
  display: inline-flex; align-items: center; gap: 6px;
  color: rgba(255,255,255,.88); font-size: 13px; font-weight: 600; margin-bottom: 14px;
}
.page-crumb:hover { color: #fff; text-decoration: underline; }
.page-hero .eyebrow { color: rgba(255,255,255,.72); }
.page-title { font-size: 30px; font-weight: 800; letter-spacing: -.4px; margin: 8px 0 8px; }
.page-subtitle { font-size: 15px; color: rgba(255,255,255,.85); max-width: 46rem; margin: 0; }
.page-wrapper { padding: 36px 0 56px; }

/* ---------- 卡片系统（参考资料站） ---------- */
.card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); box-shadow: var(--shadow-sm);
  transition: box-shadow .18s, transform .18s; margin-bottom: 18px;
  padding: 20px;
}
.card:hover { box-shadow: var(--shadow); }
.card h2, .card h3 { margin-bottom: 12px; }
.card-title-bar {
  display: flex; align-items: center; gap: 10px;
  background: var(--gradient); color: #fff;
  padding: 14px 18px; border-radius: var(--radius) var(--radius) 0 0;
  font-weight: 700; font-size: 15px;
}
.card-title-bar .ti { font-size: 18px; }
.card-body { padding: 20px; }
.card-sub { color: var(--text-2); font-size: 13.5px; margin: 0 0 14px; }
.module-title { font-size: 14px; font-weight: 700; margin: 0 0 10px; color: var(--text); }

/* 统计小卡 / 公告 / 提示（参考资料站） */
.stat-row { display: flex; gap: 12px; flex-wrap: wrap; }
.stat {
  flex: 1; min-width: 130px; background: var(--surface-2); border-radius: var(--radius-s);
  padding: 14px 16px; border: 1px solid var(--border);
}
.stat .s-label { font-size: 12px; color: var(--text-2); }
.stat .s-val { font-size: 22px; font-weight: 800; margin-top: 4px; color: var(--accent); }
.notice-list { margin: 0; }
.notice-item { display: flex; gap: 10px; padding: 12px 0; border-bottom: 1px dashed var(--border); }
.notice-item:last-child { border-bottom: 0; }
.notice-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); margin-top: 7px; flex-shrink: 0; }
.notice-item .n-title { font-weight: 600; font-size: 14px; }
.notice-item .n-date { font-size: 12px; color: var(--text-3); }
.notice-item .n-text { font-size: 13px; color: var(--text-2); margin-top: 2px; }
.alert {
  border-radius: var(--radius-s); padding: 14px 16px; margin-bottom: 14px;
  display: flex; align-items: flex-start; gap: 12px; font-size: 14px;
  background: var(--warn-soft); border: 1px solid #f0d899;
}
.alert .a-icon { font-size: 22px; color: var(--warn); flex-shrink: 0; }
.alert .a-title { font-weight: 700; color: #6b5300; margin-bottom: 3px; }
.alert .a-text { color: #6b5300; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  padding: 10px 20px; border-radius: var(--radius-s);
  font-size: 15px; font-weight: 700; cursor: pointer; border: 1px solid transparent;
  font-family: inherit; transition: all .15s; white-space: nowrap;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-strong); }
.btn-dark { background: var(--dark); color: #fff; }
.btn-dark:hover { background: #000; }
.btn-outline { background: #fff; color: var(--accent); border-color: var(--accent); }
.btn-outline:hover { background: var(--accent-soft); }

/* ---------- 文章正文（prose，置于卡体内） ---------- */
.prose { max-width: var(--article-width); font-size: 15.5px; line-height: 1.85; color: var(--text-2); }
.card .prose { max-width: none; }
.prose > :first-child { margin-top: 0; }
.prose > :last-child { margin-bottom: 0; }
.prose h2 { font-size: 22px; margin: 32px 0 12px; padding-left: 12px; border-left: 4px solid var(--accent); line-height: 1.4; color: var(--text); }
.prose h3 { font-size: 18px; margin: 24px 0 10px; padding-bottom: 7px; border-bottom: 1px dashed var(--border); color: var(--text); }
.prose h4 { font-size: 16px; margin: 18px 0 8px; color: var(--text); }
.prose p { color: var(--text-2); margin: 0 0 15px; }
.prose a { color: var(--accent); font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--accent-soft); transition: border-color .15s, color .15s; }
.prose a:hover { color: var(--accent-strong); border-bottom-color: var(--accent-strong); }
.prose strong { color: var(--text); font-weight: 700; }
.prose ul { margin: 0 0 16px; padding-left: 20px; list-style: disc; }
.prose ol { margin: 0 0 16px; padding-left: 22px; list-style: decimal; }
.prose li { margin-bottom: 8px; color: var(--text-2); }
.prose li::marker { color: var(--accent); }
.prose .lead { font-size: 17px; line-height: 1.8; color: var(--text); margin: 0 0 18px; }
.prose blockquote { margin: 18px 0; padding: 14px 18px; background: var(--accent-soft); border-left: 4px solid var(--accent); border-radius: var(--radius-s); color: var(--text); }
.prose blockquote.warn { background: var(--danger-soft); border-left-color: var(--danger); }
.prose blockquote p { margin: 0 0 8px; color: var(--text); }
.prose blockquote p:last-child { margin-bottom: 0; }
.prose code { font-family: var(--font-mono); font-size: 12.5px; background: var(--surface-2); border: 1px solid var(--border); border-radius: 5px; padding: 1px 6px; color: var(--accent-strong); }
.prose pre { background: var(--dark); color: #e6edf3; border-radius: var(--radius-s); padding: 14px 16px; overflow-x: auto; margin: 16px 0; font-size: 13px; line-height: 1.6; }
.prose pre code { background: none; border: none; padding: 0; color: inherit; }
.prose img { border-radius: var(--radius); margin: 16px 0; box-shadow: var(--shadow-sm); }
.prose hr { border: none; border-top: 1px solid var(--border); margin: 26px 0; }
.prose .breadcrumb { display: inline-block; margin-bottom: 14px; color: var(--accent); font-size: 14px; font-weight: 600; }
.prose .breadcrumb:hover { text-decoration: underline; }
.prose .updated { color: var(--text-3); font-size: 13px; margin-bottom: 16px; }
.related-list { margin: 0 0 16px; padding-left: 0; list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 24px; }
.related-list li { margin: 0; }
.related-list a { display: block; color: var(--text); background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-s); padding: 11px 15px; font-size: 14px; font-weight: 600; transition: border-color .15s, background .15s, color .15s; }
.related-list a:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-soft); }
.related-list a .related-desc { display: block; margin-top: 4px; font-size: 12.5px; line-height: 1.5; color: var(--text-3); font-weight: 400; }

/* ---------- 首页：hero ---------- */
.hero { background: linear-gradient(180deg, var(--surface) 0%, var(--bg) 100%); padding: 48px 0; }
.hero-inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 32px; align-items: center; }
.hero h1 { font-size: 42px; margin: 10px 0 14px; }
.hero-sub { font-size: 17px; color: var(--text-2); max-width: 36rem; }
.hero-note { color: var(--text-3); font-size: 13px; margin-top: 14px; }
.hero-art {
  position: relative;
  aspect-ratio: 7 / 4;
  border-radius: var(--radius-l);
  box-shadow: var(--shadow-lg);
  background: url('/images/cover.svg') center / cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 25px 20px 10px 0;
  box-sizing: border-box;
}
.hero-art .hero-top1 { width: 48%; }

/* ---------- 首页：最新情报条 ---------- */
.latest-strip { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.latest-inner { display: flex; align-items: center; gap: 16px; padding: 14px 20px; flex-wrap: wrap; }
.latest-label { font-size: 12px; font-weight: 700; color: var(--accent); white-space: nowrap; }
.latest-list { display: flex; gap: 18px; flex-wrap: wrap; flex: 1; }
.latest-list li { font-size: 13px; color: var(--text-2); display: flex; gap: 6px; align-items: center; }
.latest-list a { color: var(--text-2); text-decoration: none; transition: color .15s; }
.latest-list a:hover { color: var(--accent); }
.latest-list .date { color: var(--text-3); font-variant-numeric: tabular-nums; }
.tag-mini { font-size: 10px; background: var(--accent-soft); color: var(--accent); padding: 1px 6px; border-radius: var(--radius-s); font-weight: 700; }

/* ---------- 首页：搜索 ---------- */
.search-block { padding: 40px 0; text-align: center; background: var(--bg-soft); }
.search-block h2 { font-size: 28px; }
.search-block.search-compact { padding: 0 0 8px; }
.search-form { display: flex; gap: 8px; max-width: 38rem; margin: 16px auto 10px; }
.search-form input {
  flex: 1; padding: 12px 14px; border: 1px solid var(--border-strong); border-radius: var(--radius-s);
  font-size: 15px; font-family: var(--font-sans); background: var(--surface);
}
.search-form input:focus { outline: 2px solid var(--accent); border-color: var(--accent); }
.hot-label { color: var(--text-3); font-size: 13px; margin: 6px 0 4px; }
.hot-tags { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.hot-tag { font-size: 13px; color: var(--text-2); background: var(--surface); border: 1px solid var(--border); padding: 5px 12px; border-radius: 999px; }
.hot-tag:hover { border-color: var(--accent); color: var(--accent); }

/* ---------- 首页：路径 ---------- */
.path { padding: 40px 0; }
.path-flow { color: var(--text-2); margin-bottom: 18px; }
.path-flow a { color: var(--accent); }
.path-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.path-card { position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-l); padding: 22px; box-shadow: var(--shadow-sm); transition: box-shadow .18s, transform .18s; }
.path-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.path-no { font-size: 22px; font-weight: 800; color: var(--accent); }
.path-card h3 { font-size: 18px; margin: 8px 0 6px; }
.path-card p { color: var(--text-2); font-size: 14px; margin: 0 0 10px; }

/* ---------- 首页：榜单 ---------- */
.ranking { padding: 40px 0; background: var(--bg-soft); }
.sec-head { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.sec-head .text-link { margin-left: auto; }
.rank-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.rank-card { display: flex; gap: 14px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-l); padding: 18px; box-shadow: var(--shadow-sm); border-top: 3px solid var(--accent); transition: box-shadow .18s, transform .18s; }
.rank-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.rank-no { font-size: 22px; font-weight: 800; color: var(--text-3); min-width: 28px; }
.rank-body { flex: 1; min-width: 0; }
.rank-name { font-size: 19px; margin-bottom: 6px; }
.rank-name a:hover { color: var(--accent); }
.rank-desc { color: var(--text-2); font-size: 14px; margin: 0 0 12px; }
.rank-meta { display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px 18px; margin: 0 0 12px; }
.rank-meta div { display: flex; gap: 6px; font-size: 13px; }
.rank-meta dt { color: var(--text-3); margin: 0; min-width: 56px; }
.rank-meta dd { margin: 0; color: var(--text); }
.rank-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 10px; }
.tag { font-size: 12px; background: var(--surface-2); color: var(--text-2); padding: 3px 9px; border-radius: 999px; }

/* ---------- 首页：工具 ---------- */
.tools { padding: 40px 0; }
.tool-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 12px; }
.tool-card { position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-l); padding: 18px; display: block; box-shadow: var(--shadow-sm); transition: border-color .15s, box-shadow .18s, transform .18s; }
.tool-card:hover { border-color: var(--accent); box-shadow: var(--shadow); transform: translateY(-2px); }
.tool-badge { display: inline-block; font-size: 12px; font-weight: 700; color: var(--accent); background: var(--accent-soft); padding: 2px 10px; border-radius: 999px; }
.tool-card h3 { font-size: 16px; margin: 10px 0 6px; }
.tool-card p { color: var(--text-2); font-size: 13px; margin: 0; }
.tool-arrow {
  position: absolute; right: 16px; bottom: 14px;
  display: inline-flex; align-items: center; justify-content: center;
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--accent-soft); color: var(--accent); font-weight: 800; font-size: 16px;
  transition: background .16s, color .16s, transform .16s;
}
.tool-card:hover .tool-arrow { background: var(--accent); color: #fff; transform: translateX(2px); }

/* ---------- 首页：内容主线 / 专题 ---------- */
.sections { padding: 40px 0; background: var(--bg-soft); }
.section-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 12px; }
.section-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-l); padding: 18px; box-shadow: var(--shadow-sm); transition: box-shadow .18s, transform .18s; }
.section-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.section-card h3 { font-size: 17px; margin-bottom: 6px; }
.section-card p { color: var(--text-2); font-size: 14px; margin: 0 0 8px; }
.section-meta { font-size: 12px; color: var(--accent); font-weight: 700; }
.intel { padding: 40px 0; }
.intel-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; margin-top: 12px; }
.intel-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-l); padding: 16px; text-align: center; box-shadow: var(--shadow-sm); }
.intel-card b { display: block; font-size: 24px; color: var(--accent); }
.intel-card span { font-size: 12px; color: var(--text-2); }
.questions { padding: 40px 0; background: var(--bg-soft); }
.question-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 24px; margin-top: 12px; }
.question-list a { display: block; color: var(--text); font-size: 15px; padding: 8px 0; border-bottom: 1px dashed var(--border); }
.question-list a:hover { color: var(--accent); }
.specials { padding: 40px 0; }
.special-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 12px; }
.special-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-l); padding: 18px; box-shadow: var(--shadow-sm); transition: box-shadow .18s, transform .18s; }
.special-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.special-no { font-size: 22px; font-weight: 800; color: var(--accent); }
.special-card h3 { font-size: 17px; margin: 6px 0 6px; }
.special-card p { color: var(--text-2); font-size: 14px; margin: 0 0 8px; }

/* ---------- 首页：品牌 / 实验室 / 风险 / 客户端 ---------- */
.brands { padding: 40px 0; }
.brand-list { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.brand-list a { background: var(--surface); border: 1px solid var(--border); border-radius: 999px; padding: 8px 16px; font-size: 14px; color: var(--text); box-shadow: var(--shadow-sm); transition: all .15s; }
.brand-list a:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-soft); }
.lab { padding: 44px 0; background: var(--bg-soft); text-align: center; }
.lab .sec-title { margin-top: 6px; }
.lab .btn { margin-top: 14px; }
.risk-watch { padding: 40px 0; }
.risk-list li { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-l); padding: 16px 18px; margin-bottom: 12px; box-shadow: var(--shadow-sm); }
.risk-date { font-size: 13px; color: var(--text-3); font-variant-numeric: tabular-nums; margin-right: 10px; }
.risk-state { font-size: 12px; font-weight: 700; padding: 2px 10px; border-radius: 999px; margin-right: 10px; }
.st-ok { background: var(--ok-soft); color: var(--ok); }
.st-warn { background: var(--warn-soft); color: var(--warn); }
.st-bad { background: var(--danger-soft); color: var(--danger); }
.risk-list h3 { font-size: 17px; display: inline; }
.risk-list p { color: var(--text-2); font-size: 14px; margin: 8px 0 0; }
.risk-note { color: var(--text-3); font-size: 13px; margin-top: 10px; }
.clients { padding: 40px 0; background: var(--bg-soft); }
.client-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 12px; }
.client-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-l); padding: 18px; box-shadow: var(--shadow-sm); transition: box-shadow .18s, transform .18s; }
.client-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.client-card h3 { font-size: 17px; }
.client-plat { font-size: 13px; color: var(--text-3); }
.client-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.client-links a { font-size: 13px; color: var(--accent); border: 1px solid var(--border); border-radius: var(--radius-s); padding: 4px 10px; }
.client-links a:hover { background: var(--accent-soft); border-color: var(--accent); }

/* ---------- 表格（对比表 / 数据表） ---------- */
.table-scroll { width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 18px 0; border-radius: var(--radius-l); }
.compare-table { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-l); overflow: hidden; box-shadow: var(--shadow-sm); font-size: 14px; }
.compare-table caption { caption-side: top; text-align: left; padding: 10px 14px; font-size: 13px; color: var(--text-3); background: var(--surface-2); border-bottom: 1px solid var(--border); }
.compare-table th, .compare-table td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--border); vertical-align: top; line-height: 1.6; color: var(--text); }
.compare-table thead th { background: var(--gradient); color: #fff; font-weight: 700; white-space: nowrap; }
.compare-table thead th:first-child { border-top-left-radius: var(--radius-l); }
.compare-table thead th:last-child { border-top-right-radius: var(--radius-l); }
.compare-table tbody th { color: var(--text); font-weight: 600; width: 20%; background: var(--surface-2); white-space: nowrap; }
.compare-table tbody tr:nth-child(even) td { background: var(--surface-2); }
.compare-table tbody tr:hover td, .compare-table tbody tr:hover th { background: var(--accent-soft); }
.compare-table tbody tr:last-child th, .compare-table tbody tr:last-child td { border-bottom: none; }
.compare-table a { color: var(--accent); text-decoration: none; font-weight: 600; }
.compare-table a:hover { text-decoration: underline; }
.compare-table strong { color: var(--text); font-weight: 700; }

/* ---------- 键值网格（定义列表 dl） ---------- */
.kv-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; margin: 16px 0; }
.kv { background: var(--surface); border: 1px solid var(--border); border-left: 3px solid var(--accent); border-radius: var(--radius); padding: 12px 14px; box-shadow: var(--shadow-sm); }
.kv dt { font-size: 13px; font-weight: 700; color: var(--accent); margin-bottom: 4px; }
.kv dd { margin: 0; font-size: 14px; color: var(--text-2); line-height: 1.65; }

/* ---------- 页脚 ---------- */
.site-footer { background: var(--dark); color: rgba(255,255,255,.7); border-top: 1px solid #1b2740; padding: 40px 0 24px; margin-top: 24px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr; gap: 24px; align-items: start; }
.footer-brand .brand-zh { font-size: 18px; font-weight: 800; color: #fff; }
.footer-tagline { color: rgba(255,255,255,.7); font-size: 14px; margin: 10px 0; }
.footer-social a { color: #8ab0e0; margin-right: 8px; font-size: 14px; }
.footer-social a:hover { color: #fff; }
.footer-col h4 { font-size: 14px; margin-bottom: 10px; color: #fff; }
.footer-col li { margin-bottom: 6px; }
.footer-col a { color: rgba(255,255,255,.7); font-size: 13px; }
.footer-col a:hover { color: #fff; }
.footer-bottom { color: rgba(255,255,255,.5); font-size: 12px; border-top: 1px solid #1b2740; margin-top: 24px; padding-top: 16px; }

/* ---------- 响应式 ---------- */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-art { order: -1; }
  .hero-art .hero-top1 { width: 100%; }
  .rank-grid, .section-grid, .special-grid, .client-grid, .intel-grid, .tool-grid, .path-grid, .question-list { grid-template-columns: 1fr; }
  .intel-grid { grid-template-columns: repeat(2, 1fr); }
  .tool-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-brand { grid-column: 1 / -1; }
  .menu-toggle { display: block; }
  .site-nav { display: none; position: absolute; top: var(--nav-h); left: 0; right: 0; background: var(--dark-2); padding: 10px; box-shadow: var(--shadow); }
  .site-nav.open { display: block; }
  .site-nav ul { flex-direction: column; align-items: stretch; }
  .site-nav a { padding: 11px 13px; color: rgba(255,255,255,.85); }
  .hero h1 { font-size: 34px; }
}
@media (max-width: 575px) {
  .page-title { font-size: 24px; }
  .card-body { padding: 16px; }
  .footer-grid { grid-template-columns: 1fr; }
  .related-list { grid-template-columns: 1fr; }
}


/* ============================================================
   51 内页兼容层（机场详情 / 评测 / 优惠码 / 教程 / FAQ / 下载 / 对比等）
   复用 39 设计令牌，视觉统一为蓝色 Tabler 风
   ============================================================ */

/* 区块（左右留白交给 .container，这里只控上下，避免覆盖 .container 的左右 padding） */
.section { padding-top: 40px; padding-bottom: 40px; }
.section-title { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 24px; }
.section-title h2 { margin: 0; font-size: 22px; }

/* 内页头 */
.page-header { padding: 40px 0 28px; }
.kicker { display: block; color: var(--accent); font-weight: 700; font-size: 13px; letter-spacing: .05em; margin-bottom: 8px; }
.page-header h1 { font-size: 30px; margin: 0 0 12px; }
.lede { color: var(--text-2); font-size: 16px; max-width: 46rem; }

/* 机场详情 hero（并入主列，与 sidebar 并排） */
.detail-hero { margin-bottom: var(--sp-6); }
.detail-hero h1 { font-size: 30px; margin: 0 0 12px; }
.detail-hero .lede { margin: 0 0 12px; }
.detail-hero .article-meta { margin: 0; }

/* 文章元信息 */
.article-meta { display: flex; gap: 8px 16px; flex-wrap: wrap; align-items: center; font-size: 13px; color: var(--text-3); margin-bottom: 24px; }

/* 机场卡 */
.card-rank { position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-sm); overflow: hidden; margin-bottom: 18px; }
.card-rank:hover { box-shadow: var(--shadow); }
.card-rank .card-body { padding: 24px; }
.card-head { display: flex; align-items: flex-start; gap: 12px; }
.card-rank h3 { margin: 0; font-size: 22px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.recommend-badge { display: inline-flex; align-items: center; gap: 4px; background: #f59e0b; color: #fff; border-radius: 4px; padding: 2px 8px; font-size: 12px; font-weight: 700; }
.rating-line { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 4px; font-size: 14px; color: var(--text-3); }
.rating-line strong { color: var(--text); }
.rank-badge { position: absolute; left: 0; top: 0; display: flex; height: 44px; width: 44px; align-items: center; justify-content: center; border-bottom-right-radius: var(--radius); font-size: 16px; font-weight: 800; color: #fff; background: linear-gradient(135deg, #f59e0b, var(--accent)); }

/* 价格 */
.price-box { border-radius: var(--radius-s); background: var(--accent-soft); padding: 8px 12px; text-align: right; flex-shrink: 0; }
.price-label { display: block; font-size: 12px; color: var(--text-3); }
.price-deal { font-size: 20px; font-weight: 800; color: var(--accent-strong); }
.price-orig { font-size: 14px; color: var(--text-3); text-decoration: line-through; margin-left: 4px; }
.price-num { font-size: 20px; font-weight: 800; color: var(--accent-strong); }
.deal-note { font-size: 12px; color: var(--accent-strong); }
.price-deal-row { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px; }

/* 标签证据变体（基于 39 的 .tag 胶囊） */
.tag-evidence-personal-test { background: var(--ok-soft); color: var(--ok); }
.tag-evidence-official { background: var(--accent-soft); color: var(--accent-strong); }
.tag-evidence-user-feedback { background: #eef3fb; color: #2f5793; }
.tag-evidence-unverified { background: var(--warn-soft); color: var(--warn); }

/* 标签分组 */
.tag-group { border-radius: var(--radius-s); background: var(--surface-2); padding: 12px; }
.tag-group-label { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--text-2); margin-bottom: 8px; }
.tag-row { display: flex; flex-wrap: wrap; gap: 4px; }

/* 提示框 */
.callout { border: 1px solid var(--border); border-left: 4px solid var(--accent); background: var(--surface); border-radius: var(--radius-s); padding: 16px 20px; margin: 24px 0; font-size: 14px; color: var(--text-2); }
.callout > :last-child { margin-bottom: 0; }
.callout-title { display: block; margin-bottom: 4px; font-weight: 700; color: var(--text); }
.callout-risk { border-left-color: var(--danger); background: var(--danger-soft); }
.callout-risk .callout-title { color: var(--danger); }
.callout-warn { border-left-color: var(--warn); background: var(--warn-soft); }
.callout-warn .callout-title { color: #8a5a12; }
.callout-editor { background: var(--surface-2); border-left-color: var(--text-3); }

/* 优缺点 */
.pros-cons { display: grid; gap: 16px; margin: 24px 0; }
.pros-cons .col { border: 1px solid var(--border); border-radius: var(--radius); padding: 16px 20px; background: var(--surface); }
.pros-cons .col.pros { border-top: 3px solid var(--ok); }
.pros-cons .col.cons { border-top: 3px solid var(--danger); }
.pros-cons h3 { font-size: 16px; margin-bottom: 8px; }
.pros-cons ul { font-size: 14px; color: var(--text-2); margin: 0; padding-left: 1.2em; }
.pros-cons li { margin-bottom: 4px; }
@media (min-width: 640px) { .pros-cons { grid-template-columns: 1fr 1fr; } }

/* 披露 + 作者框 */
.disclosure { font-size: 12px; color: var(--text-3); background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--radius-s); padding: 8px 16px; margin: 16px 0; }
.author-box { display: flex; gap: 16px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); padding: 16px 20px; margin: 24px 0; font-size: 14px; align-items: flex-start; }
.author-box .avatar { background: var(--accent-soft); width: 48px; height: 48px; color: var(--accent-strong); border-radius: 50%; flex-shrink: 0; display: flex; justify-content: center; align-items: center; font-weight: 700; }
.author-box .name { color: var(--text); font-weight: 700; }
.author-box p { margin: 4px 0 0; color: var(--text-2); }

/* 通用表格 */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); margin: 18px 0; }
.table-wrap table { border-collapse: collapse; width: 100%; font-size: 14px; min-width: 560px; }
.table-wrap th, .table-wrap td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--border); vertical-align: top; }
.table-wrap thead th { background: var(--surface-2); color: var(--text-2); white-space: nowrap; font-weight: 600; }
.table-wrap tbody tr:last-child td { border-bottom: none; }

/* 优惠卡 */
.coupon-card { display: flex; align-items: center; gap: 12px; border: 1px dashed var(--accent); background: var(--accent-soft); border-radius: var(--radius); padding: 16px 20px; margin: 16px 0; flex-wrap: wrap; }
.coupon-card .code { font-family: var(--font-mono); font-weight: 700; font-size: 16px; color: var(--accent-strong); background: var(--surface); border: 1px solid var(--border-strong); border-radius: var(--radius-s); padding: 4px 12px; }
.coupon-card .info { font-size: 14px; color: var(--text-2); flex: 1 1 12rem; }
.coupon-card .info strong { color: var(--text); display: block; }
.coupon-card-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.coupon-code { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 8px; color: #8a5a12; font-weight: 600; }
.card-amber { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; border: 1px solid #e8c98a; background: var(--warn-soft); border-radius: var(--radius-s); padding: 8px 12px; font-size: 14px; }
.btn-copy { display: inline-flex; align-items: center; gap: 4px; background: #d97706; color: #fff; border: 0; border-radius: 4px; padding: 4px 10px; font-size: 12px; font-weight: 600; cursor: pointer; }
.btn-copy:hover { background: #b45309; }

/* 按钮补充 */
.btn-secondary { background: var(--surface); border-color: var(--border-strong); color: var(--text-2); }
.btn-secondary:hover { border-color: var(--accent); color: var(--accent-strong); background: var(--surface); }
.btn-sm { min-height: 36px; padding: 4px 12px; font-size: 13px; }
.btn-grid { display: flex; flex-wrap: wrap; gap: 8px; }

/* 图标 */
.ico { width: 1em; height: 1em; display: inline-block; vertical-align: -0.125em; flex-shrink: 0; }
.ico-sm { width: 16px; height: 16px; flex-shrink: 0; }
.ico-xs { width: 12px; height: 12px; flex-shrink: 0; }
.ico-accent { color: var(--accent); }
.ico-star { color: #f59e0b; fill: #f59e0b; }

/* 网格 / 列表 */
.g-grid-2 { display: grid; gap: 12px; }
@media (min-width: 640px) { .g-grid-2 { grid-template-columns: repeat(2, 1fr); } }
.flex-gap { display: inline-flex; align-items: center; gap: 6px; }
.card-grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .card-grid { grid-template-columns: repeat(3, 1fr); } }
.dl-grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 768px) { .dl-grid { grid-template-columns: repeat(2, 1fr); } }
.entry-list { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.entry-item { position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px 20px; transition: border-color .15s, box-shadow .15s; }
.entry-item:hover { border-color: var(--accent); box-shadow: var(--shadow); }
.entry-item h3 { margin: 0 0 4px; font-size: 17px; }
.entry-item h3 a { color: var(--text); text-decoration: none; }
.entry-item:hover h3 a { color: var(--accent-strong); }
.entry-item p { margin: 0 0 8px; color: var(--text-2); font-size: 14px; }
.entry-item .meta { display: flex; gap: 12px; flex-wrap: wrap; font-size: 12px; color: var(--text-3); }

/* 筛选条 */
.filter-bar { display: flex; gap: 8px; margin-bottom: 24px; flex-wrap: wrap; }
.filter-bar button { font-family: inherit; font-size: 12px; padding: 4px 12px; border: 1px solid var(--border-strong); background: var(--surface); min-height: 36px; color: var(--text-2); cursor: pointer; border-radius: 999px; }
.filter-bar button.active { background: var(--accent); border-color: var(--accent); color: #fff; }

/* FAQ */
.faq { margin: 24px 0; }
.faq details { border: 1px solid var(--border); border-radius: var(--radius-s); background: var(--surface); margin-bottom: 8px; padding: 0; }
.faq summary { cursor: pointer; padding: 12px 16px; font-weight: 600; font-size: 14px; }
.faq .answer { padding: 0 16px 12px; font-size: 14px; color: var(--text-2); }

/* ID 卡 */
.id-pool { display: grid; gap: 16px; margin: 16px 0; grid-template-columns: 1fr; }
@media (min-width: 560px) { .id-pool { grid-template-columns: repeat(2, 1fr); } }
.id-card { border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); padding: 16px; display: flex; gap: 8px; flex-direction: column; }
.id-top { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.id-region { font-size: 12px; background: var(--accent-soft); color: var(--accent-strong); white-space: nowrap; border-radius: 4px; padding: 2px 8px; font-weight: 700; }
.id-warn { font-size: 12px; color: var(--danger); background: var(--danger-soft); border: 1px solid #e5a9a4; border-radius: 4px; padding: 2px 8px; }
.id-row { display: flex; align-items: center; gap: 8px; font-size: 14px; flex-wrap: nowrap; }
.id-label { color: var(--text-3); flex-shrink: 0; min-width: 2.6em; }
.id-value { font-family: var(--font-mono); font-size: 12px; background: var(--surface-2); border: 1px solid var(--border); white-space: nowrap; text-overflow: ellipsis; border-radius: 4px; flex: 1 1 0; min-width: 0; padding: 5px 8px; overflow: hidden; }
.id-pool-meta { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 12px; color: var(--text-3); background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--radius-s); padding: 8px 16px; margin: 16px 0; flex-wrap: wrap; }

/* 参考卡片 */
.ref-card { display: flex; flex-direction: column; gap: 8px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px 20px; box-shadow: var(--shadow-sm); text-decoration: none; transition: box-shadow .15s; }
.ref-card:hover { box-shadow: var(--shadow); text-decoration: none; }
.ref-icon { display: flex; align-items: center; gap: 8px; color: var(--accent); font-weight: 700; }
.ref-card p { margin: 0; font-size: 14px; color: var(--text-2); }

/* 卡片底部 */
.card-ftr { border-top: 1px solid var(--border); background: var(--surface-2); padding: 12px 20px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.card-ftr .disclaimer { font-size: 12px; color: var(--text-3); }
.disclaimer { font-size: 12px; color: var(--text-3); }
.tutorial-cta { margin-top: var(--sp-4); }

/* 文本工具 */
.muted { color: var(--text-3); }
.small { font-size: 14px; }
.mb-0 { margin-bottom: 0; }
.text-center { text-align: center; }
.hidden { display: none; }

/* 间距工具（内联 style 抽离，铁律 #17） */
.m-0 { margin: 0; }
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: var(--sp-1); }
.mt-2 { margin-top: var(--sp-2); }
.mt-3 { margin-top: var(--sp-3); }
.mt-4 { margin-top: var(--sp-4); }
.mt-5 { margin-top: var(--sp-5); }
.mt-6 { margin-top: var(--sp-6); }
.mb-1 { margin-bottom: var(--sp-1); }
.mb-4 { margin-bottom: var(--sp-4); }
.mb-5 { margin-bottom: var(--sp-5); }
.pt-0 { padding-top: 0; }
.pt-5 { padding-top: var(--sp-5); }

/* 布局工具 */
.flex-1 { flex: 1; min-width: 0; }
.flex-center { display: flex; align-items: center; gap: var(--sp-2); }
.tag-row-wrap { display: flex; gap: var(--sp-2); flex-wrap: wrap; }
.jc-start { justify-content: flex-start; }
.jc-end { justify-content: flex-end; }
.self-center { align-self: center; }
.block { display: block; }
.align-middle { vertical-align: middle; }
.grid-gap-2 { display: grid; gap: var(--sp-2); }
.grid-gap-3 { display: grid; gap: var(--sp-3); }
.grid-gap-4 { display: grid; gap: var(--sp-4); }

/* 文本工具 */
.text-accent { color: var(--c-accent-strong); }
.text-soft { color: var(--c-ink-soft); }
.fs-base { font-size: var(--fs-base); }

/* 列表（仅控制缩进，margin 由 .m-0/.mb-0/.mt-* 显式控制） */
.list-plain { padding-left: 1.4em; }
.list-plain-sm { padding-left: 1.2em; }

/* 下载详情行 / 价格单元格 / 筛选条 */
.dl-row { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-3); padding: var(--sp-2) 0; border-bottom: 1px solid var(--c-border); }
.price-cell { color: var(--c-accent-strong); font-weight: 600; }
.filter-chip { display: inline-flex; align-items: center; gap: 4px; font-size: var(--fs-xs); border: 1px solid var(--c-border-strong); border-radius: 999px; padding: var(--sp-1) var(--sp-3); cursor: pointer; }
.filter-chip.active { background: var(--c-accent); border-color: var(--c-accent); color: #fff; }
.filter-pill { font-size: var(--fs-xs); padding: var(--sp-1) var(--sp-3); border: 1px solid var(--c-border-strong); border-radius: 999px; color: var(--c-ink-soft); }
.filter-pill.active { background: var(--c-accent); color: #fff; }
.cols-2 { column-count: 2; column-gap: 24px; }

/* 基础 code（prose 外） */
code { font-family: var(--font-mono); background: var(--surface-2); border: 1px solid var(--border); border-radius: 4px; padding: 2px 6px; font-size: .9em; }


/* ============================================================
   51 旧变量兼容映射（内页模板内联 style 引用的 --c-* / --sp-* / --fs-* 变量
   统一映射为 39 蓝色 Tabler 令牌，解决「字看不到」等回退问题
   ============================================================ */
:root {
  --c-bg: #f5f7fa;
  --c-surface: #ffffff;
  --c-surface-alt: #f4f6fa;
  --c-ink: #16202c;
  --c-ink-soft: #5b6b7e;
  --c-muted: #93a1b3;
  --c-border: #e3e8ef;
  --c-border-strong: #cfd6e0;
  --c-accent: #2563eb;
  --c-accent-strong: #1d4ed8;
  --c-accent-soft: #e8eefe;
  --c-warn-bg: #fff3cd;
  --c-warn-border: #e8c98a;
  --c-warn-ink: #8a5a12;
  --c-danger-bg: #fae8e4;
  --c-danger-border: #e5a9a4;
  --c-danger-ink: #a3322a;
  --c-ok-bg: #e7f4ec;
  --c-ok-border: #a9d4ae;
  --c-ok-ink: #26662e;
  --sp-1: .25rem;
  --sp-2: .5rem;
  --sp-3: .75rem;
  --sp-4: 1rem;
  --sp-5: 1.5rem;
  --sp-6: 2rem;
  --sp-7: 3rem;
  --sp-8: 4rem;
  --fs-xs: .8125rem;
  --fs-sm: .875rem;
  --fs-base: 1rem;
  --fs-md: 1.125rem;
  --fs-lg: 1.375rem;
  --fs-xl: 1.75rem;
  --fs-2xl: 2.125rem;
  --radius: 10px;
  --radius-sm: 6px;
  --shadow-card: 0 1px 2px rgba(20,30,50,.05), 0 2px 8px rgba(20,30,50,.05);
  --w-site: 72rem;
}

/* ============================================================
   内页两列布局 + 全局侧边栏（2026-09-22 新增）
   ============================================================ */
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 32px; align-items: start; }
.layout-main { min-width: 0; }
/* 两列布局下，文章正文填满主列（去掉 46rem 可读性限制，消除中间留白） */
.layout-main .prose { max-width: none; }
/* feedback 表单为特殊窄页面，单独限制可读宽度 */
.form-card { max-width: var(--article-width); }

.sidebar { display: grid; gap: 16px; align-content: start; position: sticky; top: calc(var(--nav-h) + 24px); }
.side-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-l); padding: 18px 20px; box-shadow: var(--shadow-sm);
}
.side-title {
  display: flex; align-items: center; gap: 9px;
  font-size: 15px; margin: 0 0 12px; padding-bottom: 11px;
  border-bottom: 1px solid var(--border); color: var(--text);
}
.side-title::before { content: ""; width: 4px; height: 16px; border-radius: 2px; background: var(--gradient-accent); }
.side-link-list { display: grid; gap: 2px; }
.side-link-list a {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 7px 9px; border-radius: var(--radius-s);
  color: var(--text-2); font-size: 14px; transition: background .15s, color .15s;
}
.side-link-list a:hover { background: var(--accent-soft); color: var(--accent-strong); }
.side-link-list a::after { content: "→"; color: var(--text-3); font-size: 12px; transition: color .15s; }
.side-link-list a:hover::after { color: var(--accent); }

.side-airport-list { display: grid; gap: 2px; }
.side-airport-list a {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 7px 9px; border-radius: var(--radius-s);
  color: var(--text-2); font-size: 14px; transition: background .15s, color .15s;
}
.side-airport-list a:hover { background: var(--accent-soft); color: var(--accent-strong); }
.side-airport-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.side-airport-rating { color: var(--accent); font-weight: 700; font-size: 13px; }

.side-more {
  display: block; margin-top: 11px; padding-top: 11px;
  border-top: 1px dashed var(--border); color: var(--accent);
  font-size: 13px; font-weight: 600; transition: color .15s;
}
.side-more:hover { color: var(--accent-strong); }

/* 侧栏第一名卡片 */
.side-top1 { border-color: var(--accent); background: linear-gradient(180deg, var(--accent-soft), var(--surface) 55%); }
.side-top1-head { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.side-top1-badge {
  display: inline-flex; align-items: center;
  background: var(--gradient-accent); color: #fff;
  font-size: 12px; font-weight: 800; letter-spacing: .02em;
  padding: 3px 10px; border-radius: 999px;
}
.side-top1-label { font-size: 12px; color: var(--text-3); }
.side-top1-name { display: flex; align-items: center; gap: 6px; font-size: 17px; font-weight: 700; color: var(--text); text-decoration: none; }
.side-top1-name:hover { color: var(--accent-strong); }
.side-top1-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 8px; font-size: 13px; color: var(--text-2); }
.side-top1-meta strong { color: var(--accent); font-weight: 700; }
.side-top1-tagline { margin: 8px 0 0; font-size: 13px; line-height: 1.6; color: var(--text-2); }
.side-top1-actions { display: flex; gap: 8px; margin-top: 12px; }

@media (max-width: 1024px) {
  .layout { grid-template-columns: 1fr; }
  .sidebar { position: static; }
}

/* ============================================================
   表单与联系页（抽离内联 style，语义化 class）
   ============================================================ */
.form-group { margin-bottom: 18px; }
.form-label { display: block; margin-bottom: 6px; font-weight: 600; font-size: 14px; color: var(--text); }
.form-label .req { color: var(--danger); }
.form-input, .form-textarea {
  width: 100%; padding: 9px 12px; border: 1px solid var(--border-strong);
  border-radius: var(--radius-s); font-size: 14px; font-family: inherit; color: var(--text);
  background: var(--surface); transition: border-color .15s, box-shadow .15s;
}
.form-input:focus, .form-textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); outline: none; }
.form-textarea { resize: vertical; min-height: 120px; }
.form-hint { font-size: 12px; color: var(--text-3); margin-top: 5px; }

.contact-list { list-style: none; display: grid; gap: 16px; }
.contact-list li { font-size: 14px; color: var(--text-2); }
.contact-list strong { color: var(--text); }

.stack { display: grid; gap: var(--sp-4); }
.stack .card { margin-bottom: 0; }

/* 成功提示 callout（feedback 提交成功等） */
.callout-ok { border-left-color: var(--c-ok-ink); background: var(--c-ok-bg); border-color: var(--c-ok-border); }
.callout-ok .callout-title { color: var(--c-ok-ink); }

/* 验证码算式块（feedback 表单） */
.captcha-code { display: inline-block; margin-bottom: 8px; }

/* ============================================================
   标题一致性（抽离标题内联 style 为语义类）
   ============================================================ */
/* h1 内强调（如优惠码年份） */
.h1-accent { color: var(--accent); }
/* h1/h3 内版本号等辅助信息 */
.h1-ver { color: var(--text-3); font-size: var(--fs-lg); font-weight: 400; }
.h3-ver { color: var(--text-3); font-size: var(--fs-base); font-weight: 400; }
/* 卡片内标题统一字号（避免浏览器默认 1.5em 与 prose h2 不一致） */
.card h2 { font-size: 22px; }
.card h3 { font-size: 18px; }
