/* ============================================================================
 * uw-login-gate.css —— 「银河之门」登录页（TS 客户端专用）
 *
 * 设计：深空战场全屏底图 + 单块玻璃拟态容器（左品牌叙事 / 右登录卡）。
 * 命名：全部 uwx- 前缀，与 Blazor 镜像的 .uw-login-* 完全隔离，互不影响。
 * 依赖：仅 /img/login/login-void-gate-2026.webp 两张底图 + Font Awesome。
 * 归属：**Vite 端专属文件**（真源 Shared.UI/wwwroot 里没有），已登记在
 *       uw-client-ts/scripts/assets-manifest.json 的 tsOnly 清单，同步脚本不会覆盖/删除它。
 * 主题：本页固定为"深空暗场"，不随 day/night 切换 —— 登录是品牌门面，
 *       浅色卡片内的文字对比度已按浅底深字单独给定，两个主题下观感一致。
 * ==========================================================================*/

.uwx-gate {
    /* 鼠标视差偏移（由 TS 写入，缺省 0） */
    --uwx-px: 0px;
    --uwx-py: 0px;
    position: relative;
    height: 100%;
    width: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    isolation: isolate;
    background: #04070f;
    color: #eafaff;
    -webkit-font-smoothing: antialiased;
    /* 启动屏（浅色）→ 登录页（深色）的过渡：短促淡入，避免硬切闪白 */
    animation: uwx-gate-fade .3s ease-out both;
}

@keyframes uwx-gate-fade {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* ---------- 底图层 ---------- */
.uwx-sky {
    position: fixed;
    inset: -3%;
    z-index: 0;
    background: url("/img/login/login-void-gate-2026.webp") center center / cover no-repeat #04070f;
    transform: translate3d(var(--uwx-px), var(--uwx-py), 0) scale(1.03);
    transition: transform .55s cubic-bezier(.2, .7, .3, 1);
    will-change: transform;
}

/* 压暗与方向性遮罩：左侧留给文案，底部与顶部压深，避免四周发灰 */
.uwx-veil {
    position: fixed;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
        linear-gradient(100deg, rgba(3, 7, 15, .80) 0%, rgba(4, 10, 21, .62) 38%, rgba(4, 9, 20, .26) 64%, rgba(3, 8, 16, .52) 100%),
        radial-gradient(ellipse 60% 55% at 24% 46%, rgba(5, 14, 30, .40), transparent 72%),
        linear-gradient(180deg, rgba(2, 5, 11, .78) 0%, rgba(3, 8, 16, .10) 16%, rgba(2, 5, 11, .16) 74%, rgba(2, 4, 9, .90) 100%);
}

/* 星尘层：两档大小错落闪烁 */
.uwx-stars {
    position: fixed;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    opacity: .5;
    background-image:
        radial-gradient(1.4px 1.4px at 7% 14%, rgba(198, 236, 255, .95), transparent 60%),
        radial-gradient(1.4px 1.4px at 21% 68%, rgba(198, 236, 255, .7), transparent 60%),
        radial-gradient(1.8px 1.8px at 36% 24%, rgba(126, 220, 255, .9), transparent 60%),
        radial-gradient(1.2px 1.2px at 48% 82%, rgba(255, 255, 255, .7), transparent 60%),
        radial-gradient(1.6px 1.6px at 62% 12%, rgba(255, 224, 176, .8), transparent 60%),
        radial-gradient(1.2px 1.2px at 74% 62%, rgba(198, 236, 255, .6), transparent 60%),
        radial-gradient(1.8px 1.8px at 88% 30%, rgba(126, 220, 255, .8), transparent 60%),
        radial-gradient(1.3px 1.3px at 93% 78%, rgba(255, 255, 255, .55), transparent 60%),
        radial-gradient(1.2px 1.2px at 14% 42%, rgba(255, 255, 255, .55), transparent 60%),
        radial-gradient(1.5px 1.5px at 55% 46%, rgba(198, 236, 255, .5), transparent 60%);
    animation: uwx-twinkle 6.5s ease-in-out infinite;
}

@keyframes uwx-twinkle {
    0%, 100% { opacity: .38; }
    50%      { opacity: .68; }
}

/* ---------- 骨架 ---------- */
.uwx-shell {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 16px;
    box-sizing: border-box;
    width: 100%;
    max-width: 1280px;
    min-height: 100%;
    margin: 0 auto;
    padding: 20px clamp(14px, 3.6vw, 36px) 16px;
}

/* 顶栏 */
.uwx-topbar {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 50px;
}

.uwx-brand {
    display: flex;
    align-items: center;
    gap: 11px;
    min-width: 0;
}

.uwx-brand-mark {
    width: 34px;
    height: 34px;
    flex: 0 0 auto;
    filter: drop-shadow(0 0 12px rgba(64, 190, 255, .45));
}

.uwx-brand-text {
    min-width: 0;
}

.uwx-brand-name {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: #eafaff;
    white-space: nowrap;
}

.uwx-brand-en {
    margin-top: 2px;
    font-family: var(--uw-font-tech, "Quicksand", "Baloo 2", sans-serif);
    font-size: 9px;
    letter-spacing: .34em;
    color: rgba(150, 214, 255, .62);
    white-space: nowrap;
}

.uwx-topbar-tag {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--uw-font-tech, "Quicksand", sans-serif);
    font-size: 10px;
    letter-spacing: .3em;
    color: rgba(170, 224, 255, .68);
    white-space: nowrap;
    text-shadow: 0 1px 8px rgba(0, 0, 0, .85);
}

.uwx-topbar-tag::before,
.uwx-topbar-tag::after {
    content: "";
    width: 26px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(120, 205, 255, .55));
}

.uwx-topbar-tag::after {
    background: linear-gradient(90deg, rgba(120, 205, 255, .55), transparent);
}

/* ---------- 玻璃容器 ---------- */
.uwx-panel {
    position: relative;
    flex: 0 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(348px, 420px);
    align-items: center;
    gap: clamp(26px, 3.6vw, 58px);
    box-sizing: border-box;
    width: 100%;
    max-width: none;
    margin: auto 0;
    padding: clamp(24px, 2.6vw, 38px) clamp(22px, 2.8vw, 40px);
    border: 1px solid rgba(126, 214, 255, .20);
    border-radius: 26px;
    background:
        radial-gradient(ellipse 58% 78% at 10% 42%, rgba(40, 138, 220, .18), transparent 72%),
        radial-gradient(ellipse 40% 60% at 92% 88%, rgba(255, 170, 70, .07), transparent 72%),
        linear-gradient(118deg, rgba(9, 19, 36, .60) 0%, rgba(7, 15, 30, .40) 50%, rgba(6, 13, 26, .52) 100%),
        linear-gradient(rgba(126, 205, 255, .05) 1px, transparent 1px) 0 0 / 46px 46px,
        linear-gradient(90deg, rgba(126, 205, 255, .05) 1px, transparent 1px) 0 0 / 46px 46px;
    -webkit-backdrop-filter: blur(11px) saturate(1.18);
    backdrop-filter: blur(11px) saturate(1.18);
    box-shadow:
        0 34px 90px -28px rgba(0, 0, 0, .85),
        0 1px 0 rgba(180, 235, 255, .14) inset,
        0 0 0 1px rgba(255, 255, 255, .03) inset;
}

/* 四角科技角标 */
.uwx-panel::before,
.uwx-panel::after {
    content: "";
    position: absolute;
    width: 34px;
    height: 34px;
    pointer-events: none;
    opacity: .75;
}

.uwx-panel::before {
    top: -1px;
    left: -1px;
    border-top: 2px solid rgba(110, 220, 255, .8);
    border-left: 2px solid rgba(110, 220, 255, .8);
    border-top-left-radius: 26px;
}

.uwx-panel::after {
    right: -1px;
    bottom: -1px;
    border-right: 2px solid rgba(110, 220, 255, .55);
    border-bottom: 2px solid rgba(110, 220, 255, .55);
    border-bottom-right-radius: 26px;
}

/* ---------- 左：品牌叙事 ---------- */
.uwx-hero {
    position: relative;
    min-width: 0;
    text-align: left;
}

.uwx-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 5px 13px 5px 11px;
    border: 1px solid rgba(110, 210, 255, .26);
    border-radius: 999px;
    background: rgba(18, 56, 96, .38);
    font-family: var(--uw-font-tech, "Quicksand", sans-serif);
    font-size: 9.5px;
    font-weight: 600;
    letter-spacing: .3em;
    color: #8fdcff;
}

.uwx-eyebrow-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #4fd8ff;
    box-shadow: 0 0 9px #4fd8ff;
    animation: uwx-pulse 2.4s ease-in-out infinite;
}

@keyframes uwx-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%      { opacity: .35; transform: scale(.75); }
}

.uwx-title {
    margin: 16px 0 0;
    font-size: clamp(32px, 4.1vw, 56px);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: 3px;
    background: linear-gradient(178deg, #ffffff 6%, #d8f3ff 46%, #6cc9ff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: #eafaff;
    filter: drop-shadow(0 2px 10px rgba(0, 0, 0, .55)) drop-shadow(0 2px 18px rgba(56, 186, 255, .5)) drop-shadow(0 0 46px rgba(24, 110, 200, .42));
}

.uwx-title-en {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 12px;
    font-family: var(--uw-font-tech, "Quicksand", sans-serif);
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: .44em;
    color: rgba(150, 214, 255, .72);
}

.uwx-title-en::after {
    content: "";
    flex: 1 1 auto;
    max-width: 120px;
    height: 1px;
    background: linear-gradient(90deg, rgba(120, 205, 255, .55), transparent);
}

.uwx-desc {
    max-width: 42ch;
    margin: 20px 0 0;
    text-wrap: pretty;
    font-size: 14.5px;
    line-height: 1.95;
    color: rgba(208, 231, 255, .78);
}

.uwx-feats {
    display: grid;
    gap: 11px;
    margin: 24px 0 0;
    padding: 0;
    list-style: none;
    font-size: 13.5px;
    line-height: 1.5;
    color: rgba(196, 224, 250, .76);
}

.uwx-feats li {
    display: flex;
    align-items: baseline;
    gap: 11px;
}

.uwx-feats li::before {
    content: "";
    flex: 0 0 auto;
    width: 6px;
    height: 6px;
    margin-top: 1px;
    border-radius: 1px;
    background: #4fd8ff;
    box-shadow: 0 0 10px rgba(79, 216, 255, .8);
    transform: rotate(45deg);
}

.uwx-qq {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 28px;
    padding: 6px 7px 6px 16px;
    border: 1px solid rgba(120, 205, 255, .24);
    border-radius: 999px;
    background: rgba(10, 26, 46, .55);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    font-size: 13px;
}

.uwx-qq-label {
    color: rgba(170, 210, 240, .72);
    white-space: nowrap;
}

.uwx-qq-num {
    font-family: var(--uw-font-tech, "Quicksand", sans-serif);
    font-weight: 700;
    letter-spacing: 1px;
    color: #7fe0ff;
    white-space: nowrap;
}

.uwx-qq-copy {
    padding: 4px 13px;
    border: 1px solid rgba(120, 205, 255, .3);
    border-radius: 999px;
    background: rgba(38, 108, 168, .45);
    color: #ddf4ff;
    font-family: inherit;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: background .16s ease, border-color .16s ease, color .16s ease;
}

.uwx-qq-copy:hover {
    background: rgba(58, 146, 214, .62);
    border-color: rgba(150, 225, 255, .55);
    color: #ffffff;
}

/* ---------- 右：登录卡 ---------- */
.uwx-card {
    position: relative;
    justify-self: end;
    box-sizing: border-box;
    width: 100%;
    max-width: 442px;
    padding: clamp(22px, 2.2vw, 30px) clamp(20px, 2vw, 28px) 20px;
    border-radius: 22px;
    background: linear-gradient(168deg, #ffffff 0%, #fffdf7 46%, #fff3dc 100%);
    box-shadow:
        0 26px 70px -22px rgba(0, 0, 0, .82),
        0 0 0 1px rgba(255, 255, 255, .5) inset,
        0 1px 0 rgba(255, 255, 255, .9) inset;
    color: #16263c;
}

/* 卡片顶沿能量线 */
.uwx-card::before {
    content: "";
    position: absolute;
    top: -1px;
    left: 30px;
    right: 30px;
    height: 2px;
    border-radius: 2px;
    background: linear-gradient(90deg, transparent, #48c8ff 35%, #9be6ff 50%, #48c8ff 65%, transparent);
    opacity: .9;
}

.uwx-card-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
}

/* 赛季提示（登录卡标题下一行小字）：告知赛季制即可，不抢视觉 */
.uwx-season-line {
    margin-top: 8px;
    font-size: 12.5px;
    color: var(--uwx-muted, #8a745a);
    letter-spacing: .3px;
}

.uwx-card-title {
    margin: 0;
    font-size: 19px;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: #11406f;
}

.uwx-card-sub {
    margin-top: 4px;
    font-family: var(--uw-font-tech, "Quicksand", sans-serif);
    font-size: 9px;
    font-weight: 600;
    letter-spacing: .3em;
    color: #94a8bd;
}

.uwx-card-badge {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border: 1px solid #d6e7f7;
    border-radius: 999px;
    background: #f4faff;
    font-size: 10.5px;
    font-weight: 600;
    color: #5a87b4;
}

/* 分段切换 */
.uwx-tabs {
    display: flex;
    gap: 6px;
    margin: 18px 0 18px;
    padding: 5px;
    border: 1px solid #e4edf8;
    border-radius: 999px;
    background: #eff5fc;
}

.uwx-tab {
    flex: 1 1 0;
    height: 40px;
    border: none;
    border-radius: 999px;
    background: transparent;
    color: #6d859c;
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 3px;
    cursor: pointer;
    transition: color .16s ease, background .2s ease, box-shadow .2s ease;
}

.uwx-tab:hover {
    color: #2f6ea8;
}

.uwx-tab.is-active {
    background: linear-gradient(180deg, #3a95e4 0%, #1b63b6 100%);
    color: #ffffff;
    box-shadow:
        0 8px 18px -8px rgba(26, 99, 184, .95),
        0 1px 0 rgba(255, 255, 255, .35) inset;
}

/* 表单 */
.uwx-form {
    display: flex;
    flex-direction: column;
    gap: 13px;
}

.uwx-field {
    display: flex;
    align-items: center;
    gap: 10px;
    box-sizing: border-box;
    height: 52px;
    padding: 0 8px 0 7px;
    border: 1.5px solid #dde8f4;
    border-radius: 999px;
    background: #ffffff;
    transition: border-color .16s ease, box-shadow .16s ease, background .16s ease;
}

.uwx-field:focus-within {
    border-color: #3f9ce8;
    background: #fdfeff;
    box-shadow: 0 0 0 4px rgba(63, 156, 232, .14);
}

.uwx-field-icon {
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border: 1px solid #dcebf9;
    border-radius: 50%;
    background: linear-gradient(180deg, #f4f9ff 0%, #e6f1fd 100%);
    color: #3f86cf;
    font-size: 13px;
    transition: color .16s ease, border-color .16s ease;
}

.uwx-field:focus-within .uwx-field-icon {
    color: #1c74c8;
    border-color: #b8dbf7;
}

.uwx-field input {
    flex: 1 1 auto;
    min-width: 0;
    height: 100%;
    margin: 0;
    padding: 0;
    border: none;
    background: transparent;
    color: #16263c;
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: .2px;
    outline: none;
    box-shadow: none;
}

.uwx-field input::placeholder {
    color: #9bafc3;
    font-weight: 500;
    letter-spacing: 0;
}

.uwx-field input:-webkit-autofill {
    -webkit-text-fill-color: #16263c;
    box-shadow: 0 0 0 40px #ffffff inset;
}

.uwx-field-tail {
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border: none;
    border-radius: 50%;
    background: transparent;
    color: #93a9bd;
    font-size: 13px;
    cursor: pointer;
    transition: color .16s ease, background .16s ease;
}

.uwx-field-tail:hover {
    background: #eef6fe;
    color: #2f7bc4;
}

.uwx-error {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    max-height: 140px;
    padding: 9px 12px;
    overflow-y: auto;
    border: 1px solid #f6c9c5;
    border-radius: 12px;
    background: #fdf0ef;
    color: #b23a3a;
    font-size: 12.5px;
    line-height: 1.6;
    word-break: break-all;
}

.uwx-error i {
    margin-top: 2px;
    flex: 0 0 auto;
}

/* 主按钮 */
.uwx-submit {
    position: relative;
    overflow: hidden;
    height: 52px;
    margin-top: 5px;
    border: none;
    border-radius: 999px;
    background: linear-gradient(180deg, #3aa2f0 0%, #1a7fd6 55%, #1268b8 100%);
    color: #ffffff;
    font-family: inherit;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 5px;
    cursor: pointer;
    box-shadow:
        0 14px 26px -12px rgba(20, 110, 190, .9),
        0 1px 0 rgba(255, 255, 255, .42) inset;
    transition: transform .14s ease, box-shadow .2s ease, filter .2s ease;
}

.uwx-submit::after {
    content: "";
    position: absolute;
    top: 0;
    left: -55%;
    width: 38%;
    height: 100%;
    background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .42), transparent);
    transform: skewX(-18deg);
    animation: uwx-shine 3.4s ease-in-out infinite;
}

@keyframes uwx-shine {
    0%        { left: -55%; }
    55%, 100% { left: 125%; }
}

.uwx-submit:hover:not(:disabled) {
    filter: brightness(1.07);
    transform: translateY(-1px);
    box-shadow:
        0 18px 32px -12px rgba(20, 110, 190, .95),
        0 1px 0 rgba(255, 255, 255, .5) inset;
}

.uwx-submit:active:not(:disabled) {
    transform: translateY(1px);
    filter: brightness(.97);
}

.uwx-submit:disabled {
    cursor: not-allowed;
    opacity: .88;
    filter: saturate(.6);
}

.uwx-submit:disabled::after {
    animation: none;
    opacity: 0;
}

/* 提交中 spinner（浅色卡内需深色描边） */
.uwx-spinner {
    display: inline-block;
    width: 14px;
    height: 14px;
    margin-right: 8px;
    border: 2px solid rgba(255, 255, 255, .35);
    border-top-color: #ffffff;
    border-radius: 50%;
    vertical-align: -2px;
    animation: uwx-spin .8s linear infinite;
}

@keyframes uwx-spin {
    to { transform: rotate(360deg); }
}

/* 记住密码勾选（仅登录模式显示，密码框下方右对齐） */
.uwx-remember {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 7px;
    margin-top: 10px;
    margin-bottom: 2px;
    font-size: 13px;
    color: var(--uwx-muted, #8a745a);
    cursor: pointer;
    user-select: none;
}

.uwx-remember input[type="checkbox"] {
    width: 15px;
    height: 15px;
    margin: 0;
    accent-color: #1a7fd6;
    cursor: pointer;
}

.uwx-remember:hover {
    color: var(--uwx-ink, #3d2e1e);
}

/* 渠道一键进入（仅 Toy 容器内显示）：登录按钮下方的次要入口，低调不抢主按钮 */
.uwx-toy-login {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    height: 44px;
    margin-top: 12px;
    border: 1.5px solid rgba(227, 96, 145, .45);
    border-radius: 999px;
    background: rgba(255, 255, 255, .72);
    color: #c9467c;
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    cursor: pointer;
    transition: border-color .15s ease, background .15s ease, color .15s ease;
}

.uwx-toy-login:hover:not(:disabled) {
    border-color: rgba(227, 96, 145, .8);
    background: rgba(255, 240, 246, .95);
}

.uwx-toy-login:active:not(:disabled) {
    background: rgba(255, 228, 239, .95);
}

.uwx-toy-login:disabled {
    cursor: not-allowed;
    opacity: .7;
}

.uwx-toy-tv {
    width: 18px;
    height: 18px;
    fill: currentColor;
    flex: 0 0 auto;
}

.uwx-card-foot {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    margin-top: 15px;
    font-size: 11.5px;
    color: #8fa2b6;
}

.uwx-card-foot i {
    font-size: 10px;
    color: #a9bccd;
}

/* ---------- 页脚 ---------- */
.uwx-foot {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 2px 4px 0;
    font-family: var(--uw-font-tech, "Quicksand", sans-serif);
    font-size: 10px;
    letter-spacing: .16em;
    color: rgba(160, 198, 230, .5);
    text-shadow: 0 1px 8px rgba(0, 0, 0, .8);
}

.uwx-foot-sep {
    flex: 1 1 auto;
    height: 1px;
    max-width: 40%;
    background: linear-gradient(90deg, transparent, rgba(120, 190, 240, .22), transparent);
}

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
    .uwx-panel {
        grid-template-columns: minmax(0, 1fr);
        gap: 24px;
        justify-items: center;
        padding: clamp(22px, 4vw, 32px) clamp(16px, 4vw, 28px);
    }

    .uwx-hero {
        width: 100%;
        text-align: center;
    }

    .uwx-title {
        font-size: clamp(28px, 6.4vw, 40px);
    }

    .uwx-title-en {
        justify-content: center;
    }

    .uwx-title-en::after,
    .uwx-desc,
    .uwx-feats {
        display: none;
    }

    .uwx-card {
        justify-self: center;
        max-width: 460px;
    }

    .uwx-qq {
        margin-top: 16px;
    }
}

@media (max-width: 560px) {
    .uwx-shell {
        padding: 12px 12px 10px;
        gap: 10px;
    }

    .uwx-topbar {
        min-height: 42px;
    }

    .uwx-topbar-tag {
        display: none;
    }

    .uwx-brand-mark {
        width: 28px;
        height: 28px;
    }

    .uwx-brand-name {
        font-size: 13px;
    }

    .uwx-panel {
        border-radius: 20px;
        padding: 18px 14px 20px;
        gap: 18px;
    }

    .uwx-panel::before,
    .uwx-panel::after {
        width: 22px;
        height: 22px;
    }

    .uwx-title {
        font-size: 26px;
        letter-spacing: 2px;
    }

    .uwx-eyebrow {
        font-size: 8.5px;
    }

    .uwx-card {
        padding: 18px 16px 16px;
        border-radius: 18px;
    }

    .uwx-card-title {
        font-size: 17px;
    }

    .uwx-field {
        height: 48px;
    }

    .uwx-submit {
        height: 48px;
        letter-spacing: 4px;
    }

    .uwx-foot {
        font-size: 9px;
        letter-spacing: .1em;
    }

    .uwx-foot-sep {
        display: none;
    }
}

/* 矮视口（笔记本横屏 / 小窗）：收紧纵向节奏，避免出现滚动 */
@media (max-height: 720px) and (min-width: 1025px) {
    .uwx-shell {
        padding-top: 12px;
        padding-bottom: 8px;
    }

    .uwx-desc {
        margin-top: 14px;
        font-size: 13.5px;
        line-height: 1.8;
    }

    .uwx-feats {
        margin-top: 16px;
        gap: 8px;
    }

    .uwx-qq {
        margin-top: 18px;
    }

    .uwx-tabs {
        margin: 14px 0 14px;
    }
}

/* 移动端底图：裁切版本，避免 2048px 大图在蜂窝网络下的额外开销 */
@media (max-width: 900px) {
    .uwx-sky {
        background-image: url("/img/login/login-void-gate-2026-m.webp");
        background-position: center 22%;
    }

    .uwx-veil {
        background:
            linear-gradient(180deg, rgba(3, 7, 15, .92) 0%, rgba(4, 10, 21, .66) 32%, rgba(3, 8, 16, .88) 100%),
            radial-gradient(ellipse 80% 50% at 50% 20%, rgba(10, 30, 60, .3), transparent 70%);
    }
}

@media (prefers-reduced-motion: reduce) {
    .uwx-sky {
        transform: none;
        transition: none;
    }

    .uwx-stars,
    .uwx-eyebrow-dot,
    .uwx-submit::after {
        animation: none;
    }
}
