#startup-screen {
  position: fixed;
  inset: 0;
  z-index: 9000;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #0a0d12;
}
.startup-frame {
  position: relative;
  width: min(100%, 46.20853vh);
  width: min(100%, 46.20853dvh);
  aspect-ratio: 390 / 844;
}
.startup-frame img,
.startup-glow {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.startup-glow {
  background: radial-gradient(
    ellipse 52.5% 26% at 50% 37.7%,
    #ff8a3d14,
    transparent
  );
}
.startup-ring,
.startup-sweep,
.startup-wave {
  position: absolute;
  left: 50%;
  top: 37.68%;
  width: var(--diameter);
  aspect-ratio: 1;
  translate: -50% -50%;
  border-radius: 50%;
}
.startup-ring {
  box-sizing: border-box;
  border: 0.7px solid rgb(255 138 61 / var(--ring-alpha));
}
.startup-ring--inner {
  --diameter: 43.0769%;
  --ring-alpha: 0.0314;
}
.startup-ring--middle {
  --diameter: 60.5128%;
  --ring-alpha: 0.0471;
}
.startup-ring--outer {
  --diameter: 81.0256%;
  --ring-alpha: 0.0196;
}
.startup-sweep {
  --diameter: 60.5128%;
  padding: 1.2px;
  box-sizing: border-box;
  background: conic-gradient(
    from 67deg,
    transparent,
    #ff8a3d35 23deg,
    transparent 46deg
  );
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: startup-scan 9.67s linear infinite;
}
.startup-wave {
  --diameter: 43.0769%;
  box-sizing: border-box;
  border: 0.7px solid #ff8a3d;
  animation: startup-spread 5.69s linear infinite;
}
.startup-glow {
  animation: startup-breath 3.14s ease-in-out infinite;
}
@keyframes startup-breath {
  0%,
  100% {
    opacity: 0.76;
  }
  50% {
    opacity: 1;
  }
}
@keyframes startup-scan {
  to {
    transform: rotate(360deg);
  }
}
@keyframes startup-spread {
  from {
    transform: scale(1);
    opacity: 0.04;
  }
  to {
    transform: scale(1.88);
    opacity: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .startup-glow {
    animation: none;
  }
  .startup-sweep,
  .startup-wave {
    display: none;
    animation: none;
  }
}
