:root{font-family:system-ui,-apple-system,Arial,sans-serif;color:#f2f4fb;background:#0b0e14;font-synthesis:none;--pink:#ff4b6e;--gray:#9aa1b0}*{box-sizing:border-box}body{margin:0;background:radial-gradient(ellipse at 20% 0,#22263a,#0d0f16 50%);min-height:100vh}button,input,select{font:inherit}button{cursor:pointer}header{height:78px;border-bottom:1px solid #2f3240;display:flex;align-items:center;justify-content:space-between;padding:0 24px;max-width:1360px;margin:auto}header .brand{display:flex;align-items:center;gap:12px}.mark{font-size:25px;font-style:italic;font-weight:1000;background:linear-gradient(120deg,#ff3753,#cc2963);padding:6px 10px;border-radius:11px}.brand strong{font-size:19px;letter-spacing:.5px}.brand i{font-style:normal;color:#ff5d7c}.brand small{display:block;letter-spacing:2px;color:#8f96ac;font-size:9px;margin-top:3px}.header-right{display:flex;align-items:center;gap:12px}.local{font-size:10px;border:1px solid #25604c;border-radius:50px;color:#64e9ad;padding:8px 10px;background:#134d2d2a}main{max-width:1300px;margin:auto;display:grid;grid-template-columns:minmax(0,1fr) 370px;gap:22px;padding:26px 20px}.sect-head,.timeline-title{display:flex;align-items:center;justify-content:space-between;color:#a8b0c2;font-weight:800;letter-spacing:1px;font-size:11px;margin-bottom:13px}.sect-head b{color:#ff6c84}.sect-head #quality{font-size:10px;color:#818b9d}.screen-bg{padding:18px 16px 10px;border:1px solid #323543;background:#161923;border-radius:15px;display:flex;flex-direction:column;align-items:center}.screen{width:min(100%,290px);aspect-ratio:9/16;border-radius:8px;background:#0b0e17;box-shadow:0 14px 35px #000a;overflow:hidden;touch-action:none;outline:1px solid #44495c}.screen canvas{width:100%;height:100%;display:block;touch-action:none}.under-screen{display:flex;align-self:stretch;justify-content:space-between;gap:10px;font-size:10px;color:#98a2b7;margin-top:12px}.under-screen span{color:#ddd;white-space:nowrap}.transport{display:flex;align-items:center;justify-content:center;gap:18px;padding:13px 0}.transport button{border:0;background:none;color:#bfc6d4;font-size:15px}.transport .big-play{background:linear-gradient(135deg,#ff4a66,#d43160);width:48px;height:48px;border-radius:50%;color:white;font-size:20px;box-shadow:0 4px 14px #fa35654d}.transport #counter{color:#d1d8e5;font-size:12px;font-variant-numeric:tabular-nums;margin-left:4px}#scrub{width:100%;accent-color:#ff4968;margin-bottom:22px}.timeline-title{margin:0 0 11px}#timeline{background:#171b26;border:1px solid #353a4a;border-radius:10px;min-height:120px;padding:12px 12px 10px 28px;position:relative;overflow:hidden}.ruler{display:flex;justify-content:space-between;color:#939bae;font-size:10px;height:24px}.track{border:1px solid #6881a4;color:#d8ebf9;background:linear-gradient(100deg,#3c6787,#53557e);height:28px;border-radius:5px;margin-bottom:8px;padding:5px 7px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;font-size:11px}.element-track{height:22px;margin-bottom:5px;position:relative}.element-chip{height:20px;position:absolute;border-radius:4px;border:1px solid #bc7aa2;background:#814c74;color:white;font-size:10px;padding:2px 5px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.element-chip.shape{border-color:#e67980;background:#8d4656}.element-chip.audio{border-color:#57d4a8;background:#236e56}.element-chip.selected{outline:2px solid white;outline-offset:1px}#head{pointer-events:none;position:absolute;top:14px;bottom:0;width:2px;background:#ffdf57;box-shadow:0 0 8px #ffda4a;left:28px}#head:before{content:"";position:absolute;top:-6px;left:-5px;width:12px;height:12px;background:#ffdf57;clip-path:polygon(0 0,100% 0,50% 100%)}.footnote,.note{color:#9da5b6;font-size:11px;line-height:1.6}.footnote{padding:0 5px}.sidebar{border:1px solid #343744;background:#171a25;border-radius:14px;overflow:hidden;min-height:580px;align-self:start}.sidebar nav{display:grid;grid-template-columns:repeat(3,1fr);padding:5px 7px 0;border-bottom:1px solid #373948;gap:4px}.tab{background:transparent;color:#9ba3b6;border:0;border-bottom:2px solid transparent;padding:13px 3px;font-weight:700;font-size:12px}.tab.active{color:white;border-bottom-color:#ff4a6b}.tabpage{display:none;padding:18px 16px}.tabpage.active{display:block}.block{margin-bottom:25px}.block h3,.editor-heading h3{font-size:11px;letter-spacing:1px;margin:0 0 13px}.upload{border:1px dashed #585c6e;background:#252835;border-radius:10px;padding:17px 8px;display:flex;align-items:center;flex-direction:column;gap:5px;text-align:center;cursor:pointer}.upload span{font-size:27px;color:#d4d8e0}.upload b{font-size:12px}.upload small{font-size:10px;color:#9ca3b4}.toolgrid{display:grid;grid-template-columns:repeat(3,1fr);gap:7px}.toolgrid button,.toolgrid label{color:#eef0f6;background:#242733;border:1px solid #3b4050;min-height:105px;border-radius:9px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:5px;padding:10px 3px;text-align:center}.toolgrid button:hover,.toolgrid label:hover{border-color:#ef5472}.toolgrid span{font-weight:900;font-size:27px;display:grid;place-items:center;height:39px}.toolgrid b{font-size:11px}.toolgrid small{font-size:9px;color:#99a0b2}.red{color:#fc3f55}.yellow{color:#ffda4e}.green{color:#54edb8}.drawn-circle{width:45px;height:24px;border-radius:50%;border:4px solid #ff3e55;transform:rotate(-27deg);margin:8px 0}.round-circle{width:33px;height:33px;border:4px solid #ff3e55;border-radius:50%;margin:3px 0}.arrow-icon{transform:rotate(135deg)}.presets{display:flex;gap:7px;flex-wrap:wrap}.presets button{background:#292d3a;border:1px solid #41485d;border-radius:30px;color:white;font-size:11px;font-weight:800;padding:9px}.presets b{color:#ffce59}.empty{text-align:center;margin:60px 8px;font-size:30px;color:#ff708a}.empty b{font-size:16px;color:#f2f4f7}.empty p{font-size:12px;color:#9da4b4;line-height:1.5}.editor-heading{display:flex;align-items:center;justify-content:space-between}.danger{background:transparent;border:none;color:#ff7b8e;font-size:12px}.tabpage label:not(.file-button){font-size:11px;color:#b5bed0;font-weight:700;display:flex;flex-direction:column;gap:8px;margin:13px 0}.tabpage input:not([type=range]):not([type=color]),.tabpage select{padding:11px;border-radius:8px;border:1px solid #485064;background:#272b37;color:white;width:100%;min-width:0}.tabpage input[type=range]{width:100%;accent-color:#fc5577}.tabpage input[type=color]{height:42px;width:100%;border-radius:8px;background:#272b37;border:1px solid #485064}.cols{display:grid;grid-template-columns:1fr 1fr;gap:12px}.outline,.primary,.file-button{border:1px solid #4c5060;border-radius:9px;padding:11px;background:#2a2d3a;color:white;font-weight:700;font-size:12px;text-align:center}.primary{background:linear-gradient(135deg,#f74b6e,#d63762);border:none}.wide{display:block;width:100%;margin-top:10px}.two-actions{display:flex;gap:8px;margin-top:16px}.two-actions button{flex:1}.file-button{display:block;margin-top:10px!important;cursor:pointer}.message{margin-top:14px;border:1px solid #40465b;background:#242836;border-radius:9px;padding:12px;color:#b7c0d1;line-height:1.5;font-size:11px;overflow-wrap:anywhere}.toast{position:fixed;bottom:20px;left:50%;transform:translate(-50%,20px);opacity:0;transition:.2s;background:#303548;color:white;z-index:10;border-radius:9px;padding:12px 16px;font-size:12px;text-align:center;max-width:90vw;pointer-events:none}.toast.show{opacity:1;transform:translate(-50%,0)}footer{text-align:center;padding:15px 0 30px;font-size:10px;color:#7c8498}dialog{background:#202430;color:white;max-width:460px;width:90%;border:1px solid #51576b;border-radius:14px;line-height:1.6;padding:20px}dialog::backdrop{background:#0009}dialog p{font-size:13px}.modal-top{display:flex;justify-content:space-between;align-items:center}.modal-top button{background:none;border:0;color:white;font-size:20px}@media(max-width:860px){main{grid-template-columns:1fr;max-width:600px}.sidebar{min-height:460px}.screen{width:min(100%,280px)}}@media(max-width:420px){main{padding:16px 11px;gap:15px}header{height:70px;padding:0 12px}.brand strong{font-size:16px}.mark{font-size:23px}.local{font-size:9px;padding:7px}.screen{width:min(100%,250px)}.screen-bg{padding:12px 9px 10px}.tabpage{padding:14px}.toolgrid{gap:6px}.toolgrid button,.toolgrid label{min-height:95px}}
