/* ================= 字体 ================= */
@font-face {
  font-family: 'PMZD';
  src: local('PangMenZhengDao'), local('庞门正道标题体'), local('庞门正道标题体3.0'),
       url('../fonts/PangMenZhengDao.ttf') format('truetype');
  font-display: swap;
}

/* ================= 基础 ================= */
* { margin: 0; padding: 0; box-sizing: border-box; }
html, body { width: 100%; height: 100%; overflow: hidden; background: #071020; }
body { font-family: 'Source Han Sans CN', 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif; }
ol, ul, li, p { list-style: none; margin: 0; }
button { border: 0; background: none; cursor: pointer; font-family: inherit; }
.abs { position: absolute; }

/* ================= 自适应舞台 ================= */
#screen { width: 100vw; height: 100vh; display: flex; align-items: center; justify-content: center; }
#stage { position: relative; width: 1920px; height: 1080px; flex: none; overflow: hidden; transform-origin: center center; background: #0b172e; }

.bg-img { left: -512px; top: -854px; width: 2840px; height: 2672px; pointer-events: none; mix-blend-mode: multiply; filter: blur(4px); }
.mask { pointer-events: none; }
.mask-l { left: 0; top: 0; width: 565px; height: 808px; }
.mask-r { left: 1355px; top: 0; width: 565px; height: 808px; }
.mask-b { left: -16px; top: 819px; width: 1920px; height: 258px; }

.mod { position: absolute; }

/* ================= 顶栏 ================= */
.topbar { position: absolute; left: 0; top: 0; width: 1920px; height: 90px; }
.logo { position: absolute; left: 24px; top: 24px; width: 40px; }
.brand { position: absolute; left: 72px; top: 27px; font: 32px/34px 'PMZD'; color: #d8f0ff; letter-spacing: 2px; }
.weather-ic { position: absolute; left: 176px; top: 25px; width: 36px; height: 36px; display: block; }
.weather-txt { position: absolute; left: 224px; top: 31px; font-size: 16px; color: #358fe3; }
.weather-temp { position: absolute; left: 296px; top: 31px; font-size: 16px; color: #358fe3; }
.main-title {
  position: absolute; left: 0; top: 11px; width: 100%; text-align: center;
  font: 60px/64px 'PMZD'; color: #dfedf5; letter-spacing: 6px;
  text-shadow: 0 0 18px rgba(79, 199, 255, .55), 0 2px 0 rgba(13, 60, 120, .8);
}
.date-txt { position: absolute; left: 1596px; top: 36px; font-size: 16px; color: #3f91d8; }
.time-txt { position: absolute; left: 1791px; top: 34px; font: 24px/25px 'PMZD'; color: #eff8ff; letter-spacing: 2px; }

/* ================= 通用：一级标题条 (466x40) ================= */
.bar1 { position: absolute; left: 0; top: 0; width: 466px; height: 40px; background: rgba(13, 48, 99, .5); }
.bar1.w422 { width: 422px; } .bar1.w416 { width: 416px; }
.bar-side { position: absolute; left: 0; top: 0; width: 8px; height: 40px; background: #12539d; }
.tab-pair { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 46px; }
.tab-pair.left { justify-content: flex-start; padding-left: 24px; }
.tab-pair .t { font: 20px/21px 'PMZD'; color: #99b3c8; display: flex; align-items: center; gap: 8px; cursor: pointer; }
.tab-pair .t.active { color: #b0d8f5; }
.tab-pair .t em { width: 6px; height: 6px; border-radius: 50%; background: #eab309; }

/* ================= 通用：二级标题条 ================= */
.bar2 { position: absolute; height: 34px; }
.bar2 .dot3 {
  position: absolute; left: 0; top: 0; width: 34px; height: 34px; border-radius: 50%;
  background: radial-gradient(circle at center, #0d2c5d 0 4px, #a4ffff 4px 12px, rgba(11,65,146,.5) 12px 17px, transparent 17px);
}
.bar2 > img { position: absolute; left: 36px; top: 0; width: 427px; height: 34px; }
.bar2.b383 > img { width: 383px; }
.bar2-label { position: absolute; left: 54px; top: 7px; font-size: 13px; color: #b0d8f5; }
.bar2-val { position: absolute; right: 12px; top: 5px; font: 20px/21px 'PMZD'; color: #b0d8f5; }
.bar2-val small { font-size: 13px; color: #99b3c8; margin-left: 3px; font-family: inherit; }

.sub-label { position: absolute; font-size: 12px; color: #99b3c8; display: flex; align-items: center; }
.sub-label i { width: 6px; height: 6px; border-radius: 50%; background: #eab309; margin-right: 6px; }
.sub-label .more { margin-left: auto; color: #99b3c8; text-decoration: none; cursor: pointer; }

/* ================= l-1 ================= */
.m-l1 { left: 32px; top: 104px; width: 466px; height: 302px; }
.stat-cards { position: absolute; left: 33px; top: 52px; width: 400px; display: grid; grid-template-columns: 184px 184px; gap: 12px 32px; }
.stat-card { position: relative; width: 184px; height: 60px; background: #084b80; padding: 8px 10px 0 62px; }
.stat-card .ic {
  position: absolute; left: 6px; top: 6px; width: 48px; height: 48px;
  background: linear-gradient(160deg, #005675, #003452 26%, #001422 74%);
  border: 1px solid #013f70; display: flex; align-items: center; justify-content: center;
}
.stat-card .ic img { width: 36px; }
.stat-card .lb { font-size: 13px; color: #99b3c8; line-height: 19px; }
.stat-card .v { font: 20px/21px 'PMZD'; color: #b0d8f5; margin-top: 2px; }
.stat-card .v small { font-size: 13px; color: #99b3c8; margin-left: 2px; }
.m-l1 .bar2 { left: 0; top: 200px; width: 466px; }
.convert { position: absolute; left: 11px; top: 250px; width: 443px; height: 52px; }
.cv-track { position: absolute; left: 0; top: 17px; width: 443px; height: 6px; background: #1b2940; }
/* 灰色虚线 = 100% 底槽；蓝色虚线 = 完成率，靠容器裁切跟随数据。
   原素材把 67% 的蓝灰分界烤死在图里，数据一变游标就和蓝色末端对不上 */
.cv-dash { position: absolute; left: 0; top: 0; width: 443px; height: 16px; }
.cv-dash::before, .cv-fill::before {
  content: ''; position: absolute; left: 0; top: 0; width: 443px; height: 16px;
  -webkit-mask: repeating-linear-gradient(90deg, #000 0 8px, transparent 8px 15px);
          mask: repeating-linear-gradient(90deg, #000 0 8px, transparent 8px 15px);
}
.cv-dash::before { background: #1b2a40; }
.cv-fill { position: absolute; left: 0; top: 0; width: 0; height: 16px; overflow: hidden; }
.cv-fill::before { background: linear-gradient(90deg, #4992ff, #6fd8ff); }
.cv-arrow {
  position: absolute; left: calc(67% - 5.5px); top: 8px; width: 0; height: 0;
  border-left: 5.5px solid transparent; border-right: 5.5px solid transparent; border-bottom: 17px solid #4edfff;
}
.cv-pct { position: absolute; left: 67%; top: 25px; transform: translateX(-50%); font: 16px/17px 'PMZD'; color: #4edfff; }

/* ================= l-2 ================= */
.m-l2 { left: 43px; top: 407px; width: 457px; height: 411px; }
.btn-row { position: absolute; left: 0; top: 0; width: 100%; height: 60px; }
.tbtn {
  position: absolute; top: 13px; left: 0; width: 170px; height: 34px; font-size: 14px; color: #b0d8f5;
  background: linear-gradient(90deg, #0c356f, #0c356f); border: 1px solid #1760ae;
}
.tbtn + .tbtn { left: 186px; width: 185px; }
.tbtn.small { left: auto; right: 0; width: 70px; top: 13px; height: 34px; }
.tbtn.dim { opacity: .5; }
/* 表头与数据行共用同一套五等分栅格，保证逐列对齐、水平等间距 */
.rank-head {
  position: absolute; left: 0; top: 59px; width: 455px; height: 32px; background: rgba(13, 48, 99, .5);
  font-size: 13px; color: #99b3c8; display: grid; grid-template-columns: repeat(5, 1fr); align-items: center;
}
.rank-head span { text-align: center; }
.rank-rows { position: absolute; left: 0; top: 91px; width: 455px; }
.rank-rows li { position: relative; height: 32px; display: grid; grid-template-columns: repeat(5, 1fr); align-items: center; font-size: 13px; color: #99b3c8; }
.rank-rows li > span { position: relative; text-align: center; }
/* 选中底纹每行都渲染，默认给第一名；鼠标进入列表后交给 hover，实现"选中态跟着鼠标走" */
.rank-rows li .rbg { position: absolute; inset: 0; width: 100%; height: 32px; opacity: 0; transition: opacity .12s; }
.rank-rows li.active .rbg { opacity: 1; }
.rank-rows li:hover .rbg { opacity: 1; }
.rank-rows:hover li.active .rbg { opacity: 0; }
.rank-rows:hover li.active:hover .rbg { opacity: 1; }
.rank-rows li.active { color: #eaf6ff; }
.rank-rows li:hover { color: #eaf6ff; }
.rank-rows:hover li.active { color: #99b3c8; }
.rank-rows:hover li.active:hover { color: #eaf6ff; }
.rank-rows .c-mentor { color: #7fb3e8; }

/* ================= l-3 ================= */
.m-l3 { left: 41px; top: 822px; width: 468px; height: 244px; }
.m-l3 .btn-row { left: 3px; width: 457px; }
.m-l3 .chart { left: 3px; top: 61px; width: 465px; height: 183px; }
.chart { position: absolute; }

/* ================= 中央地图 ================= */
.m-center { left: 0; top: 0; width: 1920px; height: 1080px; pointer-events: none; }
/* 中央区是满幅覆盖层且先于右侧模块绘制，会吃掉左列 tab 的真实点击，只放行可交互子元素 */
.m-center .map-toggle, .m-center .city-tabs { pointer-events: auto; }
#mapArea { position: absolute; left: 620px; top: 224px; width: 760px; height: 551px; pointer-events: auto; }
#mapObj { width: 100%; height: 100%; pointer-events: auto; }
#mapPins { position: absolute; inset: 0; pointer-events: none; z-index: 4; }
/* 热度标记：设计稿的六边形气泡 + 虚线杆（落点圆已按要求去掉），素材 59.15×118，落点＝虚线杆末端 (29.58, 117)
   18 个乡镇全覆盖，按热度分档缩放，transform-origin 钉在落点上，缩放不产生位移 */
#mapPins .mk { position: absolute; width: 59.15px; height: 118px; margin-left: -29.58px; margin-top: -117px; transform-origin: 29.58px 117px; pointer-events: none; }
/* 只有六边形气泡可点：整块 div 若都可点，透明的杆子会挡住相邻乡镇 */
#mapPins .mk-hit { position: absolute; left: 0; top: 0; width: 59.15px; height: 54px; pointer-events: auto; cursor: pointer; }
#mapPins .mk-hi { transform: scale(.85); }
#mapPins .mk-mid { transform: scale(.75); }
#mapPins .mk-low { transform: scale(.62); }
#mapPins .mk > img { position: absolute; inset: 0; width: 100%; height: 100%; }
/* 数字用真实文本渲染（设计稿里是转成 path 的字形），便于后续接接口 */
#mapPins .mk-n { position: absolute; left: 0; top: 19.5px; width: 100%; text-align: center; font-family: PMZD; font-size: 20px; line-height: 18px; color: #fff; }
#mapPins .mk-hi .mk-n { color: #ffe854; }
#mapPins .mk-low .mk-n { color: #d9ccff; }

.sign { position: absolute; height: 56px; }
.sign > img { position: absolute; inset: 0; width: 100%; height: 56px; }
.sign-bar { position: absolute; left: 0; top: 0; width: 4px; height: 56px; background: #00b5fc; }
.sign-txt { position: absolute; left: 14px; top: 6px; }
.s-label { display: block; font-size: 12px; color: #99b3c8; line-height: 18px; }
.s-val { display: block; font: 28px/32px 'PMZD'; color: #b0d8f5; }

.map-toggle { position: absolute; left: 830px; top: 149px; display: flex; gap: 36px; }
.mt { font: 24px/25px 'PMZD'; color: #99b3c8; cursor: pointer; padding-bottom: 4px; }
.mt.active { color: #b0d8f5; border-bottom: 2px solid #2de0ff; }

.map-legend { position: absolute; left: 530px; top: 664px; width: 154px; height: 115px; }
.map-legend > img { position: absolute; inset: 0; }
.lg-body { position: absolute; left: 12px; top: 8px; font-size: 13px; color: #99b3c8; }
.lg-title { font-size: 14px; margin-bottom: 4px; }
.lg-body p { display: flex; align-items: center; line-height: 22px; }
.lg-body i { display: inline-block; width: 12px; height: 12px; margin-right: 6px; }

.map-info { position: absolute; left: 1213px; top: 469px; width: 200px; height: 108px; display: none; z-index: 5; }
.map-info.show { display: block; }
.mi-line { position: absolute; left: 0; top: 0; height: 2px; background: linear-gradient(90deg, rgba(122,194,255,1), rgba(122,194,255,.5)); transform-origin: 0 50%; pointer-events: none; box-shadow: 0 0 5px rgba(122,194,255,.9); z-index: 0; }
.mi-tag, .mi-card, .mi-town { z-index: 1; }
.mi-tag { position: absolute; left: 31px; top: 0; width: 31px; height: 104px; }
.mi-town { position: absolute; left: 37px; top: 14px; writing-mode: vertical-lr; font-size: 16px; color: #fff; letter-spacing: 4px; }
.mi-card { position: absolute; left: 62px; top: 0; width: 132px; height: 104px; }
.mi-card > img { position: absolute; inset: 0; width: 100%; height: 100%; }
.mi-txt { position: absolute; left: 8px; top: 8px; right: 8px; font-size: 10px; color: #99b3c8; line-height: 16px; }
.mi-txt p { display: flex; justify-content: space-between; gap: 4px; white-space: nowrap; }
.mi-txt .v { color: #fff; font-size: 10px; font-weight: 400; }

.stat-numbers { position: absolute; left: 544px; top: 915px; }
.city-tabs { position: absolute; left: 718px; top: 956px; width: 220px; display: grid; grid-template-columns: 104px 104px; gap: 8px 12px; z-index: 2; }
.city-tabs .ct {
  width: 104px; height: 25px; background: rgba(13, 48, 99, .55); border: 1px solid rgba(23, 96, 174, .6);
  font-size: 12px; color: #99b3c8; display: flex; align-items: center; justify-content: space-between; padding: 0 8px;
}

/* ================= 底部：项目数量统计 ================= */
.m-donut { left: 529px; top: 821px; width: 423px; height: 236px; }
.m-donut .bar2 { left: 0; top: 52px; width: 423px; }
.donut-wrap { position: absolute; left: 15px; top: 94px; width: 137px; height: 140px; }
.donut-wrap .chart { inset: 0; }
.donut-wrap .rings {
  position: absolute; left: 6px; top: 8px; width: 124px; height: 124px; border-radius: 50%;
  background:
    radial-gradient(circle, transparent 0 2px, #0e3a6e 2px 20px, transparent 20px),
    radial-gradient(circle, transparent 20px 28px, #0e3a6e 28px 30px, transparent 30px),
    radial-gradient(circle, transparent 30px 38px, #0e3a6e 38px 40px, transparent 40px),
    radial-gradient(circle, transparent 40px 48px, #0e3a6e 48px 50px, transparent 50px),
    radial-gradient(circle, transparent 50px 58px, #0e3a6e 58px 62px, transparent 62px);
}
.donut-chip {
  position: absolute; left: 48px; bottom: 0; width: 41px; height: 18px; background: #0c3a68;
  font-size: 12px; color: #b0d8f5; display: flex; align-items: center; justify-content: center;
}
.m-donut .sub-label { left: 176px; top: 100px; }
.m-donut .city-tabs { left: 189px; top: 135px; }

/* ================= 底部：项目内容统计 ================= */
.m-content { left: 972px; top: 821px; width: 434px; height: 236px; }
.content-stats { position: absolute; left: 37px; top: 52px; width: 374px; display: flex; gap: 46px; }
.cs-item { display: flex; align-items: center; gap: 10px; }
.cs-item img { width: 44px; }
.cs-item p { font-size: 13px; color: #99b3c8; line-height: 19px; }
.cs-item .v { font: 20px/21px 'PMZD'; color: #b0d8f5; }
.cs-item .v small { font-size: 13px; color: #99b3c8; }
.m-content .sub-label { left: 16px; top: 110px; width: 418px; }
/* 面板高度有限，展开到 6 条后在容器内滚动（3 条时正好铺满，不出滚动条） */
.top-rows { position: absolute; left: 16px; top: 134px; width: 418px; height: 111px; overflow-y: auto; padding-right: 4px; }
.top-rows::-webkit-scrollbar { width: 6px; }
.top-rows::-webkit-scrollbar-thumb { background: rgba(45, 224, 255, .35); }
.top-rows::-webkit-scrollbar-track { background: rgba(255, 255, 255, .04); }
.top-rows .tr { height: 37px; }
.tr-head { display: flex; font-size: 11px; line-height: 20px; }
.tr-head .tag { color: #01c1e9; }
.tr-head .name { color: inherit; }
.tr-head .val { margin-left: auto; }
.tr:nth-child(1) .tr-head { color: #01c1e9; }
.tr:nth-child(n+2) .tr-head { color: #a6bff0; }
.tr-bar { position: relative; width: 100%; height: 3px; background: rgba(22, 75, 118, .5); }
.tr-bar i { position: absolute; left: 0; top: 0; height: 3px; background: linear-gradient(90deg, #0170fe, #01c1e9); }
.tr-bar em { position: absolute; top: -2px; width: 7px; height: 7px; border-radius: 50%; background: #7fe7ff; }

/* ================= r-1 ================= */
.m-r1 { left: 1422px; top: 104px; width: 466px; height: 215px; }
.r1-desc { position: absolute; left: 9px; top: 52px; font-size: 14px; color: #99b3c8; display: flex; align-items: center; }
.r1-desc .tri { width: 0; height: 0; border-left: 7.5px solid transparent; border-right: 7.5px solid transparent; border-top: 11px solid #b0d8f5; margin-right: 6px; }
.gauge-row { position: absolute; left: 55px; top: 92px; display: flex; gap: 32px; }
.gauge-item { width: 97px; text-align: center; }
.gauge-item .g { position: relative; width: 72px; height: 72px; margin: 0 auto; }
.gauge-item .cap { font-size: 12px; color: #99b3c8; line-height: 18px; margin-top: 2px; white-space: pre-line; }

/* ================= r-2 ================= */
.m-r2 { left: 1422px; top: 343px; width: 467px; height: 323px; }
.m-r2 .bar2 { left: 0; top: 0; width: 466px; }
.m-r2 .chart { left: 0; top: 61px; width: 467px; height: 262px; }

/* ================= r-3 ================= */
.m-r3 { left: 1426px; top: 686px; width: 468px; height: 371px; }
.r3-sub { position: absolute; left: 29px; top: 56px; font-size: 16px; color: #266bf2; }
.r3-line { position: absolute; left: 0; top: 90px; width: 466px; height: 1px; background: rgba(63, 145, 216, .3); }
.r3-line::before { content: ''; position: absolute; left: 0; width: 16px; height: 1px; background: #3f91d8; }
.r3-box { position: absolute; left: 0; top: 112px; width: 468px; height: 89px; }
.r3-bg { position: absolute; left: 0; top: 0; width: 468px; height: 89px; }
.r3-hex { position: absolute; opacity: .9; }
.r3-cell { position: absolute; top: 8px; display: flex; align-items: center; gap: 6px; }
.r3-cell img { width: 64px; }
.r3-cell.left { left: 18px; }
.r3-cell.right { right: 6px; }
.r3-cell.right img { width: 82px; }
.r3-cell.mid { left: 0; width: 100%; justify-content: center; top: 2px; }
.r3-cell .lb1 { font-size: 14px; color: #4992ff; } .r3-cell .n1 { font-size: 32px; color: #0170fe; font-weight: 700; line-height: 40px; }
.r3-cell .lb2 { font-size: 16px; color: #99b3c8; text-align: center; } .r3-cell .n2 { font-size: 36px; color: #b0d8f5; font-weight: 700; line-height: 46px; text-align: center; }
.r3-cell .lb3 { font-size: 14px; color: #0093d3; text-align: center; } .r3-cell .n3 { font-size: 32px; color: #00b5fc; font-weight: 700; line-height: 40px; text-align: center; }
.r3-legend { position: absolute; left: 39px; top: 224px; display: flex; gap: 24px; font-size: 14px; }
.r3-legend span { display: flex; align-items: center; gap: 6px; }
.r3-legend i { width: 12px; height: 12px; display: inline-block; }
.r3-chart { position: absolute; left: 0; top: 254px; width: 468px; height: 117px; }
.r3-ylab { position: absolute; left: 14px; top: 12px; display: flex; flex-direction: column; justify-content: space-between; height: 66px; font-size: 12px; color: #99b3c8; text-align: left; width: 56px; }
.r3-bars { position: absolute; left: 81px; top: 14px; width: 300px; }
.r3-bars .row { position: relative; height: 27px; }
.r3-bars .seg { position: absolute; top: 6px; height: 6px; }
.r3-bars .seg.a { background: #0170fe; }
.r3-bars .seg.b { background: linear-gradient(90deg, #29c3ff, #00b5fc); }
.r3-bars .seg.c { background: #e3e5e5; }
.r3-bars .tick { position: absolute; top: 4px; width: 1px; height: 10px; background: linear-gradient(#fff, #32f3ff, #fff); }
.r3-tag { position: absolute; width: 34px; height: 18px; background: #eab309; border-radius: 4px; color: #0d3063; font-size: 12px; display: flex; align-items: center; justify-content: center; }
.r3-tag::before { content: ''; position: absolute; left: -24px; top: 9px; width: 24px; height: 1px; background: #eab309; }
.r3-xlab { position: absolute; left: 56px; top: 100px; width: 341px; display: flex; justify-content: space-between; font-size: 12px; color: rgba(153, 179, 200, .5); }

/* ================= 结对明细弹窗（点地图气泡打开） ================= */
.modal-mask { position: absolute; inset: 0; background: rgba(3, 9, 18, .74); backdrop-filter: blur(2px); display: none; align-items: center; justify-content: center; z-index: 20; }
.modal-mask.show { display: flex; }
.modal { width: 940px; height: 660px; display: flex; flex-direction: column; background: linear-gradient(180deg, #0d2036, #071426); border: 1px solid rgba(45, 224, 255, .35); box-shadow: 0 0 46px rgba(0, 120, 200, .28), inset 0 0 70px rgba(0, 90, 160, .12); }
.md-head { display: flex; align-items: center; height: 56px; padding: 0 18px 0 20px; border-bottom: 1px solid rgba(45, 224, 255, .2); background: linear-gradient(90deg, rgba(0, 120, 190, .3), rgba(0, 120, 190, 0)); }
.md-bar { width: 4px; height: 20px; margin-right: 10px; background: #00b5fc; }
.md-town { flex: 0 0 auto; white-space: nowrap; font-family: PMZD; font-size: 24px; color: #fff; letter-spacing: 2px; }
.md-mentor { flex: 1 1 auto; min-width: 0; margin-left: auto; padding-left: 16px; text-align: right; font-size: 13px; line-height: 18px; color: #99b3c8; }
.md-mentor b { color: #fff; font-weight: 400; }
.md-close { flex: 0 0 auto; width: 26px; height: 26px; margin-left: 14px; display: flex; align-items: center; justify-content: center; border: 1px solid rgba(153, 179, 200, .4); color: #99b3c8; font-size: 13px; font-style: normal; cursor: pointer; }
.md-close:hover { color: #fff; border-color: #2de0ff; }
.md-sum { display: flex; gap: 14px; padding: 14px 20px; }
.md-sum .s { flex: 1; padding: 10px 14px; border: 1px solid rgba(45, 224, 255, .18); background: rgba(13, 45, 72, .5); }
.md-sum .s p { font-size: 12px; color: #99b3c8; }
.md-sum .s b { font-family: PMZD; font-size: 26px; color: #2de0ff; font-weight: 400; }
.md-sum .s small { font-size: 12px; color: #99b3c8; margin-left: 4px; }
.md-table { flex: 1; min-height: 0; display: flex; flex-direction: column; margin: 0 20px 18px; border: 1px solid rgba(45, 224, 255, .18); }
.md-row { display: grid; grid-template-columns: var(--cols, repeat(5, 1fr)); align-items: center; height: 34px; padding: 0 12px; font-size: 13px; color: #cfe3f2; border-bottom: 1px solid rgba(45, 224, 255, .08); }
.md-row > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.md-th { height: 38px; background: rgba(0, 110, 180, .22); color: #9fd6ff; }
.md-body { flex: 1; min-height: 0; overflow-y: auto; }
.md-body .md-row:nth-child(even) { background: rgba(255, 255, 255, .025); }
.md-body .md-row:hover { background: rgba(0, 140, 220, .16); }
.md-body .no { font-family: PMZD; color: #99b3c8; }
/* 阶段/状态用 ASCII 下标类名，避免中文类名在个别引擎下的选择器风险 */
.md-body .g0 { color: #00b5fc; }
.md-body .g1 { color: #ffd24d; }
.md-body .g2 { color: #a98cff; }
.md-body .st { display: inline-block; width: 62px; text-align: center; line-height: 20px; border-radius: 3px; font-size: 12px; }
.md-body .st.s0 { background: rgba(0, 181, 252, .16); color: #6cd3f0; }
.md-body .st.s1 { background: rgba(45, 224, 255, .22); color: #2de0ff; }
.md-body .st.s2 { background: rgba(255, 210, 77, .18); color: #ffd24d; }
.md-body .st.s3 { background: rgba(77, 224, 160, .18); color: #4de0a0; }
.md-body::-webkit-scrollbar { width: 8px; }
.md-body::-webkit-scrollbar-thumb { background: rgba(45, 224, 255, .32); }
.md-body::-webkit-scrollbar-track { background: rgba(255, 255, 255, .04); }

/* ================= 下钻交互 ================= */
/* 所有可下钻元素统一给手型 + 悬停提亮，一眼能看出可点 */
[data-drill] { cursor: pointer; }
[data-drill]:hover { filter: brightness(1.25); }
/* 中央区是满幅遮罩层（pointer-events:none），指示卡与图例要单独恢复点击 */
.m-center .sign, .m-center .map-legend { pointer-events: auto; }

/* #cityTabs 位于 .m-center（满幅遮罩）内，而 .m-donut/.m-content 的透明盒区盖在它上面；
   靠 z-index 提到同一 stacking context（#stage）的前面，点击才能命中 */

/* 弹窗内：说明行 + 返回上一级 + 可再下钻的行 */
.md-note { display: none; margin: 0 20px 12px; padding: 9px 12px; font-size: 13px; color: #cfe3f2;
  background: rgba(13, 45, 72, .5); border-left: 3px solid #00b5fc; }
.md-back { display: none; flex: 0 0 auto; align-items: center; height: 26px; margin-left: 14px; padding: 0 10px; white-space: nowrap;
  border: 1px solid rgba(153, 179, 200, .4); color: #99b3c8; font-size: 12px; font-style: normal; cursor: pointer; }
.md-back:hover { color: #fff; border-color: #2de0ff; }
.md-row.can-drill { cursor: pointer; }
.md-body .md-row.can-drill:hover { background: rgba(0, 160, 230, .26); color: #fff; }

/* ================= 动效层（只用 transform / opacity） ================= */
.fx-particles { position: absolute; left: 0; top: 0; width: 1920px; height: 1080px; pointer-events: none; }
.fx-off * { animation: none !important; transition: none !important; }
.fx-rise { opacity: 0; animation: fxRise .62s cubic-bezier(.22, .61, .36, 1) var(--fx-delay, 0ms) forwards; }
@keyframes fxRise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.fx-fade { animation: fxFade 1.1s ease-out .18s both; }
@keyframes fxFade { from { opacity: 0; } to { opacity: 1; } }

/* 气泡呼吸圈：只动 scale 与 opacity，不重排 */
#mapPins .mk-hit::after { content: ''; position: absolute; left: 50%; top: 24%; width: 54px; height: 54px;
  margin: -27px 0 0 -27px; border-radius: 50%; border: 1px solid rgba(120, 220, 255, .6);
  animation: mkPulse 2.9s ease-out infinite; }
#mapPins .mk-hi .mk-hit::after { border-color: rgba(255, 232, 84, .65); }
@keyframes mkPulse { 0% { transform: scale(.62); opacity: 0; } 22% { opacity: .8; } 100% { transform: scale(1.55); opacity: 0; } }

/* 悬停微抬升：给卡片类元素一点"可点"的反馈 */
.stat-card, .cs-item, .gauge-item, .sign, .map-legend { transition: transform .18s ease, filter .18s ease; }
.stat-card[data-drill]:hover, .cs-item[data-drill]:hover, .gauge-item:hover, .sign[data-drill]:hover { transform: translateY(-2px); }
