/* Reference CapCut timeline: rounded lanes, native clip colors and black playhead. */
.timeline.st-timeline{--st-gutter:104px;height:420px;background:#fff;border-top:1px solid #e7ecef}
.st-controls{height:44px;min-height:44px;padding:0 16px}.st-controls .st-tool{width:24px;height:28px}.st-controls .st-tool>.icon{width:18px;height:18px}.st-controls .st-play{width:24px;height:24px;background:#0b0f18}.st-playback{font-size:12px;gap:9px}.st-play>.icon{width:13px;height:13px}.st-zoom-range{width:77px;height:2px}.st-zoom-value{font-size:10px}
.st-overview{display:none}.st-show-overview .st-overview{display:block}.st-footer{display:none}.st-scroller,.st-board{background:#fff}.st-scroller{scrollbar-color:#d6dfe5 #fff}.st-track-list{padding-top:0}
.st-ruler-row,.st-ruler{height:58px}.st-ruler-row{border-bottom:0}.st-ruler-label{border:0;background:#fff;height:58px;opacity:0}.st-ruler-row:hover .st-ruler-label{opacity:1}.st-ruler{overflow:visible}.st-section-markers{display:none}.st-ticks{inset:4px 0 auto;height:28px}.st-tick{height:4px;border-color:#d9e1e8;font-size:11px;line-height:22px;color:#a3afbf;padding-left:4px}.st-tick.st-major{height:17px;color:#a3afbf}
.st-row,.st-row:nth-child(even){height:33px;background:#fff}.st-row .st-lane{border:0;background:#eef3f5;background-image:none;border-radius:6px;height:27px;margin:0 0 6px}.st-track-label{height:100%;background:#fff;border:0;padding:0 9px;gap:12px;justify-content:flex-end;overflow:visible}.st-track-color,.st-track-icon,.st-track-name,.st-lock{display:none}.st-mute,.st-track-edit{visibility:hidden}
.st-row:hover .st-mute,.st-row:hover .st-track-edit,.st-kind-video .st-mute,.st-kind-video .st-track-edit{visibility:visible}.st-mute{width:21px;height:27px;color:#0b0f18;opacity:1;flex:none}.st-mute>.icon{width:17px;height:17px}.st-track-edit{width:47px;height:46px;display:flex;align-items:center;justify-content:center;background:#eef3f5;border:1px dashed #d5e0e8;border-radius:7px;color:#0b0f18;flex:none}.st-row:not(.st-kind-video) .st-track-edit{width:26px;height:26px;border-color:transparent;background:none}.st-track-label:hover .st-track-name{display:block;position:absolute;right:9px;bottom:100%;background:#fff;border:1px solid #e4e9ed;padding:5px 8px;border-radius:5px;font-size:10px;z-index:20;white-space:nowrap;max-width:150px}
.st-clip{top:0;bottom:0;border:0;border-radius:8px;min-width:4px;box-shadow:none}.st-clip:hover{box-shadow:inset 0 0 0 1px #fff7;filter:brightness(1.05)}.st-clip-label{left:7px;right:5px;gap:5px;font-size:11px;line-height:1;overflow:hidden}.st-clip-label>svg{flex:none;opacity:1}.st-clip-label>span.st-clip-name{font-size:11px;font-weight:400}.st-keyframes{display:none}
.st-kind-effect,.st-track-texture-effects{--st-track:#7551ed;--st-fill:#7551ed;--st-border:#7551ed;--st-ink:#fff}.st-kind-title,.st-kind-caption{--st-track:#ed7b22;--st-fill:#ed7b22;--st-border:#ed7b22;--st-ink:#fff}.st-title-glyphs{display:flex!important;align-items:center;gap:4px;flex:none;overflow:visible!important}.st-title-glyphs svg{flex:none}.st-kind-title .st-clip-name,.st-kind-caption .st-clip-name{display:none}.st-kind-title .st-clip-label,.st-kind-caption .st-clip-label{gap:4px;left:6px}.st-kind-title .st-clip,.st-kind-caption .st-clip{min-width:7px}
.st-kind-transition{--st-track:#7551ed;--st-fill:#7551ed;--st-border:#7551ed;--st-ink:#fff}.st-kind-transition .st-clip{top:0;bottom:0;border-radius:8px;overflow:hidden}.st-transition-shape{opacity:1}.st-kind-transition .st-clip:after{background:#ffffff30}
.st-kind-video{height:54px}.st-kind-video .st-lane{height:48px}.st-kind-video .st-track-label{align-items:flex-start;padding-top:0}.st-kind-video .st-mute{margin-top:10px}.st-kind-video .st-clip,.st-kind-overlay .st-clip{border:1px solid #d5e0e7;border-radius:8px}.st-kind-overlay{height:40px}.st-kind-overlay .st-lane{height:34px}.st-thumbnails{filter:none;background:none;border-radius:7px}.st-thumbnails:after{display:none}.st-thumbnails img{transform:none;border:0;object-position:center}.st-kind-video .st-clip-label,.st-kind-overlay .st-clip-label{display:none}
.st-kind-grade{--st-track:#d6b86d;--st-fill:#e6d49f;--st-ink:#6b5728}.st-kind-voice{--st-track:#75acd5;--st-fill:#b8d8ee;--st-ink:#457ca8}.st-kind-music{--st-track:#45b597;--st-fill:#99d5c2;--st-ink:#347d69}.st-kind-sfx{--st-track:#65aa91;--st-fill:#badfce;--st-ink:#4a8069}.st-kind-music{height:38px}.st-kind-music .st-lane{height:32px}.st-waveform{height:22px;bottom:3px}.st-kind-music .st-waveform{height:27px}.st-kind-voice .st-clip-label,.st-kind-music .st-clip-label,.st-kind-sfx .st-clip-label{font-size:9px;top:3px}
.st-clip.st-selected{outline:1.5px solid #08c7d8;outline-offset:0;background:var(--st-fill);color:var(--st-ink);border-color:transparent}.st-clip.st-selected:before,.st-clip.st-selected:after{background:#08c7d8}
.st-playhead,.st-is-playing .st-playhead{width:2px;background:#0b0f18;top:4px;bottom:7px;box-shadow:none;z-index:9}.st-playhead:before{display:none}.st-ruler .st-playhead-handle{top:0;width:14px;height:20px;z-index:15;background:transparent;overflow:visible}.st-ruler .st-playhead-handle:before,.st-ruler .st-playhead-handle:after{display:none}.st-playhead-handle svg{display:block;width:14px;height:20px;pointer-events:none}.st-playhead-badge{color:#0b0f18;background:#fff}
.studio-film-chinese{letter-spacing:3px;font-size:1.6cqw}.studio-film-caption .studio-subtitle-cn{font-size:2cqw}
.st-clip{container-type:inline-size}.st-ruler-row{z-index:12}.st-playhead,.st-is-playing .st-playhead{top:19px}
@container(max-width:22px){.st-clip-label,.st-transition-shape{display:none}}
.st-ruler:focus{outline:none}.st-ruler:focus-visible{background:#fcfdfe}
.st-ruler .st-playhead-handle:after{content:"";display:block;left:6px;top:17px;bottom:auto;width:2px;height:41px;background:#0b0f18}
.editor-main{min-height:0}.timeline.st-timeline{height:min(420px,58%);min-height:0}.studio-preview{min-height:80px}.preview-frame.studio-film{max-width:none;max-height:none;flex:none}
.editor-main.timeline-expanded>.preview-area{display:none}.editor-main.timeline-expanded>.timeline{height:auto;min-height:0;flex:1}
.modal{max-height:calc(100% - 32px);overflow:auto;overscroll-behavior:contain}.popover{max-height:calc(100% - 24px);overflow:auto}
.resource-content [hidden]{display:none!important}
/* Explicit Chrome scrollbars avoid native gutters being enlarged by stage scaling.
   scrollbar-width/color must be auto for WebKit pseudo-elements to take effect. */
@supports selector(::-webkit-scrollbar){
  #stage *{scrollbar-width:auto;scrollbar-color:auto}
  #stage ::-webkit-scrollbar{width:4px;height:4px;background:transparent}
  #stage ::-webkit-scrollbar-track{background:transparent}
  #stage ::-webkit-scrollbar-thumb{background:#ccd7df;border:0;border-radius:8px}
  #stage ::-webkit-scrollbar-thumb:hover{background:#a8b8c5}
  #stage ::-webkit-scrollbar-button{display:none;width:0;height:0}
  #stage ::-webkit-scrollbar-corner{background:transparent}
}
#stage .editor-nav-list{scrollbar-width:none}
#stage .editor-nav-list::-webkit-scrollbar{display:none;width:0;height:0}
