.cutter-drop {
  margin: 16px 0;
  padding: 20px;
  border: 1px dashed var(--line, #aaa);
  border-radius: 12px;
  text-align: center;
}
.cutter-player {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background: #151515;
}
.cutter-player video {
  display: block;
  width: 100%;
  max-height: 60vh;
  cursor: pointer;
}
#cut {
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  padding: 12px 18px;
  border: 0;
  border-radius: 12px;
  background: #b92329;
  color: white;
  white-space: nowrap;
}
#cut:hover { background: #9e1c22; }
.cutter-timeline {
  position: relative;
  margin-top: 12px;
}
#timeline {
  display: block;
  width: 100%;
  height: 26px;
  margin: 0;
  cursor: pointer;
}
#markers {
  position: absolute;
  inset: 3px 8px;
  pointer-events: none;
}
#markers span {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 2px;
  background: #b92329;
}
.cutter-points > div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}
.cutter-points button { padding: 6px 10px; }
.cutter-controls {
  min-width: 0;
  padding: 0;
  border: 0;
  margin: 0;
}
.cutter-mode {
  margin: 20px 0 0;
  border: 1px solid var(--line, #ccc);
  border-radius: 12px;
}
.cutter-mode p { margin: 4px 0 12px; }
.cutter-segments {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 190px), 1fr));
  gap: 12px;
}
.cutter-segment img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  background: #151515;
  color: #fff;
  border-radius: 6px;
  margin-bottom: 8px;
  cursor: grab;
}
.cutter-drop.drag-over,
.cutter-segment.drag-over {
  outline: 2px solid #b92329;
  outline-offset: -2px;
}
#progress { width: min(100%, 320px); }
#downloads a { overflow-wrap: anywhere; }
