/* Video is a first-class destination. The editor uses the whole viewport. */
.video-hub-start {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 40px;
  padding: 32px;
  border: 1px solid #d4dfc8;
  border-radius: 18px;
  background: #e7efdb;
  margin: 24px 0 32px;
}
.video-hub-start h2 {
  font-size: 28px;
  letter-spacing: -0.8px;
  margin: 12px 0;
}
.video-hub-start p {
  font-size: 14px;
  line-height: 1.8;
  max-width: 52ch;
  color: #52664a;
}
.video-hub-start button {
  margin-top: 10px;
}
.video-hub-steps {
  display: grid;
  align-content: center;
  gap: 20px;
  font-size: 13px;
  color: #52664a;
  line-height: 1.6;
  margin: 0;
  padding-left: 22px;
}
.video-hub-demo-note {
  font-size: 12px !important;
  color: #40563b !important;
  font-weight: 600;
}
.video-project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 16px;
  margin-top: 18px;
}
.video-project-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  text-align: left;
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--ink);
}
.video-project-thumb {
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 9 / 12;
  overflow: hidden;
  border-radius: 10px;
  background: linear-gradient(145deg, #dce8cc, #173d32);
}
.video-project-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.video-project-placeholder {
  display: grid;
  justify-items: center;
  gap: 8px;
  color: white;
}
.video-project-placeholder b {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid #d5f478;
  border-radius: 50%;
  color: #d5f478;
}
.video-project-placeholder small { color: #e1eadb; }
.video-project-card:hover {
  border-color: #7c9568;
}
.video-project-card strong {
  font-size: 20px;
  line-height: 1.3;
}
.video-project-card small {
  font-size: 12px;
  color: var(--muted);
}
.video-project-status {
  color: #53694a;
  font-size: 12px;
  line-height: 1.5;
}
.video-project-card > span:last-child {
  font-size: 12px;
  margin-top: 8px;
}
.sheetback:has(.video-editor) {
  position: fixed !important;
  inset: 0 !important;
  padding: 0 !important;
  align-items: stretch !important;
  background: #111613;
  z-index: 90;
  overflow: auto;
}
.sheet:has(.video-editor) {
  width: 100% !important;
  min-width: 0 !important;
  max-width: none !important;
  height: 100dvh !important;
  max-height: none !important;
  margin: 0 !important;
  padding: 0 !important;
  border-radius: 0 !important;
  overflow: hidden !important;
  background: #111613 !important;
}
.sheet:has(.video-editor) > .close,
.sheet:has(.video-editor) > .handle {
  display: none !important;
}
.video-editor {
  --ve-ink: #edf2ee;
  --ve-muted: #c0cbc4;
  --ve-line: #34423a;
  --ve-panel: #1b241f;
  color: var(--ve-ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr) 280px;
  grid-template-rows: 60px minmax(0, 1fr) 230px 38px;
  grid-template-areas: "top top top" "library monitor inspector" "timeline timeline timeline" "status status status";
  height: 100%;
  min-height: 0;
  background: #111613;
  font-size: 13px;
}
.video-editor * {
  box-sizing: border-box;
}
.video-editor [hidden] {
  display: none !important;
}
.video-editor button {
  color: var(--ve-ink);
  background: transparent;
  border-radius: 7px;
  min-height: 36px;
  font-size: 12px;
  padding: 8px 11px;
  line-height: 1.4;
}
.video-editor button:hover {
  background: #34443a;
}
.video-editor button:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
.video-editor input,
.video-editor select,
.video-editor textarea {
  color: var(--ve-ink);
  background: #111a15;
  border: 1px solid #45584b;
  border-radius: 7px;
  font-size: 13px;
  padding: 9px;
  width: 100%;
  margin: 6px 0 14px;
}
.video-editor input[type="range"] {
  padding: 0;
  accent-color: #d5f478;
  margin: 10px 0;
  height: 20px;
}
.video-editor input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: #d5f478;
}
.video-editor input[type="color"] {
  height: 42px;
  padding: 4px;
}
.video-editor label {
  font-size: 11px;
  color: #c0ccc4;
  display: block;
  margin: 0;
  line-height: 1.6;
}
.video-editor h2 {
  font-size: 16px;
  letter-spacing: -0.2px;
  margin: 0 0 12px;
}
.video-editor h3 {
  font-size: 13px;
  line-height: 1.6;
  word-break: break-word;
  margin: 0 0 18px;
}
.video-editor .ve-primary {
  background: #d5f478;
  color: #173d32;
  font-weight: 650;
}
.video-editor .ve-primary:hover {
  background: #e0ff91;
}
.ve-help {
  font-size: 11px;
  line-height: 1.8;
  color: var(--ve-muted);
  margin: 10px 0 20px;
}
.ve-top {
  grid-area: top;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 9px 18px;
  border-bottom: 1px solid var(--ve-line);
  background: #1b241f;
}
.ve-top #ve-name {
  flex: 1;
  min-width: 80px;
  width: auto;
  max-width: 400px;
  margin: 0;
  background: transparent;
  border-color: transparent;
  font-size: 14px;
  font-weight: 600;
}
.ve-top #ve-name:hover,
.ve-top #ve-name:focus {
  border-color: #59715f;
}
.ve-top .ve-format {
  margin-left: auto;
  color: var(--ve-muted);
  font-size: 11px;
  white-space: nowrap;
}
.ve-top .ve-back {
  white-space: nowrap;
  color: #c6d2ca;
}
.ve-save-state {
  color: #b8c8bc;
  font-size: 10px;
  white-space: nowrap;
}
.ve-save-state[data-failed="true"] {
  color: #f1bc83;
}
.ve-result-shortcut {
  border: 1px solid #718b57 !important;
  white-space: nowrap;
}
.ve-top .ve-primary {
  min-width: 100px;
}
.ve-library {
  grid-area: library;
  border-right: 1px solid var(--ve-line);
  overflow: auto;
  background: var(--ve-panel);
  padding: 16px;
}
.ve-library-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--ve-line);
  padding-bottom: 12px;
}
.ve-library-tabs button {
  flex: 1;
}
.ve-library-tabs [aria-pressed="true"] {
  background: #354a3b;
  color: #d5f478;
}
.ve-import {
  display: flex !important;
  justify-content: center;
  align-items: center;
  min-height: 74px;
  padding: 14px !important;
  border: 1px dashed #779969;
  border-radius: 10px;
  cursor: pointer;
  background: #273b2c;
  color: #e1f5d8 !important;
  text-align: center;
  font-size: 12px !important;
}
.ve-import:hover {
  background: #344d38;
}
.ve-import input {
  position: absolute;
  width: 1px !important;
  height: 1px;
  opacity: 0;
  padding: 0 !important;
  margin: 0 !important;
  overflow: hidden;
}
.ve-media-actions {
  display: grid;
  gap: 8px;
}
.ve-media-actions > button,
.ve-media-actions > .ve-import {
  width: 100%;
  min-height: 48px;
}
.ve-empty-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 6px;
}
.ve-empty-actions button {
  margin-top: 0;
}
.ve-recorder {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 18px;
  background: #050806eF;
}
.ve-recorder-panel {
  width: min(100%, 620px);
  max-height: min(92dvh, 820px);
  overflow: auto;
  padding: 22px;
  border: 1px solid #526457;
  border-radius: 14px;
  background: #1b241f;
  box-shadow: 0 18px 80px #000a;
}
.ve-recorder-panel header,
.ve-record-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}
.ve-recorder-panel header h2 {
  margin: 0;
}
.ve-recorder-panel [data-v-record-message] {
  color: #c0ccc4;
  line-height: 1.6;
}
.ve-recorder-panel video {
  display: block;
  width: 100%;
  max-height: 55dvh;
  min-height: 220px;
  margin: 14px 0;
  border-radius: 8px;
  background: #080d09;
  object-fit: contain;
}
.ve-recorder-panel small {
  display: block;
  margin-top: 14px;
  color: #bdc9c0;
  line-height: 1.6;
}
.ve-record-controls output {
  min-width: 54px;
  color: #eaf2ec;
  font-variant-numeric: tabular-nums;
}
.video-editor :focus-visible {
  outline: 2px solid #d5f478;
  outline-offset: 2px;
}
.ve-asset {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  gap: 7px;
  width: 100%;
  border: 1px solid #3c4d40;
  margin: 0 0 10px;
  padding: 12px !important;
}
.ve-asset > span {
  font-size: 9px;
  letter-spacing: 1.5px;
  color: #b5d695;
}
.ve-asset strong {
  font-size: 12px;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.ve-asset small {
  font-size: 10px;
  color: var(--ve-muted);
}
.ve-template {
  display: flex;
  flex-direction: column;
  text-align: left;
  gap: 8px;
  width: 100%;
  border: 1px solid var(--ve-line);
  padding: 16px !important;
  margin-bottom: 12px;
}
.ve-template small {
  font-size: 11px;
  color: var(--ve-muted);
  line-height: 1.7;
}
.video-editor.is-dropping {
  outline: 4px dashed #d5f478;
  outline-offset: -8px;
}
.ve-monitor {
  grid-area: monitor;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 0;
  padding: 18px;
  background: #101612;
  overflow: hidden;
}
.ve-canvas-wrap {
  position: relative;
  height: calc(100% - 46px);
  aspect-ratio: 9/16;
  max-width: 100%;
  max-height: 100%;
  background: #080e0a;
  box-shadow: 0 8px 30px #0006;
  min-height: 0;
}
.ve-canvas-wrap canvas {
  display: block;
  height: 100%;
  width: 100%;
  object-fit: contain;
}
.ve-canvas-empty {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  padding: 24px;
  background: #18231b;
}
.ve-canvas-empty h2 {
  font-size: 20px;
  line-height: 1.4;
}
.ve-canvas-empty p {
  font-size: 12px;
  line-height: 1.8;
  color: #b9cabb;
}
.ve-canvas-empty button {
  border: 1px solid #759b61;
  margin-top: 12px;
}
.ve-transport {
  flex: none;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 10px;
  height: 36px;
}
.ve-transport output {
  font-variant-numeric: tabular-nums;
  font-size: 11px;
  white-space: nowrap;
  color: #c3d1c6;
}
.ve-transport button {
  padding: 7px 9px;
  font-size: 11px;
}
.ve-inspector {
  grid-area: inspector;
  overflow: auto;
  background: var(--ve-panel);
  border-left: 1px solid var(--ve-line);
  padding: 20px 16px;
}
.ve-inspector-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  gap: 10px;
}
.ve-inspector-heading h2 {
  font-size: 14px;
  margin: 0;
}
.ve-inspector-heading span {
  font-size: 10px;
  color: var(--ve-muted);
}
.ve-property-pair {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 10px;
}
.ve-property-pair button {
  border: 1px solid var(--ve-line);
  font-size: 11px;
}
.ve-check {
  display: flex !important;
  align-items: center;
  gap: 10px;
  min-height: 40px;
}
.ve-publish {
  border-top: 1px solid var(--ve-line);
  margin-top: 24px;
  padding-top: 20px;
}
.ve-publish video {
  display: block;
  width: 100%;
  max-height: 240px;
  aspect-ratio: 9/16;
  object-fit: contain;
  margin-bottom: 14px;
  background: #080e0a;
}
.ve-result-review {
  margin-top: 18px;
  padding: 14px;
  border: 1px solid #536b43;
  border-radius: 10px;
  background: #222e24;
}
.ve-result-review h3 {
  font-size: 15px;
  margin-bottom: 6px;
}
.ve-result-review .ve-help {
  margin: 0 0 12px;
}
.ve-publish a {
  display: block;
  color: #d5f478;
  font-size: 12px;
  min-height: 44px;
  padding: 12px 0;
}
.ve-publish .ve-primary {
  width: 100%;
}
.ve-timeline {
  grid-area: timeline;
  min-height: 0;
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--ve-line);
  background: #1b241f;
}
.ve-timeline-tools {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-bottom: 1px solid #2e3c32;
  flex: none;
  overflow: auto;
  white-space: nowrap;
}
.ve-tools-row {
  display: flex;
  align-items: stretch;
  min-width: 0;
  border-bottom: 1px solid #2e3c32;
  overflow: hidden;
}
.ve-tools-row .ve-timeline-tools {
  min-width: 0;
  border-bottom: 0;
  flex: 1 1 auto;
}
.ve-tools-more {
  display: none;
}
.ve-timeline-tools label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}
.ve-timeline-tools input {
  width: 90px;
  margin: 0 !important;
}
.ve-tool-divider {
  height: 20px;
  width: 1px;
  background: var(--ve-line);
  margin: 0 8px;
}
.ve-timeline-scroll {
  flex: 1;
  overflow: auto;
  min-height: 0;
  padding: 0 20px;
}
.ve-timeline-scroll > [data-v-tracks] {
  position: relative;
  min-height: 136px;
  padding-top: 36px;
}
.ve-ruler {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 28px;
  border-bottom: 1px solid #3d4b41;
}
.ve-ruler span {
  position: absolute;
  top: 8px;
  font-size: 10px;
  color: #aebfb3;
  font-variant-numeric: tabular-nums;
}
.video-editor #ve-seek {
  position: absolute;
  left: -7px;
  top: 14px;
  z-index: 3;
  height: 20px;
  margin: 0;
  background: transparent;
  border: 0;
  opacity: 0.75;
  cursor: ew-resize;
}
.ve-track {
  position: relative;
  height: 52px;
  margin: 0 0 6px;
}
.ve-track > span {
  color: #8fa695;
  font-size: 11px;
  padding: 16px;
  display: block;
  border: 1px dashed #3c5342;
  max-width: 500px;
  height: 100%;
}
.ve-track button {
  position: absolute;
  top: 0;
  height: 100%;
  border: 2px solid #45674d;
  background: #2d4934;
  min-width: 5px;
  overflow: hidden;
  text-align: left;
  padding: 5px 8px;
}
.ve-track button strong,
.ve-track button small {
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 11px;
}
.ve-track button small {
  font-size: 9px;
  color: #bdcfb9;
  margin-top: 4px;
}
.ve-track button[aria-pressed="true"] {
  border-color: #d5f478;
  background: #3b5b3d;
}
.ve-text-track {
  height: 35px;
}
.ve-text-track button {
  background: #3d3654;
  border-color: #6c5b8c;
  font-size: 11px;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.ve-text-track button[aria-pressed="true"] {
  background: #524265;
  border-color: #d6b6ff;
}
.ve-playhead {
  position: absolute;
  top: 27px;
  bottom: 0;
  width: 1px;
  background: #e2f3cb;
  pointer-events: none;
  z-index: 4;
}
.ve-timeline-hint {
  flex: none;
  font-size: 10px;
  color: #b8c7bc;
  margin: 5px 20px 8px;
  line-height: 1.5;
}
.ve-status {
  grid-area: status;
  display: flex;
  align-items: center;
  gap: 14px;
  border-top: 1px solid var(--ve-line);
  padding: 4px 18px;
  background: #152019;
  overflow: hidden;
}
.ve-status > [data-v-note] {
  font-size: 11px;
  color: #bbcfbd;
  line-height: 1.5;
  overflow: auto;
}
.ve-status [data-error="true"] {
  color: #ffbf96;
}
.ve-status progress {
  margin-left: auto;
  width: 140px;
  accent-color: #d5f478;
  flex: none;
}
.ve-status button {
  font-size: 10px;
  min-height: 28px;
  margin-left: auto;
  white-space: nowrap;
}
@media (min-width: 900px) {
  .nav button {
    padding-top: 12px !important;
    padding-bottom: 12px !important;
  }
}
@media (max-width: 1099px) and (min-width: 760px) {
  .video-editor {
    grid-template-columns: 200px minmax(0, 1fr) 230px;
    grid-template-rows: 58px minmax(0, 1fr) 200px 42px;
  }
  .ve-library,
  .ve-inspector {
    padding: 12px;
  }
  .ve-format {
    display: none;
  }
  .ve-monitor {
    padding: 12px;
  }
  .ve-transport {
    gap: 4px;
  }
  .ve-top {
    gap: 8px;
  }
  .ve-top .ve-back {
    font-size: 11px;
  }
  .ve-top #ve-name {
    font-size: 12px;
  }
}
@media (max-width: 759px) {
  .video-hub-start {
    grid-template-columns: 1fr;
    padding: 22px;
    gap: 20px;
  }
  .video-hub-start h2 {
    font-size: 25px;
  }
  .video-hub-steps {
    gap: 12px;
  }
  .video-editor {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto 200px minmax(320px, 45svh) 250px auto auto;
    grid-template-areas: "top" "library" "monitor" "timeline" "inspector" "status";
    overflow: auto;
    height: 100dvh;
    align-content: start;
    min-width: 0;
  }
  .ve-top {
    position: sticky;
    top: 0;
    z-index: 8;
    display: grid;
    grid-template-columns: minmax(72px, auto) minmax(0, 1fr) auto;
    grid-template-rows: minmax(44px, auto) minmax(44px, auto);
    grid-template-areas: "back name state" "back save export";
    padding: 8px 12px;
    gap: 4px 8px;
    background: #1b241ff5;
  }
  .ve-top .ve-back {
    grid-area: back;
    font-size: 11px;
    padding-left: 0;
    justify-self: start;
    min-height: 44px;
  }
  .ve-top #ve-name {
    grid-area: name;
    font-size: 16px;
    max-width: none;
    min-width: 0;
    padding: 8px 4px;
  }
  .ve-top .ve-format {
    display: none;
  }
  .ve-top .ve-save-state {
    grid-area: state;
    justify-self: end;
    border: 0;
    padding: 4px 0;
  }
  .ve-top [data-v-action="save"] {
    grid-area: save;
    justify-self: start;
    min-height: 44px;
  }
  .ve-top .ve-primary {
    grid-area: export;
    justify-self: end;
    min-width: 0;
    min-height: 44px;
  }
  .ve-library {
    border-right: 0;
    border-bottom: 1px solid var(--ve-line);
    max-height: 230px;
    padding: 12px 16px;
  }
  .ve-library-tabs {
    margin: 0 0 10px;
    padding-bottom: 7px;
  }
  .ve-library-tabs button {
    flex: none;
    min-width: 90px;
  }
  .ve-import {
    min-height: 52px !important;
    padding: 10px !important;
  }
  .ve-library .ve-help {
    margin: 8px 0;
    font-size: 10px;
  }
  .ve-library [data-v-assets] {
    display: flex;
    gap: 10px;
    overflow: auto;
  }
  .ve-asset {
    min-width: 160px;
    width: 160px;
    margin-bottom: 0;
  }
  .ve-library [data-v-library="templates"] {
    display: flex;
    gap: 10px;
    overflow: auto;
  }
  .ve-library [data-v-library="templates"] > h2,
  .ve-library [data-v-library="templates"] > p {
    display: none;
  }
  .ve-template {
    min-width: 180px;
    width: 180px;
    margin: 0;
  }
  .ve-monitor {
    padding: 12px;
  }
  .ve-canvas-wrap {
    height: calc(100% - 46px);
  }
  .ve-inspector {
    border-left: 0;
    border-top: 1px solid var(--ve-line);
    padding: 20px;
  }
  .ve-inspector input,
  .ve-inspector textarea,
  .ve-inspector select {
    font-size: 16px;
  }
  .ve-inspector-heading {
    margin-bottom: 16px;
  }
  .ve-transport {
    gap: 10px;
  }
  .ve-status {
    min-height: 44px;
    padding: 10px 16px;
  }
  .ve-status progress {
    width: 70px;
  }
  .ve-timeline-tools {
    padding: 8px 12px;
    scrollbar-width: none;
    scroll-behavior: smooth;
    overscroll-behavior-x: contain;
    overflow-x: auto;
    overflow-y: hidden;
  }
  .ve-timeline-tools::-webkit-scrollbar {
    display: none;
  }
  .ve-timeline-tools button,
  .ve-transport button,
  .ve-library-tabs button,
  .ve-media-actions > button,
  .ve-empty-actions button,
  .ve-inspector button {
    font-size: 11px;
    min-height: 44px;
    flex: 0 0 auto;
  }
  .ve-tool-divider {
    flex: 0 0 1px;
  }
  .ve-timeline-tools label {
    flex: 0 0 auto;
    margin-left: auto;
  }
  .ve-tools-more {
    display: inline-flex;
    flex: none;
    align-items: center;
    justify-content: center;
    gap: 5px;
    min-width: 112px;
    min-height: 44px;
    padding: 0 10px;
    border: 0;
    border-left: 1px solid #3d4b41;
    border-radius: 0;
    background: linear-gradient(90deg, #223128, #2c3a31);
    color: #f5f7f4;
    font-size: 11px;
    font-weight: 650;
    white-space: nowrap;
  }
  .nav button {
    font-size: 9px !important;
    gap: 5px !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  .nav button svg {
    width: 20px !important;
    height: 20px !important;
  }
  .ve-library,
  .ve-monitor,
  .ve-inspector,
  .ve-timeline,
  .ve-status,
  .ve-timeline-scroll {
    min-width: 0;
  }
}
@media (max-height: 700px) and (min-width: 760px) {
  .video-editor {
    grid-template-rows: 52px minmax(0, 1fr) 180px 34px;
  }
  .ve-monitor {
    padding: 10px;
  }
  .ve-timeline-hint {
    display: none;
  }
  .ve-top {
    padding: 6px 14px;
  }
}
@media (max-width: 759px) {
  .video-editor {
    grid-template-rows: auto 200px minmax(320px, 45svh) 250px auto minmax(44px, auto);
  }
  .ve-library {
    min-height: 200px;
    max-height: 200px;
  }
  .ve-inspector {
    min-height: 320px;
  }
  .ve-status {
    overflow: visible;
  }
  .ve-timeline-hint {
    font-size: 10px;
  }
}
@media (min-width: 760px) {
  .ve-timeline-tools {
    overflow-x: auto;
    overflow-y: hidden;
  }
  .ve-timeline-tools > button,
  .ve-timeline-tools > label,
  .ve-tool-divider {
    flex: 0 0 auto;
  }
  .ve-timeline-tools > label {
    margin-left: auto;
  }
}
@media (max-width: 759px) {
  .video-editor {
    grid-template-rows: auto minmax(160px, 26svh) minmax(300px, 48svh) 220px auto minmax(44px, auto);
  }
  .ve-library {
    min-height: 0;
    max-height: 190px;
  }
  .ve-monitor {
    padding: 8px;
  }
  .ve-canvas-empty {
    padding: 12px;
  }
  .ve-canvas-empty h2 {
    font-size: 16px;
    line-height: 1.3;
  }
  .ve-canvas-empty p {
    font-size: 11px;
    line-height: 1.5;
  }
  .ve-canvas-empty .ve-empty-actions {
    display: none;
  }
  .ve-transport {
    max-width: 100%;
    gap: 6px;
  }
  .ve-transport output {
    font-size: 10px;
  }
}
.video-legacy {
  border-top: 1px solid var(--line);
  margin-top: 32px;
  padding-top: 24px;
}
.video-legacy p {
  font-size: 13px;
  line-height: 1.7;
}
.video-legacy button {
  margin: 8px 10px 0 0;
}
.ve-track button {
  touch-action: pan-y;
  padding-left: 13px;
  padding-right: 13px;
}
.ve-trim-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 9px;
  background: #bed68e55;
  cursor: ew-resize;
  touch-action: none;
  z-index: 2;
}
.ve-trim-handle[data-trim="in"] {
  left: 0;
  border-right: 1px solid #d5f47866;
}
.ve-trim-handle[data-trim="out"] {
  right: 0;
  border-left: 1px solid #d5f47866;
}
.ve-track button[aria-pressed="true"] .ve-trim-handle {
  background: #d5f47880;
}
