:root{font-family:Inter,system-ui,Avenir,Helvetica,Arial,sans-serif;line-height:1.5;font-weight:400;color-scheme:light dark;color:#ffffffde;background-color:#242424;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;-webkit-text-size-adjust:100%}#root{width:100%;min-height:100vh}body{margin:0;padding:0;min-height:100vh}.sidebar{width:280px;background:#2d2d2d;border-right:1px solid #404040;display:flex;flex-direction:column;overflow-y:auto;flex-shrink:0}.sidebar-section{border-bottom:1px solid #404040;padding:16px}.sidebar-section:last-child{border-bottom:none;flex:1}.sidebar-title{color:#fff;font-size:.9rem;font-weight:600;margin-bottom:12px;text-transform:uppercase;letter-spacing:.5px}.file-upload-area{margin-bottom:16px}.file-input{display:none}.upload-label{display:flex;flex-direction:column;align-items:center;padding:16px;border:2px dashed #555555;border-radius:8px;cursor:pointer;transition:all .2s ease;background:#333}.upload-label:hover{border-color:#06c;background:#3a3a3a}.file-upload-area.drag-over .upload-label{border-color:#0c6;background:#2a4a2a;transform:scale(1.02)}.file-upload-area.drag-over .upload-label span{color:#0c6;font-weight:600}.upload-icon{font-size:2rem;margin-bottom:8px}.upload-label span{color:#b0b0b0;font-size:.9rem;font-weight:500}.file-info{margin-top:12px;padding:12px;background:#333;border-radius:6px}.file-name{color:#fff;font-size:.85rem;font-weight:500;margin-bottom:4px;word-break:break-all}.file-size{color:#888;font-size:.75rem}.media-library{display:flex;flex-direction:column}.library-tabs{display:none;margin-bottom:12px;background:#404040;border-radius:6px;padding:2px}.library-tab{flex:1;background:transparent;border:none;color:#b0b0b0;padding:6px 8px;border-radius:4px;cursor:pointer;font-size:.8rem;transition:all .2s ease}.library-tab:hover{background:#505050;color:#fff}.library-tab.active{background:#06c;color:#fff}.library-content{flex:1;overflow-y:auto}.media-item{display:flex;align-items:center;padding:8px;border-radius:4px;cursor:pointer;transition:background .2s ease}.media-item:hover{background:#3a3a3a}.media-thumbnail{width:40px;height:30px;background:#404040;border-radius:4px;display:flex;align-items:center;justify-content:center;font-size:1.2rem;margin-right:12px;flex-shrink:0}.media-info{flex:1;min-width:0}.media-name{color:#fff;font-size:.8rem;font-weight:500;margin-bottom:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.media-details{color:#888;font-size:.7rem}.empty-library{display:flex;flex-direction:column;align-items:center;justify-content:center;height:120px;color:#666}.empty-icon{font-size:2rem;margin-bottom:8px}.empty-library p{font-size:.8rem}.effects-panel{max-height:300px;overflow-y:auto}.effect-category{margin-bottom:16px}.category-title{color:#ccc;font-size:.8rem;font-weight:500;margin-bottom:8px}.effects-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:6px}.effect-item{background:#404040;border:1px solid #555555;border-radius:4px;padding:8px 6px;text-align:center;font-size:.75rem;color:#b0b0b0;cursor:pointer;transition:all .2s ease}.effect-item:hover{background:#505050;border-color:#06c;color:#fff}.properties-panel{display:flex;flex-direction:column;gap:16px}.property-group{display:flex;flex-direction:column;gap:6px}.property-label{color:#ccc;font-size:.8rem;font-weight:500}.property-slider{width:100%;height:4px;background:#404040;border-radius:2px;appearance:none;cursor:pointer;outline:none}.property-slider::-webkit-slider-thumb{appearance:none;width:14px;height:14px;background:#06c;border-radius:50%;cursor:pointer;transition:all .2s ease}.property-slider::-webkit-slider-thumb:hover{transform:scale(1.2);background:#0080ff}.property-slider::-moz-range-thumb{width:14px;height:14px;background:#06c;border-radius:50%;cursor:pointer;border:none;transition:all .2s ease}.property-slider::-moz-range-thumb:hover{transform:scale(1.2);background:#0080ff}.sidebar::-webkit-scrollbar,.library-content::-webkit-scrollbar,.effects-panel::-webkit-scrollbar{width:6px}.sidebar::-webkit-scrollbar-track,.library-content::-webkit-scrollbar-track,.effects-panel::-webkit-scrollbar-track{background:#2d2d2d}.sidebar::-webkit-scrollbar-thumb,.library-content::-webkit-scrollbar-thumb,.effects-panel::-webkit-scrollbar-thumb{background:#555;border-radius:3px}.sidebar::-webkit-scrollbar-thumb:hover,.library-content::-webkit-scrollbar-thumb:hover,.effects-panel::-webkit-scrollbar-thumb:hover{background:#666}@media (max-width: 1024px){.sidebar{width:250px}}.section-title{color:#ccc;font-size:.8rem;font-weight:600;margin-bottom:12px;text-transform:uppercase;letter-spacing:.5px}.video-info{display:flex;flex-direction:column;gap:6px}.info-row{display:flex;justify-content:space-between;align-items:center;padding:6px 10px;background:#333;border-radius:4px;font-size:.8rem}.info-label{color:#b0b0b0;font-weight:500}.info-value{color:#fff;font-weight:400;text-align:right;word-break:break-all;max-width:60%}.transform-controls{display:flex;flex-direction:column;gap:10px}.control-group label{color:#b0b0b0;font-size:.75rem;font-weight:500}.control-group input{background:#404040;border:1px solid #555555;border-radius:4px;padding:6px 8px;color:#fff;font-size:.8rem;outline:none;transition:border-color .2s ease}.sidebar-section:last-child{border-bottom:none}@media (max-width: 768px){.sidebar{display:none}}.export-info-panel{background:#2a2a2a;border-radius:8px;padding:16px;margin-bottom:16px}.export-info-panel.sidebar-mode{margin-bottom:0;border-radius:0;background:transparent;padding:0}.section-icon{color:#06c;font-size:.8rem}.ffmpeg-command{background:#1a1a1a;border:1px solid #404040;border-radius:4px;padding:12px;margin-bottom:12px;position:relative}.command-text{color:#e0e0e0;font-family:SF Mono,Monaco,Inconsolata,Fira Code,Droid Sans Mono,monospace;font-size:.75rem;line-height:1.4;word-break:break-all;white-space:pre-wrap;margin-right:40px}.copy-btn{position:absolute;top:8px;right:8px;background:#404040;border:none;border-radius:4px;color:#e0e0e0;padding:6px;cursor:pointer;transition:all .2s ease;font-size:.7rem}.copy-btn:hover{background:#06c;color:#fff}.console-section{margin-bottom:12px}.console-toggle{display:flex;align-items:center;gap:8px;background:#404040;border:none;border-radius:4px;color:#e0e0e0;padding:8px 12px;cursor:pointer;transition:all .2s ease;font-size:.8rem;width:100%;justify-content:space-between}.console-toggle:hover{background:#555;color:#fff}.console-content{margin-top:8px;background:#1a1a1a;border:1px solid #404040;border-radius:4px;overflow:hidden}.console-logs{background:#1a1a1a;color:#e0e0e0;font-family:SF Mono,Monaco,Inconsolata,Fira Code,Droid Sans Mono,monospace;font-size:.7rem;line-height:1.3;padding:12px;max-height:200px;overflow-y:auto;white-space:pre-wrap;word-break:break-word}.console-logs::-webkit-scrollbar{width:6px}.console-logs::-webkit-scrollbar-track{background:#1a1a1a}.console-logs::-webkit-scrollbar-thumb{background:#555;border-radius:3px}.console-logs::-webkit-scrollbar-thumb:hover{background:#666}.clear-btn{display:flex;align-items:center;gap:6px;background:#dc3545;border:none;border-radius:0 0 4px 4px;color:#fff;padding:8px 12px;cursor:pointer;transition:all .2s ease;font-size:.7rem;width:100%;justify-content:center}.clear-btn:hover{background:#c82333}.export-actions{display:flex;gap:8px}.export-btn{display:flex;align-items:center;gap:8px;background:#06c;border:none;border-radius:4px;color:#fff;padding:10px 16px;cursor:pointer;transition:all .2s ease;font-size:.8rem;font-weight:600;flex:1;justify-content:center}.export-btn:hover:not(:disabled){background:#0056b3}.export-btn:disabled{background:#555;cursor:not-allowed;opacity:.6}.export-info-panel.sidebar-mode .command-text{font-size:.7rem;line-height:1.3}.export-info-panel.sidebar-mode .console-logs{font-size:.65rem;max-height:150px}.export-info-panel.sidebar-mode .export-btn{padding:8px 12px;font-size:.75rem}.preview-overlay{position:absolute;top:0;left:0;width:100%;height:100%;pointer-events:none;z-index:10}.crop-area{position:absolute;border:2px solid #0066cc;border-radius:4px}.crop-area-content{position:relative;width:100%;height:100%;display:flex;align-items:flex-start;justify-content:flex-start;padding:8px}.crop-info{background:#0066cce6;color:#fff;padding:4px 8px;border-radius:4px;font-size:.75rem;font-weight:600;display:flex;flex-direction:column;gap:2px;box-shadow:0 2px 8px #0000004d}.crop-label{line-height:1}.crop-size{line-height:1;opacity:.9}.output-overlay{position:absolute;border:2px solid #00e676;border-radius:4px;box-shadow:0 0 0 1px #00e6764d}.overlay-border{position:absolute;background:#00e676;opacity:.8}.overlay-border-top{top:-2px;left:0;right:0;height:2px}.overlay-border-right{top:0;right:-2px;bottom:0;width:2px}.overlay-border-bottom{bottom:-2px;left:0;right:0;height:2px}.overlay-border-left{top:0;left:-2px;bottom:0;width:2px}.overlay-corner{position:absolute;width:12px;height:12px;border:2px solid #00e676;background:#00e67633}.overlay-corner-tl{top:-6px;left:-6px;border-right:none;border-bottom:none;border-radius:4px 0 0}.overlay-corner-tr{top:-6px;right:-6px;border-left:none;border-bottom:none;border-radius:0 4px 0 0}.overlay-corner-bl{bottom:-6px;left:-6px;border-right:none;border-top:none;border-radius:0 0 0 4px}.overlay-corner-br{bottom:-6px;right:-6px;border-left:none;border-top:none;border-radius:0 0 4px}.darkened-area{display:none!important;position:absolute;top:0;left:0;width:100%;height:100%;display:flex;flex-direction:column}.darkened-top,.darkened-bottom{background:#0006;width:100%}.darkened-middle{display:flex;flex:1}.darkened-left,.darkened-right{background:#0006}.crop-area,.output-overlay,.overlay-corner{transition:all .3s ease}.preview-overlay:hover .crop-area{background:#0066cc26;border-color:#0080ff;box-shadow:0 0 0 1px #0080ff66}.preview-overlay:hover .output-overlay{border-color:#4caf50;box-shadow:0 0 0 1px #4caf5066}.preview-overlay:hover .overlay-corner{border-color:#4caf50;background:#4caf504d}@media (max-width: 768px){.crop-info{font-size:.7rem;padding:3px 6px}.overlay-corner{width:10px;height:10px}.overlay-corner-tl,.overlay-corner-tr,.overlay-corner-bl,.overlay-corner-br{inset:-5px}}.video-preview-section{flex:1;display:flex;flex-direction:column;background:#2d2d2d;padding:20px;position:relative}.zoom-controls{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px;padding:8px 12px;background:#404040;border-radius:6px;border:1px solid #555555;z-index:1}.zoom-buttons{display:flex;gap:4px}.zoom-btn{background:#555;border:1px solid #666666;border-radius:4px;width:32px;height:32px;color:#e0e0e0;cursor:pointer;font-size:.8rem;transition:all .2s ease;display:flex;align-items:center;justify-content:center}.zoom-btn:hover:not(:disabled){background:#666;border-color:#06c;color:#fff}.zoom-btn:disabled{background:#333;border-color:#444;color:#666;cursor:not-allowed}.zoom-btn.fit-btn{width:auto;padding:0 8px;font-size:1rem}.zoom-dropdown-container{position:relative}.zoom-dropdown-btn{background:#555;border:1px solid #666666;border-radius:4px;padding:6px 12px;color:#e0e0e0;cursor:pointer;font-size:.8rem;font-weight:500;transition:all .2s ease;min-width:70px;text-align:left}.zoom-dropdown-btn:hover{background:#666;border-color:#06c;color:#fff}.zoom-dropdown{position:absolute;top:100%;right:0;background:#404040;border:1px solid #666666;border-radius:4px;box-shadow:0 4px 12px #0000004d;z-index:1000;min-width:80px;margin-top:4px;max-height:200px;overflow-y:auto}.zoom-option{background:transparent;border:none;padding:8px 12px;color:#e0e0e0;cursor:pointer;font-size:.8rem;width:100%;text-align:left;transition:background .2s ease}.zoom-option:hover{background:#555;color:#fff}.zoom-option.active{background:#06c;color:#fff}.zoom-dropdown::-webkit-scrollbar{width:6px}.zoom-dropdown::-webkit-scrollbar-track{background:#404040}.zoom-dropdown::-webkit-scrollbar-thumb{background:#666;border-radius:3px}.zoom-dropdown::-webkit-scrollbar-thumb:hover{background:#777}.video-container{flex:1;display:flex;align-items:center;justify-content:center;border-radius:8px;overflow:auto;border:2px solid #404040;min-height:300px;position:relative;background-color:#1a1a1a;opacity:.8;background-image:linear-gradient(#272727 2px,transparent 2px),linear-gradient(90deg,#272727 2px,transparent 2px),linear-gradient(#272727 1px,transparent 1px),linear-gradient(90deg,#272727 1px,#1a1a1a 1px);background-size:50px 50px,50px 50px,10px 10px,10px 10px;background-position:-2px -2px,-2px -2px,-1px -1px,-1px -1px;-webkit-user-select:none;user-select:none;transition:transform .1s ease-out}.video-container:active{transition:none}.video-container::-webkit-scrollbar{width:12px;height:12px}.video-container::-webkit-scrollbar-track{background:#1a1a1a;border-radius:4px}.video-container::-webkit-scrollbar-thumb{background:#555;border-radius:4px;border:2px solid #1a1a1a}.video-container::-webkit-scrollbar-thumb:hover{background:#666}.video-container::-webkit-scrollbar-corner{background:#1a1a1a}.video-container{scrollbar-width:thin;scrollbar-color:#555555 #1a1a1a}.video-wrapper{display:flex;align-items:center;justify-content:center;transition:transform .3s ease}.video-player{max-width:100%;max-height:100%;width:auto;height:auto;display:block;border-radius:6px}.video-placeholder{display:flex;align-items:center;justify-content:center;width:100%;height:100%;color:#666;background:linear-gradient(45deg,#1a1a1a,#2d2d2d)}.placeholder-content{text-align:center;padding:40px 20px}.placeholder-icon{font-size:4rem;display:block;margin-bottom:20px;opacity:.6}.placeholder-content p{font-size:1.1rem;font-weight:400;color:#888;margin:0}.video-overlay{position:absolute;inset:0;background:#0000004d;display:flex;align-items:center;justify-content:center;opacity:0;transition:opacity .3s ease;pointer-events:none}.video-container:hover .video-overlay{opacity:1}.play-overlay-btn{background:#000000b3;border:2px solid #ffffff;border-radius:50%;width:80px;height:80px;color:#fff;font-size:2rem;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:all .3s ease;pointer-events:all}.play-overlay-btn:hover{background:#06cc;border-color:#06c;transform:scale(1.1)}@keyframes fadeIn{0%{opacity:0;transform:scale(.95)}to{opacity:1;transform:scale(1)}}.video-container.loaded{animation:fadeIn .5s ease}@media (max-width: 1024px){.video-preview-section{padding:16px}.video-container{min-height:250px}.zoom-controls{padding:6px 10px}.zoom-btn{width:28px;height:28px;font-size:.7rem}.zoom-dropdown-btn{padding:5px 10px;font-size:.75rem;min-width:65px}}@media (max-width: 768px){.video-preview-section{padding:12px}.video-container{min-height:200px;border-width:1px}.zoom-controls{flex-direction:column;gap:8px;align-items:stretch}.zoom-buttons{justify-content:center}.zoom-dropdown-container{align-self:center}.placeholder-icon{font-size:3rem}.placeholder-content p{font-size:1rem}.play-overlay-btn{width:60px;height:60px;font-size:1.5rem}}.controls{display:flex;align-items:center;gap:12px;padding:0;background:transparent}.control-btn{background:#404040;border:1px solid #555555;border-radius:6px;width:36px;height:36px;color:#e0e0e0;cursor:pointer;font-size:1rem;transition:all .2s ease;display:flex;align-items:center;justify-content:center}.control-btn:hover:not(:disabled){background:#505050;border-color:#06c;color:#fff}.control-btn:active:not(:disabled){background:#06c;border-color:#06c;color:#fff}.control-btn:disabled{background:#333;border-color:#444;color:#666;cursor:not-allowed}.play-icon,.stop-icon,.loop-icon{display:flex;align-items:center;justify-content:center;font-size:.9rem}.control-btn.loop-btn.active{background:#06c;border-color:#0080ff;color:#fff}.control-btn.loop-btn.active:hover:not(:disabled){background:#0080ff;border-color:#0af;transform:translateY(-1px)}.loop-icon{transition:transform .3s ease}.control-btn.loop-btn.active .loop-icon{animation:loop-pulse 2s infinite}@keyframes loop-pulse{0%,to{transform:scale(1);opacity:1}50%{transform:scale(1.1);opacity:.8}}.time-display{font-family:SF Mono,Monaco,Inconsolata,Fira Code,Droid Sans Mono,monospace;font-size:.9rem;color:#b0b0b0;margin-left:16px;white-space:nowrap;background:#333;padding:6px 10px;border-radius:4px;border:1px solid #444444;font-weight:500}.volume-control{display:flex;align-items:center;gap:8px;margin-left:16px}.volume-icon{font-size:1rem;color:#b0b0b0;min-width:18px;display:flex;align-items:center;justify-content:center}.volume-slider{width:80px;height:4px;background:#404040;border-radius:2px;appearance:none;cursor:pointer;outline:none;border:none}.volume-slider::-webkit-slider-track{background:#404040;border-radius:2px;height:4px}.volume-slider::-webkit-slider-thumb{appearance:none;width:12px;height:12px;background:#06c;border-radius:50%;cursor:pointer;transition:all .2s ease;border:none}.volume-slider::-webkit-slider-thumb:hover{transform:scale(1.2);background:#0080ff}.volume-slider::-moz-range-track{background:#404040;border-radius:2px;height:4px;border:none}.volume-slider::-moz-range-thumb{width:12px;height:12px;background:#06c;border-radius:50%;cursor:pointer;border:none;transition:all .2s ease}.volume-slider::-moz-range-thumb:hover{transform:scale(1.2);background:#0080ff}.controls-group{display:flex;align-items:center;gap:8px}.controls-separator{width:1px;height:24px;background:#555;margin:0 8px}@media (max-width: 768px){.controls{flex-wrap:wrap;gap:8px}.control-btn{width:32px;height:32px;font-size:.9rem}.time-display{font-size:.8rem;padding:4px 8px;margin-left:8px}.volume-control{margin-left:8px}.volume-slider{width:60px}}.timeline-container{flex:1;display:flex;flex-direction:column;gap:12px}.timeline-ruler{display:none;height:20px;background:#333;border:1px solid #444444;border-radius:4px;position:relative;margin-bottom:8px;overflow:hidden}.timeline-ruler-marks{display:none;position:absolute;inset:0;background-image:repeating-linear-gradient(to right,#555555 0px,#555555 1px,transparent 1px,transparent 10px)}.timeline-ruler-time{position:absolute;top:2px;left:8px;font-size:.7rem;color:#b0b0b0;font-family:SF Mono,Monaco,Inconsolata,Fira Code,Droid Sans Mono,monospace}.timeline-tracks{display:none;flex:1;flex-direction:column;gap:2px;min-height:80px}.timeline-track{height:40px;background:#404040;border:1px solid #555555;border-radius:4px;position:relative;overflow:hidden}.timeline-track.video-track{background:linear-gradient(135deg,#404040,#4a4a4a)}.timeline-track.audio-track{background:linear-gradient(135deg,#2d4a2d,#3d5a3d);height:30px}.timeline-track-label{position:absolute;left:8px;top:50%;transform:translateY(-50%);font-size:.8rem;color:#b0b0b0;font-weight:500;pointer-events:none}.timeline{position:relative;height:6px;background:#555;border-radius:3px;margin:8px 0;overflow:visible}.timeline-slider{position:absolute;top:-7px;left:0;width:100%;height:20px;background:transparent;cursor:pointer;appearance:none;z-index:3;outline:none}.timeline-slider::-webkit-slider-thumb{appearance:none;width:16px;height:16px;background:#06c;border:2px solid #ffffff;border-radius:50%;cursor:pointer;box-shadow:0 2px 8px #0000004d;transition:all .2s ease}.timeline-slider::-webkit-slider-thumb:hover{transform:scale(1.2);background:#0080ff;box-shadow:0 3px 12px #06c6}.timeline-slider:disabled::-webkit-slider-thumb{background:#666;border-color:#888;cursor:not-allowed;transform:none;box-shadow:none}.timeline-slider::-moz-range-thumb{width:16px;height:16px;background:#06c;border:2px solid #ffffff;border-radius:50%;cursor:pointer;box-shadow:0 2px 8px #0000004d;transition:all .2s ease}.timeline-slider::-moz-range-thumb:hover{transform:scale(1.2);background:#0080ff;box-shadow:0 3px 12px #06c6}.timeline-slider:disabled::-moz-range-thumb{background:#666;border-color:#888;cursor:not-allowed;transform:none;box-shadow:none}.timeline-track-bg{position:absolute;top:0;left:0;width:100%;height:100%;background:#555;border-radius:3px}.timeline-progress{position:absolute;top:0;left:0;height:100%;background:linear-gradient(90deg,#06c,#0080ff);border-radius:3px;transition:width .1s ease;pointer-events:none;z-index:1}.timeline-playhead{position:absolute;top:-10px;width:2px;height:calc(100% + 20px);background:#f44;z-index:2;pointer-events:none;transition:left .1s ease}.timeline-playhead:before{content:"";position:absolute;top:-4px;left:-4px;width:10px;height:8px;background:#f44;clip-path:polygon(50% 100%,0 0,100% 0)}.timeline-zoom{display:none;align-items:center;gap:8px;margin-top:8px}.zoom-btn{background:#404040;border:1px solid #555555;border-radius:4px;width:24px;height:24px;color:#b0b0b0;cursor:pointer;font-size:.8rem;transition:all .2s ease;display:flex;align-items:center;justify-content:center}.zoom-btn:hover{background:#505050;color:#fff}.zoom-level{font-size:.8rem;color:#888;margin:0 8px}@media (max-width: 768px){.timeline-tracks{min-height:60px}.timeline-track{height:30px}.timeline-track.audio-track{height:20px}.timeline-ruler{height:16px}.timeline-ruler-time{font-size:.6rem;top:1px;left:4px}}.timeline-trim-area{position:absolute;top:0;height:100%;background:#06c3;border:2px solid #0066cc;border-radius:2px;z-index:1;cursor:move;transition:all .2s ease}.timeline-trim-area:hover{background:#0066cc4d;border-color:#0080ff}.timeline-trim-area.dragging{background:#06c6;border-color:#0080ff;box-shadow:0 2px 8px #06c6}.timeline-trim-marker{position:absolute;top:-5px;height:calc(100% + 10px);width:16px;z-index:3;cursor:ew-resize;transform:translate(-50%);transition:all .2s ease}.timeline-trim-marker:hover{transform:translate(-50%) scale(1.1)}.timeline-trim-marker.dragging{transform:translate(-50%) scale(1.2);z-index:4}.trim-marker-line{width:2px;height:100%;background:#06c;margin:0 auto;box-shadow:0 0 4px #06cc}.trim-marker-handle{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:16px;height:24px;background:#06c;border:2px solid #ffffff;border-radius:4px;box-shadow:0 2px 8px #0000004d;transition:all .2s ease;display:flex;align-items:center;justify-content:center}.trim-handle-grip{width:2px;height:12px;background:#fff;border-radius:1px;position:relative}.trim-handle-grip:before,.trim-handle-grip:after{content:"";position:absolute;width:2px;height:12px;background:#fff;border-radius:1px;top:0}.trim-handle-grip:before{left:-4px}.trim-handle-grip:after{left:4px}.timeline-trim-marker.trim-start .trim-marker-handle{border-radius:4px 0 0 4px;background:#06c}.timeline-trim-marker.trim-end .trim-marker-handle{border-radius:0 4px 4px 0;background:#c60}.timeline-trim-marker.trim-start .trim-marker-line{background:linear-gradient(180deg,#06c,#049)}.timeline-trim-marker.trim-end .trim-marker-line{background:linear-gradient(180deg,#c60,#940)}.timeline-trim-marker:hover .trim-marker-handle{box-shadow:0 4px 12px #0006}.timeline-trim-marker.dragging .trim-marker-handle{box-shadow:0 6px 16px #00000080}.timeline-trim-marker.trim-start:hover .trim-marker-handle,.timeline-trim-marker.trim-start.dragging .trim-marker-handle{background:#0080ff}.timeline-trim-marker.trim-end:hover .trim-marker-handle,.timeline-trim-marker.trim-end.dragging .trim-marker-handle{background:#f80}.export-panel{flex:1;padding:16px;overflow-y:auto;background:#2d2d2d;color:#e0e0e0}.export-section{margin-bottom:24px}.format-options{display:flex;flex-direction:column;gap:8px}.format-btn{background:#404040;border:1px solid #555555;border-radius:6px;padding:12px 16px;color:#b0b0b0;cursor:pointer;font-size:.9rem;transition:all .2s ease;text-align:left;display:flex;align-items:center;gap:10px}.format-btn:hover{background:#505050;border-color:#06c;color:#fff}.format-btn.active{background:#06c;border-color:#06c;color:#fff}.format-icon,.export-icon{font-size:1rem;flex-shrink:0}.spinning{animation:spin 1s linear infinite}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.setting-group{margin-bottom:16px}.setting-label{display:flex;justify-content:space-between;align-items:center;color:#b0b0b0;font-size:.85rem;font-weight:500;margin-bottom:6px}.setting-value{color:#fff;font-weight:600;background:#404040;padding:2px 8px;border-radius:4px;min-width:40px;text-align:center}.setting-slider{width:100%;height:6px;background:#404040;border-radius:3px;appearance:none;cursor:pointer;outline:none;border:none}.setting-slider::-webkit-slider-track{background:#404040;border-radius:3px;height:6px}.setting-slider::-webkit-slider-thumb{appearance:none;width:16px;height:16px;background:#06c;border-radius:50%;cursor:pointer;transition:all .2s ease;border:none;box-shadow:0 2px 4px #0000004d}.setting-slider::-webkit-slider-thumb:hover{transform:scale(1.1);background:#0080ff;box-shadow:0 2px 8px #06c6}.setting-slider::-moz-range-track{background:#404040;border-radius:3px;height:6px;border:none}.setting-slider::-moz-range-thumb{width:16px;height:16px;background:#06c;border-radius:50%;cursor:pointer;border:none;transition:all .2s ease;box-shadow:0 2px 4px #0000004d}.setting-slider::-moz-range-thumb:hover{transform:scale(1.1);background:#0080ff;box-shadow:0 2px 8px #06c6}.toggle-options{display:flex;flex-direction:column;gap:12px}.toggle-group{display:flex;justify-content:space-between;align-items:center;padding:8px 0}.toggle-label{color:#b0b0b0;font-size:.85rem;font-weight:500}.toggle-switch{width:44px;height:24px;background:#555;border-radius:12px;position:relative;cursor:pointer;transition:all .3s ease}.toggle-switch.active{background:#f60}.toggle-slider{width:20px;height:20px;background:#fff;border-radius:50%;position:absolute;top:2px;left:2px;transition:all .3s ease;box-shadow:0 2px 4px #0003}.toggle-switch.active .toggle-slider{transform:translate(20px)}.file-info{display:flex;flex-direction:column;gap:8px}.info-value{color:#fff;font-size:.8rem;font-weight:400;text-align:right;word-break:break-all;max-width:60%;font-family:SF Mono,Monaco,Inconsolata,Fira Code,Droid Sans Mono,monospace}.info-divider{height:1px;background:#404040;margin:12px 0}.trim-info .info-label{color:#06c;font-weight:600}.trim-value{background:#404040;padding:2px 6px;border-radius:3px;border:1px solid #555555}.trim-duration{background:#06c;color:#fff;padding:2px 6px;border-radius:3px;border:1px solid #0080ff;font-weight:600}.progress-container{margin-bottom:12px}.progress-bar{width:100%;height:8px;background:#404040;border-radius:4px;overflow:hidden;margin-bottom:8px}.progress-fill{height:100%;background:linear-gradient(90deg,#06c,#0c6);border-radius:4px;transition:width .3s ease}.progress-text{text-align:center;color:#fff;font-size:.9rem;font-weight:600}.export-status{text-align:center;color:#b0b0b0;font-size:.8rem;margin-top:8px;padding:8px;background:#333;border-radius:4px;border-left:3px solid #0066cc}.ffmpeg-command{margin-top:12px;padding:12px;background:#1a1a1a;border-radius:4px;border:1px solid #404040}.command-text{color:#2d9dd1;font-family:SF Mono,Monaco,Inconsolata,Fira Code,Droid Sans Mono,monospace;font-size:.7rem;line-height:1.4;word-break:break-all}.ffmpeg-console-section{margin-top:12px;background:#1a1a1a;border-radius:4px;border:1px solid #404040;overflow:hidden}.console-header{display:flex;justify-content:space-between;align-items:center;padding:12px;background:#2d2d2d;border-bottom:1px solid #404040}.console-title{display:flex;align-items:center;gap:8px;color:#fff;font-weight:600;font-size:.9rem}.console-icon{color:#0f0;font-size:1rem}.console-controls{display:flex;gap:8px}.console-btn{background:#404040;border:none;color:#fff;padding:6px 8px;border-radius:3px;cursor:pointer;font-size:.8rem;transition:all .2s ease;display:flex;align-items:center;justify-content:center}.console-btn:hover:not(:disabled){background:#555;transform:translateY(-1px)}.console-btn:disabled{opacity:.5;cursor:not-allowed}.console-btn.toggle-btn{background:#06c}.console-btn.toggle-btn:hover:not(:disabled){background:#0080ff}.console-content{display:flex;flex-direction:column}.console-output{max-height:300px;overflow-y:auto;background:#0d1117}.console-text{color:#fff;font-family:SF Mono,Monaco,Inconsolata,Fira Code,Droid Sans Mono,monospace;font-size:.75rem;line-height:1.4;padding:12px;margin:0;white-space:pre-wrap;word-break:break-word}.console-footer{display:flex;justify-content:space-between;padding:8px 12px;background:#2d2d2d;border-top:1px solid #404040;font-size:.7rem}.console-info{color:#b0b0b0;font-family:SF Mono,Monaco,Inconsolata,Fira Code,Droid Sans Mono,monospace}.console-toggle-section{display:flex;justify-content:center;align-items:center;margin:12px 0;gap:12px}.console-toggle-btn{display:flex;align-items:center;gap:8px;background:linear-gradient(135deg,#06c,#0080ff);border:none;color:#fff;padding:10px 16px;border-radius:6px;cursor:pointer;font-size:.85rem;font-weight:500;transition:all .3s ease;box-shadow:0 2px 4px #0066cc4d}.console-toggle-btn:hover{background:linear-gradient(135deg,#0080ff,#00a0ff);transform:translateY(-2px);box-shadow:0 4px 8px #06c6}.console-toggle-icon{font-size:1rem}.clear-results-btn{display:flex;align-items:center;gap:8px;background:linear-gradient(135deg,#c30,#f40);border:none;color:#fff;padding:10px 16px;border-radius:6px;cursor:pointer;font-size:.85rem;font-weight:500;transition:all .3s ease;box-shadow:0 2px 4px #cc33004d;margin-left:0}.clear-results-btn:hover{background:linear-gradient(135deg,#f40,#f60);transform:translateY(-2px);box-shadow:0 4px 8px #c306}.clear-results-icon{font-size:.9rem}.stream-info{margin-top:12px;padding:12px;background:#1a1a1a;border-radius:4px;border:1px solid #404040;max-height:120px;overflow-y:auto}.stream-line{color:#ccc;font-family:SF Mono,Monaco,Inconsolata,Fira Code,Droid Sans Mono,monospace;font-size:.7rem;line-height:1.3;margin-bottom:4px;word-break:break-all}.stream-line:last-child{margin-bottom:0}.stream-info::-webkit-scrollbar{width:4px}.stream-info::-webkit-scrollbar-track{background:#1a1a1a}.stream-info::-webkit-scrollbar-thumb{background:#555;border-radius:2px}.stream-info::-webkit-scrollbar-thumb:hover{background:#666}.export-actions{margin-top:24px;padding-top:16px;border-top:1px solid #404040;display:flex;flex-direction:column;gap:12px}.export-btn{width:100%;background:linear-gradient(135deg,#06c,#0080ff);border:none;border-radius:6px;padding:14px 20px;color:#fff;font-size:.95rem;font-weight:600;cursor:pointer;transition:all .3s ease;text-transform:uppercase;letter-spacing:.5px;display:flex;align-items:center;justify-content:center;gap:10px}.export-btn:hover:not(:disabled){background:linear-gradient(135deg,#0080ff,#0af);transform:translateY(-1px);box-shadow:0 4px 12px #06c6}.export-btn:active:not(:disabled){transform:translateY(0)}.export-btn:disabled{background:#555;color:#888;cursor:not-allowed;transform:none;box-shadow:none}.cancel-btn{width:100%;background:linear-gradient(135deg,#c30,#f40);border:none;border-radius:6px;padding:12px 20px;color:#fff;font-size:.9rem;font-weight:600;cursor:pointer;transition:all .3s ease;text-transform:uppercase;letter-spacing:.5px;display:flex;align-items:center;justify-content:center;gap:8px}.cancel-btn:hover{background:linear-gradient(135deg,#f40,#f60);transform:translateY(-1px);box-shadow:0 4px 12px #c306}.cancel-btn:active{transform:translateY(0)}.color-filters-info{display:flex;flex-direction:column;gap:8px;background:#333;border-radius:6px;padding:12px;border:1px solid #444444}.filter-info-row{display:flex;justify-content:space-between;align-items:center;padding:4px 0}.filter-label{color:#b0b0b0;font-size:.8rem;font-weight:500}.filter-value{color:#fff;font-size:.8rem;font-weight:600;background:#444;padding:2px 8px;border-radius:4px;min-width:50px;text-align:center}.export-panel::-webkit-scrollbar{width:6px}.export-panel::-webkit-scrollbar-track{background:#2d2d2d}.export-panel::-webkit-scrollbar-thumb{background:#555;border-radius:3px}.export-panel::-webkit-scrollbar-thumb:hover{background:#666}@media (max-width: 1200px){.export-panel{padding:12px}.format-btn{padding:10px 12px;font-size:.85rem}}@media (max-width: 768px){.export-panel{padding:8px}.panel-title{font-size:.9rem}.section-title,.setting-label{font-size:.8rem}.toggle-group{padding:6px 0}}.effects-panel-container{flex:1;padding:16px;overflow-y:auto;background:#2d2d2d;border-left:1px solid #404040}.effects-section{display:flex;flex-direction:column;gap:24px}.effect-category{margin-bottom:20px}.category-title{color:#ccc;font-size:.9rem;font-weight:600;margin-bottom:16px;text-transform:uppercase;letter-spacing:.5px}.filter-control{margin-bottom:20px;padding:16px;background:#333;border:1px solid #404040;border-radius:8px;transition:border-color .2s ease}.filter-control:hover{border-color:#555}.filter-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:10px}.filter-label{color:#e0e0e0;font-size:.9rem;font-weight:500;display:flex;align-items:center;gap:6px}.filter-value{color:#06c;font-size:.85rem;font-weight:600;background:#404040;padding:2px 8px;border-radius:4px;min-width:45px;text-align:center}.filter-slider{width:100%;height:6px;background:#404040;border-radius:3px;outline:none;-webkit-appearance:none;appearance:none;cursor:pointer}.filter-slider::-webkit-slider-thumb{-webkit-appearance:none;appearance:none;width:18px;height:18px;background:#06c;border-radius:50%;cursor:pointer;transition:all .2s ease}.filter-slider::-webkit-slider-thumb:hover{background:#0080ff;transform:scale(1.1)}.filter-slider::-moz-range-thumb{width:18px;height:18px;background:#06c;border-radius:50%;cursor:pointer;border:none;transition:all .2s ease}.filter-slider::-moz-range-thumb:hover{background:#0080ff;transform:scale(1.1)}.filter-slider::-moz-range-track{width:100%;height:6px;background:#404040;border-radius:3px;border:none}.filter-actions{margin-top:24px;padding-top:16px;border-top:1px solid #404040}.reset-filters-btn{width:100%;background:#555;border:1px solid #666666;border-radius:6px;padding:10px 16px;color:#e0e0e0;font-size:.9rem;font-weight:500;cursor:pointer;transition:all .2s ease;display:flex;align-items:center;justify-content:center;gap:6px}.reset-filters-btn:hover{background:#666;border-color:#777;color:#fff}.reset-filters-btn:active{background:#444;transform:translateY(1px)}.effects-panel-container::-webkit-scrollbar{width:8px}.effects-panel-container::-webkit-scrollbar-track{background:#1a1a1a}.effects-panel-container::-webkit-scrollbar-thumb{background:#555;border-radius:4px}.effects-panel-container::-webkit-scrollbar-thumb:hover{background:#666}@media (max-width: 1200px){.effects-grid{grid-template-columns:repeat(auto-fill,minmax(70px,1fr))}.effect-item{padding:10px 6px}.effect-preview{font-size:1.2rem;width:28px;height:28px}.effect-name{font-size:.7rem}}@media (max-width: 768px){.effects-grid{grid-template-columns:repeat(auto-fill,minmax(60px,1fr))}.effect-item{padding:8px 4px}.effect-preview{font-size:1rem;width:24px;height:24px}.effect-name{font-size:.65rem}}.trim-controls{background:#2d2d2d;border-radius:8px;padding:12px;margin-top:12px;border:1px solid #404040}.trim-section{display:flex;flex-direction:column;gap:12px}.trim-title{display:flex;align-items:center;gap:8px;color:#fff;font-size:.95rem;font-weight:600;margin:0;padding-bottom:8px;border-bottom:1px solid #404040}.trim-icon{color:#06c;font-size:1rem}.trim-info{display:flex;flex-direction:column;gap:6px;background:#1a1a1a;padding:10px;border-radius:6px;border:1px solid #333333}.trim-info-row{display:flex;justify-content:space-between;align-items:center}.trim-label{color:#b0b0b0;font-size:.85rem;font-weight:500}.trim-value{color:#fff;font-family:SF Mono,Monaco,Inconsolata,Fira Code,Droid Sans Mono,monospace;font-size:.9rem;font-weight:600;background:#333;padding:4px 8px;border-radius:4px;border:1px solid #444444}.trim-value.highlight{background:#06c;border-color:#0080ff;color:#fff}.trim-buttons{display:grid;grid-template-columns:1fr 1fr;gap:8px}.trim-btn{flex:1;display:flex;align-items:center;justify-content:center;gap:6px;padding:8px 10px;border-radius:6px;font-size:.85rem;font-weight:500;cursor:pointer;transition:all .2s ease;border:1px solid;min-height:36px}.trim-btn span{white-space:nowrap}.trim-btn.primary{background:#06c;border-color:#06c;color:#fff}.trim-btn.primary:hover:not(:disabled){background:#0080ff;border-color:#0080ff;transform:translateY(-1px)}.trim-btn.secondary{background:#404040;border-color:#555;color:#e0e0e0}.trim-btn.secondary:hover:not(:disabled){background:#505050;border-color:#666;color:#fff}.trim-btn.reset{background:#444;border-color:#555;color:#ccc;grid-column:1 / -1;margin-top:4px}.trim-btn.reset:hover:not(:disabled){background:#ff6b6b;border-color:#ff5252;color:#fff}.trim-btn:active:not(:disabled){transform:translateY(0)}.trim-btn:disabled{background:#333;border-color:#444;color:#666;cursor:not-allowed;transform:none}.trim-progress-info{margin-top:8px}.progress-bar-container{margin-bottom:8px}.progress-bar-bg{position:relative;height:8px;background:#404040;border-radius:4px;overflow:hidden;border:1px solid #555555}.progress-bar-trim{position:absolute;top:0;height:100%;background:linear-gradient(90deg,#06c,#0080ff);opacity:.8;transition:all .2s ease}.progress-bar-current{position:absolute;top:-2px;width:2px;height:calc(100% + 4px);background:#fff;box-shadow:0 0 4px #ffffff80;transition:left .1s ease}.progress-labels{display:flex;justify-content:space-between;align-items:center}.progress-label{font-family:SF Mono,Monaco,Inconsolata,Fira Code,Droid Sans Mono,monospace;font-size:.75rem;color:#888;font-weight:500}@media (max-width: 768px){.trim-controls{padding:12px}.trim-buttons{grid-template-columns:1fr;gap:6px}.trim-btn{font-size:.8rem;padding:8px 10px;min-height:32px}.trim-btn.reset{margin-top:2px}.trim-info{padding:10px}.trim-value{font-size:.8rem;padding:3px 6px}}.output-size-panel{background:#2d2d2d;border-radius:8px;padding:12px;border:1px solid #404040}.panel-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}.section-title{display:flex;align-items:center;gap:8px;color:#fff;font-size:.9rem;font-weight:600;margin:0}.section-icon{color:#06c;font-size:1rem}.reset-btn{background:#404040;border:1px solid #555555;border-radius:4px;color:#b0b0b0;padding:4px 8px;cursor:pointer;font-size:.8rem;transition:all .2s ease;display:flex;align-items:center;gap:4px}.reset-btn:hover:not(:disabled){background:#505050;border-color:#06c;color:#fff}.reset-btn:disabled{background:#333;border-color:#444;color:#666;cursor:not-allowed}.size-info{background:#1a1a1a;padding:10px;border-radius:6px;border:1px solid #333333;margin-bottom:12px}.size-info-row{display:flex;justify-content:space-between;align-items:center;margin-bottom:4px}.size-info-row:last-child{margin-bottom:0}.info-value{color:#fff;font-size:.8rem;font-weight:600;background:#333;padding:2px 6px;border-radius:4px}.info-value.highlight{background:#06c;color:#fff}.size-controls{display:flex;flex-direction:column;gap:8px;margin-bottom:12px}.control-row{display:flex;align-items:center;gap:8px}.control-label{color:#b0b0b0;font-size:.8rem;font-weight:500;min-width:40px}.size-input{flex:1;background:#1a1a1a;border:1px solid #333333;border-radius:4px;color:#fff;padding:6px 8px;font-size:.8rem;font-weight:500;transition:all .2s ease}.size-input:focus{outline:none;border-color:#06c;background:#2a2a2a}.size-input:disabled{background:#333;border-color:#444;color:#666;cursor:not-allowed}.aspect-ratio-btn{flex:1;display:flex;align-items:center;justify-content:center;gap:6px;background:#404040;border:1px solid #555555;border-radius:4px;color:#b0b0b0;padding:6px 8px;cursor:pointer;font-size:.8rem;font-weight:500;transition:all .2s ease}.aspect-ratio-btn:hover:not(:disabled){background:#505050;border-color:#06c;color:#fff}.aspect-ratio-btn.active{background:#06c;border-color:#0080ff;color:#fff}.aspect-ratio-btn:disabled{background:#333;border-color:#444;color:#666;cursor:not-allowed}.presets-section{border-top:1px solid #404040;padding-top:12px}.presets-title{color:#b0b0b0;font-size:.8rem;font-weight:600;margin:0 0 8px}.presets-grid{display:grid;grid-template-columns:1fr 1fr;gap:6px}.preset-btn{background:#404040;border:1px solid #555555;border-radius:4px;color:#b0b0b0;padding:6px 8px;cursor:pointer;font-size:.75rem;transition:all .2s ease;display:flex;flex-direction:column;align-items:center;gap:2px;text-align:center}.preset-btn:hover:not(:disabled){background:#505050;border-color:#06c;color:#fff}.preset-btn.active{background:#06c;border-color:#0080ff;color:#fff}.preset-btn:disabled{background:#333;border-color:#444;color:#666;cursor:not-allowed}.preset-name{font-weight:500;line-height:1}.preset-size{font-size:.7rem;opacity:.8;line-height:1}.crop-position-section{margin-top:20px;padding-top:16px;border-top:1px solid #404040}.crop-title{color:#ccc;font-size:.9rem;font-weight:600;margin-bottom:12px;text-transform:uppercase;letter-spacing:.5px}.crop-controls{display:flex;flex-direction:column;gap:12px}.crop-slider{width:100%;height:4px;background:#404040;border-radius:2px;outline:none;-webkit-appearance:none;appearance:none;cursor:pointer}.crop-slider::-webkit-slider-thumb{-webkit-appearance:none;appearance:none;width:16px;height:16px;background:#06c;border-radius:50%;cursor:pointer;border:2px solid #ffffff;box-shadow:0 2px 4px #0000004d}.crop-slider::-moz-range-thumb{width:16px;height:16px;background:#06c;border-radius:50%;cursor:pointer;border:2px solid #ffffff;box-shadow:0 2px 4px #0000004d}.crop-value{color:#fff;font-size:.8rem;font-weight:500;min-width:50px;text-align:right}.crop-presets{display:flex;gap:8px;margin-top:8px}.crop-preset-btn{flex:1;background:#333;border:1px solid #555555;border-radius:4px;color:#ccc;padding:6px 8px;cursor:pointer;font-size:.75rem;transition:all .2s ease;text-align:center}.crop-preset-btn:hover:not(:disabled){background:#505050;border-color:#06c;color:#fff}.crop-preset-btn:disabled{background:#2a2a2a;border-color:#444;color:#666;cursor:not-allowed}@media (max-width: 768px){.presets-grid{grid-template-columns:1fr;gap:4px}.preset-btn{padding:8px 6px;font-size:.8rem}.size-controls,.control-row{gap:6px}}.transform-panel{width:100%}.transform-section{background:#333;border-radius:8px;padding:16px;border:1px solid #404040}.filter-control{margin-bottom:20px}.filter-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px}.filter-label{font-size:.9rem;font-weight:500;color:#fff}.filter-value{font-size:.9rem;font-weight:600;color:#06c;min-width:60px;text-align:right}.filter-slider{width:100%;height:6px;border-radius:3px;background:#444;outline:none;cursor:pointer;-webkit-appearance:none;appearance:none;margin-bottom:8px}.filter-slider::-webkit-slider-thumb{-webkit-appearance:none;appearance:none;width:18px;height:18px;border-radius:50%;background:#fff;cursor:pointer;border:2px solid #0066cc;box-shadow:0 2px 4px #0000004d}.filter-slider::-moz-range-thumb{width:18px;height:18px;border-radius:50%;background:#fff;cursor:pointer;border:2px solid #0066cc;box-shadow:0 2px 4px #0000004d}.filter-slider:disabled{opacity:.5;cursor:not-allowed}.filter-slider:disabled::-webkit-slider-thumb{cursor:not-allowed;background:#666;border-color:#666}.transform-info{background:#2a2a2a;padding:12px;border-radius:6px;border:1px solid #404040;margin-bottom:16px}.transform-presets{margin-bottom:16px}.presets-title{font-size:.8rem;color:#b0b0b0;margin-bottom:8px;text-transform:uppercase;letter-spacing:.5px}.presets-buttons{display:grid;grid-template-columns:repeat(3,1fr);gap:6px}.preset-btn{background:#404040;border:1px solid #555555;color:#fff;padding:6px 8px;border-radius:4px;cursor:pointer;font-size:.75rem;font-weight:500;transition:all .2s ease;text-align:center}.preset-btn:hover:not(:disabled){background:#505050;border-color:#666}.preset-btn:active:not(:disabled){background:#06c;border-color:#07d}.preset-btn:disabled{opacity:.5;cursor:not-allowed}.filter-actions{display:flex;justify-content:center}.reset-filters-btn{background:#06c;border:none;color:#fff;padding:10px 20px;border-radius:6px;cursor:pointer;font-size:.9rem;font-weight:500;transition:all .2s ease;display:flex;align-items:center;gap:8px}.reset-filters-btn:hover:not(:disabled){background:#07d;transform:translateY(-1px)}.reset-filters-btn:active{transform:translateY(0)}.reset-filters-btn:disabled{opacity:.5;cursor:not-allowed;transform:none}.reset-filters-btn:disabled:hover{background:#06c;transform:none}@media (max-width: 768px){.presets-buttons{grid-template-columns:repeat(2,1fr);gap:4px}.preset-btn{padding:8px 6px;font-size:.7rem}.transform-section{padding:12px}}.editor-panel-container{flex:1;padding:16px;overflow-y:auto;background:#2d2d2d;border-left:1px solid #404040}.editor-sections{display:flex;flex-direction:column;gap:24px}.property-section{margin-bottom:20px}.editor-panel-container::-webkit-scrollbar{width:8px}.editor-panel-container::-webkit-scrollbar-track{background:#1a1a1a}.editor-panel-container::-webkit-scrollbar-thumb{background:#555;border-radius:4px}.editor-panel-container::-webkit-scrollbar-thumb:hover{background:#666}@media (max-width: 1200px){.editor-panel-container{padding:12px}.editor-sections{gap:20px}}@media (max-width: 768px){.editor-panel-container{padding:10px}.editor-sections{gap:16px}.property-section{margin-bottom:16px}}.audio-panel-container{padding:20px;background:#2d2d2d;color:#fff;height:100%;overflow-y:auto;display:flex;flex-direction:column}.panel-title{font-size:1.2rem;font-weight:600;margin-bottom:20px;color:#fff;border-bottom:2px solid #0066cc;padding-bottom:8px}.audio-section{flex:1}.audio-category{background:#333;border-radius:8px;padding:16px;border:1px solid #404040}.category-title{font-size:1rem;font-weight:500;margin-bottom:16px;color:#e0e0e0;text-transform:uppercase;letter-spacing:.5px}.audio-control{margin-bottom:20px}.audio-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}.audio-label{font-size:.9rem;font-weight:500;color:#fff}.volume-info{display:flex;gap:10px;align-items:center}.volume-value{font-size:.9rem;font-weight:600;color:#06c;min-width:40px;text-align:right}.volume-db{font-size:.8rem;color:#888;min-width:45px;text-align:right;font-family:monospace}.volume-slider-container{position:relative;margin-bottom:8px}.volume-slider{width:100%;height:6px;border-radius:3px;background:#444;outline:none;cursor:pointer;-webkit-appearance:none;appearance:none}.volume-slider::-webkit-slider-thumb{-webkit-appearance:none;appearance:none;width:18px;height:18px;border-radius:50%;background:#fff;cursor:pointer;border:2px solid #0066cc;box-shadow:0 2px 4px #0000004d}.volume-slider::-moz-range-thumb{width:18px;height:18px;border-radius:50%;background:#fff;cursor:pointer;border:2px solid #0066cc;box-shadow:0 2px 4px #0000004d}.volume-slider:disabled{opacity:.5;cursor:not-allowed}.volume-slider:disabled::-webkit-slider-thumb{cursor:not-allowed;background:#666;border-color:#666}.volume-markers{display:flex;justify-content:space-between;position:relative;margin-top:4px;height:12px}.marker{position:absolute;transform:translate(-50%);font-size:.7rem;color:#888;-webkit-user-select:none;user-select:none}.audio-controls{margin-bottom:20px}.audio-btn{background:#404040;border:1px solid #555555;color:#fff;padding:8px 16px;border-radius:6px;cursor:pointer;font-size:.9rem;transition:all .2s ease;display:flex;align-items:center;gap:6px}.audio-btn:hover{background:#505050;border-color:#666}.mute-btn.muted{background:#c44;border-color:#d55}.mute-btn.muted:hover{background:#d55}.level-meter{margin-bottom:20px;background:#2a2a2a;padding:12px;border-radius:6px;border:1px solid #404040}.meter-label{font-size:.8rem;color:#b0b0b0;margin-bottom:8px;text-transform:uppercase;letter-spacing:.5px}.meter-bar{position:relative;height:20px;background:#1a1a1a;border-radius:10px;overflow:hidden;border:1px solid #333333}.meter-fill{height:100%;border-radius:10px;transition:width .1s ease,background-color .2s ease;background:linear-gradient(90deg,#4f4,#fd4 60%,#f94,#f44)}.meter-scale{position:absolute;inset:0;pointer-events:none}.scale-mark{position:absolute;top:0;bottom:0;display:flex;flex-direction:column;align-items:center}.scale-line{width:1px;height:100%;background:#fff3}.scale-value{position:absolute;bottom:-18px;font-size:.6rem;color:#888;white-space:nowrap}.audio-info{margin-bottom:20px;background:#2a2a2a;padding:12px;border-radius:6px;border:1px solid #404040}.info-row{display:flex;justify-content:space-between;align-items:center;margin-bottom:6px}.info-row:last-child{margin-bottom:0}.info-label{font-size:.8rem;color:#b0b0b0}.info-value{font-size:.8rem;color:#fff;font-weight:500}.info-value.muted{color:#c44}.info-value.active{color:#4c4}.audio-actions{display:flex;justify-content:center}.reset-audio-btn{background:#06c;border:none;color:#fff;padding:10px 20px;border-radius:6px;cursor:pointer;font-size:.9rem;font-weight:500;transition:all .2s ease;display:flex;align-items:center;gap:8px}.reset-audio-btn:hover{background:#07d;transform:translateY(-1px)}.reset-audio-btn:active{transform:translateY(0)}@media (max-width: 768px){.audio-panel-container{padding:16px}.panel-title{font-size:1.1rem}.volume-info{flex-direction:column;gap:4px;align-items:flex-end}}.video-editor{display:flex;height:100%;background:#1a1a1a}.main-content{flex:1;display:flex;flex-direction:column;overflow:hidden}.content-top{flex:1;display:flex;min-height:0;overflow:hidden}.preview-area{flex:1;display:flex;flex-direction:column;background:#2d2d2d;border-right:1px solid #404040;min-width:0}.properties-area{width:300px;background:#2d2d2d;border-left:1px solid #404040;display:flex;flex-direction:column;flex-shrink:0;z-index:1}.properties-panel{flex:1;padding:16px;overflow-y:auto}.panel-title{color:#fff;font-size:1rem;font-weight:600;margin-bottom:16px;padding-bottom:8px;border-bottom:1px solid #404040}.property-section{margin-bottom:24px}.section-title{color:#ccc;font-size:.9rem;font-weight:600;margin-bottom:12px;text-transform:uppercase;letter-spacing:.5px}.video-info{display:flex;flex-direction:column;gap:8px}.info-row{display:flex;justify-content:space-between;align-items:center;padding:8px 12px;background:#333;border-radius:4px}.info-label{color:#b0b0b0;font-size:.8rem;font-weight:500}.info-value{color:#fff;font-size:.8rem;font-weight:400;text-align:right;word-break:break-all;max-width:60%}.transform-controls{display:flex;flex-direction:column;gap:12px}.control-group{display:flex;flex-direction:column;gap:4px}.control-group label{color:#b0b0b0;font-size:.8rem;font-weight:500}.control-group input{background:#404040;border:1px solid #555555;border-radius:4px;padding:8px 10px;color:#fff;font-size:.8rem;outline:none;transition:border-color .2s ease}.control-group input:focus{border-color:#06c}.control-group input::-webkit-outer-spin-button,.control-group input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.control-group input[type=number]{appearance:textfield;-moz-appearance:textfield}.content-bottom{height:130px;background:#2d2d2d;border-top:1px solid #404040;display:flex;flex-direction:column;flex-shrink:0}.timeline-area{flex:1;display:flex;flex-direction:column;padding:16px;overflow-y:auto;min-height:0}.timeline-header{margin-bottom:16px;padding-bottom:12px;border-bottom:1px solid #404040}.timeline-content{flex:1;display:flex;flex-direction:column;justify-content:center}.properties-panel::-webkit-scrollbar,.timeline-area::-webkit-scrollbar{width:6px}.properties-panel::-webkit-scrollbar-track,.timeline-area::-webkit-scrollbar-track{background:#2d2d2d}.properties-panel::-webkit-scrollbar-thumb,.timeline-area::-webkit-scrollbar-thumb{background:#555;border-radius:3px}.properties-panel::-webkit-scrollbar-thumb:hover,.timeline-area::-webkit-scrollbar-thumb:hover{background:#666}@media (max-width: 1200px){.properties-area{width:250px}}@media (max-width: 1024px){.content-top{flex-direction:column}.preview-area{border-right:none;border-bottom:1px solid #404040}.properties-area{width:100%;height:200px;border-left:none;border-top:1px solid #404040}}@media (max-width: 768px){.properties-area{display:none}.content-bottom{min-height:200px;max-height:350px}.timeline-area{padding:12px}}*{margin:0;padding:0;box-sizing:border-box}body{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif;background:#1a1a1a;min-height:100vh;color:#e0e0e0;overflow:hidden}.app{display:flex;flex-direction:column;height:100vh;background:#1a1a1a}.app-header{display:flex;align-items:center;justify-content:space-between;background:#2d2d2d;padding:8px 16px;border-bottom:1px solid #404040;height:50px;flex-shrink:0}.header-left{display:flex;align-items:flex-end;gap:10px}.app-logo{width:32px;height:32px;flex-shrink:0}.header-left h1{color:#fff;font-size:1.4rem;font-weight:600;margin:0}.header-center{flex:1;display:flex;justify-content:center}.main-nav{display:flex;gap:2px;background:#404040;border-radius:6px;padding:2px}.nav-btn{background:transparent;border:none;color:#b0b0b0;padding:8px 16px;border-radius:4px;cursor:pointer;font-size:.9rem;transition:all .2s ease;font-weight:500}.nav-btn:hover{background:#505050;color:#fff}.nav-btn.active{background:#06c;color:#fff}.header-right{display:flex;gap:8px}.header-btn{background:transparent;border:none;color:#b0b0b0;padding:8px;border-radius:4px;cursor:pointer;font-size:1.1rem;transition:all .2s ease;width:32px;height:32px;display:flex;align-items:center;justify-content:center}.header-btn:hover{background:#404040;color:#fff}.app-main{overflow:hidden}@media (max-width: 768px){.app-header{padding:8px 12px}.header-left{gap:8px}.app-logo{width:28px;height:28px}.header-left h1{font-size:1.2rem}.main-nav{display:none}.nav-btn{padding:6px 12px;font-size:.8rem}}
