.auth-page {
    min-height: 100vh;
    min-height: 100dvh;
    display: grid;
    place-items: center;
    padding: 32px 20px;
}
.auth-wrapper { width: 100%; max-width: 400px; }
.auth-brand {
    display: flex;
    gap: 14px;
    align-items: center;
    margin-bottom: 28px;
    color: #c6ced4;
    font-size: 13px;
    font-weight: 500;
}
.auth-brand img { width: 52px; height: 52px; object-fit: contain; }
.auth-brand span { display: block; }
.auth-brand small { display: block; color: var(--text-muted); font-size: 12px; font-weight: 400; margin-top: 3px; }
.auth-card {
    width: 100%;
    padding: 32px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 8px;
}
.auth-card h1 {
    margin: 0 0 10px;
    color: var(--text-primary);
    font-size: 28px;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -.025em;
}
.auth-intro { margin: 0 0 26px; color: var(--text-muted); font-size: 14px; line-height: 1.6; }
.auth-intro strong { color: var(--text-primary); font-weight: 500; }
.auth-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    min-height: 46px;
    padding: 12px 16px;
    border: 1px solid transparent;
    border-radius: 5px;
    background: #5865f2;
    color: #fff;
    text-decoration: none;
    text-align: center;
    font-weight: 600;
    font-size: 14px;
    line-height: 1.4;
    cursor: pointer;
    transition: background-color .15s;
}
.auth-button:hover { background: #4753d5; }
.auth-button svg { width: 21px; height: 17px; flex-shrink: 0; fill: currentColor; }
.auth-button--neutral { background: #23323f; border-color: #495a69; }
.auth-button--neutral:hover { background: #2b3d4b; }
.auth-button--gold { background: var(--gold); color: #171b1f; }
.auth-button--gold:hover { background: #e0c894; }
.auth-notice {
    margin: 0 0 22px;
    padding: 11px 13px;
    border: 1px solid #753d45;
    border-left: 3px solid #cb7e88;
    border-radius: 4px;
    background: #2a2028;
    color: #f0b9c0;
    font-size: 13px;
    line-height: 1.55;
    overflow-wrap: anywhere;
}
.auth-notice--success { background: #192a25; border-color: #37614e; color: #b4d7c2; }
.auth-footer { margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--line); }
.auth-footer p { margin: 0; color: var(--text-muted); font-size: 13px; line-height: 1.6; }
.auth-footer a, .auth-back a { color: var(--gold); text-decoration: underline; }
.auth-footer a:hover, .auth-back a:hover { color: #ecd9b0; }
.auth-note { margin: 16px 0 0; color: var(--text-muted); font-size: 12px; line-height: 1.6; }
.auth-back { margin: 20px 0 0; font-size: 13px; }
.auth-label { display: block; margin: 0 0 8px; color: var(--text-primary); font-size: 13px; font-weight: 500; }
.auth-code {
    display: block;
    width: 100%;
    min-height: 52px;
    padding: 10px 14px;
    margin-bottom: 18px;
    background: #0e171f;
    color: var(--text-primary);
    border: 1px solid #495a69;
    border-radius: 5px;
    font-size: 24px;
    font-family: ui-monospace, monospace;
    letter-spacing: .3em;
    text-align: center;
}
.auth-actions { display: grid; gap: 10px; }
.auth-actions form { margin: 0; }
.auth-page footer { margin-top: 22px; color: #87959f; text-align: center; font-size: 11px; }
@media (max-width: 420px) {
    .auth-page { padding: 24px 16px; }
    .auth-card { padding: 26px 22px; }
    .auth-brand { margin-bottom: 22px; }
    .auth-card h1 { font-size: 25px; }
}
