@charset "utf-8";
/* ============================================================
 * user_auth.css — 前台认证页公共样式（forget / login_password / login_mobile / register）
 * ------------------------------------------------------------
 * B5-5：由 4 个认证页内联 <style> 迁移而来，按页面 body 类作用域组织：
 *   body.auth-forget / body.auth-register / body.auth-login-password / body.auth-login-mobile
 * ============================================================ */

/* ==================== auth-forget ==================== */
body.auth-forget .top-banner {
    width: 100%;
    height: 5vh;
    background: #d3dce9;
    display: flex;
    align-items: center;
    padding: 0 0 0 0;
    box-sizing: border-box;
}
body.auth-forget .top-banner .top-logo {
    height: 100%;
    display: flex;
    align-items: center;
}
body.auth-forget .top-banner .top-logo img {
    max-height: 100%;
    width: auto;
    display: block;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background-color: #fff; /* 原 user/index.html body 内联样式迁移 */
}
body.auth-forget .main-content {
    flex: 1;
    position: relative;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 15%;
    min-height: 0;
    overflow-y: auto;
}
body.auth-forget .main-content::before {
    content: '';
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: url('/static/images/dlbg.jpg') no-repeat 20% center;
    background-size: 33.33%;
    opacity: 0.9;
    z-index: 0;
    pointer-events: none;
}
body.auth-forget .card-wrapper {
    position: relative;
    z-index: 1;
    display: flex;
    gap: clamp(12px, 2vw, 24px);
    align-items: stretch;
    padding: clamp(16px, 3vh, 40px) 0;
}
body.auth-forget .auth-card {
    width: clamp(320px, 28vw, 380px);
    background: #fff;
    border-radius: clamp(12px, 1.5vw, 16px);
    box-shadow: 0 8px 32px rgba(0,0,0,0.12);
    padding: clamp(24px, 3vh, 40px) clamp(20px, 2.5vw, 36px);
    position: relative;
    overflow: hidden;
}
body.auth-forget .auth-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, #3B82F6, #60A5FA);
}
body.auth-forget .auth-card h2 {
    font-size: clamp(22px, 2.5vw, 28px);
    font-weight: 700;
    color: #1f2937;
    margin-bottom: clamp(4px, 1vh, 8px);
    line-height: 1.2;
}
body.auth-forget .auth-card .subtitle {
    font-size: clamp(13px, 1.2vw, 15px);
    color: #6b7280;
    margin-bottom: clamp(16px, 2vh, 24px);
}
body.auth-forget .form-group { margin-bottom: clamp(6px, 1vh, 12px); }
body.auth-forget .form-group:last-child { margin-bottom: 0; }
body.auth-forget .form-input {
    width: 100%;
    height: clamp(40px, 5vh, 48px);
    border: 1px solid #e5e7eb;
    border-radius: clamp(8px, 1vw, 10px);
    padding: 0 14px;
    font-size: clamp(13px, 1.1vw, 14px);
    color: #1f2937;
    background: #fafafa;
    transition: all 0.3s;
    outline: none;
}
body.auth-forget .form-input:focus {
    border-color: #3B82F6;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}
body.auth-forget .form-input::placeholder { color: #9ca3af; }
body.auth-forget .captcha-row { display: flex; gap: clamp(8px, 1vw, 12px); }
body.auth-forget .captcha-row .form-input { flex: 1; }
body.auth-forget .captcha-img {
    width: clamp(100px, 10vw, 120px);
    height: clamp(40px, 5vh, 48px);
    border-radius: clamp(8px, 1vw, 10px);
    border: 1px solid #e5e7eb;
    cursor: pointer;
    object-fit: cover;
}
body.auth-forget .btn-captcha {
    width: clamp(100px, 10vw, 120px);
    height: clamp(40px, 5vh, 48px);
    border-radius: clamp(8px, 1vw, 10px);
    border: none;
    background: #F97316;
    color: #fff;
    font-size: clamp(12px, 1vw, 13px);
    cursor: pointer;
    transition: all 0.3s;
    white-space: nowrap;
}
body.auth-forget .btn-captcha:hover { background: #EA580C; }
body.auth-forget .btn-submit {
    width: 100%;
    height: clamp(44px, 5.5vh, 52px);
    border-radius: clamp(8px, 1vw, 10px);
    border: none;
    background: #10B981;
    color: #fff;
    font-size: clamp(14px, 1.3vw, 16px);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: clamp(4px, 1vh, 8px);
}
body.auth-forget .btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(16, 185, 129, 0.3);
}
body.auth-forget .form-footer {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4px;
    margin-top: clamp(8px, 1.2vh, 12px);
    font-size: clamp(12px, 1vw, 13px);
}
body.auth-forget .form-footer a {
    color: #3B82F6;
    text-decoration: none;
    transition: color 0.3s;
}
body.auth-forget .form-footer a:hover {
    color: #2563EB;
    text-decoration: underline;
}
body.auth-forget .site-footer {
    width: 100%;
    background: #f5f5f5;
    border-top: 1px solid #e5e5e5;
    padding: clamp(10px, 1.5vh, 20px) clamp(20px, 3vw, 40px);
    text-align: center;
}
body.auth-forget .site-footer p {
    font-size: clamp(11px, 1vw, 13px);
    color: #6b7280;
    line-height: 1.8;
    margin: 0;
}
body.auth-forget .site-footer a {
    color: #6b7280;
    text-decoration: none;
    transition: color 0.3s;
}
body.auth-forget .site-footer a:hover { color: #6b7280; }

@media (max-width: 1200px) {
body.auth-forget .main-content { padding-right: 10%; }
}

@media (max-width: 992px) {
body.auth-forget .main-content {
        padding-right: 5%;
        justify-content: center;
    }
}

@media (max-width: 768px) {
body.auth-forget .main-content {
        padding: clamp(16px, 3vh, 40px) 20px;
        justify-content: center;
    }
body.auth-forget .card-wrapper {
        flex-direction: column;
        width: 100%;
        max-width: 400px;
    }
body.auth-forget .auth-card { width: 100%; }
body.auth-forget .captcha-row { flex-wrap: wrap; }
body.auth-forget .captcha-img { width: 100%; }
body.auth-forget .btn-captcha { width: 100%; margin-top: 8px; }
}

@media (max-height: 800px) {
body { overflow-y: auto; }
body.auth-forget .main-content { overflow-y: visible; }
body.auth-forget .auth-card { padding: 20px 24px; }
body.auth-forget .form-group { margin-bottom: 6px; }
body.auth-forget .auth-card .subtitle { margin-bottom: 10px; }
}

@media (max-height: 700px) {
body.auth-forget .auth-card { padding: 16px 20px; }
body.auth-forget .form-input { height: 38px; font-size: 13px; }
body.auth-forget .captcha-img { height: 38px; }
body.auth-forget .btn-captcha { height: 38px; }
body.auth-forget .btn-submit { height: 40px; }
}

@media (max-height: 600px) {
body.auth-forget .top-banner { height: 50px; padding: 0 0 0 0; }
body.auth-forget .auth-card { padding: 16px 20px; }
body.auth-forget .form-input { height: 36px; font-size: 13px; }
body.auth-forget .btn-submit { height: 40px; font-size: 14px; }
}

/* ==================== auth-register ==================== */
body.auth-register .top-banner {
    width: 100%;
    height: 5vh;
    background: #d3dce9;
    display: flex;
    align-items: center;
    padding: 0 0 0 0;
}
body.auth-register .top-banner .top-logo {
    height: 100%;
    display: flex;
    align-items: center;
}
body.auth-register .top-banner .top-logo img {
    max-height: 100%;
    width: auto;
    display: block;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background-color: #fff; /* 原 user/index.html body 内联样式迁移 */
}
body.auth-register .main-content {
    flex: 1;
    position: relative;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 15%;
    min-height: 0;
    overflow-y: auto;
}
body.auth-register .main-content::before {
    content: '';
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: url('/static/images/dlbg.jpg') no-repeat 20% center;
    background-size: 33.33%;
    opacity: 0.9;
    z-index: 0;
    pointer-events: none;
}
body.auth-register .card-wrapper {
    position: relative;
    z-index: 1;
    display: flex;
    gap: clamp(12px, 2vw, 24px);
    align-items: stretch;
    padding: clamp(16px, 3vh, 40px) 0;
}
body.auth-register .auth-card {
    width: clamp(320px, 28vw, 380px);
    background: #fff;
    border-radius: clamp(12px, 1.5vw, 16px);
    box-shadow: 0 8px 32px rgba(0,0,0,0.12);
    padding: clamp(24px, 3vh, 40px) clamp(20px, 2.5vw, 36px);
    position: relative;
    overflow: hidden;
}
body.auth-register .auth-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, #3B82F6, #60A5FA);
}
body.auth-register .auth-card h2 {
    font-size: clamp(22px, 2.5vw, 28px);
    font-weight: 700;
    color: #1f2937;
    margin-bottom: clamp(4px, 1vh, 8px);
    line-height: 1.2;
}
body.auth-register .auth-card .subtitle {
    font-size: clamp(13px, 1.2vw, 15px);
    color: #6b7280;
    margin-bottom: clamp(16px, 2vh, 24px);
}
body.auth-register .form-group { margin-bottom: clamp(6px, 1vh, 12px); }
body.auth-register .form-group:last-child { margin-bottom: 0; }
body.auth-register .form-input {
    width: 100%;
    height: clamp(40px, 5vh, 48px);
    border: 1px solid #e5e7eb;
    border-radius: clamp(8px, 1vw, 10px);
    padding: 0 14px;
    font-size: clamp(13px, 1.1vw, 14px);
    color: #1f2937;
    background: #fafafa;
    transition: all 0.3s;
    outline: none;
}
body.auth-register .form-input:focus {
    border-color: #3B82F6;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}
body.auth-register .form-input::placeholder { color: #9ca3af; }
body.auth-register .captcha-row { display: flex; gap: clamp(8px, 1vw, 12px); }
body.auth-register .captcha-row .form-input { flex: 1; }
body.auth-register .captcha-img {
    width: clamp(100px, 10vw, 120px);
    height: clamp(40px, 5vh, 48px);
    border-radius: clamp(8px, 1vw, 10px);
    border: 1px solid #e5e7eb;
    cursor: pointer;
    object-fit: cover;
}
body.auth-register .btn-captcha {
    width: clamp(100px, 10vw, 120px);
    height: clamp(40px, 5vh, 48px);
    border-radius: clamp(8px, 1vw, 10px);
    border: none;
    background: #F97316;
    color: #fff;
    font-size: clamp(12px, 1vw, 13px);
    cursor: pointer;
    transition: all 0.3s;
    white-space: nowrap;
}
body.auth-register .btn-captcha:hover { background: #EA580C; }
body.auth-register .member-type {
    display: flex;
    align-items: center;
    gap: clamp(16px, 2vw, 24px);
    margin-bottom: clamp(6px, 1vh, 12px);
}
body.auth-register .member-type label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: clamp(13px, 1.1vw, 14px);
    color: #4b5563;
    cursor: pointer;
}
body.auth-register .member-type input[type="radio"] {
    width: 16px;
    height: 16px;
    accent-color: #3B82F6;
    cursor: pointer;
}
body.auth-register .btn-submit {
    width: 100%;
    height: clamp(44px, 5.5vh, 52px);
    border-radius: clamp(8px, 1vw, 10px);
    border: none;
    background: #10B981;
    color: #fff;
    font-size: clamp(14px, 1.3vw, 16px);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: clamp(4px, 1vh, 8px);
}
body.auth-register .btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(16, 185, 129, 0.3);
}
body.auth-register .form-footer {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: clamp(8px, 1.2vh, 12px);
    font-size: clamp(12px, 1vw, 13px);
}
body.auth-register .form-footer a {
    color: #3B82F6;
    text-decoration: none;
    transition: color 0.3s;
}
body.auth-register .form-footer a:hover {
    color: #2563EB;
    text-decoration: underline;
}
body.auth-register .site-footer {
    width: 100%;
    background: #f5f5f5;
    border-top: 1px solid #e5e5e5;
    padding: clamp(10px, 1.5vh, 20px) clamp(20px, 3vw, 40px);
    text-align: center;
}
body.auth-register .site-footer p {
    font-size: clamp(11px, 1vw, 13px);
    color: #6b7280;
    line-height: 1.8;
    margin: 0;
}
body.auth-register .site-footer a {
    color: #6b7280;
    text-decoration: none;
    transition: color 0.3s;
}
body.auth-register .site-footer a:hover { color: #6b7280; }

@media (max-width: 1200px) {
body.auth-register .main-content { padding-right: 10%; }
}

@media (max-width: 992px) {
body.auth-register .main-content {
        padding-right: 5%;
        justify-content: center;
    }
}

@media (max-width: 768px) {
body.auth-register .main-content {
        padding: clamp(16px, 3vh, 40px) 20px;
        justify-content: center;
    }
body.auth-register .card-wrapper {
        flex-direction: column;
        width: 100%;
        max-width: 400px;
    }
body.auth-register .auth-card { width: 100%; }
body.auth-register .captcha-row { flex-wrap: wrap; }
body.auth-register .captcha-img { width: 100%; }
body.auth-register .btn-captcha { width: 100%; margin-top: 8px; }
}

@media (max-height: 800px) {
body { overflow-y: auto; }
body.auth-register .main-content { overflow-y: visible; }
body.auth-register .auth-card { padding: 20px 24px; }
body.auth-register .form-group { margin-bottom: 6px; }
body.auth-register .auth-card .subtitle { margin-bottom: 10px; }
body.auth-register .member-type { margin-bottom: 6px; }
}

@media (max-height: 700px) {
body.auth-register .auth-card { padding: 16px 20px; }
body.auth-register .form-input { height: 38px; font-size: 13px; }
body.auth-register .btn-submit { height: 40px; font-size: 14px; }
body.auth-register .captcha-img { height: 38px; }
body.auth-register .btn-captcha { height: 38px; }
}

@media (max-height: 600px) {
body.auth-register .top-banner { height: 50px; padding: 0 0 0 0; }
body.auth-register .auth-card { padding: 12px 16px; }
body.auth-register .auth-card h2 { font-size: 20px; }
body.auth-register .form-group { margin-bottom: 4px; }
body.auth-register .member-type { gap: 12px; }
body.auth-register .site-footer { padding: 8px 20px; }
body.auth-register .site-footer p { font-size: 11px; }
}

@media (max-height: 500px) {
body.auth-register .card-wrapper { padding: 8px 0; }
body.auth-register .auth-card { padding: 8px 12px; }
body.auth-register .form-input { height: 32px; padding: 0 10px; }
body.auth-register .btn-submit { height: 36px; }
}

/* ==================== auth-login-password ==================== */
body.auth-login-password .top-banner {
    width: 100%;
    height: 5vh;
    background: #d3dce9;
    display: flex;
    align-items: center;
    padding: 0 0 0 0;
    box-sizing: border-box;
}
body.auth-login-password .top-banner .top-logo {
    height: 100%;
    display: flex;
    align-items: center;
}
body.auth-login-password .top-banner .top-logo img {
    max-height: 100%;
    width: auto;
    display: block;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background-color: #fff; /* 原 user/index.html body 内联样式迁移 */
}
body.auth-login-password .main-content {
    flex: 1;
    position: relative;
    background: #fff;
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    padding-right: 15%;
    min-height: 0;
    overflow-y: auto;
}
body.auth-login-password .main-content::before {
    content: '';
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: url('/static/images/dlbg.jpg') no-repeat 20% center;
    background-size: 33.33%;
    opacity: 0.9;
    z-index: 0;
    pointer-events: none;
}
body.auth-login-password .card-wrapper {
    position: relative;
    z-index: 1;
    display: flex;
    margin: auto 0;
    padding: clamp(16px, 3vh, 40px) 0;
}
body.auth-login-password .login-card {
    width: clamp(320px, 28vw, 380px);  
    background: #fff;
    border-radius: clamp(12px, 1.5vw, 16px);
    box-shadow: 0 8px 32px rgba(0,0,0,0.12);
    position: relative;
    overflow: hidden;
    display: flex;
    padding: clamp(24px, 3vh, 40px) clamp(20px, 2.5vw, 36px);  
    gap: clamp(24px, 3vw, 48px);
}
body.auth-login-password .login-card.with-qr {
    width: auto;  
}
body.auth-login-password .login-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, #10B981, #34D399);
}
body.auth-login-password .login-panel {
    flex: 0 0 auto;
    
    width: calc(clamp(320px, 28vw, 380px) - 2 * clamp(20px, 2.5vw, 36px));
    display: flex;
    flex-direction: column;
    justify-content: center;
}
body.auth-login-password .login-panel h2 {
    font-size: clamp(24px, 2.6vw, 30px);
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 6px;
    line-height: 1.2;
}
body.auth-login-password .login-panel .subtitle {
    font-size: clamp(24px, 2.6vw, 30px);
    font-weight: 600;
    color: #1f2937;
    margin-bottom: clamp(24px, 3vh, 36px);
    line-height: 1.3;
}
body.auth-login-password .form-group { margin-bottom: clamp(12px, 1.6vh, 16px); }
body.auth-login-password .form-group:last-child { margin-bottom: 0; }
body.auth-login-password .form-input {
    width: 100%;
    height: clamp(44px, 5.2vh, 50px);
    border: 1px solid #e5e7eb;
    border-radius: clamp(8px, 1vw, 10px);
    padding: 0 16px;
    font-size: clamp(13px, 1.1vw, 14px);
    color: #1f2937;
    background: #fafafa;
    transition: all 0.3s;
    outline: none;
}
body.auth-login-password .form-input:focus {
    border-color: #3B82F6;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}
body.auth-login-password .form-input::placeholder { color: #9ca3af; }
body.auth-login-password .captcha-row { display: flex; gap: clamp(10px, 1.2vw, 14px); }
body.auth-login-password .captcha-row .form-input { flex: 1; }
body.auth-login-password .btn-captcha {
    width: clamp(110px, 11vw, 130px);
    height: clamp(44px, 5.2vh, 50px);
    border-radius: clamp(8px, 1vw, 10px);
    border: none;
    background: #F97316;
    color: #fff;
    font-size: clamp(12px, 1vw, 13px);
    cursor: pointer;
    transition: all 0.3s;
    white-space: nowrap;
}
body.auth-login-password .btn-captcha:hover { background: #EA580C; }
body.auth-login-password .captcha-img {
    width: clamp(110px, 11vw, 130px);
    height: clamp(44px, 5.2vh, 50px);
    border-radius: clamp(8px, 1vw, 10px);
    border: 1px solid #e5e7eb;
    cursor: pointer;
    object-fit: cover;
    flex-shrink: 0;
}
body.auth-login-password .btn-submit {
    width: 100%;
    height: clamp(48px, 5.8vh, 54px);
    border-radius: clamp(8px, 1vw, 10px);
    border: none;
    background: #10B981;
    color: #fff;
    font-size: clamp(15px, 1.3vw, 17px);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: clamp(6px, 1vh, 10px);
}
body.auth-login-password .btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(16, 185, 129, 0.3);
}
body.auth-login-password .form-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: clamp(14px, 2vh, 20px);
    font-size: clamp(12px, 1vw, 13px);
}
body.auth-login-password .form-footer a {
    color: #3B82F6;
    text-decoration: none;
    transition: color 0.3s;
}
body.auth-login-password .form-footer a:hover {
    color: #2563EB;
    text-decoration: underline;
}
body.auth-login-password .form-footer .divider {
    color: #d1d5db;
    margin: 0 8px;
}
body.auth-login-password .qr-panel {
    flex: 0 0 auto;
    width: 286px;
    align-self: flex-start;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 0;
    text-align: center;
}
body.auth-login-password #wechat-qrcode {
    width: 286px;
    height: 400px;
    min-height: 0;
    background: transparent;
    overflow: visible;
}
body.auth-login-password #wechat-qrcode iframe {
    width: 100%;
    height: 100%;
    border: none;
}
body.auth-login-password .site-footer {
    width: 100%;
    background: #f5f5f5;
    border-top: 1px solid #e5e5e5;
    padding: 20px 40px;
    text-align: center;
}
body.auth-login-password .site-footer p {
    font-size: 13px;
    color: #6b7280;
    line-height: 1.8;
    margin: 0;
}
body.auth-login-password .site-footer a {
    color: #6b7280;
    text-decoration: none;
    transition: color 0.3s;
}
body.auth-login-password .site-footer a:hover { color: #6b7280; }

@media (max-width: 1200px) {
body.auth-login-password .main-content { padding-right: 10%; }
}

@media (max-width: 992px) {
body.auth-login-password .main-content {
        padding-right: 5%;
        justify-content: center;
    }
}

@media (max-width: 768px) {
body.auth-login-password .main-content {
        padding: clamp(16px, 3vh, 40px) 20px;
        justify-content: center;
    }
body.auth-login-password .login-card {
        width: 100%;
        max-width: 420px;
        flex-direction: column;
        padding: 28px 24px;
    }
body.auth-login-password .qr-panel { display: none; }
body.auth-login-password .login-panel { width: 100%; flex: 1 1 auto; }
body.auth-login-password .captcha-row { flex-wrap: wrap; }
body.auth-login-password .btn-captcha { width: 100%; margin-top: 8px; }
body.auth-login-password .captcha-img { width: 100%; margin-top: 8px; }
}

@media (max-width: 480px) {
body.auth-login-password .captcha-row { flex-wrap: nowrap; }
body.auth-login-password .btn-captcha,
body.auth-login-password .captcha-img { width: clamp(100px, 30vw, 130px); }
}

@media (max-height: 700px) {
body { overflow-y: auto; }
body.auth-login-password .main-content { overflow-y: visible; }
body.auth-login-password .login-card { padding: 22px 28px; }
body.auth-login-password .form-group { margin-bottom: 12px; }
body.auth-login-password .login-panel .subtitle { margin-bottom: 20px; }
body.auth-login-password #wechat-qrcode { width: 286px; height: 400px; }
}

@media (max-height: 600px) {
body.auth-login-password .top-banner { height: 50px; padding: 0 0 0 0; }
body.auth-login-password .login-card { padding: 16px 20px; }
body.auth-login-password .login-panel h2 { font-size: 22px; }
body.auth-login-password .login-panel .subtitle { font-size: 22px; }
body.auth-login-password .form-input { height: 40px; font-size: 13px; }
body.auth-login-password .btn-submit { height: 44px; font-size: 15px; }
body.auth-login-password .site-footer { padding: 8px 20px; }
body.auth-login-password .site-footer p { font-size: 11px; }
}

@media (max-height: 500px) {
body.auth-login-password .login-card { padding: 12px 16px; }
body.auth-login-password .form-group { margin-bottom: 8px; }
body.auth-login-password .btn-captcha { height: 40px; }
}

/* ==================== auth-login-mobile ==================== */
body.auth-login-mobile .top-banner {
    width: 100%;
    height: 5vh;
    background: #d3dce9;
    display: flex;
    align-items: center;
    padding: 0 0 0 0;
    box-sizing: border-box;
}
body.auth-login-mobile .top-banner .top-logo {
    height: 100%;
    display: flex;
    align-items: center;
}
body.auth-login-mobile .top-banner .top-logo img {
    max-height: 100%;
    width: auto;
    display: block;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background-color: #fff; /* 原 user/index.html body 内联样式迁移 */
}
body.auth-login-mobile .main-content {
    flex: 1;
    position: relative;
    background: #fff;
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    padding-right: 15%;
    min-height: 0;
    overflow-y: auto;
}
body.auth-login-mobile .main-content::before {
    content: '';
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: url('/static/images/dlbg.jpg') no-repeat 20% center;
    background-size: 33.33%;
    opacity: 0.9;
    z-index: 0;
    pointer-events: none;
}
body.auth-login-mobile .card-wrapper {
    position: relative;
    z-index: 1;
    display: flex;
    margin: auto 0;
    padding: clamp(16px, 3vh, 40px) 0;
}
body.auth-login-mobile .login-card {
    width: clamp(320px, 28vw, 380px);  
    background: #fff;
    border-radius: clamp(12px, 1.5vw, 16px);
    box-shadow: 0 8px 32px rgba(0,0,0,0.12);
    position: relative;
    overflow: hidden;
    display: flex;
    padding: clamp(24px, 3vh, 40px) clamp(20px, 2.5vw, 36px);  
    gap: clamp(24px, 3vw, 48px);
}
body.auth-login-mobile .login-card.with-qr {
    width: auto;  
}
body.auth-login-mobile .login-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, #10B981, #34D399);
}
body.auth-login-mobile .login-panel {
    flex: 0 0 auto;
    
    width: calc(clamp(320px, 28vw, 380px) - 2 * clamp(20px, 2.5vw, 36px));
    display: flex;
    flex-direction: column;
    justify-content: center;
}
body.auth-login-mobile .login-panel h2 {
    font-size: clamp(24px, 2.6vw, 30px);
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 6px;
    line-height: 1.2;
}
body.auth-login-mobile .login-panel .subtitle {
    font-size: clamp(24px, 2.6vw, 30px);
    font-weight: 600;
    color: #1f2937;
    margin-bottom: clamp(24px, 3vh, 36px);
    line-height: 1.3;
}
body.auth-login-mobile .form-group { margin-bottom: clamp(12px, 1.6vh, 16px); }
body.auth-login-mobile .form-group:last-child { margin-bottom: 0; }
body.auth-login-mobile .form-input {
    width: 100%;
    height: clamp(44px, 5.2vh, 50px);
    border: 1px solid #e5e7eb;
    border-radius: clamp(8px, 1vw, 10px);
    padding: 0 16px;
    font-size: clamp(13px, 1.1vw, 14px);
    color: #1f2937;
    background: #fafafa;
    transition: all 0.3s;
    outline: none;
}
body.auth-login-mobile .form-input:focus {
    border-color: #3B82F6;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}
body.auth-login-mobile .form-input::placeholder { color: #9ca3af; }
body.auth-login-mobile .captcha-row { display: flex; gap: clamp(10px, 1.2vw, 14px); }
body.auth-login-mobile .captcha-row .form-input { flex: 1; }
body.auth-login-mobile .btn-captcha {
    width: clamp(110px, 11vw, 130px);
    height: clamp(44px, 5.2vh, 50px);
    border-radius: clamp(8px, 1vw, 10px);
    border: none;
    background: #F97316;
    color: #fff;
    font-size: clamp(12px, 1vw, 13px);
    cursor: pointer;
    transition: all 0.3s;
    white-space: nowrap;
}
body.auth-login-mobile .btn-captcha:hover { background: #EA580C; }
body.auth-login-mobile .btn-submit {
    width: 100%;
    height: clamp(48px, 5.8vh, 54px);
    border-radius: clamp(8px, 1vw, 10px);
    border: none;
    background: #10B981;
    color: #fff;
    font-size: clamp(15px, 1.3vw, 17px);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: clamp(6px, 1vh, 10px);
}
body.auth-login-mobile .btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(16, 185, 129, 0.3);
}
body.auth-login-mobile .form-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: clamp(14px, 2vh, 20px);
    font-size: clamp(12px, 1vw, 13px);
}
body.auth-login-mobile .form-footer a {
    color: #3B82F6;
    text-decoration: none;
    transition: color 0.3s;
}
body.auth-login-mobile .form-footer a:hover {
    color: #2563EB;
    text-decoration: underline;
}
body.auth-login-mobile .form-footer .divider {
    color: #d1d5db;
    margin: 0 8px;
}
body.auth-login-mobile .qr-panel {
    flex: 0 0 auto;
    width: 286px;
    align-self: flex-start;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 0;
    text-align: center;
}
body.auth-login-mobile #wechat-qrcode {
    width: 286px;
    height: 400px;
    min-height: 0;
    background: transparent;
    overflow: visible;
}
body.auth-login-mobile #wechat-qrcode iframe {
    width: 100%;
    height: 100%;
    border: none;
}
body.auth-login-mobile .site-footer {
    width: 100%;
    background: #f5f5f5;
    border-top: 1px solid #e5e5e5;
    padding: 20px 40px;
    text-align: center;
}
body.auth-login-mobile .site-footer p {
    font-size: 13px;
    color: #6b7280;
    line-height: 1.8;
    margin: 0;
}
body.auth-login-mobile .site-footer a {
    color: #6b7280;
    text-decoration: none;
    transition: color 0.3s;
}
body.auth-login-mobile .site-footer a:hover { color: #6b7280; }

@media (max-width: 1200px) {
body.auth-login-mobile .main-content { padding-right: 10%; }
}

@media (max-width: 992px) {
body.auth-login-mobile .main-content {
        padding-right: 5%;
        justify-content: center;
    }
}

@media (max-width: 768px) {
body.auth-login-mobile .main-content {
        padding: clamp(16px, 3vh, 40px) 20px;
        justify-content: center;
    }
body.auth-login-mobile .login-card {
        width: 100%;
        max-width: 420px;
        flex-direction: column;
        padding: 28px 24px;
    }
body.auth-login-mobile .qr-panel { display: none; }
body.auth-login-mobile .login-panel { width: 100%; flex: 1 1 auto; }
body.auth-login-mobile .captcha-row { flex-wrap: wrap; }
body.auth-login-mobile .btn-captcha { width: 100%; margin-top: 8px; }
}

@media (max-height: 700px) {
body { overflow-y: auto; }
body.auth-login-mobile .main-content { overflow-y: visible; }
body.auth-login-mobile .login-card { padding: 22px 28px; }
body.auth-login-mobile .form-group { margin-bottom: 12px; }
body.auth-login-mobile .login-panel .subtitle { margin-bottom: 20px; }
body.auth-login-mobile #wechat-qrcode { width: 286px; height: 400px; }
}

@media (max-height: 600px) {
body.auth-login-mobile .top-banner { height: 50px; padding: 0 0 0 0; }
body.auth-login-mobile .login-card { padding: 16px 20px; }
body.auth-login-mobile .login-panel h2 { font-size: 22px; }
body.auth-login-mobile .login-panel .subtitle { font-size: 22px; }
body.auth-login-mobile .form-input { height: 40px; font-size: 13px; }
body.auth-login-mobile .btn-submit { height: 44px; font-size: 15px; }
body.auth-login-mobile .site-footer { padding: 8px 20px; }
body.auth-login-mobile .site-footer p { font-size: 11px; }
}

@media (max-height: 500px) {
body.auth-login-mobile .login-card { padding: 12px 16px; }
body.auth-login-mobile .form-group { margin-bottom: 8px; }
body.auth-login-mobile .btn-captcha { height: 40px; }
}
