/* =====================================================================
   采迹 · 登录页 / 安装向导 样式（天蓝色主题）
   ===================================================================== */

:root {
    --sky-50: #f0f9ff;
    --sky-100: #e0f2fe;
    --sky-200: #bae6fd;
    --sky-300: #7dd3fc;
    --sky-400: #38bdf8;
    --sky-500: #0ea5e9;
    --sky-600: #0284c7;
    --sky-700: #0369a1;
    --sky-800: #075985;
    --sky-900: #0c4a6e;
    --ink: #0f2a3d;
    --ink-2: #41596b;
    --ink-3: #7d94a5;
    --line: #dcecf8;
    --white: #ffffff;
    --ok: #0f9d68;
    --warn: #c47a06;
    --danger: #d3382f;
    --radius: 18px;
    --shadow-card: 0 26px 70px rgba(4, 47, 76, .20), 0 2px 8px rgba(4, 47, 76, .06);
    --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC", sans-serif;
}

* { box-sizing: border-box; }

html, body { height: 100%; }

body.login-body {
    margin: 0;
    font-family: var(--font);
    color: var(--ink);
    background: #062f4a;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* ---------------------------------------------------------------------
   动态背景
   --------------------------------------------------------------------- */
.bg-stack {
    position: fixed;
    inset: -2%;
    z-index: 0;
    overflow: hidden;
    transition: transform .8s cubic-bezier(.16, .84, .44, 1);
    will-change: transform;
}

.bg-layer {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transform: scale(1.04);
    animation: kenburns 30s ease-in-out infinite;
    will-change: opacity, transform;
}

.bg-layer.l1 { animation-delay: 0s; }
.bg-layer.l2 { animation-delay: -10s; }
.bg-layer.l3 { animation-delay: -20s; }

.bg-layer.single {
    animation: kenburns-single 34s ease-in-out infinite;
    opacity: 1;
}

@keyframes kenburns {
    0%   { opacity: 0; transform: scale(1.04) translate3d(0, 0, 0); }
    7%   { opacity: 1; }
    30%  { opacity: 1; }
    38%  { opacity: 0; transform: scale(1.14) translate3d(-1.2%, -1%, 0); }
    100% { opacity: 0; transform: scale(1.04) translate3d(0, 0, 0); }
}

@keyframes kenburns-single {
    0%   { transform: scale(1.04) translate3d(0, 0, 0); }
    50%  { transform: scale(1.13) translate3d(-1.5%, -1.2%, 0); }
    100% { transform: scale(1.04) translate3d(0, 0, 0); }
}

.bg-veil {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(115deg, rgba(3, 44, 70, .88) 0%, rgba(4, 66, 100, .62) 42%, rgba(6, 60, 90, .22) 68%, rgba(240, 249, 255, .06) 100%);
}

.aurora {
    position: absolute;
    inset: 0;
    overflow: hidden;
    mix-blend-mode: screen;
    opacity: .55;
}

.aurora span {
    position: absolute;
    display: block;
    border-radius: 50%;
    filter: blur(60px);
}

.aurora span:nth-child(1) {
    width: 460px; height: 460px;
    left: -80px; top: -60px;
    background: radial-gradient(circle, rgba(56, 189, 248, .75), transparent 70%);
    animation: float1 18s ease-in-out infinite;
}

.aurora span:nth-child(2) {
    width: 520px; height: 520px;
    right: -120px; top: 30%;
    background: radial-gradient(circle, rgba(125, 211, 252, .6), transparent 70%);
    animation: float2 22s ease-in-out infinite;
}

.aurora span:nth-child(3) {
    width: 380px; height: 380px;
    left: 30%; bottom: -120px;
    background: radial-gradient(circle, rgba(14, 165, 233, .55), transparent 70%);
    animation: float3 26s ease-in-out infinite;
}

@keyframes float1 {
    0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
    50% { transform: translate3d(60px, 40px, 0) scale(1.12); }
}

@keyframes float2 {
    0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
    50% { transform: translate3d(-70px, -50px, 0) scale(1.08); }
}

@keyframes float3 {
    0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
    50% { transform: translate3d(40px, -60px, 0) scale(1.15); }
}

.grid-fx {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .06) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: radial-gradient(circle at 30% 40%, #000 10%, transparent 72%);
    -webkit-mask-image: radial-gradient(circle at 30% 40%, #000 10%, transparent 72%);
    opacity: .5;
}

.noise {
    position: absolute;
    inset: 0;
    opacity: .16;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
}

/* ---------------------------------------------------------------------
   布局
   --------------------------------------------------------------------- */
.login-shell {
    position: relative;
    z-index: 2;
    min-height: 100vh;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(420px, 500px);
    gap: clamp(24px, 5vw, 72px);
    align-items: center;
    padding: clamp(24px, 4vw, 56px) clamp(20px, 5vw, 80px);
}

/* ---------------------------------------------------------------------
   左侧品牌区
   --------------------------------------------------------------------- */
.brand-pane {
    color: #fff;
    max-width: 640px;
    animation: riseIn .9s cubic-bezier(.16, .84, .44, 1) both;
}

.brand-line {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: clamp(26px, 4vh, 46px);
}

.brand-mark {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: linear-gradient(140deg, rgba(255, 255, 255, .32), rgba(255, 255, 255, .1));
    border: 1px solid rgba(255, 255, 255, .45);
    box-shadow: 0 10px 26px rgba(2, 40, 65, .28), inset 0 1px 0 rgba(255, 255, 255, .5);
    backdrop-filter: blur(8px);
}

.brand-mark svg { width: 30px; height: 30px; }

.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-text b { font-size: 20px; letter-spacing: 2px; font-weight: 700; }
.brand-text em {
    font-style: normal;
    font-size: 10.5px;
    letter-spacing: 1.6px;
    color: rgba(255, 255, 255, .72);
    margin-top: 4px;
}

.brand-title {
    font-size: clamp(30px, 3.4vw, 46px);
    line-height: 1.28;
    font-weight: 700;
    margin: 0 0 18px;
    letter-spacing: .5px;
    text-shadow: 0 4px 26px rgba(2, 34, 55, .3);
}

.brand-title span {
    background: linear-gradient(100deg, #eaf9ff 10%, #a7e5ff 50%, #7dd3fc 90%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.brand-desc {
    font-size: 14.5px;
    line-height: 2;
    color: rgba(255, 255, 255, .8);
    max-width: 520px;
    margin: 0 0 26px;
}

.flow {
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: 16px;
    padding: 14px 18px 16px;
    backdrop-filter: blur(14px);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22);
    max-width: 520px;
}

.flow-head {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 10.5px;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, .66);
    margin-bottom: 12px;
}

.dot-live {
    width: 7px; height: 7px;
    border-radius: 50%;
    background: #4ade80;
    box-shadow: 0 0 0 0 rgba(74, 222, 128, .7);
    animation: pulse 2s infinite;
    margin-left: auto;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(74, 222, 128, .6); }
    70% { box-shadow: 0 0 0 9px rgba(74, 222, 128, 0); }
    100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0); }
}

.flow-chain {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 0;
    margin: 0;
    padding: 0;
}

.flow-chain li {
    flex: 1;
    text-align: center;
    position: relative;
    font-size: 13px;
    color: #fff;
}

.flow-chain li b { display: block; font-weight: 600; }
.flow-chain li em {
    font-style: normal;
    display: block;
    font-size: 9.5px;
    letter-spacing: .6px;
    color: rgba(255, 255, 255, .5);
    margin-top: 3px;
}

.flow-chain li::before {
    content: "";
    position: absolute;
    width: 6px; height: 6px;
    border-radius: 50%;
    background: rgba(125, 211, 252, .95);
    left: 50%;
    top: -9px;
    transform: translateX(-50%);
    box-shadow: 0 0 10px rgba(125, 211, 252, .9);
}

.flow-chain li::after {
    content: "";
    position: absolute;
    height: 1px;
    left: calc(-50% + 8px);
    right: calc(50% + 8px);
    top: -6.5px;
    background: linear-gradient(90deg, rgba(125, 211, 252, .1), rgba(125, 211, 252, .55), rgba(125, 211, 252, .1));
}

.flow-chain li:first-child::after { display: none; }

.stat-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin: 22px 0 18px;
    max-width: 520px;
}

.stat {
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 13px;
    padding: 12px 12px 10px;
    backdrop-filter: blur(10px);
}

.stat b {
    display: block;
    font-size: 21px;
    font-weight: 700;
    letter-spacing: .4px;
    line-height: 1.2;
}

.stat span {
    font-size: 11px;
    color: rgba(255, 255, 255, .62);
    letter-spacing: .5px;
}

.feat-list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 8px 22px;
    padding: 0;
    margin: 0 0 26px;
    font-size: 12.5px;
    color: rgba(255, 255, 255, .74);
}

.feat-list li { display: flex; align-items: center; gap: 8px; }
.ico-dot {
    width: 5px; height: 5px;
    border-radius: 50%;
    background: var(--sky-300);
    box-shadow: 0 0 8px rgba(125, 211, 252, .9);
}

.brand-foot {
    font-size: 11.5px;
    color: rgba(255, 255, 255, .5);
    letter-spacing: .3px;
}

.https-tag {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-left: 6px;
    padding: 2px 8px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, .24);
    color: rgba(255, 255, 255, .72);
}

/* ---------------------------------------------------------------------
   右侧登录卡
   --------------------------------------------------------------------- */
.auth-pane {
    display: flex;
    justify-content: flex-end;
    animation: riseIn 1s cubic-bezier(.16, .84, .44, 1) .08s both;
}

@keyframes riseIn {
    from { opacity: 0; transform: translateY(26px); }
    to { opacity: 1; transform: translateY(0); }
}

.auth-card {
    width: 100%;
    max-width: 452px;
    background: rgba(255, 255, 255, .93);
    border: 1px solid rgba(255, 255, 255, .8);
    border-radius: 24px;
    padding: 34px 34px 26px;
    box-shadow: var(--shadow-card);
    backdrop-filter: blur(22px) saturate(150%);
    position: relative;
    overflow: hidden;
}

.auth-card::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, #38bdf8, #0284c7, #38bdf8);
    background-size: 200% 100%;
    animation: shift 6s linear infinite;
}

@keyframes shift {
    0% { background-position: 0 0; }
    100% { background-position: 200% 0; }
}

.auth-card.shake { animation: shake .42s cubic-bezier(.36, .07, .19, .97); }

@keyframes shake {
    10%, 90% { transform: translateX(-2px); }
    20%, 80% { transform: translateX(4px); }
    30%, 50%, 70% { transform: translateX(-6px); }
    40%, 60% { transform: translateX(6px); }
}

.auth-head { margin-bottom: 22px; }

.auth-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 11.5px;
    color: var(--sky-700);
    background: var(--sky-50);
    border: 1px solid #d5ecfb;
    padding: 4px 10px;
    border-radius: 20px;
    margin-bottom: 14px;
}

.auth-badge i {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 0 3px rgba(34, 197, 94, .16);
}

.auth-head h2 {
    font-size: 25px;
    margin: 0 0 6px;
    color: var(--ink);
    letter-spacing: .5px;
}

.auth-head p {
    margin: 0;
    font-size: 11.5px;
    color: var(--ink-3);
    letter-spacing: .8px;
}

/* 表单 */
.field-login { margin-bottom: 15px; }

.field-login > label {
    display: block;
    font-size: 12.5px;
    color: var(--ink-2);
    margin-bottom: 7px;
    font-weight: 500;
    letter-spacing: .2px;
}

.input-wrap {
    position: relative;
    display: flex;
    align-items: center;
    background: #f6fbfe;
    border: 1.5px solid #dbeaf6;
    border-radius: 13px;
    transition: border-color .18s, box-shadow .18s, background .18s;
}

.input-wrap:focus-within {
    border-color: var(--sky-400);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(56, 189, 248, .14);
}

.input-ico {
    width: 18px; height: 18px;
    margin: 0 10px 0 13px;
    color: #9db9cc;
    flex: 0 0 auto;
    transition: color .18s;
}

.input-wrap:focus-within .input-ico { color: var(--sky-500); }

.input-wrap input {
    flex: 1;
    border: 0;
    background: transparent;
    padding: 13px 14px 13px 0;
    font-size: 14px;
    color: var(--ink);
    font-family: var(--font);
    outline: none;
    min-width: 0;
}

.input-wrap input::placeholder { color: #a8bfd0; font-size: 13px; }

.eye {
    border: 0;
    background: transparent;
    padding: 0 13px;
    cursor: pointer;
    color: #9db9cc;
    display: grid;
    place-items: center;
    height: 100%;
}

.eye:hover { color: var(--sky-600); }
.eye svg { width: 18px; height: 18px; }
.eye.on { color: var(--sky-600); }

.captcha-row { display: flex; gap: 10px; align-items: stretch; }
.captcha-row .input-wrap { flex: 1; }

.captcha-box {
    position: relative;
    border: 1.5px solid #dbeaf6;
    border-radius: 13px;
    padding: 0;
    background: #eef8fe;
    cursor: pointer;
    overflow: hidden;
    flex: 0 0 auto;
    line-height: 0;
    transition: border-color .18s, transform .18s;
}

.captcha-box:hover { border-color: var(--sky-400); transform: translateY(-1px); }
.captcha-box img { display: block; border-radius: 11px; }

.captcha-refresh {
    position: absolute;
    right: 4px; bottom: 4px;
    width: 18px; height: 18px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .88);
    color: var(--sky-600);
    display: grid;
    place-items: center;
    opacity: 0;
    transition: opacity .18s;
}

.captcha-box:hover .captcha-refresh { opacity: 1; }
.captcha-refresh svg { width: 11px; height: 11px; }

.login-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 6px 0 20px;
    font-size: 12.5px;
}

.chk {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--ink-2);
    cursor: pointer;
    user-select: none;
}

.chk input { position: absolute; opacity: 0; pointer-events: none; }

.chk span {
    width: 16px; height: 16px;
    border-radius: 5px;
    border: 1.5px solid #c6dced;
    background: #fff;
    position: relative;
    transition: all .16s;
}

.chk input:checked + span {
    background: linear-gradient(135deg, var(--sky-400), var(--sky-600));
    border-color: var(--sky-500);
}

.chk input:checked + span::after {
    content: "";
    position: absolute;
    left: 4.5px; top: 1.5px;
    width: 4px; height: 8px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(42deg);
}

.link-forgot {
    color: var(--sky-600);
    text-decoration: none;
    font-size: 12.5px;
}

.link-forgot:hover { text-decoration: underline; }

/* 按钮 */
.btn-primary {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    width: 100%;
    border: 0;
    border-radius: 13px;
    padding: 14px 20px;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 1px;
    color: #fff;
    background: linear-gradient(135deg, #38bdf8 0%, #0ea5e9 45%, #0284c7 100%);
    box-shadow: 0 12px 26px rgba(2, 132, 199, .30), inset 0 1px 0 rgba(255, 255, 255, .35);
    cursor: pointer;
    overflow: hidden;
    transition: transform .16s, box-shadow .16s, filter .16s;
    font-family: var(--font);
}

.btn-primary::after {
    content: "";
    position: absolute;
    top: 0; left: -60%;
    width: 40%; height: 100%;
    background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .38), transparent);
    transform: skewX(-18deg);
    animation: sweep 3.6s ease-in-out infinite;
}

@keyframes sweep {
    0% { left: -60%; }
    45% { left: 130%; }
    100% { left: 130%; }
}

.btn-primary:hover {
    transform: translateY(-1.5px);
    box-shadow: 0 16px 34px rgba(2, 132, 199, .38), inset 0 1px 0 rgba(255, 255, 255, .4);
}

.btn-primary:active { transform: translateY(0) scale(.995); }
.btn-primary.loading { pointer-events: none; filter: saturate(.85); }

.btn-login svg { width: 18px; height: 18px; transition: transform .2s; }
.btn-login:hover svg { transform: translateX(3px); }

.btn-login.loading span::after {
    content: "";
    display: inline-block;
    width: 12px; height: 12px;
    margin-left: 8px;
    border: 2px solid rgba(255, 255, 255, .45);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin .7s linear infinite;
    vertical-align: -1px;
}

@keyframes spin { to { transform: rotate(360deg); } }

/* 提示条 */
.alert {
    display: flex;
    align-items: center;
    gap: 9px;
    border-radius: 11px;
    padding: 11px 13px;
    font-size: 13px;
    margin-bottom: 16px;
    line-height: 1.5;
    animation: riseIn .3s ease both;
}

.alert-ico {
    width: 17px; height: 17px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 11px;
    font-weight: 700;
    color: #fff;
    flex: 0 0 auto;
}

.alert-error { background: #fef2f1; color: #a52a22; border: 1px solid #f8d7d4; }
.alert-error .alert-ico { background: #e0554b; }
.alert-success { background: #eefaf3; color: #0b7a4f; border: 1px solid #cceedd; }
.alert-success .alert-ico { background: #17a673; }
.alert-info, .alert-warn { background: #f0f9ff; color: #075985; border: 1px solid #d4ebfb; }
.alert-info .alert-ico, .alert-warn .alert-ico { background: var(--sky-500); }

/* 底部 */
.auth-tip {
    margin-top: 14px;
    font-size: 12.5px;
    line-height: 1.8;
    color: #6b8698;
    background: #f5fbff;
    border: 1px dashed #cfe6f7;
    border-radius: 11px;
    padding: 11px 13px;
}

/* 密码框下方辅助链接（忘记密码 / 联系管理员） */
.pwd-links {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 9px;
    margin-top: 7px;
    font-size: 12.5px;
}
.pwd-links a {
    color: var(--sky-600);
    text-decoration: none;
}
.pwd-links a:hover { text-decoration: underline; }
.pwd-links-sep { color: #b8ccd9; }
.login-row-note { color: #9bb2c2; font-size: 12px; }
.link-reg {
    color: var(--sky-600);
    text-decoration: none;
    font-weight: 600;
}
.link-reg:hover { text-decoration: underline; }

/* 注册 / 找回密码页 */
.auth-form-wide .field-login { margin-bottom: 13px; }
.auth-form-wide .btn-login { margin-top: 6px; }
.auth-sublinks {
    margin-top: 16px;
    text-align: center;
    font-size: 12.5px;
    color: #6b8698;
}
.auth-sublinks a { color: var(--sky-600); text-decoration: none; }
.auth-sublinks a:hover { text-decoration: underline; }
.auth-sublinks .sep { margin: 0 8px; color: #b8ccd9; }
.auth-note {
    font-size: 12px;
    line-height: 1.8;
    color: #6b8698;
    background: #f5fbff;
    border: 1px dashed #cfe6f7;
    border-radius: 11px;
    padding: 10px 13px;
    margin: 0 0 16px;
}
.auth-token {
    display: block;
    width: 100%;
    box-sizing: border-box;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 12px;
    line-height: 1.7;
    word-break: break-all;
    background: #f2f9ff;
    border: 1px solid #cfe6f7;
    border-radius: 10px;
    padding: 11px 12px;
    color: #075985;
    margin: 8px 0 0;
}
.auth-steps {
    display: flex;
    gap: 8px;
    margin: 0 0 18px;
}
.auth-steps span {
    flex: 1;
    text-align: center;
    font-size: 11.5px;
    padding: 7px 4px;
    border-radius: 8px;
    background: #f1f8fd;
    color: #8aa6b9;
}
.auth-steps span.on { background: #e0f2fe; color: #0369a1; font-weight: 600; }
.auth-success-ico {
    width: 54px; height: 54px;
    margin: 4px auto 14px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    background: #e7f7ee; color: #0f7a4d;
}
.auth-success-ico svg { width: 28px; height: 28px; }

.auth-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #e8f2fa;
    font-size: 11px;
    color: #9aafbf;
}

.auth-meta span { display: inline-flex; align-items: center; gap: 6px; }
.lock-dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: #22c55e;
}

/* ---------------------------------------------------------------------
   安装向导公用
   --------------------------------------------------------------------- */
.install-h { margin: 0 0 8px; font-size: 20px; color: var(--ink); }
.install-sub { margin: 0 0 20px; font-size: 13px; color: var(--ink-2); line-height: 1.9; }
.install-sub code, .mono-box code { background: #eef7fd; padding: 1px 5px; border-radius: 4px; font-size: 12px; color: var(--sky-700); }
.link-muted { color: #7d94a5; text-decoration: none; font-size: 13px; }
.link-muted:hover { color: var(--sky-600); }

.field { margin-bottom: 2px; }
.field label {
    display: block;
    font-size: 12.5px;
    color: var(--ink-2);
    margin-bottom: 7px;
    font-weight: 500;
}
.field input[type="text"],
.field input[type="password"],
.field input[type="number"],
.field input[type="date"],
.field select,
.field textarea {
    width: 100%;
    border: 1.5px solid #dbeaf6;
    background: #f8fcff;
    border-radius: 11px;
    padding: 11px 13px;
    font-size: 14px;
    color: var(--ink);
    font-family: var(--font);
    outline: none;
    transition: border-color .18s, box-shadow .18s, background .18s;
}

.field input:focus, .field select:focus, .field textarea:focus {
    border-color: var(--sky-400);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(56, 189, 248, .13);
}

.req { color: #e0554b; font-style: normal; }
.hint { font-size: 11.5px; color: #90a8b8; margin-top: 5px; }

/* ---------- 版本号显示 ---------- */
.login-brand-ver{
    margin-left:auto;
    align-self:flex-start;
    font-size:11px;
    letter-spacing:.4px;
    color:#e0f6ff;
    background:rgba(125,211,252,.18);
    border:1px solid rgba(255,255,255,.34);
    padding:3px 10px;
    border-radius:20px;
    backdrop-filter:blur(8px);
    white-space:nowrap;
}

.ver-lock-dot{
    width:6px; height:6px;
    border-radius:50%;
    background:var(--sky-300);
    box-shadow:0 0 8px rgba(125,211,252,.9);
    display:inline-block;
}

.auth-meta em{font-style:normal;color:#b1c5d2;letter-spacing:.2px}

/* ---------------------------------------------------------------------
   响应式
   --------------------------------------------------------------------- */
@media (max-width: 1080px) {
    .login-shell { grid-template-columns: 1fr; gap: 30px; justify-items: center; padding-top: 40px; }
    .brand-pane { max-width: 560px; width: 100%; }
    .brand-title { font-size: 32px; }
    .auth-pane { justify-content: center; width: 100%; }
    .auth-card { max-width: 460px; }
    .stat-strip { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 720px) {
    .login-shell { padding: 26px 16px 40px; gap: 22px; }
    .brand-title { font-size: 26px; }
    .brand-desc, .feat-list, .brand-foot { display: none; }
    .stat-strip { grid-template-columns: repeat(2, 1fr); }
    .flow { padding: 12px 14px; }
    .flow-chain li { font-size: 11.5px; }
    .flow-chain li em { display: none; }
    .auth-card { padding: 26px 20px 20px; border-radius: 20px; }
    .auth-head h2 { font-size: 22px; }
    .captcha-box img { width: 116px; height: 42px; }
}

@media (prefers-reduced-motion: reduce) {
    .bg-layer, .aurora span, .btn-primary::after, .dot-live, .auth-card::before { animation: none !important; }
    .bg-layer.l1 { opacity: 1; }
}
