修改後
if (timerId !== null || remainingSeconds === 0) return;
timerStatus.textContent = "倒數中";
timerId = setInterval(function () {
remainingSeconds -= 1;
renderTimer();
if (remainingSeconds === 0) { stopTimer(); timerStatus.textContent = "時間到"; }
}, 1000);