@import url("/image-converter/styles.css?v=1");
/* Split video: black, grey and white with one orange. */
body.vs { --accent: #ff7a1a; --accent-dim: #b8560f; }
.vs .wrap { max-width: 900px; }
.vs .head { text-align: center; }
.vs .head .intro { margin-left: auto; margin-right: auto; }
.vs-file { margin: 10px 0 0; overflow-wrap: anywhere; }
.vs-video { display: block; width: 100%; max-height: 56vh; margin: 14px 0 0; background: #000; border-radius: 10px; }
.vs-cant, .vs-warn { border-left: 3px solid var(--warn); padding: 6px 0 6px 12px; }

/* timeline: grey track, orange clips, white playhead */
.vs-timeline { position: relative; height: 34px; margin: 12px 0 6px; background: var(--panel-2); border: 1px solid var(--border); border-radius: 8px; cursor: pointer; touch-action: none; overflow: hidden; }
.vs-timeline:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.vs-ranges { position: absolute; inset: 0; }
.vs-ranges i { position: absolute; top: 5px; bottom: 5px; background: rgba(255, 122, 26, 0.35); border: 1px solid var(--accent); border-radius: 4px; font-style: normal; font-size: 11px; line-height: 22px; color: #fff; padding-left: 4px; overflow: hidden; white-space: nowrap; }
.vs-ranges i:nth-child(even) { top: 9px; bottom: 1px; }
.vs-pending { position: absolute; top: 0; bottom: 0; width: 2px; background: var(--accent); }
.vs-head { position: absolute; top: 0; bottom: 0; width: 2px; margin-left: -1px; background: #fff; pointer-events: none; }
.vs-clock { font-variant-numeric: tabular-nums; font-size: 14px; margin-bottom: 10px; }
.vs-mark { gap: 8px; }
.vs-mark kbd { font: inherit; font-size: 11px; opacity: 0.7; border: 1px solid currentColor; border-radius: 4px; padding: 0 4px; margin-left: 4px; }
.vs-steps { display: inline-flex; flex-wrap: wrap; gap: 6px; }

/* ways to fill the list */
.vs-ways { display: grid; gap: 8px; margin: 0 0 16px; padding: 12px; border: 1px solid var(--border); border-radius: 10px; background: var(--panel-2); }
.vs-way { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.vs-way label { min-width: 6.5em; font-size: 13px; font-weight: 600; }
.vs-way .in { width: 6.5em; }

/* the clip list */
.vs-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; counter-reset: clip; }
.vs-row { display: grid; grid-template-columns: 2.2em minmax(0, 1.4fr) 7.5em 7.5em auto; gap: 8px; align-items: center; padding: 8px; border: 1px solid var(--border); border-radius: 10px; }
.vs-row .num { font-weight: 700; color: var(--accent); text-align: center; }
.vs-row .in { padding: 7px 9px; }
.vs-row .acts { display: inline-flex; gap: 4px; }
.vs-row .acts .btn { min-width: 34px; padding: 6px 8px; }
.vs-row .facts { grid-column: 2 / -1; margin: 0; font-size: 12px; color: var(--muted); }
.vs-row .facts .moved { color: var(--text); }
.vs-row .bad { color: var(--bad); }
@media (max-width: 640px) {
  .vs-row { grid-template-columns: 2em minmax(0, 1fr) minmax(0, 1fr); }
  .vs-row .name { grid-column: 2 / -1; }
  .vs-row .t-start { grid-column: 2; }
  .vs-row .acts { grid-column: 2 / -1; }
  .vs-row .facts { grid-column: 1 / -1; }
}

/* export */
.vs-mode { border: 0; padding: 0; margin: 0 0 12px; display: grid; gap: 8px; }
.vs-opt { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border: 1px solid var(--border); border-radius: 10px; cursor: pointer; font-size: 14px; }
.vs-opt:has(input:checked) { border-color: var(--accent); }
.vs-opt input { margin-top: 4px; accent-color: var(--accent); }
.vs-out { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 8px; }
.vs-out li { padding: 8px 10px; border: 1px solid var(--border); border-radius: 10px; font-size: 13px; overflow-wrap: anywhere; }
.vs-out .prog { height: 4px; background: var(--border); border-radius: 2px; overflow: hidden; margin-top: 6px; }
.vs-out .prog i { display: block; height: 100%; width: 0; background: var(--accent); }
.vs-out li[data-state="done"] .prog, .vs-out li[data-state="failed"] .prog { display: none; }
.vs-out .st { color: var(--muted); }
.vs-out li[data-state="failed"] .st { color: var(--bad); }
.vs-out .dl { margin-left: 8px; color: var(--accent); background: none; border: 0; font: inherit; cursor: pointer; text-decoration: underline; padding: 0; }
.vs .how li { margin-bottom: 6px; }
