html {
    height: 100%;
}

body.signin {
    position: relative;
    box-sizing: border-box;
    min-height: 100vh;
    min-height: 100dvh;
    overflow-x: hidden;
    background:
        radial-gradient(circle at 18% 18%, rgba(183, 135, 255, 0.35) 0, rgba(183, 135, 255, 0) 26%),
        radial-gradient(circle at 78% 14%, rgba(123, 61, 244, 0.36) 0, rgba(123, 61, 244, 0) 24%),
        radial-gradient(circle at 52% 88%, rgba(74, 20, 140, 0.42) 0, rgba(74, 20, 140, 0) 28%),
        linear-gradient(135deg, #140520 0%, #2a0f48 42%, #4b1b7a 100%);
}

/* 仅登录页：一屏垂直居中、隐藏整页滚动条（注册/忘记密码不受影响） */
body.signin:has(> .signinpanel:not(.signin-panel-register)) {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 4px 12px;
    overflow-y: hidden;
}

body.signin::before {
    content: "";
    position: fixed;
    inset: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0));
    pointer-events: none;
}

.signinpanel {
    position: relative;
    z-index: 2;
    width: 1060px;
    margin-top: 0;
    margin-bottom: 0;
    flex-shrink: 0;
    padding: 12px 30px 14px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 28px;
    background: rgba(18, 8, 36, 0.38);
    box-shadow: 0 28px 70px rgba(8, 2, 18, 0.36);
    backdrop-filter: blur(12px);
}

/* 注册页：整体略宽 + 表单列占半幅，玻璃卡片内更舒展 */
.signinpanel.signin-panel-register {
    width: 1180px;
    max-width: calc(100vw - 40px);
}

.login-scene {
    position: absolute;
    inset: 0;
    overflow: hidden;
    border-radius: 28px;
    pointer-events: none;
}

.scene-orb,
.scene-star {
    position: absolute;
    display: block;
}

.scene-orb {
    border-radius: 50%;
    filter: blur(2px);
}

.scene-orb-one {
    top: 36px;
    left: 34px;
    width: 160px;
    height: 160px;
    background: radial-gradient(circle, rgba(192, 150, 255, 0.22) 0, rgba(192, 150, 255, 0) 70%);
}

.scene-orb-two {
    right: 80px;
    top: 54px;
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, rgba(117, 219, 255, 0.14) 0, rgba(117, 219, 255, 0) 68%);
}

.scene-orb-three {
    left: 45%;
    bottom: 20px;
    width: 180px;
    height: 180px;
    background: radial-gradient(circle, rgba(122, 72, 241, 0.2) 0, rgba(122, 72, 241, 0) 70%);
}

.scene-star {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 0 18px rgba(255, 255, 255, 0.75);
}

.scene-star-one {
    top: 84px;
    left: 46%;
}

.scene-star-two {
    top: 140px;
    right: 18%;
    width: 6px;
    height: 6px;
}

.scene-star-three {
    bottom: 110px;
    left: 14%;
    width: 5px;
    height: 5px;
}

.signinpanel > .row {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: flex-start;
}

/* 登录页：左右列等高，左栏介绍在玻璃区域内垂直居中 */
.signinpanel:not(.signin-panel-register) > .row {
    align-items: stretch;
}

.signinpanel:not(.signin-panel-register) .col-sm-7 {
    display: flex;
    flex-direction: column;
}

/* 登录页：表单紧跟欢迎标题，收紧垂直间距避免整页滚动 */
.signinpanel:not(.signin-panel-register) .col-sm-5 form.login-form-card {
    margin-top: 18px;
}

.signinpanel .col-sm-7,
.signinpanel .col-sm-5 {
    float: none;
}

.signinpanel .col-sm-7 {
    overflow: visible;
}

.signinpanel .signin-info {
    overflow: visible;
}

.signinpanel:not(.signin-panel-register) .signin-info {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    justify-content: center;
    min-height: 0;
}

.signinpanel:not(.signin-panel-register) .signin-info > .logopanel.m-b {
    margin-bottom: 2px;
}

.signinpanel:not(.signin-panel-register) .logopanel h1:empty {
    display: none;
}

.login-hero {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 4px 20px 6px 0;
}

/* 登录页：介绍在玻璃左栏水平居中 */
.login-hero.login-hero--mascot-only {
    gap: 0;
    margin-top: 0;
    align-items: center;
    width: 100%;
    padding: 0 10px;
}

/* 左栏大号匠人集小紫（原工具介绍区域） */
.login-hero-mascot-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    min-height: 300px;
    padding: 80px 0 12px;
    box-sizing: border-box;
}

.login-alien.login-alien--hero-inline {
    position: relative;
    left: auto;
    top: auto;
    width: 380px;
    height: 404px;
    margin: 18px 0 0;
    animation: alien-float-hero 3.6s ease-in-out infinite;
    transform-origin: center 78%;
}

@keyframes alien-float-hero {
    0%, 100% {
        transform: translateY(0) scale(1.16);
    }

    50% {
        transform: translateY(-60px) scale(1.16);
    }
}

/* 介绍气泡（注册等页若复用类名仍可用；登录页已移除气泡 DOM） */
.login-mascot-intro {
    display: block;
    width: 100%;
    max-width: 100%;
    overflow: visible;
    padding-bottom: 0;
    margin-top: 10px;
}

.signinpanel:not(.signin-panel-register) .login-mascot-intro {
    margin-top: 0;
    margin-left: auto;
    margin-right: auto;
    max-width: 520px;
}

.signinpanel:not(.signin-panel-register) .login-mascot-bubble {
    text-align: center;
}

.signinpanel:not(.signin-panel-register) .login-mascot-tools {
    text-align: left;
}

.login-mascot-bubble {
    position: relative;
    width: 100%;
    margin-bottom: 0;
    margin-top: 8px;
    padding: 10px 14px 10px;
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: linear-gradient(165deg, rgba(255, 248, 255, 0.97) 0%, rgba(243, 232, 255, 0.94) 48%, rgba(230, 214, 255, 0.92) 100%);
    box-shadow:
        0 10px 28px rgba(45, 12, 88, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.65);
}

.login-mascot-bubble::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -12px;
    width: 22px;
    height: 22px;
    margin-left: -11px;
    background: linear-gradient(135deg, rgba(243, 232, 255, 0.98) 0%, rgba(230, 214, 255, 0.95) 100%);
    border-right: 1px solid rgba(255, 255, 255, 0.35);
    border-bottom: 1px solid rgba(180, 150, 230, 0.25);
    transform: rotate(45deg);
    border-radius: 0 0 4px 0;
    box-shadow: 4px 4px 12px rgba(45, 12, 88, 0.08);
}

.login-mascot-hi {
    margin: 0 0 8px;
    font-size: 15px;
    line-height: 1.55;
    font-weight: 500;
    color: #4a2a7a;
}

.login-mascot-hi strong {
    color: #7b3fe0;
    font-weight: 700;
}

.login-mascot-lead {
    margin: 0 0 6px;
    font-size: 13px;
    line-height: 1.5;
    color: #5c4488;
}

.login-mascot-tools {
    margin: 0 0 8px;
    padding: 0 0 0 4px;
    list-style: none;
}

.login-mascot-tools li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 6px;
    font-size: 13px;
    line-height: 1.65;
    color: #4f3d6e;
}

.login-mascot-tools li:last-child {
    margin-bottom: 0;
}

.login-mascot-tools .fa {
    flex-shrink: 0;
    margin-top: 3px;
    width: 20px;
    text-align: center;
    font-size: 16px;
    color: #8b4fff;
}

.login-mascot-tools strong {
    color: #6b2fd4;
    font-weight: 600;
}

.login-mascot-more {
    margin: 0;
    padding-top: 2px;
    border-top: 1px dashed rgba(123, 63, 224, 0.22);
    font-size: 13px;
    line-height: 1.65;
    color: #6a5288;
}

.login-mascot-more strong {
    color: #7b3fe0;
}

/**
 * 登录页：玩偶固定在视口最左侧、垂直居中（脱离玻璃卡片）
 */
.login-alien.login-alien--page-dock {
    position: fixed;
    z-index: 1;
    left: clamp(4px, 1.6vw, 24px);
    top: 50%;
    width: 220px;
    height: 234px;
    margin: 0;
    overflow: visible;
    transform: translateY(-50%) scale(0.68);
    transform-origin: center center;
    animation: alien-float-docked 3.6s ease-in-out infinite;
    pointer-events: none;
}

.login-hero-copy {
    max-width: 420px;
}

.login-hero-tag {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    margin-bottom: 18px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    font-size: 12px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.82);
}

.login-hero-title {
    margin: 0 0 8px;
    font-size: 38px;
    font-weight: 700;
    line-height: 1.2;
    color: #fff;
}

/* 登录页：右侧欢迎标题（艺术字感 + 略下移） */
h2.login-hero-title.login-form-welcome {
    flex-shrink: 0;
    margin: 0;
    padding: 6px 0 0 4px;
    border: 0;
    line-height: 1.2;
}

.login-form-welcome-kicker {
    display: block;
    margin-bottom: 8px;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.35em;
    text-indent: 0.12em;
    color: rgba(255, 255, 255, 0.58);
}

.login-form-welcome-name {
    display: block;
    position: relative;
    padding-bottom: 14px;
    font-size: clamp(28px, 2.75vw, 36px);
    font-weight: 700;
    letter-spacing: 0.14em;
    line-height: 1.18;
    background: linear-gradient(
        105deg,
        #ffffff 0%,
        #f3e9ff 18%,
        #d9c2ff 42%,
        #c5a6ff 58%,
        #efe6ff 82%,
        #ffffff 100%
    );
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    filter: drop-shadow(0 2px 16px rgba(130, 80, 220, 0.4));
}

.login-form-welcome-name::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 52px;
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(200, 160, 255, 0.95), rgba(200, 160, 255, 0.08));
    box-shadow: 0 0 16px rgba(180, 130, 255, 0.35);
}

.login-hero-desc {
    margin: 0;
    font-size: 16px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.82);
}

.login-hero-tips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.login-hero-tips span {
    display: inline-flex;
    align-items: center;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.92);
    font-size: 13px;
}

.login-alien {
    position: relative;
    width: 380px;
    height: 404px;
    margin-left: 10px;
    overflow: visible;
    animation: alien-float 3.6s ease-in-out infinite;
}

@keyframes alien-float {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* 固定于视口左侧居中时的浮动（保留垂直居中 + 轻微上下） */
@keyframes alien-float-docked {
    0%, 100% {
        transform: translateY(-50%) scale(0.68);
    }

    50% {
        transform: translateY(calc(-50% - 7px)) scale(0.68);
    }
}

.alien-shadow {
    position: absolute;
    left: 50%;
    bottom: 36px;
    width: 238px;
    height: 40px;
    margin-left: -119px;
    border-radius: 50%;
    background: rgba(20, 2, 45, 0.34);
    filter: blur(8px);
}

.alien-antenna {
    position: absolute;
    top: 12px;
    width: 18px;
    height: 94px;
    border-radius: 999px;
    background: linear-gradient(180deg, #ca98ff 0%, #8e4fff 100%);
    transform-origin: bottom center;
}

.alien-antenna::before {
    content: "";
    position: absolute;
    top: -18px;
    left: 50%;
    width: 32px;
    height: 32px;
    margin-left: -16px;
    border-radius: 50%;
    background: #e2c7ff;
    box-shadow: 0 0 0 10px rgba(214, 183, 255, 0.18);
}

.alien-antenna-left {
    left: 122px;
    transform: rotate(-18deg);
}

.alien-antenna-right {
    right: 122px;
    transform: rotate(18deg);
}

.alien-body {
    position: absolute;
    left: 50%;
    top: 60px;
    width: 260px;
    height: 268px;
    margin-left: -130px;
    border-radius: 44% 44% 40% 40%;
    background: linear-gradient(180deg, #bc7dff 0%, #8b49ff 42%, #5d23c8 100%);
    box-shadow: 0 24px 56px rgba(44, 9, 90, 0.36);
}

.alien-body::before,
.alien-body::after {
    content: "";
    position: absolute;
    top: -10px;
    width: 54px;
    height: 54px;
    border-radius: 16px 16px 4px 4px;
    background: linear-gradient(180deg, #bc7dff 0%, #8f4fff 100%);
    z-index: -1;
}

.alien-body::before {
    left: 28px;
    transform: rotate(-26deg);
}

.alien-body::after {
    right: 28px;
    transform: rotate(26deg);
}

.alien-face {
    position: absolute;
    left: 50%;
    top: 54px;
    width: 188px;
    height: 132px;
    margin-left: -94px;
}

.alien-eye {
    position: absolute;
    top: 0;
    width: 70px;
    height: 84px;
    overflow: hidden;
    border: 5px solid rgba(89, 36, 166, 0.42);
    border-radius: 50%;
    background: linear-gradient(180deg, #ffffff 0%, #f2ecff 100%);
    box-shadow: inset 0 -10px 0 rgba(124, 61, 244, 0.08);
}

.alien-eye-left {
    left: 8px;
}

.alien-eye-right {
    right: 8px;
}

.alien-pupil {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 26px;
    height: 32px;
    margin-left: -13px;
    margin-top: -16px;
    border-radius: 50%;
    background: radial-gradient(circle at 38% 35%, #ffffff 0 12%, #5a27af 14%, #38106f 58%, #1c063a 100%);
    transition: transform 0.12s ease-out;
}

.alien-pupil::after {
    content: "";
    position: absolute;
    top: 5px;
    left: 7px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.88);
}

.alien-mouth {
    position: absolute;
    left: 50%;
    bottom: 8px;
    width: 54px;
    height: 24px;
    margin-left: -27px;
    border-bottom: 4px solid #5e2794;
    border-radius: 0 0 34px 34px;
}

.alien-mouth::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -4px;
    width: 16px;
    height: 8px;
    margin-left: -8px;
    border-radius: 0 0 12px 12px;
    background: rgba(255, 187, 235, 0.72);
}

.alien-blush {
    position: absolute;
    top: 72px;
    width: 22px;
    height: 12px;
    border-radius: 999px;
    background: rgba(255, 198, 255, 0.45);
}

.alien-blush-left {
    left: -4px;
}

.alien-blush-right {
    right: -4px;
}

.alien-arm {
    position: absolute;
    top: 126px;
    width: 86px;
    height: 26px;
    border-radius: 999px;
    background: linear-gradient(180deg, #a566ff 0%, #7332ea 100%);
    transition: transform 0.35s ease, top 0.35s ease;
    transform-origin: center center;
}

.alien-arm-left {
    left: -42px;
    transform: rotate(24deg);
}

.alien-arm-right {
    right: -42px;
    transform: rotate(-24deg);
}

.alien-palm {
    position: absolute;
    top: -10px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #c08aff;
    box-shadow: inset 0 -6px 0 rgba(76, 21, 150, 0.12);
}

.alien-arm-left .alien-palm {
    right: -6px;
}

.alien-arm-right .alien-palm {
    left: -6px;
}

.login-alien.is-covering-eyes .alien-arm-left {
    top: 76px;
    transform: translateX(38px) rotate(-30deg);
}

.login-alien.is-covering-eyes .alien-arm-right {
    top: 76px;
    transform: translateX(-38px) rotate(30deg);
}

.alien-belly {
    position: absolute;
    left: 50%;
    bottom: 38px;
    width: 126px;
    height: 92px;
    margin-left: -63px;
    border-radius: 50%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.26) 0%, rgba(255, 255, 255, 0.12) 100%);
}

.alien-foot {
    position: absolute;
    bottom: -12px;
    width: 58px;
    height: 28px;
    border-radius: 999px;
    background: #6530cf;
}

.alien-foot-left {
    left: 62px;
    transform: rotate(8deg);
}

.alien-foot-right {
    right: 62px;
    transform: rotate(-8deg);
}

.login-form-card {
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.18) !important;
    border-radius: 24px !important;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.18) 0%, rgba(255, 255, 255, 0.1) 100%) !important;
    box-shadow: 0 24px 48px rgba(17, 3, 35, 0.28) !important;
    backdrop-filter: blur(10px);
}

.login-form-card h4,
.login-form-card p,
.checkbox-custom label {
    color: #fff;
}

.login-form-card .form-control {
    height: 44px !important;
    border: 1px solid rgba(116, 67, 208, 0.18);
    border-radius: 14px !important;
    background-color: rgba(255, 255, 255, 0.96);
    color: #333 !important;
    -webkit-text-fill-color: #333;
}

.login-form-card .form-control::placeholder {
    color: #8c8c8c;
    opacity: 1;
}

.login-form-card .form-control:-webkit-autofill,
.login-form-card .form-control:-webkit-autofill:hover,
.login-form-card .form-control:-webkit-autofill:focus {
    -webkit-text-fill-color: #333 !important;
    box-shadow: 0 0 0 1000px rgba(255, 255, 255, 0.96) inset !important;
    transition: background-color 99999s ease-out 0s;
}

.login-form-card .form-control:focus {
    border-color: #8e4fff !important;
}

/* 注册页等为 div 容器时无 .signinpanel form 的 padding，与登录表单视觉对齐 */
div.login-form-card {
    padding: 28px 30px 32px;
}

.signinpanel:not(.signin-panel-register) div.login-form-card {
    padding: 18px 22px 16px;
}

.signinpanel:not(.signin-panel-register) .login-form-card .form-control {
    height: 40px !important;
}

.signinpanel:not(.signin-panel-register) .login-form-card .btn-success {
    height: 40px;
}

div.login-form-card-register {
    padding-left: 34px;
    padding-right: 34px;
}

.login-form-card label {
    display: block;
    margin-bottom: 1px;
    font-size: 13px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
}

.login-form-card .form-group {
    margin-bottom: 20px;
}

.login-form-card .form-group .form-control {
    margin-top: 0;
}

.login-form-card .register-form-hint {
    margin-top: 6px;
    margin-bottom: 4px;
    font-size: 13px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.72) !important;
}

.login-form-card .register-code-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
}

.login-form-card .register-code-row .form-control.code {
    flex: 1 1 auto;
    min-width: 0;
    margin-bottom: 0 !important;
}

/* 覆盖 login.min.css 中 .signinpanel .btn { margin-top:15px }，否则会与输入框纵向错位 */
.login-form-card .btn-register-send-code {
    flex: 0 0 auto;
    align-self: center;
    height: 44px;
    margin-top: 0 !important;
    margin-bottom: 0;
    min-width: 128px;
    padding-left: 16px;
    padding-right: 16px;
    border-radius: 14px !important;
    border: 1px solid rgba(255, 255, 255, 0.35) !important;
    background: rgba(255, 255, 255, 0.14) !important;
    color: #fff !important;
    font-weight: 500;
    white-space: nowrap;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.login-form-card .btn-register-send-code:hover,
.login-form-card .btn-register-send-code:focus {
    background: rgba(255, 255, 255, 0.22) !important;
    border-color: rgba(255, 255, 255, 0.5) !important;
    color: #fff !important;
}

.login-form-card .btn-register-send-code:disabled {
    opacity: 0.65;
    cursor: not-allowed;
}

.login-form-card .register-actions {
    margin-top: 8px;
}

.login-form-card .register-actions .btn-success {
    margin-top: 0 !important;
}

.login-form-card .register-agreement {
    margin-top: 16px;
    margin-bottom: 2px;
    text-align: center;
}

.login-form-card .register-agreement-label {
    display: inline-flex;
    align-items: flex-start;
    gap: 8px;
    cursor: pointer;
    color: rgba(255, 255, 255, 0.78);
    font-size: 13px;
    font-weight: normal;
    line-height: 1.55;
    text-align: left;
    max-width: 100%;
}

.login-form-card .register-agreement-label input[type="checkbox"] {
    margin: 3px 0 0 0;
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    cursor: pointer;
}

.login-form-card .register-agreement-label a {
    color: #b8c8ff;
    text-decoration: underline;
}

.login-form-card .register-agreement-label a:hover {
    color: #d0dcff;
}

.login-form-card .btn-success {
    height: 44px;
    border: 0;
    border-radius: 14px;
    background: linear-gradient(135deg, #ab70ff 0%, #7a40f0 100%);
    box-shadow: 0 12px 24px rgba(94, 39, 148, 0.28);
}

.login-form-card .btn-success:hover,
.login-form-card .btn-success:focus,
.login-form-card .btn-success:active {
    background: linear-gradient(135deg, #b983ff 0%, #8450f5 100%);
}

.checkbox-custom label:before {
    border-color: rgba(255, 255, 255, 0.45);
    background: rgba(255, 255, 255, 0.96);
}

@media screen and (max-width: 992px) {
    .signinpanel {
        width: 900px;
        padding: 12px 24px 14px;
    }

    .signinpanel.signin-panel-register {
        width: 960px;
        max-width: calc(100vw - 32px);
    }

    .login-alien:not(.login-alien--page-dock) {
        width: 340px;
        height: 362px;
        margin-left: 0;
    }

    .login-alien.login-alien--page-dock {
        width: 200px;
        height: 213px;
    }

    .alien-shadow {
        bottom: 32px;
    }
}

@media screen and (max-width: 768px) {
    body.signin:has(> .signinpanel:not(.signin-panel-register)) {
        overflow-y: auto;
        justify-content: flex-start;
        padding-top: 8px;
        padding-bottom: 16px;
    }

    .signinpanel:not(.signin-panel-register) .col-sm-7 {
        display: block;
    }

    .signinpanel:not(.signin-panel-register) .signin-info {
        display: block;
        flex: none;
    }

    .signinpanel {
        width: 380px !important;
        margin-top: 0;
        padding: 22px;
        border-radius: 22px;
    }

    .signinpanel.signin-panel-register {
        max-width: calc(100vw - 24px);
    }

    .signinpanel > .row {
        display: block;
    }

    .signinpanel:not(.signin-panel-register) .col-sm-5 {
        display: block;
    }

    .signinpanel:not(.signin-panel-register) .col-sm-5 form.login-form-card {
        margin-top: 5px;
    }

    .login-hero {
        align-items: center;
        padding: 0;
        gap: 18px;
    }

    .login-hero.login-hero--mascot-only {
        margin-top: 0;
        padding: 0;
    }

    h2.login-hero-title.login-form-welcome {
        text-align: center;
        padding: 18px 0 0;
        margin-bottom: 0;
    }

    .login-form-welcome-kicker {
        text-indent: 0;
        letter-spacing: 0.28em;
    }

    .login-form-welcome-name {
        font-size: 24px;
        letter-spacing: 0.12em;
    }

    .login-form-welcome-name::after {
        left: 50%;
        margin-left: -26px;
    }

    .login-mascot-intro {
        flex-direction: column;
        align-items: center;
        max-width: 100%;
        margin-top: 0;
    }

    .login-mascot-intro .login-mascot-bubble {
        margin-top: 0;
        width: 100%;
        order: -1;
    }

    /* 窄屏隐藏视口左侧玩偶，避免遮挡登录表单 */
    .login-alien.login-alien--page-dock {
        display: none;
    }

    .login-mascot-bubble {
        padding: 16px 16px 14px;
        border-radius: 18px;
    }

    .login-mascot-bubble::after {
        left: 50%;
        margin-left: -11px;
    }

    .login-mascot-hi {
        font-size: 15px;
        text-align: center;
    }

    .login-mascot-lead {
        text-align: center;
    }

    .login-hero-copy {
        text-align: center;
    }

    .login-hero-tag {
        margin-bottom: 14px;
    }

    .login-hero-title {
        font-size: 28px;
    }

    .login-hero-desc {
        font-size: 14px;
        line-height: 1.7;
    }

    .login-hero-tips {
        justify-content: center;
    }

    .login-alien:not(.login-alien--page-dock) {
        width: 300px;
        height: 320px;
        margin: 0 auto;
    }

    .alien-body {
        transform: scale(0.84);
        transform-origin: center top;
    }

    .login-alien.login-alien--hero-inline .alien-body {
        transform: scale(0.94);
    }

    .login-hero-mascot-wrap {
        min-height: 240px;
        padding: 20px 0 8px;
    }

    .login-alien.login-alien--hero-inline {
        margin-top: 12px;
    }

    .alien-shadow {
        bottom: 48px;
    }
}

@media screen and (max-width: 480px) {
    .login-hero-desc {
        display: none;
    }

    .login-mascot-tools li {
        font-size: 13px;
    }

    .login-mascot-more {
        font-size: 12px;
    }

    .login-hero-tips span {
        font-size: 12px;
    }
}
