:root{font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#20273a;background:#f6f8fc;font-size:13px;font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.4}[tabindex]:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #6d8af5;outline-offset:2px}h1,h2,p{margin:0}h2{font-size:15px;letter-spacing:-.25px}a{color:inherit;text-decoration:none}[hidden]{display:none!important}.skip{position:absolute;z-index:100;left:8px;top:-100px;padding:12px;background:#fff}.skip:focus{top:8px}.topbar{height:67px;background:rgba(255,255,255,.97);display:flex;align-items:center;padding:0 23px;gap:18px;border-bottom:1px solid #e6eaf2;box-shadow:0 3px 18px #1d315005;position:relative;z-index:5}.brand{display:flex;align-items:center;gap:9px;font-size:17px;font-weight:760;letter-spacing:-.7px}.brand-icon{color:#fff;background:#171b2e;width:32px;height:32px;display:grid;place-items:center;border-radius:11px;font-size:19px}.divider-v{height:26px;width:1px;background:#e6e9ee}.product{font-weight:550;font-size:15px}.product b{font-weight:780}.product small{display:block;color:#929aae;font-size:10px;margin-top:2px;letter-spacing:.25px}.privacy{margin-left:auto;color:#687588;font-size:11px;white-space:nowrap}.privacy-dot{display:inline-block;background:#38bd9a;width:7px;height:7px;border-radius:50%;margin-right:5px}.topactions{display:flex;gap:8px;align-items:center}.btn{border:1px solid transparent;border-radius:10px;padding:10px 13px;font-size:12px;font-weight:670;display:inline-flex;align-items:center;justify-content:center;gap:6px;white-space:nowrap;min-height:36px;transition:background .15s,border-color .15s}.btn.primary{background:#545ee9;color:#fff;box-shadow:0 4px 10px #535de828}.btn.primary:hover{background:#404bd6}.btn.outline{background:#fff;border-color:#dbe0ec;color:#414d67}.btn.light:hover,.btn.outline:hover{background:#f0f3fb}.btn.light{background:#f4f6fa;color:#556177}.btn.small{min-height:29px;padding:6px 10px}.btn.block{display:flex;width:100%;margin-top:10px}.app-layout{display:grid;grid-template-columns:254px minmax(390px,1fr) 270px;height:calc(100dvh - 67px);min-height:615px}.sidebar{background:#fff;overflow-y:auto;min-width:0}.sidebar.left{border-right:1px solid #e9ecf3}.sidebar.right{border-left:1px solid #e9ecf3;padding:25px 18px}.side-section{padding:23px 16px;border-bottom:1px solid #edf0f5}.eyebrow{color:#8e97a9;font-size:10px;font-weight:760;letter-spacing:1.45px;margin-bottom:9px}.mini-label{display:block;color:#788297;font-size:11px;margin-bottom:5px}.right input[type=text],.right textarea,.side-section input[type=text],.side-section>input{width:100%}.dialog select,.right input:not([type=color]):not([type=range]),.right select,.right textarea,.side-section input:not([type=color]):not([type=checkbox]),.side-section select{border:1px solid #dce2ef;border-radius:8px;background:#fff;padding:9px 10px;outline-color:#6271f2;color:#27354b;width:100%}.two-fields{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-top:11px}.dialog .two-fields label,.right label,.two-fields label{font-size:11px;color:#687389;display:block;min-width:0}.two-fields input,.two-fields select{margin-top:5px}.two-fields small{font-size:10px;color:#909bad}.color-label{display:flex!important;align-items:center;justify-content:space-between;margin-top:12px;color:#69768a;gap:10px}.color-label input{height:33px;width:54px;background:#fff;padding:3px;border-radius:8px;border:1px solid #dfe4ed}.section-head{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-bottom:14px}.pill{border-radius:20px;background:#f1f3fa;color:#778198;font-size:10px;font-weight:680;padding:5px 9px;white-space:nowrap}.counter{font-size:10px;color:#9ca6b6}.tool-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px}.tool-button{border:1px solid #e4e8f0;background:#fcfdff;border-radius:11px;min-height:81px;color:#68758b;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;font-size:11px}.tool-button:hover{border-color:#7687ef;background:#f6f7ff;color:#414de5}.tool-glyph{font-size:28px;line-height:1;color:#5c67e7}.layer-list{display:flex;flex-direction:column;gap:7px;max-height:300px;overflow-y:auto}.layer-row{display:flex;align-items:center;gap:8px;border:1px solid #e6eaf2;border-radius:9px;padding:9px 7px;background:#fff;width:100%;text-align:left}.layer-row.selected{border-color:#6975ee;background:#f3f4ff}.layer-thumb{width:29px;height:29px;background:#eff2fc;border-radius:7px;display:grid;place-items:center;font-size:19px;color:#505ce0;flex-shrink:0}.layer-row .name{font-weight:660;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;font-size:11px}.layer-row .detail{color:#9da6b8;font-size:10px;display:block;margin-top:3px}.layer-row .layer-title{flex:1;min-width:0;cursor:pointer}.layer-mini{border:0;background:0 0;padding:5px;color:#8994a5;font-size:13px}.layer-mini.off{color:#bdc5d0}.layer-actions{display:grid;grid-template-columns:repeat(4,1fr);gap:6px;margin-top:10px}.layer-actions button{background:#f6f7fb;border:1px solid #e3e8f0;border-radius:8px;height:30px;color:#596478}.hint{color:#9aa4b4;font-size:11px;line-height:1.55;margin-top:11px}.preset-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}.preset-grid button{background:#f7f8fc;border:1px solid #e5e9f0;border-radius:9px;padding:10px 4px;color:#5d6980;font-weight:600;font-size:11px}.preset-grid button:hover{border-color:#8a96f5;background:#f0f1ff}.center{min-width:0;display:flex;flex-direction:column;overflow:hidden}.workspace-bar{padding:22px 26px 17px;display:flex;align-items:center;justify-content:space-between;gap:16px}.workspace-bar h1{font-size:26px;letter-spacing:-1px;line-height:1.16}.accent-dot{color:#616bef}.view-actions{display:flex;align-items:center;gap:13px;flex-wrap:wrap}.check-label{font-size:11px;color:#788396;white-space:nowrap}.check-label input{accent-color:#626cf0;vertical-align:-2px}.stage-area{flex:1;display:flex;flex-direction:column;min-height:190px;padding:0 26px 9px}.stage-scroll{background:radial-gradient(circle at center,#edf0f7 0,#e8ebf4 100%);background-image:radial-gradient(#cbd2e2 .8px,transparent .8px);background-size:17px 17px;border-radius:15px;flex:1;min-height:160px;display:flex;align-items:center;justify-content:center;overflow:auto;padding:17px}.stage-wrap{position:relative;box-shadow:0 14px 45px #28344e2b;background:#fff;max-height:100%;max-width:100%;line-height:0;flex-shrink:0}.stage-wrap canvas{width:100%;height:100%;display:block;touch-action:none;cursor:grab}.stage-wrap canvas:active{cursor:grabbing}.canvas-tag{position:absolute;bottom:9px;left:9px;font-size:9px;line-height:1;background:#141a2cb8;padding:6px 8px;color:#fff;border-radius:5px;letter-spacing:.7px}.stage-stats{display:flex;justify-content:space-between;padding:9px 4px;font-size:10px;color:#98a2b3}.transport{display:flex;align-items:center;justify-content:space-between;gap:10px;background:#fff;border-block:1px solid #e8ecf3;padding:12px 25px}.transport-controls{display:flex;align-items:center;gap:8px}.transport-controls button{border:0;background:#f3f5fa;color:#52617a;border-radius:9px;width:30px;height:30px}.transport-controls .play{background:#545ee9;color:#fff;border-radius:10px;width:38px;height:38px}.transport-controls .loop{width:auto;padding:0 12px;font-size:11px}.transport-controls .loop.active{color:#545ee9;background:#eff0ff}.timebox{display:flex;align-items:center;gap:8px;color:#94a0b0;font-size:12px;white-space:nowrap}.timebox strong{font-size:16px;color:#29334a;font-variant-numeric:tabular-nums}.transport-extra{display:flex;align-items:center;gap:14px}.transport-extra label{font-size:10px;color:#8693a5;display:flex;align-items:center;gap:8px}.transport-extra input{width:94px;accent-color:#646ff1}.timeline-panel{background:#fff;display:flex;flex-direction:column;min-height:250px;height:32%;max-height:380px;padding:16px 23px}.timeline-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:13px}.timeline-heading p{color:#a0a9b6;margin-top:4px;font-size:10px}.timeline-tools{display:flex;align-items:center;gap:6px}.timeline-scroll{flex:1;border:1px solid #e6eaf1;border-radius:8px;overflow:auto;position:relative;background:#fff}.timeline-inner{position:relative;min-width:100%;padding-bottom:5px}.ruler-row,.track-row{display:flex;min-height:39px;border-bottom:1px solid #edf0f5}.ruler-label,.track-label{width:136px;flex:0 0 136px;background:#fafbfe;border-right:1px solid #e8ebf2;position:sticky;left:0;z-index:3;padding:12px 10px;color:#8994a7;font-size:10px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ruler-label{font-size:9px;letter-spacing:1px}.ruler,.track-line{position:relative;flex:1;min-width:480px;background-image:linear-gradient(90deg,#eff1f7 1px,transparent 1px);background-size:40px 100%}.ruler{cursor:crosshair;background-color:#fafbfd}.tick{position:absolute;top:0;bottom:0;border-left:1px solid #dfe4f0;font-size:9px;color:#919cb1;padding:6px 4px;pointer-events:none}.track-line{background-color:#fff;cursor:crosshair}.track-row.active .track-label{color:#4a55d7;font-weight:750;background:#f3f3ff}.track-row.active .track-line{background-color:#fafaff}.keyframe{position:absolute;top:11px;width:15px;height:15px;transform:translateX(-50%) rotate(45deg);background:#7d86ed;border:2px solid #fff;box-shadow:0 0 0 1px #afb8ee;border-radius:2px;cursor:grab;z-index:2}.keyframe.current{background:#f39b58;box-shadow:0 0 0 2px #f3ba89}.keyframe:focus-visible{outline:3px solid #4654d9}.playhead{position:absolute;z-index:2;top:0;bottom:0;width:2px;background:#f47f53;pointer-events:none;left:136px}.playhead:before{content:'';position:absolute;top:0;left:-5px;border-left:6px solid transparent;border-right:6px solid transparent;border-top:9px solid #f47f53}.timeline-footer{display:flex;justify-content:space-between;color:#9ba5b7;font-size:10px;padding-top:9px}.right-scroll{max-width:100%}.right .section-head{margin-bottom:20px}.empty-inspector{border:1px dashed #dbe2ef;background:#fbfcff;padding:35px 14px;text-align:center;border-radius:12px;display:flex;flex-direction:column;align-items:center;gap:10px}.empty-inspector strong{font-size:13px}.empty-inspector span{color:#9da8b8;font-size:11px;line-height:1.55}.empty-icon{font-size:28px;color:#7583dd;background:#f1f3ff;width:60px;height:60px;border-radius:20px;display:grid;place-items:center}.right #inspector>label{display:block;margin-bottom:13px}.right #inspector>label input,.right #inspector>label select,.right textarea{margin-top:7px}.right .two-fields{margin-bottom:14px}.section-divider{border-bottom:1px solid #ecf0f4;color:#9ba4b4;letter-spacing:1.1px;font-size:9px;font-weight:750;padding:13px 0 9px;margin:0 0 14px}.range-label{display:flex!important;justify-content:space-between;margin-top:16px}.right input[type=range]{width:100%;margin-bottom:9px;accent-color:#5865ef}.right .color-label input{margin-top:0!important}.key-info{background:#f4f6fc;border-radius:8px;color:#77849b;font-size:11px;padding:11px;margin-top:13px}.inspector-footer{margin-top:27px;display:flex;gap:10px;background:#f5f7fc;border:1px solid #e9eef5;border-radius:12px;padding:13px 10px;color:#93a0b0;font-size:10px;line-height:1.6}.inspector-footer b{color:#5c657a}.help-icon{font-weight:750;color:#616aee;border:1px solid #c4c9fb;border-radius:50%;width:20px;height:20px;display:grid;place-items:center;flex-shrink:0}.toast{position:fixed;bottom:22px;left:50%;transform:translateX(-50%) translateY(30px);opacity:0;pointer-events:none;transition:.2s;background:#202940;color:#fff;box-shadow:0 15px 35px #20294030;border-radius:10px;padding:12px 16px;font-size:12px;z-index:30;max-width:min(90vw,600px)}.toast.show{transform:translateX(-50%) translateY(0);opacity:1}.toast.error{background:#983847}.modal-backdrop{position:fixed;inset:0;background:#1e294c90;z-index:20;display:grid;place-items:center;padding:20px}.dialog{width:min(100%,455px);max-height:90dvh;overflow-y:auto;background:#fff;border-radius:19px;box-shadow:0 20px 90px #121b4a38;padding:26px}.dialog.compact{max-width:410px}.dialog.compact p{line-height:1.6;margin-top:9px;color:#7b8799}.modal-head{display:flex;justify-content:space-between}.modal-head h2{font-size:24px;letter-spacing:-.8px}.close-btn{background:0 0;border:0;font-size:25px;color:#7a8498}.subtle{color:#7c889d;font-size:12px;line-height:1.6;margin:10px 0 18px}.export-choices{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.export-choices label{border:1px solid #dce2ef;border-radius:10px;padding:12px 8px;display:flex;align-items:flex-start;gap:5px;cursor:pointer}.export-choices input{accent-color:#545ee9;margin:2px 0}.export-choices strong{display:block;color:#3c475e;font-size:11px}.export-choices small{display:block;color:#9fa8b8;font-size:10px;margin-top:5px;line-height:1.4}.export-choices label:has(input:checked){background:#f3f4ff;border-color:#626eef}.export-notice{background:#fff8eb;padding:11px;border-radius:9px;font-size:11px;color:#97734c;line-height:1.5;margin:14px 0}.modal-buttons{display:flex;justify-content:flex-end;gap:9px;margin-top:21px}.progress{height:8px;border-radius:8px;background:#edf0f6;overflow:hidden;margin:12px 0 7px}.progress span{width:0;height:100%;display:block;background:#5a67e9;transition:width .1s}#exportProgressText{font-size:11px;color:#66738c}@media(max-width:1130px){.app-layout{grid-template-columns:224px minmax(320px,1fr) 236px}.sidebar.right{padding:18px 12px}.topbar{gap:11px;padding-inline:12px}.workspace-bar{padding:17px}.stage-area{padding-inline:15px}.timeline-panel{padding-inline:12px}.timeline-footer span:last-child{display:none}}@media(max-width:850px){.app-layout{height:auto;display:grid;grid-template-columns:minmax(190px,1fr) minmax(190px,1fr);min-height:0}.center{grid-column:1/-1;grid-row:1;min-height:670px}.sidebar.left{grid-column:1;grid-row:2}.sidebar.right{grid-column:2;grid-row:2}.topbar{flex-wrap:wrap;height:auto;min-height:65px;padding-block:10px}.privacy{display:none}.product small{display:none}.topactions{margin-left:auto}.timeline-panel{height:270px}.stage-scroll{min-height:280px}}@media(max-width:560px){.app-layout{display:flex;flex-direction:column}.center{min-height:600px}.sidebar.left,.sidebar.right{overflow:visible}.topactions #openBtn,.topactions .btn span{display:none}.topbar{gap:7px}.brand{font-size:14px}.product{font-size:13px}.workspace-bar{align-items:flex-start;gap:10px;flex-direction:column;padding:16px}.workspace-bar h1{font-size:22px}.stage-area{padding-inline:8px}.stage-scroll{min-height:220px;padding:9px}.transport{padding:9px;flex-wrap:wrap}.transport-extra{display:none}.timeline-heading{align-items:flex-start;flex-direction:column}.timeline-panel{min-height:260px}.timeline-tools{display:flex}.timeline-footer{font-size:9px}.ruler-label,.track-label{width:99px;flex-basis:99px}.playhead{left:99px}.tool-grid{grid-template-columns:repeat(4,1fr)}.dialog{padding:18px}.export-choices{grid-template-columns:1fr}.export-choices label{padding:10px}.export-choices small{display:inline;margin-left:4px}.sidebar.right{padding:20px}.left-scroll{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr))}}@media(prefers-reduced-motion:reduce){*{transition:none!important;animation:none!important}}@media(max-width:560px){.center{order:0}.sidebar.left{order:1}.sidebar.right{order:2}}.zoom-label{font-size:11px;color:#65728a;display:inline-flex;align-items:center;gap:6px;white-space:nowrap}.zoom-label select{border:1px solid #dce2ef;border-radius:7px;padding:5px 7px;background:#fff;color:#33445f;max-width:95px}.export-transparent{display:block;margin:13px 0 0;color:#65748c}.export-choices{grid-template-columns:repeat(2,minmax(0,1fr))}.stage-wrap{max-width:none;max-height:none}.stage-scroll{justify-content:safe center;align-items:safe center}.stage-scroll:has(.stage-wrap){scrollbar-gutter:stable}.stage-wrap canvas{outline-offset:3px}.keyframe:focus-visible{box-shadow:0 0 0 3px #3056a8}.view-actions{row-gap:7px}@media(max-width:560px){.view-actions{gap:8px}.zoom-label{font-size:10px}.export-choices{grid-template-columns:1fr}}.counter,.empty-inspector span,.hint,.inspector-footer,.key-info,.layer-row .detail,.right .eyebrow,.side-section .eyebrow,.stage-stats,.subtle,.tick,.timeline-footer,.timeline-heading p{color:#59677c}.mini-label,.right .section-divider,.right label,.two-fields label{color:#58677a}.layer-row .name{color:#29364e}@media(max-width:560px){.topactions #openBtn{display:inline-flex}.topactions{width:100%;justify-content:flex-start;flex-wrap:wrap;gap:5px}.topactions .btn{padding:8px 9px;font-size:11px}.brand,.product{flex-shrink:0}}#templateSelect{width:100%;margin:7px 0 9px;min-height:34px;border:1px solid #dce2ef;background:#fff;color:#263854;border-radius:8px;padding:6px 9px}#applyTemplateBtn{margin:0 0 9px}.v2-keytime{display:flex;flex-direction:column;gap:5px;margin:12px 0;font-size:11px;color:#5d6b81}.v2-keytime input{min-height:34px;width:100%;border:1px solid #dce2ef;border-radius:8px;padding:6px 9px}.v2-key-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;margin:9px 0 13px}.v2-key-actions button{white-space:normal;line-height:1.25;padding:8px 5px;min-height:36px}.v2-key-actions #duplicateKeyBtn{grid-column:span 2}.preset-grid button{min-height:34px}@media(max-width:560px){.v2-key-actions{grid-template-columns:repeat(2,minmax(0,1fr))}}.v2-layer-search{display:block;width:100%;min-height:33px;padding:7px 10px;margin:8px 0 9px;border:1px solid #dce2ef;border-radius:8px;background:#fff;color:#23334c}.v2-align{display:flex;gap:5px;flex-wrap:wrap;margin:4px 0 13px}.v2-align .btn{flex:1 1 auto;padding:7px 6px;font-size:10px}