/* Keep all auth-owned hidden attributes intact; only replace signed-out presentation. */
#access-screen.login-loading-active > :not(#login-loading) { display: none !important; }
#access-screen.login-loading-active { min-height: 390px; padding: 40px 24px; }
#login-loading {
  max-width: 360px;
  margin: 0 auto;
  padding: 12px 0;
  text-align: center;
  color: #173e36;
}
#login-loading[hidden] { display: none !important; }
.login-loading-artwork { position: relative; width: 144px; height: 144px; margin: 0 auto 24px; }
.login-loading-artwork img { position: absolute; inset: 16px; width: 112px; height: 112px; object-fit: contain; }
.login-loading-ring {
  position: absolute;
  inset: 0;
  border: 3px solid #dce8df;
  border-top-color: #205d4d;
  border-radius: 50%;
  animation: materia-login-spin 1.4s linear infinite;
}
#access-screen .login-loading-title { margin: 0 0 16px; font: 500 2rem/1.2 Georgia, serif; }
#login-loading-stage { margin: 0; min-height: 3.2em; font-size: 1.05rem; font-weight: 650; line-height: 1.6; overflow-wrap: anywhere; }
#login-loading-stage:focus { outline: none; }
.login-loading-note { margin: 16px 0 0; color: #4b6058; font-size: .9rem; line-height: 1.6; }
@keyframes materia-login-spin { to { transform: rotate(360deg); } }
@media (max-width: 380px) {
  #access-screen.login-loading-active { padding: 32px 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .login-loading-ring { animation: none; }
}
