.app-startup {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: center;

  width: 100%;
  height: 100%;

  color: #eef8fa;

  background: radial-gradient(ellipse at 50% 40%, #103348 0%, #08273b 36%, #041c30 100%);
}

#app-startup-bootstrap {
  position: fixed;
  z-index: 2147483646;
  inset: 0;
}

.app-startup__content {
  transform: translateY(-3vh);

  display: flex;
  flex-direction: column;
  align-items: center;

  padding: 2rem;

  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
  line-height: 1.5;
  text-align: center;
}

.app-startup__logo {
  width: 6.5rem;
  height: 6.5rem;
  object-fit: contain;
}

.app-startup__name {
  margin: 1.25rem 0 0;
  font-size: 1.75rem;
  font-weight: bold;
  letter-spacing: 0.12em;
}

.app-startup__tagline {
  margin: 0.625rem 0 0;
  font-size: 0.9375rem;
  color: #a5bdc8;
}

.app-startup__status {
  display: flex;
  gap: 0.625rem;
  align-items: center;
  justify-content: center;

  min-height: 1.5rem;
  margin-top: 3rem;

  font-size: 0.875rem;
  color: #87a9b8;
}

.app-startup__dots {
  display: flex;
  gap: 0.3125rem;
  align-items: center;
}

.app-startup__dot {
  width: 0.375rem;
  height: 0.375rem;
  border-radius: 50%;

  background: #20ddce;

  animation: app-startup-pulse 1.2s ease-in-out infinite;
}

.app-startup__dot:nth-child(2) {
  animation-delay: 0.15s;
}

.app-startup__dot:nth-child(3) {
  animation-delay: 0.3s;
}

.app-startup__retry {
  margin-top: 1rem;
  color: #20ddce;
  text-decoration: none;
}

.app-startup__retry:focus-visible {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.app-startup__dots[hidden],
.app-startup__retry[hidden] {
  display: none;
}

@keyframes app-startup-pulse {
  0%,
  100% {
    transform: translateY(0);
    opacity: 0.35;
  }

  50% {
    transform: translateY(-0.1875rem);
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .app-startup__dot {
    animation: none;
  }
}

@media (max-width: 600px) {
  #app-startup-bootstrap {
    display: none;
  }
}
