.motion-tool-page{--mt-accent:#ff7938;--mt-green:#65d89a;--mt-danger:#ff766b;--mt-bg:#070908;--mt-panel:#101412;--mt-panel-2:#151b18;--mt-line:#303a35;--mt-text:#f5f7f6;--mt-muted:#b5bfba;background:var(--mt-bg);color:var(--mt-text)}.motion-tool-page .mt-wrap{width:min(1180px,calc(100% - 32px));margin:auto;padding:56px 0 90px}.motion-tool-page .mt-hero{max-width:800px;margin:0 auto 34px;text-align:center}.motion-tool-page .mt-hero h1{max-width:760px;margin:8px auto 16px;font-size:clamp(2.5rem,6vw,4.7rem);line-height:1.02;letter-spacing:-.045em}.motion-tool-page .mt-hero p{max-width:720px;margin:auto;color:var(--mt-muted);font-size:1rem;line-height:1.65}.motion-tool-page .mt-kicker{color:var(--mt-accent);font-size:.75rem;font-weight:800;letter-spacing:.14em;text-transform:uppercase}.motion-tool-page .mt-grid{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:20px;align-items:start}.motion-tool-page .mt-card{min-width:0;border:1px solid var(--mt-line);border-radius:16px;background:var(--mt-panel);padding:24px;box-shadow:0 24px 80px #00000038}.motion-tool-page .mt-card h2{margin:0 0 16px;font-size:clamp(1.35rem,3vw,2rem);line-height:1.05}.motion-tool-page .mt-card p,.motion-tool-page .mt-card li{color:var(--mt-muted);line-height:1.55}.motion-tool-page .mt-drop{min-height:230px;border:1px dashed #66736d;border-radius:13px;background:#0b0f0d;display:grid;place-items:center;padding:24px;text-align:center;cursor:pointer;transition:border-color .2s,background .2s,transform .2s}.motion-tool-page .mt-drop:hover,.motion-tool-page .mt-drop.is-over{border-color:var(--mt-accent);background:#ff79380a;transform:translateY(-1px)}.motion-tool-page .mt-drop strong{display:block;margin-bottom:7px;font-size:1.05rem}.motion-tool-page .mt-drop span{display:block;color:var(--mt-muted);font-size:.88rem}.motion-tool-page .mt-drop:before{content:"+";display:grid;place-items:center;width:48px;height:48px;margin:0 auto 14px;border:1px solid var(--mt-line);border-radius:12px;color:var(--mt-accent);font-size:1.5rem}.motion-tool-page .mt-filebar{display:flex;gap:12px;align-items:center;margin:0 0 14px;padding:12px;border:1px solid var(--mt-line);border-radius:12px;background:var(--mt-panel-2)}.motion-tool-page .mt-filebar[hidden]{display:none}.motion-tool-page .mt-fileicon{display:grid;place-items:center;flex:0 0 42px;height:42px;border-radius:10px;background:#ff793817;color:var(--mt-accent);font-weight:800;font-size:.72rem}.motion-tool-page .mt-filecopy{min-width:0;flex:1}.motion-tool-page .mt-filecopy strong,.motion-tool-page .mt-filecopy span{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.motion-tool-page .mt-filecopy span{color:var(--mt-muted);font-size:.78rem;margin-top:3px}.motion-tool-page .mt-file-actions{display:flex;gap:6px}.motion-tool-page .mt-btn{min-height:42px;border:1px solid #56625c;border-radius:9px;background:#19201d;color:#fff;padding:10px 15px;font:800 .78rem/1 inherit;letter-spacing:.03em;cursor:pointer;transition:transform .15s,background .15s,border-color .15s}.motion-tool-page .mt-btn:hover:not(:disabled){transform:translateY(-1px);border-color:#8b9992}.motion-tool-page .mt-btn.primary{background:var(--mt-accent);border-color:var(--mt-accent);color:#170d08}.motion-tool-page .mt-btn.subtle{min-height:34px;padding:7px 9px;background:transparent}.motion-tool-page .mt-btn.danger{color:#ffaaa3}.motion-tool-page .mt-btn:disabled{opacity:.38;cursor:not-allowed}.motion-tool-page .mt-actions{display:flex;flex-wrap:wrap;gap:9px;margin-top:16px}.motion-tool-page input,.motion-tool-page select,.motion-tool-page textarea{width:100%;box-sizing:border-box;border:1px solid var(--mt-line);border-radius:8px;background:#090d0b;color:#fff;padding:11px;font:inherit}.motion-tool-page input:focus,.motion-tool-page select:focus,.motion-tool-page textarea:focus{outline:2px solid #ff793855;outline-offset:1px}.motion-tool-page textarea{min-height:150px;resize:vertical}.motion-tool-page label{display:grid;gap:7px;color:var(--mt-muted);font-size:.76rem;font-weight:800}.motion-tool-page .mt-fields{display:grid;grid-template-columns:1fr 1fr;gap:11px}.motion-tool-page .mt-status{min-height:1.4em;margin:13px 0 0;color:var(--mt-muted);font-size:.88rem}.motion-tool-page .mt-status.ok{color:var(--mt-green)}.motion-tool-page .mt-status.error{color:#ff9b92}.motion-tool-page .mt-progress-wrap{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;margin-top:10px}.motion-tool-page .mt-progress-wrap[hidden]{display:none}.motion-tool-page .mt-progress{height:7px;border-radius:99px;background:#26302b;overflow:hidden}.motion-tool-page .mt-progress span{display:block;width:0;height:100%;background:var(--mt-accent);transition:width .18s}.motion-tool-page .mt-cancel{border:0;background:transparent;color:#ffaaa3;font:700 .75rem/1 inherit;cursor:pointer}.motion-tool-page .mt-cancel:hover{text-decoration:underline}.motion-tool-page .mt-preview{position:relative;display:grid;place-items:center;min-height:280px;margin-top:16px;border:1px solid var(--mt-line);border-radius:12px;overflow:hidden;background:repeating-conic-gradient(#1b211e 0 25%,#101412 0 50%) 50%/22px 22px}.motion-tool-page [data-stage]{width:100%;height:100%;min-height:280px;display:grid;place-items:center}.motion-tool-page [data-stage] canvas,.motion-tool-page [data-stage] svg{max-width:100%;max-height:480px}.motion-tool-page .mt-output{margin-top:18px}.motion-tool-page .mt-output[hidden]{display:none}.motion-tool-page .mt-canvas{display:block;width:100%;max-height:520px;object-fit:contain;border:1px solid var(--mt-line);border-radius:10px;background:repeating-conic-gradient(#1b211e 0 25%,#101412 0 50%) 50%/22px 22px}.motion-tool-page .mt-count{font-weight:800;color:#fff}.motion-tool-page .mt-list{display:grid;gap:8px}.motion-tool-page .mt-list>div{padding:11px 12px;border:1px solid var(--mt-line);border-radius:9px;color:var(--mt-muted);font-size:.88rem}.motion-tool-page .mt-list .pass{border-color:#316a4b;color:#9ee8bc}.motion-tool-page .mt-list .warn{border-color:#785f38;color:#ffd295}.motion-tool-page .mt-list .fail{border-color:#77433f;color:#ffada6}.motion-tool-page .mt-score{font-size:clamp(2.4rem,7vw,4rem);line-height:1;font-weight:800;color:var(--mt-accent);margin-bottom:14px}.motion-tool-page .mt-frame-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(105px,1fr));gap:10px;margin-top:15px}.motion-tool-page .mt-frame{position:relative;border:1px solid var(--mt-line);border-radius:9px;overflow:hidden;background:#0a0d0c}.motion-tool-page .mt-frame canvas{display:block;width:100%;aspect-ratio:1;object-fit:contain;background:repeating-conic-gradient(#1b211e 0 25%,#101412 0 50%) 50%/16px 16px}.motion-tool-page .mt-frame span{display:block;padding:6px 8px;color:var(--mt-muted);font-size:.7rem}.motion-tool-page .mt-code{white-space:pre-wrap;word-break:break-word;background:#080b09;border:1px solid var(--mt-line);border-radius:9px;padding:12px;color:#b6e7d0;font:12px/1.5 monospace}.motion-tool-page .mt-note{padding:12px;border-left:3px solid var(--mt-accent);background:#ff79380b;color:var(--mt-muted);font-size:.84rem}.motion-tool-page .mt-frame{padding:0;text-align:left;color:inherit;cursor:pointer}.motion-tool-page .mt-frame:hover,.motion-tool-page .mt-frame:focus-visible{border-color:var(--mt-accent);outline:none}.motion-tool-page .mt-list small{display:block;margin-top:4px;color:#9aa59f}.motion-tool-page .mt-video-output{padding:16px;border:1px solid var(--mt-line);border-radius:12px;background:#0b0f0d}.motion-tool-page .mt-video-output h2{margin:0 0 12px;font-size:1.2rem}.motion-tool-page .mt-video-output video{display:block;width:100%;max-height:480px;background:#050505;border-radius:9px}.motion-tool-page .mt-result-row{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:12px;color:var(--mt-muted)}.motion-tool-page .mt-section{max-width:820px;margin:42px auto 0}.motion-tool-page .mt-section h2{font-size:clamp(1.5rem,3vw,2.25rem);line-height:1.08;margin:28px 0 12px}.motion-tool-page .mt-section p,.motion-tool-page .mt-section li{color:var(--mt-muted);line-height:1.72}.motion-tool-page .mt-faq details{border-top:1px solid var(--mt-line);padding:14px 0}.motion-tool-page .mt-faq summary{cursor:pointer;font-weight:800}@media (max-width:820px){.motion-tool-page .mt-wrap{width:min(100% - 24px,720px);padding-top:34px}.motion-tool-page .mt-grid{grid-template-columns:1fr}.motion-tool-page .mt-grid aside{order:-1}.motion-tool-page .mt-hero h1{font-size:clamp(2.35rem,12vw,4rem)}.motion-tool-page .mt-card{padding:17px}.motion-tool-page .mt-drop{min-height:190px}.motion-tool-page .mt-fields{grid-template-columns:1fr 1fr}}@media (max-width:480px){.motion-tool-page .mt-fields{grid-template-columns:1fr}.motion-tool-page .mt-actions .mt-btn{width:100%}.motion-tool-page .mt-filebar{align-items:flex-start}.motion-tool-page .mt-file-actions{flex-direction:column}.motion-tool-page .mt-preview,[data-stage]{min-height:220px}.motion-tool-page .mt-frame-grid{grid-template-columns:repeat(2,1fr)}.motion-tool-page .mt-result-row{align-items:stretch;flex-direction:column}.motion-tool-page .mt-result-row .mt-btn{text-align:center}}
