html,
body {
  background: #edf5ff;
}

html.workspace-session-gate body,
body.auth-session-pending {
  overflow: hidden !important;
}

html.workspace-session-gate body > *:not(#sessionBootCover),
html body.auth-session-pending > *:not(#sessionBootCover) {
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* Keep the workspace covered while showing the welcome artwork immediately. */
html.workspace-welcome-first body > #workspaceTour {
  visibility: visible !important;
  opacity: 1 !important;
  pointer-events: auto !important;
}

/* The promotion is already rendered behind 3.0, even before workspace boot ends. */
html.workspace-session-gate body.official-announcement-open > #officialAnnouncement {
  visibility: visible !important;
  opacity: 1 !important;
  pointer-events: auto !important;
}

html.workspace-session-gate body.official-announcement-open #sessionBootCover {
  display: none !important;
}

html.workspace-welcome-first #sessionBootCover {
  display: none !important;
}

#sessionBootCover {
  position: fixed !important;
  inset: 0 !important;
  z-index: 2147483647 !important;
  display: grid !important;
  place-content: center !important;
  gap: 16px !important;
  background: #edf5ff !important;
  visibility: visible !important;
  opacity: 1;
  pointer-events: auto !important;
  text-align: center !important;
  transition: opacity 160ms ease-out;
}

html.workspace-session-releasing #sessionBootCover {
  display: grid !important;
  opacity: 0;
  pointer-events: none !important;
}

#sessionBootCover strong {
  color: #0875ed;
  font: 900 30px/1 "Microsoft YaHei UI", "PingFang SC", sans-serif;
  letter-spacing: .08em;
}

#sessionBootCover span {
  color: #6280a8;
  font: 700 12px/1.4 "Microsoft YaHei UI", "PingFang SC", sans-serif;
  letter-spacing: .16em;
}

html:not(.workspace-session-gate):not(.workspace-session-releasing) #sessionBootCover {
  display: none !important;
}

@media (prefers-reduced-motion: reduce) {
  #sessionBootCover {
    transition-duration: 1ms;
  }
}
