/* 韩国市场风险监测站 — 样式 */
.korea-sticky {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; gap: 24px; flex-wrap: wrap;
  padding: 10px 18px; margin-bottom: 8px;
  background: var(--bg-card, #1a2332);
  border: 1px solid var(--border, #334155); border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0,0,0,.25);
}
.korea-sticky-item { display: flex; align-items: baseline; gap: 8px; }
.ks-label { font-size: 12px; color: var(--text-muted, #94a3b8); }
.ks-score { font-size: 24px; font-weight: 800; color: var(--text-primary, #f1f5f9); line-height: 1; }
.ks-level { font-size: 12px; font-weight: 700; padding: 2px 8px; border-radius: 999px; }
.korea-sticky-update { margin-left: auto; font-size: 11px; color: var(--text-muted, #94a3b8); }
.korea-refresh-btn {
  font-size: 12px; padding: 6px 12px; border-radius: 8px; cursor: pointer;
  border: 1px solid var(--border, #334155); background: var(--bg-surface, #111827); color: var(--text-primary, #f1f5f9);
}
.korea-refresh-btn:hover { border-color: var(--accent, #297fd5); }

/* 总览 */
.korea-overview { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 22px; }
.korea-panel {
  background: var(--bg-card, #1a2332); border: 1px solid var(--border, #334155);
  border-radius: 14px; padding: 18px 20px;
}
.korea-panel h3 { margin: 0 0 12px; font-size: 14px; color: var(--text-muted, #94a3b8); font-weight: 600; }
.korea-score-big { font-size: 52px; font-weight: 900; line-height: 1; }
.korea-level-pill { display: inline-block; margin-left: 10px; font-size: 13px; font-weight: 700; padding: 3px 12px; border-radius: 999px; vertical-align: middle; }
.korea-diag { margin-top: 12px; font-size: 13px; color: var(--text-secondary, #cbd5e1); line-height: 1.6; }
.korea-bars { margin-top: 6px; }
.korea-bar-row { display: flex; align-items: center; gap: 10px; margin: 9px 0; font-size: 12px; }
.korea-bar-name { width: 72px; color: var(--text-muted, #94a3b8); flex-shrink: 0; text-align: right; padding-right: 4px; }
.korea-bar-track { flex: 1; height: 12px; border-radius: 999px; overflow: visible; position: relative;
  background-color: rgba(255,255,255,.08);
  background-image: repeating-linear-gradient(90deg, rgba(255,255,255,.16) 0 1px, transparent 1px 25%);
}
/* 70 危险阈值线（仅风险面板 track 加 .danger） */
.korea-bar-track.danger::after {
  content: ''; position: absolute; left: 70%; top: -4px; bottom: -4px;
  border-left: 2px dashed rgba(248,113,113,.9); z-index: 3;
}
.korea-bar-fill { display: inline-block; height: 100%; border-radius: 999px; transition: width .6s cubic-bezier(.4,0,.2,1); min-width: 2px; }
/* 语义配色 — 风险分（越高越危险，红=危险/绿=安全） */
.korea-bar-fill.risk-high { background: linear-gradient(90deg,#ef4444,#f87171); box-shadow: 0 0 8px rgba(239,68,68,.5); }
.korea-bar-fill.risk-mid  { background: linear-gradient(90deg,#f59e0b,#facc15); box-shadow: 0 0 8px rgba(245,158,11,.5); }
.korea-bar-fill.risk-low  { background: linear-gradient(90deg,#22c55e,#4ade80); box-shadow: 0 0 8px rgba(34,197,94,.5); }
/* 语义配色 — 去杠杆进度（越高=去化越多=越安全；红=仍高杠杆/滞后） */
.korea-bar-fill.prog-good { background: linear-gradient(90deg,#22c55e,#4ade80); box-shadow: 0 0 8px rgba(34,197,94,.5); }
.korea-bar-fill.prog-mid  { background: linear-gradient(90deg,#f59e0b,#facc15); box-shadow: 0 0 8px rgba(245,158,11,.5); }
.korea-bar-fill.prog-bad  { background: linear-gradient(90deg,#ef4444,#f87171); box-shadow: 0 0 8px rgba(239,68,68,.5); }
/* 等级标签 */
.korea-bar-tag { width: 32px; text-align: center; font-size: 10px; font-weight: 700; padding: 1px 0; border-radius: 6px; flex-shrink: 0; }
.korea-bar-tag.t-high { background: rgba(239,68,68,.2); color: #f87171; }
.korea-bar-tag.t-mid  { background: rgba(245,158,11,.2); color: #facc15; }
.korea-bar-tag.t-low  { background: rgba(34,197,94,.2); color: #4ade80; }
.korea-bar-tag.t-good { background: rgba(34,197,94,.2); color: #4ade80; }
.korea-bar-tag.t-bad  { background: rgba(239,68,68,.2); color: #f87171; }
/* 刻度标尺（与 bar-row 对齐） */
.korea-bar-scale { display: flex; align-items: center; gap: 10px; font-size: 10px; color: var(--text-muted, #94a3b8); margin: 0 0 8px; }
.korea-bar-scale .korea-bar-name { color: transparent; }
.korea-bar-scale-inner { flex: 1; display: flex; justify-content: space-between; }
.korea-bar-scale-inner .thr { color: #f87171; font-weight: 700; }
.korea-bar-scale .korea-bar-val { color: transparent; }
.korea-bar-val { width: 44px; text-align: right; color: var(--text-primary, #f1f5f9); flex-shrink: 0; font-weight: 700; }

/* 域 */
.korea-domain { margin: 26px 0 8px; }
.korea-domain-title { font-size: 16px; font-weight: 700; color: var(--text-primary, #f1f5f9); padding-left: 10px; border-left: 3px solid var(--accent, #297fd5); margin-bottom: 12px; }
.korea-domain-title small { color: var(--text-muted, #94a3b8); font-weight: 400; margin-left: 8px; font-size: 12px; }
.korea-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }

/* 卡片 */
.korea-card {
  background: var(--bg-card, #1a2332); border: 1px solid var(--border, #334155);
  border-radius: 12px; padding: 14px 15px; display: flex; flex-direction: column; gap: 6px;
  cursor: pointer; transition: border-color .15s, transform .15s;
}
.korea-card:hover { border-color: var(--accent, #297fd5); transform: translateY(-2px); }
.kc-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; }
.kc-title { font-size: 13px; font-weight: 600; color: var(--text-primary, #f1f5f9); line-height: 1.3; }
.kc-badge { font-size: 10px; padding: 2px 7px; border-radius: 999px; white-space: nowrap; flex-shrink: 0; }
.kc-value { font-size: 26px; font-weight: 800; color: var(--text-primary, #f1f5f9); line-height: 1.1; }
.kc-value.empty { color: var(--text-muted, #64748b); font-size: 20px; font-weight: 600; }
.kc-delta { font-size: 12px; color: var(--text-muted, #94a3b8); }
.kc-meta { font-size: 10.5px; color: var(--text-muted, #94a3b8); display: flex; flex-wrap: wrap; gap: 6px; margin-top: 2px; }
.kc-flag { color: #f59e0b; font-size: 11px; }
.kc-spark { width: 100%; height: 46px; display: block; margin: 2px 0; }
.km-chart-label { font-size: 12px; color: var(--text-muted, #94a3b8); margin: 14px 0 4px; }
.kc-spark.km-big { height: 200px; }

/* 新鲜度 */
.fresh-live { background: rgba(34,197,94,.18); color: #4ade80; }
.fresh-fresh { background: rgba(34,197,94,.18); color: #4ade80; }
.fresh-stale { background: rgba(250,204,21,.18); color: #facc15; }
.fresh-old { background: rgba(239,68,68,.18); color: #f87171; }
.fresh-pending { background: rgba(148,163,184,.18); color: #94a3b8; }

/* 风险等级 */
.lv-high { background: rgba(239,68,68,.2); color: #f87171; }
.lv-mid { background: rgba(250,204,21,.2); color: #facc15; }
.lv-low { background: rgba(34,197,94,.2); color: #4ade80; }

/* 待接入清单 */
.korea-pending { margin-top: 30px; background: var(--bg-card, #1a2332); border: 1px solid var(--border, #334155); border-radius: 14px; padding: 18px 20px; }
.korea-pending h3 { margin: 0 0 10px; font-size: 14px; color: #f59e0b; }
.korea-pending ul { margin: 0; padding-left: 18px; font-size: 12.5px; color: var(--text-secondary, #cbd5e1); line-height: 1.9; }
.korea-pending li b { color: var(--text-primary, #f1f5f9); }

/* 详情弹窗 */
.korea-modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.6); z-index: 200; display: flex; align-items: center; justify-content: center; padding: 20px; }
.korea-modal { background: var(--bg-card, #1a2332); border: 1px solid var(--border, #334155); border-radius: 14px; max-width: 560px; width: 100%; padding: 22px; max-height: 86vh; overflow: auto; }
.korea-modal h2 { margin: 0 0 4px; font-size: 18px; }
.korea-modal .km-row { display: flex; gap: 10px; font-size: 13px; margin: 8px 0; }
.korea-modal .km-k { width: 96px; color: var(--text-muted, #94a3b8); flex-shrink: 0; }
.korea-modal .km-close { float: right; cursor: pointer; color: var(--text-muted, #94a3b8); font-size: 20px; }

/* ECharts 容器 */
.kc-chart { width: 100%; height: 46px; display: block; margin: 2px 0; }
#korea-gauge { width: 100%; height: 176px; }
#km-chart { width: 100%; height: 210px; margin-top: 6px; }

/* 细节打磨：卡片轻微渐变 + 悬浮投影 */
.korea-card {
  background: linear-gradient(180deg, rgba(255,255,255,.025), rgba(255,255,255,0));
  border: 1px solid var(--border, #334155);
  box-shadow: 0 2px 10px rgba(0,0,0,.18);
}
.korea-card:hover { border-color: var(--accent, #297fd5); box-shadow: 0 10px 26px rgba(0,0,0,.38); transform: translateY(-2px); }
.korea-panel {
  background:
    linear-gradient(160deg, rgba(41,127,213,.08), rgba(255,255,255,0) 55%),
    var(--bg-card, #1a2332);
  border: 1px solid var(--border, #334155);
  box-shadow: 0 4px 18px rgba(0,0,0,.22);
}
.korea-domain-title { letter-spacing: .3px; }
.korea-bar-fill { box-shadow: 0 0 8px rgba(41,127,213,.45); }
.korea-sticky { backdrop-filter: blur(6px); }

/* ===== 解释层新模块 ===== */
.korea-module { margin-top: 26px; background: var(--bg-card, #1a2332); border: 1px solid var(--border, #334155); border-radius: 14px; padding: 18px 20px; box-shadow: 0 4px 18px rgba(0,0,0,.22); }
.korea-module h3 { margin: 0 0 12px; font-size: 15px; color: var(--text-primary, #f1f5f9); }
.korea-module h3 small { color: var(--text-muted, #94a3b8); font-weight: 400; font-size: 11px; margin-left: 6px; }

/* 今日三件事 */
.korea-three { margin: 0; padding-left: 20px; line-height: 1.85; font-size: 13px; color: var(--text-secondary, #cbd5e1); }
.korea-three li { margin: 4px 0; }

/* 告警矩阵 */
.alert-banner { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; border-radius: 10px; margin-bottom: 10px; }
.alert-banner .alert-level { font-size: 17px; font-weight: 700; }
.alert-banner .alert-count { font-size: 12px; opacity: .9; }
.alert-red { background: rgba(239,68,68,.18); border: 1px solid #ef4444; color: #fca5a5; }
.alert-orange { background: rgba(249,115,22,.16); border: 1px solid #f97316; color: #fdba74; }
.alert-yellow { background: rgba(250,204,21,.14); border: 1px solid #facc15; color: #fde047; }
.alert-green { background: rgba(34,197,94,.14); border: 1px solid #22c55e; color: #86efac; }
.alert-rule { font-size: 11.5px; color: var(--text-muted, #94a3b8); margin-bottom: 10px; line-height: 1.6; }
.alert-hits { display: flex; flex-wrap: wrap; gap: 8px; }
.alert-hit { font-size: 11.5px; padding: 3px 9px; border-radius: 999px; }
.hit-red { background: rgba(239,68,68,.2); color: #fca5a5; border: 1px solid rgba(239,68,68,.5); }
.hit-orange { background: rgba(249,115,22,.18); color: #fdba74; border: 1px solid rgba(249,115,22,.5); }

/* 出清仪表盘 */
.clear-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.clear-card { border-radius: 12px; padding: 14px; border: 1px solid var(--border, #334155); background: rgba(255,255,255,.02); position: relative; overflow: hidden; }
.clear-card::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; }
.clear-card.cs-red::before { background: #ef4444; }
.clear-card.cs-orange::before { background: #f97316; }
.clear-card.cs-green::before { background: #22c55e; }
.cs-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; }
.cs-name { font-size: 12.5px; font-weight: 600; color: var(--text-primary, #f1f5f9); }
.cs-badge { font-size: 10.5px; padding: 2px 8px; border-radius: 999px; }
.cs-red .cs-badge { background: rgba(239,68,68,.2); color: #fca5a5; }
.cs-orange .cs-badge { background: rgba(249,115,22,.18); color: #fdba74; }
.cs-green .cs-badge { background: rgba(34,197,94,.18); color: #86efac; }
.cs-value { font-size: 20px; font-weight: 700; color: var(--text-primary, #f1f5f9); margin: 2px 0 8px; }
.cs-row { font-size: 11.5px; color: var(--text-secondary, #cbd5e1); display: flex; gap: 8px; margin: 3px 0; line-height: 1.5; }
.cs-row .cs-k { color: var(--text-muted, #94a3b8); width: 38px; flex-shrink: 0; }
.cs-interp { font-size: 11.5px; color: var(--text-secondary, #cbd5e1); line-height: 1.7; margin-top: 8px; padding-top: 8px; border-top: 1px dashed var(--border, #334155); }

/* 政策时间轴 */
.tl-track { display: flex; gap: 0; overflow-x: auto; padding-bottom: 6px; }
.tl-node { flex: 1 0 200px; position: relative; padding: 0 14px; border-left: 2px solid var(--border, #334155); }
.tl-node:first-child { border-left: none; }
.tl-dot { width: 12px; height: 12px; border-radius: 50%; background: var(--accent, #297fd5); box-shadow: 0 0 0 4px rgba(41,127,213,.2); position: absolute; left: -7px; top: 2px; }
.tl-date { font-size: 12px; font-weight: 700; color: var(--accent, #297fd5); }
.tl-title { font-size: 12.5px; font-weight: 600; color: var(--text-primary, #f1f5f9); margin: 4px 0 3px; }
.tl-desc { font-size: 11.5px; color: var(--text-secondary, #cbd5e1); line-height: 1.6; }
.tl-hint { font-size: 11px; font-weight: 400; color: var(--text-secondary, #94a3b8); margin-left: 4px; }
.tl-nexus { display: inline-block; font-size: 10px; font-weight: 700; padding: 1px 6px; border-radius: 4px; margin: 3px 0 2px; letter-spacing: .3px; }
.tl-nexus.nx-korea { background: rgba(41,127,213,.18); color: #7db4ee; }
.tl-nexus.nx-china { background: rgba(224,83,61,.18); color: #f0a08f; }
.tl-nexus.nx-cross { background: rgba(139,92,246,.18); color: #c4b1fb; }
.tl-dot.nx-korea { background: #297fd5; box-shadow: 0 0 0 4px rgba(41,127,213,.2); }
.tl-dot.nx-china { background: #e0533d; box-shadow: 0 0 0 4px rgba(224,83,61,.2); }
.tl-dot.nx-cross { background: #8b5cf6; box-shadow: 0 0 0 4px rgba(139,92,246,.2); }
.tl-link { font-size: 11px; color: var(--accent, #297fd5); text-decoration: none; margin-left: 3px; }

/* 方法学 */
.method .meth-block { margin-bottom: 12px; }
.method .meth-block b { color: var(--accent, #297fd5); font-size: 13px; }
.method .meth-block p { margin: 4px 0 0; font-size: 12.5px; color: var(--text-secondary, #cbd5e1); line-height: 1.75; }

/* 卡片风险等级条纹 + 滞后标 */
.korea-card { position: relative; }
.korea-card.lv-high { border-left: 3px solid #ef4444; }
.korea-card.lv-mid { border-left: 3px solid #f97316; }
.korea-card.lv-low { border-left: 3px solid #22c55e; }
.kc-lv { display: none; }
.kc-flag.lag { color: #fbbf24; }
.km-thr { color: #fdba74; font-weight: 600; }
.km-interp { line-height: 1.7; color: var(--text-secondary, #cbd5e1); }
.km-lag { color: #fbbf24; font-weight: 600; }

/* ===== V2 升级样式 ===== */
/* 目标分双值行 */
.korea-target { margin-top: 10px; font-size: 12.5px; color: var(--text-secondary, #cbd5e1); }
.korea-target b { color: var(--text-primary, #f1f5f9); font-size: 13.5px; }
.korea-target b:last-child { color: #fbbf24; }

/* 卡片：新鲜度角标 + 陈旧降透明度 + 信号旗 */
.kc-fresh-dot { position: absolute; top: 10px; right: 10px; width: 9px; height: 9px; border-radius: 50%; box-shadow: 0 0 0 3px rgba(0,0,0,.25); z-index: 4; }
.kc-fresh-dot.fresh-fresh, .kc-fresh-dot.fresh-live { background: #4ade80; }
.kc-fresh-dot.fresh-stale { background: #facc15; }
.kc-fresh-dot.fresh-old { background: #ef4444; }
.kc-fresh-dot.fresh-pending { background: #94a3b8; }
.korea-card.kc-dim { opacity: .55; }
.kc-signal { font-size: 11px; margin: 2px 0; padding: 3px 8px; border-radius: 6px; line-height: 1.4; }
.kc-signal.sig-high { background: rgba(239,68,68,.16); color: #fca5a5; border: 1px solid rgba(239,68,68,.4); }
.kc-signal.sig-mid { background: rgba(249,115,22,.14); color: #fdba74; border: 1px solid rgba(249,115,22,.4); }

/* 四层来源色标 */
.kc-tier { font-size: 10px; padding: 1px 7px; border-radius: 999px; font-weight: 600; }
.kc-tier.tier-official { color: #60a5fa; background: rgba(96,165,250,.15); }
.kc-tier.tier-public { color: #4ade80; background: rgba(74,222,128,.15); }
.kc-tier.tier-local { color: #facc15; background: rgba(250,204,21,.15); }
.kc-tier.tier-secondary { color: #94a3b8; background: rgba(148,163,184,.15); }

/* 顶部 sticky 内分层导航 */
.korea-nav { display: flex; flex-wrap: wrap; gap: 6px; width: 100%; margin-top: 8px; }
.korea-nav-link { font-size: 11.5px; padding: 4px 10px; border-radius: 999px; color: var(--text-secondary, #cbd5e1); background: rgba(255,255,255,.05); border: 1px solid var(--border, #334155); text-decoration: none; transition: all .15s; }
.korea-nav-link:hover { color: #fff; border-color: var(--accent, #297fd5); background: rgba(41,127,213,.18); }

/* 周评 */
.wk-summary { font-size: 13px; color: var(--text-secondary, #cbd5e1); line-height: 1.7; background: rgba(255,255,255,.03); border-left: 3px solid var(--accent, #297fd5); padding: 8px 12px; border-radius: 6px; margin-bottom: 10px; }
.wk-watch-row { margin-top: 10px; font-size: 12px; color: var(--text-muted, #94a3b8); }
.wk-watch-label { color: var(--text-primary, #f1f5f9); font-weight: 600; }
.wk-watch { display: inline-block; margin: 4px 6px 0 0; padding: 2px 9px; border-radius: 999px; background: rgba(41,127,213,.14); color: #93c5fd; font-size: 11.5px; }

/* 韩国 vs 世界 */
.intl-grid { display: flex; flex-direction: column; gap: 8px; margin-top: 6px; }
.intl-row { display: grid; grid-template-columns: 168px 1fr 1fr; grid-template-areas: 'metric kr others' 'note note note'; gap: 4px 14px; padding: 10px 12px; border-radius: 10px; background: rgba(255,255,255,.03); border: 1px solid var(--border, #334155); }
.intl-metric { grid-area: metric; font-size: 12.5px; font-weight: 600; color: var(--text-primary, #f1f5f9); }
.intl-kr { grid-area: kr; font-size: 13px; color: #fbbf24; font-weight: 700; }
.intl-others { grid-area: others; font-size: 12px; color: var(--text-secondary, #cbd5e1); }
.intl-note { grid-area: note; font-size: 11.5px; color: var(--text-muted, #94a3b8); line-height: 1.5; }

/* 历史回测表 */
.bt-grid { display: flex; flex-direction: column; gap: 6px; margin-top: 4px; }
.bt-row { display: grid; grid-template-columns: 132px 86px 56px 1fr; gap: 8px; align-items: center; padding: 7px 10px; border-radius: 8px; background: rgba(255,255,255,.02); border-left: 3px solid var(--border, #334155); font-size: 12px; }
.bt-event { font-weight: 600; color: var(--text-primary, #f1f5f9); }
.bt-date { color: var(--text-muted, #94a3b8); }
.bt-score { font-weight: 800; }
.bt-note { color: var(--text-secondary, #cbd5e1); line-height: 1.45; }
.bt-red { border-left-color: #ef4444; } .bt-red .bt-score { color: #f87171; }
.bt-orange { border-left-color: #f97316; } .bt-orange .bt-score { color: #fdba74; }
.bt-yellow { border-left-color: #facc15; } .bt-yellow .bt-score { color: #fde047; }
.bt-green { border-left-color: #22c55e; } .bt-green .bt-score { color: #86efac; }

/* ===== P0/P1/P2 可读性与体系性升级 ===== */
/* 数据成熟度总览条 */
.korea-maturity { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding: 10px 16px; margin-bottom: 14px;
  background: linear-gradient(90deg, rgba(41,127,213,.10), rgba(255,255,255,0));
  border: 1px solid var(--border, #334155); border-left: 3px solid var(--accent, #297fd5); border-radius: 10px;
  font-size: 12.5px; color: var(--text-secondary, #cbd5e1); }
.korea-maturity b { color: var(--text-primary, #f1f5f9); font-weight: 800; }
.korea-maturity .km-note { color: var(--text-muted, #94a3b8); font-size: 11px; }

/* 综合温度计双日期 */
.korea-dualdate { font-size: 12px; color: var(--text-muted, #94a3b8); margin: 2px 0 10px; }
.korea-dualdate b { color: var(--text-primary, #f1f5f9); font-weight: 700; }
.korea-thr-note { font-size: 10.5px; color: var(--text-muted, #94a3b8); margin: 2px 0 8px; line-height: 1.5; }

/* 域级成熟度标注 */
.korea-domain-title { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.korea-domain-meta { font-size: 11px; font-weight: 600; color: #93c5fd; background: rgba(41,127,213,.14); padding: 2px 9px; border-radius: 999px; margin-left: auto; }

/* 卡片底部三件套：口径 · 数据日 · SLA */
.kc-foot { font-size: 10px; color: var(--text-muted, #94a3b8); line-height: 1.45; margin-top: 2px; padding-top: 4px; border-top: 1px dashed rgba(255,255,255,.08); }
.km-note { font-size: 11px; color: var(--text-muted, #94a3b8); line-height: 1.5; }

/* 监管冲击量化 */
.reg-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; margin-top: 6px; }
.reg-card { border-radius: 12px; padding: 12px 14px; border: 1px solid var(--border, #334155); background: rgba(255,255,255,.02); border-left: 3px solid #297fd5; }
.reg-date { font-size: 11px; font-weight: 700; color: #7db4ee; }
.reg-title { font-size: 13px; font-weight: 600; color: var(--text-primary, #f1f5f9); margin: 3px 0 6px; }
.reg-metric { display: flex; align-items: baseline; gap: 8px; margin-bottom: 5px; }
.reg-mk { font-size: 11px; color: var(--text-muted, #94a3b8); }
.reg-mv { font-size: 16px; font-weight: 800; color: #fbbf24; }
.reg-note { font-size: 11.5px; color: var(--text-secondary, #cbd5e1); line-height: 1.55; }

/* ===== 区间切换（1M/3M/1Y/3Y） ===== */
.korea-range { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; }
.korea-range .kr-label { font-size: 12px; color: var(--text-muted, #94a3b8); margin-right: 4px; }
.korea-range button { font-size: 12px; padding: 5px 14px; border-radius: 999px; cursor: pointer; border: 1px solid var(--border, #334155); background: rgba(255,255,255,.05); color: var(--text-secondary, #cbd5e1); transition: all .15s; }
.korea-range button:hover { border-color: var(--accent, #297fd5); color: #fff; }
.korea-range button.active { background: var(--accent, #297fd5); border-color: var(--accent, #297fd5); color: #fff; font-weight: 700; box-shadow: 0 0 10px rgba(41,127,213,.4); }

/* ===== 危机对照锚（1997 vs 2026） ===== */
.korea-crisis-anchor { margin: 4px 0 20px; background: linear-gradient(135deg, rgba(239,68,68,.06), rgba(34,197,94,.06)); border: 1px solid var(--border, #334155); border-radius: 14px; padding: 16px 18px; box-shadow: 0 4px 18px rgba(0,0,0,.22); }
.kca-title { font-size: 13.5px; font-weight: 700; color: var(--text-primary, #f1f5f9); margin-bottom: 12px; }
.kca-row { display: flex; align-items: center; gap: 12px; margin: 8px 0; font-size: 12px; }
.kca-name { width: 130px; color: var(--text-muted, #94a3b8); flex-shrink: 0; text-align: right; padding-right: 4px; }
.kca-track { flex: 1; height: 16px; border-radius: 999px; overflow: hidden; background-color: rgba(255,255,255,.08); }
.kca-fill { display: inline-block; height: 100%; border-radius: 999px; transition: width .8s cubic-bezier(.4,0,.2,1); min-width: 2px; }
.kca-fill.bad { background: linear-gradient(90deg,#ef4444,#f87171); box-shadow: 0 0 8px rgba(239,68,68,.5); }
.kca-fill.good { background: linear-gradient(90deg,#22c55e,#4ade80); box-shadow: 0 0 8px rgba(34,197,94,.5); }
.kca-val { width: 44px; text-align: right; font-weight: 800; flex-shrink: 0; }
.kca-val.bad { color: #f87171; }
.kca-val.good { color: #4ade80; }
.kca-note { margin-top: 12px; font-size: 11.5px; color: var(--text-secondary, #cbd5e1); line-height: 1.65; }
.kca-note b { color: var(--text-primary, #f1f5f9); }

/* ===== 数据源分级 taxonomy（4 层） ===== */
.taxo-grid { display: flex; flex-direction: column; gap: 6px; margin-top: 6px; }
.taxo-row { display: grid; grid-template-columns: 110px 1fr auto; gap: 12px; align-items: center; padding: 8px 10px; border-radius: 8px; background: rgba(255,255,255,.02); border: 1px solid var(--border, #334155); font-size: 12px; }
.taxo-tier { font-size: 10.5px; font-weight: 700; padding: 3px 9px; border-radius: 999px; text-align: center; white-space: nowrap; }
.taxo-tier.t-off { color: #60a5fa; background: rgba(96,165,250,.15); }
.taxo-tier.t-pub { color: #4ade80; background: rgba(74,222,128,.15); }
.taxo-tier.t-local { color: #facc15; background: rgba(250,204,21,.15); }
.taxo-tier.t-sec { color: #94a3b8; background: rgba(148,163,184,.15); }
.taxo-desc { color: var(--text-secondary, #cbd5e1); line-height: 1.45; }
.taxo-src { font-size: 11px; color: var(--text-muted, #94a3b8); text-align: right; }
