html[data-home-auth="pending"] body > :not(.nav):not(#nav):not(.top):not(.home-auth-loading) { visibility:hidden; }
html[data-home-auth="pending"] body::before {
  content:"Loading";
  position:fixed;
  inset:var(--rb-nav-height,54px) 0 0;
  z-index:40;
  display:flex;
  align-items:center;
  justify-content:center;
  padding-top:52px;
  background:#f5f5f7;
  color:#6e6e73;
  font:500 14px/1.4 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
}
html[data-home-auth="pending"] body::after {
  content:"";
  position:fixed;
  z-index:41;
  top:calc(50% - 18px);
  left:50%;
  width:24px;
  height:24px;
  margin:-12px;
  border:2px solid rgba(60,60,67,.18);
  border-top-color:#007aff;
  border-radius:50%;
  animation:home-auth-spin .8s linear infinite;
}
html[data-theme="dark"][data-home-auth="pending"] body::before { background:#000; }
@keyframes home-auth-spin { to { transform:rotate(360deg); } }
html[data-home-auth="error"] body > :not(.home-auth-error) { display:none !important; }
@media (prefers-reduced-motion:reduce) {
  html[data-home-auth="pending"] body::after { animation:none; }
}
