r {
      constructor() {
        this.mode = TIMER_CONFIG.mode;
        this.initialTime = this.mode === 'stopwatch' ? 0 : TIMER_CONFIG.defaultInitialTime;
        this.totalTime = this.initialTime;
        this.currentTime = this.initialTime;
        this.currentMilliseconds = 0;
        this.lastUpdateTime = null;
        this.isRunning = false;
        this.isMuted = false;
        this.interval = null;

        this.initializeElements();
        this.bindEvents();
        this.updateDisplay();
        