/* =========================================================
   驾驶舱 · 模块独立放大页（全屏，支持投屏）
   与 screen.css 同风格：深空底 + 青金双色，但字号按全屏重新排版
   ========================================================= */
.sf-root {
  position: fixed; inset: 0; z-index: 5000; overflow: hidden;
  display: flex; flex-direction: column;
  padding: 16px 22px 22px;
  color: #eaf6ff;
  background:
    radial-gradient(1400px 800px at 50% -10%, rgba(37, 99, 235, 0.24), transparent 62%),
    radial-gradient(1000px 620px at 0 104%, rgba(61, 220, 255, 0.10), transparent 62%),
    radial-gradient(1000px 620px at 100% 96%, rgba(240, 199, 94, 0.10), transparent 62%),
    linear-gradient(180deg, #030814 0%, #040d1c 45%, #020610 100%);
}
.sf-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: 52px 52px;
  mask-image: radial-gradient(circle at 50% 45%, #000 25%, transparent 92%);
  -webkit-mask-image: radial-gradient(circle at 50% 45%, #000 25%, transparent 92%);
}

/* ---------- 顶部栏 ---------- */
.sf-head {
  flex: 0 0 auto; height: 96px; display: flex; align-items: center; gap: 20px;
  position: relative; z-index: 2;
}
.sf-head::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 8px; height: 2px;
  background: linear-gradient(90deg, transparent, rgba(61, 220, 255, .6), rgba(240, 199, 94, .6), transparent);
}
.sf-back {
  display: flex; align-items: center; gap: 10px; cursor: pointer;
  padding: 12px 22px; border-radius: 12px; font-size: 20px; color: #d6e8ff;
  background: linear-gradient(135deg, rgba(37, 99, 235, .4), rgba(61, 220, 255, .18));
  border: 1px solid rgba(61, 220, 255, .4);
  transition: all .2s;
}
.sf-back:hover { box-shadow: 0 0 22px rgba(61, 220, 255, .45); transform: translateY(-1px); }
.sf-title-wrap { flex: 1; min-width: 0; text-align: center; }
.sf-title {
  margin: 0; font-size: 44px; font-weight: 800; letter-spacing: 6px; 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));
}
.sf-sub { margin-top: 6px; font-size: 14px; letter-spacing: 3px; color: #5f7ba4; }
.sf-right { min-width: 280px; display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.sf-date { font-size: 18px; color: #93a9ca; letter-spacing: 1px; }
.sf-clock {
  font-size: 34px; font-weight: 700; letter-spacing: 2px; font-variant-numeric: tabular-nums;
  background: linear-gradient(135deg, #bff3ff, #3ddcff);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------- 主体 ---------- */
.sf-body { flex: 1; min-height: 0; display: flex; position: relative; z-index: 1; }
.sf-pane {
  flex: 1; min-width: 0; min-height: 0; display: flex;
  padding: 18px 20px; border-radius: 10px;
  background: linear-gradient(160deg, rgba(14, 34, 70, .5), rgba(5, 13, 28, .7));
  border: 1px solid rgba(61, 220, 255, .16);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05), 0 12px 32px rgba(0, 0, 0, .45);
}
.sf-pane::after {
  content: ''; position: absolute; inset: 0; pointer-events: none; border-radius: 10px;
  background:
    linear-gradient(#3ddcff, #3ddcff) left 0 top 0 / 22px 2px no-repeat,
    linear-gradient(#3ddcff, #3ddcff) left 0 top 0 / 2px 22px no-repeat,
    linear-gradient(#3ddcff, #3ddcff) right 0 top 0 / 22px 2px no-repeat,
    linear-gradient(#3ddcff, #3ddcff) right 0 top 0 / 2px 22px no-repeat,
    linear-gradient(#3ddcff, #3ddcff) left 0 bottom 0 / 22px 2px no-repeat,
    linear-gradient(#3ddcff, #3ddcff) left 0 bottom 0 / 2px 22px no-repeat,
    linear-gradient(#3ddcff, #3ddcff) right 0 bottom 0 / 22px 2px no-repeat,
    linear-gradient(#3ddcff, #3ddcff) right 0 bottom 0 / 2px 22px no-repeat;
  opacity: .8;
}
.sf-pane-prog { gap: 40px; }
.sf-pane-force { flex-direction: column; gap: 24px; }
.sf-pane-fix { flex-direction: column; gap: 24px; }
.sf-chart { flex: 1; width: 100%; height: 100%; min-height: 0; }

/* 通用小标题 */
.sf-block-h {
  flex: 0 0 auto; font-size: 26px; font-weight: 700; color: #7fe9ff; letter-spacing: 1px;
  padding-bottom: 12px; margin-bottom: 12px; border-bottom: 2px solid rgba(61, 220, 255, .22);
}

/* ---------- 隐患处置进度 ---------- */
.sf-gauge { flex: 0 0 42%; height: 100%; min-width: 0; }
.sf-bars { flex: 1; min-width: 0; display: flex; flex-direction: column; justify-content: center; gap: 36px; padding-right: 26px; }
.sf-bar-t { display: flex; justify-content: space-between; align-items: baseline; font-size: 30px; color: #c2d3e8; margin-bottom: 12px; }
.sf-bar-t b { font-size: 48px; color: #eaf6ff; font-variant-numeric: tabular-nums; }
.sf-bar-track { height: 20px; border-radius: 12px; background: rgba(120, 180, 255, .1); overflow: hidden; }
.sf-bar-track i { display: block; height: 100%; border-radius: 12px; transition: width .9s cubic-bezier(.2, .8, .2, 1); }
.sf-total { display: flex; gap: 24px; }
.sf-total-i {
  flex: 1; text-align: center; padding: 18px; border-radius: 12px;
  border: 1px solid rgba(61, 220, 255, .25);
  background: linear-gradient(180deg, rgba(61, 220, 255, .1), rgba(61, 220, 255, .02));
}
.sf-total-i .v { font-size: 56px; font-weight: 800; color: #eaf6ff; font-variant-numeric: tabular-nums; text-shadow: 0 0 22px rgba(61, 220, 255, .5); }
.sf-total-i .v.gold { color: #ffdf88; text-shadow: 0 0 22px rgba(240, 199, 94, .7); }
.sf-total-i .l { font-size: 18px; color: #9fb8d8; margin-top: 6px; letter-spacing: 1px; }

/* ---------- 巡查力量 ---------- */
.sf-force { flex: 0 0 auto; display: grid; grid-template-columns: repeat(5, 1fr); gap: 22px; }
.sf-force-i {
  text-align: center; padding: 28px 12px; border-radius: 14px;
  border: 1px solid rgba(61, 220, 255, .25);
  background: linear-gradient(180deg, rgba(61, 220, 255, .10), rgba(61, 220, 255, .02));
}
.sf-force-i .v { font-size: 72px; font-weight: 800; color: #eaf6ff; font-variant-numeric: tabular-nums; text-shadow: 0 0 24px rgba(61, 220, 255, .5); }
.sf-force-i .v.gold { color: #f0c75e; text-shadow: 0 0 24px rgba(240, 199, 94, .6); }
.sf-force-i .v.green { color: #7ee787; text-shadow: 0 0 24px rgba(126, 231, 135, .6); }
.sf-force-i .l { font-size: 20px; color: #9fb8d8; margin-top: 10px; letter-spacing: 1px; }
.sf-online { flex: 1; min-height: 0; display: flex; flex-direction: column; }
.sf-ol-list { flex: 1; min-height: 0; overflow: auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px 22px; align-content: start; }
.sf-ol-i {
  display: flex; align-items: center; gap: 12px; font-size: 22px; padding: 10px 14px;
  border-radius: 10px; background: rgba(61, 220, 255, .05); border: 1px solid rgba(61, 220, 255, .12);
}
.sf-ol-i .av {
  flex: 0 0 38px; height: 38px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #3ddcff, #2563eb); color: #04121f; font-weight: 800; font-size: 20px;
}
.sf-ol-i .nm { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sf-ol-i .st { color: #9fb4d4; font-size: 18px; }
.sf-ol-i .tm { color: #7ee787; font-size: 18px; font-variant-numeric: tabular-nums; }

/* ---------- 类别：图 + 明细 ---------- */
.sf-split { flex: 1; min-height: 0; display: flex; gap: 30px; }
.sf-side { flex: 0 0 34%; min-height: 0; display: flex; flex-direction: column; }
.sf-side-list { flex: 1; min-height: 0; overflow: auto; }
.sf-side-row { display: flex; align-items: center; gap: 14px; font-size: 24px; padding: 12px 4px; border-bottom: 1px dashed rgba(61, 220, 255, .12); }
.sf-side-row .no {
  flex: 0 0 36px; height: 36px; line-height: 36px; text-align: center; border-radius: 8px;
  font-size: 18px; font-weight: 700; color: #04121f; background: rgba(61, 220, 255, .55);
}
.sf-side-row .no.top3 { background: linear-gradient(135deg, #bff3ff, #3ddcff); box-shadow: 0 0 12px rgba(61, 220, 255, .6); }
.sf-side-row .nm { flex: 1; min-width: 0; color: #dbe8f8; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sf-side-row b { flex: 0 0 auto; color: #ffd76a; font-size: 30px; font-variant-numeric: tabular-nums; }

/* ---------- 整改情况 · 场所画像 ---------- */
.sf-fix { flex: 0 0 auto; display: flex; gap: 30px; }
.sf-fix-i {
  flex: 1; display: flex; align-items: center; justify-content: center; gap: 24px; padding: 26px;
  border-radius: 14px; border: 1px solid rgba(240, 199, 94, .3);
  background: linear-gradient(180deg, rgba(240, 199, 94, .10), rgba(240, 199, 94, .02));
}
.sf-fix-i.on { border-color: rgba(74, 222, 128, .4); background: linear-gradient(180deg, rgba(74, 222, 128, .12), rgba(74, 222, 128, .02)); }
.sf-fix-i .v { font-size: 76px; font-weight: 800; color: #4ade80; font-variant-numeric: tabular-nums; text-shadow: 0 0 24px rgba(74, 222, 128, .5); }
.sf-fix-i.dl .v { color: #f0c75e; text-shadow: 0 0 24px rgba(240, 199, 94, .5); }
.sf-fix-i .l { font-size: 24px; color: #b6c8e0; letter-spacing: 1px; }
.sf-dist { flex: 1; min-height: 0; display: flex; gap: 44px; }
.sf-dist-col { flex: 1; min-width: 0; min-height: 0; display: flex; flex-direction: column; }

/* ---------- 最新上报动态 ---------- */
.sf-feed { flex: 1; min-height: 0; display: flex; flex-direction: column; }
.sf-feed-h, .sf-feed-r {
  display: grid; align-items: center; gap: 20px;
  grid-template-columns: 110px 2.2fr 2fr 1.1fr 1fr 1.2fr;
}
.sf-feed-h {
  flex: 0 0 auto; font-size: 22px; color: #7fe9ff; letter-spacing: 1px;
  padding: 0 16px 14px; border-bottom: 2px solid rgba(61, 220, 255, .22);
}
.sf-feed-b { flex: 1; min-height: 0; overflow: auto; }
.sf-feed-r { font-size: 24px; color: #dbe8f8; padding: 14px 16px; border-bottom: 1px dashed rgba(61, 220, 255, .12); }
.sf-feed-r:nth-child(odd) { background: rgba(61, 220, 255, .035); }
.sf-feed-r span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sf-tag {
  display: inline-block; padding: 4px 14px; border-radius: 6px; font-style: normal;
  font-size: 18px; font-weight: 700; color: #04121f; background: #3ddcff;
}
.sf-tag.lv-较大 { background: #f59e0b; }
.sf-tag.lv-严重 { background: #ef4444; color: #fff; }

/* ---------- 地图 ---------- */
.sf-mapbox { position: relative; flex: 1; min-width: 0; border-radius: 10px; overflow: hidden; }
.sf-map { width: 100%; height: 100%; }
.sf-radar {
  position: absolute; left: 50%; top: 50%; width: 920px; height: 920px; margin: -460px 0 0 -460px;
  pointer-events: none; border-radius: 50%;
  background: conic-gradient(from 0deg, rgba(61, 220, 255, .16), transparent 22%, transparent 100%);
  animation: sf-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 sf-spin { to { transform: rotate(360deg); } }
.sf-maperr { position: absolute; left: 0; right: 0; bottom: 14px; text-align: center; color: #ffb4b4; font-size: 20px; }

/* ---------- 其它 ---------- */
.sf-empty { font-size: 22px; color: #6f86a8; padding: 16px 4px; }
.sf-loading { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px; color: #9fb4d4; font-size: 24px; position: relative; z-index: 1; }
.sf-ring {
  width: 84px; height: 84px; border-radius: 50%;
  border: 4px solid rgba(61, 220, 255, .18); border-top-color: #3ddcff;
  animation: sf-spin 1s linear infinite;
}
