      const spectrogramContainer = positionIndicator.closest('.audio-player-container');
                spectrogramContainer.addEventListener('click', (e) => {
                    // Only handle clicks directly on the spectrogram, not on controls
                    if (e.target === spectrogramContainer || e.target.tagName === 'IMG') {
                        const rect = spectrogramContainer.getBoundingClientRect();
                        const pos = (e.clientX - rect.left) / rect.width;
                