/* 首屏只在用户模式与布局稳定后显露，避免登录态切换时的中间帧闪屏。 */
html.xz-booting body {
  overflow: hidden;
  background: #c3bce3;
}

html.xz-booting #app,
html.xz-booting #welcome-modal,
html.xz-booting #sw-update-bar {
  opacity: 0 !important;
  visibility: hidden !important;
}

html.xz-reveal-ready #app {
  opacity: 1;
  transition: opacity .18s cubic-bezier(.32,.72,0,1);
}

#splash-overlay {
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transform: translateZ(0);
  will-change: opacity;
}

#splash-overlay.xz-splash-leaving {
  opacity: 0 !important;
  transition: opacity .28s cubic-bezier(.32,.72,0,1) !important;
}

@media (prefers-reduced-motion: reduce) {
  html.xz-reveal-ready #app,
  #splash-overlay.xz-splash-leaving {
    transition-duration: .01ms !important;
  }
}
