/* Video thumbnail: the drop zone alone until a video is in; then the frame at the video's own shape, a strip of
   moments that is the scrubber (drag across it, tap a moment), the frame steps, then size, format and Save. The player decodes out of sight.
   Nothing is boxed. */
#vt[data-state="empty"] #vt-player { display: none; }
#vt:not([data-state="empty"]) #vt-drop { display: none; }
#vt .drop-zone { padding: 72px 20px; }
.vt-player { display: grid; gap: 14px; }
#vt-canvas { display: block; justify-self: center; width: auto; height: auto; max-width: 100%; max-height: 70vh; border-radius: 14px; }
.vt-player video { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.vt-player input[type="range"] { width: 100%; accent-color: var(--ink); }
.vt-strip { position: relative; display: grid; grid-template-columns: repeat(8, 1fr); gap: 3px; touch-action: pan-y; cursor: ew-resize; user-select: none; -webkit-user-select: none; }
.vt-strip canvas { display: block; width: 100%; height: auto; border-radius: 6px; background: var(--paper-2); pointer-events: none; }
.vt-head { position: absolute; top: -4px; bottom: -4px; width: 3px; margin-left: -1.5px; border-radius: 2px; background: var(--ink); box-shadow: 0 0 0 1.5px #fff; pointer-events: none; }
.vt-strip:focus-visible { outline: var(--ring); outline-offset: 4px; }
.vt-save { display: grid; grid-template-columns: 1fr 1fr auto auto; gap: 12px; align-items: end; }
@media (max-width: 700px) { .vt-save { grid-template-columns: 1fr; } }
