/* 大屏可视化端公共样式（设计稿 1920×1080，自适应缩放） */
:root { --bg: #030b1f; --panel: rgba(10, 32, 74, .55); --line: #1b4a9c; --glow: #3aa0ff; --txt: #cfe3ff; --sub: #7f9cc9; --ai: #3aa0ff; --hpc: #ffb020; --gen: #22d3a0; --red: #ff5a5f; }
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { width: 100%; height: 100%; background: #02060f; overflow: hidden; font-family: -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif; color: var(--txt); }
#stage { position: absolute; left: 50%; top: 50%; width: 1920px; height: 1080px; transform-origin: center center; background: radial-gradient(ellipse at 50% 0%, #0a2a66 0%, var(--bg) 60%); overflow: hidden; }
.hd { height: 86px; display: flex; align-items: center; justify-content: space-between; padding: 0 40px; background: linear-gradient(180deg, rgba(58,160,255,.18), transparent); border-bottom: 1px solid rgba(58,160,255,.25); position: relative; }
.hd h1 { position: absolute; left: 50%; transform: translateX(-50%); font-size: 40px; letter-spacing: 6px; font-weight: 700; background: linear-gradient(180deg, #fff, #7fc4ff); -webkit-background-clip: text; color: transparent; text-shadow: 0 0 20px rgba(58,160,255,.35); white-space: nowrap; }
.hd .nav { display: flex; gap: 10px; z-index: 2; }
.hd .nav a { color: var(--sub); text-decoration: none; padding: 6px 16px; border: 1px solid rgba(58,160,255,.3); border-radius: 4px; font-size: 16px; }
.hd .nav a.on, .hd .nav a:hover { color: #fff; background: rgba(58,160,255,.25); border-color: var(--glow); }
.hd .clock { font-size: 18px; color: var(--sub); z-index: 2; text-align: right; }
.hd .clock a { color: var(--sub); margin-left: 14px; font-size: 14px; }
.body { position: absolute; top: 96px; left: 24px; right: 24px; bottom: 20px; display: grid; gap: 14px; }
.panel { background: var(--panel); border: 1px solid var(--line); border-radius: 4px; padding: 14px 18px; position: relative; display: flex; flex-direction: column; min-height: 0; }
.panel::before, .panel::after { content: ""; position: absolute; width: 14px; height: 14px; border: 2px solid var(--glow); }
.panel::before { left: -1px; top: -1px; border-right: 0; border-bottom: 0; } .panel::after { right: -1px; bottom: -1px; border-left: 0; border-top: 0; }
.panel h2 { font-size: 20px; font-weight: 600; color: #e8f2ff; margin-bottom: 8px; display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.panel h2::before { content: ""; width: 4px; height: 18px; background: var(--glow); box-shadow: 0 0 8px var(--glow); }
.panel h2 small { margin-left: auto; font-size: 14px; color: var(--sub); font-weight: 400; }
.fill { flex: 1; min-height: 0; width: 100%; }
.kpis { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.kpi { text-align: center; padding: 14px 8px; background: var(--panel); border: 1px solid var(--line); border-radius: 4px; }
.kpi .n { font-size: 46px; font-weight: 700; font-family: "DIN Alternate", "Helvetica Neue", Arial, sans-serif; color: #fff; text-shadow: 0 0 14px rgba(58,160,255,.7); line-height: 1.15; }
.kpi .n small { font-size: 18px; color: var(--sub); margin-left: 4px; font-weight: 400; }
.kpi .l { color: var(--sub); font-size: 16px; }
.list .row { display: flex; align-items: center; gap: 10px; padding: 7px 0; font-size: 17px; border-bottom: 1px dashed rgba(58,160,255,.18); }
.list .row .rk { width: 24px; height: 24px; border-radius: 4px; background: rgba(58,160,255,.25); text-align: center; line-height: 24px; font-size: 14px; flex-shrink: 0; }
.list .row .rk.top { background: var(--red); color: #fff; }
.list .row .nm { width: 150px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.list .row .bar { flex: 1; height: 10px; background: rgba(255,255,255,.08); border-radius: 5px; overflow: hidden; }
.list .row .bar i { display: block; height: 100%; border-radius: 5px; background: linear-gradient(90deg, #1d6fff, #3aa0ff); }
.list .row .bar i.hot { background: linear-gradient(90deg, #ff8a3d, #ff5a5f); }
.list .row .v { width: 56px; text-align: right; font-family: Arial; }
.ticker { overflow: hidden; position: relative; flex: 1; min-height: 0; }
.ticker .inner { animation: roll 18s linear infinite; }
.ticker:hover .inner { animation-play-state: paused; }
@keyframes roll { from { transform: translateY(0); } to { transform: translateY(-50%); } }
.item { padding: 9px 0; font-size: 16px; border-bottom: 1px dashed rgba(58,160,255,.18); line-height: 1.5; }
.item .tg { display: inline-block; padding: 0 8px; border-radius: 3px; font-size: 13px; margin-right: 8px; background: rgba(255,176,32,.2); color: var(--hpc); }
.item .tg.b { background: rgba(58,160,255,.2); color: var(--ai); } .item .tg.g { background: rgba(34,211,160,.2); color: var(--gen); } .item .tg.r { background: rgba(255,90,95,.2); color: var(--red); }
.item small { display: block; color: var(--sub); font-size: 13px; }
.legend { display: flex; gap: 16px; font-size: 14px; color: var(--sub); }
.legend i { display: inline-block; width: 10px; height: 10px; margin-right: 5px; border-radius: 2px; }
.sel { background: rgba(10,32,74,.8); color: #fff; border: 1px solid var(--glow); padding: 6px 12px; font-size: 16px; border-radius: 4px; z-index: 3; position: relative; }
.big-num { font-family: "DIN Alternate", Arial, sans-serif; font-size: 54px; font-weight: 700; color: #fff; text-shadow: 0 0 14px rgba(58,160,255,.7); }
