* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
button, label { -webkit-tap-highlight-color: transparent; }
.preview-stage canvas, .preview-stage img { display: block; height: 100%; width: 100%; object-fit: contain; }
.preview-stage video { display: none; }
.timeline-card.dragging { opacity: .45; }
.timeline-card.drag-over { border-color: #7657ff; background: #faf9ff; }
.duration-input::-webkit-inner-spin-button, .duration-input::-webkit-outer-spin-button { opacity: 1; }
@media (max-width: 640px) {
  .preview-stage { aspect-ratio: 4 / 3; }
}
