:root{color-scheme:light;--ink:#654e48;--muted:#8d7770;--pink:#f9dbe3;--line:#ecdfd5;--cream:#fffaf3;--accent:#a35570}*{box-sizing:border-box}body{margin:0;background:var(--cream);color:var(--ink);font:14px/1.6 'Segoe UI','Microsoft YaHei',system-ui,sans-serif}button,input,textarea,select{font:inherit;color:inherit}button,select,summary{cursor:pointer}button{transition:background .15s,transform .15s}button:hover{filter:brightness(.97)}button:disabled{cursor:not-allowed;opacity:.6}a{color:inherit;text-decoration:none}:focus-visible{outline:3px solid #bd758b;outline-offset:3px}[hidden]{display:none!important}.preview-banner{text-align:center;padding:7px 18px;background:#fff0ce;color:#80653d;font-size:12px}header{max-width:1320px;margin:auto;height:90px;padding:0 42px;display:flex;align-items:center;gap:65px;border-bottom:1px solid var(--line)}.brand{font-size:36px;letter-spacing:-2px;font-weight:800}.brand span{font-size:11px;letter-spacing:2px;margin-left:9px}nav{display:flex;gap:32px;color:var(--muted)}nav .active{color:var(--accent);position:relative}nav .active:after{content:'';position:absolute;height:4px;background:#edb5c4;border-radius:8px;left:6px;right:6px;bottom:-13px}.account{margin-left:auto;display:flex;align-items:center;gap:9px;font-size:12px}.avatar{width:29px;height:29px;border-radius:50%;background:var(--pink);display:grid;place-items:center;font-size:22px}.badge{font-size:10px;padding:1px 7px;background:#f3eade;border-radius:6px}main{max-width:1320px;margin:auto;padding:30px 42px 0}.heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:28px}.eyebrow{font-size:11px;letter-spacing:2px;color:#9a805e}h1{font-size:32px;line-height:1.3;letter-spacing:1px;margin:10px 0}.flower{display:inline-block;color:#dca1b3;font-size:30px;margin-left:14px;transform:rotate(15deg)}.heading p{margin:0;color:var(--muted);font-size:13px}.wallet{min-width:270px;padding:14px 22px;border:1px solid #ecdec6;background:#fff7e4;border-radius:17px;display:grid;gap:1px}.wallet>span{font-size:11px;color:#917959}.wallet small{margin-left:7px}.wallet strong{font-size:26px;font-weight:650;letter-spacing:.5px}.workspace{display:grid;grid-template-columns:390px minmax(0,1fr);gap:24px;align-items:start}.panel{background:#fffdf9;border:1px solid var(--line);border-radius:21px;box-shadow:0 7px 25px #79554004}.composer{padding:22px}.section-title{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:20px}h2{font-size:15px;letter-spacing:.5px;margin:0}.text-button{border:0;padding:0;background:transparent;font-size:12px;color:var(--accent)}label{display:flex;justify-content:space-between;align-items:center;margin:18px 0 8px;font-size:12px;font-weight:600}.muted{font-size:10px;color:var(--muted);font-weight:400}select,input,textarea{width:100%;border:1px solid #e6d8cc;border-radius:10px;background:#fffcf7;padding:10px 12px;outline-offset:2px;font-size:12px}select{height:43px}textarea{resize:vertical;line-height:1.8;min-height:72px}textarea::placeholder,input::placeholder{color:#ab968b}.model-meta{display:flex;justify-content:space-between;align-items:center;margin-top:10px;font-size:12px;color:var(--accent)}.pill{padding:3px 10px;border:1px solid #e5dfc9;border-radius:99px;background:#f5f3e8;font-size:10px;color:#7e8766}.help{color:var(--muted);font-size:11px;line-height:1.8;margin:9px 0}.suggestions{display:flex;align-items:center;gap:6px;flex-wrap:wrap;margin:8px 0 18px;font-size:10px;color:var(--muted)}.suggestions button{border:1px solid #ecdfd2;background:#fff7ea;border-radius:99px;padding:4px 8px;font-size:10px}.field-row{display:grid;grid-template-columns:1fr 1fr;gap:12px}.field-row label{margin-top:12px}details{margin-top:20px;border-top:1px dashed var(--line);padding-top:15px;font-size:12px}summary span{float:right;color:#a18c80;font-size:10px}.checkout{margin-top:21px;border-top:1px solid var(--line);padding-top:17px}.checkout>div{display:flex;justify-content:space-between;align-items:center;font-size:12px}.checkout strong{font-size:23px;color:#a45670}.checkout p{font-size:10px;color:var(--muted);margin:6px 0 14px}.checkout>button{width:100%;border:1px solid #e7b8c7;border-radius:12px;background:#f6d4df;padding:12px 15px;font-size:14px;font-weight:650;color:#79465a;box-shadow:0 3px 0 #eed1d950}.checkout>button span{float:right}.checkout>small{display:block;text-align:center;font-size:10px;color:#9d877c;margin-top:10px}.output{padding:23px;min-height:785px}.canvas{min-height:470px;display:grid;place-items:center;border:1px dashed #e9ddcd;border-radius:15px;background:radial-gradient(ellipse at 50% 30%,#fff7e4,transparent 65%),#fffcf7;text-align:center;padding:25px;overflow:hidden}.empty h3{margin:24px 0 8px;font-size:18px;font-weight:600}.empty p{color:var(--muted);font-size:12px;line-height:2}.empty-note{display:inline-block;color:#a08b7b;font-size:10px;margin-top:15px}.art{height:130px;width:165px;position:relative;margin:auto;border:5px solid #fffdfa;outline:1px solid #e7d7c4;border-radius:12px;background:#fcf0d1;transform:rotate(-6deg);box-shadow:10px 12px 0 #f9e7e9;overflow:hidden}.sun{position:absolute;width:28px;height:28px;border-radius:50%;background:#ebc786;right:22px;top:19px}.hill{position:absolute;width:145px;height:100px;border-radius:50% 50% 0 0;bottom:-40px}.h1{background:#c9d3b1;left:-25px;transform:rotate(25deg)}.h2{background:#dcaeb7;right:-45px;bottom:-30px;transform:rotate(-25deg)}.face{position:absolute;z-index:2;bottom:10px;left:58px;color:#795550;letter-spacing:2px}.art i{position:absolute;top:14px;left:19px;color:#c39267}.history{border-top:1px solid var(--line);padding-top:20px;margin-top:25px}.history .section-title{margin-bottom:15px}.history-list{display:grid;gap:8px}.history-row{display:flex;justify-content:space-between;align-items:center;gap:12px;background:#fcf6ee;border:1px solid #efe4d8;padding:10px 12px;border-radius:10px;text-align:left;width:100%;font-size:11px}.history-row small{display:block;color:var(--muted);font-size:10px}.receipt{margin-top:15px;background:#f1f4e8;border:1px solid #dfe6ce;border-radius:12px;padding:13px 15px;font-size:12px}.receipt>div{display:flex;gap:25px;margin:5px 0}.receipt strong{margin-left:8px}.receipt small{color:#7f896a;font-size:10px}.demo-art{width:100%;min-height:310px;display:flex;flex-direction:column;justify-content:center;align-items:center;background:linear-gradient(145deg,#f7dfd9,#fff1cc 55%,#e4ead8);border-radius:9px;color:#806452}.demo-art>span{font-size:66px;color:#b78a68}.demo-art strong{font-size:20px}.demo-art p{font-size:12px}.demo-art small{font-size:10px;color:#947f6c}#result{width:100%}.result-caption{display:flex;justify-content:space-between;margin-top:14px;font-size:11px;gap:12px}.spinner{display:inline-block;width:38px;height:38px;border:3px solid #f1dce0;border-top-color:#ba738b;border-radius:50%;animation:spin 1s linear infinite}#loading p{font-size:12px;color:var(--muted);max-width:280px}#reference-preview{max-width:100%;max-height:110px;margin-top:8px;border-radius:9px}footer{display:flex;justify-content:space-between;padding:26px 0;color:#ac9586;font-size:10px}@keyframes spin{to{transform:rotate(360deg)}}@media(max-width:950px){header{gap:30px;padding:0 24px}main{padding:25px 24px 0}.workspace{grid-template-columns:340px minmax(0,1fr);gap:16px}.output{padding:18px}.canvas{padding:15px}}@media(max-width:720px){header{height:70px;padding:0 18px;gap:22px}nav{gap:17px;font-size:12px}nav span:not(.active){display:none}.account{font-size:11px}.preview-banner{font-size:10px}main{padding:22px 16px 0}.heading{align-items:stretch;gap:18px;flex-direction:column}h1{font-size:28px}.wallet{min-width:0;grid-template-columns:1fr auto;align-items:center}.wallet>span:last-child{grid-column:1/-1}.wallet strong{grid-column:2;grid-row:1/3}.workspace{grid-template-columns:1fr}.output{min-height:0}.canvas{min-height:370px}.receipt>div{gap:12px;flex-wrap:wrap}footer span{max-width:160px;text-align:right}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important}}
#reference-card{padding:10px 12px;background:#fff7ed;border:1px solid #ecdfd2;border-radius:12px}#reference-card>div{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:11px}#reference-name{overflow-wrap:anywhere;min-width:0}#remove-reference{flex-shrink:0}#fee-breakdown{font-size:11px;margin-bottom:14px;padding-bottom:10px;border-bottom:1px dashed var(--line)}#fee-breakdown>div{display:flex;justify-content:space-between;margin:6px 0}.pending-fee{color:#a46f31}
.nai-settings{margin-top:20px;padding-top:18px;border-top:1px dashed var(--line)}.nai-settings .section-title{margin-bottom:12px}.nai-settings h2{font-size:13px}.step-control{display:grid;grid-template-columns:1fr 70px;gap:14px;align-items:center}.step-control input[type=range]{padding:0;accent-color:#bd758b;cursor:pointer}.step-presets button[aria-pressed=true]{background:#f6d4df;border-color:#d59bad;color:#79465a}.step-presets{margin-bottom:8px}
.reference-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:18px 0 9px}.reference-heading label{margin:0;gap:9px}.reference-count{background:#f8e5eb;color:#a35570;border-radius:99px;padding:1px 8px;font-size:10px;font-weight:400}.reference-drop{padding:10px;border:1px dashed #dec6b9;background:#fff8ef;border-radius:13px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.reference-grid{display:contents}.reference-tile{position:relative;min-width:0}.reference-open{position:relative;display:block;width:100%;aspect-ratio:1;border:1px solid #e7d6ca;padding:0;background:#f2e9df;border-radius:9px;overflow:hidden}.reference-open img{width:100%;height:100%;object-fit:contain;display:block}.reference-number{position:absolute;left:5px;bottom:5px;min-width:19px;padding:0 4px;border-radius:5px;background:#fffaf3e8;color:#654e48;font-size:10px}.reference-remove{position:absolute;right:4px;top:4px;border:1px solid #dec9c0;background:#fffaf3ed;color:#86556a;border-radius:50%;width:24px;height:24px;padding:0;font-size:18px;line-height:20px}.reference-filename{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:9px;color:#927b6e;margin-top:4px}.add-reference{min-height:95px;aspect-ratio:1;border:1px dashed #dcb8c5;background:#fff5f4;border-radius:9px;display:flex;align-items:center;justify-content:center;flex-direction:column;color:#a4697c;padding:4px}.add-reference>span{font-size:27px;line-height:1.2}.add-reference strong{font-size:11px;font-weight:500}.add-reference small{font-size:9px;color:#a28b80}.drag-over{background:#f9e2e9;border-color:#ad6280}#reference-viewer{width:min(850px,90vw);max-height:90vh;border:1px solid #ead5c8;border-radius:17px;padding:18px;background:#fffaf3;color:#654e48}#reference-viewer::backdrop{background:#49372e99;backdrop-filter:blur(3px)}#reference-viewer>div{display:flex;justify-content:space-between;gap:20px;align-items:center;margin-bottom:14px}#viewer-title{font-size:13px;overflow-wrap:anywhere}#close-viewer{flex-shrink:0}#viewer-image{display:block;max-width:100%;max-height:75vh;object-fit:contain;margin:auto;border-radius:8px}
