> {
    if (audioBlob) {
        const selectedOption = document.querySelector('.voice-style-option input[type="radio"]:checked');
        const voice = selectedOption.dataset.voice || selectedOption.value;
        const text = textInput.value.trim().substring(0, 20).replace(/[^\w\u4e00-\u9fa5]/g, '');
        downloadAudio(audioBlob, `${voice}_${text}.mp3`);
    }
});
textInput.addEventListener('keydown', e => {
    if ((e.ctrlKey || e.metaKey) && e.key === 'Enter') {
        e.preventDefault();
        ge