/* ============================================================
   智星多源 · 登录 / 注册
   ============================================================ */
.auth-body {
    min-height: 100vh;
    background: #f6f8fc;
    overflow-x: hidden;
}
.auth-shell { display: flex; min-height: 100vh; }

.auth-visual {
    position: relative;
    flex: 1 1 56%;
    min-height: 100vh;
    background:
        radial-gradient(720px 520px at 24% 16%, rgba(47, 217, 200, .16), transparent 62%),
        radial-gradient(680px 520px at 82% 78%, rgba(124, 108, 255, .18), transparent 64%),
        linear-gradient(150deg, #071220 0%, #091627 45%, #070f1d 100%);
    color: #eaf4ff;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 40px 54px 26px;
}
.auth-visual.alt { background:
    radial-gradient(640px 480px at 72% 24%, rgba(124, 108, 255, .2), transparent 62%),
    radial-gradient(620px 460px at 20% 76%, rgba(47, 217, 200, .14), transparent 64%),
    linear-gradient(160deg, #081322 0%, #0a1526 48%, #070f1c 100%);
}
.starfield { position: absolute; inset: 0; opacity: .7; }
.starfield canvas { width: 100%; height: 100%; display: block; }
.visual-grid {
    position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(120, 200, 255, .05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(120, 200, 255, .05) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: radial-gradient(circle at 45% 45%, #000 20%, transparent 78%);
    opacity: .65;
}
.visual-orbit {
    position: absolute;
    width: 620px; height: 620px;
    right: -140px; top: 50%;
    transform: translateY(-50%);
    opacity: .9;
    animation: orbitFloat 16s ease-in-out infinite;
}
.visual-orbit.small { width: 560px; height: 560px; opacity: .8; }
@keyframes orbitFloat {
    0%, 100% { transform: translateY(-50%) translateY(0); }
    50% { transform: translateY(-50%) translateY(-16px); }
}

.visual-content { position: relative; z-index: 3; max-width: 620px; padding: 20px 0; }
.v-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 56px; }
.v-logo {
    width: 44px; height: 44px; border-radius: 13px;
    display: grid; place-items: center;
    background: linear-gradient(150deg, rgba(47, 217, 200, .16), rgba(124, 108, 255, .16));
    border: 1px solid rgba(120, 220, 255, .24);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2), 0 12px 30px -16px rgba(95, 214, 255, .8);
}
.v-logo svg { width: 32px; height: 32px; }
.v-brand strong { display: block; font-size: 18px; letter-spacing: .1em; }
.v-brand em { display: block; font-size: 9px; letter-spacing: .28em; color: #6f8fae; font-style: normal; margin-top: 5px; font-weight: 600; }

.auth-visual h1 {
    font-size: clamp(30px, 2.9vw, 42px);
    line-height: 1.34;
    letter-spacing: -.02em;
    font-weight: 700;
}
.auth-visual h1 span {
    background: linear-gradient(100deg, #8ff4e6 5%, #7bd8ff 45%, #a99bff 92%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.v-desc { margin-top: 18px; font-size: 13px; line-height: 1.9; color: #90a8c3; max-width: 520px; }

.v-caps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px; margin-top: 34px; max-width: 560px; }
.v-cap {
    display: flex; align-items: center; gap: 11px;
    padding: 12px 14px;
    border-radius: 12px;
    background: rgba(255, 255, 255, .035);
    border: 1px solid rgba(140, 200, 255, .12);
    backdrop-filter: blur(6px);
}
.cap-ico {
    width: 32px; height: 32px; border-radius: 9px;
    display: grid; place-items: center;
    background: rgba(95, 214, 255, .1);
    color: #6ee9dc;
    flex: none;
}
.cap-ico .icon { width: 16px; height: 16px; }
.v-cap strong { display: block; font-size: 12px; font-weight: 600; color: #dbeaf9; }
.v-cap em { display: block; font-style: normal; font-size: 10px; color: #6f88a5; margin-top: 3px; }

.v-stats { display: flex; gap: 36px; margin-top: 40px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .08); max-width: 560px; }
.v-stats strong { font-size: 24px; font-weight: 700; letter-spacing: -.02em; color: #eaf7ff; font-variant-numeric: tabular-nums; }
.v-stats strong span { font-size: 12px; color: #7fd8d1; margin-left: 2px; }
.v-stats em { display: block; font-style: normal; font-size: 10.5px; color: #6b86a4; margin-top: 4px; letter-spacing: .03em; }

.join-steps { margin-top: 34px; display: flex; flex-direction: column; gap: 14px; max-width: 500px; }
.join-steps .step { display: flex; gap: 14px; align-items: flex-start; padding: 14px 16px; border-radius: 12px; background: rgba(255,255,255,.035); border: 1px solid rgba(140,200,255,.11); }
.join-steps .step > span {
    font-family: var(--mono);
    font-size: 12px;
    color: #5fe7d7;
    width: 30px; height: 30px;
    border-radius: 8px;
    background: rgba(47, 217, 200, .1);
    display: grid; place-items: center;
    flex: none;
}
.join-steps strong { display: block; font-size: 12.5px; color: #dcecfa; }
.join-steps em { display: block; font-style: normal; font-size: 10.5px; color: #748eab; margin-top: 4px; line-height: 1.5; }
.v-policy { display: flex; gap: 11px; align-items: center; margin-top: 30px; padding: 14px 16px; border-radius: 12px; background: rgba(95, 214, 255, .06); border: 1px dashed rgba(95, 214, 255, .2); max-width: 500px; }
.v-policy .icon { color: #5fe7d7; width: 20px; height: 20px; }
.v-policy strong { display: block; font-size: 11.5px; color: #cfe6f8; }
.v-policy em { display: block; font-style: normal; font-size: 10px; color: #708ca8; margin-top: 3px; }

.visual-foot {
    position: relative; z-index: 3;
    display: flex; justify-content: space-between;
    font-size: 10px; color: #506a86; letter-spacing: .06em;
    padding-top: 24px;
}

.auth-panel {
    flex: 0 0 44%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 46px 40px 24px;
    background:
        radial-gradient(600px 300px at 100% 0%, rgba(95, 214, 255, .08), transparent 60%),
        #fbfcfe;
    position: relative;
}
.auth-panel::before {
    content: '';
    position: absolute; left: 0; top: 12%; bottom: 12%;
    width: 1px;
    background: linear-gradient(180deg, transparent, rgba(95, 214, 255, .35), transparent);
}
.auth-card {
    width: min(390px, 100%);
    background: rgba(255, 255, 255, .86);
    border: 1px solid rgba(224, 233, 245, .9);
    border-radius: 22px;
    padding: 34px 32px 28px;
    box-shadow: 0 30px 70px -40px rgba(15, 40, 70, .4), 0 1px 0 #fff inset;
    backdrop-filter: blur(10px);
    animation: fadeUp .6s var(--ease) both;
}
.auth-card.wide { width: min(480px, 100%); }
.auth-head { margin-bottom: 24px; }
.auth-eyebrow { display: flex; align-items: center; gap: 7px; font-size: 9px; font-weight: 700; letter-spacing: .2em; color: #6d8ba8; margin-bottom: 12px; }
.auth-eyebrow span { width: 16px; height: 1px; background: linear-gradient(90deg, #2fd9c8, transparent); }
.auth-head h2 { font-size: 25px; letter-spacing: -.02em; font-weight: 700; }
.auth-head p { font-size: 11.5px; color: #7d8ea4; margin-top: 7px; line-height: 1.6; }

.auth-alert {
    padding: 10px 12px;
    border-radius: 9px;
    background: #fff3f5;
    border: 1px solid #ffdde4;
    color: #c23c58;
    font-size: 11.5px;
    line-height: 1.55;
    margin-bottom: 14px;
}
.auth-alert.ok { background: #eefaf5; border-color: #c9f0e1; color: #157c5e; }

.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 15px; }
.f-label { font-size: 11px; font-weight: 600; color: #4c5f76; letter-spacing: .03em; }
.f-label i { color: #e05672; font-style: normal; }
.f-input {
    position: relative;
    display: flex;
    align-items: center;
    height: 44px;
    background: #fff;
    border: 1px solid #dfe7f1;
    border-radius: 11px;
    transition: border-color .2s, box-shadow .2s;
}
.f-input:focus-within { border-color: #6fd6e4; box-shadow: 0 0 0 3px rgba(95, 214, 255, .13); }
.f-input > .icon { position: absolute; left: 12px; width: 17px; height: 17px; color: #8ea2ba; }
.f-input input { width: 100%; height: 100%; border: 0; background: transparent; outline: none; padding: 0 40px; font-size: 13px; }
.f-input input::placeholder { color: #a9b7c9; font-size: 12px; }
.pwd-eye { position: absolute; right: 8px; width: 30px; height: 30px; border: 0; border-radius: 7px; background: transparent; color: #8ea2ba; display: grid; place-items: center; }
.pwd-eye:hover { background: #f1f6fc; color: #4e7699; }
.pwd-eye .icon { width: 16px; height: 16px; }

.auth-row { display: flex; align-items: center; justify-content: space-between; margin: 2px 0 18px; }
.check { display: flex; align-items: center; gap: 7px; font-size: 11px; color: #6c7e94; cursor: pointer; }
.check input { display: none; }
.check > span {
    width: 15px; height: 15px; border-radius: 4px;
    border: 1px solid #cfdae8; background: #fff;
    display: grid; place-items: center;
    transition: all .18s;
}
.check input:checked + span { background: linear-gradient(135deg, #2fd9c8, #4f9bff); border-color: transparent; }
.check input:checked + span::after { content: ''; width: 4px; height: 7px; border: solid #fff; border-width: 0 1.6px 1.6px 0; transform: rotate(42deg) translateY(-1px); }
.link-muted { font-size: 11px; color: #7d90a8; }
.link-muted:hover { color: #1d84a3; }

.auth-divider { display: flex; align-items: center; gap: 10px; margin: 18px 0 13px; color: #97a6ba; font-size: 10.5px; }
.auth-divider::before, .auth-divider::after { content: ''; flex: 1; height: 1px; background: #edf2f9; }
.auth-note {
    display: flex; align-items: center; justify-content: center; gap: 6px;
    margin-top: 18px; font-size: 10px; color: #98a8ba; text-align: center;
}
.auth-note .icon { width: 13px; height: 13px; color: #7fb6c3; }
.auth-copyright { margin-top: 22px; font-size: 9.5px; color: #a2b0c2; text-align: center; letter-spacing: .02em; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.form-grid .field.full { grid-column: 1 / -1; }
.policy-check { margin: 4px 0 18px; line-height: 1.5; }

@media (max-width: 1080px) {
    .auth-shell { flex-direction: column; }
    .auth-visual { flex: none; min-height: auto; padding: 32px 28px 30px; }
    .visual-content { padding: 0; }
    .visual-orbit { display: none; }
    .v-brand { margin-bottom: 30px; }
    .auth-visual h1 { font-size: 28px; }
    .v-caps, .v-stats, .join-steps, .v-policy { display: none; }
    .v-desc { font-size: 12px; margin-top: 12px; }
    .visual-foot { display: none; }
    .auth-panel { flex: 1; padding: 30px 20px 36px; }
    .auth-panel::before { display: none; }
}
@media (max-width: 600px) {
    .auth-visual { padding: 24px 20px; }
    .auth-visual h1 { font-size: 23px; }
    .auth-card { padding: 26px 20px 22px; border-radius: 18px; }
    .form-grid { grid-template-columns: 1fr; }
    .auth-card.wide { width: 100%; }
}
