.elementor-2243 .elementor-element.elementor-element-064ad4c{--display:flex;--align-items:center;--container-widget-width:calc( ( 1 - var( --container-widget-flex-grow ) ) * 100% );}/* Start custom CSS for html, class: .elementor-element-311578f */:root {
            --primary: #6366F1;
            --primary-hover: #4F46E5;
            --primary-light: #EEF2FF;
            --bg: #F8FAFC;
            --card: #FFFFFF;
            --text: #1E293B;
            --text-secondary: #64748B;
            --border: #E2E8F0;
            --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
            --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
            --shadow-lg: 0 20px 40px -5px rgba(0, 0, 0, 0.08), 0 10px 15px -5px rgba(0, 0, 0, 0.04);
            --radius: 20px;
            --radius-sm: 14px;
            --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Inter', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
            background: var(--bg);
            color: var(--text);
            min-height: 100vh;
            display: flex;
            flex-direction: column;
            align-items: center;
            -webkit-font-smoothing: antialiased;
        }

        .header {
            width: 100%;
            background: var(--card);
            border-bottom: 1px solid var(--border);
            padding: 16px 0;
            position: sticky;
            top: 0;
            z-index: 100;
            box-shadow: var(--shadow-sm);
        }
        .header-inner {
            max-width: 800px;
            margin: 0 auto;
            padding: 0 24px;
            display: flex;
            align-items: center;
            gap: 12px;
        }
        .logo-icon {
            width: 40px;
            height: 40px;
            background: linear-gradient(135deg, #6366F1, #8B5CF6);
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #fff;
            font-size: 20px;
            font-weight: 700;
            flex-shrink: 0;
        }
        .logo-text {
            font-size: 19px;
            font-weight: 700;
            letter-spacing: -0.3px;
        }
        .logo-sub {
            font-size: 13px;
            color: var(--text-secondary);
            font-weight: 400;
            margin-left: 4px;
        }

        .main-container {
            width: 100%;
            max-width: 800px;
            padding: 36px 24px 60px;
            flex: 1;
        }

        .hero {
            text-align: center;
            margin-bottom: 28px;
        }
        .hero h1 {
            font-size: 30px;
            font-weight: 700;
            letter-spacing: -0.5px;
            margin-bottom: 6px;
        }
        .hero p {
            font-size: 15px;
            color: var(--text-secondary);
        }

        /* Upload Area */
        .upload-card {
            background: var(--card);
            border: 2px dashed #CBD5E1;
            border-radius: var(--radius);
            padding: 44px 32px;
            text-align: center;
            cursor: pointer;
            transition: all var(--transition);
            box-shadow: var(--shadow-sm);
            position: relative;
        }
        .upload-card:hover,
        .upload-card.drag-over {
            border-color: var(--primary);
            background: #F5F7FF;
            box-shadow: var(--shadow);
            transform: translateY(-2px);
        }
        .upload-card.has-file {
            border-style: solid;
            border-color: #D1D5DB;
            background: #FAFBFC;
            padding: 28px 32px;
        }
        .upload-icon-circle {
            width: 66px;
            height: 66px;
            background: #EEF2FF;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 18px;
            transition: all var(--transition);
        }
        .upload-card:hover .upload-icon-circle {
            background: #E0E7FF;
            transform: scale(1.05);
        }
        .upload-card.has-file .upload-icon-circle {
            width: 50px;
            height: 50px;
            margin-bottom: 14px;
        }
        .upload-card h3 {
            font-size: 17px;
            font-weight: 600;
            margin-bottom: 6px;
        }
        .upload-hint {
            font-size: 14px;
            color: var(--text-secondary);
        }
        .upload-hint span {
            color: var(--primary);
            font-weight: 600;
            text-decoration: underline;
            text-underline-offset: 2px;
            cursor: pointer;
        }
        #fileInput {
            display: none;
        }

        /* File Info Bar */
        .file-info-bar {
            margin-top: 16px;
            background: var(--card);
            border: 1px solid var(--border);
            border-radius: var(--radius-sm);
            padding: 16px 20px;
            display: none;
            align-items: center;
            gap: 14px;
            box-shadow: var(--shadow-sm);
            transition: all var(--transition);
        }
        .file-info-bar.active {
            display: flex;
        }
        .file-thumb {
            width: 44px;
            height: 44px;
            background: #FEF2F2;
            border-radius: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 20px;
            flex-shrink: 0;
        }
        .file-details {
            flex: 1;
            min-width: 0;
        }
        .file-name {
            font-weight: 600;
            font-size: 14px;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }
        .file-meta-row {
            font-size: 13px;
            color: var(--text-secondary);
            margin-top: 3px;
            display: flex;
            gap: 16px;
            flex-wrap: wrap;
        }
        .btn-remove {
            background: none;
            border: none;
            color: #94A3B8;
            cursor: pointer;
            padding: 8px;
            border-radius: 8px;
            transition: all var(--transition);
            flex-shrink: 0;
        }
        .btn-remove:hover {
            color: #EF4444;
            background: #FEF2F2;
        }

        /* Settings Card */
        .settings-card {
            margin-top: 16px;
            background: var(--card);
            border: 1px solid var(--border);
            border-radius: var(--radius-sm);
            padding: 18px 20px;
            display: none;
            box-shadow: var(--shadow-sm);
        }
        .settings-card.active {
            display: block;
        }
        .settings-header {
            font-size: 14px;
            font-weight: 600;
            margin-bottom: 14px;
            display: flex;
            align-items: center;
            gap: 6px;
        }
        .compression-options {
            display: flex;
            gap: 10px;
            flex-wrap: wrap;
        }
        .comp-option {
            flex: 1 1 0;
            min-width: 90px;
            background: #F1F5F9;
            border: 2px solid transparent;
            border-radius: 12px;
            padding: 12px 8px;
            text-align: center;
            cursor: pointer;
            transition: all var(--transition);
            font-weight: 500;
            font-size: 13px;
            user-select: none;
        }
        .comp-option:hover {
            background: #E2E8F0;
        }
        .comp-option.selected {
            border-color: var(--primary);
            background: var(--primary-light);
            color: var(--primary);
            font-weight: 700;
            box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
        }
        .comp-option .level-name {
            font-size: 14px;
            font-weight: 600;
            display: block;
        }
        .comp-option .level-desc {
            font-size: 11px;
            color: var(--text-secondary);
            margin-top: 2px;
            display: block;
        }
        .comp-option.selected .level-desc {
            color: var(--primary);
            opacity: 0.8;
        }

        .custom-quality {
            display: flex;
            align-items: center;
            gap: 12px;
            margin-top: 16px;
            padding-top: 14px;
            border-top: 1px solid var(--border);
            flex-wrap: wrap;
        }
        .custom-quality label {
            font-size: 13px;
            font-weight: 500;
            white-space: nowrap;
        }
        .quality-slider {
            flex: 1;
            min-width: 120px;
            display: flex;
            align-items: center;
            gap: 8px;
        }
        input[type=range] {
            flex: 1;
            accent-color: var(--primary);
            height: 6px;
            cursor: pointer;
        }
        .quality-value {
            font-weight: 700;
            font-size: 14px;
            width: 40px;
            text-align: center;
            color: var(--primary);
        }

        /* Action Buttons */
        .action-buttons {
            margin-top: 20px;
            display: flex;
            gap: 12px;
            justify-content: center;
            flex-wrap: wrap;
        }
        .btn {
            padding: 13px 26px;
            border-radius: 12px;
            font-size: 15px;
            font-weight: 600;
            cursor: pointer;
            border: none;
            transition: all var(--transition);
            display: inline-flex;
            align-items: center;
            gap: 8px;
            letter-spacing: -0.2px;
        }
        .btn-primary {
            background: var(--primary);
            color: #fff;
            box-shadow: 0 4px 14px rgba(99, 102, 241, 0.3);
        }
        .btn-primary:hover:not(:disabled) {
            background: var(--primary-hover);
            box-shadow: 0 8px 22px rgba(99, 102, 241, 0.4);
            transform: translateY(-1px);
        }
        .btn-primary:disabled {
            background: #A5B4FC;
            cursor: not-allowed;
            box-shadow: none;
            transform: none;
        }
        .btn-outline {
            background: var(--card);
            color: var(--primary);
            border: 2px solid var(--border);
        }
        .btn-outline:hover:not(:disabled) {
            border-color: var(--primary);
            background: var(--primary-light);
        }
        .btn-outline:disabled {
            opacity: 0.4;
            cursor: not-allowed;
        }
        .spinner {
            width: 18px;
            height: 18px;
            border: 2.5px solid rgba(255,255,255,0.3);
            border-top-color: #fff;
            border-radius: 50%;
            animation: spin 0.8s linear infinite;
        }
        @keyframes spin { to { transform: rotate(360deg); } }

        /* Result Card */
        .result-card {
            margin-top: 20px;
            background: #F0FDF4;
            border: 1px solid #BBF7D0;
            border-radius: var(--radius-sm);
            padding: 20px 22px;
            display: none;
            align-items: center;
            gap: 16px;
            box-shadow: var(--shadow-sm);
            transition: all var(--transition);
        }
        .result-card.active {
            display: flex;
        }
        .result-card.error {
            background: #FFF5F5;
            border-color: #FECACA;
        }
        .result-icon {
            font-size: 32px;
            flex-shrink: 0;
        }
        .result-details {
            flex: 1;
            min-width: 0;
        }
        .result-title {
            font-weight: 700;
            font-size: 15px;
        }
        .result-desc {
            font-size: 13px;
            color: var(--text-secondary);
            margin-top: 4px;
        }
        .btn-download {
            background: #10B981;
            color: #fff;
            border: none;
            padding: 11px 20px;
            border-radius: 10px;
            font-weight: 600;
            font-size: 14px;
            cursor: pointer;
            white-space: nowrap;
            flex-shrink: 0;
            transition: all var(--transition);
            text-decoration: none;
            display: inline-flex;
            align-items: center;
            gap: 6px;
        }
        .btn-download:hover {
            background: #059669;
            box-shadow: 0 4px 12px rgba(16,185,129,0.3);
        }

        .footer {
            text-align: center;
            padding: 20px;
            color: var(--text-secondary);
            font-size: 13px;
            margin-top: auto;
            border-top: 1px solid var(--border);
            width: 100%;
        }

        @media (max-width: 600px) {
            .compression-options {
                flex-direction: column;
            }
            .comp-option {
                flex: none;
            }
            .result-card {
                flex-direction: column;
                align-items: flex-start;
            }
        }/* End custom CSS */