        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            -webkit-tap-highlight-color: transparent;
        }
        html, body {
            font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
            background: #f3f4f6;
            color: #333;
            font-size: 14px;
            line-height: 1.6;
        }
        html, body { height: 100%; }
        a { text-decoration: none; color: inherit; }

        .app-wrap {
            position: relative;
            width: 100%;
            max-width: 480px;
            min-height: 100vh;
            margin: 0 auto;
            background: #fff;
            padding: 30px 22px;
        }

        /* 桌面端（含平板横屏）：卡片水平居中、垂直方向位于视窗上 1/3 偏上的位置，
           背景使用品牌色柔和渐变。卡片若超过视窗高度也能正常滚动。 */
        @media (min-width: 768px) {
            body {
                min-height: 100vh;
                display: flex;
                flex-direction: column;
                align-items: center;
                padding: clamp(40px, 9vh, 110px) 24px 32px;
                background:
                    radial-gradient(1200px 600px at 12% -10%, rgba(255, 120, 117, 0.18), transparent 60%),
                    radial-gradient(900px 500px at 110% 110%, rgba(255, 77, 79, 0.16), transparent 60%),
                    linear-gradient(135deg, #f6f7fb 0%, #eceff5 100%);
            }
            .app-wrap {
                width: 420px;
                max-width: 100%;
                min-height: auto;
                margin: 0;
                padding: 36px 36px 32px;
                border-radius: 14px;
                background: #fff;
                box-shadow:
                    0 18px 40px rgba(40, 50, 80, 0.12),
                    0 4px 12px rgba(40, 50, 80, 0.06);
            }
        }
        @media (min-width: 768px) and (min-height: 720px) {
            .app-wrap { padding: 44px 40px 36px; }
        }

        .login-head { margin-bottom: 26px; }
        .login-head h1 {
            display: inline-block;
            font-size: 22px;
            font-weight: 800;
            color: #222;
            line-height: 1.3;
            padding-bottom: 6px;
            border-bottom: 3px solid #ff4d4f;
        }
        .login-head .tip {
            margin-top: 8px;
            font-size: 14px;
            color: #888;
        }

        .login-field {
            position: relative;
            margin-bottom: 14px;
        }
        .login-field .ico {
            position: absolute;
            left: 14px;
            top: 50%;
            transform: translateY(-50%);
            color: #999;
            font-size: 16px;
        }
        .login-field input {
            width: 100%;
            height: 50px;
            padding: 0 14px 0 42px;
            border: 1px solid #d9d9d9;
            border-radius: 8px;
            background: #fff;
            font-size: 14px;
            color: #222;
            outline: none;
            transition: border-color .15s;
        }
        .login-field input:focus { border-color: #ff4d4f; }
        .login-field input::placeholder { color: #b0b3bd; }
        .login-field .forgot {
            position: absolute;
            right: 14px;
            top: 50%;
            transform: translateY(-50%);
            font-size: 13px;
            color: #999;
            cursor: pointer;
        }
        .login-field .forgot:hover { color: #ff4d4f; }

        .login-field.with-captcha input {
            padding-right: 130px;
        }
        .login-field.with-captcha .captcha-img {
            position: absolute;
            right: 6px;
            top: 50%;
            transform: translateY(-50%);
            height: 38px;
            width: 118px;
            border-radius: 6px;
            cursor: pointer;
            background: #f5f5f5;
            object-fit: cover;
        }

        .login-submit {
            width: 100%;
            height: 50px;
            margin-top: 6px;
            border: none;
            border-radius: 8px;
            background: linear-gradient(180deg, #ff5a5c, #ff4d4f);
            color: #fff;
            font-size: 16px;
            font-weight: 600;
            cursor: pointer;
            box-shadow: 0 4px 12px rgba(255, 77, 79, 0.25);
            transition: opacity .15s;
        }
        .login-submit:active { opacity: 0.85; }
        .login-submit.is-loading { opacity: 0.7; pointer-events: none; }

        .login-extra {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-top: 14px;
            font-size: 13px;
        }
        .login-extra .left { color: #999; }
        .login-extra .right { color: #1890ff; cursor: pointer; }

        .login-policy {
            margin-top: 24px;
            font-size: 12px;
            color: #999;
            text-align: center;
        }
        .login-policy a { color: #1890ff; }
