body.alcor-video-editor .av-enhancement-field input {
  font-variant-numeric: tabular-nums;
}

body.alcor-video-editor .av-fade-presets {
  padding-top: 2px;
}

body.alcor-video-editor .av-fade-presets button {
  min-width: 0;
  padding-inline: 7px;
  font-size: 9px;
}

body.alcor-video-editor .av-timeline-clip {
  --av-fade-in: 0px;
  --av-fade-out: 0px;
}

body.alcor-video-editor .av-timeline-clip::after {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(to right, rgba(3, 5, 8, .8) 0, transparent var(--av-fade-in)),
    linear-gradient(to left, rgba(3, 5, 8, .8) 0, transparent var(--av-fade-out));
}

body.alcor-video-editor .av-timeline-clip .av-clip-body,
body.alcor-video-editor .av-timeline-clip .av-trim-handle {
  position: relative;
  z-index: 1;
}

body.alcor-video-editor .av-caption-button {
  margin: 0;
  padding: 0 8px !important;
  color: #c5ceda !important;
  text-transform: none;
  letter-spacing: 0;
}

body.alcor-video-editor .av-caption-button input {
  display: none;
}

body.alcor-video-editor .av-offline-state {
  max-width: 132px;
  color: #718196;
  font: 700 8px/1.25 ui-monospace, SFMono-Regular, Consolas, monospace;
  text-align: right;
}

body.alcor-video-editor .av-enhancement-badge {
  padding: 4px 7px;
  border: 1px solid rgba(126, 227, 255, .24);
  border-radius: 999px;
  color: #a7dff0;
  background: rgba(126, 227, 255, .07);
  font: 750 9px/1.2 ui-monospace, SFMono-Regular, Consolas, monospace;
  white-space: nowrap;
}

body.alcor-video-editor[data-offline-shell="registered"] .av-offline-state,
body.alcor-video-editor [data-offline-shell="registered"] .av-offline-state {
  color: #79cfae;
}

@media (max-width: 1120px) {
  body.alcor-video-editor .av-timeline-tools {
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  body.alcor-video-editor .av-offline-state {
    display: none;
  }
}

@media (max-width: 760px) {
  body.alcor-video-editor .av-caption-button,
  body.alcor-video-editor #av-caption-export,
  body.alcor-video-editor #av-install-app {
    min-height: 28px;
    font-size: 9px;
  }

  body.alcor-video-editor .av-enhancement-badge {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.alcor-video-editor .av-timeline-clip::after {
    transition: none;
  }
}
