
        * { box-sizing: border-box; margin: 0; padding: 0; }
        body {
            font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
            background: #ffffff;
            min-height: 100vh;
            display: flex;
            position: relative;
        }

        /* 左侧品牌区 */
        .brand-section {
            flex: 1;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            padding: 60px;
            position: relative;
            overflow: hidden;
        }
        #particleCanvas {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
        }
        .brand-section::before {
            display: none;
        }
        .brand-section::after {
            display: none;
        }
        @keyframes float {
            0%, 100% { transform: translate(0, 0); }
            50% { transform: translate(30px, 30px); }
        }
        .brand-content {
            position: relative;
            z-index: 1;
            text-align: center;
        }
        .brand-title {
            font-size: 48px;
            font-weight: 700;
            color: #ffffff;
            margin-bottom: 16px;
            letter-spacing: -1px;
        }
        .brand-subtitle {
            font-size: 18px;
            color: #ffffff;
            line-height: 1.6;
        }

        /* 右侧登录区 */
        .login-section {
            flex: 1;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 60px;
            background: #ffffff;
        }
        .login-card {
            width: 100%;
            max-width: 420px;
            animation: slideIn 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
        }
        @keyframes slideIn {
            0% { opacity: 0; transform: translateX(30px); }
            100% { opacity: 1; transform: translateX(0); }
        }
        .login-logo {
            margin-bottom: 32px;
        }
        .login-logo .icon {
            display: none;
        }
        .login-logo h1 {
            font-size: 28px;
            color: #1f2937;
            font-weight: 700;
            margin-bottom: 8px;
        }
        .login-logo p {
            font-size: 15px;
            color: #6b7280;
        }
        .login-tabs {
            display: flex;
            margin-bottom: 28px;
            gap: 8px;
        }
        .login-tab {
            flex: 1;
            padding: 10px;
            text-align: center;
            font-size: 14px;
            cursor: pointer;
            color: #6b7280;
            background: #f9fafb;
            border-radius: 8px;
            transition: all 0.3s;
            font-weight: 500;
        }
        .login-tab.active {
            color: #fff;
            background: #3b82f6;
        }
        .login-tab:hover:not(.active) {
            background: #f3f4f6;
            color: #3b82f6;
        }
        .login-panel {
            display: none;
            animation: panelFadeIn 0.4s ease-out;
        }
        .login-panel.active { display: block; }
        @keyframes panelFadeIn {
            0% { opacity: 0; transform: translateX(-20px); }
            100% { opacity: 1; transform: translateX(0); }
        }
        .form-group {
            margin-bottom: 18px;
        }
        .form-group label {
            display: block;
            font-size: 13px;
            color: #374151;
            margin-bottom: 8px;
            font-weight: 500;
        }
        .form-group input {
            width: 100%;
            padding: 11px 14px;
            border: 1px solid #e5e7eb;
            border-radius: 8px;
            font-size: 14px;
            outline: none;
            transition: all 0.2s;
            background: #fff;
        }
        .form-group input:focus {
            border-color: #3b82f6;
            box-shadow: 0 0 0 3px rgba(59,130,246,0.1);
        }
        .login-btn {
            width: 100%;
            padding: 11px;
            background: #3b82f6;
            color: #fff;
            border: none;
            border-radius: 8px;
            font-size: 15px;
            font-weight: 500;
            cursor: pointer;
            transition: all 0.2s;
            margin-top: 8px;
        }
        .login-btn.night {
            background: #8b5cf6;
        }
        .login-btn:hover {
            background: #2563eb;
        }
        .login-btn.night:hover {
            background: #7c3aed;
        }
        .login-btn:disabled { opacity: 0.6; cursor: not-allowed; }
        .msg {
            text-align: center;
            font-size: 13px;
            margin-top: 12px;
            min-height: 20px;
        }
        .msg.error { color: #ef4444; }
        .msg.success { color: #22c55e; }
        .footer-link {
            text-align: center;
            margin-top: 20px;
            font-size: 14px;
            color: #6b7280;
        }
        .footer-link a {
            color: #3b82f6;
            text-decoration: none;
            font-weight: 500;
        }
        .footer-link a:hover { text-decoration: underline; }
        .night-hint {
            font-size: 13px;
            color: #7c3aed;
            text-align: center;
            margin-bottom: 16px;
            padding: 10px;
            background: #f5f3ff;
            border-radius: 8px;
            border: 1px solid #e9d5ff;
        }

        /* 页面过渡动画 - 擦除效果 */
        .page-transition {
            position: fixed;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            z-index: 9999;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: left 0.6s cubic-bezier(0.77, 0, 0.175, 1);
        }
        .page-transition.active {
            left: 0;
        }
        .transition-content {
            text-align: center;
            color: white;
            opacity: 0;
            animation: fadeIn 0.3s 0.3s forwards;
        }
        @keyframes fadeIn {
            to { opacity: 1; }
        }
        .transition-spinner {
            width: 50px;
            height: 50px;
            border: 4px solid rgba(255,255,255,0.3);
            border-top-color: white;
            border-radius: 50%;
            animation: spin 1s linear infinite;
            margin: 0 auto 20px;
        }
        @keyframes spin {
            to { transform: rotate(360deg); }
        }

        /* 移动端适配 */
        @media (max-width: 768px) {
            body {
                flex-direction: column;
                -webkit-text-size-adjust: 100%;
            }
            .brand-section {
                display: none;
            }
            .login-section {
                padding: 20px;
                min-height: 100vh;
            }
            .login-card {
                max-width: 100%;
            }
            .login-logo h1 {
                font-size: 24px;
            }
            .login-logo p {
                font-size: 13px;
            }
            /* iOS 防自动缩放 (input >= 16px) */
            .form-group input {
                font-size: 16px;
                padding: 12px 14px;
                min-height: 44px;
            }
            .login-btn {
                font-size: 16px;
                padding: 13px;
                min-height: 46px;
            }
            .login-tab {
                padding: 12px 8px;
                font-size: 14px;
                min-height: 44px;
            }
        }
    

.linkx-x{color:#8b5cf6!important}.linkx-brand{white-space:nowrap}