:root {
  --bg: #000000;
  --panel: #000000;
  --panel-strong: #000000;
  --ink: #effff5;
  --muted: #6f8a7a;
  --line: rgba(0, 255, 136, 0.16);
  --line-strong: rgba(0, 255, 136, 0.28);
  --pending: #7dffbd;
  --sage: #00ff88;
  --rose: #ff335f;
  --shadow: 0 18px 48px rgba(0, 0, 0, 0.55);
}

.map-page {
  margin: 0;
  min-height: 100vh;
  background: #000000;
  color: var(--ink);
}

.map-page-minimal {
  overflow: hidden;
}

.map-shell {
  position: relative;
  z-index: 1;
  width: min(100vw - 1rem, 1900px);
  margin: 0 auto;
  padding: 0.5rem;
}

.map-shell-minimal {
  width: 100vw;
  padding: 0;
}

.map-stage-panel {
  border: 1px solid rgba(0, 255, 136, 0.12);
  border-radius: 28px;
  background: #000000;
  box-shadow: var(--shadow);
  padding: 1rem;
  min-height: calc(100vh - 1rem);
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: 0.9rem;
}

.map-stage-panel-minimal {
  min-height: 100vh;
  border-radius: 0;
  border: 0;
  padding: 0;
  gap: 0;
}

.map-toolbar-overlay {
  position: absolute;
  top: 0.9rem;
  left: 0.9rem;
  right: 0.9rem;
  z-index: 3;
  justify-content: space-between;
  pointer-events: none;
}

.map-toolbar-overlay > * {
  pointer-events: auto;
}

.map-toolbar {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
}

.map-toolbar-left,
.map-toolbar-right {
  display: inline-flex;
  gap: 0.65rem;
  align-items: center;
  flex-wrap: wrap;
}

.map-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 2.5rem;
  padding: 0 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(0, 255, 136, 0.14);
  background: rgba(0, 0, 0, 0.84);
  color: var(--muted);
  font-size: 0.84rem;
}

.map-pill strong {
  color: var(--ink);
  font-size: 0.98rem;
}

.map-search-shell {
  min-width: min(34rem, 56vw);
  display: inline-flex;
  align-items: center;
  min-height: 2.5rem;
  padding: 0 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(0, 255, 136, 0.14);
  background: rgba(0, 0, 0, 0.84);
}

.map-search-input {
  width: 100%;
  background: transparent;
  border: 0;
  outline: none;
  color: var(--ink);
  font: inherit;
}

.map-search-input::placeholder {
  color: var(--muted);
}

.map-toolbar-button {
  min-height: 2.5rem;
  padding: 0 0.82rem;
  border-radius: 999px;
  border: 1px solid rgba(0, 255, 136, 0.14);
  background: rgba(0, 0, 0, 0.84);
  color: var(--ink);
  cursor: pointer;
}

.map-toolbar-button.is-active {
  border-color: rgba(125, 255, 189, 0.42);
  box-shadow: 0 0 0 1px rgba(125, 255, 189, 0.12) inset;
  color: #7dffbd;
}

.map-canvas {
  position: relative;
  min-height: 68vh;
  border-radius: 24px;
  border: 1px solid rgba(0, 255, 136, 0.12);
  background:
    linear-gradient(180deg, rgba(0, 255, 136, 0.03), transparent 24%),
    linear-gradient(rgba(0, 255, 136, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 255, 136, 0.025) 1px, transparent 1px);
  background-size: auto, 42px 42px, 42px 42px;
  overflow: hidden;
}

.map-stage-stack {
  position: relative;
  min-height: 100vh;
}

.map-canvas-2d {
  display: block;
  width: 100%;
  height: 100vh;
  background:
    linear-gradient(180deg, rgba(0, 255, 136, 0.03), transparent 24%),
    linear-gradient(rgba(0, 255, 136, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 255, 136, 0.025) 1px, transparent 1px);
  background-size: auto, 42px 42px, 42px 42px;
  cursor: grab;
}

.map-canvas-2d.is-dragging {
  cursor: grabbing;
}

.map-hud {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  z-index: 3;
  max-width: min(70vw, 980px);
  padding: 0.7rem 0.95rem;
  border-radius: 999px;
  border: 1px solid rgba(0, 255, 136, 0.14);
  background: rgba(0, 0, 0, 0.84);
  color: var(--ink);
  font-size: 0.86rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.map-zoom-rail {
  position: absolute;
  top: 5.25rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 3;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  justify-items: center;
  gap: 0.6rem;
  width: 3.1rem;
  padding: 0.75rem 0.4rem;
  border-radius: 999px;
  border: 1px solid rgba(0, 255, 136, 0.14);
  background: rgba(0, 0, 0, 0.84);
}

.map-zoom-rail-label {
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

.map-zoom-rail-track {
  position: relative;
  width: 0.46rem;
  height: 100%;
  border-radius: 999px;
  background: rgba(239, 255, 245, 0.08);
  overflow: hidden;
}

.map-zoom-rail-fill {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 0%;
  border-radius: 999px;
  background: linear-gradient(180deg, #7dffbd 0%, #00ff88 100%);
  box-shadow: 0 0 18px rgba(0, 255, 136, 0.28);
}

.map-zoom-level {
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 700;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

.map-overlay-message {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  z-index: 2;
  color: var(--ink);
  font-size: 1.2rem;
  background: rgba(0, 0, 0, 0.56);
}

.map-sidecar {
  display: grid;
  grid-template-columns: minmax(260px, 360px) minmax(0, 1fr);
  gap: 1rem;
}

.map-results,
.map-node-detail {
  display: grid;
  gap: 0.8rem;
  align-content: start;
  max-height: 28vh;
  overflow: auto;
  padding-right: 0.15rem;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: #000000;
  font-family: "Quicksand", "IBM Plex Sans", "Avenir Next", "Segoe UI", sans-serif;
  min-height: 100vh;
}

.backdrop {
  position: fixed;
  inset: auto;
  pointer-events: none;
  z-index: 0;
  filter: blur(72px);
  opacity: 0.14;
}

.backdrop-a {
  width: 22rem;
  height: 22rem;
  top: 2rem;
  right: 6rem;
  background: rgba(0, 255, 136, 0.14);
}

.backdrop-b {
  width: 20rem;
  height: 20rem;
  left: 3rem;
  bottom: 5rem;
  background: rgba(0, 255, 136, 0.1);
}

.shell {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 1rem 0 4rem;
}

.shell-map {
  width: min(1440px, calc(100% - 2rem));
}

.shell-map-only {
  width: min(100vw - 1rem, 1700px);
  padding-top: 0.5rem;
}

.panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--shadow);
  margin-top: 1rem;
  padding: 1.5rem;
  position: relative;
  overflow: hidden;
}

.panel::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(0, 255, 136, 0.02), transparent 24%),
    repeating-linear-gradient(
      180deg,
      rgba(0, 255, 136, 0.02) 0,
      rgba(0, 255, 136, 0.02) 1px,
      transparent 1px,
      transparent 6px
    );
}

.hero {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: minmax(0, 1.5fr) minmax(320px, 0.9fr);
  min-height: 28rem;
}

.map-hero {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.9fr);
  min-height: 18rem;
}

.map-hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.map-hero-meta {
  display: grid;
  gap: 0.9rem;
  align-content: start;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.eyebrow {
  margin: 0 0 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
  color: #53d88f;
}

.eyebrow .brand-glitch,
.eyebrow .brand-overlap-xx,
.eyebrow .axxa-splash-glitch,
.eyebrow .axxa-splash-text {
  letter-spacing: 0 !important;
}

.hero h1,
.section-head h2 {
  margin: 0;
  font-family: "Iowan Old Style", "Palatino Linotype", serif;
  line-height: 0.95;
  letter-spacing: -0.03em;
}

.axxa-splash-glitch {
  position: relative;
  display: inline-block;
  line-height: 1;
}

.axxa-splash-text {
  position: relative;
  display: inline-block;
  margin: 0;
  color: currentColor;
  z-index: 10;
}

.axxa-splash-text.layer1,
.axxa-splash-text.layer2 {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  pointer-events: none;
}

.axxa-splash-text.layer1 {
  left: 2px;
  text-shadow: -1px 0 #ff00c1;
  clip-path: inset(10% 0 10% 0);
  animation: glitch-anim 5s infinite linear alternate-reverse;
}

.axxa-splash-text.layer2 {
  left: -2px;
  text-shadow: -1px 0 #00fff9;
  clip-path: inset(10% 0 80% 0);
  animation: glitch-anim2 5s infinite linear alternate-reverse;
}

.brand-overlap-xx {
  font-family: "Quicksand", sans-serif !important;
  letter-spacing: -0.3em !important;
  margin-right: 0.45em !important;
  margin-left: 0.15em !important;
  display: inline-block;
  position: relative;
  z-index: -1;
}

.brand-overlap-xx--front {
  z-index: 0;
}

@keyframes glitch-anim {
  0% { clip-path: inset(10% 0 85% 0); }
  20% { clip-path: inset(80% 0 5% 0); }
  40% { clip-path: inset(30% 0 50% 0); }
  60% { clip-path: inset(10% 0 70% 0); }
  80% { clip-path: inset(50% 0 20% 0); }
  100% { clip-path: inset(20% 0 80% 0); }
}

@keyframes glitch-anim2 {
  0% { clip-path: inset(70% 0 10% 0); }
  20% { clip-path: inset(10% 0 80% 0); }
  40% { clip-path: inset(50% 0 30% 0); }
  60% { clip-path: inset(80% 0 5% 0); }
  80% { clip-path: inset(20% 0 60% 0); }
  100% { clip-path: inset(40% 0 40% 0); }
}

.hero h1 {
  font-size: clamp(3rem, 8vw, 5.8rem);
  max-width: 12ch;
  text-shadow: 0 0 16px rgba(0, 255, 136, 0.14);
}

.lede,
.section-note,
.node-card p,
.node-detail,
.stat-detail {
  color: var(--muted);
  line-height: 1.55;
}

.stat-ygg-ip {
  margin-top: 0.35rem;
  color: var(--ink);
  font-family: "IBM Plex Sans", "SFMono-Regular", Consolas, monospace;
  font-size: 0.94rem;
  word-break: break-all;
}

.stat-loading {
  min-height: 1.6rem;
  display: flex;
  align-items: center;
}

.lede {
  max-width: 52ch;
  font-size: 1.02rem;
  margin: 1.1rem 0 0;
}

.hero-actions {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.9rem;
  padding: 0 1rem;
  border-radius: 999px;
  border: 1px solid rgba(0, 255, 136, 0.22);
  background: rgba(0, 255, 136, 0.08);
  color: var(--sage);
  text-decoration: none;
  font-weight: 600;
  box-shadow: inset 0 0 0 1px rgba(0, 255, 136, 0.05);
}

.button-muted {
  background: transparent;
  color: var(--ink);
}

.button-small {
  min-height: 3rem;
}

.hero-meta {
  display: grid;
  gap: 0.9rem;
  align-content: start;
}

.stat-tile,
.node-card {
  background: #000000;
  border: 1px solid rgba(0, 255, 136, 0.12);
  border-radius: 22px;
  padding: 1rem;
}

.stat-label {
  display: block;
  color: var(--muted);
  font-size: 0.84rem;
  margin-bottom: 0.45rem;
}

.stat-value {
  display: block;
  font-size: 1.55rem;
  font-weight: 700;
}

.status-online {
  color: var(--sage);
}

.status-offline {
  color: var(--rose);
}

.status-pending {
  color: var(--pending);
}

.section-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: end;
  margin-bottom: 1rem;
}

.section-head h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
}

.section-note {
  max-width: 42ch;
  margin: 0;
}

.node-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
}

.node-card-top {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  align-items: start;
}

.node-card h3 {
  margin: 0;
  font-size: 1.2rem;
  letter-spacing: 0.01em;
}

.node-card p {
  margin: 0.15rem 0 0;
}

.node-detail {
  margin: 1rem 0;
}

.node-list {
  display: grid;
  gap: 0.65rem;
  margin: 0;
}

.node-list div {
  display: grid;
  gap: 0.2rem;
}

.node-list dt {
  color: var(--muted);
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.node-list dd {
  margin: 0;
}

.mono {
  font-family: "IBM Plex Mono", "SFMono-Regular", monospace;
  font-size: 0.93rem;
  word-break: break-word;
}

.chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 1.8rem;
  padding: 0 0.7rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.78rem;
  font-weight: 700;
}

.chip-online {
  background: rgba(0, 255, 136, 0.08);
  color: var(--sage);
  border-color: rgba(0, 255, 136, 0.18);
}

.chip-offline {
  background: rgba(178, 69, 62, 0.1);
  color: var(--rose);
  border-color: rgba(178, 69, 62, 0.12);
}

.chip-neutral {
  background: rgba(0, 255, 136, 0.06);
  color: #d4ffe8;
  border-color: rgba(0, 255, 136, 0.12);
}

.loader-dots {
  display: inline-flex;
  align-items: center;
  gap: 0.32rem;
  min-width: 2.2rem;
  min-height: 1rem;
}

.loader-dot {
  width: 0.36rem;
  height: 0.36rem;
  border-radius: 999px;
  background: currentColor;
  opacity: 0.28;
  transform: scale(0.82);
  animation: loader-pulse 1.2s ease-in-out infinite;
}

.loader-dots-lg {
  min-width: 2.7rem;
}

.loader-dots-lg .loader-dot {
  width: 0.42rem;
  height: 0.42rem;
}

.loader-dots .loader-dot:nth-child(1) {
  animation-delay: 0s;
}

.loader-dots .loader-dot:nth-child(2) {
  animation-delay: 0.2s;
}

.loader-dots .loader-dot:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes loader-pulse {
  0%,
  100% {
    opacity: 0.28;
    transform: scale(0.82);
    box-shadow: none;
  }
  30% {
    opacity: 1;
    transform: scale(1.55);
    box-shadow: 0 0 10px rgba(0, 255, 136, 0.22);
  }
}

.mesh-map {
  min-height: 21rem;
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid rgba(0, 255, 136, 0.12);
  background: #000000;
  position: relative;
}

.mesh-map-stage {
  min-height: 42rem;
}

.mesh-map-global {
  min-height: calc(100vh - 7rem);
}

.map-rebuild-shell {
  display: grid;
  gap: 1.4rem;
  align-content: start;
  padding: 1.25rem;
}

.map-rebuild-copy {
  max-width: 60rem;
}

.map-rebuild-copy h1 {
  margin: 0;
  font-family: "Iowan Old Style", "Palatino Linotype", serif;
  font-size: clamp(2.3rem, 5vw, 4rem);
  line-height: 0.98;
  letter-spacing: -0.03em;
}

.map-rebuild-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.map-rebuild-card {
  background: #000000;
  border: 1px solid rgba(0, 255, 136, 0.12);
  border-radius: 22px;
  padding: 1rem;
}

.map-rebuild-section {
  display: grid;
  gap: 1rem;
}

.map-rebuild-list {
  display: grid;
  gap: 0.8rem;
}

.map-rebuild-item {
  border: 1px solid rgba(0, 255, 136, 0.1);
  border-radius: 18px;
  padding: 0.95rem 1rem;
  color: var(--muted);
  background: rgba(0, 255, 136, 0.03);
}

.axxa-core-map {
  border: 1px solid rgba(0, 255, 136, 0.12);
  border-radius: 24px;
  background: #000000;
  overflow: hidden;
}

.topology-chart {
  min-height: 34rem;
  border: 1px solid rgba(0, 255, 136, 0.12);
  border-radius: 24px;
  background: #000000;
  overflow: hidden;
}

.explorer-shell {
  display: grid;
  grid-template-columns: minmax(280px, 420px) minmax(0, 1fr);
  gap: 1rem;
}

.explorer-search {
  display: grid;
  gap: 0.85rem;
  align-content: start;
}

.explorer-search-control {
  min-width: 100%;
}

.explorer-results,
.explorer-neighbors {
  display: grid;
  gap: 0.6rem;
  align-content: start;
}

.explorer-result,
.explorer-neighbor {
  display: grid;
  gap: 0.2rem;
  text-align: left;
  width: 100%;
  padding: 0.85rem 0.95rem;
  border-radius: 18px;
  border: 1px solid rgba(0, 255, 136, 0.12);
  background: rgba(0, 255, 136, 0.04);
  color: var(--ink);
  cursor: pointer;
}

.explorer-result.is-selected,
.explorer-neighbor:hover,
.explorer-result:hover {
  border-color: rgba(0, 255, 136, 0.28);
  background: rgba(0, 255, 136, 0.08);
}

.explorer-result span,
.explorer-neighbor span {
  color: var(--muted);
  font-size: 0.84rem;
}

.explorer-card {
  display: grid;
  gap: 0.9rem;
}

@media (max-width: 920px) {
  .explorer-shell {
    grid-template-columns: 1fr;
  }
}

.mesh-map.mesh-dragging {
  cursor: grabbing;
}

.mesh-stage {
  position: relative;
  min-height: inherit;
  height: 100%;
}

.mesh-grid {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 255, 136, 0.035), transparent 22%),
    radial-gradient(circle at center, rgba(0, 255, 136, 0.06), transparent 58%),
    linear-gradient(rgba(0, 255, 136, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 255, 136, 0.025) 1px, transparent 1px);
  background-size: auto, auto, 42px 42px, 42px 42px;
  pointer-events: none;
}

.mesh-canvas {
  position: absolute;
  inset: 0;
}

.mesh-hover-card {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 0.16rem;
  min-width: 14rem;
  max-width: min(28rem, calc(100% - 2rem));
  padding: 0.8rem 0.9rem;
  border-radius: 18px;
  border: 1px solid rgba(0, 255, 136, 0.14);
  background: rgba(0, 0, 0, 0.88);
  box-shadow: 0 0 28px rgba(0, 255, 136, 0.08);
}

.mesh-hover-card strong {
  color: var(--ink);
  font-size: 0.98rem;
}

.mesh-hover-card span {
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.4;
}

.mesh-hover-card.is-hidden {
  display: none;
}

.mesh-canvas canvas {
  display: block;
  width: 100%;
  height: 100%;
}

.mesh-loading-overlay,
.mesh-empty {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.2rem;
  z-index: 3;
}

.mesh-loading-overlay {
  background: radial-gradient(circle at center, rgba(0, 0, 0, 0.48), rgba(0, 0, 0, 0.84));
  backdrop-filter: blur(3px);
}

.mesh-loading-card,
.mesh-empty {
  flex-direction: column;
  gap: 0.9rem;
  text-align: center;
}

.mesh-loading-card {
  min-width: min(30rem, calc(100% - 2rem));
  padding: 1.35rem 1.5rem;
  border-radius: 22px;
  border: 1px solid rgba(0, 255, 136, 0.14);
  background: rgba(0, 0, 0, 0.7);
  box-shadow: 0 0 44px rgba(0, 255, 136, 0.08);
}

.mesh-loading-card strong,
.mesh-empty strong {
  font-size: 1.05rem;
  letter-spacing: 0.01em;
}

.mesh-loading-card span,
.mesh-empty span {
  color: var(--muted);
  max-width: 34rem;
}

.mesh-empty {
  color: var(--ink);
  background: radial-gradient(circle at center, rgba(0, 0, 0, 0.52), rgba(0, 0, 0, 0.92));
}

.mesh-loading-overlay.is-hidden,
.mesh-empty.is-hidden {
  display: none;
}

.mesh-svg {
  width: 100%;
  height: auto;
  display: block;
  touch-action: none;
}

.mesh-scene {
  transition: transform 0.45s ease;
}

.mesh-frame {
  fill: #000000;
  stroke: rgba(0, 255, 136, 0.16);
}

.mesh-line {
  stroke: rgba(0, 255, 136, 0.38);
  stroke-width: 2.4;
  stroke-dasharray: 7 8;
  animation: mesh-dash 1.4s linear infinite;
}

.mesh-line-online {
  stroke: rgba(0, 255, 136, 0.5);
}

.mesh-line-loading {
  stroke: rgba(125, 255, 189, 0.38);
}

.mesh-line-offline {
  stroke: rgba(255, 51, 95, 0.45);
}

.mesh-packet {
  fill: #00ff88;
  opacity: 0.9;
}

.mesh-packet-loading {
  fill: #7dffbd;
}

.mesh-packet-offline {
  fill: #ff335f;
}

.mesh-node {
  stroke: rgba(2, 2, 2, 0.92);
  stroke-width: 4;
}

.mesh-node-online {
  fill: rgba(0, 255, 136, 0.92);
  filter: drop-shadow(0 0 8px rgba(0, 255, 136, 0.3));
}

.mesh-node-loading {
  fill: rgba(125, 255, 189, 0.82);
  filter: drop-shadow(0 0 7px rgba(125, 255, 189, 0.25));
}

.mesh-node-seen {
  fill: rgba(0, 255, 136, 0.74);
  filter: drop-shadow(0 0 6px rgba(0, 255, 136, 0.18));
}

.mesh-node-offline {
  fill: rgba(255, 51, 95, 0.88);
  filter: drop-shadow(0 0 8px rgba(255, 51, 95, 0.25));
}

.mesh-node-featured {
  filter: drop-shadow(0 0 10px rgba(125, 255, 189, 0.26));
}

.mesh-node-remote {
  opacity: 0.88;
}

.mesh-node-pulse {
  fill: transparent;
  stroke-width: 1.5;
  animation: mesh-pulse 1.8s ease-out infinite;
}

.mesh-node-pulse-soft {
  opacity: 0.4;
}

.mesh-node-pulse-online {
  stroke: rgba(0, 255, 136, 0.24);
}

.mesh-node-pulse-offline {
  stroke: rgba(255, 51, 95, 0.28);
}

.mesh-label {
  fill: var(--ink);
  font-weight: 700;
  font-size: 16px;
}

.mesh-label-map {
  font-size: 22px;
}

.mesh-label-featured {
  font-size: 22px;
}

.mesh-label-faded {
  font-size: 11px;
  fill: rgba(219, 255, 232, 0.72);
}

.mesh-sub {
  fill: var(--muted);
  font-size: 12px;
}

.mesh-sub-map {
  font-size: 15px;
}

.mesh-sub-faded {
  fill: rgba(164, 214, 185, 0.46);
}

.mesh-controls {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 2;
  display: inline-flex;
  gap: 0.5rem;
  align-items: center;
  flex-wrap: wrap;
}

.mesh-search-control {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  min-width: 15rem;
  padding: 0 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(0, 255, 136, 0.16);
  background: rgba(0, 0, 0, 0.82);
}

.mesh-search-input {
  width: 100%;
  border: 0;
  outline: none;
  background: transparent;
  color: var(--ink);
  font: inherit;
}

.mesh-search-input::placeholder {
  color: var(--muted);
}

.mesh-control {
  min-height: 2rem;
  padding: 0 0.72rem;
  border-radius: 999px;
  border: 1px solid rgba(0, 255, 136, 0.16);
  background: rgba(0, 0, 0, 0.82);
  color: var(--ink);
  cursor: pointer;
}

.mesh-timer-control {
  display: inline-flex;
  align-items: center;
  gap: 0.38rem;
  min-height: 2rem;
  padding: 0 0.3rem 0 0.72rem;
  border-radius: 999px;
  border: 1px solid rgba(0, 255, 136, 0.16);
  background: rgba(0, 0, 0, 0.82);
  color: var(--muted);
  font-size: 0.84rem;
}

.mesh-timer-input {
  width: 2.7rem;
  border: 0;
  outline: none;
  background: transparent;
  color: var(--ink);
  font: inherit;
  text-align: right;
}

.mesh-timer-input::-webkit-outer-spin-button,
.mesh-timer-input::-webkit-inner-spin-button {
  margin: 0;
}

@keyframes mesh-dash {
  to {
    stroke-dashoffset: -15;
  }
}

@keyframes mesh-pulse {
  0% {
    opacity: 0.5;
    transform: scale(0.92);
    transform-origin: center;
  }
  100% {
    opacity: 0;
    transform: scale(1.45);
    transform-origin: center;
  }
}

.toolbar {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.panel-inline-actions {
  margin-top: 1rem;
  display: flex;
  justify-content: flex-end;
}

.panel-map-only {
  padding: 1rem;
}

.map-topbar {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  margin-bottom: 0.8rem;
  flex-wrap: wrap;
}

.map-status-strip {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.map-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 2.25rem;
  padding: 0 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(0, 255, 136, 0.14);
  background: rgba(0, 0, 0, 0.84);
  color: var(--muted);
  font-size: 0.84rem;
}

.map-status-pill strong {
  color: var(--ink);
  font-size: 0.92rem;
}

.section-head-map {
  align-items: center;
}

.map-legend {
  display: inline-flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
}

.legend-item {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.legend-dot {
  width: 0.72rem;
  height: 0.72rem;
  border-radius: 999px;
  display: inline-block;
}

.legend-online {
  background: var(--sage);
  box-shadow: 0 0 8px rgba(0, 255, 136, 0.28);
}

.legend-loading {
  background: var(--pending);
  box-shadow: 0 0 8px rgba(125, 255, 189, 0.22);
}

.legend-offline {
  background: var(--rose);
  box-shadow: 0 0 8px rgba(255, 51, 95, 0.24);
}

.filter,
.select {
  flex: 1 1 18rem;
  min-height: 3rem;
  border-radius: 999px;
  border: 1px solid rgba(0, 255, 136, 0.14);
  background: #000000;
  padding: 0 1rem;
  color: var(--ink);
  font-size: 0.98rem;
  outline: none;
}

.filter:focus,
.select:focus,
.th-button:focus {
  border-color: var(--line-strong);
  box-shadow: 0 0 0 1px rgba(0, 255, 136, 0.16);
}

.select {
  flex: 0 1 12rem;
}

.link-strip {
  display: flex;
  gap: 0.85rem;
  flex-wrap: wrap;
}

.link-strip a {
  color: #7df5bb;
  text-decoration: none;
  border-bottom: 1px solid rgba(0, 255, 136, 0.18);
}

.table-wrap {
  overflow: auto;
  border-radius: 22px;
  border: 1px solid rgba(0, 255, 136, 0.12);
  background: #000000;
}

table {
  width: 100%;
  border-collapse: collapse;
  background: #000000;
}

thead th {
  text-align: left;
  padding: 0;
  color: var(--muted);
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-bottom: 1px solid rgba(0, 255, 136, 0.1);
  background: rgba(0, 255, 136, 0.03);
}

.th-button {
  width: 100%;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
  padding: 0.95rem 1rem;
  font: inherit;
  text-transform: inherit;
  letter-spacing: inherit;
  cursor: pointer;
}

.sort-indicator {
  color: var(--sage);
  margin-left: 0.3rem;
}

tbody td {
  padding: 0.9rem 1rem;
  border-bottom: 1px solid rgba(0, 255, 136, 0.08);
  vertical-align: top;
}

tbody tr:hover {
  background: rgba(0, 255, 136, 0.035);
}

@media (max-width: 880px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .section-head {
    flex-direction: column;
    align-items: start;
  }

  .map-topbar {
    align-items: stretch;
  }

  .map-sidecar {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .shell {
    width: min(100% - 1rem, 1180px);
  }

  .panel {
    padding: 1rem;
    border-radius: 22px;
  }

  .hero h1 {
    font-size: 2.8rem;
  }

  thead th,
  tbody td {
    padding-inline: 0.75rem;
  }

  .map-search-shell {
    min-width: min(100%, 24rem);
  }

  .map-canvas {
    min-height: 58vh;
  }
}
