.energy-effects { pointer-events: none; }
.energy-wave, .energy-filament, .energy-spark {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}
.energy-wave { stroke: #a7efff; stroke-width: 1.5; }
.energy-wave + .energy-wave { stroke: #579fff; stroke-width: 1; }
.energy-filament-0 { stroke: #a2faff; stroke-width: 1.35; opacity: .87; }
.energy-filament-1 { stroke: #70a3ff; stroke-width: 1.15; opacity: .78; }
.energy-spark { stroke: #97efff; stroke-width: 1.35; }
.energy-head-flare { fill: #ccfbff; }
.energy-head-core { fill: white; }
.energy-jet-hot { fill: #e0fcff; }
.energy-jet-blue { fill: #6edfff; }

/* An illuminated corona, without a hard rim around the central light. */
.network-core { position: relative; }
.network-core::after {
  content: "";
  position: absolute;
  inset: -36%;
  border: 0;
  border-radius: inherit;
  background: radial-gradient(circle, #fff4b666, #ffcd4b44 38%, transparent 72%);
  filter: blur(7px);
  opacity: var(--source-emission, 0);
  pointer-events: none;
}
.network-node.is-arriving .network-node-port {
  box-shadow: 0 0 22px #b4faffc2, 0 0 44px #5fd9ff8a, 0 0 62px #4f92ff3d;
}
.network-aspect.is-charging .network-aspect-dot {
  box-shadow: inset 0 0 3px #ffffff, 0 0 8px #a7efffe6, 0 0 21px #43c5ff9c;
}
.network-branch-trace {
  stroke: #8feaff;
  stroke-width: 2.1;
  filter: drop-shadow(0 0 3px #58caffad);
}
/* After the last impact, a continuous cyan filament sits over a softer blue glow. */
.is-energized .network-branch-edge {
  stroke: #38aaff;
  stroke-opacity: .47;
  stroke-width: 5.2;
  filter: drop-shadow(0 0 4px #359fff91);
}
.is-energized .network-branch-trace {
  stroke: #b2f2ff;
  stroke-opacity: 1;
  stroke-width: 1.9;
}
.is-energized .network-node.is-active:not(.is-hovered):not(:focus-visible) .network-node-port {
  box-shadow: 0 0 19px var(--orb-glow), 0 0 42px color-mix(in srgb, var(--orb-glow) 42%, transparent);
}
.is-energized .network-aspect.is-powered:not(.is-expanded):not(.is-charging) .network-aspect-dot {
  border-color: #a2eaff;
  background: #24516c;
  box-shadow: inset 0 0 5px #8ce4ff2e, 0 0 9px #54ccff70;
}
@media (prefers-reduced-motion: no-preference) {
  .is-energized .network-branch { animation: current-shimmer 3.6s ease-in-out infinite; }
  .is-energized.is-energy-paused .network-branch { animation-play-state: paused; }
  @keyframes current-shimmer {
    0%, 100% { opacity: .90; }
    32% { opacity: 1; }
    54% { opacity: .94; }
    78% { opacity: .98; }
  }
}
@media (prefers-reduced-motion: reduce) {
  .energy-effects, .network-core::after { display: none; }
}
