*{box-sizing:border-box}button,input{font:inherit}button{cursor:pointer}button:disabled{cursor:default;opacity:.42}button{transition:background .16s,color .16s,box-shadow .16s;border:0}button:focus-visible,a:focus-visible,input:focus-visible{outline:2px solid #ca6f3d;outline-offset:3px}[hidden]{display:none!important}:root{font-family:Inter,"PingFang SC","Microsoft YaHei",system-ui,sans-serif;color:#312f29;background:#f7f6f2;font-size:13px;--muted:#97938a;--line:#e9e6df;--orange:#ce7548;--dark:#af5d32}body{margin:0}header{height:76px;max-width:1640px;margin:auto;padding:0 42px;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:center}.brand{display:flex;align-items:center;gap:11px;text-decoration:none;color:inherit}.brand img{width:32px;height:32px}.brand b{font-size:20px;font-weight:650;letter-spacing:1px}.brand b span{font-weight:400;margin-left:8px}.brand small{border-left:1px solid #d8d3c8;padding-left:14px;font-size:11px;color:var(--muted);margin-left:6px}.header-right{display:flex;gap:25px;align-items:center}.local-badge{font-size:11px;color:#728572;display:flex;align-items:center;gap:7px}.local-badge i,.engine-status i{width:5px;height:5px;border-radius:50%;background:#7c977a}.quiet{color:#968c7f;background:transparent;font-size:11px;padding:6px}.quiet:hover{color:#a95b30}main{max-width:1640px;margin:auto;padding:0 42px}.intro{display:flex;justify-content:space-between;align-items:flex-end;padding:33px 0 28px}.eyebrow{font-size:9px;font-weight:600;letter-spacing:2px;color:#a58e77;margin:0 0 12px}.intro h1{font-size:30px;font-weight:600;letter-spacing:-1px;line-height:1.3;margin:0 0 10px}.intro h1 span{font-weight:400;color:#9b8f7f}.intro>div>p:last-child{color:var(--muted);font-size:12px;margin:0}.intro-note{text-align:right;color:#938a7e;font-size:10px;padding-bottom:3px}.intro-note small{display:block;font-size:9px;color:#b9afa1;margin-top:9px}.studio{height:min(740px,calc(100dvh - 250px));min-height:530px;display:grid;grid-template-columns:244px minmax(300px,1fr) 246px;border:1px solid #e4e0d8;border-radius:17px;overflow:hidden;background:#fff;box-shadow:0 14px 44px #51412504}.queue{display:flex;flex-direction:column;min-height:0;border-right:1px solid var(--line);background:#fdfcf9;padding:18px 15px 12px}.queue-title{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px}.queue h2,.editor h2{margin:0;font-size:12px;font-weight:600}.queue-title h2 span{color:#aa9f91;font-size:10px;font-weight:400;padding:2px 6px;background:#eeeae2;border-radius:5px;margin-left:5px}.square{background:#f0ece4;border-radius:7px;width:25px;height:25px;color:#968573;font-size:17px}.drop{border:1px dashed #ded5c6;border-radius:10px;min-height:142px;text-align:center;padding:18px 8px;display:flex;flex-direction:column;align-items:center;gap:7px;cursor:pointer;transition:background .2s}.drop.dragging{background:#f8eddf;border-color:var(--orange)}.upload-icon{width:31px;height:31px;background:#f2ede3;border:1px solid #e5dbcc;color:#a58c6b;font-size:23px;border-radius:9px;line-height:30px;margin-bottom:4px}.drop b{font-size:11px;font-weight:500}.drop>span:not(.upload-icon){font-size:10px;color:#ac9e89}.drop small{font-size:9px;color:#b6ac9e;margin-top:3px}.demo-link{margin:8px 0 11px;color:#ac8a66;background:none;text-align:center;font-size:10px}.file-list{flex:1;overflow-y:auto;min-height:40px;padding:2px 0;scrollbar-width:thin}.file-card{display:flex;gap:10px;padding:9px 8px;border:1px solid transparent;border-radius:9px;margin-bottom:5px;position:relative;cursor:pointer;align-items:center}.file-card:hover{background:#f6f2eb}.file-card.active{background:#f6ecdf;border-color:#e8cbb1}.file-card>img{width:44px;height:44px;object-fit:contain;border-radius:6px;background:#ede9e2;flex-shrink:0}.file-card>div{min-width:0;flex:1}.file-card b{font-size:10px;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-weight:500;max-width:116px;margin-bottom:6px}.file-card small{font-size:9px;color:#aaa092}.file-card[data-state=done] small{color:#839279}.file-card[data-state=error] small{color:#b56648}.remove-file{background:none;color:#b1a291;padding:3px 4px;border-radius:4px;align-self:flex-start;margin-top:-4px}.remove-file:hover{background:#ecd6c6;color:#a45c35}.queue-bottom{border-top:1px solid var(--line);padding-top:10px}.queue-bottom>p{font-size:9px;color:#a89d8d;line-height:1.6;margin:0 0 10px}.primary{background:var(--orange);border:1px solid var(--orange);color:#fff;border-radius:8px;padding:11px 12px;font-size:11px;font-weight:500;box-shadow:0 3px 5px #be714810}.primary:hover:not(:disabled){background:var(--dark);border-color:var(--dark)}.batch-actions{display:flex;flex-direction:column;gap:3px}.outline{width:100%;border:1px solid #ddd2c2;color:#998169;background:none;border-radius:8px;padding:9px;margin-top:8px;font-size:10px}.danger{display:block;margin:7px auto 0;font-size:9px}.workspace{min-width:0;display:flex;flex-direction:column;background:#f8f8f6;position:relative}.workspace-top{height:67px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:0 21px;border-bottom:1px solid #ebe9e2;background:#fff}.file-heading{min-width:0}.file-heading b{display:block;font-weight:500;font-size:11px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:260px}.file-heading small{font-size:9px;color:#aaa092;display:block;margin-top:5px}.view-tabs{display:flex;flex-shrink:0;background:#f3f1ec;padding:3px;border-radius:7px;gap:3px}.view-tabs button{font-size:9px;color:#9b9185;background:transparent;padding:6px 10px;border-radius:5px}.view-tabs button[aria-pressed=true]{background:#fff;color:#786754;box-shadow:0 1px 3px #00000006}.stage{position:relative;flex:1;min-height:150px;overflow:hidden;touch-action:none}.checker{background-color:#f4f3ee;background-image:linear-gradient(45deg,#e9e7e1 25%,transparent 25%),linear-gradient(-45deg,#e9e7e1 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#e9e7e1 75%),linear-gradient(-45deg,transparent 75%,#e9e7e1 75%);background-size:20px 20px;background-position:0 0,0 10px,10px -10px,-10px 0}.stage.white{background:#fff}.stage.dark{background:#343832}.surface{position:absolute;transform-origin:0 0;left:50%;top:50%;will-change:transform}.surface canvas{display:block;cursor:none;touch-action:none;box-shadow:0 10px 34px #35302a12}.stage.is-pan canvas{cursor:grab}.stage.is-pan.is-dragging canvas{cursor:grabbing}#brush-cursor{position:absolute;border:1px solid #d07849;border-radius:50%;box-shadow:0 0 0 1px #fff9;pointer-events:none;z-index:5;transform:translate(-50%,-50%)}.empty-stage{height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;background:#f4f3ef}.empty-stage h2{font-size:17px;font-weight:500;color:#9d927f;margin:25px 0 12px}.empty-stage p{text-align:center;color:#b0a79a;font-size:11px;line-height:1.9;margin:0}.empty-art{height:110px;width:140px;position:relative}.empty-art:before{content:"";position:absolute;inset:-30px;border:1px solid #e6e2da;border-radius:50%;background:#f3f0e8;z-index:0}.pot{position:absolute;left:49px;bottom:0;width:46px;height:45px;background:#d7c5af;border-radius:3px 3px 15px 15px;clip-path:polygon(0 0,100% 0,86% 100%,14% 100%)}.leaf{position:absolute;width:23px;height:51px;border-radius:85% 5% 85% 5%;background:#b4bea6;bottom:33px;left:61px;transform:rotate(-8deg)}.leaf.two{left:39px;transform:rotate(-55deg);bottom:32px;height:41px;background:#c2c7b4}.leaf.three{left:82px;transform:rotate(31deg);bottom:31px;height:43px;background:#a6b39a}.empty-art i{font-style:normal;position:absolute;right:3px;top:5px;color:#cfac7d;font-size:27px}.work-status{position:absolute;left:50%;top:25px;transform:translateX(-50%);display:flex;align-items:center;gap:9px;padding:11px 19px;background:#fffc;border:1px solid #dfd5c6;box-shadow:0 5px 16px #00000008;border-radius:25px;z-index:6;font-size:11px;white-space:nowrap}.work-status b{font-weight:400;color:#a08666}.spinner{width:13px;height:13px;border:1.5px solid #e9d8c4;border-top-color:#c27f4e;border-radius:50%;animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.workspace-bottom{height:48px;background:#fff;display:flex;align-items:center;justify-content:space-between;padding:0 18px;border-top:1px solid var(--line);gap:10px}.backgrounds{display:flex;align-items:center;gap:7px}.backgrounds>span{font-size:9px;color:#aba08e;margin-right:3px}.backgrounds small{font-size:8px;color:#b9b1a3;margin-left:3px}.swatch{width:18px;height:18px;border-radius:50%;border:1px solid #e1dbd2}.swatch[aria-pressed=true]{outline:1px solid #b59e7f;outline-offset:2px}.swatch.white{background:#fff}.swatch.dark{background:#40463e}.swatch.checker{background-size:8px 8px;background-position:0 0,0 4px,4px -4px,-4px 0}.zoom-controls{display:flex;align-items:center;gap:7px}.zoom-controls button{background:none;color:#9b8f7d;padding:4px;font-size:12px}.zoom-controls #fit{font-size:9px}.zoom-controls span{font-size:9px;color:#b0a18c;min-width:35px;text-align:right}.message{font-size:9px;color:#a39b8c;min-height:33px;background:#fff;line-height:1.6;padding:5px 18px 10px}.message.error{color:#ba6046}.editor{display:flex;flex-direction:column;padding:24px 19px 16px;border-left:1px solid var(--line);background:#fff;overflow:auto;scrollbar-width:thin}.editor-heading{display:flex;align-items:center;gap:10px}.step-dot{width:29px;height:29px;background:#f6ede0;border-radius:9px;color:#bc9368;text-align:center;line-height:29px;font-size:17px}.editor-heading p{font-size:9px;color:#b2a797;margin:5px 0 0}.field-label{margin:28px 0 10px;color:#a49888;font-size:10px}.tool-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:6px}.tool-grid button{border:1px solid #e9e2d7;border-radius:8px;padding:10px 4px;color:#b4a48f;background:#fff;font-size:10px}.tool-grid button span{display:block;font-size:18px;margin-bottom:5px;font-weight:400}.tool-grid button[aria-pressed=true]{color:#bc7544;background:#fbf3e8;border-color:#ddb88f}.range-label{display:flex;justify-content:space-between;font-size:10px;color:#a0917d;margin:22px 0 10px}.range-label output{font-size:9px;color:#ae9b82}input[type=range]{width:100%;height:3px;accent-color:#c98959;margin:6px 0}.history-actions{display:flex;gap:7px;margin-top:23px}.history-actions button{flex:1;border:1px solid #e9e2d7;background:none;color:#a2937c;font-size:10px;padding:9px 2px;border-radius:7px}.reset{background:none;color:#b09778;text-decoration:underline;text-underline-offset:4px;font-size:9px;margin:12px auto 0;padding:5px}.tip{border-top:1px solid var(--line);margin-top:21px;padding-top:17px}.tip b{font-size:10px;font-weight:500;color:#9b8970}.tip p{font-size:10px;color:#b2a591;line-height:1.9;margin:9px 0}.tip small{font-size:9px;color:#beb19d;line-height:1.9}.export-box{padding-top:24px;margin-top:auto}.png-tag{font-size:8px;border:1px solid #e7dece;padding:3px 5px;color:#b49a76;border-radius:3px;letter-spacing:1px}.export-box h3{font-size:12px;font-weight:500;margin:12px 0 7px}.export-box p{font-size:9px;color:#b3a38c;margin:0 0 15px}.export-box button{display:flex;justify-content:space-between;width:100%}.export-box>small{display:block;text-align:center;color:#beb2a1;font-size:8px;margin-top:9px}.engine-status{font-size:9px;color:#a2ab99;text-align:center;display:flex;justify-content:center;align-items:center;gap:6px;margin:19px 0 0}.engine-status.error{color:#bd7964}footer{display:flex;justify-content:space-between;color:#b9b1a5;font-size:9px;padding:18px 2px 24px}dialog{border:1px solid #e1d7ca;border-radius:17px;padding:35px;max-width:550px;background:#fffcf7;color:#756b5c;box-shadow:0 30px 80px #0002}dialog::backdrop{background:#29251d55;backdrop-filter:blur(3px)}dialog h2{font-size:22px;font-weight:500;color:#504737}dialog p,dialog li{font-size:12px;line-height:1.9}dialog li{margin-bottom:10px}dialog ol{padding-left:20px}dialog summary{font-size:11px;cursor:pointer;margin-top:22px}dialog a{color:#b67b47;font-size:11px}.close{position:absolute;right:15px;top:10px;font-size:25px;color:#ad9c86;background:none}@media(min-width:1500px){.studio{grid-template-columns:265px minmax(300px,1fr) 270px}.editor{padding:26px}.queue{padding:20px}.file-card b{max-width:136px}}@media(max-width:1100px){header{padding:0 22px}main{padding:0 22px}.studio{grid-template-columns:205px minmax(250px,1fr) 211px}.editor{padding:22px 14px}.workspace-top{padding:0 14px}.view-tabs button{padding:6px}.file-heading b{max-width:180px}.backgrounds small{display:none}.intro h1{font-size:26px}.intro-note{font-size:9px}.file-card b{max-width:93px}}@media(max-height:850px) and (min-width:901px){.studio{height:620px;min-height:530px}.intro{padding:24px 0}.editor{padding-top:18px}.field-label{margin-top:20px}.tip{display:none}.export-box{padding-top:18px}}@media(max-width:900px){.intro-note{display:none}.studio{height:auto;min-height:0;grid-template-columns:190px minmax(0,1fr);overflow:visible}.queue{grid-row:1/3;max-height:820px;min-height:600px;border-radius:17px 0 0 17px}.workspace{height:500px;border-radius:0 17px 0 0;overflow:hidden}.editor{grid-column:2;border-left:0;border-top:1px solid var(--line);border-radius:0 0 17px 0;display:grid;grid-template-columns:1fr 1fr;gap:10px 18px;padding:16px}.editor-heading,.tip,.field-label,.engine-status{display:none}.tool-grid{grid-column:1;grid-row:1/3}.tool-grid button{padding:7px 3px}.range-label{margin:0;font-size:9px}.range-label output{font-size:8px}input[type=range]{margin:0}.history-actions{margin:0;grid-column:1;grid-row:3}.reset{grid-column:1;grid-row:4;margin:0}.export-box{grid-column:2;grid-row:3/5;padding:0}.png-tag,.export-box h3,.export-box p,.export-box>small{display:none}.export-box button{height:100%}.intro{padding:26px 0}.intro h1{font-size:25px}.workspace-bottom{padding:0 10px}.file-card{gap:6px;padding:8px 4px}.file-card b{max-width:87px}}@media(max-width:600px){header{height:65px;padding:0 16px}.brand small{display:none}.header-right{gap:10px}.local-badge{font-size:9px}.quiet{font-size:10px}main{padding:0 12px}.intro{padding:23px 4px}.intro h1{font-size:23px}.intro h1 span{display:block;margin-top:4px}.intro>div>p:last-child{font-size:10px}.studio{display:flex;flex-direction:column;border-radius:13px;overflow:hidden}.queue{order:2;max-height:none;min-height:0;border:0;border-top:1px solid var(--line);border-radius:0;padding:14px}.drop{min-height:70px;padding:9px}.upload-icon,.drop>span:not(.upload-icon),.drop small{display:none}.queue-title{margin-bottom:9px}.demo-link{margin:6px 0}.file-list{display:flex;gap:5px;overflow:auto;min-height:0;max-height:110px}.file-card{min-width:140px;margin:0;padding:8px;align-items:center}.file-card b{max-width:75px}.file-card img{width:33px;height:33px}.queue-bottom{border:0;padding-top:10px;display:grid;grid-template-columns:1fr 1fr;gap:6px}.queue-bottom>p{grid-column:1/-1;margin:0}.batch-actions button{padding:10px 4px}.outline{margin:0}.danger{grid-column:1/-1;margin:0}.workspace{order:0;border-radius:0;height:410px}.editor{order:1;display:grid;border-radius:0}.workspace-top{height:60px;padding:0 12px}.file-heading b{font-size:10px;max-width:160px}.file-heading small{font-size:8px}.backgrounds{gap:6px}.zoom-controls{gap:4px}.zoom-controls span{font-size:8px}.message{font-size:8px;padding:5px 12px}.workspace-bottom{height:43px}.intro p.eyebrow{font-size:8px;margin-bottom:8px}footer{font-size:8px;padding:15px 3px}footer>span:last-child{display:none}dialog{margin:20px;padding:28px;max-height:85dvh;overflow:auto}}@media(prefers-reduced-motion:reduce){*{transition:none!important}.spinner{animation-duration:2s}}

@media(min-width:901px){header{height:68px}.intro{padding:24px 0 22px}.studio{height:calc(100dvh - 206px);min-height:455px}}@media(max-height:850px) and (min-width:901px){.editor{padding:18px 16px 12px}.field-label{margin:18px 0 9px}.range-label{margin:17px 0 7px}.history-actions{margin-top:17px}.export-box{padding-top:16px}.engine-status{margin-top:14px}.export-box h3{margin-top:10px}.export-box p{margin-bottom:11px}.reset{margin-top:8px}.queue{padding-top:15px}.drop{min-height:123px;padding:12px 8px}.demo-link{margin-bottom:8px}}

@media(max-width:900px){.editor .tool-grid{grid-column:1/-1;grid-row:1}.editor label[for="brush-size"]{grid-column:1;grid-row:2}.editor #brush-size{grid-column:1;grid-row:3}.editor label[for="softness"]{grid-column:2;grid-row:2}.editor #softness{grid-column:2;grid-row:3}.editor .history-actions{grid-column:1;grid-row:4}.editor .reset{grid-column:1;grid-row:5}.editor .export-box{grid-column:2;grid-row:4/6}}

.home-link{text-decoration:none}footer a{color:inherit;text-decoration:none}footer a:hover{color:var(--orange)}@media(max-width:600px){.home-link{display:none}footer a{font-size:8px}}

.file-card[data-state=empty] small{color:#a34835}.file-card[data-state=empty]{border-color:#eed3c7;background:#fff8f3}
