/* ==========================================================================
   机票.CC — 机票资讯门户 设计系统
   浅色主题 / 中文优先字体栈 / 移动端优先
   ========================================================================== */

:root {
  /* 背景与表面 */
  --bg: #f4f7fb;
  --bg-soft: #eef4fb;
  --surface: #ffffff;
  --surface-2: #f8fafd;

  /* 文字 */
  --ink: #10203a;
  --ink-2: #4a5a72;
  --ink-3: #7b8a9e;
  --ink-invert: #ffffff;

  /* 线条 */
  --line: #e3e9f2;
  --line-strong: #cdd8e8;

  /* 品牌 */
  --brand: #0b63c5;
  --brand-dark: #0a4d9b;
  --brand-soft: #eaf2fd;
  --accent: #f5661e;
  --accent-soft: #fff1e9;

  /* 语义：中国股市惯例 涨=红 跌=绿 */
  --up: #d92b2b;
  --up-soft: #fdecec;
  --down: #12915a;
  --down-soft: #e8f6ef;

  /* 阴影与圆角 */
  --r-sm: 8px;
  --r: 12px;
  --r-lg: 16px;
  --shadow-1: 0 1px 2px rgba(16, 32, 58, .04), 0 2px 8px rgba(16, 32, 58, .05);
  --shadow-2: 0 4px 12px rgba(16, 32, 58, .07), 0 12px 32px rgba(16, 32, 58, .07);
  --maxw: 1200px;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei", "Hiragino Sans GB",
               "Source Han Sans SC", "Noto Sans CJK SC", system-ui, -apple-system, sans-serif;
  font-size: 15px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-dark); }
h1, h2, h3, h4 { margin: 0; line-height: 1.35; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0 0 12px; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- 顶部通知条 ---------- */
.topbar {
  background: linear-gradient(90deg, #0a4d9b, #0b63c5 55%, #1780d8);
  color: #eaf2fd;
  font-size: 13px;
}
.topbar .container {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; height: 36px;
}
.topbar-left { display: flex; align-items: center; gap: 8px; white-space: nowrap; overflow: hidden; }
.topbar b { color: #fff; font-weight: 600; }
.topbar-right { display: flex; gap: 16px; flex-shrink: 0; }
.topbar a { color: #cfe3fb; }
.topbar a:hover { color: #fff; }
@media (max-width: 860px) { .topbar-right { display: none; } }

/* ---------- 头部 ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; gap: 24px;
  height: 68px;
}
.brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand-mark {
  width: 38px; height: 38px; border-radius: 10px; flex-shrink: 0;
  background: linear-gradient(135deg, #1780d8, #0a4d9b);
  color: #fff; display: grid; place-items: center;
  font-size: 20px; font-weight: 700;
  box-shadow: 0 2px 8px rgba(11, 99, 197, .3);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font-size: 19px; font-weight: 800; color: var(--ink); letter-spacing: -.02em; }
.brand-name .tld { color: var(--brand); }
.brand-sub { font-size: 11px; color: var(--ink-3); letter-spacing: .12em; }

.nav { margin-left: auto; }
.nav ul { display: flex; align-items: center; gap: 4px; }
.nav a {
  display: block; padding: 8px 13px; border-radius: 9px;
  color: var(--ink-2); font-size: 14.5px; font-weight: 500; white-space: nowrap;
}
.nav a:hover { background: var(--brand-soft); color: var(--brand-dark); }
.nav a.is-active { background: var(--brand-soft); color: var(--brand-dark); font-weight: 600; }

.header-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.nav-toggle {
  display: none; width: 40px; height: 40px; border: 1px solid var(--line-strong);
  background: var(--surface); border-radius: 10px; cursor: pointer;
  font-size: 17px; color: var(--ink-2);
}
@media (max-width: 1020px) {
  .nav { display: none; position: absolute; top: 68px; left: 0; right: 0;
         background: var(--surface); border-bottom: 1px solid var(--line);
         box-shadow: var(--shadow-2); padding: 10px 20px 16px; margin: 0; }
  .nav.is-open { display: block; }
  .nav ul { flex-direction: column; align-items: stretch; gap: 2px; }
  .nav a { padding: 11px 12px; font-size: 15px; }
  .nav-toggle { display: grid; place-items: center; margin-left: auto; }
  .header-actions { margin-left: 0; }
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  padding: 9px 18px; border-radius: 10px; border: 1px solid transparent;
  font-size: 14.5px; font-weight: 600; cursor: pointer; font-family: inherit;
  transition: transform .12s ease, background .15s ease, box-shadow .15s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 2px 8px rgba(11,99,197,.22); }
.btn-primary:hover { background: var(--brand-dark); color: #fff; }
.btn-accent { background: var(--accent); color: #fff; box-shadow: 0 2px 8px rgba(245,102,30,.24); }
.btn-accent:hover { background: #e0550f; color: #fff; }
.btn-ghost { background: var(--surface); border-color: var(--line-strong); color: var(--ink-2); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); }
.btn-sm { padding: 6px 13px; font-size: 13.5px; border-radius: 8px; }
.btn-lg { padding: 13px 26px; font-size: 16px; border-radius: 12px; }
.btn-block { width: 100%; }

/* ---------- 价格播报条 ---------- */
.ticker {
  background: var(--surface); border-bottom: 1px solid var(--line);
  overflow: hidden; height: 42px; display: flex; align-items: center;
}
.ticker-label {
  flex-shrink: 0; display: flex; align-items: center; gap: 6px;
  padding: 0 14px; height: 100%; background: var(--brand-soft);
  color: var(--brand-dark); font-size: 13px; font-weight: 700;
  border-right: 1px solid var(--line);
}
.ticker-label .dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--up);
  animation: pulse 1.6s infinite;
}
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .25; } }
.ticker-track { display: flex; gap: 34px; padding-left: 22px; white-space: nowrap;
  animation: slide 42s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
@keyframes slide { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.ticker-item { font-size: 13.5px; color: var(--ink-2); }
.ticker-item b { color: var(--ink); font-weight: 600; }
.chg-up { color: var(--up); font-weight: 700; }
.chg-down { color: var(--down); font-weight: 700; }

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(1100px 420px at 12% -10%, #dbeafe 0%, rgba(219,234,254,0) 62%),
    radial-gradient(900px 380px at 92% 0%, #e0f2fe 0%, rgba(224,242,254,0) 60%),
    var(--surface);
  border-bottom: 1px solid var(--line);
  padding: 46px 0 42px;
}
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 44px; align-items: center; }
@media (max-width: 980px) { .hero-grid { grid-template-columns: 1fr; gap: 30px; } }
.hero h1 { font-size: 38px; letter-spacing: -.03em; margin-bottom: 14px; }
.hero h1 .hl { color: var(--brand); }
.hero-lead { font-size: 16.5px; color: var(--ink-2); max-width: 620px; margin-bottom: 22px; }
.hero-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.tag {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 12px; border-radius: 999px; font-size: 13px;
  background: var(--surface); border: 1px solid var(--line-strong); color: var(--ink-2);
}
.tag:hover { border-color: var(--brand); color: var(--brand); }
.tag-solid { background: var(--brand-soft); border-color: #cfe3fb; color: var(--brand-dark); font-weight: 600; }

/* 搜索框 */
.search-card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); box-shadow: var(--shadow-2); padding: 20px;
}
.search-card h3 { font-size: 15px; margin-bottom: 4px; }
.search-card .hint { font-size: 12.5px; color: var(--ink-3); margin-bottom: 14px; }
.search-box { display: flex; gap: 8px; }
.search-box input {
  flex: 1; min-width: 0; padding: 11px 14px; font-size: 14.5px; font-family: inherit;
  border: 1px solid var(--line-strong); border-radius: 10px; background: var(--surface-2);
  color: var(--ink);
}
.search-box input:focus { outline: 2px solid #bfdcf8; border-color: var(--brand); background: #fff; }
.search-results { margin-top: 12px; max-height: 268px; overflow-y: auto; }
.search-results .sr-item {
  display: block; padding: 9px 11px; border-radius: 9px; border: 1px solid transparent;
}
.search-results .sr-item:hover { background: var(--bg-soft); border-color: var(--line); }
.search-results .sr-title { font-size: 14px; font-weight: 600; color: var(--ink); }
.search-results .sr-meta { font-size: 12px; color: var(--ink-3); }
.search-empty { font-size: 13.5px; color: var(--ink-3); padding: 10px 2px; }

/* ---------- 通用区块 ---------- */
.section { padding: 40px 0 8px; }
.section-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 20px; margin-bottom: 20px;
}
.section-head h2 { font-size: 23px; letter-spacing: -.02em; }
.section-head h2 .bar {
  display: inline-block; width: 4px; height: 20px; border-radius: 3px;
  background: var(--brand); margin-right: 10px; vertical-align: -2px;
}
.section-head p { margin: 6px 0 0; font-size: 14px; color: var(--ink-3); }
.more-link { font-size: 14px; font-weight: 600; flex-shrink: 0; }

/* 栏目导航卡（5 大板块） */
.col-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
@media (max-width: 980px) { .col-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .col-grid { grid-template-columns: 1fr; } }
.col-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r);
  padding: 18px; box-shadow: var(--shadow-1); transition: .18s;
  display: flex; flex-direction: column; gap: 6px;
}
.col-card:hover { border-color: #bfdcf8; box-shadow: var(--shadow-2); transform: translateY(-2px); }
.col-ico {
  width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center;
  font-size: 19px; background: var(--brand-soft); margin-bottom: 4px;
}
.col-card h3 { font-size: 16px; }
.col-card p { font-size: 13px; color: var(--ink-3); margin: 0; }
.col-card .col-meta { font-size: 12.5px; color: var(--brand); font-weight: 600; margin-top: auto; padding-top: 8px; }

/* 卡片网格 */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 980px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-3, .grid-2, .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r);
  box-shadow: var(--shadow-1); overflow: hidden; display: flex; flex-direction: column;
}
.card:hover { box-shadow: var(--shadow-2); border-color: #d7e2f1; }
.card-body { padding: 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card h3 { font-size: 16px; line-height: 1.5; }
.card h3 a { color: var(--ink); }
.card h3 a:hover { color: var(--brand); }
.card p { font-size: 13.5px; color: var(--ink-2); margin: 0; }
.card-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  font-size: 12.5px; color: var(--ink-3); margin-top: auto; padding-top: 10px;
  border-top: 1px solid var(--line);
}
.card-cover {
  height: 132px; background: linear-gradient(135deg, #dbeafe, #eff6ff);
  display: grid; place-items: center; font-size: 34px; color: #93b8e0;
}

/* 徽标 */
.badge {
  display: inline-flex; align-items: center; gap: 5px; padding: 3px 9px;
  border-radius: 6px; font-size: 12px; font-weight: 600; line-height: 1.6;
}
.badge-brand { background: var(--brand-soft); color: var(--brand-dark); }
.badge-accent { background: var(--accent-soft); color: #c2470c; }
.badge-up { background: var(--up-soft); color: var(--up); }
.badge-down { background: var(--down-soft); color: var(--down); }
.badge-gray { background: #eef1f6; color: var(--ink-2); }

/* 列表（出行攻略等） */
.list { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.list-item {
  display: flex; gap: 14px; padding: 15px 18px; border-bottom: 1px solid var(--line);
  align-items: flex-start;
}
.list-item:last-child { border-bottom: 0; }
.list-item:hover { background: var(--surface-2); }
.list-num {
  width: 24px; height: 24px; border-radius: 7px; flex-shrink: 0; display: grid; place-items: center;
  background: var(--brand-soft); color: var(--brand-dark); font-size: 12.5px; font-weight: 700;
}
.list-main { flex: 1; min-width: 0; }
.list-main h4 { font-size: 15px; margin-bottom: 3px; }
.list-main h4 a { color: var(--ink); }
.list-main h4 a:hover { color: var(--brand); }
.list-main p { font-size: 13px; color: var(--ink-3); margin: 0; }
.list-side { font-size: 12.5px; color: var(--ink-3); flex-shrink: 0; text-align: right; }

/* ---------- 表格 ---------- */
.table-wrap {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r);
  overflow: auto; box-shadow: var(--shadow-1);
}
table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 720px; }
thead th {
  background: var(--surface-2); color: var(--ink-2); font-weight: 600; font-size: 13px;
  text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line); white-space: nowrap;
}
thead th.sortable { cursor: pointer; user-select: none; }
thead th.sortable:hover { color: var(--brand); }
tbody td { padding: 13px 16px; border-bottom: 1px solid var(--line); }
tbody tr:last-child td { border-bottom: 0; }
tbody tr:hover { background: var(--surface-2); }
.td-strong { font-weight: 600; color: var(--ink); }
.td-num { text-align: right; font-variant-numeric: tabular-nums; }
.muted { color: var(--ink-3); font-size: 13px; }

/* 数据来源说明 */
.source-note {
  margin-top: 12px; padding: 11px 14px; border-radius: var(--r-sm);
  background: var(--surface-2); border: 1px dashed var(--line-strong);
  font-size: 12.5px; color: var(--ink-3);
}
.source-note b { color: var(--ink-2); }
.source-note .src-demo {
  display: inline-block; background: #fff; border: 1px solid var(--line);
  border-radius: 5px; padding: 0 5px; color: var(--ink-2);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 12px;
}

/* E-E-A-T 更新戳 */
.stamp {
  display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 14px;
  padding-top: 12px; border-top: 1px dashed var(--line);
  font-size: 12.5px; color: var(--ink-3);
}
.stamp b { color: var(--ink-2); font-weight: 600; }

/* ---------- 筛选条 ---------- */
.filter-bar { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; align-items: center; }
.chip {
  padding: 6px 14px; border-radius: 999px; font-size: 13.5px; cursor: pointer;
  background: var(--surface); border: 1px solid var(--line-strong); color: var(--ink-2);
  font-family: inherit;
}
.chip:hover { border-color: var(--brand); color: var(--brand); }
.chip.is-active { background: var(--brand); border-color: var(--brand); color: #fff; font-weight: 600; }

/* ---------- 时间线（航司动态） ---------- */
.timeline { position: relative; padding-left: 26px; }
.timeline::before {
  content: ''; position: absolute; left: 7px; top: 6px; bottom: 6px;
  width: 2px; background: var(--line);
}
.tl-item { position: relative; padding-bottom: 22px; }
.tl-item::before {
  content: ''; position: absolute; left: -23px; top: 7px; width: 10px; height: 10px;
  border-radius: 50%; background: var(--surface); border: 2px solid var(--brand);
}
.tl-date { font-size: 12.5px; color: var(--ink-3); margin-bottom: 2px; }
.tl-item h4 { font-size: 15.5px; margin-bottom: 4px; }
.tl-item p { font-size: 13.5px; color: var(--ink-2); margin: 0; }

/* ---------- 订阅横幅 ---------- */
.subscribe-band {
  margin: 46px 0 0;
  background: linear-gradient(120deg, #0a4d9b, #0b63c5 52%, #1780d8);
  border-radius: var(--r-lg);
  padding: 34px 38px; color: #fff;
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px; align-items: center;
  box-shadow: var(--shadow-2);
}
@media (max-width: 860px) { .subscribe-band { grid-template-columns: 1fr; padding: 26px 22px; gap: 20px; } }
.subscribe-band h2 { font-size: 24px; color: #fff; margin-bottom: 8px; }
.subscribe-band p { color: #cfe3fb; font-size: 14.5px; margin: 0; }
.subscribe-band .sub-note { font-size: 12.5px; color: #a8cdf5; margin-top: 10px; }
.sub-form { display: flex; gap: 9px; flex-wrap: wrap; }
.sub-form input[type="email"] {
  flex: 1; min-width: 200px; padding: 12px 15px; border-radius: 10px;
  border: 1px solid rgba(255,255,255,.28); background: rgba(255,255,255,.14);
  color: #fff; font-size: 14.5px; font-family: inherit;
}
.sub-form input[type="email"]::placeholder { color: #bcd8f7; }
.sub-form input[type="email"]:focus { outline: 2px solid rgba(255,255,255,.5); background: rgba(255,255,255,.2); }
.sub-msg { margin-top: 10px; font-size: 13.5px; color: #d9ecff; min-height: 20px; }

/* ---------- 页脚 ---------- */
.site-footer { background: #0d1b31; color: #a9bbd2; margin-top: 56px; font-size: 14px; }
.footer-top {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr 1.4fr;
  gap: 30px; padding: 44px 0 32px;
}
@media (max-width: 1020px) { .footer-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-top { grid-template-columns: 1fr; gap: 24px; } }
.footer-brand .brand-name { color: #fff; }
.footer-brand .brand-sub { color: #7f93ad; }
.footer-brand p { font-size: 13.5px; color: #8fa4bc; margin: 14px 0 0; }
.footer-col h4 { color: #fff; font-size: 14.5px; margin-bottom: 12px; }
.footer-col li { margin-bottom: 8px; }
.footer-col a { color: #a9bbd2; font-size: 13.5px; }
.footer-col a:hover { color: #fff; }

/* 智能体邮箱联系卡 —— 网站显眼联系入口 */
.agent-mail-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(120,180,255,.28);
  border-radius: var(--r);
  padding: 16px;
}
.agent-mail-card h4 { color: #fff; font-size: 14.5px; margin-bottom: 6px; display: flex; align-items: center; gap: 8px; }
.agent-mail-card .ai-dot {
  width: 7px; height: 7px; border-radius: 50%; background: #4ade80;
  box-shadow: 0 0 0 4px rgba(74,222,128,.16);
}
.agent-mail-card p { font-size: 12.5px; color: #9db2c9; margin: 0 0 10px; }
.mail-addr {
  display: block; padding: 10px 12px; border-radius: 9px; margin-bottom: 10px;
  background: rgba(255,255,255,.09); border: 1px solid rgba(120,180,255,.22);
  color: #dff0ff; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 13.5px; word-break: break-all;
}
.mail-addr:hover { background: rgba(255,255,255,.16); color: #fff; }
.agent-mail-card .mail-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.agent-mail-card .btn-ghost { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.3); color: #e6f1ff; }
.agent-mail-card .btn-ghost:hover { background: rgba(255,255,255,.2); color: #fff; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1); padding: 18px 0 22px;
  display: flex; flex-wrap: wrap; gap: 10px 22px; justify-content: space-between;
  font-size: 12.5px; color: #7f93ad;
}
.footer-bottom a { color: #9db2c9; }
.footer-bottom a:hover { color: #fff; }
.footer-disclaimer { font-size: 12px; color: #6c8098; line-height: 1.7; padding-bottom: 16px; }

/* ---------- 页面头部（栏目页） ---------- */
.page-hero {
  background: var(--surface); border-bottom: 1px solid var(--line); padding: 30px 0 26px;
}
.breadcrumb { font-size: 13px; color: var(--ink-3); margin-bottom: 12px; }
.breadcrumb a { color: var(--ink-3); }
.breadcrumb a:hover { color: var(--brand); }
.breadcrumb .sep { margin: 0 7px; color: var(--line-strong); }
.page-hero h1 { font-size: 29px; margin-bottom: 10px; }
.page-hero .lead { font-size: 15px; color: var(--ink-2); max-width: 780px; margin: 0; }

.layout-main { padding: 34px 0 0; }
.layout-split { display: grid; grid-template-columns: 1fr 320px; gap: 28px; align-items: start; }
@media (max-width: 980px) { .layout-split { grid-template-columns: 1fr; } }
.side-box {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r);
  padding: 18px; box-shadow: var(--shadow-1); margin-bottom: 18px;
}
.side-box h3 { font-size: 15.5px; margin-bottom: 12px; }
.side-box h3 .bar {
  display: inline-block; width: 3px; height: 15px; border-radius: 2px;
  background: var(--brand); margin-right: 8px; vertical-align: -1px;
}
.side-list li { padding: 9px 0; border-bottom: 1px dashed var(--line); font-size: 14px; }
.side-list li:last-child { border-bottom: 0; }
.side-list a { color: var(--ink-2); }
.side-list a:hover { color: var(--brand); }

/* FAQ */
.faq-item { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); margin-bottom: 10px; overflow: hidden; }
.faq-q {
  width: 100%; text-align: left; padding: 15px 18px; background: none; border: 0;
  font-size: 15px; font-weight: 600; color: var(--ink); cursor: pointer;
  font-family: inherit; display: flex; justify-content: space-between; gap: 14px; align-items: center;
}
.faq-q:hover { color: var(--brand); }
.faq-q .ico { color: var(--ink-3); transition: transform .2s; flex-shrink: 0; }
.faq-item.is-open .faq-q .ico { transform: rotate(45deg); }
.faq-a { display: none; padding: 0 18px 16px; font-size: 14px; color: var(--ink-2); }
.faq-item.is-open .faq-a { display: block; }

/* 正文排版 */
.prose { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 26px 30px; box-shadow: var(--shadow-1); }
@media (max-width: 640px) { .prose { padding: 20px 18px; } }
.prose h2 { font-size: 20px; margin: 26px 0 12px; padding-top: 4px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 16.5px; margin: 20px 0 8px; }
.prose p { color: var(--ink-2); }
.prose ul.dots { list-style: none; margin: 0 0 14px; }
.prose ul.dots li { position: relative; padding-left: 18px; margin-bottom: 7px; color: var(--ink-2); font-size: 14.5px; }
.prose ul.dots li::before {
  content: ''; position: absolute; left: 3px; top: 10px; width: 6px; height: 6px;
  border-radius: 50%; background: var(--brand);
}
.prose ol.nums { list-style: none; counter-reset: n; margin: 0 0 14px; }
.prose ol.nums li {
  counter-increment: n; position: relative; padding-left: 30px; margin-bottom: 9px;
  color: var(--ink-2); font-size: 14.5px;
}
.prose ol.nums li::before {
  content: counter(n); position: absolute; left: 0; top: 2px; width: 20px; height: 20px;
  border-radius: 6px; background: var(--brand-soft); color: var(--brand-dark);
  font-size: 12px; font-weight: 700; display: grid; place-items: center;
}
.callout {
  border-left: 3px solid var(--brand); background: var(--brand-soft);
  border-radius: 0 var(--r-sm) var(--r-sm) 0; padding: 14px 18px; margin: 18px 0;
  font-size: 14.5px; color: var(--ink-2);
}
.callout b { color: var(--ink); }
.callout-warn { border-left-color: var(--accent); background: var(--accent-soft); }

/* 提示条：示例数据 */
.demo-flag {
  display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px;
  background: #fff8e6; border: 1px solid #f5dfa3; color: #8a6100;
  padding: 3px 10px; border-radius: 6px; font-weight: 600;
}

/* Toast */
.toast {
  position: fixed; left: 50%; bottom: 32px; transform: translate(-50%, 20px);
  background: #10203a; color: #fff; padding: 12px 20px; border-radius: 10px;
  font-size: 14px; box-shadow: var(--shadow-2); opacity: 0; pointer-events: none;
  transition: .25s; z-index: 200; max-width: 90vw;
}
.toast.is-show { opacity: 1; transform: translate(-50%, 0); }

@media print { .site-header, .subscribe-band, .ticker, .topbar { display: none; } }
