oiceDesc;
    currentVoiceIcon.style.backgroundColor = voiceColor;
    currentVoiceContainer.style.display = 'flex';
}
function downloadAudio(blob, filename) {
    const lang = document.documentElement.lang.startsWith('zh') ? 'zh' : 'en';
    if (!blob) {
        showStatus(lang === 'en' ? 'No audio to download.' : '没有可下载的音频', 'error');
        return;
    }
    const a = document.createElement('a');
    a.href = URL.createObjectURL(blob);
    a.download = filename || `audio_${Date.now()}.mp