:root{font-family:system-ui,Avenir,Helvetica,Arial,sans-serif;line-height:1.5;font-weight:400;--bg-dark: hsl(0 0% 100%);--bg: hsl(0 0% 95%);--bg-light: hsl(0 0% 90%);--text: hsl(0 0% 5%);--text-muted: hsl(0 0% 50%);color-scheme:dark;color:var(--text);background-color:var(--bg-dark);font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}a{font-weight:500;color:var(--text-muted);text-decoration:inherit}a:hover{color:var(--text)}body{margin:0;min-width:320px;min-height:100vh;display:flex;justify-content:center;width:100%;color:var(--text);overflow-x:hidden}h1{font-size:2.5em;line-height:.5}h2{line-height:.5}button{border-radius:8px;border:1px solid var(--bg-light);padding:.6em 1.2em;font-size:1em;font-weight:500;font-family:inherit;background-color:var(--bg);color:var(--text);cursor:pointer;min-height:44px;touch-action:manipulation}a[href="https://unicorn.studio?utm_source=public-url"]{display:none!important}.app{min-height:calc(100vh - 4rem);background:var(--bg-dark);align-items:center;justify-content:center;padding:1rem;text-align:center;max-width:100vw;overflow-x:hidden}.main-content{display:flex;flex-direction:column;gap:2rem;width:calc(100% - 2rem);max-width:1200px}.container{background:var(--bg-dark);border-radius:20px;box-shadow:0 10px 10px #0000004d;border:1px solid var(--bg-light);padding:1rem;width:calc(100% - 2rem);text-align:center}.error{outline:2px solid red}.drop-zone{border:3px dashed var(--bg-light);border-radius:15px;padding:3rem 2rem;cursor:pointer;background:var(--bg);position:relative;overflow:hidden;width:calc(100% - 4rem);height:400px;display:flex;flex-direction:column;align-items:center;justify-content:center}.drop-zone:hover{border-color:var(--text-muted);background:var(--bg-light)}.drop-zone.drag-over{border-color:var(--text);background:var(--bg-light);transform:scale(1.02);box-shadow:0 10px 30px #ffffff1a}.drop-zone.drag-over video{opacity:.3}.drop-zone h3{color:var(--text);margin:0;font-size:1.5rem;font-weight:600}.drop-zone p{color:var(--text-muted);margin:0;font-size:1rem}.supported-formats{font-size:.9rem!important;color:var(--text-muted)!important;font-style:italic}.error-message{color:var(--bg-dark);background-color:#ff6b6b;padding:.5rem;margin:1rem 0;font-weight:800}.file-item{display:flex;text-align:left;align-items:center;justify-content:flex-start;background:var(--bg-light);padding:1rem;border-radius:10px;border:1px solid var(--bg)}.file-info{display:flex;flex-direction:column;gap:.25rem;flex:1}.file-name{font-weight:600;color:var(--text);font-size:1rem}.file-size{color:var(--text-muted);font-size:.9rem}.file-type{color:var(--text-muted);font-size:.8rem;letter-spacing:.5px}.remove-button{background:#ff4757;color:var(--text);border:none;border-radius:50%;width:30px;height:30px;cursor:pointer;font-size:1rem;font-weight:700;display:flex;align-items:center;justify-content:center;transition:all .2s ease;margin-left:1rem}.remove-button:hover{background:#ff3742;transform:scale(1.1)}.remove-button:active{transform:scale(.95)}.processing-section{margin-top:1.5rem;padding:1.5rem;background:var(--bg-light);border-radius:10px;border:1px solid var(--bg)}.skip-time-selector{margin-bottom:1rem;text-align:left;justify-content:left;align-items:left}.skip-time-selector label{display:block;margin-bottom:.5rem;font-weight:600;color:var(--text)}.skip-time-input{padding:8px 12px;border:2px solid var(--bg-light);border-radius:6px;background:var(--bg-dark);font-size:.9rem;color:var(--text);transition:border-color .2s ease;width:80px;text-align:center;margin-right:.5rem}.skip-time-input:hover{border-color:var(--text-muted)}.skip-time-input:focus{border-color:var(--text-muted);box-shadow:0 0 0 3px #ffffff1a}.skip-time-input:disabled{opacity:.6;cursor:not-allowed}.skip-time-description{font-size:.8rem;color:var(--text-muted);font-style:italic}.process-button{background:var(--text);color:var(--bg-dark);border:none;padding:12px 24px;border-radius:8px;font-size:1rem;font-weight:600;cursor:pointer;transition:transform .3s ease;margin-bottom:1rem;min-width:160px}.process-button:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 8px 20px #fff3;background:var(--text-muted)}.process-button:disabled{opacity:.6;cursor:not-allowed;transform:none}.progress-container{display:flex;align-items:center;gap:1rem;margin:1rem 0}.progress-bar{flex:1;height:8px;background:var(--bg-dark);border-radius:4px;overflow:hidden}.progress-fill{height:100%;background:var(--text-muted);border-radius:4px;transition:width .3s ease}.progress-text{font-weight:600;color:var(--text);min-width:40px;text-align:right}.processed-video{display:flex;flex-direction:column;margin-top:1.5rem;padding:1rem;background:var(--bg-light);border-radius:8px;border:1px solid var(--bg)}.processed-video h4{color:var(--text);margin-bottom:1rem;text-align:center;font-size:1.2rem}.download-button{background:var(--bg);color:var(--text);border:none;padding:10px 20px;border-radius:6px;font-size:.9rem;font-weight:600;cursor:pointer}.download-button:hover{background:var(--bg-dark)}.tool-content{animation:fadeIn .3s ease-in-out}@keyframes fadeIn{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}.setting-group{margin-bottom:1rem}.setting-group label{display:block;margin-bottom:.5rem;font-weight:600;color:var(--text)}.checkbox-group{display:flex;flex-direction:column;gap:.5rem;margin-top:.5rem}.checkbox-label{display:flex;align-items:center;gap:.5rem;font-weight:400!important;cursor:pointer}.checkbox-label input[type=checkbox]{margin:0}.checkbox-label span{color:var(--text-muted);font-size:.9rem}.output-actions{display:flex;gap:1rem;justify-content:center;flex-wrap:wrap}.status-badge{background:var(--text-muted);color:var(--bg-dark);padding:8px 16px;border-radius:20px;font-size:.9rem;font-weight:600;display:inline-block}.video-result-section{margin-top:2rem;padding:1rem;background:var(--bg-light);border-radius:10px;border:2px solid var(--text-muted)}.result-video-container{text-align:center}@media(max-width:768px){.app{padding:.5rem}.main-content{gap:1.5rem}.container{padding:1rem;margin:1rem}h1{font-size:2rem;margin-bottom:1rem}.drop-zone{width:calc(100% - 1rem);height:300px;padding:2rem 1rem;margin:0}.upload-icon{font-size:3rem}.drop-zone h3{font-size:1.2rem}.drop-zone p{font-size:.9rem}.supported-formats{font-size:.8rem!important}.tabs-header{flex-direction:column}.tab-button{min-width:auto;width:100%;border-bottom:2px solid #e9ecef}.remove-button{align-self:flex-end;margin-left:0}.processing-section{padding:1rem}.progress-text{text-align:center;min-width:auto}.output-actions{flex-direction:column;align-items:center}.video-result-section{margin-top:1rem;padding:1rem}.tool-config{padding:1rem}.checkbox-group{gap:.25rem}.processed-video{margin-top:1rem;padding:1rem}.processed-video h2{font-size:1.3rem}.processed-video>div{height:300px!important}button{min-height:44px;font-size:1rem;padding:12px 20px}}@media(max-width:480px){.app{padding:.25rem}h1{font-size:1.8rem}.drop-zone{height:250px;padding:1.5rem .5rem}.upload-icon{font-size:2.5rem}.drop-zone h3{font-size:1.1rem}.drop-zone p{font-size:.85rem}.main-content{gap:.5rem}.processed-video>div{height:250px!important}}.collapsible-settings h3{color:var(--text);margin:0 0 1.5rem;font-size:1.5rem;font-weight:600}.collapsible-section{margin-bottom:1rem;border:1px solid var(--bg-light);border-radius:12px;overflow:hidden;transition:all .3s ease}.collapsible-section:hover{border-color:var(--text-muted);box-shadow:0 4px 12px #0000001a}.collapsible-header{width:100%;background:var(--bg-light);border:none;padding:1rem 1.5rem;cursor:pointer;display:flex;justify-content:space-between;align-items:center;transition:all .3s ease;text-align:left}.collapsible-header:hover{background:var(--bg-dark)}.collapsible-header:focus{outline:2px solid var(--text-muted);outline-offset:-2px}.collapsible-title{color:var(--text);font-size:1.1rem;font-weight:600;margin:0}.collapsible-icon{color:var(--text-muted);font-size:.8rem;transition:transform .3s ease;transform:rotate(-90deg)}.collapsible-icon.expanded{transform:rotate(0)}.collapsible-content{max-height:0;overflow:hidden;transition:max-height .3s ease-out;background:var(--bg)}.collapsible-content.expanded{max-height:500px;transition:max-height .3s ease-in}.collapsible-content-inner{padding:.5rem 1.5rem}.option-selector{margin:1rem 0;text-align:left}.option-selector:last-child{margin-bottom:0}.option-selector label{display:block;color:var(--text);font-weight:500;margin-bottom:.5rem;font-size:.95rem}.option-select{min-width:200px;padding:.5rem;border:1px solid var(--bg-light);border-radius:8px;background:var(--bg-dark);color:var(--text);transition:all .3s ease}.option-select:hover{border-color:var(--text-muted)}.option-select:focus{border-color:var(--text);box-shadow:0 0 0 2px #ffffff1a}.option-select:disabled{opacity:.6;cursor:not-allowed}.settings-note{color:var(--text-muted);font-size:.9rem;font-style:italic;margin:.5rem 0 0;text-align:left}@media(max-width:768px){.collapsible-settings{padding:.75rem;min-width:auto;width:100%;margin:0}.collapsible-header{padding:.75rem 1rem;min-height:44px}.collapsible-content-inner{padding:1rem}.collapsible-title,.option-select,.option-selector label{font-size:1rem}}@media(max-width:480px){.collapsible-settings{padding:.5rem;border-radius:15px}.collapsible-header{padding:.5rem .75rem}.collapsible-content-inner{padding:.75rem}.collapsible-title{font-size:.95rem}.collapsible-title-icon{font-size:.85rem}}
