:root {
  color-scheme: dark;
  --timeline-label-width: 240px;
  --px-per-second: 64;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background: #070a12;
  color: #e5e7eb;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.timeline-scroll::-webkit-scrollbar,
.thin-scroll::-webkit-scrollbar {
  height: 10px;
  width: 10px;
}

.timeline-scroll::-webkit-scrollbar-track,
.thin-scroll::-webkit-scrollbar-track {
  background: rgba(15, 23, 42, 0.9);
  border-radius: 999px;
}

.timeline-scroll::-webkit-scrollbar-thumb,
.thin-scroll::-webkit-scrollbar-thumb {
  background: rgba(100, 116, 139, 0.9);
  border-radius: 999px;
  border: 2px solid rgba(15, 23, 42, 0.9);
}

.timeline-ruler {
  background-image: linear-gradient(to right, rgba(148, 163, 184, 0.22) 1px, transparent 1px);
  background-size: calc(var(--px-per-second) * 1px) 100%;
  cursor: ew-resize;
}

.timeline-lane {
  cursor: ew-resize;
}

.clip-block {
  touch-action: none;
  user-select: none;
}

.clip-block.dragging {
  cursor: grabbing;
  opacity: 0.88;
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.45);
  z-index: 20;
}

input[type="range"] {
  accent-color: #38bdf8;
}

video::-webkit-media-controls {
  display: none !important;
}
