 :root{
  --bg0:#050914;
  --bg1:#07111f;
  --bg2:#0e2138;
  --card:#0f1f33;
  --card2:#081220;
  --ink:#f8fafc;
  --mut:#a9bbd5;
  --line:rgba(148,163,184,.24);
  --cyan:#38bdf8;
  --blue:#60a5fa;
  --gold:#f59e0b;
  --yellow:#facc15;
  --orange:#fb923c;
  --red:#ef4444;
  --green:#22c55e;
  --purple:#c084fc;
}
*{box-sizing:border-box}
html,body{margin:0;min-height:100%;background:radial-gradient(circle at 20% 0,#17466b 0,#07111f 48%,#040711 100%);font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;color:var(--ink)}
button,input,select{font:inherit}
button{cursor:pointer}
.app-shell{max-width:1720px;margin:0 auto;padding:16px}
.hero{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(420px,.8fr);gap:16px;align-items:stretch;margin-bottom:16px}
.hero-main{position:relative;overflow:hidden;background:linear-gradient(135deg,rgba(11,38,65,.95),rgba(20,117,161,.92));border:1px solid rgba(125,211,252,.28);border-radius:28px;padding:24px 28px;box-shadow:0 28px 80px rgba(0,0,0,.35)}
.hero-main:before{content:"";position:absolute;inset:-40% -10% auto auto;width:420px;height:420px;border-radius:50%;background:radial-gradient(circle,rgba(125,211,252,.26),transparent 64%);pointer-events:none}
.eyebrow,.small-label{font-size:12px;font-weight:950;letter-spacing:.09em;text-transform:uppercase;color:#a7f3d0}
.hero h1{font-size:clamp(34px,4.8vw,68px);line-height:.95;margin:8px 0 12px;font-weight:1000;letter-spacing:-.055em}
.hero-lead{font-size:17px;line-height:1.45;max-width:960px;color:#e0f2fe;margin:0 0 14px}
.hero-meta{font-size:14px;color:#dbeafe;margin-bottom:12px}
.diagnostic{display:inline-block;max-width:980px;background:rgba(3,10,22,.38);border:1px solid rgba(226,232,240,.16);border-radius:18px;padding:11px 13px;color:#f8fafc;font-weight:750;line-height:1.35}
.kpi-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;background:rgba(15,31,51,.86);border:1px solid rgba(148,163,184,.22);border-radius:28px;padding:13px;box-shadow:0 28px 80px rgba(0,0,0,.27)}
.kpi{background:linear-gradient(180deg,rgba(8,18,32,.86),rgba(8,18,32,.62));border:1px solid rgba(148,163,184,.22);border-radius:18px;padding:13px;min-height:92px;box-shadow:inset 0 1px 0 rgba(255,255,255,.04)}
.kpi .lab{font-size:11px;color:#a9bbd5;text-transform:uppercase;font-weight:950;letter-spacing:.06em}
.kpi .val{font-size:27px;font-weight:1000;margin-top:5px;letter-spacing:-.04em;line-height:1}
.kpi .sub{font-size:12px;color:#a9bbd5;font-weight:850;line-height:1.15;margin-top:5px}
.modebar{display:flex;gap:9px;flex-wrap:wrap;margin:0 0 14px;position:sticky;top:0;z-index:900;background:linear-gradient(180deg,rgba(7,17,31,.96),rgba(7,17,31,.78));backdrop-filter:blur(8px);padding:8px 0}
.mode,.range,.ghost,.toolbar-actions button{border:1px solid rgba(125,211,252,.26);background:rgba(15,31,51,.86);color:#dbeafe;border-radius:999px;padding:10px 15px;font-weight:950;box-shadow:0 8px 20px rgba(0,0,0,.18)}
.mode.active,.range.active{background:linear-gradient(135deg,#fbbf24,#f97316);color:#07111f;border-color:#fed7aa}
.dashboard{display:grid;grid-template-columns:minmax(0,1fr) 405px;gap:16px}
.map-card,.panel,.station-panel,.table-section{background:rgba(15,31,51,.78);border:1px solid rgba(148,163,184,.22);border-radius:26px;box-shadow:0 24px 70px rgba(0,0,0,.33)}
.map-card{overflow:hidden;position:relative}
.map-toolbar{position:absolute;top:14px;left:14px;right:14px;z-index:700;display:flex;justify-content:space-between;gap:10px;align-items:center;pointer-events:none}
.map-toolbar>div{pointer-events:auto}
.map-toolbar strong{display:block;font-size:22px;text-shadow:0 2px 15px rgba(0,0,0,.65)}
.toolbar-actions{display:flex;gap:8px}
.toolbar-actions button{border-radius:14px;padding:8px 11px}
#map{height:790px;width:100%;background:#07111f}
.leaflet-container{background:#07111f}
.leaflet-tile-pane{filter:brightness(.62) saturate(.92) contrast(1.08)}
.map-legend{position:absolute;left:16px;bottom:16px;z-index:700;background:rgba(7,17,31,.92);border:1px solid rgba(148,163,184,.25);border-radius:18px;padding:12px 14px;min-width:260px;color:#dbeafe;box-shadow:0 15px 35px rgba(0,0,0,.35)}
.legendbar{height:8px;border-radius:999px;margin:9px 0;background:linear-gradient(90deg,#1e3a8a,#38bdf8,#22c55e,#facc15,#f97316,#dc2626,#7f1d1d)}
.legend-row{display:flex;justify-content:space-between;gap:12px;color:#a9bbd5;font-size:11px;font-weight:800}
.sidebar{display:flex;flex-direction:column;gap:14px}
.panel{padding:16px}
.panel h2,.station-panel h2,.table-section h2{font-size:22px;margin:0 0 12px;font-weight:1000;letter-spacing:-.025em}
.rank-list,.micro-list,.network-status{display:grid;gap:9px}
.rankitem,.microitem,.statusitem{display:grid;grid-template-columns:38px 1fr auto;gap:10px;align-items:center;background:rgba(8,18,32,.72);border:1px solid rgba(148,163,184,.19);border-radius:16px;padding:10px}
.microitem,.statusitem{grid-template-columns:1fr auto}
.emoji{font-size:22px}
.rlabel,.itemlab{font-size:12px;color:#a9bbd5;font-weight:950;text-transform:uppercase;letter-spacing:.04em}
.rstation,.itemmain{font-size:14px;font-weight:1000}
.rval,.itemval{font-size:20px;font-weight:1000;color:#fef3c7}
.bm-marker{background:transparent!important;border:0!important;overflow:visible!important}
.live-node{width:70px;min-height:56px;border-radius:16px;padding:5px 6px 6px;text-align:center;color:#f8fafc;background:rgba(6,14,27,.94);border:2px solid var(--c,#22c55e);box-shadow:0 0 var(--halo,14px) var(--haloColor,rgba(34,211,238,.30)),0 10px 22px rgba(0,0,0,.60);backdrop-filter:blur(5px);position:relative;transform:translate(var(--dx,0px),var(--dy,0px));transition:transform .22s ease, box-shadow .22s ease, opacity .2s ease}
.compact .live-node{width:58px;min-height:44px;border-radius:13px}
.live-node.extreme-hot,.live-node.extreme-cold,.live-node.extreme-gust{animation:pulseNode 1.8s infinite}
@keyframes pulseNode{0%,100%{filter:brightness(1)}50%{filter:brightness(1.25)}}
.n-name{font-size:8.2px;line-height:1.02;font-weight:1000;color:#e2e8f0;height:17px;overflow:hidden}
.compact .n-name{display:none}
.n-main{font-size:18px;font-weight:1000;line-height:1;margin:3px 0;letter-spacing:-.04em}
.compact .n-main{font-size:16px;margin:1px 0}
.n-sub{font-size:7.8px;color:#cbd5e1;font-weight:850;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.compact .n-sub{font-size:7px}
.rainbar{height:3px;background:rgba(148,163,184,.30);border-radius:99px;margin-top:4px;overflow:hidden}
.rainfill{height:100%;width:var(--rainw,0%);background:#38bdf8}
.arrow{position:absolute;right:4px;top:3px;font-size:11px;color:#fff;transform:rotate(var(--rot,0deg));opacity:.95}
.leaflet-marker-icon{overflow:visible!important}
.leaflet-marker-pane{z-index:650!important}
.leaflet-popup-content-wrapper{background:#0f1f33;color:#f8fafc;border-radius:16px;border:1px solid rgba(148,163,184,.35)}
.leaflet-popup-tip{background:#0f1f33}
.leader-line{stroke:rgba(248,250,252,.48);stroke-width:1.2;stroke-dasharray:3 4}
.contrast-line{stroke:#f8fafc;stroke-width:3;stroke-dasharray:8 8;filter:drop-shadow(0 0 6px rgba(255,255,255,.7))}
.station-panel{margin-top:16px;padding:18px;display:none}
.station-panel.open{display:block}
.station-head{display:flex;justify-content:space-between;gap:16px;align-items:flex-start;border-bottom:1px solid var(--line);padding-bottom:14px;margin-bottom:14px}
.station-head p{margin:4px 0 0;color:#a9bbd5;font-weight:750}
.ghost{border-radius:14px}
.station-current{display:grid;grid-template-columns:repeat(6,1fr);gap:10px;margin-bottom:14px}
.station-card{background:rgba(8,18,32,.72);border:1px solid rgba(148,163,184,.19);border-radius:16px;padding:12px}
.station-card .lab{font-size:11px;color:#a9bbd5;text-transform:uppercase;font-weight:950}
.station-card .val{font-size:23px;font-weight:1000;margin-top:4px}
.station-card .sub{font-size:11px;color:#a9bbd5;margin-top:2px;font-weight:800}
.history-control{display:flex;gap:12px;justify-content:space-between;flex-wrap:wrap;align-items:center;margin:10px 0 12px}
.range-buttons,.var-toggles{display:flex;gap:8px;flex-wrap:wrap}
.var-toggles label{display:flex;gap:5px;align-items:center;background:rgba(8,18,32,.58);border:1px solid rgba(148,163,184,.18);border-radius:999px;padding:8px 10px;color:#dbeafe;font-weight:850;font-size:13px}
.chart-wrap{background:rgba(8,18,32,.56);border:1px solid rgba(148,163,184,.18);border-radius:18px;padding:10px}
#stationChart{height:460px}
.chart-note{font-size:12px;color:#a9bbd5;margin:8px 4px 0}
.table-section{margin-top:16px;padding:18px}
.table-head{display:flex;justify-content:space-between;gap:16px;align-items:flex-end;margin-bottom:12px}
.table-tools{display:flex;gap:10px;flex-wrap:wrap}
.table-tools input,.table-tools select{background:#081220;color:#f8fafc;border:1px solid rgba(148,163,184,.28);border-radius:14px;padding:10px 12px;font-weight:800}
.table-scroll{overflow:auto;border:1px solid rgba(148,163,184,.18);border-radius:18px}
table{width:100%;border-collapse:collapse;min-width:1180px;background:rgba(8,18,32,.40)}
th,td{padding:10px 11px;border-bottom:1px solid rgba(148,163,184,.13);text-align:right;font-size:13px;white-space:nowrap}
th:first-child,td:first-child,th:nth-child(2),td:nth-child(2){text-align:left}
th{position:sticky;top:0;background:#10243c;color:#dbeafe;font-size:11px;text-transform:uppercase;letter-spacing:.04em;cursor:pointer;z-index:2}
tbody tr{cursor:pointer}
tbody tr:hover{background:rgba(56,189,248,.10)}
.station-name{font-weight:1000;color:#f8fafc}
.station-zone{color:#a9bbd5;font-weight:800}
.badge{display:inline-flex;align-items:center;border-radius:999px;padding:4px 8px;font-weight:950;font-size:11px;border:1px solid rgba(148,163,184,.22)}
.ok{background:rgba(34,197,94,.12);color:#86efac}
.warn{background:rgba(250,204,21,.12);color:#fde68a}
.bad{background:rgba(239,68,68,.13);color:#fecaca}
.footer{text-align:center;color:#a9bbd5;font-size:12px;padding:18px}
.err{padding:18px;background:#7f1d1d;color:#fff;border-radius:18px}
@media(max-width:1220px){.hero{grid-template-columns:1fr}.dashboard{grid-template-columns:1fr}.kpi-grid{grid-template-columns:repeat(3,1fr)}.sidebar{grid-template-columns:repeat(3,1fr);display:grid}.station-current{grid-template-columns:repeat(3,1fr)}}
@media(max-width:760px){.app-shell{padding:10px}.hero-main{padding:18px}.hero h1{font-size:36px}.kpi-grid{grid-template-columns:repeat(2,1fr);border-radius:20px}.sidebar{display:flex}.station-current{grid-template-columns:repeat(2,1fr)}#map{height:620px}.map-toolbar{position:relative;top:auto;left:auto;right:auto;padding:12px;background:rgba(8,18,32,.85)}.map-legend{position:relative;left:auto;bottom:auto;border-radius:0}.table-head,.station-head{display:block}.table-tools{margin-top:10px}.modebar{position:relative}.station-current{grid-template-columns:1fr 1fr}.hero{gap:10px}}


/* =========================
   V3 additions
   ========================= */
.panel-title-row{display:flex;justify-content:space-between;gap:10px;align-items:center;margin-bottom:10px}
.panel-title-row h2{margin:0}
.mini-select{background:#081220;color:#f8fafc;border:1px solid rgba(148,163,184,.28);border-radius:12px;padding:8px 10px;font-weight:900;max-width:170px}
.rank-bars .rankitem{grid-template-columns:34px 1fr 74px;position:relative;overflow:hidden}
.rank-bars .rankitem:before{content:"";position:absolute;left:0;top:0;bottom:0;width:var(--barw,0%);background:linear-gradient(90deg,rgba(56,189,248,.18),rgba(249,115,22,.18));z-index:0}
.rank-bars .rankitem>*{position:relative;z-index:1}
.station-tabs{display:flex;gap:8px;flex-wrap:wrap;margin:4px 0 14px;border-bottom:1px solid rgba(148,163,184,.18);padding-bottom:10px}
.station-tab{border:1px solid rgba(125,211,252,.24);background:rgba(8,18,32,.70);color:#dbeafe;border-radius:999px;padding:9px 13px;font-weight:1000;cursor:pointer}
.station-tab.active{background:linear-gradient(135deg,#38bdf8,#2563eb);border-color:#7dd3fc;color:#f8fafc}
.precip-module{display:none;margin:0 0 14px}.precip-module.open{display:block}
.precip-cards{display:grid;grid-template-columns:repeat(5,1fr);gap:10px}
.precip-card{background:linear-gradient(180deg,rgba(8,47,73,.86),rgba(8,18,32,.68));border:1px solid rgba(56,189,248,.25);border-radius:16px;padding:12px}
.precip-card .lab{font-size:11px;color:#bae6fd;text-transform:uppercase;font-weight:1000;letter-spacing:.05em}
.precip-card .val{font-size:24px;font-weight:1000;color:#38bdf8;margin-top:4px}.precip-card .sub{font-size:11px;color:#a9bbd5;font-weight:800;margin-top:2px}
.precip-help{font-size:12px;color:#a9bbd5;margin-top:8px;background:rgba(8,18,32,.55);border:1px solid rgba(148,163,184,.16);border-radius:12px;padding:9px 11px}
.popup-btn{margin-top:8px;border:1px solid rgba(56,189,248,.35);background:#0ea5e9;color:#04111f;border-radius:10px;padding:7px 10px;font-weight:1000;cursor:pointer}
@media(max-width:1100px){.precip-cards{grid-template-columns:repeat(3,1fr)}}
@media(max-width:650px){.precip-cards{grid-template-columns:repeat(2,1fr)}.panel-title-row{display:block}.mini-select{margin-top:8px;width:100%;max-width:none}}


/* =========================
   V4 refinements requested
   ========================= */
.scope-tabs{display:flex;gap:10px;flex-wrap:wrap;margin:0 0 10px}
.scope{border:1px solid rgba(125,211,252,.28);background:rgba(8,18,32,.78);color:#dbeafe;border-radius:18px;padding:12px 18px;font-weight:1000;font-size:15px}
.scope.active{background:linear-gradient(135deg,#22c55e,#38bdf8);color:#03111f;border-color:#7dd3fc}
.mode[data-layer="contrast"]{display:none!important}
.map-card{display:flex;flex-direction:column;height:100%}
#map{height:760px;min-height:620px;flex:1 1 auto}
.dashboard{align-items:stretch}
.leaflet-bottom.leaflet-right{display:none}
.plotly .hoverlayer .hovertext path,.plotly .hoverlayer .hovertext rect,.hoverlayer .hovertext path,.hoverlayer .hovertext rect{fill:#07111f!important;stroke:rgba(125,211,252,.60)!important}
.plotly .hoverlayer .hovertext text,.hoverlayer .hovertext text{fill:#f8fafc!important}
.compare-section{margin-top:16px;padding:18px;background:rgba(15,31,51,.78);border:1px solid rgba(148,163,184,.22);border-radius:26px;box-shadow:0 24px 70px rgba(0,0,0,.33)}
.compare-help{margin:0 0 12px;color:#a9bbd5;font-weight:750}
#compareChart{height:430px;background:rgba(8,18,32,.42);border:1px solid rgba(148,163,184,.16);border-radius:18px}
.compare-check{width:18px;height:18px;accent-color:#38bdf8}
th:first-child,td:first-child{text-align:center}
th:nth-child(2),td:nth-child(2),th:nth-child(3),td:nth-child(3){text-align:left}
.inversion-card{background:linear-gradient(135deg,rgba(37,99,235,.20),rgba(14,165,233,.14));border:1px solid rgba(96,165,250,.35)}
.no-inversion-card{background:rgba(8,18,32,.72);border:1px solid rgba(148,163,184,.18)}
.rank-bars .rankitem{position:relative;overflow:hidden}
.rank-bars .rankitem:before{content:"";position:absolute;left:0;top:0;bottom:0;width:var(--barw,0%);background:linear-gradient(90deg,rgba(56,189,248,.18),rgba(249,115,22,.18));z-index:0}
.rank-bars .rankitem>*{position:relative;z-index:1}
@media(max-width:760px){#map{height:620px}.scope{flex:1 1 auto;text-align:center}.compare-section{padding:12px}}


/* =========================
   V5 fixes: map fill, popup readability, no hover boxes
   ========================= */
#map{height:clamp(650px,72vh,820px)!important;min-height:650px!important;flex:none!important;position:relative;}
.map-card{min-height:unset!important;}
.leaflet-container{height:100%!important;}
.leaflet-popup-content{margin:0!important;min-width:310px;}
.pop-v5{padding:18px 18px 16px;background:#0f1f33;color:#f8fafc;border-radius:16px;}
.pop-v5 h3{margin:0 0 6px;font-size:22px;line-height:1.05;font-weight:1000;}
.pop-v5 .pop-meta{color:#cbd5e1;font-size:14px;font-weight:850;margin-bottom:12px;}
.pop-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:10px 0 12px;}
.pop-cell{background:rgba(8,18,32,.72);border:1px solid rgba(148,163,184,.18);border-radius:12px;padding:9px;}
.pop-cell .lab{font-size:10px;text-transform:uppercase;letter-spacing:.05em;color:#a9bbd5;font-weight:1000;}
.pop-cell .val{font-size:18px;font-weight:1000;margin-top:2px;color:#fff7cc;}
.popup-btn{width:100%;font-size:15px;}
.compare-section{display:block;}
.plotly .hoverlayer{display:none!important;}


/* =========================
   V6 hard fixes
   ========================= */

.map-card{display:block!important}
#map{height:760px!important;min-height:760px!important;flex:none!important}
.leaflet-bottom.leaflet-right{display:none!important}

.leaflet-popup-content-wrapper{
  background:#0b1b2e!important;color:#f8fafc!important;border-radius:22px!important;
  border:1px solid rgba(125,211,252,.32)!important;box-shadow:0 24px 70px rgba(0,0,0,.58)!important;
}
.leaflet-popup-content{margin:0!important;width:420px!important;max-width:76vw!important}
.leaflet-popup-tip{background:#0b1b2e!important}
.leaflet-container a.leaflet-popup-close-button{color:#cbd5e1!important;font-size:24px!important;padding:10px 12px!important}

.pop-card{padding:18px}
.pop-card h3{margin:0 0 6px;font-size:24px;line-height:1.08;font-weight:1000;letter-spacing:-.03em}
.pop-meta{color:#cbd5e1;font-weight:850;margin:0 0 14px;font-size:14px}
.pop-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:8px}
.pop-metric{background:rgba(7,17,31,.72);border:1px solid rgba(148,163,184,.18);border-radius:14px;padding:10px}
.pop-metric .lab{font-size:10px;text-transform:uppercase;letter-spacing:.06em;color:#a9bbd5;font-weight:1000}
.pop-metric .val{font-size:20px;color:#f8fafc;font-weight:1000;margin-top:3px;white-space:nowrap}
.pop-actions{margin-top:12px;display:flex;gap:8px}
.popup-btn{border:1px solid rgba(56,189,248,.55)!important;background:linear-gradient(135deg,#38bdf8,#0ea5e9)!important;color:#03111f!important;border-radius:13px!important;padding:10px 13px!important;font-weight:1000!important;cursor:pointer!important}

.thermal-compact .microitem{grid-template-columns:1fr auto}
.thermal-compact .itemmain{font-size:15px!important}
.altitude-card{background:rgba(8,18,32,.72)!important;border:1px solid rgba(148,163,184,.18)!important}
.altitude-card .itemmain{color:#dbeafe!important}
.micro-list .itemval,.microitem .itemval{font-size:18px}
.micro-list .itemmain,.microitem .itemmain{font-size:15px}

/* Definitive kill of Plotly hover boxes */
.plotly .hoverlayer,
#stationChart .hoverlayer,
#compareChart .hoverlayer{display:none!important;opacity:0!important;pointer-events:none!important}


/* =========================
   V7 fixes: no altitude card + readable Plotly hover
   ========================= */

/* Re-enable Plotly hover labels after V6 hard kill */
.plotly .hoverlayer,
#stationChart .hoverlayer,
#compareChart .hoverlayer{
  display:block!important;
  opacity:1!important;
  pointer-events:none!important;
}
.plotly .hoverlayer .hovertext path,
.plotly .hoverlayer .hovertext rect,
#stationChart .hoverlayer .hovertext path,
#stationChart .hoverlayer .hovertext rect,
#compareChart .hoverlayer .hovertext path,
#compareChart .hoverlayer .hovertext rect{
  fill:#07111f!important;
  stroke:rgba(125,211,252,.70)!important;
}
.plotly .hoverlayer .hovertext text,
#stationChart .hoverlayer .hovertext text,
#compareChart .hoverlayer .hovertext text{
  fill:#f8fafc!important;
}


/* =========================
   V8 real dual JSON integration
   ========================= */
.scope.loading{opacity:.65;filter:saturate(.5)}
.scope[data-scope="noroeste"].active{background:linear-gradient(135deg,#f97316,#38bdf8);color:#03111f}
.dataset-pill{display:inline-block;margin-left:8px;padding:3px 8px;border-radius:999px;background:rgba(56,189,248,.16);border:1px solid rgba(56,189,248,.28);font-weight:1000;color:#bae6fd}
.plotly .hoverlayer,
#stationChart .hoverlayer,
#compareChart .hoverlayer{display:block!important;opacity:1!important}
.plotly .hoverlayer .hovertext path,
.plotly .hoverlayer .hovertext rect{fill:#07111f!important;stroke:rgba(125,211,252,.75)!important}
.plotly .hoverlayer .hovertext text{fill:#f8fafc!important}


/* =========================
   V9 compact map markers + extra layers
   ========================= */
.modebar{gap:7px}
.mode{padding:9px 12px;font-size:13px}

.bm-marker{background:transparent!important;border:0!important;overflow:visible!important}
.live-node.mini{
  width:52px!important;
  min-height:36px!important;
  height:36px!important;
  border-radius:13px!important;
  padding:3px 4px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  background:rgba(5,12,24,.92)!important;
  border:2px solid var(--c,#38bdf8)!important;
  box-shadow:0 0 0 1px rgba(255,255,255,.08),0 5px 16px rgba(0,0,0,.42),0 0 var(--halo,12px) color-mix(in srgb,var(--c,#38bdf8) 45%,transparent)!important;
}
.live-node.mini .n-main{
  font-size:15px!important;
  line-height:1!important;
  font-weight:1000!important;
  letter-spacing:-.04em!important;
  text-shadow:0 2px 8px rgba(0,0,0,.85)!important;
  white-space:nowrap!important;
}
.live-node.mini .wind-arrow{
  position:absolute!important;
  top:-9px!important;
  right:-8px!important;
  font-size:13px!important;
  color:#f8fafc!important;
  text-shadow:0 2px 5px #000!important;
}
.live-node.mini.extreme-hot,.live-node.mini.extreme-cold{transform:none!important}
.leader-line{display:none!important}
@media(max-width:760px){
  .live-node.mini{width:46px!important;height:32px!important;min-height:32px!important}
  .live-node.mini .n-main{font-size:13px!important}
}


/* =========================
   V10 final map contrast + compact active-only markers
   ========================= */

.live-node.mini{
  background:linear-gradient(180deg,var(--bg,#07111f),#020617)!important;
  border-color:var(--c,#38bdf8)!important;
  box-shadow:
    0 0 0 1px rgba(255,255,255,.12),
    0 5px 16px rgba(0,0,0,.55),
    0 0 20px var(--glow,rgba(56,189,248,.55))!important;
}
.live-node.mini .n-main{
  color:var(--txt,#f8fafc)!important;
  text-shadow:0 2px 7px rgba(0,0,0,.95),0 0 8px rgba(0,0,0,.85)!important;
}
.rank-bars .rankitem:before{
  background:linear-gradient(90deg,rgba(56,189,248,.16),rgba(249,115,22,.28),rgba(217,70,239,.20))!important;
}
#rankingMetric option{background:#07111f;color:#f8fafc}


/* =========================
   V11 final polish
   ========================= */
.scope.loading{opacity:.78}
.chart-note{color:#a9bbd5;font-weight:850}
#map .err{padding:20px;color:#fecaca;font-weight:1000}
.live-node.mini.pending-metric{opacity:.72}
