:root {
  color: #0f172a;
  background: #f8fafc;
}

html,
body {
  margin: 0;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(circle at top, rgba(59, 130, 246, 0.08), transparent 42%),
    linear-gradient(180deg, #f8fbff 0%, #eef4ff 100%);
  font-family: "Inter", "Noto Sans SC", system-ui, -apple-system, sans-serif;
}

body {
  overflow: hidden;
}

#root {
  width: 100%;
  height: 100%;
  visibility: hidden;
  opacity: 0;
}

body[data-app-ready="true"] #root {
  visibility: visible;
  opacity: 1;
  transition: opacity 160ms ease;
}

#app-boot {
  position: fixed;
  inset: 0;
  z-index: 2147483647;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.84), rgba(248, 250, 252, 0.96)),
    rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  transition: opacity 180ms ease, visibility 180ms ease;
}

#app-boot.is-hidden {
  opacity: 0;
  visibility: hidden;
}

.boot-spinner {
  width: 42px;
  height: 42px;
  margin: 0 auto 18px;
  border-radius: 999px;
  border: 2px solid rgba(148, 163, 184, 0.22);
  border-top-color: rgba(71, 85, 105, 0.88);
  animation: boot-spin 0.88s linear infinite;
}

.boot-label {
  margin: 0 0 10px;
  color: #64748b;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.boot-title {
  margin: 0;
  color: #0f172a;
  font-size: 20px;
  font-weight: 900;
  line-height: 1.35;
}

.boot-desc {
  margin: 10px 0 0;
  color: #64748b;
  font-size: 12px;
  line-height: 1.7;
}

@keyframes boot-spin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

@keyframes boot-pulse {
  0%,
  100% {
    transform: scale(0.9);
    opacity: 0.72;
  }

  50% {
    transform: scale(1.06);
    opacity: 1;
  }
}
