:root{
  --bg0:#070A12;
  --bg1:#0B1330;
  --panel:rgba(18, 28, 58, .62);
  --panel2:rgba(12, 18, 38, .55);
  --stroke:rgba(255,255,255,.10);
  --stroke2:rgba(255,255,255,.14);
  --text:rgba(240,245,255,.92);
  --muted:rgba(240,245,255,.62);
  --muted2:rgba(240,245,255,.45);
  --good:#2CF2B4;
  --warn:#F7C65B;
  --bad:#FF4D6D;
  --a:#38BDF8;
  --b:#A78BFA;
  --c:#34D399;
  --shadow:0 24px 80px rgba(0,0,0,.55);
  --shadow2:0 16px 48px rgba(0,0,0,.38);
  --radius:16px;
  --radius2:22px;
  --blur:18px;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  color:var(--text);
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", Arial, sans-serif;
  background:
    radial-gradient(1100px 700px at 20% 15%, rgba(56,189,248,.20), transparent 55%),
    radial-gradient(900px 700px at 86% 25%, rgba(167,139,250,.18), transparent 54%),
    radial-gradient(900px 700px at 55% 92%, rgba(44,242,180,.12), transparent 55%),
    linear-gradient(180deg, var(--bg0), var(--bg1));
  overflow:hidden;
}

.frame{
  height:100%;
  display:grid;
  grid-template-rows: 58px 1fr 40px;
}

.topbar{
  position:relative;
  height: 58px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding: 0 18px 0 18px;
  gap: 10px;
  border-bottom:1px solid rgba(255,255,255,.10);
  background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.02));
  backdrop-filter: blur(14px);
  overflow: visible;
}
.topbar-space{
  flex: 0 0 200px;
  width:200px;
  height:1px;
}
.brand{
  display:flex;
  align-items:center;
  gap:12px;
  min-width:0;
}
.brand-logo{
  height:45px;
  width:auto;
  display:block;
  object-fit:contain;
}

.center-title{
  display:flex;
  align-items:center;
  gap:10px;
  padding: 8px 12px;
  border-radius:999px;
  background: rgba(0,0,0,.20);
  border:1px solid rgba(255,255,255,.10);
  box-shadow: var(--shadow2);
}
.pulse{
  width:10px;height:10px;border-radius:99px;
  background: var(--good);
  box-shadow: 0 0 0 0 rgba(44,242,180,.0);
  animation: pulse 1.6s ease-in-out infinite;
}
@keyframes pulse{
  0%{ box-shadow: 0 0 0 0 rgba(44,242,180,.0); opacity:.85 }
  50%{ box-shadow: 0 0 0 12px rgba(44,242,180,.12); opacity:1 }
  100%{ box-shadow: 0 0 0 24px rgba(44,242,180,.0); opacity:.85 }
}
.center-title .t1{
  font-weight:780;
  letter-spacing:.12em;
  font-size:12px;
  color:rgba(240,245,255,.80);
}
.center-title .t2{
  font-weight:820;
  letter-spacing:.08em;
  font-size:12px;
}

.actions{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:8px;
  min-width:0;
  overflow-x:auto;
  overflow-y:hidden;
  scrollbar-width:none;
}
.actions::-webkit-scrollbar{ height:0 }
.chip{
  display:flex;
  align-items:center;
  gap:8px;
  padding: 8px 10px;
  border-radius:999px;
  background: rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.10);
  color: rgba(240,245,255,.86);
  box-shadow: 0 16px 54px rgba(0,0,0,.28);
  flex: 0 0 auto;
}
button.chip{
  appearance:none;
  cursor:pointer;
}
button.chip:hover{
  border-color: rgba(56,189,248,.22);
  background: rgba(56,189,248,.10);
}
button.chip:active{ transform: translateY(1px) }
.chip .k{ color: var(--muted2); font-size:11px; letter-spacing:.08em }
.chip .v{ font-weight:750; font-size:11px; letter-spacing:.06em }

.main{
  min-height:0;
  padding: 14px;
  display:grid;
  grid-template-columns: 360px minmax(520px, 1fr) 420px;
  gap: 14px;
}

.panel{
  min-height:0;
  border-radius: var(--radius2);
  border:1px solid var(--stroke);
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.03));
  box-shadow: var(--shadow);
  backdrop-filter: blur(var(--blur));
  overflow:hidden;
}
.panel-inner{
  height:100%;
  display:flex;
  flex-direction:column;
}
.panel-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  padding: 14px 14px 12px 14px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  background:
    radial-gradient(600px 300px at 25% -10%, rgba(56,189,248,.12), transparent 60%),
    radial-gradient(600px 300px at 85% -10%, rgba(167,139,250,.10), transparent 60%),
    rgba(0,0,0,.08);
}
.panel-title{
  display:flex;
  flex-direction:column;
  gap:5px;
}
.panel-title .h{
  font-weight:820;
  letter-spacing:.10em;
  font-size:12px;
  color: rgba(240,245,255,.80);
  text-transform:uppercase;
}
.panel-title .s{
  font-weight:780;
  font-size:14px;
  letter-spacing:.06em;
}
.panel-meta{
  display:flex;
  align-items:center;
  gap:10px;
}

.pill{
  padding: 8px 10px;
  border-radius:999px;
  background: rgba(0,0,0,.24);
  border:1px solid rgba(255,255,255,.10);
  color: rgba(240,245,255,.86);
  font-size:12px;
  letter-spacing:.06em;
  font-weight:720;
  display:flex;
  align-items:center;
  gap:8px;
  white-space:nowrap;
}
.pill-btn{
  appearance:none;
  -webkit-appearance:none;
  cursor:pointer;
  user-select:none;
  font: inherit;
}
.pill-btn:active{
  transform: translateY(1px);
}
.pill-btn:focus-visible{
  outline:none;
  box-shadow: 0 0 0 3px rgba(56,189,248,.22), 0 16px 48px rgba(0,0,0,.32);
}
.map-dot{
  background: var(--a);
  box-shadow: 0 0 0 8px rgba(56,189,248,.10);
}
.map-dot2{
  background: rgba(245,158,11,.95);
  box-shadow: 0 0 0 8px rgba(245,158,11,.10);
}
.map-dot3{
  background: var(--warn);
  box-shadow: 0 0 0 8px rgba(247,198,91,.10);
}
.map-dot4{
  background: var(--b);
  box-shadow: 0 0 0 8px rgba(167,139,250,.10);
}
.dot{
  width:8px;height:8px;border-radius:99px;
  background: var(--good);
  box-shadow: 0 0 0 8px rgba(44,242,180,.10);
}

.panel-body{
  min-height:0;
  padding: 12px 14px 14px 14px;
  overflow:auto;
  flex: 1;
}
.panel-body::-webkit-scrollbar{ width:10px }
.panel-body::-webkit-scrollbar-thumb{ background: rgba(255,255,255,.10); border-radius:10px }
.panel-body::-webkit-scrollbar-track{ background: rgba(0,0,0,.18) }

.fleet-search{
  display:flex;
  gap:10px;
  margin-bottom: 10px;
}
.fleet-search input{
  width:100%;
  padding: 12px 12px;
  border-radius: 16px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(0,0,0,.22);
  color: rgba(240,245,255,.92);
  outline:none;
  letter-spacing:.06em;
  font-weight:650;
  box-shadow: 0 20px 60px rgba(0,0,0,.20);
}
.fleet-search input::placeholder{ color: rgba(240,245,255,.40) }
.fleet-list{
  display:flex;
  flex-direction:column;
  gap:10px;
}
.fleet-item{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding: 10px 12px;
  border-radius: 16px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.20);
  cursor:pointer;
  transition: transform .12s ease, border-color .12s ease, background .12s ease;
}
.fleet-item:hover{ transform: translateY(-1px); border-color: rgba(255,255,255,.16); background: rgba(0,0,0,.26) }
.fleet-item.active{
  border-color: rgba(56,189,248,.30);
  background: linear-gradient(135deg, rgba(56,189,248,.16), rgba(167,139,250,.12));
}
.fleet-left{
  min-width:0;
  display:flex;
  flex-direction:column;
  gap:4px;
}
.fleet-name{
  font-weight:860;
  letter-spacing:.06em;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
  font-size:13px;
}
.fleet-sub{
  display:flex;
  align-items:center;
  gap:10px;
  min-width:0;
  color: var(--muted);
  font-size:12px;
  letter-spacing:.04em;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.fleet-right{
  display:flex;
  align-items:center;
  gap:10px;
  white-space:nowrap;
  color: var(--muted2);
  font-size:12px;
  letter-spacing:.06em;
}
.fleet-locate-btn{
  appearance:none;
  border:1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
  color: rgba(240,245,255,.92);
  border-radius: 999px;
  padding: 6px 10px;
  font-weight: 860;
  letter-spacing: .10em;
  cursor: pointer;
}
.fleet-locate-btn:hover{
  border-color: rgba(56,189,248,.26);
  background: rgba(56,189,248,.12);
}
.fleet-count{
  padding: 6px 8px;
  border-radius: 999px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(0,0,0,.26);
  color: rgba(240,245,255,.86);
  font-weight:820;
  letter-spacing:.04em;
  min-width:34px;
  text-align:center;
}
.fleet-count.crit{ border-color: rgba(255,77,109,.35); background: rgba(255,77,109,.12) }
.fleet-count.warn{ border-color: rgba(247,198,91,.35); background: rgba(247,198,91,.10) }
.fleet-badge{
  width:10px;height:10px;border-radius:99px;
  background: var(--good);
  box-shadow: 0 0 0 10px rgba(44,242,180,.10);
}
}
.fleet-badge.warn{ background: var(--warn); box-shadow: 0 0 0 10px rgba(247,198,91,.10) }
.fleet-badge.bad{ background: var(--bad); box-shadow: 0 0 0 10px rgba(255,77,109,.10) }

.divider{
  height:1px;
  background: rgba(255,255,255,.10);
  margin: 12px 0;
}

.alert-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
  margin-bottom: 10px;
}
.alert-left{
  display:flex;
  flex-direction:column;
  gap:4px;
  min-width:0;
}
.alert-title{
  font-weight:860;
  letter-spacing:.10em;
  font-size:12px;
  color: rgba(240,245,255,.86);
}
.alert-sub{
  font-size:12px;
  letter-spacing:.04em;
  color: var(--muted);
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.alert-controls{
  display:flex;
  align-items:center;
  gap:8px;
  background: rgba(0,0,0,.22);
  border:1px solid rgba(255,255,255,.10);
  border-radius: 999px;
  padding: 4px;
}
button.seg{
  appearance:none;
  border:1px solid transparent;
  background: transparent;
  color: rgba(240,245,255,.72);
  padding: 8px 10px;
  border-radius: 999px;
  cursor:pointer;
  font-weight:800;
  letter-spacing:.06em;
  font-size:12px;
}
button.seg.active{
  background: linear-gradient(135deg, rgba(56,189,248,.22), rgba(167,139,250,.18));
  border-color: rgba(255,255,255,.14);
  color: rgba(240,245,255,.92);
}

.alert-stats{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:10px;
  margin-bottom: 10px;
}
.alert-stat{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding: 10px 12px;
  border-radius: 14px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.20);
}
.atag{
  padding: 6px 8px;
  border-radius: 999px;
  border:1px solid rgba(255,255,255,.14);
  font-size:11px;
  letter-spacing:.12em;
  font-weight:860;
  color: rgba(240,245,255,.86);
}
.atag.crit{ border-color: rgba(255,77,109,.35); background: rgba(255,77,109,.12) }
.atag.warn{ border-color: rgba(247,198,91,.35); background: rgba(247,198,91,.10) }
.atag.info{ border-color: rgba(56,189,248,.35); background: rgba(56,189,248,.10) }
.atag.all{ border-color: rgba(255,255,255,.18); background: rgba(255,255,255,.06) }
.anum{
  font-weight:900;
  letter-spacing:.06em;
  font-size:14px;
  color: rgba(240,245,255,.92);
}
.alabel{
  color: var(--muted2);
  font-size:12px;
  letter-spacing:.05em;
}

.alert-list{
  display:flex;
  flex-direction:column;
  gap:10px;
  margin-bottom: 6px;
}
.alert-item{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
  padding: 10px 12px;
  border-radius: 16px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.20);
  cursor:pointer;
  transition: transform .12s ease, border-color .12s ease, background .12s ease;
}
.alert-item:hover{
  transform: translateY(-1px);
  border-color: rgba(255,255,255,.16);
  background: rgba(0,0,0,.26);
}
.alert-item.crit{ border-color: rgba(255,77,109,.24); background: rgba(255,77,109,.08) }
.alert-item.warn{ border-color: rgba(247,198,91,.22); background: rgba(247,198,91,.06) }
.alert-item.info{ border-color: rgba(56,189,248,.20); background: rgba(56,189,248,.06) }

.alert-main{
  min-width:0;
  display:flex;
  flex-direction:column;
  gap:4px;
}
.alert-line{
  display:flex;
  align-items:center;
  gap:10px;
  min-width:0;
}
.alert-vehicle{
  font-weight:900;
  letter-spacing:.06em;
  font-size:12px;
  color: rgba(240,245,255,.92);
  white-space:nowrap;
}
.alert-title2{
  font-weight:860;
  letter-spacing:.04em;
  font-size:12px;
  color: rgba(240,245,255,.86);
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.alert-detail{
  font-size:12px;
  letter-spacing:.03em;
  color: var(--muted);
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.alert-meta{
  display:flex;
  flex-direction:column;
  align-items:flex-end;
  gap:6px;
  white-space:nowrap;
}
.alert-time{
  color: var(--muted2);
  font-size:12px;
  letter-spacing:.05em;
}
.alert-level{
  padding: 6px 8px;
  border-radius: 999px;
  border:1px solid rgba(255,255,255,.14);
  font-size:11px;
  letter-spacing:.12em;
  font-weight:900;
  color: rgba(240,245,255,.86);
}
.alert-level.crit{ border-color: rgba(255,77,109,.35); background: rgba(255,77,109,.12) }
.alert-level.warn{ border-color: rgba(247,198,91,.35); background: rgba(247,198,91,.10) }
.alert-level.info{ border-color: rgba(56,189,248,.35); background: rgba(56,189,248,.10) }

.video-grid{
  display:grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
.video-empty{
  border-radius: var(--radius);
  border:1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.18);
  color: var(--muted);
  font-weight: 820;
  letter-spacing: .08em;
  font-size: 12px;
  padding: 14px 12px;
}
.video-embed{
  border-radius: var(--radius);
  border:1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.18);
  box-shadow: 0 22px 70px rgba(0,0,0,.30);
  overflow:hidden;
}
.video-embed-iframe{
  display:block;
  width:100%;
  height: clamp(760px, 82vh, 1320px);
  border:0;
}
.video-card{
  border-radius: var(--radius);
  border:1px solid rgba(255,255,255,.10);
  background: linear-gradient(180deg, rgba(12,18,38,.55), rgba(12,18,38,.34));
  box-shadow: 0 22px 70px rgba(0,0,0,.30);
  overflow:hidden;
}
.thumb{
  height:120px;
  position:relative;
  background:
    radial-gradient(700px 240px at 20% 10%, rgba(56,189,248,.18), transparent 55%),
    radial-gradient(700px 240px at 80% 20%, rgba(167,139,250,.16), transparent 56%),
    linear-gradient(135deg, rgba(255,255,255,.08), rgba(255,255,255,.02));
}
.thumb::after{
  content:"";
  position:absolute;
  inset:0;
  background:
    linear-gradient(90deg, rgba(255,255,255,.10), transparent 40%, rgba(255,255,255,.10)),
    linear-gradient(0deg, rgba(0,0,0,.40), rgba(0,0,0,.02));
  opacity:.55;
  mix-blend-mode:screen;
}
.thumb .tag{
  position:absolute;
  left:12px;
  top:12px;
  padding: 7px 10px;
  border-radius:999px;
  background: rgba(0,0,0,.35);
  border:1px solid rgba(255,255,255,.12);
  font-size:12px;
  letter-spacing:.08em;
  font-weight:760;
}
.thumb .play{
  position:absolute;
  left:12px;
  bottom:12px;
  display:flex;
  align-items:center;
  gap:10px;
  padding: 9px 12px;
  border-radius: 999px;
  background: rgba(0,0,0,.42);
  border:1px solid rgba(255,255,255,.14);
  color: rgba(240,245,255,.90);
  font-size:12px;
  letter-spacing:.06em;
  font-weight:740;
}
.play .tri{
  width:0;height:0;
  border-left:10px solid rgba(240,245,255,.90);
  border-top:6px solid transparent;
  border-bottom:6px solid transparent;
  opacity:.90;
}
.video-foot{
  display:flex;
  flex-direction: column;
  align-items:flex-start;
  justify-content:flex-start;
  gap:6px;
  padding: 10px 12px;
}
.video-foot .l{
  display:flex;
  flex-direction:column;
  gap:3px;
  min-width:0;
}
.video-foot .l .t{
  font-weight:800;
  letter-spacing:.06em;
  font-size:13px;
  white-space: normal;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.video-foot .l .d{
  font-size:12px;
  color: var(--muted);
  letter-spacing:.04em;
  white-space: normal;
}
.video-foot .r{
  font-size:12px;
  color: var(--muted2);
  letter-spacing:.06em;
  white-space:nowrap;
  align-self: flex-end;
}

.map-shell{
  height:100%;
  display:flex;
  flex-direction:column;
}

.tune-pad{
  display:grid;
  grid-template-columns: 36px 36px 36px;
  grid-template-rows: 36px 36px 36px;
  gap: 6px;
  margin-top: 8px;
}
.move-actions{
  display:flex;
  gap: 8px;
  margin-top: 10px;
}
.move-actions .tune-btn{
  flex: 1;
  height: 34px;
}
.tune-btn{
  appearance:none;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(0,0,0,.22);
  color: rgba(240,245,255,.92);
  border-radius: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  cursor:pointer;
}
.tune-btn:hover{
  border-color: rgba(56,189,248,.22);
  background: rgba(56,189,248,.10);
}
.tune-btn:active{ transform: translateY(1px) }
.tune-btn.tune-reset{
  grid-column: 1 / span 3;
  height: 34px;
  border-radius: 12px;
  font-weight: 860;
}
.map-shell.fullscreen{
  position: fixed;
  inset: 0;
  z-index: 10000;
}
.map-shell.fullscreen .panel{
  border-radius: 0;
}
.map-shell.fullscreen .panel-head{
  position: sticky;
  top: 0;
  z-index: 2;
}
.map-shell.fullscreen .panel-head .panel-meta{
  margin-right: clamp(0px, 40vw, 448px);
}
.map-shell.fullscreen .map-wrap{
  border-radius: 0;
}
body.map-focus .topbar{
  display:none;
}
body.map-focus .bottombar{
  display:none;
}
body.map-focus .frame{
  grid-template-rows: 1fr;
}
body.map-focus .main{
  padding: 0;
  grid-template-columns: 1fr;
}
body.map-focus .main > section:not(.map-shell){
  display:none;
}
.map-body{
  padding: 12px;
  display:flex;
  flex-direction:column;
  min-height:0;
  overflow:hidden;
}
.map-wrap{
  position:relative;
  flex:1;
  min-height:0;
  border-radius: var(--radius2);
  border:1px solid rgba(255,255,255,.10);
  background:
    radial-gradient(900px 600px at 50% 35%, rgba(56,189,248,.10), transparent 58%),
    radial-gradient(700px 520px at 72% 60%, rgba(167,139,250,.10), transparent 60%),
    linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.02));
  overflow:hidden;
  box-shadow: 0 34px 100px rgba(0,0,0,.38);
}
.amap{
  position:absolute;
  inset:0;
}
.amap .amap-logo,
.amap .amap-copyright{
  opacity:.80;
  filter: saturate(0.9);
}
.amap .amap-marker-label{
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  box-shadow: none !important;
}
.amap .amap-marker-label:before,
.amap .amap-marker-label:after{
  display:none !important;
}
.amap-vehicle-label{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding: 7px 10px;
  border-radius: 999px;
  border: 1px solid rgba(10,12,16,.16);
  background: rgba(255,255,255,.88);
  color: rgba(10,12,16,.92);
  font-weight: 900;
  font-size: 12px;
  letter-spacing: .05em;
  text-shadow: 0 1px 0 rgba(255,255,255,.35);
  box-shadow: 0 18px 56px rgba(0,0,0,.22);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  user-select: none;
  pointer-events: none;
}
.amap-vehicle-label .dot{
  width:8px;
  height:8px;
  border-radius:99px;
  background: var(--good);
  box-shadow: 0 0 0 8px rgba(44,242,180,.10);
}
.amap-vehicle-label .txt{
  max-width: 140px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.amap-vehicle-label.selected{
  border-color: rgba(56,189,248,.32);
  background: rgba(255,255,255,.92);
  box-shadow: 0 20px 70px rgba(56,189,248,.10);
}
.amap-vehicle-label.offline{
  border-color: rgba(255,77,109,.18);
  background: rgba(255,255,255,.92);
  color: rgba(34,10,16,.92);
}
.amap-vehicle-label.offline .dot{
  background: var(--bad);
  box-shadow: 0 0 0 8px rgba(255,77,109,.10);
}
.amap-vehicle-label.warn{
  border-color: rgba(247,198,91,.20);
  background: rgba(255,255,255,.92);
}
.amap-vehicle-label.warn .dot{
  background: var(--warn);
  box-shadow: 0 0 0 8px rgba(247,198,91,.10);
}
.amap-vehicle-label.crit{
  border-color: rgba(255,77,109,.22);
  background: rgba(255,255,255,.92);
}
.amap-vehicle-label.crit .dot{
  background: var(--bad);
  box-shadow: 0 0 0 8px rgba(255,77,109,.10);
}
.map-grid{
  position:absolute; inset:-2px;
  background:
    linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(60% 60% at 50% 40%, #000 40%, transparent 78%);
  opacity:.45;
  pointer-events:none;
}
.map-error{
  position:absolute;
  left:14px;
  right:14px;
  bottom:14px;
  padding: 12px 14px;
  border-radius: 18px;
  border:1px solid rgba(255,77,109,.24);
  background: rgba(10, 12, 24, .76);
  box-shadow: 0 26px 80px rgba(0,0,0,.32);
  backdrop-filter: blur(14px);
}
.map-error-title{
  font-weight:900;
  letter-spacing:.10em;
  font-size:12px;
  color: rgba(255,215,223,.92);
}
.map-error-sub{
  margin-top:6px;
  font-size:12px;
  letter-spacing:.03em;
  color: rgba(240,245,255,.72);
  line-height:1.55;
}
.map-hud{
  position:absolute;
  left:14px;
  top:14px;
  right:14px;
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:12px;
  pointer-events:none;
}
.hud-card{
  pointer-events:auto;
  display:flex;
  align-items:center;
  gap:10px;
  padding: 10px 12px;
  border-radius: 16px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(0,0,0,.30);
  backdrop-filter: blur(14px);
  box-shadow: 0 22px 60px rgba(0,0,0,.28);
}
.hud-card .big{
  font-weight:860;
  letter-spacing:.10em;
  font-size:12px;
  color: rgba(240,245,255,.86);
}
.hud-card .small{
  font-size:12px;
  letter-spacing:.05em;
  color: var(--muted);
}
.hud-split{
  display:flex;
  flex-direction:column;
  gap:3px;
  min-width:0;
}

.kpi-grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 12px;
}
.kpi{
  display:grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto;
  align-items:end;
  border-radius: var(--radius);
  border:1px solid rgba(255,255,255,.10);
  background: linear-gradient(180deg, rgba(12,18,38,.58), rgba(12,18,38,.34));
  box-shadow: 0 24px 80px rgba(0,0,0,.26);
  padding: 10px 10px;
  position:relative;
  overflow:hidden;
}
.kpi::before{
  content:"";
  position:absolute;
  inset:-60px -120px auto auto;
  width:220px; height:220px;
  background: radial-gradient(circle at 30% 30%, rgba(56,189,248,.22), transparent 58%);
  opacity:.9;
}
.kpi .label{
  grid-column: 1 / -1;
  grid-row: 1;
  font-size:11px;
  letter-spacing:.10em;
  color: var(--muted2);
  font-weight:760;
  text-transform:uppercase;
}
.kpi .value{
  grid-column: 1;
  grid-row: 2;
  margin-top:6px;
  font-size:16px;
  font-weight:860;
  letter-spacing:.06em;
  line-height:1.1;
  font-variant-numeric: tabular-nums;
}
.kpi .sub{
  grid-column: 2;
  grid-row: 2;
  margin-top:0;
  font-size:11px;
  letter-spacing:.05em;
  color: var(--muted);
  text-align:right;
  padding-left: 10px;
}

.btnrow{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 12px 0 8px 0;
}
button.action{
  appearance:none;
  border:1px solid rgba(255,255,255,.12);
  background: linear-gradient(135deg, rgba(56,189,248,.20), rgba(167,139,250,.16));
  color: rgba(240,245,255,.92);
  border-radius: 16px;
  padding: 12px 12px;
  font-weight:820;
  letter-spacing:.08em;
  cursor:pointer;
  box-shadow: 0 28px 80px rgba(0,0,0,.24);
  transition: transform .12s ease, filter .12s ease, border-color .12s ease;
}
button.action:hover{ transform: translateY(-1px); filter: brightness(1.08); border-color: rgba(255,255,255,.18) }
button.action:active{ transform: translateY(0px); filter: brightness(1.0) }
button.action.secondary{
  background: linear-gradient(135deg, rgba(44,242,180,.12), rgba(56,189,248,.10));
}

.list{
  display:flex;
  flex-direction:column;
  gap:10px;
  margin-top: 10px;
}
.row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding: 9px 10px;
  border-radius: 14px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.20);
}
.row .l{
  min-width:0;
  display:flex;
  flex-direction:column;
  gap:3px;
}
.row .k{
  font-size:11px;
  letter-spacing:.08em;
  color: var(--muted2);
}
.row .v{
  font-weight:840;
  letter-spacing:.05em;
  font-size:13px;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.row .r{
  display:flex;
  align-items:center;
  gap:8px;
  white-space:nowrap;
  font-size:11px;
  color: var(--muted);
  letter-spacing:.05em;
}
.badge{
  width:10px;height:10px;border-radius:99px;
  background: var(--good);
  box-shadow: 0 0 0 10px rgba(44,242,180,.10);
}
.badge.warn{ background: var(--warn); box-shadow: 0 0 0 10px rgba(247,198,91,.10) }
.badge.bad{ background: var(--bad); box-shadow: 0 0 0 10px rgba(255,77,109,.10) }

.bottombar{
  height:40px;
  padding: 0 12px;
  border-top:1px solid rgba(255,255,255,.10);
  background: linear-gradient(180deg, rgba(255,255,255,.02), rgba(255,255,255,.06));
  backdrop-filter: blur(14px);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}
.timeline{
  display:flex;
  align-items:center;
  gap:8px;
  min-width:0;
  flex:1;
}
.step{
  display:flex;
  align-items:center;
  gap:8px;
  min-width:0;
}
.step .p{
  width:8px;height:8px;border-radius:99px;
  background: rgba(255,255,255,.22);
  border:1px solid rgba(255,255,255,.18);
}
.step.ok .p{ background: var(--good); border-color: rgba(44,242,180,.35) }
.step.now .p{
  background: var(--a);
  border-color: rgba(56,189,248,.45);
  box-shadow: 0 0 0 10px rgba(56,189,248,.10);
}
.step .tx{
  font-size:11px;
  color: var(--muted);
  letter-spacing:.05em;
  white-space:nowrap;
}
.bar{
  height:2px;
  flex:1;
  min-width:44px;
  background: linear-gradient(90deg, rgba(255,255,255,.16), rgba(255,255,255,.04));
  border-radius:999px;
  overflow:hidden;
}
.bar > i{
  display:block;
  height:100%;
  width:65%;
  background: linear-gradient(90deg, rgba(44,242,180,.72), rgba(56,189,248,.70), rgba(167,139,250,.64));
}

.footer-right{
  display:flex;
  align-items:center;
  gap:10px;
}
.smalltxt{
  font-size:11px;
  letter-spacing:.06em;
  color: var(--muted2);
  white-space:nowrap;
}

@media (max-width: 1180px){
  body{ overflow:auto }
  .frame{ min-height: 980px }
  .main{ grid-template-columns: 1fr; }
  .actions,.brand{ min-width:unset }
}
