/* =============================================================================
 * 索酷 · 智慧居家养老服务云平台 —— 登录页样式（炫酷深色版）
 * 文件位置：/NewStyle/css/login.css
 * 说明    ：参考《索酷前端原型_智能康养_炫酷版.html》的视觉风格重写，
 *           全部为独立新增样式，不覆盖、不依赖原有 css 目录中的业务样式。
 * 依赖    ：仅依赖 css/verify.css（滑动验证码基础结构与 iconfont 字体图标）
 * ============================================================================= */

/* ---------- 1. 设计变量 ---------- */
:root {
    --bg: #05080f;
    --bg2: #0a1226;
    --panel: rgba(18, 28, 52, .72);
    --panel2: rgba(13, 21, 40, .85);
    --line: rgba(80, 140, 220, .18);
    --cyan: #19e6ff;
    --blue: #3b82f6;
    --purple: #9b6bff;
    --green: #37d67a;
    --txt: #dbe7ff;
    --txt2: #8aa0c8;
    --txt3: #5f739a;
    --err: #ff4d6d;
    --warn: #ffae3b;
    --glow: 0 0 24px rgba(25, 230, 255, .25);
    --glow-lg: 0 0 42px rgba(25, 230, 255, .45);
}

/* ---------- 2. 基础重置 ---------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    width: 100%;
    height: 100%;
}

body {
    font-family: "Microsoft YaHei", "PingFang SC", system-ui, -apple-system, sans-serif;
    background: radial-gradient(1200px 700px at 80% -10%, rgba(60, 120, 255, .18), transparent 60%),
                radial-gradient(900px 600px at -10% 110%, rgba(155, 107, 255, .15), transparent 55%),
                var(--bg);
    color: var(--txt);
    overflow: hidden;
}

input:focus,
button:focus {
    outline: none;
}

input::placeholder {
    color: var(--txt3);
}

ul, ol {
    list-style: none;
}

/* ---------- 3. 背景动效层 ---------- */
#grid {
    position: fixed;
    inset: 0;
    z-index: 0;
    opacity: .28;
    background-image: linear-gradient(rgba(60, 120, 255, .10) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(60, 120, 255, .10) 1px, transparent 1px);
    background-size: 46px 46px;
    -webkit-mask-image: radial-gradient(circle at 50% 40%, #000 30%, transparent 85%);
    mask-image: radial-gradient(circle at 50% 40%, #000 30%, transparent 85%);
    animation: drift 24s linear infinite;
}

#aurora {
    position: fixed;
    inset: -20%;
    z-index: 0;
    pointer-events: none;
    filter: blur(40px);
    opacity: .75;
    background: radial-gradient(38% 38% at 18% 22%, rgba(25, 230, 255, .22), transparent 60%),
                radial-gradient(42% 42% at 82% 28%, rgba(155, 107, 255, .22), transparent 60%),
                radial-gradient(46% 46% at 50% 82%, rgba(55, 214, 122, .16), transparent 60%),
                radial-gradient(40% 40% at 70% 75%, rgba(255, 122, 182, .14), transparent 60%);
    animation: aurora 22s ease-in-out infinite alternate;
}

#particles {
    position: fixed;
    inset: 0;
    z-index: 0;
}

/* ---------- 4. 登录场景 ---------- */
.login {
    position: fixed;
    inset: 0;
    z-index: 60;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 24px;
    background: radial-gradient(900px 620px at 50% 18%, rgba(25, 230, 255, .10), transparent 60%),
                radial-gradient(700px 500px at 80% 90%, rgba(155, 107, 255, .10), transparent 60%),
                linear-gradient(180deg, rgba(5, 8, 15, .72), rgba(5, 8, 15, .90));
    backdrop-filter: blur(6px);
}

/* 透视地面网格 */
.login-floor {
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: .42;
    background: linear-gradient(180deg, transparent 45%, rgba(25, 230, 255, .10) 45%, rgba(25, 230, 255, .10) 46%, transparent 46%),
                linear-gradient(90deg, transparent 49%, rgba(155, 107, 255, .07) 49%, rgba(155, 107, 255, .07) 50%, transparent 50%);
    background-size: 100% 64px, 120px 100%;
    transform: perspective(520px) rotateX(62deg) scale(2.4) translateY(22%);
    animation: floorMove 10s linear infinite;
    -webkit-mask-image: linear-gradient(180deg, transparent 25%, #000 55%, #000 100%);
    mask-image: linear-gradient(180deg, transparent 25%, #000 55%, #000 100%);
}

/* 扫描线 */
.login-scan {
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: .10;
    background: repeating-linear-gradient(180deg, transparent, transparent 2px, rgba(25, 230, 255, .12) 2px, rgba(25, 230, 255, .12) 3px);
    animation: scanMove 10s linear infinite;
}

/* 极光球 */
.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(46px);
    opacity: .5;
    pointer-events: none;
    animation: aurora 18s ease-in-out infinite alternate;
}

.orb1 { width: 420px; height: 420px; left: -6%;  top: -8%;   background: radial-gradient(circle, rgba(25, 230, 255, .5), transparent 70%); }
.orb2 { width: 460px; height: 460px; right: -8%; bottom: -10%; background: radial-gradient(circle, rgba(155, 107, 255, .5), transparent 70%); }
.orb3 { width: 340px; height: 340px; left: 18%;  bottom: -6%; background: radial-gradient(circle, rgba(55, 214, 122, .45), transparent 70%); animation-delay: -5s; }
.orb4 { width: 300px; height: 300px; right: 22%; top: -5%;   background: radial-gradient(circle, rgba(255, 122, 182, .45), transparent 70%); animation-delay: -10s; }

/* 网络连线画布 */
.login-fx {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

/* 雷达扫描 */
.login-radar {
    position: absolute;
    left: 6%;
    bottom: 9%;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    z-index: 1;
    opacity: .8;
    pointer-events: none;
    background: radial-gradient(circle, transparent 56%, rgba(25, 230, 255, .16) 58%, transparent 62%),
                conic-gradient(from 0deg, rgba(25, 230, 255, .5), transparent 22%, transparent 100%);
    border: 1px solid rgba(25, 230, 255, .28);
    box-shadow: 0 0 30px rgba(25, 230, 255, .22), inset 0 0 26px rgba(25, 230, 255, .12);
    animation: radar 4.2s linear infinite;
}

/* 漂浮关键词 */
.ai-chip {
    position: absolute;
    z-index: 1;
    font-size: 12px;
    letter-spacing: 1px;
    color: #bfe3ff;
    padding: 4px 12px;
    border-radius: 20px;
    background: rgba(25, 230, 255, .07);
    border: 1px solid rgba(25, 230, 255, .3);
    box-shadow: 0 0 14px rgba(25, 230, 255, .18);
    backdrop-filter: blur(2px);
    animation: chipFloat 5s ease-in-out infinite alternate;
    pointer-events: none;
}

/* ---------- 4b. 左上角「返回门户首页」 ---------- */
.portal-back {
    position: fixed;
    top: 22px;
    left: 26px;
    z-index: 80; /* 高于 .login(60)、低于浏览器提示弹窗 .alt-mask(200) */
    display: inline-flex;
    align-items: center;
    gap: 7px;
    height: 36px;
    padding: 0 15px;
    font-size: 13px;
    letter-spacing: .5px;
    color: var(--txt2);
    text-decoration: none;
    border-radius: 10px;
    border: 1px solid rgba(80, 140, 220, .34);
    background: rgba(7, 11, 22, .55);
    backdrop-filter: blur(4px);
    transition: color .22s, border-color .22s, background .22s, box-shadow .22s, transform .22s;
}

.portal-back svg {
    width: 16px;
    height: 16px;
    display: block;
}

.portal-back:hover {
    color: #fff;
    border-color: var(--cyan);
    background: rgba(25, 230, 255, .10);
    box-shadow: var(--glow);
    transform: translateY(-1px);
}

/* ---------- 5. 玻璃卡片 ---------- */
.login-card {
    position: relative;
    z-index: 2;
    width: 430px;
    max-width: 92vw;
    max-height: calc(100vh - 48px);
    overflow-y: auto;
    padding: 46px 40px 30px;
    border-radius: 22px;
    text-align: center;
    background: linear-gradient(160deg, rgba(20, 32, 58, .94), rgba(9, 15, 32, .92));
    border: 1px solid rgba(80, 140, 220, .42);
    box-shadow: 0 30px 80px rgba(0, 0, 0, .6), 0 0 70px rgba(25, 230, 255, .18), inset 0 0 50px rgba(25, 230, 255, .05);
    animation: rise .6s cubic-bezier(.2, .7, .3, 1) both;
}

.login-card::-webkit-scrollbar {
    width: 6px;
}

.login-card::-webkit-scrollbar-thumb {
    background: rgba(80, 140, 220, .35);
    border-radius: 6px;
}

.login-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 22px;
    padding: 1px;
    pointer-events: none;
    background: linear-gradient(130deg, rgba(25, 230, 255, .9), rgba(155, 107, 255, .4), transparent 70%);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: .7;
}

/* 顶部扫码切换按钮 */
.card-switch {
    position: absolute;
    top: 14px;
    right: 16px;
    z-index: 5;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 30px;
    padding: 0 11px;
    font-size: 12px;
    color: var(--txt2);
    border: 1px solid var(--line);
    border-radius: 16px;
    background: rgba(7, 11, 22, .55);
    cursor: pointer;
    transition: .22s;
}

.card-switch:hover {
    color: #fff;
    border-color: var(--cyan);
    box-shadow: var(--glow);
}

.card-switch svg {
    width: 14px;
    height: 14px;
}

/* 品牌标识 */
.logo-wrap {
    position: relative;
    width: 86px;
    height: 86px;
    margin: 4px auto 20px;
    display: grid;
    place-items: center;
}

.login-ring {
    position: absolute;
    inset: -13px;
    border-radius: 50%;
    pointer-events: none;
    opacity: .85;
    animation: spin 4.5s linear infinite;
    background: conic-gradient(from 0deg, transparent, rgba(25, 230, 255, .85), transparent 38%, transparent 60%, rgba(155, 107, 255, .85), transparent);
    -webkit-mask: radial-gradient(circle, transparent 55px, #000 56px);
    mask: radial-gradient(circle, transparent 55px, #000 56px);
}

.login-logo {
    position: relative;
    width: 86px;
    height: 86px;
    border-radius: 50%;
    overflow: hidden;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #1f2a44, #0c1326);
    border: 1px solid rgba(25, 230, 255, .45);
    box-shadow: 0 0 26px rgba(25, 230, 255, .45), 0 0 18px rgba(155, 107, 255, .22);
    animation: pulse 2.6s ease-in-out infinite;
}

.login-logo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

/* 标题 / 副标题 */
.login-title {
    font-size: 25px;
    font-weight: 800;
    letter-spacing: 2px;
    line-height: 1.35;
    margin-bottom: 10px;
    background: linear-gradient(90deg, #fff, var(--cyan), var(--purple), var(--cyan));
    background-size: 300% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: flow 6s linear infinite;
}

.login-sub {
    color: var(--txt2);
    font-size: 12.5px;
    letter-spacing: 1px;
    margin-bottom: 14px;
}

/* 平台能力标签 */
.chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    justify-content: center;
    margin-bottom: 16px;
}

.chip-row span {
    font-size: 11px;
    letter-spacing: .5px;
    color: #a9c8f2;
    padding: 3px 10px;
    border-radius: 20px;
    background: rgba(60, 120, 255, .12);
    border: 1px solid rgba(80, 140, 220, .28);
}

/* 声波 + AI 状态 */
.ai-wave {
    display: flex;
    gap: 3px;
    justify-content: center;
    align-items: flex-end;
    height: 22px;
    margin: 0 0 8px;
}

.ai-wave i {
    width: 3px;
    height: 6px;
    border-radius: 3px;
    background: linear-gradient(var(--cyan), var(--purple));
    box-shadow: 0 0 6px rgba(25, 230, 255, .6);
    animation: eq 1s ease-in-out infinite;
}

.ai-wave i:nth-child(1) { animation-delay: 0s; }
.ai-wave i:nth-child(2) { animation-delay: .12s; }
.ai-wave i:nth-child(3) { animation-delay: .24s; }
.ai-wave i:nth-child(4) { animation-delay: .36s; }
.ai-wave i:nth-child(5) { animation-delay: .48s; }
.ai-wave i:nth-child(6) { animation-delay: .60s; }
.ai-wave i:nth-child(7) { animation-delay: .72s; }

.ai-status {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 11.5px;
    color: var(--txt2);
    letter-spacing: 1px;
    margin-bottom: 18px;
}

.ai-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--cyan);
    animation: dotPulse 1.4s ease-in-out infinite;
}

/* ---------- 6. 表单 ---------- */
.login-form {
    text-align: left;
    display: flex;
    flex-direction: column;
}

.li-form-item {
    position: relative;
    margin-top: 16px;
}

.li-form-item:first-child {
    margin-top: 0;
}

.li-form-icon {
    position: absolute;
    top: 50%;
    left: 15px;
    width: 17px;
    height: 17px;
    transform: translateY(-50%);
    color: var(--txt3);
    pointer-events: none;
    transition: color .2s;
}

.li-form-icon svg {
    width: 100%;
    height: 100%;
    display: block;
}

.li-form-input {
    display: block;
    width: 100%;
    height: 48px;
    padding: 0 46px 0 44px;
    font-size: 14px;
    font-family: inherit;
    color: var(--txt);
    border-radius: 11px;
    border: 1px solid rgba(80, 140, 220, .34);
    background: rgba(7, 11, 22, .72);
    transition: border-color .2s, box-shadow .2s;
}

.li-form-input:focus {
    border-color: var(--cyan);
    box-shadow: var(--glow);
}

.li-form-item.focusing .li-form-icon {
    color: var(--cyan);
}

.pwd-eye {
    position: absolute;
    top: 50%;
    right: 14px;
    width: 18px;
    height: 18px;
    transform: translateY(-50%);
    color: var(--txt3);
    cursor: pointer;
    transition: color .2s;
}

.pwd-eye:hover {
    color: var(--cyan);
}

.pwd-eye svg {
    width: 100%;
    height: 100%;
    display: block;
}

/* 记住密码 */
.login-form-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 15px;
    font-size: 13px;
    color: var(--txt2);
}

.login-check {
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    user-select: none;
}

.login-check input {
    position: absolute;
    width: 0;
    height: 0;
    opacity: 0;
}

.login-check i.box {
    position: relative;
    width: 16px;
    height: 16px;
    margin-right: 8px;
    border-radius: 5px;
    border: 1px solid rgba(80, 140, 220, .5);
    background: rgba(7, 11, 22, .7);
    transition: .2s;
}

.login-check i.box::after {
    content: "";
    position: absolute;
    top: 1px;
    left: 5px;
    width: 4px;
    height: 9px;
    border: solid #04122b;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg) scale(0);
    transition: transform .15s;
}

.login-check input:checked + i.box {
    border-color: transparent;
    background: linear-gradient(135deg, var(--cyan), var(--blue));
    box-shadow: 0 0 12px rgba(25, 230, 255, .5);
}

.login-check input:checked + i.box::after {
    transform: rotate(45deg) scale(1);
}

/* 提交按钮 */
.login-submit {
    position: relative;
    overflow: hidden;
    display: block;
    width: 100%;
    height: 48px;
    margin-top: 20px;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 3px;
    font-family: inherit;
    color: #04122b;
    border: none;
    border-radius: 11px;
    cursor: pointer;
    background: linear-gradient(135deg, var(--cyan), var(--blue));
    box-shadow: var(--glow-lg);
    transition: transform .2s, box-shadow .2s;
}

.login-submit::after {
    content: "";
    position: absolute;
    top: 0;
    left: -70%;
    width: 45%;
    height: 100%;
    transform: skewX(-20deg);
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .55), transparent);
    animation: shine 3.2s ease-in-out infinite;
}

.login-submit:hover {
    transform: translateY(-2px);
}

.login-submit:active {
    transform: translateY(0);
}

/* 提示信息 */
.login-msg {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
    padding: 9px 12px;
    text-align: left;
    font-size: 12.5px;
    color: #ffd2da;
    border-radius: 10px;
    border: 1px solid rgba(255, 77, 109, .45);
    background: rgba(255, 77, 109, .12);
}

.login-msg svg {
    flex: 0 0 auto;
    width: 15px;
    height: 15px;
    color: var(--err);
}

.login-msg ul {
    list-style: none;
}

.login-msg li {
    line-height: 1.6;
}

.login-msg .validation-summary-errors {
    margin: 0;
    font-size: 12.5px;
    line-height: 1.6;
}

.login-footer-tip {
    margin-top: 18px;
    font-size: 11px;
    line-height: 1.8;
    letter-spacing: .5px;
    color: var(--txt3);
}

.login-footer-tip a {
    color: var(--txt3);
    text-decoration: none;
    margin-left: 6px;
}

.login-footer-tip a:hover {
    color: var(--cyan);
}

/* ---------- 7. 扫码下载面板 ---------- */
.qr-title {
    font-size: 17px;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 6px;
    background: linear-gradient(90deg, #fff, var(--cyan), var(--purple));
    background-size: 300% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: flow 6s linear infinite;
}

.qr-sub {
    font-size: 12px;
    color: var(--txt2);
    letter-spacing: 1px;
    margin-bottom: 22px;
}

.qr-list {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 18px;
}

.qr-item {
    flex: 1 1 0;
    max-width: 116px;
    text-align: center;
}

.qr-item .qr-box {
    width: 100%;
    aspect-ratio: 1 / 1;
    margin: 0 auto;
    padding: 7px;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 0 26px rgba(25, 230, 255, .22);
}

.qr-item .qr-box img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.qr-item .qr-name {
    margin-top: 10px;
    font-size: 12.5px;
    color: var(--txt2);
}

.qr-item .qr-desc {
    margin-top: 4px;
    font-size: 10.5px;
    color: var(--txt3);
    line-height: 1.5;
}

/* 二维码可点击跳转（href 见 LogIn.cshtml 的 .qr-box a） */
.qr-item .qr-box a {
    display: block;
    width: 100%;
    height: 100%;
}

.qr-item .qr-box a img {
    cursor: pointer;
}

/* ---------- 8. 滑动验证码（深色适配，仅改配色不改尺寸/盒模型） ---------- */
#mpanel1 {
    width: 100%;
}

.verify-bar-area {
    background: rgba(7, 11, 22, .75) !important;
    border: 1px solid rgba(80, 140, 220, .34) !important;
    border-radius: 11px !important;
}

.verify-bar-area .verify-msg {
    font-size: 13px !important;
    letter-spacing: 1px;
    color: var(--txt2);
}

.verify-bar-area .verify-move-block {
    background: linear-gradient(135deg, var(--cyan), var(--blue)) !important;
    border-radius: 9px !important;
    box-shadow: 0 0 14px rgba(25, 230, 255, .45) !important;
    display: grid;
    place-items: center;
}

.verify-bar-area .verify-move-block .verify-icon {
    color: #04122b !important;
    font-size: 15px !important;
}

.verify-bar-area .verify-left-bar {
    background: rgba(25, 230, 255, .14) !important;
    border: 1px solid rgba(25, 230, 255, .48) !important;
    border-radius: 9px !important;
}

/* ---------- 9. 浏览器版本提示弹窗 ---------- */
.alt-mask {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(3, 6, 12, .78);
    backdrop-filter: blur(4px);
}

.alt-mask.show {
    display: flex;
}

.alt-box {
    width: 420px;
    max-width: 92vw;
    padding: 26px 28px 22px;
    border-radius: 18px;
    text-align: left;
    background: linear-gradient(160deg, rgba(20, 32, 58, .98), rgba(9, 15, 32, .98));
    border: 1px solid rgba(80, 140, 220, .45);
    box-shadow: 0 26px 70px rgba(0, 0, 0, .65), 0 0 60px rgba(25, 230, 255, .15);
}

.alt-box h3 {
    font-size: 16px;
    letter-spacing: 1px;
    margin-bottom: 14px;
    color: var(--warn);
}

.alt-box p {
    font-size: 13px;
    line-height: 1.9;
    color: var(--txt2);
}

.alt-box a {
    color: var(--cyan);
    text-decoration: none;
}

.alt-box a:hover {
    text-decoration: underline;
}

.alt-close {
    display: block;
    width: 100%;
    height: 42px;
    margin-top: 20px;
    font-size: 14px;
    font-family: inherit;
    letter-spacing: 1px;
    color: #04122b;
    font-weight: 700;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    background: linear-gradient(135deg, var(--cyan), var(--blue));
}

/* ---------- 10. 动画关键帧 ---------- */
@keyframes aurora {
    0%   { transform: translate3d(-4%, -3%, 0) scale(1.05) rotate(0deg); }
    50%  { transform: translate3d(3%, 2%, 0) scale(1.18) rotate(8deg); }
    100% { transform: translate3d(2%, -3%, 0) scale(1.1) rotate(-6deg); }
}

@keyframes drift {
    from { background-position: 0 0, 0 0; }
    to   { background-position: 46px 46px, 46px 46px; }
}

@keyframes flow {
    to { background-position: 300% 0; }
}

@keyframes shine {
    0%        { left: -70%; }
    55%, 100% { left: 140%; }
}

@keyframes rise {
    from { opacity: 0; transform: translateY(14px); }
    to   { opacity: 1; transform: none; }
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

@keyframes radar {
    to { transform: rotate(360deg); }
}

@keyframes chipFloat {
    from { transform: translateY(7px); opacity: .55; }
    to   { transform: translateY(-11px); opacity: 1; }
}

@keyframes eq {
    0%, 100% { height: 5px; opacity: .45; }
    50%      { height: 20px; opacity: 1; }
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 0 16px rgba(25, 230, 255, .35), 0 0 12px rgba(155, 107, 255, .20); }
    50%      { box-shadow: 0 0 32px rgba(25, 230, 255, .60), 0 0 20px rgba(155, 107, 255, .35); }
}

@keyframes dotPulse {
    0%, 100% { opacity: 1; box-shadow: 0 0 9px var(--cyan); }
    50%      { opacity: .45; box-shadow: 0 0 16px var(--cyan); }
}

@keyframes floorMove {
    from { background-position: 0 0, 0 0; }
    to   { background-position: 0 -640px, 0 0; }
}

@keyframes scanMove {
    from { transform: translateY(-6%); }
    to   { transform: translateY(0); }
}

/* ---------- 11. 响应式 ---------- */
@media (max-width: 1280px) {
    .ai-chip { display: none; }
    .login-radar { display: none; }
}

@media (max-width: 560px) {
    .portal-back { top: 14px; left: 14px; height: 32px; padding: 0 12px; font-size: 12px; }
    .login-card { padding: 40px 24px 26px; }
    .login-title { font-size: 21px; letter-spacing: 1px; }
    .logo-wrap, .login-logo { width: 74px; height: 74px; }
    .login-ring { -webkit-mask: radial-gradient(circle, transparent 47px, #000 48px); mask: radial-gradient(circle, transparent 47px, #000 48px); }
    .qr-list { gap: 12px; }
    .qr-item .qr-box { padding: 6px; }
}

@media (max-height: 700px) {
    .logo-wrap { width: 72px; height: 72px; margin-bottom: 14px; }
    .login-logo { width: 72px; height: 72px; }
    .login-ring { -webkit-mask: radial-gradient(circle, transparent 46px, #000 47px); mask: radial-gradient(circle, transparent 46px, #000 47px); }
    .login-card { padding-top: 38px; }
    .ai-wave, .ai-status { display: none; }
}

/* 尊重系统"减少动态效果"设置 */
@media (prefers-reduced-motion: reduce) {
    .login-floor, .login-scan, .login-radar, .login-ring, .ai-chip,
    .ai-wave i, .ai-dot, .login-logo, .login-submit::after, #grid, #aurora {
        animation: none !important;
    }
}
