@font-face {
  font-family: Inter;
  src: url(assets/inter-cyrillic.woff2) format('woff2');
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: Inter;
  src: url(assets/inter.woff2) format('woff2');
  font-weight: 100 900;
  font-display: swap;
}
:root {
  color-scheme: dark;
  --bg: #0e0f11;
  --panel: #151619;
  --surface: #1e2024;
  --raised: #25272b;
  --text: #f1f1f3;
  --muted: #999da5;
  --dim: #767b84;
  --line: #2e3035;
  --soft-line: #25272b;
  --blue: #28a7ff;
  --blue-ink: #061623;
  --blue-tint: #152a39;
  --red: #ea6668;
  --dotgrid: #292b30;
  --stage: #101113;
  --top: #111214;
  --selected: #172b3a;
  --mono: 'SFMono-Regular', Consolas, 'Liberation Mono', monospace;
  --sideL: clamp(235px, 19.65vw, 302px);
  --sideR: clamp(255px, 20.6vw, 318px);
  font-family: Inter, Arial, sans-serif;
  font-size: 14px;
}
:root[data-theme='light'] {
  color-scheme: light;
  --bg: #eeeff1;
  --panel: #fafafb;
  --surface: #f0f1f3;
  --raised: #e4e6ea;
  --text: #131518;
  --muted: #535962;
  --dim: #656b75;
  --line: #d5d7dc;
  --soft-line: #e1e3e7;
  --blue: #1386d8;
  --blue-ink: #fff;
  --blue-tint: #e3f2ff;
  --red: #be434c;
  --dotgrid: #cdd0d5;
  --stage: #e9ebee;
  --top: #fff;
  --selected: #e2f1fc;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  height: 100vh;
  height: 100dvh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
button,
input,
select {
  font: inherit;
  color: inherit;
}
button,
select {
  cursor: pointer;
}
button {
  border: 0;
  background: none;
  padding: 0;
}
button:disabled {
  opacity: 0.33;
  cursor: default;
}
button:not(:disabled):hover {
  filter: brightness(1.13);
}
button:focus-visible,
input:focus-visible,
select:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}
input,
select {
  min-width: 0;
}
button,
select,
a,
input {
  -webkit-tap-highlight-color: transparent;
}
svg {
  display: block;
  flex: none;
}
i[data-icon] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-style: normal;
  flex: none;
}
svg.ico {
  width: 17px;
  height: 17px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.65;
  fill: none;
}
.icon,
.plain,
.button,
.play,
.icon-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  white-space: nowrap;
  border-radius: 5px;
  transition:
    background 0.12s,
    color 0.12s;
}
.icon {
  width: 32px;
  height: 32px;
  color: var(--muted);
}
.plain {
  height: 31px;
  padding: 0 7px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
}
.icon:not(:disabled):hover,
.plain:not(:disabled):hover {
  background: var(--raised);
  color: var(--text);
}
.icon[aria-pressed='true'],
.plain[aria-pressed='true'] {
  color: var(--blue);
  background: var(--blue-tint);
}
.icon.mini {
  width: 27px;
  height: 27px;
}
.mini svg {
  width: 15px;
  height: 15px;
}
.button {
  height: 34px;
  border: 1px solid var(--line);
  background: var(--surface);
  padding: 0 12px;
  font-size: 13px;
  font-weight: 550;
}
.primary {
  border-color: var(--blue);
  background: var(--blue);
  color: var(--blue-ink);
}
.divider {
  width: 1px;
  height: 16px;
  background: var(--line);
  display: block;
  flex: none;
}
.topbar {
  height: 61px;
  flex: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  background: var(--top);
  border-bottom: 1px solid var(--line);
  position: relative;
  z-index: 5;
}
.brand {
  display: flex;
  align-items: center;
  gap: 18px;
  text-decoration: none;
  color: var(--text);
}
.ds-mark {
  display: block;
  width: 57px;
  height: 33px;
  background: var(--text);
  mask: url(assets/ds-logo.svg) center/contain no-repeat;
  -webkit-mask: url(assets/ds-logo.svg) center/contain no-repeat;
}
.wordmark {
  font-size: 23px;
  line-height: 1;
  font-weight: 680;
  letter-spacing: -1.45px;
  display: flex;
  align-items: baseline;
  gap: 3px;
}
.wordmark span {
  width: 6px;
  height: 6px;
  background: #28a7ff;
}
.top-actions,
.tool-group,
.head-label,
.preview-actions,
.file-info,
.view-modes,
.play-controls,
.status-right,
.status-device {
  display: flex;
  align-items: center;
}
.top-actions {
  gap: 9px;
}
.top-actions > .divider {
  margin: 0 5px;
}
.mobile-tabs {
  display: none;
}
.editor {
  flex: 1;
  min-height: 0;
  display: grid;
  grid-template-columns: var(--sideL) minmax(0, 1fr) var(--sideR);
}
.library,
.inspector,
.workspace {
  min-width: 0;
  min-height: 0;
  background: var(--panel);
  display: flex;
  flex-direction: column;
}
.library {
  border-right: 1px solid var(--line);
}
.inspector {
  border-left: 1px solid var(--line);
}
.pane-heading {
  height: 56px;
  padding: 0 17px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex: none;
  gap: 8px;
}
.head-label {
  gap: 9px;
}
.head-label > i {
  color: var(--muted);
}
.head-label h2 {
  font-size: 15px;
  font-weight: 610;
  letter-spacing: -0.5px;
  margin: 0;
}
.count {
  font: 11px var(--mono);
  color: var(--muted);
  border: 1px solid var(--line);
  padding: 2px 6px;
  border-radius: 4px;
  min-width: 23px;
  text-align: center;
}
.lib-tools {
  padding: 0 14px 11px;
}
.search {
  height: 33px;
  display: flex;
  align-items: center;
  gap: 7px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 0 8px;
  color: var(--dim);
}
.search:focus-within {
  border-color: var(--blue);
}
.search input {
  flex: 1;
  min-width: 0;
  background: none;
  border: none;
  outline: none;
  color: var(--text);
  font-size: 12px;
}
.search input::placeholder {
  color: var(--muted);
}
.search svg {
  width: 15px;
  height: 15px;
}
.search kbd {
  display: block;
  text-align: center;
  min-width: 16px;
  line-height: 17px;
  border: 1px solid var(--line);
  border-radius: 3px;
  font: 11px/17px var(--mono);
}
.lib-filters {
  margin-top: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.selector {
  display: inline-flex;
  align-items: center;
  position: relative;
}
.selector select {
  appearance: none;
  background: transparent;
  border: 0;
  padding: 4px 21px 4px 0;
  font-size: 12px;
  font-weight: 500;
}
.selector > i {
  position: absolute;
  right: 3px;
  pointer-events: none;
  color: var(--muted);
}
.selector > i svg {
  width: 11px;
  height: 11px;
}
option {
  background: var(--panel);
  color: var(--text);
}
.view-modes {
  gap: 2px;
}
.view-modes .active {
  background: var(--raised);
  color: var(--text);
}
.catalog {
  padding: 0 14px 15px;
  overflow: auto;
  display: grid;
  align-content: start;
  align-items: start;
  grid-template-columns: 1fr 1fr;
  gap: 14px 10px;
  flex: 1;
}
.catalog,
.inscroll {
  scrollbar-width: thin;
  scrollbar-color: var(--line) transparent;
}
.fx-card {
  display: block;
  text-align: left;
  min-width: 0;
  position: relative;
  color: var(--text);
  border: 0;
  background: transparent;
  border-radius: 4px;
}
.thumb-wrap {
  position: relative;
  display: block;
  aspect-ratio: 1.62;
  background: var(--raised);
  overflow: hidden;
  border-radius: 5px;
  border: 1px solid var(--line);
}
.thumb-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.fx-card:hover .thumb-wrap {
  border-color: var(--muted);
}
.fx-card.current .thumb-wrap {
  border: 2px solid var(--blue);
}
.fx-card.current .fx-name {
  color: var(--blue);
}
.serial-tag {
  position: absolute;
  bottom: 4px;
  left: 4px;
  padding: 2px 4px;
  font: 9px/1 var(--mono);
  letter-spacing: 0.1px;
  border-radius: 2px;
  background: rgba(12, 13, 16, 0.78);
  color: #e1e2e6;
}
.fx-name {
  font-size: 12px;
  line-height: 18px;
  font-weight: 540;
  letter-spacing: -0.18px;
  display: block;
  margin-top: 4px;
}
.fx-card .add-mark {
  position: absolute;
  right: 5px;
  top: 5px;
  width: 17px;
  height: 17px;
  display: grid;
  place-items: center;
  border-radius: 3px;
  background: #16181ac7;
  color: #fff;
  opacity: 0;
}
.fx-card:hover .add-mark,
.fx-card:focus-visible .add-mark {
  opacity: 1;
}
.add-mark .ico {
  width: 12px;
  height: 12px;
}
.catalog.list {
  grid-template-columns: 1fr;
  gap: 7px;
}
.catalog.list .fx-card {
  display: flex;
  align-items: center;
  gap: 10px;
}
.catalog.list .thumb-wrap {
  width: 72px;
  flex: none;
}
.catalog.list .fx-name {
  margin: 0;
}
.lib-foot {
  height: 36px;
  flex: none;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 16px;
  border-top: 1px solid var(--soft-line);
  font-size: 11px;
  color: var(--dim);
}
.lib-foot .ico {
  width: 13px;
  height: 13px;
}
.empty-note {
  color: var(--muted);
  padding: 10px 1px;
  font-size: 13px;
  line-height: 1.5;
  grid-column: 1/-1;
}
.preview-head {
  height: 50px;
  border-bottom: 1px solid var(--line);
  padding: 0 18px;
}
.preview-actions {
  gap: 7px;
}
.preview-actions .divider {
  margin: 0 3px;
}
.selector.zoom select {
  padding-left: 4px;
}
.stage {
  position: relative;
  flex: 1;
  min-height: 50px;
  background-color: var(--stage);
  background-image: radial-gradient(var(--dotgrid) 0.7px, transparent 0.9px);
  background-size: 12px 12px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.stage-mount {
  flex: none;
  position: relative;
  width: calc(100% - 62px);
  aspect-ratio: 1.6;
}
.picture {
  position: absolute;
  inset: 0;
  background: #0b0b0b;
  overflow: hidden;
  isolation: isolate;
}
.picture > canvas,
.picture > img,
.picture #original,
.picture > #cmp {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.picture > #output {
  visibility: hidden;
}
.picture.ready > #output {
  visibility: visible;
}
.picture.ready > #poster {
  visibility: hidden;
}
.picture > #cmp {
  clip-path: inset(0 50% 0 0);
}
.picture [hidden] {
  display: none !important;
}
#split {
  position: absolute;
  top: 0;
  left: 50%;
  bottom: 0;
  width: 2px;
  background: #fff;
  cursor: ew-resize;
  color: #0b0c0e;
  touch-action: none;
}
#split > i {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 100%;
  background: #fff;
  width: 28px;
  height: 28px;
}
.cmp-label {
  position: absolute;
  top: 10px;
  left: 10px;
  border-radius: 3px;
  font-size: 11px;
  background: #101113d9;
  color: #fff;
  padding: 4px 7px;
}
.corners {
  width: 10px;
  height: 10px;
  position: absolute;
  opacity: 0.65;
  border-color: var(--dim);
  border-style: solid;
  pointer-events: none;
}
.c1 {
  top: -6px;
  left: -6px;
  border-width: 1px 0 0 1px;
}
.c2 {
  top: -6px;
  right: -6px;
  border-width: 1px 1px 0 0;
}
.c3 {
  bottom: -6px;
  left: -6px;
  border-width: 0 0 1px 1px;
}
.c4 {
  bottom: -6px;
  right: -6px;
  border-width: 0 1px 1px 0;
}
#stage-message {
  position: absolute;
  bottom: 8px;
  left: 12px;
  right: 12px;
  text-align: center;
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--line);
  padding: 8px;
  border-radius: 4px;
  font-size: 12px;
}
.edit-tools {
  padding: 0 14px;
  height: 41px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--panel);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  flex: none;
}
.tool-group {
  gap: 2px;
}
.tool-group .divider {
  margin: 0 6px;
}
.edit-tools .ico {
  width: 15px;
  height: 15px;
}
.edit-tools .plain {
  font-size: 12px;
  gap: 6px;
}
.timeline {
  padding: 0 18px;
  background: var(--panel);
  flex: none;
}
.timeline-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  height: 41px;
}
.file-info {
  gap: 8px;
  min-width: 0;
}
.file-info i {
  color: var(--muted);
}
.file-info strong {
  font-size: 12px;
  font-weight: 560;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.file-meta,
.ruler,
.timecode,
.status-right {
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
}
.file-meta {
  font-size: 10px;
  color: var(--muted);
  white-space: nowrap;
}
.ruler {
  display: flex;
  justify-content: space-between;
  color: var(--dim);
  font-size: 9px;
  line-height: 18px;
  user-select: none;
}
.track {
  height: 37px;
  position: relative;
  cursor: crosshair;
  touch-action: none;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 3px;
}
.frames {
  height: 100%;
  width: 100%;
  background-image: url(assets/signal-strip.jpg);
  background-repeat: no-repeat;
  background-size: 100% 100%;
  border-radius: 2px;
  overflow: hidden;
}
.playhead {
  position: absolute;
  top: -5px;
  bottom: -3px;
  width: 1px;
  background: var(--blue);
  left: 0;
  pointer-events: none;
}
.playhead:before {
  content: '';
  position: absolute;
  top: -3px;
  left: -3px;
  width: 7px;
  height: 8px;
  clip-path: polygon(0 0, 100% 0, 100% 60%, 50% 100%, 0 60%);
  background: var(--blue);
}
.trim-mask {
  position: absolute;
  top: 0;
  bottom: 0;
  background: #090a0db7;
  pointer-events: none;
}
.trim-mask.left {
  left: 0;
}
.trim-mask.right {
  right: 0;
}
.transport {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 44px;
}
.play-controls {
  gap: 2px;
}
.play-controls .icon {
  width: 22px;
}
.play-controls .ico {
  width: 14px;
  height: 14px;
}
.play {
  width: 26px;
  height: 25px;
  background: var(--raised);
  color: var(--text);
}
.timecode {
  display: flex;
  gap: 9px;
  font-size: 10px;
  color: var(--dim);
  margin-left: 9px;
}
.timecode b {
  color: var(--text);
  font-weight: 500;
}
.timeline.still .track-space,
.timeline.still .transport {
  display: none;
}
.inspector > .pane-heading {
  border-bottom: 1px solid var(--soft-line);
  height: 50px;
}
.inscroll {
  overflow: auto;
}
.stack-row {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 5px 5px;
  border: 1px solid var(--line);
  border-radius: 5px;
  cursor: pointer;
  background: var(--surface);
  position: relative;
}
.stack-row.selected {
  background: var(--selected);
  border-color: color-mix(in srgb, var(--blue) 60%, var(--line));
}
.stack-row.disabled .stack-info {
  opacity: 0.5;
}
.stack-row.dragover {
  box-shadow: 0 -3px var(--blue);
}
.stack-row .grip {
  color: var(--dim);
  cursor: grab;
  width: 16px;
  height: 30px;
  touch-action: none;
}
.stack-thumb {
  width: 38px;
  height: 29px;
  object-fit: cover;
  border-radius: 3px;
}
.stack-info {
  flex: 1;
  min-width: 0;
  padding-left: 3px;
}
.stack-info b {
  display: block;
  font-size: 12px;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.stack-info small {
  display: block;
  font: 9px/1.4 var(--mono);
  color: var(--muted);
}
.stack-row .icon {
  width: 21px;
  height: 24px;
}
.stack-row .ico {
  width: 14px;
  height: 14px;
}
#stack {
  padding: 14px 13px;
  display: grid;
  gap: 6px;
  border-bottom: 1px solid var(--line);
}
.ins-block {
  padding: 16px;
  border-bottom: 1px solid var(--line);
}
.block-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 23px;
  margin-bottom: 13px;
  gap: 6px;
}
.block-title h3 {
  margin: 0;
  font-size: 14px;
  letter-spacing: -0.3px;
  font-weight: 600;
}
.block-title .tools {
  display: flex;
  gap: 2px;
}
.ctrl-select {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin: 4px 0 15px;
}
.ctrl-select > span,
.slider-lab {
  font-size: 12px;
  color: var(--muted);
}
.field-select {
  position: relative;
  display: flex;
  flex: 1;
  max-width: 72%;
  min-width: 0;
  align-items: center;
}
.field-select select {
  width: 100%;
  min-width: 0;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 4px;
  padding: 6px 23px 6px 9px;
  font-size: 12px;
  appearance: none;
}
.field-select > i {
  position: absolute;
  right: 8px;
  pointer-events: none;
  color: var(--muted);
}
.field-select .ico {
  width: 11px;
  height: 11px;
}
.slider-row {
  margin-top: 16px;
}
.slider-row:first-of-type {
  margin-top: 8px;
}
.slider-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
  gap: 4px;
}
.slider-top output {
  font: 11px var(--mono);
  color: var(--text);
}
.slider-row.extreme output {
  color: var(--red);
}
.range-wrap {
  position: relative;
  height: 12px;
  display: flex;
  align-items: center;
}
.range-bed {
  position: absolute;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--line);
  border-radius: 3px;
  overflow: hidden;
}
.range-bed .fill,
.range-bed .danger-zone {
  position: absolute;
  height: 100%;
  top: 0;
}
.range-bed .fill {
  left: 0;
  background: var(--blue);
}
.range-bed .danger-zone {
  background: var(--red);
  opacity: 0.55;
}
.range-wrap input {
  width: 100%;
  height: 17px;
  appearance: none;
  position: relative;
  background: transparent;
  margin: 0;
  outline: 0;
  cursor: ew-resize;
}
.range-wrap input::-webkit-slider-runnable-track {
  height: 3px;
  background: transparent;
}
.range-wrap input::-webkit-slider-thumb {
  appearance: none;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--text);
  margin-top: -3px;
  box-shadow: 0 0 0 1px var(--panel);
}
.range-wrap input::-moz-range-thumb {
  border: 1px solid var(--panel);
  background: var(--text);
  border-radius: 50%;
  width: 9px;
  height: 9px;
}
.extreme .range-wrap input::-webkit-slider-thumb {
  background: var(--red);
}
.random-btn {
  width: 100%;
  margin-top: 17px;
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--line);
  height: 31px;
  font-size: 12px;
}
.random-btn .ico {
  width: 15px;
  height: 15px;
}
.composition .ctrl-select {
  margin-bottom: 0;
}
.statusbar {
  height: 25px;
  flex: none;
  background: var(--top);
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  padding: 0 16px;
  color: var(--dim);
  font-size: 10px;
}
.status-device {
  gap: 7px;
}
.status-device .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #70bd91;
}
.status-right {
  gap: 10px;
  font-size: 10px;
}
.status-sep {
  height: 9px;
  width: 1px;
  background: var(--line);
}
#dropzone {
  position: fixed;
  inset: 68px 12px 30px;
  z-index: 15;
  border: 2px dashed var(--blue);
  border-radius: 8px;
  background: color-mix(in srgb, var(--bg) 89%, transparent);
  pointer-events: none;
  color: var(--blue);
  place-items: center;
}
#dropzone:not([hidden]) {
  display: grid;
}
#dropzone > div {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 20px;
}
#toast {
  position: fixed;
  z-index: 40;
  bottom: 38px;
  left: 50%;
  transform: translateX(-50%);
  max-width: min(600px, 90vw);
  background: var(--raised);
  border: 1px solid var(--line);
  box-shadow: 0 6px 24px #0005;
  color: var(--text);
  font-size: 13px;
  padding: 11px 17px;
  border-radius: 6px;
}
.stage:fullscreen {
  width: 100vw;
  height: 100vh;
}
.stage:fullscreen .stage-mount {
  margin: auto;
}
button.on {
  color: var(--blue);
}
.pic-fallback {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.reorder-sheet {
  display: flex;
  gap: 4px;
}
@media (min-width: 1550px) {
  .catalog {
    gap: 15px 12px;
  }
  .thumb-wrap {
    aspect-ratio: 1.68;
  }
  .fx-name {
    font-size: 13px;
  }
}
@media (max-width: 1140px) {
  :root {
    --sideL: 216px;
    --sideR: 238px;
  }
  .topbar {
    padding: 0 15px;
  }
  .pane-heading {
    padding-left: 13px;
    padding-right: 13px;
  }
  .catalog {
    gap: 11px 8px;
    padding-left: 11px;
    padding-right: 11px;
  }
  .lib-tools {
    padding-left: 11px;
    padding-right: 11px;
  }
  .ins-block {
    padding: 13px;
  }
  .stack-thumb {
    width: 30px;
    height: 26px;
  }
  .stage-mount {
    width: calc(100% - 38px);
  }
  .preview-actions {
    gap: 2px;
  }
  .timeline {
    padding: 0 13px;
  }
  .timeline-heading {
    height: 36px;
  }
  .file-meta {
    font-size: 9px;
  }
}
@media (max-width: 900px) and (min-width: 701px) {
  :root {
    --sideL: 178px;
    --sideR: 202px;
  }
  .stack-thumb {
    display: none;
  }
  .pane-heading {
    padding: 0 10px;
  }
  .head-label {
    gap: 5px;
  }
  .head-label h2 {
    font-size: 13px;
  }
  .lib-tools {
    padding: 0 8px 8px;
  }
  .catalog {
    padding: 0 8px 10px;
    gap: 8px 6px;
  }
  .fx-name {
    font-size: 11px;
  }
  .preview-actions .compare-btn span,
  .edit-tools .plain span {
    display: none;
  }
  .edit-tools {
    padding: 0 5px;
  }
  .edit-tools .icon {
    width: 27px;
  }
  .file-meta {
    display: none;
  }
  .lib-foot {
    font-size: 9px;
    padding: 0 8px;
  }
  .stack-row .icon {
    width: 18px;
  }
}
@media (max-width: 700px) {
  .topbar {
    height: 52px;
    padding: 0 10px;
  }
  .brand {
    gap: 7px;
  }
  .ds-mark {
    width: 40px;
    height: 25px;
  }
  .wordmark {
    font-size: 18px;
  }
  .wordmark span {
    width: 5px;
    height: 5px;
  }
  .top-actions {
    gap: 4px;
  }
  .top-actions > .divider {
    display: none;
  }
  .top-actions .plain,
  .top-actions .icon {
    width: 27px;
    padding: 0;
  }
  .preset-btn span,
  .import-btn span {
    display: none;
  }
  .import-btn {
    width: 30px;
    padding: 0;
  }
  .top-actions .primary {
    padding: 0 8px;
    height: 31px;
  }
  .mobile-tabs {
    display: flex;
    flex: none;
    background: var(--panel);
    height: 40px;
    border-bottom: 1px solid var(--line);
  }
  .mobile-tabs button {
    flex: 1;
    color: var(--muted);
    font-size: 12px;
  }
  .mobile-tabs button.on {
    color: var(--text);
    box-shadow: inset 0 -2px var(--blue);
  }
  .editor {
    display: block;
  }
  .editor > aside,
  .editor > section {
    height: 100%;
    display: none;
    border: 0;
  }
  .editor[data-mobile='library'] > .library,
  .editor[data-mobile='preview'] > .workspace,
  .editor[data-mobile='inspector'] > .inspector {
    display: flex;
  }
  .catalog {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .pane-heading {
    height: 45px;
  }
  .stage-mount {
    width: calc(100% - 32px);
  }
  .edit-tools {
    padding: 0 7px;
  }
  .timecode {
    font-size: 10px;
  }
  .statusbar {
    height: 22px;
  }
  .ins-block {
    padding: 15px 18px;
  }
  .slider-row {
    margin-top: 12px;
  }
  .stack-thumb {
    width: 40px;
  }
  .file-meta {
    font-size: 9px;
  }
  .statusbar {
    padding: 0 10px;
  }
}
@media (max-height: 670px) and (min-width: 701px) {
  .topbar {
    height: 49px;
  }
  .pane-heading {
    height: 43px;
  }
  .timeline-heading {
    height: 32px;
  }
  .transport {
    height: 32px;
  }
  .track {
    height: 27px;
  }
  .slider-row {
    margin-top: 10px;
  }
  .edit-tools {
    height: 35px;
  }
  .ins-block {
    padding-top: 10px;
    padding-bottom: 11px;
  }
  .thumb-wrap {
    aspect-ratio: 1.8;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}

.sample-import {
  position: absolute;
  bottom: 13px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 5px 8px;
  border-radius: 4px;
  border: 1px dashed var(--line);
  color: var(--muted);
  background: var(--stage);
  font-size: 11px;
  white-space: nowrap;
}
.sample-import[hidden] {
  display: none;
}
.sample-import .ico {
  width: 13px;
  height: 13px;
}
.picture,
.picture > #cmp {
  background-color: #27282b;
  background-image: repeating-conic-gradient(#343538 0 25%, transparent 0 50%);
  background-size: 16px 16px;
}
:root[data-theme='light'] .picture,
:root[data-theme='light'] .picture > #cmp {
  background-color: #ddd;
  background-image: repeating-conic-gradient(#eee 0 25%, transparent 0 50%);
}
.effect-guide {
  padding: 13px 16px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}
.effect-guide summary {
  cursor: pointer;
  font-weight: 550;
}
.effect-guide p {
  margin: 8px 0;
}
.effect-guide a {
  color: var(--blue);
  text-decoration: none;
}
.effect-guide a:hover {
  text-decoration: underline;
}
