html,
body {
  margin: 0;
  background: #f4f4f5;
  color: #3f3f46;
}

html.worker-pwa-standalone,
html.worker-pwa-standalone body {
  background: #f4f4f5;
}

.app-boot-splash {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  padding-top: calc(24px + env(safe-area-inset-top, 0px));
  padding-bottom: calc(24px + env(safe-area-inset-bottom, 0px));
  background: #f4f4f5;
  transition: opacity 0.28s ease, visibility 0.28s ease;
}

.app-boot-splash--hide {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.app-boot-splash__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
}

.app-boot-splash__icon {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(46, 158, 142, 0.18);
}

.app-boot-splash__title {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #18181b;
}

.app-boot-splash__subtitle {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.875rem;
  color: #71717a;
}

.app-boot-splash__slow {
  margin: 0;
  max-width: 18rem;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.8125rem;
  line-height: 1.45;
  color: #a1a1aa;
}

.app-boot-splash__slow[hidden] {
  display: none;
}

.app-boot-splash__spinner {
  width: 28px;
  height: 28px;
  border: 3px solid rgba(46, 158, 142, 0.2);
  border-top-color: #2e9e8e;
  border-radius: 50%;
  animation: app-boot-spin 0.8s linear infinite;
}

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