/* Let the scene settle behind the desktop before revealing its canvas. */
.desktop-wallpaper {
  position: absolute;
  inset: 0 0 auto;
  z-index: 0;
  width: 100%;
  height: 115%;
  overflow: hidden;
  background: #000;
  pointer-events: none;
}
.desktop-wallpaper canvas {
  opacity: 0;
  filter: grayscale();
}
.desktop-wallpaper[data-painted] canvas { opacity: 1; }
@media (prefers-reduced-motion: no-preference) {
  .desktop-wallpaper canvas { transition: opacity var(--os-motion-splash-exit) ease-out; }
}

/* Actual readiness controls the reveal; duration only softens the transition. */
.intro-splash {
  position: fixed;
  inset: 0;
  z-index: 2147483647;
  display: grid;
  place-items: center;
  background: #000;
  pointer-events: none;
  visibility: hidden;
  opacity: 0;
}
.intro-mark {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 128px;
  height: 128px;
  opacity: .19;
}
html[data-intro-state="loading"] .intro-splash,
html[data-intro-state="restarting"] .intro-splash { visibility: visible; opacity: 1; }
html[data-intro-state="restarting"] .intro-splash { pointer-events: auto; }
html[data-intro-state="ready"] .intro-splash {
  transition: opacity var(--os-motion-splash-exit) ease-out, visibility 0s var(--os-motion-splash-exit);
}
@media (prefers-reduced-motion: reduce) {
  html[data-intro-state="ready"] .intro-splash { transition: none; }
}

