/* ==========================================================================
   机场推荐站 · 设计系统「清爽测评」— 白底 / 蓝色主色 / 卡片排行
   ========================================================================== */
:root {
  --font: "Noto Sans SC", "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei UI", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
  --mono: ui-monospace, "SF Mono", "Cascadia Code", Consolas, monospace;
  --radius: 16px;
  --radius-sm: 10px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --ease-spring: cubic-bezier(.34, 1.56, .64, 1);
  --wrap: 1160px;
  --narrow: 860px;
  --header-h: 64px;
}
:root,
:root[data-theme="light"] {
  color-scheme: light;
  --bg: #ffffff;
  --bg-soft: #f6f8fc;
  --bg-tint: #eef4ff;
  --surface: #ffffff;
  --surface-2: #f8fafc;
  --line: #e5e9f2;
  --line-2: #cfd7e6;
  --text: #0f172a;
  --text-2: #334155;
  --muted: #64748b;
  --primary: #2563eb;
  --primary-2: #1d4ed8;
  --primary-soft: #e8f0ff;
  --on-primary: #ffffff;
  --gold: #f5b70a;
  --gold-soft: #fff6d6;
  --violet: #7c3aed;
  --violet-soft: #f1ebff;
  --good: #16a34a;
  --good-soft: #eafaf0;
  --bad: #dc2626;
  --bad-soft: #fdeeee;
  --promo: #e11d48;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .05);
  --shadow: 0 10px 30px -12px rgba(15, 23, 42, .14);
  --shadow-lg: 0 24px 60px -24px rgba(37, 99, 235, .35);
  --board: #0f172a;
  --board-2: #1e293b;
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0b1020;
  --bg-soft: #0f1629;
  --bg-tint: #111c38;
  --surface: #121a2e;
  --surface-2: #162038;
  --line: #22304d;
  --line-2: #2e3f63;
  --text: #e8eefb;
  --text-2: #c3cde3;
  --muted: #8b98b8;
  --primary: #5b8cff;
  --primary-2: #7aa2ff;
  --primary-soft: #18264a;
  --on-primary: #ffffff;
  --gold: #fbbf24;
  --gold-soft: #2b2410;
  --violet: #a78bfa;
  --violet-soft: #221a3d;
  --good: #4ade80;
  --good-soft: #10261a;
  --bad: #f87171;
  --bad-soft: #2a1414;
  --promo: #fb4f73;
  --shadow-sm: none;
  --shadow: 0 10px 30px -12px rgba(0, 0, 0, .6);
  --shadow-lg: 0 24px 60px -24px rgba(0, 0, 0, .7);
  --board: #060a14;
  --board-2: #111a2e;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font); font-size: 16px; line-height: 1.75; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4 { line-height: 1.3; margin: 0 0 .6em; color: var(--text); text-wrap: balance; }
p { margin: 0 0 1em; text-wrap: pretty; }
code { font-family: var(--mono); font-size: .92em; padding: 1px 6px; border-radius: 6px; background: var(--bg-tint); color: var(--primary-2); }
::selection { background: var(--primary); color: #fff; }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; border-radius: 6px; }
.wrap { width: min(100% - 32px, var(--wrap)); margin-inline: auto; }
.narrow { width: min(100% - 32px, var(--narrow)); margin-inline: auto; }
.muted { color: var(--muted); }
.small { font-size: .85rem; }
.hl { color: var(--primary); }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--primary); color: #fff; padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }

@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vtOut .2s ease both; }
::view-transition-new(root) { animation: vtIn .35s var(--ease) both; }
@keyframes vtOut { to { opacity: 0; } }
@keyframes vtIn { from { opacity: 0; transform: translateY(8px); } }

.progress { position: fixed; inset: 0 0 auto; height: 3px; z-index: 60; pointer-events: none; }
.progress span { display: block; height: 100%; transform-origin: 0 50%; transform: scaleX(var(--p, 0)); background: linear-gradient(90deg, var(--primary), var(--violet)); }

/* ---------- 按钮 ---------- */
.btn {
  --bx: 0px; --by: 0px;
  display: inline-flex; align-items: center; justify-content: center; gap: .45em; height: 46px; padding: 0 22px;
  border-radius: 10px; border: 1px solid var(--line-2); background: var(--surface); color: var(--text);
  font-weight: 700; font-size: .96rem; white-space: nowrap; position: relative; overflow: hidden;
  transform: translate(var(--bx), var(--by)); transition: transform .3s var(--ease-spring), background .2s, border-color .2s, box-shadow .2s;
}
.btn:hover { border-color: var(--primary); color: var(--primary); }
.btn-primary { background: var(--primary); border-color: var(--primary); color: var(--on-primary); box-shadow: 0 8px 20px -8px rgba(37, 99, 235, .6); }
.btn-primary:hover { background: var(--primary-2); color: var(--on-primary); border-color: var(--primary-2); }
.btn-primary::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 35%, rgba(255, 255, 255, .35) 50%, transparent 65%); transform: translateX(-120%); animation: shine 4s ease-in-out infinite; }
@keyframes shine { 55%, 100% { transform: translateX(120%); } }
.btn-sm { height: 38px; padding: 0 16px; font-size: .88rem; border-radius: 9px; }
.btn-lg { height: 52px; padding: 0 28px; font-size: 1.02rem; }
.btn-block { width: 100%; }
.btn .arrow { transition: transform .25s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }
.tag-ad { display: inline-block; font-size: .7rem; line-height: 1; padding: 3px 6px; border-radius: 4px; border: 1px solid var(--line-2); color: var(--muted); font-weight: 500; vertical-align: middle; }

/* ---------- 头部 ---------- */
.site-header { position: sticky; top: 0; z-index: 50; height: var(--header-h); background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(14px) saturate(1.4); border-bottom: 1px solid var(--line); transition: box-shadow .3s; }
.site-header.is-scrolled { box-shadow: 0 6px 20px -14px rgba(15, 23, 42, .25); }
.header-inner { height: 100%; display: flex; align-items: center; gap: 20px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; }
.brand-mark { width: 34px; height: 34px; transition: transform .5s var(--ease-spring); }
.brand:hover .brand-mark { transform: rotate(-10deg); }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; font-size: 1.05rem; color: var(--text); }
.brand-text small { font-size: .68rem; font-weight: 500; color: var(--muted); }
.main-nav { margin-left: auto; }
.main-nav > ul { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav-link { display: flex; align-items: center; gap: 5px; padding: 7px 13px; border-radius: 8px; font-weight: 500; font-size: .95rem; color: var(--text-2); transition: background .2s, color .2s; }
.nav-link svg { width: 9px; opacity: .6; transition: transform .25s; }
.nav-link:hover, .nav-link.is-active { background: var(--bg-soft); color: var(--text); }
.nav-link.is-active { font-weight: 700; }
.nav-star { color: var(--primary) !important; font-weight: 700; }
.has-mega { position: relative; }
.mega {
  position: absolute; top: calc(100% + 8px); left: 50%; width: 500px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding: 18px;
  border-radius: 14px; border: 1px solid var(--line); background: var(--surface); box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translate(-50%, 6px); transition: opacity .2s, transform .25s var(--ease), visibility .2s;
}
.has-mega:hover .mega, .has-mega:focus-within .mega { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.has-mega:hover .nav-link svg { transform: rotate(180deg); }
.mega-head b { display: block; margin-bottom: 4px; }
.mega-head p { font-size: .85rem; color: var(--muted); line-height: 1.6; }
.mega-all { font-size: .85rem; color: var(--primary); font-weight: 700; }
.mega-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.mega-links a { display: block; padding: 6px 10px; border-radius: 8px; font-size: .9rem; color: var(--text-2); transition: background .2s, color .2s; }
.mega-links a:hover { background: var(--primary-soft); color: var(--primary); }
.header-actions { display: flex; align-items: center; gap: 8px; }
.icon-btn { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 9px; border: 1px solid var(--line); background: var(--surface); }
.icon-btn svg { width: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; }
:root[data-theme="dark"] .i-sun, :root:not([data-theme="dark"]) .i-moon { display: none; }
.menu-btn { display: none; flex-direction: column; gap: 5px; align-items: center; justify-content: center; }
.menu-btn span { display: block; width: 16px; height: 1.6px; background: currentColor; transition: transform .3s var(--ease); }
.menu-btn[aria-expanded="true"] span:first-child { transform: translateY(3.3px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:last-child { transform: translateY(-3.3px) rotate(-45deg); }
@media (max-width: 920px) {
  .menu-btn { display: flex; }
  .header-actions { margin-left: auto; }
  .header-actions .btn { display: none; }
  .main-nav { position: fixed; inset: var(--header-h) 0 0; margin: 0; padding: 12px 16px 40px; overflow-y: auto; background: var(--bg); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .25s, transform .3s var(--ease), visibility .25s; }
  .main-nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .main-nav > ul { flex-direction: column; }
  .nav-link { font-size: 1.05rem; padding: 12px 6px; font-weight: 700; }
  .nav-link svg { display: none; }
  .mega { position: static; width: auto; opacity: 1; visibility: visible; transform: none; grid-template-columns: 1fr; padding: 0 0 8px; border: 0; box-shadow: none; background: none; }
  .mega-head { display: none; }
  .mega-links { grid-template-columns: 1fr 1fr; }
}

/* ---------- 区块通用 ---------- */
.section { padding: clamp(56px, 8vw, 96px) 0; }
.section.soft { background: var(--bg-soft); border-block: 1px solid var(--line); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 40px; }
.section-head h2 { font-size: clamp(1.6rem, 3.2vw, 2.15rem); font-weight: 800; margin-bottom: 8px; }
.section-head p { color: var(--muted); margin: 0; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 5px 14px; border-radius: 999px; background: var(--primary-soft); color: var(--primary); font-size: .82rem; font-weight: 700; border: 1px solid color-mix(in srgb, var(--primary) 22%, transparent); }
.pill .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--good); box-shadow: 0 0 0 0 rgba(22, 163, 74, .5); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(22, 163, 74, 0); } 100% { box-shadow: 0 0 0 0 rgba(22, 163, 74, 0); } }
.chip { display: inline-block; font-size: .75rem; padding: 2px 9px; border-radius: 999px; background: var(--bg-soft); border: 1px solid var(--line); color: var(--text-2); white-space: nowrap; font-weight: 500; }
.chip.violet { background: var(--violet-soft); color: var(--violet); border-color: transparent; font-weight: 700; }
.chip.blue { background: var(--primary-soft); color: var(--primary); border-color: transparent; }
.chip.gold { background: var(--gold-soft); color: #a16207; border-color: transparent; font-weight: 700; }
:root[data-theme="dark"] .chip.gold { color: var(--gold); }

/* 滚动揭示（仅 JS 可用时生效） */
.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: calc(var(--d, 0) * 70ms); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(40px, 6vw, 72px) 0 clamp(40px, 6vw, 64px); background:
  radial-gradient(60% 70% at 50% 0%, var(--bg-tint), transparent 70%), var(--bg); text-align: center; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .6;
  background-image: radial-gradient(var(--line-2) 1px, transparent 1px); background-size: 22px 22px;
  mask-image: radial-gradient(ellipse 60% 55% at 50% 30%, #000 20%, transparent 70%); }
.hero > .wrap { position: relative; }
.hero h1 { font-size: clamp(2rem, 5.2vw, 3.4rem); font-weight: 900; letter-spacing: -.01em; line-height: 1.22; margin: 18px 0 16px; }
.hero h1 > span { display: block; }
.hero-sub { max-width: 680px; margin: 0 auto 26px; color: var(--text-2); font-size: 1.05rem; }
.hero-sub strong { color: var(--text); }
.hero-ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-bottom: 40px; }
.answer { text-align: left; max-width: 760px; margin: 0 auto 26px; padding: 14px 18px; border-radius: 12px; border: 1px solid var(--line); border-left: 4px solid var(--primary); background: var(--surface); color: var(--text-2); box-shadow: var(--shadow-sm); }
.answer strong { color: var(--text); }

/* 出发航班屏（Hero 插图） */
.board-frame { max-width: 900px; margin: 0 auto; border-radius: 20px; padding: 10px; background: linear-gradient(180deg, var(--line), transparent); box-shadow: var(--shadow-lg); }
.board { border-radius: 14px; background: var(--board); color: #e2e8f0; padding: 18px 18px 14px; text-align: left; overflow: hidden; position: relative; }
.board::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: repeating-linear-gradient(0deg, rgba(255, 255, 255, .025) 0 1px, transparent 1px 3px); }
.board-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; font-family: var(--mono); }
.board-title { display: flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: .08em; color: #fbbf24; font-size: .95rem; }
.board-title svg { width: 20px; fill: #fbbf24; }
.board-clock { color: #94a3b8; font-size: .85rem; }
.board-head, .board-row { display: grid; grid-template-columns: 70px 1.6fr 1.2fr 1fr 96px; gap: 10px; align-items: center; font-family: var(--mono); }
.board-head { font-size: .7rem; color: #64748b; letter-spacing: .1em; padding: 0 8px 8px; border-bottom: 1px solid #1e293b; }
.board-rows { list-style: none; margin: 0; padding: 0; }
.board-row { padding: 9px 8px; border-bottom: 1px solid #1e293b; font-size: .9rem; perspective: 400px; }
.board-row:last-child { border-bottom: 0; }
.board-row .cell { display: inline-block; background: var(--board-2); padding: 2px 7px; border-radius: 4px; color: #f8fafc; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; transform-origin: 50% 50%; }
.board-row .cell.code { color: #fbbf24; }
.board-row.flip .cell { animation: flip .55s var(--ease) both; animation-delay: calc(var(--c) * 60ms); }
@keyframes flip { 0% { transform: rotateX(0); } 45% { transform: rotateX(90deg); opacity: .3; } 55% { transform: rotateX(-90deg); opacity: .3; } 100% { transform: rotateX(0); } }
.status { font-size: .74rem; font-weight: 700; padding: 3px 8px; border-radius: 4px; text-align: center; }
.status.board-ing { background: #16a34a; color: #fff; animation: blink 1.6s steps(2) infinite; }
.status.ontime { background: #1e3a8a; color: #bfdbfe; }
.status.deal { background: #92400e; color: #fde68a; }
@keyframes blink { 50% { opacity: .55; } }
.board-foot { display: flex; justify-content: space-between; margin-top: 10px; font-family: var(--mono); font-size: .72rem; color: #64748b; }
@media (max-width: 640px) {
  .board-head, .board-row { grid-template-columns: 52px 1.4fr 1fr 74px; }
  .board-head .c4, .board-row .c4 { display: none; }
  .board-row { font-size: .8rem; }
}

/* ---------- 排名大卡片 ---------- */
.rank-cards { display: grid; gap: 26px; max-width: 920px; margin: 0 auto; }
.rcard { position: relative; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); padding: 30px 28px 26px; box-shadow: var(--shadow-sm); transition: box-shadow .3s, border-color .3s, transform .3s var(--ease); }
.rcard:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.rcard.is-top { border: 1.5px solid color-mix(in srgb, var(--primary) 55%, transparent); box-shadow: 0 0 0 4px var(--primary-soft), var(--shadow); }
.rcard-no { position: absolute; top: -14px; left: -10px; width: 38px; height: 38px; border-radius: 9px; display: grid; place-items: center; background: var(--gold); color: #3b2a00; font-weight: 900; font-size: 1.05rem; box-shadow: 0 6px 14px -6px rgba(245, 183, 10, .9); }
.rcard-head { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; }
.logo-tile { flex: none; width: 54px; height: 54px; border-radius: 12px; display: grid; place-items: center; font-weight: 900; font-size: 1.35rem; color: #fff; background: var(--lc, var(--primary)); box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .12); }
.rcard-head h3 { margin: 0; font-size: 1.55rem; font-weight: 800; }
.rcard-head h3 a:hover { color: var(--primary); }
.rcard-head small { display: block; color: var(--muted); font-size: .82rem; }
.rcard-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin-bottom: 16px; }
.stars { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--text-2); }
.stars i { font-style: normal; color: var(--gold); letter-spacing: 1px; font-size: 1.05rem; position: relative; }
.stars i::before { content: "★★★★★"; color: var(--line-2); }
.stars i::after { content: "★★★★★"; position: absolute; left: 0; top: 0; width: var(--w); overflow: hidden; color: var(--gold); }
.specs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px 18px; padding: 16px 18px; border-radius: 12px; background: var(--bg-soft); border: 1px solid var(--line); margin-bottom: 20px; font-size: .92rem; }
.specs div { display: flex; gap: 8px; min-width: 0; }
.specs dt { color: var(--muted); white-space: nowrap; }
.specs dd { margin: 0; font-weight: 700; color: var(--text); min-width: 0; }
.rcard-body { display: grid; grid-template-columns: 1.25fr 1fr; gap: 18px; align-items: start; }
.rcard-body h4 { font-size: 1.1rem; margin-bottom: 6px; }
.rcard-body p { color: var(--text-2); font-size: .95rem; margin: 0; }
.verdict { margin-top: 12px !important; color: var(--good) !important; font-weight: 700; }
.pc { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pc > div { border: 1px solid var(--line); border-radius: 12px; padding: 12px 12px 10px; background: var(--surface); }
.pc b { display: block; font-size: .9rem; margin-bottom: 6px; }
.pc ul { list-style: none; margin: 0; padding: 0; font-size: .84rem; color: var(--text-2); line-height: 1.55; }
.pc li { position: relative; padding-left: 16px; margin-bottom: 6px; }
.pc .pro li::before { content: "✓"; position: absolute; left: 0; color: var(--good); font-weight: 800; }
.pc .con li::before { content: "✕"; position: absolute; left: 0; color: var(--bad); font-weight: 800; }
.rcard-cta { display: flex; flex-direction: column; align-items: center; gap: 8px; margin-top: 22px; }
.rcard-cta .btn { min-width: 220px; }
.rcard-cta small { color: var(--muted); font-size: .8rem; }
.rcard-cta small a { color: var(--primary); }
.coupon-inline { display: inline-flex; align-items: center; gap: 8px; }
.copy-btn { border: 1px solid var(--line-2); background: var(--surface); padding: 3px 10px; border-radius: 7px; font-size: .78rem; font-weight: 700; color: var(--primary); transition: background .2s, transform .15s; }
.copy-btn:hover { background: var(--primary-soft); }
.copy-btn:active { transform: scale(.94); }
.copy-btn.is-done { background: var(--good); color: #fff; border-color: transparent; }
.more-link { text-align: center; margin-top: 30px; }
@media (max-width: 760px) {
  .rcard { padding: 26px 16px 20px; }
  .rcard-no { left: 10px; }
  .specs { grid-template-columns: 1fr 1fr; }
  .rcard-body, .pc { grid-template-columns: 1fr; }
}

/* ---------- 快速对比表 ---------- */
.toolbar { display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.seg { position: relative; display: inline-flex; padding: 4px; border-radius: 10px; background: var(--bg-soft); border: 1px solid var(--line); }
.seg button { position: relative; z-index: 1; border: 0; background: none; padding: 6px 14px; border-radius: 7px; font-size: .88rem; font-weight: 600; color: var(--muted); transition: color .25s; }
.seg button[aria-pressed="true"] { color: var(--primary); }
.seg-pill { position: absolute; top: 4px; bottom: 4px; left: 0; border-radius: 7px; background: var(--surface); box-shadow: var(--shadow-sm), 0 0 0 1px var(--line); transition: transform .4s var(--ease-spring), width .4s var(--ease-spring); }
.sort-select { height: 38px; border-radius: 9px; border: 1px solid var(--line); background: var(--surface); color: var(--text); padding: 0 12px; font: inherit; font-size: .88rem; }
.table-wrap { overflow-x: auto; border-radius: 14px; border: 1px solid var(--line); background: var(--surface); box-shadow: var(--shadow-sm); }
.data-table { width: 100%; border-collapse: collapse; font-size: .92rem; min-width: 720px; }
.data-table th, .data-table td { padding: 13px 14px; text-align: left; border-bottom: 1px solid var(--line); white-space: nowrap; }
.data-table th { background: var(--bg-soft); color: var(--muted); font-size: .8rem; font-weight: 700; }
.data-table tbody tr:last-child td { border-bottom: 0; }
.data-table tbody tr { transition: background .2s; }
.data-table tbody tr:hover { background: var(--bg-soft); }
.data-table tr.is-top { background: color-mix(in srgb, var(--primary-soft) 70%, transparent); }
.data-table tr.is-hidden { display: none; }
.data-table td.wrap-cell { white-space: normal; min-width: 180px; color: var(--muted); font-size: .85rem; }
.data-table .name-cell { display: flex; align-items: center; gap: 10px; font-weight: 700; }
.data-table .name-cell .logo-tile { width: 30px; height: 30px; font-size: .85rem; border-radius: 8px; }
.data-table .no { font-family: var(--mono); color: var(--muted); font-weight: 700; }
.best { color: var(--good); font-weight: 800; }

/* ---------- 需求宫格 ---------- */
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.tile { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; padding: 26px 18px; border-radius: 16px; border: 1px solid var(--line); background: var(--surface); transition: transform .3s var(--ease-spring), box-shadow .3s, border-color .3s; }
.tile:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--primary) 40%, transparent); }
.tile-icon { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--tc-soft, var(--primary-soft)); margin-bottom: 6px; transition: transform .4s var(--ease-spring); }
.tile:hover .tile-icon { transform: scale(1.1) rotate(-6deg); }
.tile-icon svg { width: 24px; fill: none; stroke: var(--tc, var(--primary)); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.tile b { font-size: 1.05rem; }
.tile span { font-size: .84rem; color: var(--muted); }
.tile .zone-label { font-size: .7rem; font-weight: 700; color: var(--tc, var(--primary)); letter-spacing: .06em; }
@media (max-width: 760px) { .tiles { grid-template-columns: 1fr 1fr; } .tile { padding: 20px 12px; } }

/* ---------- 信任数据 ---------- */
.trust { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; max-width: 920px; margin: 0 auto; }
.trust div { text-align: center; padding: 20px 12px; border-radius: 14px; border: 1px solid var(--line); background: var(--bg-soft); }
.trust b { display: block; font-size: 1.7rem; font-weight: 900; color: var(--primary); line-height: 1.3; }
.trust span { font-size: .82rem; color: var(--muted); }
@media (max-width: 760px) { .trust { grid-template-columns: 1fr 1fr; } }

/* ---------- 测验 ---------- */
.quiz { max-width: 920px; margin: 0 auto; display: grid; grid-template-columns: .85fr 1.15fr; gap: 36px; align-items: center; padding: clamp(22px, 4vw, 40px); border-radius: 20px; border: 1px solid var(--line); background: var(--surface); box-shadow: var(--shadow); }
.quiz h2 { font-size: 1.6rem; font-weight: 800; }
.quiz-steps { display: flex; gap: 6px; margin-bottom: 16px; }
.quiz-steps i { flex: 1; height: 4px; border-radius: 4px; background: var(--line); overflow: hidden; }
.quiz-steps i.on::after { content: ""; display: block; height: 100%; background: var(--primary); animation: fill .45s var(--ease) both; transform-origin: left; }
@keyframes fill { from { transform: scaleX(0); } }
.quiz-q { font-size: 1.2rem; font-weight: 800; margin-bottom: 14px; }
.quiz-opts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.quiz-opts button { text-align: left; padding: 13px 15px; border-radius: 12px; border: 1px solid var(--line); background: var(--bg-soft); font-weight: 700; transition: transform .25s var(--ease-spring), border-color .2s, background .2s; }
.quiz-opts button:hover { transform: translateY(-2px); border-color: var(--primary); background: var(--primary-soft); }
.quiz-opts button small { display: block; font-weight: 500; color: var(--muted); font-size: .8rem; }
.quiz-panel { animation: vtIn .4s var(--ease) both; }
.quiz-result { padding: 20px; border-radius: 14px; background: var(--primary-soft); border: 1px solid color-mix(in srgb, var(--primary) 25%, transparent); }
.quiz-result h3 { font-size: 1.25rem; margin: 10px 0 6px; }
.rank-badge { display: inline-flex; align-items: center; gap: 6px; font-size: .78rem; font-weight: 800; padding: 4px 10px; border-radius: 999px; background: var(--gold-soft); color: #a16207; }
:root[data-theme="dark"] .rank-badge { color: var(--gold); }
@media (max-width: 760px) { .quiz { grid-template-columns: 1fr; } .quiz-opts { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 10px; max-width: 860px; margin: 0 auto; }
.faq details { border-radius: 12px; border: 1px solid var(--line); background: var(--surface); transition: border-color .2s, box-shadow .2s; }
.faq details[open] { border-color: color-mix(in srgb, var(--primary) 35%, transparent); box-shadow: var(--shadow-sm); }
.faq summary { list-style: none; cursor: pointer; padding: 16px 48px 16px 18px; font-weight: 700; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 18px; top: 50%; width: 11px; height: 11px; margin-top: -5.5px; color: var(--primary);
  background: linear-gradient(currentColor, currentColor) center/11px 2px no-repeat, linear-gradient(currentColor, currentColor) center/2px 11px no-repeat; transition: transform .35s var(--ease-spring); }
.faq details[open] summary::after { transform: rotate(135deg); }
.faq-a { padding: 0 18px 16px; color: var(--text-2); }
.faq-a p:last-child { margin: 0; }
.faq-a a, .prose a:not(.btn) { color: var(--primary); text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--primary) 35%, transparent); text-underline-offset: 3px; }

/* ---------- 文章卡 ---------- */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.post { display: flex; flex-direction: column; gap: 8px; padding: 20px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface); transition: transform .3s var(--ease), box-shadow .3s; }
.post:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.post .chip { align-self: flex-start; }
.post h3 { font-size: 1.05rem; margin: 0; }
.post p { color: var(--muted); font-size: .88rem; margin: 0; }
.post .more { margin-top: auto; font-size: .85rem; color: var(--primary); font-weight: 700; }
@media (max-width: 860px) { .posts { grid-template-columns: 1fr; } }

/* ---------- 悬浮优惠按钮 ---------- */
.float-promo { position: fixed; right: 18px; bottom: 18px; z-index: 45; display: flex; align-items: center; gap: 10px; padding: 9px 16px 9px 10px; border-radius: 999px; background: linear-gradient(135deg, #f43f5e, #e11d48); color: #fff; box-shadow: 0 0 0 4px rgba(244, 63, 94, .2), 0 12px 28px -10px rgba(225, 29, 72, .8); transition: transform .3s var(--ease-spring); animation: floaty 3s ease-in-out infinite; }
.float-promo:hover { transform: scale(1.05); animation-play-state: paused; }
.float-promo .fp-icon { width: 30px; height: 30px; border-radius: 50%; background: #fff; color: #e11d48; display: grid; place-items: center; font-weight: 900; font-size: .9rem; }
.float-promo b { display: block; font-size: .92rem; line-height: 1.2; }
.float-promo small { display: block; font-size: .72rem; opacity: .9; line-height: 1.2; }
@keyframes floaty { 50% { transform: translateY(-4px); } }
@media (max-width: 640px) {
  .float-promo { right: 12px; bottom: 12px; padding: 7px 12px 7px 7px; }
  .float-promo small { display: none; }
  .hero h1 { font-size: clamp(1.6rem, 7.4vw, 2.2rem); }
  .hero h1 > span { display: inline; }
  .hero h1 > span:first-child::after { content: " "; }
  .board-title { font-size: .8rem; letter-spacing: .04em; }
  .board-clock { font-size: .72rem; }
  .specs { grid-template-columns: 1fr !important; gap: 8px; }
}

/* ---------- 页脚 ---------- */
.site-footer { border-top: 1px solid var(--line); background: var(--bg-soft); padding: 56px 0 36px; font-size: .9rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 28px; margin-bottom: 32px; }
.footer-brand p { color: var(--muted); margin-top: 12px; }
.site-footer h3 { font-size: .92rem; margin-bottom: 10px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.site-footer ul a { color: var(--muted); }
.site-footer ul a:hover { color: var(--primary); }
.disclosure-line { color: var(--muted); font-size: .8rem; border-top: 1px solid var(--line); padding-top: 18px; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }

/* ==========================================================================
   文章 / 测评页
   ========================================================================== */
.page-hero { padding: 36px 0 28px; background: radial-gradient(60% 100% at 50% 0%, var(--bg-tint), transparent 75%); border-bottom: 1px solid var(--line); }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; font-size: .82rem; color: var(--muted); margin: 0 0 16px; list-style: none; padding: 0; }
.crumbs li:not(:last-child)::after { content: "›"; margin-left: 6px; opacity: .6; }
.crumbs a:hover { color: var(--primary); }
.page-hero h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 900; max-width: 900px; }
.meta-row { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; color: var(--muted); font-size: .85rem; margin-bottom: 18px; }
.meta-row .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--line-2); }
.page-hero .answer { margin: 0; max-width: 860px; }
.article-grid { display: grid; grid-template-columns: 190px minmax(0, 1fr) 270px; gap: 32px; align-items: start; padding-top: 32px; padding-bottom: 40px; }
.toc { position: sticky; top: calc(var(--header-h) + 20px); font-size: .86rem; }
.toc b { display: block; font-size: .78rem; color: var(--muted); margin-bottom: 8px; }
.toc ol { list-style: none; padding: 0; margin: 0; border-left: 2px solid var(--line); }
.toc a { display: block; padding: 5px 0 5px 14px; margin-left: -2px; border-left: 2px solid transparent; color: var(--muted); transition: color .2s, border-color .2s; }
.toc a:hover { color: var(--text); }
.toc a.is-active { color: var(--primary); border-left-color: var(--primary); font-weight: 700; }
.aside-sticky { position: sticky; top: calc(var(--header-h) + 20px); display: grid; gap: 14px; }
.prose { font-size: 1.03rem; color: var(--text-2); }
.prose h2 { font-size: 1.5rem; font-weight: 800; margin-top: 2em; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.15rem; margin-top: 1.5em; }
.prose strong { color: var(--text); }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .4em; }
.prose li::marker { color: var(--primary); }
.prose .table-wrap { margin: 1.2em 0; }
.prose .data-table { min-width: 560px; font-size: .88rem; }
.prose .data-table th, .prose .data-table td { padding: 11px 12px; }
.prose .specs { grid-template-columns: 1fr 1fr; }
.prose .rcard-body { grid-template-columns: 1fr; }
.prose .rcard h4 { margin-top: 0; }
.prose a.name-cell, .prose .rcard-head a, .prose a.post, .prose .rcard-cta small a { text-decoration: none; }
.prose .rcard-head h3 { margin: 0; }
.plan-tabs { margin-top: 1em; }
.plan-tabs .seg { margin-bottom: 12px; }
.plan-tabs tr[data-type] { animation: vtIn .35s var(--ease) both; }
.fit-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 1.2em 0; }
.fit { padding: 16px; border-radius: 12px; border: 1px solid var(--line); background: var(--bg-soft); }
.fit b { display: block; color: var(--text); margin-bottom: 4px; }
.fit p { font-size: .88rem; margin: 0; color: var(--muted); }
.pros-cons { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 1.2em 0; }
.pros-cons > div { padding: 16px 18px; border-radius: 12px; border: 1px solid var(--line); }
.pros-cons .pro { background: var(--good-soft); }
.pros-cons .con { background: var(--bad-soft); }
.pros-cons h3 { margin-top: 0 !important; font-size: 1rem; }
.pros-cons ul { list-style: none; padding: 0; margin: 0; }
.pros-cons li { padding-left: 22px; position: relative; font-size: .94rem; }
.pros-cons .pro li::before { content: "✓"; position: absolute; left: 0; color: var(--good); font-weight: 800; }
.pros-cons .con li::before { content: "✕"; position: absolute; left: 0; color: var(--bad); font-weight: 800; }
.steps { counter-reset: s; list-style: none; padding: 0 !important; display: grid; gap: 10px; }
.steps li { counter-increment: s; position: relative; padding: 13px 16px 13px 56px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); margin: 0; }
.steps li::before { content: counter(s); position: absolute; left: 14px; top: 12px; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--primary); color: #fff; font-weight: 800; font-size: .85rem; }
.coupon { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 10px 10px 14px; border-radius: 10px; border: 1px dashed var(--line-2); background: var(--bg-soft); font-size: .9rem; margin: 12px 0; }
.coupon code { font-weight: 800; font-size: 1rem; }
.cta-box { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 14px; border: 1px solid var(--line); background: var(--bg-soft); margin: 1.4em 0; }
.cta-box.is-top { border-color: color-mix(in srgb, var(--primary) 45%, transparent); background: var(--primary-soft); }
.cta-box .cta-text { flex: 1; min-width: 0; }
.cta-box .cta-text b { display: block; color: var(--text); }
.cta-box .cta-text small { color: var(--muted); font-size: .82rem; }
@media (max-width: 560px) { .cta-box { flex-wrap: wrap; } .cta-box .btn { width: 100%; } }
.callout { padding: 14px 18px; border-radius: 12px; border: 1px solid var(--line); border-left: 4px solid var(--primary); background: var(--bg-soft); margin: 1.4em 0; font-size: .95rem; }
.callout.warn { border-left-color: var(--gold); background: var(--gold-soft); }
.callout.good { border-left-color: var(--good); background: var(--good-soft); }
.callout p:last-child { margin: 0; }
.ap-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; margin: 1.4em 0; }
.ap-card { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 18px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface); text-decoration: none !important; color: var(--text) !important; transition: transform .3s var(--ease-spring), box-shadow .3s, border-color .3s; }
.ap-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--primary) 40%, transparent); }
.ap-card.is-top { border: 1.5px solid color-mix(in srgb, var(--primary) 55%, transparent); box-shadow: 0 0 0 3px var(--primary-soft); }
.ap-card.is-hidden { display: none; }
.ap-rank { position: absolute; top: 12px; right: 14px; font-family: var(--mono); font-weight: 800; color: var(--muted); }
.ap-card.is-top .ap-rank { color: var(--gold); }
.ap-card b { font-size: 1.1rem; margin-top: 4px; }
.ap-price { font-weight: 800; color: var(--primary); }
.ap-meta { font-size: .78rem; color: var(--muted); }
.calc { margin: 1.2em 0; }
.calc-inputs { display: grid; gap: 18px; padding: 20px; border-radius: 14px; border: 1px solid var(--line); background: var(--bg-soft); margin-bottom: 14px; }
.calc-inputs label { display: grid; gap: 6px; font-weight: 700; color: var(--text); }
.calc-inputs output { color: var(--primary); font-size: 1.15rem; font-family: var(--mono); }
.calc-inputs input[type="range"] { width: 100%; accent-color: var(--primary); height: 28px; }
.calc-summary { padding: 14px 16px; border-radius: 12px; background: var(--primary-soft); color: var(--text-2); margin-bottom: 14px; font-size: .95rem; }
.calc-summary:empty { display: none; }
.quiz-inline { display: block; max-width: none; box-shadow: none; }
.pending-box { padding: 26px; border-radius: 12px; border: 1px dashed var(--line-2); text-align: center; color: var(--muted); font-size: .9rem; background: var(--bg-soft); }
.side-card { padding: 20px; border-radius: 16px; border: 1px solid var(--line); background: var(--surface); box-shadow: var(--shadow-sm); }
.side-card.is-top { border-color: color-mix(in srgb, var(--primary) 45%, transparent); box-shadow: 0 0 0 4px var(--primary-soft); }
.side-card h3 { font-size: 1rem; }
.side-head { display: flex; align-items: center; gap: 12px; margin: 10px 0 4px; }
.side-head b { font-size: 1.2rem; display: block; }
.side-head small { color: var(--muted); }
.related { display: grid; gap: 4px; list-style: none; padding: 0; margin: 0; }
.related a { display: block; padding: 7px 10px; border-radius: 8px; font-size: .88rem; color: var(--text-2); }
.related a:hover { background: var(--primary-soft); color: var(--primary); }
.author-box { display: flex; gap: 14px; align-items: center; padding: 16px 18px; border-radius: 12px; border: 1px solid var(--line); background: var(--bg-soft); margin-top: 2.2em; font-size: .9rem; }
.author-box .av { flex: none; width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(135deg, var(--primary), var(--violet)); }
.mobile-buy { display: none; }
@media (max-width: 1100px) { .article-grid { grid-template-columns: minmax(0, 1fr) 270px; } .toc { display: none; } }
@media (max-width: 860px) {
  .article-grid { grid-template-columns: minmax(0, 1fr); }
  .article-aside { display: none; }
  .pros-cons, .fit-grid { grid-template-columns: 1fr; }
  .mobile-buy { display: flex; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 46; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 10px 10px 16px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface); box-shadow: var(--shadow); transform: translateY(150%); transition: transform .45s var(--ease-spring); }
  .mobile-buy.is-shown { transform: none; }
  .mobile-buy small { display: block; color: var(--muted); font-size: .75rem; }
  .has-mobile-buy .float-promo { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}
