/* ==========================================================================
   JICHANGX · 设计系统 v3「极光流光 · Aurora Kinetic UI」
   深空曜石 + 极光青紫流光 + 磨砂玻璃拟态 + 3D微交互 + 丝滑动效
   支持一键切换「暗夜极光」与「琉璃浅色」双主题，100% 兼容全站所有组件
   ========================================================================== */

:root {
  /* 核心暗夜极光配色 (Default Dark Aurora) */
  --bg-base: #060913;
  --paper: #080d1a;
  --sheet: rgba(15, 23, 42, 0.72);
  --sheet-solid: #0f172a;
  --card: rgba(17, 25, 45, 0.75);
  --card-2: rgba(30, 41, 69, 0.65);
  --ink: #f1f5f9;
  --ink-2: #cbd5e1;
  --fg: #f1f5f9;
  --muted: #8b9bb4;
  --line: rgba(148, 163, 184, 0.16);
  --line-bright: rgba(56, 189, 248, 0.38);

  /* 霓虹极光强调色 */
  --teal: #06d6a0;
  --teal-d: #38bdf8;
  --teal-l: rgba(6, 214, 160, 0.14);
  --teal-t: rgba(6, 214, 160, 0.12);
  --violet: #8b5cf6;
  --cyan: #22d3ee;
  --pink: #ec4899;
  --amber: #f59e0b;
  --amber-t: rgba(245, 158, 11, 0.14);
  --red: #fb7185;
  --red-t: rgba(251, 113, 133, 0.14);
  --green: #34d399;
  --green-t: rgba(52, 211, 153, 0.14);
  --blue: #60a5fa;
  --blue-t: rgba(96, 165, 250, 0.14);

  /* 兼容映射 */
  --link: #38bdf8;
  --ok: var(--green);
  --warn: var(--amber);
  --danger: var(--red);
  --warn-bg: var(--amber-t);
  --ok-bg: var(--green-t);
  --danger-bg: var(--red-t);
  --info-bg: var(--teal-t);

  /* 渐变与光效 */
  --grad-primary: linear-gradient(135deg, #06d6a0 0%, #0ea5e9 55%, #8b5cf6 100%);
  --grad-text: linear-gradient(90deg, #5eead4, #38bdf8, #a78bfa, #f472b6, #5eead4);
  --glow-teal: 0 0 28px rgba(6, 214, 160, 0.32);
  --glow-cyan: 0 0 32px rgba(56, 189, 248, 0.28);
  --shadow-card: 0 12px 36px -8px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  --shadow-hover: 0 22px 48px -12px rgba(0, 0, 0, 0.72), 0 0 28px rgba(56, 189, 248, 0.18);

  --r: 16px;
  --max: 1200px;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --font: "Plus Jakarta Sans", "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei", "Noto Sans SC", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --ease-spring: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* 琉璃浅色主题 (Light Frost Mode) */
html[data-theme="light"] {
  --bg-base: #f0f4fa;
  --paper: #f4f7fc;
  --sheet: rgba(255, 255, 255, 0.85);
  --sheet-solid: #ffffff;
  --card: rgba(255, 255, 255, 0.88);
  --card-2: rgba(241, 245, 252, 0.92);
  --ink: #0f172a;
  --ink-2: #334155;
  --fg: #0f172a;
  --muted: #64748b;
  --line: rgba(15, 23, 42, 0.1);
  --line-bright: rgba(14, 165, 233, 0.45);
  --teal: #059669;
  --teal-d: #0284c7;
  --teal-t: rgba(5, 150, 105, 0.1);
  --link: #0284c7;
  --shadow-card: 0 10px 30px -8px rgba(15, 23, 42, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  --shadow-hover: 0 20px 44px -10px rgba(14, 165, 233, 0.18), 0 0 0 1px rgba(14, 165, 233, 0.3);
}

/* ---------- 全局基础与流动背景 ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; background: var(--bg-base); }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.78;
  font-size: 16px;
  overflow-x: hidden;
  transition: background-color 0.4s ease, color 0.4s ease;
  position: relative;
}

/* 全局微弱极光氛围底纹 */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(ellipse 65% 45% at 12% 10%, rgba(14, 165, 233, 0.14), transparent 65%),
    radial-gradient(ellipse 55% 40% at 88% 22%, rgba(139, 92, 246, 0.13), transparent 65%),
    radial-gradient(ellipse 50% 45% at 50% 95%, rgba(6, 214, 160, 0.1), transparent 65%);
  pointer-events: none;
  animation: ambientPulse 16s ease-in-out infinite alternate;
}
html[data-theme="light"] body::before {
  background:
    radial-gradient(ellipse 65% 45% at 12% 10%, rgba(14, 165, 233, 0.12), transparent 65%),
    radial-gradient(ellipse 55% 40% at 88% 22%, rgba(139, 92, 246, 0.1), transparent 65%),
    radial-gradient(ellipse 50% 45% at 50% 95%, rgba(6, 214, 160, 0.09), transparent 65%);
}

@keyframes ambientPulse {
  0% { opacity: 0.78; transform: scale(1); }
  100% { opacity: 1; transform: scale(1.06); }
}

::selection { background: rgba(56, 189, 248, 0.32); color: #fff; }
a { color: var(--link); text-decoration: none; text-underline-offset: 4px; transition: color 0.2s ease; }
a:hover { color: var(--teal); text-decoration: none; }
img { max-width: 100%; height: auto; }
.container { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.sr { position: absolute; left: -9999px; }
.mono { font-family: var(--mono); }

/* 自定义滚动条 */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: rgba(15, 23, 42, 0.3); }
::-webkit-scrollbar-thumb { background: linear-gradient(180deg, #06d6a0, #38bdf8, #8b5cf6); border-radius: 999px; }

/* ---------- 顶部实时阅读进度条 ---------- */
#scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: var(--grad-primary);
  box-shadow: 0 0 12px rgba(6, 214, 160, 0.8);
  z-index: 9999;
  transition: width 0.08s linear;
  pointer-events: none;
}

/* ---------- 顶栏：悬浮磨砂玻璃导航 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(8, 13, 26, 0.74);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  color: #fff;
  border-bottom: 1px solid rgba(148, 163, 184, 0.14);
  transition: all 0.35s var(--ease-spring);
}
html[data-theme="light"] .site-header {
  background: rgba(255, 255, 255, 0.78);
  color: var(--ink);
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}
.site-header.scrolled {
  background: rgba(6, 9, 19, 0.9);
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.45);
  border-bottom-color: rgba(56, 189, 248, 0.25);
}
html[data-theme="light"] .site-header.scrolled {
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
}

.nav { display: flex; align-items: center; height: 64px; gap: 12px; position: relative; transition: height 0.3s ease; }
.site-header.scrolled .nav { height: 56px; }

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 18px;
  color: #fff;
  white-space: nowrap;
  letter-spacing: 0.02em;
  flex: none;
  transition: transform 0.25s var(--ease-bounce);
}
html[data-theme="light"] .brand { color: var(--ink); }
.brand:hover { transform: scale(1.03); color: #fff; }
html[data-theme="light"] .brand:hover { color: var(--ink); }
.brand .logo {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  flex: none;
  border-radius: 10px;
  box-shadow: 0 0 18px rgba(6, 214, 160, 0.45);
  transition: transform 0.4s var(--ease-bounce), box-shadow 0.3s ease;
}
.brand:hover .logo { transform: rotate(-10deg) scale(1.1); box-shadow: 0 0 26px rgba(56, 189, 248, 0.65); }
.brand small { font-weight: 600; font-size: 11px; color: #5eead4; letter-spacing: 0.08em; margin-left: 2px; opacity: 0.9; }
html[data-theme="light"] .brand small { color: var(--teal); }

.nav-links { display: flex; gap: 3px; margin: 0; padding: 0; list-style: none; flex: 1; justify-content: flex-end; align-items: center; }
.nav-item { position: relative; list-style: none; margin: 0; padding: 0; }
.nav-item > a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #cbd5e1;
  font-size: 13px;
  font-weight: 600;
  padding: 7px 9px;
  border-radius: 9px;
  white-space: nowrap;
  transition: all 0.22s var(--ease-spring);
  position: relative;
}
html[data-theme="light"] .nav-item > a { color: #334155; }
.nav-item > a:hover { color: #fff; background: rgba(56, 189, 248, 0.14); transform: translateY(-1px); }
html[data-theme="light"] .nav-item > a:hover { color: var(--teal-d); background: rgba(14, 165, 233, 0.1); }
.nav-item > a[aria-current] {
  color: #fff;
  background: linear-gradient(135deg, rgba(6, 214, 160, 0.28), rgba(56, 189, 248, 0.28));
  border: 1px solid rgba(56, 189, 248, 0.35);
  font-weight: 700;
}
html[data-theme="light"] .nav-item > a[aria-current] {
  color: var(--teal-d);
  background: rgba(14, 165, 233, 0.12);
}

.nav-arrow { opacity: 0.65; transition: transform 0.28s var(--ease-bounce); margin-left: 1px; flex: none; }
.nav-item:hover .nav-arrow { transform: rotate(180deg); opacity: 1; color: var(--teal); }

.nav-badge {
  display: inline-block;
  background: linear-gradient(135deg, #f43f5e, #ec4899);
  color: #fff;
  font-size: 9.5px;
  font-weight: 800;
  padding: 1.5px 5px;
  border-radius: 999px;
  margin-left: 3px;
  line-height: 1.2;
  box-shadow: 0 0 12px rgba(244, 63, 94, 0.65);
  animation: badgePulse 2s ease-in-out infinite;
}
@keyframes badgePulse {
  0%, 100% { transform: scale(1); box-shadow: 0 0 10px rgba(244, 63, 94, 0.55); }
  50% { transform: scale(1.08); box-shadow: 0 0 18px rgba(236, 72, 153, 0.9); }
}

/* 弹簧下拉菜单 */
.nav-sub {
  display: block;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  position: absolute;
  top: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%) translateY(10px) scale(0.95);
  min-width: 205px;
  background: rgba(11, 18, 35, 0.94);
  backdrop-filter: blur(24px);
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-radius: 14px;
  padding: 8px;
  margin: 0;
  list-style: none;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.65), 0 0 20px rgba(56, 189, 248, 0.12);
  z-index: 220;
  transition: opacity 0.24s var(--ease-spring), transform 0.28s var(--ease-spring), visibility 0.24s;
}
html[data-theme="light"] .nav-sub {
  background: rgba(255, 255, 255, 0.96);
  border-color: rgba(15, 23, 42, 0.1);
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.14);
}
.nav-sub::before { content: ''; position: absolute; top: -12px; left: 0; right: 0; height: 12px; }
.nav-item:hover .nav-sub, .nav-item:focus-within .nav-sub {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0) scale(1);
}
.nav-sub li { list-style: none; margin: 0; padding: 0; }
.nav-sub a {
  display: block;
  padding: 8px 12px;
  font-size: 13px;
  color: #cbd5e1;
  border-radius: 8px;
  white-space: nowrap;
  font-weight: 500;
  line-height: 1.4;
  transition: all 0.2s var(--ease-spring);
}
html[data-theme="light"] .nav-sub a { color: #334155; }
.nav-sub a:hover { color: #fff; background: linear-gradient(90deg, rgba(6, 214, 160, 0.22), rgba(56, 189, 248, 0.12)); transform: translateX(4px); }
html[data-theme="light"] .nav-sub a:hover { color: var(--teal-d); background: rgba(14, 165, 233, 0.1); }
.nav-sub a[aria-current] { color: #5eead4; font-weight: 700; background: rgba(6, 214, 160, 0.14); }

.nav-cta {
  background: var(--grad-primary);
  background-size: 200% 200%;
  color: #04131c !important;
  padding: 7px 14px;
  border-radius: 10px;
  font-size: 12.5px;
  font-weight: 800;
  white-space: nowrap;
  flex: none;
  box-shadow: 0 4px 16px rgba(6, 214, 160, 0.35);
  transition: all 0.3s var(--ease-spring);
  animation: gradShift 5s ease infinite;
}
.nav-cta:hover { transform: translateY(-2px) scale(1.04); box-shadow: 0 8px 24px rgba(56, 189, 248, 0.5); }

/* 苹果 iOS / macOS 极简风昼夜切换开关 */
.theme-toggle {
  position: relative;
  width: 52px;
  height: 28px;
  padding: 0;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: #2c2c2e;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.45);
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  flex: none;
  -webkit-tap-highlight-color: transparent;
  transition: background 0.36s cubic-bezier(0.32, 0.72, 0, 1), border-color 0.36s ease, box-shadow 0.36s ease;
}
.theme-toggle:hover {
  border-color: rgba(255, 255, 255, 0.32);
}
/* 夜间轨道微星点 */
.theme-toggle::before {
  content: "";
  position: absolute;
  left: 9px;
  top: 9px;
  width: 2.5px;
  height: 2.5px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 6px 6px 0 -0.4px rgba(255, 255, 255, 0.5), 4px -3px 0 -0.6px rgba(147, 197, 253, 0.65);
  transition: opacity 0.3s ease;
  opacity: 1;
}
/* 苹果纯白悬浮圆钮（支持按压微拉长物理反馈） */
.theme-toggle .t-thumb {
  position: absolute;
  top: 2px;
  left: 26px;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: #ffffff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.32), 0 0 1px rgba(0, 0, 0, 0.18);
  display: grid;
  place-items: center;
  color: #1c1c1e;
  transition: left 0.36s cubic-bezier(0.32, 0.72, 0, 1), width 0.2s ease, transform 0.36s cubic-bezier(0.32, 0.72, 0, 1);
}
.theme-toggle:active .t-thumb {
  width: 26px;
  left: 22px;
}
.theme-toggle .t-thumb svg {
  width: 13px;
  height: 13px;
  transition: transform 0.38s cubic-bezier(0.32, 0.72, 0, 1);
}
.theme-toggle .t-ico-sun { display: none; }
.theme-toggle .t-ico-moon { display: block; color: #3b82f6; }

/* 昼间 / 浅色模式（苹果天蓝通透轨道） */
html[data-theme="light"] .theme-toggle {
  background: linear-gradient(180deg, #38bdf8 0%, #0ea5e9 100%);
  border-color: rgba(14, 165, 233, 0.35);
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.12), 0 2px 8px rgba(14, 165, 233, 0.22);
}
html[data-theme="light"] .theme-toggle::before {
  opacity: 0;
}
html[data-theme="light"] .theme-toggle .t-thumb {
  left: 2px;
  background: #ffffff;
  box-shadow: 0 2px 5px rgba(15, 23, 42, 0.22), 0 0 1px rgba(15, 23, 42, 0.1);
}
html[data-theme="light"] .theme-toggle:active .t-thumb {
  width: 26px;
  left: 2px;
}
html[data-theme="light"] .theme-toggle .t-ico-sun { display: block; color: #f59e0b; }
html[data-theme="light"] .theme-toggle .t-ico-moon { display: none; }

.nav-toggle { display: none; background: rgba(255, 255, 255, 0.08); color: #fff; border: 1px solid rgba(255, 255, 255, 0.22); border-radius: 9px; padding: 6px 12px; font-size: 13.5px; margin-left: auto; cursor: pointer; }
html[data-theme="light"] .nav-toggle { color: var(--ink); border-color: var(--line); }

@media (max-width: 1180px) {
  .nav-cta { display: none; }
  .brand small { display: none; }
  .nav-item > a { padding: 6px 6px; font-size: 12.5px; }
}
@media (max-width: 960px) {
  .nav-toggle { display: block; }
  .nav-links {
    display: none;
    position: absolute;
    left: 0; right: 0; top: 64px;
    background: #080d1a;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    padding: 10px 18px 28px;
    border-top: 1px solid var(--line);
    max-height: calc(100vh - 64px);
    overflow-y: auto;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
  }
  html[data-theme="light"] .nav-links { background: #ffffff; }
  .nav-links.open { display: flex; animation: slideDown 0.3s var(--ease-spring); }
  .nav-item { width: 100%; border-bottom: 1px solid var(--line); }
  .nav-item > a { justify-content: space-between; padding: 12px 4px; border-radius: 0; font-size: 15px; }
  .nav-sub {
    display: flex; opacity: 1; visibility: visible; pointer-events: auto;
    position: static; transform: none; min-width: auto;
    background: rgba(56, 189, 248, 0.05); border: none; border-left: 2px solid var(--teal);
    border-radius: 0; box-shadow: none; padding: 4px 0 6px 10px; margin: 0 0 10px 6px;
    flex-direction: column; gap: 2px;
  }
  .nav-sub::before { display: none; }
}
@keyframes slideDown { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } }
.hot-bar { display: none; }

/* ---------- 首页极光动态横幅 (Hero Band) ---------- */
.hero-band {
  background: linear-gradient(145deg, #050814 0%, #0a142d 48%, #071e2b 100%);
  color: #e2e8f0;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(56, 189, 248, 0.2);
}
/* 动态极光光斑 */
.hero-band::before {
  content: "";
  position: absolute;
  width: 680px; height: 680px;
  top: -260px; left: -140px;
  background: radial-gradient(circle, rgba(6, 214, 160, 0.28) 0%, rgba(14, 165, 233, 0.14) 40%, transparent 70%);
  filter: blur(55px);
  pointer-events: none;
  animation: auroraOrbit 14s ease-in-out infinite alternate;
}
.hero-band::after {
  content: "";
  position: absolute;
  width: 620px; height: 620px;
  bottom: -280px; right: -120px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.3) 0%, rgba(236, 72, 153, 0.14) 42%, transparent 70%);
  filter: blur(60px);
  pointer-events: none;
  animation: auroraOrbit 18s ease-in-out infinite alternate-reverse;
}
@keyframes auroraOrbit {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(50px, 30px) scale(1.12); }
  100% { transform: translate(-30px, 50px) scale(0.96); }
}

/* Hero 动态粒子画布 */
#hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.72;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 38px;
  padding: 64px 20px 58px;
  position: relative;
  z-index: 2;
}
@media (max-width: 900px) { .hero { grid-template-columns: 1fr; padding: 40px 20px; } }

.hero .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  color: #5eead4;
  background: rgba(6, 214, 160, 0.12);
  border: 1px solid rgba(6, 214, 160, 0.32);
  padding: 5px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
  letter-spacing: 0.08em;
  box-shadow: 0 0 20px rgba(6, 214, 160, 0.18);
  animation: fadeUp 0.7s var(--ease-spring) both;
}
.hero .eyebrow::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #06d6a0;
  box-shadow: 0 0 10px #06d6a0;
  animation: liveDot 1.6s ease-in-out infinite;
}
@keyframes liveDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(1.4); }
}

.hero h1 {
  font-size: clamp(30px, 4.5vw, 48px);
  line-height: 1.18;
  margin: 0 0 18px;
  font-weight: 900;
  letter-spacing: -0.02em;
  background: var(--grad-text);
  background-size: 260% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: gradShift 7s linear infinite, fadeUp 0.8s var(--ease-spring) 0.08s both;
}
@keyframes gradShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.hero p.lead {
  font-size: 16.5px;
  color: #cbd5e1;
  margin: 0 0 26px;
  max-width: 640px;
  line-height: 1.78;
  animation: fadeUp 0.8s var(--ease-spring) 0.16s both;
}

.hero .chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; animation: fadeUp 0.8s var(--ease-spring) 0.28s both; }
.hero .chips a {
  font-size: 12.5px;
  color: #e2e8f0;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  padding: 5px 13px;
  backdrop-filter: blur(8px);
  transition: all 0.25s var(--ease-bounce);
}
.hero .chips a:hover {
  background: rgba(6, 214, 160, 0.2);
  border-color: #06d6a0;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(6, 214, 160, 0.25);
}

/* Hero 右侧 3D 玻璃数据看板 */
.board {
  background: rgba(10, 17, 34, 0.65);
  border: 1px solid rgba(56, 189, 248, 0.3);
  border-radius: 20px;
  padding: 20px 22px;
  align-self: start;
  backdrop-filter: blur(20px) saturate(160%);
  box-shadow: 0 24px 54px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transition: transform 0.35s var(--ease-spring), box-shadow 0.35s ease;
  animation: fadeUp 0.9s var(--ease-spring) 0.2s both;
  position: relative;
  overflow: hidden;
}
.board::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 50%), rgba(56, 189, 248, 0.16), transparent 60%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.board:hover::before { opacity: 1; }
.board h2 { font-size: 12px; letter-spacing: 0.14em; color: #5eead4; margin: 0 0 14px; font-weight: 700; display: flex; align-items: center; gap: 8px; }
.board-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 16px; }
.board-metrics div {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 12px;
  padding: 11px 12px;
  transition: transform 0.25s var(--ease-bounce), border-color 0.25s;
}
.board-metrics div:hover { transform: translateY(-3px); border-color: rgba(6, 214, 160, 0.5); background: rgba(6, 214, 160, 0.08); }
.board-metrics small { display: block; font-size: 11px; color: #94a3b8; }
.board-metrics b { font-family: var(--mono); font-size: 20px; color: #fff; background: linear-gradient(90deg, #fff, #5eead4); -webkit-background-clip: text; background-clip: text; color: transparent; }

.board ol { list-style: none; margin: 0; padding: 0; }
.board li {
  display: grid;
  grid-template-columns: 28px 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 10px 8px;
  border-top: 1px dashed rgba(148, 163, 184, 0.16);
  font-size: 14px;
  border-radius: 10px;
  transition: background 0.22s ease, transform 0.22s var(--ease-spring);
}
.board li:hover { background: rgba(56, 189, 248, 0.1); transform: translateX(4px); }
.board li .n { font-family: var(--mono); color: #5eead4; font-weight: 800; font-size: 15px; }
.board li a { color: #fff; font-weight: 700; }
.board li small { color: #94a3b8; font-size: 12px; display: block; line-height: 1.4; }
.board li .s {
  font-family: var(--mono);
  font-weight: 800;
  color: #04131c;
  background: linear-gradient(135deg, #06d6a0, #38bdf8);
  border-radius: 8px;
  padding: 2px 9px;
  box-shadow: 0 0 12px rgba(6, 214, 160, 0.35);
}
.board .note { font-size: 11.5px; color: #94a3b8; margin: 12px 0 0; }

.hero-band .btn { border-color: rgba(255, 255, 255, 0.28); color: #fff; background: rgba(255, 255, 255, 0.06); backdrop-filter: blur(8px); }
.hero-band .btn:hover { background: rgba(255, 255, 255, 0.14); border-color: #fff; }
.hero-band .btn-primary { background: var(--grad-primary); border-color: transparent; color: #04131c; }

.stats { display: flex; gap: 28px; margin-top: 22px; flex-wrap: wrap; }
.stats div small { display: block; color: var(--muted); font-size: 12px; }
.stats div strong { font-size: 20px; font-weight: 800; font-family: var(--mono); }

/* ---------- 动效按钮与流光徽章 ---------- */
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 20px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 14px;
  border: 1.5px solid var(--line-bright);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.05);
  cursor: pointer;
  line-height: 1.3;
  position: relative;
  overflow: hidden;
  transition: all 0.28s var(--ease-spring);
}
html[data-theme="light"] .btn { background: #fff; border-color: rgba(15, 23, 42, 0.18); color: var(--ink); }
.btn:hover {
  transform: translateY(-2px);
  border-color: var(--teal);
  color: var(--teal);
  box-shadow: 0 8px 22px rgba(6, 214, 160, 0.18);
}
.btn:active { transform: translateY(0) scale(0.96); }

.btn-primary {
  background: var(--grad-primary);
  background-size: 200% 200%;
  border-color: transparent;
  color: #031520 !important;
  font-weight: 800;
  box-shadow: 0 6px 22px rgba(6, 214, 160, 0.34);
  animation: gradShift 5s ease infinite;
}
/* 按钮斜向流光扫过动效 */
.btn-primary::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -75%;
  width: 50%;
  height: 200%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.45), transparent);
  transform: rotate(25deg);
  transition: left 0.65s var(--ease-spring);
  pointer-events: none;
}
.btn-primary:hover::after { left: 130%; }
.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 30px rgba(56, 189, 248, 0.48);
  color: #031520 !important;
}

.btn-outline { background: transparent; border: 1px solid var(--line-bright); color: var(--ink); }
.btn-outline:hover { background: rgba(56, 189, 248, 0.12); border-color: var(--teal); color: var(--teal); }
.btn-sm { padding: 6px 12px; font-size: 12.5px; border-radius: 9px; border-width: 1px; }

/* 按钮点击波纹 */
.btn-ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  transform: scale(0);
  animation: rippleAnim 0.55s ease-out forwards;
  pointer-events: none;
}
@keyframes rippleAnim { to { transform: scale(4); opacity: 0; } }

.badge {
  display: inline-flex;
  align-items: center;
  font-size: 11px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 999px;
  background: linear-gradient(135deg, #f59e0b, #f97316);
  color: #fff;
  vertical-align: middle;
  letter-spacing: 0.03em;
  box-shadow: 0 2px 10px rgba(245, 158, 11, 0.32);
}
.badge.soft { background: var(--card-2); color: var(--ink-2); box-shadow: none; }
.badge.ok { background: var(--green-t); color: var(--green); border: 1px solid rgba(52, 211, 153, 0.35); box-shadow: none; }
.badge.warn { background: var(--amber-t); color: var(--amber); border: 1px solid rgba(245, 158, 11, 0.35); box-shadow: none; }
.badge.danger { background: var(--red-t); color: var(--red); border: 1px solid rgba(251, 113, 133, 0.35); box-shadow: none; }

.coupon {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  background: rgba(245, 158, 11, 0.14);
  border: 1px dashed rgba(245, 158, 11, 0.65);
  border-radius: 8px;
  padding: 3px 10px;
  cursor: pointer;
  color: #fbbf24;
  font-weight: 700;
  transition: all 0.25s var(--ease-bounce);
}
html[data-theme="light"] .coupon { color: #b45309; background: #fef3c7; }
.coupon:hover {
  transform: scale(1.06);
  background: rgba(245, 158, 11, 0.25);
  box-shadow: 0 0 16px rgba(245, 158, 11, 0.35);
}
.coupon code { font-weight: 800; font-family: var(--mono); background: none !important; color: inherit; padding: 0 !important; }

/* ---------- 分区与玻璃卡片 ---------- */
.section { padding: 48px 0; }
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 14px;
  position: relative;
}
.section-head::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 90px;
  height: 3px;
  background: var(--grad-primary);
  border-radius: 999px;
}
.section-head .eyebrow { font-size: 12px; color: var(--teal); font-family: var(--mono); letter-spacing: 0.12em; margin-bottom: 6px; font-weight: 800; }
.section-head h2 { font-size: clamp(23px, 3vw, 32px); margin: 0; font-weight: 900; line-height: 1.28; letter-spacing: -0.015em; }
.section-head p { margin: 6px 0 0; color: var(--muted); font-size: 14.5px; }
.section-head .more { white-space: nowrap; font-size: 14px; font-weight: 700; color: var(--teal); }

.grid { display: grid; gap: 16px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 1080px) { .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 900px) { .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; } }

/* 聚光灯交互卡片基类 */
.card, .pick-card, .rank-card, .review-card, .pitfall-card, .hub-card, .lib-card, .post-item {
  background: var(--sheet);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
  transition: transform 0.32s var(--ease-spring), border-color 0.32s ease, box-shadow 0.32s ease;
}
.card::before, .pick-card::before, .review-card::before, .rank-card::before, .hub-card::before, .lib-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 50%), rgba(56, 189, 248, 0.14), transparent 58%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 0;
}
.card:hover::before, .pick-card:hover::before, .review-card:hover::before, .rank-card:hover::before, .hub-card:hover::before, .lib-card:hover::before {
  opacity: 1;
}
.card > *, .pick-card > *, .review-card > * { position: relative; z-index: 1; }

.card { padding: 20px 20px 18px; border-left: 3px solid var(--teal); }
.card:hover { transform: translateY(-5px); border-color: var(--line-bright); box-shadow: var(--shadow-hover); }
.card h3 { margin: 0 0 8px; font-size: 17px; font-weight: 800; color: var(--ink); }
.card p { margin: 0; color: var(--ink-2); font-size: 14px; line-height: 1.75; }
.card .num { font-size: 12px; color: var(--teal); font-family: var(--mono); font-weight: 700; margin-bottom: 6px; }
.card.link { display: block; color: var(--ink); }
.card.link:hover { border-left-color: var(--violet); }
.card .arrow { display: inline-block; margin-top: 10px; font-size: 13px; font-weight: 700; color: var(--teal); transition: transform 0.25s ease; }
.card:hover .arrow { transform: translateX(5px); }

.steps { counter-reset: st; }
.steps .card { position: relative; padding-left: 62px; border-left-width: 1px; }
.steps .card .step {
  position: absolute; left: 16px; top: 18px; width: 34px; height: 34px; border-radius: 50%;
  background: var(--grad-primary); color: #04131c; display: grid; place-items: center; font-size: 0;
  box-shadow: 0 0 16px rgba(6, 214, 160, 0.4);
}
.steps .card .step::after { counter-increment: st; content: counter(st); font-size: 14px; font-weight: 900; font-family: var(--mono); }

/* ---------- 3秒抄作业卡片 (含3D倾斜) ---------- */
.quick-picks-box { margin: 28px 0 36px; }
.quick-picks-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; flex-wrap: wrap; gap: 8px; }
.quick-picks-head h2 { margin: 0; font-size: 22px; font-weight: 900; color: var(--ink); }
.quick-picks-head .sub { font-size: 13px; color: var(--muted); }
.quick-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 1080px) { .quick-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 580px) { .quick-grid { grid-template-columns: 1fr; } }

.pick-card { padding: 20px; display: flex; flex-direction: column; transform-style: preserve-3d; }
.pick-card:hover { transform: translateY(-7px); border-color: var(--teal); box-shadow: var(--shadow-hover); }
.pick-card.featured {
  border-color: rgba(6, 214, 160, 0.5);
  background: linear-gradient(165deg, rgba(15, 23, 42, 0.88) 0%, rgba(6, 78, 59, 0.25) 100%);
}
html[data-theme="light"] .pick-card.featured {
  background: linear-gradient(165deg, #ffffff 0%, #ecfdf5 100%);
}
.pick-badge { display: inline-flex; align-items: center; gap: 4px; font-size: 11px; font-weight: 800; padding: 3px 10px; border-radius: 999px; margin-bottom: 12px; width: fit-content; }
.badge-flag { background: rgba(6, 214, 160, 0.16); color: var(--teal); border: 1px solid rgba(6, 214, 160, 0.35); }
.badge-budget { background: rgba(251, 113, 133, 0.16); color: var(--red); border: 1px solid rgba(251, 113, 133, 0.35); }
.badge-ai { background: rgba(139, 92, 246, 0.18); color: #c4b5fd; border: 1px solid rgba(139, 92, 246, 0.4); }
html[data-theme="light"] .badge-ai { color: #6d28d9; }
.badge-safe { background: rgba(52, 211, 153, 0.16); color: var(--green); border: 1px solid rgba(52, 211, 153, 0.35); }

.pick-title { display: flex; align-items: baseline; justify-content: space-between; margin: 0 0 6px; }
.pick-title h3 { margin: 0; font-size: 19px; font-weight: 800; color: var(--ink); }
.pick-score { font-family: var(--mono); font-size: 17px; font-weight: 900; color: var(--teal); }
.pick-desc { font-size: 13px; color: var(--muted); margin: 0 0 14px; line-height: 1.55; }
.pick-meta { margin: 0 0 14px; padding: 11px 0; border-top: 1px dashed var(--line); border-bottom: 1px dashed var(--line); font-size: 12.5px; color: var(--ink-2); display: flex; flex-direction: column; gap: 6px; }
.pick-meta span { display: flex; justify-content: space-between; }
.pick-meta b { font-family: var(--mono); color: var(--ink); }
.pick-coupon { display: flex; align-items: center; justify-content: space-between; background: var(--card-2); border: 1px solid var(--line); border-radius: 10px; padding: 7px 11px; font-size: 12px; margin-bottom: 14px; }
.pick-coupon code { background: transparent !important; padding: 0 !important; color: #fbbf24; font-weight: 800; font-family: var(--mono); }
html[data-theme="light"] .pick-coupon code { color: #d97706; }
.pick-coupon button { background: var(--grad-primary); color: #04131c; font-weight: 800; border: none; border-radius: 6px; padding: 3px 10px; font-size: 11px; cursor: pointer; transition: transform 0.2s var(--ease-bounce); }
.pick-coupon button:hover { transform: scale(1.08); }
.pick-actions { margin-top: auto; display: flex; gap: 8px; }
.pick-actions .btn { flex: 1; padding: 8px 10px; font-size: 13px; }

/* 避坑模块 */
.pitfalls-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 18px 0 28px; }
@media (max-width: 850px) { .pitfalls-grid { grid-template-columns: 1fr; } }
.pitfall-card { border-left: 4px solid var(--amber); padding: 18px 20px; }
.pitfall-card:hover { transform: translateY(-4px); border-color: var(--amber); }
.pitfall-card.danger { border-left-color: var(--red); }
.pitfall-card.danger:hover { border-color: var(--red); }
.pitfall-card h4 { margin: 0 0 8px; font-size: 15.5px; color: var(--ink); display: flex; align-items: center; gap: 8px; }
.pitfall-card p { margin: 0; font-size: 13.5px; color: var(--muted); line-height: 1.65; }

/* ---------- 30秒机场智能推荐小助手 ---------- */
.wizard-box {
  background: var(--sheet);
  backdrop-filter: blur(20px);
  border: 1.5px solid rgba(56, 189, 248, 0.35);
  border-radius: 20px;
  padding: 26px;
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.35), 0 0 30px rgba(6, 214, 160, 0.08);
}
.wizard-title { margin: 0; font-size: 21px; font-weight: 900; color: var(--ink); }
.wizard-body { display: grid; grid-template-columns: 1.2fr 1fr; gap: 24px; margin-top: 18px; align-items: stretch; }
@media (max-width: 880px) { .wizard-body { grid-template-columns: 1fr; } }
.wizard-steps { display: flex; flex-direction: column; gap: 16px; }
.wizard-group { display: flex; flex-direction: column; gap: 8px; }
.wizard-label { font-size: 13.5px; font-weight: 700; color: var(--ink-2); }
.wizard-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.wz-tag {
  background: var(--card-2);
  color: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 7px 14px;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.25s var(--ease-bounce);
  font-weight: 600;
}
.wz-tag:hover { border-color: var(--teal); color: var(--teal); transform: translateY(-2px); }
.wz-tag.active {
  background: var(--grad-primary);
  color: #04131c;
  border-color: transparent;
  font-weight: 800;
  transform: scale(1.04);
  box-shadow: 0 6px 18px rgba(6, 214, 160, 0.38);
}

.wizard-result { display: flex; flex-direction: column; height: 100%; }
.wz-res-card {
  background: linear-gradient(155deg, rgba(15, 23, 42, 0.9), rgba(14, 116, 144, 0.2));
  border: 1.5px solid rgba(6, 214, 160, 0.45);
  border-radius: 16px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  height: 100%;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
  animation: popIn 0.38s var(--ease-bounce) both;
}
html[data-theme="light"] .wz-res-card {
  background: linear-gradient(155deg, #ffffff, #ecfdf5);
}
@keyframes popIn {
  0% { opacity: 0; transform: scale(0.94) translateY(8px); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}
.wz-res-head { display: flex; align-items: baseline; justify-content: space-between; margin: 6px 0 8px; }
.wz-res-head h4 { margin: 0; font-size: 19px; font-weight: 900; color: var(--ink); }
.wz-res-score { font-family: var(--mono); font-size: 18px; font-weight: 900; color: var(--teal); }
.wz-res-desc { font-size: 13.5px; color: var(--ink-2); line-height: 1.6; margin: 0 0 14px; }
.wz-res-meta { font-size: 13px; color: var(--ink-2); padding: 12px 0; border-top: 1px dashed var(--line); border-bottom: 1px dashed var(--line); display: flex; flex-direction: column; gap: 7px; margin-bottom: 14px; }
.wz-res-meta span { display: flex; justify-content: space-between; gap: 8px; }
.wz-res-meta b { color: var(--ink); }
.wz-res-actions { margin-top: auto; display: flex; flex-direction: column; gap: 10px; }
.wz-res-btns { display: flex; gap: 8px; flex-wrap: wrap; }
.wz-res-btns .btn { flex: 1; font-size: 12.5px; padding: 9px 10px; white-space: nowrap; }
.btn-locate { background: var(--card-2); border: 1px solid var(--line); color: var(--ink-2); border-radius: 10px; cursor: pointer; }
.btn-locate:hover { background: var(--teal-t); color: var(--teal); border-color: var(--teal); }

/* ---------- 排名卡：横向记分卡 ---------- */
.rank-card { padding: 0; display: grid; grid-template-columns: 78px minmax(0, 1fr); }
.rank-card:hover { transform: translateY(-4px); border-color: var(--teal); box-shadow: var(--shadow-hover); }
.rank-card.top { box-shadow: 0 0 0 1.5px var(--teal), var(--shadow-card); }
.rank-head { display: contents; }
.rank-no {
  grid-row: 1 / span 6;
  background: linear-gradient(180deg, #0b1426, #0f2942);
  color: #5eead4;
  display: flex; flex-direction: column; align-items: center; justify-content: flex-start;
  padding-top: 18px; font-family: var(--mono); font-weight: 900; font-size: 24px;
  border-right: 3px solid var(--teal);
}
.rank-no::before { content: "No."; font-size: 10px; color: #94a3b8; letter-spacing: 0.1em; }
.rank-title { padding: 16px 98px 0 18px; }
.rank-title .rc-h, .rank-title h3 { margin: 0; font-size: 19px; font-weight: 800; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.rank-title .rc-h a, .rank-title h3 a { color: var(--ink); }
.rank-title .sub { font-size: 13px; color: var(--muted); margin-top: 3px; line-height: 1.5; }
.score { position: absolute; right: 16px; top: 14px; text-align: center; background: var(--teal-t); border: 1px solid rgba(6, 214, 160, 0.35); border-radius: 12px; padding: 5px 12px; }
.score strong { font-size: 22px; font-weight: 900; line-height: 1.1; font-family: var(--mono); color: var(--teal); }
.score small { display: block; font-size: 10px; color: var(--muted); }
.rank-card p.summary { margin: 10px 18px 0; font-size: 14px; color: var(--ink-2); line-height: 1.7; }
.specs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--line); margin: 14px 18px 0; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; font-size: 12.5px; }
.specs div { background: var(--card-2); padding: 9px 11px; }
.specs div small { display: block; color: var(--muted); font-size: 10.5px; }
.specs div span { font-weight: 700; color: var(--ink); }
@media (max-width: 600px) { .specs { grid-template-columns: repeat(2, minmax(0, 1fr)); } .rank-card { grid-template-columns: 56px minmax(0, 1fr); } .rank-no { font-size: 18px; } }
.rank-card .fit { font-size: 13px; color: var(--ink-2); margin: 10px 18px 0; }
.rank-card .actions { display: flex; gap: 8px; flex-wrap: wrap; margin: 14px 18px 18px; align-items: center; }

/* ---------- 精美玻璃表格与航班看板 ---------- */
.table-wrap, .table-responsive {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 16px;
  margin: 18px 0;
  background: var(--sheet);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow-card);
}
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th, td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: middle; }
th {
  background: rgba(15, 23, 42, 0.92);
  color: #e2e8f0;
  font-weight: 700;
  font-size: 12.5px;
  white-space: nowrap;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
html[data-theme="light"] th { background: #f1f5f9; color: #0f172a; }
tbody tr { transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease; }
tbody tr:nth-child(even) td { background: rgba(255, 255, 255, 0.02); }
html[data-theme="light"] tbody tr:nth-child(even) td { background: rgba(15, 23, 42, 0.02); }
tbody tr:hover td { background: rgba(56, 189, 248, 0.08) !important; }
tbody tr:hover td:first-child { box-shadow: inset 3px 0 0 var(--teal); }
tr:last-child td { border-bottom: 0; }
td.num { font-variant-numeric: tabular-nums; white-space: nowrap; font-family: var(--mono); font-size: 13.5px; }

/* 晚高峰压测与流媒体解锁表格 */
.peak-box, .streaming-box { background: var(--sheet); backdrop-filter: blur(16px); border: 1px solid var(--line); border-radius: 18px; padding: 22px; box-shadow: var(--shadow-card); }
.peak-table, .streaming-table { width: 100%; margin: 12px 0 8px; font-size: 13.5px; }
.peak-table tr.highlight-row td { background: rgba(6, 214, 160, 0.08); }
.peak-table tr.dim-row td { background: rgba(251, 113, 133, 0.05); }
.tag-status { display: inline-block; padding: 3px 9px; border-radius: 999px; font-size: 11.5px; font-weight: 800; }
.tag-status.green { background: var(--green-t); color: var(--green); border: 1px solid rgba(52, 211, 153, 0.35); }
.tag-status.blue { background: var(--blue-t); color: var(--blue); border: 1px solid rgba(96, 165, 250, 0.35); }
.tag-status.red { background: var(--red-t); color: var(--red); border: 1px solid rgba(251, 113, 133, 0.35); }
.star-rating { color: var(--amber); font-size: 13px; }
.coupon-chip { display: inline-block; font-family: var(--mono); background: var(--amber-t); border: 1px solid rgba(245, 158, 11, 0.45); color: #fbbf24; font-weight: 800; padding: 2px 8px; border-radius: 6px; cursor: pointer; font-size: 12px; transition: transform 0.2s var(--ease-bounce); }
html[data-theme="light"] .coupon-chip { color: #b45309; }
.coupon-chip:hover { transform: scale(1.08); }
.peak-note { background: var(--card-2); border-left: 3px solid var(--teal); padding: 12px 16px; border-radius: 0 12px 12px 0; margin-top: 14px; font-size: 13.5px; color: var(--ink-2); }
.peak-note p { margin: 0; }

/* 航班看板交互控件 */
.flight-controls { display: flex; flex-direction: column; gap: 14px; margin: 18px 0 16px; }
.flight-tabs { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; }
.flight-tab {
  flex: none; font-size: 13.5px; font-weight: 700;
  border: 1px solid var(--line); background: var(--sheet);
  border-radius: 999px; padding: 8px 18px; cursor: pointer;
  transition: all 0.25s var(--ease-bounce); color: var(--ink-2);
}
.flight-tab:hover { border-color: var(--teal); color: var(--teal); transform: translateY(-2px); }
.flight-tab.active {
  background: var(--grad-primary); color: #04131c; border-color: transparent;
  font-weight: 800; box-shadow: 0 6px 20px rgba(6, 214, 160, 0.35);
}
.flight-search-wrap { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; }
.flight-search {
  flex: 1; min-width: 240px; font-size: 14.5px; padding: 11px 16px;
  border: 1px solid var(--line); border-radius: 12px;
  background: var(--sheet); color: var(--ink);
  transition: all 0.25s ease;
}
.flight-search:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(6, 214, 160, 0.2); }
.flight-count { font-size: 13px; color: var(--muted); font-family: var(--mono); white-space: nowrap; }
.flight-table th[data-sort] { cursor: pointer; user-select: none; transition: color 0.2s, background 0.2s; }
.flight-table th[data-sort]:hover { color: var(--teal); background: rgba(56, 189, 248, 0.14); }
.flight-table tr[hidden] { display: none; }

.badge-tier { font-size: 11px; font-weight: 800; padding: 3px 9px; border-radius: 999px; display: inline-block; white-space: nowrap; }
.tier-专线档, .tier-商务专线, .tier-全能长效 { background: rgba(245, 158, 11, 0.16); color: #fbbf24; border: 1px solid rgba(245, 158, 11, 0.4); }
.tier-均衡档, .tier-进阶品质, .tier-安全稳定 { background: rgba(56, 189, 248, 0.16); color: #38bdf8; border: 1px solid rgba(56, 189, 248, 0.4); }
.tier-经济档, .tier-高性价比, .tier-低价入门 { background: rgba(6, 214, 160, 0.16); color: #34d399; border: 1px solid rgba(6, 214, 160, 0.4); }
.tier-按量计费 { background: rgba(236, 72, 153, 0.16); color: #f472b6; border: 1px solid rgba(236, 72, 153, 0.4); }
html[data-theme="light"] .tier-专线档, html[data-theme="light"] .tier-商务专线, html[data-theme="light"] .tier-全能长效 { color: #b45309; }
html[data-theme="light"] .tier-均衡档, html[data-theme="light"] .tier-进阶品质, html[data-theme="light"] .tier-安全稳定 { color: #0369a1; }
html[data-theme="light"] .tier-经济档, html[data-theme="light"] .tier-高性价比, html[data-theme="light"] .tier-低价入门 { color: #047857; }

.flight-brand-name { font-weight: 800; color: var(--ink); display: flex; align-items: center; gap: 7px; white-space: nowrap; }
.flight-btn-group { display: flex; gap: 6px; align-items: center; white-space: nowrap; }
.flight-btn-group .btn { padding: 5px 11px; font-size: 12px; }

/* 14 家逐家评测大卡片强化 */
.review-card { padding: 26px !important; margin-bottom: 28px !important; border-radius: 18px !important; }
.review-card:hover { transform: translateY(-4px); border-color: var(--line-bright) !important; box-shadow: var(--shadow-hover) !important; }

/* ---------- 文章页与玻璃纸张 ---------- */
.breadcrumb { font-size: 13px; color: var(--muted); padding: 18px 20px 0; }
.breadcrumb ol { list-style: none; margin: 0; padding: 0; display: flex; gap: 6px; flex-wrap: wrap; }
.breadcrumb li + li::before { content: "/"; margin-right: 6px; opacity: 0.5; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--teal); }
.article-head { padding: 16px 20px 24px; }
.article-head h1 { font-size: clamp(26px, 3.8vw, 40px); line-height: 1.25; margin: 0 0 14px; font-weight: 900; max-width: 920px; letter-spacing: -0.02em; }
.article-head .meta { font-size: 13px; color: var(--muted); display: flex; gap: 8px 18px; flex-wrap: wrap; font-family: var(--mono); }
.article-head .meta b { color: var(--teal); font-family: var(--font); }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 28px; padding: 0 20px 60px; align-items: start; }
@media (max-width: 980px) { .article-layout { grid-template-columns: 1fr; } }
.article {
  min-width: 0; font-size: 16px; background: var(--sheet); backdrop-filter: blur(18px);
  border: 1px solid var(--line); border-radius: 20px; padding: 32px 36px; box-shadow: var(--shadow-card);
}
@media (max-width: 600px) { .article { padding: 22px 16px; border-radius: 14px; } }
.section .article-layout { padding: 0; }
.article h2 { font-size: 24px; margin: 40px 0 16px; font-weight: 900; scroll-margin-top: 84px; line-height: 1.38; display: flex; gap: 12px; align-items: baseline; }
.article h2::before { content: ""; flex: none; width: 10px; height: 10px; background: var(--grad-primary); border-radius: 3px; transform: translateY(-3px) rotate(45deg); box-shadow: 0 0 12px rgba(6, 214, 160, 0.55); }
.article > h2:first-child, .article > .toc-mobile + h2 { margin-top: 6px; }
.article h3 { font-size: 19px; margin: 28px 0 12px; font-weight: 800; scroll-margin-top: 84px; color: var(--teal-d); }
.article p { margin: 0 0 16px; color: var(--ink-2); }
.article ul, .article ol { padding-left: 22px; margin: 0 0 16px; color: var(--ink-2); }
.article li { margin: 6px 0; }
.article li::marker { color: var(--teal); }
.article code { background: var(--card-2); color: #5eead4; padding: 2px 7px; border-radius: 6px; font-size: 13.5px; font-family: var(--mono); }
html[data-theme="light"] .article code { color: #0f766e; }
.article pre { background: #050914; color: #e2e8f0; padding: 16px 18px; border-radius: 12px; border: 1px solid var(--line); overflow-x: auto; font-size: 13.5px; }
.article pre code { background: none; color: inherit; padding: 0; }

.callout { background: var(--card-2); border: 1px solid var(--line); border-left: 4px solid var(--teal); border-radius: 12px; padding: 16px 20px; margin: 20px 0; font-size: 15px; }
.callout > strong { display: inline-block; margin-bottom: 8px; font-size: 12px; letter-spacing: 0.08em; color: #04131c; background: var(--teal); padding: 2px 9px; border-radius: 6px; font-weight: 800; }
.callout p { margin: 0 0 8px; }
.callout p:last-child, .callout ul:last-child { margin-bottom: 0; }
.callout-warn { border-left-color: var(--amber); background: var(--amber-t); }
.callout-warn > strong { background: var(--amber); color: #fff; }
.callout-ok { border-left-color: var(--green); background: var(--green-t); }
.callout-ok > strong { background: var(--green); color: #04131c; }
.callout-danger { border-left-color: var(--red); background: var(--red-t); }
.callout-danger > strong { background: var(--red); color: #fff; }

/* 侧边悬浮目录 */
.toc {
  position: sticky; top: 80px; font-size: 13px;
  background: var(--sheet); backdrop-filter: blur(18px);
  border: 1px solid var(--line); border-radius: 16px;
  padding: 16px 14px; max-height: calc(100vh - 104px); overflow: auto;
  box-shadow: var(--shadow-card);
}
.toc .toc-title { font-weight: 800; margin: 0 6px 10px; font-size: 12px; color: var(--teal); letter-spacing: 0.12em; font-family: var(--mono); }
.toc ol { list-style: none; margin: 0; padding: 0; counter-reset: tc; }
.toc li a { display: block; padding: 6px 8px; color: var(--ink-2); border-radius: 8px; line-height: 1.45; transition: all 0.2s ease; }
.toc li.h2 a::before { counter-increment: tc; content: counter(tc, decimal-leading-zero) " "; font-family: var(--mono); color: var(--muted); font-size: 11px; }
.toc li a:hover, .toc li a.active { background: var(--teal-t); color: var(--teal); font-weight: 700; transform: translateX(3px); }
.toc li.h3 a { padding-left: 24px; font-size: 12px; color: var(--muted); }
.toc-mobile { display: none; margin: 0 0 20px; border: 1px solid var(--line); border-radius: 12px; padding: 12px 16px; background: var(--card-2); }
@media (max-width: 980px) { .toc { display: none; } .toc-mobile { display: block; } }

/* FAQ 手风琴质感 */
.faq { display: grid; gap: 12px; }
.faq .item { border: 1px solid var(--line); border-radius: 14px; padding: 16px 20px; background: var(--card-2); transition: all 0.25s ease; }
.faq .item:hover { border-color: var(--line-bright); transform: translateX(4px); }
.faq .item h3 { margin: 0 0 8px; font-size: 16px; color: var(--ink); display: flex; gap: 10px; }
.faq .item h3::before { content: "Q"; flex: none; font-size: 12px; font-weight: 900; background: var(--grad-primary); color: #04131c; border-radius: 6px; padding: 0 7px; height: 22px; line-height: 22px; margin-top: 2px; }
.faq .item p { margin: 0; color: var(--ink-2); font-size: 14.5px; padding-left: 34px; }

.related { margin-top: 40px; padding: 20px; border-radius: 16px; background: var(--card-2); border: 1px solid var(--line); }
.related h2 { font-size: 17px; margin: 0 0 12px; }
.related h2::before { display: none; }
.related ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.related li a { color: var(--ink); font-weight: 600; }
.related li a::before { content: "→ "; color: var(--teal); }
.disclosure { font-size: 12.5px; color: var(--muted); background: var(--card-2); border: 1px dashed var(--line); border-radius: 12px; padding: 12px 16px; margin: 0 0 22px; }

/* 评测页优缺点 & 文章列表 */
.post-list { display: grid; gap: 12px; }
.post-item { display: grid; grid-template-columns: 108px minmax(0, 1fr); gap: 16px; align-items: baseline; padding: 16px 18px; }
.post-item:hover { transform: translateX(5px); border-color: var(--teal); }
.post-item time { font-size: 12.5px; color: var(--muted); font-family: var(--mono); }
.post-item .cat { font-size: 11px; color: #04131c; background: var(--teal); font-weight: 800; border-radius: 5px; padding: 2px 7px; margin-right: 8px; }
.post-item a { color: var(--ink); font-weight: 800; font-size: 16px; }
.post-item p { margin: 4px 0 0; font-size: 13.5px; color: var(--muted); }
@media (max-width: 600px) { .post-item { grid-template-columns: 1fr; gap: 4px; } }

.review-box { border: 1px solid var(--line); border-radius: 14px; padding: 8px 20px; margin: 18px 0; background: var(--card-2); }
.kv { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 24px; font-size: 14px; margin: 0; padding: 0; list-style: none; }
.kv li { display: flex; gap: 10px; padding: 10px 0; border-bottom: 1px dashed var(--line); min-width: 0; }
.kv li span:first-child { color: var(--muted); flex: none; width: 88px; font-size: 13px; }
.kv li b { min-width: 0; overflow-wrap: anywhere; }
@media (max-width: 640px) { .kv { grid-template-columns: 1fr; } }

.pros-cons { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 18px 0; }
@media (max-width: 600px) { .pros-cons { grid-template-columns: 1fr; } }
.pros-cons div { border-radius: 14px; padding: 14px 18px; border: 1px solid var(--line); }
.pros { background: var(--green-t); border-color: rgba(52, 211, 153, 0.35) !important; }
.cons { background: var(--amber-t); border-color: rgba(245, 158, 11, 0.35) !important; }
.pros-cons .pc-h, .pros-cons h4 { margin: 0 0 8px; font-size: 14px; font-weight: 800; }
.pros-cons ul { margin: 0; padding-left: 18px; font-size: 14px; }

/* 栏目卡片 & 品牌库 & 测速图 */
.hub-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 14px 0 10px; }
@media (max-width: 640px) { .hub-grid { grid-template-columns: 1fr; } }
.hub-card { display: flex; flex-direction: column; gap: 6px; padding: 16px 18px; border-left: 3px solid var(--teal); color: var(--ink); }
.hub-card:hover { transform: translateY(-3px); border-left-color: var(--violet); }
.hub-t { font-weight: 800; font-size: 15.5px; }
.hub-d { font-size: 13px; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.hub-m { font-size: 11px; color: var(--muted); font-family: var(--mono); }
.hub-start .hub-card { border-left-color: var(--amber); background: var(--amber-t); }

.lib-bar { position: relative; background: var(--sheet); backdrop-filter: blur(18px); border: 1px solid var(--line); border-radius: 16px; padding: 16px; margin: 0 0 18px; display: grid; gap: 12px; }
.lib-bar input[type=search] { width: 100%; font-size: 15px; padding: 11px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--card-2); color: var(--ink); }
.lib-filters { display: flex; flex-wrap: wrap; gap: 8px; }
.lib-filters select { font-size: 13px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 10px; background: var(--card-2); color: var(--ink); }
.lib-chips { display: flex; gap: 7px; overflow-x: auto; padding-bottom: 2px; }
.lib-chips button { flex: none; font-size: 12.5px; border: 1px solid var(--line); background: var(--card-2); color: var(--ink-2); border-radius: 999px; padding: 6px 13px; cursor: pointer; transition: all 0.2s; }
.lib-chips button[aria-pressed=true] { background: var(--grad-primary); color: #04131c; border-color: transparent; font-weight: 800; }
.lib-meta { display: flex; justify-content: space-between; gap: 10px; font-size: 13px; color: var(--muted); flex-wrap: wrap; }
.lib-reset { font-size: 13px; background: none; border: 0; color: var(--teal); cursor: pointer; font-weight: 700; }
.lib-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 960px) { .lib-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .lib-grid { grid-template-columns: 1fr; } }
@media (min-width: 900px) { .lib-bar { position: sticky; top: 72px; z-index: 20; } }
.lib-card { border-left: 4px solid var(--teal); padding: 18px; display: flex; flex-direction: column; gap: 10px; }
.lib-card:hover { transform: translateY(-5px); }
.lib-card[hidden] { display: none; }
.lib-card h3 { margin: 0; font-size: 17px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.lib-card h3 a { color: var(--ink); }
.lib-kv { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 12px; font-size: 12.5px; }
.lib-kv div small { display: block; color: var(--muted); font-size: 11px; }
.lib-tags { display: flex; flex-wrap: wrap; gap: 5px; }
.lib-tags span { font-size: 11px; background: var(--card-2); border-radius: 6px; padding: 2px 8px; color: var(--ink-2); }
.lib-status { display: flex; flex-wrap: wrap; gap: 6px; font-size: 11px; }
.lib-status span { border-radius: 999px; padding: 2px 9px; border: 1px solid var(--line); }
.lib-card .actions { display: flex; gap: 8px; margin-top: auto; flex-wrap: wrap; }
.lib-empty { text-align: center; padding: 44px 16px; border: 1px dashed var(--line); border-radius: 16px; color: var(--muted); }
.lib-empty[hidden] { display: none; }

.shot-wall { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; margin: 14px 0; }
@media (max-width: 900px) { .shot-wall { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 520px) { .shot-wall { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.shot-wall a { display: flex; flex-direction: column; gap: 5px; color: var(--ink); font-size: 12px; font-weight: 700; text-align: center; }
.shot-wall img { width: 100%; height: 120px; object-fit: cover; object-position: top; border-radius: 10px; border: 1px solid var(--line); transition: transform 0.3s var(--ease-bounce), border-color 0.3s; }
.shot-wall a:hover img { transform: scale(1.06); border-color: var(--teal); box-shadow: 0 8px 20px rgba(6, 214, 160, 0.25); }
.speedshot { margin: 16px 0 24px; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: var(--sheet); }
.speedshot img { display: block; width: 100%; height: auto; transition: transform 0.4s ease; }
.speedshot:hover img { transform: scale(1.015); }
.speedshot figcaption { font-size: 12.5px; color: var(--muted); padding: 12px 16px; border-top: 1px solid var(--line); }
.speed-grid .card img { width: 100%; height: 160px; object-fit: cover; object-position: top; border-radius: 10px; border: 1px solid var(--line); margin-bottom: 12px; }

/* ---------- Dark Network Observatory ---------- */
.obs {
  --bg: #070d1d; --panel: rgba(15, 23, 42, 0.85); --line: rgba(56, 189, 248, 0.22); --txt: #e2e8f0; --dim: #94a3b8; --accent: #38bdf8;
  margin: 22px 0 28px; background: var(--bg);
  background-image: linear-gradient(rgba(56, 189, 248, 0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(56, 189, 248, 0.04) 1px, transparent 1px);
  background-size: 24px 24px; border: 1px solid var(--line); border-top: 3px solid var(--teal);
  border-radius: 18px; color: var(--txt); overflow: hidden; font-size: 13.5px; box-shadow: 0 18px 44px rgba(0, 0, 0, 0.45);
}
.obs .mono, .obs-cell b { font-family: var(--mono); }
.obs-head { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: baseline; padding: 14px 18px; border-bottom: 1px solid var(--line); background: rgba(255, 255, 255, 0.03); }
.obs-kind { font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--teal); font-weight: 800; }
.obs-brand b { color: #fff; font-size: 15px; }
.obs-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--line); }
.obs-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 720px) { .obs-grid, .obs-grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.obs-cell { background: var(--panel); padding: 13px 16px; display: flex; flex-direction: column; gap: 5px; }
.obs-cell small { color: var(--dim); font-size: 11.5px; }
.obs-cell b { color: #fff; font-size: 15px; }
.obs-badge { display: inline-flex; align-items: center; gap: 5px; font-size: 10.5px; padding: 2px 8px; border-radius: 999px; border: 1px solid currentColor; width: max-content; }
.obs-badge i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; box-shadow: 0 0 8px currentColor; }
.obs-measured { color: #34d399; } .obs-vendor { color: #60a5fa; } .obs-tbd { color: #94a3b8; } .obs-partial { color: #fbbf24; } .obs-unavailable { color: #fb7185; }
.obs-tags, .obs-regions { display: flex; flex-wrap: wrap; gap: 6px; padding: 12px 18px; border-top: 1px solid var(--line); }
.obs-tags span, .obs-regions span { font-size: 11.5px; color: var(--txt); border: 1px solid var(--line); background: var(--panel); border-radius: 8px; padding: 3px 9px; display: inline-flex; align-items: center; gap: 6px; }
.obs-regions i { width: 6px; height: 6px; border-radius: 50%; background: var(--teal); }
.obs-matrix { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); }
@media (max-width: 720px) { .obs-matrix { grid-template-columns: 1fr; } }
.obs-matrix > div { background: var(--panel); padding: 12px 16px; }
.obs-svc { display: grid; grid-template-columns: 120px auto 1fr; gap: 8px; align-items: center; padding: 7px 0; border-bottom: 1px dashed var(--line); }
.obs-svc:last-child { border-bottom: 0; }
.obs-path { display: flex; align-items: stretch; padding: 18px; overflow-x: auto; }
.obs-node { flex: 0 0 auto; min-width: 120px; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; color: #fff; font-weight: 700; display: flex; flex-direction: column; gap: 6px; }
.obs-edge { flex: 1 0 70px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; position: relative; padding: 0 6px; font-size: 11px; color: var(--dim); text-align: center; }
.obs-edge::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; border-top: 2px dashed rgba(56, 189, 248, 0.35); z-index: 0; }
.obs-edge span, .obs-edge .obs-badge { position: relative; z-index: 1; background: var(--bg); padding: 0 6px; }
.obs-edge-premium::before { border-top: 3px solid var(--teal); box-shadow: 0 0 12px var(--teal); }
.obs-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 14px; padding: 10px 18px; border-top: 1px solid var(--line); font-size: 11.5px; color: var(--dim); }

/* ---------- 页脚 ---------- */
.site-footer {
  background: linear-gradient(180deg, rgba(6, 9, 19, 0.92), #03060f);
  color: #94a3b8;
  padding: 54px 0 34px;
  margin-top: 48px;
  font-size: 14px;
  border-top: 1px solid rgba(56, 189, 248, 0.18);
}
.footer-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-bottom: 32px; }
.footer-grid-5 { grid-template-columns: repeat(5, 1fr); }
@media (max-width: 1000px) { .footer-grid, .footer-grid-5 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .footer-grid, .footer-grid-5 { grid-template-columns: repeat(2, 1fr); } }
.footer-grid h4 { margin: 0 0 12px; font-size: 13.5px; color: #fff; letter-spacing: 0.05em; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin: 6px 0; font-size: 13px; }
.footer-grid a { color: #94a3b8; transition: color 0.2s, transform 0.2s; display: inline-block; }
.footer-grid a:hover { color: #5eead4; transform: translateX(3px); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.08); padding-top: 20px; font-size: 12.5px; }
.footer-links { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 10px; }
.footer-links a { color: #94a3b8; }
.footer-links a:hover { color: #5eead4; }

/* ---------- 跳转页 / 提示 Toast / 返回顶部环 ---------- */
.go-box {
  max-width: 580px; margin: 80px auto; text-align: center; padding: 38px 28px;
  background: var(--sheet); backdrop-filter: blur(22px);
  border: 1.5px solid rgba(56, 189, 248, 0.35); border-radius: 24px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55), 0 0 40px rgba(6, 214, 160, 0.14);
  animation: popIn 0.5s var(--ease-bounce) both;
}
.go-box .domain {
  font-family: var(--mono); background: rgba(6, 214, 160, 0.12); color: #5eead4;
  border: 1px solid rgba(6, 214, 160, 0.4); padding: 11px 20px; border-radius: 12px;
  display: inline-block; margin: 14px 0; font-size: 15px; font-weight: 700;
}

.toast {
  position: fixed; left: 50%; bottom: 32px;
  transform: translateX(-50%) translateY(20px) scale(0.92);
  background: rgba(10, 17, 34, 0.92);
  backdrop-filter: blur(18px);
  color: #fff;
  border: 1px solid rgba(6, 214, 160, 0.55);
  padding: 10px 22px; border-radius: 999px; font-size: 13.5px; font-weight: 700;
  opacity: 0; pointer-events: none; z-index: 9999;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5), 0 0 24px rgba(6, 214, 160, 0.35);
  transition: all 0.32s var(--ease-bounce);
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0) scale(1); }

/* 优惠码点击爆裂粒子 */
.copy-particle {
  position: fixed;
  width: 7px; height: 7px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  animation: particleBurst 0.65s var(--ease-spring) forwards;
}
@keyframes particleBurst {
  0% { transform: translate(0, 0) scale(1); opacity: 1; }
  100% { transform: translate(var(--dx), var(--dy)) scale(0); opacity: 0; }
}

/* 悬浮返回顶部按钮 */
#back-to-top {
  position: fixed;
  right: 26px;
  bottom: 28px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(10, 17, 34, 0.85);
  backdrop-filter: blur(14px);
  border: 1.5px solid rgba(56, 189, 248, 0.45);
  color: #5eead4;
  display: grid;
  place-items: center;
  cursor: pointer;
  z-index: 900;
  opacity: 0;
  transform: translateY(20px) scale(0.8);
  pointer-events: none;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45);
  transition: all 0.32s var(--ease-bounce);
  font-size: 18px;
  font-weight: 900;
}
#back-to-top.visible { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }
#back-to-top:hover { background: var(--grad-primary); color: #04131c; transform: translateY(-4px) scale(1.1); box-shadow: 0 14px 34px rgba(6, 214, 160, 0.45); }

/* ---------- 滚动入场动画系统 (Kinetic Scroll Reveal) ---------- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: translateY(0); }
}
.reveal {
  opacity: 0;
  transform: translateY(26px) scale(0.985);
  transition: opacity 0.65s var(--ease-spring), transform 0.65s var(--ease-spring);
}
.reveal.in-view {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.skip { position: absolute; left: -9999px; top: 8px; z-index: 300; background: var(--teal); color: #04131c; padding: 8px 14px; border-radius: 8px; font-weight: 800; }
.skip:focus { left: 12px; }
.pin-note { margin: 8px 0 18px; color: var(--muted); font-size: 13px; }
.dim-list { padding-left: 22px; }
.dim-list li { margin: 8px 0; line-height: 1.7; }

/* ==========================================================================
   布局 A：居中沉浸巨幕 Hero + 底部悬浮数据带 + 交互式 Tab 实验室
   ========================================================================== */
.hero-centered .hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 1120px;
  padding: 72px 20px 56px;
  gap: 0;
}
.hero-centered .hero h1 {
  font-size: clamp(24px, 3.6vw, 46px);
  max-width: none;
  white-space: nowrap;
  margin: 0 auto 18px;
}
@media (max-width: 720px) {
  .hero-centered .hero h1 {
    white-space: normal;
    font-size: clamp(24px, 6.5vw, 32px);
  }
}
.hero-centered .hero p.lead {
  max-width: 720px;
  margin: 0 auto 28px;
  font-size: 17px;
}
.hero-centered .btn-row { justify-content: center; }
.hero-centered .chips { justify-content: center; max-width: 820px; margin: 22px auto 0; }

/* 4 格悬浮玻璃数据条 */
.hero-ribbon {
  width: 100%;
  max-width: 960px;
  margin: 34px auto 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  animation: fadeUp 0.85s var(--ease-spring) 0.22s both;
}
@media (max-width: 780px) { .hero-ribbon { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.hero-stat {
  background: rgba(10, 17, 34, 0.62);
  backdrop-filter: blur(18px);
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-radius: 16px;
  padding: 16px 14px;
  text-align: center;
  transition: transform 0.3s var(--ease-bounce), border-color 0.3s, box-shadow 0.3s;
}
.hero-stat:hover {
  transform: translateY(-4px);
  border-color: var(--teal);
  box-shadow: 0 12px 28px rgba(6, 214, 160, 0.2);
}
.hero-stat small { display: block; font-size: 12px; color: #94a3b8; margin-bottom: 4px; letter-spacing: 0.04em; }
.hero-stat b {
  font-family: var(--mono);
  font-size: 24px;
  font-weight: 900;
  background: linear-gradient(90deg, #fff, #5eead4, #38bdf8);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* 首屏底部 Top 3 实时领奖台条 */
.hero-podium {
  width: 100%;
  max-width: 960px;
  margin: 16px auto 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  animation: fadeUp 0.9s var(--ease-spring) 0.3s both;
}
@media (max-width: 780px) { .hero-podium { grid-template-columns: 1fr; } }
.podium-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 14px;
  background: rgba(15, 23, 42, 0.68);
  border: 1px solid rgba(148, 163, 184, 0.18);
  color: #e2e8f0;
  text-align: left;
  transition: all 0.28s var(--ease-spring);
}
.podium-item:hover {
  transform: translateY(-3px);
  border-color: var(--teal);
  background: rgba(6, 214, 160, 0.12);
  color: #fff;
}
.podium-rank {
  font-family: var(--mono);
  font-weight: 900;
  font-size: 13px;
  color: #04131c;
  background: var(--grad-primary);
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  flex: none;
}
.podium-info { flex: 1; min-width: 0; }
.podium-info strong { display: block; font-size: 14.5px; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.podium-info small { display: block; font-size: 11.5px; color: #94a3b8; }
.podium-score { font-family: var(--mono); font-weight: 900; font-size: 15px; color: #5eead4; flex: none; }

/* ---------- 交互式 Tab 评测实验室 (#lab-hub) ---------- */
.lab-shell {
  background: var(--sheet);
  backdrop-filter: blur(20px);
  border: 1.5px solid rgba(56, 189, 248, 0.28);
  border-radius: 22px;
  padding: 24px;
  box-shadow: var(--shadow-card);
  margin-top: 12px;
}
.lab-nav {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  padding-bottom: 18px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--line);
}
.lab-tab-btn {
  flex: 1;
  min-width: 180px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--card-2);
  color: var(--ink-2);
  font-size: 14.5px;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.28s var(--ease-bounce);
}
.lab-tab-btn:hover {
  border-color: var(--teal);
  color: var(--teal);
  transform: translateY(-2px);
}
.lab-tab-btn.active {
  background: var(--grad-primary);
  color: #04131c;
  border-color: transparent;
  box-shadow: 0 8px 24px rgba(6, 214, 160, 0.35);
  transform: translateY(-2px);
}
.lab-pane { display: none; animation: popIn 0.38s var(--ease-spring) both; }
.lab-pane.active { display: block; }
.lab-pane .wizard-box,
.lab-pane .peak-box,
.lab-pane .streaming-box {
  margin-top: 0 !important;
  border: none !important;
  box-shadow: none !important;
  background: transparent !important;
  padding: 4px 0 0 !important;
}

