.app-boot {
  position: fixed;
  inset: 0;
  z-index: 2147483646;
  display: grid;
  place-items: center;
  min-height: 100vh;
  min-height: 100dvh;
  padding: 24px;
  background: #0f172a;
  color: #f8fafc;
  font-family: Arial, sans-serif;
}

.app-boot__content {
  display: grid;
  justify-items: center;
  gap: 16px;
  max-width: 320px;
  text-align: center;
}

.app-boot__mark {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border: 2px solid #6484c4;
  border-radius: 16px;
  color: #8da8df;
  font-size: 24px;
  font-weight: 700;
}

.app-boot__title {
  margin: 0;
  font-size: 22px;
  font-weight: 700;
}

.app-boot__status {
  margin: 0;
  color: #cbd5e1;
  font-size: 14px;
  line-height: 1.5;
}

.app-boot__spinner {
  width: 28px;
  height: 28px;
  border: 3px solid rgba(141, 168, 223, 0.25);
  border-top-color: #8da8df;
  border-radius: 50%;
  animation: app-boot-spin 0.8s linear infinite;
}

.app-boot__retry {
  display: none;
  min-height: 44px;
  padding: 10px 18px;
  border: 0;
  border-radius: 8px;
  background: #6484c4;
  color: #ffffff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.app-boot[data-failed="true"] .app-boot__spinner {
  display: none;
}

.app-boot[data-failed="true"] .app-boot__retry {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

@keyframes app-boot-spin {
  to { transform: rotate(360deg); }
}

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