/* Shared by the initial document and every startup stage in both native shells. */
.app-startup-splash {
  position: fixed;
  inset: 0;
  z-index: 10000;
  overflow: hidden;
  background: #faf8f3;
  isolation: isolate;
  opacity: 1;
  transition: opacity 180ms cubic-bezier(0.23, 1, 0.32, 1);
}
html[data-app-starting] #root .app-startup-splash { visibility: hidden; }
.app-startup-splash--leaving { opacity: 0; pointer-events: none; }
.app-startup-splash > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* The canvas samples the original artwork; the wordmark never moves. */
.app-startup-splash > canvas {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
@media (prefers-reduced-motion: reduce) {
  .app-startup-splash { transition-duration: 100ms; }
  .app-startup-splash > canvas { display: none; }
}
