.print-photo-stage {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
}

.print-router-leds {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.print-port-pair {
  position: absolute;
  top: 50.95%;
  display: flex;
  gap: .16%;
  width: 1.22%;
}

.print-port-pair-pos {
  left: 74.5%;
}

.print-port-pair-printer {
  left: 78.02%;
}

.print-port-led {
  display: block;
  width: 44%;
  aspect-ratio: 1;
  border-radius: 30%;
}

.print-port-link {
  background: #56ff74;
  box-shadow: 0 0 4px #42ff69;
  opacity: .96;
}

.print-port-activity {
  background: #ffb52f;
  box-shadow: 0 0 4px #ff9e20;
  opacity: .38;
}

[data-print-phase="0"] .print-port-pair-pos .print-port-activity,
[data-print-phase="1"] .print-port-activity,
[data-print-phase="2"] .print-port-pair-printer .print-port-activity,
[data-print-phase="3"] .print-port-pair-printer .print-port-activity {
  animation: print-port-traffic 1.1s steps(1) infinite;
}

.print-leds-paused .print-port-activity {
  animation-play-state: paused !important;
}

@keyframes print-port-traffic {
  0%, 36%, 76%, 100% { opacity: .35; }
  12%, 48%, 84% { opacity: 1; }
}

@media (max-width: 700px) {
  .print-port-pair {
    top: 50.95%;
    width: 1.82%;
    gap: .2%;
  }

  .print-port-pair-pos {
    left: 62.02%;
  }

  .print-port-pair-printer {
    left: 67.34%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .print-port-activity {
    animation: none !important;
    opacity: .72;
  }
}
