/* ==========================================================================
   Clash 机场核对指南 (jichangclash.com) - 核心全站现代样式表
   参考 aivpnhelper.help 视觉系统与交互规范：
   1. 浅色背景为主、蓝紫高饱和强调色、多层级清晰正文
   2. 深浅色模式双轨支持 (data-theme="dark")
   3. 桌面多级 Mega Menu + 移动端动态抽屉 (Drawer)
   4. 全局搜索弹窗 (Search Modal) + Ctrl/Cmd+K 呼出
   5. 文章页两栏布局 (minmax(0, 1fr) 280px, gap: 56px) + 目录 Scrollspy
   6. 知识型组件：面包屑、要点速览、代码复制、优惠码复制、Toast
   ========================================================================== */

/* 核心变量定义 (CSS Custom Properties) - 全新精致科技感博客规范 */
:root {
  --bg: #F6F8FC;
  --bg-soft: #EEF2F8;
  --bg-elev: #FFFFFF;
  --bg-card: #FFFFFF;
  --bg-card-alt: #F1F4F9;
  --bg-ink: #0B0E17;

  --line: #E5EAF3;
  --line-strong: #D5DCE8;
  --border-color: #E5EAF3;
  --border-subtle: #EEF2F8;

  --text: #172033;
  --text-main: #172033;
  --text-2: #475467;
  --text-3: #667085;
  --text-muted: #667085;

  --color-heading: #172033;
  --color-heading-sub: #344054;

  --brand: #356DFF;
  --brand-2: #16B8C8;
  --accent: #16B8C8;
  --brand-ink: #2050E0;
  --brand-soft: rgba(53, 109, 255, 0.08);
  --accent-soft: rgba(22, 184, 200, 0.1);
  --color-link: #356DFF;
  --color-link-hover: #16B8C8;

  --ok: #0f9d6b;
  --ok-soft: #e8f7f0;
  --warn: #b26a00;
  --warn-soft: #fff6e6;
  --fail: #dc2626;
  --fail-soft: #fee2e2;
  --gold: #b98a2f;

  --radius-sm: 8px;
  --radius-btn: 10px;
  --radius: 16px;
  --radius-md: 16px;
  --radius-card: 16px;
  --radius-lg: 24px;
  --radius-hero: 24px;

  --shadow-sm: 0 1px 3px rgba(23, 32, 51, 0.04), 0 1px 2px rgba(23, 32, 51, 0.02);
  --shadow: 0 10px 30px -10px rgba(23, 32, 51, 0.08), 0 2px 6px rgba(23, 32, 51, 0.03);
  --shadow-lg: 0 20px 40px -12px rgba(53, 109, 255, 0.14);

  --font-sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "HarmonyOS Sans SC", "Hiragino Sans GB", "Microsoft YaHei", Roboto, "Segoe UI", sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, "JetBrains Mono", Menlo, Consolas, monospace;

  --header-h: 64px;
  --header-h-scrolled: 56px;
  --wrap: 1200px;
  --prose-max: 760px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  color-scheme: light;
}

[data-theme="dark"] {
  --bg: #0a0c11;
  --bg-soft: #11141c;
  --bg-elev: #161a24;
  --bg-card: #161a24;
  --bg-card-alt: #1a1f2c;
  --bg-ink: #05060a;

  --line: #242b3b;
  --line-strong: #333d52;
  --border-color: #2e374a;
  --border-subtle: #222938;

  --text: #f1f5f9;
  --text-main: #e2e8f0;
  --text-2: #94a3b8;
  --text-3: #64748b;
  --text-muted: #94a3b8;

  --color-heading: #f8fafc;
  --color-heading-sub: #e2e8f0;

  --brand: #4f75ff;
  --brand-2: #8b66ff;
  --brand-ink: #829eff;
  --brand-soft: #141b33;
  --color-link: #60a5fa;
  --color-link-hover: #93c5fd;

  --ok: #34d399;
  --ok-soft: #064e3b;
  --warn: #fbbf24;
  --warn-soft: #451a03;
  --fail: #f87171;
  --fail-soft: #450a0a;

  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.4);
  --shadow: 0 10px 30px -12px rgba(0, 0, 0, 0.6);
  --shadow-lg: 0 30px 60px -20px rgba(0, 0, 0, 0.7);
  color-scheme: dark;
}

/* 基础重置与排版规范 */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  font-family: var(--font-sans);
  background-color: var(--bg);
  color: var(--text-main);
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
  padding: 0;
  font-size: 16px;
  line-height: 1.7;
  background-color: var(--bg);
  color: var(--text-main);
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease);
}

a {
  color: var(--color-link);
  text-decoration: none;
  transition: color 0.15s ease;
}
a:hover {
  color: var(--color-link-hover);
}

h1, h2, h3, h4, h5, h6 {
  color: var(--color-heading);
  font-weight: 700;
  line-height: 1.35;
  margin-top: 1.6em;
  margin-bottom: 0.6em;
}
h1 { font-size: 2rem; margin-top: 0.5em; }
h2 { font-size: 1.45rem; }
h3 { font-size: 1.2rem; }

p, ul, ol, dl, table, blockquote, pre {
  margin-top: 0;
  margin-bottom: 1.25em;
}

code, kbd, samp, pre {
  font-family: var(--font-mono);
}

/* 全局居中安全容器 (居中对齐，左右标准安全留白 24px) */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
  box-sizing: border-box;
}
.hd .wrap {
  max-width: 1360px !important;
  margin: 0 auto;
  padding: 0 24px;
}

/* 顶部吸顶导航 (Header) */
.hd {
  position: sticky;
  top: 0;
  z-index: 60;
  height: var(--header-h);
  background: color-mix(in srgb, var(--bg) 84%, transparent);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.hd.scrolled {
  border-bottom-color: var(--line);
  box-shadow: var(--shadow-sm);
}

.hd .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

/* 阅读进度条 */
.progress {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2.5px;
  background: linear-gradient(90deg, var(--brand), var(--brand-2));
  transform-origin: 0 50%;
  transform: scaleX(0);
  transition: transform 0.1s linear;
  z-index: 70;
}

/* Logo 品牌 */
.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.01em;
  flex-shrink: 0;
  text-decoration: none;
}
.logo:hover { color: var(--text); }
.logo small {
  display: block;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--text-3);
  margin-top: -2px;
}

/* 桌面导航 (Nav & Mega Menu) */
.nav {
  display: flex;
  align-items: center;
  gap: 3px;
  margin-left: 10px;
  flex: 1;
  min-width: 0;
  flex-wrap: nowrap;
}

.nav-item {
  position: relative;
  flex-shrink: 0;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 5px 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-2);
  background: transparent;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap !important;
  flex-shrink: 0;
  transition: color 0.18s ease, background-color 0.18s ease;
}
.nav-link:hover,
.nav-item.open .nav-link,
.nav-link.active {
  color: var(--brand);
  background-color: var(--brand-soft);
}
.nav-link svg {
  width: 12px;
  height: 12px;
  transition: transform 0.2s var(--ease);
}
.nav-item.open .nav-link svg {
  transform: rotate(180deg);
}

/* Mega Menu 下拉菜单 */
.mega {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  width: 580px;
  padding: 12px;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px) scale(0.985);
  transform-origin: 20% 0;
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease), visibility 0.2s;
  z-index: 100;
}
.nav-item.open .mega {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.mega-head {
  padding: 10px 14px 12px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 8px;
}
.mega-head b a {
  font-size: 14px;
  color: var(--brand);
  font-weight: 700;
}
.mega-head b a:hover {
  text-decoration: underline;
}
.mega-head span {
  display: block;
  font-size: 12.5px;
  color: var(--text-3);
  margin-top: 3px;
}

.mega-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4px;
}
.mega-grid a {
  display: block;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: background-color 0.15s ease;
}
.mega-grid a:hover {
  background-color: var(--brand-soft);
}
.mega-grid a .sub-title {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.4;
}
.mega-grid a:hover .sub-title {
  color: var(--brand);
}
.mega-grid a .sub-desc {
  font-size: 11.5px;
  color: var(--text-3);
  line-height: 1.35;
  margin-top: 2px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* 导航右侧交互动作区 (Search / Theme / CTA / Menu) */
.hd-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.search-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 34px;
  padding: 0 10px;
  font-size: 13px;
  color: var(--text-3);
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 17px;
  cursor: pointer;
  flex-shrink: 0;
  transition: all 0.2s ease;
}
.search-btn:hover {
  border-color: var(--brand);
  color: var(--text);
  background: var(--bg-elev);
}
.search-btn svg { width: 15px; height: 15px; }
.search-btn kbd {
  font-size: 11px;
  padding: 2px 5px;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--text-3);
}

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--text-2);
  cursor: pointer;
  transition: all 0.18s ease;
}
.icon-btn:hover {
  border-color: var(--brand);
  color: var(--brand);
  background: var(--brand-soft);
}
.icon-btn svg { width: 18px; height: 18px; }

/* 主题图标展示控制 */
.sun-icon { display: none; }
.moon-icon { display: block; }
[data-theme="dark"] .sun-icon { display: block; }
[data-theme="dark"] .moon-icon { display: none; }

/* 按钮通用样式 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 18px;
  font-size: 14.5px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.18s ease;
}
.btn-sm {
  padding: 6px 14px;
  font-size: 13px;
  border-radius: 8px;
}
.btn-brand {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-2) 100%);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(42, 84, 255, 0.25);
}
.btn-brand:hover {
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(42, 84, 255, 0.35);
}
.btn-ghost {
  background: var(--bg-elev);
  border-color: var(--line);
  color: var(--text-main);
}
.btn-ghost:hover {
  border-color: var(--brand);
  color: var(--brand);
  background: var(--brand-soft);
}

.menu-btn {
  display: none;
}

/* 移动端抽屉 (Drawer) */
.drawer {
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--bg);
  overflow-y: auto;
  padding: 16px 20px 48px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0.25s;
  z-index: 55;
}
.drawer.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.drawer-group {
  border-bottom: 1px solid var(--line);
  padding: 10px 0;
}
.drawer-group summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 700;
  font-size: 15.5px;
  color: var(--text);
  cursor: pointer;
  list-style: none;
  padding: 8px 0;
}
.drawer-group summary::-webkit-details-marker { display: none; }
.drawer-group[open] summary svg {
  transform: rotate(180deg);
}
.drawer-sub-links {
  padding: 6px 0 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.drawer-sub-links a {
  font-size: 14px;
  color: var(--text-2);
  text-decoration: none;
  padding: 4px 0;
}
.drawer-sub-links a.drawer-main-entry {
  color: var(--brand);
  font-weight: 700;
}
.drawer-single-link {
  border-bottom: 1px solid var(--line);
  padding: 12px 0;
}
.drawer-single-link a {
  font-weight: 700;
  font-size: 15.5px;
  color: var(--text);
  text-decoration: none;
}

/* 全局搜索弹窗 (Search Modal) */
.sm {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 10vh 16px 16px;
  background: rgba(10, 14, 26, 0.45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s;
}
.sm.open {
  opacity: 1;
  visibility: visible;
}
.sm-box {
  width: 600px;
  max-width: 100%;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.sm-in {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
}
.sm-in svg {
  width: 20px;
  height: 20px;
  color: var(--text-3);
  flex-shrink: 0;
}
.sm-in input {
  flex: 1;
  border: none;
  background: transparent;
  font-size: 16px;
  color: var(--text);
  outline: none;
}
.sm-in kbd {
  font-size: 12px;
  padding: 2px 6px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--text-3);
}
.sm-res {
  max-height: 55vh;
  overflow-y: auto;
  padding: 8px;
}
.sm-res a {
  display: block;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: background-color 0.15s ease;
}
.sm-res a:hover,
.sm-res a.sel {
  background-color: var(--brand-soft);
}
.sm-res a .sm-res-title {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--text);
}
.sm-res a.sel .sm-res-title {
  color: var(--brand);
}
.sm-res a mark {
  background-color: rgba(42, 84, 255, 0.18);
  color: var(--brand);
  border-radius: 2px;
  padding: 0 2px;
}
.sm-res a .sm-res-desc {
  font-size: 12.5px;
  color: var(--text-3);
  margin-top: 3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sm-res a .sm-res-sec {
  font-weight: 700;
  color: var(--brand);
}
.sm-empty {
  padding: 24px;
  text-align: center;
  color: var(--text-3);
  font-size: 14px;
}

/* 回到顶部悬浮按钮 */
.totop {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 50;
  width: 44px;
  height: 44px;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: 50%;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
}
.totop.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.totop:hover {
  border-color: var(--brand);
  color: var(--brand);
  transform: translateY(-2px);
}

/* 面包屑导航 (.crumbs) */
.crumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
  font-size: 13.5px;
  color: var(--text-3);
}
.crumbs li:not(:last-child)::after {
  content: "/";
  margin-left: 8px;
  color: var(--line-strong);
}
.crumbs a {
  color: var(--text-3);
}
.crumbs a:hover {
  color: var(--brand);
}
.crumbs [aria-current="page"] {
  color: var(--text-main);
  font-weight: 600;
}

/* 知识型文章两栏网格布局 (.wrap.layout) */
.layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 56px;
  padding: 32px 24px 72px;
}

/* 文章头部与元信息 */
.article-header {
  margin-bottom: 24px;
}
.article-header h1 {
  font-size: 2.15rem;
  line-height: 1.3;
  margin: 0 0 12px;
}
.article-header .desc {
  font-size: 1.05rem;
  color: var(--text-2);
  line-height: 1.65;
  margin-bottom: 16px;
}
.meta-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
  color: var(--text-3);
  padding: 10px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.meta-row span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.meta-row svg { width: 14px; height: 14px; }

/* 要点速览框 (.summary) */
.summary {
  background: var(--bg-soft);
  border-left: 4px solid var(--brand);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 16px 20px;
  margin-bottom: 28px;
}
.summary b {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--brand);
  font-size: 15px;
  margin-bottom: 6px;
}
.summary b svg { width: 16px; height: 16px; }
.summary p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--text-main);
}

/* 正文深度排版 (.prose) */
.prose {
  font-size: 16.5px;
  line-height: 1.85;
  color: var(--text);
  word-wrap: break-word;
}
.prose h2 {
  font-size: 1.5rem;
  margin-top: 2.2em;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}
.prose h3 {
  font-size: 1.25rem;
  margin-top: 1.8em;
}
.prose ul, .prose ol {
  padding-left: 24px;
}
.prose li {
  margin-bottom: 8px;
}
.prose pre {
  position: relative;
  background: #111827;
  color: #e5e7eb;
  padding: 16px 20px;
  border-radius: var(--radius-md);
  overflow-x: auto;
  font-size: 14px;
  line-height: 1.6;
  margin: 20px 0;
}
.prose pre code {
  color: inherit;
  background: transparent;
  padding: 0;
}
.btn-code-copy {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #d1d5db;
  border-radius: 6px;
  padding: 4px 8px;
  font-size: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.btn-code-copy:hover {
  background: rgba(255, 255, 255, 0.24);
  color: #ffffff;
}
.btn-code-copy.copied {
  background: var(--ok);
  color: #ffffff;
}

/* 文章侧栏与目录 (.aside & .toc) */
.aside {
  position: relative;
}
.aside-sticky {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.toc {
  border-left: 2px solid var(--line);
  padding-left: 8px;
  max-height: 55vh;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.toc-title {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-3);
  margin: 0 0 6px 8px;
}
.toc a {
  font-size: 13.5px;
  color: var(--text-2);
  padding: 4px 8px;
  border-radius: 6px;
  line-height: 1.4;
  text-decoration: none;
  transition: all 0.15s ease;
}
.toc a.toc-h3 {
  padding-left: 18px;
  font-size: 12.5px;
  color: var(--text-3);
}
.toc a:hover,
.toc a.active {
  color: var(--brand);
  background: var(--brand-soft);
  font-weight: 600;
}

/* 侧栏微型推荐卡片 (.mini) */
.mini {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 16px;
  box-shadow: var(--shadow-sm);
}
.mini-top {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}
.mini-top .avatar {
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #ffffff;
  font-weight: 800;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
}
.mini-top h4 {
  margin: 0;
  font-size: 14.5px;
}
.mini-top p {
  margin: 0;
  font-size: 11.5px;
  color: var(--brand);
  font-weight: 700;
}
.mini .mini-desc {
  font-size: 12.5px;
  color: var(--text-2);
  line-height: 1.5;
  margin-bottom: 12px;
}
.mini .coupon-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-soft);
  border: 1px dashed var(--line-strong);
  border-radius: 6px;
  padding: 6px 10px;
  font-size: 12px;
  margin-bottom: 10px;
}

/* 轻量 Toast 提示 */
.toast {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: rgba(15, 23, 42, 0.92);
  color: #ffffff;
  padding: 10px 20px;
  border-radius: 24px;
  font-size: 14px;
  font-weight: 600;
  box-shadow: var(--shadow-lg);
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
  z-index: 100;
}
.toast.show {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

/* 首页 Hero 首屏设计 (.hero) */
.hero {
  position: relative;
  padding: 56px 0 48px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 40px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 48px;
  align-items: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--brand);
  background: var(--brand-soft);
  padding: 4px 10px;
  border-radius: 20px;
  margin-bottom: 14px;
}
.hero-title {
  font-size: 2.45rem;
  line-height: 1.25;
  margin: 0 0 16px;
  letter-spacing: -0.02em;
}
.hero-title .grad {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-2) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-desc {
  font-size: 1.08rem;
  color: var(--text-2);
  line-height: 1.7;
  margin-bottom: 24px;
}
.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}
.hero-trust {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
  color: var(--text-3);
}
.hero-trust span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.hero-trust svg { width: 15px; height: 15px; color: var(--ok); }

/* 首页主推大卡片 (.pick) */
.pick {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow);
}
.pick-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.pick-badge {
  font-size: 12px;
  font-weight: 700;
  color: #065f46;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  padding: 3px 8px;
  border-radius: 6px;
}
.pick-name {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--color-heading);
}
.pick-price {
  font-size: 14.5px;
  font-weight: 700;
  color: #059669;
  margin-bottom: 12px;
}
.pick-features {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--text-2);
}
.pick-features li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 4px;
}
.pick-features li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: #059669;
  font-size: 12px;
}

/* 优惠码一键复制按钮 */
.coupon-tag-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--bg-soft);
  border: 1px dashed var(--line-strong);
  border-radius: 6px;
  padding: 4px 8px;
  cursor: pointer;
  font-size: 13px;
  color: var(--text-main);
  transition: all 0.2s ease;
}
.coupon-tag-btn:hover {
  border-color: var(--brand);
  background: var(--brand-soft);
  color: var(--brand);
}
.coupon-tag-btn.done {
  background: #dcfce7;
  border-color: #86efac;
  color: #166534;
}

/* 首页核心六大场景入口卡片 (.sec-cards) */
.sec-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px;
  margin: 24px 0 48px;
}
.scene-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 20px;
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
}
.scene-card:hover {
  transform: translateY(-2px);
  border-color: var(--brand);
  box-shadow: var(--shadow);
}
.scene-card-icon {
  font-size: 24px;
  margin-bottom: 12px;
}
.scene-card h3 {
  margin: 0 0 8px;
  font-size: 1.15rem;
}
.scene-card p {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.6;
  flex: 1;
  margin-bottom: 12px;
}
.scene-card .card-link {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--brand);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* 页脚样式 (.ft) */
.ft {
  border-top: 1px solid var(--line);
  background: var(--bg-soft);
  padding: 64px 0 32px;
  font-size: 14px;
  color: var(--text-2);
}
.ft-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr;
  gap: 36px;
  margin-bottom: 48px;
}
.ft-brand-col .ft-desc {
  font-size: 13.5px;
  line-height: 1.6;
  margin-top: 14px;
  color: var(--text-3);
}
.ft-brand-col .ft-disclaimer {
  font-size: 12px;
  color: var(--text-3);
  margin-top: 10px;
}
.ft-h {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--color-heading);
  margin: 0 0 16px;
}
.ft ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.ft ul li {
  margin-bottom: 10px;
}
.ft ul a {
  color: var(--text-2);
  text-decoration: none;
  font-size: 13.5px;
  transition: color 0.15s ease;
}
.ft ul a:hover {
  color: var(--brand);
}
.ft-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 12.5px;
  color: var(--text-3);
}
.ft-bottom a {
  color: var(--brand);
}

/* 兼容并美化现有业务卡片 (.featured-cards-grid, .top4-airport-card 等) */
.featured-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px;
  margin: 20px 0;
}
.featured-airport-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 20px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.2s ease;
}
.featured-airport-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.featured-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 10px;
}
.featured-card-top h3 {
  margin: 2px 0 0;
  font-size: 1.15rem;
}
.featured-pill {
  font-size: 11.5px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
  border: 1px solid transparent;
}
.featured-price-tag {
  font-weight: 700;
  font-size: 13.5px;
  color: #059669;
  margin-bottom: 8px;
}
.featured-specs-list {
  list-style: none;
  padding: 0;
  margin: 0 0 14px;
  font-size: 13px;
  line-height: 1.6;
}
.featured-card-footer {
  padding-top: 12px;
  border-top: 1px dashed var(--line);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.btn-cta-official {
  display: block;
  text-align: center;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-2) 100%);
  color: #ffffff;
  font-size: 13.5px;
  font-weight: 700;
  padding: 8px 14px;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.2s ease;
}
.btn-cta-official:hover {
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(42, 84, 255, 0.3);
}

/* 响应式断点适配 */

/* 导航横向空间自适应优化 (防止在中等宽度笔记本上文字折行竖排) */
@media (max-width: 1360px) {
  .search-btn span, .search-btn kbd { display: none !important; }
  .search-btn { width: 34px; height: 34px; padding: 0 !important; justify-content: center; border-radius: 50% !important; min-width: 0 !important; }
  .hd-actions .btn-brand { display: none !important; }
  .nav-link { padding: 4px 6px; font-size: 13px; gap: 2px; }
  .logo { font-size: 14px; }
  .logo small { display: none; }
}

@media (max-width: 1024px) {
  .nav { display: none; }
  .menu-btn { display: inline-flex; }
  .search-btn span, .search-btn kbd { display: none; }
  .search-btn { padding: 8px; border-radius: 50%; }
  
  .layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .aside-sticky {
    position: static;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .ft-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  .layout { padding: 20px 16px 48px; }
  .hero-title { font-size: 1.85rem; }
  .ft-grid { grid-template-columns: 1fr; }
  .ft-bottom { flex-direction: column; align-items: flex-start; }
}


/* ==========================================================================
   套餐查询、多维筛选、对比与费用计算器系统专属样式
   ========================================================================== */
.plan-sys-section {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: var(--space-card-padding);
  margin-top: var(--space-section);
  margin-bottom: var(--space-section);
  box-shadow: var(--shadow-sm);
}

.plan-tab-nav {
  display: flex;
  gap: 0.5rem;
  border-bottom: 2px solid var(--border-subtle);
  padding-bottom: 0.75rem;
  margin-bottom: 1.5rem;
  overflow-x: auto;
}

.plan-tab-btn {
  padding: 0.6rem 1.25rem;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  background-color: var(--bg-card-alt);
  color: var(--text-main);
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.plan-tab-btn:hover {
  background-color: #e2e8f0;
  color: var(--color-link);
}

.plan-tab-btn.active {
  background-color: var(--color-link);
  color: #ffffff;
  border-color: var(--color-link);
  box-shadow: 0 2px 4px rgba(13, 148, 136, 0.25);
}

.tool-panel {
  display: none;
}

.tool-panel.active {
  display: block;
}

/* 筛选工具栏 */
.filter-toolbar-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  background: var(--bg-card-alt);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 1.25rem;
  margin-bottom: 1.25rem;
}

.filter-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.filter-group label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-heading);
}

.filter-input, .filter-select {
  padding: 0.45rem 0.75rem;
  font-size: 0.9rem;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  background: #ffffff;
  color: var(--text-main);
  outline: none;
}

.filter-input:focus, .filter-select:focus {
  border-color: var(--color-link);
  box-shadow: 0 0 0 2px rgba(13, 148, 136, 0.15);
}

.filter-result-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* 套餐卡片网格 */
.plan-cards-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
  gap: 1.25rem;
}

.plan-mini-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
  transition: transform 0.15s ease, border-color 0.15s ease;
  position: relative;
}

.plan-mini-card:hover {
  border-color: #0d9488;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.plan-mini-card.is-selected-for-compare {
  border: 2px solid #0d9488;
  background-color: #f0fdfa;
}

.plan-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 0.5rem;
}

.plan-airport-badge {
  font-size: 0.75rem;
  font-weight: 700;
  color: #059669;
  background: #ecfdf5;
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
}

.plan-price-block {
  margin: 0.5rem 0;
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
}

.plan-actual-price {
  font-size: 1.35rem;
  font-weight: 800;
  color: #0f172a;
}

.plan-cycle-tag {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.plan-monthly-equiv {
  font-size: 0.82rem;
  color: #059669;
  background: #f0fdf4;
  padding: 0.15rem 0.45rem;
  border-radius: 3px;
  display: inline-block;
  margin-bottom: 0.5rem;
}

.plan-features-list {
  list-style: none;
  font-size: 0.85rem;
  color: var(--text-main);
  margin: 0.6rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  padding: 0;
}

.plan-features-list li {
  margin-bottom: 0;
  line-height: 1.45;
}

.plan-card-footer {
  margin-top: 0.85rem;
  padding-top: 0.75rem;
  border-top: 1px dashed var(--border-subtle);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
}

.btn-compare-toggle {
  font-size: 0.82rem;
  padding: 0.35rem 0.65rem;
  border-radius: 4px;
  border: 1px solid var(--border-color);
  background: #ffffff;
  color: var(--text-main);
  cursor: pointer;
  transition: all 0.15s ease;
}

.btn-compare-toggle:hover {
  background: #f1f5f9;
  border-color: #94a3b8;
}

.btn-compare-toggle.selected {
  background: #0d9488;
  color: #ffffff;
  border-color: #0d9488;
}

/* 底部悬浮对比栏 */
.compare-tray-float {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(30, 27, 75, 0.95);
  backdrop-filter: blur(8px);
  color: #ffffff;
  padding: 0.75rem 1.5rem;
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.2);
  display: none;
  align-items: center;
  justify-content: space-between;
  z-index: 999;
}

.compare-tray-float.active {
  display: flex;
}

.compare-tray-items {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  flex-wrap: wrap;
}

.compare-chip {
  background: rgba(255, 255, 255, 0.15);
  padding: 0.25rem 0.6rem;
  border-radius: 20px;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.compare-chip-remove {
  cursor: pointer;
  font-weight: 800;
  color: #fca5a5;
}

/* 对比模态弹窗 */
.compare-modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}

.compare-modal-backdrop.active {
  display: flex;
}

.compare-modal-window {
  background: #ffffff;
  border-radius: var(--radius-md);
  width: 100%;
  max-width: 960px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
}

.compare-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 0.75rem;
}

.compare-modal-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-muted);
}

/* 计算器表单与输出 */
.calc-wrapper-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .calc-wrapper-grid {
    grid-template-columns: 1.1fr 1fr;
  }
}

.calc-output-card {
  background: var(--bg-card-alt);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.calc-price-highlight {
  font-size: 1.85rem;
  font-weight: 800;
  color: #0d9488;
  margin: 0.4rem 0;
}

/* 超窄屏极端适配 (320px - 360px，如 iPhone SE 1代) */


/* ==========================================================================
   全站网格与表格强化：清晰格子线、表头与单元格规范
   ========================================================================== */
table, .plans-table, .audit-spec-table, .markdown-body table, .article-content table {
  width: 100%;
  border-collapse: collapse !important;
  margin: 1.5rem 0;
  border: 1px solid #cbd5e1 !important;
  background-color: #ffffff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

table th, table td,
.plans-table th, .plans-table td,
.audit-spec-table th, .audit-spec-table td,
.markdown-body table th, .markdown-body table td,
.article-content table th, .article-content table td {
  border: 1px solid #cbd5e1 !important;
  padding: 11px 15px;
  text-align: left;
  font-size: 0.92rem;
  line-height: 1.5;
}

table th,
.plans-table th,
.audit-spec-table th,
.markdown-body table th,
.article-content table th {
  background-color: #f1f5f9 !important;
  color: #1e293b !important;
  font-weight: 700;
  border-bottom: 2px solid #94a3b8 !important;
  white-space: nowrap;
}

table tbody tr:nth-child(even),
.plans-table tbody tr:nth-child(even),
.audit-spec-table tbody tr:nth-child(even),
.markdown-body table tbody tr:nth-child(even),
.article-content table tbody tr:nth-child(even) {
  background-color: #f8fafc;
}

table tbody tr:hover,
.plans-table tbody tr:hover,
.audit-spec-table tbody tr:hover,
.markdown-body table tbody tr:hover,
.article-content table tbody tr:hover {
  background-color: #f0fdfa;
}

/* 深色模式下的表格格子线 */
[data-theme="dark"] table,
[data-theme="dark"] .plans-table,
[data-theme="dark"] .audit-spec-table,
[data-theme="dark"] .markdown-body table,
[data-theme="dark"] .article-content table {
  border-color: #334155 !important;
  background-color: #1e293b;
}

[data-theme="dark"] table th,
[data-theme="dark"] table td,
[data-theme="dark"] .plans-table th,
[data-theme="dark"] .plans-table td,
[data-theme="dark"] .audit-spec-table th,
[data-theme="dark"] .audit-spec-table td,
[data-theme="dark"] .markdown-body table th,
[data-theme="dark"] .markdown-body table td,
[data-theme="dark"] .article-content table th,
[data-theme="dark"] .article-content table td {
  border-color: #334155 !important;
  color: #e2e8f0;
}

[data-theme="dark"] table th,
[data-theme="dark"] .plans-table th,
[data-theme="dark"] .audit-spec-table th,
[data-theme="dark"] .markdown-body table th,
[data-theme="dark"] .article-content table th {
  background-color: #0f172a !important;
  border-bottom-color: #475569 !important;
}

[data-theme="dark"] table tbody tr:nth-child(even),
[data-theme="dark"] .plans-table tbody tr:nth-child(even),
[data-theme="dark"] .audit-spec-table tbody tr:nth-child(even),
[data-theme="dark"] .markdown-body table tbody tr:nth-child(even),
[data-theme="dark"] .article-content table tbody tr:nth-child(even) {
  background-color: #172033;
}


  .featured-airport-card {
    padding: var(--space-card-padding-mobile);
  }
}

/* ==========================================================================
   套餐查询、多维筛选、对比与费用计算器系统专属样式
   ========================================================================== */
.plan-sys-section {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: var(--space-card-padding);
  margin-top: var(--space-section);
  margin-bottom: var(--space-section);
  box-shadow: var(--shadow-sm);
}

.plan-tab-nav {
  display: flex;
  gap: 0.5rem;
  border-bottom: 2px solid var(--border-subtle);
  padding-bottom: 0.75rem;
  margin-bottom: 1.5rem;
  overflow-x: auto;
}

.plan-tab-btn {
  padding: 0.6rem 1.25rem;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  background-color: var(--bg-card-alt);
  color: var(--text-main);
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.plan-tab-btn:hover {
  background-color: #e2e8f0;
  color: var(--color-link);
}

.plan-tab-btn.active {
  background-color: var(--color-link);
  color: #ffffff;
  border-color: var(--color-link);
  box-shadow: 0 2px 4px rgba(13, 148, 136, 0.25);
}

.tool-panel {
  display: none;
}

.tool-panel.active {
  display: block;
}

/* 筛选工具栏 */
.filter-toolbar-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  background: var(--bg-card-alt);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 1.25rem;
  margin-bottom: 1.25rem;
}

.filter-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.filter-group label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-heading);
}

.filter-input, .filter-select {
  padding: 0.45rem 0.75rem;
  font-size: 0.9rem;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  background: #ffffff;
  color: var(--text-main);
  outline: none;
}

.filter-input:focus, .filter-select:focus {
  border-color: var(--color-link);
  box-shadow: 0 0 0 2px rgba(13, 148, 136, 0.15);
}

.filter-result-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* 套餐卡片网格 */
.plan-cards-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
  gap: 1.25rem;
}

.plan-mini-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
  transition: transform 0.15s ease, border-color 0.15s ease;
  position: relative;
}

.plan-mini-card:hover {
  border-color: #0d9488;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.plan-mini-card.is-selected-for-compare {
  border: 2px solid #0d9488;
  background-color: #f0fdfa;
}

.plan-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 0.5rem;
}

.plan-airport-badge {
  font-size: 0.75rem;
  font-weight: 700;
  color: #059669;
  background: #ecfdf5;
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
}

.plan-price-block {
  margin: 0.5rem 0;
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
}

.plan-actual-price {
  font-size: 1.35rem;
  font-weight: 800;
  color: #0f172a;
}

.plan-cycle-tag {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.plan-monthly-equiv {
  font-size: 0.82rem;
  color: #059669;
  background: #f0fdf4;
  padding: 0.15rem 0.45rem;
  border-radius: 3px;
  display: inline-block;
  margin-bottom: 0.5rem;
}

.plan-features-list {
  list-style: none;
  font-size: 0.85rem;
  color: var(--text-main);
  margin: 0.6rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  padding: 0;
}

.plan-features-list li {
  margin-bottom: 0;
  line-height: 1.45;
}

.plan-card-footer {
  margin-top: 0.85rem;
  padding-top: 0.75rem;
  border-top: 1px dashed var(--border-subtle);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
}

.btn-compare-toggle {
  font-size: 0.82rem;
  padding: 0.35rem 0.65rem;
  border-radius: 4px;
  border: 1px solid var(--border-color);
  background: #ffffff;
  color: var(--text-main);
  cursor: pointer;
  transition: all 0.15s ease;
}

.btn-compare-toggle:hover {
  background: #f1f5f9;
  border-color: #94a3b8;
}

.btn-compare-toggle.selected {
  background: #0d9488;
  color: #ffffff;
  border-color: #0d9488;
}

/* 底部悬浮对比栏 */
.compare-tray-float {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(30, 27, 75, 0.95);
  backdrop-filter: blur(8px);
  color: #ffffff;
  padding: 0.75rem 1.5rem;
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.2);
  display: none;
  align-items: center;
  justify-content: space-between;
  z-index: 999;
}

.compare-tray-float.active {
  display: flex;
}

.compare-tray-items {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  flex-wrap: wrap;
}

.compare-chip {
  background: rgba(255, 255, 255, 0.15);
  padding: 0.25rem 0.6rem;
  border-radius: 20px;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.compare-chip-remove {
  cursor: pointer;
  font-weight: 800;
  color: #fca5a5;
}

/* 对比模态弹窗 */
.compare-modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}

.compare-modal-backdrop.active {
  display: flex;
}

.compare-modal-window {
  background: #ffffff;
  border-radius: var(--radius-md);
  width: 100%;
  max-width: 960px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
}

.compare-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 0.75rem;
}

.compare-modal-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-muted);
}

/* 计算器表单与输出 */
.calc-wrapper-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .calc-wrapper-grid {
    grid-template-columns: 1.1fr 1fr;
  }
}

.calc-output-card {
  background: var(--bg-card-alt);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.calc-price-highlight {
  font-size: 1.85rem;
  font-weight: 800;
  color: #0d9488;
  margin: 0.4rem 0;
}

/* 超窄屏极端适配 (320px - 360px，如 iPhone SE 1代) */

.client-filter-box {
  background: var(--bg-card-alt);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 1.25rem;
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.system-filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

.sys-pill-btn {
  padding: 0.4rem 0.85rem;
  font-size: 0.88rem;
  font-weight: 600;
  border-radius: 20px;
  border: 1px solid var(--border-color);
  background: #ffffff;
  color: var(--text-main);
  cursor: pointer;
  transition: all 0.15s ease;
}

.sys-pill-btn:hover {
  border-color: var(--color-link);
  color: var(--color-link);
}

.sys-pill-btn.active {
  background: var(--color-link);
  color: #ffffff;
  border-color: var(--color-link);
  box-shadow: 0 2px 6px rgba(13, 148, 136, 0.25);
}

.client-cards-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: var(--space-section);
}

.client-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.client-card:hover {
  border-color: #94a3b8;
  box-shadow: var(--shadow-md);
}

.client-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 0.75rem;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 0.75rem;
  margin-bottom: 1rem;
}

.client-card-title {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  margin: 0;
  font-size: 1.25rem;
  color: var(--color-heading);
}

.client-num-tag {
  font-family: var(--font-mono);
  font-size: 0.88rem;
  color: var(--color-link);
  font-weight: 800;
}

.client-meta-dl {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0.6rem 1rem;
  font-size: 0.88rem;
  background: var(--bg-card-alt);
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
  margin-bottom: 1rem;
}

.client-meta-dl dt {
  color: var(--text-muted);
  font-weight: 600;
}

.client-meta-dl dd {
  color: var(--text-main);
  margin-bottom: 0.25rem;
}

.client-downloads-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.client-dl-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  background: #f8fafc;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
}

.client-dl-badge-platform {
  font-size: 0.78rem;
  font-weight: 700;
  color: #1e1b4b;
  background: #e2e8f0;
  padding: 0.15rem 0.5rem;
  border-radius: 3px;
}

.client-dl-badge-type {
  font-size: 0.75rem;
  color: #0369a1;
  background: #e0f2fe;
  padding: 0.15rem 0.45rem;
  border-radius: 3px;
  font-weight: 600;
}

.btn-client-dl {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 0.4rem 0.85rem;
  border-radius: 4px;
  text-decoration: none !important;
  transition: all 0.15s ease;
}

.btn-dl-direct {
  background: #0d9488;
  color: #ffffff !important;
}

.btn-dl-direct:hover {
  background: #0f766e;
}

.btn-dl-release {
  background: #ffffff;
  color: #1e1b4b !important;
  border: 1px solid var(--border-color);
}

.btn-dl-release:hover {
  background: #f1f5f9;
  border-color: #94a3b8;
}

.btn-dl-store {
  background: #0284c7;
  color: #ffffff !important;
}

.btn-dl-store:hover {
  background: #0369a1;
}

/* \u8d85\u7a84\u5c4f\u6781\u7aef\u9002\u914d (320px - 360px\uff0c\u5982 iPhone SE 1\u4ee3) */", "Target": "/* \u8d85\u7a84\u5c4f\u6781\u7aef\u9002\u914d (320px - 360px\uff0c\u5982 iPhone SE 1\u4ee3) */"}}]}

/* ==========================================================================
   28 家全部机场档案列表卡片（图2：明确分界与独立容器规范）
   ========================================================================== */
.airport-list {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin: 32px 0;
}

.airport-card {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 14px;
  padding: 24px;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  border-left: 6px solid #2563eb;
  position: relative;
  overflow: hidden;
}

.airport-card:hover {
  border-color: #94a3b8;
  box-shadow: 0 12px 28px -4px rgba(15, 23, 42, 0.1);
  transform: translateY(-2px);
}

.airport-card.is-featured-entry {
  border-left-color: #059669;
  background: linear-gradient(180deg, #ffffff 0%, #f0fdf4 100%);
  border-color: #a7f3d0;
}

.airport-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding-bottom: 16px;
  margin-bottom: 18px;
  border-bottom: 1px solid #e2e8f0;
}

.airport-card-header h3 {
  margin: 0;
  font-size: 1.3rem;
  font-weight: 700;
  color: #0f172a;
  display: flex;
  align-items: center;
  gap: 10px;
}

.airport-grid-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 860px) {
  .airport-grid-row {
    grid-template-columns: 1.05fr 1.25fr;
    gap: 24px;
  }
}

.airport-col-left {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.audit-data-dl {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 8px 12px;
  font-size: 0.9rem;
  line-height: 1.6;
  margin: 0;
}

.audit-data-dl dt {
  font-weight: 700;
  color: #475569;
}

.audit-data-dl dd {
  margin: 0;
  color: #1e293b;
}

.airport-col-right {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.audit-detail-block {
  font-size: 0.92rem;
  line-height: 1.7;
  color: #334155;
}

.audit-detail-block p {
  margin: 0 0 10px;
}

/* 深色模式下的机场卡片 */
[data-theme="dark"] .airport-card {
  background: #1e293b;
  border-color: #334155;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}
[data-theme="dark"] .airport-card.is-featured-entry {
  background: linear-gradient(180deg, #1e293b 0%, #132e27 100%);
  border-color: #065f46;
}
[data-theme="dark"] .airport-card-header {
  border-bottom-color: #334155;
}
[data-theme="dark"] .airport-card-header h3 {
  color: #f1f5f9;
}
[data-theme="dark"] .airport-col-left {
  background: #0f172a;
  border-color: #334155;
}
[data-theme="dark"] .audit-data-dl dt {
  color: #94a3b8;
}
[data-theme="dark"] .audit-data-dl dd {
  color: #e2e8f0;
}
[data-theme="dark"] .audit-detail-block {
  color: #cbd5e1;
}

/* ==========================================================================
   FAQ 常见问答卡片（图3：分段清晰、结构化排版规范）
   ========================================================================== */
.faq-block-expanded {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  padding: 22px 26px;
  margin-bottom: 24px;
  box-shadow: 0 1px 4px rgba(15, 23, 42, 0.04);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.faq-block-expanded:hover {
  border-color: #94a3b8;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.06);
}

.faq-block-expanded h3 {
  margin: 0 0 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid #f1f5f9;
  font-size: 1.18rem;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.5;
}

.faq-answer-content {
  font-size: 0.95rem;
  color: #334155;
  line-height: 1.8;
}

.faq-answer-content p {
  margin: 0 0 14px;
}

.faq-answer-content ul,
.faq-answer-content ol {
  margin: 10px 0 16px 22px;
  padding: 0;
  line-height: 1.85;
}

.faq-answer-content li {
  margin-bottom: 8px;
}

.faq-point-box {
  background: #f8fafc;
  border-left: 4px solid #0d9488;
  border-radius: 6px;
  padding: 12px 16px;
  margin: 12px 0 16px;
  font-size: 0.92rem;
  line-height: 1.7;
}

.faq-tip-link {
  background-color: #f0fdfa;
  border: 1px solid #ccfbf1;
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 0.9rem;
  margin-top: 14px;
  color: #0f766e;
}

/* 深色模式下的 FAQ 卡片 */
[data-theme="dark"] .faq-block-expanded {
  background: #1e293b;
  border-color: #334155;
}
[data-theme="dark"] .faq-block-expanded h3 {
  color: #f1f5f9;
  border-bottom-color: #334155;
}
[data-theme="dark"] .faq-answer-content {
  color: #cbd5e1;
}
[data-theme="dark"] .faq-point-box {
  background: #0f172a;
  border-left-color: #14b8a6;
  color: #e2e8f0;
}
[data-theme="dark"] .faq-tip-link {
  background: #132e27;
  border-color: #065f46;
  color: #5eead4;
}


/* ==========================================================================
   全站动效系统：弥散光斑、主标题词组弹性入场、滚动弹跳 (Spring Bounce)
   ========================================================================== */

/* 1. 首页背景弥散光斑 (缓慢漂浮，科技感呼吸氛围) */
.ambient-glow-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 680px;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.ambient-glow-blue {
  position: absolute;
  top: -80px;
  left: 10%;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(53, 109, 255, 0.12) 0%, rgba(53, 109, 255, 0) 70%);
  filter: blur(60px);
  animation: glowFloat1 18s ease-in-out infinite alternate;
}

.ambient-glow-cyan {
  position: absolute;
  top: 60px;
  right: 12%;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(22, 184, 200, 0.10) 0%, rgba(22, 184, 200, 0) 70%);
  filter: blur(55px);
  animation: glowFloat2 22s ease-in-out infinite alternate;
}

@keyframes glowFloat1 {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(40px, 30px) scale(1.08); }
  100% { transform: translate(-30px, 50px) scale(0.96); }
}

@keyframes glowFloat2 {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-50px, 40px) scale(1.06); }
  100% { transform: translate(30px, -20px) scale(0.95); }
}

/* 2. 首页主标题词组入场动画（向上浮现 + 轻微弹性回落，错开60-90ms，总时长800ms内） */
.title-phrase {
  display: inline-block;
  opacity: 0;
  transform: translateY(22px) scale(0.98);
  animation: titleBounceIn 0.65s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.title-phrase-1 {
  animation-delay: 0.06s;
}

.title-phrase-2 {
  animation-delay: 0.15s;
}

@keyframes titleBounceIn {
  0% {
    opacity: 0;
    transform: translateY(22px) scale(0.98);
  }
  70% {
    opacity: 1;
    transform: translateY(-3px) scale(1.006);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* 蓝青渐变关键词与一次性光泽扫过 */
.hero-title .grad {
  background: linear-gradient(135deg, #356DFF 0%, #16B8C8 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  position: relative;
  display: inline-block;
}

.hero-title .grad::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(105deg, transparent 20%, rgba(255, 255, 255, 0.65) 50%, transparent 80%);
  transform: translateX(-150%) skewX(-25deg);
  pointer-events: none;
  animation: sweepShine 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) 0.72s 1 forwards;
}

@keyframes sweepShine {
  0% { transform: translateX(-150%) skewX(-25deg); opacity: 0; }
  30% { opacity: 1; }
  100% { transform: translateX(180%) skewX(-25deg); opacity: 0; }
}

/* 3. 模块标题与文章二级标题（h2）视口弹入与左侧短线展开 */
.section-heading-animated,
.prose h2 {
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
}

.section-heading-animated::before,
.prose h2::before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 0.9em;
  background: linear-gradient(180deg, #356DFF, #16B8C8);
  border-radius: 2px;
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.48s cubic-bezier(0.34, 1.56, 0.64, 1);
  flex-shrink: 0;
}

.section-heading-animated.is-inview::before,
.prose h2.is-inview::before {
  transform: scaleY(1);
}

/* 4. 滚动弹跳入场系统 (Spring Bounce) */
.scroll-spring {
  opacity: 0;
  transform: translateY(24px) scale(0.97);
  will-change: transform, opacity;
}

.scroll-spring.spring-in {
  animation: springBounce 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes springBounce {
  0% {
    opacity: 0;
    transform: translateY(24px) scale(0.97);
  }
  70% {
    opacity: 1;
    transform: translateY(-4px) scale(1.008);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* 入场完成后移除强制动画，允许自身平滑响应 hover 效果，互不干扰 */
.scroll-spring.spring-done {
  opacity: 1 !important;
  transform: none !important;
  animation: none !important;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease !important;
}

/* 5. 导航滚动吸顶微缩与毛玻璃边框 */
.hd {
  transition: height 0.25s ease, background-color 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.hd.scrolled {
  height: var(--header-h-scrolled) !important;
  background: rgba(246, 248, 252, 0.92) !important;
  backdrop-filter: blur(16px) saturate(180%) !important;
  border-bottom: 1px solid var(--line) !important;
  box-shadow: 0 4px 20px rgba(23, 32, 51, 0.06) !important;
}

[data-theme="dark"] .hd.scrolled {
  background: rgba(16, 20, 28, 0.9) !important;
}

/* 导航项悬停下划线从左至右展开 */
.nav-link {
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 8px;
  right: 8px;
  height: 2px;
  background: linear-gradient(90deg, #356DFF, #16B8C8);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.22s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.nav-link:hover::after,
.nav-link.active::after {
  transform: scaleX(1);
}

/* 下拉菜单淡入和小幅位移 */
.mega {
  transition: opacity 0.22s var(--ease), transform 0.22s var(--ease-spring), visibility 0.22s !important;
}

/* 6. 文章卡片统一规范 (16:10 比例、悬停放大 1.025倍、标题下划线、按压反馈) */
.post-card {
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-card);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  position: relative;
  text-decoration: none;
  color: inherit;
}

.post-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: #CBD5E1;
}

.post-card:active {
  transform: translateY(-1px) scale(0.99);
}

.post-card-thumb {
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  position: relative;
  background: #EEF2F8;
  display: flex;
  align-items: center;
  justify-content: center;
}

.post-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.post-card:hover .post-card-thumb img {
  transform: scale(1.025);
}

.post-card-body {
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.post-card-tag {
  align-self: flex-start;
  font-size: 0.76rem;
  font-weight: 700;
  color: #356DFF;
  background: rgba(53, 109, 255, 0.08);
  padding: 3px 8px;
  border-radius: 4px;
  margin-bottom: 8px;
}

.post-card-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 8px;
  line-height: 1.45;
  position: relative;
}

.post-card-title span {
  background-image: linear-gradient(#356DFF, #356DFF);
  background-size: 0% 1.5px;
  background-repeat: no-repeat;
  background-position: left bottom;
  transition: background-size 0.25s ease;
}

.post-card:hover .post-card-title span {
  background-size: 100% 1.5px;
}

.post-card-desc {
  font-size: 0.88rem;
  color: var(--text-2);
  line-height: 1.6;
  margin-bottom: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.post-card-meta {
  margin-top: auto;
  font-size: 0.82rem;
  color: var(--text-3);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 10px;
  border-top: 1px solid var(--border-subtle);
}

/* 7. 按钮通用按压与悬停微反馈 */
.btn {
  border-radius: var(--radius-btn);
  transition: background-color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}

.btn:hover {
  box-shadow: 0 4px 12px rgba(53, 109, 255, 0.18);
}

.btn:active {
  transform: scale(0.98);
}

.btn-arrow-icon {
  display: inline-block;
  transition: transform 0.2s ease;
}

.btn:hover .btn-arrow-icon {
  transform: translateX(3px);
}

/* 8. 正文排版与图片灯箱 (Lightbox) 规范 */
.prose {
  max-width: var(--prose-max);
  font-size: 17px;
  line-height: 1.85;
  color: var(--text);
}

.prose p {
  margin: 0 0 1.5rem;
}

.prose a {
  color: var(--brand);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.15s ease;
}

.prose a:hover {
  color: var(--accent);
}

.prose img {
  border-radius: var(--radius-card);
  cursor: zoom-in;
  transition: transform 0.25s ease;
}

.prose img:hover {
  transform: scale(1.008);
}

/* 图片灯箱浮层 */
.lightbox-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(11, 14, 23, 0.88);
  backdrop-filter: blur(12px);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.lightbox-modal.active {
  display: flex;
  opacity: 1;
}

.lightbox-img {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: 12px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
  transform: scale(0.95);
  transition: transform 0.25s var(--ease-spring);
}

.lightbox-modal.active .lightbox-img {
  transform: scale(1);
}

.lightbox-close-btn {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #FFFFFF;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.18s ease;
}

.lightbox-close-btn:hover {
  background: rgba(255, 255, 255, 0.3);
}

/* 9. 减少动态偏好无障碍支持 (prefers-reduced-motion) */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .scroll-spring {
    opacity: 1 !important;
    transform: none !important;
  }
  .title-phrase {
    opacity: 1 !important;
    transform: none !important;
  }
  .hero-title .grad::after {
    display: none !important;
  }
  .ambient-glow-blue,
  .ambient-glow-cyan {
    animation: none !important;
  }
}

/* 移动端动效微调 */
@media (max-width: 640px) {
  .ambient-glow-blue {
    animation: none !important;
    width: 280px;
    height: 280px;
    top: -20px;
    left: -20px;
  }
  .ambient-glow-cyan {
    animation: none !important;
    width: 240px;
    height: 240px;
    top: 40px;
    right: -20px;
  }
  @keyframes springBounce {
    0% {
      opacity: 0;
      transform: translateY(14px) scale(0.98);
    }
    70% {
      opacity: 1;
      transform: translateY(-2px) scale(1.004);
    }
    100% {
      opacity: 1;
      transform: translateY(0) scale(1);
    }
  }
}

/* ==========================================================================
   全新视觉强化补丁：明确格子边界、分段排版清晰与高光居中
   ========================================================================== */

/* 全球云特惠居中高光横幅 */
.highlight-center-banner {
  text-align: center;
  background: #ecfdf5;
  border: 1px dashed #10b981;
  border-radius: 8px;
  padding: 8px 14px;
  font-weight: 700;
  color: #065f46;
  font-size: 0.93rem;
  line-height: 1.5;
  margin: 10px 0 14px 0;
  display: block;
}
[data-theme="dark"] .highlight-center-banner {
  background: rgba(16, 185, 129, 0.15);
  border-color: #059669;
  color: #6ee7b7;
}

/* 六大主力推荐网格 (凑齐6个、桌面3列、分界明确) */
.featured-cards-grid.six-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin: 24px 0 32px;
}
@media (max-width: 1024px) {
  .featured-cards-grid.six-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 640px) {
  .featured-cards-grid.six-grid {
    grid-template-columns: 1fr;
  }
}

.featured-airport-card {
  background: #ffffff;
  border: 1px solid #E5EAF3;
  border-radius: 16px;
  padding: 22px 20px;
  box-shadow: 0 4px 16px rgba(23, 32, 51, 0.05);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s ease, border-color 0.2s ease;
}
.featured-airport-card:hover {
  transform: translateY(-3px);
  border-color: #356DFF;
  box-shadow: 0 12px 28px rgba(53, 109, 255, 0.12);
}

/* 各主力机场鲜明分界高光顶边 */
.featured-airport-card.theme-quanqiuyun { border-top: 4px solid #10b981; }
.featured-airport-card.theme-muguang { border-top: 4px solid #f43f5e; }
.featured-airport-card.theme-feimaoyun { border-top: 4px solid #8b5cf6; }
.featured-airport-card.theme-breezenet { border-top: 4px solid #06b6d4; }
.featured-airport-card.theme-dalaoyun { border-top: 4px solid #f59e0b; }
.featured-airport-card.theme-tiziyun { border-top: 4px solid #356DFF; }

/* 85 款客户端卡片高质感格子 */
.client-card {
  background: #ffffff !important;
  border: 1px solid #E5EAF3 !important;
  border-radius: 16px !important;
  padding: 24px !important;
  box-shadow: 0 4px 16px rgba(23, 32, 51, 0.04) !important;
  margin-bottom: 20px;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s ease, border-color 0.2s ease;
}
.client-card:hover {
  transform: translateY(-3px);
  border-color: #356DFF !important;
  box-shadow: 0 12px 30px rgba(53, 109, 255, 0.1) !important;
}

/* 套餐卡片高质感格子 */
.plan-mini-card {
  background: #ffffff !important;
  border: 1px solid #E5EAF3 !important;
  border-radius: 16px !important;
  padding: 22px !important;
  box-shadow: 0 4px 16px rgba(23, 32, 51, 0.04) !important;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s ease, border-color 0.2s ease;
}
.plan-mini-card:hover {
  transform: translateY(-3px);
  border-color: #356DFF !important;
  box-shadow: 0 12px 28px rgba(53, 109, 255, 0.1) !important;
}

/* 全部 28 家机场评测卡片高质感格子 */
.airport-card {
  background: #ffffff !important;
  border: 1px solid #E5EAF3 !important;
  border-radius: 16px !important;
  padding: 24px !important;
  box-shadow: 0 4px 18px rgba(23, 32, 51, 0.04) !important;
  border-left: 6px solid #356DFF !important;
  margin-bottom: 24px;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s ease, border-color 0.2s ease;
}
.airport-card:hover {
  transform: translateY(-3px);
  border-color: #356DFF !important;
  box-shadow: 0 14px 32px rgba(53, 109, 255, 0.12) !important;
}

/* FAQ 问答卡片高质感格子 */
.faq-block-expanded {
  background: #ffffff !important;
  border: 1px solid #E5EAF3 !important;
  border-radius: 16px !important;
  padding: 24px 28px !important;
  margin-bottom: 24px !important;
  box-shadow: 0 4px 16px rgba(23, 32, 51, 0.04) !important;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s ease, border-color 0.2s ease;
}
.faq-block-expanded:hover {
  transform: translateY(-2px);
  border-color: #356DFF !important;
  box-shadow: 0 10px 24px rgba(53, 109, 255, 0.08) !important;
}

/* 首页分类入口卡片 */
.category-card {
  background: #ffffff;
  border: 1px solid #E5EAF3;
  border-radius: 16px;
  padding: 22px;
  box-shadow: 0 4px 16px rgba(23, 32, 51, 0.04);
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s ease, border-color 0.2s ease;
}
.category-card:hover {
  transform: translateY(-3px);
  border-color: #356DFF;
  box-shadow: 0 12px 28px rgba(53, 109, 255, 0.12);
}

/* 作者与团队介绍卡片 */
.author-card {
  background: #ffffff;
  border: 1px solid #E5EAF3;
  border-radius: 24px;
  padding: 32px;
  box-shadow: 0 6px 24px rgba(23, 32, 51, 0.05);
  margin: 48px 0;
}

/* 代码复制成功反馈类 */
.code-copy-btn.copied {
  background: #10b981 !important;
  color: #ffffff !important;
  border-color: #10b981 !important;
}

/* 顶部导航滚动收紧效果 */
.site-header.is-scrolled {
  height: 56px !important;
  background: rgba(255, 255, 255, 0.88) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  border-bottom: 1px solid #E5EAF3 !important;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.06) !important;
}
[data-theme="dark"] .site-header.is-scrolled {
  background: rgba(11, 14, 23, 0.88) !important;
  border-bottom-color: #2e374a !important;
}

/* ==========================================================================
   全局按钮可用性保障：手型光标、按压反馈与点击无死角
   ========================================================================== */
button,
[type="button"],
[type="submit"],
[type="reset"],
.btn,
.btn-brand,
.btn-ghost,
.btn-cta-official,
.coupon-tag-btn,
.tab-btn,
.plan-tab-btn,
.sys-pill-btn,
.search-btn,
.icon-btn,
.drawer-btn,
.drawer-close,
.lightbox-close,
.code-copy-btn,
.btn-code-copy {
  cursor: pointer !important;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.12s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.15s ease, filter 0.15s ease, background-color 0.15s ease, border-color 0.15s ease;
}

button:active:not(:disabled),
[type="button"]:active:not(:disabled),
.btn:active,
.btn-brand:active,
.btn-ghost:active,
.btn-cta-official:active,
.coupon-tag-btn:active,
.tab-btn:active,
.plan-tab-btn:active,
.sys-pill-btn:active {
  transform: scale(0.96) !important;
}

/* ==========================================================================
   全站内容段落清晰分段与排版呼吸感系统
   解决大段文字堆叠、行距狭窄、段落边界模糊问题
   ========================================================================== */

/* 1. 页面顶部介绍区块 (.page-intro 与 .article-header) 全面卡片化 */
.page-intro,
.article-header {
  background: #FFFFFF !important;
  border: 1px solid #E5EAF3 !important;
  border-radius: 18px !important;
  padding: 28px 32px !important;
  box-shadow: 0 4px 18px rgba(23, 32, 51, 0.04) !important;
  margin: 18px 0 28px !important;
  position: relative;
}
[data-theme="dark"] .page-intro,
[data-theme="dark"] .article-header {
  background: #131826 !important;
  border-color: #263044 !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3) !important;
}

.page-intro h1,
.article-header h1 {
  margin-top: 0 !important;
  margin-bottom: 18px !important;
  font-size: 1.85rem !important;
  line-height: 1.35 !important;
  color: var(--color-heading) !important;
  letter-spacing: -0.02em;
}

.page-intro p,
.article-header p {
  font-size: 0.96rem !important;
  line-height: 1.85 !important;
  margin-top: 0 !important;
  margin-bottom: 16px !important;
  color: #334155 !important;
}
[data-theme="dark"] .page-intro p,
[data-theme="dark"] .article-header p {
  color: #94a3b8 !important;
}
.page-intro p:last-of-type,
.article-header p:last-of-type {
  margin-bottom: 18px !important;
}

.page-intro strong,
.article-header strong {
  color: #0f172a;
}
[data-theme="dark"] .page-intro strong,
[data-theme="dark"] .article-header strong {
  color: #f1f5f9;
}

/* 2. 元数据信息栏 (.meta-bar) 胶囊化微卡片布局 */
.meta-bar {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 10px 14px !important;
  align-items: center !important;
  background: #F8FAFC !important;
  border: 1px solid #E5EAF3 !important;
  border-radius: 10px !important;
  padding: 12px 18px !important;
  font-size: 0.86rem !important;
  color: #64748B !important;
  margin-top: 18px !important;
}
[data-theme="dark"] .meta-bar {
  background: #0f1420 !important;
  border-color: #1e2638 !important;
  color: #8b99ad !important;
}

.meta-bar > span,
.meta-bar > div {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  padding: 4px 10px !important;
  background: #FFFFFF !important;
  border: 1px solid #E2E8F0 !important;
  border-radius: 6px !important;
  font-weight: 500 !important;
  line-height: 1.4 !important;
}
[data-theme="dark"] .meta-bar > span,
[data-theme="dark"] .meta-bar > div {
  background: #182030 !important;
  border-color: #2b364d !important;
  color: #cbd5e1 !important;
}

/* 3. 全局段落分段呼吸感规范 */
.site-main p,
.wrap p,
.prose p,
.article-body p,
.post-prose p,
.audit-guide-card p {
  margin-top: 0;
  margin-bottom: 1.35rem;
  line-height: 1.85;
  color: #334155;
}
[data-theme="dark"] .site-main p,
[data-theme="dark"] .wrap p,
[data-theme="dark"] .prose p,
[data-theme="dark"] .article-body p,
[data-theme="dark"] .post-prose p,
[data-theme="dark"] .audit-guide-card p {
  color: #94a3b8;
}

/* 强调文字对比度强化 */
.site-main strong,
.prose strong,
.article-body strong {
  color: #0f172a;
  font-weight: 700;
}
[data-theme="dark"] .site-main strong,
[data-theme="dark"] .prose strong,
[data-theme="dark"] .article-body strong {
  color: #f8fafc;
}

/* 4. 标题与段落间距阶梯 */
.site-main h2,
.wrap h2,
.prose h2,
.article-body h2 {
  margin-top: 2.75rem !important;
  margin-bottom: 1.15rem !important;
  font-size: 1.65rem !important;
  line-height: 1.4 !important;
  color: #0f172a !important;
  position: relative;
}
[data-theme="dark"] .site-main h2,
[data-theme="dark"] .wrap h2,
[data-theme="dark"] .prose h2,
[data-theme="dark"] .article-body h2 {
  color: #f8fafc !important;
}

.site-main h3,
.wrap h3,
.prose h3,
.article-body h3 {
  margin-top: 2rem !important;
  margin-bottom: 0.85rem !important;
  font-size: 1.28rem !important;
  line-height: 1.45 !important;
  color: #1e293b !important;
}
[data-theme="dark"] .site-main h3,
[data-theme="dark"] .wrap h3,
[data-theme="dark"] .prose h3,
[data-theme="dark"] .article-body h3 {
  color: #e2e8f0 !important;
}

/* 5. 列表分段与缩进留白 */
.site-main ul,
.site-main ol,
.prose ul,
.prose ol,
.article-body ul,
.article-body ol {
  margin: 1.25rem 0 1.5rem 1.5rem !important;
  padding: 0 !important;
}

.site-main li,
.prose li,
.article-body li {
  margin-bottom: 0.65rem !important;
  line-height: 1.8 !important;
  color: #334155 !important;
}
[data-theme="dark"] .site-main li,
[data-theme="dark"] .prose li,
[data-theme="dark"] .article-body li {
  color: #94a3b8 !important;
}

/* 6. 审核指引卡片 (.audit-guide-card) 白底高质感与分段 */
.audit-guide-card {
  background: #FFFFFF !important;
  border: 1px solid #E5EAF3 !important;
  border-radius: 16px !important;
  padding: 26px 30px !important;
  margin: 32px 0 !important;
  box-shadow: 0 4px 18px rgba(23, 32, 51, 0.04) !important;
}
[data-theme="dark"] .audit-guide-card {
  background: #131826 !important;
  border-color: #263044 !important;
}

/* 7. 六大主力前言居中区块分段 */
.featured-grid-section > div:first-child {
  max-width: 820px !important;
  margin: 0 auto 2.25rem !important;
  text-align: center !important;
}
.featured-grid-section > div:first-child p {
  font-size: 0.96rem !important;
  line-height: 1.8 !important;
  margin-top: 10px !important;
  margin-bottom: 0 !important;
}
