: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,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(2.55rem,8.4vw,5.2rem);line-height:1;margin:0 0 15px;letter-spacing:-.084em}.hero em{font-style:normal;color:var(--purple)}.hero p{margin:0;color:var(--muted);font-size:1.05rem;line-height:1.5}
.studio{display:grid;grid-template-columns:minmax(0,1.28fr) 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:14px}.primary:hover:enabled{background:#4729a4}.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:225px;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:9px;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,.result video{display:block;width:100%;aspect-ratio:16/9;max-height:300px;border-radius:15px;object-fit:contain;background:var(--screen)}.unavailable{align-self:center;text-align:center;padding:15px}.file-info{display:grid;gap:4px;margin:12px 0 0;min-width:0}.file-info strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.88rem}.file-info span{font-size:.81rem;color:var(--muted)}
fieldset{border:0;padding:0;margin:0;min-width:0}fieldset:disabled{opacity:.58}legend,.format-row label,.format-row span{display:block;padding:0;margin:0 0 7px;font-size:.88rem;font-weight:700}.levels{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.levels label{position:relative}.levels input{position:absolute;opacity:0;inset:0;width:100%;height:100%;cursor:pointer;margin:0}.levels label span{display:grid;align-content:center;justify-items:center;gap:4px;min-height:58px;padding:4px 2px;border:1px solid var(--border);border-radius:9px;background:#fff;text-align:center}.levels strong{font-size:.79rem}.levels small{font-size:.72rem;color:var(--muted)}.levels input:checked+span{border:2px solid #6947d0;color:#4827a5;background:#efe8fd}.levels input:focus-visible+span{outline:3px solid #8962e4;outline-offset:2px}
.format-row{display:grid;grid-template-columns:1fr 1fr;gap:11px;margin-top:15px}.format-row select,.format-row output{display:flex;align-items:center;width:100%;min-width:0;min-height:42px;border:1px solid #dcd3e8;border-radius:9px;padding:6px 9px;background:#fff;color:var(--ink);font-size:.88rem;font-variant-numeric:tabular-nums}.format-row output{background:#faf8fc}
.status,.privacy{color:var(--muted);font-size:.84rem;line-height:1.4}.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{grid-column:1/-1;display:grid;grid-template-columns:1.28fr 1fr;gap:23px;align-items:center;border-top:1px solid var(--border)}.stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:13px 0}.stats div{padding:9px 7px;border:1px solid var(--border);border-radius:8px;background:#f8f5fb}.stats dt{font-size:.75rem;color:var(--muted)}.stats dd{font-size:.91rem;font-weight:750;margin:4px 0 0;font-variant-numeric:tabular-nums}.result video{max-height:211px}.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:700px){.shell{width:min(100% - 24px,1000px)}nav{height:58px}.hero{margin:35px 0 23px}.studio,.result{grid-template-columns:1fr}.studio{border-radius:17px}.studio section{padding:15px}.settings{border-left:0;border-top:1px solid var(--border)}.screen{min-height:193px}.settings h2{margin:2px 0 15px}.result{gap:13px}}
.audio-icon{display:grid;place-items:center;width:42px;height:40px;border:1px solid #79688e;border-radius:10px;color:var(--mint);font-size:24px}.loaded{align-self:center;min-width:0;display:grid;gap:8px;padding:17px}.loaded strong,.audio-result strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.9rem}.loaded span,.loaded p{font-size:.82rem;color:#e2d9ef;margin:0}.loaded audio,.audio-result audio{display:block;width:100%;height:42px;margin:3px 0}.hint{font-size:.83rem;color:var(--muted);margin:8px 0 0;line-height:1.4}.audio-result{display:grid;gap:5px;border:1px solid var(--border);border-radius:11px;background:#fff;padding:10px;margin-top:10px}.audio-result span{font-size:.8rem;color:var(--muted)}
