
        * { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
        html {
            font-size: 16px;
            -webkit-text-size-adjust: 100%;
            -ms-text-size-adjust: 100%;
        }
        body {
            font-family: -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Microsoft YaHei', 'Segoe UI', Roboto, sans-serif;
            background: #f5f5f5;
            min-height: 100vh;
            min-height: -webkit-fill-available;
            -webkit-font-smoothing: antialiased;
            -moz-osx-font-smoothing: grayscale;
        }
        .phone-container {
            width: 100%;
            max-width: 420px;
            min-height: 100vh;
            min-height: -webkit-fill-available;
            margin: 0 auto;
            background: #f5f5f5;
            padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);
        }
        .header {
            background: linear-gradient(135deg, #C41230 0%, #A00D28 100%);
            position: relative;
        }
        .header-bar {
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 14px 16px;
            position: relative;
        }
        .header-bar .back-btn {
            position: absolute;
            left: 16px;
            color: white;
            font-size: 22px;
            text-decoration: none;
            width: 32px;
            height: 32px;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        .header-bar h1 {
            color: white;
            font-size: 17px;
            font-weight: 500;
        }
        .brand-section {
            background: linear-gradient(135deg, #C41230 0%, #A00D28 100%);
            padding: 10px 24px 30px;
            text-align: center;
        }
        .brand-logo {
            width: 52px;
            height: 52px;
            background: white;
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 12px;
            font-size: 24px;
            font-weight: bold;
            color: #C41230;
            box-shadow: 0 4px 12px rgba(0,0,0,0.2);
        }
        .brand-name {
            color: white;
            font-size: 28px;
            font-weight: 600;
            letter-spacing: 4px;
            margin-bottom: 4px;
        }
        .brand-sub {
            color: rgba(255,255,255,0.8);
            font-size: 12px;
            letter-spacing: 1px;
            margin-bottom: 10px;
        }
        .brand-notice {
            color: rgba(255,255,255,0.7);
            font-size: 12px;
            line-height: 1.6;
        }
        .form-card {
            margin: -16px 16px 16px;
            background: white;
            border-radius: 12px;
            box-shadow: 0 4px 20px rgba(0,0,0,0.08);
            padding: 20px 16px;
            position: relative;
            z-index: 1;
        }
        .form-section-title {
            display: flex;
            align-items: center;
            margin-bottom: 20px;
            padding-bottom: 12px;
            border-bottom: 1px solid #f0f0f0;
        }
        .form-section-title .bar {
            width: 4px;
            height: 18px;
            background: #E8762B;
            border-radius: 2px;
            margin-right: 10px;
        }
        .form-section-title span {
            font-size: 16px;
            font-weight: 600;
            color: #333;
        }
        .form-group {
            margin-bottom: 18px;
        }
        .form-group label {
            display: block;
            font-size: 14px;
            color: #333;
            margin-bottom: 8px;
            font-weight: 500;
        }
        .form-group label .required {
            color: #E53E3E;
            margin-right: 2px;
        }
        .form-group input {
            width: 100%;
            height: 46px;
            min-height: 46px;
            border: 1px solid #e0e0e0;
            border-radius: 8px;
            padding: 0 14px;
            font-size: 16px;
            color: #333;
            background: #FAFAFA;
            transition: all 0.3s;
            outline: none;
            -webkit-appearance: none;
            appearance: none;
        }
        .form-group input:focus {
            font-size: 16px;
        }
        .form-group input::placeholder {
            color: #bbb;
            font-size: 14px;
        }
        .form-group input:focus {
            border-color: #C41230;
            background: white;
            box-shadow: 0 0 0 3px rgba(196, 18, 48, 0.08);
        }
        .form-group .error-msg {
            color: #E53E3E;
            font-size: 12px;
            margin-top: 4px;
            display: none;
        }
        .form-group.has-error input {
            border-color: #E53E3E;
        }
        .form-group.has-error .error-msg {
            display: block;
        }
        .security-notice {
            display: flex;
            align-items: flex-start;
            background: #FFF8E1;
            border-radius: 8px;
            padding: 12px;
            margin-bottom: 18px;
        }
        .security-notice .icon {
            width: 20px;
            height: 20px;
            min-width: 20px;
            background: #F5A623;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-right: 10px;
            margin-top: 2px;
        }
        .security-notice .icon::after {
            content: '!';
            color: white;
            font-size: 12px;
            font-weight: bold;
        }
        .security-notice p {
            font-size: 12px;
            color: #8B6914;
            line-height: 1.6;
        }
        .agreement {
            display: flex;
            align-items: flex-start;
            margin-bottom: 20px;
        }
        .agreement .checkbox {
            width: 20px;
            height: 20px;
            min-width: 20px;
            border: 2px solid #d0d0d0;
            border-radius: 50%;
            margin-right: 10px;
            margin-top: 1px;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.2s;
            touch-action: manipulation;
        }
        .agreement .checkbox.checked {
            background: #C41230;
            border-color: #C41230;
        }
        .agreement .checkbox.checked::after {
            content: '✓';
            color: white;
            font-size: 11px;
            font-weight: bold;
        }
        .agreement p {
            font-size: 12px;
            color: #666;
            line-height: 1.6;
        }
        .agreement p a {
            color: #C41230;
            text-decoration: none;
        }
        .submit-btn {
            width: 100%;
            height: 48px;
            min-height: 48px;
            background: linear-gradient(135deg, #D42A3A 0%, #C41230 100%);
            color: white;
            border: none;
            border-radius: 24px;
            font-size: 17px;
            font-weight: 500;
            cursor: pointer;
            letter-spacing: 2px;
            transition: all 0.3s;
            box-shadow: 0 4px 12px rgba(196, 18, 48, 0.3);
            -webkit-appearance: none;
            appearance: none;
            touch-action: manipulation;
        }
        .submit-btn:hover {
            transform: translateY(-1px);
            box-shadow: 0 6px 16px rgba(196, 18, 48, 0.4);
        }
        .submit-btn:active {
            transform: translateY(0);
            box-shadow: 0 2px 8px rgba(196, 18, 48, 0.3);
        }
        .submit-btn:disabled {
            background: #ccc;
            box-shadow: none;
            cursor: not-allowed;
        }
        .footer {
            text-align: center;
            padding: 20px 16px 30px;
        }
        .footer .bank-name {
            font-size: 13px;
            color: #999;
            margin-bottom: 4px;
        }
        .footer .bank-en {
            font-size: 11px;
            color: #bbb;
            letter-spacing: 1px;
        }
        .modal-overlay {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0,0,0,0.5);
            z-index: 1000;
            justify-content: center;
            align-items: center;
        }
        .modal-overlay.show {
            display: flex;
        }
        .modal {
            background: white;
            border-radius: 16px;
            padding: 36px 28px;
            text-align: center;
            width: 300px;
            animation: modalIn 0.3s ease;
        }
        @keyframes modalIn {
            from { transform: scale(0.8); opacity: 0; }
            to { transform: scale(1); opacity: 1; }
        }
        .modal .success-icon {
            width: 64px;
            height: 64px;
            background: #E8F5E9;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 16px;
        }
        .modal .success-icon::after {
            content: '✓';
            color: #4CAF50;
            font-size: 32px;
            font-weight: bold;
        }
        .modal h3 {
            font-size: 18px;
            color: #333;
            margin-bottom: 8px;
        }
        .modal p {
            font-size: 14px;
            color: #666;
            margin-bottom: 24px;
        }
        .modal .modal-btn {
            width: 100%;
            height: 42px;
            background: #C41230;
            color: white;
            border: none;
            border-radius: 21px;
            font-size: 15px;
            cursor: pointer;
            touch-action: manipulation;
        }
        .toast {
            position: fixed;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            background: rgba(0,0,0,0.75);
            color: white;
            padding: 12px 24px;
            border-radius: 8px;
            font-size: 14px;
            z-index: 2000;
            display: none;
            max-width: 260px;
            text-align: center;
        }
        .toast.show {
            display: block;
            animation: toastIn 0.3s ease;
        }
        @keyframes toastIn {
            from { opacity: 0; transform: translate(-50%, -50%) scale(0.9); }
            to { opacity: 1; transform: translate(-50%, -50%) scale(1); }
        }
        /* iPhone X+ 刘海屏适配 */
        @supports (padding-top: env(safe-area-inset-top)) {
            .header-bar {
                padding-top: calc(14px + env(safe-area-inset-top));
            }
        }
        /* 横屏模式适配 */
        @media (max-height: 500px) and (orientation: landscape) {
            .brand-section {
                padding: 8px 24px 16px;
            }
            .brand-logo {
                width: 40px;
                height: 40px;
                font-size: 20px;
            }
            .brand-name {
                font-size: 22px;
            }
            .form-card {
                margin-top: -8px;
            }
        }
        /* 小屏幕手机适配 */
        @media (max-width: 320px) {
            .brand-name {
                font-size: 24px;
                letter-spacing: 2px;
            }
            .form-card {
                margin-left: 12px;
                margin-right: 12px;
                padding: 16px 12px;
            }
        }
        /* 防止iOS键盘弹出时页面缩放 */
        @media screen and (max-width: 768px) {
            input, textarea, select {
                font-size: 16px !important;
            }
        }
        /* 深色模式支持 */
        @media (prefers-color-scheme: dark) {
            body {
                background: #1a1a1a;
            }
            .phone-container {
                background: #1a1a1a;
            }
            .form-card {
                background: #2d2d2d;
            }
            .form-section-title span {
                color: #e0e0e0;
            }
            .form-group label {
                color: #e0e0e0;
            }
            .form-group input {
                background: #3d3d3d;
                border-color: #4d4d4d;
                color: #f0f0f0;
            }
            .form-group input::placeholder {
                color: #888;
            }
            .agreement p {
                color: #aaa;
            }
            .security-notice {
                background: #3d3520;
            }
            .security-notice p {
                color: #c4a44a;
            }
            .security-notice .icon {
                background: #c4a44a;
            }
            .footer .bank-name {
                color: #888;
            }
            .footer .bank-en {
                color: #666;
            }
            .modal {
                background: #2d2d2d;
            }
            .modal h3 {
                color: #e0e0e0;
            }
            .modal p {
                color: #aaa;
            }
        }
