/**
 * 灵涵速推合伙人商学院 H5 登录 / 注册 — 对齐创作首页浅色 Soft UI（青绿）
 * sync-bump: 2026-07-27-2135
 */

:root {
    --auth-brand: #0f766e;
    --auth-brand-deep: #134e4a;
    --auth-brand-soft: #14b8a6;
    --auth-accent: #7c3aed;
    --auth-ink: #0f172a;
    --auth-ink-soft: #64748b;
    --auth-line: rgba(15, 23, 42, 0.08);
    --auth-field: #f8fafc;
    --auth-bg0: #eef5f5;
    --auth-bg1: #f8fbfc;
}

html.page-auth-html {
    height: auto;
    min-height: 100%;
    overflow: auto !important;
    background: var(--auth-bg1) !important;
}

html.page-auth-html body.page-auth {
    height: auto;
    min-height: 100vh;
    min-height: 100dvh;
    overflow: auto !important;
    overflow-x: hidden !important;
    padding: 0 !important;
    margin: 0 !important;
    color: var(--auth-ink) !important;
    background:
        radial-gradient(115% 72% at 50% -10%, rgba(20, 184, 166, 0.24) 0%, transparent 56%),
        radial-gradient(82% 50% at 100% 10%, rgba(124, 58, 237, 0.10) 0%, transparent 52%),
        radial-gradient(75% 45% at 0% 88%, rgba(45, 212, 191, 0.16) 0%, transparent 48%),
        linear-gradient(180deg, var(--auth-bg0) 0%, var(--auth-bg1) 50%, #f3f7fb 100%) !important;
    background-attachment: fixed;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-family: "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    font-size: 15px;
    line-height: 1.5;
}

html.page-auth-html body.page-auth #app.login-page,
html.page-auth-html body.page-auth .login-page,
html.page-auth-html body.page-auth .login-container {
    background: transparent !important;
}

html.page-auth-html body.page-auth #app.login-page,
html.page-auth-html body.page-auth .login-page {
    min-height: 100vh;
    min-height: 100dvh;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

html.page-auth-html body.page-auth .login-container {
    max-width: 420px;
    margin: 0 auto;
    min-height: 0;
}

/* 青绿雾感光斑（替代旧紫光） */
body.page-auth::before,
body.page-auth::after {
    content: '' !important;
    display: block !important;
    position: fixed;
    z-index: 0;
    pointer-events: none;
    border-radius: 50%;
    filter: blur(52px);
    opacity: 0.38;
}

body.page-auth::before {
    top: -100px;
    left: -70px;
    width: 260px;
    height: 260px;
    background: #7DC4C6;
}

body.page-auth::after {
    bottom: -120px;
    right: -80px;
    width: 280px;
    height: 280px;
    background: #A8C6BC;
}

body.page-auth * {
    box-sizing: border-box;
}

body.page-auth h1,
body.page-auth p {
    margin: 0;
}

body.page-auth .container {
    position: relative;
    z-index: 1;
    min-height: 0 !important;
    height: auto !important;
    display: flex;
    flex-direction: column;
    flex: 0 0 auto !important;
    max-width: 420px;
    margin: 0 auto;
    padding: 0 18px 36px;
    width: 100%;
}

body.page-auth .back-link {
    position: absolute;
    top: 18px;
    left: 18px;
    color: var(--auth-ink) !important;
    text-decoration: none;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    z-index: 3;
    font-weight: 600;
    padding: 7px 14px 7px 11px;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    box-shadow: 0 6px 16px rgba(13, 107, 99, 0.08);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: transform 0.2s ease;
}

body.page-auth .back-link:active {
    transform: scale(0.96);
}

body.page-auth .back-link i {
    font-size: 13px;
    color: var(--auth-brand);
}

body.page-auth .header {
    background: transparent;
    padding: 72px 0 24px;
    text-align: center;
}

body.page-auth .logo,
body.page-auth .logo.logo-card {
    position: relative;
    width: 78px;
    height: 78px;
    background: linear-gradient(145deg, #ffffff 0%, #eef7f6 100%);
    border-radius: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.10);
    border: 1px solid rgba(255, 255, 255, 0.92);
    overflow: hidden;
    padding: 0;
}

body.page-auth .logo::after {
    display: none !important;
    content: none !important;
}

body.page-auth .logo i {
    font-size: 28px;
    color: var(--auth-brand);
    position: relative;
    z-index: 1;
}

body.page-auth .logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

body.page-auth .register-logo {
    width: 72px;
    height: 72px;
    margin: 0 auto 14px;
    border-radius: 18px;
}

body.page-auth .register-logo .logo-img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

body.page-auth.page-register .brand-name {
    margin-bottom: 8px;
    font-size: 1.15rem;
}

body.page-auth.page-register .register-header .title {
    margin-bottom: 6px;
    font-size: 1.65rem;
}

body.page-auth.page-register .register-header .subtitle {
    font-size: 0.88rem;
}

body.page-auth.page-login .logo.logo-card {
    width: 72px;
    height: 72px;
    border-radius: 18px;
    margin: 0 auto 18px;
    padding: 0;
}

body.page-auth.page-login .logo-card__mast {
    display: none !important;
}

body.page-auth .brand-name {
    margin: 0 0 8px;
    font-family: "Noto Serif SC", "Songti SC", "STSong", serif;
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--auth-ink);
    line-height: 1.2;
}

body.page-auth .title,
body.page-auth.page-login .title {
    font-size: 1.55rem;
    font-weight: 750;
    color: var(--auth-ink);
    margin-bottom: 8px;
    letter-spacing: -0.02em;
    line-height: 1.25;
}

body.page-auth .subtitle,
body.page-auth.page-login .subtitle {
    font-size: 0.92rem;
    color: var(--auth-ink-soft);
    line-height: 1.55;
    max-width: 18em;
    margin-left: auto;
    margin-right: auto;
}

body.page-auth .form-wrap {
    flex: 0 0 auto !important;
    flex-grow: 0 !important;
    min-height: 0 !important;
    height: auto !important;
    width: 100%;
    max-width: 100%;
}

body.page-auth.page-login .form-wrap.login-card,
body.page-auth:not(.page-login) .form-wrap {
    margin: 0;
    padding: 28px 22px 28px;
    border-radius: 24px;
    background:
        linear-gradient(180deg, rgba(255,255,255,0.92) 0%, rgba(255,255,255,0.86) 100%);
    border: 1px solid rgba(255, 255, 255, 0.96);
    box-shadow: 0 22px 52px rgba(15, 23, 42, 0.08);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

body.page-auth .form-group {
    margin-bottom: 16px;
}

body.page-auth .form-label,
body.page-auth.page-login .form-label {
    display: block;
    font-size: 13px;
    font-weight: 650;
    color: var(--auth-ink) !important;
    margin-bottom: 8px;
    letter-spacing: 0;
}

body.page-auth .form-label span {
    color: #DC2626 !important;
}

body.page-auth .input-wrap {
    position: relative;
}

body.page-auth .input-wrap > i:first-of-type {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #94A3B8;
    font-size: 15px;
    z-index: 1;
    pointer-events: none;
    transition: color 0.2s ease;
}

body.page-auth .input-wrap:focus-within > i:first-of-type {
    color: var(--auth-brand);
}

body.page-auth .form-input,
body.page-auth.page-login .form-input {
    width: 100%;
    max-width: 100%;
    height: 52px;
    padding: 0 14px 0 46px !important;
    border: 1px solid var(--auth-line) !important;
    border-radius: 16px !important;
    font-size: 15px !important;
    outline: none;
    background: rgba(248, 250, 252, 0.96) !important;
    color: var(--auth-ink) !important;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, transform 0.15s ease;
    font-family: inherit;
}

body.page-auth .form-input::placeholder {
    color: #94A3B8 !important;
    font-size: 14px;
}

body.page-auth .form-input:focus {
    border-color: rgba(15, 118, 110, 0.44) !important;
    background: #ffffff !important;
    box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.12) !important;
}

body.page-auth .form-input:-webkit-autofill,
body.page-auth .form-input:-webkit-autofill:hover,
body.page-auth .form-input:-webkit-autofill:focus {
    -webkit-text-fill-color: var(--auth-ink) !important;
    caret-color: var(--auth-ink);
    transition: background-color 9999s ease-out;
    -webkit-box-shadow: 0 0 0 1000px var(--auth-field) inset !important;
    box-shadow: 0 0 0 1000px var(--auth-field) inset !important;
}

body.page-auth .form-input[type="password"]::-ms-reveal,
body.page-auth .form-input[type="password"]::-ms-clear,
body.page-auth .form-input[type="text"]::-ms-clear {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
}

body.page-auth input[type="password"]::-webkit-credentials-auto-fill-button {
    visibility: hidden !important;
    display: none !important;
    pointer-events: none !important;
}

body.page-auth.page-login .input-wrap .toggle-password {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    margin: 0;
    padding: 6px;
    color: #94A3B8;
    font-size: 15px;
    line-height: 1;
    cursor: pointer;
    z-index: 2;
    background: transparent;
    border: none;
    box-shadow: none;
    appearance: none;
    -webkit-appearance: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

body.page-auth.page-login .input-wrap .toggle-password::before,
body.page-auth.page-login .input-wrap .toggle-password::after {
    content: none !important;
    display: none !important;
}

body.page-auth.page-login .input-wrap .toggle-password:hover,
body.page-auth.page-login .input-wrap .toggle-password.is-active {
    color: var(--auth-brand);
}

body.page-auth.page-login .input-wrap.has-toggle .form-input {
    padding-right: 44px !important;
}

body.page-auth .captcha-wrap {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    gap: 12px;
    width: 100%;
    min-width: 0;
}

body.page-auth .captcha-wrap .form-input {
    flex: 1 1 auto;
    min-width: 0;
    width: auto;
    height: 50px;
    padding-left: 14px !important;
}

body.page-auth .captcha-img {
    height: 50px;
    width: 124px;
    flex: 0 0 124px;
    max-width: 38%;
    object-fit: cover;
    border-radius: 14px;
    cursor: pointer;
    border: 1px solid var(--auth-line);
    background: var(--auth-field);
    display: block;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

body.page-auth .captcha-img:hover {
    border-color: rgba(20, 184, 166, 0.42);
    box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.1);
}

body.page-auth .email-domain-suggest {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 7px;
    margin-top: 8px;
    color: #64748B;
    font-size: 12px;
}

body.page-auth .email-domain-suggest[hidden] {
    display: none !important;
}

body.page-auth .email-domain-suggest button {
    border: 1px solid rgba(13, 107, 99, 0.18);
    border-radius: 999px;
    padding: 5px 9px;
    background: rgba(13, 107, 99, 0.06);
    color: var(--auth-brand);
    cursor: pointer;
    font: inherit;
}

body.page-auth .email-domain-suggest button:hover,
body.page-auth .email-domain-suggest button:focus-visible {
    background: rgba(13, 107, 99, 0.12);
    outline: none;
}

body.page-auth .form-hint {
    font-size: 12px;
    color: #94A3B8 !important;
    margin-top: 6px;
    line-height: 1.4;
}

body.page-auth .form-hint a {
    color: var(--auth-brand) !important;
    text-decoration: none;
    font-weight: 600;
}

body.page-auth .btn,
body.page-auth .btn-primary,
body.page-auth .invite-gate__login,
body.page-auth .reg-cred-btn--primary {
    border-radius: 16px !important;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.10);
}

body.page-auth .error-msg {
    background: #FEF2F2;
    border: 1px solid #FECACA;
    color: #B91C1C;
    padding: 12px 14px;
    border-radius: 12px;
    font-size: 14px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

body.page-auth .error-msg[hidden],
body.page-auth .success-msg[hidden] {
    display: none !important;
}

body.page-auth .error-msg i {
    font-size: 15px;
    flex-shrink: 0;
}

body.page-auth .success-msg {
    background: #ECFDF5;
    border: 1px solid #A7F3D0;
    color: #047857;
    padding: 12px 14px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 16px;
    line-height: 1.45;
    display: flex;
    align-items: center;
    gap: 8px;
}

body.page-auth .success-msg i {
    font-size: 15px;
    flex-shrink: 0;
}

/* 注册成功凭证弹层 */
body.page-login--cred-open {
    overflow: hidden !important;
}
.reg-cred-modal {
    position: fixed;
    inset: 0;
    z-index: 12000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 16px calc(20px + env(safe-area-inset-bottom, 0));
    box-sizing: border-box;
}
.reg-cred-modal[hidden] {
    display: none !important;
}
.reg-cred-modal.is-closing {
    opacity: 0;
    transition: opacity 0.2s ease;
}
.reg-cred-modal__mask {
    position: absolute;
    inset: 0;
    background: rgba(11, 18, 32, 0.45);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}
.reg-cred-card {
    position: relative;
    z-index: 1;
    width: min(360px, 100%);
    background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
    border-radius: 20px;
    padding: 22px 20px 18px;
    box-shadow: 0 20px 44px rgba(15, 23, 42, 0.14);
    border: 1px solid rgba(13, 107, 99, 0.1);
    text-align: left;
    animation: regCredIn 0.28s ease;
    overflow: hidden;
}
.reg-cred-card--invite {
    background: linear-gradient(180deg, #fffdf8 0%, #fbfdff 100%);
}
.reg-cred-card--public {
    width: min(392px, 100%);
}
.public-entry-intro {
    margin: 8px 0 14px;
    padding: 14px 14px 12px;
    border-radius: 16px;
    background: linear-gradient(180deg, #f8fbfd 0%, #eef6f8 100%);
    border: 1px solid rgba(13, 107, 99, 0.08);
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.05);
}
.public-entry-intro__line {
    font-size: 0.92rem;
    line-height: 1.65;
    color: var(--auth-ink);
}
.public-entry-intro__line + .public-entry-intro__line {
    margin-top: 8px;
}
.public-entry-envelope {
    position: relative;
    margin: 8px 0 14px;
    height: 214px;
    perspective: 1400px;
    transform-style: preserve-3d;
}
.public-entry-envelope__shadow {
    position: absolute;
    left: 50%;
    bottom: 10px;
    width: min(90%, 288px);
    height: 24px;
    transform: translateX(-50%);
    border-radius: 50%;
    background: rgba(15, 23, 42, 0.16);
    filter: blur(14px);
    opacity: 0.54;
    transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.45s ease;
}
.public-entry-envelope__back,
.public-entry-envelope__front,
.public-entry-envelope__flap,
.public-entry-envelope__letter {
    position: absolute;
    left: 50%;
    width: min(100%, 290px);
    transform: translateX(-50%);
}
.public-entry-envelope__back {
    bottom: 24px;
    height: 154px;
    border-radius: 22px;
    background: linear-gradient(180deg, #eff5f8 0%, #dfeaf0 100%);
    box-shadow: 0 20px 38px rgba(15, 23, 42, 0.12);
    overflow: hidden;
}
.public-entry-envelope__back::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg, rgba(255,255,255,0.88) 0 49%, transparent 49.5% 50.5%, rgba(255,255,255,0.55) 51% 100%),
        linear-gradient(225deg, rgba(255,255,255,0.88) 0 49%, transparent 49.5% 50.5%, rgba(255,255,255,0.55) 51% 100%);
    opacity: 0.95;
}
.public-entry-envelope__front {
    bottom: 24px;
    height: 154px;
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(255,255,255,0.56) 0%, rgba(255,255,255,0.82) 100%);
    clip-path: polygon(0 0, 50% 60%, 100% 0, 100% 100%, 0 100%);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.85);
    z-index: 3;
}
.public-entry-envelope__front::before,
.public-entry-envelope__front::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 1px;
    height: 122px;
    background: linear-gradient(180deg, rgba(13, 107, 99, 0.12) 0%, transparent 100%);
    transform: translateX(-50%) rotate(30deg);
}
.public-entry-envelope__front::after {
    transform: translateX(-50%) rotate(-30deg);
}
.public-entry-envelope__flap {
    top: 22px;
    height: 76px;
    border-radius: 18px;
    background: linear-gradient(180deg, #ffffff 0%, #ecf4f7 100%);
    clip-path: polygon(0 0, 50% 100%, 100% 0);
    transform-origin: 50% 100%;
    transform: translateX(-50%) rotateX(0deg);
    transition: transform 0.72s cubic-bezier(0.16, 1, 0.3, 1), filter 0.35s ease;
    z-index: 4;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.08);
}
.public-entry-envelope__letter {
    bottom: 36px;
    width: min(100%, 268px);
    transform: translateX(-50%) translateY(56px) scale(0.96);
    opacity: 0;
    transition: transform 0.72s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s ease;
    z-index: 2;
}
.public-entry-envelope__paper {
    position: relative;
    min-height: 138px;
    padding: 16px 16px 18px;
    border-radius: 18px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fcff 100%);
    border: 1px solid rgba(13, 107, 99, 0.12);
    box-shadow: 0 12px 26px rgba(15, 23, 42, 0.08);
    overflow: hidden;
}
.public-entry-envelope__paper::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(13, 107, 99, 0.04) 0%, transparent 30%, rgba(255,255,255,0.2) 100%);
    pointer-events: none;
}
.public-entry-envelope.is-open .public-entry-envelope__shadow {
    opacity: 0.28;
    transform: translateX(-50%) scale(0.95);
}
.public-entry-envelope.is-open .public-entry-envelope__flap {
    transform: translateX(-50%) rotateX(180deg) translateY(-8px);
    filter: drop-shadow(0 10px 18px rgba(15, 23, 42, 0.12));
}
.public-entry-envelope.is-open .public-entry-envelope__letter {
    transform: translateX(-50%) translateY(-26px) scale(1);
    opacity: 1;
}
.public-entry-envelope.is-open .public-entry-envelope__front {
    transform: translateX(-50%) translateY(6px);
}
.public-entry-envelope.is-open .public-entry-envelope__back {
    transform: translateX(-50%) translateY(2px) scale(1.01);
}
.public-entry-letter__typed {
    position: relative;
    z-index: 1;
    min-height: 106px;
    white-space: pre-wrap;
    word-break: break-word;
    font-size: 0.95rem;
    line-height: 1.88;
    color: #0f172a;
}
.public-entry-caret {
    display: inline-block;
    width: 10px;
    height: 1.1em;
    transform: translateY(3px);
    border-right: 2px solid var(--auth-brand);
    animation: publicCaretBlink 0.9s steps(1) infinite;
}
@keyframes publicCaretBlink {
    50% { opacity: 0; }
}
.public-entry-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.public-entry-actions .reg-cred-btn {
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
@keyframes regCredIn {
    from { opacity: 0; transform: translateY(12px) scale(0.98); }
    to { opacity: 1; transform: none; }
}
.reg-cred-letter {
    position: absolute;
    right: -10px;
    top: -10px;
    width: 88px;
    height: 88px;
    opacity: 0.16;
    pointer-events: none;
    transform: rotate(10deg);
}
.reg-cred-letter__top,
.reg-cred-letter__mid,
.reg-cred-letter__bot {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 8px;
}
.reg-cred-letter__top {
    top: 14px;
    width: 70px;
    height: 34px;
    background: linear-gradient(135deg, #0d6b63 0%, #1d4ed8 100%);
    clip-path: polygon(0 100%, 50% 0, 100% 100%);
}
.reg-cred-letter__mid {
    top: 34px;
    width: 72px;
    height: 40px;
    background: linear-gradient(180deg, #d7f3ee 0%, #c7e8ff 100%);
    border: 2px solid rgba(13, 107, 99, 0.25);
}
.reg-cred-letter__bot {
    top: 46px;
    width: 76px;
    height: 26px;
    background: linear-gradient(180deg, #ffffff 0%, #eff6ff 100%);
    clip-path: polygon(0 0, 50% 100%, 100% 0);
}
.reg-cred-card__badge {
    display: inline-flex;
    align-items: center;
    height: 26px;
    padding: 0 10px;
    border-radius: 8px;
    background: rgba(13, 107, 99, 0.1);
    color: var(--auth-brand-deep);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.02em;
    margin-bottom: 12px;
}
.reg-cred-card__title {
    margin: 0 0 8px;
    font-size: 1.22rem;
    font-weight: 750;
    color: var(--auth-ink);
    letter-spacing: -0.02em;
    line-height: 1.3;
}
.reg-cred-card__lead {
    margin: 0 0 16px;
    font-size: 0.9rem;
    color: var(--auth-ink-soft);
    line-height: 1.55;
}
.reg-cred-card__lead strong {
    color: #B45309;
    font-weight: 700;
}
.reg-cred-card__rows {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 12px;
    padding: 14px;
    border-radius: 14px;
    background: linear-gradient(180deg, #F8FAFC 0%, #F1F5F9 100%);
    border: 1px dashed #CBD5E1;
}
.reg-cred-row {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.reg-cred-row__k {
    font-size: 12px;
    font-weight: 600;
    color: #94A3B8;
    letter-spacing: 0.04em;
}
.reg-cred-row__v {
    font-size: 1.12rem;
    font-weight: 750;
    color: #0F172A;
    word-break: break-all;
    line-height: 1.35;
    font-family: "SF Mono", "Menlo", "Consolas", "PingFang SC", monospace;
}
.reg-cred-row__v--pass {
    color: var(--auth-brand-deep);
    letter-spacing: 0.04em;
}
.reg-cred-card__tip {
    margin: 0 0 16px;
    font-size: 0.78rem;
    color: #94A3B8;
    line-height: 1.5;
}
.reg-cred-card__actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.reg-cred-btn {
    width: 100%;
    min-height: 46px;
    border-radius: 14px;
    border: 0;
    font-size: 0.95rem;
    font-weight: 650;
    cursor: pointer;
    font-family: inherit;
}
.reg-cred-btn--primary {
    background: linear-gradient(180deg, var(--auth-brand-soft) 0%, var(--auth-brand) 100%);
    color: #fff;
    box-shadow: 0 10px 24px rgba(13, 107, 99, 0.22);
}
.reg-cred-btn--ghost {
    background: #F1F5F9;
    color: #334155;
}
.reg-cred-btn:active {
    transform: scale(0.985);
}

body.page-auth .btn,
body.page-auth.page-login .btn.login-btn {
    width: 100%;
    max-width: 100%;
    height: 50px;
    padding: 0;
    background: linear-gradient(180deg, var(--auth-brand-soft) 0%, var(--auth-brand) 100%) !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 14px;
    font-size: 16px;
    font-weight: 650;
    cursor: pointer;
    margin-top: 8px;
    letter-spacing: 0.04em;
    box-shadow: 0 12px 28px rgba(13, 107, 99, 0.22);
    transition: transform 0.15s ease, box-shadow 0.2s ease, filter 0.2s ease;
    -webkit-tap-highlight-color: transparent;
}

body.page-auth .btn:hover,
body.page-auth.page-login .btn.login-btn:hover {
    filter: brightness(1.04);
    box-shadow: 0 14px 32px rgba(13, 107, 99, 0.28);
}

body.page-auth .btn:active,
body.page-auth.page-login .btn.login-btn:active {
    transform: translateY(1px) scale(0.99);
}

body.page-auth .btn:disabled,
body.page-auth.page-login .btn.login-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

body.page-auth .footer {
    text-align: center;
    margin-top: 20px;
    font-size: 14px;
    color: var(--auth-ink-soft) !important;
}

body.page-auth .footer a {
    color: var(--auth-brand-deep) !important;
    text-decoration: none;
    font-weight: 650;
    border-bottom: 1px solid rgba(13, 107, 99, 0.35);
    transition: opacity 0.2s ease;
}

body.page-auth .footer a:active {
    opacity: 0.65;
}

body.page-login .login-trust {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 16px;
}
body.page-login .login-trust span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 9px;
    border-radius: 999px;
    color: #47616d;
    background: rgba(255,255,255,.58);
    border: 1px solid rgba(255,255,255,.82);
    font-size: 11px;
    font-weight: 600;
    box-shadow: 0 5px 14px rgba(13,107,99,.05);
}
body.page-login .login-trust i { color: var(--auth-brand); }
body.page-login .login-card__head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin: -2px 0 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(11,18,32,.07);
}
body.page-login .login-card__head strong { font-size: 17px; color: var(--auth-ink); }
body.page-login .login-card__head span { font-size: 12px; color: #94a3b8; }
body.page-login .login-secure-note {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    margin-top: 14px;
    color: #7b8b99;
    font-size: 11px;
}
body.page-login .login-secure-note i { color: var(--auth-brand); }
body.page-login .login-card { position: relative; overflow: hidden; }
body.page-login .login-card::before {
    content: '';
    position: absolute;
    left: 24px;
    right: 24px;
    top: 0;
    height: 3px;
    border-radius: 0 0 8px 8px;
    background: linear-gradient(90deg, transparent, #4cb8aa, transparent);
    opacity: .72;
}
.invite-gate {
    padding: 26px 22px !important;
    text-align: center;
}
.invite-gate__icon {
    width: 64px;
    height: 64px;
    display: grid;
    place-items: center;
    margin: 0 auto 12px;
    border-radius: 20px;
    color: #fff;
    font-size: 25px;
    background: linear-gradient(145deg, #2f9e91, #0d6b63);
    box-shadow: 0 14px 30px rgba(13,107,99,.24);
}
.invite-gate__eyebrow {
    color: var(--auth-brand);
    font-size: 10px;
    letter-spacing: .16em;
    font-weight: 800;
    margin-bottom: 8px;
}
.invite-gate__body { padding-top: 4px; }
.invite-gate .subtitle {
    font-size: 14px;
    color: var(--auth-ink-soft);
    line-height: 1.7;
    max-width: none;
}
.invite-gate__steps {
    display: grid;
    gap: 10px;
    margin: 20px 0 14px;
    text-align: left;
}
.invite-gate__steps > div {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    padding: 12px;
    border-radius: 14px;
    background: linear-gradient(135deg, #f7fafb, #eef5f5);
    border: 1px solid rgba(13,107,99,.08);
}
.invite-gate__steps > div > span {
    flex: 0 0 26px;
    width: 26px;
    height: 26px;
    display: grid;
    place-items: center;
    border-radius: 9px;
    color: #fff;
    background: var(--auth-brand);
    font-size: 12px;
    font-weight: 800;
}
.invite-gate__steps p { display: grid; gap: 3px; }
.invite-gate__steps strong { font-size: 13px; color: #15232e; }
.invite-gate__steps small { font-size: 11px; color: #7b8b99; line-height: 1.55; }
.invite-gate__note {
    display: flex;
    align-items: flex-start;
    gap: 7px;
    margin: 0 0 17px !important;
    padding: 10px 11px;
    border-radius: 11px;
    background: #fffaf0;
    color: #8a6520;
    font-size: 11px;
    line-height: 1.55;
    text-align: left;
}
.invite-gate__note i { margin-top: 2px; }
.invite-gate__login { display: flex; align-items: center; justify-content: center; text-decoration: none; }
.invite-gate .footer { font-size: 12px; margin-top: 14px; }

@media (min-width: 768px) {
    html.page-auth-html body.page-auth {
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 40px 20px !important;
    }

    body.page-auth .container {
        max-width: 420px;
        padding: 0;
    }

    body.page-auth .header {
        padding: 8px 24px 22px;
    }

    body.page-auth.page-login .form-wrap.login-card,
    body.page-auth:not(.page-login) .form-wrap {
        margin: 0;
        padding: 28px 26px 30px;
    }

    body.page-auth .back-link {
        position: fixed;
        top: 24px;
        left: 24px;
    }
}

@media (max-width: 390px) {
    body.page-auth .header {
        padding: 64px 0 20px;
    }

    body.page-auth .logo,
    body.page-auth.page-login .logo.logo-card {
        width: 64px;
        height: 64px;
        border-radius: 16px;
        margin-bottom: 16px;
    }

    body.page-auth .logo i {
        font-size: 24px;
    }

    body.page-auth .title {
        font-size: 1.4rem;
    }

    body.page-auth.page-login .form-wrap.login-card,
    body.page-auth:not(.page-login) .form-wrap {
        padding: 22px 18px 24px;
    }

    body.page-auth .form-input {
        height: 48px;
        font-size: 15px !important;
    }

    body.page-auth .captcha-img {
        height: 48px;
        width: 112px;
        flex: 0 0 112px;
    }

    body.page-auth .btn,
    body.page-auth.page-login .btn.login-btn {
        height: 48px;
        font-size: 15px;
    }
}

@media (max-width: 374px) {
    body.page-auth .container {
        padding: 0 14px 24px;
    }

    body.page-auth.page-login .form-wrap.login-card,
    body.page-auth:not(.page-login) .form-wrap {
        padding: 20px 16px 22px;
    }

    body.page-auth .captcha-wrap {
        gap: 10px;
    }

    body.page-auth .captcha-img {
        width: 102px;
        flex: 0 0 102px;
    }
}

@media (prefers-color-scheme: dark) {
    html.page-auth-html {
        color-scheme: light;
    }
}

body.page-auth input,
body.page-auth input[type="text"],
body.page-auth input[type="password"],
body.page-auth input[type="email"],
body.page-auth input[type="tel"] {
    color: var(--auth-ink) !important;
    -webkit-text-fill-color: var(--auth-ink) !important;
}

/* 登录与注册页统一尺寸：与工具页保持同一套中性、克制的控件尺度 */
html.page-auth-html body.page-auth .login-container,
html.page-auth-html body.page-auth .container {
    max-width: 480px;
}

html.page-auth-html body.page-auth .container {
    padding-left: 18px;
    padding-right: 18px;
}

html.page-auth-html body.page-auth .form-wrap,
html.page-auth-html body.page-auth.page-login .form-wrap.login-card,
html.page-auth-html body.page-auth:not(.page-login) .form-wrap {
    border-radius: 16px;
    padding: 24px;
    background: #ffffff;
    border: 1px solid #eef0f5;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

html.page-auth-html body.page-auth .form-group {
    margin-bottom: 14px;
}

html.page-auth-html body.page-auth .form-input,
html.page-auth-html body.page-auth .captcha-wrap .form-input {
    height: 48px;
    border-radius: 10px !important;
    background: #fafafa !important;
}

html.page-auth-html body.page-auth .form-input:focus {
    border-color: #52525b !important;
    box-shadow: 0 0 0 3px rgba(82, 82, 91, 0.10) !important;
}

html.page-auth-html body.page-auth .captcha-img {
    height: 48px;
    border-radius: 10px;
}

html.page-auth-html body.page-auth .btn,
html.page-auth-html body.page-auth.page-login .btn.login-btn,
html.page-auth-html body.page-auth .reg-cred-btn--primary {
    min-height: 48px;
    height: 48px;
    border-radius: 10px !important;
    background: #18181b !important;
    box-shadow: none !important;
    font-size: 15px;
    font-weight: 600;
}

html.page-auth-html body.page-auth .btn:hover,
html.page-auth-html body.page-auth.page-login .btn.login-btn:hover {
    background: #27272a !important;
    box-shadow: none !important;
    filter: none;
}

html.page-auth-html body.page-auth .back-link {
    border-radius: 10px;
    box-shadow: none;
    border-color: #eef0f5;
}

html.page-auth-html body.page-auth .login-trust span {
    box-shadow: none;
    border-color: #eef0f5;
    background: #ffffff;
}

@media (min-width: 768px) {
    html.page-auth-html body.page-auth {
        padding: 32px 20px !important;
    }

    html.page-auth-html body.page-auth .header {
        padding: 0 0 20px;
    }

    html.page-auth-html body.page-auth .form-wrap,
    html.page-auth-html body.page-auth.page-login .form-wrap.login-card,
    html.page-auth-html body.page-auth:not(.page-login) .form-wrap {
        padding: 28px;
    }
}

@media (max-width: 390px) {
    html.page-auth-html body.page-auth .container {
        padding-left: 14px;
        padding-right: 14px;
    }

    html.page-auth-html body.page-auth .form-wrap,
    html.page-auth-html body.page-auth.page-login .form-wrap.login-card,
    html.page-auth-html body.page-auth:not(.page-login) .form-wrap {
        padding: 20px 16px 22px;
    }
}
