        /* 样式保持不变（与前文相同，此处省略以节省篇幅） */
        body {
            font-family: 'Segoe UI', '微軟正黑體', 'Poppins', system-ui, sans-serif;
            background: linear-gradient(135deg, #0A0F24 0%, #181D45 50%, #0C1230 100%);
            min-height: 100vh;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            padding: 20px;
            position: relative;
            overflow-x: hidden;
        }
        body::before, body::after { content: ''; position: absolute; pointer-events: none; }
        body::before {
            width: 100%; height: 100%;
            background-image: linear-gradient(rgba(0,255,255,0.03) 1px, transparent 1px),
                              linear-gradient(90deg, rgba(0,255,255,0.03) 1px, transparent 1px);
            background-size: 40px 40px;
        }
        body::after {
            width: 150%; height: 150%; top: -25%; left: -25%;
            background: radial-gradient(circle at 30% 40%, rgba(99,102,241,0.2), transparent 55%),
                        radial-gradient(circle at 72% 65%, rgba(34,211,238,0.14), transparent 50%);
            animation: pulse 8s ease-in-out infinite;
        }
        .glass-card {
            background: rgba(248, 250, 255, 0.96);
            backdrop-filter: blur(14px);
            border-radius: 40px;
            box-shadow: 0 25px 55px rgba(15,23,42,0.28), 0 0 40px rgba(99,102,241,0.18);
            width: 100%; max-width: 1000px; padding: 2.2rem 2rem 2.8rem;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            position: relative; z-index: 2;
            isolation: isolate;
        }
        .glass-card:hover { transform: translateY(-6px); box-shadow: 0 32px 60px rgba(15,23,42,0.35), 0 0 55px rgba(139,92,246,0.25); }
        h1 {
            font-size: 2.2rem; font-weight: 700;
            background: linear-gradient(120deg, #22d3ee, #818cf8 45%, #ec4899);
            background-clip: text; -webkit-background-clip: text; color: transparent;
            margin-bottom: 0.5rem; display: flex; align-items: center; justify-content: center; gap: 12px;
        }
        .subtitle { text-align: center; font-size: 0.9rem; margin-bottom: 2rem; border-bottom: 1px solid rgba(139,92,246,0.25); padding-bottom: 0.8rem; font-weight: 600; background: linear-gradient(90deg, #6366f1, #8b5cf6, #ec4899); -webkit-background-clip: text; background-clip: text; color: transparent; letter-spacing: 0.4px; }
        .input-group { margin-bottom: 1.5rem; }
        label { display: block; font-weight: 600; color: #475569; margin-bottom: 0.6rem; font-size: 0.9rem; letter-spacing: 0.8px; }
        .input-wrapper { position: relative; }
        .input-icon { position: absolute; left: 20px; top: 50%; transform: translateY(-50%); color: #6366f1; font-size: 1.2rem; pointer-events: none; z-index: 1; }
        input, select, button, textarea {
            width: 100%; padding: 15px 20px 15px 55px; font-size: 1rem;
            border: 1px solid rgba(99,102,241,0.4); border-radius: 60px;
            background: #f8fafc; transition: all 0.2s; font-family: inherit; color: #1e293b;
        }
        textarea { border-radius: 24px; padding: 15px 20px; height: 200px; resize: vertical; }
        input:focus, select:focus, textarea:focus { outline: none; border-color: #6366f1; box-shadow: 0 0 0 4px rgba(99,102,241,0.2); background: white; }
        button { background: linear-gradient(90deg, #22d3ee, #6366f1); color: white; cursor: pointer; font-weight: bold; }
        button:hover { transform: translateY(-2px); box-shadow: 0 8px 18px rgba(99,102,241,0.4); }
        button:disabled { opacity: 0.7; cursor: not-allowed; }
        .checkbox-group { display: flex; align-items: center; gap: 8px; margin: 15px 0; }
        .checkbox-group input { width: auto; margin: 0; transform: scale(1.1); cursor: pointer; }
        .replace-group { background: rgba(99,102,241,0.05); border-radius: 30px; padding: 15px; margin: 15px 0; transition: opacity 0.2s; }
        .replace-group.disabled { opacity: 0.5; }
        .replace-group .replace-input { margin-bottom: 10px; }
        .replace-group .replace-input input { width: 100%; padding: 10px 15px; border-radius: 60px; }
        .replace-group .replace-label { font-size: 0.8rem; color: #475569; text-align: center; display: block; margin: 5px 0; }
        .drop-zone { border: 2px dashed rgba(99,102,241,0.5); border-radius: 30px; padding: 20px; text-align: center; margin: 15px 0; background: rgba(248,250,255,0.5); transition: all 0.2s; cursor: default; }
        .drop-zone.drag-over { border-color: #6366f1; background: rgba(99,102,241,0.1); transform: scale(1.01); }
        .drop-zone p { color: #475569; font-size: 0.85rem; margin: 0; }
        .preview-area { margin-top: 10px; background: #f1f5f9; border-radius: 20px; padding: 10px; font-size: 0.8rem; max-height: 150px; overflow: auto; font-family: monospace; white-space: pre-wrap; }
        .warning-area { background: #fef3c7; border-left: 4px solid #f59e0b; padding: 8px 12px; margin: 10px 0; border-radius: 12px; font-size: 0.8rem; color: #92400e; }
        .mapping-area { background: rgba(99,102,241,0.05); border-radius: 20px; padding: 10px; margin: 10px 0; }
        .mapping-row { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
        .mapping-row label { width: 120px; margin: 0; font-size: 0.8rem; }
        .mapping-row select { flex: 1; padding: 6px; font-size: 0.8rem; }
        .status { margin-top: 1rem; padding: 12px; border-radius: 60px; display: none; text-align: center; }
        .status.success { background: #10b981; color: white; }
        .status.error { background: #f43f5e; color: white; }
        .hidden { display: none; }
        /* 已登录用户首帧直接显示上传面板，避免闪现登录页（配合 head 内同步脚本） */
        html.authed #loginPanel { display: none !important; }
        html.authed #uploadPanel { display: block !important; }
        footer { margin-top: 2rem; text-align: center; font-size: 0.7rem; color: #94a3b8; letter-spacing: 0.5px; }
    