:root {
  --bg: var(--gm-bg);
  --bg2: #0a1018;
  --panel: var(--gm-surface);
  --panel2: var(--gm-surface-raised);
  --panel3: #172231;
  --line: var(--gm-border);
  --line2: var(--gm-border-strong);
  --text: var(--gm-text);
  --muted: var(--gm-text-muted);
  --dim: #5f7086;
  --amber: var(--gm-gold);
  --amber2: var(--gm-gold-deep);
  --blue: var(--gm-blue);
  --teal: var(--gm-teal);
  --red: var(--gm-red);
  --purple: var(--gm-violet);
  --orange: #f08c5a;
  --accent: #f2b544;
  --accent-2: #d99423;
  --accent-soft: rgba(242, 181, 68, .14);
  --accent-line: rgba(242, 181, 68, .38);
  --mono: var(--gm-mono);
  --sans: var(--gm-sans);
}

/* ── 地区主题色 ─────────────────────────────────────────────── */
body[data-region="us"] { --accent: #f2b544; --accent-2: #d99423; --accent-soft: rgba(242,181,68,.14); --accent-line: rgba(242,181,68,.38); }
body[data-region="china"] { --accent: #e0554d; --accent-2: #a92f2b; --accent-soft: rgba(224,85,77,.14); --accent-line: rgba(224,85,77,.38); }
body[data-region="eu"] { --accent: #5aa9ff; --accent-2: #2f6fbf; --accent-soft: rgba(90,169,255,.14); --accent-line: rgba(90,169,255,.38); }
body[data-region="uk"] { --accent: #2dd4a7; --accent-2: #128a6c; --accent-soft: rgba(45,212,167,.13); --accent-line: rgba(45,212,167,.34); }
body[data-region="japan"] { --accent: #a78bfa; --accent-2: #6d4fd0; --accent-soft: rgba(167,139,250,.14); --accent-line: rgba(167,139,250,.38); }
body[data-region="overview"] { --accent: #f2b544; --accent-2: #d99423; --accent-soft: rgba(242,181,68,.14); --accent-line: rgba(242,181,68,.38); }
body[data-region="timeline"] { --accent: #f2b544; --accent-2: #d99423; --accent-soft: rgba(242,181,68,.14); --accent-line: rgba(242,181,68,.38); }

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(1200px 640px at 12% -12%, rgba(242, 181, 68, .065), transparent 62%),
    radial-gradient(1000px 560px at 102% -4%, rgba(90, 169, 255, .055), transparent 58%),
    var(--bg);
  font: 13px/1.5 var(--sans);
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

a { color: inherit; }
button { font: inherit; color: inherit; }
::selection { background: rgba(242, 181, 68, .28); }

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: #1e2b3c; border-radius: 8px; border: 2px solid var(--bg); }
::-webkit-scrollbar-thumb:hover { background: #2b3d53; }

.page {
  max-width: 1480px;
  margin: 0 auto;
  padding: 0 28px 70px;
}

.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.muted { color: var(--muted); }
.dim { color: var(--dim); }
.pos { color: var(--teal) !important; }
.neg { color: var(--red) !important; }
.warn { color: var(--amber) !important; }

/* ── 顶栏 ─────────────────────────────────────────────────────── */
.topbar {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(7, 10, 15, .82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.topbar-inner {
  max-width: 1480px;
  margin: 0 auto;
  padding: 11px 28px;
  display: flex;
  align-items: center;
  gap: 26px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  flex-shrink: 0;
}
.brand-mark {
  width: 37px;
  height: 37px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, #f8c865, var(--accent-2));
  background: linear-gradient(145deg, color-mix(in srgb, var(--accent) 62%, #fff), var(--accent-2));
  color: #1b1205;
  font: 800 11px/1 var(--mono);
  letter-spacing: -.06em;
  box-shadow: 0 4px 18px var(--accent-soft);
}
.brand-t { font-size: 13.5px; font-weight: 650; letter-spacing: .01em; }
.brand-s { font-size: 10px; color: var(--dim); font-family: var(--mono); letter-spacing: .08em; margin-top: 1px; }
.topnav { display: flex; align-items: center; gap: 2px; }
.topnav a {
  text-decoration: none;
  color: var(--muted);
  font-size: 12px;
  padding: 7px 10px;
  border-radius: 7px;
  white-space: nowrap;
}
.topnav a:hover, .topnav a.active { color: var(--text); background: rgba(255,255,255,.045); }
.topbar-meta {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--dim);
  font-size: 10.5px;
  white-space: nowrap;
}
.live-dot {
  display: inline-block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 4px rgba(45, 212, 167, .1);
  margin-right: 6px;
}

/* ── 按钮 ─────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 8px 12px;
  border: 1px solid var(--line2);
  border-radius: 8px;
  background: var(--panel2);
  color: var(--text);
  text-decoration: none;
  font-size: 12px;
  cursor: pointer;
  transition: border-color .15s, color .15s, background .15s;
  white-space: nowrap;
}
.btn:hover { border-color: var(--accent); color: var(--accent); }
.btn.primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #140f06;
  font-weight: 650;
}
.btn.primary:hover { background: color-mix(in srgb, var(--accent) 82%, #fff); color: #140f06; }
.btn.ghost { background: transparent; }
.btn.sm { padding: 5px 9px; font-size: 11px; border-radius: 7px; }

/* ── Hero ─────────────────────────────────────────────────────── */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 318px;
  gap: 38px;
  align-items: start;
  padding: 28px 0 18px;
}
.hero-kicker {
  font: 600 10px/1 var(--mono);
  color: var(--accent);
  letter-spacing: .2em;
  margin-bottom: 13px;
  display: flex;
  align-items: center;
  gap: 9px;
}
.hero-kicker::before {
  content: "";
  width: 24px;
  height: 1px;
  background: var(--accent);
  opacity: .7;
}
.hero h1 {
  margin: 0;
  font-size: clamp(30px, 4.1vw, 52px);
  line-height: 1.08;
  letter-spacing: -.035em;
  font-weight: 650;
}
.hero h1 em {
  font-style: normal;
  color: var(--accent);
}
.hero-lead {
  max-width: 760px;
  margin: 15px 0 0;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.75;
}
.hero-lead b { color: var(--text); font-weight: 550; }
.hero-side {
  border-left: 1px solid var(--line);
  padding-left: 22px;
  padding-bottom: 2px;
}
.hero-side .hs-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 6px 0;
  font-size: 11px;
  color: var(--dim);
  border-bottom: 1px dashed rgba(42, 58, 79, .55);
}
.hero-side .hs-row:last-of-type { border-bottom: 0; }
.hero-side .hs-row b {
  color: var(--muted);
  font-family: var(--mono);
  font-weight: 500;
  text-align: right;
}
.hero-side .hs-link { color: var(--amber); text-decoration: none; }
.hero-side .hs-link:hover { text-decoration: underline; }
.hero-actions { display: flex; gap: 8px; margin-top: 14px; flex-wrap: wrap; }

/* ── 信号条 ───────────────────────────────────────────────────── */
.regime-strip {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 9px;
  margin: 2px 0 18px;
}
.regime {
  --tone: var(--blue);
  position: relative;
  overflow: hidden;
  padding: 12px 13px 12px 15px;
  background: linear-gradient(180deg, rgba(16, 24, 36, .9), rgba(11, 17, 26, .94));
  border: 1px solid var(--line);
  border-radius: 11px;
}
.regime::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 2.5px;
  background: var(--tone);
  opacity: .9;
}
.regime .r-label {
  color: var(--dim);
  font-size: 9.5px;
  letter-spacing: .13em;
  font-family: var(--mono);
  text-transform: uppercase;
}
.regime .r-status {
  margin: 6px 0 4px;
  font-size: 15px;
  font-weight: 620;
  color: var(--tone);
  line-height: 1.2;
}
.regime .r-detail {
  color: var(--dim);
  font-size: 10.5px;
  line-height: 1.45;
}
.regime.tone-good { --tone: var(--teal); }
.regime.tone-warn { --tone: var(--amber); }
.regime.tone-bad { --tone: var(--red); }
.regime.tone-neutral { --tone: var(--blue); }

/* ── KPI ──────────────────────────────────────────────────────── */
.kpi-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 9px;
  margin: 15px 0 16px;
}
.kpi {
  position: relative;
  overflow: hidden;
  padding: 13px 13px 10px;
  background:
    linear-gradient(180deg, rgba(20, 30, 44, .72), rgba(11, 17, 26, .88));
  border: 1px solid var(--line);
  border-radius: 11px;
  min-width: 0;
  transition: border-color .15s, transform .15s;
}
.kpi:hover { border-color: #334760; transform: translateY(-1px); }
.kpi::after {
  content: "";
  position: absolute;
  top: 0; left: 13px; right: 13px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(242,181,68,.35), transparent);
  opacity: 0;
  transition: opacity .15s;
}
.kpi:hover::after { opacity: 1; }
.kpi .k-label {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 10.5px;
  letter-spacing: .03em;
}
.kpi .k-value {
  margin: 7px 0 2px;
  font: 600 21px/1.15 var(--mono);
  letter-spacing: -.035em;
  white-space: nowrap;
}
.kpi .k-value small { font-size: 12px; color: var(--muted); font-weight: 400; letter-spacing: 0; }
.kpi .k-sub {
  min-height: 28px;
  color: var(--dim);
  font-size: 10.5px;
  line-height: 1.4;
}
.kpi .k-sub b { color: var(--muted); font-weight: 550; }
.kpi .k-spark { height: 36px; margin: 4px -2px 0; }

/* 卡片右上角指标说明 */
.card-info {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 3;
  width: 15px;
  height: 15px;
  padding: 0;
  border: 1px solid #35485f;
  border-radius: 50%;
  background: rgba(255, 255, 255, .025);
  color: #7f93aa;
  font: 700 9px/1 var(--mono);
  display: grid;
  place-items: center;
  cursor: help;
  opacity: .55;
  transition: color .15s, border-color .15s, opacity .15s, box-shadow .15s;
}
.card-info::after {
  content: "";
  position: absolute;
  inset: -5px;
  border-radius: 50%;
}
.card-info:hover, .card-info:focus-visible {
  color: var(--accent);
  border-color: var(--accent);
  opacity: 1;
  outline: none;
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.kpi:hover .card-info, .regime:hover .card-info { opacity: .95; }
.kpi .k-label, .regime .r-label { padding-right: 19px; }
.info-tip {
  position: fixed;
  z-index: 1000;
  width: 300px;
  max-width: calc(100vw - 24px);
  padding: 13px 14px 12px;
  border: 1px solid #33475f;
  border-radius: 10px;
  background: linear-gradient(180deg, #101825, #0a1018);
  box-shadow: 0 18px 45px rgba(0, 0, 0, .58);
  opacity: 0;
  visibility: hidden;
  transform: translateY(3px);
  transition: opacity .12s, transform .12s, visibility .12s;
  pointer-events: none;
}
.info-tip.show { opacity: 1; visibility: visible; transform: translateY(0); }
.info-kicker {
  color: var(--dim);
  font: 9.5px var(--mono);
  letter-spacing: .12em;
}
.info-title {
  margin: 5px 0 9px;
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -.01em;
}
.info-section { margin-top: 9px; }
.info-label {
  margin-bottom: 3px;
  color: var(--accent);
  font: 9px var(--mono);
  letter-spacing: .1em;
}
.info-section p {
  margin: 0;
  color: var(--muted);
  font-size: 10.5px;
  line-height: 1.62;
}
.info-formula {
  padding: 6px 8px;
  border-left: 2px solid var(--accent-line);
  border-radius: 0 4px 4px 0;
  background: rgba(255, 255, 255, .025);
  color: #c8d5e4 !important;
  font: 10px/1.7 var(--mono) !important;
  white-space: pre-line;
}
.info-note {
  margin-top: 10px;
  padding-top: 8px;
  border-top: 1px solid var(--line);
  color: var(--dim);
  font-size: 9.5px;
  line-height: 1.6;
}
@media (max-width: 520px) {
  .card-info { top: 7px; right: 7px; opacity: .72; }
}

/* ── 叙事 ─────────────────────────────────────────────────────── */
.insights {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  gap: 22px;
  padding: 17px 20px;
  margin-bottom: 16px;
  background:
    linear-gradient(120deg, rgba(242,181,68,.055), transparent 38%),
    linear-gradient(180deg, rgba(16,24,36,.86), rgba(11,17,26,.9));
  border: 1px solid var(--line);
  border-radius: 13px;
}
.insights h3 {
  margin: 0 0 7px;
  font-size: 13.5px;
  letter-spacing: .01em;
}
.insights .ins-sub { color: var(--dim); font-size: 10.5px; line-height: 1.55; }
.insight-list { display: grid; gap: 8px; }
.insight {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 12px;
  line-height: 1.55;
  color: var(--muted);
}
.insight .n {
  flex: 0 0 auto;
  width: 19px; height: 19px;
  border: 1px solid var(--accent-line);
  border-radius: 6px;
  color: var(--accent);
  font: 600 9.5px/17px var(--mono);
  text-align: center;
  margin-top: 1px;
}
.insight b { color: var(--text); font-weight: 580; }

/* ── 区间工具条 ───────────────────────────────────────────────── */
.rangebar {
  position: sticky;
  top: 60px;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 0;
  margin-bottom: 6px;
  background: rgba(7, 10, 15, .86);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(29, 42, 58, .8);
}
.range-label {
  color: var(--dim);
  font: 9.5px/1 var(--mono);
  letter-spacing: .13em;
  white-space: nowrap;
}
.range-group { display: flex; gap: 3px; padding: 3px; background: var(--panel); border: 1px solid var(--line); border-radius: 8px; }
.range-btn {
  border: 0;
  background: transparent;
  color: var(--muted);
  padding: 4px 10px;
  border-radius: 6px;
  font: 11px/1 var(--mono);
  cursor: pointer;
}
.range-btn:hover { color: var(--text); }
.range-btn.active { background: var(--accent-soft); color: var(--accent); }
.rangebar .range-hint { margin-left: auto; color: var(--dim); font-size: 10px; }

/* ── 章节 / 面板 ──────────────────────────────────────────────── */
.section { margin-top: 31px; scroll-margin-top: 124px; }
.section-head {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 13px;
}
.sec-no {
  flex: 0 0 auto;
  width: 33px; height: 33px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line2);
  border-radius: 9px;
  color: var(--accent);
  background: var(--accent-soft);
  font: 600 10px/1 var(--mono);
}
.section-head h2 { margin: 0; font-size: 19px; letter-spacing: -.015em; font-weight: 620; }
.section-head .sec-sub { margin: 2px 0 0; color: var(--muted); font-size: 11px; }
.section-head .asof {
  margin-left: auto;
  color: var(--dim);
  font: 10px/1.5 var(--mono);
  text-align: right;
  white-space: nowrap;
}
.grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 12px;
}
.grid + .grid { margin-top: 12px; }
.span-3 { grid-column: span 3; }
.span-4 { grid-column: span 4; }
.span-5 { grid-column: span 5; }
.span-6 { grid-column: span 6; }
.span-7 { grid-column: span 7; }
.span-8 { grid-column: span 8; }
.span-9 { grid-column: span 9; }
.span-12 { grid-column: span 12; }

.panel {
  min-width: 0;
  padding: 14px 15px 12px;
  background: linear-gradient(180deg, rgba(16, 24, 36, .9), rgba(10, 16, 24, .95));
  border: 1px solid var(--line);
  border-radius: 13px;
  box-shadow: 0 14px 34px rgba(0, 0, 0, .14);
}
.panel-h {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 8px;
}
.panel-h h3 { margin: 0; font-size: 13px; font-weight: 600; letter-spacing: .005em; }
.panel-h .unit {
  margin-left: auto;
  color: var(--dim);
  font: 9.5px/1 var(--mono);
  letter-spacing: .05em;
  white-space: nowrap;
}
.panel-note {
  margin-top: 8px;
  color: var(--dim);
  font-size: 10px;
  line-height: 1.55;
}
.panel-note b { color: var(--muted); font-weight: 500; }
.panel-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 2px 6px;
  border-radius: 5px;
  background: rgba(90,169,255,.08);
  border: 1px solid rgba(90,169,255,.16);
  color: #8fc3ff;
  font-size: 9.5px;
  margin-left: 6px;
}

/* 事实列表 */
.facts { display: flex; flex-direction: column; }
.fact {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 9.5px 0;
  border-bottom: 1px dashed rgba(42, 58, 79, .62);
}
.fact:last-child { border-bottom: 0; padding-bottom: 2px; }
.fact .f-label { color: var(--muted); font-size: 11px; flex: 1; }
.fact .f-value {
  color: var(--text);
  font: 550 12px/1.4 var(--mono);
  text-align: right;
  white-space: nowrap;
}
.fact .f-value small { display: block; color: var(--dim); font: 400 9.5px/1.4 var(--mono); margin-top: 2px; }
.fact .f-value.pos, .fact .f-value.neg { font-weight: 600; }
.facts .fact-note {
  margin-top: 9px;
  padding-top: 9px;
  border-top: 1px solid var(--line);
  color: var(--dim);
  font-size: 10px;
  line-height: 1.5;
}

/* 状态 pill */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 2.5px 7px;
  border-radius: 999px;
  border: 1px solid var(--line2);
  color: var(--muted);
  font-size: 9.5px;
  line-height: 1.3;
  white-space: nowrap;
}
.pill.good { color: #86e9c9; border-color: rgba(45,212,167,.28); background: rgba(45,212,167,.07); }
.pill.warn { color: #f6c96c; border-color: rgba(242,181,68,.3); background: rgba(242,181,68,.07); }
.pill.bad { color: #ff9baa; border-color: rgba(255,107,129,.3); background: rgba(255,107,129,.07); }
.pill.blue { color: #9fcbff; border-color: rgba(90,169,255,.28); background: rgba(90,169,255,.07); }

/* ── 图表内部 ─────────────────────────────────────────────────── */
.chart { width: 100%; min-width: 0; }
.chart-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 5px 13px;
  align-items: center;
  margin: 1px 0 5px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.4;
}
.legend-item { display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; }
.legend-item i {
  width: 13px; height: 2.5px;
  border-radius: 2px;
  background: var(--blue);
  display: inline-block;
}
.legend-item i.dash {
  background: repeating-linear-gradient(90deg, currentColor 0 4px, transparent 4px 7px);
}
.legend-item i.band {
  height: 8px;
  width: 12px;
  background: transparent;
  border: 1px dashed var(--amber);
  border-radius: 2px;
}
.chart-canvas { position: relative; width: 100%; }
.chart-canvas svg { display: block; overflow: visible; }
.chart-tip {
  position: absolute;
  z-index: 20;
  min-width: 158px;
  max-width: 260px;
  padding: 8px 9px;
  border: 1px solid #31445b;
  border-radius: 8px;
  background: rgba(10, 16, 24, .97);
  box-shadow: 0 12px 28px rgba(0, 0, 0, .45);
  pointer-events: none;
  font-size: 10.5px;
}
.tip-date {
  color: var(--dim);
  font: 10px/1.3 var(--mono);
  padding-bottom: 5px;
  margin-bottom: 4px;
  border-bottom: 1px solid var(--line);
}
.tip-row { display: flex; align-items: center; gap: 6px; padding: 2px 0; color: var(--muted); }
.tip-row i { width: 6px; height: 6px; border-radius: 50%; flex: 0 0 auto; }
.tip-row b { margin-left: auto; color: var(--text); font: 550 10.5px/1.3 var(--mono); }
.axis-label {
  fill: #65768c;
  font: 9.5px var(--mono);
  letter-spacing: .01em;
}
.axis-right { fill: #6f8095; }
.guide-label { fill: #65768c; font: 9px var(--mono); letter-spacing: .02em; }
.chart-empty {
  display: grid;
  place-items: center;
  min-height: 120px;
  color: var(--dim);
  font-size: 11px;
}
.hbar-label { fill: var(--muted); font: 10px var(--sans); }
.hbar-value { fill: var(--text); font: 10px var(--mono); }
.mini-canvas svg { overflow: visible; }

/* ── 表格 ─────────────────────────────────────────────────────── */
.table-scroll { width: 100%; overflow-x: auto; }
.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 11px;
}
.data-table th {
  color: var(--dim);
  font: 500 9.5px/1.3 var(--mono);
  letter-spacing: .04em;
  text-align: right;
  padding: 7px 7px;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
.data-table th:first-child, .data-table td:first-child { text-align: left; }
.data-table td {
  padding: 7px 7px;
  border-bottom: 1px dashed rgba(42, 58, 79, .5);
  text-align: right;
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.data-table tbody tr:hover { background: rgba(255,255,255,.022); }
.data-table tbody tr:last-child td { border-bottom: 0; }
.data-table .country-cell { display: flex; align-items: center; gap: 7px; font-family: var(--sans); }
.data-table .rank {
  width: 17px;
  color: var(--dim);
  font: 9.5px/1 var(--mono);
  text-align: right;
}
.data-table .spark { width: 92px; height: 22px; display: inline-block; vertical-align: middle; }
.data-table .num-strong { color: var(--text); font-weight: 550; }
.data-table .tiny { color: var(--dim); font-size: 9.5px; }
.data-table .group-row td {
  text-align: left;
  padding: 15px 7px 5px;
  color: var(--dim);
  font: 600 9px/1.2 var(--mono);
  letter-spacing: .12em;
  border-bottom: 1px solid var(--line);
  background: transparent;
}
.data-table .group-row:first-child td { padding-top: 5px; }
.data-table .spark .chart-canvas { height: 22px; }
.data-table .spark svg { overflow: hidden; }

/* ── 迷你卡片 ─────────────────────────────────────────────────── */
.mini-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}
.mini-card {
  padding: 11px 12px 8px;
  background: linear-gradient(180deg, rgba(17, 26, 39, .82), rgba(10, 16, 24, .9));
  border: 1px solid var(--line);
  border-radius: 10px;
  min-width: 0;
  transition: border-color .15s;
}
.mini-card:hover { border-color: #31455e; }
.mini-card .mc-top { display: flex; align-items: baseline; gap: 8px; }
.mini-card .mc-label { color: var(--muted); font-size: 10.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mini-card .mc-value { margin-left: auto; font: 600 13px/1 var(--mono); white-space: nowrap; }
.mini-card .mc-sub {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  color: var(--dim);
  font-size: 9.5px;
  margin-top: 4px;
  font-family: var(--mono);
}
.mini-card .mc-spark { height: 42px; margin: 5px -2px 0; }

/* ── 全部指标 ─────────────────────────────────────────────────── */
.all-indicators {
  margin-top: 17px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(12, 18, 27, .65);
  overflow: hidden;
}
.all-indicators summary {
  padding: 13px 16px;
  cursor: pointer;
  color: var(--muted);
  font-size: 12px;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 9px;
}
.all-indicators summary::-webkit-details-marker { display: none; }
.all-indicators summary::before {
  content: "+";
  color: var(--accent);
  font-family: var(--mono);
  font-size: 14px;
  width: 14px;
}
.all-indicators[open] summary::before { content: "−"; }
.all-indicators summary:hover { color: var(--text); }
.all-indicators .inner { padding: 0 16px 14px; }

/* ── 页脚 ─────────────────────────────────────────────────────── */
.footer {
  margin-top: 42px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--dim);
  font-size: 10.5px;
  line-height: 1.7;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr;
  gap: 28px;
}
.footer h4 { margin: 0 0 7px; color: var(--muted); font-size: 10.5px; letter-spacing: .08em; font-weight: 600; }
.footer a { color: #8fa5bd; text-decoration: none; border-bottom: 1px dotted #35475d; }
.footer a:hover { color: var(--accent); }
.footer .foot-bottom { margin-top: 16px; padding-top: 11px; border-top: 1px dashed rgba(42,58,79,.55); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* ── 关系图谱页 ───────────────────────────────────────────────── */
.graph-hero {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  padding: 34px 0 19px;
}
.graph-hero h1 { margin: 0; font-size: clamp(27px, 3.4vw, 40px); letter-spacing: -.03em; font-weight: 640; }
.graph-hero h1 em { font-style: normal; color: var(--amber); }
.graph-hero p { max-width: 760px; margin: 10px 0 0; color: var(--muted); font-size: 12.5px; line-height: 1.7; }
.graph-hero .gh-meta { text-align: right; color: var(--dim); font: 10px/1.6 var(--mono); white-space: nowrap; }
.scenario-row { display: flex; flex-wrap: wrap; gap: 6px; padding: 12px 0 2px; }
.scenario-chip {
  border: 1px solid var(--line2);
  background: var(--panel);
  color: var(--muted);
  border-radius: 999px;
  padding: 6px 11px;
  font-size: 11px;
  cursor: pointer;
  transition: all .15s;
}
.scenario-chip:hover { color: var(--text); border-color: #405779; }
.scenario-chip.active {
  color: #140f06;
  background: var(--accent);
  border-color: var(--accent);
  font-weight: 600;
}
.graph-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 350px;
  gap: 13px;
  margin-top: 11px;
  align-items: start;
}
.graph-panel {
  position: relative;
  padding: 8px 8px 5px;
  background:
    radial-gradient(800px 400px at 20% 10%, rgba(90,169,255,.045), transparent 60%),
    radial-gradient(600px 400px at 80% 90%, rgba(242,181,68,.04), transparent 60%),
    linear-gradient(180deg, rgba(13, 20, 30, .96), rgba(8, 13, 20, .98));
  border: 1px solid var(--line);
  border-radius: 13px;
  overflow: hidden;
}
.graph-tools {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 5px 7px 7px;
  color: var(--dim);
  font-size: 10px;
}
.graph-tools .gt-right { margin-left: auto; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.legend-mini { display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; }
.legend-mini i { width: 14px; height: 2px; display: inline-block; border-radius: 2px; }
.graph-scroll { overflow: auto; border-radius: 8px; }
.graph-svg { display: block; width: 100%; height: auto; min-width: 720px; user-select: none; }
.graph-svg text { font-family: var(--sans); }
.graph-svg .cluster-label {
  fill: #56677d;
  font: 600 9.5px var(--mono);
  letter-spacing: .12em;
  paint-order: stroke;
  stroke: #080d14;
  stroke-width: 3px;
}
.graph-svg .node-label {
  fill: #b9c6d6;
  font-size: 11.5px;
  font-weight: 500;
  pointer-events: none;
  paint-order: stroke;
  stroke: #070b11;
  stroke-width: 3px;
  stroke-linejoin: round;
}
.graph-svg .node-abbr {
  fill: #0a1018;
  font: 700 9.5px var(--mono);
  pointer-events: none;
  letter-spacing: -.03em;
}
.graph-svg .node-value {
  fill: #73859a;
  font: 9px var(--mono);
  pointer-events: none;
}
.graph-svg .node { cursor: pointer; }
.graph-svg .node .node-halo { transition: opacity .16s; }
.graph-svg .node:hover .node-halo { opacity: .18 !important; }
.graph-svg .node.dim { opacity: .18; }
.graph-svg .node.hot .node-halo { opacity: .17 !important; }
.graph-svg .edge { transition: opacity .16s; }
.graph-svg .edge.dim { opacity: .055; }
.graph-svg .edge.hot, .graph-svg .edge.hovered { opacity: .92; }
.graph-svg .edge-hit { cursor: pointer; }
.graph-svg .edge-label-bg { fill: rgba(9, 14, 21, .92); stroke: #2c3f56; stroke-width: .6; }
.graph-svg .edge-label-text { fill: #aebdd0; font: 9px var(--sans); }
.graph-side { position: sticky; top: 72px; align-self: start; scroll-margin-top: 72px; }
.graph-side .panel { max-height: calc(100vh - 92px); overflow-y: auto; }
.side-kicker { color: var(--dim); font: 9.5px var(--mono); letter-spacing: .12em; margin-bottom: 7px; }
.side-title { margin: 0 0 6px; font-size: 18px; letter-spacing: -.02em; }
.side-badge { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 10px; color: var(--muted); font-size: 10px; }
.side-badge i { width: 7px; height: 7px; border-radius: 50%; display: inline-block; }
.side-desc { color: var(--muted); font-size: 11.5px; line-height: 1.65; }
.side-metric {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin: 12px 0;
  padding: 10px 11px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: rgba(255,255,255,.018);
}
.side-metric > div { min-width: 0; }
.side-metric .sm-label { color: var(--dim); font-size: 10px; }
.side-metric .sm-value { color: var(--text); font: 600 15px var(--mono); white-space: nowrap; }
.side-metric .sm-sub { display: block; color: var(--dim); font: 9.5px var(--mono); text-align: right; margin-top: 2px; line-height: 1.4; }
.side-metric .sm-spark { width: 108px; height: 46px; flex: 0 0 108px; margin-top: 2px; }
.side-metric > div:first-child .sm-sub { text-align: left; }
.relation-list { margin-top: 12px; }
.relation-list h4 { margin: 0 0 7px; color: var(--dim); font: 9.5px var(--mono); letter-spacing: .08em; }
.relation-row {
  display: flex;
  gap: 7px;
  align-items: flex-start;
  padding: 5px 0;
  border-bottom: 1px dashed rgba(42,58,79,.42);
  font-size: 10.5px;
  line-height: 1.5;
  color: var(--muted);
}
.relation-row:last-child { border-bottom: 0; }
.relation-row .rel-sign {
  flex: 0 0 auto;
  width: 17px; height: 17px;
  border-radius: 5px;
  text-align: center;
  font: 700 10px/17px var(--mono);
}
.rel-sign.plus { color: #71e2c0; background: rgba(45,212,167,.1); }
.rel-sign.minus { color: #ff9baa; background: rgba(255,107,129,.1); }
.rel-sign.mixed { color: #f5c76b; background: rgba(242,181,68,.1); }
.relation-row b { color: #c6d2e0; font-weight: 500; }
.scenario-steps { list-style: none; margin: 12px 0 0; padding: 0; }
.scenario-steps li {
  position: relative;
  padding: 0 0 12px 17px;
  color: var(--muted);
  font-size: 10.5px;
  line-height: 1.55;
}
.scenario-steps li::before {
  content: "";
  position: absolute;
  left: 1px; top: 4px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 0 3px rgba(242,181,68,.09);
}
.scenario-steps li::after {
  content: "";
  position: absolute;
  left: 3.5px; top: 13px; bottom: 0;
  width: 1px;
  background: rgba(242,181,68,.16);
}
.scenario-steps li:last-child::after { display: none; }
.scenario-steps b { color: var(--text); font-weight: 550; }
.asset-chips { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 11px; }
.asset-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 7px;
  border-radius: 6px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.022);
  font-size: 10px;
  color: var(--muted);
}
.asset-chip b { font-family: var(--mono); font-size: 10px; }
.asset-chip.up b { color: var(--teal); }
.asset-chip.down b { color: var(--red); }
.asset-chip.mixed b { color: var(--amber); }
.side-note { margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--line); color: var(--dim); font-size: 9.5px; line-height: 1.55; }
.matrix-section { margin-top: 18px; }
.matrix-scroll { overflow: auto; border: 1px solid var(--line); border-radius: 11px; background: rgba(10,16,24,.7); }
.matrix-table { border-collapse: separate; border-spacing: 2px; padding: 8px; font-size: 9.5px; margin: 0 auto; }
.matrix-table th {
  color: var(--dim);
  font: 500 9px/1.25 var(--mono);
  padding: 4px;
  text-align: center;
  vertical-align: bottom;
  min-width: 42px;
}
.matrix-table th.row-head {
  text-align: right;
  color: var(--muted);
  font-family: var(--sans);
  white-space: nowrap;
  padding-right: 7px;
  position: sticky;
  left: 8px;
  background: var(--bg);
  z-index: 2;
}
.matrix-table td {
  width: 43px; height: 31px;
  text-align: center;
  border-radius: 5px;
  color: #3d4d61;
  font: 600 10px var(--mono);
}
.matrix-table td.cell-pos { background: rgba(45,212,167,.13); color: #77e5c4; }
.matrix-table td.cell-neg { background: rgba(255,107,129,.12); color: #ffa0ae; }
.matrix-table td.cell-mixed { background: rgba(242,181,68,.12); color: #f3c66c; }
.matrix-table td[data-edge] { cursor: pointer; }
.matrix-table td:hover { outline: 1px solid rgba(242,181,68,.5); }
.matrix-table td.selected { outline: 2px solid var(--amber); outline-offset: -1px; }
#matrixDetail { margin-top: 9px; }
.matrix-legend { display: flex; gap: 14px; flex-wrap: wrap; color: var(--dim); font-size: 9.5px; padding: 9px 10px; border-top: 1px solid var(--line); }
.matrix-legend span { display: inline-flex; align-items: center; gap: 5px; }
.matrix-legend i { width: 9px; height: 9px; border-radius: 3px; display: inline-block; }

/* ── 数据状态页 ───────────────────────────────────────────────── */
.status-hero h1 em { font-style: normal; color: var(--amber); }
.status-summary {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 9px;
  margin: 2px 0 12px;
}
.status-stat {
  padding: 12px 13px;
  background: linear-gradient(180deg, rgba(17, 26, 39, .78), rgba(10, 16, 24, .9));
  border: 1px solid var(--line);
  border-radius: 10px;
  min-width: 0;
}
.status-stat .ss-label {
  color: var(--dim);
  font: 9.5px var(--mono);
  letter-spacing: .08em;
}
.status-stat .ss-value {
  margin: 6px 0 3px;
  color: var(--text);
  font: 600 14px/1.25 var(--mono);
  letter-spacing: -.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.status-stat .ss-sub { color: var(--dim); font-size: 9.5px; line-height: 1.4; }
.status-banner {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  padding: 12px 14px;
  margin-bottom: 13px;
  border: 1px solid var(--line2);
  border-radius: 11px;
  background: var(--panel);
}
.status-banner.tone-good { border-color: rgba(45, 212, 167, .26); background: rgba(45, 212, 167, .055); }
.status-banner.tone-warn { border-color: rgba(242, 181, 68, .3); background: rgba(242, 181, 68, .055); }
.status-banner.tone-bad { border-color: rgba(255, 107, 129, .3); background: rgba(255, 107, 129, .055); }
.status-banner-icon {
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line2);
  color: var(--muted);
  font: 700 12px/1 var(--mono);
}
.tone-good .status-banner-icon { color: var(--teal); border-color: rgba(45, 212, 167, .35); }
.tone-warn .status-banner-icon { color: var(--amber); border-color: rgba(242, 181, 68, .4); }
.tone-bad .status-banner-icon { color: var(--red); border-color: rgba(255, 107, 129, .4); }
.status-banner-title { color: var(--text); font-size: 12px; font-weight: 600; }
.status-banner-text { color: var(--muted); font-size: 10.5px; line-height: 1.55; margin-top: 2px; }
.status-panel { padding-bottom: 14px; }
.status-toolbar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  padding: 7px 0 11px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 4px;
}
.status-input, .status-select {
  height: 29px;
  padding: 0 9px;
  border: 1px solid var(--line2);
  border-radius: 7px;
  background: var(--panel2);
  color: var(--text);
  font: 11px var(--sans);
  outline: none;
}
.status-input { width: 255px; }
.status-input:focus, .status-select:focus { border-color: var(--amber); }
.status-input::placeholder { color: var(--dim); }
.status-select { padding-right: 24px; }
.status-check {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--muted);
  font-size: 10.5px;
  cursor: pointer;
  user-select: none;
}
.status-check input { accent-color: var(--amber); }
.status-count { margin-left: auto; color: var(--dim); font: 10px var(--mono); white-space: nowrap; }
.status-table { min-width: 850px; }
.status-table td { vertical-align: middle; }
.status-name-cell { text-align: left !important; font-family: var(--sans) !important; white-space: normal !important; }
.status-name-cell .sn-label { color: var(--text); font-size: 11px; line-height: 1.35; }
.status-name-cell .sn-id { color: var(--dim); font: 9px var(--mono); margin-top: 2px; }
.src-badge, .fresh-badge, .freq-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 2px 6px;
  border-radius: 5px;
  border: 1px solid var(--line2);
  font: 9.5px var(--mono);
  white-space: nowrap;
}
.src-fred { color: #9fcbff; border-color: rgba(90, 169, 255, .24); background: rgba(90, 169, 255, .055); }
.src-yahoo { color: #f5c76b; border-color: rgba(242, 181, 68, .25); background: rgba(242, 181, 68, .055); }
.src-calc { color: #c3a8ff; border-color: rgba(167, 139, 250, .24); background: rgba(167, 139, 250, .055); }
.src-tic { color: #7ee7c6; border-color: rgba(45, 212, 167, .24); background: rgba(45, 212, 167, .055); }
.src-other { color: var(--muted); }
.fresh-badge i { width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.fresh-badge.good { color: #86e9c9; border-color: rgba(45, 212, 167, .26); background: rgba(45, 212, 167, .055); }
.fresh-badge.warn { color: #f6c96c; border-color: rgba(242, 181, 68, .28); background: rgba(242, 181, 68, .055); }
.fresh-badge.bad { color: #ff9baa; border-color: rgba(255, 107, 129, .28); background: rgba(255, 107, 129, .055); }
.status-table tr.row-warn td { background: rgba(242, 181, 68, .022); }
.status-table tr.row-bad td { background: rgba(255, 107, 129, .025); }
.status-table tr.row-warn .sn-label, .status-table tr.row-bad .sn-label { color: var(--text); }
.status-empty { padding: 34px 12px; text-align: center; color: var(--dim); font-size: 11px; }
.build-ok, .build-warn { display: flex; align-items: flex-start; gap: 10px; color: var(--muted); font-size: 10.5px; line-height: 1.6; }
.build-warn { color: #ffbdc7; }
.build-check {
  flex: 0 0 auto;
  width: 22px; height: 22px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(45, 212, 167, .32);
  color: var(--teal);
  font: 700 11px/1 var(--mono);
}
.build-warn .build-check { border-color: rgba(255, 107, 129, .4); color: var(--red); }
.build-ok b, .build-warn b { color: var(--text); font-weight: 600; }
.build-ok p, .build-warn p { margin: 2px 0 0; }
.status-source-link { color: #9fcbff; text-decoration: none; border-bottom: 1px dotted rgba(159, 203, 255, .4); }
.status-source-link:hover { color: var(--amber); border-color: var(--amber); }
.update-panel { margin-top: 15px; }
.status-update-text { margin: 0 0 9px; color: var(--muted); font-size: 11px; line-height: 1.6; }
.status-code {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding: 7px 9px;
  margin-top: 6px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(255, 255, 255, .018);
  color: #c8d5e4;
  font-size: 10px;
}
.status-code .dim { font-size: 9.5px; }
.status-update-note { margin-top: 10px; color: var(--dim); font-size: 10px; line-height: 1.6; }
.tic-status-table { min-width: 760px; }
.tic-status-table .agg-row td {
  background: rgba(242, 181, 68, .035);
  border-bottom-color: var(--line2);
}
.tic-status-table .agg-row .country-cell { color: var(--amber); font-weight: 600; }

@media (max-width: 1220px) {
  .status-summary { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .status-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .status-toolbar { align-items: stretch; }
  .status-input { width: 100%; }
  .status-count { margin-left: 0; }
  .status-table { min-width: 780px; }
  .status-stat { padding: 10px 11px; }
  .status-stat .ss-value { font-size: 12.5px; }
}
@media (max-width: 520px) {
  .status-summary { grid-template-columns: 1fr 1fr; gap: 7px; }
  .status-stat .ss-label { font-size: 9px; }
  .status-stat .ss-value { font-size: 11.5px; }
  .status-stat .ss-sub { font-size: 9px; }
}

/* ── 响应式 ───────────────────────────────────────────────────── */
@media (max-width: 1220px) {
  .topnav { display: none; }
  .kpi-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .regime-strip { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .mini-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .graph-layout { grid-template-columns: minmax(0, 1fr) 320px; }
}
@media (max-width: 980px) {
  .page { padding: 0 20px 56px; }
  .topbar-inner { padding: 10px 20px; }
  .topbar-meta .hide-sm { display: none; }
  .hero { grid-template-columns: 1fr; gap: 20px; padding-top: 30px; }
  .hero-side { border-left: 0; border-top: 1px solid var(--line); padding: 14px 0 0; }
  .hero-side .hs-row { max-width: 420px; }
  .insights { grid-template-columns: 1fr; gap: 12px; }
  .span-3, .span-4, .span-5, .span-6, .span-7, .span-8, .span-9 { grid-column: span 12; }
  .graph-layout { grid-template-columns: 1fr; }
  .graph-side { position: static; }
  .graph-side .panel { max-height: none; }
  .graph-hero { align-items: flex-start; flex-direction: column; gap: 14px; }
  .graph-hero .gh-meta { text-align: left; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .regime-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kpi-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mini-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .topbar-meta .meta-updated { display: none; }
  .rangebar { top: 57px; }
  .rangebar .range-hint { display: none; }
  .section-head .asof { display: none; }
  .section-head h2 { font-size: 17px; }
  .panel { border-radius: 11px; padding: 12px 11px 10px; }
  .data-table { font-size: 10px; }
  .footer-grid { grid-template-columns: 1fr; gap: 16px; }
}
@media (max-width: 520px) {
  .page { padding: 0 12px 44px; }
  .topbar-inner { padding: 9px 12px; gap: 12px; }
  .brand-s { display: none; }
  .brand-mark { width: 32px; height: 32px; }
  .topbar-meta { gap: 8px; font-size: 9.5px; }
  .hero h1 { font-size: 31px; }
  .hero-lead { font-size: 12px; }
  .kpi { padding: 11px 10px 8px; }
  .kpi .k-value { font-size: 18px; }
  .insights { padding: 13px; }
  .mini-grid { grid-template-columns: 1fr 1fr; gap: 7px; }
  .mini-card { padding: 9px; }
  .mini-card .mc-label { font-size: 9.5px; }
  .mini-card .mc-value { font-size: 11px; }
  .scenario-chip { font-size: 10px; padding: 5px 9px; }
  .graph-svg { min-width: 680px; }
}


/* ── 数据提示条（欧洲版引入，通用）────────────────────────────── */
.data-alert {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0 0 14px;
  padding: 10px 13px;
  border: 1px solid var(--accent-line);
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--muted);
  font-size: 10.5px;
  line-height: 1.6;
}
.data-alert::before {
  content: "!";
  flex: 0 0 auto;
  width: 18px; height: 18px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--accent-line);
  color: var(--accent);
  font: 700 10px/1 var(--mono);
}
.data-alert b { color: var(--text); font-weight: 600; white-space: nowrap; }

/* ── 数据源徽章（合并全部地区）────────────────────────────────── */
.src-fred, .src-ons { color: #9fcbff; border-color: rgba(90, 169, 255, .24); background: rgba(90, 169, 255, .055); }
.src-yahoo, .src-mof, .src-boe { color: #f5c76b; border-color: rgba(242, 181, 68, .25); background: rgba(242, 181, 68, .055); }
.src-calc, .src-estat, .src-worldbank { color: #c3a8ff; border-color: rgba(167, 139, 250, .24); background: rgba(167, 139, 250, .055); }
.src-tic, .src-ust, .src-eurostat, .src-boj { color: #7ee7c6; border-color: rgba(45, 212, 167, .24); background: rgba(45, 212, 167, .055); }
.src-nbs, .src-ccdc { color: #ffad9e; border-color: rgba(224, 85, 77, .28); background: rgba(224, 85, 77, .06); }
.src-eastmoney, .src-ecb { color: #9fcbff; border-color: rgba(90, 169, 255, .24); background: rgba(90, 169, 255, .055); }
.src-jin10 { color: #f3a7c8; border-color: rgba(236, 118, 168, .24); background: rgba(236, 118, 168, .055); }
.src-imf { color: #ffb27d; border-color: rgba(240, 140, 90, .25); background: rgba(240, 140, 90, .055); }
.src-other { color: var(--muted); }

.status-subhead { margin: 18px 0 8px; color: var(--accent); font: 10.5px var(--mono); letter-spacing: .08em; text-transform: uppercase; }

/* 传导矩阵统一尺寸（中国标签更长，整体放宽） */
.matrix-table th { min-width: 58px; }
.matrix-table td { width: 58px; height: 34px; }

/* ── 全球总览 ─────────────────────────────────────────────────── */
.ov-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 38px;
  align-items: end;
  padding: 46px 0 26px;
}
.ov-kicker {
  display: flex; align-items: center; gap: 9px;
  color: var(--accent);
  font: 600 10px/1 var(--mono);
  letter-spacing: .2em;
  margin-bottom: 13px;
}
.ov-kicker::before { content: ""; width: 24px; height: 1px; background: var(--accent); opacity: .7; }
.ov-hero h1 { margin: 0; font-size: clamp(32px, 4.4vw, 56px); line-height: 1.05; letter-spacing: -.04em; font-weight: 650; }
.ov-hero h1 em { font-style: normal; color: var(--accent); }
.ov-lead { max-width: 780px; margin: 16px 0 0; color: var(--muted); font-size: 13.5px; line-height: 1.75; }
.ov-lead b { color: var(--text); font-weight: 550; }
.ov-side {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.ov-stat {
  padding: 12px 13px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: linear-gradient(180deg, rgba(17, 26, 39, .78), rgba(10, 16, 24, .9));
}
.ov-stat span { display: block; color: var(--dim); font: 9.5px var(--mono); letter-spacing: .08em; }
.ov-stat b { display: block; margin-top: 7px; font: 600 17px/1.1 var(--mono); letter-spacing: -.02em; }
.ov-stat small { display: block; margin-top: 4px; color: var(--dim); font-size: 9.5px; }

.ov-section-head { display: flex; align-items: baseline; gap: 12px; margin: 26px 0 12px; }
.ov-section-head h2 { margin: 0; font-size: 18px; letter-spacing: -.015em; font-weight: 620; }
.ov-section-head .ov-sub { color: var(--muted); font-size: 11px; }
.ov-section-head .ov-link { margin-left: auto; font-size: 11px; color: var(--accent); text-decoration: none; }
.ov-section-head .ov-link:hover { text-decoration: underline; }

.ov-cards { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.ov-card {
  --region: var(--accent);
  position: relative;
  overflow: hidden;
  padding: 14px 14px 11px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: linear-gradient(180deg, rgba(18, 27, 40, .9), rgba(10, 16, 24, .95));
  text-decoration: none;
  color: inherit;
  min-width: 0;
  transition: border-color .15s, transform .15s, box-shadow .15s;
}
.ov-card::before {
  content: "";
  position: absolute;
  left: 14px; right: 14px; top: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--region), transparent);
  opacity: .85;
}
.ov-card:hover { border-color: var(--region); transform: translateY(-2px); box-shadow: 0 16px 34px rgba(0,0,0,.24); }
.ov-card .oc-top { display: flex; align-items: center; gap: 8px; }
.ov-card .oc-flag { font: 700 10px/1 var(--mono); color: var(--region); letter-spacing: .1em; }
.ov-card .oc-name { font-size: 13px; font-weight: 620; }
.ov-card .oc-status {
  margin-left: auto;
  padding: 2px 6px;
  border-radius: 999px;
  border: 1px solid var(--line2);
  color: var(--muted);
  font-size: 9px;
  white-space: nowrap;
}
.ov-card .oc-sub { margin-top: 3px; color: var(--dim); font: 9.5px var(--mono); }
.ov-card .oc-metrics { margin-top: 11px; display: grid; gap: 6px; }
.ov-card .oc-row { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.ov-card .oc-label { color: var(--dim); font-size: 10px; }
.ov-card .oc-value { font: 550 11.5px/1.3 var(--mono); white-space: nowrap; }
.ov-card .oc-spark { height: 34px; margin: 9px -2px 0; }
.ov-card .oc-foot {
  margin-top: 9px; padding-top: 8px;
  border-top: 1px dashed rgba(42,58,79,.55);
  display: flex; justify-content: space-between; gap: 8px;
  color: var(--dim); font-size: 9.5px;
}
.ov-card .oc-foot b { color: var(--region); font-weight: 600; }

.ov-compare { border: 1px solid var(--line); border-radius: 13px; overflow: hidden; background: rgba(11,17,26,.72); }
.ov-compare table { width: 100%; border-collapse: collapse; font-size: 11px; }
.ov-compare th {
  padding: 9px 10px; text-align: right;
  color: var(--dim); font: 500 9.5px var(--mono); letter-spacing: .06em;
  border-bottom: 1px solid var(--line); white-space: nowrap;
}
.ov-compare th:first-child, .ov-compare td:first-child { text-align: left; }
.ov-compare td {
  padding: 9px 10px; text-align: right;
  border-bottom: 1px dashed rgba(42,58,79,.45);
  font-family: var(--mono); white-space: nowrap;
}
.ov-compare tr:last-child td { border-bottom: 0; }
.ov-compare tbody tr:hover { background: rgba(255,255,255,.022); }
.ov-compare .oc-region { font-family: var(--sans); font-weight: 550; display: flex; align-items: center; gap: 7px; }
.ov-compare .oc-region i { width: 6px; height: 6px; border-radius: 50%; background: var(--c); }
.ov-compare .oc-region small { color: var(--dim); font: 9px var(--mono); }

.ov-chronicle {
  margin-top: 26px;
  display: flex; align-items: center; gap: 20px; flex-wrap: wrap;
  padding: 17px 19px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background:
    radial-gradient(600px 180px at 10% 0%, rgba(167,139,250,.07), transparent 70%),
    linear-gradient(180deg, rgba(16,24,36,.86), rgba(10,16,24,.92));
}
.ov-chronicle h3 { margin: 0; font-size: 14px; }
.ov-chronicle p { margin: 4px 0 0; color: var(--muted); font-size: 11px; line-height: 1.6; }
.ov-chronicle .ov-chronicle-copy { flex: 1; min-width: 260px; }
.ov-chronicle .ov-chronicle-stats { display: flex; gap: 18px; }
.ov-chronicle .ov-chronicle-stats span { color: var(--dim); font-size: 9.5px; display: block; }
.ov-chronicle .ov-chronicle-stats b { font: 600 14px var(--mono); }

.ov-loading { padding: 80px 0; text-align: center; color: var(--dim); }
.ov-loading .loader { display: inline-block; width: 18px; height: 18px; border: 2px solid var(--line2); border-top-color: var(--accent); border-radius: 50%; animation: spinturn .8s linear infinite; margin-bottom: 10px; }
@keyframes spinturn { to { transform: rotate(360deg); } }

@media (max-width: 1220px) {
  .ov-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 980px) {
  .ov-hero { grid-template-columns: 1fr; gap: 20px; padding-top: 32px; }
  .ov-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
  .ov-cards { grid-template-columns: 1fr; }
  .ov-side { grid-template-columns: 1fr 1fr; }
}

.oc-status.good { color: #86e9c9; border-color: rgba(45,212,167,.3); background: rgba(45,212,167,.07); }
.oc-status.warn { color: #f6c96c; border-color: rgba(242,181,68,.3); background: rgba(242,181,68,.07); }
.oc-status.bad { color: #ff9baa; border-color: rgba(255,107,129,.3); background: rgba(255,107,129,.07); }
.oc-status.neutral { color: #9fcbff; border-color: rgba(90,169,255,.26); background: rgba(90,169,255,.06); }
.ov-compare .tiny { color: var(--dim); font-size: 9px; }

/* 迷你走势图悬浮读数：固定定位，避免被卡片 overflow 裁剪 */
.chart-tip.mini-tip-global {
  position: fixed;
  z-index: 1001;
  display: none;
  min-width: 128px;
  pointer-events: none;
}
