/* Prevent the initial login page from painting before Firebase has resolved the session. */
html.avsec-auth-pending,
html.avsec-auth-pending body {
  background: #041226 !important;
}

html.avsec-auth-pending #loginScreen.login-screen.premium-login-screen,
html.avsec-auth-pending .app-header,
html.avsec-auth-pending main,
html.avsec-auth-pending .modal {
  visibility: hidden !important;
}

/* Returning sessions begin the original launch overlay on the first paint. */
html.avsec-auth-pending:not(.avsec-remembered-session) #avsecLaunchOverlay.boot-launch {
  display: none !important;
}
