:root {
  --cyan: #00f5ff; --purple: #b967ff; --orange: #ff6d00;
  --green: #00e676; --yellow: #ffd600; --magenta: #ff2bd6;
  --white: #e0f7fa; --dim: #a0b0c0; --muted: #4a5a6a;
  --bg: #010306; --panel: #080e1a; --panel-2: #0a1220;
  --sat: env(safe-area-inset-top, 0px);
  --sar: env(safe-area-inset-right, 0px);
  --sab: env(safe-area-inset-bottom, 0px);
  --sal: env(safe-area-inset-left, 0px);
  color-scheme: dark;
}
* { box-sizing: border-box; }
*:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; }
html, body {
  margin: 0; padding: 0; min-height: 100dvh;
  background: var(--bg); color: var(--white);
  font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden; overscroll-behavior: none;
}
body {
  background:
    radial-gradient(ellipse at 50% 15%, rgba(255,43,214,.05), transparent 40%),
    radial-gradient(ellipse at 50% 55%, rgba(0,245,255,.06), transparent 55%),
    radial-gradient(ellipse at 50% 90%, rgba(185,103,255,.04), transparent 45%),
    linear-gradient(rgba(0,245,255,.015) 1px, transparent 1px) 0 0/40px 40px,
    linear-gradient(90deg, rgba(0,245,255,.015) 1px, transparent 1px) 0 0/40px 40px,
    var(--bg);
  padding: calc(var(--sat) + 8px) var(--sar) var(--sab) var(--sal);
}
.mono { font-family: ui-monospace, 'JetBrains Mono', 'SF Mono', Menlo, Monaco, monospace; }
.dim { color: var(--dim); opacity: .75; }
.small { font-size: .7rem; }
.mt { margin-top: 8px; }
.right { margin-left: auto; }
.cyan{color:var(--cyan)} .purple{color:var(--purple)} .orange{color:var(--orange)}
.green{color:var(--green)} .yellow{color:var(--yellow)} .magenta{color:var(--magenta)}
.cyan-glow{color:var(--white);text-shadow:0 0 8px var(--cyan),0 0 20px rgba(0,245,255,.5)}
.purple-glow{color:var(--white);text-shadow:0 0 8px var(--purple),0 0 20px rgba(185,103,255,.5)}
.orange-glow{color:var(--white);text-shadow:0 0 8px var(--orange),0 0 20px rgba(255,109,0,.5)}
.green-glow{color:var(--white);text-shadow:0 0 8px var(--green),0 0 20px rgba(0,230,118,.5)}
.yellow-glow{color:var(--white);text-shadow:0 0 8px var(--yellow),0 0 20px rgba(255,214,0,.5)}
.magenta-glow{color:var(--white);text-shadow:0 0 8px var(--magenta),0 0 20px rgba(255,43,214,.5)}

.noscript{padding:40px 20px;text-align:center;color:var(--cyan);font-family:ui-monospace,monospace}

.app { max-width: 1400px; margin: 0 auto; padding: 12px; }
.app-header {
  padding: 16px 8px 20px; position: relative;
  border-bottom: 1px solid rgba(0,245,255,.15);
  margin-bottom: 20px;
}
.status-strip {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px;
  font-family: ui-monospace, monospace; font-size: 10px; font-weight: 700;
  letter-spacing: 1px; color: var(--dim); padding-bottom: 12px;
}
.status-strip .rec { color: var(--magenta); animation: blink 1.5s infinite; }
.status-strip .sec { color: var(--green); }
.status-strip b { font-weight: 700; }

.title {
  font-size: clamp(24px, 5vw, 44px); font-weight: 900;
  text-align: center; color: var(--cyan); letter-spacing: 4px; margin: 0;
  text-shadow: 0 0 10px var(--cyan), 0 0 25px rgba(0,245,255,.6), 0 0 40px rgba(0,245,255,.3);
  animation: neonPulse 4s ease-in-out infinite;
}
.title .letters { display: inline-block; }
.subtitle {
  text-align: center; color: var(--purple);
  font-family: ui-monospace, monospace; font-weight: 700;
  font-size: clamp(10px, 2.2vw, 14px); letter-spacing: 3px; margin: 6px 0 0;
  text-shadow: 0 0 8px rgba(185,103,255,.5);
}
.motto {
  text-align: center; color: var(--green);
  font-family: ui-monospace, monospace; font-size: clamp(9px, 1.8vw, 12px);
  letter-spacing: 2px; margin: 8px 0 16px;
  text-shadow: 0 0 6px rgba(0,230,118,.5);
}

.badges { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin: 12px 0 8px; }
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 14px; border-radius: 999px;
  font-family: ui-monospace, monospace; font-size: 11px; font-weight: 700;
  letter-spacing: 1px;
  background: color-mix(in srgb, var(--c) 8%, transparent);
  border: 1px solid color-mix(in srgb, var(--c) 60%, transparent);
  color: var(--white); transition: transform .15s;
}
.badge:hover { transform: translateY(-2px); }
.badge.cyan { --c: var(--cyan); } .badge.purple { --c: var(--purple); }
.badge.orange { --c: var(--orange); } .badge.green { --c: var(--green); }
.badge.yellow { --c: var(--yellow); }
.badge .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--c); box-shadow: 0 0 8px var(--c); }
.badge b { color: var(--c); font-weight: 700; }

.link-bar {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 20px;
  font-family: ui-monospace, monospace; font-size: 11px;
  padding-top: 12px; margin-top: 12px;
  border-top: 1px solid rgba(0,245,255,.15);
}
.link-bar .pulse {
  display: inline-block; width: 6px; height: 6px; border-radius: 50%;
  background: var(--green); box-shadow: 0 0 8px var(--green);
  margin-right: 6px; animation: pulse 2s infinite;
}

.grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 900px) {
  .grid { grid-template-columns: 1fr 1fr; }
  .card.wide { grid-column: 1 / -1; }
}

.card {
  --c: var(--cyan);
  position: relative;
  background: linear-gradient(180deg, color-mix(in srgb, var(--c) 3%, transparent), transparent 40%), var(--panel);
  border: 1px solid color-mix(in srgb, var(--c) 55%, transparent);
  border-radius: 12px; padding: 20px 20px 16px;
  box-shadow:
    0 0 0 1px color-mix(in srgb, var(--c) 8%, transparent),
    0 8px 32px rgba(0,0,0,.5),
    0 0 40px color-mix(in srgb, var(--c) 10%, transparent),
    inset 0 1px 0 color-mix(in srgb, var(--c) 15%, transparent);
  backdrop-filter: blur(12px) saturate(1.2);
  -webkit-backdrop-filter: blur(12px) saturate(1.2);
  overflow: hidden;
}
.card.cyan { --c: var(--cyan); } .card.purple { --c: var(--purple); }
.card.orange { --c: var(--orange); } .card.green { --c: var(--green); }
.card.yellow { --c: var(--yellow); } .card.magenta { --c: var(--magenta); }

.corners span {
  position: absolute; width: 14px; height: 14px;
  border-color: var(--c); border-style: solid; border-width: 0;
}
.corners span:nth-child(1) { top: 0; left: 0; border-top-width: 2px; border-left-width: 2px; }
.corners span:nth-child(2) { top: 0; right: 0; border-top-width: 2px; border-right-width: 2px; }
.corners span:nth-child(3) { bottom: 0; right: 0; border-bottom-width: 2px; border-right-width: 2px; }
.corners span:nth-child(4) { bottom: 0; left: 0; border-bottom-width: 2px; border-left-width: 2px; }

.card-header { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.card-header .live-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--c); box-shadow: 0 0 12px var(--c);
  animation: pulse 2s infinite; flex-shrink: 0;
}
.card-header .titles { flex: 1; min-width: 0; }
.card-header .pre {
  font-family: ui-monospace, monospace; font-size: 9px;
  color: var(--c); opacity: .55; font-weight: 700; letter-spacing: 1px;
}
.card-header h2 {
  font-size: 15px; font-weight: 700; color: var(--white);
  margin: 2px 0 0; letter-spacing: 1px;
  text-shadow: 0 0 4px color-mix(in srgb, var(--c) 60%, transparent);
}
.card-header .chip {
  font-family: ui-monospace, monospace; font-size: 10px; font-weight: 700;
  color: var(--c);
  background: color-mix(in srgb, var(--c) 12%, transparent);
  border: 1px solid color-mix(in srgb, var(--c) 40%, transparent);
  padding: 4px 10px; border-radius: 999px; white-space: nowrap;
}

.card-body { display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: center; }
.card.wide .card-body { grid-template-columns: 1fr; }

.card-footer {
  display: flex; align-items: center; gap: 8px;
  margin-top: 12px; padding-top: 8px;
  border-top: 1px dashed color-mix(in srgb, var(--c) 25%, transparent);
  font-family: ui-monospace, monospace; font-size: 9px;
}
.card-footer .tag { color: var(--c); opacity: .7; font-weight: 700; }
.card-footer .edge-bar {
  flex: 1; height: 3px;
  background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--c) 80%, transparent), transparent);
  background-size: 200% 100%;
  border-radius: 2px; animation: sweep 3s linear infinite;
}

.gauge { width: 130px; height: 130px; position: relative; flex-shrink: 0; }
.gauge svg { width: 100%; height: 100%; }
.gauge .gauge-bg { stroke: rgba(255,255,255,.05); fill: none; }
.gauge .gauge-fg {
  stroke: var(--c); fill: none;
  filter: drop-shadow(0 0 6px var(--c));
  transition: stroke-dashoffset 1s cubic-bezier(.34,1.56,.64,1);
}
.gauge .gauge-tick { stroke: var(--c); opacity: .35; }
.gauge .gauge-label {
  position: absolute; inset: 0;
  display: grid; place-items: center; pointer-events: none;
}
.gauge .value {
  font-size: 24px; font-weight: 900; color: var(--white);
  text-shadow: 0 0 8px var(--c);
}
.gauge .delta {
  font-family: ui-monospace, monospace; font-size: 9px; font-weight: 700;
  margin-top: 4px; text-align: center;
}
.gauge .delta.up { color: var(--green); }
.gauge .delta.down { color: var(--magenta); }

.metric-lines { display: flex; flex-direction: column; gap: 4px; }
.metric-lines .big {
  font-size: 24px; font-weight: 800; line-height: 1; margin-bottom: 4px;
}
.metric-lines .unit {
  font-size: 11px; color: var(--dim); font-weight: 400; margin-left: 4px;
}
.sparkline {
  width: 100%; height: 40px;
  filter: drop-shadow(0 0 4px var(--c));
}

.waveform { display: block; width: 100%; height: 60px; margin-top: 12px; }

.network-body { grid-template-columns: auto 1fr; }
.radar-wrap { position: relative; width: 140px; height: 140px; }
.radar { width: 100%; height: 100%; display: block; }
.net-stats { display: flex; flex-direction: column; gap: 4px; }
.net-row {
  display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap;
  font-family: ui-monospace, monospace;
}
.net-row .arrow { font-size: 14px; color: var(--green); }
.net-row b { font-size: 20px; font-weight: 800; }
.net-row .unit { font-size: 10px; color: var(--dim); }
.net-row div.small { flex-basis: 100%; margin-top: -2px; }

.partitions { margin-top: 16px; display: flex; flex-direction: column; gap: 6px; }
.p-row {
  display: flex; justify-content: space-between; align-items: center;
  font-family: ui-monospace, monospace; font-size: 11px; color: var(--dim);
}
.p-row b { color: var(--c); font-weight: 700; }

.holo-bar {
  --fill: 50%; --c: var(--cyan);
  height: 8px; background: rgba(255,255,255,.04);
  border: 1px solid color-mix(in srgb, var(--c) 40%, transparent);
  border-radius: 6px; overflow: hidden; position: relative;
}
.holo-bar::before {
  content: ''; display: block; width: var(--fill); height: 100%;
  background: linear-gradient(90deg, color-mix(in srgb, var(--c) 40%, transparent), var(--c));
  box-shadow: 0 0 12px var(--c), inset 0 0 8px rgba(255,255,255,.3);
  transition: width 1s cubic-bezier(.34,1.56,.64,1);
  border-radius: 6px;
}
.holo-bar.orange { --c: var(--orange); }
.holo-bar.yellow { --c: var(--yellow); }
.holo-bar.cyan { --c: var(--cyan); }
.holo-bar.green { --c: var(--green); }

.diagnostics-body {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr); gap: 16px; text-align: left;
}
.diag-metric .big {
  font-size: clamp(20px, 3vw, 28px); font-weight: 900;
  line-height: 1; margin: 4px 0 8px;
}
.diag-metric .underline {
  height: 2px;
  background: linear-gradient(90deg, var(--yellow), rgba(255,214,0,.2));
  border-radius: 2px; box-shadow: 0 0 8px var(--yellow);
}
.diag-bars { margin-top: 20px; display: flex; flex-direction: column; gap: 6px; }

.ai-body { grid-template-columns: auto 1fr; gap: 24px; align-items: center; }
.sigil {
  width: 80px; height: 80px; animation: spin 20s linear infinite;
  filter: drop-shadow(0 0 8px var(--magenta)); flex-shrink: 0;
}
.sigil svg { width: 100%; height: 100%; }
.ai-content .ai-msg {
  color: var(--white); font-family: ui-monospace, monospace;
  font-size: 13px; margin: 6px 0 8px; line-height: 1.4;
}

.worldmap-body {
  grid-template-columns: 1fr auto; gap: 20px; align-items: start;
}
.worldmap-wrap {
  position: relative;
  background: radial-gradient(ellipse at 50% 50%, rgba(0,230,118,.06), transparent 70%);
  border: 1px solid rgba(0,245,255,.1);
  border-radius: 8px; padding: 8px; min-height: 200px;
}
.worldmap { width: 100%; height: auto; display: block; }
.node-stats {
  display: flex; flex-direction: column; gap: 8px;
  min-width: 150px; padding-left: 16px;
  border-left: 1px dashed rgba(0,230,118,.3);
}
.node-stats .s-row {
  display: flex; flex-direction: column; gap: 2px;
  font-family: ui-monospace, monospace;
}
.node-stats .s-row .dim { font-size: 9px; letter-spacing: 1px; }
.node-stats .s-row b { font-size: 14px; font-weight: 800; }

.worldmap-legend {
  display: flex; align-items: center; gap: 20px; flex-wrap: wrap;
  margin-top: 12px; padding-top: 8px;
  border-top: 1px dashed rgba(0,230,118,.2);
  font-family: ui-monospace, monospace; font-size: 10px; font-weight: 700;
}
.worldmap-legend .dot {
  display: inline-block; width: 8px; height: 8px; border-radius: 50%;
  margin-right: 4px; vertical-align: middle;
}
.worldmap-legend .dot.cyan { background: var(--cyan); box-shadow: 0 0 6px var(--cyan); }
.worldmap-legend .dot.green { background: var(--green); box-shadow: 0 0 6px var(--green); }
.worldmap-legend .dot.yellow { background: var(--yellow); box-shadow: 0 0 6px var(--yellow); }

.worldmap .land-dot { fill: var(--cyan); }
.worldmap .grid-line { stroke: var(--cyan); stroke-opacity: .1; }
.worldmap .equator { stroke-opacity: .2; }
.worldmap .arc {
  fill: none; stroke-width: 1.5;
  filter: drop-shadow(0 0 4px currentColor);
  stroke-dasharray: 4 4; animation: dash 2s linear infinite;
}
.worldmap .arc-glow { fill: none; stroke-width: 5; opacity: .15; }
.worldmap .arc.active { stroke: var(--green); color: var(--green); }
.worldmap .arc.warning { stroke: var(--yellow); color: var(--yellow); }
.worldmap .arc.primary { stroke: var(--cyan); color: var(--cyan); }
.worldmap .node { filter: drop-shadow(0 0 6px currentColor); }
.worldmap .node-halo {
  animation: ping 2s ease-out infinite; transform-origin: center;
  transform-box: fill-box;
}
.worldmap .node-label {
  font-family: ui-monospace, monospace; font-size: 6px; font-weight: 700;
  fill: currentColor; text-anchor: middle;
  paint-order: stroke; stroke: var(--panel); stroke-width: 2;
}

.log-meta { text-align: right; font-size: 10px; margin-bottom: 8px; }
.event-log {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-direction: column-reverse;
  gap: 4px; max-height: 260px; overflow: hidden;
}
.event-log li {
  display: grid;
  grid-template-columns: auto auto auto 1fr;
  gap: 8px; align-items: center;
  padding: 4px 8px; border-left: 3px solid var(--c);
  font-family: ui-monospace, monospace; font-size: 11px;
  animation: slideIn .5s ease-out;
  background: rgba(255,255,255,.01);
  border-radius: 0 4px 4px 0;
}
.event-log li.info { --c: var(--green); }
.event-log li.warn { --c: var(--yellow); }
.event-log li.debug { --c: var(--purple); }
.event-log li.error { --c: var(--magenta); }
.event-log li .glyph { color: var(--c); font-weight: 700; }
.event-log li .time { color: var(--cyan); opacity: .5; font-size: 10px; }
.event-log li .level {
  color: var(--c); font-weight: 700; font-size: 10px;
  background: color-mix(in srgb, var(--c) 15%, transparent);
  padding: 1px 6px; border-radius: 3px;
}
.event-log li .msg { color: var(--white); opacity: .9; }
.event-log li.new::after {
  content: '▊'; color: var(--cyan); animation: blink 1s infinite;
}

.app-footer {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
  padding: 20px 8px calc(var(--sab) + 12px);
  margin-top: 20px;
  border-top: 1px solid rgba(0,245,255,.15);
  font-family: ui-monospace, monospace; font-size: 10px; letter-spacing: 1px;
}

.fab {
  position: fixed;
  right: calc(var(--sar) + 16px); bottom: calc(var(--sab) + 16px);
  z-index: 100; display: flex; flex-direction: column; align-items: center; gap: 10px;
}
.fab-btn {
  width: 56px; height: 56px; border-radius: 50%;
  background: rgba(8,14,26,.8);
  border: 1.5px solid var(--cyan); color: var(--cyan);
  font-size: 22px; cursor: pointer;
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 0 20px rgba(0,245,255,.4), inset 0 0 12px rgba(0,245,255,.15);
  transition: all .2s; display: grid; place-items: center;
}
.fab-btn:hover { transform: scale(1.05); box-shadow: 0 0 30px rgba(0,245,255,.7); }
.fab-btn.small { width: 44px; height: 44px; font-size: 16px; }
.fab-items {
  display: flex; flex-direction: column; gap: 10px;
  opacity: 0; transform: translateY(10px); pointer-events: none;
  transition: all .3s;
}
.fab[data-open="true"] .fab-items { opacity: 1; transform: translateY(0); pointer-events: auto; }
.fab[data-open="true"] .fab-icon { transform: rotate(180deg); }
.fab-icon { display: inline-block; transition: transform .3s; }

.install-banner {
  position: fixed;
  bottom: calc(var(--sab) + 16px);
  left: calc(var(--sal) + 16px); right: calc(var(--sar) + 16px);
  max-width: 480px; margin: 0 auto;
  z-index: 200; animation: slideUp .4s ease-out;
}
.install-banner[hidden] { display: none !important; }
.ib-body {
  display: flex; align-items: center; gap: 12px;
  background: rgba(8,14,26,.95);
  border: 1px solid var(--cyan);
  border-radius: 12px; padding: 12px 16px;
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 8px 32px rgba(0,0,0,.5), 0 0 24px rgba(0,245,255,.3);
}
.ib-body img { flex-shrink: 0; border-radius: 8px; }
.ib-body b { color: var(--cyan); font-size: 13px; }
.ib-body p {
  margin: 2px 0 0; font-family: ui-monospace, monospace;
  font-size: 11px; color: var(--dim);
}
.btn {
  background: transparent; border: 1px solid var(--cyan); color: var(--cyan);
  padding: 8px 14px; border-radius: 6px;
  font-family: ui-monospace, monospace; font-size: 11px; font-weight: 700;
  letter-spacing: 1px; cursor: pointer; transition: all .2s;
}
.btn:hover { background: rgba(0,245,255,.1); }
.btn.ghost { border-color: transparent; color: var(--dim); }

.toast {
  position: fixed;
  top: calc(var(--sat) + 16px);
  left: 50%; transform: translateX(-50%); z-index: 300;
  background: rgba(8,14,26,.95); border: 1px solid var(--cyan);
  color: var(--white); padding: 12px 20px; border-radius: 8px;
  font-family: ui-monospace, monospace; font-size: 12px;
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 8px 24px rgba(0,0,0,.5), 0 0 20px rgba(0,245,255,.3);
  cursor: pointer; animation: toastIn .3s ease-out;
}
.toast[hidden] { display: none; }

#matrix-overlay {
  position: fixed; inset: 0;
  width: 100vw; height: 100vh; z-index: 500;
  background: rgba(1,3,6,.85); pointer-events: none;
}
#matrix-overlay[hidden] { display: none; }

@keyframes neonPulse {
  0%, 100% { text-shadow: 0 0 10px var(--cyan), 0 0 25px rgba(0,245,255,.6), 0 0 40px rgba(0,245,255,.3); }
  50% { text-shadow: 0 0 15px var(--cyan), 0 0 35px rgba(0,245,255,.8), 0 0 60px rgba(0,245,255,.4); }
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .6; transform: scale(1.15); }
}
@keyframes blink {
  0%, 49% { opacity: 1; }
  50%, 100% { opacity: .2; }
}
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes sweep {
  0% { background-position: -100% 0; }
  100% { background-position: 200% 0; }
}
@keyframes dash { to { stroke-dashoffset: -20; } }
@keyframes ping {
  0% { transform: scale(0.4); opacity: 1; }
  100% { transform: scale(2.5); opacity: 0; }
}
@keyframes slideIn {
  from { opacity: 0; transform: translateX(-20px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes slideUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes toastIn {
  from { opacity: 0; transform: translate(-50%, -20px); }
  to { opacity: 1; transform: translate(-50%, 0); }
}

@media (max-width: 640px) {
  .app { padding: 8px; }
  .status-strip { font-size: 9px; gap: 6px; }
  .card { padding: 16px 14px 12px; }
  .card-header h2 { font-size: 13px; }
  .card-body { grid-template-columns: 1fr; gap: 12px; justify-items: center; }
  .gauge { width: 120px; height: 120px; margin: 0 auto; }
  .metric-lines { text-align: center; align-items: center; }
  .diagnostics-body { grid-template-columns: 1fr 1fr; }
  .worldmap-body { grid-template-columns: 1fr; }
  .node-stats {
    padding-left: 0; border-left: none;
    padding-top: 12px; border-top: 1px dashed rgba(0,230,118,.3);
    display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
  }
  .link-bar { font-size: 10px; }
  .worldmap-legend { gap: 10px; font-size: 9px; }
  .fab-btn { width: 48px; height: 48px; }
}
@media (min-width: 1200px) {
  .card.wide { padding: 24px; }
  .diagnostics-body { gap: 24px; }
  .worldmap-body { gap: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
@media print {
  body { background: white; color: black; }
  .fab, .install-banner, .toast, #matrix-overlay { display: none !important; }
}
