body.lora-live-tool {
  background:
    linear-gradient(rgba(4, 7, 9, 0.62), rgba(4, 7, 9, 0.9)),
    url('/images/about-bg.webp') center / cover fixed !important;
}

body.lora-live-tool .live-tool-shell {
  position: relative;
  left: 50%;
  width: 100vw !important;
  max-width: none !important;
  margin-left: -50vw !important;
  margin-right: 0 !important;
  padding-inline: clamp(14px, 2.2vw, 28px) !important;
  box-sizing: border-box;
}

body.lora-live-tool .live-tool-head p {
  max-width: 980px;
  color: rgba(255, 255, 255, 0.82) !important;
}

.lora-live-tool .live-grid {
  grid-template-columns: minmax(0, 2.15fr) minmax(340px, 0.85fr);
}

.lora-live-tool .live-card,
.lora-live-tool .live-stat {
  border-color: rgba(255, 208, 0, 0.22);
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(7, 10, 8, 0.84), rgba(0, 0, 0, 0.7));
  box-shadow:
    0 22px 70px rgba(0, 0, 0, 0.36),
    inset 0 1px rgba(255, 255, 255, 0.04);
}

.lora-live-tool #meshMap {
  height: min(690px, calc(100vh - 220px));
  min-height: 540px;
  border-color: rgba(255, 208, 0, 0.22);
  border-radius: 20px;
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.34);
}

.lora-live-tool .mesh-pill {
  border-color: rgba(255, 208, 0, 0.14);
  background: rgba(0, 0, 0, 0.34);
}

.lora-live-tool .analysis-line,
.lora-live-tool .banana-note {
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.055);
}

.lora-live-tool .banana-note {
  background: rgba(255, 208, 0, 0.1);
}

@media (max-width: 1100px) {
  .lora-live-tool .live-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  body.lora-live-tool {
    background-attachment: scroll !important;
  }

  body.lora-live-tool .live-tool-shell {
    left: auto;
    width: 100% !important;
    margin-left: 0 !important;
    padding-inline: 10px !important;
  }

  .lora-live-tool #meshMap {
    min-height: 460px;
    height: 460px;
  }
}

/* mobile-nav-flow-offset:lora */
@media (max-width: 900px) {
  body.lora-live-tool {
    padding-top: 0 !important;
  }
}


.lora-live-tool .mesh-radar-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: stretch;
  margin: 14px 2px 4px;
}

.lora-live-tool .mesh-radar-toggle {
  min-height: 48px;
  padding: 0 18px;
  border-radius: 14px;
  border: 1px solid rgba(82, 235, 208, 0.36);
  background: linear-gradient(180deg, rgba(6, 28, 34, 0.94), rgba(3, 16, 22, 0.9));
  color: #9ef8e8;
  font-weight: 900;
  letter-spacing: 0.04em;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.05), 0 10px 28px rgba(0, 0, 0, 0.28);
}

.lora-live-tool .mesh-radar-toggle[aria-pressed='true'] {
  color: #081112;
  background: linear-gradient(180deg, rgba(96, 255, 226, 0.96), rgba(55, 214, 186, 0.92));
  border-color: rgba(130, 255, 232, 0.85);
  box-shadow: 0 0 0 1px rgba(146, 255, 233, 0.24), 0 0 18px rgba(72, 255, 223, 0.22);
}

.lora-live-tool .mesh-radar-status {
  flex: 1 1 320px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  align-items: center;
  padding: 10px 12px;
  border-radius: 16px;
  border: 1px solid rgba(72, 195, 182, 0.22);
  background: linear-gradient(180deg, rgba(6, 18, 26, 0.88), rgba(4, 12, 18, 0.82));
  color: rgba(196, 255, 245, 0.88);
  font-size: 0.9rem;
  letter-spacing: 0.03em;
}

.lora-live-tool .mesh-radar-status strong,
.lora-live-tool .mesh-radar-status b {
  color: #a7fff0;
}

.lora-live-tool .mesh-radar-status.is-active {
  box-shadow: inset 0 0 0 1px rgba(122, 255, 230, 0.12), 0 0 28px rgba(48, 164, 153, 0.14);
}

.lora-live-tool #meshMap {
  position: relative;
}

.lora-live-tool #meshMap.live-radar-enabled .leaflet-tile-pane {
  filter: saturate(0.78) hue-rotate(18deg) brightness(0.6) contrast(1.06);
}

.lora-live-tool .mesh-radar-layer,
.lora-live-tool .mesh-radar-scanlines {
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: 20px;
}

.lora-live-tool .mesh-radar-scanlines {
  opacity: 0.34;
  background-image: linear-gradient(to bottom, rgba(130, 255, 236, 0.04) 0, rgba(130, 255, 236, 0.04) 1px, transparent 1px, transparent 7px);
  mix-blend-mode: screen;
}

.lora-live-tool .banana-marker__glyph {
  display: inline-block;
  transform: translateZ(0);
}

.lora-live-tool .banana-marker--live .banana-marker__glyph {
  filter: drop-shadow(0 0 8px rgba(94, 255, 208, 0.75));
}

.lora-live-tool .banana-marker--warm .banana-marker__glyph {
  filter: drop-shadow(0 0 6px rgba(255, 232, 119, 0.55));
}

.lora-live-tool .radar-home-marker {
  position: relative;
  width: 26px;
  height: 26px;
}

.lora-live-tool .radar-home-marker__core,
.lora-live-tool .radar-home-marker__pulse {
  position: absolute;
  inset: 0;
  border-radius: 999px;
}

.lora-live-tool .radar-home-marker__core {
  inset: 6px;
  background: radial-gradient(circle, rgba(142, 255, 234, 0.98), rgba(53, 231, 198, 0.74));
  border: 1px solid rgba(235, 255, 250, 0.8);
  box-shadow: 0 0 18px rgba(63, 255, 214, 0.52);
}

.lora-live-tool .radar-home-marker__pulse {
  border: 1px solid rgba(118, 255, 226, 0.4);
  box-shadow: 0 0 18px rgba(55, 224, 198, 0.18);
}

.lora-live-tool .radar-ping {
  width: 70px;
  height: 70px;
}

.lora-live-tool .radar-ping__dot,
.lora-live-tool .radar-ping__ring {
  position: absolute;
  inset: 0;
  border-radius: 999px;
}

.lora-live-tool .radar-ping__dot {
  inset: 31px;
  background: rgba(147, 255, 230, 0.96);
  box-shadow: 0 0 18px rgba(122, 255, 228, 0.74);
}

.lora-live-tool .radar-ping__ring {
  border: 2px solid rgba(120, 255, 230, 0.74);
  animation: loraRadarPing 2.35s ease-out forwards;
}

.lora-live-tool .radar-ping--update .radar-ping__ring {
  border-color: rgba(117, 222, 255, 0.7);
}

@keyframes loraRadarPing {
  0% { transform: scale(0.18); opacity: 1; }
  72% { opacity: 0.55; }
  100% { transform: scale(1); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .lora-live-tool .radar-ping__ring {
    animation: none;
    opacity: 0.6;
  }

  .lora-live-tool .mesh-radar-scanlines {
    opacity: 0.22;
  }
}

@media (max-width: 900px) {
  .lora-live-tool .mesh-radar-status {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .lora-live-tool .mesh-radar-toggle {
    width: 100%;
  }
}
