@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Architects+Daughter&family=Caveat&family=Dancing+Script:wght@500&family=Homemade+Apple&family=Satisfy&family=Bangers&family=Cabin+Sketch&family=Chewy&family=Cinzel:wght@500&family=Coming+Soon&family=Covered+By+Your+Grace&family=Fredericka+the+Great&family=Fredoka:wght@500&family=Great+Vibes&family=IM+Fell+English&family=Just+Another+Hand&family=Kaushan+Script&family=Luckiest+Guy&family=Montserrat:wght@600&family=Nanum+Pen+Script&family=Pacifico&family=Playfair+Display&family=Reenie+Beanie&family=Rock+Salt&family=Sacramento&family=Schoolbell&family=Special+Elite&family=Yellowtail&family=Gloria+Hallelujah&family=Gochi+Hand&family=Handlee&family=Indie+Flower&family=Kalam&family=Patrick+Hand&family=Permanent+Marker&family=Shadows+Into+Light&display=swap');
:root{font-family:'DM Sans',sans-serif;color:#202b3a;background:#f4f5f2}*{box-sizing:border-box}body{margin:0;min-width:800px}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{opacity:.45;cursor:not-allowed}.hidden{display:none!important}.app{height:100vh;min-height:660px;display:flex;flex-direction:column}.topbar{height:70px;display:flex;align-items:center;gap:25px;padding:0 24px;background:#fff;border-bottom:1px solid #e5e8e7;flex:none}.brand{width:212px;display:flex;align-items:center;gap:10px;font:700 17px Manrope,sans-serif;letter-spacing:-.6px;white-space:nowrap}.brand b{color:#f27a59}.brand-mark{display:grid;place-items:center;width:32px;height:32px;border-radius:10px;background:#f27a59;color:white;font-size:25px;font-weight:400;line-height:1}.project-heading{display:flex;flex-direction:column;gap:2px;min-width:160px}.project-heading input{border:0;padding:0;background:none;color:#162235;font:800 17px Manrope;outline:none;width:250px}.project-heading span{font-size:11px;color:#8c99a7}.top-actions{display:flex;gap:9px;margin-left:auto;align-items:center}.button{border-radius:10px;padding:10px 14px;border:1px solid transparent;font-weight:700;font-size:12px;white-space:nowrap;transition:.15s}.button:hover{transform:translateY(-1px)}.button.primary{background:#f27a59;color:white;box-shadow:0 4px 10px #e9846533}.button.primary:hover{background:#e96f4e}.button.subtle{background:#edf4f2;color:#285d55}.button.ghost{background:#fff;color:#536273;border-color:#e1e5e5}.button.small{padding:8px 11px}.workspace{display:flex;flex:1;min-height:0}.leftbar{width:84px;flex:none;background:#15243a;color:#fff;display:flex;align-items:center;flex-direction:column;padding:18px 8px;gap:5px}.section-label{color:#70839b;font:700 9px Manrope;letter-spacing:1.4px;margin:3px 0 8px}.tool{color:#aebccd;border:0;background:transparent;width:64px;height:56px;border-radius:11px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px}.tool span{font-size:21px;line-height:25px}.tool small{font-size:10px}.tool:hover{background:#263b55;color:white}.tool.active{background:#2b4960;color:#fff}.main{flex:1;display:flex;flex-direction:column;min-width:0;background:#eef1ee}.stage-top{height:60px;display:flex;justify-content:space-between;align-items:center;padding:0 28px}.stage-title{display:flex;align-items:center;gap:10px;font:700 13px Manrope}.eyebrow{font:800 10px Manrope;letter-spacing:1px;color:#78a39a}.stage-controls{display:flex;align-items:center;gap:15px;color:#8e9aa3;font-size:11px}.icon-button{border:1px solid #d8e0de;border-radius:8px;background:white;color:#687781;width:30px;height:30px;font-size:18px}.canvas-shell{flex:1;min-height:0;padding:16px 28px;display:flex;align-items:center;justify-content:center;position:relative;background-image:radial-gradient(#cfd8d4 1px, transparent 1px);background-size:18px 18px}#stage{width:100%;height:100%;max-height:100%;max-width:100%;aspect-ratio:16/9;background:white;box-shadow:0 12px 30px #1c3c3a1c,0 1px 4px #1c3c3a11;overflow:hidden;touch-action:none}.empty-hint{position:absolute;bottom:45%;color:#90a0a0;font-size:14px;pointer-events:none}.stage-footer{height:38px;display:flex;align-items:center;justify-content:space-between;padding:0 28px;color:#9aa6a6;font-size:11px}.status-dot{display:inline-block;background:#75b594;width:7px;height:7px;border-radius:50%;margin-right:5px}.inspector{width:284px;flex:none;background:#fff;border-left:1px solid #e5e8e7;overflow:auto;padding:22px 18px}.panel-eyebrow{font:800 10px Manrope;color:#9ca8ae;letter-spacing:1.2px;margin:0 0 8px}.panel-title{font:800 18px Manrope;color:#203146;letter-spacing:-.4px;margin:0 0 5px}.panel-help{font-size:12px;line-height:1.55;color:#8a98a1;margin:0 0 20px}.panel-divider{height:1px;background:#edf0ef;margin:19px 0}.field{display:flex;flex-direction:column;gap:7px;margin:0 0 15px}.field label{font-size:11px;color:#677883;font-weight:700}.field input,.field select,.field textarea{width:100%;border:1px solid #dce3e1;border-radius:8px;padding:9px 10px;background:#fff;color:#223446;outline:0;font-size:12px}.field input:focus,.field select:focus,.field textarea:focus{border-color:#6bafa1}.field textarea{resize:vertical;min-height:76px}.field-row{display:grid;grid-template-columns:1fr 1fr;gap:10px}.segmented{display:flex;background:#f0f4f2;border-radius:9px;padding:3px;gap:2px}.segmented button{flex:1;border:0;background:transparent;color:#81909a;font-size:11px;font-weight:700;padding:8px 3px;border-radius:7px}.segmented button.active{background:#fff;color:#285d55;box-shadow:0 1px 5px #1a403411}.preset-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.preset{border:1px solid #e3e9e6;border-radius:10px;background:#fff;height:67px;font-size:33px;color:#20495a;display:grid;place-items:center}.preset:hover{border-color:#f27a59;background:#fff8f5}.note-card{background:#eef7f2;border-radius:11px;padding:13px;color:#507769;font-size:11px;line-height:1.5}.panel-action{border:1px solid #dde6e3;background:white;color:#426b62;border-radius:9px;padding:9px 11px;font-size:11px;font-weight:700}.panel-action.danger{color:#cf6d63;border-color:#f2dad6}.panel-actions{display:flex;gap:8px;flex-wrap:wrap}.timeline-area{height:236px;flex:none;background:#fff;border-top:1px solid #e2e8e5;display:flex;flex-direction:column}.timeline-header{height:54px;flex:none;display:flex;align-items:center;padding:0 20px;gap:12px;border-bottom:1px solid #eef1f0}.timeline-title{width:200px;display:flex;align-items:center;gap:10px}.timeline-title strong{font:800 13px Manrope;color:#1f3345}.timeline-title span{font-size:10px;color:#91a0aa}.timeline-play{display:flex;align-items:center;gap:9px;margin-left:auto}.mini-button{border:0;background:transparent;color:#8796a0;font-size:20px}.play-button{border:0;background:#1b3a4b;color:#fff;border-radius:100%;width:30px;height:30px;font-size:12px;padding-left:3px}.timeline-play span{font-size:11px;color:#74828b;min-width:83px}.timeline-actions{display:flex;gap:7px;margin-left:auto}.timeline-body{display:flex;flex:1;min-height:0}.scene-strip{width:180px;flex:none;border-right:1px solid #edf0ee;overflow:auto;padding:10px 8px}.scene-tile{width:100%;border:1px solid transparent;background:#fff;border-radius:8px;padding:8px 9px;margin:0 0 5px;text-align:left;color:#697985;font-size:11px;display:flex;align-items:center;gap:8px}.scene-tile.active{background:#eaf4f0;color:#2b7160;border-color:#d4e8df;font-weight:700}.scene-number{display:grid;place-items:center;width:23px;height:23px;background:#d7e8e1;border-radius:6px;color:#4c8776;font-size:10px;font-weight:800}.tracks{flex:1;overflow:auto;padding:12px 15px;min-width:0}.track-label{font:800 10px Manrope;letter-spacing:.7px;color:#84919d;display:flex;justify-content:space-between}.track-label span{font:400 10px 'DM Sans';letter-spacing:0;color:#a5b0b5}.item-strip{display:flex;align-items:center;gap:8px;min-height:75px;overflow:auto;padding:7px 0}.item-tile{width:100px;min-width:100px;height:64px;border:1px solid #e2e8e4;background:#fafcfa;border-radius:9px;padding:6px;text-align:left;color:#354b5a;position:relative}.item-tile.selected{border-color:#f27a59;background:#fff5f1}.item-tile.camera{background:#edf6f4}.item-tile .thumb{display:block;font-size:20px;height:29px;color:#2c7c74}.item-tile .item-name{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:10px;font-weight:700}.item-tile .item-duration{position:absolute;right:7px;top:7px;color:#9ea8ad;font-size:9px}.audio-track{display:flex;gap:12px;align-items:center;border:1px dashed #dce6e1;border-radius:7px;height:27px;padding:0 9px;color:#9aa8a7;font-size:10px}.audio-track span:first-child{font-weight:800;color:#6c9c8d}.scrub-row{height:29px;display:flex;align-items:center;padding:0 20px;gap:8px;border-top:1px solid #f1f3f2}.scrub-row input{width:100%;accent-color:#f27a59;height:3px}.scrub-row span{font-size:10px;color:#9da8a8;min-width:25px}.modal-backdrop{position:fixed;inset:0;background:#102035aa;display:grid;place-items:center;z-index:20;padding:20px}.modal-card{width:min(510px,100%);max-height:85vh;overflow:auto;background:#fff;border-radius:18px;padding:26px;box-shadow:0 28px 90px #08182755}.modal-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:15px}.modal-top h2{margin:0;font:800 22px Manrope}.close-button{border:0;background:#f1f4f2;border-radius:8px;width:30px;height:30px;color:#71828b;font-size:18px}.project-card{border:1px solid #e2e9e5;border-radius:10px;padding:13px;display:flex;align-items:center;gap:10px;margin:7px 0}.project-card strong{font-size:13px}.project-card small{display:block;color:#94a2a4;font-size:10px;margin-top:3px}.project-card button{margin-left:auto}.modal-foot{display:flex;justify-content:flex-end;gap:7px;margin-top:18px}.toast{position:fixed;right:22px;bottom:255px;background:#1c3744;color:white;padding:11px 16px;border-radius:9px;font-size:12px;box-shadow:0 10px 25px #0d273322;z-index:30}.export-progress{height:7px;background:#e8efeb;border-radius:10px;overflow:hidden;margin:17px 0}.export-progress>div{height:100%;background:#f27a59;width:0}.help-list{font-size:12px;color:#62727d;line-height:1.7;padding-left:18px}@media(max-width:1150px){.inspector{width:245px}.brand{width:175px}.topbar{gap:10px}.project-heading input{width:170px}.timeline-actions .ghost{display:none}}@media(max-width:900px){.leftbar{width:68px}.tool{width:55px}.inspector{width:210px;padding:18px 12px}.top-actions .ghost{display:none}.timeline-title{width:130px}.scene-strip{width:145px}}
.sheet-title{font:800 12px Manrope,sans-serif;color:#405366;margin:15px 0 8px}.sheet-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}.sheet-item{border:1px solid #e3e9e6;border-radius:10px;background:#fff;padding:6px;color:#405366;font-size:11px;font-weight:700;text-align:center;overflow:hidden}.sheet-item:hover{border-color:#f27a59;background:#fff8f5}.sheet-thumb{display:block;width:100%;aspect-ratio:3/2;background-size:200% 200%;background-repeat:no-repeat;background-color:#fff;border-radius:5px;margin-bottom:5px}.camera-preview{width:100%;background:#edf4f2;color:#285d55;border-color:#cde3db}.camera-help{margin:9px 0 0;font-size:11px}
.sheet-section[hidden],.sheet-item[hidden]{display:none}
.stop-button{font-size:13px;color:#1b3a4b}.stop-button:disabled{color:#8796a0}
.lib-tabs{margin:0 0 12px}.lib-count{font-size:11px;color:#8996a0;margin:-6px 0 10px}.lib-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin:0 0 12px}.lib-grid.icons{grid-template-columns:repeat(4,minmax(0,1fr))}.lib-grid>.lib-count,.lib-more{grid-column:1/-1}.lib-item{border:1px solid #e3e9e6;border-radius:9px;background:#fff;padding:5px;color:#405366;font-size:10px;font-weight:700;text-align:center;min-width:0;cursor:pointer}.lib-item:hover{border-color:#f27a59;background:#fff8f5}.lib-thumb{display:grid;place-items:center;aspect-ratio:1;margin-bottom:3px;color:#20495a}.lib-thumb img,.lib-thumb svg{width:80%;height:80%;object-fit:contain}.lib-thumb .sheet-thumb{width:100%;height:100%;aspect-ratio:auto;margin:0}.lib-name{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.lib-grid.icons .lib-name{display:none}.lib-grid.icons .lib-item{padding:4px}
.item-strip{display:block;position:relative;overflow-x:auto;overflow-y:hidden;min-height:96px;padding:0 0 4px;gap:0}.strip-inner{position:relative;height:90px;min-width:100%}.time-ruler{position:absolute;left:0;right:0;top:0;height:18px;border-bottom:1px solid #edf0ee;cursor:ew-resize}.time-ruler .tick{position:absolute;top:0;height:18px;border-left:1px solid #dfe5e2;font-size:9px;color:#9aa6ab;padding-left:3px;line-height:17px;pointer-events:none}.item-row{position:absolute;left:0;right:0;top:24px;height:62px}
.item-tile{position:absolute;top:0;width:auto;min-width:0;height:62px;padding:0;display:flex;overflow:visible;cursor:grab;touch-action:none;user-select:none;-webkit-user-select:none}.item-tile:active{cursor:grabbing}.tile-body{position:relative;flex:none;height:100%;padding:6px 8px;display:flex;flex-direction:column;justify-content:space-between;min-width:0}.tile-top{display:flex;align-items:flex-start;justify-content:space-between;gap:4px}.item-tile .thumb{width:28px;height:26px;display:grid;place-items:center;font-size:14px;overflow:hidden}.item-tile .thumb img,.item-tile .thumb svg{max-width:100%;max-height:100%;object-fit:contain}.thumb-text{font-size:17px;font-weight:700;line-height:1;white-space:nowrap}.item-tile .item-duration{position:static}.item-tile .item-name{max-width:100%}
.tile-pause{position:relative;flex:none;height:100%;border-left:1px dashed #d5ddd9;border-radius:0 8px 8px 0;background:repeating-linear-gradient(135deg,#eef2f0 0 5px,#f8faf9 5px 10px)}.tile-pause.empty{background:none;border-left:0}.tile-handle{position:absolute;right:-4px;top:9px;bottom:9px;width:8px;border-radius:4px;cursor:ew-resize;z-index:2}.tile-handle:hover,.resizing-timeline .tile-handle:active{background:#f27a5966}.item-tile.selected .tile-body>.tile-handle{background:#f27a5933}.resizing-timeline,.resizing-timeline *{cursor:ew-resize!important}
.sorting .item-tile:not(.lifted),.sorting .scene-tile:not(.lifted){transition:transform .16s ease}.item-tile.lifted,.scene-tile.lifted{z-index:6;box-shadow:0 10px 22px #1b3a4b33;cursor:grabbing;transition:none}.scene-tile{position:relative;cursor:grab;touch-action:none;user-select:none;-webkit-user-select:none}.scene-tile .scene-name{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.scene-tile .scene-length{font-size:9px;color:#a0abb0;font-weight:400}.scene-tile.drop-target{border-color:#f27a59;background:#fff5f1;color:#c45a3d}
.playhead{position:absolute;top:0;bottom:0;width:2px;margin-left:-1px;background:#f27a59;pointer-events:none;z-index:5}.playhead::before{content:'';position:absolute;top:0;left:-4px;border:5px solid transparent;border-top-color:#f27a59}

.timeline-area{height:354px;position:relative}.timeline-grip{position:absolute;left:0;right:0;top:-4px;height:8px;cursor:ns-resize;z-index:8}.timeline-grip:hover{background:linear-gradient(#0000 3px,#f27a5966 3px 5px,#0000 5px)}.resizing-panel,.resizing-panel *{cursor:ns-resize!important;user-select:none}
.audio-editor{margin-top:6px;border:1px solid #e3ebe7;border-radius:9px;background:#fbfdfc;min-width:0}.audio-head{display:flex;align-items:center;gap:6px;padding:5px 8px;border-bottom:1px solid #edf2ef}.audio-title{font:800 10px Manrope;letter-spacing:.7px;color:#6c9c8d;margin-right:4px}.audio-hint{font-size:10px;color:#a5b0b5;margin-left:6px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.audio-zoom{margin-left:auto;display:flex;gap:4px}
.mini-chip{border:1px solid #dde6e3;background:#fff;color:#426b62;border-radius:7px;padding:3px 8px;font-size:10px;font-weight:700;white-space:nowrap}.mini-chip:hover{border-color:#f27a59}.mini-chip.recording{background:#fdecea;border-color:#e86a5a;color:#c0392b}
.audio-scroll{overflow-x:auto;overflow-y:hidden}.audio-inner{position:relative;min-width:100%}.audio-ruler{position:relative;height:18px;border-bottom:1px solid #edf0ee;cursor:ew-resize}.audio-ruler .tick{position:absolute;top:0;height:18px;border-left:1px solid #dfe5e2;font-size:9px;color:#9aa6ab;padding-left:3px;line-height:17px;pointer-events:none}.audio-ruler .scene-mark{position:absolute;bottom:-1px;height:8px;border-left:2px solid #64a99a;font-size:8px;color:#64a99a;padding-left:2px;line-height:8px;white-space:nowrap;pointer-events:none;font-weight:700}
.audio-lane{position:relative;height:34px;border-bottom:1px dashed #edf2ef}.audio-lane:last-of-type{border-bottom:0}
.audio-clip{position:absolute;top:3px;height:28px;border-radius:6px;background:#dceff3;border:1px solid #9ccbd5;overflow:hidden;cursor:grab;touch-action:none;user-select:none}.audio-clip.lane-1{background:#f6e7dc;border-color:#e3b896}.audio-clip.selected{border-color:#f27a59;box-shadow:0 0 0 2px #f27a5944}.audio-clip:active{cursor:grabbing}
.audio-clip .wave{position:absolute;inset:0;width:100%;height:100%}.audio-clip .wave path{stroke:#4f96a6;stroke-width:1.2;fill:none;vector-effect:non-scaling-stroke}.audio-clip.lane-1 .wave path{stroke:#c47d4f}.clip-name{position:absolute;left:6px;top:2px;font-size:9px;font-weight:700;color:#2d4a55;white-space:nowrap;pointer-events:none;text-shadow:0 0 3px #fff,0 0 3px #fff}
.clip-fade{position:absolute;top:0;bottom:0;pointer-events:none}.clip-fade.in{left:0;background:linear-gradient(to bottom right,#ffffffcc 50%,#0000 50%)}.clip-fade.out{right:0;background:linear-gradient(to bottom left,#ffffffcc 50%,#0000 50%)}.clip-edge{position:absolute;top:0;bottom:0;width:7px;cursor:ew-resize;z-index:2}.clip-edge.left{left:0}.clip-edge.right{right:0}.clip-edge:hover{background:#f27a5955}
.video-end{position:absolute;top:18px;bottom:0;border-left:2px dashed #c9d3d0;pointer-events:none}.audio-inner .playhead{top:0}
.audio-list-item{display:grid;grid-template-columns:auto 1fr;gap:2px 8px;width:100%;text-align:left;border:1px solid #e3e9e6;border-radius:9px;background:#fff;padding:8px 10px;margin:0 0 6px;font-size:11px;color:#405366}.audio-list-item span{font-size:9px;font-weight:800;color:#9aa8a7;grid-row:span 2;align-self:center}.audio-list-item small{color:#8a979e}.audio-list-item:hover{border-color:#f27a59}
.audio-head{padding:3px 8px}.audio-body{display:flex;min-width:0}.audio-labels{flex:none;width:68px;border-right:1px solid #edf2ef}.ruler-spacer{display:block;height:24px;border-bottom:1px solid #edf0ee}.lane-label{display:flex;align-items:center;height:30px;padding-left:8px;font-size:9px;font-weight:800;color:#9aa8a7;border-bottom:1px dashed #edf2ef}.lane-label:last-child{border-bottom:0}.audio-scroll{flex:1;min-width:0}
.audio-ruler{height:24px}.audio-ruler .tick{height:13px;line-height:12px}.audio-ruler .scene-mark{bottom:0;height:10px;line-height:10px}.audio-lane{height:30px}.audio-clip{top:3px;height:24px}.video-end{top:24px}
.check-row{display:flex;align-items:center;gap:8px;font-size:11px;color:#677883;font-weight:700;margin:0 0 12px}.narrate-button{width:100%;margin:0 0 8px}#narrationStatus{min-height:14px;margin:0 0 10px}
.tone-row{display:flex;align-items:center;gap:6px;margin:-4px 0 12px;font-size:10px;font-weight:700;color:#8a979e}.tone-row span{margin-right:auto}.tone{width:20px;height:20px;border-radius:50%;border:2px solid #fff;box-shadow:0 0 0 1px #dce3e1;cursor:pointer;padding:0}.tone.active{box-shadow:0 0 0 2px #f27a59}.character-preview{display:grid;place-items:center;aspect-ratio:1;border:1px solid #e3e9e6;border-radius:12px;background:#fff;margin:0 0 12px}.character-preview svg{width:88%;height:88%}.lib-item.wide{grid-column:span 3}.lib-item.wide .lib-thumb{aspect-ratio:16/9}
.narrate-row{display:flex;gap:6px;margin:0 0 8px}.narrate-row .panel-action{flex:1}
.font-picker{max-height:300px;overflow:auto;border:1px solid #e3e9e6;border-radius:10px;padding:4px 6px 6px;background:#fbfdfc}.font-group{position:sticky;top:-4px;z-index:1;background:#fbfdfc;font:800 9px Manrope;letter-spacing:.8px;text-transform:uppercase;color:#8a979e;padding:8px 2px 4px}.font-tile{display:block;width:100%;text-align:left;border:1px solid #e3e9e6;border-radius:8px;background:#fff;padding:6px 9px;margin:0 0 5px;color:#203146;cursor:pointer}.font-tile:hover{border-color:#f27a59}.font-tile.active{border-color:#f27a59;background:#fff5f1;box-shadow:0 0 0 1px #f27a59}.font-face{display:block;font-size:22px;line-height:1.25;height:30px;white-space:nowrap;overflow:hidden}.font-face svg{height:28px;width:100%;color:#203146}.font-name{display:flex;justify-content:space-between;gap:6px;font-size:10px;font-weight:700;color:#536273}.font-name small{font-weight:400;color:#8a979e;text-align:right}
.edit-tools{display:flex;align-items:center;gap:4px;margin-left:14px;flex-wrap:nowrap;overflow:hidden}.tool-chip{border:1px solid #dde6e3;background:#fff;color:#426b62;border-radius:7px;padding:4px 8px;font-size:11px;font-weight:700;white-space:nowrap;cursor:pointer}.tool-chip:hover:not(:disabled){border-color:#f27a59}.tool-chip.active{background:#fff5f1;border-color:#f27a59;color:#c45a3d}.tool-chip:disabled{opacity:.4}.tool-sep{width:1px;height:18px;background:#e3e9e6;margin:0 3px}
.audio-editor.razor .audio-clip{cursor:crosshair}.clip-menu{position:fixed;z-index:50;background:#fff;border:1px solid #dde6e3;border-radius:9px;box-shadow:0 10px 24px #1b3a4b33;padding:4px;min-width:170px}.clip-menu button{display:block;width:100%;text-align:left;border:0;background:none;padding:7px 10px;border-radius:6px;font-size:12px;color:#203146;cursor:pointer}.clip-menu button:hover:not(:disabled){background:#fff5f1}.clip-menu button:disabled{color:#b6c0c5}
@media(max-width:1100px){.tool-sep{display:none}.tool-chip{padding:3px 6px}.edit-tools{margin-left:8px;gap:3px}.timeline-title span{display:none}}
.snap-toggle{opacity:.45}.snap-toggle.active{opacity:1;border-color:#f27a59;background:#fff5f1}
.with-badge{color:#f27a59;font-weight:800}
.retime-button{width:100%;margin:-4px 0 12px}
.icon-row{display:flex;flex-wrap:wrap;gap:4px}.icon-action{padding:6px 8px;min-width:30px;font-size:12px}
.backup-status{border:0;background:none;font-size:10px;font-weight:700;padding:2px 6px;border-radius:6px;cursor:pointer;margin-left:6px}.backup-status.ok{color:#4f8f7d}.backup-status.warn{color:#c45a3d;background:#fff1ec}.backup-card{display:flex;flex-direction:column;gap:6px;border:1px solid #f2c9bb;background:#fff7f3;border-radius:11px;padding:12px;margin:0 0 12px;font-size:11px;color:#536273}.backup-card.ok{border-color:#cfe5dc;background:#f2faf6}.backup-card strong{font-size:12px;color:#203146}.backup-card .button{align-self:flex-start}.backup-actions{display:flex;flex-wrap:wrap;gap:6px}
.save-row{display:flex;align-items:center;gap:2px}
.scene-tile .scene-del{display:grid;place-items:center;width:18px;height:18px;border-radius:5px;color:#a0abb0;font-size:14px;line-height:1;opacity:0;transition:opacity .12s}.scene-tile:hover .scene-del,.scene-tile.active .scene-del{opacity:1}.scene-tile .scene-del:hover{background:#fbe4df;color:#cf6d63}.scene-tile:hover .scene-length{display:none}
.swatch-row{display:flex;flex-wrap:wrap;gap:6px;align-items:center}.swatch{width:22px;height:22px;border-radius:50%;border:2px solid #fff;box-shadow:0 0 0 1px #d3dcd9;padding:0}.swatch.active{box-shadow:0 0 0 2px #f27a59}.swatch-row input[type=color]{width:34px;height:26px;padding:1px;border:1px solid #dce3e1;border-radius:7px;background:#fff;cursor:pointer}

.lib-upload{width:100%;margin:0 0 12px}.lib-item{position:relative}.lib-item .mine-del{position:absolute;top:3px;right:3px;width:18px;height:18px;border-radius:50%;background:#fff;color:#a0abb0;font-size:13px;line-height:18px;text-align:center;box-shadow:0 1px 3px #0002;opacity:0;transition:opacity .12s}.lib-item:hover .mine-del{opacity:1}.lib-item .mine-del:hover{color:#cf6d63}
.mine-shared a{color:#2b7160;font-weight:700}
.direction-picker button{font-size:14px;padding:6px 3px}.direction-picker button:first-child{font-size:11px;flex:1.8}
