.tool-section{min-width:0;margin:0 0 22px;padding:18px 12px 12px;border:1px solid #d7e4d9;border-radius:12px}.tool-section legend{padding:0 9px;color:#637b6d;font-size:11px;font-weight:650;letter-spacing:1px}.automatic-tools .button+.button{margin-top:10px}.manual-tools .tool{margin:2px 0}.batch-entry{margin:0;font-size:12px;padding:12px 8px!important}.batch-entry span{font-size:9px;border-radius:4px;background:#dff5e7;padding:2px 5px}#batch-dialog{width:min(640px,94vw);padding:28px;max-height:90vh}#batch-dialog h2#batch-title{font-size:24px;letter-spacing:0;margin:0 35px 6px 0}#batch-dialog .batch-subtitle{margin:0 0 20px}#batch-file-details{margin:10px 0 16px}#batch-file-details summary{cursor:pointer;font-size:12px;color:#687d70;padding:6px 0}#batch-file-details .batch-items{margin-top:8px}#batch-dialog #batch-error:empty{display:none}#batch-dialog #batch-status{margin:18px 0 14px;font-size:12px}#batch-dialog .batch-toolbar{margin-top:20px;font-size:16px}#batch-dialog .batch-entitlement{background:#f5f8f5;border:0;padding:10px 12px}#batch-dialog #batch-refresh{border:0;font-size:12px;padding:10px;color:#687d70;order:2}#batch-dialog .batch-actions{margin-top:16px}.batch-close{position:absolute;right:18px;top:12px;font-size:28px;border:0;background:none;color:#778a80}#batch-dialog h2{font-size:30px;letter-spacing:-1px}.batch-benefits{display:flex;gap:8px;margin:20px 0;flex-wrap:wrap}.batch-benefits span{font-size:11px;color:#197345;background:#edf8f1;border:1px solid #d6ebdd;border-radius:20px;padding:6px 12px}.batch-entitlement{background:linear-gradient(110deg,#e9f8ee,#f5faf2);border-left:3px solid #019e48;padding:14px 16px;line-height:1.8;font-size:12px;border-radius:8px}.batch-select{border:1px dashed #a8ccb5;background:#fafdfb;border-radius:12px;padding:20px;display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:18px}.batch-select strong{font-size:14px}.batch-select p{font-size:11px;color:#7c8b84;margin:7px 0 0}.batch-select button{white-space:nowrap}.batch-toolbar{display:flex;justify-content:space-between;align-items:center;margin:14px 0 6px;font-size:12px}.batch-items{list-style:none;padding:0;margin:0;max-height:220px;overflow:auto;border:1px solid #e3eee7;border-radius:10px}.batch-items:empty{display:none}.batch-item{display:flex;align-items:center;gap:10px;padding:11px 13px;border-bottom:1px solid #eef3ef;font-size:12px}.batch-item:last-child{border:0}.batch-file-name{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.batch-item-state{font-size:11px;color:#4b8062;max-width:45%;overflow-wrap:anywhere}.batch-item.failed .batch-item-state{color:#b04b38}.batch-remove{border:0;background:#f0f5f1;border-radius:4px;color:#718578}.batch-progress{margin-top:18px}.batch-progress>section>div{display:flex;justify-content:space-between;font-size:11px;margin:12px 0 6px}.batch-progress progress{width:100%;height:7px;display:block;accent-color:#019e48;border:0;border-radius:8px;overflow:hidden}.batch-progress progress::-webkit-progress-bar{background:#eaf1ec}.batch-progress progress::-webkit-progress-value{background:#019e48;border-radius:8px}.batch-actions{display:flex;gap:10px;flex-wrap:wrap}.batch-note{font-size:11px!important}.batch-history{border-top:1px solid #e3eee7;margin-top:20px;padding-top:18px}.batch-history summary{font-size:12px;cursor:pointer;font-weight:600}.batch-history .history-item{gap:12px}.batch-history .history-item span{min-width:0;overflow-wrap:anywhere}.batch-history button{flex-shrink:0}@media(max-width:600px){#batch-dialog{padding:25px 18px}.batch-select{align-items:stretch;flex-direction:column}.batch-actions button{width:100%}#batch-dialog h2{font-size:25px}.batch-entry{width:100%!important;margin:0}.batch-item{padding:10px 8px}}@media(max-width:700px){.workspace .tools{display:block;padding:18px 16px}.workspace .tool-section{display:block;width:100%;margin:0 0 20px;padding:16px 12px 12px}.workspace .tool-section legend{margin-left:4px}.workspace .automatic-tools .button{width:100%}.workspace .manual-tools .tool{display:flex;width:100%;margin:3px 0;padding:11px 10px}.workspace .tools>label{display:flex;margin:0 0 8px;width:100%}.workspace .tools>input[type=range]{display:block;width:100%;margin:0 0 12px}.workspace .tools>.tool-tip{display:none}}@media(min-width:701px){.workspace .tool-section{width:100%}}:root{--ink:#203b35;--muted:#7c8b84;--green:#244e40;--lime:#d8ed93;--line:#e3e8de;--paper:#f8f9f4}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:90px}body{margin:0;background:var(--paper);font-family:Inter,-apple-system,BlinkMacSystemFont,PingFang SC,Microsoft YaHei,sans-serif;color:var(--ink);font-size:14px}button,input{font:inherit}button,a,input{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer}button:disabled{opacity:.45;cursor:not-allowed}a{color:inherit;text-decoration:none}button{color:inherit}button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid #86b266;outline-offset:3px}[hidden]{display:none!important}.nav{height:86px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);padding:0 5vw;background:#f8f9f4ed;position:sticky;top:0;z-index:20;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.brand{font-size:26px;font-weight:800;letter-spacing:-1.2px}.brand>span:first-child{color:#819b51}.brand-dot{color:#88a857}.nav nav{display:flex;gap:36px;font-size:13px}.button{border:0;border-radius:9px;display:inline-flex;align-items:center;justify-content:center;gap:20px;padding:13px 20px;font-weight:600;transition:transform .2s,background .2s}.button:not(:disabled):hover{transform:translateY(-2px)}.button.primary{background:var(--green);color:#fff}.button.primary:hover{background:#32634e}.button.subtle{background:#edf0e5}.button.outline{border:1px solid #ccd5c6;background:transparent}.button.large{padding:17px 24px}.button.full{width:100%;gap:10px}.hero{max-width:1440px;margin:auto;padding:76px 5vw 65px;display:grid;grid-template-columns:1.1fr 1fr;gap:60px;align-items:center}.eyebrow{font-size:11px;letter-spacing:2px;font-weight:600;display:flex;align-items:center;gap:9px}.live-dot{width:7px;height:7px;border-radius:50%;display:inline-block;flex-shrink:0;background:#87a84e;box-shadow:0 0 0 4px #87a84e12}h1{font-size:clamp(36px,4.4vw,64px);line-height:1.25;letter-spacing:-2px;margin:27px 0 22px;font-weight:650}.accent{color:#6b8542}.hero-copy>p{color:#7b887b;line-height:1.9;font-size:16px;margin:0 0 30px}.hero-foot{font-size:11px;color:#87917e;margin-top:23px;display:flex;align-items:center;gap:12px}.hero-foot i{width:3px;height:3px;background:#9ca58e;border-radius:50%}.hero-art{height:370px;position:relative;border-radius:24px;background:#e9eddf;padding:38px;transform:rotate(2deg);overflow:hidden}.art-grid{position:absolute;inset:0;background-image:linear-gradient(#b3be9c25 1px,transparent 1px),linear-gradient(90deg,#b3be9c25 1px,transparent 1px);background-size:24px 24px}.art-label{font-size:8px;letter-spacing:2px;position:relative;margin-bottom:20px}.landscape{height:245px;position:relative;overflow:hidden;border:7px solid #fff;border-radius:10px;background:linear-gradient(#d5dfc7,#eef0d4);box-shadow:0 15px 30px #32482d17;transform:rotate(-4deg)}.sun{position:absolute;width:55px;height:55px;background:#f8e9ac;border-radius:50%;top:27px;right:73px}.hill{position:absolute;border-radius:50% 50% 0 0;transform:rotate(-13deg)}.hill-back{width:380px;height:170px;background:#9eaf88;top:90px;left:-70px}.hill-front{width:350px;height:180px;background:#657d60;top:137px;right:-80px}.lake{position:absolute;bottom:-20px;height:65px;width:120%;background:#a7b9aa;transform:rotate(8deg)}.scene-caption{position:absolute;color:#fff;bottom:17px;left:18px;font-size:12px;letter-spacing:2px}.selection-ring{position:absolute;top:65px;left:44%;width:60px;height:85px;border:2px dashed #fff9;border-radius:45%;transform:rotate(17deg);background:#fff2}.art-chip{position:absolute;bottom:35px;right:22px;padding:14px 20px;background:#fff;border-radius:10px;box-shadow:0 6px 25px #203b3512;font-size:12px;transform:rotate(-2deg)}.art-note{position:absolute;bottom:12px;left:42px;font-size:9px;color:#8c9780}.workspace-section{padding:25px 5vw 0;max-width:1440px;margin:auto}.section-heading{display:flex;align-items:flex-end;justify-content:space-between;margin-bottom:25px}.section-heading h2{font-size:28px;margin:9px 0 0;font-weight:600}.section-heading p{color:#87917e;font-size:12px}.workspace{border:1px solid var(--line);border-radius:16px;overflow:hidden;display:grid;grid-template-columns:180px minmax(250px,1fr) 245px;background:#fff;min-height:470px;box-shadow:0 10px 40px #32482d04}.tools{padding:24px 17px;border-right:1px solid var(--line)}.small-label{font-size:10px;color:#929b8e;letter-spacing:1.5px;display:block;margin-bottom:20px}.tool{display:flex;gap:13px;align-items:center;border:0;background:transparent;border-radius:7px;width:100%;padding:13px 10px;font-size:12px;margin:5px 0}.tool span{font-size:22px}.tool.active{background:#edf2e4;color:#35543a}.divider{height:1px;background:var(--line);margin:23px 0}.tools label{font-size:11px;display:flex;justify-content:space-between}.tools input[type=range]{width:100%;accent-color:var(--green);margin:15px 0 20px}.tool-row{display:flex;gap:8px}.tool-row button{background:#fff;border:1px solid var(--line);border-radius:6px;padding:8px;font-size:11px;flex:1}.text-button{border:0;background:transparent;padding:8px 0;font-size:12px;font-weight:500;color:#587449}.tool-tip{margin-top:28px;font-size:11px;color:#919b89;line-height:1.8}.tool-tip strong{color:#63735e;font-weight:500}.tool-tip p{margin-top:7px}.editor-main{display:flex;flex-direction:column;min-width:0}.editor-toolbar,.editor-bottom{height:49px;padding:0 19px;display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:10px;color:#8e9788}.editor-toolbar>span{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;max-width:70%}.editor-toolbar{border-bottom:1px solid #eff1eb}.editor-bottom{border-top:1px solid #eff1eb}.editor-bottom>div{display:flex;gap:10px;flex-shrink:0}.canvas-area{flex:1;min-height:375px;background-color:#fafbf8;background-image:radial-gradient(#c6d0bc80 .7px,transparent .7px);background-size:14px 14px;display:flex;align-items:center;justify-content:center;padding:24px;overflow:hidden}.canvas-area.dragover{background-color:#e7efdb;outline:2px dashed #78915d;outline-offset:-5px}.upload-empty{text-align:center}.upload-icon{font-size:36px;width:65px;height:65px;background:#edf1e7;margin:auto;border:1px solid #e2e8da;border-radius:19px;display:grid;place-items:center;color:#71855c}.upload-empty h3{font-size:18px;font-weight:500;margin:20px 0 8px}.upload-empty p{font-size:12px;color:#909888;margin:0 0 22px}.upload-empty small{display:block;font-size:10px;color:#a2a997;margin-top:20px}.canvas-wrap{position:relative;width:100%;max-width:100%;line-height:0}.canvas-wrap canvas{width:100%;height:auto;display:block}.canvas-wrap #mask-canvas{position:absolute;inset:0;opacity:.46;cursor:crosshair;touch-action:none}.canvas-wrap.locked #mask-canvas{pointer-events:none}#result-preview{max-width:100%;max-height:600px;object-fit:contain}.result-panel{padding:25px 20px;border-left:1px solid var(--line)}.result-panel h3{font-size:17px;font-weight:500;margin:0 0 12px}.result-panel>p{font-size:11px;line-height:1.9;color:#89947f}.status-card{display:flex;gap:10px;align-items:center;background:#f5f7f0;border-radius:7px;padding:12px;margin:20px 0 13px;font-size:11px}.result-panel .button{font-size:12px}.download-title{font-size:12px;display:flex;justify-content:space-between;align-items:center}.download-title span{font-size:9px;color:#8d9b7f;border:1px solid #e1e7d9;border-radius:4px;padding:3px}.result-panel small{font-size:10px;color:#9da58f;line-height:1.8;display:block;margin-top:12px}.privacy-note{margin-top:27px;font-size:10px;line-height:1.8;color:#a5ad9b}.features{max-width:1440px;margin:auto;padding:65px 5vw;display:grid;grid-template-columns:repeat(3,1fr);gap:55px}.feature>span{font-size:10px;letter-spacing:2px;color:#94a77b}.feature h3{font-size:18px;font-weight:500;margin:18px 0 12px}.feature p{font-size:12px;line-height:1.9;color:#919a89;max-width:300px}.pricing{margin:0 5vw 65px;padding:38px 45px;background:#eaf0e1;border:1px solid #e2e8d8;border-radius:16px;display:flex;justify-content:space-between;align-items:center;gap:30px}.pricing h2{font-size:28px;font-weight:500;margin:15px 0}.pricing p{font-size:11px;color:#7f8d74;line-height:1.9}.price-card{max-width:360px}.price-card strong{font-size:20px;font-weight:500}.price-card strong span{font-size:12px}footer{border-top:1px solid var(--line);padding:30px 5vw;display:flex;align-items:center;justify-content:space-between;gap:20px}footer .brand{font-size:21px}footer>span{font-size:10px;color:#95a08a}dialog{border:1px solid var(--line);border-radius:20px;padding:38px;width:min(460px,92vw);max-height:90vh;color:var(--ink);box-shadow:0 30px 100px #18312530}dialog::backdrop{background:#12251b66;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px)}dialog h2{font-size:26px;margin:18px 0 10px}dialog small{display:block;font-size:10px;line-height:1.8;color:var(--muted);margin-top:18px}.close-dialog{position:absolute;right:15px;top:12px;border:0;background:none;font-size:26px;color:var(--muted)}.muted{color:var(--muted);font-size:12px;line-height:1.8}.tabs{display:flex;border-bottom:1px solid var(--line);margin:25px 0}.tabs button{flex:1;border:0;border-bottom:2px solid transparent;background:none;padding:10px}.tabs button.active{border-color:var(--green)}form label{display:block;font-size:12px;margin:16px 0}form input{display:block;width:100%;padding:12px;margin-top:8px;border:1px solid #dce3d5;border-radius:7px;background:#fafbf7}.code-input{display:flex;gap:8px}.code-input input{min-width:0;margin:0}.code-input button{white-space:nowrap;font-size:11px}.error{font-size:12px;color:#a84734;line-height:1.6;min-height:18px}.balance{background:#eef3e6;padding:20px;border-radius:10px;display:flex;align-items:center;gap:15px;flex-wrap:wrap}.balance>span{font-size:12px}.balance strong{font-size:25px}.balance .button{font-size:11px;margin-left:auto}.history-list{max-height:220px;overflow:auto;margin-bottom:20px}.history-item{padding:12px 0;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:11px}.history-item>span{color:var(--muted);line-height:1.8}.history-item button{border:0;background:#edf2e5;padding:7px 12px;border-radius:5px;white-space:nowrap}#toast{position:fixed;bottom:30px;left:50%;transform:translate(-50%);z-index:100;background:#244738;color:#fff;padding:15px 24px;border-radius:10px;box-shadow:0 8px 30px #0002;max-width:90vw;font-size:13px;line-height:1.7}@media(min-width:1600px){.pricing{max-width:1296px;margin-left:auto;margin-right:auto}}@media(max-width:1050px){.workspace{grid-template-columns:145px minmax(200px,1fr)}.result-panel{grid-column:1/-1;border-top:1px solid var(--line);border-left:0;display:grid;grid-template-columns:1fr 1fr;gap:10px 25px}.result-panel .small-label,.result-panel .divider,.result-panel .privacy-note{display:none}.result-panel .status-card{margin:0}.hero{gap:25px}.hero-art{height:320px;padding:25px}.landscape{height:220px}.hero-foot{font-size:9px;gap:7px}.editor-bottom>span{display:none}}@media(max-width:700px){.nav{height:68px}.nav nav{display:none}.brand{font-size:23px}.nav .button{font-size:11px;padding:10px 12px}.hero{padding-top:38px;grid-template-columns:1fr;gap:35px}.hero h1{font-size:43px}.hero-art{height:280px}.landscape{height:190px}.hero-foot{font-size:10px}.section-heading p{display:none}.workspace{grid-template-columns:1fr}.tools{border-right:0;display:flex;flex-wrap:wrap;gap:8px;padding:12px;align-items:center;border-bottom:1px solid var(--line)}.tools .small-label,.tools .divider,.tools .tool-tip{display:none}.tool{width:auto;padding:7px 10px}.tools label{margin-left:auto;gap:8px}.tools input[type=range]{width:90px;margin:0}.tool-row{width:auto}.tool-row button{white-space:nowrap}.canvas-area{padding:15px;min-height:320px}.result-panel{display:block}.result-panel .status-card{margin:15px 0}.result-panel .download-title{margin-top:23px}.features{grid-template-columns:1fr;gap:25px;padding-top:40px;padding-bottom:35px}.feature p{max-width:none}.pricing{display:block;padding:26px;margin-bottom:35px}.price-card{margin-top:25px}footer{flex-wrap:wrap}footer>span:last-child{width:100%}dialog{padding:28px 24px}}:root{--ink:#23243e;--muted:#626780;--green:#5950df;--lime:#efedff;--line:#e7e7f2;--paper:#f6f7fc}#account-button{display:inline-flex;align-items:center;gap:10px;max-width:60vw}#account-button .account-avatar{position:relative;display:grid;place-items:center;flex-shrink:0;width:32px;height:32px;overflow:hidden;border:2px solid #fff;border-radius:50%;background:#ddd5fa;color:#7157c5;font-size:15px;font-weight:700;box-shadow:0 2px 6px #6a50ba15}#account-button .account-avatar img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}#account-button .account-identity{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:14px;font-weight:600;letter-spacing:.2px}#account-button .account-chevron{font-size:15px;color:#9b89c7}#slider-dialog{width:390px;max-width:calc(100vw - 32px);max-height:calc(100dvh - 32px);overflow-y:auto;padding:30px 26px;border:1px solid #e8e0f5;border-radius:22px;background:linear-gradient(145deg,#faf7ff,#fff);box-shadow:0 24px 80px #30234c35}#slider-dialog::backdrop{background:#25203955;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}#slider-dialog .close-dialog{top:12px;right:14px;color:#9484ab}#slider-dialog .eyebrow{font-size:10px;letter-spacing:2px;color:#9a87b7;margin:4px 0 14px}#slider-dialog h2{font-size:23px;margin:0 0 12px;color:#392b50}#slider-dialog>p{font-size:13px;line-height:1.8;color:#92849f;margin-bottom:20px}#slider-dialog #slider-panel{margin:0;padding:14px}#slider-dialog #slider-label{display:block;margin:0 0 12px;font-size:12px;color:#806999}#auth-dialog{width:440px;max-width:calc(100vw - 32px);max-height:calc(100dvh - 32px);padding:36px;border:1px solid #e8e3f5;border-radius:24px;background:radial-gradient(ellipse at 0 0,#f1edff,transparent 48%),#fff;box-shadow:0 28px 100px #24203930;overflow-y:auto}#auth-dialog::backdrop{background:#23263866;-webkit-backdrop-filter:blur(7px);backdrop-filter:blur(7px)}#auth-dialog .close-dialog{top:16px;right:16px;display:grid;place-items:center;width:30px;height:30px;padding:0;border-radius:50%;background:#f1eef8;color:#857b9c;font-size:23px}#auth-dialog .eyebrow{font-size:10px;letter-spacing:2px;color:#8a78bc;margin:4px 0 14px}#auth-dialog h2{font-size:28px;letter-spacing:-.7px;margin:0 0 10px;color:#2c2642}#auth-dialog>p.muted{font-size:13px;line-height:1.7;color:#898197;margin:0 0 24px}#auth-dialog .tabs{display:flex;gap:4px;padding:4px;margin:0 0 24px;border:1px solid #eeebf5;border-radius:12px;background:#f5f3fa}#auth-dialog .tabs button{flex:1;padding:10px;border:0;border-radius:8px;background:transparent;color:#90879f;font-size:14px}#auth-dialog .tabs button.active{background:#fff;color:#6951c6;box-shadow:0 2px 6px #392c6410;font-weight:600}#auth-dialog form label{display:block;font-size:12px;font-weight:550;color:#655c76;margin-bottom:16px}#auth-dialog form input:not([type=range]){width:100%;min-width:0;margin-top:8px;padding:12px 14px;border:1px solid #e5e0ee;border-radius:10px;background:#faf9fc;font-size:14px;transition:border-color .2s,box-shadow .2s}#auth-dialog form input:not([type=range]):focus{border-color:#a08bdc;box-shadow:0 0 0 3px #8b6fda12;outline:none}#auth-dialog .code-input{display:flex;gap:10px;align-items:stretch}#auth-dialog #code-row>label{margin-bottom:0}#auth-dialog .code-input input{flex:1}#auth-dialog #send-code{flex-shrink:0;margin-top:8px;min-width:108px;padding:10px 12px;background:#f3efff;border:1px solid #e0d6f5;border-radius:10px;color:#7659bb;font-size:12px;font-weight:600}#auth-dialog #auth-submit{min-height:46px;border-radius:11px;background:linear-gradient(110deg,#685ae0,#865bd0);box-shadow:0 5px 15px #7456cd20;font-size:14px}#auth-dialog>small{display:block;text-align:center;font-size:11px;color:#9a91a7;line-height:1.8;margin-top:20px}#auth-dialog #auth-error{font-size:12px;line-height:1.7;margin:14px 0;color:#b64657}#auth-dialog #auth-error:empty{margin:20px 0 0}#auth-dialog #mail-status{padding:10px 12px;margin:12px 0 0;border:1px solid #cfe9dd;border-radius:9px;background:#f0faf5;color:#36775a;font-size:12px;line-height:1.7}#slider-panel{padding:14px;margin-top:14px;border:1px solid #e2daf4;border-radius:12px;background:#f7f4ff}#auth-dialog #slider-panel label{margin:0 0 10px;font-size:12px;color:#786397}#email-slider{display:block;appearance:none;width:100%;height:38px;margin:0;border:1px solid #e3dbf4;border-radius:8px;background:#eee8fa;cursor:ew-resize;accent-color:#7e61cc}#email-slider::-webkit-slider-thumb{appearance:none;width:44px;height:36px;background:linear-gradient(135deg,#9c83e0,#7759c5);border:2px solid #fff;border-radius:8px;box-shadow:0 2px 6px #7155b826;cursor:grab}#email-slider::-moz-range-thumb{width:40px;height:32px;background:#8668cc;border:2px solid #fff;border-radius:8px;cursor:grab}#slider-panel small{display:block;margin-top:8px;font-size:10px;color:#9b8eae}dialog #toast{position:sticky;bottom:0;left:auto;transform:none;max-width:100%;width:auto;margin:12px 0 0;padding:12px 16px;border-radius:10px;white-space:normal;line-height:1.6;font-size:13px;box-shadow:0 4px 16px #25203920;z-index:10}@media(max-width:500px){#auth-dialog{padding:30px 22px 24px;border-radius:20px}#auth-dialog h2{font-size:25px}#auth-dialog .code-input{gap:8px}#auth-dialog #send-code{min-width:96px;padding:10px 8px}}.workspace .editor-main{min-height:0;overflow:hidden}.workspace .canvas-area{position:relative;flex:none;height:clamp(280px,calc(100dvh - 310px),620px);min-height:0;overflow:hidden;touch-action:none;isolation:isolate}.workspace .canvas-wrap,.workspace #result-preview{position:absolute;left:50%;top:50%;max-width:none;max-height:none;margin:0;transform-origin:center;-webkit-user-select:none;user-select:none}.workspace .canvas-wrap canvas{width:100%;height:100%}.workspace .canvas-wrap #mask-canvas{filter:brightness(0) saturate(100%) invert(36%) sepia(85%) saturate(1800%) hue-rotate(218deg);opacity:.48;z-index:2}.workspace #selection-outline{position:absolute;inset:0;pointer-events:none;z-index:3}.view-controls{display:flex;align-items:center;gap:6px;padding:8px 12px;border-bottom:1px solid var(--line);flex-wrap:wrap;flex-shrink:0}.view-controls button{border:1px solid var(--line);border-radius:4px;background:#fff;padding:5px 8px;font-size:11px}.view-controls button[aria-pressed=true]{background:#eaf0ff;color:#2859c5}.view-controls output{font-size:11px;min-width:42px;text-align:center}.view-controls>span{font-size:10px;color:var(--muted);margin-left:auto}.canvas-area.panning,.canvas-area.panning #mask-canvas{cursor:grab}.canvas-area.dragging,.canvas-area.dragging #mask-canvas{cursor:grabbing}@media(max-width:700px){.workspace .canvas-area{height:320px}.view-controls>span{display:none}}body{background:radial-gradient(ellipse at 12% 0,#e9e7ff 0,transparent 45%),radial-gradient(ellipse at 95% 15%,#e6f3ff 0,transparent 38%),var(--paper)}.workspace-section .workspace{border-radius:18px;box-shadow:0 18px 55px #3736640d,0 2px 8px #37366406;border-color:#dedff0}.workspace .tools{background:linear-gradient(180deg,#fbfaff,#fff)}.workspace .result-panel{background:linear-gradient(160deg,#fff,#f9f9ff)}.workspace .tool{border:1px solid transparent;transition:background .15s,border-color .15s;min-height:46px;font-weight:550;border-radius:10px}.workspace .tool:hover:not(:disabled){background:#f0eeff}.workspace .tool.active{background:linear-gradient(115deg,#eeeaff,#f2f5ff);color:#5145cd;border-color:#ded8ff;box-shadow:inset 3px 0 #7161ef}.workspace button:disabled{opacity:.55}.workspace .tool:disabled.active{opacity:.8}.workspace .small-label{color:#777390;font-weight:650;letter-spacing:1.2px}.workspace .tool-tip{padding:12px;background:#f4f2fe;border:1px solid #ebe6ff;border-radius:12px}.workspace .tool-tip strong{color:#5b4bb0;font-weight:600}.workspace .result-panel h3{font-weight:650;font-size:19px;letter-spacing:-.4px}.workspace .status-card{background:#f1efff;border:1px solid #e6e1ff;border-radius:12px;color:#554a87;line-height:1.7}.workspace .live-dot{background:#7b62ee;box-shadow:0 0 0 4px #7b62ee15}.workspace .button.primary,.upload-empty .button.primary{background:linear-gradient(110deg,#5365e8,#7852db);border-radius:10px;box-shadow:0 5px 14px #6255dc26}.workspace .button.primary:hover:not(:disabled){background:linear-gradient(110deg,#4354d4,#6941ca)}.workspace .button.outline{border-radius:10px;background:#fff}.workspace .editor-toolbar{background:#fff;font-size:12px}.workspace .editor-bottom{background:#fcfcff}.workspace .view-controls{background:#fafaff;gap:7px}.workspace .view-controls button{border-radius:7px;padding:6px 9px;border-color:#e5e4f0;color:#5d6079}.workspace .view-controls button:hover{background:#eeebff;border-color:#d4ccfa}.workspace .view-controls button[aria-pressed=true]{background:#6556db;color:#fff;border-color:#6556db}.workspace .view-controls output{color:#5d50bd;font-weight:650}.workspace .canvas-area{background-color:#fff;background-image:conic-gradient(#eceef5 25%,transparent 0 50%,#eceef5 0 75%,transparent 0);background-size:24px 24px;box-shadow:inset 0 2px 8px #30365405}.workspace .upload-empty{padding:28px 34px;background:#ffffffed;border:1px dashed #cec7ee;border-radius:20px;box-shadow:0 12px 40px #5149a00a}.workspace .upload-icon{background:linear-gradient(135deg,#eee9ff,#e6eeff);color:#7259db;border:1px solid #dfd8fa;border-radius:18px}.section-heading h2{letter-spacing:-.6px}.section-heading .eyebrow{color:#7865bc}.features .feature{background:#ffffffa8;border:1px solid #e7e5f0;border-radius:16px;padding:22px}.features .feature>span{color:#7761b8;font-weight:600}.nav .button.subtle{background:#eeebfc;color:#6251be;border-radius:10px}.nav .brand-dot{color:#8262df}@media(max-width:700px){.workspace .upload-empty{padding:18px 20px}.workspace .tool{min-height:36px}.workspace-section .workspace{border-radius:14px}.features .feature{padding:18px}}.workspace .tool svg{width:20px;height:20px;flex-shrink:0;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}.workspace .tool-row button{border-radius:8px;background:#fff;transition:background .15s}.workspace .tool-row button:hover:not(:disabled){background:#f0edff;border-color:#d7cef9}.workspace .tools label b{background:#eeebfb;padding:2px 7px;border-radius:5px;color:#6555b6;font-variant-numeric:tabular-nums}.workspace .tool-tip{background:#f8f7fc;border-color:#efedf6}.workspace .download-title{font-weight:650;color:#34374f}.workspace .download-title span{font-weight:400;background:#f5f5fc;border-color:#e5e3ef}.workspace .privacy-note{padding-top:16px;border-top:1px dashed #e5e3ef}.workspace .editor-toolbar #replace-image{padding:6px 10px;background:#f2efff;border-radius:7px;color:#6551c5}.workspace .editor-bottom .text-button{font-size:11px;color:#71648f}.workspace .editor-bottom .text-button:hover:not(:disabled){color:#5740c5}.workspace .view-controls #pan-tool{margin-right:4px}.workspace .view-controls #fit-view{margin-left:6px}.workspace .canvas-wrap{box-shadow:0 8px 30px #25274412}.nav{box-shadow:0 1px 12px #30285004}.nav .brand{letter-spacing:-1.1px}.nav .button.subtle{border:1px solid #e7e1fb}.workspace-section{padding-top:20px}.workspace .canvas-area{height:clamp(320px,calc(100dvh - 240px),720px)}@media(max-width:700px){.workspace .canvas-area{height:340px}.workspace .tool svg{width:17px;height:17px}.workspace .tool{gap:6px}.workspace .view-controls #fit-view{margin-left:0}}html{scroll-padding-top:72px}body{color:var(--ink)}.nav{height:64px;background:#ffffffed;padding:0 4vw}.brand>span:first-child,.brand-dot{color:var(--green)}.button{border-radius:6px}.button.primary:hover{background:#204ba9}.button.subtle,.tool.active{background:#edf2fc;color:#2859c5}.button.outline{border-color:#d5dce7}.button:not(:disabled):hover{transform:none}.text-button{color:#2859c5}button:focus-visible,a:focus-visible,input:focus-visible{outline-color:#82a5ee}.live-dot{background:#2859c5;box-shadow:none}.workspace-section{max-width:1600px;padding:24px 4vw 0}.section-heading{margin-bottom:18px;align-items:center}.section-heading h2{font-size:25px;margin-top:6px}.eyebrow{color:#64748b;font-size:10px;letter-spacing:1.4px}.section-heading p{color:var(--muted)}.workspace{grid-template-columns:168px minmax(0,1fr) 238px;border-radius:8px;min-height:490px;box-shadow:0 4px 16px #16244205}.tools,.result-panel{padding:20px 16px}.small-label,.tools label,.tool-tip,.tool-tip strong,.result-panel>p,.result-panel small,.privacy-note,.download-title span{color:var(--muted)}.tool{font-size:13px;min-height:42px}.tool-tip{margin-top:20px}.divider{margin:18px 0}.editor-toolbar,.editor-bottom{color:var(--muted);flex-shrink:0;border-color:var(--line)}.canvas-area{height:clamp(300px,calc(100dvh - 270px),620px);min-height:300px;background-color:#fff;background-image:conic-gradient(#edf0f5 25%,transparent 0 50%,#edf0f5 0 75%,transparent 0);background-size:20px 20px;padding:20px}.canvas-area.dragover{background-color:#eaf0ff;outline-color:#2859c5}.canvas-wrap{flex-shrink:0}.canvas-wrap #mask-canvas{filter:drop-shadow(0 0 1px #2859c5);background:transparent}#result-preview{max-height:100%;filter:drop-shadow(0 2px 5px #1d2c4015)}.upload-icon{background:#eef3fd;border-color:#dce5f6;color:#2859c5;border-radius:12px}.upload-empty h3{font-weight:600}.upload-empty p,.upload-empty small{color:var(--muted)}.status-card{background:#f1f4f9;color:#45536b}.features{padding:42px 4vw;gap:32px}.feature>span,.feature p{color:var(--muted)}.feature h3{font-size:16px}.pricing{margin:0 4vw 40px;border-radius:8px;background:#eef2f8;border-color:var(--line);padding:28px 32px}.pricing p,footer>span{color:var(--muted)}.pricing h2{font-size:24px}.balance,.history-item button{background:#eef2fa}form input{background:#fafbfc;border-color:var(--line)}#toast{background:#24334b}dialog{border-radius:12px}dialog::backdrop{background:#16244266}body{background:radial-gradient(ellipse at 0 0,#eeebff,transparent 55%),#f3f5fa}.nav{padding:0 28px;height:70px}.nav .brand{font-size:29px}.nav .button{padding:12px 22px;font-size:14px}.workspace-section{max-width:1920px;padding:20px 24px 0}.workspace-section .workspace{grid-template-columns:204px minmax(0,1fr) 280px;border-radius:20px;border-color:#dedfeb;box-shadow:0 16px 50px #2528440b}.workspace .tools,.workspace .result-panel{padding:26px 20px}.workspace .tools{background:#fcfcff}.workspace .result-panel{background:#fff}.workspace .small-label{font-size:12px;letter-spacing:1px;margin-bottom:22px}.workspace .tool{font-size:15px;min-height:52px;padding:13px 14px;gap:12px;margin:7px 0}.workspace .tool svg{width:22px;height:22px}.workspace .tools label{font-size:13px;align-items:center}.workspace .tools input[type=range]{margin:20px 0 24px}.workspace .tool-row button{padding:11px 8px;font-size:13px}.workspace .text-button{font-size:13px}.workspace .tool-tip{padding:15px;font-size:12px;line-height:1.9;margin-top:24px}.workspace .tools>.muted{font-size:12px;line-height:1.8}.workspace .button{min-height:46px;font-size:14px;border-radius:11px}.workspace .result-panel h3{font-size:22px;line-height:1.4;margin-bottom:16px}.workspace .result-panel>p{font-size:13px;line-height:1.85}.workspace .status-card{font-size:13px;padding:16px;margin:22px 0 16px;border-radius:12px}.workspace .download-title{font-size:14px}.workspace .download-title span{font-size:11px}.workspace .result-panel small,.workspace .privacy-note{font-size:12px;line-height:1.85}.workspace .divider{margin:24px 0}.workspace .editor-toolbar{height:56px;padding:0 22px;font-size:13px}.workspace .editor-bottom{height:48px;padding:0 20px;font-size:12px}.workspace .editor-bottom .text-button{font-size:12px}.workspace .view-controls{min-height:48px;padding:8px 18px;gap:8px}.workspace .view-controls button{font-size:12px;min-height:30px;padding:5px 10px}.workspace .view-controls output{font-size:13px;min-width:48px}.workspace .view-controls>span{font-size:11px}.workspace .canvas-area{height:clamp(360px,calc(100dvh - 266px),1000px);background-image:conic-gradient(#f0f1f6 25%,transparent 0 50%,#f0f1f6 0 75%,transparent 0);background-size:20px 20px}.workspace .upload-empty{padding:36px 44px}.workspace .upload-empty h3{font-size:23px}.workspace .upload-empty p{font-size:14px}.workspace .upload-empty small{font-size:12px}.features{max-width:1920px;padding:32px 24px;gap:22px}.features .feature h3{font-size:18px}.features .feature p{font-size:13px;max-width:none}@media(min-width:1600px){.workspace-section .workspace{grid-template-columns:224px minmax(0,1fr) 300px}}@media(max-width:1200px)and (min-width:701px){.workspace-section{padding:16px 16px 0}.workspace-section .workspace{grid-template-columns:174px minmax(0,1fr) 238px}.workspace .tools,.workspace .result-panel{padding:20px 14px}.workspace .tool{font-size:14px;padding:12px 10px}.workspace .view-controls{padding:8px 12px;gap:5px}.workspace .view-controls>span{display:none}}@media(max-width:700px){.nav{height:60px;padding:0 16px}.nav .brand{font-size:24px}.nav .button{font-size:12px;padding:10px 14px}.workspace-section .workspace{grid-template-columns:1fr;border-radius:14px}.workspace .tools{padding:12px;gap:6px}.workspace .tools>.muted{display:none}.workspace .tool{font-size:12px;min-height:38px;padding:8px;gap:6px;margin:0}.workspace .tool svg{width:18px;height:18px}.workspace #auto-cutout{width:auto;min-height:38px;font-size:12px;padding:8px 12px}.workspace .tools input[type=range]{margin:0;width:70px}.workspace .tools label{font-size:11px}.workspace .tool-row button{font-size:12px;padding:8px}.workspace .result-panel{padding:16px}.workspace .editor-toolbar{height:44px;padding:0 12px}.workspace .editor-bottom{height:auto;min-height:44px;padding:8px 12px}.workspace .editor-bottom>div{gap:8px}.workspace .view-controls{padding:8px;gap:4px}.workspace .view-controls button{padding:5px 7px;font-size:11px}.workspace .canvas-area{height:360px;min-height:0}.workspace .upload-empty{padding:20px 16px;max-width:100%}.workspace .upload-empty h3{font-size:18px}.workspace .upload-empty p{font-size:12px}.workspace .upload-empty small{font-size:10px}.workspace .status-card{margin:0;padding:12px;font-size:12px}.workspace .result-panel .download-title,.workspace .button{font-size:12px}.workspace .result-panel small{font-size:11px}}@media(max-width:1050px)and (min-width:701px){.workspace{grid-template-columns:140px minmax(0,1fr) 210px}.result-panel{grid-column:auto;display:block;border-left:1px solid var(--line);border-top:0}.result-panel .status-card{margin:16px 0}.result-panel .divider{display:block}.tools,.result-panel{padding:16px 12px}.editor-bottom{padding:0 10px}}.workspace .editor-actions{display:flex;align-items:center;justify-content:center;gap:8px;flex-wrap:wrap;flex-shrink:0;padding:10px 16px;background:#fff;border-top:1px solid var(--line)}.workspace .editor-actions button{width:auto;min-height:34px;margin:0;padding:7px 12px;border:1px solid #e7e5ef;border-radius:8px;background:#fff;color:#626780;font-size:12px;display:inline-flex;align-items:center;gap:7px}.workspace .editor-actions button:hover:not(:disabled){background:#f3f0ff;border-color:#dcd4f8;color:#6251be}.workspace .editor-actions .tool.active{background:#eeebff;color:#5946c5;border-color:#dcd4f8;box-shadow:none}.workspace .editor-actions .tool svg{width:17px;height:17px}.workspace .action-separator{height:20px;width:1px;background:var(--line);margin:0 4px}.workspace .canvas-area{height:clamp(320px,calc(100dvh - 322px),1000px)}@media(max-width:700px){.workspace .editor-actions{gap:5px;padding:8px}.workspace .editor-actions button{padding:7px 8px;font-size:11px}.workspace .action-separator{margin:0}.workspace .canvas-area{height:360px}}.workspace .unified-bottom{display:flex;align-items:center;gap:12px;flex-wrap:nowrap;height:54px;min-height:54px;padding:8px 14px;overflow-x:auto;white-space:nowrap}.workspace .unified-bottom #image-info{min-width:0;flex:1;overflow:hidden;text-overflow:ellipsis}.workspace .unified-bottom .editor-actions{flex-wrap:nowrap;padding:0;border:0;background:transparent;gap:6px}.workspace .unified-bottom .result-actions{display:flex;flex-shrink:0;gap:10px;margin-left:auto}.workspace .unified-bottom .editor-actions button{padding:7px 10px;font-size:13px;font-weight:550;flex-shrink:0;color:#443967;border-color:#d9d3e8}.workspace .unified-bottom .editor-actions button:disabled{opacity:1;color:#737487;background:#f2f3f7;border-color:#dfe1e9;cursor:not-allowed}.workspace .unified-bottom .editor-actions button:not(:disabled){background:#f3efff;border-color:#d7cbfa;color:#5941b7}.workspace .canvas-area{height:clamp(320px,calc(100dvh - 272px),1000px)}@media(max-width:1000px){.workspace .unified-bottom #image-info{display:none}}@media(max-width:700px){.workspace .canvas-area{height:360px}}.workspace .upload-empty{position:relative;width:420px;max-width:100%;padding:30px 24px 24px;text-align:center;border:1px solid #e6e2f3;border-radius:24px;background:radial-gradient(ellipse at 50% 0,#f2efff 0,transparent 60%),#fffffffa;box-shadow:0 16px 48px #3e356410,0 2px 6px #3e356405;transition:border-color .2s,box-shadow .2s,background .2s}.workspace .upload-art{position:relative;width:88px;height:76px;margin:0 auto 20px}.workspace .upload-card-back{position:absolute;width:62px;height:60px;left:5px;top:5px;border-radius:15px;border:1px solid #ded8f7;background:#ede9fb;transform:rotate(-13deg)}.workspace .upload-art .upload-icon{position:absolute;display:flex;align-items:center;justify-content:center;width:66px;height:64px;left:16px;top:7px;margin:0;border:1px solid #ded7f8;border-radius:16px;background:linear-gradient(145deg,#fff,#f0edff);box-shadow:0 6px 14px #6953b815;transform:rotate(7deg);color:#7b65d6}.workspace .upload-icon svg{width:40px;height:40px;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.workspace .upload-art-plus{position:absolute;right:0;bottom:0;display:grid;place-items:center;width:26px;height:26px;border:3px solid #fff;border-radius:50%;background:#7860d9;color:#fff;font-size:20px;line-height:1;box-shadow:0 3px 8px #6953b825}.workspace .upload-empty h3{margin:0 0 10px;font-size:24px;font-weight:650;letter-spacing:-.6px;color:#2c2943}.workspace .upload-empty p{margin:0 0 24px;font-size:13px;line-height:1.7;color:#858198}.workspace .upload-empty #choose-image{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-width:166px;min-height:46px;padding:12px 25px;font-size:14px;font-weight:600;border:1px solid #7460db;border-radius:12px;background:linear-gradient(110deg,#665de6,#8357d7);box-shadow:0 6px 16px #7055d526;transition:box-shadow .2s,filter .2s}.workspace .upload-empty #choose-image:hover:not(:disabled){filter:brightness(1.06);box-shadow:0 8px 22px #7055d53b}.workspace .upload-empty #choose-image svg{width:19px;height:19px;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.workspace .upload-formats{display:flex;align-items:center;justify-content:center;gap:8px;margin-top:22px;color:#827d95;font-size:11px}.workspace .upload-formats span:nth-child(-n+2){padding:3px 7px;border:1px solid #ebe8f2;border-radius:5px;background:#faf9fd;font-size:10px;font-weight:600;letter-spacing:.5px}.workspace .upload-formats i{height:10px;width:1px;background:#ded9e9;margin:0 4px}.workspace .upload-empty small{display:block;margin-top:10px;color:#9691a6;font-size:11px;line-height:1.6}.workspace .canvas-area.dragover .upload-empty{border-color:#9a86e6;background:#f7f4ff;box-shadow:0 0 0 5px #8b6ce814,0 16px 48px #7055d51a}@media(max-width:700px){.workspace .upload-empty{width:350px;padding:22px 16px 18px;border-radius:18px}.workspace .upload-art{margin-bottom:14px}.workspace .upload-empty h3{font-size:21px}.workspace .upload-empty p{font-size:12px;margin-bottom:18px}.workspace .upload-formats{margin-top:18px}.workspace .upload-empty small{font-size:10px}}@media(prefers-reduced-motion:reduce){.workspace .upload-empty,.workspace .upload-empty #choose-image{transition:none}}@media(max-width:700px){.nav{height:58px}.workspace-section{padding:16px 12px 0}.section-heading{margin-bottom:12px}.section-heading h2{font-size:22px}.workspace{grid-template-columns:1fr;min-height:0}.tools{padding:8px;gap:4px}.tool{min-height:34px;font-size:12px;margin:0}.tool span{font-size:17px}.tools label{font-size:10px}.tools input[type=range]{width:70px}.tool-row button{padding:7px}.canvas-area{height:clamp(230px,36dvh,360px);min-height:230px;padding:14px}.editor-toolbar,.editor-bottom{height:38px;padding:0 12px}.upload-icon{width:42px;height:42px;font-size:26px}.upload-empty h3{margin:12px 0 6px;font-size:16px}.upload-empty p{margin-bottom:12px}.upload-empty small{margin-top:12px;font-size:9px}.result-panel{padding:12px 14px;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px}.result-panel>h3,.result-panel>p:not(.muted){display:none}.result-panel .status-card{margin:0}.result-panel .download-title{margin:8px 0 0}.result-panel .muted,.result-panel small{grid-column:1/-1;margin:0}.result-panel #download{grid-column:2;grid-row:2}.features{padding:30px 16px}.pricing{margin:0 12px 28px;padding:22px}.tool-tip{display:none}}#recharge-dialog{width:600px;max-width:calc(100vw - 28px);max-height:calc(100dvh - 32px);padding:34px;border:1px solid #e6e1f3;border-radius:24px;background:radial-gradient(ellipse at 0 0,#f3efff,transparent 42%),#fff;box-shadow:0 30px 100px #211c4938;overflow-y:auto;color:#302a43}#recharge-dialog::backdrop{background:#25253970;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}#recharge-dialog .close-dialog{top:16px;right:16px;width:30px;height:30px;padding:0;border-radius:50%;background:#f0edf7;color:#877e99;font-size:23px;display:grid;place-items:center}#recharge-dialog .eyebrow{margin:0 0 12px;color:#8b7ca9;font-size:10px;letter-spacing:2px}#recharge-dialog h2{margin:0 0 10px;font-size:25px;letter-spacing:-.7px;line-height:1.4}#recharge-dialog .recharge-intro{margin:0 0 22px;color:#898096;font-size:12px;line-height:1.8}.recharge-wallet{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:20px 22px;margin-bottom:24px;border:1px solid #e6ddfa;border-radius:16px;background:radial-gradient(ellipse at 100% 0,#e5ddfb,transparent 65%),linear-gradient(115deg,#f7f4ff,#f0ecfb)}.recharge-wallet>div{display:grid;gap:7px}.recharge-wallet>div>span{font-size:11px;color:#827397}.recharge-wallet strong{font-size:29px;font-weight:650;letter-spacing:-.7px;font-variant-numeric:tabular-nums;color:#59448f}.recharge-wallet-note{font-size:10px;color:#8b7aab;border:1px solid #ddd2f0;border-radius:20px;padding:6px 9px;background:#ffffff60}#recharge-form fieldset{min-width:0;border:0;margin:0 0 21px;padding:0}#recharge-form legend{width:100%;padding:0;margin-bottom:12px;font-size:13px;font-weight:600;color:#564c68}#recharge-form legend>span{float:right;font-size:10px;color:#a098ae;font-weight:400}.recharge-amounts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}#recharge-form .recharge-choice{display:block;position:relative;margin:0;cursor:pointer}#recharge-form .recharge-choice input{position:absolute;opacity:0;width:1px;height:1px;margin:0;padding:0}.recharge-amount-card>b{font-size:12px;color:#756484}.recharge-choice input:disabled+.recharge-amount-card{opacity:.55;cursor:not-allowed}#recharge-membership{font-size:11px;color:#827397;line-height:1.7}.recharge-amount-card{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;min-height:83px;padding:12px 4px;border:1px solid #e8e3ef;border-radius:12px;background:#fcfbfe;transition:border-color .15s,background .15s}.recharge-amount-card strong{font-size:21px;font-weight:650;color:#544a65;font-variant-numeric:tabular-nums}.recharge-amount-card small{font-size:10px;color:#9e94ad}#recharge-form input:checked+.recharge-amount-card,#recharge-form input:checked+.recharge-method-card{border-color:#9678da;background:#f4efff;box-shadow:0 0 0 1px #9678da30}#recharge-form input:checked+.recharge-amount-card strong{color:#7250ba}#recharge-form input:focus-visible+span{outline:3px solid #baa8ed;outline-offset:3px}.recharge-choice:hover .recharge-amount-card,.recharge-choice:hover .recharge-method-card{border-color:#b5a1db}.recharge-methods{display:grid;grid-template-columns:1fr 1fr;gap:12px}.recharge-method-card{display:flex;align-items:center;gap:10px;min-height:73px;padding:13px;border:1px solid #e8e3ef;border-radius:12px;background:#fcfbfe}.payment-mark{display:grid;place-items:center;flex-shrink:0;width:32px;height:32px;border-radius:9px;font-size:16px}.payment-mark.wechat{color:#299660;background:#e6f4ec}.payment-mark.alipay{color:#288bc9;background:#e5f2fc}.recharge-method-card>span{font-size:12px;font-weight:600;color:#51455f}.recharge-method-card small{display:block;margin-top:4px;color:#a297ae;font-size:10px;font-weight:400}.recharge-method-card i{margin-left:auto;flex-shrink:0;width:14px;height:14px;border:1px solid #d7cede;border-radius:50%;background:#fff}#recharge-form input:checked+.recharge-method-card i{border:4px solid #8d6bce}#recharge-submit{min-height:46px;border-radius:11px;background:linear-gradient(110deg,#6c5ce1,#8a5dd0);box-shadow:0 5px 15px #7456cd20;font-size:14px}#recharge-submit:hover:not(:disabled){background:linear-gradient(110deg,#6050d3,#7c50c2)}#recharge-submit:disabled{opacity:.5;cursor:not-allowed}.recharge-checkout-note{text-align:center;margin:10px 0 0;font-size:10px;color:#a198ac}.recharge-feedback{margin:18px 0;padding:12px 14px;border:1px solid #ece7f5;border-radius:10px;background:#f8f6fc}#recharge-status{margin:0;font-size:11px;line-height:1.8;color:#817293;overflow-wrap:anywhere}#recharge-link:not([hidden]){display:flex;margin-top:10px;min-height:38px;align-items:center;justify-content:center;border-color:#d9cbee;border-radius:8px;color:#7957b5;font-size:12px;text-decoration:none}.recharge-records{border-top:1px solid #eeeaf4;padding-top:18px}.recharge-records-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}#recharge-dialog .recharge-records h3{font-size:13px;margin:0;color:#61536f}#recharge-refresh{font-size:11px;color:#8b6abc;padding:5px 0}#recharge-orders{max-height:210px;overflow-y:auto}.recharge-empty{display:grid;gap:7px;text-align:center;padding:22px 12px;border:1px dashed #e7e0f0;border-radius:12px;background:#fcfbfe}.recharge-empty strong{font-size:12px;font-weight:500;color:#978ba6}.recharge-empty span{font-size:10px;color:#b0a6bc}.recharge-order{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:13px 0;border-bottom:1px solid #f0ecf6}.recharge-order:last-child{border-bottom:0}.recharge-order-details{min-width:0}.recharge-order-heading{display:flex;align-items:center;gap:10px}.recharge-order-heading strong{font-size:14px;color:#665276}.recharge-order-status{padding:3px 7px;border-radius:5px;background:#fff4e5;color:#b28a4e;font-size:10px}.recharge-order-status.paid{background:#eaf7ef;color:#4b9369}.recharge-order-details>small{display:block;margin-top:6px;font-size:10px;color:#aaa0b5;overflow-wrap:anywhere}.recharge-order>button{flex-shrink:0;border:1px solid #e2d9ef;background:#f8f4ff;color:#8971ab;border-radius:7px;padding:7px 10px;font-size:10px}#recharge-dialog .recharge-footnote{margin:18px 0 0;font-size:10px;line-height:1.9;color:#a299ae}@media(max-width:520px){#recharge-dialog{padding:28px 20px 22px;border-radius:20px}#recharge-dialog h2{font-size:21px}.recharge-wallet{padding:16px}.recharge-wallet-note{display:none}.recharge-amounts{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.recharge-amount-card{min-height:70px}.recharge-methods{gap:8px}.recharge-method-card{padding:10px;gap:7px}.recharge-method-card small{font-size:9px}.payment-mark{width:27px;height:27px}.recharge-method-card i{width:12px;height:12px}}.account-navigation{position:relative}#account-menu{position:absolute;right:0;top:calc(100% + 10px);width:230px;padding:10px;border:1px solid #e9e3f5;border-radius:16px;background:#fff;box-shadow:0 16px 50px #30214e24;z-index:100}#account-menu[hidden]{display:none}.account-menu-label{padding:8px 12px;color:#a096b2;font-size:11px;letter-spacing:1px}#account-menu>button{display:flex;align-items:center;justify-content:space-between;width:100%;padding:12px;border:0;border-radius:9px;background:transparent;text-align:left;font-size:13px;color:#514363;cursor:pointer}#account-menu>button:hover,#account-menu>button:focus-visible{background:#f4efff;color:#7252bc}#account-menu>button.account-signout{margin-top:6px;border-top:1px solid #eee8f5;border-radius:0 0 9px 9px;color:#b36b7c}#account-button[aria-expanded=true] .account-chevron{transform:rotate(180deg)}#account-dialog,.records-dialog,#payment-dialog{width:560px;max-width:calc(100vw - 28px);max-height:calc(100dvh - 32px);padding:32px;border:1px solid #e8e1f3;border-radius:22px;background:#fff;box-shadow:0 25px 90px #211c4930;overflow-y:auto}#account-dialog h2,.records-dialog h2,#payment-dialog h2{font-size:24px;margin:8px 0 12px}#account-email{color:#91869f;font-size:13px}#account-dialog .balance{display:flex;flex-wrap:wrap;gap:14px;padding:20px;background:#f5f1fc;border:1px solid #e8def8;border-radius:16px}#account-dialog .balance strong{color:#7354b6;font-size:28px}#membership-status{padding:12px 0;font-size:12px}.account-orders{margin-top:18px;padding-top:16px;border-top:1px solid #eee8f5}.account-orders .records-toolbar{margin:0 0 10px}.account-orders .records-toolbar strong{font-size:13px;color:#675674}.account-orders #recharge-orders{max-height:240px}.account-orders>.muted{margin:10px 0 0;font-size:11px}.account-ledger{margin-top:20px;border-top:1px solid #eee8f5;padding-top:16px}.account-ledger summary{cursor:pointer;font-size:13px;color:#8c7a9f}.records-toolbar{display:flex;justify-content:space-between;align-items:center;margin:16px 0;color:#a096ab;font-size:12px}.records-dialog .history-list{max-height:50vh;overflow:auto}.creation-details{display:grid;gap:7px;min-width:0}.creation-details strong{font-size:13px;font-weight:500;color:#665576}.creation-details small{font-size:11px;color:#a095ac}.records-dialog .history-item{padding:16px 0;gap:12px}.records-dialog .history-item button{flex-shrink:0;color:#8065ad;background:#f5f0fc;border-radius:8px;padding:8px 12px}.records-dialog .muted,#payment-dialog .muted{font-size:12px;line-height:1.8}.records-dialog::backdrop,#account-dialog::backdrop,#payment-dialog::backdrop{background:#25253960;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px)}@media(max-width:520px){#account-dialog,.records-dialog,#payment-dialog{padding:28px 20px}#account-menu{width:210px}.creation-details small{line-height:1.7}}#payment-dialog{box-sizing:border-box;width:680px;height:620px;max-height:calc(100dvh - 32px);padding:22px;overflow:hidden}#payment-dialog[open]{display:flex;flex-direction:column}#payment-dialog #payment-checkout{flex:1;min-height:0}#payment-dialog #payment-checkout iframe{height:100%;min-height:0}#payment-dialog #recharge-status{flex-shrink:0}#payment-dialog #payment-title{display:flex;align-items:center;gap:10px;min-height:32px;margin:0 40px 18px 0;font-size:19px;font-weight:600;line-height:1.5;letter-spacing:.3px;color:#40364f}#payment-dialog #payment-title:before{content:"";width:4px;height:18px;flex-shrink:0;border-radius:4px;background:linear-gradient(180deg,#9d88e7,#7256bf)}#payment-checkout{overflow:hidden;border:1px solid #e8e1f3;border-radius:14px;background:#fff}#payment-checkout[hidden]{display:none}#payment-checkout iframe{display:block;width:100%;height:520px;height:min(58dvh,600px);min-height:320px;border:0;background:#fff}#payment-dialog .recharge-feedback{margin:12px 0}#payment-dialog .muted{margin-bottom:0}@media(max-width:520px){#payment-dialog{padding:16px 10px 10px;max-width:calc(100vw - 28px);height:560px;max-height:calc(100dvh - 32px)}#payment-dialog #payment-title{font-size:15px;margin-bottom:10px}}#recharge-dialog{width:940px;background:radial-gradient(ellipse at 0 0,#e9f8ee,transparent 48%),#fff}#recharge-dialog .recharge-intro{font-size:13px;max-width:650px}#recharge-amounts{display:block}.plan-section+.plan-section{margin-top:25px}.plan-heading{margin-bottom:13px}.plan-heading h3{margin:0 0 5px;font-size:16px;color:#173d29}.plan-heading p{margin:0;font-size:12px;color:#75847b}.plan-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}#recharge-form .recharge-amount-card{align-items:flex-start;position:relative;gap:8px;padding:17px 14px;min-height:210px;background:#fff;border-color:#dfe9e2;border-radius:15px}#recharge-form .recharge-amount-card>b{font-size:14px;color:#294d37}#recharge-form .recharge-amount-card strong{font-size:30px;letter-spacing:-1px;color:#153e26}.plan-badge{font-size:10px;padding:4px 7px;background:#f2f6f3;color:#65816d;border-radius:5px;margin-bottom:4px}.recommended .plan-badge{background:#dcf5e4;color:#087a38}.plan-period{font-size:11px;color:#819087}.plan-credits{font-size:15px;font-weight:600;color:#2f6545;margin-top:5px}#recharge-form .recharge-amount-card small{line-height:1.7;font-size:11px;color:#738378}.plan-benefit{padding-top:9px;margin-top:4px;border-top:1px solid #edf2ee;width:100%}.plan-rules{padding:15px 18px;border:1px solid #dfebe2;background:#f5faf6;border-radius:12px;margin:0 0 22px;color:#5e7767;font-size:12px;line-height:1.9}.plan-rules p{margin:0}.plan-rules strong{color:#245d39}@media(max-width:700px){#recharge-dialog{padding:28px 18px}.plan-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}#recharge-form .recharge-amount-card{padding:14px 11px;min-height:205px}#recharge-form .recharge-amount-card strong{font-size:26px}.plan-benefit{font-size:10px!important}}.membership-credit-summary{padding:20px;margin:16px 0 24px;background:#f4faf6;border:1px solid #d7eadf;border-radius:16px;display:grid;gap:10px}.membership-credit-summary[hidden]{display:none}.membership-credit-label{font-size:13px;font-weight:600;color:#41644e}.membership-credit-value{display:flex;align-items:baseline;gap:7px;color:#315a40}.membership-credit-value strong{font-size:32px;color:#087d3f;line-height:1.2}.membership-credit-value span{font-size:13px}.membership-credit-summary small{display:block;font-size:12px;line-height:1.7;color:#75867b}.membership-credit-summary progress{width:100%;height:7px;border:0;border-radius:6px;overflow:hidden;accent-color:#159558}.membership-credit-summary progress::-webkit-progress-bar{background:#deece2}.membership-credit-summary progress::-webkit-progress-value{background:#159558}#recharge-dialog #package-status.is-error{padding:14px 16px;margin:16px 0;border:1px solid #f1b4ae;border-left:4px solid #c43228;border-radius:10px;background:#fff1f0;color:#a9231b;font-size:14px;font-weight:600;line-height:1.8;overflow-wrap:anywhere}@media(prefers-reduced-motion:reduce){.recharge-amount-card{transition:none}}.home-intro,.home-section{max-width:1440px;margin:0 auto;padding:56px 5vw}.home-intro{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(240px,1fr);gap:6vw;align-items:center;padding-top:48px;padding-bottom:35px}.home-kicker{font-size:10px;letter-spacing:1.8px;font-weight:650;color:#6557a0;display:flex;gap:9px;align-items:center}.home-kicker>span{width:6px;height:6px;border-radius:50%;background:#7b68d4}.home-copy h1{font-size:clamp(28px,3.3vw,48px);letter-spacing:-1.5px;line-height:1.4;margin:18px 0;color:#28243f}.home-copy h1 em{font-style:normal;color:#7660c5}.home-description{max-width:600px;font-size:14px;line-height:1.95;color:#69647b;margin:0 0 22px}.home-actions{display:flex;align-items:center;gap:25px;flex-wrap:wrap}.home-actions .button{background:linear-gradient(120deg,#6858db,#8563c7);border-radius:12px;padding:14px 23px;box-shadow:0 8px 20px #7055c51a}.home-guide-link{font-size:12px;color:#655877}.home-facts{list-style:none;padding:0;display:flex;flex-wrap:wrap;gap:10px 20px;margin:20px 0 0;font-size:11px;color:#797183}.home-facts li:before{content:"\b7";color:#9278cc;margin-right:7px}.home-note{position:relative;border:1px solid #e2d9f6;background:radial-gradient(ellipse at 95% 15%,#d9c9fa80,transparent 65%),linear-gradient(140deg,#fcfaff,#eeebfa);padding:28px;border-radius:24px;box-shadow:0 12px 40px #51417e08}.home-note-top{display:flex;justify-content:space-between;align-items:center;color:#81709e;font-size:9px;letter-spacing:2px}.home-note-top>span:last-child{font-size:30px;color:#9c82cf}.home-note-title{font-size:clamp(25px,2.5vw,36px);line-height:1.55;letter-spacing:1px;font-weight:550;color:#584472;margin:18px 0 25px}.home-note-steps{display:flex;flex-wrap:wrap;gap:8px}.home-note-steps span{font-size:10px;border:1px solid #e0d5f1;background:#ffffffb3;border-radius:7px;padding:8px}.home-note-caption{font-size:10px;line-height:1.8;color:#81758f;margin:17px 0 0}.home-workspace-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:0 0 20px}.home-workspace-heading h1{font-size:23px;font-weight:550;letter-spacing:-.5px;margin:8px 0 0}.home-workspace-heading>a{font-size:11px;color:#79678e}.home-section-heading{margin-bottom:27px}.home-section-heading h2{font-size:clamp(23px,2.3vw,30px);font-weight:550;line-height:1.5;letter-spacing:-.6px;margin:10px 0}.home-section-heading>p{color:#797184;font-size:13px;line-height:1.8;margin:0}.home-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.home-cards article{padding:27px;border:1px solid #e8e2f2;border-radius:18px;background:#ffffffb8}.home-card-number{font-size:10px;letter-spacing:1.5px;color:#9179b1}.home-cards h3{font-size:17px;font-weight:550;margin:22px 0 12px}.home-cards p,.home-steps p{font-size:12px;color:#72697e;line-height:1.95;margin:0}.home-how{padding-top:10px}.home-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:35px;list-style:none;counter-reset:home-step;padding:25px 0 0;margin:0;border-top:1px solid #e6e0ef}.home-steps li{counter-increment:home-step}.home-steps li:before{content:"0" counter(home-step);display:block;font-size:28px;font-weight:600;color:#b7a4d6;margin-bottom:15px}.home-steps strong{font-size:14px;font-weight:550;display:block;margin-bottom:12px}.home-faq{display:grid;grid-template-columns:1fr 1.6fr;gap:50px;padding-top:20px;padding-bottom:65px}.home-faq-list{border-top:1px solid #e4ddeb}.home-faq details{border-bottom:1px solid #e4ddeb;padding:19px 0}.home-faq summary{cursor:pointer;font-size:14px;font-weight:550;line-height:1.7;color:#51405f;padding-right:10px}.home-faq details[open] summary{color:#7856af}.home-faq details p{font-size:12px;line-height:1.95;color:#766a82;margin:12px 0 2px;padding-right:15px}.home-noscript{padding:20px 5vw;text-align:center;color:#665675}.home-section{content-visibility:auto;contain-intrinsic-size:auto 420px}.home-faq{contain-intrinsic-size:auto 560px}.home-skip{position:fixed;top:8px;left:12px;z-index:200;background:#fff;padding:12px 18px;border:2px solid #6858db;border-radius:8px;transform:translateY(-160%)}.home-skip:focus{transform:translateY(0)}.nav .home-nav{display:flex;gap:26px;color:#79678e;font-size:12px}.home-faq summary:focus-visible{outline:2px solid #8060bd;outline-offset:5px}@media(max-width:900px){.home-intro{gap:24px;grid-template-columns:1.5fr 1fr}.home-note{padding:20px}.home-cards article{padding:20px}.home-faq{gap:25px;grid-template-columns:1fr 1.5fr}}@media(max-width:700px){.home-intro{grid-template-columns:1fr;padding-top:30px;padding-bottom:18px;gap:22px}.home-copy h1{font-size:clamp(27px,6.5vw,38px);letter-spacing:-1px}.home-description{font-size:13px}.home-note,.nav .home-nav{display:none}.home-section{padding:35px 5vw}.home-cards,.home-steps,.home-faq{grid-template-columns:1fr;gap:16px}.home-cards article{padding:22px}.home-cards h3{margin-top:14px}.home-steps{padding-top:20px;gap:25px}.home-steps li:before{font-size:22px;margin-bottom:10px}.home-workspace-heading h1{font-size:20px}.home-workspace-heading>a{font-size:10px;max-width:100px;line-height:1.8}.home-workspace-heading .home-kicker{font-size:9px;letter-spacing:1px}.home-faq .home-section-heading{margin-bottom:0}.home-faq details{padding:17px 0}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.button{transition:none}}.legal-consent,#auth-form .legal-consent{display:flex;align-items:flex-start;gap:10px;margin:18px 0;font-size:13px;line-height:1.8;font-weight:400}.legal-consent input[type=checkbox],#auth-form .legal-consent input{flex:0 0 18px;width:18px;height:18px;min-height:0;margin:3px 0 0;padding:0;accent-color:var(--brand)}.legal-consent a{color:var(--brand);text-decoration:underline;text-underline-offset:3px}#register-consent-row[hidden]{display:none}.download-declarations{margin:18px 0;padding-left:14px;border-left:3px solid var(--brand-line)}.download-declarations .legal-consent{margin:0}.download-declarations .legal-consent+.legal-consent{margin-top:14px}#watermark-dialog{width:min(460px,calc(100vw - 32px));max-height:90vh;overflow-y:auto;border-radius:22px;padding:32px;background:radial-gradient(ellipse at 0 0,#eaf8ef,transparent 46%),#fff}#cartoon-panel{margin:18px 0 22px;padding:16px;border:1px solid var(--line);border-radius:14px;background:linear-gradient(135deg,#f4faf6,#fff)}#cartoon-form label{display:block;margin:0 0 10px;color:var(--ink);font-size:12px;font-weight:600;letter-spacing:.04em}#cartoon-style{display:block;width:100%;min-height:44px;padding:10px 32px 10px 12px;border:1px solid var(--brand-line);border-radius:10px;color:var(--ink);background-color:#fff;font:inherit;font-size:14px;cursor:pointer;box-shadow:0 2px 6px #103b3206;transition:border-color .18s,box-shadow .18s}#cartoon-style:hover:not(:disabled){border-color:var(--brand)}#cartoon-style:focus-visible{outline:2px solid var(--brand);outline-offset:3px}#cartoon-style:disabled{opacity:.6;cursor:wait}#cartoon-error{margin:10px 0 0;font-size:12px;line-height:1.7;overflow-wrap:anywhere}#cartoon-error:empty{display:none}#cartoon-retry{margin-top:10px}#watermark-dialog h2{margin:10px 0 12px;letter-spacing:-.5px}#watermark-dialog>.muted{line-height:1.7;margin-bottom:24px}#watermark-dialog .close-dialog{width:32px;height:32px;border-radius:50%;background:var(--brand-soft);color:var(--muted)}#watermark-form label{display:block;margin:18px 0;font-weight:500}#watermark-form select{display:block;width:100%;min-height:44px;margin-top:8px;padding:10px 12px;border:1px solid var(--line);border-radius:10px;background:#f8fcfa;color:var(--ink);font:inherit;cursor:pointer}#watermark-form input[type=color]{height:42px;padding:4px;cursor:pointer}#watermark-form input[type=file]{display:block;width:100%;min-width:0;margin-top:10px;padding:12px;border:1px dashed var(--brand-line);border-radius:12px;background:#f3faf7;color:var(--muted);font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;cursor:pointer;transition:border-color .18s,background .18s}#watermark-form input[type=file]::file-selector-button{margin-right:12px;padding:9px 13px;border:1px solid var(--brand-line);border-radius:8px;background:#fff;color:var(--brand-text);font:inherit;font-weight:600;cursor:pointer;box-shadow:0 2px 5px #103b3208}#watermark-form input[type=file]:hover{border-color:var(--brand);background:var(--brand-soft)}#watermark-form input[type=file]:hover::file-selector-button{background:var(--brand);border-color:var(--brand);color:#fff}#watermark-form small{display:block;line-height:1.6;color:var(--muted)}#watermark-form output{float:right;min-width:46px;padding:2px 8px;margin-top:-2px;border-radius:6px;background:var(--brand-soft);color:var(--brand-text);text-align:center;font-size:12px;font-weight:600;font-variant-numeric:tabular-nums}#watermark-form input[type=range]{display:block;width:100%;height:22px;margin:12px 0 0;padding:0;border:0;box-shadow:none;background:transparent;accent-color:var(--brand);cursor:pointer}#watermark-form select:focus-visible,#watermark-form input:focus-visible{outline:3px solid var(--brand-line);outline-offset:2px}#watermark-form>.muted{padding:12px 14px;border-radius:10px;background:#f3faf7;font-size:12px;line-height:1.7}#watermark-error:empty{display:none}#watermark-dialog{box-sizing:border-box;width:min(640px,calc(100vw - 32px))}.watermark-editor{padding:14px;border:1px solid var(--brand-line);border-radius:14px;background:#f6faf7}.watermark-editor-heading,.watermark-actions{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:12px;font-size:12px}#watermark-count{color:var(--muted);font-variant-numeric:tabular-nums}#watermark-canvas{display:block;width:auto;height:auto;max-width:100%;max-height:340px;margin:0 auto 14px;touch-action:none;cursor:move;border-radius:6px;background:repeating-conic-gradient(#e2eae5 0% 25%,#fff 0% 50%) 50% / 16px 16px}#watermark-canvas:focus-visible{outline:2px solid var(--brand);outline-offset:3px}.watermark-actions{justify-content:flex-start;flex-wrap:wrap}.watermark-actions .button{padding:8px 12px;font-size:12px}.watermark-tile-controls{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:12px;margin:20px 0 10px;padding:16px;border:1px solid var(--brand-line);border-radius:12px;background:#f6faf7}#watermark-form .watermark-tile-controls label{min-width:0;margin:0;font-size:12px;line-height:1.5}#watermark-form #watermark-density{box-sizing:border-box;height:42px;min-height:42px;margin-top:8px;padding:0 12px;border-radius:9px;background:#fff;font-size:13px}#watermark-tile{box-sizing:border-box;height:42px;min-height:42px;margin:0;padding:0 18px;border:1px solid var(--brand-line);border-radius:9px;background:var(--brand-soft);color:var(--brand-text);font-size:13px;font-weight:600;white-space:nowrap}#watermark-tile:hover{background:#dcefe3;border-color:var(--brand)}#watermark-tile:focus-visible{outline:3px solid var(--brand-line);outline-offset:2px}@media(max-width:360px){.watermark-tile-controls{padding:12px;gap:8px}#watermark-tile{padding:0 12px}}#watermark-submit{margin-top:8px;min-height:46px;border-radius:10px}@media(max-width:480px){#watermark-dialog{padding:24px 20px}}#sr-dialog{box-sizing:border-box;width:min(490px,calc(100vw - 32px));max-height:calc(100dvh - 32px);overflow-y:auto;padding:32px;border:1px solid var(--line);border-radius:24px;background:radial-gradient(ellipse at 0 0,#eaf8ef,transparent 55%),#fff}#sr-dialog .close-dialog{top:16px;right:16px;display:grid;place-items:center;width:30px;height:30px;padding:0;border-radius:50%;background:#edf5f0;color:var(--muted);font-size:21px}#sr-dialog .close-dialog:hover{background:#dceee2;color:var(--ink)}.sr-heading{display:flex;align-items:center;gap:14px;margin:6px 0 18px;padding-right:20px}.sr-icon{display:grid;place-items:center;flex:0 0 48px;height:48px;border:1px solid var(--brand-line);border-radius:15px;background:#ffffffb3;color:var(--brand);box-shadow:0 4px 12px #103b3205}.sr-icon svg{width:27px;height:27px;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}.sr-eyebrow{display:block;margin-bottom:5px;color:var(--brand-text);font-size:9px;font-weight:650;letter-spacing:1.5px}#sr-dialog h2{margin:0;font-size:25px;line-height:1.4;letter-spacing:-.7px}#sr-dialog .sr-intro{margin:0 0 24px;color:var(--muted);font-size:13px;line-height:1.8}#sr-form>label{display:block;margin:0 0 9px;color:var(--ink);font-size:13px;font-weight:600}#sr-scale{display:block;box-sizing:border-box;width:100%;height:46px;padding:0 14px;border:1px solid var(--brand-line);border-radius:10px;background:#fff;color:var(--ink);font:inherit;font-size:14px;cursor:pointer}#sr-dialog :is(select,input,summary,button):focus-visible{outline:3px solid var(--brand-line);outline-offset:3px}.sr-resolution{display:grid;grid-template-columns:minmax(0,1fr) 30px minmax(0,1fr);align-items:center;gap:8px;margin:16px 0 20px;padding:18px 16px;border:1px solid var(--line);border-radius:14px;background:linear-gradient(115deg,#f8faf9,#edf9f1);font-variant-numeric:tabular-nums}.sr-resolution>div{min-width:0}.sr-resolution div>span{display:block;color:var(--muted);font-size:11px;line-height:20px}.sr-resolution strong{display:block;margin:6px 0 3px;font-size:clamp(14px,3.7vw,20px);font-weight:650;letter-spacing:-.5px;white-space:nowrap}.sr-resolution small{color:var(--muted);font-size:10px}.sr-output strong{color:var(--brand-text)}.sr-resolution b{margin-left:4px;padding:2px 5px;border-radius:4px;background:#d7efdf;color:var(--brand-text);font-size:10px}.sr-arrow{color:#87a793;text-align:center;font-size:21px}.sr-caption{margin:-8px 0 20px;color:var(--muted);font-size:11px;text-align:center;line-height:1.7}.sr-resolution.is-invalid{background:linear-gradient(115deg,#fafbf9,#fff7ef);border-color:#ecd8c3}.sr-resolution.is-invalid .sr-output strong{color:#a75a2b}.sr-notes{margin:0 0 20px;padding:14px 16px;border-radius:12px;background:#f7faf8;border:1px solid #edf2ee}#sr-dialog::backdrop{background:#163b2e70;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px)}#sr-scale:hover{border-color:var(--brand)}#sr-scale:focus{border-color:var(--brand);box-shadow:0 0 0 3px #019e4810}#sr-dialog .sr-resolution strong{font-size:clamp(12px,3.4vw,18px)}@media(max-width:360px){#sr-dialog .sr-resolution{grid-template-columns:1fr;text-align:center}#sr-dialog .sr-arrow{transform:rotate(90deg)}}.sr-notes p{margin:5px 0;color:var(--muted);font-size:11px;line-height:1.8}.sr-notes strong{margin-left:5px;font-weight:500;color:var(--ink)}#sr-error:empty{display:none}#sr-error:not(:empty){margin:0 0 14px;padding:10px 12px;border-radius:8px;background:#fff3f1;font-size:12px;line-height:1.7}#sr-submit{display:flex;align-items:center;justify-content:center;gap:14px;min-height:48px;border-radius:11px;font-size:14px;box-shadow:0 6px 16px #019e4817}#sr-submit:disabled{box-shadow:none}@media(max-width:480px){#sr-dialog{padding:26px 20px 22px;border-radius:20px}#sr-dialog h2{font-size:23px}.sr-resolution{padding:15px 12px;gap:4px;grid-template-columns:minmax(0,1fr) 22px minmax(0,1fr)}}#compress-dialog{box-sizing:border-box;width:min(520px,calc(100vw - 32px));max-height:calc(100vh - 32px);max-height:calc(100dvh - 32px);overflow-y:auto;padding:28px;border:1px solid var(--line);border-radius:22px;background:radial-gradient(ellipse at 0 0,#eaf8ef,transparent 48%),#fff;box-shadow:0 24px 80px #163b2e26}.compression-summary{margin:0 0 22px;padding:20px 16px;border:1px solid var(--brand-line);border-radius:14px;background:var(--brand-soft);color:var(--brand-text);text-align:center}.compression-summary[hidden]{display:none}.compression-summary>span{font-size:13px;font-weight:600}.compression-summary>strong{display:block;margin:6px 0 16px;font-size:clamp(32px,3vw,44px);line-height:1.15;font-weight:800;letter-spacing:-1px;font-variant-numeric:tabular-nums}.compression-summary-sizes{display:flex;align-items:center;justify-content:space-between;gap:6px;padding-top:14px;border-top:1px solid var(--brand-line)}.compression-summary-sizes div{min-width:0}.compression-summary-sizes div span{display:block;margin-bottom:5px;font-size:11px;color:var(--muted)}.compression-summary-sizes b{font-size:14px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.compression-summary>p{margin:14px 0 0;font-size:12px;line-height:1.7}.compression-summary.is-warning{background:#fff7e8;border-color:#efd6a9;color:#946013}.compression-summary.is-warning .compression-summary-sizes{border-color:#efd6a9}#compress-dialog::backdrop{background:#163b2e70;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px)}#compress-dialog .close-dialog{top:14px;right:14px;display:grid;place-items:center;width:30px;height:30px;padding:0;border-radius:50%;background:#edf5f0;color:var(--muted);font-size:22px}#compress-dialog .close-dialog:hover{background:#dceee2;color:var(--ink)}.compress-heading{display:flex;align-items:center;gap:12px;padding-right:28px;margin-bottom:14px}.compress-icon{display:grid;place-items:center;width:44px;height:44px;flex-shrink:0;border:1px solid var(--brand-line);border-radius:13px;background:#ffffffb3;color:var(--brand)}.compress-icon svg{width:25px;height:25px;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.compress-eyebrow{display:block;margin-bottom:3px;font-size:9px;font-weight:600;letter-spacing:1.5px;color:var(--brand-text)}#compress-dialog h2{margin:0;font-size:24px;line-height:1.4;letter-spacing:-.5px}#compress-dialog .compress-intro{margin:0 0 18px;font-size:12px;line-height:1.8;color:var(--muted)}#id-photo-panel{min-width:0;margin:16px 0;padding:12px;border:1px solid var(--line);border-radius:12px;background:#f8fbf9}#id-photo-panel[hidden]{display:none!important}.photo-workbench{position:relative;min-width:0}.photo-workbench.with-clothing{padding-right:136px}#photo-clothing-rail{position:absolute;top:0;right:0;bottom:0;width:136px;min-width:0;min-height:0;margin:0;padding:12px 8px;border:0;border-left:1px solid var(--line);background:#f8fbf9;overflow:hidden}#photo-clothing-rail legend{float:left;width:100%;margin-bottom:10px;text-align:center;font-size:12px;font-weight:600}.photo-clothing-grid{clear:both;display:grid;grid-template-columns:minmax(0,1fr);align-content:start;gap:10px;height:calc(100% - 28px);overflow-y:auto;overflow-x:hidden;padding:2px 4px 8px;overscroll-behavior:contain;touch-action:pan-y;scrollbar-width:thin;scrollbar-color:#bad5c6 transparent}@media(max-width:700px){.photo-workbench.with-clothing{padding-right:86px}#photo-clothing-rail{width:86px;padding:10px 4px}}.photo-clothing-grid label{position:relative;display:grid;justify-items:center;gap:5px;min-width:0;padding:5px 3px;border:1px solid var(--line);border-radius:8px;background:#fff;font-size:10px;cursor:pointer}.photo-clothing-grid input{position:absolute;width:1px;height:1px;opacity:0}.photo-clothing-grid label:has(input:checked){border-color:var(--brand);background:var(--brand-soft);color:var(--brand-text);box-shadow:0 0 0 1px var(--brand)}html{scroll-behavior:smooth}.back-to-top{position:fixed;right:24px;bottom:calc(24px + env(safe-area-inset-bottom,0px));z-index:30;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;width:48px;height:54px;border:1px solid #d5e6db;border-radius:14px;background:#fff;color:#08783f;box-shadow:0 4px 18px #163c2520;text-decoration:none;font-size:10px;font-weight:600;letter-spacing:.06em;transition:background .2s,transform .2s}.back-to-top svg{width:22px;height:22px}.back-to-top:hover{background:#edf7f0;transform:translateY(-3px)}.back-to-top:focus-visible{outline:2px solid var(--brand);outline-offset:4px}@media(max-width:600px){.back-to-top{right:12px;bottom:calc(16px + env(safe-area-inset-bottom,0px))}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.back-to-top{transition:none}.back-to-top:hover{transform:none}}footer.site-footer{display:block;padding:32px 5vw 20px;border-top:1px solid #deebe3;background:linear-gradient(180deg,#f5faf7,#edf5f0)}.site-footer-top,.site-footer-bottom{max-width:1440px;margin:0 auto;display:flex;align-items:center;justify-content:space-between;gap:24px}.site-footer-brand .brand{display:inline-flex;align-items:center;flex-wrap:wrap;gap:12px;color:#203f30;font-size:21px}.site-footer-badge{padding:4px 8px;border:1px solid #d5e6db;border-radius:6px;background:#ffffffa6;color:#4c6b59;font-size:11px;font-weight:500;letter-spacing:.04em}.site-footer-brand p{margin:10px 0 0;color:#607568;font-size:13px;line-height:1.6}.site-footer-nav{display:flex;flex-wrap:wrap;gap:8px 24px}.site-footer-nav a{display:inline-flex;align-items:center;min-height:40px;color:#496353;font-size:13px;text-decoration:none}.site-footer-bottom{margin-top:24px;padding-top:18px;border-top:1px solid #dce8e0;color:#607568;font-size:12px;line-height:1.7}.site-footer-record{display:inline-flex;align-items:center;gap:8px;color:#607568;text-decoration:none}.site-footer-record span{color:#7c9385}.site-footer a:hover{color:#08783f}.site-footer a:focus-visible{outline:2px solid var(--brand);outline-offset:5px;border-radius:3px}@media(max-width:600px){footer.site-footer{padding:26px 20px 20px}.site-footer-top,.site-footer-bottom{align-items:flex-start;flex-direction:column;gap:12px}.site-footer-nav{gap:8px 20px}.site-footer-bottom{margin-top:16px;padding-top:16px;gap:8px}}.photo-clothing-grid label:focus-within{outline:2px solid var(--brand);outline-offset:2px}.photo-clothing-grid img,.photo-clothing-none{display:grid;place-items:center;width:100%;height:104px;object-fit:contain;border-radius:5px;background:#edf2f7;color:var(--muted)}.photo-clothing-grid label:has(img){gap:0}.photo-clothing-grid label:has(img)>span{display:none}#id-photo-layer{width:100%;min-width:0;padding:9px 8px;border:1px solid var(--line);border-radius:9px;background:#fff;color:var(--ink);font-size:12px}#photo-clothing-status:empty{display:none}#photo-clothing-status{color:var(--muted)}#drop-zone #id-photo-composition{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);display:block;width:auto;height:auto;max-width:calc(100% - 32px);max-height:calc(100% - 32px);margin:0;border:1px solid var(--line);cursor:grab;touch-action:none;z-index:4}#drop-zone #id-photo-composition:active{cursor:grabbing}#drop-zone #id-photo-composition[hidden]{display:none}#drop-zone.photo-editing #canvas-wrap,#drop-zone.photo-editing #result-preview{visibility:hidden}#id-photo-custom-size{display:grid;grid-template-columns:1fr 1fr;gap:8px}#id-photo-custom-size[hidden]{display:none}#id-photo-custom-size label{display:grid;gap:4px;font-size:11px}#id-photo-custom-size input{box-sizing:border-box;width:100%;min-width:0;padding:8px}#id-photo-panel #id-photo-form>.id-photo-custom-color{display:flex;align-items:center;justify-content:space-between;gap:8px;min-width:0;min-height:44px;padding:8px 10px;border:1px solid var(--line);border-radius:9px;background:#fff;font-size:12px;cursor:pointer;transition:border-color .15s,background .15s}#id-photo-form .id-photo-custom-color span{display:flex;align-items:center;gap:6px;white-space:nowrap}#id-photo-form .id-photo-custom-color input[type=radio]{flex-shrink:0;width:14px;height:14px;margin:0;padding:0;accent-color:var(--brand)}#id-photo-panel #id-photo-form>.id-photo-custom-color:has(input[type=radio]:checked){border-color:var(--brand);background:var(--brand-soft);color:var(--brand-text)}#id-photo-panel #id-photo-form>.id-photo-custom-color:focus-within{outline:2px solid var(--brand);outline-offset:2px}#id-photo-form #id-photo-custom-color{box-sizing:border-box;flex:0 0 38px;width:38px;min-width:0;height:28px;margin:0;padding:3px;border:1px solid var(--line);border-radius:6px;background:#fff;cursor:pointer}#id-photo-custom-color::-webkit-color-swatch-wrapper{padding:0}#id-photo-custom-color::-webkit-color-swatch{border:0;border-radius:3px}#id-photo-custom-color::-moz-color-swatch{border:0;border-radius:3px}#id-photo-panel #id-photo-form .id-photo-colors label{padding:8px 4px;gap:4px}#id-photo-panel #id-photo-form .id-photo-colors span{width:18px;height:18px}#id-photo-composition[hidden]{display:none}#id-photo-form input[type=range]{width:100%;min-width:0;margin:0;accent-color:var(--brand)}#id-photo-form output{color:var(--brand-text);font-size:11px}#id-photo-panel #id-photo-size{box-sizing:border-box;min-width:0;font-size:12px;padding:11px 8px;background:#fff}#id-photo-panel .id-photo-colors{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;min-width:0}#id-photo-panel .id-photo-colors label{position:relative;min-width:0;flex-direction:column;gap:8px;padding:12px 4px;background:#fff;transition:background .15s,border-color .15s,box-shadow .15s}#id-photo-panel .id-photo-colors input{position:absolute;width:1px;height:1px;opacity:0}#id-photo-panel .id-photo-colors span{width:24px;height:24px;box-shadow:0 2px 4px #203c2510}#id-photo-panel .id-photo-colors label:has(input:checked){background:var(--brand-soft);color:var(--brand-text);box-shadow:0 0 0 1px var(--brand)}#id-photo-panel .id-photo-colors input:checked+span:after{content:"\2713";display:grid;height:100%;place-items:center;color:#173b27;font-size:14px;font-weight:700}#id-photo-panel .id-photo-colors input:focus-visible+span{outline:2px solid var(--brand);outline-offset:4px}#id-photo-panel .muted{padding-top:12px;border-top:1px solid var(--line);color:var(--muted);font-size:10px;line-height:1.7}#id-photo-dimensions{color:var(--muted);font-size:10px;font-weight:400}@media(min-width:701px)and (max-width:1050px){#id-photo-panel{grid-column:1 / -1}}#id-photo-panel #id-photo-form{display:grid;gap:16px;height:auto;min-height:0;align-content:start;grid-auto-rows:max-content}.workspace .result-panel>.small-label,.workspace .result-panel>p:first-of-type{display:none}.workspace .tools>.tool-tip{margin-top:auto;flex-shrink:0}#id-photo-panel #id-photo-form>label{margin:0;gap:8px}#id-photo-panel #id-photo-form .id-photo-colors{margin:0;padding:0}#id-photo-panel .id-photo-colors span{background:var(--photo-color)!important}#id-photo-panel .id-photo-colors legend{margin-bottom:8px}#brush-panel,#compress-panel{min-width:0;margin:16px 0;padding:14px;border:1px solid var(--line);border-radius:12px;background:#f8fbf9}#brush-panel[hidden],#compress-panel[hidden],#compress-submit[hidden]{display:none!important}#brush-panel label{display:flex;justify-content:space-between;align-items:center;font-size:13px}#brush-panel b{padding:3px 8px;border-radius:6px;color:var(--brand-text);background:var(--brand-soft)}#brush-panel input{display:block;width:100%;margin:14px 0 0;accent-color:var(--brand)}#compress-panel #compress-fields{gap:12px}#compress-panel select{box-sizing:border-box;width:100%;min-width:0;padding:9px 6px;font-size:11px}#compress-panel .compress-upload{padding:9px}#compress-panel .compress-upload label{display:grid;gap:6px}#compress-panel .compress-note,#compress-panel small{font-size:10px;line-height:1.6}#compress-panel .compress-range-hint{flex-wrap:wrap;gap:4px}#compress-panel #compress-error:empty{display:none}.workspace .result-panel .tool-tip{margin-top:16px;padding:12px;border:1px solid var(--line);border-radius:10px;background:#f8fbf9}.workspace .result-panel .tool-tip p{margin:7px 0 0;font-size:11px;line-height:1.7;color:var(--muted)}@media(min-width:701px)and (max-width:1050px){#brush-panel,#compress-panel{grid-column:1 / -1}}#id-photo-form>label{display:grid;gap:8px;font-size:13px;font-weight:600}#id-photo-size{width:100%;padding:12px;border:1px solid var(--line);border-radius:9px;background:#f8fbf9;color:var(--ink)}#id-photo-form .id-photo-colors{display:flex;gap:10px;margin:0;padding:0;border:0}.id-photo-colors legend{margin-bottom:10px;font-size:13px;font-weight:600}#id-photo-form .id-photo-colors label{flex:1;display:flex;align-items:center;justify-content:center;gap:6px;padding:10px 4px;border:1px solid var(--line);border-radius:9px;font-size:12px;cursor:pointer}#id-photo-form .id-photo-colors input{width:auto;margin:0;accent-color:var(--brand)}.id-photo-colors label:has(input:checked){background:var(--brand-soft);border-color:var(--brand)!important}.id-photo-colors span{width:16px;height:16px;border:1px solid #d6dfda;border-radius:50%;background:var(--photo-color)}.id-photo-upload{padding:16px;border:1px dashed var(--brand-line);border-radius:12px;background:#f8fbf9}#id-photo-file{max-width:100%;font-size:12px}#id-photo-form small,#id-photo-dialog .muted{font-size:11px;font-weight:400;line-height:1.7;color:var(--muted)}#id-photo-form p{margin:0}#id-photo-error:empty{display:none}#transform-panel{margin:16px 0;padding:14px;border:1px solid var(--line);border-radius:12px;background:#f8fbf9}.workspace .result-panel{min-width:0;padding:22px 18px}.workspace .result-panel>.small-label{width:fit-content;padding:4px 8px;border-radius:6px;background:var(--brand-soft);color:var(--brand-text);font-size:10px;letter-spacing:.5px;margin-bottom:12px}.workspace .result-panel h3{margin:0 0 8px;font-size:18px;font-weight:650;line-height:1.4}.workspace .result-panel>p{margin:0 0 12px;color:var(--muted);font-size:11px;line-height:1.7}.workspace .result-panel .status-card{margin:12px 0;padding:11px 12px;border:1px solid var(--brand-line);border-radius:10px;line-height:1.6}.workspace .result-panel .button{min-height:42px;padding:11px 12px;border-radius:10px;font-size:12px;font-weight:600}.workspace .result-panel .divider{height:1px;margin:20px 0;background:var(--line)}.workspace .result-panel .download-title{gap:8px;margin:0 0 10px;font-size:13px;font-weight:600}.workspace .result-panel .download-title span{flex-shrink:0;padding:3px 6px;border-radius:5px;font-weight:400}.workspace .result-panel #download-hint{margin-top:8px;color:var(--muted);line-height:1.6}.workspace .result-panel .privacy-note{margin-top:16px;padding-top:12px;border-top:1px dashed var(--line);color:var(--muted);line-height:1.7}#transform-panel #transform-size{padding-top:10px;border-top:1px solid var(--line);overflow-wrap:anywhere;font-variant-numeric:tabular-nums}#transform-error:empty{display:none}@media(min-width:701px)and (max-width:1050px){.workspace .result-panel #transform-panel{grid-column:1 / -1;margin:0}}#transform-panel[hidden],#transform-preview[hidden]{display:none!important}#transform-panel .muted{font-size:11px;line-height:1.6}#transform-panel .compress-dimensions{gap:8px}#transform-fields{display:grid;gap:14px;min-width:0;margin:0;padding:0;border:0}#transform-fields label{display:block;min-width:0;font-size:13px}#transform-fields .transform-scale-control label{display:flex;align-items:center;justify-content:space-between;gap:8px}#transform-scale-value{padding:3px 8px;border-radius:6px;background:var(--brand-soft);color:var(--brand-text);font-weight:700}#transform-fields #transform-scale{box-sizing:border-box;display:block;width:100%;height:20px;margin:12px 0 4px;padding:0;border:0;accent-color:var(--brand);cursor:pointer}#transform-preview:focus-visible{outline:2px solid var(--brand);outline-offset:3px}#transform-panel .muted{margin:0}#canvas-wrap #transform-preview{position:absolute;inset:0;z-index:5;display:block;width:100%;height:100%;margin:0;cursor:crosshair;touch-action:none}#transform-fields:disabled{opacity:.65}#transform-fields:disabled canvas{pointer-events:none}#transform-size{margin:0}#compress-fields{display:grid;gap:16px;min-width:0;margin:0;padding:0;border:0}#compress-form label{display:block;min-width:0;margin:0;font-size:13px;line-height:1.5;font-weight:600;color:var(--ink)}.compress-upload{padding:14px;border:1px dashed var(--brand-line);border-radius:12px;background:#f6fbf8}#compress-image{display:block;box-sizing:border-box;width:100%;min-width:0;margin:10px 0 8px;padding:0;border:0;border-radius:0;background:transparent;color:var(--muted);font-size:12px;overflow:hidden;text-overflow:ellipsis}#compress-image::file-selector-button{margin-right:10px;padding:8px 12px;border:1px solid var(--brand-line);border-radius:8px;background:#fff;color:var(--brand-text);font:inherit;font-weight:600;cursor:pointer}#compress-image::file-selector-button:hover{background:var(--brand-soft)}#compress-limits{display:block;font-size:11px;line-height:1.7;color:var(--muted)}#compress-form select,#compress-form input[type=number]{box-sizing:border-box;display:block;width:100%;min-width:0;height:42px;margin:8px 0 0;padding:0 12px;border:1px solid var(--line);border-radius:9px;background:#f8fcfa;color:var(--ink);font:inherit;font-size:13px;font-weight:400}#compress-form select{cursor:pointer}#compress-quality-value{float:right;min-width:38px;padding:2px 8px;border-radius:6px;background:var(--brand-soft);color:var(--brand-text);text-align:center;font-size:12px;font-variant-numeric:tabular-nums}#compress-quality{display:block;box-sizing:border-box;width:100%;height:22px;margin:12px 0 3px;padding:0;border:0;box-shadow:none;background:transparent;accent-color:var(--brand);cursor:pointer}#compress-quality:disabled{opacity:.4;cursor:not-allowed}.compress-range-hint{display:flex;justify-content:space-between;gap:8px;color:var(--muted);font-size:10px}.compress-dimensions{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:14px}.compress-dimensions label>span{float:right;color:var(--muted);font-size:11px;font-weight:400}#compress-form .compress-size-hint{margin:-9px 0 0;font-size:11px;color:var(--muted)}#compress-form .compress-note{margin:0;padding:10px 12px;border-radius:9px;background:#f3f8f5;font-size:11px;line-height:1.8;color:var(--muted)}#compress-submit,#compress-download{box-sizing:border-box;min-height:44px;border-radius:10px;font-size:14px}#compress-download:not([hidden]){display:flex;justify-content:center;align-items:center;margin-top:12px;text-decoration:none}#compress-download[hidden],#compress-status:empty,#compress-error:empty{display:none}#compress-status:not(:empty),#compress-error:not(:empty){margin:14px 0 0;padding:12px;border-radius:10px;font-size:12px;line-height:1.8;overflow-wrap:anywhere}#compress-status:not(:empty){background:var(--brand-soft);color:var(--brand-text)}#compress-error:not(:empty){background:#fff3f1;color:#a83e32}#compress-fields:disabled{opacity:.65}#compress-dialog :is(input,select,button,a):focus-visible{outline:3px solid var(--brand-line);outline-offset:3px}@media(max-width:480px){#compress-dialog{padding:24px 20px;border-radius:18px}#compress-dialog h2{font-size:22px}.compress-dimensions{gap:10px}}@media(max-width:340px){#compress-dialog{padding:22px 16px}#compress-form select{font-size:11px;padding:0 6px}}:root{--brand: #019e48;--brand-hover: #018c40;--brand-ink: #062413;--brand-text: #087638;--brand-soft: #eaf8ef;--brand-line: #c7e7d2;--ink: #203b29;--muted: #607568;--green: var(--brand);--lime: var(--brand-soft);--line: #dcebe0;--paper: #f5faf6}body{background:radial-gradient(ellipse at 0 0,#e1f5e7,transparent 55%),var(--paper)}button:focus-visible,a:focus-visible,input:focus-visible,.home-faq summary:focus-visible{outline-color:var(--brand-text)}.nav .brand-dot,.brand>span:first-child{color:var(--brand-text)}.nav .brand{display:inline-flex;align-items:center;flex-shrink:0}.nav .brand-logo{display:block;width:auto;height:48px;object-fit:contain}@media(max-width:700px){.nav .brand-logo{height:36px}}.button.primary,.workspace .button.primary,.upload-empty .button.primary,.workspace .upload-empty #choose-image,#auth-dialog #auth-submit,#recharge-submit,.home-actions .button{background:var(--brand);color:#fff;border-color:var(--brand);box-shadow:0 5px 16px #019e4826}.button.primary:hover:not(:disabled),.workspace .button.primary:hover:not(:disabled),.workspace .upload-empty #choose-image:hover:not(:disabled),#auth-dialog #auth-submit:hover:not(:disabled),#recharge-submit:hover:not(:disabled),.home-actions .button:hover:not(:disabled){background:var(--brand-hover);color:#fff;filter:none;box-shadow:0 7px 20px #019e4833}.button.outline,.workspace .button.outline{border-color:var(--brand-line)}.workspace :is(#auto-cutout,#sr-tool,#cartoon-tool,#batch-cutout){background:#fff;color:var(--ink);border:1px solid var(--brand-line);box-shadow:none;transition:background .18s,border-color .18s,box-shadow .18s}.workspace :is(#auto-cutout,#sr-tool,#cartoon-tool,#batch-cutout):hover:not(:disabled){background:var(--brand-soft);color:var(--brand-text);border-color:var(--brand)}.workspace :is(#auto-cutout,#sr-tool,#cartoon-tool,#batch-cutout).active{background:var(--brand);color:#fff;border-color:var(--brand);box-shadow:0 4px 14px #019e4826}.workspace :is(#auto-cutout,#sr-tool,#cartoon-tool,#batch-cutout).active:hover:not(:disabled){background:var(--brand-hover);color:#fff}.workspace :is(#auto-cutout,#sr-tool,#cartoon-tool,#batch-cutout):disabled{opacity:.55;cursor:not-allowed}.button.subtle,.tool.active,.nav .button.subtle{background:var(--brand-soft);color:var(--brand-text);border-color:var(--brand-line)}.text-button,.accent,.home-copy h1 em,.home-kicker,.home-faq details[open] summary,.home-guide-link,.home-card-number,.home-workspace-heading>a,.nav .home-nav{color:var(--brand-text)}.live-dot,.workspace .live-dot,.home-kicker>span{background:var(--brand);box-shadow:0 0 0 4px #019e481a}.workspace-section .workspace{border-color:var(--line);box-shadow:0 16px 50px #103b320b}.workspace .tools,.workspace .result-panel{background:#fff}.workspace .tools{min-width:0;padding:20px 12px}.workspace .tool-library{max-height:min(520px,60vh);overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:var(--brand-line) transparent;margin-bottom:18px;padding:0 3px 4px}.workspace .tool-library:focus-visible{outline:2px solid var(--brand);outline-offset:-2px;border-radius:8px}.workspace .tool-library .tool-section{box-sizing:border-box;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;width:100%;margin:0;padding:12px 0 16px;border:0;border-radius:0}.workspace .tool-library .tool-section+.tool-section{border-top:1px solid var(--line);padding-top:14px}.workspace .tool-library .tool-section legend{margin:0;padding:0 4px;font-size:11px;letter-spacing:1px;color:var(--muted)}.workspace .tool-library .tool-section>button{box-sizing:border-box;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:7px;width:100%;min-width:0;min-height:66px;margin:0;padding:10px 4px!important;border:1px solid var(--line);border-radius:10px;font-size:11px;line-height:1.4;font-weight:600;white-space:normal;box-shadow:none}.workspace .tool-library .automatic-tools>button{min-height:66px}.workspace .tool-library .tool-section>button{gap:5px}.workspace .tool-library .tool-credit{display:inline-flex;align-items:center;justify-content:center;padding:2px 6px;border:1px solid #dce5ee;border-radius:5px;background:#f2f6fa;color:#526b82;font-size:9px;line-height:1.3;font-weight:500;white-space:nowrap;font-variant-numeric:tabular-nums}.workspace .tool-library .tool-credit.is-free{border-color:var(--brand-line);background:var(--brand-soft);color:var(--brand-text)}.workspace .tool-library button.active .tool-credit{border-color:#ffffff50;background:#ffffff20;color:#fff}.tool-pricing-note{margin:0 2px 12px;color:var(--muted);font-size:10px;line-height:1.6}#purchase-description{line-height:1.9;white-space:pre-line}#download-pricing{color:var(--brand-text)}#purchase-dialog #confirm-purchase{min-height:44px}.workspace .tool-library .tool-section>button svg{flex-shrink:0;width:21px;height:21px;margin:0;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.workspace .tools>label{margin:0;padding-top:14px;border-top:1px solid var(--line)}.workspace .tools>.tool-tip{margin-top:8px;padding:12px}@media(min-width:1051px){.workspace-section .workspace{grid-template-columns:200px minmax(250px,1fr) 245px}}@media(min-width:701px)and (max-width:1050px){.workspace-section .workspace{grid-template-columns:180px minmax(200px,1fr)}.workspace>.result-panel{grid-column:1 / -1;border-left:0;border-top:1px solid var(--line)}}@media(max-width:700px){.workspace>.result-panel{grid-column:1 / -1;grid-template-columns:minmax(0,1fr)}.workspace>.result-panel>*{grid-column:1 / -1;grid-row:auto;min-width:0}.workspace>.result-panel #download{grid-column:1 / -1;grid-row:auto}#id-photo-panel{grid-column:1 / -1}.workspace .tools{display:block;padding:14px 16px}.workspace .tool-library{max-height:260px;margin-bottom:12px}.workspace .tool-library .tool-section{grid-template-columns:repeat(auto-fit,minmax(86px,1fr));gap:8px;padding-bottom:12px}.workspace .tools>input[type=range]{width:100%;margin:10px 0 0}}.workspace .tool:hover:not(:disabled),.workspace .tool-row button:hover:not(:disabled),.workspace .view-controls button:hover{background:var(--brand-soft);border-color:var(--brand-line)}.workspace .tool.active{background:var(--brand);color:#fff;border-color:var(--brand);box-shadow:0 4px 14px #019e4826}.workspace .tool.active:hover:not(:disabled){background:var(--brand-hover);color:#fff;border-color:var(--brand-hover)}.workspace .small-label,.workspace .editor-bottom .text-button,.workspace .view-controls button,.workspace .upload-empty p,.workspace .upload-empty small,.workspace .upload-formats{color:var(--muted)}.workspace .tool-tip{background:#f3faf7;border-color:var(--line)}.workspace .tool-tip strong,.workspace .view-controls output,.workspace .editor-bottom .text-button:hover:not(:disabled){color:var(--brand-text)}.workspace .status-card{background:var(--brand-soft);border-color:var(--brand-line);color:var(--brand-text);flex-wrap:wrap}.workspace #task-status{flex:1;min-width:0;overflow-wrap:anywhere}#task-progress{flex:0 0 100%;height:5px;margin-top:8px;overflow:hidden;border-radius:99px;background:#019e4818}#task-progress[hidden]{display:none}#task-progress>span{display:block;width:40%;height:100%;border-radius:inherit;background:linear-gradient(90deg,#019e4830,var(--brand),#019e4860);animation:task-progress-flow 1.8s ease-in-out infinite}@keyframes task-progress-flow{0%{transform:translate(-100%)}to{transform:translate(350%)}}@media(prefers-reduced-motion:reduce){#task-progress>span{animation:none;width:100%;opacity:.65}}.workspace .editor-bottom,.workspace .view-controls{background:#f8fcfa}.workspace .view-controls button{border-color:var(--line)}.workspace .view-controls button[aria-pressed=true]{background:var(--brand);color:var(--brand-ink);border-color:var(--brand)}.workspace .canvas-area{background-image:conic-gradient(#edf2ef 25%,transparent 0 50%,#edf2ef 0 75%,transparent 0)}.workspace .canvas-area.dragover{background-color:var(--brand-soft);outline-color:var(--brand-text)}.workspace .canvas-wrap #mask-canvas{filter:brightness(0) saturate(100%) invert(43%) sepia(98%) saturate(1600%) hue-rotate(118deg) brightness(92%) contrast(99%)}.workspace .tools label b,.workspace .editor-toolbar #replace-image{background:var(--brand-soft);color:var(--brand-text)}.workspace .download-title,.workspace .upload-empty h3{color:var(--ink)}.workspace .download-title span,.workspace .privacy-note{border-color:var(--line)}.workspace .download-title span{background:#f3faf7}.workspace .editor-actions button{border-color:var(--line);color:var(--muted)}.workspace .editor-actions button:hover:not(:disabled),.workspace .editor-actions .tool.active,.workspace .unified-bottom .editor-actions button:not(:disabled){background:var(--brand-soft);color:var(--brand-text);border-color:var(--brand-line)}.workspace .upload-empty{background:radial-gradient(ellipse at 50% 0,var(--brand-soft),transparent 60%),#fffffffa;border-color:var(--brand-line);box-shadow:0 16px 48px #103b3210,0 2px 6px #103b3205}.workspace:has(#id-photo-tool.active) .canvas-area:has(#upload-empty:not([hidden])){background-color:#f3f6fa;background-image:none}.workspace:has(#id-photo-tool.active) #upload-empty{box-sizing:border-box;width:360px;max-width:100%;padding:32px 22px 26px;border:1px solid #cbdff3;border-radius:18px;background:radial-gradient(ellipse at 50% 0,#e5f0fd,transparent 65%),#fff;box-shadow:0 12px 36px #234e7910}.workspace:has(#id-photo-tool.active) #upload-empty h3{font-size:22px}.workspace:has(#id-photo-tool.active) .upload-card-back{background:#dceafb;border-color:#c3d9ef}.workspace:has(#id-photo-tool.active) .upload-art .upload-icon{background:linear-gradient(145deg,#fff,#eaf3fd);border-color:#c3d9ef;color:#438edb;box-shadow:0 6px 14px #438edb18}@media(max-width:700px){.workspace:has(#id-photo-tool.active) #upload-empty{padding:20px 16px}}.workspace .upload-card-back{background:#dcf7ed;border-color:var(--brand-line)}.workspace .upload-icon,.workspace .upload-art .upload-icon{background:linear-gradient(145deg,#fff,var(--brand-soft));border-color:var(--brand-line);color:var(--brand-text);box-shadow:0 6px 14px #103b3215}.workspace .upload-art-plus{background:var(--brand);color:var(--brand-ink);box-shadow:0 3px 8px #103b3225}.workspace .upload-formats span:nth-child(-n+2){background:#f8fcfa;border-color:var(--line)}.workspace .upload-formats i{background:var(--line)}.workspace .canvas-area.dragover .upload-empty{border-color:var(--brand);background:var(--brand-soft);box-shadow:0 0 0 5px #019e4814,0 16px 48px #103b321a}#account-button{min-height:42px;padding:7px 13px;gap:9px;border-radius:13px;border:1px solid var(--brand-line);background:#f4faf6;box-shadow:none}#account-button:hover,#account-button[aria-expanded=true]{background:var(--brand-soft);border-color:#a9d7bb}#account-button .account-avatar{box-sizing:border-box;width:30px;height:30px;background:#dcf7ed;color:var(--brand-text);box-shadow:0 2px 6px #103b3210}#account-button .account-identity{font-size:13px;font-weight:500;letter-spacing:0;line-height:20px;color:var(--ink)}#account-button .account-chevron{display:inline-flex;align-items:center;justify-content:center;flex:0 0 16px;width:16px;height:20px;margin-left:2px;font-size:0;line-height:0;color:#648773;transition:transform .18s ease}#account-button .account-chevron:before{content:"";width:6px;height:6px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:translateY(-2px) rotate(45deg)}#account-button:focus-visible{outline:3px solid var(--brand-line);outline-offset:3px}@media(prefers-reduced-motion:reduce){#account-button .account-chevron{transition:none}}dialog,#auth-dialog,#slider-dialog,#recharge-dialog,#account-dialog,.records-dialog,#payment-dialog{color:var(--ink);border-color:var(--line);box-shadow:0 28px 90px #103b3230}#auth-dialog,#slider-dialog,#recharge-dialog{background:radial-gradient(ellipse at 0 0,var(--brand-soft),transparent 48%),#fff}dialog::backdrop,#auth-dialog::backdrop,#slider-dialog::backdrop,#recharge-dialog::backdrop,.records-dialog::backdrop,#account-dialog::backdrop,#payment-dialog::backdrop{background:#163c3366}#auth-dialog .close-dialog,#recharge-dialog .close-dialog{background:var(--brand-soft);color:var(--muted)}#auth-dialog h2,#slider-dialog h2,#payment-dialog #payment-title{color:var(--ink)}#auth-dialog .eyebrow,#slider-dialog .eyebrow,#recharge-dialog .eyebrow{color:var(--brand-text)}#auth-dialog>p.muted,#auth-dialog>small,#auth-dialog form label,#slider-dialog>p,#slider-dialog #slider-label,#slider-dialog .close-dialog,#slider-panel small,#auth-dialog #slider-panel label,#recharge-dialog .recharge-intro,#recharge-form legend,#recharge-form legend>span,#recharge-membership,.recharge-amount-card>b,.recharge-amount-card small,.recharge-method-card>span,.recharge-method-card small,.recharge-checkout-note,#recharge-status,.recharge-empty strong,.recharge-empty span,.recharge-order-details>small,#recharge-dialog .recharge-footnote,.account-menu-label,#account-email,.account-ledger summary,.records-toolbar,.creation-details strong,.creation-details small{color:var(--muted)}:is(#payment-dialog,dialog.fixed-close-dialog)[id]{overflow:hidden}dialog.fixed-close-dialog[open]{display:flex;flex-direction:column}dialog.fixed-close-dialog>.dialog-scroll-body{min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin}:is(#payment-dialog,dialog.fixed-close-dialog)[id]>:is(.close-dialog,.batch-close){position:absolute;inset:12px 12px auto auto;z-index:5;display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;min-width:36px;min-height:36px;margin:0;padding:0;border:0;border-radius:50%;background:#edf8f1;color:var(--muted);font-size:24px;line-height:1}:is(#payment-dialog,dialog.fixed-close-dialog)[id]>:is(.close-dialog,.batch-close):focus-visible{outline:2px solid var(--brand);outline-offset:2px}#auth-dialog .dialog-scroll-body>p.muted,#auth-dialog .dialog-scroll-body>small,#slider-dialog .dialog-scroll-body>p{color:var(--muted)}#slider-dialog .dialog-scroll-body>p{font-size:13px;line-height:1.8;margin-bottom:20px}#auth-dialog .dialog-scroll-body>p.muted{font-size:13px;line-height:1.7;margin:0 0 24px}#watermark-dialog .dialog-scroll-body>.muted{line-height:1.7;margin-bottom:24px}#auth-dialog .tabs{background:#f3faf7;border-color:var(--line)}#auth-dialog .tabs button{color:var(--muted)}#auth-dialog .tabs button.active{color:var(--brand-text);box-shadow:0 2px 6px #103b3210}#auth-dialog form input:not([type=range]),form input{background:#f8fcfa;border-color:var(--line)}#auth-dialog form input:not([type=range]):focus{border-color:var(--brand-text);box-shadow:0 0 0 3px #019e4826}#auth-dialog #send-code,#slider-panel,#email-slider{background:var(--brand-soft);border-color:var(--brand-line);color:var(--brand-text);accent-color:var(--brand)}#email-slider::-webkit-slider-thumb{background:var(--brand);box-shadow:0 2px 6px #103b3226}#email-slider::-moz-range-thumb{background:var(--brand)}.recharge-wallet,#account-dialog .balance,.balance{background:linear-gradient(115deg,#f1fcf7,#def8ee);border-color:var(--brand-line)}.recharge-wallet strong,#account-dialog .balance strong{color:var(--brand-text)}.recharge-wallet>div>span,.recharge-wallet-note{color:var(--muted);border-color:var(--brand-line)}.recharge-amount-card,.recharge-method-card,.recharge-empty{background:#fbfefc;border-color:var(--line)}.recharge-amount-card strong,.recharge-order-heading strong,#recharge-dialog .recharge-records h3{color:var(--ink)}#recharge-form input:checked+.recharge-amount-card,#recharge-form input:checked+.recharge-method-card{border-color:var(--brand-text);background:var(--brand-soft);box-shadow:0 0 0 1px #019e4830}#recharge-form input:checked+.recharge-amount-card strong{color:var(--brand-text)}#recharge-form input:focus-visible+span{outline-color:var(--brand-text)}.recharge-choice:hover .recharge-amount-card,.recharge-choice:hover .recharge-method-card{border-color:var(--brand-text)}.recharge-method-card i{border-color:var(--brand-line)}#recharge-form input:checked+.recharge-method-card i{border-color:var(--brand-text)}.recharge-feedback{background:#f3faf7;border-color:var(--line)}#recharge-link:not([hidden]),#recharge-refresh{color:var(--brand-text);border-color:var(--brand-line)}.recharge-records,.recharge-order,.account-ledger,#payment-checkout{border-color:var(--line)}.recharge-order>button,.records-dialog .history-item button,.history-item button{background:var(--brand-soft);color:var(--brand-text);border-color:var(--brand-line)}#account-menu{border-color:var(--line);box-shadow:0 16px 50px #103b3224}#account-menu>button{color:var(--ink)}#account-menu>button:hover,#account-menu>button:focus-visible{background:var(--brand-soft);color:var(--brand-text)}#account-menu>button.account-signout{color:#b36b7c;border-color:var(--line)}#payment-dialog #payment-title:before{background:var(--brand)}.home-copy h1,.home-note-title,.home-faq summary{color:var(--ink)}.home-description,.home-facts,.home-note-top,.home-note-caption,.home-section-heading>p,.home-cards p,.home-steps p,.home-faq details p,.home-noscript{color:var(--muted)}.home-facts li:before,.home-note-top>span:last-child,.home-steps li:before{color:var(--brand-text)}.home-note{border-color:var(--brand-line);background:radial-gradient(ellipse at 95% 15%,#b6f1de80,transparent 65%),linear-gradient(140deg,#fbfefc,#e4f8ef);box-shadow:0 12px 40px #103b3208}.home-note-steps span,.home-cards article,.home-steps,.home-faq-list,.home-faq details{border-color:var(--line)}.home-skip{border-color:var(--brand-text)}.pricing{background:var(--brand-soft);border-color:var(--line)}#toast{background:var(--brand-ink)}
