.app-boot-screen {
  position: fixed;
  z-index: 10000;
  inset: 0;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 22px;
  padding: 24px;
  background: #ffffff;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.18s ease,
    visibility 0s linear 0.18s;
}

html[data-theme="dark"] .app-boot-screen {
  background: #212121;
}

html.font-loading,
html.app-loading,
html.font-loading body,
html.app-loading body {
  overflow: hidden;
}

html.font-loading .app-boot-screen,
html.app-loading .app-boot-screen {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: none;
}

.app-boot-screen img {
  width: min(158px, 46vw);
  height: auto;
  max-height: 42px;
  object-fit: contain;
}

.app-boot-indicator {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 12px;
}

.app-boot-indicator > i {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #10a37f;
  animation: appBootPulse 1.08s ease-in-out infinite;
}

html[data-theme="dark"] .app-boot-indicator > i {
  background: #7ee0c3;
}

.app-boot-indicator > i:nth-child(2) {
  animation-delay: 0.14s;
}

.app-boot-indicator > i:nth-child(3) {
  animation-delay: 0.28s;
}

@keyframes appBootPulse {
  0%,
  70%,
  100% {
    opacity: 0.28;
    transform: translateY(0) scale(0.82);
  }

  35% {
    opacity: 1;
    transform: translateY(-3px) scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .app-boot-indicator > i {
    animation: none;
    opacity: 0.72;
  }

  .app-boot-screen {
    transition: none;
  }
}
