.circuit-journey {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 101;
  overflow: hidden;
}
.circuit-journey path {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.journey-wire {
  stroke: #9ec342;
  stroke-width: 2.5;
}
.journey-glow {
  stroke: #bfe66b;
  stroke-width: 9;
  opacity: 0.2;
}
.journey-current {
  fill: #d3ed8b;
  stroke: #fff;
  stroke-width: 1.5;
  filter: drop-shadow(0 0 5px #a0c948);
}
.circuit-travelling {
  pointer-events: none;
}
.circuit-travelling main,
.circuit-travelling .site-footer,
.circuit-travelling .site-header {
  transition: opacity 0.3s ease;
}
.circuit-departing main,
.circuit-departing .site-footer,
.circuit-departing .site-header,
.circuit-departing .circuit-journey {
  opacity: 0;
}
.circuit-site main {
  animation: circuit-arrival 0.45s ease backwards;
}
.circuit-site::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 1100;
  background: #f8fbfd;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}
.circuit-departing::after {
  opacity: 1;
}
@keyframes circuit-arrival {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@media (prefers-reduced-motion: reduce) {
  .circuit-site main {
    animation: none;
  }
}
