.root {
  position: absolute;
  inset: 0;
}

.video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.placeholder {
  position: absolute;
  inset: 0;
  background: var(--color-overlay-dark-6);
}

.controls {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  display: grid;
  gap: 8px;
  pointer-events: auto;
  /* Above brush / traps layers so transport stays usable on video scenes. */
  z-index: 50;
}

.scrub {
  height: 10px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--stroke);
  background: var(--color-overlay-dark-3);
  overflow: hidden;
}

.scrubPointer {
  cursor: pointer;
}

.scrubDefault {
  cursor: default;
}

.scrubFill {
  height: 100%;
  background: var(--accent-fill-solid);
}

.row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--text2);
  font-size: var(--text-xs);
}

.transport {
  display: flex;
  gap: 8px;
}

.transportBtn {
  width: 34px;
  height: 30px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--stroke-light);
  background: var(--color-overlay-dark-3);
  color: var(--text-muted-on-dark-2);
  cursor: pointer;
}
