@font-face{font-family:Manrope;font-style:normal;font-weight:400;font-display:swap;src:url(../fonts/manrope-0.ttf) format("truetype")}@font-face{font-family:Manrope;font-style:normal;font-weight:500;font-display:swap;src:url(../fonts/manrope-1.ttf) format("truetype")}@font-face{font-family:Manrope;font-style:normal;font-weight:600;font-display:swap;src:url(../fonts/manrope-2.ttf) format("truetype")}@font-face{font-family:Manrope;font-style:normal;font-weight:700;font-display:swap;src:url(../fonts/manrope-3.ttf) format("truetype")}@font-face{font-family:Manrope;font-style:normal;font-weight:800;font-display:swap;src:url(../fonts/manrope-4.ttf) format("truetype")}:root{font-family:Manrope,-apple-system,BlinkMacSystemFont,PingFang SC,Microsoft YaHei,sans-serif;color:#252d28;background:#f6f6f2;font-synthesis:none;font-size:13px;--ink: #252d28;--muted: #68706a;--line: #e2e5dc;--green: #304e3e;--accent: #e6eddf;--radius: 10px}*{box-sizing:border-box}body{margin:0}.ios-app body{min-height:100dvh;padding-top:env(safe-area-inset-top);padding-right:env(safe-area-inset-right);padding-bottom:env(safe-area-inset-bottom);padding-left:env(safe-area-inset-left);overscroll-behavior:none}.ios-app input:not([type=range]),.ios-app select{font-size:16px}button,input,select{font:inherit}button,a,input,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer;color:inherit}button:disabled{cursor:not-allowed;opacity:.45}button{border:0;background:none}button,select,input{outline-offset:4px}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,canvas:focus-visible{outline:2px solid #557b56}button:not(:disabled),a{touch-action:manipulation}::selection{background:#cbdabc;color:#203525}input{accent-color:var(--green);caret-color:var(--green)}[hidden]{display:none!important}svg{width:18px;height:18px;stroke:currentColor;fill:none;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}a{color:inherit;text-decoration:none}h1,h2,p{margin:0}h2{font-size:13px;font-weight:650}button{transition:background .16s,color .16s,box-shadow .16s}button:hover:not(:disabled){background:#e9ede4}.button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:39px;padding:0 16px;background:#fff;border:1px solid var(--line);border-radius:8px;font-weight:600}.button.dark{color:#fff;background:var(--green);border-color:var(--green)}.button.dark:hover:not(:disabled){background:#213c2d}.text-button{color:var(--muted);font-size:11px;padding:5px 0;text-underline-offset:3px}.text-button:hover{color:var(--green);text-decoration:underline;background:none!important}.icon-button{width:38px;height:38px;border-radius:8px;display:grid;place-items:center}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.app-header{height:76px;border-bottom:1px solid var(--line);display:flex;align-items:center;padding:0 32px;gap:20px;background:#fafbf7}.brand{font-size:33px;letter-spacing:-.04em;font-weight:800;line-height:1;display:flex;align-items:flex-end}.brand-dot{width:7px;height:7px;background:#6d8958;border-radius:50%;margin:0 0 5px 3px}.brand-divider{height:22px;width:1px;background:var(--line);margin-left:4px}.app-name{font-size:14px;font-weight:550;letter-spacing:.04em}.local-badge{margin-left:auto;color:var(--muted);font-size:11px;display:flex;align-items:center;gap:7px}.local-badge>span{width:5px;height:5px;border-radius:50%;background:#6d8958}.export-button{margin-left:8px}.workspace{height:calc(100dvh - 76px);min-height:650px;display:grid;grid-template-columns:354px minmax(0,1fr)}.editor{background:#fafbf7;border-right:1px solid var(--line);display:flex;flex-direction:column;min-height:0}.model-section{padding:24px 24px 22px}.category-row{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px;color:var(--muted);font-size:11px}.category-row select{max-width:70%;padding:6px 8px;background:#edf0e7;color:var(--ink);border:0;border-radius:6px;cursor:pointer}.section-label{display:flex;align-items:center;justify-content:space-between;font-weight:600;margin-bottom:12px}.section-label>span{font-size:10px;color:var(--muted);font-weight:400}.select-wrap{position:relative;height:46px;display:flex;align-items:center;background:#fff;border:1px solid #dfe3d9;border-radius:8px}.select-wrap>svg:first-child{margin-left:14px;color:#56674e;width:21px;height:21px}.select-wrap>svg:last-child{position:absolute;right:13px;pointer-events:none;width:14px}.select-wrap select{width:100%;height:100%;-webkit-appearance:none;-moz-appearance:none;appearance:none;background:none;border:0;padding:0 32px 0 13px;font-weight:600;color:var(--ink);cursor:pointer}.editor-section-title{display:flex;align-items:center;gap:8px;margin-bottom:20px;font-size:15px;font-weight:650;color:var(--green)}.editor-section-title svg{width:18px;height:18px}.editor-section-title #art-dot{width:5px;height:5px;background:#6d8958;border-radius:50%}.editor-panel+.editor-panel{margin-top:28px;padding-top:24px;border-top:1px solid var(--line)}.panel-scroll{overflow-y:auto;overscroll-behavior:contain;flex:1;padding:22px 24px 24px;scrollbar-width:thin;scrollbar-color:#ced6c7 transparent}.section-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px;min-height:22px}.section-heading>span{font-size:10px;color:var(--muted)}.fabric-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px 12px;margin:1px 0 23px}.fabric{padding:0;min-width:0;text-align:center;border-radius:8px}.fabric:hover{background:none!important}.fabric-thumb{height:49px;display:block;background-size:102px;background-position:center;border-radius:8px;border:1px solid #d9ded3;position:relative;transition:box-shadow .16s,transform .16s}.fabric:hover .fabric-thumb{transform:translateY(-2px)}.fabric[aria-pressed=true] .fabric-thumb{box-shadow:0 0 0 2px #fafbf7,0 0 0 3.5px var(--green)}.fabric[aria-pressed=true] .fabric-thumb:after{content:"";position:absolute;right:5px;bottom:5px;width:6px;height:6px;background:var(--green);border:2px solid #fff;border-radius:50%}.fabric-label{display:block;font-size:10px;margin-top:8px;white-space:nowrap;color:#586052}.fabric[aria-pressed=true] .fabric-label{color:var(--green);font-weight:650}.range-row{display:flex;justify-content:space-between;align-items:center;margin:14px 0 8px;font-size:11px}.range-row output{color:var(--muted);font-size:10px;font-variant-numeric:tabular-nums}input[type=range]{-webkit-appearance:none;-moz-appearance:none;appearance:none;width:100%;height:3px;border-radius:3px;background:#dce2d5;cursor:pointer;margin:8px 0 13px;display:block}input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;-moz-appearance:none;appearance:none;width:13px;height:13px;border-radius:50%;background:var(--green);border:2px solid #fafbf7;box-shadow:0 1px 4px #20352525}input[type=range]::-moz-range-thumb{width:10px;height:10px;border-radius:50%;background:var(--green);border:2px solid #fafbf7}.color-row{display:flex;justify-content:space-between;gap:8px;margin:0 2px 16px}.color-chip{width:28px;height:28px;border-radius:50%;background:var(--chip)!important;border:1px solid #00000015;position:relative}.color-chip[aria-pressed=true]{box-shadow:0 0 0 2px #fafbf7,0 0 0 3.5px var(--green)}.color-chip[aria-pressed=true]:after{content:"";display:block;position:absolute;top:10px;right:10px;bottom:10px;left:10px;border-radius:50%;background:var(--mark, #fff)}.custom-color{display:flex;justify-content:space-between;align-items:center;margin-bottom:27px;font-size:11px}.custom-color>div{display:flex;align-items:center;gap:8px;background:#fff;border:1px solid var(--line);border-radius:6px;padding:6px 8px;position:relative}.custom-color input{width:21px;height:21px;padding:0;border:0;background:none;cursor:pointer}.custom-color input::-webkit-color-swatch-wrapper{padding:0}.custom-color input::-webkit-color-swatch{border:0;border-radius:4px}.custom-color span{font-size:10px;color:var(--muted)}.custom-color svg{width:12px;height:12px}.finish-heading{margin-top:24px;padding-top:20px;border-top:1px solid var(--line)}.segmented{display:flex;align-items:center;background:#ebeee5;border-radius:7px;padding:3px;gap:2px}.segmented button{flex:1;min-height:32px;border-radius:5px;color:#626b5d;font-size:11px}.segmented button.selected{background:#fff;box-shadow:0 2px 4px #2536230b;color:var(--ink);font-weight:600}.editor-footer{border-top:1px solid var(--line);min-height:47px;display:flex;align-items:center;gap:6px;padding:0 24px;color:var(--muted);font-size:10px}.editor-footer svg{width:12px;height:12px;color:var(--green)}.editor-footer button{margin-left:auto;font-size:10px}.stage{background:#e9eae5;position:relative;min-width:0;overflow:hidden}.stage-heading{position:absolute;top:28px;left:34px;right:34px;display:flex;justify-content:space-between;z-index:2;pointer-events:none}.stage-heading h1{font-weight:550;font-size:22px;letter-spacing:-.025em}.stage-heading p{font-size:10px;letter-spacing:.12em;margin-top:8px;color:#697264}.preview-tag{display:flex;align-items:center;gap:7px;height:27px;padding:0 10px;font-size:10px;color:#4e6247;background:#f8faf4bf;border-radius:5px}.preview-tag>span{width:5px;height:5px;border-radius:50%;background:#5f8051}#viewport{position:absolute;top:0;right:0;bottom:0;left:0}#viewport canvas{width:100%;height:100%;display:block;outline-offset:-4px;touch-action:none}.stage-tools{position:absolute;top:116px;right:26px;display:flex;flex-direction:column;gap:4px;padding:4px;background:#f8faf4d9;border-radius:10px}.stage-tools .icon-button{width:32px;height:34px}.stage-tools svg{width:16px;height:16px}.stage-bottom{position:absolute;bottom:64px;left:34px;right:34px;display:flex;align-items:center;justify-content:center;gap:16px}.view-buttons{width:192px;background:#f6f8f0c9}.view-buttons button{font-size:10px;min-height:33px}.motion-buttons{display:flex;gap:8px}.button.compact{min-height:39px;font-size:10px;background:#f8faf4c9;border:0;padding:0 12px}.button.compact[aria-pressed=true]{background:var(--green);color:#fff}.compact svg{width:14px;height:14px}.stage-caption{position:absolute;bottom:24px;left:34px;right:34px;display:flex;justify-content:space-between;font-size:10px;color:#66705f;pointer-events:none}.stage-caption>span:first-child{display:flex;align-items:center;gap:6px}.stage-caption svg{width:13px;height:13px}.load-overlay{position:absolute;top:0;right:0;bottom:0;left:0;background:#e9eae5ed;z-index:4;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:12px}.load-overlay strong{font-size:13px;font-weight:550}.load-overlay>span:last-of-type{font-size:11px;color:var(--muted)}.spinner{width:26px;height:26px;border:2px solid #d1dac9;border-top-color:var(--green);border-radius:50%;animation:spin .9s linear infinite;margin-bottom:10px}@keyframes spin{to{transform:rotate(360deg)}}#toast{position:fixed;bottom:28px;left:50%;transform:translate(-50%,12px);max-width:calc(100vw - 32px);background:#263d2e;color:#fff;padding:13px 22px;font-size:12px;border-radius:8px;box-shadow:0 8px 30px #1c2c2824;opacity:0;transition:opacity .2s,transform .2s;pointer-events:none;z-index:10}#toast.visible{opacity:1;transform:translate(-50%)}.upload-zone{display:flex;align-items:center;justify-content:center;flex-direction:column;min-height:154px;border:1px dashed #b9c6ad;border-radius:10px;cursor:pointer;gap:7px;background:#f0f4ea;text-align:center;padding:18px 9px;transition:background .16s}.upload-zone:hover,.upload-zone.dragging{background:#e4edda;border-color:#557b56}.upload-zone>svg{width:23px;height:23px;color:var(--green);margin-bottom:5px}.upload-zone strong{font-size:12px;font-weight:600;max-width:100%;overflow-wrap:anywhere}.upload-zone>span{font-size:10px;color:#647259}.upload-zone>small{font-size:10px;color:#647259;margin-top:2px}.sample-button{width:100%;margin:10px 0 23px;font-size:11px;background:transparent}.sample-button svg{width:14px}.uv-heading{display:flex;align-items:center;justify-content:space-between;font-size:12px;font-weight:600;margin-bottom:8px}.uv-wrap{position:relative;border-radius:8px;background:#d7ddd0;overflow:hidden}.uv-wrap canvas{display:block;width:100%;aspect-ratio:1;touch-action:none;cursor:default}.uv-empty{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;align-items:center;justify-content:center;font-size:11px;color:#4b5c42;pointer-events:none}.placement-buttons{display:flex;gap:7px;margin-top:9px}.placement-buttons button{font-size:10px;background:#ecf0e6;border-radius:5px;min-height:30px;flex:1;display:flex;align-items:center;justify-content:center;gap:4px}.placement-buttons svg{width:12px;height:12px}fieldset{border:0;padding:0;margin:20px 0 0;min-width:0}fieldset:disabled{opacity:.45}.xy-controls{display:flex;gap:12px;margin-top:18px}.xy-controls label{font-size:10px;display:flex;align-items:center;gap:5px;flex:1;position:relative}.xy-controls input{width:53px;border:1px solid #dfe3d9;background:#fff;border-radius:5px;padding:7px 4px;color:var(--ink);font-size:11px;text-align:center;-webkit-appearance:textfield;-moz-appearance:textfield;appearance:textfield}.xy-controls input::-webkit-inner-spin-button{-webkit-appearance:none;-moz-appearance:none;appearance:none}.xy-controls label>span{font-size:10px;color:var(--muted)}.art-actions{display:flex;justify-content:space-between;margin-top:15px}.danger{color:#9b4534}.help-text{color:var(--muted);font-size:10px;line-height:1.9;margin-top:22px}@media(min-width:1500px){.workspace{grid-template-columns:380px 1fr}.model-section,.panel-scroll{padding-left:30px;padding-right:30px}.fabric-thumb{height:58px}.stage-heading{top:36px;left:45px}.stage-heading h1{font-size:26px}}@media(max-width:1000px){.workspace{grid-template-columns:318px 1fr}.model-section,.panel-scroll{padding:20px}.fabric-grid{gap:13px 10px}.fabric-thumb{height:44px}.fabric-label{font-size:9px}.stage-heading{left:24px;right:24px}.stage-tools{right:15px}.stage-bottom{left:20px;right:20px;gap:10px}.stage-caption{left:24px;right:24px;font-size:9px}.view-buttons{width:155px}.motion-buttons{gap:5px}.compact{padding:0 9px!important}.local-badge{display:none}.export-button{margin-left:auto}}@media(max-width:700px){.app-header{height:62px;padding:0 18px;gap:12px}.brand{font-size:29px}.brand-divider{margin:0;height:20px}.app-name{font-size:11px;letter-spacing:0}.export-button{font-size:10px;min-height:33px;padding:0 11px;gap:5px}.export-button svg{width:14px}.workspace{height:auto;min-height:0;display:flex;flex-direction:column}.stage{order:-1;height:56dvh;min-height:380px;max-height:620px}.stage-heading{top:20px;left:20px;right:20px}.stage-heading h1{font-size:19px}.stage-heading p{font-size:9px;margin-top:6px}.preview-tag{font-size:9px;height:24px}.stage-tools{top:84px;right:12px}.stage-tools .icon-button{height:30px;width:30px}.stage-bottom{bottom:42px;left:16px;right:16px;gap:8px}.view-buttons{width:155px}.view-buttons button{min-height:29px}.button.compact{min-height:35px;font-size:9px}.stage-caption{bottom:15px;left:20px;right:20px;font-size:8px}.stage-caption svg{width:10px}.editor{border-right:0}.model-section{padding:20px 22px}.section-label{margin-bottom:10px}.select-wrap{height:44px}.panel-scroll{overflow:visible;padding:24px 22px 28px}.fabric-grid{gap:17px 15px}.fabric-thumb{height:60px}.fabric-label{font-size:11px}.section-heading h2{font-size:14px}.section-heading>span{font-size:11px}.color-chip{width:32px;height:32px}.color-chip[aria-pressed=true]:after{top:12px;right:12px;bottom:12px;left:12px}.range-row{font-size:12px}.range-row output{font-size:11px}.help-text{font-size:11px}.editor-footer{padding:0 22px;min-height:52px}.uv-wrap{max-width:430px;margin:auto}.stage-caption>span:last-child{max-width:40%;text-align:right}.motion-buttons:has(#animate:not([hidden])) .compact{font-size:0}.motion-buttons:has(#animate:not([hidden])) .compact svg{width:16px}#toast{bottom:20px;font-size:11px;text-align:center;min-width:220px}input[type=range]{height:4px;margin-bottom:18px}input[type=range]::-webkit-slider-thumb{width:18px;height:18px}.xy-controls input{width:60px}}@media(min-width:701px)and (max-height:500px){html.web-studio,.web-studio body{overflow:hidden;height:100dvh}.web-studio .workspace{height:100dvh;min-height:0}.web-studio .editor{position:absolute;top:70px;left:12px;bottom:10px;width:clamp(250px,36vw,320px)}.web-studio .model-section{padding:12px 14px 8px}.web-studio .panel-scroll{padding:12px 14px}.web-studio .stage-heading{top:78px;left:calc(clamp(250px,36vw,320px) + 34px)}.web-studio .stage-bottom,.web-studio .stage-caption{left:calc(clamp(250px,36vw,320px) + 34px)}.web-studio .stage-tools{top:84px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{transition:none!important;animation-duration:2s!important}}.region-section{padding-bottom:20px;margin-bottom:20px;border-bottom:1px solid var(--line)}.region-grid{display:flex;flex-wrap:wrap;gap:7px}.region-button{display:flex;align-items:center;gap:6px;min-height:33px;padding:0 10px;border-radius:6px;background:#edf0e7;font-size:10px;border:1px solid transparent}.region-button[aria-pressed=true]{background:#e4ecdc;border-color:#79916a;color:#304e3e;font-weight:650}.region-color{width:9px;height:9px;border-radius:50%;border:1px solid #00000020;background:var(--part-color, #e7dfce)}.region-help{font-size:10px;line-height:1.8;color:var(--muted);margin-top:11px}.region-section .section-heading{margin-bottom:12px}:root{color:#edf0f7;background:#0c0d15;--ink: #edf0f7;--muted: #a0a9ba;--line: #303646;--green: #d6ee61;--accent: #28392d}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,canvas:focus-visible{outline-color:#d6ee61}::selection{background:#d6ee61;color:#172018}button:hover:not(:disabled){background:#293244}.button{background:#1b2030}.button.dark{color:#fff;background:#4174ff;border-color:#4174ff}.button.dark:hover:not(:disabled){background:#5684ff}#export-image.button.dark{color:#172018;background:var(--green);border-color:var(--green);box-shadow:0 5px 18px #d6ee6126;transition:background .16s,box-shadow .16s,transform .16s}#export-image.button.dark:hover:not(:disabled){background:#e2f57a;border-color:#e2f57a;box-shadow:0 7px 22px #d6ee6138}#export-image.button.dark:active:not(:disabled){transform:translateY(1px) scale(.995)}#export-video.button{border-color:#384253}#export-video.button:hover:not(:disabled){border-color:#566247}#export-video.button:active:not(:disabled){transform:translateY(1px) scale(.995)}.app-header{background:#0f101a}.editor{background:#141621}.brand-dot,.local-badge>span,.editor-section-title #art-dot,.preview-tag>span{background:#d6ee61}.category-row select{background:#1c2230}.select-wrap{background:#1b2030;border-color:#384253}.select-wrap>svg:first-child{color:#bbc7a6}select{color-scheme:dark}select option{background:#1b2030;color:#edf0f7}select option[data-membership=required]{color:#8c95a6}select optgroup{background:#1b2030;color:#c8d998}.panel-scroll{scrollbar-color:#4d596e transparent}.fabric-thumb{border-color:#465166}.fabric[aria-pressed=true] .fabric-thumb,.color-chip[aria-pressed=true]{box-shadow:0 0 0 2px #141621,0 0 0 3.5px var(--green)}.fabric[aria-pressed=true] .fabric-thumb:after{border-color:#141621}.fabric-label{color:#aeb8c9}input[type=range]{background:#3a4455}input[type=range]::-webkit-slider-thumb{border-color:#141621;box-shadow:0 1px 4px #00000040}input[type=range]::-moz-range-thumb{border-color:#141621}.color-chip{border-color:#ffffff30}.custom-color>div{background:#1b2030}.segmented{background:#1c2230}.segmented button{color:#aeb8c9}.segmented button.selected{background:#34423c;color:#e3f4b7;box-shadow:0 2px 4px #00000020}.stage{background:linear-gradient(135deg,#c7c7c7,#b0b0b0 48%,#929292);color:#30343b}.stage-heading p{color:#555960}.preview-tag{color:#c4d3b0;background:#1c2430bf}.stage-tools{background:#1c2430d9;color:#edf0f7}.view-buttons{background:#1c2430c9}.button.compact{background:#1c2430c9;color:#edf0f7}.button.compact[aria-pressed=true]{background:#34423c;color:#e3f4b7}.stage-caption{color:#4e5259}.load-overlay{background:#141b28ed;color:var(--ink)}.load-overlay>span:last-of-type{color:#b7c1d0}#retry.button{color:#172018;background:var(--green);border-color:var(--green);min-height:44px}#retry.button:hover:not(:disabled){background:#e2f57a;border-color:#e2f57a}.spinner{border-color:#3a4455;border-top-color:var(--green)}#toast{background:#28392d;color:#edf0f7;box-shadow:0 8px 30px #00000040}.upload-zone{background:#1c2830;border-color:#63754e}.upload-zone:hover,.upload-zone.dragging{background:#28392d;border-color:#d6ee61}.upload-zone:focus-visible{outline-color:#d6ee61!important}.upload-zone>span,.upload-zone>small{color:#adbba5}.uv-wrap{background:#202734}.uv-empty{color:#c4d3b0}.placement-buttons button{background:#1c2430}.xy-controls input{background:#1b2030;border-color:#384253}.danger{color:#f19184}.region-button{background:#1c2230}.region-button[aria-pressed=true]{background:#28392d;border-color:#8b9f53;color:#e3f4b7}.region-color{border-color:#ffffff30}.layer-manager{margin:12px 0 20px}.layer-heading{display:flex;flex-wrap:wrap;justify-content:space-between;gap:4px;color:var(--muted);font-size:10px;margin-bottom:8px}.art-layers{list-style:none;padding:0;margin:0;display:grid;gap:6px;max-height:216px;overflow-y:auto}.art-layers li{display:flex;align-items:center;min-width:0;padding:4px;border:1px solid var(--line);border-radius:7px;background:#1b2030}.art-layers li.selected{border-color:#8b9f53;background:#28392d;color:#e3f4b7}.art-layers .layer-select{flex:1;min-width:0;display:flex;align-items:center;gap:8px;min-height:44px;padding:2px 4px;background:transparent;border:0;border-radius:4px;text-align:left;color:inherit}.art-layers img{width:34px;height:34px;object-fit:contain;flex:none;background:#d7ddd0;border-radius:4px}.art-layers span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px}.layer-actions{display:flex;flex:none;gap:1px}.layer-actions button{display:grid;place-items:center;width:44px;min-height:44px;padding:0;border:0;border-radius:4px;background:transparent;color:inherit;font-size:18px}.layer-actions button:disabled{opacity:.3;cursor:default}.layer-actions .layer-delete{color:#f19184;font-size:11px}.layer-actions .layer-duplicate{font-size:11px}.layer-actions button:not(:disabled):hover{background:#ffffff0d}.layer-actions button:not(:disabled):active{background:#ffffff1a}:root{--scene-background: linear-gradient(135deg, #414e64, #293241 48%, #141b28) fixed}body{background:var(--scene-background)}.app-header{position:absolute;top:18px;left:20px;right:20px;z-index:10;height:64px;padding:0 22px;border:1px solid #ffffff15;border-radius:16px;background:#10131deb;box-shadow:0 8px 32px #151b2d14;backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px)}.workspace{position:relative;display:block;height:100dvh;min-height:650px}.stage{position:absolute;top:0;right:0;bottom:0;left:0;background:transparent}.web-studio .load-overlay{padding-left:390px;padding-right:34px;text-align:center}.editor{position:absolute;top:100px;left:20px;bottom:20px;z-index:5;width:334px;border:1px solid #ffffff18;border-radius:18px;background:#141621ed;box-shadow:0 16px 50px #11182726;overflow:clip;backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px)}.model-section{padding:20px 20px 12px;border-bottom:1px solid var(--line)}.panel-scroll{padding:22px 20px;scroll-padding-top:22px}.studio-shortcuts{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:3px;margin-top:14px}.studio-shortcuts button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;border-radius:8px;padding:8px 2px;min-height:51px;font-size:10px;color:var(--muted)}.studio-shortcuts button:hover,.studio-shortcuts button:focus-visible{color:var(--green);background:#28392d}.stage-heading{top:120px;left:390px}.stage-tools{top:180px}.stage-bottom,.stage-caption{left:390px}.stage-heading h1,.stage-heading p,.stage-caption{text-shadow:0 1px 12px #ffffff55}.dark-backdrop .stage-heading h1,.dark-backdrop .stage-heading p,.dark-backdrop .stage-caption{color:#f2f4f8;text-shadow:0 1px 8px #000a}.editor-section-title{scroll-margin-top:0}.editor-section-title .text-button{margin-left:auto;font-weight:400}.section-intro{margin:-8px 0 20px;line-height:1.8}.direction-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin-bottom:22px}.direction-grid button{background:#1c2230;border:1px solid var(--line);border-radius:8px;min-height:42px;font-size:11px}.direction-grid button[aria-pressed=true],.background-grid button[aria-pressed=true],.motion-grid button[aria-pressed=true],#transparent-background[aria-pressed=true]{background:#28392d;border-color:#8b9f53;color:#e3f4b7}.background-grid,.motion-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin-bottom:20px}.background-grid button{padding:7px;border-radius:9px;border:1px solid var(--line);text-align:left;font-size:11px;background:#1b2030}.background-grid button>span{display:block;height:53px;border-radius:5px;margin-bottom:7px}.full-width{width:100%;margin:8px 0;min-height:44px}.background-upload{cursor:pointer}.background-upload:hover{background:#293244}.checker-chip{width:18px;height:18px;border-radius:4px;background:repeating-conic-gradient(#707a88,#707a88 25%,#b1bac7 0%,#b1bac7 50%) 0 / 10px 10px}#background-file-name{overflow-wrap:anywhere}.motion-grid button{display:flex;flex-direction:column;align-items:flex-start;min-width:0;padding:12px;border:1px solid var(--line);border-radius:10px;background:#1b2030;text-align:left}.motion-grid strong{font-size:12px;font-weight:600;margin:10px 0 4px}.motion-grid small{font-size:10px;color:var(--muted);line-height:1.6}.motion-illustration{height:38px;align-self:center;display:grid;place-items:center;color:#b8c4d6}.motion-illustration svg{width:35px;height:35px}.motion-grid button:hover .motion-illustration{transform:translateY(-3px) rotate(-6deg)}.motion-grid button:active,.direction-grid button:active,.background-grid button:active{transform:scale(.98)}.motion-illustration{transition:transform .2s}.motion-transport{display:flex;align-items:center;gap:7px}.motion-transport .button{padding:0 10px;font-size:11px}.motion-transport output{margin-left:auto;white-space:nowrap;font-size:10px;color:var(--muted);font-variant-numeric:tabular-nums}.export-field{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:17px 0;font-size:11px}.export-field select{max-width:65%;min-height:38px;background:#1b2030;border:1px solid var(--line);border-radius:7px;color:var(--ink);padding:0 9px}#video-support{margin-top:12px}.export-status{position:fixed;z-index:50;left:50%;bottom:30px;transform:translate(-50%);width:min(380px,calc(100vw - 32px));border:1px solid #ffffff20;border-radius:16px;padding:24px;background:#141621f5;color:var(--ink);box-shadow:0 12px 60px #0005}.export-status strong{font-size:15px}.export-status p{margin:12px 0;color:var(--muted);font-size:12px}.export-status progress{accent-color:var(--green);width:100%;height:6px;display:block;margin-bottom:18px}.export-status .button{width:100%}.editor .segmented#finishes{flex-wrap:wrap}#finishes button{min-width:28%;min-height:38px}.export-membership{margin:16px 0 22px;padding:14px;border:1px solid #8b9f535c;border-radius:10px;background:#26312666}.export-membership strong{font-size:12px;color:#e3f4b7}.export-membership p{margin:9px 0 12px;color:var(--muted);font-size:11px;line-height:1.7}.export-membership .member-actions{display:flex;flex-wrap:wrap;gap:7px}.member-actions a{flex:1;min-height:40px;padding:8px;text-decoration:none;font-size:11px;text-align:center}.export-membership>button{margin-top:10px;padding:4px 0;min-height:36px;font-size:10px;color:var(--muted);text-align:left}.export-membership[data-status=error]{border-color:#f1918460}.export-membership[data-status=member]{background:#28392d}.model-access-summary{margin-top:8px;font-size:10px;line-height:1.6;color:#c8d998}.model-membership{margin:auto;width:min(420px,calc(100vw - 32px));max-height:calc(100dvh - 32px);padding:24px;overflow-y:auto;border:1px solid #47533c;border-radius:18px;background:#171c29;color:var(--ink);box-shadow:0 24px 90px #0007;color-scheme:dark}.model-membership[open]{animation:membership-dialog-enter .16s ease-out}.model-membership::backdrop{background:#0c101aa6;backdrop-filter:blur(4px);-webkit-backdrop-filter:blur(4px);animation:membership-backdrop-enter .16s ease-out}.model-membership-header{display:flex;align-items:center;justify-content:space-between;gap:12px}.model-membership-header h2{color:#e3f4b7;font-size:17px;line-height:1.5}.model-membership-header .icon-button{width:44px;height:44px;flex:none;color:#b8c1d1}.model-membership p{margin:12px 0 20px;color:#b8c1d1;font-size:12px;line-height:1.8}.model-membership .model-membership-style{margin:10px 0 0;color:var(--ink);font-size:14px;font-weight:600}.model-membership .member-actions{display:flex;flex-wrap:wrap;gap:7px}.model-membership .member-actions a{min-height:44px;font-size:12px}.model-membership .button.dark{color:#172018;background:var(--green);border-color:var(--green)}.model-membership .button.dark:hover{background:#e2f57a}.model-membership>button{display:block;min-height:44px;width:100%;margin-top:6px;font-size:11px;text-align:center}.account-dialog{flex-direction:column;margin:auto;width:min(900px,calc(100vw - 32px));height:min(820px,calc(100dvh - 40px));max-height:calc(100dvh - 40px);padding:18px;overflow:hidden;border:1px solid #47533c;border-radius:18px;background:#171c29;color:var(--ink);box-shadow:0 24px 90px #0009;color-scheme:dark}.account-dialog[open]{display:flex;animation:membership-dialog-enter .16s ease-out}.account-dialog:not([open]){display:none}.account-dialog::backdrop{background:#0c101aa6;backdrop-filter:blur(4px);-webkit-backdrop-filter:blur(4px)}.account-dialog-header{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:10px;flex:none}.account-dialog-header h2{margin:0;color:#e3f4b7;font-size:16px}.account-dialog-header .text-button{justify-self:start;min-height:42px}.account-dialog-header .icon-button{justify-self:end;width:42px;height:42px;color:#b8c1d1}.account-dialog>p{flex:none;margin:8px 0 12px;color:#b8c1d1;font-size:12px;line-height:1.7}.account-dialog iframe{width:100%;min-height:0;flex:1;border:0;border-radius:10px;background:#fff}@keyframes membership-dialog-enter{0%{opacity:0;transform:translateY(6px) scale(.985)}to{opacity:1;transform:none}}@keyframes membership-backdrop-enter{0%{opacity:0}to{opacity:1}}@media(prefers-reduced-motion:reduce){.model-membership[open],.model-membership::backdrop{animation:none!important}}@media(max-width:700px){.account-dialog{width:calc(100vw - 16px);height:calc(100dvh - 20px);max-height:calc(100dvh - 20px);padding:10px;border-radius:14px}.account-dialog-header h2{font-size:14px}.account-dialog>p{margin:5px 0 8px;font-size:11px}}@media(min-width:701px)and (max-width:1000px){.editor{width:300px;left:14px}.web-studio .load-overlay{padding-left:340px;padding-right:16px}.model-section,.panel-scroll{padding-left:16px;padding-right:16px}.stage-heading,.stage-bottom,.stage-caption{left:340px}.stage-bottom{gap:8px;right:16px}.stage-caption>span:last-child{max-width:42%;text-align:right}.local-badge{display:none}.export-button{margin-left:auto}}@media(max-width:700px){.app-header{position:absolute;top:10px;left:10px;right:10px;height:52px;padding:0 13px;gap:12px;border-radius:13px}.app-name{font-size:10px}.workspace{display:flex;flex-direction:column;height:auto;min-height:100dvh;padding-bottom:12px}.stage{position:relative;height:61dvh;min-height:460px;max-height:650px}.stage-heading{top:88px;left:20px;right:20px}.stage-heading h1{font-size:18px}.stage-tools{top:146px;right:14px}.stage-bottom{left:16px;right:16px;bottom:46px}.stage-caption{left:20px;right:20px;bottom:18px}.editor{position:relative;top:auto;left:auto;bottom:auto;width:auto;margin:0 12px}.model-section{padding:20px}.panel-scroll{padding:24px 20px}.studio-shortcuts button{min-height:52px}.fabric-grid{gap:15px 12px}.motion-grid button,.direction-grid button{min-height:44px}}@media(prefers-reduced-motion:reduce){.motion-grid button:hover .motion-illustration,.motion-grid button:active,.direction-grid button:active,.background-grid button:active{transform:none}}@media(max-width:700px){html.web-studio{--mobile-editor-width: clamp(150px, 46vw, 280px);overflow:hidden}.web-studio body{height:100dvh;overflow:hidden}.web-studio .app-header{top:max(8px,env(safe-area-inset-top));left:8px;right:8px;height:52px;padding:0 10px;gap:8px}.web-studio .brand{font-size:25px}.web-studio .brand-divider{height:18px}.web-studio .app-name{font-size:10px;min-width:0}.web-studio .export-button{min-height:40px;padding:0 9px;font-size:10px;flex:none}.web-studio .workspace{display:block;height:100dvh;min-height:0;padding:0}.web-studio .stage{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;min-height:0;max-height:none}.web-studio #viewport{--stage-gutter: 8px}.web-studio .editor{position:absolute;top:calc(70px + env(safe-area-inset-top));left:8px;bottom:max(8px,env(safe-area-inset-bottom));width:var(--mobile-editor-width);margin:0;border-radius:12px}.web-studio .model-section{padding:12px 8px 7px;flex:none}.web-studio .model-access-summary{font-size:9px;margin-top:6px}.web-studio .section-label{font-size:11px;gap:3px}.web-studio .section-label>span{font-size:9px}.web-studio .category-row{font-size:10px;gap:4px;flex-wrap:wrap}.web-studio .category-row select{min-width:0;max-width:100%;min-height:36px;padding:5px;font-size:10px}.web-studio .select-wrap{height:42px}.web-studio .select-wrap>svg:first-child{width:16px;margin-left:7px;flex:none}.web-studio .select-wrap>svg:last-child{right:6px;width:12px}.web-studio .select-wrap select{min-width:0;padding:0 20px 0 6px;font-size:10px}.web-studio .studio-shortcuts{margin-top:7px;gap:0}.web-studio .studio-shortcuts button{min-width:0;min-height:44px;padding:4px 0;font-size:8px;gap:4px}.web-studio .studio-shortcuts svg{width:15px;height:15px}.web-studio .panel-scroll{min-height:0;overflow:auto;overscroll-behavior:contain;padding:16px 9px;scroll-padding-top:16px}.web-studio .editor-section-title{font-size:12px;gap:5px;margin-bottom:15px}.web-studio .editor-section-title svg{width:15px;height:15px;flex:none}.web-studio .section-heading{flex-wrap:wrap;gap:5px}.web-studio .section-heading h2{font-size:11px}.web-studio .section-heading>span{font-size:9px}.web-studio .help-text,.web-studio .range-row{font-size:10px}.web-studio .upload-zone{min-height:140px;padding:14px 6px}.web-studio .upload-zone strong{font-size:11px}.web-studio .upload-zone>span,.web-studio .upload-zone>small{font-size:9px}.web-studio .fabric-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 7px}.web-studio .fabric-label{font-size:9px}.web-studio .fabric-thumb{height:48px}.web-studio .custom-color{flex-wrap:wrap;gap:8px;font-size:10px}.web-studio .color-chip{width:28px;height:28px}.web-studio .region-button{font-size:10px;min-height:38px;padding:7px}.web-studio .art-layers li{flex-wrap:wrap}.web-studio .art-layers .layer-select{flex-basis:100%}.web-studio .layer-actions{display:grid;width:100%;grid-template-columns:repeat(4,minmax(0,1fr))}.web-studio .layer-actions button{width:100%;min-height:36px}.web-studio .layer-heading{font-size:9px}.web-studio .placement-buttons{flex-wrap:wrap;gap:4px}.web-studio .placement-buttons button{min-width:0;flex:1 1 40%;min-height:36px;padding:7px 3px;font-size:9px}.web-studio .xy-controls{flex-wrap:wrap;gap:8px}.web-studio .xy-controls label{font-size:9px;gap:4px}.web-studio .xy-controls input{width:42px;min-height:36px;font-size:11px}.web-studio .background-grid,.web-studio .motion-grid{grid-template-columns:minmax(0,1fr)}.web-studio .direction-grid{gap:4px}.web-studio .direction-grid button{min-height:38px;font-size:9px}.web-studio .motion-transport{flex-wrap:wrap}.web-studio .motion-transport output{margin-left:0}.web-studio .export-field{display:block;font-size:10px}.web-studio .export-field label{display:block;margin-bottom:7px}.web-studio .export-field select{max-width:100%;width:100%}.web-studio .export-membership{padding:10px}.web-studio .export-membership strong{font-size:11px}.web-studio .export-membership p{font-size:10px}.web-studio .member-actions{flex-direction:column}.web-studio .editor-footer{min-height:42px;flex:none;padding:0 8px;gap:3px;font-size:8px}.web-studio .editor-footer button{min-height:36px;padding:0 2px;font-size:9px}.web-studio .stage-heading,.web-studio .stage-bottom,.web-studio .stage-caption{left:calc(var(--mobile-editor-width) + 24px);right:9px}.web-studio .stage-heading{top:calc(82px + env(safe-area-inset-top));display:block}.web-studio .stage-heading h1{font-size:clamp(13px,3.5vw,18px);overflow-wrap:anywhere}.web-studio .stage-heading p{font-size:8px;letter-spacing:.04em}.web-studio .preview-tag{display:inline-flex;margin-top:8px;height:22px;font-size:8px;padding:0 6px}.web-studio .stage-tools{top:calc(186px + env(safe-area-inset-top));right:6px;padding:2px}.web-studio .stage-tools .icon-button{width:30px;height:36px}.web-studio .stage-bottom{bottom:calc(60px + env(safe-area-inset-bottom));flex-direction:column;gap:7px}.web-studio .view-buttons{width:100%;max-width:192px}.web-studio .view-buttons button{font-size:9px;min-height:36px}.web-studio .motion-buttons{flex-wrap:wrap;justify-content:center;gap:5px}.web-studio .button.compact{min-height:36px;font-size:9px;padding:0 7px!important}.web-studio .stage-caption{bottom:calc(12px + env(safe-area-inset-bottom));display:block;font-size:8px}.web-studio .stage-caption>span{display:flex;margin-top:5px;gap:4px;overflow-wrap:anywhere}.web-studio .load-overlay{padding-left:calc(var(--mobile-editor-width) + 20px);padding-right:8px;text-align:center}.web-studio .load-overlay strong{font-size:11px}}
