
/* Editor del taglio: miniature, tratto selezionato e maniglie. */
.tl-host { width: 100%; }
.tl { position: relative; height: 4.5rem; border-radius: 0.4rem; overflow: hidden; background: #000; user-select: none; touch-action: none; cursor: pointer; }
.tl-strip { display: flex; height: 100%; }
.tl-thumb { flex: 1 1 0; min-width: 0; height: 100%; object-fit: cover; }
.tl-sel { position: absolute; top: 0; bottom: 0; box-sizing: border-box; border: 2px solid var(--rz-primary, #3f51b5); background: rgba(63, 81, 181, 0.22); pointer-events: none; }
.tl-handle { position: absolute; top: -2px; bottom: -2px; width: 0.75rem; background: var(--rz-primary, #3f51b5); border-radius: 0.3rem; pointer-events: auto; cursor: ew-resize; touch-action: none; }
.tl-handle:focus-visible { outline: 2px solid #fff; outline-offset: 1px; }
.tl-handle-in { left: 0; transform: translateX(-50%); }
.tl-handle-out { right: 0; transform: translateX(50%); }
.tl-playhead { position: absolute; top: 0; bottom: 0; width: 2px; background: #fff; box-shadow: 0 0 2px #000; pointer-events: none; }
.tl-row { display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; margin-top: 0.5rem; }
.tl-info { font-size: 0.875rem; color: inherit; }
.tl-btn { border: 1px solid currentColor; background: transparent; color: inherit; border-radius: 0.4rem; padding: 0.35rem 0.75rem; cursor: pointer; }
.tl-btn:focus-visible { outline: 2px solid var(--rz-primary, #3f51b5); outline-offset: 2px; }

/* Conto alla rovescia prima della registrazione. */
.rec-wrap { position: relative; width: 100%; }
.rec-countdown { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 8rem; font-weight: 700; color: #fff; background: rgba(0, 0, 0, 0.45); text-shadow: 0 0.2rem 1rem #000; pointer-events: none; }
