// Turn Cue Overlay // Purpose: Defines the Turn Cue Overlay module and the local helpers/components used in this file. // Scope: Keeps behavior unchanged while isolating this concern into a clear, single-responsibility unit. import React from 'react'; export default function TurnCueOverlay({ mobileHud = false, isActiveDriver = false, idleSkipSeconds = null, }) { const titleClass = mobileHud ? 'text-3xl' : 'text-5xl'; const subClass = mobileHud ? 'text-xs' : 'text-sm'; const timerClass = mobileHud ? 'text-[0.55rem]' : 'text-[0.75rem]'; const padClass = mobileHud ? 'px-4 py-3' : 'px-6 py-4'; const showCountdown = isActiveDriver && typeof idleSkipSeconds === 'number'; return (