svg.xp-map {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}
.xp-map-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 6px 18px;
  margin-bottom: 10px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--soft);
}
.xp-map-legend {
  display: flex;
  gap: 18px;
}
.xp-map-legend i {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-style: normal;
}
.xp-dot {
  display: inline-block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
}
.xp-dot.open {
  background: var(--ignite);
}
.xp-dot.plan {
  border: 1.3px solid var(--soft);
}
.xp-state {
  fill: var(--carbon);
  stroke: var(--rule);
  stroke-width: 0.8;
  stroke-linejoin: round;
}
.xp-arc {
  fill: none;
  stroke: var(--soft);
  stroke-width: 1.4;
  stroke-linecap: butt;
  opacity: 0.75;
}
.xp-spine {
  fill: none;
  stroke: var(--yf-accent-border);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-dasharray: 2 5;
}
.xp-sonar {
  fill: none;
  stroke: var(--soft);
  stroke-width: 1.2;
  opacity: 0;
}
.xp-ring {
  fill: none;
  stroke: var(--ignite);
  stroke-width: 2;
}
.xp-ring-plan {
  stroke: var(--soft);
  stroke-width: 1.3;
}
.xp-node {
  fill: none;
  stroke: var(--soft);
  stroke-width: 1.3;
}
.xp-core {
  fill: var(--ignite);
}
.xp-halo {
  fill: var(--ignite);
  opacity: 0.16;
  transform-box: fill-box;
  transform-origin: center;
}
.xp-live {
  fill: var(--signal);
}
#xp-map text {
  paint-order: stroke;
  stroke: var(--black);
  stroke-width: 5px;
  stroke-linejoin: round;
}
.xp-lbl {
  font-family: var(--mono);
  font-weight: 600;
  font-size: var(--xp-lbl-size, 21px);
  letter-spacing: 0.1em;
  fill: var(--white);
}
.xp-lbl-hub {
  fill: var(--ignite-text);
}
.xp-coord {
  display: none;
}
.xp-tag-open {
  font-family: var(--mono);
  font-weight: 600;
  font-size: var(--xp-tag-size, 14px);
  letter-spacing: 0.18em;
  fill: var(--signal);
}
.xp-tag-plan {
  font-family: var(--mono);
  font-weight: 600;
  font-size: var(--xp-tag-size, 14px);
  letter-spacing: 0.18em;
  fill: var(--soft);
}
.xp-hub[data-city=Champaign] .xp-lbl-hub {
  transform: translateY(4px);
}
.xp-walk {
  cursor: pointer;
}
.xp-walk-in {
  transform: scale(var(--xp-walk-scale, 1));
}
.xp-walk[data-anc=middle] .xp-walk-in {
  transform: translateX(calc(-48px * var(--xp-walk-scale, 1))) scale(var(--xp-walk-scale, 1));
}
.xp-walk[data-anc=end] .xp-walk-in {
  transform: translateX(calc(-96px * var(--xp-walk-scale, 1))) scale(var(--xp-walk-scale, 1));
}
.xp-walk-bg {
  fill: var(--ignite);
  stroke: none;
}
.xp-walk-t {
  font-family: var(--mono);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.14em;
  fill: var(--on-ignite, #0a0a0a);
  stroke: none;
}
#xp-map .xp-walk-t {
  stroke: none;
}
.xp-walk:hover .xp-walk-bg,
.xp-walk:focus-visible .xp-walk-bg {
  fill: var(--plasma, #ffd76a);
}
.xp-walk:focus-visible {
  outline: none;
}
.xp-walk:focus-visible .xp-walk-bg {
  stroke: var(--white);
  stroke-width: 2px;
}
#network.xp-done .xp-halo {
  animation: xp-breathe 3s ease-in-out infinite;
}
#network.xp-done .xp-live {
  animation: xp-live-pulse 1.8s ease-in-out infinite;
}
@keyframes xp-breathe {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.08);
  }
}
@keyframes xp-live-pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.35;
  }
}
@media (max-width: 760px) {
  :root {
    --xp-lbl-size: 34px;
  }
  .xp-coord,
  .xp-tag-open,
  .xp-tag-plan {
    display: none;
  }
  .xp-hub[data-city=Champaign] .xp-lbl-hub {
    transform: translateY(16px);
  }
}
@media (prefers-reduced-motion: reduce) {
  #network.xp-done .xp-halo,
  #network.xp-done .xp-live {
    animation: none;
  }
}
