/* Timer OBS — styles de l'overlay (aussi utilisés pour l'aperçu de la page de contrôle) */
.tmo { --c: #a78bfa; position: relative; display: inline-flex; flex-direction: column; align-items: center; font-family: 'Inter', system-ui, sans-serif; color: #fff; line-height: 1; text-align: center; }
.tmo-in { display: flex; flex-direction: column; align-items: center; }
.tmo-t { font-size: 26px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 8px; max-width: 900px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tmo-v { font-size: 120px; font-weight: 900; letter-spacing: -.03em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.tmo-v.txt { font-size: 70px; letter-spacing: 0; }
.tmo-b { display: none; width: 100%; min-width: 260px; height: 10px; border-radius: 99px; background: rgba(255, 255, 255, .18); margin-top: 14px; overflow: hidden; }
.tmo.has-bar .tmo-b { display: block; }
.tmo-b i { display: block; height: 100%; width: 0; border-radius: 99px; background: var(--c); transition: width .3s linear; }
.tmo-brand { margin-top: 10px; font-size: 14px; font-weight: 800; letter-spacing: .08em; opacity: .75; text-shadow: 0 1px 4px rgba(0, 0, 0, .7); }
.tmo-circ { display: none; }
.tmo.done .tmo-v { animation: tmoPulse 1s ease-in-out infinite; }
@keyframes tmoPulse { 50% { opacity: .35; } }

/* Minimal : texte blanc ombré, se pose sur n'importe quelle scène */
.tmo-minimal .tmo-v, .tmo-minimal .tmo-t { text-shadow: 0 3px 12px rgba(0, 0, 0, .65), 0 1px 2px rgba(0, 0, 0, .8); }
.tmo-minimal .tmo-t { color: var(--c); }

/* Néon */
.tmo-neon .tmo-v { font-family: 'Orbitron', 'Inter', sans-serif; font-weight: 700; letter-spacing: .02em; color: #fff; text-shadow: 0 0 6px var(--c), 0 0 18px var(--c), 0 0 42px var(--c); }
.tmo-neon .tmo-t { color: var(--c); text-shadow: 0 0 12px var(--c); }
.tmo-neon .tmo-b i { box-shadow: 0 0 14px var(--c); }

/* Verre (Studio) */
.tmo-glass .tmo-in { padding: 22px 38px; border-radius: 30px; background: rgba(15, 10, 36, .55); border: 2px solid rgba(255, 255, 255, .18); backdrop-filter: blur(14px); box-shadow: 0 20px 60px rgba(0, 0, 0, .35); }
.tmo-glass .tmo-t { color: var(--c); }

/* Bandeau (Studio) : bloc de couleur pleine */
.tmo-bold .tmo-in { padding: 18px 40px 22px; border-radius: 22px; background: var(--c); box-shadow: 0 14px 40px rgba(0, 0, 0, .35); }
.tmo-bold .tmo-t { color: rgba(255, 255, 255, .9); }
.tmo-bold .tmo-v { text-shadow: 0 3px 0 rgba(0, 0, 0, .18); }
.tmo-bold .tmo-b { background: rgba(0, 0, 0, .2); }
.tmo-bold .tmo-b i { background: #fff; }

/* Rétro (Studio) : pixel art */
.tmo-retro .tmo-v { font-family: 'Press Start 2P', monospace; font-size: 84px; letter-spacing: 0; color: var(--c); text-shadow: 6px 6px 0 #000; }
.tmo-retro .tmo-v.txt { font-size: 44px; }
.tmo-retro .tmo-t { font-family: 'Press Start 2P', monospace; font-size: 20px; text-shadow: 3px 3px 0 #000; margin-bottom: 18px; }
.tmo-retro .tmo-b { border-radius: 0; height: 14px; border: 3px solid #000; }
.tmo-retro .tmo-b i { border-radius: 0; }

/* Cercle (Studio) : anneau de progression */
.tmo-circ { position: absolute; left: 50%; top: 50%; width: 340px; height: 340px; transform: translate(-50%, -50%) rotate(-90deg); }
.tmo-circ circle { fill: none; stroke-width: 7; }
.tmo-circ .bg { stroke: rgba(255, 255, 255, .15); fill: rgba(15, 10, 36, .5); }
.tmo-circ .fg { stroke: var(--c); stroke-linecap: round; stroke-dasharray: 339.3; transition: stroke-dashoffset .3s linear; filter: drop-shadow(0 0 6px var(--c)); }
.tmo.tmo-ring { width: 340px; height: 340px; justify-content: center; }
.tmo.tmo-ring .tmo-circ { display: block; }
.tmo.tmo-ring .tmo-in { position: relative; z-index: 1; }
.tmo.tmo-ring .tmo-v { font-size: 74px; }
.tmo.tmo-ring .tmo-v.txt { font-size: 34px; white-space: normal; max-width: 260px; }
.tmo.tmo-ring .tmo-t { font-size: 18px; max-width: 240px; }
.tmo.tmo-ring .tmo-b { display: none; }
.tmo.tmo-ring .tmo-brand { position: absolute; bottom: -30px; }
