.editor-app.editor-blocked{overflow:hidden}.editor-app.auth-screen{height:auto;min-height:0;position:fixed;top:0;right:0;bottom:0;left:0;z-index:40;overflow-y:auto;display:flex;flex-direction:column;align-items:center;justify-content:safe center;gap:14px;padding:24px 16px;background:radial-gradient(circle at 20% 10%,#e3f2ea 0,transparent 45%),var(--paper, #f6f8f6)}.auth-card{width:100%;max-width:400px;background:#fff;border:1px solid var(--line, #dce5e5);border-radius:14px;padding:26px 24px 20px;box-shadow:0 18px 50px #26394318}.auth-brand{margin-bottom:18px}.editor-app .auth-card h1{margin:0;font-family:inherit;font-weight:700;font-size:22px;line-height:1.25;letter-spacing:-.5px}.auth-lead{margin:6px 0 18px;color:var(--muted, #73848b);line-height:1.5}.auth-tabs{display:flex;gap:4px;padding:3px;margin-bottom:16px;background:#f3f6f3;border-radius:9px}.editor-app .auth-tabs button{flex:1;border:0;background:transparent;padding:7px 8px;font-weight:600;color:var(--muted, #73848b)}.editor-app .auth-tabs button.active{background:#fff;color:var(--green, #1d8066);box-shadow:0 1px 3px #bac9c360}.auth-form .editor-field span small{font-weight:500}.editor-app .auth-form input{padding:10px 11px;font-size:14px}.editor-app .auth-form input[aria-invalid=true]{border-color:#d27a7a}.auth-error{margin:2px 0 12px;padding:9px 11px;border-radius:8px;background:#fbeeee;color:#9b3030;line-height:1.4}.editor-app button.auth-submit{width:100%;padding:11px;font-size:14px;margin-top:4px}.auth-switch{margin:16px 0 0;text-align:center;color:var(--muted, #73848b)}.editor-app button.auth-link{border:0;background:none;padding:0;color:var(--green, #1d8066);font-weight:650;text-decoration:underline;text-underline-offset:2px}.editor-app button.auth-link:hover:not(:disabled){background:none}.auth-splash{color:var(--muted, #73848b)}.account-menu{position:relative;display:inline-flex}.editor-app button.account-button{display:inline-flex;align-items:center;justify-content:center;padding:3px;border-radius:50%}.account-avatar{display:inline-grid;place-items:center;width:28px;height:28px;border-radius:50%;background:#cae7da;color:#145f4c;font-weight:750;font-size:11px;letter-spacing:.3px}.account-popover{position:fixed;z-index:30;width:230px;display:flex;flex-direction:column;gap:4px;padding:13px;background:#fff;border:1px solid var(--line, #dce5e5);border-radius:10px;box-shadow:0 12px 30px #26394324;text-align:left}.account-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px}.account-email{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--muted, #73848b);font-size:11px}.account-plan{align-self:flex-start;margin:4px 0 8px;padding:2px 8px;border-radius:99px;font-size:10px;font-weight:700;letter-spacing:.4px;background:#eef2ef;color:#4b5d63}.account-plan.plan-pro{background:#d9eee5;color:#145f4c}.editor-app button.account-logout{width:100%}@media(max-width:760px){.editor-app .editor-top-actions button.account-button{display:inline-flex}}.cloud-packs{margin-bottom:8px}.cloud-packs h3{display:flex;align-items:center;justify-content:space-between;margin:0 0 6px!important;font-size:11px!important;color:var(--muted, #73848b);text-transform:uppercase;letter-spacing:1px}.cloud-packs .pack-line button.cloud-pack-open{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;text-align:left;border:0;background:transparent;padding:0;font-weight:700;font-size:12px}.cloud-packs .pack-line button.cloud-pack-open:hover:not(:disabled){background:transparent;color:var(--green, #1d8066)}.cloud-status{margin:0 0 8px;font-size:11px;color:var(--muted, #73848b);display:flex;gap:8px;align-items:center;justify-content:space-between}.cloud-status.error{color:#a33a3a}.editor-app .cloud-status button{padding:2px 8px;font-size:11px}.library-cloud-notice{padding:7px 9px;border-radius:7px;background:#fff6e5;color:#7d5a12!important;line-height:1.4}.sound-browser{margin-bottom:14px}.sound-tools{display:flex;gap:6px;margin-bottom:8px}.sound-tools .editor-search{flex:1;min-width:0}.sound-browser select{margin-bottom:8px;width:100%}.sound-section h4{margin:12px 0 4px;font-size:12px}.sound-section h4 small{color:var(--muted);font-weight:400}.sound-section ul{list-style:none;margin:0;padding:0;display:grid;gap:6px}.sound-row{display:grid;grid-template-columns:30px 1fr auto;grid-template-areas:"play info switch" ". add add";gap:4px 8px;align-items:center;padding:6px;border:1px solid var(--line);border-radius:8px;background:#fff}.sound-row .sound-play{grid-area:play;width:30px;height:30px;padding:0;border-radius:50%;font-size:11px}.sound-row .sound-play.playing{background:#e9f6ef;border-color:var(--green);color:var(--green)}.sound-info{grid-area:info;min-width:0;display:grid}.sound-info strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px}.sound-info small{color:var(--muted);font-size:10px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sound-row .sound-switch{grid-area:switch;padding:2px 6px;font-size:10px}.sound-row .sound-add{grid-area:add;padding:4px 8px;font-size:11px}.sound-more{margin-top:6px;font-size:11px;width:100%}.editor-timeline .editor-audio-block{padding:0;background:#efeaf8;cursor:grab;touch-action:none;-webkit-user-select:none;user-select:none}.editor-audio-wave{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;pointer-events:none}.editor-audio-name{position:absolute;left:6px;top:2px;max-width:calc(100% - 12px);overflow:hidden;text-overflow:ellipsis;font-size:10px;color:#3e2d63;pointer-events:none;text-shadow:0 0 3px #efeaf8,0 0 3px #efeaf8}.editor-clip .editor-field-grid{margin-bottom:0}.editor-timeline:has(.editor-sfx-lane){height:276px;min-height:276px}.editor-timeline .editor-sfx-lane{height:44px}.editor-timeline .editor-sfx-lane>span{top:14px}.editor-timeline .editor-audio-block{z-index:5}.editor-timeline .editor-sfx-block{top:6px;height:30px;background:#fbe9e2;border-color:#e3b6a4;padding:0;overflow:visible}.editor-sfx-block .editor-audio-remove{top:8px;right:auto;left:calc(100% + 3px)}.editor-timeline .editor-sfx-block:focus-visible,.editor-timeline .editor-audio-block:focus-visible{outline:2px solid var(--green)}.editor-audio-remove{position:absolute;top:1px;right:1px;width:14px;height:14px;padding:0;line-height:12px;font-size:11px;border-radius:3px;border:0;background:#ffffffd9;color:#5b4a73;display:none;cursor:pointer}.editor-audio-block:hover .editor-audio-remove,.editor-audio-block:focus .editor-audio-remove{display:block}.editor-loop{display:grid;gap:6px}.editor-app .editor-check{display:flex;align-items:center;gap:8px;cursor:pointer}.editor-app .editor-check input{width:auto;padding:0}.editor-block-emphasis,.editor-block-exit{position:absolute;top:0;bottom:0;z-index:1;pointer-events:none}.editor-block-emphasis{background:repeating-linear-gradient(135deg,#f6c98a 0,#f6c98a 5px,#fbe3bf 5px,#fbe3bf 10px);border-right:2px solid #d99a4b}.editor-block-exit{right:0;background:#f0c1b8;border-left:2px solid #d9857a}.editor-block-edge{z-index:4}.editor-app .editor-modal.export-dialog{width:min(500px,92vw);max-height:94vh;overflow:auto}.editor-app .export-dialog .editor-field{display:grid;grid-template-columns:120px 1fr;align-items:center;gap:8px;margin-bottom:10px}.editor-app .export-dialog select{width:100%;padding:7px 8px;border:1px solid var(--line);border-radius:8px;background:#fff}.editor-app .export-hardware{border:1px solid var(--line);border-radius:10px;margin:0 0 12px;padding:8px 10px;display:grid;gap:8px}.editor-app .export-hardware legend{padding:0 4px;color:var(--muted);font-size:12px}.editor-app .export-hardware label{display:flex;gap:8px;align-items:flex-start;cursor:pointer;text-align:left}.editor-app .export-hardware input{width:auto;flex:none;margin:3px 0 0;padding:0}.editor-app .export-hardware span{display:grid;min-width:0}.editor-app .export-hardware small{color:var(--muted)}.editor-app .export-hardware label.disabled{opacity:.55;cursor:default}.editor-app .export-detect{margin:0;font-weight:600}.editor-app .export-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:14px}.editor-app .export-stats{display:grid;grid-template-columns:auto 1fr;gap:4px 14px;margin:0 0 14px}.editor-app .export-stats dt{color:var(--muted)}.editor-app .export-stats dd{margin:0;font-variant-numeric:tabular-nums}.editor-app .export-notice{background:#fff6e0;border:1px solid #ecd9a0;border-radius:8px;padding:8px 10px;margin:0 0 14px}.scene-background{display:grid;gap:6px;margin:4px 0 8px}.scene-background-title{font-size:11px;color:var(--muted);letter-spacing:.04em}.scene-background-grid{display:flex;flex-wrap:wrap;gap:5px}.scene-background-grid button{min-width:44px;height:44px;padding:2px 8px;font-size:11px;display:grid;place-items:center;overflow:hidden}.scene-background-grid button img{max-width:40px;max-height:38px;object-fit:contain}.scene-background-grid button.active{background:#e9f6ef;border-color:#a7d2bc;color:var(--green);font-weight:700}.editor-timeline{height:270px;min-height:270px}.scenes-strip{display:flex;align-items:stretch;gap:8px;overflow-x:auto;flex:1;min-width:0;padding:2px 2px 4px}.scene-tile{position:relative;flex:0 0 auto;display:flex;align-items:center;gap:8px;padding:5px 8px 5px 5px;border:1px solid var(--line);border-radius:9px;background:#fff;color:var(--ink);cursor:pointer;-webkit-user-select:none;user-select:none;touch-action:pan-x;outline-offset:2px}.scene-tile:hover{border-color:#9abbb0;background:#f5fbf7}.scene-tile.active{background:#e9f6ef;border-color:#a7d2bc;box-shadow:0 0 0 1px #a7d2bc inset}.scene-tile.dragging{opacity:.45}.scene-tile.drop-before:before,.scene-tile.drop-after:after{content:"";position:absolute;top:-2px;bottom:-2px;width:3px;border-radius:2px;background:var(--green)}.scene-tile.drop-before:before{left:-6px}.scene-tile.drop-after:after{right:-6px}.scene-thumb{position:relative;height:46px;border-radius:5px;overflow:hidden;border:1px solid var(--line);flex:0 0 auto}.scene-thumb img{display:block;height:100%;width:auto;pointer-events:none}.scene-number{position:absolute;left:2px;top:2px;min-width:14px;padding:0 3px;border-radius:4px;background:#4f6168;color:#fff;font-size:9px;line-height:14px;text-align:center}.scene-meta{display:grid;gap:2px;min-width:56px;max-width:120px}.scene-meta strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px}.scene-meta span{color:var(--muted);font-size:11px;font-variant-numeric:tabular-nums}.scene-meta input{padding:3px 5px;font-size:12px}.scene-actions{display:grid;gap:3px}.editor-app .scene-actions button{padding:1px 5px;font-size:11px;line-height:16px;opacity:.8}.scene-tile:hover .scene-actions button,.scene-tile:focus-within .scene-actions button{opacity:1}.scene-confirm{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;align-items:center;gap:6px;padding:0 8px;border-radius:9px;background:#fffaf2;border:1px solid #e3c597;font-size:11px;z-index:2}.scene-confirm span{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.editor-app .scene-confirm button{padding:3px 8px;font-size:11px}.editor-app .scene-confirm button.danger{background:#b63d3d;border-color:#b63d3d;color:#fff}.editor-app button.scene-add{flex:0 0 auto;align-self:center;font-size:11px;padding:6px 10px}.editor-style-buttons{display:flex;gap:6px;margin:4px 0 8px}.editor-style-buttons button{width:38px;padding:6px 0}.editor-style-buttons button[aria-pressed=true]{border-color:var(--green);background:#e9f6ef;color:var(--green)}.font-picker{display:flex;flex-direction:column;gap:5px;margin-bottom:12px;min-width:0}.font-picker-label{color:var(--muted);font-size:11px;font-weight:650}.editor-app .font-trigger,.editor-app .font-option{display:flex;flex-direction:column;align-items:flex-start;gap:2px;width:100%;text-align:left;white-space:normal}.font-name{color:var(--muted);font-size:11px;font-weight:650}.font-sample{font-size:20px;line-height:1.35;color:var(--ink);overflow-wrap:anywhere}.font-panel{border:1px solid var(--line);border-radius:8px;background:#fff;padding:8px;display:flex;flex-direction:column;gap:8px}.font-tools{display:flex;gap:6px}.font-list{max-height:340px;overflow-y:auto;display:flex;flex-direction:column;gap:4px}.font-section h4{margin:6px 0 4px;color:var(--muted);font-size:10px;letter-spacing:.06em;text-transform:uppercase}.editor-app .font-option{margin-bottom:4px}.editor-app .font-option[aria-selected=true]{border-color:var(--green);background:#e9f6ef}.font-detail{color:var(--muted);font-size:10px}.font-faces-hint{margin:-2px 0 0;color:var(--muted);font-size:10px;line-height:1.4}.font-synthetic{color:#9a6700}.font-row{display:flex;align-items:flex-start;gap:4px;min-width:0}.editor-app .font-row .font-option{flex:1;min-width:0}.editor-app .font-delete{flex:none;width:26px;padding:4px 0;color:var(--muted)}.font-confirm{display:flex;flex-direction:column;gap:4px;flex:none}.editor-app .font-confirm button{padding:4px 8px;font-size:11px}.editor-app .font-delete-yes{color:#b42318;border-color:#f0b4ad}.font-problem{margin:0;color:#b42318;font-size:11px}.text-style-controls{min-width:0}.text-style-scope{color:var(--muted);font-size:11px;line-height:1.5;margin:-4px 0 10px}.editor-app .text-style-link{border:0;background:none;padding:0 2px;color:var(--green);font-size:11px;font-weight:650;text-decoration:underline;cursor:pointer}.text-style-mixed{margin:-6px 0 8px}.editor-style-buttons button[aria-pressed=mixed]{border-color:var(--green);border-style:dashed;color:var(--green)}.editor-app .editor-style-buttons .text-style-clear{width:auto;padding:6px 10px;margin-left:auto;font-size:11px}.editor-button-row{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:12px}.editor-button-row button{flex:1 1 auto;padding:7px 8px;font-size:12px;min-width:38px}.editor-arrange h3{margin-top:0}.editor-same-duration{margin-top:4px}.editor-same-duration>button{width:100%;white-space:normal}.editor-recolor{display:grid;grid-template-columns:1fr 1fr;gap:0 9px}.editor-recolor-field span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.editor-scene-length,.editor-hint{color:var(--muted);font-size:11px;line-height:1.5;margin:0 0 14px}.editor-hint{margin:-4px 0 0}.editor-hands img{background:#f1f6f2;border-radius:4px}.editor-align-row{display:grid;grid-template-columns:repeat(6,1fr)}.editor-align-row button{min-width:0;padding:7px 0}.editor-hands-tab h3{margin:16px 0 8px;font-size:12px;color:var(--muted);font-weight:700}.editor-hands-tab .editor-hint{margin:8px 0 0}.hand-grid{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.hand-card{display:flex;flex-direction:column;gap:3px;border:1px solid #dfe7e0;border-radius:8px;padding:6px;background:#fbfcfa;min-width:0;font-size:11px}.hand-card strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px}.hand-card small{color:var(--muted)}.hand-card-picture{height:70px;display:grid;place-items:center;background:#f1f6f2;border-radius:5px;color:var(--muted)}.hand-card-picture img{max-width:100%;max-height:100%;object-fit:contain}.editor-app .hand-card button{padding:4px;font-size:11px}.hand-dialog{width:min(440px,92vw);max-height:92vh;overflow-y:auto}.hand-picker{position:relative;display:inline-block;max-width:100%;cursor:crosshair;background:repeating-conic-gradient(#eef2ee,#eef2ee 25%,#fff 0%,#fff 50%) 0 0 / 16px 16px;border:1px solid #dfe7e0;border-radius:6px;line-height:0}.hand-picker img{display:block;max-width:100%;max-height:240px;-webkit-user-select:none;user-select:none}.hand-marker{position:absolute;width:18px;height:18px;margin:-9px 0 0 -9px;border:2px solid #d33;border-radius:50%;pointer-events:none}.hand-marker:before,.hand-marker:after{content:"";position:absolute;background:#d33}.hand-marker:before{left:7px;top:-5px;width:2px;height:22px}.hand-marker:after{top:7px;left:-5px;height:2px;width:22px}.hand-tip-readout{margin:6px 0;font-size:11px;color:var(--muted)}.hand-preview{display:block;width:100%;max-width:300px;background:#fff;border:1px solid #dfe7e0;border-radius:8px;margin-bottom:10px;overflow:hidden}.hand-problem{color:#a33a3a}.hand-actions{display:flex;gap:8px;justify-content:flex-end;margin-top:10px}.library-packs{margin-bottom:4px}.library-packs .editor-imports{margin-bottom:8px}.pack-list{list-style:none;margin:0 0 10px;padding:0;display:grid;gap:6px;max-height:150px;overflow-y:auto}.pack-row{border:1px solid #dfe7e0;border-radius:8px;padding:6px 8px;font-size:11px;background:#fbfcfa}.pack-line{display:flex;align-items:center;gap:6px}.pack-line strong{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px}.pack-line small{color:var(--muted)}.editor-app .pack-line button{padding:2px 8px;font-size:11px}.pack-detail{display:block;color:var(--muted);margin-top:2px;line-height:1.4}.pack-error{border-color:#e4b8b8}.pack-error .pack-detail{color:#a33a3a}.pack-needs-permission{border-color:#e6d39a}.pack-warnings{margin-top:3px;color:#8a6a1a}.pack-warnings summary{cursor:pointer}.pack-warnings ul{margin:3px 0 0;padding-left:16px;max-height:80px;overflow-y:auto}.pack-url-form{display:flex;gap:6px;margin-bottom:8px}.pack-url-form input{flex:1;min-width:0;font-size:12px}.editor-app .pack-url-form button{font-size:12px;padding:6px 10px}.editor-source{flex-wrap:wrap}.editor-source button{flex:1 1 auto;white-space:nowrap}.editor-left:has(.editor-library){display:flex;flex-direction:column;overflow:hidden}.editor-left:has(.editor-library)>.editor-tabs{flex:none}.editor-library{flex:1;min-height:0;display:flex;flex-direction:column;padding-bottom:10px}.editor-library .editor-panel-heading{margin-bottom:10px}.editor-library .editor-panel-heading h2{font-size:16px}.editor-library select{margin-bottom:8px}.library-grid-host{flex:1;min-height:120px;margin-top:6px;overflow:hidden}.library-grid-host [role=region]{scrollbar-width:thin}.library-grid-host button{padding:4px;gap:4px;font-size:11px}.library-grid-host img{background:#f9fbf8;border-radius:5px}.library-count{color:var(--muted);font-size:11px;margin-top:4px}.library-chips{display:flex;flex-wrap:wrap;gap:4px;max-height:92px;overflow-y:auto;margin-bottom:4px}.editor-app .library-chips button{padding:3px 8px;font-size:11px;border-radius:99px}.editor-app .library-chips button.active{background:#e9f6ef;border-color:var(--green);color:var(--green);font-weight:700}.library-chips small{color:var(--muted)}.library-more{color:var(--muted);font-size:11px;align-self:center}.library-progress{display:grid;grid-template-columns:1fr auto;gap:4px 8px;align-items:center;margin-bottom:10px;font-size:11px;color:var(--muted)}.library-progress progress{width:100%;grid-column:1 / -1}.editor-app .library-progress button{padding:3px 8px;font-size:11px;grid-column:2;grid-row:2}.library-notice{display:flex;gap:8px;justify-content:space-between;margin:0 0 10px;font-size:11px;color:var(--muted)}.editor-app .library-notice button{border:0;padding:0 4px;background:transparent}.editor-app button.library-clear{margin-top:8px;font-size:11px;padding:5px}.ctx-menu{position:fixed;z-index:40;min-width:210px;padding:5px;background:#fff;border:1px solid var(--line, #dce5e5);border-radius:10px;box-shadow:0 12px 34px #26394333;font-size:13px}.ctx-menu .ctx-sep{margin-top:5px;padding-top:5px;border-top:1px solid var(--line, #dce5e5)}.editor-app .ctx-menu button{display:flex;width:100%;align-items:center;justify-content:space-between;gap:22px;border:0;background:transparent;padding:7px 10px;border-radius:6px;text-align:left}.editor-app .ctx-menu button:hover:not(:disabled),.editor-app .ctx-menu button:focus-visible{background:#e9f6ef;outline:none}.editor-app .ctx-menu button.ctx-danger{color:#ae3636}.editor-app .ctx-menu button.ctx-danger:hover:not(:disabled),.editor-app .ctx-menu button.ctx-danger:focus-visible{background:#fbeaea}.ctx-menu kbd{color:var(--muted, #73848b);font:inherit;font-size:11px}.editor-snap-guide{position:absolute;z-index:6;pointer-events:none;background:#e0527a}.editor-snap-guide.x{width:1px}.editor-snap-guide.y{height:1px}.canvas-zoom{position:absolute;right:14px;bottom:12px;z-index:8;display:flex;align-items:center;gap:2px;padding:3px;background:#fffffff0;border:1px solid var(--line, #dce5e5);border-radius:9px;box-shadow:0 4px 14px #26394322}.editor-app .canvas-zoom button{border:0;background:transparent;padding:5px 8px;min-width:28px;font-size:12px;border-radius:6px}.editor-app .canvas-zoom button:hover:not(:disabled){background:#edf7f0}.editor-app .canvas-zoom button[aria-pressed=true]{color:var(--green, #1d8066);font-weight:700}.editor-app .canvas-zoom .canvas-zoom-value{min-width:52px;font-variant-numeric:tabular-nums;font-weight:650}.canvas-zoom-menu{position:absolute;right:0;bottom:calc(100% + 6px);display:flex;flex-direction:column;min-width:96px;padding:4px;background:#fff;border:1px solid var(--line, #dce5e5);border-radius:9px;box-shadow:0 8px 24px #2639432e}.editor-app .canvas-zoom-menu button{text-align:left}.editor-stage-shell[data-pan],.editor-stage-shell[data-pan] *{-webkit-user-select:none;user-select:none}.editor-stage-shell[data-pan] .editor-element,.editor-stage-shell[data-pan] .editor-handle,.editor-stage-shell[data-pan] .editor-camera-label{cursor:inherit}.timeline-zoom{display:flex;align-items:center;gap:6px;margin-left:auto;margin-right:12px}.editor-app .timeline-zoom button{padding:3px 8px;font-size:11px;min-width:26px}.editor-app .timeline-zoom button[aria-pressed=true]{color:var(--green);border-color:#a7d2bc;background:#e9f6ef;font-weight:700}.editor-app .timeline-zoom input[type=range]{width:110px}.timeline-zoom-value{min-width:54px;font-size:11px;text-align:right;font-variant-numeric:tabular-nums}.editor-app{--ink: #263943;--muted: #5b6c73;--line: #dce5e5;--mint: #d9eee5;--green: #19735c;--paper: #f6f8f6;color:var(--ink);background:var(--paper);height:100vh;min-height:650px;display:flex;flex-direction:column;font-family:Inter,ui-sans-serif,system-ui,sans-serif;font-size:13px}.editor-app button,.editor-app input,.editor-app select,.editor-app textarea{font:inherit}.editor-app button{cursor:pointer;color:inherit;background:#fff;border:1px solid var(--line);border-radius:8px;padding:8px 10px;white-space:nowrap}.editor-app button:hover:not(:disabled){border-color:#9abbb0;background:#f5fbf7}.editor-app button:disabled{opacity:.45;cursor:default}.editor-app input,.editor-app select,.editor-app textarea{min-width:0;width:100%;border:1px solid var(--line);border-radius:7px;padding:8px 9px;color:var(--ink);background:#fff;outline-color:#69aa93}.editor-app input[type=color]{padding:3px;height:35px}.editor-app input[type=range]{padding:0;accent-color:var(--green)}.editor-topbar{min-height:70px;display:flex;align-items:center;gap:20px;padding:10px 20px;background:#fff;border-bottom:1px solid var(--line);z-index:2}.editor-brand{display:flex;align-items:baseline;gap:2px;min-width:145px;font-size:17px;letter-spacing:-.5px}.editor-brand span:last-child{color:var(--muted);font-size:11px;letter-spacing:0}.editor-brand-mark{display:inline-flex;justify-content:center;align-items:center;height:29px;width:29px;margin-right:5px;border-radius:8px;background:#cae7da;color:#145f4c;font-weight:800}.editor-title{flex:1;min-width:130px;max-width:330px;display:flex;flex-direction:column}.editor-title input{border:0;padding:0;background:transparent;font-weight:700;font-size:15px}.editor-title span{color:var(--muted);font-size:11px;margin-top:3px}.editor-top-actions{display:flex;align-items:center;gap:7px;margin-left:auto}.editor-top-actions button{padding:8px 11px}.editor-app button.editor-primary,.editor-app button.editor-play{background:var(--green);border-color:var(--green);color:#fff;font-weight:650}.editor-app button.editor-primary:hover,.editor-app button.editor-play:hover{background:#166d57;color:#fff}.editor-time{color:var(--muted);font-variant-numeric:tabular-nums;min-width:36px;text-align:center}.editor-main{flex:1;display:grid;grid-template-columns:256px minmax(0,1fr) 264px;min-height:0}.editor-left,.editor-properties{background:#fff;overflow-y:auto}.editor-left{border-right:1px solid var(--line)}.editor-properties{border-left:1px solid var(--line);padding:20px 17px}.editor-tabs{display:flex;padding:12px 12px 0;gap:2px;border-bottom:1px solid var(--line);overflow-x:auto;scrollbar-width:none}.editor-tabs::-webkit-scrollbar{display:none}.editor-app .editor-tabs button{flex:1 0 auto;display:flex;flex-direction:column;align-items:center;gap:3px;padding:7px 5px 6px;font-size:11px;border:0;border-radius:7px 7px 0 0;background:transparent;color:var(--muted)}.editor-app .editor-tabs button.active{color:var(--green);background:#edf7f0;font-weight:700}.editor-panel-body{padding:18px 15px}.editor-panel-heading{margin-bottom:19px}.editor-panel-heading h2{margin:5px 0 0;font-size:18px;line-height:1.25;letter-spacing:-.4px}.editor-app .eyebrow{color:var(--green);font-size:10px;font-weight:750;letter-spacing:1.5px}.editor-panel-body h3,.editor-properties h3{margin:21px 0 10px;font-size:12px}.editor-imports,.editor-source{display:flex;gap:6px;margin-bottom:12px}.editor-imports button{flex:1;font-size:12px;padding:8px 4px}.editor-source{background:#f3f6f3;border-radius:8px;padding:3px}.editor-source button{flex:1;border:0;background:transparent;font-size:10px;padding:6px 3px}.editor-source button.active{background:#fff;color:var(--green);box-shadow:0 1px 3px #bac9c340}.editor-search{margin-bottom:8px}.editor-library-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:14px}.editor-app button.editor-asset{overflow:hidden;padding:6px;min-width:0;text-align:left;display:flex;flex-direction:column;gap:6px}.editor-asset-icon{display:grid;place-items:center;width:100%;height:86px;background:#f1f6f2;color:var(--green);font-size:28px!important;border-radius:5px}.editor-asset img{width:100%;height:86px;object-fit:contain;background:#f9fbf8;border-radius:5px}.editor-asset span{overflow:hidden;text-overflow:ellipsis;width:100%;font-size:11px}.editor-empty{color:var(--muted);line-height:1.6}.editor-sample,.editor-wide{width:100%;margin-top:15px}.editor-field{display:flex;flex-direction:column;gap:5px;margin-bottom:12px;min-width:0}.editor-field span{color:var(--muted);font-size:11px;font-weight:650}.editor-field-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 9px}.editor-center{display:flex;flex-direction:column;min-width:0;min-height:0;background:#edf2ef}.editor-stage-toolbar,.editor-stage-foot{display:flex;align-items:center;gap:13px;color:var(--muted);padding:8px 17px;font-size:11px}.editor-stage-toolbar span:first-child{color:var(--green);font-weight:800;letter-spacing:1.5px}.editor-stage-toolbar button{margin-left:auto;padding:5px 9px}.editor-stage-foot{justify-content:center}.editor-stage-shell{position:relative;flex:1;min-height:0;overflow:hidden}.editor-stage-host{position:absolute;top:0;right:0;bottom:0;left:0}.editor-stage-host.empty canvas{display:none}.editor-stage-host canvas{display:block}.editor-stage-overlay{position:absolute;pointer-events:auto}.editor-element{position:absolute;box-sizing:border-box;border:1px solid transparent;cursor:move;touch-action:none;transform-origin:center}.editor-element:hover{border-color:#7cbaa6}.editor-element.selected{border:1.5px solid #22a47b}.editor-element.camera{border:2px dashed #dc936c}.editor-element-name{position:absolute;top:-23px;left:-1px;background:#188668;color:#fff;padding:2px 5px;border-radius:3px;white-space:nowrap;font-size:10px}.editor-handle{position:absolute;width:9px;height:9px;background:#fff;border:2px solid #188668;border-radius:2px;transform:translate(-50%,-50%)}.editor-handle.nw{left:0;top:0;cursor:nwse-resize}.editor-handle.n{left:50%;top:0;cursor:ns-resize}.editor-handle.ne{left:100%;top:0;cursor:nesw-resize}.editor-handle.e{left:100%;top:50%;cursor:ew-resize}.editor-handle.se{left:100%;top:100%;cursor:nwse-resize}.editor-handle.s{left:50%;top:100%;cursor:ns-resize}.editor-handle.sw{left:0;top:100%;cursor:nesw-resize}.editor-handle.w{left:0;top:50%;cursor:ew-resize}.editor-rotate{position:absolute;left:50%;top:-31px;width:12px;height:12px;transform:translate(-50%);border-radius:50%;background:#188668;border:2px solid white;cursor:grab}.editor-stage-loading{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);color:var(--muted)}.editor-timeline{height:224px;min-height:224px;background:#fff;border-top:1px solid var(--line);display:flex;flex-direction:column}.editor-timeline-head{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:9px 16px;border-bottom:1px solid var(--line);color:var(--muted)}.editor-scene-tabs{display:flex;gap:5px;overflow-x:auto}.editor-scene-tabs button{padding:5px 10px;font-size:11px}.editor-scene-tabs button.active{background:#e9f6ef;border-color:#a7d2bc;color:var(--green);font-weight:700}.editor-timeline-scroll{flex:1;min-height:0;overflow:auto;padding-left:75px}.editor-timeline-inner{position:relative;min-height:166px}.editor-ruler{position:relative;height:30px;background:repeating-linear-gradient(90deg,#e8eeea 0,#e8eeea 1px,transparent 1px,transparent 13px);cursor:crosshair;touch-action:none}.editor-ruler span{position:absolute;top:7px;color:var(--muted);font-size:10px;pointer-events:none}.editor-block-lane,.editor-audio-lane{height:64px;position:relative;border-top:1px solid var(--line)}.editor-block-lane:before{content:"Elements";position:absolute;left:-67px;top:20px;font-size:10px;color:var(--muted)}.editor-timeline-block{position:absolute;top:10px;height:42px;display:flex;align-items:center;background:#d9eee5;border:1px solid #9fcdb6;border-radius:6px;overflow:hidden;cursor:grab;touch-action:none;-webkit-user-select:none;user-select:none}.editor-timeline-block.active{outline:2px solid var(--green)}.editor-block-entrance{position:absolute;inset:0 auto 0 0;background:#a8d8bf;border-right:2px solid #69af8e;z-index:1;cursor:ew-resize}.editor-block-label{position:relative;z-index:2;padding:0 9px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;pointer-events:none;font-size:11px}.editor-block-edge{position:absolute;right:0;top:0;bottom:0;width:9px;z-index:3;background:#6baf8f;cursor:ew-resize}.editor-audio-lane{background:#fcfdfb}.editor-audio-lane>span{position:absolute;left:-67px;top:20px;color:var(--muted);font-size:10px}.editor-audio-block{position:absolute;top:12px;height:36px;border-radius:5px;background:#e8e3f2;border:1px solid #c2b0db;padding:10px 7px;overflow:hidden;white-space:nowrap;font-size:10px}.editor-playhead{position:absolute;top:0;bottom:0;border-left:2px solid #dc8064;pointer-events:none}.editor-playhead:before{content:"";position:absolute;top:0;left:-5px;width:9px;height:9px;background:#dc8064;transform:rotate(45deg)}.editor-audio-asset{display:block;margin:5px 0;width:100%;text-align:left;overflow:hidden;text-overflow:ellipsis}.editor-clip{padding:10px;border:1px solid var(--line);border-radius:8px;margin:8px 0}.editor-clip strong{display:block;overflow:hidden;text-overflow:ellipsis;margin-bottom:8px}.editor-recording{color:#ae3636!important;border-color:#ce6565!important}.editor-meter{display:block;width:100%;margin:10px 0}.editor-toast{position:fixed;right:18px;bottom:235px;z-index:10;background:#263943;color:#fff;box-shadow:0 9px 25px #26394344;border-radius:8px;padding:12px 15px;max-width:400px;display:flex;gap:15px;align-items:center}.editor-toast button{background:transparent;color:#fff;border:0;padding:0;font-size:20px}.editor-modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:20;background:#172c2eb3;display:grid;place-items:center}.editor-modal{width:min(400px,90vw);background:#fff;padding:25px;border-radius:14px;box-shadow:0 20px 60px #0003}.editor-modal h2{margin:0 0 15px}.editor-modal progress{width:100%;margin:8px 0 20px;accent-color:var(--green)}@media(max-width:1250px){.editor-main{grid-template-columns:220px minmax(0,1fr) 220px}.editor-brand{min-width:100px}.editor-topbar{gap:11px;padding-inline:12px}.editor-top-actions{gap:4px}.editor-top-actions button{padding:7px}}@media(max-width:1100px){.editor-main{grid-template-columns:205px minmax(0,1fr)}.editor-properties{display:none}.editor-brand{min-width:auto}.editor-brand span:last-child{display:none}}@media(max-width:760px){.editor-main{grid-template-columns:minmax(0,1fr)}.editor-left,.editor-title span{display:none}.editor-top-actions button:not(.editor-play):not(.editor-primary){display:none}.editor-time{display:none}}.editor-stage-host{pointer-events:none}.editor-stage-shell,.editor-stage-overlay{touch-action:none}.editor-element.selected{z-index:2}.editor-element.camera{pointer-events:none}.editor-element.camera .editor-handle,.editor-camera-label{pointer-events:auto}.editor-camera-label{position:absolute;left:12px;top:6px;padding:3px 7px;border-radius:4px;background:#fff3e6;color:#985127;cursor:move;font-size:11px}.editor-element.locked{cursor:default}.editor-marquee{position:absolute;z-index:5;pointer-events:none;border:1px solid #188668;background:#18866820}.editor-app textarea.editor-inline-text{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;resize:none;padding:0;border:0;border-radius:0;outline:2px solid #188668;background:#fffffff5}.editor-welcome{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;align-items:center;justify-content:center;flex-direction:column;padding:24px;text-align:center;background:#fff}.editor-welcome h2{font-size:clamp(16px,2vw,26px);margin:12px 0 2px;letter-spacing:-.6px}.editor-welcome p{color:var(--muted);line-height:1.6}.editor-welcome>div{display:flex;gap:8px;margin:10px 0}.editor-stage-toolbar{flex-wrap:wrap;gap:7px}.editor-stage-toolbar button{margin-left:0}.editor-stage-toolbar button:first-of-type{margin-left:auto}.editor-hands{border:0;padding:0;margin:14px 0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.editor-hands legend{color:var(--muted);margin-bottom:7px;font-size:11px}.editor-hands button{min-width:0;white-space:normal;font-size:10px}.editor-hands button[aria-pressed=true]{border-color:var(--green);background:#e9f6ef}.editor-hands img{width:100%;height:62px;object-fit:contain;display:block;margin-bottom:5px}.editor-shortcuts{display:grid;grid-template-columns:1fr 1fr;gap:12px;line-height:1.5}.editor-shortcuts dt{font-weight:650}.editor-shortcuts dd{margin:0;color:var(--muted)}.editor-block-entrance{pointer-events:none}.editor-entrance-edge{position:absolute;top:0;bottom:0;width:9px;z-index:3;cursor:ew-resize;background:#579b7e}.editor-audio-block{cursor:grab;touch-action:none;-webkit-user-select:none;user-select:none}.editor-playhead{width:10px;margin-left:-4px;border:0;pointer-events:auto;cursor:ew-resize;touch-action:none;z-index:4;background:linear-gradient(90deg,transparent 4px,#dc8064 4px,#dc8064 6px,transparent 6px)}.editor-playhead:before{left:0}.projects-home{width:min(920px,94vw);max-height:86vh;overflow:auto;background:#fff;border-radius:12px;padding:20px}.projects-home:focus{outline:none}.projects-head{display:flex;align-items:center;gap:10px;margin-bottom:16px}.projects-head h2{margin:0 auto 0 0;font-size:18px}.projects-head input{width:200px}.projects-empty{color:var(--muted);padding:30px 0;text-align:center}.projects-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:14px}.projects-tile{border:1px solid var(--line);border-radius:10px;padding:8px;display:flex;flex-direction:column;gap:8px}.projects-tile.current{border-color:var(--green)}.projects-open{padding:0!important;border:0!important;background:none!important}.projects-thumb{aspect-ratio:16 / 9;background:#eef3f1;border-radius:6px;overflow:hidden;display:flex;align-items:center;justify-content:center;color:var(--muted);font-size:11px}.projects-thumb img{width:100%;height:100%;object-fit:contain;display:block}.projects-info{display:flex;flex-direction:column;gap:3px;min-width:0}.projects-info strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.projects-info span{color:var(--muted);font-size:11px}.projects-actions{display:flex;flex-wrap:wrap;gap:6px;align-items:center}.projects-actions button{padding:5px 8px;font-size:12px}.editor-shape-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:8px}.editor-shape-grid button{display:flex;flex-direction:column;align-items:center;gap:4px;padding:12px 6px;color:var(--green)}.editor-shape-grid span{color:var(--ink);font-size:12px}.editor-hint{color:var(--muted);font-size:12px;line-height:1.5}.crop-dialog{background:#fff;border-radius:12px;padding:20px;display:flex;flex-direction:column;gap:14px;align-items:center;max-width:94vw}.crop-dialog h2{margin:0;font-size:17px;align-self:flex-start}.crop-modes{display:flex;gap:6px}.crop-modes button[aria-pressed=true]{border-color:var(--green);background:#e9f6ef;color:var(--green);font-weight:650}.crop-area{position:relative;background:repeating-conic-gradient(#e8eeec 0,#e8eeec 25%,#f7faf9 0,#f7faf9 50%) 0 0 / 16px 16px;-webkit-user-select:none;user-select:none;touch-action:none}.crop-area img{position:absolute;max-width:none;pointer-events:none}.crop-dim{opacity:.35;left:0;top:0}.crop-window{position:absolute;overflow:hidden;cursor:move}.crop-frame{position:absolute;border:2px solid var(--green);pointer-events:none;box-sizing:border-box}.crop-handle{position:absolute;width:12px;height:12px;margin:-6px 0 0 -6px;background:#fff;border:2px solid var(--green);border-radius:3px;pointer-events:auto;box-sizing:border-box}.crop-nw{left:0;top:0;cursor:nwse-resize}.crop-n{left:50%;top:0;cursor:ns-resize}.crop-ne{left:100%;top:0;cursor:nesw-resize}.crop-e{left:100%;top:50%;cursor:ew-resize}.crop-se{left:100%;top:100%;cursor:nwse-resize}.crop-s{left:50%;top:100%;cursor:ns-resize}.crop-sw{left:0;top:100%;cursor:nesw-resize}.crop-w{left:0;top:50%;cursor:ew-resize}.crop-actions{display:flex;gap:8px;align-self:flex-end}.projects-sort{display:flex;align-items:center;gap:6px}.projects-sort span{color:var(--muted);font-size:11px;font-weight:650}.editor-app .projects-sort select{width:auto;padding:6px 8px}
