html.auth-pending body > * {
    visibility: hidden !important;
}

html.auth-pending body {
    min-height: 100vh;
    margin: 0;
    overflow: hidden;
    background: #121212;
}

html.auth-pending body::before {
    content: "";
    position: fixed;
    z-index: 2147483647;
    top: 50%;
    left: 50%;
    width: 42px;
    height: 42px;
    margin: -31px 0 0 -21px;
    visibility: visible;
    border: 4px solid rgba(79, 195, 247, 0.2);
    border-top-color: #4fc3f7;
    border-radius: 50%;
    animation: auth-loader-spin 0.8s linear infinite;
}

html.auth-pending body::after {
    content: "Проверяем авторизацию…";
    position: fixed;
    z-index: 2147483647;
    top: calc(50% + 32px);
    left: 0;
    width: 100%;
    visibility: visible;
    color: #bdbdbd;
    font: 14px/1.4 Roboto, sans-serif;
    text-align: center;
}

@keyframes auth-loader-spin {
    to {
        transform: rotate(360deg);
    }
}

@media (prefers-reduced-motion: reduce) {
    html.auth-pending body::before {
        animation: none;
    }
}
