.jmc-editor :is(.jvc-options, .jvc-frames, .jvc-popup) { box-sizing: border-box; min-width: 0; color: #c7c7ce; font: 12px/20px "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif; }
.jmc-editor :is(.jvc-options, .jvc-frames, .jvc-popup) *, .jmc-editor :is(.jvc-options, .jvc-frames, .jvc-popup) *::before, .jmc-editor :is(.jvc-options, .jvc-frames, .jvc-popup) *::after { box-sizing: border-box; }
.jmc-editor :is(.jvc-options, .jvc-frames, .jvc-popup) [hidden] { display: none !important; }
.jmc-editor :is(.jvc-options, .jvc-frames, .jvc-popup) button { min-width: 0; min-height: 0; margin: 0; font: inherit; }
.jmc-editor :is(.jvc-options, .jvc-frames, .jvc-popup) button svg { display: block; flex: 0 0 auto; width: 16px; height: 16px; }
.jmc-editor :is(.jvc-options, .jvc-frames, .jvc-popup) :is(button, input, [tabindex]):focus-visible { outline: 2px solid #83d2ff; outline-offset: 2px; }
.jmc-editor :is(.jvc-options, .jvc-frames, .jvc-popup) button:disabled { opacity: .3; cursor: not-allowed; }
.jmc-editor :is(.jvc-options) { display: flex; flex: 1 1 auto; align-items: center; flex-wrap: wrap; gap: 6px; }
.jmc-editor :is(.jvc-options) .jvc-option { display: inline-flex; align-items: center; justify-content: center; gap: 5px; min-height: 26px; padding: 3px 8px; border: 0; border-radius: 6px; background: #ffffff06; color: #aaaab4; font-size: 11px; line-height: 20px; white-space: nowrap; }
.jmc-editor :is(.jvc-options) .jvc-option:hover { background: #ffffff10; color: #d2d2db; }
.jmc-editor :is(.jvc-options) .jvc-option.is-active, .jmc-editor :is(.jvc-options) .jvc-option[aria-expanded="true"] { background: #ffffff12; color: #e0e0e7; }
.jmc-editor :is(.jvc-options) .jvc-option svg { width: 14px; height: 14px; }
.jmc-editor :is(.jvc-options) .jvc-option > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.jmc-editor :is(.jvc-options) .jvc-option > svg:last-child:not(:first-child) { width: 10px; height: 10px; color: #7d7d87; }
.jmc-editor :is(.jvc-popup) { position: absolute; z-index: 140; max-width: calc(100% - 16px); max-height: calc(100dvh - 16px); padding: 16px; overflow: auto; border: 0; border-radius: 12px; outline: none; background: #252526; box-shadow: 0 8px 30px #0004; white-space: normal; overscroll-behavior: contain; }
.jmc-editor :is(.jvc-popup).jvc-size { display: flex; flex-direction: column; gap: 24px; width: 334px; height: 292px; }
.jmc-editor :is(.jvc-popup) .jvc-section { display: flex; flex: 0 0 auto; flex-direction: column; gap: 8px; min-width: 0; margin: 0; padding: 0; border: 0; }
.jmc-editor :is(.jvc-popup) .jvc-heading { padding: 0; margin: 0; color: #89898d; font-size: 12px; line-height: 16px; font-weight: 400; }
.jmc-editor :is(.jvc-popup) :is(.jvc-ratios, .jvc-quality, .jvc-count) { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); align-items: stretch; gap: 0; min-width: 0; height: 60px; padding: 2px; border: 0; border-radius: 10px; background: #373738; }
.jmc-editor :is(.jvc-popup) .jvc-quality { grid-template-columns: repeat(3, minmax(0, 1fr)); height: 40px; }
.jmc-editor :is(.jvc-popup) .jvc-count { grid-template-columns: repeat(4, minmax(0, 1fr)); height: 40px; }
.jmc-editor :is(.jvc-popup) .jvc-choice { display: flex; align-items: center; justify-content: center; gap: 5px; min-width: 0; min-height: 30px; padding: 5px 4px; border: 0; border-radius: 8px; background: transparent; color: #f0f0f3; font-size: 12px; line-height: 16px; white-space: nowrap; }
.jmc-editor :is(.jvc-popup) .jvc-ratios .jvc-choice { flex-direction: column; gap: 8px; }
.jmc-editor :is(.jvc-popup) .jvc-choice:hover { background: #ffffff08; }
.jmc-editor :is(.jvc-popup) .jvc-choice.is-selected, .jmc-editor :is(.jvc-popup) .jvc-choice[aria-pressed="true"] { background: #484849; color: #fff; }
.jmc-editor :is(.jvc-popup) .jvc-ratio-shape { display: inline-block; flex: 0 0 auto; max-width: 30px; max-height: 22px; border: 1px solid currentColor; border-radius: 1px; }
.jmc-editor :is(.jvc-popup).jvc-mode { width: 160px; }
.jmc-editor :is(.jvc-popup) .jvc-mode-choice { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; min-height: 36px; padding: 8px 10px; border: 0; border-radius: 7px; background: transparent; color: #bebec6; font-size: 12px; line-height: 20px; text-align: left; }
.jmc-editor :is(.jvc-popup) .jvc-mode-choice:hover { background: #ffffff08; color: #ededf1; }
.jmc-editor :is(.jvc-popup) .jvc-mode-choice.is-selected, .jmc-editor :is(.jvc-popup) .jvc-mode-choice[aria-selected="true"] { background: #ffffff0d; color: #f0f0f4; }
.jmc-editor :is(.jvc-popup) .jvc-mode-choice svg { width: 14px; height: 14px; color: #c3c3cb; }
.jmc-editor :is(.jvc-popup).jvc-model { width: 220px; }
.jmc-editor :is(.jvc-popup) .jvc-note { display: block; margin: 6px 0 0; color: #82828d; font-size: 11px; line-height: 18px; overflow-wrap: anywhere; }
.jmc-editor :is(.jvc-popup) .jvc-popup-status { margin: 8px 0 0; color: #b5b5bd; font-size: 11px; line-height: 18px; }
.jmc-editor :is(.jvc-popup).jvc-duration { width: 360px; }
.jmc-editor :is(.jvc-popup) .jvc-duration-heading { margin: 0 0 20px; padding: 0; color: #dfdfe5; font-size: 13px; line-height: 20px; font-weight: 400; }
.jmc-editor :is(.jvc-popup) .jvc-duration-row { display: flex; align-items: center; gap: 12px; min-width: 0; }
.jmc-editor :is(.jvc-popup) .jvc-duration-row input[type="range"] { display: block; flex: 1 1 auto; width: 0; min-width: 0; height: 32px; margin: 0; padding: 0; appearance: none; -webkit-appearance: none; border: 0; border-radius: 3px; background: transparent; cursor: pointer; }
.jmc-editor :is(.jvc-popup) .jvc-duration-row input[type="range"]::-webkit-slider-runnable-track { height: 4px; border-radius: 3px; background: #505054; }
.jmc-editor :is(.jvc-popup) .jvc-duration-row input[type="range"]::-webkit-slider-thumb { width: 12px; height: 12px; margin-top: -4px; appearance: none; -webkit-appearance: none; border: 0; border-radius: 50%; background: #ededf1; box-shadow: 0 1px 3px #0003; }
.jmc-editor :is(.jvc-popup) .jvc-duration-row input[type="range"]::-moz-range-track { height: 4px; border-radius: 3px; background: #505054; }
.jmc-editor :is(.jvc-popup) .jvc-duration-row input[type="range"]::-moz-range-progress { height: 4px; border-radius: 3px; background: #d2d2da; }
.jmc-editor :is(.jvc-popup) .jvc-duration-row input[type="range"]::-moz-range-thumb { width: 12px; height: 12px; border: 0; border-radius: 50%; background: #ededf1; box-shadow: 0 1px 3px #0003; }
.jmc-editor :is(.jvc-popup) .jvc-duration-number { display: block; flex: 0 0 56px; width: 56px; min-width: 0; height: 32px; padding: 5px 6px; border: 1px solid #ffffff14; border-radius: 6px; outline: none; background: #1b1b1d; color: #e4e4ea; font: inherit; font-size: 12px; line-height: 20px; text-align: center; appearance: textfield; -moz-appearance: textfield; }
.jmc-editor :is(.jvc-popup) .jvc-duration-number::-webkit-outer-spin-button, .jmc-editor :is(.jvc-popup) .jvc-duration-number::-webkit-inner-spin-button { margin: 0; appearance: none; -webkit-appearance: none; }
.jmc-editor :is(.jvc-popup) .jvc-duration-number:focus { border-color: #ffffff48; }
.jmc-editor :is(.jvc-popup) .jvc-duration-ticks { position: relative; width: calc(100% - 68px); height: 18px; margin: 2px 0 0; color: #888891; font-size: 10px; line-height: 16px; font-variant-numeric: tabular-nums; }
.jmc-editor :is(.jvc-popup) .jvc-tick { position: absolute; top: 0; transform: translateX(-50%); white-space: nowrap; }
.jmc-editor :is(.jvc-popup) .jvc-tick:first-child { transform: none; }
.jmc-editor :is(.jvc-popup) .jvc-tick:last-child { transform: translateX(-100%); }
.jmc-editor :is(.jvc-frames) { display: flex; flex: 0 0 auto; align-items: center; gap: 8px; height: 48px; }
.jmc-editor :is(.jvc-frames) .jvc-frame { position: relative; display: block; flex: 0 0 48px; width: 48px; height: 48px; min-width: 0; padding: 0; border: 1px dashed #ffffff25; border-radius: 8px; background: #ffffff0d; color: #92929d; }
.jmc-editor :is(.jvc-frames) .jvc-frame:hover { border-color: #ffffff50; background: #ffffff12; }
.jmc-editor :is(.jvc-frames) .jvc-frame.has-media { border-style: solid; border-color: #ffffff16; background: #17171a; }
.jmc-editor :is(.jvc-frames) .jvc-frame-pick { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; width: 100%; height: 100%; min-width: 0; min-height: 0; padding: 3px; overflow: hidden; border: 0; border-radius: 7px; background: transparent; color: inherit; }
.jmc-editor :is(.jvc-frames) .jvc-frame-pick:hover { color: #d0d0d8; }
.jmc-editor :is(.jvc-frames) .jvc-frame-pick > svg { width: 16px; height: 16px; }
.jmc-editor :is(.jvc-frames) .jvc-frame-pick > span { max-width: 100%; overflow: hidden; color: inherit; font-size: 10px; line-height: 16px; white-space: nowrap; text-overflow: ellipsis; }
.jmc-editor :is(.jvc-frames) .jvc-frame-pick > img, .jmc-editor :is(.jvc-frames) .jvc-frame-preview { display: block; width: 100%; height: 100%; max-width: 100%; max-height: 100%; border-radius: 7px; object-fit: cover; }
.jmc-editor :is(.jvc-frames) .jvc-frame.has-media .jvc-frame-pick { padding: 0; }
.jmc-editor :is(.jvc-frames) .jvc-frame-remove { position: absolute; z-index: 2; top: -5px; right: -5px; display: flex; align-items: center; justify-content: center; width: 15px; height: 15px; min-width: 0; min-height: 0; padding: 2px; border: 1px solid #151518; border-radius: 50%; background: #46464d; color: #d8d8df; line-height: 10px; }
.jmc-editor :is(.jvc-frames) .jvc-frame-remove:hover { background: #65656c; color: #fff; }
.jmc-editor :is(.jvc-frames) .jvc-frame-remove svg { width: 9px; height: 9px; }
.jmc-editor :is(.jvc-frames) .jvc-frame-label { display: block; margin: 0; white-space: nowrap; }
.jmc-editor :is(.jvc-frames) .jvc-swap { display: flex; flex: 0 0 24px; align-items: center; justify-content: center; width: 24px; height: 24px; min-width: 0; min-height: 0; padding: 4px; border: 0; border-radius: 5px; background: transparent; color: #92929d; }
.jmc-editor :is(.jvc-frames) .jvc-swap svg { width: 16px; height: 16px; }
.jmc-editor :is(.jvc-frames) .jvc-swap:hover { background: #ffffff0b; color: #d6d6de; }
.jmc-editor :is(.jvc-frames) .jvc-swap:disabled { opacity: .3; }
@media (max-width: 760px) {
  .jmc-editor :is(.jvc-options) { gap: 5px; }
  .jmc-editor :is(.jvc-options) .jvc-option { min-height: 25px; padding: 3px 6px; font-size: 10px; }
  .jmc-editor :is(.jvc-options) .jvc-option svg { width: 13px; height: 13px; }
  .jmc-editor :is(.jvc-popup) { max-width: calc(100% - 16px); max-height: calc(100dvh - 16px); }
}
@media (prefers-reduced-motion: reduce) {
  .jmc-editor :is(.jvc-options, .jvc-frames, .jvc-popup), .jmc-editor :is(.jvc-options, .jvc-frames, .jvc-popup) * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}


.jmc-editor .jvc-popup.is-runtime { height: auto; max-height: calc(100dvh - 80px); overflow-y: auto; }
.jmc-editor .jvc-popup.is-runtime :is(.jvc-ratios, .jvc-quality, .jvc-count) { height: auto; grid-auto-rows: minmax(36px, auto); }
.jmc-editor .jvc-popup.is-runtime .jvc-ratios { grid-auto-rows: minmax(56px, auto); }
.jmc-editor .jvc-popup.is-runtime .jvc-runtime-input-row { display: flex; align-items: center; gap: 8px; margin-top: 10px; }
.jmc-editor .jvc-popup.is-runtime .jvc-runtime-input { flex: 1 1 auto; width: 0; min-width: 0; min-height: 36px; padding: 8px 10px; border: 1px solid #ffffff17; border-radius: 7px; background: #1a1a1c; color: #dedee5; font: inherit; }
.jmc-editor .jvc-popup.is-runtime .jvc-runtime-input-row button { flex: 0 0 auto; min-height: 36px; padding: 8px 12px; border: 0; border-radius: 7px; background: #414145; color: #ededf1; }
