.timeline-panel {
  --timeline-zoom: 1;
  position: relative;
  top: auto;
  bottom: auto;
  z-index: 1;
  display: grid;
  min-height: 238px;
  margin-top: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #202020;
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.46);
}

.timeline-toolbar {
  display: grid;
  grid-template-columns: auto minmax(160px, 1fr) auto;
  align-items: center;
  gap: 12px;
  min-height: 42px;
  padding: 0 12px;
  border-bottom: 1px solid #343434;
  background: #1a1a1a;
}

.timeline-tool-group {
  display: flex;
  align-items: center;
  gap: 8px;
}

.timeline-tool {
  display: inline-grid;
  width: 26px;
  height: 26px;
  place-items: center;
  border: 0;
  border-radius: 5px;
  background: transparent;
  color: #d9d9d9;
  font-size: 17px;
  line-height: 1;
  cursor: pointer;
}

.timeline-tool:hover:not(:disabled),
.timeline-tool.is-active {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.timeline-tool.accent,
.timeline-tool[aria-pressed="true"] {
  background: rgba(37, 244, 238, 0.12);
  color: var(--accent);
}

.timeline-tool.danger:hover:not(:disabled) {
  background: rgba(254, 44, 85, 0.14);
  color: var(--accent-hot);
}

.timeline-tool:disabled {
  color: #6f6f6f;
  cursor: not-allowed;
  opacity: 0.58;
}

.timeline-status {
  overflow: hidden;
  color: #b9c1cc;
  font-size: 12px;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.timeline-ruler {
  display: grid;
  grid-template-columns: repeat(7, minmax(96px, 1fr));
  min-height: 34px;
  padding-left: 148px;
  border-bottom: 1px solid #303030;
  background:
    repeating-linear-gradient(90deg, transparent 0 27px, rgba(255, 255, 255, 0.08) 27px 28px),
    #222222;
  color: #8f8f8f;
  font-size: 12px;
}

.timeline-ruler span {
  display: flex;
  align-items: center;
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  padding-left: 8px;
}

.timeline-track {
  position: relative;
  display: grid;
  grid-template-columns: 148px minmax(0, 1fr);
  min-height: 162px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent 42%),
    #232323;
}

.timeline-track-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 7px;
  border-right: 1px solid #141414;
  background: #202020;
  color: #9ba3ae;
  font-size: 11px;
  font-weight: 750;
  text-transform: uppercase;
}

.timeline-playhead {
  position: absolute;
  top: -35px;
  bottom: 12px;
  left: 148px;
  z-index: 6;
  width: 16px;
  background: transparent;
  cursor: ew-resize;
  touch-action: none;
  transform: translateX(-50%);
}

.timeline-playhead::before {
  position: absolute;
  top: -7px;
  left: 50%;
  width: 13px;
  height: 13px;
  border-radius: 999px;
  background: #f2f2f2;
  content: "";
  transform: translateX(-50%);
}

.timeline-playhead::after {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: #f2f2f2;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.2);
  content: "";
  transform: translateX(-50%);
}

.timeline-playhead:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.timeline-clips {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  overflow-x: auto;
  padding: 40px 18px 38px;
  scrollbar-color: #5c5c5c #2b2b2b;
}

.timeline-clip {
  position: relative;
  flex: 0 0 clamp(240px, calc(42vw * var(--timeline-zoom)), 860px);
  overflow: hidden;
  border: 1px solid rgba(37, 244, 238, 0.38);
  border-radius: 5px;
  background: #006f73;
  box-shadow: 0 0 0 1px rgba(37, 244, 238, 0.12);
  cursor: grab;
  outline: 0;
  touch-action: pan-y;
  user-select: none;
  transition: border-color 160ms ease, box-shadow 160ms ease, opacity 160ms ease, transform 160ms ease;
}

.timeline-clip::before,
.timeline-clip::after {
  position: absolute;
  top: 43px;
  bottom: 5px;
  z-index: 3;
  background:
    repeating-linear-gradient(
      -45deg,
      rgba(0, 0, 0, 0.16) 0 5px,
      rgba(0, 0, 0, 0.26) 5px 10px
    ),
    rgba(0, 0, 0, 0.38);
  content: "";
  opacity: 0;
  pointer-events: none;
  transition: opacity 140ms ease, background 140ms ease;
}

.timeline-clip::before {
  left: 0;
  width: var(--preview-left, 0%);
}

.timeline-clip::after {
  right: 0;
  left: calc(var(--preview-left, 0%) + var(--preview-width, 100%));
}

.timeline-clip.is-trimming::before,
.timeline-clip.is-trimming::after {
  background:
    repeating-linear-gradient(
      -45deg,
      rgba(0, 0, 0, 0.24) 0 5px,
      rgba(0, 0, 0, 0.38) 5px 10px
    ),
    rgba(0, 0, 0, 0.5);
  opacity: 1;
}

.timeline-clip.is-selected {
  border-color: #ffffff;
  box-shadow:
    0 0 0 2px rgba(255, 255, 255, 0.62),
    0 0 0 5px rgba(37, 244, 238, 0.18);
}

.timeline-clip.is-dragging {
  cursor: grabbing;
  opacity: 0.76;
  transform: translateY(-4px);
  z-index: 5;
}

.timeline-clip.is-playing {
  box-shadow:
    0 0 0 2px rgba(37, 244, 238, 0.66),
    0 16px 34px rgba(37, 244, 238, 0.16);
}

.timeline-clip.is-preview-deleted {
  display: none;
}

.timeline-clip-meta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  column-gap: 10px;
  align-items: center;
  min-height: 24px;
  padding: 2px 6px;
  background: #007e83;
  color: #f4ffff;
  font-size: 12px;
  line-height: 1.1;
}

.timeline-clip-meta strong,
.timeline-clip-meta span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.timeline-clip-meta span {
  grid-column: 1 / -1;
  color: rgba(244, 255, 255, 0.82);
}

.timeline-clip-meta em {
  grid-row: 1;
  grid-column: 2;
  color: #dffeff;
  font-style: normal;
  white-space: nowrap;
}

.timeline-frames {
  position: relative;
  display: grid;
  grid-template-columns: repeat(8, minmax(54px, 1fr));
  gap: 3px;
  padding: 5px;
  background: #006b70;
}

.timeline-frame {
  display: block;
  aspect-ratio: 9 / 12;
  overflow: hidden;
  border-radius: 4px;
  background:
    linear-gradient(135deg, rgba(37, 244, 238, 0.18), rgba(254, 44, 85, 0.12)),
    #141414;
}

.timeline-frame video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  pointer-events: none;
}

.timeline-preview-window {
  position: absolute;
  top: 43px;
  bottom: 5px;
  left: var(--preview-left, 0%);
  z-index: 4;
  width: var(--preview-width, 100%);
  border-right: 2px solid #ffffff;
  border-left: 2px solid #ffffff;
  background: rgba(255, 255, 255, 0.1);
  pointer-events: none;
}

.timeline-clip.is-trim-hover,
.timeline-clip.is-trim-hover .timeline-frame,
.timeline-clip.is-trim-hover .timeline-frames {
  cursor: ew-resize;
}

.timeline-split-markers {
  position: absolute;
  top: 43px;
  right: 0;
  bottom: 5px;
  left: 0;
  z-index: 3;
  pointer-events: none;
}

.timeline-split-markers span {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--warn);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.38);
}

.timeline-empty {
  display: grid;
  align-content: center;
  gap: 4px;
  padding: 38px 20px;
  color: var(--muted);
}

.timeline-empty strong {
  color: var(--ink);
}

.success-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
  border-color: #a7f3d0;
}


.video-editor-shell .timeline-panel {
  --timeline-zoom: 1;
  position: static;
  top: auto;
  bottom: auto;
  z-index: auto;
  display: grid;
  grid-template-rows: 40px 24px minmax(0, 1fr);
  min-height: 0;
  max-height: none;
  height: var(--video-timeline-footer-height, 320px);
  margin: 0;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: var(--video-surface-lowest);
  box-shadow: none;
}

.video-editor-shell .timeline-toolbar {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) minmax(120px, auto) minmax(180px, 1fr);
  align-items: center;
  gap: 12px;
  min-height: 40px;
  padding: 0 16px;
  border-bottom: 1px solid var(--video-outline-variant);
  background: var(--video-surface);
}

.video-editor-shell .timeline-tool-group,
.timeline-zoom-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.video-editor-shell .timeline-tool-group {
  flex-wrap: wrap;
}

.timeline-zoom-controls {
  justify-content: flex-end;
}

.timeline-zoom-controls input {
  width: 132px;
}

.video-editor-shell .timeline-tool {
  display: inline-grid;
  width: 26px;
  height: 26px;
  min-height: 26px;
  place-items: center;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: var(--video-on-surface-variant);
}

.video-editor-shell .timeline-tool:hover:not(:disabled),
.video-editor-shell .timeline-tool.is-active {
  background: var(--video-surface-highest);
  color: var(--video-on-surface);
}

.video-editor-shell .timeline-tool:disabled {
  color: rgb(194 198 214 / 0.34);
  cursor: not-allowed;
}

.video-editor-shell .timeline-tool.danger:hover:not(:disabled) {
  background: rgb(255 180 171 / 0.12);
  color: var(--video-error);
}

.timeline-tool-separator {
  width: 1px;
  height: 16px;
  background: var(--video-outline-variant);
}

.video-editor-shell .timeline-tool .material-symbols-outlined,
.timeline-zoom-controls .material-symbols-outlined {
  font-size: 18px;
}

.video-editor-shell .timeline-status {
  color: var(--video-on-surface-variant);
  font-size: 12px;
  text-align: center;
}

.video-editor-shell .timeline-ruler {
  display: grid;
  grid-template-columns: 192px minmax(0, 1fr);
  min-height: 24px;
  overflow: hidden;
  padding-left: 0;
  border-bottom: 1px solid var(--video-outline-variant);
  background: var(--video-surface-low);
}

.timeline-ruler-spacer {
  border-right: 1px solid var(--video-outline-variant);
  background: var(--video-surface-low);
}

.timeline-ruler-grid {
  position: relative;
  min-width: 640px;
  transform-origin: left center;
  will-change: transform;
}

.timeline-ruler-grid::before,
.timeline-grid {
  background-image: linear-gradient(to right, rgb(66 71 84 / 0.72) 1px, transparent 1px);
  background-size: 40px 100%;
}

.timeline-ruler-grid span {
  position: absolute;
  bottom: 4px;
  display: block;
  border-left: 0;
  padding-left: 2px;
  color: var(--video-on-surface-variant);
  font-family: Geist, monospace;
  font-size: 10px;
  line-height: 12px;
}

.video-editor-shell .timeline-track {
  position: relative;
  display: grid;
  grid-template-columns: 192px minmax(0, 1fr);
  min-height: 0;
  overflow: hidden;
  background: var(--video-surface-lowest);
}

.timeline-track-headers {
  display: grid;
  grid-template-rows: repeat(6, minmax(0, 1fr));
  border-right: 1px solid var(--video-outline-variant);
  background: var(--video-surface-low);
}

.timeline-track-header {
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid rgb(66 71 84 / 0.64);
  padding: 0 16px;
  color: var(--video-on-surface);
  font-size: 12px;
  font-weight: 600;
}

.timeline-track-header .material-symbols-outlined {
  font-size: 16px;
}

.timeline-track-header.visual .material-symbols-outlined {
  color: var(--video-primary);
}

.timeline-track-header.audio .material-symbols-outlined,
.timeline-track-header.soundtrack .material-symbols-outlined {
  color: var(--video-secondary);
}

.timeline-track-header.tier-block .material-symbols-outlined,
.timeline-track-header.tier-tile .material-symbols-outlined {
  color: var(--video-tertiary);
}

.timeline-track-header.subtitles .material-symbols-outlined {
  color: var(--video-on-surface-variant);
}

.timeline-lanes {
  position: relative;
  display: grid;
  grid-template-rows: repeat(6, minmax(0, 1fr));
  min-width: 0;
  min-height: 0;
  overflow: hidden;
}

.timeline-lane {
  position: relative;
  min-height: 0;
  overflow: hidden;
  border-bottom: 1px solid rgb(66 71 84 / 0.46);
}

.timeline-lane-video {
  background: rgb(173 198 255 / 0.05);
}

.timeline-lane-audio {
  background: rgb(78 222 163 / 0.05);
}

.timeline-lane-tier-block {
  background: rgb(255 185 95 / 0.035);
}

.timeline-lane-tier-tile {
  overflow: visible;
  background: rgb(255 185 95 / 0.05);
}

.timeline-lane-subtitles {
  background: rgb(53 53 52 / 0.18);
}

.timeline-lane-soundtrack {
  background: rgb(0 165 114 / 0.05);
}

.video-editor-shell .timeline-clips,
.placeholder-strip {
  display: flex;
  height: 100%;
  min-width: 0;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  padding: 0 16px;
  scrollbar-color: var(--video-outline-variant) var(--video-surface);
}

.video-editor-shell .timeline-clips.is-drop-target {
  outline: 2px solid var(--video-primary);
  outline-offset: -3px;
  background-color: rgb(77 142 255 / 0.12);
}

.video-editor-shell .timeline-clip {
  position: relative;
  flex: 0 0 clamp(132px, calc(var(--clip-duration-width, 180px) * var(--timeline-zoom)), 520px);
  height: 32px;
  overflow: hidden;
  border: 1px solid var(--video-primary-container);
  border-radius: 4px;
  background: rgb(77 142 255 / 0.28);
  box-shadow: inset 3px 0 0 var(--video-primary);
  cursor: grab;
  outline: 0;
  touch-action: pan-y;
  user-select: none;
}

.video-editor-shell .timeline-clip::before,
.video-editor-shell .timeline-clip::after {
  content: none;
}

.video-editor-shell .timeline-clip.is-selected {
  border-color: var(--video-primary);
  box-shadow:
    inset 3px 0 0 var(--video-primary),
    0 0 0 1px rgb(173 198 255 / 0.62);
}

.video-editor-shell .timeline-clip.is-dragging {
  cursor: grabbing;
  opacity: 0.78;
  transform: translateY(-2px);
}

.timeline-clip-probe {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.video-editor-shell .timeline-clip-meta {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  height: 100%;
  column-gap: 8px;
  padding: 0 8px;
  background: transparent;
  color: var(--video-primary);
  font-family: Geist, monospace;
  font-size: 10px;
  line-height: 12px;
}

.video-editor-shell .timeline-clip-meta strong,
.video-editor-shell .timeline-clip-meta span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.video-editor-shell .timeline-clip-meta strong {
  color: #d8e2ff;
  font-weight: 700;
}

.video-editor-shell .timeline-clip-meta span {
  color: rgb(216 226 255 / 0.72);
}

.video-editor-shell .timeline-clip-meta em {
  grid-row: 1 / span 2;
  grid-column: 2;
  color: #d8e2ff;
  font-style: normal;
  white-space: nowrap;
}

.video-editor-shell .timeline-preview-window {
  position: absolute;
  inset: 0 auto 0 var(--preview-left, 0%);
  z-index: 1;
  width: var(--preview-width, 100%);
  border-right: 2px solid rgb(229 226 225 / 0.7);
  border-left: 2px solid rgb(229 226 225 / 0.7);
  background: rgb(255 255 255 / 0.06);
  pointer-events: none;
}

.video-editor-shell .timeline-split-markers {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
}

.video-editor-shell .timeline-split-markers span {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--video-tertiary);
}

.video-editor-shell .timeline-empty {
  display: grid;
  height: 100%;
  align-content: center;
  gap: 3px;
  padding: 0 16px;
  color: var(--video-on-surface-variant);
  font-size: 12px;
}

.video-editor-shell .timeline-empty strong {
  color: var(--video-on-surface);
}

.placeholder-clip {
  position: relative;
  display: flex;
  flex: 0 0 clamp(132px, calc(var(--clip-duration-width, 180px) * var(--timeline-zoom)), 520px);
  height: 32px;
  min-width: 0;
  align-items: center;
  overflow: hidden;
  border-radius: 4px;
  padding: 0 8px;
  font-family: Geist, monospace;
  font-size: 10px;
  white-space: nowrap;
}

.placeholder-clip span {
  position: relative;
  z-index: 2;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.audio-placeholder {
  border: 1px solid rgb(78 222 163 / 0.48);
  background: rgb(78 222 163 / 0.14);
  color: var(--video-secondary);
}

.subtitle-placeholder {
  position: absolute;
  top: 50%;
  left: 10%;
  width: 12%;
  min-width: 112px;
  transform: translateY(-50%);
  border: 1px solid var(--video-outline-variant);
  background: var(--video-surface);
  color: var(--video-on-surface);
  box-shadow: inset 3px 0 0 var(--video-tertiary);
}

.soundtrack-placeholder {
  position: absolute;
  inset: calc(50% - 16px) 16px auto 16px;
  border: 1px solid rgb(0 165 114 / 0.6);
  background: rgb(0 165 114 / 0.16);
  color: var(--video-secondary);
}

.soundtrack-placeholder svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.42;
}

.tier-marker {
  position: absolute;
  top: 50%;
  width: 2px;
  height: 100%;
  transform: translateY(-50%);
  background: rgb(255 185 95 / 0.56);
}

.tier-marker::before {
  position: absolute;
  top: calc(50% - 4px);
  left: 50%;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: currentColor;
  content: "";
  transform: translate(-50%, -50%);
}

.tier-marker span {
  position: absolute;
  bottom: calc(50% + 8px);
  left: 50%;
  display: grid;
  width: 34px;
  height: 42px;
  place-items: end center;
  border: 1px solid var(--video-outline-variant);
  border-radius: 4px;
  padding-bottom: 4px;
  background: var(--video-surface);
  color: #2a1700;
  font-size: 10px;
  font-weight: 800;
  transform: translateX(-50%);
}

.tier-marker span::before {
  position: absolute;
  top: 5px;
  left: 5px;
  width: 22px;
  height: 22px;
  border-radius: 3px;
  background: var(--video-surface-highest);
  content: "";
}

.marker-s,
.marker-s span {
  color: var(--video-error);
}

.marker-s span {
  background: #ffb4ab;
}

.marker-a,
.marker-a span,
.marker-b,
.marker-b span {
  color: var(--video-tertiary);
}

.marker-a span,
.marker-b span {
  background: var(--video-tertiary);
}

.video-editor-shell .timeline-playhead {
  position: absolute;
  top: -24px;
  bottom: 0;
  left: calc(192px + 15%);
  z-index: 12;
  width: 14px;
  background: transparent;
  cursor: ew-resize;
  touch-action: none;
  transform: translateX(-50%);
}

.video-editor-shell .timeline-playhead::before {
  position: absolute;
  top: 0;
  left: 50%;
  width: 12px;
  height: 16px;
  border-radius: 0 0 4px 4px;
  background: var(--video-primary);
  content: "";
  transform: translateX(-50%);
}

.video-editor-shell .timeline-playhead::after {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: var(--video-primary);
  content: "";
  transform: translateX(-50%);
}

.video-editor-shell .timeline-playhead:focus-visible {
  outline: 2px solid var(--video-primary);
  outline-offset: 3px;
}

@media (max-width: 1180px) {
  .video-editor-main {
    grid-template-columns: 304px minmax(0, 1fr);
  }
}

@media (max-width: 980px) {
  body.video-route {
    overflow: auto;
  }

  .video-editor-shell {
    --video-timeline-footer-height: 360px;
    grid-template-rows: auto var(--video-timeline-footer-height, 360px);
    height: auto;
    min-height: calc(100vh - var(--topbar-height, 65px));
    overflow: visible;
  }

  .video-editor-main {
    grid-template-columns: 1fr;
    overflow: visible;
  }

  .media-library-panel,
  .inspector-panel,
  .preview-panel {
    grid-column: 1;
    grid-row: auto;
  }

  .media-library-panel,
  .inspector-panel {
    border-right: 0;
    border-left: 0;
    border-bottom: 1px solid var(--video-outline-variant);
  }

  .preview-panel {
    min-height: 420px;
  }

  .video-editor-shell .timeline-panel {
    height: var(--video-timeline-footer-height, 360px);
  }

  .video-editor-shell .timeline-toolbar {
    grid-template-columns: 1fr;
    min-height: 96px;
    padding: 8px 16px;
  }

  .timeline-zoom-controls,
  .video-editor-shell .timeline-tool-group {
    justify-content: center;
  }
}

@media (max-width: 640px) {
  .media-grid {
    grid-template-columns: 1fr 1fr;
  }

  .transport-bar {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 10px 16px;
  }

  .transport-timecode,
  .transport-secondary {
    justify-content: center;
    text-align: center;
  }

  .video-editor-shell .timeline-ruler,
  .video-editor-shell .timeline-track {
    grid-template-columns: 112px minmax(0, 1fr);
  }

  .video-editor-shell .timeline-playhead {
    left: calc(112px + 15%);
  }

  .timeline-track-header {
    padding: 0 10px;
  }
}


.video-editor-shell .timeline-panel {
  --timeline-zoom: 1;
  position: static;
  top: auto;
  bottom: auto;
  z-index: auto;
  display: grid;
  grid-template-rows: 40px 24px minmax(0, 1fr);
  min-height: 0;
  max-height: none;
  height: var(--video-timeline-footer-height, 320px);
  margin: 0;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: var(--video-surface-lowest);
  box-shadow: none;
}

.video-editor-shell .timeline-toolbar {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) minmax(120px, auto) minmax(180px, 1fr);
  align-items: center;
  gap: 12px;
  min-height: 40px;
  padding: 0 16px;
  border-bottom: 1px solid var(--video-outline-variant);
  background: var(--video-surface);
}

.video-editor-shell .timeline-tool-group,
.timeline-zoom-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.timeline-zoom-controls {
  justify-content: flex-end;
}

.timeline-zoom-controls input {
  width: 132px;
}

.video-editor-shell .timeline-tool {
  display: inline-grid;
  width: 26px;
  height: 26px;
  min-height: 26px;
  place-items: center;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: var(--video-on-surface-variant);
  box-shadow: none;
}

.video-editor-shell .timeline-tool:hover:not(:disabled),
.video-editor-shell .timeline-tool.is-active {
  background: var(--video-surface-highest);
  color: var(--video-on-surface);
}

.video-editor-shell .timeline-tool:disabled {
  color: rgb(60 74 66 / 0.34);
  cursor: not-allowed;
}

.video-editor-shell .timeline-tool.danger:hover:not(:disabled) {
  background: var(--video-tertiary-soft);
  color: var(--video-error);
}

.timeline-tool-separator {
  width: 1px;
  height: 16px;
  background: var(--video-outline-variant);
}

.video-editor-shell .timeline-tool .material-symbols-outlined,
.timeline-zoom-controls .material-symbols-outlined {
  font-size: 18px;
}

.video-editor-shell .timeline-status {
  min-width: 0;
  overflow: hidden;
  color: var(--video-on-surface-variant);
  font-size: 12px;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.video-editor-shell .timeline-ruler {
  display: grid;
  grid-template-columns: 192px minmax(0, 1fr);
  min-height: 24px;
  padding-left: 0;
  border-bottom: 1px solid var(--video-outline-variant);
  background: var(--video-surface-low);
}

.timeline-ruler-spacer {
  border-right: 1px solid var(--video-outline-variant);
  background: var(--video-surface-low);
}

.timeline-ruler-grid {
  position: relative;
  min-width: 640px;
}

.timeline-ruler-grid::before,
.timeline-grid {
  background-image: linear-gradient(to right, var(--video-hairline) 1px, transparent 1px);
  background-size: 40px 100%;
}

.timeline-ruler-grid::before {
  position: absolute;
  inset: 0;
  content: "";
}

.timeline-ruler-grid span {
  position: absolute;
  bottom: 4px;
  z-index: 1;
  display: block;
  border-left: 0;
  padding-left: 2px;
  color: var(--video-on-surface-variant);
  font-family: Geist, ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10px;
  line-height: 12px;
}

.video-editor-shell .timeline-track {
  position: relative;
  display: grid;
  grid-template-columns: 192px minmax(0, 1fr);
  min-height: 0;
  overflow: hidden;
  background: var(--video-surface-lowest);
}

.timeline-track-headers {
  display: grid;
  grid-template-rows: repeat(6, minmax(0, 1fr));
  border-right: 1px solid var(--video-outline-variant);
  background: var(--video-surface-low);
}

.timeline-track-header {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid rgb(187 202 191 / 0.55);
  padding: 0 16px;
  color: var(--video-on-surface);
  font-size: 12px;
  font-weight: 600;
}

.timeline-track-label {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.timeline-track-action {
  display: inline-grid;
  width: 24px;
  height: 24px;
  min-width: 24px;
  min-height: 24px;
  align-self: center;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--video-on-surface-variant);
  cursor: pointer;
  line-height: 1;
  appearance: none;
  transition: background-color 120ms ease, color 120ms ease;
}

.timeline-track-action:hover,
.timeline-track-action:focus-visible {
  background: rgb(255 255 255 / 0.82);
  color: var(--video-on-surface);
  outline: 0;
}

.timeline-track-header .material-symbols-outlined {
  font-size: 16px;
}

.timeline-track-header.visual {
  background: rgb(0 108 73 / 0.08);
}

.timeline-track-header.audio {
  background: rgb(70 72 212 / 0.06);
}

.timeline-track-header.tier-block {
  background: rgb(164 58 58 / 0.045);
}

.timeline-track-header.tier-tile {
  background: rgb(164 58 58 / 0.07);
}

.timeline-track-header.subtitles {
  background: rgb(224 227 229 / 0.5);
}

.timeline-track-header.soundtrack {
  background: rgb(96 99 238 / 0.1);
}

.timeline-track-header.visual .material-symbols-outlined {
  color: var(--video-primary);
}

.timeline-track-header.audio .material-symbols-outlined,
.timeline-track-header.soundtrack .material-symbols-outlined {
  color: var(--video-secondary);
}

.timeline-track-header.tier-block .material-symbols-outlined,
.timeline-track-header.tier-tile .material-symbols-outlined {
  color: var(--video-tertiary);
}

.timeline-track-header.subtitles .material-symbols-outlined {
  color: var(--video-on-surface-variant);
}

.timeline-track-header .timeline-track-action .material-symbols-outlined {
  display: block;
  color: currentColor;
  font-size: 18px;
  line-height: 1;
}


.timeline-lanes {
  position: relative;
  display: grid;
  grid-template-rows: repeat(6, minmax(0, 1fr));
  min-width: 0;
  min-height: 0;
  overflow-x: auto;
  overflow-y: hidden;
  background-color: var(--video-surface-lowest);
  scrollbar-color: var(--video-outline-variant) var(--video-surface-low);
}

.timeline-lane {
  position: relative;
  width: var(--timeline-canvas-width, 100%);
  min-height: 0;
  overflow: hidden;
  border-bottom: 1px solid rgb(187 202 191 / 0.38);
}

.timeline-lane-video {
  background-color: rgb(0 108 73 / 0.04);
}

.timeline-lane-audio {
  background-color: rgb(70 72 212 / 0.04);
}

.timeline-lane-tier-block {
  background-color: rgb(164 58 58 / 0.025);
}

.timeline-lane-tier-tile {
  overflow: visible;
  background-color: rgb(164 58 58 / 0.04);
}

.timeline-lane-subtitles {
  background-color: rgb(224 227 229 / 0.36);
}

.tier-block-working-area {
  position: relative;
  width: var(--timeline-canvas-width, 100%);
  min-width: var(--timeline-canvas-width, 100%);
  height: 100%;
}

.tier-block-working-item {
  position: absolute;
  top: 50%;
  display: inline-flex;
  min-width: 32px;
  max-width: none;
  height: 34px;
  align-items: center;
  gap: 6px;
  overflow: hidden;
  border: 1px solid var(--video-outline-variant);
  border-radius: 4px;
  background: rgb(16 185 129 / 0.2);
  color: var(--video-on-surface);
  cursor: grab;
  font: inherit;
  font-size: 11px;
  line-height: 14px;
  padding: 0 10px;
  box-shadow: inset 3px 0 0 #006c49;
  transform: translateY(-50%);
  touch-action: pan-y;
}

.tier-block-working-item::before {
  flex: 0 0 auto;
  color: #006c49;
  font-family: "Material Symbols Outlined";
  font-size: 14px;
  line-height: 1;
  content: "layers";
}

.tier-block-working-item:hover,
.tier-block-working-item:focus-visible,
.tier-block-working-item.is-active {
  border-color: #006c49;
  background: var(--video-surface-lowest);
  outline: 0;
  box-shadow:
    inset 3px 0 0 #006c49,
    0 0 0 1px rgb(0 108 73 / 0.24);
}

.tier-block-working-item.is-dragging {
  cursor: grabbing;
  opacity: 0.82;
}

.tier-block-working-label {
  min-width: 0;
  overflow: hidden;
  pointer-events: none;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tier-block-resize-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 3;
  width: 18px;
  cursor: ew-resize;
  pointer-events: auto;
}

.tier-block-resize-handle::after {
  position: absolute;
  top: 7px;
  bottom: 7px;
  width: 2px;
  border-radius: 2px;
  background: currentColor;
  content: "";
  opacity: 0;
}

.tier-block-working-item:hover .tier-block-resize-handle::after,
.tier-block-working-item:focus-visible .tier-block-resize-handle::after {
  opacity: 0.38;
}

.tier-block-resize-start {
  left: 0;
  cursor: w-resize;
}

.tier-block-resize-start::after {
  left: 5px;
}

.tier-block-resize-end {
  right: 0;
  cursor: e-resize;
}

.tier-block-resize-end::after {
  right: 5px;
}

.tier-display-working-area {
  position: relative;
  width: var(--timeline-canvas-width, 100%);
  min-width: var(--timeline-canvas-width, 100%);
  height: 100%;
}

.tier-display-marker {
  position: absolute;
  top: 50%;
  display: inline-grid;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  place-items: center;
  overflow: visible;
  border: 2px solid var(--video-tertiary);
  border-radius: 50%;
  background: var(--video-surface-lowest);
  color: var(--video-on-surface);
  cursor: grab;
  padding: 0;
  box-shadow: 0 2px 10px rgb(15 23 42 / 0.18);
  transform: translate(-50%, -50%);
  touch-action: pan-y;
}

.tier-display-marker:hover,
.tier-display-marker:focus-visible,
.tier-display-marker.is-active {
  outline: 0;
  box-shadow:
    0 2px 10px rgb(15 23 42 / 0.18),
    0 0 0 3px rgb(164 58 58 / 0.2);
}

.tier-display-marker.is-dragging {
  cursor: grabbing;
  opacity: 0.82;
}

.tier-display-marker-image {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  overflow: hidden;
  border-radius: 50%;
  background: var(--video-surface-low);
}

.tier-display-inspector-preview {
  display: grid;
  width: 96px;
  height: 96px;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--video-outline-variant);
  border-radius: 8px;
  background: var(--video-surface-low);
}

.subtitle-working-area {
  position: relative;
  width: var(--timeline-canvas-width, 100%);
  min-width: var(--timeline-canvas-width, 100%);
  height: 100%;
}

.subtitle-working-item {
  position: absolute;
  top: 50%;
  display: inline-flex;
  min-width: 32px;
  max-width: none;
  height: 32px;
  align-items: center;
  gap: 6px;
  overflow: hidden;
  border: 1px solid var(--video-outline-variant);
  border-radius: 4px;
  background: var(--video-surface-low);
  color: var(--video-on-surface);
  cursor: grab;
  font: inherit;
  font-size: 11px;
  line-height: 14px;
  padding: 0 10px;
  box-shadow: inset 3px 0 0 var(--video-tertiary);
  transform: translateY(-50%);
}

.subtitle-working-item::before {
  flex: 0 0 auto;
  color: var(--video-tertiary);
  font-family: "Material Symbols Outlined";
  font-size: 14px;
  line-height: 1;
  content: "title";
}

.subtitle-working-item:hover,
.subtitle-working-item:focus-visible {
  border-color: var(--video-tertiary);
  outline: 0;
  box-shadow:
    inset 3px 0 0 var(--video-tertiary),
    0 0 0 1px rgb(164 58 58 / 0.22);
}

.subtitle-working-item.is-active {
  border-color: var(--video-tertiary);
  background: var(--video-surface-lowest);
  outline: 0;
  box-shadow:
    inset 3px 0 0 var(--video-tertiary),
    0 0 0 1px rgb(164 58 58 / 0.22);
}

.subtitle-working-item span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.timeline-lane-soundtrack {
  background-color: rgb(96 99 238 / 0.08);
}

.video-editor-shell .timeline-clips {
  position: relative;
  display: block;
  height: 100%;
  width: var(--timeline-canvas-width, 100%);
  min-width: var(--timeline-canvas-width, 100%);
  overflow: visible;
  padding: 0;
}

.placeholder-strip {
  display: flex;
  height: 100%;
  min-width: 0;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  padding: 0 16px;
  scrollbar-color: var(--video-outline-variant) var(--video-surface-low);
}

.video-editor-shell .timeline-clips.is-drop-target {
  outline: 2px solid var(--video-primary);
  outline-offset: -3px;
  background-color: rgb(16 185 129 / 0.12);
}

.video-editor-shell .timeline-clip {
  position: absolute;
  top: 50%;
  left: 0;
  width: var(--clip-duration-width, 180px);
  min-width: 32px;
  height: 32px;
  overflow: hidden;
  border: 1px solid var(--video-primary-container);
  border-radius: 4px;
  background: rgb(16 185 129 / 0.28);
  box-shadow: inset 3px 0 0 var(--video-primary);
  cursor: grab;
  outline: 0;
  touch-action: pan-y;
  transform: translateY(-50%);
  user-select: none;
}

.video-editor-shell .timeline-clip::before,
.video-editor-shell .timeline-clip::after {
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 4;
  width: 4px;
  background: var(--video-primary);
  content: "";
  opacity: 0;
  pointer-events: none;
}

.video-editor-shell .timeline-clip::before {
  left: 0;
}

.video-editor-shell .timeline-clip::after {
  right: 0;
}

.video-editor-shell .timeline-clip:hover::before,
.video-editor-shell .timeline-clip:hover::after,
.video-editor-shell .timeline-clip.is-selected::before,
.video-editor-shell .timeline-clip.is-selected::after,
.video-editor-shell .timeline-clip.is-trimming::before,
.video-editor-shell .timeline-clip.is-trimming::after {
  opacity: 1;
}

.video-editor-shell .timeline-clip.is-selected {
  border-color: var(--video-primary);
  box-shadow:
    inset 3px 0 0 var(--video-primary),
    0 0 0 1px rgb(0 108 73 / 0.5);
}

.video-editor-shell .timeline-clip.is-dragging {
  cursor: grabbing;
  opacity: 0.78;
  transform: translateY(calc(-50% - 2px));
}

.video-editor-shell .timeline-clip.is-playing {
  box-shadow:
    inset 3px 0 0 var(--video-primary),
    0 0 0 2px rgb(16 185 129 / 0.32);
}

.video-editor-shell .timeline-clip.is-preview-deleted {
  opacity: 0.35;
}

.timeline-clip-probe {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.video-editor-shell .timeline-clip-meta {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  height: 100%;
  column-gap: 8px;
  padding: 0 8px;
  background: transparent;
  color: var(--video-primary);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 10px;
  line-height: 12px;
}

.video-editor-shell .timeline-clip-meta strong,
.video-editor-shell .timeline-clip-meta span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.video-editor-shell .timeline-clip-meta strong {
  color: var(--video-on-surface);
  font-weight: 700;
}

.video-editor-shell .timeline-clip-meta span {
  color: var(--video-on-surface-variant);
}

.video-editor-shell .timeline-clip-meta em {
  grid-row: 1 / span 2;
  grid-column: 2;
  color: var(--video-primary);
  font-style: normal;
  white-space: nowrap;
}

.video-editor-shell .timeline-preview-window {
  position: absolute;
  inset: 0 auto 0 var(--preview-left, 0%);
  z-index: 1;
  width: var(--preview-width, 100%);
  border-right: 2px solid rgb(0 108 73 / 0.5);
  border-left: 2px solid rgb(0 108 73 / 0.5);
  background: rgb(255 255 255 / 0.18);
  pointer-events: none;
}

.video-editor-shell .timeline-split-markers {
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: none;
}

.video-editor-shell .timeline-split-markers span {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--video-tertiary);
}

.video-editor-shell .timeline-empty {
  position: absolute;
  inset: 0 auto 0 16px;
  display: grid;
  width: min(360px, calc(100vw - 64px));
  height: 100%;
  align-content: center;
  gap: 3px;
  padding: 0;
  color: var(--video-muted);
  font-size: 12px;
}

.video-editor-shell .timeline-empty strong {
  color: var(--video-on-surface);
}

.placeholder-clip {
  position: relative;
  display: flex;
  flex: 0 0 clamp(132px, calc(var(--clip-duration-width, 180px) * var(--timeline-zoom)), 520px);
  height: 32px;
  min-width: 0;
  align-items: center;
  overflow: hidden;
  border-radius: 4px;
  padding: 0 8px;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 10px;
  white-space: nowrap;
}

.placeholder-clip span {
  position: relative;
  z-index: 2;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.audio-placeholder {
  border: 1px solid rgb(70 72 212 / 0.24);
  background: rgb(192 193 255 / 0.45);
  color: var(--video-secondary);
}

.subtitle-placeholder {
  position: absolute;
  top: 50%;
  left: 10%;
  width: 12%;
  min-width: 112px;
  transform: translateY(-50%);
  border: 1px solid var(--video-outline-variant);
  background: var(--video-surface-low);
  color: var(--video-on-surface);
  box-shadow: inset 3px 0 0 var(--video-tertiary);
}

.subtitle-placeholder::before {
  margin-right: 4px;
  color: var(--video-tertiary);
  font-family: "Material Symbols Outlined";
  font-size: 12px;
  content: "title";
}

.soundtrack-placeholder {
  position: absolute;
  inset: calc(50% - 16px) 16px auto 16px;
  border: 1px solid rgb(70 72 212 / 0.28);
  background: rgb(225 224 255 / 0.58);
  color: var(--video-secondary);
}

.soundtrack-placeholder span {
  border-radius: 3px;
  padding: 1px 4px;
  background: rgb(255 255 255 / 0.72);
}

.soundtrack-placeholder svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.48;
}

.tier-marker {
  position: absolute;
  top: 50%;
  width: 2px;
  height: 100%;
  transform: translateY(-50%);
  background: rgb(164 58 58 / 0.4);
}

.tier-marker::before {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: currentColor;
  content: "";
  transform: translate(-50%, -50%);
}

.tier-marker span {
  position: absolute;
  bottom: calc(50% + 8px);
  left: 50%;
  display: grid;
  width: 48px;
  min-height: 54px;
  place-items: end center;
  border: 1px solid var(--video-outline-variant);
  border-radius: 4px;
  padding: 4px;
  background: var(--video-surface-lowest);
  color: #ffffff;
  font-size: 10px;
  font-weight: 800;
  line-height: 12px;
  box-shadow: 0 4px 10px rgb(25 28 30 / 0.12);
  transform: translateX(-50%);
}

.tier-marker span::before {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  margin-bottom: 4px;
  border-radius: 3px;
  background:
    linear-gradient(135deg, rgb(25 28 30 / 0.12), transparent 45%),
    var(--video-surface-highest);
  content: "";
}

.tier-marker span::after {
  position: absolute;
  bottom: -5px;
  left: 50%;
  width: 8px;
  height: 8px;
  border-right: 1px solid var(--video-outline-variant);
  border-bottom: 1px solid var(--video-outline-variant);
  background: var(--video-surface-lowest);
  content: "";
  transform: translateX(-50%) rotate(45deg);
}

.marker-s,
.marker-s span {
  color: var(--video-error);
}

.marker-s span {
  background: var(--video-surface-lowest);
}

.marker-s span::before {
  background:
    linear-gradient(135deg, rgb(186 26 26 / 0.16), transparent 45%),
    var(--video-tertiary-soft);
}

.marker-s span {
  color: var(--video-error);
}

.marker-a,
.marker-a span,
.marker-b,
.marker-b span {
  color: var(--video-tertiary);
}

.marker-a span::before,
.marker-b span::before {
  background:
    linear-gradient(135deg, rgb(164 58 58 / 0.16), transparent 45%),
    var(--video-tertiary-soft);
}

.video-editor-shell .timeline-playhead {
  position: absolute;
  top: -24px;
  bottom: 0;
  left: calc(192px + 15%);
  z-index: 12;
  width: 14px;
  background: transparent;
  cursor: ew-resize;
  touch-action: none;
  transform: translateX(-50%);
}

.video-editor-shell .timeline-playhead::before {
  position: absolute;
  top: 0;
  left: 50%;
  width: 12px;
  height: 16px;
  border-radius: 0 0 4px 4px;
  background: var(--video-primary);
  content: "";
  transform: translateX(-50%);
}

.video-editor-shell .timeline-playhead::after {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: var(--video-primary);
  content: "";
  transform: translateX(-50%);
}

.video-editor-shell .timeline-playhead:focus-visible {
  outline: 2px solid var(--video-primary);
  outline-offset: 3px;
}


.video-editor-shell .timeline-clips .timeline-empty {
  flex: 1 0 auto;
}

.video-editor-shell .timeline-clip-audio {
  border-color: rgb(70 72 212 / 0.32);
  background: rgb(192 193 255 / 0.45);
  box-shadow: inset 3px 0 0 var(--video-secondary);
}

.video-editor-shell .timeline-clip-audio.is-selected {
  border-color: var(--video-secondary);
  box-shadow:
    inset 3px 0 0 var(--video-secondary),
    0 0 0 1px rgb(70 72 212 / 0.42);
}

.timeline-clip-type {
  position: absolute;
  top: 50%;
  left: 7px;
  z-index: 3;
  transform: translateY(-50%);
  color: currentColor;
  font-size: 14px;
  opacity: 0.84;
  pointer-events: none;
}

.video-editor-shell .timeline-clip-meta {
  padding-left: 28px;
}

.inspector-control-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.inspector-editor-card label,
.inspector-field {
  display: grid;
  min-width: 0;
  gap: 5px;
  color: var(--video-on-surface-variant);
  font-size: 11px;
  font-weight: 700;
  line-height: 16px;
}

.inspector-field-wide {
  grid-column: 1 / -1;
}

.inspector-editor-card input:not([type="checkbox"]),
.inspector-editor-card select,
.inspector-editor-card textarea {
  width: 100%;
  min-width: 0;
  border: 1px solid var(--video-outline-variant);
  border-radius: 4px;
  background: var(--video-surface);
  color: var(--video-on-surface);
  font: inherit;
  font-size: 12px;
  line-height: 18px;
  padding: 6px 8px;
}

.inspector-editor-card input[type="color"] {
  height: 34px;
  padding: 3px;
}

.inspector-editor-card input[type="range"] {
  padding: 0;
  accent-color: var(--video-primary);
}

.inspector-editor-card textarea {
  resize: vertical;
}

.inspector-editor-card input:focus,
.inspector-editor-card select:focus,
.inspector-editor-card textarea:focus,
.inspector-button-row button:focus-visible {
  border-color: var(--video-primary);
  outline: 0;
}

.inspector-button-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 4px;
  border: 1px solid var(--video-outline-variant);
  border-radius: 4px;
  background: var(--video-surface);
  padding: 3px;
}

.inspector-button-row button {
  min-width: 0;
  border: 0;
  border-radius: 3px;
  background: transparent;
  color: var(--video-on-surface-variant);
  cursor: pointer;
  font: inherit;
  font-size: 11px;
  font-weight: 700;
  line-height: 16px;
  padding: 5px 6px;
}

.inspector-button-row button:hover,
.inspector-button-row button.is-active,
.inspector-button-row button[aria-pressed="true"] {
  background: var(--video-surface-highest);
  color: var(--video-primary);
}

.video-editor-shell .button.danger,
.inspector-remove-button {
  width: 100%;
  border-color: rgb(186 26 26 / 0.34);
  background: rgb(252 124 120 / 0.14);
  color: var(--video-error);
}

.video-editor-shell .button.danger:hover,
.inspector-remove-button:hover {
  border-color: var(--video-error);
  background: rgb(252 124 120 / 0.2);
}

@media (max-width: 640px) {
  .inspector-control-grid {
    grid-template-columns: 1fr;
  }
}

/* Video editor hover and compact-icon alignment refinements. */
body.video-route .material-symbols-outlined {
  line-height: 1;
  vertical-align: middle;
}

.video-editor-shell .transport-button,
.video-editor-shell .timeline-tool,
.video-editor-shell .media-trash-button {
  padding: 0;
}

.video-editor-shell .transport-button {
  height: 28px;
  min-height: 28px;
}

.video-editor-shell .transport-play {
  height: 40px;
  min-height: 40px;
}

.video-editor-shell .timeline-tool {
  cursor: pointer;
}

.video-editor-shell .timeline-tool.timeline-tool-labeled {
  width: auto;
  min-width: 58px;
  padding: 0 8px;
  gap: 4px;
}

.video-editor-shell .timeline-tool:disabled {
  cursor: not-allowed;
}

.video-editor-shell .media-trash-button {
  min-height: 28px;
}

.video-editor-shell input[type="range"] {
  cursor: pointer;
}

.video-editor-shell input[type="range"]:disabled {
  cursor: not-allowed;
}

.media-source-card {
  cursor: grab;
}

.media-source-card.is-drag-source,
.media-source-card:active {
  cursor: grabbing;
}

.media-source-card .media-thumb,
.media-source-card .media-title,
.media-source-card .media-thumb video {
  cursor: inherit;
}

.media-source-card .media-thumb:not(.media-audio-thumb) video {
  pointer-events: none;
}

.media-source-card .media-add-button,
.media-source-card .media-trash-button,
.media-source-card .media-add-button *,
.media-source-card .media-trash-button *,
.media-placeholder-tile {
  cursor: pointer;
}

.video-editor-shell .timeline-clips.is-drop-target,
.video-editor-shell .timeline-clips.is-drop-target * {
  cursor: copy;
}

.video-editor-shell .timeline-clip.is-trim-hover,
.video-editor-shell .timeline-clip.is-trim-hover * {
  cursor: ew-resize;
}

.video-editor-shell .timeline-clip.is-trim-start-hover,
.video-editor-shell .timeline-clip.is-trim-start-hover * {
  cursor: w-resize;
}

.video-editor-shell .timeline-clip.is-trim-end-hover,
.video-editor-shell .timeline-clip.is-trim-end-hover * {
  cursor: e-resize;
}

.video-editor-shell .timeline-playhead {
  transform: translateX(-100%);
}

.video-editor-shell .timeline-playhead::before,
.video-editor-shell .timeline-playhead::after {
  left: 100%;
}

.video-editor-shell .timeline-clip[data-lane="video"] {
  background: rgb(77 142 255 / 0.28);
}

.video-editor-shell .timeline-clip[data-lane="video"].is-selected {
  background: rgb(77 142 255 / 0.94);
}

.video-editor-shell .timeline-clip[data-lane="audio"] {
  background: rgb(192 193 255 / 0.36);
}

.video-editor-shell .timeline-clip[data-lane="audio"].is-selected {
  background: rgb(192 193 255 / 0.96);
}

.video-editor-shell .timeline-clip[data-lane="soundtrack"] {
  border-color: rgb(0 108 73 / 0.34);
  background: rgb(0 165 114 / 0.24);
  box-shadow: inset 3px 0 0 var(--video-tertiary);
}

.video-editor-shell .timeline-clip[data-lane="soundtrack"].is-selected {
  background: rgb(0 165 114 / 0.9);
}

@media (max-width: 760px) {
  body.video-route {
    overflow: hidden;
    overscroll-behavior: none;
  }

  body.video-route .page {
    min-width: 0;
    min-height: calc(100dvh - var(--topbar-height, 65px));
    overflow: hidden;
  }

  .video-editor-shell {
    --video-timeline-footer-height: clamp(292px, 38dvh, 340px);
    --timeline-canvas-width: max(100%, 560px);
    grid-template-rows: minmax(0, 1fr) var(--video-timeline-footer-height);
    width: 100%;
    min-width: 0;
    height: calc(100dvh - var(--topbar-height, 65px));
    min-height: calc(100dvh - var(--topbar-height, 65px));
    overflow: hidden;
    padding-bottom: env(safe-area-inset-bottom);
  }

  .video-editor-main {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: minmax(0, 1fr) auto;
    min-width: 0;
    min-height: 0;
    overflow: hidden;
  }

  .preview-panel {
    min-height: 0;
    overflow: hidden;
  }

  .media-library-panel,
  .inspector-panel {
    border-right: 1px solid var(--video-outline-variant);
    border-bottom: 0;
    border-left: 1px solid var(--video-outline-variant);
  }

  .video-editor-shell .timeline-panel {
    grid-template-rows: auto 20px minmax(0, 1fr);
    height: var(--video-timeline-footer-height);
    min-height: 0;
    overflow: hidden;
  }

  .video-editor-shell .timeline-toolbar {
    grid-template-columns: minmax(0, 1fr) auto;
    min-height: 76px;
    gap: 6px;
    padding: 6px 8px;
  }

  .video-editor-shell .timeline-tool-group {
    grid-column: 1 / -1;
    justify-content: flex-start;
    min-width: 0;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 2px;
    scrollbar-width: none;
  }

  .video-editor-shell .timeline-tool-group::-webkit-scrollbar {
    display: none;
  }

  .video-editor-shell .timeline-status {
    min-width: 0;
    text-align: left;
  }

  .timeline-zoom-controls {
    justify-content: flex-end;
    gap: 4px;
  }

  .timeline-zoom-controls input,
  .video-editor-shell .timeline-zoom-controls input[type="range"] {
    display: none;
  }

  .video-editor-shell .timeline-tool {
    width: 32px;
    height: 32px;
    min-width: 32px;
    min-height: 32px;
  }

  .video-editor-shell .timeline-tool.timeline-tool-labeled {
    min-width: 62px;
    min-height: 32px;
  }

  .video-editor-shell .timeline-ruler {
    grid-template-columns: 56px minmax(0, 1fr);
    min-height: 20px;
    overflow: hidden;
  }

  .timeline-ruler-grid {
    min-width: var(--timeline-canvas-width);
  }

  .timeline-ruler-grid span {
    bottom: 3px;
    font-size: 9px;
    line-height: 10px;
  }

  .video-editor-shell .timeline-track {
    grid-template-columns: 56px minmax(0, 1fr);
    min-height: 0;
    overflow: hidden;
  }

  .timeline-track-headers {
    min-width: 56px;
  }

  .timeline-track-header {
    grid-template-columns: 1fr;
    grid-auto-rows: min-content;
    align-content: center;
    justify-items: center;
    gap: 2px;
    padding: 0 4px;
  }

  .timeline-track-label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
  }

  .timeline-track-header .material-symbols-outlined {
    font-size: 17px;
  }

  .timeline-track-action {
    width: 22px;
    height: 22px;
    min-width: 22px;
    min-height: 22px;
  }

  .timeline-track-header .timeline-track-action .material-symbols-outlined {
    font-size: 17px;
  }

  .timeline-lanes {
    min-width: 0;
    overflow-x: auto;
    overflow-y: hidden;
  }

  .timeline-lane,
  .tier-block-working-area,
  .tier-display-working-area,
  .subtitle-working-area,
  .video-editor-shell .timeline-clips {
    width: var(--timeline-canvas-width);
    min-width: var(--timeline-canvas-width);
  }

  .video-editor-shell .timeline-playhead {
    top: -20px;
    left: calc(56px + 15%);
    width: 18px;
  }

  .video-editor-shell .timeline-empty {
    inset: 0 auto 0 12px;
    width: min(280px, calc(100vw - 96px));
    gap: 2px;
    font-size: 11px;
    line-height: 15px;
  }

  .placeholder-strip {
    padding: 0 10px;
  }

  .video-editor-shell .timeline-clip,
  .subtitle-working-item {
    height: 34px;
  }

  .video-editor-shell .timeline-clip-meta {
    column-gap: 5px;
    padding-right: 6px;
    padding-left: 26px;
  }

  .inspector-control-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 420px) {
  .video-editor-shell {
    --video-timeline-footer-height: clamp(284px, 38dvh, 324px);
    --timeline-canvas-width: max(100%, 520px);
  }

  .video-editor-shell .timeline-toolbar {
    min-height: 74px;
  }

  .video-editor-shell .timeline-tool.timeline-tool-labeled {
    min-width: 58px;
  }
}

.subtitle-working-item {
  position: absolute;
  background: rgb(53 53 52 / 0.18);
  touch-action: pan-y;
}

.subtitle-working-item.is-active {
  background: rgb(255 255 255 / 0.96);
}

.subtitle-working-item.is-selected:not(.is-active) {
  background: rgb(192 193 255 / 0.62);
}

.subtitle-working-item:hover:not(.is-active),
.subtitle-working-item:focus-visible:not(.is-active) {
  background: rgb(53 53 52 / 0.18);
}

.subtitle-working-item.is-dragging {
  cursor: grabbing;
  opacity: 0.82;
}

.subtitle-resize-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 3;
  width: 18px;
  cursor: ew-resize;
  pointer-events: auto;
}

.subtitle-resize-handle::after {
  position: absolute;
  top: 7px;
  bottom: 7px;
  width: 2px;
  border-radius: 2px;
  background: currentColor;
  content: "";
  opacity: 0;
}

.subtitle-working-item:hover .subtitle-resize-handle::after,
.subtitle-working-item:focus-visible .subtitle-resize-handle::after {
  opacity: 0.38;
}

.subtitle-resize-start {
  left: 0;
  cursor: w-resize;
}

.subtitle-resize-start::after {
  left: 5px;
}

.subtitle-resize-end {
  right: 0;
  cursor: e-resize;
}

.subtitle-resize-end::after {
  right: 5px;
}

.subtitle-working-label {
  pointer-events: none;
}

.tier-block-working-item.timeline-auxiliary-chip,
.subtitle-working-item.timeline-auxiliary-chip {
  position: absolute;
  top: 50%;
  display: block;
  min-width: 32px;
  max-width: none;
  height: 32px;
  overflow: hidden;
  border: 1px solid rgb(70 72 212 / 0.32);
  border-radius: 4px;
  background: rgb(192 193 255 / 0.45);
  color: var(--video-on-surface);
  cursor: grab;
  font: inherit;
  padding: 0;
  box-shadow: inset 3px 0 0 var(--video-secondary);
  transform: translateY(-50%);
  touch-action: pan-y;
  user-select: none;
}

.tier-block-working-item.timeline-auxiliary-chip::before,
.subtitle-working-item.timeline-auxiliary-chip::before {
  content: none;
}

.tier-block-working-item.timeline-auxiliary-chip:hover,
.tier-block-working-item.timeline-auxiliary-chip:focus-visible,
.tier-block-working-item.timeline-auxiliary-chip.is-active,
.subtitle-working-item.timeline-auxiliary-chip.is-selected,
.subtitle-working-item.timeline-auxiliary-chip:hover,
.subtitle-working-item.timeline-auxiliary-chip:focus-visible,
.subtitle-working-item.timeline-auxiliary-chip.is-active {
  border-color: var(--video-secondary);
  background: rgb(192 193 255 / 0.45);
  outline: 0;
  box-shadow:
    inset 3px 0 0 var(--video-secondary),
    0 0 0 1px rgb(70 72 212 / 0.42);
}

.subtitle-working-area.is-bulk-subtitle-selection .subtitle-working-item.timeline-auxiliary-chip {
  cursor: default;
}

.subtitle-working-item.timeline-auxiliary-chip.is-selected {
  border-color: rgb(0 108 73 / 0.72);
  background: rgb(255 255 255 / 0.9);
  box-shadow:
    inset 3px 0 0 var(--video-primary),
    0 0 0 2px rgb(0 108 73 / 0.24),
    0 6px 16px rgb(0 0 0 / 0.12);
}

.subtitle-working-item.timeline-auxiliary-chip.is-active {
  border-color: var(--video-primary);
  background: #ffffff;
  box-shadow:
    inset 3px 0 0 var(--video-primary),
    0 0 0 2px rgb(0 108 73 / 0.36),
    0 8px 18px rgb(0 0 0 / 0.16);
}

.tier-block-working-item.timeline-auxiliary-chip.is-dragging,
.subtitle-working-item.timeline-auxiliary-chip.is-dragging {
  cursor: grabbing;
  opacity: 0.78;
  transform: translateY(calc(-50% - 2px));
}

.tier-block-working-item.timeline-auxiliary-chip .timeline-clip-type,
.subtitle-working-item.timeline-auxiliary-chip .timeline-clip-type {
  color: var(--video-secondary);
}

.tier-block-working-item.timeline-auxiliary-chip .timeline-clip-meta,
.subtitle-working-item.timeline-auxiliary-chip .timeline-clip-meta {
  text-align: left;
}

.tier-block-working-item.timeline-auxiliary-chip .timeline-clip-meta-single {
  grid-template-rows: 1fr;
}

.tier-block-working-item.timeline-auxiliary-chip .timeline-clip-meta-single em {
  grid-row: 1;
}

.video-editor-shell.is-inspector-hidden .video-editor-main {
  grid-template-columns: 320px minmax(0, 1fr);
}

.video-editor-shell.is-inspector-hidden .inspector-panel {
  display: none;
}

.video-editor-shell:not(.is-inspector-hidden) .media-library-panel {
  display: none;
}

.video-editor-shell.is-inspector-hidden [data-mobile-editor-panel-target="edit"] {
  display: none;
}

.video-editor-shell:not(.is-inspector-hidden) [data-mobile-editor-panel-target="media"] {
  display: none;
}

@media (max-width: 1180px) {
  .video-editor-shell.is-inspector-hidden .video-editor-main {
    grid-template-columns: 304px minmax(0, 1fr);
  }
}

@media (max-width: 980px) {
  .video-editor-shell.is-inspector-hidden .video-editor-main {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Player UI ABC: dark minimalist player with floating glass controls. */
.video-editor-shell .preview-panel {
  position: relative;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  min-height: 0;
  overflow: hidden;
  background: #000000;
}

.video-editor-shell .preview-window {
  position: relative;
  inset: 0;
  isolation: isolate;
  align-self: stretch;
  justify-self: stretch;
  min-height: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid transparent;
  border-radius: 8px;
  background: #000000;
  box-shadow: 0 24px 72px rgb(0 0 0 / 0.34);
}

.video-editor-shell .preview-placeholder {
  z-index: 2;
  color: rgb(248 250 252 / 0.58);
}

.video-editor-shell .player-abc-controls {
  position: relative;
  z-index: 30;
  display: grid;
  grid-template-areas: none;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
  min-height: 0;
  margin: 12px clamp(24px, 4vw, 40px) clamp(16px, 3vw, 28px);
  border: 0;
  padding: 0;
  background: transparent;
  color: #f8fafc;
  pointer-events: none;
}

.video-editor-shell .player-abc-controls > * {
  pointer-events: auto;
}

.video-editor-shell .player-abc-controls .transport-progress {
  display: block;
  grid-area: auto;
  width: 100%;
  min-width: 0;
}

.video-editor-shell .player-abc-controls .transport-control-row {
  grid-area: auto;
}

.video-editor-shell .player-abc-controls .transport-progress-input {
  --preview-progress-percent: 0%;
  width: 100%;
  min-width: 0;
  height: 16px;
  border: 0;
  padding: 0;
  background:
    linear-gradient(
      to right,
      #10b981 0 var(--preview-progress-percent),
      rgb(255 255 255 / 0.3) var(--preview-progress-percent) 100%
    )
    center / 100% 2px no-repeat;
  accent-color: #10b981;
  cursor: pointer;
  transition: background-size 160ms ease;
  appearance: none;
  -webkit-appearance: none;
}

.video-editor-shell .player-abc-controls .transport-progress-input:disabled {
  cursor: not-allowed;
  opacity: 0.54;
}

.video-editor-shell .player-abc-controls .transport-progress-input::-webkit-slider-runnable-track {
  height: 2px;
  border-radius: 8px;
  background: transparent;
  transition: height 160ms ease;
}

.video-editor-shell .player-abc-controls:hover .transport-progress-input,
.video-editor-shell .player-abc-controls:focus-within .transport-progress-input {
  background-size: 100% 6px;
}

.video-editor-shell .player-abc-controls:hover .transport-progress-input::-webkit-slider-runnable-track,
.video-editor-shell .player-abc-controls:focus-within .transport-progress-input::-webkit-slider-runnable-track {
  height: 6px;
}

.video-editor-shell .player-abc-controls .transport-progress-input::-webkit-slider-thumb {
  width: 12px;
  height: 12px;
  margin-top: -5px;
  border: 0;
  border-radius: 999px;
  background: #ffffff;
  box-shadow: 0 0 12px rgb(16 185 129 / 0.55);
  opacity: 0;
  transform: scale(0);
  transition: opacity 160ms ease, transform 160ms ease;
  -webkit-appearance: none;
}

.video-editor-shell .player-abc-controls:hover .transport-progress-input::-webkit-slider-thumb,
.video-editor-shell .player-abc-controls:focus-within .transport-progress-input::-webkit-slider-thumb {
  opacity: 1;
  transform: scale(1);
}

.video-editor-shell .player-abc-controls .transport-progress-input::-moz-range-track {
  height: 2px;
  border-radius: 8px;
  background: rgb(255 255 255 / 0.3);
  transition: height 160ms ease, background-color 160ms ease;
}

.video-editor-shell .player-abc-controls:hover .transport-progress-input::-moz-range-track,
.video-editor-shell .player-abc-controls:focus-within .transport-progress-input::-moz-range-track {
  height: 6px;
  background: rgb(255 255 255 / 0.5);
}

.video-editor-shell .player-abc-controls .transport-progress-input::-moz-range-progress {
  height: 2px;
  border-radius: 8px;
  background: #10b981;
}

.video-editor-shell .player-abc-controls:hover .transport-progress-input::-moz-range-progress,
.video-editor-shell .player-abc-controls:focus-within .transport-progress-input::-moz-range-progress {
  height: 6px;
}

.video-editor-shell .player-abc-controls .transport-progress-input::-moz-range-thumb {
  width: 12px;
  height: 12px;
  border: 0;
  border-radius: 999px;
  background: #ffffff;
  box-shadow: 0 0 12px rgb(16 185 129 / 0.55);
  opacity: 0;
  transform: scale(0);
  transition: opacity 160ms ease, transform 160ms ease;
}

.video-editor-shell .player-abc-controls:hover .transport-progress-input::-moz-range-thumb,
.video-editor-shell .player-abc-controls:focus-within .transport-progress-input::-moz-range-thumb {
  opacity: 1;
  transform: scale(1);
}

.video-editor-shell .transport-control-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-width: 0;
}

.video-editor-shell .transport-pill {
  display: inline-flex;
  min-width: 0;
  min-height: 44px;
  align-items: center;
  gap: 10px;
  border: 1px solid rgb(255 255 255 / 0.1);
  border-radius: 999px;
  padding: 8px 14px;
  background: rgb(15 23 42 / 0.6);
  box-shadow:
    0 4px 6px rgb(0 0 0 / 0.1),
    0 2px 4px rgb(0 0 0 / 0.08);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.video-editor-shell .transport-primary-pill {
  padding-left: 10px;
}

.video-editor-shell .player-abc-controls .transport-controls,
.video-editor-shell .player-abc-controls .transport-secondary {
  grid-area: auto;
  min-width: 0;
  gap: 10px;
}

.video-editor-shell .player-abc-controls .transport-button {
  display: inline-grid;
  width: 28px;
  height: 28px;
  min-height: 28px;
  place-items: center;
  border: 0;
  border-radius: 999px;
  padding: 0;
  background: transparent;
  color: #e2e8f0;
  box-shadow: none;
  transition: color 160ms ease, transform 120ms ease;
}

.video-editor-shell .player-abc-controls .transport-button:hover,
.video-editor-shell .player-abc-controls .transport-button:focus-visible {
  background: transparent;
  color: #10b981;
  outline: 0;
  transform: scale(1.1);
}

.video-editor-shell .player-abc-controls .transport-button:focus-visible {
  box-shadow: 0 0 0 2px #10b981;
}

.video-editor-shell .player-abc-controls .transport-play {
  width: 28px;
  height: 28px;
  min-height: 28px;
  background: transparent;
  color: #e2e8f0;
}

.video-editor-shell .player-abc-controls .transport-timecode,
.video-editor-shell .player-abc-controls .transport-progress-duration,
.video-editor-shell .transport-time-divider {
  min-width: 0;
  color: #cbd5e1;
  font-family: Geist, ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 13px;
  font-variant-numeric: tabular-nums;
  font-weight: 500;
  line-height: 18px;
  text-align: left;
  white-space: nowrap;
}

.video-editor-shell .transport-time-divider {
  color: #64748b;
}

.video-editor-shell .transport-pill-divider {
  width: 1px;
  height: 16px;
  flex: 0 0 auto;
  background: rgb(255 255 255 / 0.2);
}

.video-editor-shell .player-abc-controls .transport-volume {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 10px;
}

.video-editor-shell .player-abc-controls .transport-volume input[type="range"] {
  width: 0;
  min-width: 0;
  height: 16px;
  border: 0;
  margin: 0;
  padding: 0;
  background: transparent;
  accent-color: #10b981;
  opacity: 0;
  pointer-events: none;
  transition: width 160ms ease, opacity 160ms ease;
}

.video-editor-shell .player-abc-controls .transport-volume:hover input[type="range"],
.video-editor-shell .player-abc-controls .transport-volume:focus-within input[type="range"] {
  width: 64px;
  opacity: 1;
  pointer-events: auto;
}

.preview-panel:fullscreen .preview-window,
.preview-panel:-webkit-full-screen .preview-window {
  inset: 0;
  margin: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.preview-panel:fullscreen .player-abc-controls,
.preview-panel:-webkit-full-screen .player-abc-controls {
  margin: 12px 24px 24px;
}

@media (max-width: 760px) {
  .video-editor-shell .preview-window {
    margin: 10px 10px 0;
  }

  .video-editor-shell .player-abc-controls {
    width: auto;
    max-width: none;
    margin: 10px 18px 18px;
    gap: 10px;
  }

  .video-editor-shell .transport-control-row {
    width: 100%;
    max-width: none;
    justify-content: flex-start;
    gap: 10px;
  }

  .video-editor-shell .player-abc-controls .transport-progress {
    width: 100%;
    max-width: none;
  }

  .video-editor-shell .transport-pill {
    min-height: 40px;
    gap: 7px;
    padding: 6px 10px;
  }

  .video-editor-shell .transport-primary-pill {
    padding-left: 8px;
  }

  .video-editor-shell .player-abc-controls .transport-timecode,
  .video-editor-shell .player-abc-controls .transport-progress-duration,
  .video-editor-shell .transport-time-divider {
    font-size: 12px;
    line-height: 16px;
  }

  .video-editor-shell .player-abc-controls .transport-volume input[type="range"],
  .video-editor-shell .player-abc-controls .transport-volume:hover input[type="range"],
  .video-editor-shell .player-abc-controls .transport-volume:focus-within input[type="range"] {
    width: 0;
    opacity: 0;
    pointer-events: none;
  }
}

@media (max-width: 420px) {
  .video-editor-shell .player-abc-controls {
    width: auto;
    max-width: none;
    margin-inline: 14px;
    margin-bottom: 14px;
  }

  .video-editor-shell .transport-control-row,
  .video-editor-shell .player-abc-controls .transport-progress {
    width: 100%;
    max-width: none;
  }

  .video-editor-shell .transport-pill {
    padding-inline: 8px;
  }

  .video-editor-shell .player-abc-controls .transport-button,
  .video-editor-shell .player-abc-controls .transport-play {
    width: 26px;
    height: 26px;
    min-height: 26px;
  }
}
