.auth-body {
    background:
        radial-gradient(ellipse at 50% 15%, rgba(87, 144, 175, .12), transparent 42rem),
        var(--ghost-canvas);
}

.auth-page {
    display: grid;
    min-height: 100vh;
    min-height: 100svh;
    place-items: center;
    padding: clamp(1rem, 4vw, 3rem);
}

.auth-panel {
    width: 100%;
    max-width: 34rem;
    padding: clamp(1.5rem, 5vw, 3rem);
    text-align: center;
    box-shadow: 0 1.5rem 5rem rgba(0, 0, 0, .2);
}

.auth-brand {
    display: inline-block;
    margin-bottom: 1.75rem;
    border-radius: var(--ghost-radius-sm);
}

.auth-logo {
    display: block;
    width: 9rem;
    height: auto;
    filter: brightness(0) saturate(100%) invert(67%) sepia(12%) saturate(608%) hue-rotate(164deg) brightness(93%);
}

.auth-panel h1 {
    margin-bottom: 1rem;
    color: var(--ghost-apparition);
    font-size: clamp(2rem, 5vw, 2.6rem);
}

.auth-panel p {
    margin: 0 0 1.25rem;
    color: var(--ghost-text-secondary);
    overflow-wrap: anywhere;
}

.auth-panel .auth-help {
    margin-top: 1.75rem;
    margin-bottom: 0;
    font-size: .875rem;
    line-height: 1.7;
}

.auth-account strong {
    color: var(--ghost-text);
}

.auth-providers,
.auth-actions {
    display: grid;
    gap: .75rem;
    margin-top: 1.75rem;
}

.auth-actions {
    grid-template-columns: 1fr 1fr;
}

.auth-actions form {
    margin: 0;
    min-width: 0;
}

.auth-panel .ghost-button {
    width: 100%;
    min-height: 3.25rem;
    font-size: .9375rem;
    line-height: 1.3;
}

.auth-panel .ghost-button--primary {
    border-color: #416b88;
    background: var(--ghost-active-bg);
    color: var(--ghost-apparition);
}

.auth-panel .ghost-button--primary:hover {
    border-color: var(--ghost-blue);
    background: #3b627e;
}

.auth-scopes {
    margin: 1rem 0 0;
    padding: 0;
    overflow-wrap: anywhere;
    list-style: none;
    border: 1px solid var(--ghost-border);
    border-radius: var(--ghost-radius-sm);
    background: var(--ghost-sunken);
    font-size: .9375rem;
}

.auth-scopes li {
    padding: .75rem 1rem;
}

.auth-scopes li + li {
    border-top: 1px solid var(--ghost-border);
}

.auth-panel a:focus-visible,
.auth-panel button:focus-visible {
    outline: 2px solid var(--ghost-blue-light);
    outline-offset: 4px;
}

@media (max-width: 360px) {
    .auth-actions {
        grid-template-columns: 1fr;
    }
}
