:root{color-scheme:light;--paper:#f8f7f4;--ink:#251b39;--muted:#61586e;--border:#e4ddec;--purple:#5434b9;--mint:#dfff92;--screen:#241936;font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);background:var(--paper)}
*{box-sizing:border-box}body{margin:0}[hidden]{display:none!important}button,input,select{font:inherit}button{cursor:pointer}button:disabled{cursor:default;opacity:.55}a{color:inherit}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #8962e4;outline-offset:3px}.shell{width:min(100% - 40px,1000px);margin-inline:auto}
header{background:#fff;border-bottom:1px solid var(--border)}nav{height:67px;display:flex;align-items:center;justify-content:space-between}.brand{display:flex;align-items:center;gap:10px;font-size:1.16rem;font-weight:800;letter-spacing:-.045em;text-decoration:none}.logo{display:flex;align-items:center;justify-content:center;gap:3px;width:34px;height:34px;border-radius:10px;background:#5b3bc5}.logo i{height:10px;width:3px;background:#fff;border-radius:5px}.logo i:nth-child(2){height:18px}.logo i:nth-child(3){height:14px}.related{font-size:.88rem;font-weight:700;color:var(--purple);text-decoration:none}.related:hover{text-decoration:underline}
.hero{text-align:center;margin:49px 0 31px}.hero h1{font-size:clamp(3.1rem,9vw,5.5rem);line-height:1;margin:0 0 15px;letter-spacing:-.087em}.hero em{font-style:normal;color:var(--purple)}.hero p{margin:0;color:var(--muted);font-size:1.05rem}
.studio{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(0,1fr);border:1px solid var(--border);border-radius:24px;overflow:hidden;background:#fff;box-shadow:0 14px 45px #251b3911}.studio section{padding:23px;min-width:0}.studio h2{margin:0;font-size:1.17rem;letter-spacing:-.026em}.panel-head{min-height:37px;display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:6px}.settings{background:#f3eff8;border-left:1px solid var(--border)}.settings h2{margin:6px 0 19px}.button{min-height:43px;display:inline-flex;align-items:center;justify-content:center;padding:8px 13px;border:1px solid transparent;border-radius:10px;font-weight:750;font-size:.9rem;text-decoration:none}.mint{background:var(--mint);color:var(--screen)}.mint:hover{background:#d1fa75}.primary{background:var(--purple);color:#fff;width:100%;margin-top:8px}.primary:hover:enabled{background:#4729a4}.outline{background:#fff;border-color:var(--border);color:var(--purple)}.outline:hover:enabled{background:#f4edff}.text-button{border:0;background:none;min-height:37px;color:var(--purple);padding:0 4px;text-decoration:underline;text-underline-offset:3px;font-size:.87rem;font-weight:700;white-space:nowrap}
.screen{min-height:238px;display:grid;background:var(--screen);border-radius:15px;color:white}.screen.dragging{outline:3px solid #9f81eb;outline-offset:2px}.placeholder{display:grid;align-content:center;justify-items:center;gap:10px;text-align:center;padding:14px;margin:9px;border:1px dashed #806e91;border-radius:10px}.placeholder strong{font-size:1.19rem}.placeholder span:not(.film),.unavailable{color:#e2d9ef;font-size:.85rem}.film{display:grid;place-items:center;width:50px;height:39px;border:2px solid var(--mint);border-radius:8px}.film i{width:0;height:0;margin-left:3px;border-block:7px solid transparent;border-left:11px solid var(--mint)}.screen video{width:100%;height:100%;max-height:340px;aspect-ratio:16/9;border-radius:15px;object-fit:contain}.unavailable{align-self:center;text-align:center;padding:15px}.file-info{display:flex;align-items:center;justify-content:space-between;gap:9px;margin:12px 0}.file-info strong,.result strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.87rem}.file-info span,.result span{white-space:nowrap;font-size:.8rem;color:var(--muted)}
.timeline{margin-top:12px}.rail{height:15px;border-radius:4px;background:#e8e0f2;position:relative}.rail span:first-child{position:absolute;height:100%;border-radius:4px;background:#704ed3}.rail span:last-child{position:absolute;top:-3px;height:21px;width:2px;background:#332050}.timeline-labels{display:flex;justify-content:space-between;margin:4px 0 9px;color:var(--muted);font-size:.82rem}
.range-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.field{display:block;margin-bottom:6px;font-size:.88rem;font-weight:700}.field span{display:block;font-size:.75rem;font-weight:500;color:var(--muted)}input[type=number],select{min-width:0;width:100%;min-height:42px;border:1px solid #dcd3e8;border-radius:9px;padding:6px 9px;background:#fff;color:var(--ink);font-variant-numeric:tabular-nums}input[type=range]{display:block;width:100%;height:30px;margin:2px 0 0;accent-color:var(--purple)}.length{display:flex;justify-content:space-between;gap:8px;border-block:1px solid #ded5e9;padding:9px 0;margin:8px 0 16px;font-size:.9rem}.length output{font-weight:750;font-variant-numeric:tabular-nums}.hint,.status,.privacy{color:var(--muted);font-size:.83rem;line-height:1.4}.hint{margin:8px 0 2px}.status{margin:9px 0 0}.status:empty{display:none}.status[data-error=true]{color:#8b2045}.progress{display:flex;gap:8px;align-items:center;margin-top:5px}.progress progress{width:100%;min-width:0;accent-color:var(--purple)}.result{display:grid;gap:5px;border:1px solid var(--border);border-radius:11px;background:#fff;padding:11px;margin-top:10px}.result .button{margin-top:4px}.privacy,footer{text-align:center;margin:15px 0}.privacy{margin-bottom:22px}footer{font-size:.79rem;color:var(--muted);padding-bottom:10px}
@media(max-width:680px){.shell{width:min(100% - 24px,1000px)}nav{height:58px}.hero{margin:36px 0 24px}.studio{grid-template-columns:1fr;border-radius:17px}.studio section{padding:15px}.settings{border-left:0;border-top:1px solid var(--border)}.screen{min-height:194px}.settings h2{margin:2px 0 15px}}

.result video{display:block;width:100%;max-height:185px;margin:3px 0;border-radius:8px;background:var(--screen)}
