#clipmuze-library-editor{--black:#08090c;--panel:#101218;--raised:#181b23;--edge:#2b2e39;--white:#f8f9fd;--muted:#b4bac9;--signal:#b0c9ff;--selection:#243656;--focus:#759ce6;--field:#0b0d12;--asset:#1c2030;--monitor-dot:#252a36;--primary-ink:#10131a;color-scheme:dark}
#clipmuze-library-editor[data-theme="light"]{--black:#e7ebf2;--panel:#f8f9fc;--raised:#edf0f6;--edge:#bdc6d6;--white:#161d29;--muted:#49576e;--signal:#274d88;--selection:#d6e5ff;--focus:#2a64b0;--field:#fff;--asset:#e7edf7;--monitor-dot:#bcc6d6;--primary-ink:#fff;color-scheme:light}
#clipmuze-library-editor .cm-stage{min-height:715px}
#clipmuze-library-editor .cm-app{color:var(--white);background:var(--black);border:1px solid var(--edge);border-radius:13px;overflow:hidden;font:13px/1.4 system-ui,sans-serif}
#clipmuze-library-editor button,#clipmuze-library-editor input,#clipmuze-library-editor select{font:inherit}
#clipmuze-library-editor button{color:var(--white);background:var(--raised);border:1px solid var(--edge);border-radius:5px;padding:6px 8px}
#clipmuze-library-editor button[aria-pressed=true]{background:var(--selection);border-color:var(--focus)}
#clipmuze-library-editor .cm-primary{background:var(--white);color:var(--primary-ink);border-color:var(--white);font-weight:650}
#clipmuze-library-editor .cm-head{display:flex;align-items:center;flex-wrap:wrap;gap:10px;padding:12px;background:var(--panel);border-bottom:1px solid var(--edge)}
#clipmuze-library-editor .cm-top-tools,#clipmuze-library-editor .clip-crop-actions{background:var(--panel);border-bottom:1px solid var(--edge)}
#clipmuze-library-editor .cm-top-tools{padding:7px 12px}
#clipmuze-library-editor .cm-top-tools [data-crop-open]{border-color:var(--focus);color:var(--signal)}
#clipmuze-library-editor .cm-brand{display:flex;align-items:center;gap:6px;letter-spacing:.11em;font-size:11px;font-weight:750}
#clipmuze-library-editor .cm-brand svg{color:var(--signal);width:15px}
#clipmuze-library-editor .cm-project{margin-right:auto;min-width:0;color:var(--white)}
#clipmuze-library-editor .cm-faint,#clipmuze-library-editor small{color:var(--muted)}
#clipmuze-library-editor small{display:block;font-size:11px}
#clipmuze-library-editor h3,#clipmuze-library-editor h4{font-size:12px;line-height:1.25;margin:0;color:var(--white)}
#clipmuze-library-editor h4{margin:10px 0 12px}
#clipmuze-library-editor .cm-monitor{display:grid;place-items:center;background:var(--black);background-image:radial-gradient(var(--monitor-dot) 1px,transparent 1px);background-size:15px 15px;padding:12px;min-width:0}
#clipmuze-library-editor .cm-preview{position:relative;width:min(100%,184px);aspect-ratio:9/16;background:#050608;outline:1px solid #393e49;overflow:hidden}
#clipmuze-library-editor .cm-base{width:100%;height:100%;display:block;object-fit:cover}
#clipmuze-library-editor [data-crop-active] :is(.cm-caption,.cm-media-layers,.cm-overlay,.cm-hook-title,.cm-effect-matte){visibility:hidden}
.clip-edit-actions {display:flex;align-items:center;flex-wrap:wrap;gap:6px}
.clip-edit-actions button {display:inline-flex;align-items:center;justify-content:center;gap:5px;font-weight:650;white-space:nowrap}
.clip-edit-actions button:disabled {opacity:.48;cursor:default}
.clip-edit-actions button span {font-size:1.15em;line-height:1}
.clip-crop-actions {display:flex;justify-content:center;align-items:center;flex-wrap:wrap;gap:6px;padding:8px}
.clip-crop-actions[hidden],.clip-crop-layer[hidden] {display:none}
.clip-crop-actions small {flex-basis:100%;text-align:center}
.clip-crop-layer {position:absolute;inset:0;z-index:5;overflow:hidden;pointer-events:none;user-select:none}
.clip-crop-box {position:absolute;box-sizing:border-box;border:2px solid #e7f1ff;box-shadow:0 0 0 1px #071320,0 0 0 5000px #03050bb0;pointer-events:auto}
:is(#clipmuze-library-editor,.studio-finish-canvas) .clip-crop-box button.clip-crop-handle {position:absolute;margin:0;padding:0;border:0;border-radius:0;background:transparent;touch-action:none}
:is(#clipmuze-library-editor,.studio-finish-canvas) .clip-crop-box button.clip-crop-handle:focus-visible {outline:2px solid #b7e2ff;outline-offset:-3px}
.clip-crop-handle[data-crop-handle="move"] {inset:0;cursor:move}
.clip-crop-handle:not([data-crop-handle="move"]) {width:min(34px,46%);height:34px;z-index:1}
.clip-crop-handle:not([data-crop-handle="move"])::after {content:"";position:absolute;width:11px;height:11px;background:#d2e8ff;box-shadow:0 0 0 1px #0a1728;pointer-events:none}
.clip-crop-handle:is([data-crop-handle="nw"],[data-crop-handle="sw"]) {left:0}
.clip-crop-handle:is([data-crop-handle="ne"],[data-crop-handle="se"]) {right:0}
.clip-crop-handle:is([data-crop-handle="nw"],[data-crop-handle="ne"]) {top:0}
.clip-crop-handle:is([data-crop-handle="sw"],[data-crop-handle="se"]) {bottom:0}
.clip-crop-handle:is([data-crop-handle="nw"],[data-crop-handle="sw"])::after {left:0}
.clip-crop-handle:is([data-crop-handle="ne"],[data-crop-handle="se"])::after {right:0}
.clip-crop-handle:is([data-crop-handle="nw"],[data-crop-handle="ne"])::after {top:0}
.clip-crop-handle:is([data-crop-handle="sw"],[data-crop-handle="se"])::after {bottom:0}
.clip-crop-handle:is([data-crop-handle="nw"],[data-crop-handle="se"]) {cursor:nwse-resize}
.clip-crop-handle:is([data-crop-handle="ne"],[data-crop-handle="sw"]) {cursor:nesw-resize}
@media (pointer:coarse) {
  .clip-edit-actions button,.clip-crop-actions button {min-height:44px}
  .clip-crop-handle:not([data-crop-handle="move"]) {width:min(44px,46%);height:44px}
}

#clipmuze-library-editor .cm-caption,#clipmuze-library-editor .cm-overlay{position:absolute;left:50%;top:var(--seat,41%);transform:translateX(-50%);width:max-content;max-width:90%;text-align:center;font-size:var(--caption-size,12px);font-weight:800;color:#fff;line-height:1.35;white-space:pre-wrap;overflow-wrap:anywhere;text-shadow:0 1px 4px #000;pointer-events:none}
#clipmuze-library-editor .cm-overlay{top:9%;text-shadow:0 1px 5px #000}
#clipmuze-library-editor .cm-style-caption.box span{background:#08090e;padding:3px 5px;box-decoration-break:clone;-webkit-box-decoration-break:clone}#clipmuze-library-editor .cm-style-caption span:empty{padding:0}#clipmuze-library-editor .cm-style-caption.blue{color:#9dc1ff}
#clipmuze-library-editor .cm-style-caption.white-box span{background:#fff;color:#141421;text-shadow:none;padding:3px 5px;box-decoration-break:clone;-webkit-box-decoration-break:clone}
#clipmuze-library-editor .cm-style-caption.white-box span:empty{padding:0}
#clipmuze-library-editor .cm-style-caption.outline{font-weight:900;-webkit-text-stroke:3px #101017;paint-order:stroke fill}
#clipmuze-library-editor .cm-style-caption.yellow{color:#ffe36c}
#clipmuze-library-editor .cm-style-caption.lavender{color:#e0bbff}
#clipmuze-library-editor .cm-style-caption.mono{font-family:Consolas,monospace;letter-spacing:.025em}
#clipmuze-library-editor .cm-style-caption em{font-style:normal}
#clipmuze-library-editor .cm-style-caption.karaoke .active-word{color:#fbe264}
#clipmuze-library-editor .cm-style-caption.word-chip .active-word{color:#10142a;background:#b7f7d4;border-radius:4px;box-shadow:0 0 0 2px #b7f7d4;text-shadow:none}
#clipmuze-library-editor .cm-style-caption.word-pop .active-word{display:inline-block;color:#ffd1fa;animation:caption-pop .21s ease-out}
#clipmuze-library-editor .cm-style-caption .future-word{visibility:hidden}
#clipmuze-library-editor .cm-style-caption.neon{color:#e8ffff;text-shadow:0 0 4px #00b9ff,0 0 12px #0099ff,0 2px 3px black}
#clipmuze-library-editor .cm-style-caption.headline{text-transform:uppercase;letter-spacing:.05em;font-weight:900;-webkit-text-stroke:2px #12121b;paint-order:stroke fill}
@keyframes caption-pop{from{transform:scale(.82)}to{transform:scale(1)}}
@media(prefers-reduced-motion:reduce){#clipmuze-library-editor .cm-style-caption.word-pop .active-word{animation:none}}
#clipmuze-library-editor .cm-style-caption.word-underline .active-word{text-decoration:underline;text-decoration-color:#66e4ff;text-underline-offset:.18em;text-decoration-thickness:.13em}
#clipmuze-library-editor .cm-style-caption.word-spotlight em:not(.active-word){opacity:.55}
#clipmuze-library-editor .cm-style-caption.word-spotlight .active-word{color:#fff3ad;text-shadow:0 0 .5em #ffc36d,0 1px 3px #000}
#clipmuze-library-editor .cm-style-caption.word-invert .active-word{color:#101421;background:#fff;box-shadow:0 0 0 .12em #fff;text-shadow:none}
#clipmuze-library-editor .cm-style-caption.word-slide .active-word{display:inline-block;color:#adf5ff;animation:caption-slide .22s ease-out}
#clipmuze-library-editor .cm-style-caption.single-word .active-word{display:inline-block;font-size:1.2em;font-weight:900;color:#ffdf83}
#clipmuze-library-editor .cm-style-caption.word-trail .past-word{color:#93e7d5}
#clipmuze-library-editor .cm-style-caption.word-trail .active-word{color:#ffe18c}
#clipmuze-library-editor .cm-style-caption.editorial{font-family:"Playfair Display",Georgia,serif;font-style:italic;font-weight:700;color:#fff1df}
#clipmuze-library-editor .cm-style-caption.broadcast span{background:#143785;color:#fff;border-left:.24em solid #79d8ff;padding:.18em .42em;box-decoration-break:clone;-webkit-box-decoration-break:clone}
#clipmuze-library-editor .cm-style-caption.comic{font-weight:950;text-transform:uppercase;color:#ffe65b;-webkit-text-stroke:.18em #15121d;paint-order:stroke fill;text-shadow:.1em .12em #f55595}
#clipmuze-library-editor .cm-style-caption.terminal{font-family:"IBM Plex Mono",Consolas,monospace;color:#a0ff99;letter-spacing:.025em;text-shadow:0 0 .4em #237631,0 1px 3px black}
#clipmuze-library-editor .cm-style-caption.cinema{font-weight:550;letter-spacing:.04em;color:#fff4d9;text-shadow:0 2px 3px #000,0 0 6px #000}
#clipmuze-library-editor .cm-style-caption.frost span{padding:.16em .38em;background:#273654e8;color:#edf9ff;border-radius:.28em;box-decoration-break:clone;-webkit-box-decoration-break:clone}
#clipmuze-library-editor .cm-style-caption.shadow-stack{font-weight:900;color:#e7d5ff;text-shadow:.07em .07em #7043a5,.13em .13em #291747,0 1px 4px #000}
#clipmuze-library-editor .cm-style-caption.sunset{color:#ffb591;filter:drop-shadow(0 1px 2px #000)}
#clipmuze-library-editor .cm-style-caption.sunset span{background:linear-gradient(110deg,#ffe693,#ff92bc);background-clip:text;color:transparent;text-shadow:none}
#clipmuze-library-editor .cm-style-caption.broadcast span:empty,#clipmuze-library-editor .cm-style-caption.frost span:empty{padding:0;border:0}
@keyframes caption-slide{from{transform:translateY(.25em);opacity:.7}to{transform:translateY(0);opacity:1}}
@media(prefers-reduced-motion:reduce){#clipmuze-library-editor .cm-style-caption.word-slide .active-word{animation:none}}

#clipmuze-library-editor .cm-style-caption.word-bounce .active-word{display:inline-block;color:#ffee91;animation:caption-bounce .27s ease-out}
#clipmuze-library-editor .cm-style-caption.word-fade .active-word{color:#92ffe8;animation:caption-fade .24s ease-out}
#clipmuze-library-editor .cm-style-caption.word-tilt .active-word{display:inline-block;color:#ffb0ef;animation:caption-tilt .23s ease-out}
#clipmuze-library-editor .cm-style-caption.word-marker .active-word{color:#202017;text-shadow:none;background:linear-gradient(transparent 12%,#f9ea8d 12% 90%,transparent 90%)}
#clipmuze-library-editor .cm-style-caption.word-halo .active-word{color:#fff;text-shadow:0 0 .28em #ab78ff,0 0 .6em #7751ff,0 1px 2px #000}
#clipmuze-library-editor .cm-style-caption.word-bracket .active-word{color:#cef294;border-inline:2px solid #a7e473;padding-inline:.12em}
#clipmuze-library-editor .cm-style-caption.word-lift .active-word{display:inline-block;color:#a2dcff;transform:translateY(-.13em);text-shadow:0 .2em .09em #000}
#clipmuze-library-editor .cm-style-caption.word-stripe .active-word{color:#ffe1f0;background:linear-gradient(transparent 74%,#c52f81 74%);text-shadow:0 1px 2px #190a17}
#clipmuze-library-editor .cm-style-caption.newsroom >span{background:#f5f6fa;color:#121929;border-inline-start:.26em solid #ee525c;padding:.14em .36em;text-shadow:none}
#clipmuze-library-editor .cm-style-caption.midnight >span{background:#0a132b;color:#a4bcff;border:1px solid #6e8bff;padding:.12em .36em;border-radius:.2em}
#clipmuze-library-editor .cm-style-caption.mint >span{background:#baf6dc;color:#173529;padding:.12em .48em;border-radius:.6em;text-shadow:none}
#clipmuze-library-editor .cm-style-caption.amber >span{background:#36200c;color:#ffd397;padding:.12em .36em;border-bottom:2px solid #ffaf53}
#clipmuze-library-editor .cm-style-caption.sports{font-style:italic;font-weight:950;text-transform:uppercase;color:#c6ff53;text-shadow:.09em .1em #1d3720,0 2px 4px #000}
#clipmuze-library-editor .cm-style-caption.documentary{font-family:Georgia,serif;font-weight:500;letter-spacing:.04em;color:#f4eedc;text-shadow:0 2px 4px #000}
#clipmuze-library-editor .cm-style-caption.retro{font-family:Consolas,monospace;text-transform:uppercase;color:#ff9e57;text-shadow:.09em .09em #8038b3,.15em .15em #2e1833}
#clipmuze-library-editor .cm-style-caption.ice{color:#e7f8ff;-webkit-text-stroke:.14em #116181;paint-order:stroke fill;text-shadow:0 2px 3px #021c34}
#clipmuze-library-editor .cm-style-caption.rose >span{background:#6b224d;color:#ffe8f4;padding:.12em .42em;border-radius:.22em}
#clipmuze-library-editor .cm-style-caption.studio >span{background:linear-gradient(100deg,#26204a,#463675);color:white;padding:.15em .42em;border-bottom:2px solid #b49aff}
#clipmuze-library-editor .cm-style-caption.letterpress{font-family:Georgia,serif;font-weight:900;color:#ffe0a7;text-shadow:0 1px #5d3329,0 2px #2a1821,0 3px 3px #000}
#clipmuze-library-editor .cm-style-caption.electric{color:#f0ecff;-webkit-text-stroke:.16em #5125b9;paint-order:stroke fill;text-shadow:.12em .09em #00c4cc,0 2px 4px #000}
#clipmuze-library-editor .cm-style-caption:is(.newsroom,.midnight,.mint,.amber,.rose,.studio)>span{box-decoration-break:clone;-webkit-box-decoration-break:clone}
#clipmuze-library-editor .cm-style-caption:is(.newsroom,.midnight,.mint,.amber,.rose,.studio)>span:empty{padding:0;border:0}
@keyframes caption-bounce{0%{transform:translateY(.16em)}60%{transform:translateY(-.16em)}100%{transform:translateY(0)}}
@keyframes caption-fade{from{opacity:.35}to{opacity:1}}
@keyframes caption-tilt{from{transform:rotate(-10deg)}to{transform:rotate(0)}}
@media(prefers-reduced-motion:reduce){#clipmuze-library-editor .cm-style-caption:is(.word-bounce,.word-fade,.word-tilt) .active-word{animation:none}}
#clipmuze-library-editor .cm-transport{display:flex;gap:8px;justify-content:center;align-items:center;padding:7px;background:var(--panel);color:var(--muted);font-size:11px;font-variant-numeric:tabular-nums}
#clipmuze-library-editor .cm-transport button{height:28px;display:grid;place-items:center}
#clipmuze-library-editor .cm-transport button svg{width:12px;height:12px}
#clipmuze-library-editor .cm-play-status,#clipmuze-library-editor .cm-music-status{color:var(--muted);font-size:11px;margin:7px 10px}
#clipmuze-library-editor .cm-play-status:empty,#clipmuze-library-editor .cm-music-status:empty{display:none}
#clipmuze-library-editor .cm-mobile{width:min(100%,390px);margin-inline:auto}
#clipmuze-library-editor .cm-mobile .cm-preview{width:min(100%,188px)}
#clipmuze-library-editor .cm-mobile-tools{display:flex;flex-wrap:wrap;gap:4px;padding:7px 9px;background:var(--panel);border-top:1px solid var(--edge)}
#clipmuze-library-editor .cm-mobile-tools button{display:grid;justify-items:center;gap:2px;flex:1;min-width:44px;min-height:43px;font-size:11px;padding:3px 1px}
#clipmuze-library-editor .cm-mobile-tools svg{width:14px;height:14px;color:var(--signal)}
#clipmuze-library-editor .cm-sheet{padding:9px 11px 11px;background:var(--raised);min-height:142px;max-height:220px;overflow:auto}
#clipmuze-library-editor .cm-sheet [data-panel]:not([hidden]){display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
#clipmuze-library-editor .cm-sheet [data-panel="Captions"]:not([hidden]),#clipmuze-library-editor .cm-sheet [data-panel="Layers"]:not([hidden]){grid-template-columns:minmax(0,1fr);gap:7px}
#clipmuze-library-editor .cm-sheet [data-finish-fields]{grid-column:1/-1}
#clipmuze-library-editor label{display:grid;gap:4px;padding:0;margin:0 0 10px;color:var(--muted);font-size:11px;min-width:0}
#clipmuze-library-editor .cm-sheet label{margin:0}
#clipmuze-library-editor label input:not([type=checkbox]),#clipmuze-library-editor select{width:100%;min-width:0;box-sizing:border-box;accent-color:var(--signal)}
#clipmuze-library-editor label input:not([type=range]):not([type=checkbox]),#clipmuze-library-editor select{color:var(--white);background:var(--field);border:1px solid var(--edge);border-radius:5px;padding:6px}
#clipmuze-library-editor .cm-check{display:flex;align-items:center;gap:5px;color:var(--white)}
#clipmuze-library-editor .cm-workspace{display:grid;--media-width:clamp(135px,20%,194px);--pane-width:var(--inspector-width,clamp(185px,29%,304px));grid-template-columns:var(--media-width) minmax(0,1fr) 14px var(--pane-width);gap:1px;background:var(--edge)}
#clipmuze-library-editor .cm-workspace[data-inspector-collapsed="true"]{--pane-width:0px}
#clipmuze-library-editor .cm-divider{position:relative;background:var(--panel);z-index:2;grid-column:3}
#clipmuze-library-editor .cm-resize-grip{position:absolute;inset:0;width:100%;height:100%;margin:0;appearance:none;border:0;cursor:col-resize;touch-action:none;background:repeating-linear-gradient(to bottom,var(--signal) 0 2px,transparent 2px 5px) center/2px 24px no-repeat}
#clipmuze-library-editor .cm-resize-grip::-webkit-slider-thumb{appearance:none;width:1px;height:1px;opacity:0}
#clipmuze-library-editor .cm-resize-grip::-moz-range-thumb{width:1px;height:1px;opacity:0}
#clipmuze-library-editor .cm-resize-grip:hover,#clipmuze-library-editor .cm-resize-grip:focus-visible{background-color:var(--selection);outline:2px solid var(--focus);outline-offset:-2px}
#clipmuze-library-editor .cm-resize-grip{background-position:center calc(50% - 33px)}
#clipmuze-library-editor .cm-divider button{position:absolute;z-index:1;left:50%;top:50%;transform:translate(-50%,-50%);min-width:24px;min-height:30px;padding:3px;border-color:var(--focus);font-size:19px;line-height:1;color:var(--signal);box-shadow:0 2px 8px #14223a35}
#clipmuze-library-editor .cm-bin,#clipmuze-library-editor .cm-inspector,#clipmuze-library-editor .cm-program{background:var(--panel);min-width:0}
#clipmuze-library-editor .cm-bin,#clipmuze-library-editor .cm-inspector{padding:12px}
#clipmuze-library-editor .cm-inspector{max-height:419px;overflow:auto}
#clipmuze-library-editor .cm-bin nav{display:grid;gap:4px;margin-top:8px}
#clipmuze-library-editor .cm-bin nav button{display:flex;align-items:center;text-align:left;gap:5px}
#clipmuze-library-editor .cm-bin nav svg{width:13px;height:13px;color:var(--signal)}
#clipmuze-library-editor .cm-asset{display:grid;grid-template-columns:28px 1fr;align-items:center;gap:7px;margin:11px 0;padding:5px;background:var(--asset);border-left:2px solid var(--signal);overflow-wrap:anywhere}
#clipmuze-library-editor .cm-asset img{width:28px;height:42px;object-fit:cover;border-radius:2px}
#clipmuze-library-editor .cm-pane-head{display:flex;justify-content:space-between;align-items:center;gap:5px;color:var(--muted);font-size:11px;border-bottom:1px solid var(--edge);padding-bottom:7px}
#clipmuze-library-editor .cm-program .cm-pane-head{padding:9px 10px}
#clipmuze-library-editor .cm-timeline{position:relative;background:var(--panel);padding:8px 10px 10px;border-top:1px solid var(--edge)}
#clipmuze-library-editor .cm-timeline-title{display:flex;gap:8px;align-items:center;margin:0 0 5px}
#clipmuze-library-editor .cm-timeline-title button{display:flex;gap:4px;align-items:center;font-size:11px}
#clipmuze-library-editor .cm-timeline-title svg{width:13px;height:13px}
#clipmuze-library-editor .cm-scrub{display:flex;align-items:center;gap:5px;margin:3px 0 0;white-space:nowrap}
#clipmuze-library-editor .cm-timeline-title .cm-scrub{margin:0 0 0 auto}
#clipmuze-library-editor .cm-ruler{display:flex;justify-content:space-between;gap:4px;padding:0 2px 3px;color:var(--muted);font-size:11px;font-variant-numeric:tabular-nums}
#clipmuze-library-editor .cm-track{display:grid;grid-template-columns:58px 1fr;gap:4px;align-items:center;margin:4px 0;color:var(--muted);font-size:11px}
#clipmuze-library-editor .cm-film{display:grid;grid-template-columns:repeat(4,1fr);gap:1px;background:#253454;border:1px solid #85a7e5;border-radius:3px;overflow:hidden}
#clipmuze-library-editor .cm-film img{display:block;width:100%;height:34px;object-fit:cover;object-position:center 60%}
#clipmuze-library-editor .cm-lane{display:grid;grid-template-columns:1fr 1.45fr 1fr;gap:2px;margin-top:3px}
#clipmuze-library-editor .cm-lane button{padding:3px;font-size:11px;min-width:0;background:#352342;border-color:#553c65;color:#f5e9fc}
#clipmuze-library-editor .cm-wave{height:20px;background:repeating-linear-gradient(90deg,#72aaa7 0 1px,#1e4646 1px 4px);clip-path:polygon(0 40%,8% 11%,16% 44%,26% 0,37% 34%,45% 18%,58% 40%,67% 0,76% 28%,87% 16%,93% 40%,100% 22%,100% 73%,91% 62%,78% 96%,68% 69%,58% 100%,46% 74%,33% 98%,25% 72%,14% 92%,7% 56%,0 70%)}
#clipmuze-library-editor .cm-caption-fields,#clipmuze-library-editor .cm-layer-controls{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
#clipmuze-library-editor .cm-style-label>span,#clipmuze-library-editor .cm-effect-tools,#clipmuze-library-editor .cm-layer-heading{display:flex;align-items:center;justify-content:space-between;gap:6px}
#clipmuze-library-editor .cm-style-count,#clipmuze-library-editor .cm-layer-heading span,#clipmuze-library-editor .cm-effect-tools span{font-size:11px;color:var(--signal)}
#clipmuze-library-editor .cm-effect-tools button{padding:5px 8px;font-size:11px;white-space:nowrap}
#clipmuze-library-editor button:disabled{opacity:.5}
#clipmuze-library-editor [hidden]{display:none!important}
#clipmuze-library-editor .cm-layer-library{min-width:0}
#clipmuze-library-editor .cm-layer-heading{margin-bottom:7px}
#clipmuze-library-editor .cm-layer-tabs{display:flex;gap:4px;margin-bottom:7px}
#clipmuze-library-editor .cm-layer-tabs button{font-size:11px;padding-inline:5px;flex:1}
#clipmuze-library-editor .cm-layer-palette{display:grid;grid-template-columns:repeat(auto-fit,minmax(40px,1fr));gap:4px}
#clipmuze-library-editor .cm-layer-palette button{min-width:0;padding:4px;font-size:17px;display:grid;place-items:center}
#clipmuze-library-editor .cm-layer-palette[data-kind="sticker"]{grid-template-columns:repeat(3,minmax(0,1fr))}
#clipmuze-library-editor .cm-sticker{color:#131019;background:var(--sticker-color,#ffe176);font:900 .62em/1.2 system-ui,sans-serif;letter-spacing:.035em;padding:.23em .42em;transform:rotate(-7deg);border:2px solid #fff;border-radius:.36em;box-shadow:0 .12em .2em #0008;white-space:nowrap}
#clipmuze-library-editor .cm-media-layers{position:absolute;inset:0;pointer-events:none}
#clipmuze-library-editor .cm-media-layer{position:absolute;display:grid;place-items:center;transform:translate(-50%,-50%);max-height:78%;pointer-events:auto;touch-action:none;user-select:none;font-size:var(--layer-size,26px);line-height:1}
#clipmuze-library-editor .cm-media-layer--file{display:block;object-fit:contain;height:auto;object-position:center}
#clipmuze-library-editor .cm-media-layer[data-selected="true"]{outline:1px dashed #adc7ff;outline-offset:3px}
#clipmuze-library-editor .cm-layer-wide{grid-column:1/-1}
#clipmuze-library-editor .cm-layer-controls{margin-top:8px}
#clipmuze-library-editor .cm-layer-controls label{margin:0}
#clipmuze-library-editor .cm-device-picker input{padding:6px 0;font-size:12px}
#clipmuze-library-editor .cm-device-picker input::file-selector-button{font:inherit;background:var(--raised);color:var(--white);border:1px solid var(--edge);border-radius:5px;padding:5px 7px;margin-right:5px}
#clipmuze-library-editor .cm-layer-status{color:var(--muted);font-size:11px;margin:6px 0}
#clipmuze-library-editor .cm-layer-track{position:relative;height:24px;background:#171c24;border:1px solid #293545;border-radius:4px;overflow:hidden;margin-top:3px}
#clipmuze-library-editor .cm-layer-track button{position:absolute;inset-block:2px;min-width:10px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:1px 4px;font-size:11px;background:#263b50;border-color:#425b73;color:#f8f9fd}
#clipmuze-library-editor .cm-finish-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;align-items:end}
#clipmuze-library-editor .cm-finish-pair>label{margin:0}
#clipmuze-library-editor .cm-finish-heading{display:flex;justify-content:space-between;gap:6px;margin-bottom:7px}
#clipmuze-library-editor .cm-finish-heading span{font-size:11px;color:var(--signal)}
#clipmuze-library-editor .cm-hook-checkbox{padding:8px;border:1px solid var(--focus);border-radius:6px;background:var(--selection);margin-bottom:7px}
#clipmuze-library-editor .cm-hook-suggestions{display:grid;gap:4px;margin:7px 0}
#clipmuze-library-editor .cm-hook-suggestions button{text-align:left;font-size:11px}
#clipmuze-library-editor .cm-cover-actions{display:flex;flex-wrap:wrap;gap:5px;margin-top:7px}
#clipmuze-library-editor [data-cover-preview]{display:block;width:min(100%,108px);height:auto;margin-top:7px;border-radius:4px}
#clipmuze-library-editor .cm-effect-matte{position:absolute;inset:0;pointer-events:none}
#clipmuze-library-editor .cm-hook-title{position:absolute;top:55%;left:50%;width:86%;transform:translate(-50%,-50%);text-align:center;color:#13171f;font:900 clamp(11px,11cqw,27px)/1.15 system-ui,sans-serif;overflow-wrap:anywhere;pointer-events:none}
#clipmuze-library-editor .cm-preview{container-type:inline-size}
#clipmuze-library-editor .cm-hook-title span{background:#ffe578;padding:.15em .30em;box-decoration-break:clone;-webkit-box-decoration-break:clone}
#clipmuze-library-editor .cm-hook-title[data-font="condensed"]{font-family:Impact,"Arial Narrow",system-ui,sans-serif}
#clipmuze-library-editor .cm-hook-title[data-theme="black"] span{background:#0a1019;color:white}
#clipmuze-library-editor .cm-hook-title[data-theme="blue"] span{background:#173d88;color:white}
#clipmuze-library-editor .cm-playhead{position:absolute;width:1px;left:calc(10px + (100% - 20px) * var(--fraction,.253));top:23px;bottom:25px;background:var(--white);pointer-events:none;box-shadow:0 0 5px #95abff}
#clipmuze-library-editor .cm-desktop .cm-playhead{left:calc(72px + (100% - 82px) * var(--fraction,.253));top:40px;bottom:11px}
@media(max-width:685px){#clipmuze-library-editor .cm-workspace{--pane-width:var(--inspector-width,clamp(145px,43%,255px));grid-template-columns:minmax(0,1fr) 14px var(--pane-width)}#clipmuze-library-editor .cm-divider{grid-column:2}#clipmuze-library-editor .cm-bin{grid-column:1/-1}#clipmuze-library-editor .cm-bin nav{display:flex;flex-wrap:wrap}#clipmuze-library-editor .cm-asset{display:none}#clipmuze-library-editor .cm-stage{min-height:745px}}
@media(max-width:415px){#clipmuze-library-editor .cm-workspace{grid-template-columns:1fr}#clipmuze-library-editor .cm-divider,#clipmuze-library-editor .cm-draft{display:none}#clipmuze-library-editor .cm-stage{min-height:960px}#clipmuze-library-editor .cm-timeline-title{flex-wrap:wrap}}
@media(pointer:coarse){#clipmuze-library-editor button{min-height:44px}#clipmuze-library-editor .cm-layer-track{height:48px}#clipmuze-library-editor .cm-layer-palette{grid-template-columns:repeat(auto-fit,minmax(44px,1fr))}#clipmuze-library-editor input:not([type=range]):not([type=checkbox]),#clipmuze-library-editor select{font-size:16px}}
body{margin:0;background:#08090c}
#clipmuze-library-editor[data-site-editor]{min-height:100vh;background:var(--black);padding:clamp(8px,2vw,28px);box-sizing:border-box}
#clipmuze-library-editor[data-site-editor] .cm-stage{min-height:0;max-width:1420px;margin-inline:auto}
#clipmuze-library-editor .cm-project{font-size:14px;font-weight:700;margin-block:0}
#clipmuze-library-editor .cm-brand{color:var(--white);text-decoration:none}
#clipmuze-library-editor[data-site-editor] .cm-base{object-fit:contain}
#clipmuze-library-editor[data-site-editor] .cm-base:focus-visible{outline-offset:-3px}
#clipmuze-library-editor[data-site-editor] input[type=file]{max-width:100%}
@media(min-width:700px){#clipmuze-library-editor[data-site-editor] .cm-preview{width:min(100%,260px)}#clipmuze-library-editor[data-site-editor] .cm-inspector{max-height:560px}}
@media(max-width:699px){
  #clipmuze-library-editor[data-site-editor] .cm-workspace{display:flex;flex-direction:column}
  #clipmuze-library-editor[data-site-editor] .cm-program{order:-1}
  #clipmuze-library-editor[data-site-editor] .cm-divider{display:none}
  #clipmuze-library-editor[data-site-editor] .cm-bin nav{display:flex;flex-wrap:wrap}
  #clipmuze-library-editor[data-site-editor] .cm-bin nav button{padding:8px 10px}
  #clipmuze-library-editor[data-site-editor] .cm-bin{padding-top:10px}
  #clipmuze-library-editor[data-site-editor] .cm-asset{display:none}
  #clipmuze-library-editor[data-site-editor] .cm-inspector{max-height:none}
  #clipmuze-library-editor[data-site-editor] .cm-timeline-title{flex-wrap:wrap}
}
