.vce-upload-area {
    border: 2px dashed #dee2e6;
    border-radius: 8px;
    padding: 40px 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    margin-bottom: 20px;
    background: #f8f9fa;
}
.vce-upload-area:hover {
    border-color: #2196F3;
    background: rgba(33, 150, 243, 0.05);
}
.vce-upload-area.vce-dragover {
    border-color: #2196F3;
    background: rgba(33, 150, 243, 0.1);
}
.vce-upload-area.vce-file-loaded {
    display: none;
}
.vce-upload-icon {
    font-size: 48px;
    color: #2196F3;
    margin-bottom: 10px;
}
.vce-upload-text {
    font-size: 16px;
    color: #333;
    margin-bottom: 5px;
}
.vce-upload-hint {
    font-size: 13px;
    color: #666;
}
.vce-upload-area input[type="file"] {
    display: none;
}
.vce-file-card {
    display: none;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    color: #fff;
    position: relative;
    align-items: center;
    gap: 20px;
}
.vce-file-card.vce-visible {
    display: flex;
}
.vce-file-card-icon {
    font-size: 48px;
    flex-shrink: 0;
}
.vce-file-card-details {
    flex: 1;
    min-width: 0;
}
.vce-file-card-name {
    font-size: 16px;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 5px;
}
.vce-file-card-meta {
    font-size: 13px;
    opacity: 0.9;
}
.vce-file-card-replace {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: #fff;
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 6px;
}
.vce-file-card-replace:hover {
    background: rgba(255, 255, 255, 0.3);
}
.vce-info-card {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    border: 1px solid #dee2e6;
}
.vce-info-card h4 {
    font-size: 15px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.vce-info-card h4 i {
    color: #2196F3;
}
.vce-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px;
}
.vce-info-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.vce-info-label {
    font-size: 12px;
    color: #666;
}
.vce-info-value {
    font-size: 14px;
    font-weight: 500;
    color: #333;
}
.vce-player-section {
    background: #263238;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 20px;
}
.vce-visualizer-wrapper {
    position: relative;
    background: #1a2328;
    height: 160px;
}
.vce-visualizer-wrapper canvas {
    width: 100%;
    height: 100%;
    display: block;
}
.vce-player-controls {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: #222;
}
.vce-player-controls button {
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    font-size: 22px;
    padding: 2px 6px;
    border-radius: 4px;
    transition: background 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}
.vce-player-controls button:hover {
    background: rgba(255,255,255,0.15);
}
.vce-time-display {
    color: #ccc;
    font-size: 13px;
    font-family: monospace;
    white-space: nowrap;
    min-width: 100px;
    text-align: center;
}
.vce-progress-track {
    flex: 1;
    height: 6px;
    background: #555;
    border-radius: 3px;
    position: relative;
    cursor: pointer;
}
.vce-progress-fill {
    height: 100%;
    background: #2196F3;
    border-radius: 3px;
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    pointer-events: none;
}
.vce-volume-wrapper {
    display: flex;
    align-items: center;
    gap: 4px;
}
.vce-volume-slider {
    width: 70px;
    height: 4px;
    accent-color: #2196F3;
}
.vce-voice-presets {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    border: 1px solid #dee2e6;
}
.vce-voice-presets h4 {
    font-size: 15px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.vce-voice-presets h4 i {
    color: #2196F3;
}
.vce-presets-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}
.vce-preset-card {
    background: #fff;
    border: 2px solid #dee2e6;
    border-radius: 10px;
    padding: 15px 10px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
}
.vce-preset-card:hover {
    border-color: #2196F3;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(33, 150, 243, 0.15);
}
.vce-preset-card.vce-active {
    border-color: #2196F3;
    background: rgba(33, 150, 243, 0.05);
    box-shadow: 0 4px 12px rgba(33, 150, 243, 0.2);
}
.vce-preset-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea, #764ba2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
    color: #fff;
    font-size: 24px;
}
.vce-preset-card.vce-active .vce-preset-icon {
    background: linear-gradient(135deg, #2196F3, #1976D2);
}
.vce-preset-name {
    font-size: 13px;
    font-weight: 600;
    color: #333;
    margin-bottom: 4px;
}
.vce-preset-desc {
    font-size: 11px;
    color: #666;
}
.vce-effects-panel {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    border: 1px solid #dee2e6;
}
.vce-effects-panel h4 {
    font-size: 15px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.vce-effects-panel h4 i {
    color: #faad14;
}
.vce-effect-group {
    margin-bottom: 20px;
}
.vce-effect-group:last-child {
    margin-bottom: 0;
}
.vce-effect-group-title {
    font-size: 13px;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
    padding-bottom: 5px;
    border-bottom: 1px solid #dee2e6;
}
.vce-effect-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}
.vce-effect-label {
    min-width: 60px;
    font-size: 13px;
    color: #666;
}
.vce-effect-slider {
    flex: 1;
    height: 6px;
    accent-color: #2196F3;
}
.vce-effect-value {
    min-width: 45px;
    font-size: 13px;
    font-weight: 500;
    color: #2196F3;
    text-align: right;
}
.vce-progress-section {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    display: none;
    border: 1px solid #dee2e6;
}
.vce-progress-section.vce-visible {
    display: block;
}
.vce-progress-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}
.vce-progress-title {
    font-size: 14px;
    font-weight: 500;
}
.vce-progress-percent {
    font-size: 14px;
    color: #2196F3;
    font-weight: 500;
}
.vce-progress-bar {
    width: 100%;
    height: 10px;
    background: #dee2e6;
    border-radius: 5px;
    overflow: hidden;
    margin-bottom: 10px;
}
.vce-progress-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #2196F3, #2ecc71);
    border-radius: 5px;
    transition: width 0.3s;
    width: 0%;
}
.vce-progress-info {
    font-size: 13px;
    color: #666;
}
.vce-download-section {
    border: 2px solid #2196F3;
    border-radius: 8px;
    padding: 25px;
    text-align: center;
    margin-bottom: 20px;
    display: none;
    background: #f8f9fa;
}
.vce-download-section.vce-visible {
    display: block;
}
.vce-download-section h4 {
    font-size: 18px;
    margin-bottom: 15px;
    color: #2196F3;
}
.vce-result-info {
    font-size: 14px;
    margin-bottom: 15px;
    color: #333;
}
.vce-btn-download {
    padding: 12px 35px;
    background: #2196F3;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.vce-btn-download:hover {
    background: #1976D2;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}
.vce-hidden {
    display: none !important;
}
html {
    scroll-behavior: smooth;
}
@media (max-width: 768px) {
    .vce-presets-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .vce-info-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .vce-file-card {
        flex-direction: column;
        text-align: center;
    }
    .vce-file-card-replace {
        position: static;
        transform: none;
        margin-top: 10px;
        justify-content: center;
    }
}
@media (max-width: 480px) {
    .vce-info-grid {
        grid-template-columns: 1fr;
    }
    .vce-effect-row {
        flex-wrap: wrap;
    }
    .vce-effect-slider {
        width: calc(100% - 105px);
    }
}