/* ==========================================================
   JichangGo 设计系统 — 高级科技编辑部 + 国际网络指南
   ========================================================== */
:root {
  --ink: #0e1726;
  --ink-2: #3a4658;
  --ink-3: #5f6b80;
  --paper: #faf8f4;
  --paper-2: #f1efea;
  --surface: #ffffff;
  --line: #e3e0d8;
  --line-2: #d4d0c6;
  --accent: #0a8f8a;
  --accent-ink: #06635f;
  --accent-bright: #2bd4c5;
  --accent-soft: #e3f4f2;
  --navy: #0e1a2e;
  --navy-2: #16253d;
  --warn: #9a5b00;
  --warn-soft: #fdf3e2;
  --note: #2f4a6b;
  --note-soft: #eaf0f7;
  --danger-soft: #fbecea;
  --shadow-1: 0 1px 2px rgba(14, 23, 38, .05);
  --shadow-2: 0 14px 36px -18px rgba(14, 23, 38, .28);
  --r: 14px;
  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --ink: #e8edf3;
    --ink-2: #b4becc;
    --ink-3: #8b97aa;
    --paper: #0b111b;
    --paper-2: #101826;
    --surface: #131d2b;
    --line: #223044;
    --line-2: #2c3d55;
    --accent: #2bd4c5;
    --accent-ink: #7beadf;
    --accent-soft: #0f2e30;
    --warn: #f2b45a;
    --warn-soft: #2a2114;
    --note: #9fb8d6;
    --note-soft: #152234;
    --danger-soft: #2a1716;
    --shadow-1: 0 1px 2px rgba(0, 0, 0, .3);
    --shadow-2: 0 14px 36px -18px rgba(0, 0, 0, .7);
    color-scheme: dark;
  }
}

/* ---------- 基础 ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink-2);
  font: 16px/1.75 var(--font);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1, h2, h3, h4 { color: var(--ink); font-weight: 650; letter-spacing: -.01em; line-height: 1.3; margin: 0; }
p { margin: 0; }
a { color: var(--accent-ink); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
img, svg { max-width: 100%; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -48px; z-index: 100; padding: 8px 14px; background: var(--navy); color: #fff; border-radius: 8px; transition: top .2s; }
.skip:focus { top: 12px; }
.wrap { width: min(1200px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(800px, 100% - 32px); }
.num, time { font-variant-numeric: tabular-nums; }
.i { width: 1.05em; height: 1.05em; vertical-align: -.16em; flex: none; }

/* ---------- 跨页过渡 ---------- */
@view-transition { navigation: auto; }
.site-header { view-transition-name: header; }
.vt-title { view-transition-name: page-title; }
::view-transition-old(root) { animation: vt-out .22s var(--ease) both; }
::view-transition-new(root) { animation: vt-in .38s var(--ease) both; }
@keyframes vt-out { to { opacity: 0; transform: translateY(-6px); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(10px); } }

/* ---------- 预发布条 ---------- */
.prelaunch-bar { background: var(--warn-soft); color: var(--warn); font-size: 13px; text-align: center; padding: 6px 16px; border-bottom: 1px solid var(--line); }

/* ---------- 页头 ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--paper) 82%, transparent);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: var(--shadow-1); }
.header-inner { display: flex; align-items: center; gap: 28px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 700; font-size: 17px; letter-spacing: -.01em; }
.brand:hover { text-decoration: none; }
.logo-mark { width: 30px; height: 30px; }
.main-nav { flex: 1; }
.main-nav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.main-nav a { position: relative; display: block; padding: 8px 12px; color: var(--ink-2); font-size: 15px; border-radius: 8px; transition: color .2s, background .2s; }
.main-nav a:hover { color: var(--ink); background: var(--paper-2); text-decoration: none; }
.main-nav a[aria-current="page"] { color: var(--ink); font-weight: 600; }
.main-nav a[aria-current="page"]::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 2px; border-radius: 2px; background: var(--accent); }
.search-btn { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink-2); font-size: 14px; background: var(--surface); transition: border-color .2s, color .2s; }
.search-btn svg { width: 16px; height: 16px; }
.search-btn:hover { border-color: var(--accent); color: var(--ink); text-decoration: none; }

@media (max-width: 860px) {
  .header-inner { flex-wrap: wrap; height: auto; gap: 0 12px; padding-top: 10px; }
  .brand { flex: 1; }
  .main-nav { order: 3; flex-basis: 100%; overflow-x: auto; scrollbar-width: none; margin-inline: -16px; padding-inline: 10px; mask-image: linear-gradient(90deg, transparent, #000 12px, #000 calc(100% - 24px), transparent); }
  .main-nav::-webkit-scrollbar { display: none; }
  .main-nav ul { width: max-content; }
  .main-nav a { padding: 10px 10px; }
  .search-btn span { display: none; }
  .search-btn { padding: 8px; }
}

/* ---------- 通用元素 ---------- */
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: .08em; color: var(--accent-ink); margin-bottom: 10px; }
.eyebrow a { color: inherit; }
.eyebrow-light { color: var(--accent-bright); }
.lede { font-size: 18px; color: var(--ink-2); max-width: 62ch; margin-top: 14px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 0 20px; border-radius: 999px; border: 1px solid transparent;
  font: 600 15px/1 var(--font); cursor: pointer; white-space: nowrap;
  transition: transform .2s var(--ease), background .2s, border-color .2s, color .2s, box-shadow .2s;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--navy-2); box-shadow: 0 8px 20px -10px rgba(14, 26, 46, .6); }
@media (prefers-color-scheme: dark) { .btn-primary { background: var(--accent); color: #062421; } .btn-primary:hover { background: var(--accent-ink); } }
.btn-ghost { background: var(--surface); border-color: var(--line-2); color: var(--ink); }
.btn-ghost:hover { border-color: var(--accent); }
.btn-light { background: #fff; color: var(--navy); }
.btn-sm { min-height: 36px; padding: 0 14px; font-size: 14px; }
.btn-disabled { background: var(--paper-2); color: var(--ink-3); border-color: var(--line); cursor: not-allowed; }
.btn .i { transition: transform .25s var(--ease); }
.btn:hover .i { transform: translateX(3px); }

.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: 999px; font-size: 12.5px; font-weight: 600; background: var(--paper-2); color: var(--ink-2); border: 1px solid var(--line); white-space: nowrap; }
.chip-ok { background: var(--accent-soft); color: var(--accent-ink); border-color: transparent; }
.chip-muted { background: var(--note-soft); color: var(--note); border-color: transparent; }
.chip-demo { background: var(--warn-soft); color: var(--warn); border-color: transparent; }
.chip-warn { background: var(--warn-soft); color: var(--warn); border-color: transparent; }
.chip-draft { background: var(--warn-soft); color: var(--warn); border-color: transparent; height: 20px; font-size: 11.5px; padding: 0 8px; }
.pill { display: inline-flex; align-items: center; height: 34px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--surface); color: var(--ink-2); font-size: 14px; transition: all .2s var(--ease); }
.pill:hover { border-color: var(--accent); color: var(--accent-ink); text-decoration: none; transform: translateY(-1px); }
.unverified { color: var(--warn); font-size: .95em; }
.placeholder { background: var(--warn-soft); color: var(--warn); padding: 1px 6px; border-radius: 4px; font-weight: 600; }
.ext { font-size: .8em; margin-left: 2px; opacity: .7; }
.hint { font-size: 14px; color: var(--ink-3); }

/* ---------- 首屏 ---------- */
.hero { position: relative; padding: 56px 0 28px; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: -40% -10% auto auto; width: 70vw; height: 70vw; max-width: 900px; max-height: 900px; background: radial-gradient(closest-side, color-mix(in srgb, var(--accent-bright) 16%, transparent), transparent); pointer-events: none; }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.08fr .92fr; gap: 48px; align-items: center; }
.hero-title { font-size: clamp(2.1rem, 4.6vw, 3.5rem); line-height: 1.16; letter-spacing: -.025em; font-weight: 700; }
.hero-title .hl { background: linear-gradient(100deg, var(--accent-ink), var(--accent) 60%, var(--accent-bright)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-sub { margin-top: 18px; font-size: 18px; color: var(--ink-2); }
.hero-search { position: relative; display: flex; align-items: center; gap: 8px; margin-top: 28px; padding: 6px 6px 6px 46px; background: var(--surface); border: 1px solid var(--line-2); border-radius: 999px; box-shadow: var(--shadow-2); transition: border-color .2s, box-shadow .3s; max-width: 600px; }
.hero-search:focus-within { border-color: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 18%, transparent), var(--shadow-2); }
.hero-search > svg { position: absolute; left: 18px; width: 20px; height: 20px; color: var(--ink-3); }
.hero-search input { flex: 1; min-width: 0; height: 44px; border: 0; background: transparent; font: 16px var(--font); color: var(--ink); outline: none; }
.hero-search input::placeholder { color: var(--ink-3); }
.quick { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 20px; }
.quick-label { font-size: 13px; color: var(--ink-3); margin-right: 4px; }
.hero-visual { position: relative; color: var(--ink); }
.hero-map { display: block; width: 100%; height: auto; }
.hero-caption { font-size: 12.5px; color: var(--ink-3); margin-top: 4px; text-align: center; }
.route-base { stroke: var(--line-2); stroke-width: 1.4; }
.route { stroke: url(#routeGrad); stroke-width: 2.4; stroke-dasharray: 4 10; animation: flow 3.6s linear infinite; }
.r2 { animation-duration: 2.8s; } .r3 { animation-duration: 4.2s; } .r4 { animation-duration: 5s; } .r5 { animation-duration: 3.2s; }
@keyframes flow { to { stroke-dashoffset: -112; } }
.node .dot { fill: var(--surface); stroke: var(--accent); stroke-width: 2.4; }
.node .dot-hub { fill: var(--accent); stroke: var(--surface); stroke-width: 3; }
.node circle:first-child { transform-box: fill-box; transform-origin: center; animation: breathe 3.4s ease-in-out infinite; }
.n2 circle:first-child { animation-delay: .6s; } .n3 circle:first-child { animation-delay: 1.2s; } .n4 circle:first-child { animation-delay: 1.8s; }
@keyframes breathe { 50% { transform: scale(1.35); opacity: .55; } }
.node text { font: 600 13px var(--font); fill: var(--ink-3); }
.trust-strip { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 28px; margin: 36px 0 0; padding: 18px 0 0; border-top: 1px solid var(--line); font-size: 14px; color: var(--ink-2); }
.trust-strip li { display: inline-flex; align-items: center; gap: 6px; }
.trust-strip .i { color: var(--accent); }
@media (max-width: 900px) {
  .hero { padding-top: 32px; }
  .hero-grid { grid-template-columns: 1fr; gap: 12px; }
  .hero-visual { max-width: 380px; margin: 8px auto 0; width: 100%; }
  .hero-caption { display: none; }
}
@media (max-width: 520px) {
  .hero-search { padding-left: 40px; }
  .hero-search > svg { left: 14px; }
  .hero-search .btn { padding: 0 14px; }
  .trust-strip { gap: 8px 16px; font-size: 13px; }
}

/* ---------- 区块 ---------- */
.section { padding: 72px 0; }
.section-tight { padding: 40px 0 72px; }
.section-alt { background: var(--paper-2); border-block: 1px solid var(--line); }
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 28px; }
.sec-head h2 { font-size: clamp(1.45rem, 2.4vw, 1.85rem); }
.sec-sub { margin-top: 8px; color: var(--ink-3); font-size: 15px; }
.link-more { display: inline-flex; align-items: center; gap: 4px; font-weight: 600; font-size: 15px; white-space: nowrap; }
.link-more .i { transition: transform .25s var(--ease); }
.link-more:hover .i { transform: translateX(3px); }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
.two-col-wide { grid-template-columns: 1.3fr 1fr; }
@media (max-width: 860px) { .two-col, .two-col-wide { grid-template-columns: 1fr; gap: 40px; } .section { padding: 52px 0; } }
.demo-note { margin-top: 20px; font-size: 14px; color: var(--warn); }

/* 精选卡片 */
.feature-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 20px; }
.fcard { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 26px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); color: var(--ink-2); box-shadow: var(--shadow-1); transition: transform .3s var(--ease), box-shadow .3s, border-color .3s; overflow: hidden; }
.fcard:hover { text-decoration: none; transform: translateY(-3px); box-shadow: var(--shadow-2); border-color: var(--line-2); }
.fcard-lead { background: linear-gradient(155deg, var(--navy), #13304a 70%, #0f4a4c); border-color: transparent; color: #c9d4e2; }
.fcard-lead .fcard-title { color: #fff; font-size: 1.45rem; }
.fcard-lead .fcard-cat { color: var(--accent-bright); }
.fcard-lead .fcard-foot { color: #9fb0c6; }
.fcard-cat { font-size: 13px; font-weight: 600; color: var(--accent-ink); }
.fcard-title { font-size: 1.15rem; font-weight: 650; color: var(--ink); line-height: 1.4; }
.fcard-desc { font-size: 15px; flex: 1; }
.fcard-foot { display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: var(--ink-3); margin-top: 6px; }
.more { display: inline-flex; align-items: center; gap: 4px; font-weight: 600; color: var(--accent-ink); }
.fcard-lead .more { color: var(--accent-bright); }
.more .i { transition: transform .25s var(--ease); }
.fcard:hover .more .i, .rcard:hover .more .i { transform: translateX(4px); }
@media (max-width: 900px) { .feature-grid { grid-template-columns: 1fr; } }

/* 评测卡片 */
.rgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.rgrid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 1000px) { .rgrid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .rgrid, .rgrid-2 { grid-template-columns: 1fr; } }
.rcard {
  --mx: 50%; --my: 0%;
  position: relative; display: flex; flex-direction: column; gap: 14px; padding: 22px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow-1);
  transition: transform .3s var(--ease), box-shadow .3s, border-color .3s;
}
.rcard::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; background: radial-gradient(240px circle at var(--mx) var(--my), var(--accent), transparent 70%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0; transition: opacity .3s; pointer-events: none; }
.rcard:hover { transform: translateY(-2px); box-shadow: var(--shadow-2); }
.rcard:hover::before { opacity: 1; }
.rcard:focus-within { border-color: var(--accent); }
.rcard-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.rcard h3 { font-size: 1.12rem; }
.rcard h3 a { color: var(--ink); }
.stretched::after { content: ""; position: absolute; inset: 0; border-radius: var(--r); }
.stretched:hover { text-decoration: none; }
.stretched:focus-visible { outline: none; }
.stretched:focus-visible::after { outline: 2px solid var(--accent); outline-offset: 2px; }
.rcard-sum { font-size: 14.5px; color: var(--ink-2); }
.rcard-facts { margin: 0; display: grid; gap: 10px; padding: 14px 0; border-block: 1px dashed var(--line); }
.rcard-facts div { display: grid; grid-template-columns: 5em 1fr; gap: 10px; font-size: 14px; }
.rcard-facts dt { color: var(--ink-3); }
.rcard-facts dd { margin: 0; color: var(--ink); }
.pick-reason { font-size: 13.5px; background: var(--accent-soft); color: var(--accent-ink); padding: 10px 12px; border-radius: 10px; }
.rcard-foot { display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: var(--ink-3); margin-top: auto; }
.verified { display: inline-flex; align-items: center; gap: 8px; }
.pulse { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent) 60%, transparent); animation: pulse 2.4s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 7px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }

/* 文章列表 */
.alist { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.arow-in { display: grid; gap: 4px; padding: 18px 4px; border-bottom: 1px solid var(--line); color: var(--ink-2); position: relative; transition: padding .3s var(--ease), background .3s; }
.arow-in::before { content: ""; position: absolute; left: 0; top: 18px; bottom: 18px; width: 2px; background: var(--accent); transform: scaleY(0); transition: transform .3s var(--ease); }
.arow-in:hover { padding-left: 14px; }
.arow-in:hover::before { transform: scaleY(1); }
.arow-title.stretched { text-decoration: none; }
.arow-title.stretched::after { border-radius: 0; }
.arow-in:focus-within::before { transform: scaleY(1); }
.arow-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 13px; color: var(--ink-3); }
.arow-cat { color: var(--accent-ink); font-weight: 600; }
.arow-title { font-size: 1.06rem; font-weight: 600; color: var(--ink); }
.arow-desc { font-size: 14.5px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.alist-lg .arow-title { font-size: 1.2rem; }

/* 专题 */
.topics { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.topics a { display: grid; gap: 2px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); color: var(--ink-2); height: 100%; transition: border-color .25s, transform .25s var(--ease); }
.topics a:hover { text-decoration: none; border-color: var(--accent); transform: translateY(-2px); }
.topic-name { font-weight: 650; color: var(--ink); }
.topic-desc { font-size: 13.5px; }
.topic-n { font-size: 12.5px; color: var(--ink-3); }
@media (max-width: 420px) { .topics { grid-template-columns: 1fr; } }

/* 评测方法区块 */
.method { background: var(--navy); color: #c6d0de; position: relative; overflow: hidden; }
.method::after { content: ""; position: absolute; inset: 0; background: radial-gradient(600px 300px at 0% 100%, rgba(43, 212, 197, .14), transparent), radial-gradient(500px 280px at 100% 0%, rgba(80, 130, 220, .12), transparent); pointer-events: none; }
.method-grid { position: relative; z-index: 1; display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: start; }
.method h2 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 14px; }
.method-intro p { margin-bottom: 24px; }
.dims { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .1); border-radius: var(--r); overflow: hidden; }
.dims li { background: var(--navy); padding: 22px; transition: background .3s; }
.dims li:hover { background: var(--navy-2); }
.dim-n { font: 600 13px var(--mono); color: var(--accent-bright); }
.dims h3 { color: #fff; font-size: 1.02rem; margin: 6px 0; }
.dims p { font-size: 14px; color: #a9b6c8; }
@media (max-width: 860px) { .method-grid { grid-template-columns: 1fr; gap: 32px; } }
@media (max-width: 520px) { .dims { grid-template-columns: 1fr; } }

/* 订阅 */
.section-sub { padding-top: 0; }
.sub-box { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center; padding: 36px; border: 1px solid var(--line); border-radius: 20px; background: linear-gradient(135deg, var(--surface), var(--paper-2)); }
.sub-box h2 { font-size: 1.5rem; margin-bottom: 8px; }
.sub-actions { display: grid; gap: 14px; justify-items: start; }
.sub-form { display: flex; flex-wrap: wrap; gap: 8px; width: 100%; }
.sub-form input[type="email"] { flex: 1; min-width: 200px; height: 44px; padding: 0 16px; border: 1px solid var(--line-2); border-radius: 999px; background: var(--surface); color: var(--ink); font: 15px var(--font); }
.consent { flex-basis: 100%; font-size: 13px; color: var(--ink-3); display: flex; gap: 8px; align-items: center; }
.sub-off { font-size: 14px; color: var(--ink-3); }
@media (max-width: 760px) { .sub-box { grid-template-columns: 1fr; padding: 24px; } }

/* ---------- 页面头部 ---------- */
.page-head { padding: 28px 0 40px; border-bottom: 1px solid var(--line); background: linear-gradient(180deg, var(--paper-2), var(--paper)); }
.page-head h1 { font-size: clamp(1.85rem, 3.8vw, 2.75rem); line-height: 1.22; letter-spacing: -.02em; max-width: 24ch; }
.page-head .chips { margin-bottom: 14px; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 24px; padding: 0; font-size: 13.5px; color: var(--ink-3); }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--line-2); }
.crumbs a { color: var(--ink-3); }
.crumbs a:hover { color: var(--accent-ink); }
.meta-strip { display: flex; flex-wrap: wrap; gap: 10px 32px; margin: 24px 0 0; font-size: 14px; }
.meta-strip div { display: grid; gap: 2px; }
.meta-strip dt { color: var(--ink-3); font-size: 12.5px; }
.meta-strip dd { margin: 0; color: var(--ink); font-weight: 500; }
.volatile { margin-top: 22px; padding: 12px 16px; border-radius: 10px; background: var(--warn-soft); color: var(--warn); font-size: 14.5px; max-width: 72ch; }
.demo-banner { margin-bottom: 20px; padding: 14px 18px; border: 1px dashed var(--warn); border-radius: 12px; background: var(--warn-soft); color: var(--warn); font-size: 14.5px; }
.demo-banner strong { margin-right: 10px; }
.page-404 { min-height: 60vh; display: grid; align-items: center; }

/* ---------- 目录页 ---------- */
.catalog { display: grid; grid-template-columns: 260px 1fr; gap: 40px; padding-top: 36px; padding-bottom: 80px; }
.filter-panel { position: sticky; top: 88px; }
.filters form { display: grid; gap: 22px; }
.crumbs li:last-child { min-width: 0; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.filters fieldset { border: 0; margin: 0; padding: 0 0 18px; border-bottom: 1px solid var(--line); display: grid; gap: 4px; }
.filters legend { font-size: 13px; font-weight: 650; color: var(--ink); margin-bottom: 8px; padding: 0; }
.opt { display: flex; align-items: center; gap: 10px; padding: 5px 0; font-size: 14.5px; cursor: pointer; color: var(--ink-2); }
.opt input { width: 17px; height: 17px; margin: 0; accent-color: var(--accent); }
.opt:hover span { color: var(--ink); }
.results-bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 18px; }
.results-count { font-size: 1.05rem; font-weight: 600; color: var(--ink); }
.sort { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--ink-3); }
.sort select { height: 38px; padding: 0 12px; border: 1px solid var(--line-2); border-radius: 10px; background: var(--surface); color: var(--ink); font: 14px var(--font); }
.sort-note { font-size: 13.5px; color: var(--ink-3); margin: -6px 0 16px; }
.empty { padding: 40px; text-align: center; color: var(--ink-3); border: 1px dashed var(--line-2); border-radius: var(--r); }
.results .callout { margin-top: 28px; }
.rcard.is-hidden { display: none; }
.rcard.is-entering { animation: card-in .45s var(--ease) both; }
@keyframes card-in { from { opacity: 0; transform: translateY(8px) scale(.985); } }
.filter-panel > summary { display: none; }
@media (max-width: 900px) {
  .catalog { grid-template-columns: 1fr; gap: 20px; }
  .filter-panel { position: static; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); }
  .filter-panel > summary { display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; font-weight: 650; color: var(--ink); cursor: pointer; list-style: none; }
  .filter-panel > summary::-webkit-details-marker { display: none; }
  .filter-panel > summary::after { content: "展开"; font-weight: 400; font-size: 14px; color: var(--ink-3); }
  .filter-panel[open] > summary::after { content: "收起"; }
  .filter-panel [data-active-count] { margin-right: auto; margin-left: 8px; font-size: 13px; color: var(--accent-ink); }
  .filters form { position: static; grid-template-columns: 1fr 1fr; gap: 16px; padding: 4px 18px 18px; }
  .filters form > button { grid-column: 1 / -1; justify-self: start; }
}
@media (max-width: 520px) { .filters form { grid-template-columns: 1fr; } .results-bar { flex-wrap: wrap; } }

/* ---------- 长文 ---------- */
.doc { display: grid; grid-template-columns: 220px minmax(0, 720px); gap: 56px; justify-content: center; padding-top: 40px; padding-bottom: 80px; }
.toc { order: 0; }
.toc details { position: sticky; top: 88px; }
.toc summary { font-size: 13px; font-weight: 650; color: var(--ink); cursor: pointer; list-style: none; margin-bottom: 12px; }
.toc summary::-webkit-details-marker { display: none; }
.toc ol { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--line); }
.toc a { display: block; padding: 6px 0 6px 14px; margin-left: -1px; border-left: 2px solid transparent; font-size: 14px; color: var(--ink-3); line-height: 1.5; transition: color .2s, border-color .2s; }
.toc a:hover { color: var(--ink); text-decoration: none; }
.toc a.is-active { color: var(--accent-ink); border-left-color: var(--accent); font-weight: 600; }
@media (max-width: 1000px) {
  .doc { grid-template-columns: minmax(0, 1fr); gap: 0; padding-top: 24px; }
  .toc details { position: static; padding: 14px 18px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); margin-bottom: 28px; }
  .toc summary { margin: 0; }
  .toc summary::after { content: "展开"; float: right; font-weight: 400; color: var(--ink-3); }
  .toc details[open] summary::after { content: "收起"; }
  .toc details[open] ol { margin-top: 12px; }
}

.prose { font-size: 17px; line-height: 1.85; color: var(--ink-2); min-width: 0; }
.prose-solo { padding: 40px 0 80px; }
.prose > * + *, .prose section > * + * { margin-top: 1.1em; }
.prose section + section { margin-top: 3em; }
.prose h2 { font-size: 1.5rem; margin-top: 2.2em; padding-top: .2em; }
.prose section > h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.18rem; margin-top: 1.8em; }
.prose h2 + *, .prose h3 + * { margin-top: .7em; }
.prose .anchor { float: left; margin-left: -1.1em; width: 1.1em; color: var(--line-2); opacity: 0; transition: opacity .2s; font-weight: 400; }
.prose h2:hover .anchor, .prose h3:hover .anchor { opacity: 1; text-decoration: none; }
.prose a { text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--accent) 45%, transparent); text-underline-offset: 3px; }
.prose a:hover { text-decoration-color: var(--accent); }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .35em; }
.prose li::marker { color: var(--accent); }
.prose strong { color: var(--ink); font-weight: 650; }
.prose code { font: .88em var(--mono); background: var(--paper-2); border: 1px solid var(--line); border-radius: 5px; padding: .1em .4em; }
.prose pre.code { background: var(--navy); color: #dbe5f1; border-radius: 12px; padding: 18px 20px; overflow-x: auto; font: 14px/1.7 var(--mono); }
.prose pre.code code { background: none; border: 0; padding: 0; color: inherit; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2.4em 0; }
.prose blockquote { margin-left: 0; padding-left: 18px; border-left: 3px solid var(--line-2); color: var(--ink-3); }
.checklist { list-style: none; padding-left: 0 !important; }
.checklist li { position: relative; padding-left: 32px; }
.check { position: absolute; left: 0; top: .32em; width: 19px; height: 19px; border: 1.5px solid var(--line-2); border-radius: 6px; background: var(--surface); }
.check.is-done { background: var(--accent); border-color: var(--accent); }

/* 表格 */
.table-wrap { position: relative; overflow-x: auto; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); }
.table-wrap:focus-visible { outline-offset: 2px; }
table { width: 100%; min-width: 520px; border-collapse: collapse; font-size: 14.5px; line-height: 1.6; }
table.kv { min-width: 0; }
td:first-child { min-width: 6.5em; }
th, td { padding: 11px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
thead th { background: var(--paper-2); color: var(--ink); font-weight: 650; font-size: 13.5px; white-space: nowrap; }
tbody tr:last-child > * { border-bottom: 0; }
tbody tr:nth-child(even) { background: color-mix(in srgb, var(--paper-2) 45%, transparent); }
tbody th { color: var(--ink); font-weight: 600; white-space: nowrap; }
table small { color: var(--ink-3); }
.kv th { width: 9em; }
tr.is-self { background: var(--accent-soft) !important; }

/* 提示框 */
.callout { padding: 16px 18px 16px 20px; border-radius: 12px; border-left: 3px solid; font-size: 15.5px; line-height: 1.75; }
.callout > * + * { margin-top: .5em; }
.callout-title { font-weight: 650; color: var(--ink); }
.callout-note { background: var(--note-soft); border-color: var(--note); }
.callout-tip { background: var(--accent-soft); border-color: var(--accent); }
.callout-warning { background: var(--warn-soft); border-color: var(--warn); }
.callout ul { margin: .4em 0 0; }

/* 评测专用 */
.fit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.fit { padding: 18px 20px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); }
.fit h3 { display: flex; align-items: center; gap: 6px; font-size: 1rem; margin: 0 0 8px !important; }
.fit-yes h3 .i { color: var(--accent); }
.fit-no h3 .i { color: var(--warn); }
.fit ul { margin: 0; font-size: 15.5px; }
.compat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.compat-grid > div { padding: 16px 18px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.compat-grid h3 { font-size: .95rem; margin: 0 0 10px !important; }
.src-list { list-style: none; padding: 0 !important; margin: 0; font-size: 15px; }
.src-list li { display: flex; flex-direction: column; padding: 6px 0; border-bottom: 1px dashed var(--line); }
.src-list li:last-child { border-bottom: 0; }
.src-list small { font-size: 12.5px; }
@media (max-width: 720px) { .fit-grid, .compat-grid { grid-template-columns: 1fr; } }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 14px 32px 14px 0; font-weight: 600; color: var(--ink); list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 9px; height: 9px; border-right: 2px solid var(--ink-3); border-bottom: 2px solid var(--ink-3); transform: translateY(-70%) rotate(45deg); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details > div { padding: 0 0 16px; }
.sources { font-size: 15px; padding-left: 1.4em; }
.sources small { color: var(--ink-3); margin-left: 4px; }
.cta-box { margin-top: 3em !important; display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; padding: 28px; border-radius: 18px; background: linear-gradient(135deg, var(--navy), #123049); color: #c6d0de; }
.cta-box h2 { color: #fff; font-size: 1.3rem; margin: 0 0 6px !important; }
.cta-box p { font-size: 15px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.cta-box .btn-primary { background: var(--accent-bright); color: #062421; }
.cta-box .btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .3); }
.cta-box .btn-disabled { background: rgba(255, 255, 255, .08); color: #9fb0c6; border-color: rgba(255, 255, 255, .15); }
.aff-note { flex-basis: 100%; font-size: 12.5px; color: #f2c37a; }
@media (max-width: 720px) { .cta-box { grid-template-columns: 1fr; } }

.correction { margin-top: 2.4em !important; padding: 18px 20px; border: 1px solid var(--line); border-radius: 12px; font-size: 15px; background: var(--surface); }
.correction p + p { margin-top: 6px; }
.author-box { display: flex; gap: 16px; margin-top: 3em !important; padding-top: 24px; border-top: 1px solid var(--line); font-size: 15px; }
.avatar { flex: none; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--navy); color: var(--accent-bright); font-weight: 700; font-size: 18px; }
.author-name { font-weight: 650; color: var(--ink); }
.author-name small { font-weight: 400; color: var(--ink-3); margin-left: 6px; }
.related { margin-top: 3em !important; }
.related h2 { font-size: 1.15rem; margin: 0 0 12px !important; }
.related .arow-title { font-size: 1rem; }
.cat-nav { margin-top: 48px; }
.cat-nav h2 { font-size: 1rem; margin-bottom: 12px; }
.cat-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }

/* ---------- 页脚 ---------- */
.site-footer { background: var(--navy); color: #a9b6c8; padding: 56px 0 28px; font-size: 14.5px; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
.brand-light { color: #fff; }
.brand-light .logo-mark rect { fill: #1d2c45; }
.foot-brand p { margin-top: 14px; max-width: 34ch; }
.foot-note { font-size: 13px; color: #8392a8; }
.foot-col h2 { font-size: 13px; color: #fff; letter-spacing: .06em; margin-bottom: 12px; }
.foot-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.foot-col a { color: #a9b6c8; }
.foot-col a:hover { color: var(--accent-bright); }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; margin-top: 44px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 13px; color: #8392a8; }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; } }

/* ---------- 搜索 ---------- */
.search-page-form { margin-top: 20px; }
mark { background: color-mix(in srgb, var(--accent-bright) 30%, transparent); color: inherit; border-radius: 3px; padding: 0 2px; }

/* ---------- 入场动效 ---------- */
/* 内容默认可见（不滚动的抓取器、整页截图也能看到）；只有滚动进入视口的元素才播放入场动画 */
.js .reveal.is-in { animation: reveal-in .6s var(--ease) both; animation-delay: var(--d, 0s); }
@keyframes reveal-in { from { opacity: 0; transform: translateY(12px); } }
.hero-copy > * { animation: rise .8s var(--ease) both; }
.hero-copy > :nth-child(2) { animation-delay: .06s; }
.hero-copy > :nth-child(3) { animation-delay: .12s; }
.hero-copy > :nth-child(4) { animation-delay: .18s; }
.hero-copy > :nth-child(5) { animation-delay: .24s; }
.hero-visual { animation: fade 1.2s .2s var(--ease) both; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }
@keyframes fade { from { opacity: 0; transform: scale(.97); } }

@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 .reveal { opacity: 1; transform: none; }
  .route { animation: none; stroke-dasharray: none; }
  @view-transition { navigation: none; }
}

@media print {
  .site-header, .site-footer, .toc, .prelaunch-bar, .cta-box, .hero-visual { display: none !important; }
  .doc { display: block; }
}

/* ---------- 机场榜单与评测 ---------- */
.muted { color: var(--ink-3); }
.nowrap { white-space: nowrap; }
.rank-badge { flex: none; display: inline-grid; place-items: center; min-width: 38px; height: 38px; padding: 0 6px; border-radius: 11px; background: var(--navy); color: var(--accent-bright); font: 700 15px var(--mono); letter-spacing: .02em; }
.rank-badge-sm { min-width: 30px; height: 28px; border-radius: 8px; font-size: 13px; }
.rcard-head { justify-content: flex-start; align-items: center; }
.rcard-head h3 { flex: 1; min-width: 0; }
.rcard-stats { margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.rcard-stats div { background: var(--surface); padding: 10px 12px; display: grid; gap: 2px; }
.rcard-stats dt { font-size: 12px; color: var(--ink-3); }
.rcard-stats dd { margin: 0; font-size: 1.12rem; font-weight: 700; color: var(--ink); line-height: 1.25; }
.rcard-stats small { display: block; font-size: 12px; font-weight: 400; color: var(--ink-3); }
.rcard-facts div { grid-template-columns: 4em 1fr; }
.rcard .rcard-sum { display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }

.rank-table table { min-width: 900px; }
.rank-table td, .rank-table th { vertical-align: middle; }
.rank-table tbody th a { font-weight: 650; color: var(--ink); }
.rank-table code, .buy-card code { font: 600 .88em var(--mono); background: var(--accent-soft); color: var(--accent-ink); padding: .1em .45em; border-radius: 5px; }
.rank-table + .callout { margin-top: 18px; }
.section-tight > section { padding-bottom: 8px; }

.review-head { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 40px; align-items: start; }
.review-head .page-head h1, .review-head h1 { max-width: 28ch; }
.chip-rank { background: var(--navy); color: var(--accent-bright); border-color: transparent; }
.buy-card { margin-top: 40px; padding: 22px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); box-shadow: var(--shadow-2); display: grid; gap: 12px; }
.buy-name { font-weight: 700; color: var(--ink); }
.buy-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px; }
.buy-price .num { font-size: 2rem; font-weight: 750; color: var(--ink); letter-spacing: -.02em; }
.buy-price small { color: var(--ink-3); font-size: 13px; }
.buy-facts { margin: 0; display: grid; gap: 8px; padding: 12px 0; border-block: 1px dashed var(--line); font-size: 14px; }
.buy-facts div { display: grid; grid-template-columns: 4.5em 1fr; gap: 8px; align-items: start; }
.buy-facts dt { color: var(--ink-3); }
.buy-facts dd { margin: 0; color: var(--ink); }
.coupons { display: flex; flex-wrap: wrap; gap: 6px 8px; align-items: center; }
.coupon { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 4px 0 10px; border: 1px dashed var(--accent); border-radius: 8px; background: var(--accent-soft); color: var(--accent-ink); font: inherit; font-size: 13.5px; cursor: pointer; transition: background .2s; }
.coupon code { background: none !important; padding: 0 !important; font-weight: 700; }
.coupon-act { font-size: 12px; padding: 2px 8px; border-radius: 6px; background: var(--surface); color: var(--ink-2); }
.coupon.is-copied .coupon-act { background: var(--accent); color: #fff; }
.coupon-note { flex-basis: 100%; font-size: 12.5px; color: var(--ink-3); margin-top: -2px; }
.btn-block { width: 100%; justify-content: center; }
.buy-card .btn-primary { background: var(--accent); color: #fff; }
.buy-card .btn-primary:hover { background: var(--accent-ink); }
.aff-hint { font-size: 12.5px; color: var(--ink-3); }
@media (max-width: 960px) { .review-head { grid-template-columns: 1fr; gap: 0; } .buy-card { margin-top: 24px; max-width: 520px; } }

.verdict { list-style: none; padding: 0 !important; display: grid; gap: 10px; }
.verdict li { position: relative; padding: 12px 14px 12px 40px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); font-size: 16px; line-height: 1.7; }
.verdict li::before { content: ""; position: absolute; left: 16px; top: 1.15em; width: 9px; height: 9px; border-radius: 3px; background: var(--accent); transform: rotate(45deg); }
.verdict li + li { margin-top: 0; }
.stat-grid { margin: 1.4em 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.stat-grid div { padding: 14px 16px; border-radius: 12px; background: var(--paper-2); display: grid; gap: 2px; }
.stat-grid dt { font-size: 12.5px; color: var(--ink-3); }
.stat-grid dd { margin: 0; font-size: 1.4rem; font-weight: 750; color: var(--ink); line-height: 1.3; }
.stat-grid small { font-size: 12.5px; color: var(--ink-3); line-height: 1.4; }
@media (max-width: 560px) { .stat-grid, .rcard-stats { grid-template-columns: 1fr 1fr; } .rcard-stats div:last-child { grid-column: 1 / -1; } }

.bars { margin: 1.4em 0 0; padding: 18px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); display: grid; gap: 10px; }
.bar-row { display: grid; grid-template-columns: minmax(7em, 13em) 1fr 4.5em; gap: 12px; align-items: center; font-size: 14px; }
.bar-label { color: var(--ink); line-height: 1.35; }
.bar-label small { display: block; color: var(--ink-3); font-size: 12px; }
.bar-track { height: 12px; border-radius: 6px; background: var(--paper-2); overflow: hidden; }
.bar { display: block; height: 100%; width: var(--w); border-radius: 6px; background: linear-gradient(90deg, var(--accent), var(--accent-bright)); transform-origin: left; animation: grow .9s var(--ease) both; }
@keyframes grow { from { transform: scaleX(0); } }
.bar-val { text-align: right; color: var(--ink); font-weight: 600; }
.bars figcaption { font-size: 13px; color: var(--ink-3); margin-top: 4px; }
@media (max-width: 520px) { .bar-row { grid-template-columns: 1fr 4.2em; } .bar-track { grid-column: 1 / -1; grid-row: 2; } }

.tier-table td small, .rank-table td small { display: block; font-size: 12px; }
.rank-table td small { display: inline; }
td.is-best { color: var(--accent-ink); font-weight: 700; background: var(--accent-soft); }
.best-mark { color: var(--accent-ink); font-weight: 700; background: var(--accent-soft); padding: 0 4px; border-radius: 4px; }

.shot { margin: 1.2em 0 0; }
.shot a { display: block; width: fit-content; max-width: 100%; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: #fff; }
.shot img { display: block; max-width: 100%; height: auto; }
.shot figcaption { margin-top: 10px; font-size: 13.5px; color: var(--ink-3); }

/* ---------- 分类推荐 / 对比 / 首页长文 ---------- */
.foot-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr; }
@media (max-width: 960px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; } }
.foot-reviews { margin-top: 36px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .1); }
.foot-reviews h2 { font-size: 13px; color: #fff; letter-spacing: .06em; margin-bottom: 12px; }
.foot-reviews ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 13.5px; }
.foot-reviews a { color: #a9b6c8; }
.foot-reviews a:hover { color: var(--accent-bright); }

.home-toc { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 6px; margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 14px; }
.home-toc span { color: var(--ink-3); margin-right: 8px; font-weight: 600; }
.home-toc a { padding: 4px 12px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); color: var(--ink-2); }
.home-toc a:hover { border-color: var(--accent); color: var(--accent-ink); text-decoration: none; }
section[id] { scroll-margin-top: 80px; }

.topic-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.topic-grid .tg-card { position: relative; height: 100%; display: grid; align-content: start; gap: 6px; padding: 18px; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); color: var(--ink-2); transition: border-color .25s, transform .25s var(--ease), box-shadow .25s; }
.topic-grid .tg-card:hover { border-color: var(--accent); transform: translateY(-2px); box-shadow: var(--shadow-2); }
.tg-name { font-weight: 700; color: var(--ink); font-size: 1.05rem; }
.tg-top { font-size: 14px; }
.tg-top strong { color: var(--accent-ink); }
.tg-reason { font-size: 13px; color: var(--ink-3); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tg-n { margin-top: 4px; font-size: 13px; font-weight: 600; color: var(--accent-ink); display: inline-flex; align-items: center; gap: 4px; }
@media (max-width: 1000px) { .topic-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .topic-grid { grid-template-columns: 1fr; } }
.narrow-inner { max-width: 760px; margin-top: 24px; }

.pick-list { list-style: none; padding: 0 !important; display: grid; gap: 14px; margin-top: 1.6em !important; }
.pick-list > li + li { margin-top: 0; }
.pick { display: grid; grid-template-columns: 44px 1fr; gap: 14px; padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); }
.pick-n { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 11px; background: var(--navy); color: var(--accent-bright); font: 700 16px var(--mono); }
.pick-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; }
.pick-head h3 { margin: 0 !important; font-size: 1.12rem; }
.pick-head h3 a { color: var(--ink); text-decoration: none; }
.pick .chips { display: flex; gap: 6px; }
.pick-reason { margin-top: 6px !important; font-size: 15.5px; color: var(--ink); line-height: 1.65; }
.pick-stats { margin: 10px 0 0 !important; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; font-size: 13.5px; }
.pick-stats div { padding: 8px 10px; border-radius: 9px; background: var(--paper-2); }
.pick-stats dt { color: var(--ink-3); font-size: 12px; }
.pick-stats dd { margin: 0; color: var(--ink); font-weight: 650; }
.pick-links { margin-top: 10px !important; display: flex; gap: 18px; font-size: 14.5px; }
@media (max-width: 600px) { .pick { grid-template-columns: 1fr; } .pick-stats { grid-template-columns: 1fr 1fr; } }

.vs-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.vs-grid .vs-card { position: relative; display: grid; gap: 4px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); color: var(--ink-2); height: 100%; transition: border-color .25s; }
.vs-grid .vs-card:hover { border-color: var(--accent); }
.tg-name.stretched, .vs-names.stretched { text-decoration: none; }
.vs-names { font-weight: 700; color: var(--ink); }
.vs-names em { font-style: normal; font: 600 12px var(--mono); color: var(--accent-ink); margin: 0 4px; }
.vs-line { font-size: 13.5px; color: var(--ink-3); }
@media (max-width: 900px) { .vs-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .vs-grid { grid-template-columns: 1fr; } }
.vs-table td small, .table-wrap td small { display: block; font-size: 12px; color: var(--ink-3); }

.combo-h { font-size: 1rem; margin: 0 0 10px; }
.combo-h + .combo-list + .combo-h { margin-top: 22px; }
.combo-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.combo-list li { display: grid; gap: 2px; padding: 10px 14px; border-radius: 10px; background: var(--surface); border: 1px solid var(--line); }
.combo-list a { font-weight: 650; color: var(--ink); }
.combo-list span { font-size: 13.5px; color: var(--ink-3); }

.changelog-h { font-size: 1.5rem; margin-bottom: 14px; }
.changelog { list-style: none; margin: 0 0 14px; padding: 0 0 0 16px; border-left: 2px solid var(--line); display: grid; gap: 14px; }
.changelog li { position: relative; }
.changelog li::before { content: ""; position: absolute; left: -22px; top: 6px; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 3px var(--paper); }
.changelog time { font-size: 13px; color: var(--ink-3); }
.changelog p { font-size: 15px; color: var(--ink-2); }
.changelog-full { margin-top: 8px; }
.sec-faq h2 { margin-top: 0 !important; }

.swipe-hint { display: none; margin: 0 0 8px; font-size: 13px; color: var(--ink-3); text-align: center; }
@media (max-width: 900px) { .swipe-hint { display: block; } }

/* 正文内链与文章末尾“下一步” */
.prose a.autolink { text-decoration-style: dotted; }
.next-steps { margin-top: 3em !important; padding: 22px; border: 1px solid var(--line); border-radius: var(--r); background: var(--paper-2); }
.next-steps h2 { font-size: 1.15rem; margin: 0 0 12px !important; }
.next-grid { list-style: none; padding: 0 !important; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.next-grid li { margin: 0 !important; padding: 12px 14px; border-radius: 10px; background: var(--surface); border: 1px solid var(--line); display: grid; gap: 2px; }
.next-grid a { font-weight: 650; text-decoration: none; }
.next-grid span { font-size: 13px; color: var(--ink-3); }
.next-more { margin-top: 12px !important; font-size: 14.5px; }
@media (max-width: 640px) { .next-grid { grid-template-columns: 1fr; } }
