html,body{margin:0;padding:0;font-family:-apple-system,'Segoe UI','PingFang SC','Microsoft YaHei',sans-serif;background:#0b1026;color:#c8d2e8}
*{box-sizing:border-box}
a{color:#5da2ff;text-decoration:none}
::selection{background:rgba(93,162,255,.4)}
/* ---------- hero ---------- */
.hero{position:relative;padding:64px 32px 42px;text-align:center;
 background:radial-gradient(ellipse at 50% -20%,rgba(43,84,255,.45) 0%,rgba(11,16,38,0) 60%),
 linear-gradient(160deg,#0b1026 0%,#101a3d 55%,#0b1026 100%);
 border-bottom:1px solid rgba(120,150,255,.15)}
.hero h1{margin:0 0 14px;font-size:34px;letter-spacing:6px;color:#eef3ff}
.hero h1 span{background:linear-gradient(90deg,#63b3ff,#7ef7d3);-webkit-background-clip:text;background-clip:text;color:transparent}
.hero p{margin:0 auto;max-width:860px;font-size:14px;color:#8fa1c7;line-height:1.9}
.hero .meta{margin-top:22px;font-size:12px;color:#5f719c}
.badges{margin-top:16px}
.badges span{display:inline-block;margin:0 5px;padding:4px 14px;border:1px solid rgba(99,179,255,.35);border-radius:14px;font-size:12px;color:#7ecbff}
/* ---------- layout ---------- */
.wrap{width:96%;max-width:1680px;margin:0 auto}
section{padding:36px 0 8px}
/* ---------- 栏头 ---------- */
.sec-head{display:flex;align-items:baseline;flex-wrap:wrap;gap:4px 14px;margin:0 0 10px;padding-bottom:10px;border-bottom:1px solid rgba(120,150,255,.1)}
.sec-head .tt{position:relative;padding-left:13px;font-size:17px;font-weight:600;color:#eef3ff;letter-spacing:1px}
.sec-head .tt::before{content:'';position:absolute;left:0;top:3px;bottom:3px;width:4px;border-radius:2px;background:linear-gradient(180deg,#63b3ff,#41e0c0)}
.sec-head .desc{font-size:12px;color:#5f719c;line-height:1.6}
/* ---------- kpi ---------- */
.kpis{display:grid;grid-template-columns:repeat(5,1fr);gap:14px;margin:14px 0 4px}
.kpi{position:relative;padding:18px 20px;border:1px solid rgba(120,150,255,.18);border-radius:10px;
 background:linear-gradient(150deg,rgba(38,58,130,.35),rgba(20,30,70,.25));overflow:hidden}
.kpi::after{content:'';position:absolute;right:-30px;top:-30px;width:90px;height:90px;border-radius:50%;background:radial-gradient(circle,rgba(63,140,255,.25),transparent 70%)}
.kpi .num{font-size:28px;font-weight:700;color:#fff;font-family:Consolas,monospace}
.kpi .num i{font-style:normal;font-size:13px;color:#8fa1c7;margin-left:4px}
.kpi .label{margin-top:6px;font-size:13px;color:#8fa1c7}
.kpi .trend{margin-top:4px;font-size:12px;color:#4cd9a5}
.kpi .trend.warn{color:#ffd66e}
/* ---------- mtn-map：地图 + 梯队图例 + 客流榜单 ---------- */
.mtn-panel{display:grid;grid-template-columns:1.6fr 1fr;gap:16px;margin:14px 0 6px}
.mtn-chart{position:relative;padding:6px;border:1px solid rgba(120,150,255,.15);border-radius:10px;background:rgba(15,23,56,.5);height:540px}
/* 地图容器撑满：首子元素通配（全国名山分布 #mtn-map 与 名山客流监测 #visit-map 共用，避免高度缺失导致地图空白） */
.mtn-chart>div:first-child{width:100%;height:100%}
/* 图例：左上角竖排小列，pointer-events 放行鼠标，不再阻挡地图拖拽/滚轮缩放 */
.map-legend{position:absolute;left:14px;top:14px;z-index:5;display:flex;flex-direction:column;gap:7px;padding:10px 14px;border-radius:8px;background:rgba(11,16,38,.72);border:1px solid rgba(120,150,255,.22);font-size:12px;color:#9fb4dd;pointer-events:none}
.map-legend span{display:flex;align-items:center;white-space:nowrap}
.map-legend i{width:10px;height:10px;border-radius:50%;margin-right:8px;flex:none}
.map-legend em{font-style:normal;margin-left:12px;color:#5f719c;font-family:Consolas,monospace}
.map-legend .mtn-lgm{color:#4a5878;font-size:11px;margin-top:2px}
.mtn-rank{border:1px solid rgba(120,150,255,.15);border-radius:10px;background:rgba(15,23,56,.5);height:540px;overflow:auto}
.mtn-rank h4{margin:0;padding:14px 16px;font-size:14px;color:#9fb4dd;border-bottom:1px solid rgba(120,150,255,.12)}
.rank-item{display:flex;align-items:center;margin:10px 16px;font-size:12px}
.rank-item .rn{flex:none;width:74px;color:#c3cee6;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.rank-item .track{display:block;flex:1;height:8px;border-radius:4px;background:rgba(120,150,255,.12);margin:0 8px;overflow:hidden}
.rank-item .fill{display:block;height:8px;border-radius:4px;background:linear-gradient(90deg,#2f7bff,#41e0c0);min-width:4px}
.rank-item .val{width:104px;flex:none;text-align:right;color:#8fa1c7;font-family:Consolas,monospace;white-space:nowrap}
/* ---------- elevation：左柱图 + 右档案表（等高536px） ---------- */
.el-panel{display:grid;grid-template-columns:1.25fr 1fr;gap:16px;margin:14px 0 6px;align-items:start}
.el-chart-box{padding:14px;border:1px solid rgba(120,150,255,.15);border-radius:10px;background:rgba(15,23,56,.5);height:536px}
.el-legend{display:flex;flex-wrap:wrap;gap:10px;padding:2px 6px 8px;font-size:12px;color:#8fa1c7}
.el-legend span{display:inline-flex;align-items:center}
.el-legend b{display:inline-block;width:10px;height:10px;border-radius:2px;margin-right:5px;vertical-align:-1px}
.el-legend .total{margin-left:auto;color:#ffd66e;font-family:Consolas,monospace}
.el-table-wrap{border:1px solid rgba(120,150,255,.15);border-radius:10px;background:rgba(15,23,56,.5);display:flex;flex-direction:column;overflow:hidden;height:536px}
.el-table-wrap h4{margin:0;padding:14px 16px;font-size:14px;color:#9fb4dd;border-bottom:1px solid rgba(120,150,255,.12);flex:none}
.el-table-scroll{overflow:auto;flex:1;min-height:0}
table.tt2{width:100%;border-collapse:collapse;font-size:12.5px}
table.tt2 thead th{position:sticky;top:0;background:#16214a;color:#9fb4dd;padding:9px 12px;text-align:left;font-weight:600;z-index:2}
table.tt2 td{padding:8px 12px;border-top:1px solid rgba(120,150,255,.08);color:#c3cee6;vertical-align:top}
table.tt2 tr.cat td{background:rgba(63,140,255,.07);color:#9fb4dd;font-weight:600;padding:7px 12px;border-top:1px solid rgba(120,150,255,.16)}
table.tt2 tr.cat b{display:inline-block;width:9px;height:9px;border-radius:2px;margin-right:7px;vertical-align:-1px}
table.tt2 tr.item{cursor:pointer}
table.tt2 tr.item:hover,table.tt2 tr.item.hi{background:rgba(63,140,255,.1)}
.t-el{font-family:Consolas,monospace;color:#ffd66e;white-space:nowrap}
.t-gr{color:#8fa1c7;font-size:12px}
.t-rt{display:inline-block;padding:1px 8px;border-radius:9px;font-size:11px;background:rgba(76,217,165,.15);color:#4cd9a5;white-space:nowrap}
/* ---------- alert ---------- */
.alert-panel{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin:14px 0 6px}
.alert-item{display:flex;gap:12px;padding:16px;border:1px solid rgba(120,150,255,.15);border-radius:10px;background:rgba(15,23,56,.5)}
.alert-item .lv{flex:none;width:6px;border-radius:3px}
.alert-item .b{flex:1;min-width:0}
.alert-item .t{font-size:14px;font-weight:600;color:#eef3ff}
.alert-item .t em{font-style:normal;display:inline-block;margin-left:8px;padding:1px 8px;border-radius:9px;font-size:11px;vertical-align:1px}
.alert-item .lv-red em{background:rgba(255,109,109,.2);color:#ff8b8b}
.alert-item .lv-orange em{background:rgba(255,214,110,.2);color:#ffd66e}
.alert-item .lv-yellow em{background:rgba(255,235,140,.2);color:#ffeb8c}
.alert-item .lv-blue em{background:rgba(99,179,255,.2);color:#7ecbff}
.alert-item .s{margin-top:6px;font-size:12.5px;color:#8fa1c7;line-height:1.7}
.alert-item .m{margin-top:6px;font-size:12px;color:#5f719c;font-family:Consolas,monospace}
.alert-empty{grid-column:1/-1;padding:30px;text-align:center;color:#4cd9a5;font-size:13px;border:1px dashed rgba(76,217,165,.3);border-radius:10px}
/* ---------- news ---------- */
.news-panel{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:14px 0 6px}
.news-box{border:1px solid rgba(120,150,255,.15);border-radius:10px;background:rgba(15,23,56,.5);padding:6px 0}
.news-box h4{margin:0;padding:12px 16px;font-size:14px;color:#9fb4dd;border-bottom:1px solid rgba(120,150,255,.12)}
.news-list{max-height:430px;overflow:auto;padding:6px 0}
.news-item{display:flex;padding:11px 16px;border-bottom:1px dashed rgba(120,150,255,.08)}
.news-item .d{flex:none;width:74px;font-size:12px;color:#5f719c;font-family:Consolas,monospace;padding-top:2px}
.news-item .b{flex:1}
.news-item .t{font-size:13.5px;color:#dfe8ff;line-height:1.5}
.news-item .t a{color:#dfe8ff}
.news-item .t a:hover{color:#7ecbff}
.news-item .s{margin-top:3px;font-size:12px;color:#5f719c}
.news-item .s em{font-style:normal;color:#4cd9a5;margin-right:10px}
/* ---------- footer ---------- */
footer{margin-top:50px;padding:26px 24px;border-top:1px solid rgba(120,150,255,.12);text-align:center;font-size:12px;color:#5f719c;line-height:2}
/* ---------- responsive ---------- */
@media (max-width:960px){
 .kpis{grid-template-columns:repeat(2,1fr)}
 .mtn-panel,.news-panel,.el-panel{grid-template-columns:1fr}
 .alert-panel{grid-template-columns:1fr}
 .el-chart-box{height:auto}
 .el-table-wrap{height:auto}
 .mtn-chart{height:420px}
 .hero h1{font-size:24px;letter-spacing:3px}
 .sec-head .tt{font-size:15px}
}
/* scrollbar */
::-webkit-scrollbar{width:8px;height:8px}
::-webkit-scrollbar-thumb{background:rgba(120,150,255,.25);border-radius:4px}
::-webkit-scrollbar-track{background:transparent}