.video-browser{background:#fff;border-radius:12px;padding:2rem;box-shadow:0 2px 10px #0000001a;margin-bottom:2rem}.browser-header{margin-bottom:1.5rem}.browser-header h2{font-size:1.8rem;margin-bottom:1rem;color:#333}.search-container{display:flex;gap:1rem;margin-bottom:1rem}.search-form{flex:1;display:flex;gap:.5rem}.search-input{flex:1;padding:.75rem 1rem;border:2px solid #e0e0e0;border-radius:8px;font-size:1rem;transition:border-color .3s}.search-input:focus{outline:none;border-color:#667eea}.search-button{padding:.75rem 1.5rem;background:#667eea;color:#fff;border:none;border-radius:8px;cursor:pointer;font-size:1rem;transition:background .3s}.search-button:hover:not(:disabled){background:#5568d3}.search-button:disabled{opacity:.6;cursor:not-allowed}.back-button{padding:.75rem 1.5rem;background:#6c757d;color:#fff;border:none;border-radius:8px;cursor:pointer;font-size:1rem;transition:background .3s}.back-button:hover{background:#5a6268}.current-path{padding:.75rem;background:#f8f9fa;border-radius:6px;font-size:.9rem;color:#666;word-break:break-all}.error-message{padding:1rem;background:#fee;border:1px solid #fcc;border-radius:8px;color:#c33;margin-bottom:1rem}.loading{text-align:center;padding:3rem;font-size:1.2rem;color:#666}.browser-content{max-height:600px;overflow-y:auto}.folders-section,.videos-section{margin-bottom:2rem}.folders-section h3,.videos-section h3{font-size:1.3rem;margin-bottom:1rem;color:#444}.folders-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:.5rem;margin-bottom:1.5rem}.folder-item-text{display:flex;align-items:center;gap:.75rem;padding:.75rem 1rem;background:#f8f9fa;border:1px solid #e0e0e0;border-radius:6px;cursor:pointer;transition:all .2s}.folder-item-text:hover{background:#e9ecef;border-color:#667eea;padding-left:1.25rem}.folder-icon-text{font-size:1.2rem;flex-shrink:0}.folder-name-text{flex:1;font-size:.95rem;color:#333;word-break:break-word}.folder-item-text.group-folder{background:#e7f3ff;border-color:#667eea;font-weight:600}.folder-item-text.group-folder:hover{background:#d0e7ff;border-color:#5568d3}.group-badge-text{padding:.2rem .5rem;background:#667eea;color:#fff;border-radius:4px;font-size:.7rem;font-weight:600;flex-shrink:0}.videos-list{display:flex;flex-direction:column;gap:.75rem}.video-item{display:flex;align-items:center;padding:1rem;background:#f8f9fa;border:2px solid #e0e0e0;border-radius:8px;transition:all .3s}.video-item:hover{background:#e9ecef;border-color:#667eea}.video-item.selected{background:#e7f3ff;border-color:#667eea;box-shadow:0 2px 8px #667eea33}.video-icon{font-size:2rem;margin-right:1rem}.video-info{flex:1;min-width:0}.video-name{font-weight:600;color:#333;margin-bottom:.25rem;word-break:break-word}.video-meta{font-size:.85rem;color:#666;display:flex;gap:.5rem}.video-action{display:flex;align-items:center;gap:.5rem;margin-left:1rem}.video-action-btn{padding:.4rem .75rem;border:none;border-radius:6px;font-size:.9rem;font-weight:600;cursor:pointer;transition:background .2s,transform .1s}.video-action-btn.select{background:#667eea;color:#fff}.video-action-btn.select:hover{background:#5568d3}.video-action-btn.download{background:#28a745;color:#fff}.video-action-btn.download:hover{background:#218838}.video-action-btn:active{transform:scale(.98)}.empty-state{text-align:center;padding:3rem;color:#666}.empty-state .hint{margin-top:1rem;font-size:.9rem;color:#999}.empty-state code{background:#f0f0f0;padding:.2rem .4rem;border-radius:4px;font-size:.85rem}.video-editor{background:#fff;border-radius:12px;padding:2rem;box-shadow:0 2px 10px #0000001a}.editor-tabs{display:flex;gap:.5rem;margin-bottom:1.5rem;border-bottom:2px solid #e0e0e0}.tab-button{padding:.75rem 1.5rem;background:transparent;border:none;border-bottom:3px solid transparent;font-size:1rem;font-weight:600;color:#666;cursor:pointer;transition:all .3s;margin-bottom:-2px}.tab-button:hover{color:#333;background:#f5f5f5}.tab-button.active{color:#667eea;border-bottom-color:#667eea;background:transparent}.editor-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:2rem;padding-bottom:1rem;border-bottom:2px solid #e0e0e0}.editor-header h2{font-size:1.8rem;color:#333;margin-bottom:.5rem}.video-name{color:#666;font-size:.9rem;word-break:break-word}.close-button{padding:.5rem 1rem;background:#6c757d;color:#fff;border:none;border-radius:6px;cursor:pointer;font-size:.9rem;transition:background .3s}.close-button:hover{background:#5a6268}.editor-content{display:flex;flex-direction:column;gap:2rem}.preview-section,.cut-section{display:flex;flex-direction:column}.preview-section h3,.cut-section h3{font-size:1.3rem;margin-bottom:1rem;color:#444}.video-preview-container{background:#000;border-radius:8px;overflow:hidden;aspect-ratio:16 / 9;width:100%;max-width:100%}.video-preview{width:100%;height:100%;object-fit:contain}.segment-section{padding:1rem;background:#f8f9fa;border:1px solid #e0e0e0;border-radius:8px;margin-bottom:1rem}.segment-section h4{font-size:1rem;color:#444;margin-bottom:1rem;padding-bottom:.5rem;border-bottom:1px solid #e0e0e0}.info-box{padding:1rem;background:#e3f2fd;border:1px solid #90caf9;border-radius:6px;color:#1565c0;font-size:.9rem;margin-bottom:1rem}.info-box strong{display:block;margin-bottom:.25rem}.info-box ul{margin:.5rem 0}.info-box li{margin:.25rem 0}.cut-form{display:flex;flex-direction:column;gap:1rem}.form-group{display:flex;flex-direction:column;gap:.5rem}.form-group label{font-weight:600;color:#333}.time-input{padding:.75rem;border:2px solid #e0e0e0;border-radius:6px;font-size:1rem;transition:border-color .3s}.time-input:focus{outline:none;border-color:#667eea}.form-group small{color:#666;font-size:.85rem}.cut-button{padding:1rem;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;border:none;border-radius:8px;font-size:1.1rem;font-weight:600;cursor:pointer;transition:transform .2s,box-shadow .2s;margin-top:.5rem}.cut-button:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 4px 12px #667eea66}.cut-button:disabled{opacity:.6;cursor:not-allowed}.error-message{padding:.75rem;background:#fee;border:1px solid #fcc;border-radius:6px;color:#c33;font-size:.9rem}.cut-result{margin-top:1.5rem;padding:1.5rem;background:#e7f5e7;border:2px solid #4caf50;border-radius:8px}.cut-result h4{color:#2e7d32;margin-bottom:.5rem}.cut-result p{color:#555;margin-bottom:1rem}.result-actions{display:flex;gap:1rem}.preview-button,.download-button{padding:.75rem 1.5rem;border:none;border-radius:6px;font-size:1rem;font-weight:600;cursor:pointer;transition:transform .2s}.preview-button{background:#2196f3;color:#fff}.preview-button:hover{background:#1976d2;transform:translateY(-2px)}.download-button{background:#4caf50;color:#fff}.download-button:hover{background:#388e3c;transform:translateY(-2px)}.cut-preview-area{margin-top:1rem;width:100%;max-width:720px;border-radius:8px;overflow:hidden;background:#000}.cut-preview-video{width:100%;display:block;max-height:70vh}.history-content{padding:1.5rem 0}.history-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1.5rem}.history-header h3{font-size:1.5rem;color:#333;margin:0}.empty-history{text-align:center;padding:4rem 2rem;color:#666}.empty-history .hint{margin-top:.5rem;font-size:.9rem;color:#999}.clear-all-button{padding:.5rem 1rem;background:#f44336;color:#fff;border:none;border-radius:6px;font-size:.9rem;font-weight:600;cursor:pointer;transition:background .3s,transform .2s}.clear-all-button:hover{background:#d32f2f;transform:translateY(-1px)}.clear-all-button:active{transform:translateY(0)}.empty-message{color:#666;font-style:italic}.edited-videos-list{display:flex;flex-direction:column;gap:.75rem}.edited-video-item{display:flex;justify-content:space-between;align-items:center;padding:1rem;background:#f8f9fa;border:1px solid #e0e0e0;border-radius:6px}.edited-video-info{flex:1;min-width:0}.edited-video-name{font-weight:600;color:#333;margin-bottom:.25rem;word-break:break-word}.edited-video-meta{font-size:.85rem;color:#666}.edited-video-actions{display:flex;gap:.5rem;margin-left:1rem}.action-button{padding:.5rem 1rem;border:none;border-radius:6px;font-size:.9rem;cursor:pointer;transition:background .3s}.action-button.preview{background:#e3f2fd;color:#1976d2}.action-button.preview:hover{background:#bbdefb}.action-button.download{background:#e8f5e9;color:#388e3c}.action-button.download:hover{background:#c8e6c9}.loading{text-align:center;padding:2rem;color:#666}@media (max-width: 1024px){.editor-content{gap:1.5rem}}@media (max-width: 768px){.video-editor{padding:1rem}.editor-header{flex-direction:column;gap:1rem}.result-actions{flex-direction:column}.edited-video-item{flex-direction:column;align-items:flex-start;gap:1rem}.edited-video-actions{margin-left:0;width:100%}.action-button{flex:1}}.app{min-height:100vh;display:flex;flex-direction:column}.app-header{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;padding:2rem;text-align:center;box-shadow:0 2px 10px #0000001a}.app-header h1{font-size:2.5rem;margin-bottom:.5rem}.app-header p{font-size:1.1rem;opacity:.9}.app-main{flex:1;padding:2rem}.app-container{max-width:1400px;margin:0 auto}@media (max-width: 768px){.app-header h1{font-size:2rem}.app-main{padding:1rem}}*{margin:0;padding:0;box-sizing:border-box}body{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background-color:#f5f5f5}code{font-family:source-code-pro,Menlo,Monaco,Consolas,Courier New,monospace}
