/* =========================================================
   领导驾驶舱（大屏投屏）1920×1080 设计稿 + 等比缩放
   科技感主题：深空底 + 青金双色 + 四角框线 + 流光 + 雷达扫描
   ========================================================= */
.sc-root {
  position: fixed; inset: 0; z-index: 3000; overflow: hidden;
  background:
    radial-gradient(1200px 700px at 50% -12%, rgba(37, 99, 235, 0.26), transparent 60%),
    radial-gradient(900px 560px at 4% 104%, rgba(61, 220, 255, 0.10), transparent 60%),
    radial-gradient(900px 560px at 98% 96%, rgba(240, 199, 94, 0.10), transparent 60%),
    linear-gradient(180deg, #030814 0%, #040d1c 45%, #020610 100%);
}
/* 网格 */
.sc-root::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(80, 190, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(80, 190, 255, 0.055) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(circle at 50% 45%, #000 25%, transparent 90%);
  -webkit-mask-image: radial-gradient(circle at 50% 45%, #000 25%, transparent 90%);
}
/* 顶部流光条 */
.sc-root::after {
  content: ''; position: absolute; left: 0; right: 0; top: 0; height: 3px; pointer-events: none;
  background: linear-gradient(90deg, transparent, #3ddcff, #f0c75e, #3ddcff, transparent);
  background-size: 50% 100%;
  animation: sc-topflow 6s linear infinite;
}
@keyframes sc-topflow { 0% { background-position: -100% 0; } 100% { background-position: 200% 0; } }

/* 漂浮光点 */
.sc-particles {
  position: absolute; inset: 0; pointer-events: none; opacity: .55;
  background-image:
    radial-gradient(2px 2px at 12% 22%, rgba(61, 220, 255, .8), transparent 60%),
    radial-gradient(2px 2px at 78% 16%, rgba(240, 199, 94, .8), transparent 60%),
    radial-gradient(1.5px 1.5px at 34% 72%, rgba(61, 220, 255, .7), transparent 60%),
    radial-gradient(1.5px 1.5px at 62% 84%, rgba(255, 255, 255, .6), transparent 60%),
    radial-gradient(1.5px 1.5px at 88% 58%, rgba(61, 220, 255, .6), transparent 60%),
    radial-gradient(1.5px 1.5px at 20% 52%, rgba(240, 199, 94, .55), transparent 60%);
  animation: sc-drift 18s ease-in-out infinite alternate;
}
@keyframes sc-drift { 0% { transform: translate3d(0, 0, 0); } 100% { transform: translate3d(0, -26px, 0); } }

.sc-stage {
  position: absolute; left: 50%; top: 50%;
  width: 1920px; height: 1080px;
  transform-origin: center center;
  display: flex; flex-direction: column;
  padding: 10px 14px 14px;
}
/* 全屏扫描线 */
.sc-stage::after {
  content: ''; position: absolute; left: 0; right: 0; top: 0; height: 170px; pointer-events: none;
  background: linear-gradient(180deg, transparent, rgba(61, 220, 255, .055), transparent);
  animation: sc-scan 9s linear infinite;
}
@keyframes sc-scan { 0% { transform: translateY(-180px); } 100% { transform: translateY(1080px); } }

/* 屏幕四角 HUD */
.sc-hud { position: absolute; width: 42px; height: 42px; pointer-events: none; opacity: .85; }
.sc-hud.tl { left: 0; top: 0; border-left: 2px solid #3ddcff; border-top: 2px solid #3ddcff; }
.sc-hud.tr { right: 0; top: 0; border-right: 2px solid #3ddcff; border-top: 2px solid #3ddcff; }
.sc-hud.bl { left: 0; bottom: 0; border-left: 2px solid #3ddcff; border-bottom: 2px solid #3ddcff; }
.sc-hud.br { right: 0; bottom: 0; border-right: 2px solid #3ddcff; border-bottom: 2px solid #3ddcff; }

/* ---------- 顶部标题栏 ---------- */
.sc-head { height: 84px; display: flex; align-items: center; position: relative; flex: 0 0 auto; }
.sc-head::after {
  content: ''; position: absolute; left: 4px; right: 4px; bottom: 8px; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(61, 220, 255, .6), rgba(240, 199, 94, .6), transparent);
}
.sc-head-side { flex: 0 0 340px; display: flex; align-items: center; gap: 10px; }
.sc-head-side.right { justify-content: flex-end; }
.sc-date { color: #93a9ca; font-size: 14px; letter-spacing: 1px; }
.sc-clock {
  font-size: 26px; font-weight: 700; letter-spacing: 2px;
  background: linear-gradient(135deg, #bff3ff, #3ddcff);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  font-variant-numeric: tabular-nums; text-shadow: 0 0 18px rgba(61, 220, 255, .35);
}
.sc-head-title { flex: 1; display: flex; align-items: center; justify-content: center; gap: 20px; min-width: 0; }
.sc-title-wrap { text-align: center; white-space: nowrap; }
.sc-head-title h1 {
  margin: 0; font-size: 50px; font-weight: 800; letter-spacing: 5px; white-space: nowrap;
  background: linear-gradient(180deg, #ffffff 6%, #cdf3ff 42%, #f5d98a 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 3px 18px rgba(61, 220, 255, .45));
}
.sc-title-sub { margin-top: 2px; font-size: 10px; letter-spacing: 2px; color: #5f7ba4; text-transform: uppercase; }
.sc-wing { width: 140px; height: 16px; position: relative; }
.sc-wing::before {
  content: ''; position: absolute; left: 0; right: 0; top: 7px; height: 2px;
  background: linear-gradient(90deg, transparent, #3ddcff, #f0c75e);
  box-shadow: 0 0 10px rgba(61, 220, 255, .5);
}
.sc-wing.right::before { background: linear-gradient(90deg, #f0c75e, #3ddcff, transparent); }
.sc-wing::after {
  content: ''; position: absolute; top: 0; width: 12px; height: 12px;
  border: 2px solid #f0c75e; transform: rotate(45deg);
  box-shadow: 0 0 12px rgba(240, 199, 94, .7);
}
.sc-wing.left::after { left: 0; } .sc-wing.right::after { right: 0; }

.sc-chip {
  display: flex; align-items: center; gap: 6px; font-size: 13px; color: #b9cce6;
  padding: 5px 11px; border-radius: 20px; white-space: nowrap; flex: 0 0 auto;
  background: rgba(61, 220, 255, .08); border: 1px solid rgba(61, 220, 255, .25);
}
.sc-chip .dot { width: 7px; height: 7px; border-radius: 50%; background: #64748b; }
.sc-chip .dot.on { background: #22c55e; box-shadow: 0 0 8px #22c55e; animation: sc-blink 1.6s infinite; }
@keyframes sc-blink { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }

.sc-btn {
  display: flex; align-items: center; gap: 6px; cursor: pointer;
  padding: 7px 15px; border-radius: 8px; font-size: 14px; color: #d6e8ff;
  background: linear-gradient(135deg, rgba(37, 99, 235, .38), rgba(61, 220, 255, .18));
  border: 1px solid rgba(61, 220, 255, .38);
  transition: all .2s;
}
.sc-btn:hover { box-shadow: 0 0 18px rgba(61, 220, 255, .4); transform: translateY(-1px); }
.sc-btn.ghost { background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .18); }
.sc-btn.ghost:hover { background: rgba(240, 199, 94, .16); border-color: rgba(240, 199, 94, .5); color: #ffe9a8; }

/* ---------- 核心指标带（横贯全屏） ---------- */
.sc-kpibar {
  flex: 0 0 96px; margin: 6px 0 14px; position: relative;
  display: flex; align-items: stretch;
  background: linear-gradient(120deg, rgba(20, 44, 88, .55), rgba(8, 16, 34, .6));
  border: 1px solid rgba(61, 220, 255, .2);
  border-radius: 12px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), 0 10px 28px rgba(0, 0, 0, .4);
  overflow: hidden;
  animation: sc-in .5s both;
}
.sc-kpibar::before {
  content: ''; position: absolute; top: 0; left: -32%; width: 32%; height: 2px;
  background: linear-gradient(90deg, transparent, #3ddcff, transparent);
  animation: sc-flow 5s linear infinite;
}
.sc-kb-i { flex: 1 1 0; display: flex; align-items: center; justify-content: center; gap: 13px; position: relative; min-width: 0; }
.sc-kb-i::after {
  content: ''; position: absolute; right: 0; top: 20%; bottom: 20%; width: 1px;
  background: linear-gradient(180deg, transparent, rgba(61, 220, 255, .45), transparent);
}
.sc-kb-i:last-child::after { display: none; }
.sc-hex.sm { flex: 0 0 44px; height: 48px; font-size: 21px; }
.sc-kb-main { min-width: 0; }
.sc-kb-val { font-size: 42px; font-weight: 800; line-height: 1; color: #fff; font-variant-numeric: tabular-nums; text-shadow: 0 0 20px rgba(61, 220, 255, .55); }
.sc-kb-val.gold { color: #ffdf88; text-shadow: 0 0 22px rgba(240, 199, 94, .8); }
.sc-kb-val.warn { color: #ff9090; text-shadow: 0 0 22px rgba(239, 68, 68, .85); }
.sc-kb-label { font-size: 14px; color: #9fb4d4; margin-top: 5px; letter-spacing: 1px; }

/* ---------- 主体 ---------- */
.sc-body { flex: 1; display: flex; gap: 14px; min-height: 0; }
.sc-col { display: flex; flex-direction: column; gap: 12px; flex: 0 0 350px; min-height: 0; }
.sc-col.center { flex: 1 1 auto; }

.sc-panel {
  position: relative; display: flex; flex-direction: column; min-height: 0;
  background: linear-gradient(160deg, rgba(14, 34, 70, .62), rgba(5, 13, 28, .78));
  border: 1px solid rgba(61, 220, 255, .16);
  border-radius: 4px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05), 0 12px 32px rgba(0, 0, 0, .45);
  overflow: hidden;
  animation: sc-in .5s both;
}
.sc-panel:nth-child(2) { animation-delay: .1s; }
.sc-panel:nth-child(3) { animation-delay: .2s; }
@keyframes sc-in { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
/* 顶部流光线 */
.sc-panel::before {
  content: ''; position: absolute; top: 0; left: -32%; width: 32%; height: 2px; z-index: 3;
  background: linear-gradient(90deg, transparent, #3ddcff, transparent);
  animation: sc-flow 5.5s linear infinite;
}
.sc-panel:nth-child(2)::before { animation-delay: 1s; }
.sc-panel:nth-child(3)::before { animation-delay: 2s; }
@keyframes sc-flow { 0% { left: -32%; } 100% { left: 100%; } }
/* 四角框线 */
.sc-panel::after {
  content: ''; position: absolute; inset: 0; pointer-events: none; z-index: 2;
  background:
    linear-gradient(#3ddcff, #3ddcff) left 0 top 0 / 18px 2px no-repeat,
    linear-gradient(#3ddcff, #3ddcff) left 0 top 0 / 2px 18px no-repeat,
    linear-gradient(#3ddcff, #3ddcff) right 0 top 0 / 18px 2px no-repeat,
    linear-gradient(#3ddcff, #3ddcff) right 0 top 0 / 2px 18px no-repeat,
    linear-gradient(#3ddcff, #3ddcff) left 0 bottom 0 / 18px 2px no-repeat,
    linear-gradient(#3ddcff, #3ddcff) left 0 bottom 0 / 2px 18px no-repeat,
    linear-gradient(#3ddcff, #3ddcff) right 0 bottom 0 / 18px 2px no-repeat,
    linear-gradient(#3ddcff, #3ddcff) right 0 bottom 0 / 2px 18px no-repeat;
  opacity: .8;
}

.sc-hd {
  flex: 0 0 auto; height: 38px; display: flex; align-items: center; gap: 9px;
  padding: 0 14px; font-size: 16px; font-weight: 700; letter-spacing: 1px; color: #eaf6ff;
  background: linear-gradient(90deg, rgba(37, 99, 235, .3), rgba(61, 220, 255, .06) 60%, transparent);
  border-bottom: 1px solid rgba(61, 220, 255, .16);
  z-index: 3;
}
.sc-hd::before {
  content: ''; width: 4px; height: 18px; border-radius: 2px;
  background: linear-gradient(180deg, #bff3ff, #3ddcff);
  box-shadow: 0 0 12px rgba(61, 220, 255, .9);
}
.sc-bd { flex: 1; min-height: 0; padding: 8px 10px 10px; position: relative; z-index: 1; }
/* 巡查力量数字块（2×2） */
/* 2 列 3 行等分：最后一张（累计公里）跨整行，避免 online 单独占行造成的空洞，
   行高用 1fr 自适应，任何面板高度都不会溢出被裁 */
.sc-force { display: grid; grid-template-columns: 1fr 1fr; grid-auto-rows: minmax(0, 1fr); gap: 8px; height: 100%; }
.sc-force-i { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 4px; min-height: 0; overflow: hidden; background: linear-gradient(180deg, rgba(61, 220, 255, .10), rgba(61, 220, 255, .02)); border: 1px solid rgba(61, 220, 255, .25); border-radius: 10px; }
.sc-force-i.sc-span { grid-column: 1 / -1; }
.sc-force-i .v { font-size: 24px; font-weight: 800; color: #eaf6ff; text-shadow: 0 0 16px rgba(61, 220, 255, .55); }
.sc-force-i .v.gold { color: #f0c75e; text-shadow: 0 0 16px rgba(240, 199, 94, .5); }
.sc-force-i .l { font-size: 12px; color: #9fb8d8; margin-top: 4px; letter-spacing: 1px; }
/* 整改情况 + 场所画像：数字卡横排 + 两个分布列表左右并排（避免高度溢出被裁） */
.sc-fix-wrap { height: 100%; display: flex; flex-direction: column; gap: 8px; min-height: 0; }
.sc-fix { display: flex; gap: 10px; flex: 0 0 auto; }
.sc-fix-i {
  flex: 1; display: flex; align-items: center; justify-content: center; gap: 10px;
  padding: 10px 8px; border-radius: 10px;
  background: linear-gradient(180deg, rgba(240, 199, 94, .10), rgba(240, 199, 94, .02));
  border: 1px solid rgba(240, 199, 94, .28);
}
.sc-fix-i .v { font-size: 32px; font-weight: 800; line-height: 1; font-variant-numeric: tabular-nums; }
.sc-fix-i .l { font-size: 15px; color: #b6c8e0; letter-spacing: 1px; }
.sc-fix-i.on { background: linear-gradient(180deg, rgba(74, 222, 128, .14), rgba(74, 222, 128, .03)); border-color: rgba(74, 222, 128, .35); }
.sc-fix-i.dl { background: linear-gradient(180deg, rgba(240, 199, 94, .14), rgba(240, 199, 94, .03)); }

.sc-mini { flex: 1; min-height: 0; display: flex; gap: 12px; }
.sc-mini-col { flex: 1; min-width: 0; display: flex; flex-direction: column; min-height: 0; }
.sc-mini-h {
  flex: 0 0 auto; color: #7fe9ff; font-size: 15px; font-weight: 600; letter-spacing: 1px;
  padding-bottom: 5px; margin-bottom: 4px; border-bottom: 1px solid rgba(61, 220, 255, .18);
}
.sc-mini-list { flex: 1; min-height: 0; overflow: hidden; }
.sc-mini-row {
  display: flex; justify-content: space-between; align-items: center; gap: 8px;
  font-size: 16px; color: #d8e4f5; padding: 5px 2px;
  border-bottom: 1px dashed rgba(61, 220, 255, .1);
}
.sc-mini-row:last-child { border-bottom: none; }
.sc-mini-row span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sc-mini-row b { flex: 0 0 auto; color: #ffd76a; font-size: 18px; font-variant-numeric: tabular-nums; }
.sc-mini-empty { font-size: 14px; color: #6f86a8; padding: 6px 2px; }
.sc-chart { width: 100%; height: 100%; }
.sc-legend { margin-left: auto; display: flex; align-items: center; gap: 6px; font-size: 15px; font-weight: 400; color: #c2d3e8; }
.sc-legend i { display: inline-block; width: 12px; height: 12px; border-radius: 50%; margin-left: 8px; box-shadow: 0 0 8px currentColor; }

/* KPI：六边形图标 */
.sc-kpis { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: repeat(3, 1fr); gap: 9px; height: 100%; }
.sc-kpi {
  position: relative; display: flex; align-items: center; gap: 12px; padding: 0 12px;
  border-radius: 4px; overflow: hidden;
  background: linear-gradient(120deg, rgba(37, 99, 235, .16), rgba(61, 220, 255, .04));
  border: 1px solid rgba(61, 220, 255, .16);
}
.sc-kpi::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: linear-gradient(180deg, var(--c1), var(--c2));
  box-shadow: 0 0 12px var(--c1);
}
.sc-kpi::after {
  content: ''; position: absolute; right: -40px; top: -40px; width: 110px; height: 110px; border-radius: 50%;
  background: radial-gradient(circle, rgba(61, 220, 255, .16), transparent 70%);
}
.sc-hex {
  flex: 0 0 50px; height: 56px; position: relative;
  display: flex; align-items: center; justify-content: center;
  font-size: 25px; color: #fff;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  background: linear-gradient(160deg, var(--c1), var(--c2));
  filter: drop-shadow(0 0 10px rgba(61, 220, 255, .35));
}
.sc-kpi-main { min-width: 0; z-index: 1; }
.sc-kpi-val { font-size: 42px; font-weight: 800; line-height: 1.05; color: #fff; font-variant-numeric: tabular-nums; text-shadow: 0 0 20px rgba(61, 220, 255, .55); }
.sc-kpi-val.gold { color: #ffdf88; text-shadow: 0 0 22px rgba(240, 199, 94, .8); }
.sc-kpi-val.warn { color: #ff9090; text-shadow: 0 0 22px rgba(239, 68, 68, .85); }
.sc-kpi-val em { font-style: normal; font-size: 15px; margin-left: 4px; color: #9fb4d4; }
.sc-kpi-label { font-size: 15px; color: #a9bcd8; margin-top: 3px; }
.sc-kpi-line { position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(61, 220, 255, .5), transparent); }

/* 处置进度：仪表 + 进度条 */
.sc-prog { display: flex; align-items: stretch; gap: 6px; }
.sc-gauge { flex: 0 0 44%; height: 100%; }
.sc-bars { flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 14px; padding-right: 6px; }
.sc-bar-t { display: flex; justify-content: space-between; align-items: baseline; font-size: 16px; color: #c2d3e8; margin-bottom: 5px; }
.sc-bar-t b { font-size: 22px; font-variant-numeric: tabular-nums; color: #eaf6ff; }
.sc-bar-track { height: 8px; border-radius: 5px; background: rgba(120, 180, 255, .1); overflow: hidden; }
.sc-bar-track i { display: block; height: 100%; border-radius: 5px; transition: width .9s cubic-bezier(.2, .8, .2, 1); }

/* 地图 */
.sc-mapbox { position: relative; width: 100%; height: 100%; border-radius: 4px; overflow: hidden; }
.sc-map { width: 100%; height: 100%; }
.sc-radar {
  position: absolute; left: 50%; top: 50%; width: 620px; height: 620px; margin: -310px 0 0 -310px;
  pointer-events: none; border-radius: 50%;
  background: conic-gradient(from 0deg, rgba(61, 220, 255, .16), transparent 22%, transparent 100%);
  animation: sc-spin 5.5s linear infinite;
  mask-image: radial-gradient(circle, #000 62%, transparent 72%);
  -webkit-mask-image: radial-gradient(circle, #000 62%, transparent 72%);
  mix-blend-mode: screen;
}
@keyframes sc-spin { to { transform: rotate(360deg); } }
.sc-maperr {
  position: absolute; left: 0; right: 0; bottom: 8px; text-align: center;
  color: #ffb4b4; font-size: 13px;
}
/* 隐患点详情卡片（离线地图点击弹出） */
.sc-point {
  position: absolute; left: 14px; top: 14px; z-index: 60;
  min-width: 240px; max-width: 330px;
  background: linear-gradient(160deg, rgba(10, 24, 50, .96), rgba(6, 13, 30, .97));
  border: 1px solid rgba(61, 220, 255, .5);
  border-radius: 10px; padding: 12px 14px;
  box-shadow: 0 14px 40px rgba(0, 0, 0, .6);
  animation: sc-in .25s both;
}
.sc-point-hd { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.sc-point-hd .dotc { width: 10px; height: 10px; border-radius: 50%; flex: 0 0 auto; }
.sc-point-hd b { font-size: 15px; color: #eaf6ff; flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sc-point-hd .tag { padding: 1px 8px; border-radius: 3px; font-size: 12px; font-weight: 700; color: #04121f; flex: 0 0 auto; }
.sc-point-hd .x { cursor: pointer; color: #8fa4c4; font-size: 17px; line-height: 1; flex: 0 0 auto; }
.sc-point-hd .x:hover { color: #fff; }
.sc-point-bd { font-size: 13px; line-height: 1.9; color: #cfe0f7; }
.sc-point-bd .dim { color: #8fa4c4; font-size: 12px; }
.sc-point-bd .dim2 { color: #6f86a8; font-size: 12px; }

/* 严重隐患区域 */
.sc-hot { display: flex; align-items: center; gap: 9px; padding: 6px 4px; border-bottom: 1px dashed rgba(61, 220, 255, .14); }
.sc-hot:last-child { border-bottom: none; }
.sc-hot-no {
  flex: 0 0 22px; height: 22px; border-radius: 3px; display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700; color: #04121f;
  background: linear-gradient(135deg, #bff3ff, #3ddcff); box-shadow: 0 0 12px rgba(61, 220, 255, .6);
}
.sc-hot-mid { flex: 1; min-width: 0; }
.sc-hot-road { font-size: 16px; color: #eaf6ff; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sc-hot-loc { font-size: 14px; color: #9fb4d4; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sc-hot-nums { flex: 0 0 auto; display: flex; gap: 10px; font-size: 14px; color: #b6c8e0; white-space: nowrap; }
.sc-hot-nums b { font-size: 17px; font-variant-numeric: tabular-nums; }
.sc-hot-nums .r { color: #fca5a5; } .sc-hot-nums .rr { color: #ef4444; } .sc-hot-nums .y { color: #fbbf24; }

/* 最新动态 */
.sc-feed { height: 100%; overflow: hidden; position: relative; }
.sc-feed-item { display: flex; align-items: center; gap: 8px; padding: 7px 4px; font-size: 15px; border-bottom: 1px dashed rgba(61, 220, 255, .12); }
.sc-feed-item:last-child { border-bottom: none; }
.sc-feed-tag { flex: 0 0 auto; padding: 2px 9px; border-radius: 3px; font-size: 13px; color: #04121f; font-weight: 700; background: #3ddcff; }
.sc-feed-tag.lv-较大 { background: #f59e0b; }
.sc-feed-tag.lv-严重 { background: #ef4444; color: #fff; }
.sc-feed-name { flex: 1; min-width: 0; color: #eaf6ff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sc-feed-cat { flex: 0 0 auto; max-width: 120px; color: #9fb4d4; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sc-feed-time { flex: 0 0 auto; color: #8fa4c4; font-size: 14px; font-variant-numeric: tabular-nums; }

.sc-empty { height: 100%; display: flex; align-items: center; justify-content: center; color: #6f86a8; font-size: 15px; }
.sc-loading { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; color: #9fb4d4; font-size: 18px; }
.sc-load-ring {
  width: 62px; height: 62px; border-radius: 50%;
  border: 3px solid rgba(61, 220, 255, .18); border-top-color: #3ddcff;
  animation: sc-spin 1s linear infinite;
}

/* ================= 模块全屏放大 ================= */
.sc-hd { position: relative; padding-right: 36px; }
.sc-zoom-i {
  position: absolute; right: 10px; top: 50%; transform: translateY(-50%);
  width: 22px; height: 22px; line-height: 22px; text-align: center;
  font-style: normal; font-size: 14px; cursor: pointer;
  color: #9fd8f5; border: 1px solid rgba(61, 220, 255, .3); border-radius: 6px;
  background: rgba(61, 220, 255, .08);
  transition: all .15s ease;
}
.sc-zoom-i:hover { color: #04121f; background: linear-gradient(135deg, #bff3ff, #3ddcff); border-color: #3ddcff; box-shadow: 0 0 12px rgba(61, 220, 255, .6); }
/* ⛶ 只负责跳转到独立放大页（views/screenFull.js），本页不做任何就地缩放 */

/* ================= 实时在线 ================= */
.sc-force-i.sc-online { cursor: pointer; border-color: rgba(126, 231, 135, .45); background: linear-gradient(180deg, rgba(126, 231, 135, .12), rgba(126, 231, 135, .02)); }
.sc-force-i.sc-online:hover { box-shadow: 0 0 18px rgba(126, 231, 135, .35); }
.sc-force-i .v.online { color: #7ee787; text-shadow: 0 0 16px rgba(126, 231, 135, .6); display: inline-flex; align-items: center; gap: 8px; }
.sc-dot {
  width: 8px; height: 8px; border-radius: 50%; background: #7ee787;
  box-shadow: 0 0 10px #7ee787; animation: scPulse 1.6s ease-in-out infinite;
}
@keyframes scPulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .35; transform: scale(.75); } }

/* ================= 地图圆点详情卡：照片 + 按钮 ================= */
.sc-point-imgs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-top: 8px; }
.sc-point-imgs img {
  width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 6px;
  border: 1px solid rgba(61, 220, 255, .3); cursor: pointer;
}
.sc-point-imgs img:hover { border-color: #3ddcff; box-shadow: 0 0 12px rgba(61, 220, 255, .5); }
.sc-point-btn {
  background: linear-gradient(135deg, #bff3ff, #3ddcff); color: #04121f;
  border: 0; border-radius: 6px; padding: 4px 12px; font-size: 12px; font-weight: 700; cursor: pointer;
}
.sc-point-btn:hover { box-shadow: 0 0 14px rgba(61, 220, 255, .6); }

/* ===== 地图标题栏·巡查员实时定位开关（领导驾驶舱） ===== */
.sc-toggle {
  display: inline-flex; align-items: center; gap: 6px; margin-left: 12px;
  padding: 4px 12px; border-radius: 999px; white-space: nowrap;
  border: 1px solid rgba(61, 220, 255, .32); background: rgba(6, 22, 42, .55);
  font-size: 14px; font-weight: 400; color: #8fb2d4; cursor: pointer;
  user-select: none; transition: all .2s ease;
}
.sc-toggle:hover { border-color: #3ddcff; color: #7fe9ff; box-shadow: 0 0 12px rgba(61, 220, 255, .25); }
.sc-toggle.on {
  border-color: rgba(34, 197, 94, .65); color: #5eead4;
  background: rgba(34, 197, 94, .14); box-shadow: 0 0 14px rgba(34, 197, 94, .28);
}
.sc-toggle .dotp { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.sc-toggle.on .dotp { animation: scPatrolPulse 1.6s infinite; }
.sc-toggle b { font-weight: 700; font-size: 15px; }
@keyframes scPatrolPulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(94, 234, 212, .6); }
  50%      { opacity: .65; box-shadow: 0 0 0 5px rgba(94, 234, 212, 0); }
}
/* ===== 数据加载失败态：投屏场景不能永远停在「加载中」 ===== */
.sc-loading.sc-errbox { flex-direction: column; gap: 12px; }
.sc-err-ico { width: 58px; height: 58px; border-radius: 50%; border: 2px solid rgba(255, 120, 113, .7);
  color: #ff7875; font-size: 32px; font-weight: 700; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 26px rgba(255, 120, 113, .28); }
.sc-err-t { font-size: 22px; font-weight: 600; color: #ffb4b4; }
.sc-err-sub { font-size: 16px; color: #8fa4c4; }
/* ===== KPI 数值单位（从标签里挪出来，标签写「隐患办结率(%)」太像调试稿）===== */
.sc-kb-unit { font-style: normal; font-size: 22px; font-weight: 600; margin-left: 2px; opacity: .85; }