/* Shared by the pre-React boot screen and the packaged splash document. */
.startup-splash {
  position: fixed;
  inset: 0;
  z-index: 1000;
  overflow: hidden;
  color-scheme: light;
  background: Canvas;
  color: var(--app-palette-ink, CanvasText);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.startup-splash__art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.startup-splash__brand {
  position: absolute;
  top: max(7%, calc(env(safe-area-inset-top, 0px) + 24px));
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
}
.startup-splash__mark { width: 48px; height: 48px; object-fit: contain; }
.startup-splash__name { margin: 0; font-size: 27px; font-weight: 650; letter-spacing: -.7px; }
.startup-splash__tagline { margin: 4px 0 0; font-size: 12px; opacity: .65; }
.startup-splash__status {
  position: absolute;
  bottom: max(6%, calc(env(safe-area-inset-bottom, 0px) + 20px));
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 12px;
  white-space: nowrap;
}
.startup-splash__spinner {
  width: 13px;
  height: 13px;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  color: var(--app-palette-indigo, LinkText);
  animation: startup-splash-spin .9s linear infinite;
}
html.desktop-realtime-root .startup-splash { display: none; }
@keyframes startup-splash-spin { to { transform: rotate(360deg); } }
@media (min-aspect-ratio: 1/1) {
  .startup-splash__art { left: 40%; width: 60%; }
  .startup-splash__brand { top: 38%; left: 8%; transform: none; }
  .startup-splash__status { bottom: 32%; left: 8%; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .startup-splash__spinner { animation: none; }
}
