/* 认证页共用（注册发链 / 登录等）— 对齐设计稿 register.html / login.html */
.auth-band {
    flex: 1 1 auto;
    padding: 3rem 1.5rem 3.5rem;
    background: linear-gradient(180deg, var(--color-brand-soft, #fff2ef) 0%, color-mix(in srgb, var(--color-brand-soft, #fff4f2) 40%, var(--color-card, #fff)) 220px, var(--color-background, #f6f7f9) 480px);
}

.auth-band.is-center {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3.5rem 1.5rem;
}

.auth-band.is-center .auth-grid {
    width: 100%;
    margin-block: auto;
}

.auth-grid {
    display: grid;
    grid-template-columns: 1fr minmax(0, 460px);
    gap: 3.5rem;
    align-items: center;
    max-width: 1080px;
    margin-inline: auto;
    min-width: 0;
}

.auth-side,
.auth-card {
    min-width: 0;
}

.auth-side h1 {
    margin: 0 0 0.875rem;
    font-size: 2.375rem;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -1px;
    color: var(--color-foreground, #111214);
}

.auth-lead {
    margin: 0 0 1.875rem;
    max-width: 440px;
    font-size: 1.03125rem;
    line-height: 1.65;
    color: var(--color-ink-2, #3c4043);
}

.auth-benefits {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    max-width: 440px;
    margin: 0 0 2rem;
    padding: 0;
    list-style: none;
}

.auth-benefits li {
    display: flex;
    gap: 0.875rem;
}

.auth-bico {
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.6875rem;
    background: var(--color-card, #fff);
    color: var(--color-brand, #e23a2e);
    box-shadow: 0 2px 8px color-mix(in srgb, var(--color-foreground, #111214) 6%, transparent);
}

.auth-benefits h3 {
    margin: 0 0 0.2rem;
    font-size: 0.96875rem;
    font-weight: 600;
}

.auth-benefits p {
    margin: 0;
    font-size: 0.875rem;
    line-height: 1.6;
    color: var(--color-muted-foreground, #6b7280);
}

.auth-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 2.125rem;
    max-width: 440px;
    padding-top: 1.5rem;
    border-top: 1px solid var(--color-border, #e5e7eb);
}

.auth-stat b {
    display: block;
    font-size: 1.4375rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.auth-stat span {
    font-size: 0.8125rem;
    color: var(--color-muted-foreground, #6b7280);
}

.auth-card {
    padding: 2.375rem 2.25rem;
    border-radius: 1.25rem;
    background: var(--color-card, #fff);
    box-shadow: 0 12px 36px color-mix(in srgb, var(--color-foreground, #111214) 7%, transparent);
}

.auth-card h2 {
    margin: 0 0 0.45rem;
    font-size: 1.5625rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.auth-sub {
    margin: 0 0 1.625rem;
    font-size: 0.90625rem;
    color: var(--color-muted-foreground, #6b7280);
}

.auth-sub a {
    color: var(--color-brand, #e23a2e);
    font-weight: 600;
    text-decoration: none;
}

.auth-sub a:hover {
    text-decoration: underline;
}

.auth-row-between {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.45rem;
}

.auth-row-between label {
    margin-bottom: 0;
}

.auth-link-sm {
    color: var(--color-brand, #e23a2e);
    font-size: 0.84375rem;
    font-weight: 600;
    text-decoration: none;
}

.auth-link-sm:hover {
    text-decoration: underline;
}

.auth-alert {
    margin: 0 0 1rem;
    padding: 0.75rem 0.9rem;
    border-radius: 0.65rem;
    font-size: 0.875rem;
}

.auth-alert.is-bad {
    background: var(--color-brand-soft, #fff4f2);
    color: var(--color-brand, #e23a2e);
}

.auth-alert.is-ok {
    background: color-mix(in srgb, var(--color-positive, #00b67a) 12%, var(--color-card, #fff));
    color: var(--color-positive, #0f7b4f);
}

.auth-steps {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.55rem;
    margin: 0 0 1.25rem;
}

.auth-steps.is-center {
    justify-content: center;
}

.auth-stp {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8125rem;
    color: var(--color-muted-foreground, #6b7280);
}

.auth-stp b {
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    width: 1.375rem;
    height: 1.375rem;
    border-radius: 999px;
    background: var(--color-border, #e5e7eb);
    color: var(--color-brand-foreground, #fff);
    font-size: 0.75rem;
    font-weight: 700;
}

.auth-stp.is-done b,
.auth-stp.is-now b {
    background: var(--color-brand, #e23a2e);
}

.auth-stp.is-now {
    color: var(--color-foreground, #111214);
    font-weight: 600;
}

.auth-stp-sep {
    flex: 0 0 auto;
    width: 1.125rem;
    height: 1px;
    background: var(--color-border, #e5e7eb);
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.auth-f label {
    display: block;
    margin-bottom: 0.45rem;
    font-size: 0.8125rem;
    font-weight: 600;
}

.auth-in {
    position: relative;
    display: block;
}

.auth-in > svg {
    position: absolute;
    top: 50%;
    left: 0.875rem;
    color: var(--color-footer-muted, #9aa0a6);
    pointer-events: none;
    transform: translateY(-50%);
}

.auth-in input {
    width: 100%;
    height: 3rem;
    padding: 0 0.875rem 0 2.625rem;
    border: 1px solid var(--color-border, #e5e7eb);
    border-radius: 0.625rem;
    background: var(--color-card, #fff);
    color: var(--color-foreground, #111214);
    font: inherit;
    font-size: 0.9375rem;
    outline: 0;
}

.auth-in input::placeholder {
    color: var(--color-footer-muted, #a6abb3);
}

.auth-in input:hover {
    border-color: var(--color-border, #dcdfe4);
}

.auth-in input:focus {
    border-color: var(--color-brand, #e23a2e);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--color-brand, #e23a2e) 12%, transparent);
}

.auth-in input.is-bad {
    border-color: var(--color-brand, #e23a2e);
    background: var(--color-brand-soft, #fffbfb);
}

.auth-in input.is-cap {
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-weight: 600;
}

.auth-in input.is-cap::placeholder {
    text-transform: none;
    letter-spacing: 0;
    font-weight: 400;
}

.auth-hint {
    margin: 0.45rem 0.125rem 0;
    font-size: 0.78125rem;
    color: var(--color-muted-foreground, #6b7280);
}

.auth-msg {
    display: none;
    margin: 0.45rem 0.125rem 0;
    font-size: 0.78125rem;
    color: var(--color-brand, #e23a2e);
}

.auth-msg.is-show {
    display: block;
}

.auth-cap-row {
    display: flex;
    align-items: stretch;
    gap: 0.625rem;
}

.auth-cap-row .auth-in {
    flex: 1 1 auto;
    min-width: 0;
}

.auth-cap-img {
    flex: 0 0 auto;
    display: flex;
    align-items: stretch;
    gap: 0.375rem;
}

.auth-cap-img img {
    display: block;
    box-sizing: border-box;
    width: 8.25rem; /* 132px — 与 captcha.register 同尺寸，避免裁切 */
    height: 3rem; /* 48px */
    border: 1px solid var(--color-border, #e5e7eb);
    border-radius: 0.625rem;
    background: var(--color-muted, #f4f5f7);
    cursor: pointer;
    object-fit: contain;
    object-position: center;
}

.auth-cap-new {
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    width: 2.5rem;
    height: 3rem;
    padding: 0;
    border: 1px solid var(--color-border, #e5e7eb);
    border-radius: 0.625rem;
    background: var(--color-card, #fff);
    color: var(--color-muted-foreground, #6b7280);
    cursor: pointer;
}

.auth-cap-new:hover {
    border-color: var(--color-border, #dcdfe4);
    background: var(--color-muted, #fafbfc);
    color: var(--color-foreground, #111214);
}

.auth-cap-new svg {
    transition: transform 0.3s ease;
}

.auth-cap-new:hover svg {
    transform: rotate(-90deg);
}

.auth-linkish {
    padding: 0;
    border: 0;
    background: none;
    color: var(--color-brand, #e23a2e);
    font: inherit;
    font-weight: 600;
    text-decoration: underline;
    cursor: pointer;
}

.auth-chk {
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
    font-size: 0.84375rem;
    line-height: 1.55;
    color: var(--color-ink-2, #3c4043);
    cursor: pointer;
}

.auth-chk input {
    flex: 0 0 auto;
    width: 1.0625rem;
    height: 1.0625rem;
    margin-top: 0.1rem;
    accent-color: var(--color-brand, #e23a2e);
}

.auth-chk a {
    color: var(--color-brand, #e23a2e);
    text-decoration: underline;
}

.auth-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    width: 100%;
    height: 3.25rem;
    margin-top: 0.25rem;
    border: 0;
    border-radius: 0.6875rem;
    background: var(--color-brand, #e23a2e);
    color: var(--color-brand-foreground, #fff);
    font-size: 1.03125rem;
    font-weight: 700;
    box-shadow: 0 6px 16px color-mix(in srgb, var(--color-brand, #e23a2e) 24%, transparent);
    cursor: pointer;
}

.auth-btn:hover {
    background: var(--color-brand-dark, #c22f24);
}

.auth-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    box-shadow: none;
}

.auth-btn:disabled:hover {
    background: var(--color-brand, #e23a2e);
}

.auth-footnote {
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
    margin: 1.375rem 0 0;
    padding-top: 1.25rem;
    border-top: 1px solid var(--color-border, #e5e7eb);
    font-size: 0.78125rem;
    line-height: 1.6;
    color: var(--color-muted-foreground, #6b7280);
}

.auth-footnote svg {
    flex: 0 0 auto;
    margin-top: 0.1rem;
    color: var(--color-positive, #0f7b4f);
}

.auth-done {
    text-align: center;
    padding: 0.5rem 0 0.25rem;
}

.auth-done-ico {
    display: grid;
    place-items: center;
    width: 4.625rem;
    height: 4.625rem;
    margin: 0 auto 1.25rem;
    border-radius: 999px;
    background: color-mix(in srgb, var(--color-positive, #00b67a) 12%, var(--color-card, #fff));
    color: var(--color-positive, #0f7b4f);
}

.auth-done h3 {
    margin: 0 0 0.625rem;
    font-size: 1.3125rem;
    font-weight: 800;
    letter-spacing: -0.4px;
}

.auth-done p {
    margin: 0 0 0.5rem;
    font-size: 0.90625rem;
    line-height: 1.65;
    color: var(--color-ink-2, #3c4043);
}

.auth-mailed {
    color: var(--color-foreground, #111214);
    word-break: break-all;
}

.auth-done > .auth-status {
    margin-top: 0.75rem;
    color: var(--color-positive, #0f7b4f);
    font-weight: 600;
}

.auth-done > .auth-again {
    margin-top: 1.125rem;
    font-size: 0.84375rem;
    color: var(--color-muted-foreground, #6b7280);
}

.auth-again button,
.auth-again a {
    padding: 0;
    border: 0;
    background: none;
    color: var(--color-brand, #e23a2e);
    font: inherit;
    font-weight: 600;
    text-decoration: underline;
    cursor: pointer;
}

.cf-turnstile {
    min-height: 0;
}

[x-cloak] {
    display: none !important;
}

@media (max-width: 980px) {
    .auth-band.is-center {
        padding: 2.5rem 1.25rem;
    }

    .auth-grid {
        grid-template-columns: 1fr;
        gap: 2.25rem;
        max-width: 32.5rem;
    }

    .auth-side {
        order: 2;
    }

    .auth-side h1 {
        font-size: 1.6875rem;
    }

    .auth-lead {
        margin-bottom: 1.5rem;
        font-size: 0.9375rem;
        max-width: none;
    }

    .auth-benefits,
    .auth-stats {
        max-width: none;
    }

    .auth-band {
        padding: 1.75rem 1.25rem 2.5rem;
    }

    .auth-card {
        padding: 1.75rem 1.375rem;
    }
}

@media (max-width: 620px) {
    .auth-band {
        padding: 1.5rem 1rem 2.375rem;
    }

    .auth-band.is-center {
        padding: 2.375rem 1rem;
    }

    .auth-card {
        padding: 1.5rem 1.125rem;
        border-radius: 1rem;
    }

    .auth-card h2 {
        font-size: 1.375rem;
    }

    .auth-in input {
        font-size: 1rem;
    }

    .auth-cap-row {
        flex-wrap: wrap;
    }

    .auth-cap-img {
        width: 100%;
    }

    .auth-cap-img img {
        flex: 0 0 auto;
        width: 8.25rem;
        height: 3rem;
    }

    .auth-stats {
        gap: 0.875rem 1.5rem;
    }

    .auth-stat b {
        font-size: 1.25rem;
    }
}

@media (max-width: 380px) {
    .auth-band {
        padding: 1.25rem 0.75rem 2rem;
    }

    .auth-card {
        padding: 1.25rem 0.9375rem;
    }
}

/* ---------- Profile step (register-profile) ---------- */
.auth-grid.is-solo {
    grid-template-columns: minmax(0, 37.5rem);
    justify-content: center;
    max-width: 37.5rem;
    gap: 0;
}

.auth-verified {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    margin: 0 0 1.375rem;
    padding: 0.7rem 0.8rem;
    border: 1px solid color-mix(in srgb, var(--color-positive, #00b67a) 35%, var(--color-card, #fff));
    border-radius: 0.6875rem;
    background: color-mix(in srgb, var(--color-positive, #00b67a) 12%, var(--color-card, #fff));
    color: var(--color-positive, #166a45);
    font-size: 0.84375rem;
    line-height: 1.5;
}

.auth-verified svg {
    flex: 0 0 auto;
    color: var(--color-positive, #0f7b4f);
}

.auth-verified b {
    font-weight: 600;
    word-break: break-all;
}

.auth-f-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.auth-in input.is-pw {
    padding-right: 3rem;
}

.auth-eye {
    position: absolute;
    top: 50%;
    right: 0.5rem;
    display: grid;
    place-items: center;
    width: 2.125rem;
    height: 2.125rem;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: var(--color-muted-foreground, #6b7280);
    transform: translateY(-50%);
    cursor: pointer;
}

.auth-eye:hover {
    background: var(--color-muted, #f2f3f5);
    color: var(--color-foreground, #111214);
}

.auth-pw-meter {
    margin-top: 0.625rem;
}

.auth-pw-bars {
    display: flex;
    gap: 0.3rem;
}

.auth-pw-bars i {
    flex: 1 1 auto;
    height: 0.25rem;
    border-radius: 2px;
    background: var(--color-muted, #e9ebee);
    transition: background 0.18s ease;
}

.auth-pw-lab {
    display: flex;
    justify-content: space-between;
    gap: 0.625rem;
    margin-top: 0.45rem;
    font-size: 0.78125rem;
    color: var(--color-muted-foreground, #6b7280);
}

.auth-pw-lab b {
    font-weight: 700;
}

.auth-pw-rules {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.45rem 0.875rem;
    margin: 0.75rem 0 0;
    padding: 0;
    list-style: none;
}

.auth-pw-rules li {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.78125rem;
    color: var(--color-muted-foreground, #6b7280);
}

.auth-pw-rules li svg {
    flex: 0 0 auto;
    color: var(--color-border, #c9cdd4);
}

.auth-pw-rules li.is-ok {
    color: var(--color-positive, #0f7b4f);
}

.auth-pw-rules li.is-ok svg {
    color: var(--color-positive, #0f7b4f);
}

.auth-opt {
    float: right;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--color-muted-foreground, #6b7280);
}

.auth-cb {
    position: relative;
}

.auth-cb-btn {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    width: 100%;
    height: 3rem;
    padding: 0 0.875rem;
    border: 1px solid var(--color-border, #e5e7eb);
    border-radius: 0.625rem;
    background: var(--color-card, #fff);
    color: var(--color-foreground, #111214);
    font-size: 0.9375rem;
    text-align: left;
    cursor: pointer;
}

.auth-cb-btn:hover {
    border-color: var(--color-border, #dcdfe4);
}

.auth-cb.is-open .auth-cb-btn {
    border-color: var(--color-brand, #e23a2e);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--color-brand, #e23a2e) 12%, transparent);
}

.auth-cb-btn.is-bad {
    border-color: var(--color-brand, #e23a2e);
    background: var(--color-brand-soft, #fffbfb);
}

.auth-cb-val {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.auth-cb-val.is-ph {
    color: var(--color-footer-muted, #a6abb3);
}

.auth-cb-caret {
    flex: 0 0 auto;
    width: 0.7rem;
    height: 0.7rem;
    opacity: 0.55;
    transition: transform 0.15s ease;
}

.auth-cb.is-open .auth-cb-caret {
    transform: rotate(180deg);
}

.auth-cb-menu {
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 0;
    z-index: 40;
    width: 100%;
    padding: 0.625rem;
    border: 1px solid var(--color-border, #e5e7eb);
    border-radius: 0.8125rem;
    background: var(--color-card, #fff);
    box-shadow: 0 14px 38px color-mix(in srgb, var(--color-foreground, #111214) 16%, transparent);
}

.auth-cb-seek {
    position: relative;
    display: block;
}

.auth-cb-seek > svg {
    position: absolute;
    top: 50%;
    left: 0.8rem;
    color: var(--color-footer-muted, #9aa0a6);
    pointer-events: none;
    transform: translateY(-50%);
}

.auth-cb-seek input {
    width: 100%;
    height: 2.75rem;
    padding: 0 0.875rem 0 2.5rem;
    border: 1px solid var(--color-border, #ebedf0);
    border-radius: 0.5625rem;
    background: var(--color-card, #fff);
    color: var(--color-foreground, #111214);
    font: inherit;
    font-size: 0.875rem;
    outline: 0;
}

.auth-cb-seek input:focus {
    border-color: var(--color-border, #dcdfe4);
    box-shadow: none;
}

.auth-cb-count {
    margin: 0.55rem 0.125rem 0.4rem;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: var(--color-muted-foreground, #6b7280);
}

.auth-cb-opts {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
    max-height: 15.375rem;
    overflow: auto;
}

.auth-cb-opt {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    width: 100%;
    padding: 0.625rem 0.75rem;
    border: 0;
    border-radius: 0.5625rem;
    background: transparent;
    color: var(--color-foreground, #111214);
    font-size: 0.875rem;
    text-align: left;
    cursor: pointer;
}

.auth-cb-opt:hover,
.auth-cb-opt.is-active {
    background: var(--color-muted, #f0f1f4);
}

.auth-cb-opt.is-sel {
    background: var(--color-brand-soft, #fdecea);
    color: var(--color-brand, #e23a2e);
    font-weight: 600;
}

.auth-cb-nm {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.auth-cb-dial {
    flex: 0 0 auto;
    font-size: 0.8125rem;
    color: var(--color-muted-foreground, #6b7280);
}

.auth-cb-opt.is-sel .auth-cb-dial {
    color: var(--color-brand, #e23a2e);
}

.auth-cb-tick {
    flex: 0 0 auto;
    width: 0.875rem;
    color: var(--color-brand, #e23a2e);
    opacity: 0;
}

.auth-cb-opt.is-sel .auth-cb-tick {
    opacity: 1;
}

.auth-cb-empty {
    padding: 1.25rem 0.75rem;
    text-align: center;
    font-size: 0.84375rem;
    line-height: 1.6;
    color: var(--color-muted-foreground, #6b7280);
}

.auth-phone {
    display: flex;
    align-items: stretch;
    overflow: hidden;
    border: 1px solid var(--color-border, #e5e7eb);
    border-radius: 0.625rem;
    background: var(--color-card, #fff);
}

.auth-phone:hover {
    border-color: var(--color-border, #dcdfe4);
}

.auth-phone:focus-within {
    border-color: var(--color-brand, #e23a2e);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--color-brand, #e23a2e) 12%, transparent);
}

.auth-phone.is-bad {
    border-color: var(--color-brand, #e23a2e);
    background: var(--color-brand-soft, #fffbfb);
}

.auth-phone-dial {
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    min-width: 4.125rem;
    padding: 0 0.75rem;
    border-right: 1px solid var(--color-border, #e5e7eb);
    background: var(--color-background, #f6f7f9);
    color: var(--color-ink-2, #3c4043);
    font-size: 0.9375rem;
    font-weight: 600;
}

.auth-phone input {
    flex: 1 1 auto;
    min-width: 0;
    width: auto;
    height: 2.875rem;
    padding: 0 0.875rem;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: var(--color-foreground, #111214);
    font: inherit;
    font-size: 0.9375rem;
    outline: 0;
    box-shadow: none;
}

.auth-phone input:focus {
    border: 0;
    box-shadow: none;
}

@media (max-width: 980px) {
    .auth-grid.is-solo {
        max-width: none;
        width: 100%;
    }
}

@media (max-width: 620px) {
    .auth-f-row {
        grid-template-columns: 1fr;
    }

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

    .auth-phone input {
        font-size: 1rem;
    }
}

/* ---------- Reset password (reset-password.html) ---------- */
.auth-back {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
    max-width: 30.375rem;
    margin: 0 auto 1.25rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-muted-foreground, #6b7280);
}

.auth-back:hover {
    color: var(--color-brand, #e23a2e);
}

.auth-top-ico {
    display: grid;
    place-items: center;
    width: 3.875rem;
    height: 3.875rem;
    margin-bottom: 1.25rem;
    border-radius: 1rem;
    background: var(--color-brand-soft, #fdecea);
    color: var(--color-brand, #e23a2e);
}

.auth-acct {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    margin: 0 0 1.5rem;
    padding: 0.75rem 0.875rem;
    border: 1px solid var(--color-border, #e5e7eb);
    border-radius: 0.6875rem;
    background: var(--color-muted, #fafbfc);
}

.auth-acct svg {
    flex: 0 0 auto;
    color: var(--color-muted-foreground, #6b7280);
}

.auth-acct span {
    min-width: 0;
    font-size: 0.875rem;
    color: var(--color-muted-foreground, #6b7280);
}

.auth-acct b {
    display: block;
    font-size: 0.90625rem;
    font-weight: 600;
    color: var(--color-foreground, #111214);
    word-break: break-all;
}

.auth-match {
    display: none;
    align-items: center;
    gap: 0.375rem;
    margin: 0.45rem 0.125rem 0;
    font-size: 0.78125rem;
}

.auth-match.is-show {
    display: flex;
}

.auth-match.is-ok {
    color: var(--color-positive, #0f7b4f);
}

.auth-match.is-bad {
    color: var(--color-brand, #e23a2e);
}

.auth-match-inner {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
}

.auth-footnote a {
    color: var(--color-brand, #e23a2e);
    font-weight: 600;
    white-space: nowrap;
}

.auth-footnote a:hover {
    text-decoration: underline;
}

.auth-ovl {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
    background: color-mix(in srgb, var(--color-header, #0b0b0c) 62%, transparent);
}

.auth-modal {
    width: 100%;
    max-width: 26.25rem;
    padding: 2.25rem 2rem 1.875rem;
    border-radius: 1.125rem;
    background: var(--color-card, #fff);
    text-align: center;
    box-shadow: 0 30px 70px color-mix(in srgb, var(--color-header, #0b0b0c) 35%, transparent);
}

.auth-modal .auth-done-ico {
    margin-inline: auto;
}

.auth-modal h3 {
    margin: 0 0 0.625rem;
    font-size: 1.375rem;
    font-weight: 800;
    letter-spacing: -0.4px;
}

.auth-modal > p {
    margin: 0 0 0.375rem;
    font-size: 0.90625rem;
    line-height: 1.65;
    color: var(--color-ink-2, #3c4043);
}

.auth-ring {
    position: relative;
    display: block;
    width: 3.25rem;
    height: 3.25rem;
    margin: 1.125rem auto 0;
}

.auth-ring svg {
    transform: rotate(-90deg);
}

.auth-ring circle {
    fill: none;
    stroke-width: 4;
}

.auth-ring-bg {
    stroke: var(--color-muted, #edeef1);
}

.auth-ring-fg {
    stroke: var(--color-positive, #0f7b4f);
    stroke-linecap: round;
    transition: stroke-dashoffset 1s linear;
}

.auth-ring b {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    font-size: 1.0625rem;
    font-weight: 800;
}

.auth-redirect {
    margin-top: 1rem;
    font-size: 0.84375rem;
    color: var(--color-muted-foreground, #6b7280);
}

.auth-redirect b {
    color: var(--color-foreground, #111214);
    font-weight: 700;
}

.auth-modal-actions {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
    margin-top: 1.375rem;
}

.auth-modal-actions .auth-btn {
    margin-top: 0;
    text-decoration: none;
}

.auth-modal-stay {
    padding: 0.375rem;
    border: 0;
    background: none;
    color: var(--color-muted-foreground, #6b7280);
    font-size: 0.84375rem;
    font-weight: 600;
    cursor: pointer;
}

.auth-modal-stay:hover {
    color: var(--color-foreground, #111214);
}

@media (max-width: 620px) {
    .auth-back {
        max-width: none;
    }

    .auth-top-ico {
        width: 3.375rem;
        height: 3.375rem;
        margin-bottom: 1rem;
        border-radius: 0.875rem;
    }

    .auth-modal {
        padding: 1.75rem 1.25rem 1.5rem;
        border-radius: 1rem;
    }

    .auth-modal h3 {
        font-size: 1.25rem;
    }
}
