/* 数字喀斯特时空AI平台 - 自定义样式与动画 */

/* ========== 本地字体 ========== */
@font-face {
  font-family: 'Exo 2';
  src: url('../fonts/Exo2.woff2') format('woff2');
  font-weight: 500 800;
  font-style: normal;
  font-display: swap;
}

/* ========== 基础变量 ========== */
:root {
  --bg-deep: #050b1f;
  --bg-mid: #0a1530;
  --bg-card: rgba(10, 25, 60, 0.82);
  --border-cyan: rgba(0, 212, 255, 0.35);
  --cyan: #00d4ff;
  --cyan-soft: #5fc8ff;
  --gold: #ffb84d;
  --green: #52d273;
  --red: #ff6b6b;
  --text-main: #e8f4ff;
  --text-sub: #8fb8d8;
  --text-dim: #5a7ca0;

  /* 字体栈 */
  --font-zh: 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei UI', 'Microsoft YaHei', 'WenQuanYi Micro Hei', sans-serif;
  --font-en: 'Segoe UI', -apple-system, 'Helvetica Neue', Arial, sans-serif;
  --font-num: 'Exo 2', 'Consolas', 'Courier New', monospace;
}

/* ========== 全局重置 ========== */
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { width: 100%; height: 100%; overflow: hidden; background: var(--bg-deep); color: var(--text-main); font-family: var(--font-zh); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: auto; }

/* 数字字体类 */
.font-num { font-family: var(--font-num); font-weight: 700; letter-spacing: 2px; font-variant-numeric: tabular-nums; font-feature-settings: "tnum"; }

/* ========== 大屏缩放容器 ========== */
#screen-wrap { position: fixed; left: 0; top: 0; width: 3840px; height: 1080px; transform-origin: 0 0; will-change: transform; }

/* 缩放后(>fit)显示抓取手势 */
body.zoomed-in #screen-wrap { cursor: grab; }
body.panning,
body.panning * { cursor: grabbing !important; user-select: none; }

/* ========== 浮动缩放控制面板 ========== */
.zoom-control {
  position: fixed; right: 16px; bottom: 16px; z-index: 9999;
  display: flex; flex-direction: column; gap: 4px;
  background: rgba(10, 25, 60, 0.95);
  border: 1px solid var(--border-cyan);
  padding: 4px;
  box-shadow: 0 4px 20px rgba(0, 212, 255, 0.25);
}
.zoom-control button {
  width: 38px; height: 38px;
  border: 1px solid rgba(0, 212, 255, 0.3);
  background: rgba(0, 80, 160, 0.4);
  color: #fff;
  font-size: 18px; font-weight: 700; line-height: 1;
  cursor: pointer;
  transition: all .2s;
  font-family: inherit;
}
.zoom-control button:hover {
  background: rgba(0, 212, 255, 0.45);
  border-color: var(--cyan);
  box-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
}
.zoom-control button:active { transform: scale(0.92); }

/* ========== 背景层 ========== */
.bg-grid {
  position: absolute; inset: 0; z-index: 0;
  background-image:
    linear-gradient(rgba(0, 212, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 212, 255, 0.018) 1px, transparent 1px),
    linear-gradient(rgba(0, 212, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 212, 255, 0.04) 1px, transparent 1px);
  background-size: 40px 40px, 40px 40px, 200px 200px, 200px 200px;
  background-position: -1px -1px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, #000 35%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, #000 35%, transparent 100%);
  pointer-events: none;
}
.bg-radial {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(ellipse 60% 50% at 50% 52%, rgba(0, 90, 180, 0.22) 0%, transparent 55%),
    radial-gradient(ellipse 40% 25% at 50% 0%,  rgba(30, 110, 200, 0.14) 0%, transparent 70%),
    radial-gradient(ellipse 35% 35% at 0% 100%, rgba(0, 60, 130, 0.10) 0%, transparent 60%),
    radial-gradient(ellipse 35% 35% at 100% 100%, rgba(0, 60, 130, 0.10) 0%, transparent 60%),
    linear-gradient(180deg, #02091e 0%, #050d24 50%, #030819 100%);
  pointer-events: none;
}
/* 顶部 / 底部 HUD 装饰线 */
.bg-radial::before,
.bg-radial::after {
  content: ''; position: absolute; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent 5%, rgba(0, 212, 255, 0.35) 20%, rgba(0, 212, 255, 0.45) 50%, rgba(0, 212, 255, 0.35) 80%, transparent 95%);
  box-shadow: 0 0 18px rgba(0, 212, 255, 0.25);
}
.bg-radial::before { top: 82px; }
.bg-radial::after  { bottom: 14px; }

/* ========== 顶部标题栏 ========== */
.topbar { position: relative; height: 80px; z-index: 40; }
.topbar-bg {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 80, 180, 0.42) 0%, rgba(0, 30, 80, 0.18) 55%, transparent 100%),
    radial-gradient(ellipse 35% 100% at 50% 0%, rgba(0, 212, 255, 0.20) 0%, transparent 70%),
    radial-gradient(ellipse 60% 80% at 50% 0%, rgba(8, 30, 70, 0.55) 0%, transparent 75%);
}
.topbar-bg::after {
  content: ''; position: absolute; left: 50%; top: 0; transform: translateX(-50%);
  width: 720px; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.7), transparent);
  box-shadow: 0 0 12px rgba(0, 212, 255, 0.4);
}

.title-main {
  font-size: 34px; font-weight: 900; letter-spacing: 10px;
  background: linear-gradient(180deg, #ffffff 0%, #aee4ff 50%, #00d4ff 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  text-shadow: 0 0 30px rgba(0, 212, 255, 0.55);
  position: relative;
  line-height: 1.1;
}
.title-main::after { display: none; }
.title-deco {
  position: absolute; top: 50%; transform: translateY(-50%); width: 280px; height: 60px;
  background-repeat: no-repeat; background-position: center; background-size: contain;
}
.scan-light {
  position: absolute; top: 0; left: -30%; width: 30%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.25), transparent);
  animation: scan 14s linear infinite;
  pointer-events: none;
}
@keyframes scan { 0% { left: -30%; } 100% { left: 130%; } }

/* 顶部 nav */
.nav-tab {
  position: relative; padding: 4px 20px; font-size: 14px; color: var(--text-sub);
  cursor: pointer; transition: all .3s; letter-spacing: 2px;
}
.nav-tab:hover { color: var(--cyan-soft); }
.nav-tab.active { color: #fff; text-shadow: 0 0 12px var(--cyan); }
.nav-tab.active::before, .nav-tab.active::after {
  content: ''; position: absolute; left: 50%; transform: translateX(-50%);
  width: 60%; height: 2px; background: var(--cyan); box-shadow: 0 0 10px var(--cyan);
}
.nav-tab.active::before { top: 0; }
.nav-tab.active::after { bottom: 0; }

/* ========== 通用卡片 ========== */
.card {
  position: relative;
  background:
    linear-gradient(180deg, rgba(6, 22, 52, 0.92) 0%, rgba(4, 14, 38, 0.88) 100%);
  border: 1px solid rgba(0, 212, 255, 0.22);
  border-radius: 2px;
  padding: 14px 18px;
  opacity: 0; transform: translateY(20px);
  animation: cardIn .8s ease-out forwards;
  box-shadow:
    0 2px 16px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(94, 198, 255, 0.10),
    inset 0 0 30px rgba(0, 100, 180, 0.05);
  transition: box-shadow .35s, border-color .35s;
}
.card:hover {
  border-color: rgba(0, 212, 255, 0.38);
  box-shadow:
    0 4px 28px rgba(0, 0, 0, 0.45),
    0 0 24px rgba(0, 212, 255, 0.10),
    inset 0 1px 0 rgba(94, 198, 255, 0.16),
    inset 0 0 50px rgba(0, 100, 180, 0.07);
}
@keyframes cardIn { to { opacity: 1; transform: translateY(0); } }

/* 顶部 HUD 扫描线 */
.card > .card-scan {
  position: absolute; top: -1px; left: 14%; right: 14%; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.85) 35%, rgba(94, 200, 255, 0.95) 65%, transparent);
  box-shadow: 0 0 10px rgba(0, 212, 255, 0.55);
  pointer-events: none;
}

/* 四角装饰 - HUD 风格直角括号 */
.card::before, .card::after,
.card > .corner-tr, .card > .corner-bl {
  content: ''; position: absolute; width: 16px; height: 16px;
  border-color: var(--cyan); border-style: solid; border-width: 0;
  pointer-events: none;
  filter: drop-shadow(0 0 4px rgba(0, 212, 255, 0.65));
}
.card::before { top: -1px; left: -1px; border-top-width: 2px; border-left-width: 2px; }
.card::after  { bottom: -1px; right: -1px; border-bottom-width: 2px; border-right-width: 2px; }
.card > .corner-tr { top: -1px; right: -1px; border-top-width: 2px; border-right-width: 2px; }
.card > .corner-bl { bottom: -1px; left: -1px; border-bottom-width: 2px; border-left-width: 2px; }

/* 边缘点 (HUD 顶/底中段标记) */
.card > .edge-dot {
  position: absolute; width: 4px; height: 4px; border-radius: 50%;
  background: var(--cyan); box-shadow: 0 0 6px var(--cyan);
  pointer-events: none;
}
.card > .edge-dot.tl { top: -2px; left: 28px; }
.card > .edge-dot.tr { top: -2px; right: 28px; }
.card > .edge-dot.br { bottom: -2px; right: 28px; }
.card > .edge-dot.bl { bottom: -2px; left: 28px; }

/* 卡片标题 — HUD Tab 风格 */
.card-title {
  display: flex; align-items: center; gap: 10px;
  font-size: 17px; font-weight: 700; color: #f0f9ff;
  letter-spacing: 3px;
  padding: 4px 0 10px;
  margin: 0 0 12px;
  position: relative;
  white-space: nowrap; overflow: hidden;
  text-shadow: 0 0 10px rgba(0, 212, 255, 0.45);
}
.card-title::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, rgba(0,212,255,0.55) 0%, rgba(0,212,255,0.25) 35%, transparent 75%);
}
.card-title.compact { font-size: 15px; letter-spacing: 2px; }
/* 双竖条 (HUD 主色 + 高光) */
.card-title::before {
  content: ''; width: 4px; height: 20px; flex-shrink: 0;
  background: linear-gradient(180deg, #5fc8ff 0%, var(--cyan) 50%, transparent 100%);
  box-shadow: 0 0 8px var(--cyan), 2px 0 0 rgba(0, 212, 255, 0.35);
  margin-right: 2px;
}
.card-title .en {
  font-family: var(--font-en);
  font-size: 11px; color: rgba(159, 200, 230, 0.55);
  margin-left: auto; letter-spacing: 2px; font-weight: 500; flex-shrink: 0;
  padding: 3px 8px 3px 14px;
  background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.07));
  border-left: 1px solid rgba(0, 212, 255, 0.18);
  position: relative;
}
.card-title .en::before {
  content: ''; position: absolute; left: -1px; top: 50%; width: 4px; height: 4px;
  transform: translateY(-50%); border-radius: 50%;
  background: var(--cyan); box-shadow: 0 0 6px var(--cyan);
}

/* ========== 子级标题 (· 全球 GLOBAL) — HUD 章节标签 ========== */
.section-chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 3px 12px 3px 8px;
  font-size: 15px; font-weight: 700; letter-spacing: 3px;
  color: #d8efff;
  background: linear-gradient(90deg, rgba(0, 132, 200, 0.28) 0%, rgba(0, 132, 200, 0.06) 75%, transparent 100%);
  border-left: 2px solid var(--cyan);
  box-shadow: inset 0 0 12px rgba(0, 212, 255, 0.10);
  position: relative;
  margin-bottom: 4px;
}
.section-chip::after {
  content: ''; position: absolute; right: -1px; top: 50%; transform: translateY(-50%);
  width: 6px; height: 6px; rotate: 45deg;
  border-right: 1px solid rgba(0, 212, 255, 0.5);
  border-top: 1px solid rgba(0, 212, 255, 0.5);
}
.section-chip .sc-tick { color: var(--cyan); text-shadow: 0 0 6px var(--cyan); }
.section-chip .sc-en {
  font-family: var(--font-en); font-size: 10px; font-weight: 500;
  color: rgba(0, 212, 255, 0.55); letter-spacing: 1.5px; margin-left: 4px;
}

/* ========== 精选卡片（视觉权重提升） ========== */
.card.card-featured {
  background: rgba(10, 28, 75, 0.90);
  border-color: rgba(0, 212, 255, 0.55);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.35), 0 0 40px rgba(0, 212, 255, 0.06), inset 0 1px 0 rgba(255,255,255,0.05);
}
.card.card-featured:hover {
  box-shadow: 0 6px 40px rgba(0, 0, 0, 0.4), 0 0 50px rgba(0, 212, 255, 0.08), inset 0 1px 0 rgba(255,255,255,0.06);
}
.card.card-featured::before,
.card.card-featured::after { border-color: var(--cyan-soft); }
.card.card-featured .card-title {
  border-bottom-color: rgba(0, 212, 255, 0.32);
}
.card.card-featured .card-title::before {
  background: linear-gradient(180deg, #fff, var(--cyan) 60%, var(--gold));
  box-shadow: 0 0 10px var(--cyan);
  height: 20px;
}

/* ========== 数字样式 ========== */
.kpi-num {
  font-family: var(--font-num); font-weight: 700; font-size: 44px;
  font-variant-numeric: tabular-nums; font-feature-settings: "tnum";
  background: linear-gradient(180deg, #fff 0%, #6eecff 35%, #00d4ff 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 0 6px rgba(0, 212, 255, 0.55));
  line-height: 1;
}
.kpi-unit { font-size: 16px; color: var(--text-sub); margin-left: 4px; letter-spacing: 1px; }
.kpi-label { font-size: 14px; color: var(--text-sub); margin-top: 6px; letter-spacing: 1px; }

/* ========== 进度条 ========== */
.bar-wrap { position: relative; width: 100%; height: 12px; background: rgba(0, 60, 120, 0.35); border-radius: 6px; overflow: hidden; }
.bar-fill {
  position: absolute; left: 0; top: 0; height: 100%; width: 0;
  background: linear-gradient(90deg, var(--cyan-soft), var(--cyan));
  box-shadow: 0 0 12px var(--cyan);
  border-radius: 6px;
  transition: width 1.8s cubic-bezier(.2,.8,.2,1);
}
.bar-fill.gold { background: linear-gradient(90deg, #ffd97a, var(--gold)); box-shadow: 0 0 12px var(--gold); }
.bar-fill.green { background: linear-gradient(90deg, #8fe8a8, var(--green)); box-shadow: 0 0 12px var(--green); }
.bar-fill.red { background: linear-gradient(90deg, #ff9f9f, var(--red)); box-shadow: 0 0 12px var(--red); }

/* ========== 模式徽章 (flex:1 自动等分高度) ========== */
.mode-badge {
  display: flex; align-items: center; gap: 14px;
  padding: 8px 14px;
  background: linear-gradient(90deg, rgba(0, 80, 160, 0.4), rgba(0, 80, 160, 0.05));
  border-left: 3px solid var(--cyan);
  transition: transform .3s, box-shadow .3s, background .3s;
  min-height: 0;
}
.mode-badge:hover { transform: translateX(6px); box-shadow: 0 0 16px rgba(0, 212, 255, 0.08); background: linear-gradient(90deg, rgba(0, 80, 160, 0.5), rgba(0, 80, 160, 0.08)); }

/* 田字型 2×2 变体 */
.mode-badge-grid {
  position: relative;
  flex-direction: column; align-items: center; justify-content: center;
  text-align: center; gap: 6px;
  border-left: none; border-top: 2px solid var(--cyan);
  background:
    linear-gradient(180deg, rgba(0, 80, 160, 0.32) 0%, rgba(0, 20, 60, 0.18) 100%);
  padding: 10px 8px;
  transition: transform .3s, box-shadow .3s;
  overflow: hidden;
}
.mode-badge-grid::before {
  content: ''; position: absolute; top: -1px; left: 0; right: 0; height: 6px;
  background: radial-gradient(ellipse at 50% 0%, currentColor 0%, transparent 80%);
  opacity: 0.55;
  pointer-events: none;
}
.mode-badge-grid::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, currentColor, transparent);
  opacity: 0.35;
}
.mode-badge-grid:hover { transform: translateY(-4px); box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3); }
.mode-badge-grid .ico { line-height: 1; }
.mode-badge-grid .mode-name { font-size: 15px; font-weight: 700; color: #fff; letter-spacing: 2px; line-height: 1.2; }
.mode-badge-grid .mode-desc { font-size: 11px; color: var(--text-sub); line-height: 1.3; }
.mode-badge .ico { font-size: 42px; filter: drop-shadow(0 0 6px currentColor); flex-shrink: 0; }
.mode-badge .mode-name { font-size: 20px; font-weight: 700; color: #fff; letter-spacing: 2px; line-height: 1.2; }
.mode-badge .mode-desc { font-size: 18px; color: var(--text-sub); margin-top: 2px; line-height: 1.2; }

/* ========== 产业卡 (紧凑) ========== */
.industry-card {
  position: relative; padding: 10px 6px 12px; text-align: center;
  background:
    linear-gradient(180deg, rgba(0, 80, 160, 0.30) 0%, rgba(0, 22, 60, 0.20) 100%);
  border: 1px solid rgba(0, 212, 255, 0.22);
  border-radius: 3px;
  transition: all .3s;
  overflow: hidden;
}
.industry-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, currentColor, transparent);
  opacity: 0.5;
}
.industry-card:hover { transform: translateY(-3px); border-color: currentColor; box-shadow: 0 6px 18px rgba(0, 212, 255, 0.18); }
.industry-card::after {
  content: ''; position: absolute; bottom: 0; left: 20%; right: 20%; height: 2px;
  background: linear-gradient(90deg, transparent, currentColor, transparent);
  opacity: 0; transition: opacity .3s;
}
.industry-card:hover::after { opacity: 0.7; }
.industry-card .ico { line-height: 1; }
.industry-card .name { font-size: 12px; color: var(--text-main); margin-top: 4px; letter-spacing: 1px; }
.industry-card .val { font-family: var(--font-num); font-weight: 700; font-size: 22px; margin-top: 2px; color: var(--gold); text-shadow: 0 0 8px rgba(255, 184, 77, 0.6); font-variant-numeric: tabular-nums; font-feature-settings: "tnum"; }
.industry-card .unit { font-size: 12px; color: var(--text-sub); margin-left: 2px; }

/* ========== 监测层级 2×2 卡片网格 ========== */
.monitor-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  flex: 1;
  min-height: 0;
}
.mc {
  position: relative;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 12px 8px 14px;
  border: 1px solid;
  border-radius: 3px;
  text-align: center;
  overflow: hidden;
  transition: transform 0.25s, box-shadow 0.25s, border-color .25s;
  gap: 4px;
}
.mc:hover { transform: translateY(-2px); }
.mc::before {
  content: attr(data-level);
  position: absolute; top: 8px; left: 12px;
  font-size: 36px; font-weight: 900; opacity: 0.30; letter-spacing: 1px;
  font-family: 'Microsoft YaHei', sans-serif;
}
.mc::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0; height: 2px;
}
.mc-kong { border-color: rgba(0, 212, 255, 0.45); background: linear-gradient(180deg, rgba(0, 212, 255, 0.05), rgba(0, 212, 255, 0.02)); }
.mc-tian { border-color: rgba(54, 226, 194, 0.45); background: linear-gradient(180deg, rgba(54, 226, 194, 0.05), rgba(54, 226, 194, 0.02)); }
.mc-ta   { border-color: rgba(255, 184, 77, 0.45);  background: linear-gradient(180deg, rgba(255, 184, 77, 0.05), rgba(255, 184, 77, 0.02)); }
.mc-di   { border-color: rgba(255, 107, 107, 0.45); background: linear-gradient(180deg, rgba(255, 107, 107, 0.05), rgba(255, 107, 107, 0.02)); }
/* 监测卡片角标 */
.mc { box-shadow: inset 0 0 24px rgba(0, 0, 0, 0.25); }
.mc-kong:hover { border-color: rgba(0, 212, 255, 0.75); }
.mc-tian:hover { border-color: rgba(54, 226, 194, 0.75); }
.mc-ta:hover   { border-color: rgba(255, 184, 77, 0.75); }
.mc-di:hover   { border-color: rgba(255, 107, 107, 0.75); }
.mc-kong::before { color: #00d4ff; }
.mc-tian::before { color: #36e2c2; }
.mc-ta::before   { color: #ffb84d; }
.mc-di::before   { color: #ff6b6b; }
.mc-kong::after { background: linear-gradient(90deg, transparent, #00d4ff, transparent); }
.mc-tian::after { background: linear-gradient(90deg, transparent, #36e2c2, transparent); }
.mc-ta::after   { background: linear-gradient(90deg, transparent, #ffb84d, transparent); }
.mc-di::after   { background: linear-gradient(90deg, transparent, #ff6b6b, transparent); }
.mc-kong:hover { box-shadow: 0 4px 20px rgba(0, 212, 255, 0.15); }
.mc-tian:hover { box-shadow: 0 4px 20px rgba(54, 226, 194, 0.15); }
.mc-ta:hover   { box-shadow: 0 4px 20px rgba(255, 184, 77, 0.15); }
.mc-di:hover   { box-shadow: 0 4px 20px rgba(255, 107, 107, 0.15); }

.mc-ico {
  width: 92px; height: 92px; border-radius: 50%;
  font-size: 48px;
  display: flex; align-items: center; justify-content: center;
  position: relative; flex-shrink: 0;
}
.mc-kong .mc-ico { background: radial-gradient(circle, rgba(0,212,255,0.16) 0%, transparent 70%); border: 1.5px solid rgba(0, 212, 255, 0.5); box-shadow: 0 0 20px rgba(0, 212, 255, 0.20), inset 0 0 18px rgba(0, 212, 255, 0.10); }
.mc-tian .mc-ico { background: radial-gradient(circle, rgba(54,226,194,0.16) 0%, transparent 70%); border: 1.5px solid rgba(54, 226, 194, 0.5); box-shadow: 0 0 20px rgba(54, 226, 194, 0.18), inset 0 0 18px rgba(54, 226, 194, 0.08); }
.mc-ta   .mc-ico { background: radial-gradient(circle, rgba(255,184,77,0.16) 0%, transparent 70%); border: 1.5px solid rgba(255, 184, 77, 0.5); box-shadow: 0 0 20px rgba(255, 184, 77, 0.18), inset 0 0 18px rgba(255, 184, 77, 0.08); }
.mc-di   .mc-ico { background: radial-gradient(circle, rgba(255,107,107,0.16) 0%, transparent 70%); border: 1.5px solid rgba(255, 107, 107, 0.5); box-shadow: 0 0 20px rgba(255, 107, 107, 0.18), inset 0 0 18px rgba(255, 107, 107, 0.08); }
.mc-ico::after {
  content: '';
  position: absolute; inset: -6px; border-radius: 50%;
  border: 1px dashed;
  animation: mc-spin 22s linear infinite;
}
.mc-ico::before {
  content: '';
  position: absolute; inset: -12px; border-radius: 50%;
  border: 1px solid;
  border-color: transparent;
  border-top-color: currentColor;
  border-right-color: currentColor;
  opacity: 0.4;
  animation: mc-spin 14s linear infinite reverse;
}
.mc-kong .mc-ico::after { border-color: rgba(0, 212, 255, 0.35); }
.mc-tian .mc-ico::after { border-color: rgba(54, 226, 194, 0.35); animation-direction: reverse; animation-duration: 26s; }
.mc-ta   .mc-ico::after { border-color: rgba(255, 184, 77, 0.35); animation-duration: 24s; }
.mc-di   .mc-ico::after { border-color: rgba(255, 107, 107, 0.35); animation-direction: reverse; animation-duration: 22s; }
.mc-kong .mc-ico::before { color: rgba(0, 212, 255, 0.6); }
.mc-tian .mc-ico::before { color: rgba(54, 226, 194, 0.6); }
.mc-ta   .mc-ico::before { color: rgba(255, 184, 77, 0.6); }
.mc-di   .mc-ico::before { color: rgba(255, 107, 107, 0.6); }
@keyframes mc-spin { to { transform: rotate(360deg); } }

.mc-name { font-size: 20px; font-weight: 700; letter-spacing: 3px; color: #f0f8ff; text-shadow: 0 0 8px currentColor; margin-top: 4px; }
.mc-kong .mc-name { color: #d0f0ff; }
.mc-tian .mc-name { color: #cdf3e8; }
.mc-ta   .mc-name { color: #ffe7be; }
.mc-di   .mc-name { color: #ffcfcf; }
.mc-desc { font-size: 14px; color: var(--text-sub); letter-spacing: 1px; line-height: 1.45; }

.mc-bars {
  display: flex; gap: 3px; align-items: flex-end; height: 17px; margin-top: 4px;
}
.mc-bar {
  width: 5px; border-radius: 2px 2px 0 0;
  animation: mc-bar-rise 0.8s ease-out both;
}
.mc-bar:nth-child(1) { height: 5px;  animation-delay: 0.1s; }
.mc-bar:nth-child(2) { height: 8px;  animation-delay: 0.2s; }
.mc-bar:nth-child(3) { height: 11px; animation-delay: 0.3s; }
.mc-bar:nth-child(4) { height: 14px; animation-delay: 0.4s; }
.mc-bar:nth-child(5) { height: 17px; animation-delay: 0.5s; }
.mc-bar.dim { opacity: 0.2; }
@keyframes mc-bar-rise {
  from { opacity: 0; transform: scaleY(0); transform-origin: bottom; }
  to   { opacity: 1; transform: scaleY(1); }
}
.mc-kong .mc-bar { background: #00d4ff; box-shadow: 0 0 4px rgba(0, 212, 255, 0.5); }
.mc-tian .mc-bar { background: #36e2c2; box-shadow: 0 0 4px rgba(54, 226, 194, 0.5); }
.mc-ta   .mc-bar { background: #ffb84d; box-shadow: 0 0 4px rgba(255, 184, 77, 0.5); }
.mc-di   .mc-bar { background: #ff6b6b; box-shadow: 0 0 4px rgba(255, 107, 107, 0.5); }
.mc-bar.dim { box-shadow: none; }

/* ========== 三多概念 · 轨道球体 ========== */
#theory-list { position: relative; overflow: hidden; }
#theory-orb  { display: block; width: 100%; height: 100%; margin-top: 38px;}

@keyframes tc-spin {
  to { transform: rotate(360deg); }
}
@keyframes tc-spin-rev {
  to { transform: rotate(-360deg); }
}
@keyframes tc-dash {
  to { stroke-dashoffset: -18; }
}
@keyframes tc-halo {
  0%, 100% { opacity: 0.55; }
  50%       { opacity: 0.90; }
}
@keyframes tc-float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-5px); }
}

.tc-orbit-ring {
  transform-box: fill-box; transform-origin: center;
  animation: tc-spin 90s linear infinite;
}
.tc-orbit-ring-rev {
  transform-box: fill-box; transform-origin: center;
  animation: tc-spin-rev 130s linear infinite;
}
.tc-halo { animation: tc-halo 6s ease-in-out infinite; }
.tc-conn  { stroke-dasharray: 5 5; animation: tc-dash 2.5s linear infinite; }
.tc-sat-1 { transform-box: fill-box; transform-origin: center; animation: tc-float 7s ease-in-out infinite; }
.tc-sat-2 { transform-box: fill-box; transform-origin: center; animation: tc-float 7s ease-in-out -2.3s infinite; }
.tc-sat-3 { transform-box: fill-box; transform-origin: center; animation: tc-float 7s ease-in-out -4.6s infinite; }

/* ========== 图例 ========== */
.legend-row { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text-sub); padding: 4px 0; }
.legend-row .dot { width: 12px; height: 12px; display: inline-block; box-shadow: 0 0 8px currentColor; }
.legend-row .dot.circle { border-radius: 50%; }
.legend-row .dot.triangle { width: 0; height: 0; box-shadow: none; border-left: 7px solid transparent; border-right: 7px solid transparent; border-bottom: 12px solid currentColor; filter: drop-shadow(0 0 6px currentColor); }
.legend-row .dot.square { border-radius: 2px; }
.legend-row .dot.tower { width: 8px; height: 14px; border-radius: 2px 2px 0 0; }

/* ========== (旧样式已由 .vein-node / .ckv-card 替代) ========== */

/* ========== 滚动条 ========== */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-thumb { background: rgba(0, 212, 255, 0.3); border-radius: 3px; }
::-webkit-scrollbar-track { background: transparent; }

/* ========== 通用工具 ========== */
.glow-text { text-shadow: 0 0 10px var(--cyan); }
.divider {
  height: 1px; background: linear-gradient(90deg, transparent, var(--cyan), transparent); margin: 10px 0;
}
.center-vh { display: flex; align-items: center; justify-content: center; }

/* 入场动画延迟 */
.delay-1 { animation-delay: .1s; }
.delay-2 { animation-delay: .2s; }
.delay-3 { animation-delay: .3s; }
.delay-4 { animation-delay: .4s; }
.delay-5 { animation-delay: .5s; }
.delay-6 { animation-delay: .6s; }

/* 闪烁脉冲 */
@keyframes pulse-soft { 0%, 100% { opacity: .6; } 50% { opacity: 1; } }
.pulse-soft { animation: pulse-soft 2.5s ease-in-out infinite; }

/* 旋转光环 */
@keyframes rotate-slow { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }
.ring-rotate { animation: rotate-slow 60s linear infinite; }

/* 圆环装饰 */
.deco-ring {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  border-radius: 50%; border: 1px dashed rgba(0, 212, 255, 0.52);
  box-shadow: 0 0 18px rgba(0, 212, 255, 0.10), inset 0 0 18px rgba(0, 212, 255, 0.06);
  pointer-events: none;
}

/* 呼吸水波脉冲 */
@keyframes ring-pulse {
  0%   { transform: translate(-50%, -50%) scale(0.5); opacity: 0.7; }
  100% { transform: translate(-50%, -50%) scale(1.3); opacity: 0; }
}
.pulse-ring {
  position: absolute; left: 50%; top: 50%;
  width: 520px; height: 520px;
  border-radius: 50%;
  border: 1.5px solid rgba(0, 212, 255, 0.7);
  box-shadow: 0 0 24px rgba(0, 212, 255, 0.25), inset 0 0 24px rgba(0, 212, 255, 0.10);
  pointer-events: none;
  animation: ring-pulse 4.5s ease-out infinite;
  animation-fill-mode: backwards;
}

/* ========== 喀斯特格局：全球→中国→贵州 递进箭头 ========== */
@keyframes drill-arrow {
  0%, 100% { opacity: 0.15; transform: translateY(-2px); }
  50% { opacity: 1; transform: translateY(3px); }
}
.karst-drilldown {
  display: flex; align-items: center; gap: 6px;
  margin: 4px 0; flex-shrink: 0;
}
.karst-drilldown .kd-line {
  flex: 1; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.35));
}
.karst-drilldown .kd-line.r {
  background: linear-gradient(90deg, rgba(0, 212, 255, 0.35), transparent);
}
.karst-drilldown .kd-arrow {
  font-size: 12px; color: var(--cyan);
  text-shadow: 0 0 8px var(--cyan);
  animation: drill-arrow 1.4s ease-in-out infinite;
  line-height: 1;
}
.karst-drilldown .kd-arrow:nth-child(2) { animation-delay: 0s; animation-duration: 2.2s; }
.karst-drilldown .kd-arrow:nth-child(3) { animation-delay: 0.44s; animation-duration: 2.2s; }
.karst-drilldown .kd-arrow:nth-child(4) { animation-delay: 0.88s; animation-duration: 2.2s; }

/* ========== 顶部栏 Logo 图片 ========== */
/* brightness(0) invert(1) 将 logo 转为纯白，与标题渐变顶色一致；
   drop-shadow 复用标题 text-shadow 同款青色辉光 */
.topbar-logo-img {
  height: 50px; width: auto; object-fit: contain; display: block;
  /* filter: brightness(0) invert(1) drop-shadow(0 0 20px rgba(0, 212, 255, 0.55)); */
}

/* ========== 主标题副标题 ========== */
.title-sub {
  font-size: 14px; letter-spacing: 5px; margin-top: 6px;
  color: rgba(174, 228, 255, 0.6);
  text-align: center;
}
.title-sub .dot { color: rgba(0, 212, 255, 0.5); margin: 0 2px;}

/* ========== 天气徽章 ========== */
.weather-badge {
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  padding: 0 6px;
}
.weather-badge .w-icon { font-size: 22px; line-height: 1; }
.weather-badge .w-city { font-size: 11px; color: rgba(174, 228, 255, 0.65); letter-spacing: 1px; white-space: nowrap; }

/* ========== 用户徽章 + 下拉菜单 ========== */
.user-badge {
  position: relative; display: flex; align-items: center; gap: 8px;
  padding: 7px 16px;
  background: rgba(0, 80, 160, 0.35);
  border: 1px solid rgba(0, 212, 255, 0.28);
  cursor: pointer; user-select: none;
  transition: border-color .2s, box-shadow .2s;
}
.user-badge:hover { border-color: var(--cyan); box-shadow: 0 0 12px rgba(0, 212, 255, 0.25); }
.user-badge .u-avatar { font-size: 18px; line-height: 1; }
.user-badge .u-name { font-size: 14px; color: #fff; letter-spacing: 2px; }
.user-badge .u-caret { font-size: 11px; color: var(--text-sub); transition: transform .25s; margin-left: 2px; }
.user-badge.open .u-caret { transform: rotate(180deg); }
.user-menu {
  display: none; position: absolute; top: calc(100% + 6px); right: 0;
  min-width: 130px;
  background: rgba(5, 16, 45, 0.98);
  border: 1px solid rgba(0, 212, 255, 0.35);
  z-index: 9999;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
}
.user-badge.open .user-menu { display: block; }
.user-menu-item {
  padding: 13px 20px; font-size: 14px; color: var(--text-main);
  cursor: pointer; letter-spacing: 2px;
  border-bottom: 1px solid rgba(0, 212, 255, 0.1);
  transition: background .2s, color .2s;
}
.user-menu-item:last-child { border-bottom: none; }
.user-menu-item:hover { background: rgba(0, 212, 255, 0.12); color: var(--cyan); }
.user-menu-item.logout:hover { background: rgba(255, 107, 107, 0.12); color: var(--red); }

/* ========== 顶部右侧分隔线 ========== */
.topbar-divider { width: 1px; height: 32px; background: rgba(0, 212, 255, 0.2); flex-shrink: 0; }

/* ========== 地图悬浮导航 ========== */
.map-float-nav {
  position: absolute; top: 20px; left: 50%; transform: translateX(-50%);
  z-index: 20;
  display: flex; align-items: center;
  background: rgba(2, 10, 35, 0.92);
  border: 1px solid rgba(0, 212, 255, 0.22);
  box-shadow: 0 0 24px rgba(0, 212, 255, 0.08);
}
.map-float-nav .nav-tab {
  padding: 11px 30px;
  font-size: 18px; letter-spacing: 3px;
  color: var(--text-sub);
  cursor: pointer; user-select: none;
  position: relative; white-space: nowrap;
  transition: color .25s, background .25s, text-shadow .25s;
}
.map-float-nav .nav-tab::after {
  content: '';
  position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 0; height: 2px;
  background: var(--cyan);
  box-shadow: 0 0 8px var(--cyan), 0 0 16px rgba(0, 212, 255, 0.5);
  transition: width .3s ease;
}
.map-float-nav .nav-tab:hover {
  color: var(--cyan-soft);
  background: rgba(0, 212, 255, 0.07);
  text-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
}
.map-float-nav .nav-tab:hover::after { width: 55%; }
.map-float-nav .nav-tab.active {
  color: #fff;
  background: rgba(0, 212, 255, 0.13);
  text-shadow: 0 0 16px var(--cyan), 0 0 32px rgba(0, 212, 255, 0.35);
}
.map-float-nav .nav-tab.active::after { width: 70%; }
.map-float-nav .nav-sep {
  width: 1px; height: 14px; flex-shrink: 0;
  background: rgba(0, 212, 255, 0.2);
}

/* ========== 地图右侧竖排导航 ========== */
.map-side-nav {
  display: flex; flex-direction: column; justify-content: center;
  width: 130px; flex-shrink: 0;
  padding: 16px 0;
  background: rgba(0, 6, 22, 0.75);
  backdrop-filter: blur(12px);
  border-left: 1px solid rgba(0, 212, 255, 0.18);
  z-index: 10;
}
.map-side-nav .nav-tab {
  padding: 18px 16px;
  font-size: 14px; letter-spacing: 3px;
  text-align: center;
  border-right: 2px solid transparent;
  transition: all .25s ease;
}
.map-side-nav .nav-tab:hover {
  color: #fff;
  background: linear-gradient(270deg, rgba(0,212,255,.16), rgba(0,212,255,.04));
  border-right-color: rgba(0, 212, 255, 0.7);
  text-shadow: 0 0 12px var(--cyan);
  padding-right: 22px;
}
.map-side-nav .nav-tab.active {
  color: #fff;
  border-right-color: var(--cyan);
  background: linear-gradient(270deg, rgba(0,212,255,.22), rgba(0,212,255,.06));
  text-shadow: 0 0 14px var(--cyan);
  box-shadow: inset -6px 0 14px rgba(0, 212, 255, 0.12);
}
.map-side-nav .nav-tab.active::before,
.map-side-nav .nav-tab.active::after { display: none; }
.map-side-nav .nav-sep {
  height: 1px; margin: 2px 18px;
  background: rgba(0, 212, 255, 0.12);
}

/* ========== 未来展望模块 ========== */
.future-block {
  display: flex; flex-direction: column; flex: 1; min-height: 0;
}
.future-block-fusion { flex: 5; }
.future-block-carbon { flex: 7; }

/* Section header – left-bar accent style */
.future-main-title {
  display: flex; align-items: center; gap: 8px;
  padding: 5px 12px 5px 14px; margin-bottom: 16px; flex-shrink: 0;
  border-radius: 0 3px 3px 0;
}
.future-main-title.eco-green {
  background: linear-gradient(90deg, rgba(82,210,115,0.13), transparent);
  border-left: 3px solid rgba(82,210,115,0.70);
}
.future-main-title.eco-gold {
  background: linear-gradient(90deg, rgba(255,184,77,0.13), transparent);
  border-left: 3px solid rgba(255,184,77,0.70);
}
.future-main-title .fmt-icon { font-size: 17px; flex-shrink: 0; }
.future-main-title .fmt-text {
  font-size: 15px; font-weight: 800; letter-spacing: 3px; white-space: nowrap;
}
.future-main-title.eco-green .fmt-text {
  color: var(--green); text-shadow: 0 0 10px rgba(82,210,115,0.45);
}
.future-main-title.eco-gold .fmt-text {
  color: var(--gold); text-shadow: 0 0 10px rgba(255,184,77,0.45);
}
.future-main-title .fmt-deco {
  flex: 1; height: 1px; min-width: 8px;
}
.future-main-title.eco-green .fmt-deco {
  background: linear-gradient(90deg, rgba(82,210,115,0.35), transparent);
}
.future-main-title.eco-gold .fmt-deco {
  background: linear-gradient(90deg, rgba(255,184,77,0.35), transparent);
}
.future-main-title .fmt-tag {
  font-size: 11px; padding: 2px 7px; flex-shrink: 0;
  letter-spacing: 1.5px; font-family: var(--font-en);
  border-radius: 2px;
}
.future-main-title.eco-green .fmt-tag {
  background: rgba(82,210,115,0.10); color: rgba(82,210,115,0.85);
  border: 1px solid rgba(82,210,115,0.28);
}
.future-main-title.eco-gold .fmt-tag {
  background: rgba(255,184,77,0.10); color: rgba(255,184,77,0.85);
  border: 1px solid rgba(255,184,77,0.28);
}

/* ========== 融合双列布局 ========== */
.fusion-grid { display: flex; gap: 0; flex: 1; min-height: 0; }
.fusion-col {
  flex: 1; min-height: 0; display: flex; flex-direction: column;
  position: relative; padding-left: 8px;
}
.fusion-col-left::before {
  content: ''; position: absolute; left: 0; top: 8%; bottom: 8%; width: 2px;
  background: linear-gradient(180deg, transparent, rgba(82,210,115,0.55), transparent); z-index: 1;
}
.fusion-col-right::before {
  content: ''; position: absolute; left: 0; top: 8%; bottom: 8%; width: 2px;
  background: linear-gradient(180deg, transparent, rgba(255,184,77,0.55), transparent); z-index: 1;
}

.fusion-col-hd {
  text-align: center; padding: 4px 4px 5px; margin-bottom: 14px; flex-shrink: 0;
  background: rgba(0,0,0,0.18); border-radius: 4px 4px 0 0;
  border-bottom: 1px solid rgba(82,210,115,0.18);
}
.fusion-col-right .fusion-col-hd { border-bottom-color: rgba(255,184,77,0.18); }
.fusion-col-hd .fch-icon { font-size: 20px; line-height: 1; display: block; margin-bottom: 2px; }
.fusion-col-hd .fch-title { font-size: 14px; font-weight: 700; letter-spacing: 2px; color: var(--green); }
.fusion-col-hd .fch-title.gold-title { color: var(--gold); }
.fusion-col-hd .fch-sub { font-size: 9px; color: var(--text-sub); letter-spacing: 1px; margin-top: 1px; display: block; }

.fusion-items { flex: 1; min-height: 0; display: flex; flex-direction: column; gap: 3px; list-style: none; padding: 0; margin: 0; }

/* ========== 动态指向箭头 ========== */
.fusion-arrow {
  width: 52px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.fusion-arrow svg { position: relative; width: 52px; height: 100%; }

/* ========== 融合节点 ========== */
.fusion-node {
  flex: 1; min-height: 0;
  display: flex; align-items: center;
  position: relative; transition: all .25s; cursor: pointer;
  border-radius: 4px; overflow: hidden;
  background: rgba(82,210,115,0.05);
  border: 1px solid rgba(82,210,115,0.14);
  border-left: 2px solid rgba(82,210,115,0.40);
}
.fusion-col-right .fusion-node {
  background: rgba(255,184,77,0.04);
  border-color: rgba(255,184,77,0.14);
  border-left-color: rgba(255,184,77,0.40);
}
.fusion-node:hover {
  border-color: rgba(82,210,115,0.45); background: rgba(82,210,115,0.09);
  transform: translateX(3px);
  box-shadow: 0 0 12px rgba(82,210,115,0.08);
}
.fusion-col-right .fusion-node:hover {
  border-color: rgba(255,184,77,0.45); background: rgba(255,184,77,0.09);
  box-shadow: 0 0 12px rgba(255,184,77,0.08);
}
.fusion-node .fn-body {
  flex: 1; min-width: 0; padding: 5px 8px 5px 10px;
  display: flex; flex-direction: column; justify-content: center; gap: 2px;
}
.fusion-node .fn-title {
  font-size: 13px; font-weight: 800; letter-spacing: 0.5px; color: #d0ecff;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.fusion-col-right .fusion-node .fn-title { color: #fff3d0; }
.fusion-node .fn-desc { font-size: 11px; color: var(--text-sub); letter-spacing: 0.3px; }

/* ========== 生态分隔线 ========== */
.eco-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(82,210,115,0.4), rgba(255,184,77,0.3), transparent);
  margin: 12px 0; flex-shrink: 0; position: relative;
}
.eco-divider::before {
  content: ''; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%) rotate(45deg);
  width: 8px; height: 8px;
  background: linear-gradient(135deg, var(--green), var(--gold));
  box-shadow: 0 0 10px rgba(120, 220, 150, 0.6);
}
.eco-divider::after {
  content: ''; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 22px; height: 22px;
  border: 1px solid rgba(120, 220, 150, 0.22);
  border-radius: 50%;
}

/* ========== 双碳三级模块 ========== */
.carbon-content { display: flex; flex-direction: column; gap: 5px; flex: 1; min-height: 0; }
.carbon-sub-section { display: flex; flex-direction: column; gap: 14px; flex-shrink: 0; }
.carbon-sub-section:last-child { flex: 1; min-height: 0; }
.carbon-sub-hd {
  font-size: 13px; font-weight: 700; letter-spacing: 1.5px;
  color: rgba(255,184,77,0.9); padding: 4px 8px;
  display: flex; align-items: center; gap: 6px;
  background: linear-gradient(90deg, rgba(255,184,77,0.10), transparent);
  border-left: 2px solid rgba(255,184,77,0.52);
  border-radius: 0 3px 3px 0;
  flex-shrink: 0;
}
.carbon-sub-hd .csh-dot {
  width: 5px; height: 5px; border-radius: 50%; flex-shrink: 0;
  background: var(--gold); box-shadow: 0 0 4px rgba(255,184,77,0.55);
}

/* ========== 碳中和工程研究 ========== */
.carbon-vein-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; flex-shrink: 0; }
.cv-card {
  padding: 6px 8px; border-radius: 5px;
  display: flex; align-items: center; gap: 7px;
  transition: all .25s; position: relative; overflow: hidden;
  background: linear-gradient(135deg, rgba(82,210,115,0.07), rgba(0,45,25,0.05));
  border: 1px solid rgba(82,210,115,0.18);
}
.cv-card:hover { border-color: rgba(82,210,115,0.42); transform: translateY(-1px); box-shadow: 0 3px 10px rgba(82,210,115,0.10); }
.cv-card .cv-icon {
  font-size: 18px; flex-shrink: 0;
  width: 28px; height: 28px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(82,210,115,0.10); border-radius: 3px;
  transition: background .25s, box-shadow .25s;
}
.cv-card:hover .cv-icon {
  background: rgba(82,210,115,0.18);
  box-shadow: 0 0 8px rgba(82,210,115,0.15);
}
.cv-card .cv-text { font-size: 12px; color: #a9eab8; letter-spacing: 0.3px; line-height: 1.35; }

/* ========== 林业碳票区域 ========== */
.carbon-ticket-area { flex-shrink: 0; }
.carbon-ticket-area .ct-body {
  display: flex; align-items: center; gap: 10px;
  padding: 7px 12px 7px 14px;
  background: linear-gradient(90deg, rgba(82,210,115,0.08), rgba(255,184,77,0.05));
  border: 1px solid rgba(82,210,115,0.22); border-radius: 5px;
  position: relative; overflow: hidden;
}
.carbon-ticket-area .ct-body::before {
  content: ''; position: absolute; top: 0; left: 0; bottom: 0; width: 3px;
  background: linear-gradient(180deg, var(--green), var(--gold));
  border-radius: 5px 0 0 5px;
}
.carbon-ticket-area .ct-badge {
  padding: 3px 10px; flex-shrink: 0;
  background: rgba(82,210,115,0.13); border: 1px solid rgba(82,210,115,0.30);
  border-radius: 3px; font-size: 12px; color: var(--green); font-weight: 700; letter-spacing: 2px;
  text-shadow: 0 0 6px rgba(82,210,115,0.4);
}
.carbon-ticket-area .ct-info { font-size: 13px; color: var(--text-sub); letter-spacing: 0.5px; line-height: 1.45; }

/* ========== 固碳增汇 KPI ========== */
.carbon-kpi-cards {
  flex: 1; min-height: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 5px;
}
.ckv-card {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 8px 4px 6px; gap: 2px;
  border-radius: 6px; position: relative; overflow: hidden; transition: all .3s;
}
.ckv-card:nth-child(1), .ckv-card:nth-child(2) {
  background: linear-gradient(160deg, rgba(82,210,115,0.12), rgba(0,40,20,0.06));
  border: 1px solid rgba(82,210,115,0.22);
}
.ckv-card:nth-child(3), .ckv-card:nth-child(4) {
  background: linear-gradient(160deg, rgba(255,184,77,0.10), rgba(40,25,5,0.04));
  border: 1px solid rgba(255,184,77,0.20);
}
.ckv-card::after {
  content: ''; position: absolute; bottom: 0; left: 15%; right: 15%; height: 2px;
  border-radius: 1px;
}
.ckv-card:nth-child(1)::after, .ckv-card:nth-child(2)::after {
  background: linear-gradient(90deg, transparent, rgba(82,210,115,0.4), transparent);
}
.ckv-card:nth-child(3)::after, .ckv-card:nth-child(4)::after {
  background: linear-gradient(90deg, transparent, rgba(255,184,77,0.4), transparent);
}
.ckv-card:hover { transform: translateY(-2px); }
.ckv-card:nth-child(1):hover, .ckv-card:nth-child(2):hover { box-shadow: 0 4px 14px rgba(82,210,115,0.14); }
.ckv-card:nth-child(3):hover, .ckv-card:nth-child(4):hover { box-shadow: 0 4px 14px rgba(255,184,77,0.12); }
.ckv-card .ckv-tree {
  position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 60%; height: 40%; opacity: 0.05; pointer-events: none;
}
.ckv-card .ckv-icon { font-size: 20px; line-height: 1; }
.ckv-card .ckv-val {
  font-family: var(--font-num); font-weight: 700; font-size: 24px; line-height: 1.1;
  font-variant-numeric: tabular-nums; font-feature-settings: "tnum";
}
.ckv-card .ckv-val.green {
  background: linear-gradient(180deg, #fff, #8fe8a8 40%, #52d273);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 0 6px rgba(82,210,115,0.45));
}
.ckv-card .ckv-val.gold {
  background: linear-gradient(180deg, #fff, #ffd97a 40%, #ffb84d);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 0 6px rgba(255,184,77,0.45));
}
.ckv-card .ckv-unit { font-size: 12px; color: var(--text-sub); margin-left: 2px; }
.ckv-card .ckv-label { font-size: 11px; color: var(--text-dim); letter-spacing: 1px; text-align: center; }

/* ========== 中间地图包裹层 ========== */
.map-center-wrap {
  position: absolute;
  top: 0; bottom: 0;
  left: 0; right: 0;
}

/* ========== 图例定位（Tailwind 未包含 right-4/bottom-4，用此替代） ========== */
.map-legend-box {
  position: absolute;
  right: 16px;
  bottom: 16px;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(8px);
  padding: 12px;
  border: 1px solid rgba(0, 212, 255, 0.4);
  z-index: 20;
}

/* 治理面积大数 */
.big-num {
  font-family: var(--font-num); font-weight: 800; font-size: 56px;
  font-variant-numeric: tabular-nums; font-feature-settings: "tnum";
  background: linear-gradient(180deg, #fff 0%, #6eecff 30%, #00d4ff 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 0 10px rgba(0, 212, 255, 0.6));
  line-height: 1;
}

/* ========== 右侧三模块字号整体 +2px ========== */
#right-cols .card-title { font-size: 20px; }
#right-cols .card-title .en { font-size: 13px; }
#right-cols .text-xs { font-size: 20px;}
#right-cols .kpi-unit { font-size: 18px; }
#right-cols .kpi-label { font-size: 16px; }
#right-cols .mode-badge:not(.mode-badge-grid) .ico { font-size: 26px; }
#right-cols .mode-badge:not(.mode-badge-grid) .mode-name { font-size: 18px; }
#right-cols .mode-badge:not(.mode-badge-grid) .mode-desc { font-size: 14px; }
#right-cols .industry-card .ico { font-size: 28px; }
#right-cols .industry-card .name { font-size: 14px; }
#right-cols .industry-card .val { font-size: 24px; }
#right-cols .industry-card .unit { font-size: 14px; }
#right-cols .future-main-title .fmt-icon { font-size: 19px; }
#right-cols .future-main-title .fmt-text { font-size: 17px; }
#right-cols .future-main-title .fmt-tag { font-size: 12px; padding: 2px 8px; }
#right-cols .fusion-col-hd .fch-icon { font-size: 28px; }
#right-cols .fusion-col-hd .fch-title { font-size: 16px; }
#right-cols .fusion-col-hd .fch-sub { font-size: 11px; }
#right-cols .fusion-node .fn-title { font-size: 15px; }
#right-cols .fusion-node .fn-desc { font-size: 13px; }
#right-cols .carbon-sub-hd { font-size: 15px; }
#right-cols .cv-card .cv-icon { font-size: 20px; width: 32px; height: 32px; }
#right-cols .cv-card .cv-text { font-size: 14px; }
#right-cols .carbon-ticket-area .ct-badge { font-size: 14px; }
#right-cols .carbon-ticket-area .ct-info { font-size: 15px; }
#right-cols .ckv-card .ckv-icon { font-size: 36px; }
#right-cols .ckv-card .ckv-val { font-size: 28px; }
#right-cols .ckv-card .ckv-unit { font-size: 18px; }
#right-cols .ckv-card .ckv-label { font-size: 18px; }

/* ========== 右侧三模块去雾：独立合成层 + 提升卡片不透明度 ========== */
#right-cols {
  isolation: isolate;
  position: relative;
}
#right-cols .card {
  background: linear-gradient(180deg, rgba(8, 26, 60, 0.94) 0%, rgba(4, 16, 42, 0.92) 100%);
}
#right-cols .card.card-featured {
  background: linear-gradient(180deg, rgba(10, 30, 72, 0.96) 0%, rgba(4, 18, 48, 0.94) 100%);
}

/* ========== SVG 图标系统 ========== */
.icon {
  display: inline-block; vertical-align: middle;
  color: currentColor;
  flex-shrink: 0;
  filter: drop-shadow(0 0 4px currentColor);
}
.mc-ico .icon       { width: 56px; height: 56px; filter: drop-shadow(0 0 8px currentColor); }
.mc-kong .mc-ico .icon { color: #5fc8ff; }
.mc-tian .mc-ico .icon { color: #36e2c2; }
.mc-ta   .mc-ico .icon { color: #ffd97a; }
.mc-di   .mc-ico .icon { color: #ff8d8d; }
.mode-badge-grid .ico .icon { width: 30px; height: 30px; }
.industry-card .ico .icon   { width: 28px; height: 28px; }
.cv-card .cv-icon .icon     { width: 18px; height: 18px; color: #8fe8a8; }
.ckv-card .ckv-icon .icon   { width: 26px; height: 26px; }
.ckv-card:nth-child(1) .ckv-icon .icon,
.ckv-card:nth-child(2) .ckv-icon .icon { color: #8fe8a8; }
.ckv-card:nth-child(3) .ckv-icon .icon,
.ckv-card:nth-child(4) .ckv-icon .icon { color: #ffd97a; }
.weather-badge .w-icon .icon { width: 22px; height: 22px; color: #aee4ff; }
.user-badge .u-avatar .icon  { width: 18px; height: 18px; color: #cfeaff; }
.future-main-title .fmt-icon .icon { width: 18px; height: 18px; }
.future-main-title.eco-green .fmt-icon .icon { color: var(--green); }
.future-main-title.eco-gold  .fmt-icon .icon { color: var(--gold); }
.fusion-col-hd .fch-icon .icon { width: 22px; height: 22px; }
.fusion-col-left  .fch-icon .icon { color: var(--green); }
.fusion-col-right .fch-icon .icon { color: var(--gold); }

/* 融合节点左侧图标 */
.fusion-node .fn-ico {
  flex-shrink: 0; width: 30px; height: 30px;
  display: flex; align-items: center; justify-content: center;
  margin-left: 6px; border-radius: 4px;
  border: 1px solid;
}
.fusion-node .fn-ico.left  { color: var(--green); border-color: rgba(82,210,115,0.32); background: rgba(82,210,115,0.10); }
.fusion-node .fn-ico.right { color: var(--gold);  border-color: rgba(255,184,77,0.32); background: rgba(255,184,77,0.10); }
.fusion-node .fn-ico .icon { width: 18px; height: 18px; }

/* ========== 右侧三模块图标尺寸放大 ========== */
#right-cols .mode-badge-grid .ico .icon { width: 34px; height: 34px; }
#right-cols .industry-card .ico .icon   { width: 32px; height: 32px; }
#right-cols .cv-card .cv-icon .icon     { width: 20px; height: 20px; }
#right-cols .ckv-card .ckv-icon .icon   { width: 32px; height: 32px; }
#right-cols .future-main-title .fmt-icon .icon { width: 22px; height: 22px; }
#right-cols .fusion-col-hd .fch-icon .icon     { width: 26px; height: 26px; }
#right-cols .fusion-node .fn-ico              { width: 36px; height: 36px; }
#right-cols .fusion-node .fn-ico .icon        { width: 22px; height: 22px; }

/* 卡片悬浮时图标轻微发光增强 */
.mode-badge-grid:hover .ico .icon,
.industry-card:hover .ico .icon,
.cv-card:hover .cv-icon .icon { filter: drop-shadow(0 0 8px currentColor); }

/* ========== 调整 fusion-node 内部布局 ========== */
.fusion-node {
  align-items: stretch;
}
.fusion-node .fn-ico {
  align-self: center;
}

/* ========== 精选卡片增强 (与参考图保持一致的边角强度) ========== */
.card.card-featured::before,
.card.card-featured::after,
.card.card-featured > .corner-tr,
.card.card-featured > .corner-bl {
  width: 18px; height: 18px;
  filter: drop-shadow(0 0 6px rgba(0, 212, 255, 0.85));
}
