/* 风眼 · Typhoon Eye —— 与「蛛网之上」同源的纸墨设计体系
   双皮肤：默认亮屏（昼），data-theme="dark" 切夜屏；强调色为风暴青 */
:root, :root[data-theme="light"] {
  --paper: #faf8f3;
  --paper-2: #ffffff;
  --paper-3: #f0ede4;
  --ink: #1b1813;
  --ink-soft: #6b6357;
  --line: #e5dfd2;
  --accent: #0e7490;        /* 风暴青 */
  --accent-2: #2563eb;      /* 深海蓝副色 */
  --accent-soft: #e6f2f5;
  --glow: 14, 116, 144;
  --shadow: 20, 40, 60;
  --sea: #eef3f2;           /* 路径图海面 */
  --land: #e7e2d4;          /* 路径图陆地 */
  --w-blue: #2563eb; --w-yellow: #ca8a04; --w-orange: #ea580c; --w-red: #dc2626;
  color-scheme: light;
  --max: 46rem;
  --serif: "Songti SC", "Noto Serif SC", Georgia, "Times New Roman", serif;
  --sans: "PingFang SC", "Noto Sans SC", -apple-system, "Segoe UI", system-ui, sans-serif;
}
:root[data-theme="dark"] {
  --paper: #0e1116;
  --paper-2: #151a21;
  --paper-3: #1b212b;
  --ink: #e8ecf2;
  --ink-soft: #94a0af;
  --line: #262e3a;
  --accent: #4cc3e0;
  --accent-2: #7aa2ff;
  --accent-soft: #14232c;
  --glow: 76, 195, 224;
  --shadow: 0, 0, 0;
  --sea: #101720;
  --land: #1d2530;
  --w-blue: #60a5fa; --w-yellow: #facc15; --w-orange: #fb923c; --w-red: #f87171;
  color-scheme: dark;
}
:root { --theme-tx: background-color .4s ease, border-color .4s ease, color .4s ease; }
body, .site-header, .stat, .plan-panel, .contact, .source-link { transition: var(--theme-tx); }
@media (prefers-reduced-motion: reduce) { :root { --theme-tx: none; } }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
::selection { background: color-mix(in srgb, var(--accent) 24%, transparent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* 顶栏 */
.site-header {
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 20;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(10px);
}
.site-header .bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 1.5rem; max-width: 72rem; margin: 0 auto; }
.brand { font-family: var(--serif); font-weight: 700; font-size: 1.25rem; letter-spacing: .04em; color: var(--ink); }
.brand:hover { text-decoration: none; }
.brand small { display: block; font-family: var(--sans); font-weight: 400; font-size: .7rem; letter-spacing: .3em; color: var(--ink-soft); text-transform: uppercase; }
.header-actions { display: flex; align-items: center; gap: 1rem; }
.demo-badge {
  font-size: .72rem; letter-spacing: .12em; color: var(--w-orange);
  border: 1px solid color-mix(in srgb, var(--w-orange) 45%, transparent);
  border-radius: 999px; padding: .18em .7em; white-space: nowrap;
}
.demo-badge.live { color: var(--accent); border-color: color-mix(in srgb, var(--accent) 45%, transparent); }
.gh-link { font-size: .85rem; color: var(--ink-soft); }
.theme-toggle {
  display: inline-grid; place-items: center; width: 2.1rem; height: 2.1rem;
  border: 1px solid var(--line); border-radius: 999px; background: color-mix(in srgb, var(--ink) 4%, transparent);
  color: var(--ink-soft); cursor: pointer; transition: border-color .15s ease, color .15s ease;
}
.theme-toggle:hover { border-color: var(--accent); color: var(--ink); }
.theme-toggle svg { width: 1.05rem; height: 1.05rem; }
.theme-toggle .i-sun { display: none; }
:root[data-theme="dark"] .theme-toggle .i-sun { display: block; }
:root[data-theme="dark"] .theme-toggle .i-moon { display: none; }
@media (max-width: 560px) { .gh-link { display: none; } }

/* 提示条 */
.notice-bar {
  text-align: center; font-size: .82rem; color: var(--ink-soft);
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--w-orange) 7%, var(--paper));
  padding: .5rem 1.5rem;
}
.notice-bar b { color: var(--ink); font-weight: 600; }

/* hero */
.hero {
  position: relative; overflow: hidden; text-align: center;
  padding: 4.5rem 1.5rem 3.5rem;
  background:
    radial-gradient(62% 72% at 50% 30%, rgba(var(--glow), .14), transparent 70%),
    radial-gradient(46% 52% at 84% 86%, rgba(var(--glow), .08), transparent 70%);
}
.hero-kicker { margin: 0 0 .2rem; font-size: .78rem; letter-spacing: .4em; text-indent: .4em; color: var(--ink-soft); }
.hero h1 {
  font-family: var(--serif); font-size: clamp(2.6rem, 7vw, 4.2rem); margin: .1em 0; letter-spacing: .12em;
  text-shadow: 0 2px 50px rgba(var(--glow), .35);
}
.hero-level { display: flex; align-items: center; justify-content: center; gap: .5rem; margin: .4rem 0 0; color: var(--accent); font-weight: 600; letter-spacing: .06em; }
.eye-dot { width: .55rem; height: .55rem; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 rgba(var(--glow), .5); animation: pulse 2.2s ease-out infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 12px rgba(var(--glow), 0); } 100% { box-shadow: 0 0 0 0 rgba(var(--glow), 0); } }
@media (prefers-reduced-motion: reduce) { .eye-dot, .tp-now-halo { animation: none !important; } }
.hero-sub { max-width: 34rem; margin: 1rem auto 0; font-size: 1.02rem; line-height: 2; color: var(--ink); }
.hero-sub.is-calm { color: var(--ink-soft); font-size: .88rem; }

/* 多源交叉校验说明行：绿点=一致 / 橙点=分歧 / 灰点=单源 */
.hero-verify {
  max-width: 38rem; margin: .8rem auto 0;
  font-size: .78rem; line-height: 1.8; color: var(--ink-soft);
}
.hero-verify b { color: var(--ink); font-weight: 600; }
.hero-verify .vf-dot {
  display: inline-block; width: .5em; height: .5em; border-radius: 50%;
  margin-right: .45em; vertical-align: .1em; background: var(--accent);
}
.hero-verify.divergent .vf-dot { background: var(--w-orange); }
.hero-verify.single .vf-dot { background: var(--ink-soft); }
.hero-verify .vf-note { color: var(--accent); }
.hero .meta { margin-top: 1rem; }
.ty-switch { display: flex; justify-content: center; flex-wrap: wrap; gap: .5rem; margin-top: 1.1rem; }
.ty-chip {
  font-family: var(--sans); font-size: .85rem; color: var(--ink-soft);
  background: none; border: 1px solid var(--line); border-radius: 999px; padding: .32rem .95rem; cursor: pointer;
  transition: background .15s ease, border-color .15s ease, color .15s ease;
}
.ty-chip:hover { border-color: var(--accent); color: var(--ink); }
.ty-chip.is-active { background: var(--accent); border-color: var(--accent); color: #fff; }
:root[data-theme="dark"] .ty-chip.is-active { color: #10151c; }
.meta { color: var(--ink-soft); font-size: .85rem; letter-spacing: .02em; }

/* 板块栏头 */
.section { max-width: 72rem; margin: 0 auto; padding: 2.4rem 1.5rem 1.6rem; }
.sec-head { margin: 0 0 1.5rem; }
.sec-kicker {
  display: flex; align-items: center; gap: .8rem; margin: 0 0 .6rem;
  font-size: .7rem; letter-spacing: .3em; text-transform: uppercase; color: var(--ink-soft);
}
.sec-kicker i { font-style: normal; font-weight: 600; color: var(--accent); letter-spacing: .08em; font-variant-numeric: tabular-nums; }
.sec-kicker::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.sec-head h2 { font-family: var(--serif); font-size: 1.65rem; margin: 0 0 .4rem; letter-spacing: .02em; }
.sec-desc { margin: 0; color: var(--ink-soft); font-size: .92rem; line-height: 1.8; max-width: 46rem; }

/* 实况 stats */
.stats { display: grid; grid-template-columns: repeat(auto-fill, minmax(10.5rem, 1fr)); gap: 1rem; }
.stat {
  border: 1px solid var(--line); border-radius: 14px; padding: 1rem 1.15rem;
  background: var(--paper-2);
}
.stat .k { font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); margin: 0 0 .3rem; }
.stat .v { font-family: var(--serif); font-size: 1.7rem; font-weight: 700; margin: 0; line-height: 1.2; font-variant-numeric: tabular-nums; }
.stat .v small { font-family: var(--sans); font-size: .72rem; font-weight: 400; color: var(--ink-soft); margin-left: .25em; letter-spacing: .04em; }
.stat .sub { margin: .2rem 0 0; font-size: .78rem; color: var(--ink-soft); }
/* 移动方向卡片里的小罗盘 */
.stat .compass { width: 1.5rem; height: 1.5rem; vertical-align: -0.22em; margin-left: .5rem; }
.compass-ring { fill: none; stroke: var(--line); stroke-width: 1.5; }
.compass-north { stroke: var(--ink-soft); stroke-width: 1.5; stroke-linecap: round; }
.compass-needle { fill: var(--accent); }

/* 路径图 */
.map-wrap {
  position: relative; border: 1px solid var(--line); border-radius: 16px; overflow: hidden;
  background: var(--sea);
}
#trackMap { display: block; width: 100%; height: auto; }
/* 视窗随路径动态扩展，线宽用 non-scaling-stroke 保持屏幕恒定 */
.land, .cities circle, .track-line, .tp circle { vector-effect: non-scaling-stroke; }
.land { fill: var(--land); stroke: var(--line); stroke-width: 1.5; }
.cities circle { fill: var(--ink-soft); opacity: .75; }
.cities text { font-family: var(--sans); fill: var(--ink-soft); }
/* 远洋视图：无海岸线可参照时，用经纬网 + 小地图定位 */
.grat-line { stroke: var(--line); stroke-width: 1; stroke-dasharray: 3 6; opacity: .85; vector-effect: non-scaling-stroke; }
.grat-label { font-family: var(--sans); fill: var(--ink-soft); opacity: .7; }
.mm-frame { fill: var(--paper-2); fill-opacity: .94; stroke: var(--line); stroke-width: 1.2; vector-effect: non-scaling-stroke; }
.mm-sea { fill: var(--sea); }
.mm-land { fill: var(--land); stroke: var(--ink-soft); stroke-width: .75; opacity: .95; vector-effect: non-scaling-stroke; }
.mm-track { fill: none; stroke: var(--accent); stroke-width: 1.4; stroke-linejoin: round; opacity: .55; vector-effect: non-scaling-stroke; }
.mm-now { fill: var(--accent); }
/* 当前图幅框：小地图里这一块就是上面的整幅大图 */
.mm-view { fill: var(--accent); fill-opacity: .07; stroke: var(--accent); stroke-width: 1.2; stroke-dasharray: 3 2.5; vector-effect: non-scaling-stroke; }
.mm-title { fill: var(--ink); font-family: var(--sans); font-weight: 700; letter-spacing: .06em; }
.mm-note { fill: var(--ink-soft); font-family: var(--sans); }
.mm-mark { fill: var(--ink-soft); font-family: var(--sans); opacity: .85; paint-order: stroke; stroke: var(--paper-2); stroke-width: 2.5; stroke-linejoin: round; }
/* 尺度按钮：－／＋ 三档切换，到头的一侧置灰 */
.mm-btn { cursor: pointer; }
.mm-hit { fill: transparent; pointer-events: all; }
.mm-btn-bg { fill: var(--paper-3); stroke: var(--line); stroke-width: 1; vector-effect: non-scaling-stroke; }
.mm-btn-ink { stroke: var(--ink); stroke-width: 1.6; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.mm-btn:hover .mm-btn-bg { fill: var(--accent-soft); stroke: var(--accent); }
.mm-btn:hover .mm-btn-ink { stroke: var(--accent); }
.mm-btn.is-off { cursor: default; opacity: .32; }
.mm-btn:focus-visible { outline: none; }
.mm-btn:focus-visible .mm-btn-bg { stroke: var(--accent); stroke-width: 2.5; }
.track-line { fill: none; stroke: var(--accent); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.track-line.forecast { stroke-dasharray: 3 7; opacity: .85; }
.tp { cursor: pointer; }
.tp circle.dot { fill: var(--paper-2); stroke: var(--accent); stroke-width: 2.5; transition: r .15s ease; }
.tp.forecast circle.dot { stroke-dasharray: 2 3; opacity: .9; }
.tp:hover circle.dot, .tp.is-active circle.dot { fill: var(--accent-soft); }
.tp-now-halo { fill: none; stroke: var(--accent); stroke-width: 2; opacity: .6; animation: halo 2.2s ease-out infinite; transform-origin: center; transform-box: fill-box; }
@keyframes halo { 0% { transform: scale(.5); opacity: .7; } 100% { transform: scale(2.1); opacity: 0; } }
/* 当前点核心：写在 .tp circle.dot 与 hover 规则之后并抬高优先级，避免被白底填充覆盖 */
.tp circle.dot.tp-now-core, .tp:hover circle.dot.tp-now-core { fill: var(--accent); }
.map-tooltip {
  position: absolute; z-index: 5; pointer-events: none;
  background: var(--paper-2); border: 1px solid var(--line); border-radius: 10px;
  box-shadow: 0 10px 28px -12px rgba(var(--shadow), .45);
  padding: .5rem .8rem; font-size: .8rem; line-height: 1.55; white-space: nowrap;
  transform: translate(-50%, calc(-100% - 12px));
}
.map-tooltip.below { transform: translate(-50%, 14px); }
.map-tooltip b { font-family: var(--serif); font-size: .92rem; }
.map-tooltip .ph { color: var(--ink-soft); }
.map-legend {
  position: absolute; left: .9rem; bottom: .7rem; display: flex; gap: 1rem; flex-wrap: wrap;
  font-size: .74rem; color: var(--ink-soft);
}
.map-legend span { display: inline-flex; align-items: center; gap: .35rem; }
.map-legend i { display: inline-block; }
.lg-line { width: 1.2rem; height: 0; border-top: 2.5px solid var(--accent); }
.lg-dash { width: 1.2rem; height: 0; border-top: 2.5px dashed var(--accent); }
.lg-now { width: .55rem; height: .55rem; border-radius: 50%; background: var(--accent); }
.map-note { position: absolute; right: .9rem; bottom: .7rem; font-size: .72rem; color: var(--ink-soft); opacity: .8; }

/* 预案 */
.plan-first {
  margin: 0 0 1.2rem; padding: .7rem 1rem; border-left: 3px solid var(--accent);
  background: var(--accent-soft); border-radius: 0 10px 10px 0; font-size: .95rem;
}
.plan-first.is-calm {
  border-left-color: var(--line); background: none; color: var(--ink-soft); font-size: .82rem;
}
.level-tabs { display: flex; gap: .5rem; flex-wrap: wrap; margin: 0 0 .6rem; }
.level-hint { margin: 0 0 1.2rem; font-size: .78rem; }
.level-hint b { color: var(--accent); }
.level-tab {
  --lv: var(--accent);
  font-family: var(--sans); font-size: .9rem; color: var(--ink-soft);
  background: none; border: 1px solid var(--line); border-radius: 999px;
  padding: .4rem 1.1rem; cursor: pointer;
  display: inline-flex; align-items: center; gap: .45rem;
  transition: background .15s ease, border-color .15s ease, color .15s ease;
}
.level-tab::before { content: ""; width: .6rem; height: .6rem; border-radius: 50%; background: var(--lv); }
.level-tab:hover { border-color: var(--lv); color: var(--ink); }
.level-tab.is-active { background: var(--lv); border-color: var(--lv); color: #fff; font-weight: 600; }
.level-tab.is-active::before { background: #fff; }
:root[data-theme="dark"] .level-tab.is-active { color: #10151c; }
:root[data-theme="dark"] .level-tab.is-active::before { background: #10151c; }

.plan-panel {
  --lv: var(--accent);
  border: 1px solid var(--line); border-left: 4px solid var(--lv); border-radius: 14px;
  background: var(--paper-2); padding: 1.4rem 1.5rem 1.2rem;
}
.plan-head h3 { font-family: var(--serif); font-size: 1.3rem; margin: 0 0 .2rem; color: var(--lv); }
.plan-signal { margin: 0 0 1rem; font-size: .85rem; color: var(--ink-soft); }
.plan-progress { display: flex; align-items: center; gap: .8rem; margin: 0 0 1rem; }
.plan-progress .bar { flex: 1; height: 6px; border-radius: 999px; background: var(--paper-3); overflow: hidden; }
.plan-progress .bar i { display: block; height: 100%; width: 0; border-radius: 999px; background: var(--lv); transition: width .3s ease; }
.plan-progress span { font-size: .8rem; color: var(--ink-soft); font-variant-numeric: tabular-nums; white-space: nowrap; }
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: .35rem; }
.checklist li { border-bottom: 1px dashed var(--line); }
.checklist li:last-child { border-bottom: none; }
.checklist label {
  display: flex; gap: .7rem; align-items: flex-start; padding: .55rem .2rem; cursor: pointer;
  font-size: .98rem; line-height: 1.65;
}
.checklist input {
  flex: none; width: 1.1rem; height: 1.1rem; margin-top: .28em;
  accent-color: var(--lv); cursor: pointer;
}
.checklist input:checked + span { color: var(--ink-soft); text-decoration: line-through; text-decoration-color: color-mix(in srgb, var(--lv) 55%, transparent); }
/* 低级事项徽标：直接着对应预警色，等级一眼可辨 */
.checklist .from-lower {
  --flv: var(--ink-soft);
  font-size: .72rem; font-style: normal; color: var(--flv);
  border: 1px solid color-mix(in srgb, var(--flv) 50%, transparent);
  background: color-mix(in srgb, var(--flv) 9%, transparent);
  border-radius: 999px; padding: 0 .5em; margin-left: .4em; white-space: nowrap;
}
.checklist input:checked + span .from-lower { opacity: .45; }
.plan-tone { margin: 1.1rem 0 0; font-size: .9rem; color: var(--ink-soft); font-style: italic; text-align: right; }
.plan-tone.done { color: var(--lv); font-weight: 600; font-style: normal; }

/* 应急 */
.contacts { display: grid; grid-template-columns: repeat(auto-fill, minmax(9.5rem, 1fr)); gap: 1rem; margin: 0 0 1.6rem; }
.contact {
  display: block; text-align: center; border: 1px solid var(--line); border-radius: 14px;
  background: var(--paper-2); padding: 1rem .8rem;
  transition: transform .2s cubic-bezier(.2,.7,.3,1), border-color .2s ease, box-shadow .2s ease;
}
.contact:hover { transform: translateY(-3px); border-color: var(--accent); text-decoration: none; box-shadow: 0 12px 28px -14px rgba(var(--shadow), .4); }
.contact .num { display: block; font-family: var(--serif); font-size: 1.6rem; font-weight: 700; color: var(--accent); font-variant-numeric: tabular-nums; }
.contact .lb { display: block; font-size: .8rem; color: var(--ink-soft); margin-top: .15rem; }
.ty-toast {
  position: fixed; left: 50%; bottom: 9%; z-index: 99;
  transform: translateX(-50%) translateY(8px);
  max-width: 86vw; padding: .6rem 1rem; border-radius: 10px;
  background: var(--ink); color: var(--paper);
  font-family: var(--sans); font-size: .82rem; line-height: 1.5; text-align: center;
  opacity: 0; pointer-events: none;
  transition: opacity .25s ease, transform .25s ease;
}
.ty-toast.show { opacity: .96; transform: translateX(-50%) translateY(0); }
.sources { display: flex; flex-wrap: wrap; gap: .6rem; }
.source-link {
  font-size: .88rem; color: var(--ink-soft); border: 1px solid var(--line); border-radius: 999px;
  padding: .35rem 1rem; transition: border-color .15s ease, color .15s ease;
}
.source-link:hover { border-color: var(--accent); color: var(--accent); text-decoration: none; }
.source-link::after { content: " ↗"; opacity: .6; font-size: .8em; }

/* 页脚 */
.site-footer { border-top: 1px solid var(--line); color: var(--ink-soft); font-size: .85rem; padding: 3rem 1.5rem 3.4rem; text-align: center; margin-top: 2.5rem; }
.footer-brand { margin: 0 0 .5rem; font-family: var(--serif); font-size: 1.08rem; font-weight: 700; color: var(--ink); letter-spacing: .06em; }
.footer-brand span { display: block; font-family: var(--sans); font-weight: 400; font-size: .62rem; letter-spacing: .34em; text-transform: uppercase; color: var(--ink-soft); margin-top: .2rem; }
.footer-line { margin: 0 0 1.2rem; }
.footer-meta { margin: 0; font-size: .76rem; opacity: .85; }

/* 哔哩哔哩 Toy / 手机端：降低纵向占用，优先让关键信息一屏多见 */
@media (max-width: 600px) {
  body { line-height: 1.55; }

  /* Toy 自带顶栏，站内顶栏无需再次吸顶 */
  .site-header { position: static; backdrop-filter: none; }
  .site-header .bar { padding: .65rem 1rem; gap: .65rem; }
  .brand { font-size: 1.08rem; }
  .brand small { margin-top: .06rem; font-size: .56rem; letter-spacing: .27em; }
  .header-actions { gap: .55rem; }
  .demo-badge { padding: .12em .6em; font-size: .66rem; letter-spacing: .08em; }
  .theme-toggle { width: 1.9rem; height: 1.9rem; }
  .theme-toggle svg { width: .92rem; height: .92rem; }

  .notice-bar { padding: .38rem .9rem; font-size: .72rem; line-height: 1.55; }

  .hero { padding: 2rem 1rem 1.45rem; }
  .hero-kicker { margin-bottom: .05rem; font-size: .66rem; letter-spacing: .3em; text-indent: .3em; }
  .hero h1 { font-size: 2.45rem; margin: .04em 0; }
  .hero-level { margin-top: .2rem; gap: .38rem; font-size: .9rem; }
  .eye-dot { width: .48rem; height: .48rem; }
  .hero-sub { margin-top: .65rem; font-size: .88rem; line-height: 1.7; }
  .hero .meta { margin-top: .65rem; }
  .meta { font-size: .72rem; line-height: 1.55; }
  .ty-switch { gap: .35rem; margin-top: .7rem; }
  .ty-chip { padding: .24rem .7rem; font-size: .74rem; }

  .section { padding: 1.35rem 1rem .8rem; }
  .sec-head { margin-bottom: .85rem; }
  .sec-kicker { gap: .55rem; margin-bottom: .35rem; font-size: .62rem; letter-spacing: .24em; }
  .sec-head h2 { margin-bottom: .25rem; font-size: 1.3rem; }
  .sec-desc { font-size: .8rem; line-height: 1.6; }

  /* 六项实况由单列改为双列，纵向长度约减半 */
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; }
  .stat { min-width: 0; border-radius: 11px; padding: .7rem .75rem; }
  .stat .k { margin-bottom: .2rem; font-size: .64rem; letter-spacing: .08em; }
  .stat .v { font-size: 1.32rem; }
  .stat .v small { font-size: .62rem; margin-left: .18em; }
  .stat .sub { margin-top: .12rem; font-size: .66rem; line-height: 1.35; }
  .stat .compass { width: 1.15rem; height: 1.15rem; margin-left: .25rem; }

  .map-wrap { border-radius: 12px; }
  .map-legend { left: .55rem; right: .55rem; bottom: .45rem; gap: .48rem; flex-wrap: nowrap; font-size: .62rem; }
  .map-note { display: none; }
  .map-tooltip { padding: .4rem .6rem; font-size: .7rem; }

  .plan-first { margin-bottom: .8rem; padding: .55rem .7rem; font-size: .8rem; }
  .level-tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .32rem; }
  .level-tab { justify-content: center; gap: .3rem; padding: .38rem .2rem; font-size: .72rem; }
  .level-tab::before { width: .45rem; height: .45rem; }
  .level-hint { margin-bottom: .8rem; font-size: .68rem; }
  .plan-panel { border-radius: 11px; padding: .9rem .85rem .8rem; }
  .plan-head h3 { font-size: 1.08rem; }
  .plan-signal { margin-bottom: .65rem; font-size: .72rem; line-height: 1.5; }
  .plan-progress { margin-bottom: .6rem; }
  .checklist { gap: .15rem; }
  .checklist label { gap: .55rem; padding: .42rem .05rem; font-size: .82rem; line-height: 1.5; }
  .checklist input { width: 1rem; height: 1rem; margin-top: .18em; }
  .checklist .from-lower { font-size: .62rem; }
  .plan-tone { margin-top: .7rem; font-size: .76rem; }

  .contacts { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .55rem; margin-bottom: 1rem; }
  .contact { border-radius: 11px; padding: .65rem .25rem; }
  .contact .num { font-size: 1.22rem; }
  .contact .lb { font-size: .66rem; }
  .sources { gap: .4rem; }
  .source-link { padding: .28rem .7rem; font-size: .72rem; }

  .site-footer { margin-top: 1.1rem; padding: 1.7rem 1rem 1.9rem; font-size: .74rem; }
  .footer-line { margin-bottom: .75rem; }
  .footer-meta { font-size: .66rem; }
}

/* 极窄屏避免双列数据发生溢出 */
@media (max-width: 340px) {
  .stats { gap: .45rem; }
  .stat { padding: .6rem; }
  .stat .v { font-size: 1.18rem; }
  .stat .sub { font-size: .62rem; }
  .contacts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
