@font-face{font-family:"Alibaba PuHuiTi 3.0";font-style:normal;font-display:swap;font-weight:400;src:url(/fonts/AlibabaPuHuiTi-3-55-Regular.ttf) format("truetype")}@font-face{font-family:"Alibaba PuHuiTi 3.0";font-style:normal;font-display:swap;font-weight:500 600;src:url(/fonts/AlibabaPuHuiTi-3-65-Medium.ttf) format("truetype")}@font-face{font-family:"Alibaba PuHuiTi 3.0";font-style:normal;font-display:swap;font-weight:700 900;src:url(/fonts/AlibabaPuHuiTi-3-85-Bold.ttf) format("truetype")}@font-face{font-family:Source Han Sans SC;font-style:normal;font-display:swap;font-weight:200 900;src:url(/fonts/SourceHanSansSC-VF.woff2) format("woff2")}@font-face{font-family:LXGW WenKai;font-style:normal;font-display:swap;font-weight:300;src:url(/fonts/LXGWWenKai-300.woff2) format("woff2")}:root{--font-sans:"Alibaba PuHuiTi 3.0","Alibaba PuHuiTi","Source Han Sans SC","Noto Sans SC","PingFang SC","Microsoft YaHei",Arial,sans-serif;--font-wenkai:"LXGW WenKai","LXGW WenKai Screen","霞鹜文楷","STKaiti","KaiTi",serif;--bg:#fff9f6;--surface:#fff;--surface-2:#fff6f3;--surface-3:#f5efff;--ink:#171924;--muted:#756f7a;--subtle:#a49ca8;--line:#efe5e2;--line-strong:#e4d6d2;--nav:#fff;--nav-line:rgba(82,54,46,.1);--accent:#ff675d;--accent-strong:#ee5147;--violet:#8c6cf6;--violet-soft:#f1ebff;--success:#55c36b;--danger:#e45b55;--shadow:0 20px 60px rgba(28,32,48,.08);--shadow-soft:0 10px 32px rgba(28,32,48,.06)}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;overflow-x:hidden;background:radial-gradient(circle at 18% 0,hsla(7,100%,76%,.12),transparent 30%),radial-gradient(circle at 88% 12%,rgba(140,108,246,.09),transparent 28%),linear-gradient(180deg,#fff 0,var(--bg) 52%,#fffdfb 100%);color:var(--ink);font-family:var(--font-sans)}a{color:inherit;text-decoration:none}button,input,select,textarea{font:inherit}button{color:inherit}img{max-width:100%}.shell{width:min(1480px,calc(100% - 48px));margin:0 auto}.generate-shell{position:relative;isolation:isolate;overflow:hidden;padding:28px 0 34px}.generate-shell:before{position:absolute;z-index:-1;top:0;bottom:0;left:50%;width:100vw;content:"";background:radial-gradient(circle at 1% 72%,rgba(255,132,164,.18),transparent 18%),radial-gradient(circle at 100% 46%,rgba(255,139,184,.16),transparent 20%),radial-gradient(circle at 52% 4%,rgba(255,200,216,.24),transparent 24%),linear-gradient(180deg,#fff9fb,#fff4f8 46%,#fff9fb);transform:translateX(-50%)}.nav{position:-webkit-sticky;position:sticky;top:0;z-index:30;border-bottom:1px solid var(--nav-line);background:hsla(0,0%,100%,.92);color:var(--ink);font-family:var(--font-sans);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px)}.nav-inner{position:relative;display:grid;grid-template-columns:minmax(220px,.82fr) auto minmax(520px,1.18fr);min-height:64px;grid-gap:16px;gap:16px}.brand,.nav-inner{align-items:center}.brand{display:inline-flex;gap:14px;width:min(380px,28vw);font-weight:700}.brand-name{overflow:hidden;font-size:18px;text-overflow:ellipsis}.brand-name,.brand-tagline{letter-spacing:0;line-height:1.2;white-space:nowrap}.brand-tagline{color:#ff7fa0;font-size:12px;font-weight:600}.brand-tagline:after{margin-left:8px;content:"✦";color:#ff8bad;font-size:13px}.brand-mark{display:grid;width:36px;height:36px;place-items:center;border-radius:10px;background:linear-gradient(135deg,var(--accent),var(--violet));color:#fff}.button-primary,.button-secondary,.ghost-link,.icon-button,.nav-actions,.nav-balance,.nav-center,.nav-history,.nav-login,.nav-recharge,.nav-user,.primary-link,.secondary-link{display:inline-flex;align-items:center}.nav-center{justify-content:center;gap:26px}.nav-link{position:relative;display:inline-flex;min-height:64px;align-items:center;gap:8px;color:#746d75;font-size:14px;font-weight:500;white-space:nowrap}.nav-link.active,.nav-link:hover{color:var(--accent-strong)}.nav-link.active:after{position:absolute;left:50%;bottom:0;width:32px;border-radius:999px;background:#ff5f7f;content:"";transform:translateX(-50%)}.nav-link em{border-radius:999px;background:#fff1ee;color:var(--accent);font-size:11px;font-style:normal;padding:2px 6px}.nav-disabled{cursor:default;color:#aaa1aa}.nav-disabled:hover{color:#aaa1aa}.nav-actions{justify-content:flex-end;gap:8px;min-width:0}.nav-balance{flex:0 0 auto;gap:6px;min-height:34px;border:1px solid var(--line);border-radius:999px;background:hsla(0,0%,100%,.9);padding:0 12px;color:var(--ink);font-size:13px;font-weight:600;white-space:nowrap}.nav-balance span{color:var(--muted);font-size:inherit;white-space:nowrap}.nav-balance strong{color:var(--accent-strong);font-size:inherit;font-weight:850}.nav-history,.nav-login,.nav-recharge{flex:0 0 auto;justify-content:center;gap:6px;min-height:34px;border:1px solid var(--line);border-radius:999px;background:#fff;color:var(--ink);cursor:pointer;font-size:13px;font-weight:600;padding:0 12px;white-space:nowrap}.nav-history:hover,.nav-login:hover,.nav-recharge:hover{background:#fff7f5}.nav-recharge{background:var(--accent);color:#fff;border-color:transparent;padding:0 16px;box-shadow:0 12px 26px rgba(255,98,87,.18)}.nav-recharge:hover{background:var(--accent-strong)}.nav-recharge[aria-expanded=true]{background:var(--accent-strong);box-shadow:0 6px 16px rgba(255,71,62,.24)}.nav-history{color:#6f5b58}.nav-user{position:relative;flex:0 0 auto;gap:6px;min-width:auto;border-left:1px solid var(--line);padding-left:10px}.nav-avatar{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;border:1px solid var(--line);border-radius:999px;background:#f3edff;color:var(--violet);cursor:pointer;font-size:15px;font-weight:900;line-height:1}.account-popover{position:absolute;top:calc(100% + 10px);right:0;z-index:45;display:grid;width:min(380px,calc(100vw - 32px));grid-gap:10px;gap:10px;border:1px solid var(--line);border-radius:12px;background:#fff;box-shadow:var(--shadow);padding:12px}.account-popover:before{position:absolute;right:0;bottom:100%;width:100%;height:12px;content:""}.account-popover span{overflow:hidden;color:var(--ink);font-size:13px;font-weight:700;text-overflow:ellipsis;white-space:nowrap}.account-popover button{display:inline-flex;width:max-content;align-items:center;gap:6px;border:1px solid var(--line);border-radius:999px;background:#fff7f5;color:var(--accent-strong);cursor:pointer;font-size:13px;font-weight:800;padding:7px 10px}.account-identity{display:flex;align-items:center;justify-content:space-between;gap:10px}.account-identity>span{min-width:0}.account-referral{display:grid;grid-gap:10px;gap:10px;border-top:1px solid var(--line);padding-top:12px}.account-referral-head{display:grid;grid-gap:3px;gap:3px}.account-referral-head strong{color:var(--ink);font-size:14px}.account-referral-head small,.account-referral>small{color:var(--muted);font-size:12px}.account-referral-link{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;grid-gap:8px;gap:8px;border-radius:10px;background:#fff7f5;padding:8px}.account-referral-link code{overflow:hidden;color:#735d61;font-family:inherit;font-size:12px;text-overflow:ellipsis;white-space:nowrap}.account-referral-link button{flex:0 0 auto;background:#fff;padding:6px 9px}.account-referral-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-gap:6px;gap:6px}.account-referral-stats span{display:grid;grid-gap:2px;gap:2px;border-radius:9px;background:#faf7f8;color:var(--muted);font-size:11px;font-weight:600;padding:7px;text-align:center;white-space:normal}.account-referral-stats b{color:var(--accent-strong);font-size:14px}.login-dialog-backdrop{position:fixed;inset:0;z-index:80;display:flex;align-items:center;justify-content:center;background:rgba(34,24,30,.42);padding:16px;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.login-dialog{position:relative;width:min(920px,calc(100vw - 32px));max-height:min(680px,calc(100vh - 32px));overflow:hidden;border:1px solid hsla(0,0%,100%,.92);border-radius:18px;background:#fff;box-shadow:0 28px 90px rgba(52,31,42,.24);padding:0}.login-dialog-layout{display:grid;grid-template-columns:minmax(0,440px) minmax(300px,1fr);min-height:580px}.login-dialog-close{position:absolute;top:12px;right:12px;z-index:1;display:grid;width:34px;height:34px;place-items:center;border:0;border-radius:8px;background:#fff7f9;color:#7f7078;cursor:pointer}.login-dialog-close:hover{background:#ffedf2;color:#e84370}.login-dialog .auth-form-panel{width:100%;max-width:none;align-self:center;padding:42px 34px 36px}.login-dialog .auth-head{padding-right:32px}.login-dialog-visual{min-width:0;min-height:580px;overflow:hidden;background:#fff9f8}.login-dialog-visual img{display:block;width:100%;height:100%;object-fit:cover;object-position:center;filter:saturate(.92) contrast(.98)}.nav-logout{display:grid;width:30px;height:30px;place-items:center;border:0;border-radius:8px;background:transparent;color:var(--muted);cursor:pointer}.nav-logout:hover{background:#fff7f5;color:var(--accent)}.recharge-popover{position:fixed;top:82px;right:max(24px,calc((100vw - 1480px) / 2));z-index:40;width:min(340px,calc(100vw - 32px));border:1px solid var(--line);border-radius:12px;background:#fff;color:var(--ink);box-shadow:var(--shadow);padding:18px}.recharge-dialog{top:76px;width:min(420px,calc(100vw - 32px));max-height:calc(100vh - 96px);overflow:auto}.recharge-popover strong{display:block;margin-bottom:8px;font-size:17px}.recharge-popover p{margin:0;color:var(--muted);line-height:1.7}.recharge-close{position:absolute;top:10px;right:10px;display:grid;width:30px;height:30px;place-items:center;border:0;border-radius:8px;background:transparent;color:var(--muted);cursor:pointer}.recharge-section{display:grid;grid-gap:10px;gap:10px;margin-top:16px}.recharge-label,.recharge-note span{color:var(--ink);font-size:13px;font-weight:800}.recharge-package-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-gap:8px;gap:8px}.recharge-methods button,.recharge-package-grid button{border:1px solid var(--line);border-radius:12px;background:#fff;color:var(--ink);cursor:pointer}.recharge-package-grid button{display:grid;grid-gap:4px;gap:4px;padding:12px 8px;text-align:center}.recharge-package-grid button strong{margin:0;font-size:14px}.recharge-package-grid button span{color:var(--accent-strong);font-size:13px;font-weight:800}.recharge-methods button.selected,.recharge-package-grid button.selected{border-color:rgba(255,98,87,.48);background:#fff4f1;color:var(--accent-strong)}.recharge-methods{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:8px;gap:8px}.recharge-methods button{min-height:40px;font-weight:800}.recharge-qr{display:grid;grid-template-columns:128px minmax(0,1fr);grid-gap:14px;gap:14px;align-items:center;margin-top:16px;border:1px dashed #ecd8d1;border-radius:14px;background:#fffaf8;padding:12px}.recharge-qr img{width:128px;height:128px;border-radius:10px;background:#fff;object-fit:contain}.recharge-order small,.recharge-qr small,.recharge-qr span{display:block;color:var(--muted);line-height:1.6}.recharge-qr strong{margin:2px 0 6px;color:var(--accent-strong);font-size:24px}.recharge-note{display:grid;grid-gap:8px;gap:8px;margin-top:14px}.recharge-note input{width:100%;min-height:40px;border:1px solid var(--line);border-radius:10px;outline:none;padding:0 12px}.recharge-order{display:grid;grid-gap:7px;gap:7px;margin-top:14px;border:1px solid #d8eacb;border-radius:12px;background:#f8fff3;padding:12px}.recharge-order>span{color:var(--muted);font-size:13px}.recharge-order button{display:inline-flex;width:max-content;align-items:center;gap:6px;border:0;background:transparent;color:#2f6d28;cursor:pointer;font-weight:900;padding:0}.recharge-submit{width:100%;margin-top:14px}.button-primary,.button-secondary,.ghost-link,.icon-button,.primary-link,.secondary-link{justify-content:center;gap:8px;min-height:42px;border:1px solid transparent;border-radius:8px;cursor:pointer;white-space:nowrap}.button-primary,.primary-link{background:var(--accent);color:#fff;font-weight:850;padding:0 18px;box-shadow:0 14px 28px rgba(255,98,87,.22)}.button-primary:hover,.primary-link:hover{background:var(--accent-strong)}.button-secondary,.ghost-link,.icon-button,.secondary-link{border-color:var(--line);background:#fff;color:var(--ink);padding:0 16px}.button-secondary:hover,.ghost-link:hover,.icon-button:hover,.secondary-link:hover{border-color:var(--line-strong);background:var(--surface-2)}.icon-button.compact{min-height:34px;padding:0 12px;color:var(--muted);font-size:13px}.button-primary:disabled,.button-secondary:disabled,.generate-submit:disabled,.icon-button:disabled{cursor:not-allowed;opacity:.58}.hero-stage{position:relative;overflow:hidden;min-height:calc(100vh - 78px);border-bottom:1px solid var(--line);background:radial-gradient(ellipse at 86% 22%,rgba(255,149,176,.16),transparent 34%),radial-gradient(ellipse at 18% 78%,rgba(255,184,198,.16),transparent 34%),linear-gradient(180deg,#fff,#fff9fb 54%,#fff1f6)}.hero-stage:before{position:absolute;bottom:-124px;left:-86px;width:330px;height:330px;content:"";border:2px solid rgba(255,145,175,.28);border-radius:46% 54% 56% 44%;transform:rotate(-14deg)}.hero-stage:after{position:absolute;top:188px;left:25%;width:238px;height:120px;content:"";border-top:2px dotted rgba(255,160,126,.36);border-radius:50%;transform:rotate(-4deg)}.hero{position:relative;z-index:1;display:grid;width:min(1624px,calc(100% - 48px));grid-template-columns:minmax(500px,.68fr) minmax(720px,1fr);grid-gap:clamp(52px,3.6vw,60px);gap:clamp(52px,3.6vw,60px);align-items:center;min-height:calc(100vh - 78px);padding:clamp(24px,4vh,44px) 0 clamp(54px,7vh,92px)}.eyebrow{color:var(--violet);font-size:14px;font-weight:850}h1,h2,h3,p{margin-top:0}h1{max-width:720px;margin-bottom:18px;color:var(--ink);font-size:clamp(42px,5vw,70px);line-height:1.03;letter-spacing:0}.hero-copy{max-width:650px;color:var(--muted);font-size:18px;line-height:1.9}.hero-manifesto{max-width:650px;margin-bottom:0;color:#263d4a;font-family:var(--font-wenkai);font-size:clamp(31px,2.25vw,42px);font-weight:300;line-height:1.86;letter-spacing:0}.hero-content{position:relative;padding-left:clamp(0px,5vw,84px)}.hero-content:after,.hero-content:before{position:absolute;content:"";pointer-events:none}.hero-content:before{top:-176px;right:-18px;width:36px;height:36px;background:linear-gradient(45deg,transparent 42%,rgba(255,202,142,.82) 43% 57%,transparent 58%),linear-gradient(-45deg,transparent 42%,rgba(255,202,142,.82) 43% 57%,transparent 58%);opacity:.8}.hero-content:after{bottom:-138px;left:6px;width:26px;height:26px;background:linear-gradient(45deg,transparent 42%,hsla(0,0%,100%,.92) 43% 57%,transparent 58%),linear-gradient(-45deg,transparent 42%,hsla(0,0%,100%,.92) 43% 57%,transparent 58%)}.hero-actions{gap:12px;margin-top:28px}.hero-stats{display:flex;flex-wrap:wrap;gap:10px;margin-top:24px;color:var(--muted)}.hero-stats span{display:inline-flex;align-items:center;gap:7px;min-height:34px;border:1px solid var(--line);border-radius:999px;background:var(--surface-2);padding:0 12px}.hero-visual{position:relative;overflow:hidden;border:1px solid hsla(0,0%,100%,.92);border-radius:34px;background:rgba(255,244,248,.82);box-shadow:0 36px 90px rgba(255,128,164,.12),0 18px 54px rgba(91,55,78,.08);transform:translateY(-34px)}.hero-visual img{display:block;width:100%;height:clamp(520px,40vw,668px);object-fit:cover}.section{padding:68px 0}.section-head{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;margin-bottom:24px}.page-title h1,.section-head h2{margin-bottom:8px;font-size:clamp(30px,4vw,48px);line-height:1.08}.page-title p,.section-head p{max-width:760px;color:var(--muted);line-height:1.75}.prompt-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-gap:18px;gap:18px}.coming-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:18px;gap:18px}.coming-card{min-height:180px;border:1px dashed #ead9d4;border-radius:18px;background:linear-gradient(135deg,rgba(255,98,87,.07),rgba(139,92,246,.08)),hsla(0,0%,100%,.86);box-shadow:var(--shadow-soft);padding:28px}.coming-card span{display:inline-flex;align-items:center;min-height:24px;border-radius:999px;background:#fff1ee;color:var(--accent);font-size:12px;font-weight:900;padding:0 10px}.coming-card h3{margin-top:18px;font-size:28px}.prompt-card{overflow:hidden;border:1px solid var(--line);border-radius:12px;background:#fff;box-shadow:var(--shadow-soft)}.prompt-card-media{display:grid;min-height:310px;place-items:center;background:linear-gradient(180deg,#fafbff,#f1f3f8)}.prompt-card-media img{display:block;width:100%;height:310px;object-fit:contain}.prompt-card-body{padding:18px}.prompt-meta{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:12px}.pill{display:inline-flex;align-items:center;min-height:26px;border-radius:999px;background:var(--violet-soft);color:var(--violet);font-size:12px;font-weight:800;padding:0 10px}.prompt-card h3{margin-bottom:10px;font-size:21px}.prompt-card p{min-height:78px;color:var(--muted);line-height:1.65}.card-actions{display:flex;flex-wrap:wrap;gap:10px}.page-title{padding:48px 0 28px}.admin-page{padding:56px 0}.admin-page,.auth-page{min-height:calc(100vh - 74px)}.auth-page{position:relative;isolation:isolate;display:grid;place-items:start center;padding:clamp(118px,15vh,168px) 0 72px}.auth-page:after,.auth-page:before{position:absolute;z-index:-1;content:"";pointer-events:none}.auth-page:before{top:170px;left:max(4vw,54px);width:560px;height:560px;border-radius:42% 58% 54% 46%;background:radial-gradient(circle at 38% 34%,rgba(255,157,180,.34),transparent 0 34%,transparent 35%),radial-gradient(circle at 68% 70%,rgba(255,203,214,.16),transparent 0 44%,transparent 45%);filter:blur(4px)}.auth-page:after{right:max(6vw,86px);bottom:86px;width:520px;height:520px;border-radius:48% 52% 44% 56%;background:radial-gradient(circle,rgba(180,139,255,.15),transparent 62%)}.admin-card,.auth-card,.composer-card,.composer-tabs,.panel{border:1px solid var(--line);background:hsla(0,0%,100%,.96);box-shadow:var(--shadow-soft)}.auth-card{position:relative;width:min(660px,100%);margin:0 auto;border-color:rgba(238,218,222,.9);border-radius:28px;background:radial-gradient(circle at 92% 8%,rgba(255,155,179,.12),transparent 26%),hsla(0,0%,100%,.92);box-shadow:0 38px 110px rgba(219,120,150,.12),0 18px 54px rgba(72,48,75,.08),inset 0 1px 0 hsla(0,0%,100%,.92);padding:54px 58px 42px;-webkit-backdrop-filter:blur(22px);backdrop-filter:blur(22px)}.auth-card:after{position:absolute;top:42px;right:44px;color:rgba(255,107,132,.64);content:"✦";font-size:30px;line-height:1}.auth-head{display:flex;gap:24px;align-items:flex-start;margin-bottom:38px}.auth-head .brand-mark{width:78px;height:78px;border-radius:20px;box-shadow:0 18px 42px rgba(162,86,216,.24)}.auth-head .brand-mark svg{width:34px;height:34px}.admin-card h1,.admin-card h2,.auth-head h1{margin-bottom:10px;color:var(--ink);font-size:34px;line-height:1.15}.admin-card p,.auth-head p{margin:0;color:var(--muted);font-size:18px;line-height:1.8}.auth-field{display:grid;grid-gap:14px;gap:14px;margin-top:28px;color:var(--ink);font-size:18px;font-weight:850}.auth-input-wrap{display:flex;min-height:66px;align-items:center;gap:14px;border:1px solid rgba(214,204,210,.95);border-radius:14px;background:hsla(0,0%,100%,.86);color:#7f7884;padding:0 20px;transition:border-color .18s ease,box-shadow .18s ease}.auth-input-wrap:focus-within{border-color:rgba(255,104,140,.58);box-shadow:0 0 0 4px rgba(255,104,140,.12)}.auth-input-wrap input{width:100%;min-width:0;min-height:62px;border:0;background:transparent;color:var(--ink);outline:none;padding:0}.auth-input-wrap input::placeholder{color:#aaa4af}.admin-search input{width:100%;min-height:44px;border:1px solid var(--line);border-radius:8px;background:#fff;color:var(--ink);outline:none;padding:0 12px}.admin-search input:focus,.composer-textarea:focus,.tool-select:focus{border-color:rgba(114,88,255,.58);box-shadow:0 0 0 3px rgba(114,88,255,.12)}.auth-code-row{display:grid;grid-template-columns:minmax(0,1fr) 176px;grid-gap:26px;gap:26px;align-items:end}.auth-code-row .button-secondary{min-height:66px;border-color:rgba(255,105,136,.38);border-radius:14px;color:#ff5b72;font-size:16px}.auth-submit{width:100%;min-height:76px;border-radius:16px;margin-top:44px;background:linear-gradient(135deg,#ff4f66,#ff5f74 48%,#ff7384);box-shadow:0 24px 48px rgba(255,91,112,.24);font-size:24px}.auth-dev-code,.auth-error,.auth-message{margin-top:12px;border-radius:8px;padding:10px 12px;font-size:13px;line-height:1.6}.auth-dev-code,.auth-message{border:1px solid #d8eacb;background:#f5fbf0;color:#3c7332}.auth-error{border:1px solid #f2c8c5;background:#fff5f4;color:#b43e38}.auth-terms{display:flex;align-items:center;justify-content:center;gap:8px;margin:34px 0 0;color:#8f8792;font-size:16px}.auth-terms svg{color:#ff687e}.auth-terms a{color:var(--accent-strong);font-weight:800}.legal-page{display:grid;min-height:calc(100vh - 78px);place-items:start center;padding:78px 0}.legal-card{width:min(760px,100%);border:1px solid var(--line);border-radius:28px;background:hsla(0,0%,100%,.94);box-shadow:var(--shadow-soft);padding:clamp(28px,5vw,52px)}.legal-kicker{margin:0 0 10px;color:var(--accent-strong);font-size:14px;font-weight:900}.legal-card h1{margin:0 0 20px}.legal-card p{color:var(--muted);font-size:16px;line-height:1.9}.legal-card .primary-link{margin-top:18px}.admin-grid{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(360px,.85fr);grid-gap:22px;gap:22px;align-items:start}.admin-card{border-radius:14px;padding:24px}.admin-search{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-gap:10px;gap:10px;margin-top:18px}.admin-user-list{display:grid;grid-gap:8px;gap:8px;margin-top:16px}.admin-user-list button{display:flex;min-height:46px;align-items:center;justify-content:space-between;gap:12px;border:1px solid var(--line);border-radius:8px;background:#fff;color:var(--ink);cursor:pointer;padding:0 12px;text-align:left}.admin-user-list button.selected{border-color:rgba(114,88,255,.52);background:var(--violet-soft)}.admin-balance{display:grid;grid-template-columns:auto minmax(0,1fr);grid-gap:10px 14px;gap:10px 14px;margin:16px 0;color:var(--muted)}.admin-balance strong{color:var(--ink)}.admin-recharge-card{grid-column:1/-1}.admin-card-title-row{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.admin-recharge-list{display:grid;grid-gap:10px;gap:10px;margin-top:18px}.admin-referral-list .admin-recharge-order{border-color:#eadffb;background:linear-gradient(145deg,#fff,#fbf8ff)}.admin-recharge-order{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-gap:16px;gap:16px;align-items:center;border:1px solid var(--line);border-radius:12px;background:#fff;padding:14px}.admin-recharge-order div:first-child{display:grid;grid-gap:5px;gap:5px}.admin-recharge-order strong{color:var(--ink)}.admin-recharge-order small,.admin-recharge-order span{color:var(--muted)}.admin-recharge-actions{display:inline-flex;gap:8px}.admin-recharge-actions button{display:inline-flex;min-height:36px;align-items:center;gap:6px;border:1px solid var(--line);border-radius:999px;background:#fff;color:var(--ink);cursor:pointer;font-weight:800;padding:0 12px}.admin-recharge-actions button:first-child{border-color:#d8eacb;background:#f8fff3;color:#2f6d28}.admin-recharge-actions button:last-child{border-color:#f2c8c5;background:#fff5f4;color:#b43e38}.admin-console{display:grid;grid-gap:18px;gap:18px}.admin-hero{display:flex;align-items:center;justify-content:space-between;gap:18px;border:1px solid var(--line);border-radius:18px;background:hsla(0,0%,100%,.94);box-shadow:var(--shadow-soft);padding:24px}.admin-hero span{display:inline-flex;min-height:24px;align-items:center;border-radius:999px;background:#fff1ee;color:var(--accent);font-size:12px;font-weight:900;padding:0 10px}.admin-hero h1{margin:10px 0 6px;font-size:clamp(28px,3.2vw,42px)}.admin-hero p{color:var(--muted)}.admin-summary-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));grid-gap:12px;gap:12px}.admin-summary-card{display:grid;grid-gap:6px;gap:6px;border:1px solid var(--line);border-radius:16px;background:hsla(0,0%,100%,.94);box-shadow:var(--shadow-soft);padding:16px}.admin-summary-card svg{color:var(--accent)}.admin-summary-card small,.admin-summary-card span{color:var(--muted)}.admin-summary-card strong{font-size:28px;line-height:1}.admin-layout{display:grid;grid-template-columns:minmax(360px,.9fr) minmax(0,1.35fr);grid-gap:18px;gap:18px;align-items:start}.admin-detail-card,.admin-users-card{min-width:0}.admin-filter-grid{display:grid;grid-template-columns:minmax(0,1fr) 130px 120px auto;grid-gap:10px;gap:10px;margin-top:18px}.admin-adjust-grid input,.admin-control-grid select,.admin-filter-grid input,.admin-filter-grid select{width:100%;min-height:42px;border:1px solid var(--line);border-radius:10px;background:#fff;color:var(--ink);outline:none;padding:0 12px}.admin-adjust-grid input:focus,.admin-control-grid select:focus,.admin-filter-grid input:focus,.admin-filter-grid select:focus{border-color:rgba(255,98,87,.45);box-shadow:0 0 0 3px rgba(255,98,87,.12)}.admin-user-list.rich{max-height:680px;overflow:auto;padding-right:4px}.admin-user-list.rich button{min-height:68px;border-radius:14px}.admin-user-list.rich button span{display:grid;grid-gap:4px;gap:4px;min-width:0}.admin-user-list.rich button strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.admin-user-list.rich button small{color:var(--muted)}.admin-user-list.rich button em{color:var(--accent);font-style:normal;font-weight:900;white-space:nowrap}.status-badge{display:inline-flex;align-items:center;min-height:30px;border-radius:999px;font-size:13px;font-weight:800;padding:0 12px}.status-badge.active{background:#eef9f0;color:#2d7d3a}.status-badge.disabled{background:#fff7df;color:#9a6200}.status-badge.deleted{background:#fff0ee;color:#b43e38}.admin-metric-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-gap:10px;gap:10px;margin:18px 0}.admin-metric-row div{display:grid;grid-gap:6px;gap:6px;border:1px solid var(--line);border-radius:14px;background:#fff;padding:14px}.admin-adjust-grid span,.admin-control-grid span,.admin-metric-row span{color:var(--muted);font-size:13px}.admin-metric-row strong{font-size:24px}.admin-adjust-grid,.admin-control-grid{display:grid;grid-gap:10px;gap:10px}.admin-control-grid{grid-template-columns:repeat(2,minmax(0,1fr));margin-bottom:16px}.admin-adjust-grid label,.admin-control-grid label{display:grid;grid-gap:8px;gap:8px}.admin-adjust-box{border:1px solid var(--line);border-radius:16px;background:linear-gradient(180deg,#fff,#fff9f7);padding:16px}.admin-adjust-box h3{margin-bottom:12px;font-size:18px}.admin-adjust-grid{grid-template-columns:120px 150px minmax(0,1fr) auto;align-items:end}.admin-section{margin-top:18px;border-top:1px solid var(--line);padding-top:16px}.admin-section h3{display:flex;align-items:center;gap:8px;margin-bottom:10px;font-size:18px}.admin-section h3 svg{color:var(--accent)}.admin-section-list{display:grid;grid-gap:8px;gap:8px}.admin-row{display:grid;grid-gap:5px;gap:5px;border:1px solid var(--line);border-radius:12px;background:#fff;padding:12px}.admin-row span,.admin-row strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.admin-row span{color:var(--muted);font-size:13px}.generator{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(420px,.96fr);grid-gap:30px;gap:30px;align-items:stretch;min-height:calc(100vh - 142px)}.oreate-layout{grid-template-columns:minmax(0,1.52fr) minmax(390px,.92fr)}.result-panel{min-width:0}.composer-shell{display:grid;grid-template-rows:auto minmax(0,1fr) auto;grid-gap:14px;gap:14px;min-width:0}.panel{border-radius:12px}.composer-card,.result-panel.panel{height:100%}.panel-inner{padding:24px}.result-box{display:grid;height:100%;grid-gap:16px;gap:16px;grid-template-rows:auto minmax(0,1fr) auto}.result-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.result-head h2{margin:0 0 12px;font-size:26px;line-height:1.1}.result-meta{display:flex;flex-wrap:wrap;gap:10px;color:var(--subtle);font-size:13px}.result-meta span{display:inline-flex;align-items:center;gap:6px}.result-meta span:first-child:before{width:8px;height:8px;border-radius:999px;background:var(--subtle);content:""}.result-meta .success{color:#4a9e5a}.result-meta .success:before{background:var(--success)}.result-meta .danger{color:var(--danger)}.result-meta .danger:before{background:var(--danger)}.result-meta.preview-meta{color:#8a8190}.result-meta.preview-meta span:first-child:before{background:#ff9ab1}.result-stage{display:grid;min-height:0}.empty-state,.result-image,.status{display:grid;min-height:0;place-items:center;border:1px solid var(--line);border-radius:8px;background:#fbfcff}.result-image{overflow:hidden}.result-image img{display:block;width:100%;height:100%;object-fit:contain}.empty-state,.status{border-style:dashed;color:var(--muted);text-align:center;line-height:1.7;padding:22px}.empty-state p{margin:10px 0 0}.empty-state small{display:block;max-width:320px;margin:8px auto 0;color:var(--subtle)}.empty-action{width:max-content;margin:16px auto 0}.status.error{border-color:#f0b7b1;background:#fff5f4;color:#b43e38}.result-actions{margin-top:2px}.result-usage{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:38px;border-top:1px solid var(--line);color:var(--muted);font-size:13px;padding-top:12px}.result-usage strong{color:var(--ink);font-size:14px;font-weight:850}.composer-tabs{display:grid;grid-template-columns:1fr 1fr;grid-gap:8px;gap:8px;padding:6px;border-radius:10px}.composer-tabs button{min-height:46px;border:0;border-radius:7px;background:transparent;color:var(--muted);cursor:pointer;font-weight:700}.composer-tabs button.active{background:linear-gradient(180deg,#f7f3ff,#eee7ff);color:var(--violet);box-shadow:inset 0 0 0 1px rgba(114,88,255,.08)}.composer-card{display:flex;min-height:0;flex-direction:column;border-radius:12px;overflow:visible}.composer-card.drag-active{border-color:rgba(114,88,255,.7);box-shadow:0 0 0 3px rgba(114,88,255,.14),var(--shadow-soft)}.composer-template-row{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;grid-gap:12px;gap:12px;padding:20px 22px 0}.compact-control>span,.composer-template-row label,.control-row>span{color:#3f4351;font-weight:850}.composer-template-row select{min-height:40px;border:1px solid var(--line);border-radius:8px;background:#fff;color:var(--ink);padding:0 12px}.composer-upload-row{display:grid;grid-template-columns:92px minmax(0,1fr);align-items:center;grid-gap:14px;gap:14px;min-width:0;margin:20px 22px 0;border:1px dashed var(--line-strong);border-radius:10px;background:#fcfdff;padding:14px}.upload-tile{position:relative;display:grid;width:76px;height:76px;place-items:center;overflow:hidden;border:0;border-radius:8px;background:#fff;color:var(--muted);cursor:pointer;font-size:13px;line-height:1.3;box-shadow:inset 0 0 0 1px var(--line)}.upload-tile img{width:100%;height:100%;object-fit:cover}.upload-count{position:absolute;right:6px;bottom:6px;display:inline-flex;min-width:22px;height:22px;align-items:center;justify-content:center;border-radius:999px;background:var(--accent);color:#fff;font-size:12px;font-weight:850}.reference-list{display:flex;min-width:0;flex-wrap:wrap;gap:8px}.clear-file,.reference-chip{min-height:32px;max-width:180px;overflow:hidden;border:1px solid var(--line);border-radius:999px;background:#fff;color:var(--muted);cursor:pointer;padding:0 10px;text-overflow:ellipsis;white-space:nowrap}.clear-file{max-width:none;border-radius:8px}.upload-helper{display:grid;min-width:0;grid-gap:5px;gap:5px;color:var(--muted);font-size:13px;line-height:1.6;overflow-wrap:anywhere}.upload-helper strong{color:var(--ink);font-size:15px}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;-webkit-clip-path:inset(50%);clip-path:inset(50%)}.composer-textarea{min-height:230px;flex:1 1;resize:none;border:1px solid var(--line);border-radius:10px;outline:none;background:#fff;color:var(--ink);margin:22px 22px 0;padding:18px;font-size:16px;line-height:1.75}.composer-textarea::placeholder{color:var(--subtle)}.composer-toolbar{display:grid;grid-gap:12px;gap:12px;min-width:0;padding:16px 24px 12px}.toolbar-left{display:grid;grid-gap:14px;gap:14px;min-width:0}.compact-toolbar{gap:0}.compact-controls{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:10px;gap:10px;min-width:0}.compact-control{display:grid;grid-template-columns:42px minmax(0,1fr);align-items:center;grid-gap:8px;gap:8px;min-width:0}.compact-control>span{white-space:nowrap}.control-row{display:grid;grid-template-columns:120px minmax(0,1fr);align-items:center;grid-gap:14px;gap:14px;min-width:0}.tool-button,.tool-select{display:inline-flex;width:100%;min-height:44px;align-items:center;justify-content:space-between;gap:10px;border:1px solid rgba(238,210,216,.86);border-radius:14px;background:hsla(0,0%,100%,.82);color:var(--ink);cursor:pointer;outline:none;padding:0 14px}.tool-select{cursor:default}.ratio-picker{position:relative}.ratio-popover{position:absolute;left:0;bottom:calc(100% + 10px);z-index:20;width:332px;border:1px solid var(--line);border-radius:12px;background:#fff;color:var(--ink);box-shadow:var(--shadow);padding:12px}.ratio-section-title{margin:6px 0 10px;color:var(--muted);font-size:14px}.ratio-grid{display:grid;grid-template-columns:repeat(6,1fr);grid-gap:10px;gap:10px}.ratio-grid button{display:grid;min-height:50px;place-items:center;border:0;border-radius:8px;background:transparent;color:var(--ink);cursor:pointer;font-size:13px}.ratio-grid button.selected,.resolution-row button.selected{background:var(--violet-soft);color:var(--violet)}.ratio-icon{display:inline-block;width:18px;height:12px;border:1.7px solid;border-radius:3px}.ratio-icon.auto{width:18px;height:18px;border-radius:999px;border-style:dashed}.ratio-icon.square{width:14px;height:14px}.ratio-icon.portrait{width:12px;height:18px}.ratio-icon.portrait-tall{width:10px;height:20px}.ratio-icon.landscape,.ratio-icon.wide{width:20px;height:13px}.ratio-icon.ultrawide{width:24px;height:8px}.quality-toggle,.resolution-row{display:grid;grid-template-columns:repeat(2,1fr);grid-gap:8px;gap:8px}.quality-toggle button,.resolution-row button{min-height:34px;border:0;border-radius:8px;background:transparent;color:var(--muted);cursor:pointer}.quality-toggle{border:1px solid rgba(238,210,216,.86);border-radius:14px;background:hsla(0,0%,100%,.78);padding:4px}.quality-toggle button.active{background:linear-gradient(180deg,#fff0f6,#ffe1ec);color:#ff5a82;font-weight:850;box-shadow:inset 0 0 0 1px rgba(255,113,145,.14),0 8px 20px rgba(255,113,145,.12)}.toolbar-right{display:grid;grid-gap:10px;gap:10px;min-width:0}.composer-cost-row{display:flex;align-items:center;justify-content:space-between;gap:14px;min-width:0;border-top:1px solid var(--line);color:var(--muted);padding-top:12px;font-size:13px;overflow-wrap:anywhere}.composer-cost-row strong{color:var(--ink)}.generate-submit{display:inline-flex;width:100%;min-width:0;min-height:54px;align-items:center;justify-content:center;gap:10px;border:0;border-radius:10px;background:var(--accent);color:#fff;cursor:pointer;font-weight:850;padding:0 18px;box-shadow:0 18px 38px rgba(255,98,87,.24)}.generate-submit span{margin-left:auto;font-weight:700;opacity:.9}.composer-footer-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;min-width:0;color:var(--muted);font-size:13px;padding-top:10px}.composer-footer-actions>span{min-width:0;overflow-wrap:anywhere}.composer-footer-actions .button-secondary{min-height:36px;min-width:104px}.xhs-layout{height:calc(100vh - 126px);grid-template-columns:minmax(0,1.62fr) minmax(400px,.82fr);gap:20px;align-items:stretch;min-height:calc(100vh - 126px)}.inspiration-rail{display:grid;grid-gap:12px;gap:12px;min-width:0}.inspiration-card{width:100%;overflow:hidden;border:1px solid var(--line);border-radius:12px;background:hsla(0,0%,100%,.9);box-shadow:0 18px 50px rgba(120,85,74,.06);padding:14px;text-align:left}.inspiration-stack{min-height:clamp(650px,calc(100vh - 144px),860px);display:flex;flex-direction:column}.history-modal-backdrop{position:fixed;inset:0;z-index:90;display:grid;place-items:center;background:rgba(18,15,20,.28);padding:20px}.history-modal{width:min(780px,100%);max-height:min(760px,calc(100vh - 40px));overflow:hidden;border:1px solid var(--line);border-radius:22px;background:hsla(0,0%,100%,.98);box-shadow:0 32px 90px rgba(54,41,38,.22)}.history-modal-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;border-bottom:1px solid var(--line);padding:22px 24px}.history-modal-head h2{margin-bottom:4px;font-size:26px}.history-modal-head p{color:var(--muted);font-size:14px}.history-modal-head button{display:grid;width:38px;height:38px;place-items:center;border:1px solid var(--line);border-radius:999px;background:#fff;cursor:pointer}.history-modal-list{display:grid;max-height:620px;grid-gap:12px;gap:12px;overflow:auto;padding:18px 24px 24px}.history-modal-row{display:grid;grid-template-columns:minmax(0,1fr) 42px;align-items:center;grid-gap:10px;gap:10px;border:1px solid var(--line);border-radius:16px;background:#fff;padding:10px}.history-modal-main{display:grid;grid-template-columns:92px minmax(0,1fr);align-items:center;grid-gap:14px;gap:14px;min-width:0;border:0;background:transparent;cursor:pointer;padding:0;text-align:left}.history-modal-main img{width:92px;height:92px;border-radius:12px;object-fit:cover}.history-modal-main strong{display:-webkit-box;overflow:hidden;color:var(--ink);font-size:15px;line-height:1.45;-webkit-box-orient:vertical;-webkit-line-clamp:2}.history-modal-empty,.history-modal-main span{color:var(--muted);font-size:13px}.history-modal-main span{display:block;margin-top:8px}.history-delete-button{display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;border:1px solid var(--line);border-radius:999px;background:#fff;color:var(--muted);cursor:pointer;transition:background .18s ease,border-color .18s ease,color .18s ease}.history-delete-button:hover:not(:disabled){border-color:rgba(255,92,82,.28);background:#fff5f3;color:var(--accent-strong)}.history-delete-button:disabled{cursor:wait;opacity:.58}.history-load-more{display:inline-flex;min-height:42px;align-items:center;justify-content:center;gap:7px;border:1px solid var(--line);border-radius:999px;background:#fff7f5;color:var(--accent-strong);cursor:pointer;font-size:13px;font-weight:700}.history-load-more:hover:not(:disabled){border-color:rgba(255,92,82,.32);background:#fff0ed}.history-load-more:disabled{cursor:wait;opacity:.62}.history-load-more svg{animation:spin .9s linear infinite}.history-modal-empty{padding:40px 24px;text-align:center}button.inspiration-card{cursor:pointer}.daily-card{display:grid;min-height:72px;grid-gap:5px;gap:5px;border:0;background:linear-gradient(135deg,#9888ff,#7d99ff);color:#fff}.daily-card small,.daily-card span{display:inline-flex;align-items:center;gap:8px}.daily-card strong{position:absolute;right:14px;top:14px;display:grid;min-width:28px;height:24px;place-items:center;border-radius:999px;background:hsla(0,0%,100%,.88);color:#7867ef;font-size:13px}.daily-card{position:relative}.daily-card small{opacity:.86}.rail-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:12px}.rail-card-head strong{display:inline-flex;align-items:center;gap:7px;color:var(--ink);font-size:17px}.rail-card-head small{color:var(--subtle)}.rail-list{display:grid;grid-gap:12px;gap:12px;flex:1 1;align-content:start}.rail-list-item{display:grid;grid-gap:5px;gap:5px;width:100%;border:0;background:transparent;color:var(--ink);cursor:pointer;padding:0;text-align:left}.rail-list-item img{display:block;width:100%;aspect-ratio:1.78;border-radius:10px;object-fit:cover}.rail-list-item strong{font-size:13px}.rail-list-item span{color:var(--subtle);font-size:12px}.rail-refresh{display:inline-flex;width:100%;min-height:34px;align-items:center;justify-content:center;gap:8px;margin-top:12px;border:1px solid var(--line);border-radius:8px;background:#fff;color:var(--ink);cursor:pointer}.rail-refresh+.rail-refresh{margin-top:8px}.rail-refresh:disabled{cursor:not-allowed;color:var(--subtle);opacity:.72}.rail-thumb-row{display:grid;grid-template-columns:repeat(3,1fr);grid-gap:8px;gap:8px}.rail-thumb-row button,.reference-thumb,.template-tile{border:0;background:transparent;cursor:pointer;padding:0}.rail-thumb-row img{display:block;width:100%;aspect-ratio:1;border-radius:9px;object-fit:cover}.rail-menu{display:grid;grid-gap:2px;gap:2px;padding:10px}.rail-menu a{display:flex;min-height:42px;align-items:center;gap:10px;border-radius:8px;color:#665b62;padding:0 8px}.rail-menu a:hover{background:#fff6f3;color:var(--accent-strong)}.starter-card{display:grid;grid-gap:8px;gap:8px;background:linear-gradient(135deg,#fff0ee,#fff8e8)}.starter-card svg{color:var(--accent)}.starter-card strong{color:#b64a43}.starter-card span{color:var(--muted);font-size:13px}.starter-card a,.starter-card button{width:max-content;min-height:34px;border:0;border-radius:999px;background:var(--accent);color:#fff;cursor:pointer;padding:0 14px}.xhs-result-panel.result-panel.panel{height:100%;overflow:hidden;min-width:0;position:relative;border:1px solid rgba(255,220,230,.8);border-radius:28px;background:radial-gradient(circle at 93% 5%,rgba(255,200,212,.24),transparent 17%),radial-gradient(circle at 14% 0,hsla(0,0%,100%,.72),transparent 32%),linear-gradient(180deg,hsla(0,0%,100%,.88),hsla(0,0%,100%,.86));box-shadow:0 24px 80px rgba(255,120,160,.1),inset 0 1px 0 hsla(0,0%,100%,.92);-webkit-backdrop-filter:blur(24px);backdrop-filter:blur(24px)}.xhs-result-panel.result-panel.panel:before{position:absolute;top:28px;right:34px;color:rgba(255,130,158,.24);content:"♡";font-size:26px;line-height:1}.xhs-result-panel.result-panel.panel:after{position:absolute;right:-42px;bottom:-44px;width:170px;height:170px;border-radius:999px;background:radial-gradient(circle,rgba(255,166,192,.11),transparent 68%);content:"";pointer-events:none}.xhs-result-panel .result-box{height:100%;gap:18px;padding:28px 30px;position:relative;z-index:1}.xhs-result-panel.preview-result-panel .result-box{grid-template-rows:auto auto auto;align-content:start;gap:20px;padding:clamp(26px,2.4vw,32px)}.xhs-result-head h2{display:inline-flex;align-items:center;gap:8px;margin-bottom:8px;font-size:28px;line-height:1.22;letter-spacing:0}.strip-head h3 svg,.xhs-result-head h2 svg{color:var(--violet)}.preview-result-panel .xhs-result-head h2{gap:8px;margin-bottom:8px;font-size:32px;font-weight:800;line-height:1.2}.preview-result-panel .xhs-result-head h2 svg{color:#9b6cff;width:20px;height:20px}.preview-result-panel .result-meta.preview-meta{color:#8f8794;font-size:15px}.preview-result-panel .result-meta.preview-meta span:first-child:before{background:#ff7aa2}.xhs-result-stage{position:relative;min-height:0}.xhs-result-stage.actual-result{display:flex;align-items:center;justify-content:center}.xhs-result-stage.preview-mode{align-self:start;min-height:0}.preview-result-panel .xhs-result-stage.preview-mode{width:100%}.xhs-result-stage .result-image{position:relative;overflow:hidden;border:0;width:100%;height:100%;border-radius:22px;background:#fff7f4;box-shadow:0 16px 34px rgba(180,88,108,.07),inset 0 0 0 1px hsla(0,0%,100%,.86)}.xhs-result-stage.actual-result .result-image{display:flex;width:100%;height:100%;align-items:center;justify-content:center}.xhs-result-stage .result-image img{width:100%;height:100%;object-fit:contain;transition:transform .14s ease;-webkit-user-select:none;-moz-user-select:none;user-select:none;-webkit-user-drag:none}.xhs-result-stage.actual-result .result-image img{width:auto;max-width:100%;height:auto;max-height:100%;object-fit:contain}.xhs-result-stage .interactive-result-image{background:radial-gradient(circle at 50% 50%,rgba(255,247,250,.88),rgba(255,240,246,.72)),#fff;cursor:zoom-in;touch-action:none}.xhs-result-stage .interactive-result-image.zoomed{cursor:-webkit-grab;cursor:grab}.xhs-result-stage .interactive-result-image.zoomed:active{cursor:-webkit-grabbing;cursor:grabbing}.image-zoom-hint{position:absolute;right:16px;bottom:16px;display:inline-flex;align-items:center;gap:8px;border:1px solid hsla(0,0%,100%,.82);border-radius:999px;background:hsla(0,0%,100%,.78);color:#685f69;font-size:12px;padding:7px 10px;box-shadow:0 12px 28px rgba(67,45,57,.1);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px)}.image-zoom-hint button{border:0;border-radius:999px;background:#ffedf3;color:#ff5a82;cursor:pointer;font-weight:850;padding:4px 8px}.xhs-result-stage.preview-mode .result-image img{object-fit:cover;filter:saturate(.96)}.xhs-result-stage.preview-mode .result-image{height:auto;aspect-ratio:838/480}.preview-result-panel .xhs-result-stage.preview-mode .result-image{height:clamp(360px,calc(100vh - 288px),620px);min-height:0;aspect-ratio:auto;border-radius:22px;box-shadow:0 20px 48px rgba(176,94,105,.1),inset 0 0 0 1px hsla(0,0%,100%,.92)}.xhs-result-stage.preview-mode .preview-caption{display:none}.preview-caption{position:absolute;left:22px;bottom:22px;display:grid;grid-gap:5px;gap:5px;max-width:min(420px,calc(100% - 44px));border:1px solid hsla(0,0%,100%,.82);border-radius:16px;background:hsla(0,0%,100%,.82);padding:15px 18px;box-shadow:0 16px 38px rgba(67,45,57,.13);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px)}.preview-caption span{color:var(--accent);font-size:13px;font-weight:850}.preview-caption strong{display:block;color:var(--ink);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.floating-status{position:absolute;inset:0;z-index:4}.muted-actions{min-height:34px;align-items:center;color:var(--subtle);font-size:14px}.xhs-result-panel .muted-actions{justify-content:center;color:#7c7280}.preview-result-panel .muted-actions{min-height:28px;margin-top:2px;color:#8f8794;font-size:14px;line-height:22px}.preview-result-panel .muted-actions:before{width:10px;height:10px;border-radius:999px;background:#ff8aa8;content:"";box-shadow:0 0 0 5px rgba(255,138,168,.12)}.template-strip{display:grid;grid-gap:10px;gap:10px;min-width:0}.strip-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.strip-head h3{display:inline-flex;align-items:center;gap:8px;margin:0;font-size:18px}.strip-head a{color:var(--muted);font-size:13px}.template-list{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-gap:8px;gap:8px}.template-tile{overflow:hidden;border:1px solid var(--line);border-radius:10px;background:#fff;text-align:left}.template-tile img{display:block;width:100%;aspect-ratio:1.22;object-fit:cover}.template-tile span,.template-tile strong{display:block;overflow:hidden;padding:0 10px;text-overflow:ellipsis;white-space:nowrap}.template-tile strong{margin-top:7px;color:var(--ink);font-size:13px}.template-tile span{margin:3px 0 8px;color:var(--subtle);font-size:12px}.xhs-composer-shell{height:100%;align-self:stretch;grid-template-rows:auto minmax(0,1fr);gap:0;min-height:0}.composer-card-head{display:flex;align-items:center;justify-content:space-between;border:1px solid rgba(255,220,230,.8);border-bottom:0;border-radius:28px 28px 0 0;background:radial-gradient(circle at 88% 8%,rgba(255,190,205,.18),transparent 24%),hsla(0,0%,100%,.88);padding:26px 30px 10px;-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px)}.composer-card-head h2{margin:0;font-size:27px;line-height:1.3;font-weight:700;letter-spacing:0}.composer-card-head h2 strong{color:var(--accent);font-weight:900}.composer-card-head span{display:inline-flex;border-radius:999px;background:var(--violet-soft);color:var(--violet);font-size:12px;font-weight:800;padding:3px 9px}.xhs-composer-shell .composer-tabs{border-top:0;border-radius:0;background:hsla(0,0%,100%,.7);box-shadow:none}.xhs-composer-shell .composer-card{border:1px solid rgba(255,220,230,.8);border-top:0;border-radius:0 0 28px 28px;background:radial-gradient(circle at 98% 65%,rgba(255,160,190,.05),transparent 28%),linear-gradient(180deg,hsla(0,0%,100%,.88),hsla(0,0%,100%,.86));box-shadow:0 24px 80px rgba(255,120,160,.1),inset 0 1px 0 hsla(0,0%,100%,.86);-webkit-backdrop-filter:blur(22px);backdrop-filter:blur(22px)}.composer-input-panel,.xhs-composer-shell .composer-card{display:flex;min-height:0;flex:1 1 auto;flex-direction:column}.composer-input-panel{position:relative;height:auto;border:1px solid #ffd7e3;border-radius:22px;background:radial-gradient(circle at 90% 84%,rgba(255,168,190,.06),transparent 24%),hsla(0,0%,100%,.82);margin:14px 30px 0;padding:24px;box-shadow:inset 0 1px 0 hsla(0,0%,100%,.8),0 12px 28px rgba(255,144,172,.05)}.upload-strip{display:flex;flex:0 0 auto;flex-wrap:wrap;align-items:flex-start;min-width:0;gap:8px;overflow:visible;padding:0 44px 12px 0}.composer-input-panel .upload-tile,.reference-thumb{flex:0 0 52px;width:52px;height:52px;border:1px dashed rgba(231,195,204,.72);border-radius:14px}.composer-input-panel .upload-tile{display:inline-flex;flex-basis:auto;width:auto;min-width:86px;height:34px;gap:6px;border-radius:999px;background:hsla(0,0%,100%,.74);color:#7a7481;font-size:13px;box-shadow:none}.composer-input-panel .upload-tile svg{width:16px;height:16px}.upload-picker{position:relative}.upload-file-input{position:absolute;inset:0;z-index:2;width:100%;height:100%;margin:0;opacity:0;cursor:pointer}.upload-picker-status{display:none;align-items:center;min-height:36px;margin:-2px 0 10px;border:1px solid rgba(255,133,165,.24);border-radius:12px;background:rgba(255,246,249,.94);color:#b94e70;font-size:12px;font-weight:650;line-height:1.5;padding:8px 11px}.upload-picker-opening{display:none}.retouch-upload{position:relative}.retouch-upload-picker-status{margin:8px 10px 10px}.reference-thumb{position:relative;overflow:hidden;border-style:solid;background:#fff;padding:0}.reference-thumb img{display:block;width:100%;height:100%;object-fit:cover}.reference-thumb span{position:absolute;top:4px;right:4px;display:grid;width:18px;height:18px;place-items:center;border-radius:999px;background:hsla(0,0%,100%,.88);color:var(--muted);font-weight:850;font-size:12px}.reference-clear{display:inline-flex;position:absolute;top:18px;right:18px;align-items:center;justify-content:center;border:0;background:transparent;color:var(--subtle);cursor:pointer;font-size:13px}.upload-note{grid-column:1;grid-row:auto;display:none;margin:0;color:var(--subtle);font-size:11px}.xhs-composer-shell .composer-textarea{min-height:0;flex:1 1 auto;border:0;background:transparent;margin:0;padding:2px 0 0;resize:none;color:#202331;font-size:14px;line-height:24px}.xhs-composer-shell .composer-textarea::placeholder{color:#a9a1ab}.xhs-composer-shell .composer-toolbar{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:stretch;flex:0 0 auto;grid-gap:8px;gap:8px;padding:14px 16px 22px}.xhs-composer-shell .ratio-control{display:block}.model-display,.quality-display{display:grid;width:100%;grid-template-columns:repeat(2,minmax(0,1fr));min-height:56px;align-items:center;grid-gap:3px;gap:3px;border:1px solid rgba(238,210,216,.86);border-radius:18px;background:hsla(0,0%,100%,.82);justify-content:center;padding:4px;white-space:nowrap}.model-display button,.quality-display button{width:100%;min-width:0;min-height:38px;border:0;border-radius:13px;background:transparent;color:#746b73;padding:0 9px;font:inherit;font-size:13px;font-weight:750;cursor:pointer;transition:background-color .16s ease,color .16s ease,box-shadow .16s ease}.model-display button.active,.quality-display button.active{background:#fff0f4;color:#e84370;box-shadow:inset 0 0 0 1px rgba(255,90,130,.16)}.xhs-composer-shell .ratio-control .tool-button{min-height:56px;border-radius:18px;gap:5px;justify-content:center;padding:0 12px;white-space:nowrap}.ratio-control-label{color:#4c4650;font-size:13px;font-weight:750}.xhs-composer-shell .generate-submit,.xhs-composer-shell .toolbar-right{height:100%}.xhs-composer-shell .toolbar-right{grid-column:1/-1}.xhs-composer-shell .generate-submit{width:100%;min-width:0;padding-right:14px;padding-left:14px;white-space:nowrap}.xhs-composer-shell .composer-cost-row{display:none}.xhs-composer-shell .generate-submit{min-height:56px;border-radius:18px;background:linear-gradient(90deg,#ff7cac,#ff9bab);box-shadow:0 18px 36px rgba(255,92,132,.18);font-size:16px;font-weight:600}.xhs-composer-shell .generate-submit span{font-size:14px;font-weight:600}.prompt-suggestions{display:grid;grid-gap:8px;gap:8px;border-top:1px solid var(--line);margin:0 20px 14px;padding-top:10px}.prompt-suggestions>div:first-child{display:flex;align-items:center;justify-content:space-between;gap:12px;color:var(--muted);font-size:13px}.prompt-suggestions button{border:0;background:transparent;color:var(--violet);cursor:pointer}.prompt-suggestions>div:last-child{display:flex;flex-wrap:wrap;gap:6px}.prompt-suggestions>div:last-child button{min-height:26px;border-radius:999px;background:var(--violet-soft);color:var(--violet);padding:0 10px;font-size:12px}.retouch-shell:before{background:radial-gradient(circle at 0 78%,rgba(255,151,174,.18),transparent 19%),radial-gradient(circle at 100% 38%,rgba(255,138,178,.16),transparent 22%),linear-gradient(180deg,#fff8fb,#fff2f7 48%,#fff8fb)}.retouch-layout{display:grid;height:calc(100vh - 118px);min-height:680px;grid-template-columns:minmax(0,1.55fr) minmax(440px,1fr);grid-gap:24px;gap:24px;align-items:stretch}.retouch-control-card,.retouch-preview-card{height:100%;min-height:0;box-sizing:border-box;overflow:hidden;border:1px solid #f2e8ec;border-radius:28px;background:radial-gradient(circle at 92% 5%,rgba(255,200,212,.2),transparent 17%),linear-gradient(180deg,hsla(0,0%,100%,.92),hsla(0,0%,100%,.9));box-shadow:0 24px 72px rgba(255,128,160,.09),inset 0 1px 0 hsla(0,0%,100%,.9);-webkit-backdrop-filter:blur(22px);backdrop-filter:blur(22px)}.retouch-preview-card{display:grid;grid-template-rows:minmax(0,1fr) auto;grid-gap:12px;gap:12px;padding:20px 22px}.retouch-control-head{position:relative;z-index:1}.retouch-control-head h2{display:flex;align-items:center;gap:8px;margin:0 0 6px;color:var(--ink);font-weight:650;letter-spacing:0}.retouch-control-head p{margin:0;color:#8f8794;font-size:13px;line-height:1.55}.retouch-result-stage{position:relative;min-height:0;overflow:hidden;border-radius:18px;background:radial-gradient(circle at 92% 12%,rgba(255,214,226,.24),transparent 24%),linear-gradient(180deg,#fffafc,#fff5f8);box-shadow:0 20px 48px rgba(176,94,105,.09),inset 0 0 0 1px hsla(0,0%,100%,.92)}.retouch-preview-card .retouch-result-stage{min-height:0}.retouch-result-image{position:relative;display:flex;width:100%;height:100%;min-height:0;align-items:center;justify-content:center;overflow:hidden;border-radius:inherit;background:radial-gradient(circle at 50% 50%,rgba(255,247,250,.9),rgba(255,240,246,.72)),#fff}.retouch-result-image img{display:block;width:100%;max-width:100%;height:100%;max-height:100%;object-fit:contain;object-position:center;-webkit-user-select:none;-moz-user-select:none;user-select:none;-webkit-user-drag:none}.retouch-result-image.preview-mode-image img{width:auto;height:auto;max-width:82%;max-height:calc(100% - 36px)}.retouch-processing{position:absolute;inset:0;z-index:2;display:flex;align-items:flex-end;justify-content:center;overflow:hidden;background:rgba(255,247,250,.2);padding:28px;-webkit-backdrop-filter:blur(1.5px);backdrop-filter:blur(1.5px)}.retouch-processing-scan{position:absolute;top:-72px;right:0;left:0;height:72px;background:hsla(0,0%,100%,.28);box-shadow:0 0 30px hsla(0,0%,100%,.38);filter:blur(10px);animation:retouch-scan 3.2s ease-in-out infinite;pointer-events:none}.retouch-processing-card{position:relative;width:min(100%,390px);max-width:390px;border:1px solid hsla(0,0%,100%,.94);border-radius:16px;background:hsla(0,0%,100%,.9);box-shadow:0 18px 48px rgba(87,54,68,.17);color:var(--ink);padding:18px 20px 16px;text-align:left;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px)}.retouch-processing-kicker{display:flex;align-items:center;gap:6px;margin-bottom:7px;color:#e94979;font-size:12px;font-weight:750}.retouch-processing-card h3{margin:0;color:#2b2228;font-size:21px;font-weight:750;line-height:1.3;letter-spacing:0}.retouch-processing-card>p{margin:6px 0 15px;color:#8b7b84;font-size:13px;line-height:1.5}.retouch-processing-steps{display:grid;grid-gap:8px;gap:8px}.retouch-processing-steps>div{display:flex;min-width:0;align-items:center;gap:8px;color:#a2969d;font-size:12px;font-weight:650}.retouch-processing-steps .is-complete{color:#6e8c71}.retouch-processing-steps .is-active{color:#d94470}.retouch-processing-steps .is-pending svg{opacity:.42}.retouch-processing-spinner{animation:spin .9s linear infinite}.retouch-processing-progress{position:relative;height:4px;overflow:hidden;border-radius:999px;margin-top:16px;background:#f4e8ec}.retouch-processing-progress>span{position:absolute;top:0;bottom:0;left:-36%;width:36%;border-radius:inherit;background:#f04b7b;animation:retouch-progress 1.8s ease-in-out infinite}.retouch-processing-eta{margin-top:9px;color:#a0929a;font-size:11px;line-height:1.4;text-align:right}@keyframes retouch-scan{0%{transform:translateY(-12%)}55%,to{transform:translateY(calc(100vh + 144px))}}@keyframes retouch-progress{0%{transform:translateX(0)}to{transform:translateX(380%)}}@media (prefers-reduced-motion:reduce){.retouch-processing-progress>span,.retouch-processing-scan,.retouch-processing-spinner{animation:none}}.retouch-result-status{display:flex;align-items:center;justify-content:center;min-width:0}.retouch-result-pill{display:inline-flex;max-width:min(100%,560px);min-height:36px;align-items:center;gap:10px;overflow:hidden;border:1px solid #f2e8ec;border-radius:999px;background:hsla(0,0%,100%,.78);color:#9a8d98;padding:0 16px;box-shadow:0 12px 28px rgba(67,45,57,.06);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px)}.retouch-result-pill span{color:#ff5b91;font-size:12px;font-weight:800;white-space:nowrap}.retouch-result-pill span:before{display:inline-flex;width:18px;height:18px;align-items:center;justify-content:center;border:1px solid rgba(255,91,145,.48);border-radius:999px;margin-right:8px;content:"✓";font-size:12px;line-height:1}.retouch-result-pill i{width:1px;height:18px;flex:0 0 auto;background:rgba(222,206,215,.9)}.retouch-result-pill strong{overflow:hidden;min-width:0;color:#9a8d98;font-size:12px;font-weight:600;text-overflow:ellipsis;white-space:nowrap}.retouch-benefits{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));overflow:hidden;border:1px solid #f2e8ec;border-radius:18px;background:rgba(255,250,252,.82)}.retouch-benefits div{display:grid;grid-template-columns:auto minmax(0,1fr);grid-gap:2px 12px;gap:2px 12px;align-items:center;min-width:0;padding:14px 16px}.retouch-benefits div+div{border-left:1px solid #f2e8ec}.retouch-benefits svg{grid-row:1/3;color:#ff5b91}.retouch-benefits strong{color:var(--ink);font-size:15px}.retouch-benefits span{color:var(--muted);font-size:12px}.retouch-result-actions{display:flex;flex-wrap:wrap;gap:10px}.retouch-control-card{min-height:0;gap:0;padding:0}.retouch-control-body{display:flex;min-height:0;flex:1 1 auto;flex-direction:column;gap:10px;overflow-y:auto;overscroll-behavior:contain;padding:22px 26px 12px;scrollbar-gutter:stable;scrollbar-width:thin}.retouch-control-body::-webkit-scrollbar{width:5px}.retouch-control-body::-webkit-scrollbar-thumb{border-radius:999px;background:#e4d9de}.retouch-control-footer{flex:0 0 auto;border-top:1px solid rgba(242,232,236,.78);background:hsla(0,0%,100%,.86);padding:14px 26px 18px}.retouch-control-head h2{font-size:26px}.retouch-kicker{display:inline-flex;width:-moz-fit-content;width:fit-content;align-items:center;border-radius:999px;background:#fff0f5;color:#ff4f82;font-size:13px;font-weight:900;margin-bottom:8px;padding:4px 11px}.retouch-flow{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-gap:8px;gap:8px;margin-top:14px}.retouch-flow span{display:inline-flex;min-height:34px;align-items:center;justify-content:center;border:1px solid rgba(255,129,166,.22);border-radius:999px;background:hsla(0,0%,100%,.62);color:#ff5f8e;font-size:12px;font-weight:850;white-space:nowrap}.retouch-upload{display:grid;min-height:138px;place-items:center;grid-gap:5px;gap:5px;border:1px dashed #f2e8ec;border-radius:22px;background:hsla(0,0%,100%,.52);color:#76707c;cursor:pointer;margin-top:18px;padding:18px;text-align:center;transition:border-color .18s ease,background .18s ease,transform .18s ease}.retouch-upload.drag-active,.retouch-upload:hover{border-color:#ff8fb1;background:#fff8fb;transform:translateY(-1px)}.retouch-upload svg{color:#ff5f96}.retouch-upload strong{color:var(--ink);font-size:15px}.retouch-upload span{color:var(--muted);font-size:12px}.retouch-upload em{display:inline-flex;min-height:30px;align-items:center;justify-content:center;border:1px solid rgba(255,117,158,.38);border-radius:999px;color:#ff4f82;font-style:normal;font-weight:850;padding:0 18px}.retouch-upload.has-file{position:relative;display:block;overflow:hidden;min-height:138px;padding:0}.retouch-upload.has-file img{display:block;width:100%;height:154px;object-fit:contain;background:radial-gradient(circle at 50% 50%,rgba(255,230,237,.48),transparent 52%),#fff}.retouch-upload.has-file button{position:absolute;top:12px;right:12px;display:grid;width:32px;height:32px;place-items:center;border:0;border-radius:999px;background:hsla(0,0%,100%,.9);color:#6b6470;cursor:pointer}.retouch-upload-hero,.retouch-upload-hero.has-file{display:flex;min-height:76px;align-items:center;justify-content:space-between;gap:12px;border:1px solid #f2e8ec;border-radius:18px;background:radial-gradient(circle at 98% 0,rgba(255,220,231,.28),transparent 42%),hsla(0,0%,100%,.72);margin-top:0;padding:12px 16px;text-align:left}.retouch-upload-hero.drag-active,.retouch-upload-hero:hover{border-color:#ff8fb1;background:radial-gradient(circle at 98% 0,rgba(255,210,225,.38),transparent 42%),#fffafb}.retouch-style-reference{border-style:dashed}.retouch-reference-options{display:flex;min-height:34px;align-items:center;gap:7px;border:1px solid #f2e8ec;border-radius:12px;background:rgba(255,250,252,.72);padding:4px 7px 4px 10px}.retouch-upload-cluster .retouch-reference-options{min-height:31px;border-width:1px 0 0;border-radius:0;padding-block:3px}.retouch-reference-options-label{flex:0 0 auto;color:#6f6872;font-size:12px;font-weight:750}.retouch-reference-chip{display:inline-flex;min-height:25px;flex:0 0 auto;align-items:center;justify-content:center;gap:4px;border:1px solid #f1d9e1;border-radius:999px;background:#fff;color:#817983;font:inherit;font-size:11px;font-weight:700;line-height:1;padding:0 9px}button.retouch-reference-chip{cursor:pointer}.retouch-reference-chip.is-selected,button.retouch-reference-chip:hover{border-color:rgba(255,92,142,.32);background:#fff1f6;color:#f34f82}button.retouch-reference-chip:focus-visible{outline:2px solid rgba(255,79,130,.28);outline-offset:2px}.retouch-reference-options-hint{min-width:0;overflow:hidden;color:#9a929c;font-size:11px;line-height:1.2;text-overflow:ellipsis;white-space:nowrap}.retouch-upload-copy{display:flex;min-width:0;align-items:center;gap:12px}.retouch-upload-copy>svg{width:36px;height:36px;flex:0 0 auto;border-radius:12px;background:#fff7fa;color:#ff5a8f;padding:9px;box-shadow:inset 0 0 0 1px rgba(242,232,236,.9)}.retouch-upload-copy div{display:grid;grid-gap:5px;gap:5px}.retouch-upload-copy strong{color:var(--ink);font-size:15px;font-weight:700}.retouch-upload-copy span{color:#8f8794;font-size:12px;line-height:1.45}.retouch-upload-copy div{min-width:0}.retouch-upload-thumb{position:relative;width:116px;height:76px;flex:0 0 auto;overflow:visible;border-radius:16px;box-shadow:0 10px 28px rgba(84,45,58,.13)}.retouch-upload-thumb img{display:block;border:1px solid hsla(0,0%,100%,.92);border-radius:inherit;background:#fff}.retouch-upload-hero.has-file .retouch-upload-thumb img,.retouch-upload-thumb img{width:100%;height:100%;object-fit:cover}.retouch-upload-thumb span{position:absolute;right:7px;bottom:6px;display:inline-flex;min-height:20px;align-items:center;border-radius:999px;background:hsla(0,0%,100%,.86);color:#6b6470;font-size:11px;font-weight:900;padding:0 8px}.retouch-upload-thumb:after{position:absolute;top:-9px;right:-9px;display:grid;width:28px;height:28px;place-items:center;border-radius:999px;background:linear-gradient(135deg,#ff5e93,#ff3f9a);color:#fff;content:"✓";font-size:15px;font-weight:950;box-shadow:0 10px 22px rgba(255,80,139,.28)}.retouch-upload-thumb button{position:absolute;top:-9px;left:-9px;z-index:2;display:grid;width:26px;height:26px;place-items:center;border:0;border-radius:999px;background:hsla(0,0%,100%,.94);color:#6b6470;cursor:pointer;box-shadow:0 8px 18px rgba(42,31,38,.16)}.retouch-upload-hero.has-file .retouch-upload-thumb button{top:-9px;right:auto;left:-9px;width:26px;height:26px}.retouch-ai-recommend{position:relative;display:grid;min-height:88px;overflow:hidden;border:0;border-radius:20px;background:radial-gradient(circle at 88% 18%,hsla(0,0%,100%,.32),transparent 24%),linear-gradient(135deg,#ff5a7d,#ff3d94);color:#fff;cursor:pointer;padding:20px 76px 18px 22px;text-align:left;box-shadow:0 22px 42px rgba(255,64,133,.28);transition:transform .18s ease,box-shadow .18s ease,opacity .18s ease}.retouch-ai-recommend:hover:not(:disabled){box-shadow:0 26px 50px rgba(255,64,133,.34);transform:translateY(-1px)}.retouch-ai-recommend:disabled{cursor:not-allowed;opacity:.66}.retouch-ai-recommend>span{display:flex;align-items:center;gap:10px;font-size:24px;font-weight:950;line-height:1.1}.retouch-ai-recommend em{display:inline-flex;min-height:26px;align-items:center;border-radius:999px;background:hsla(0,0%,100%,.24);font-size:14px;font-style:normal;padding:0 13px}.retouch-ai-recommend small{margin-top:8px;color:hsla(0,0%,100%,.86);font-size:14px;font-weight:800}.retouch-ai-recommend i{position:absolute;top:50%;right:20px;display:grid;width:48px;height:48px;place-items:center;border-radius:999px;background:hsla(0,0%,100%,.94);color:#ff4f8f;transform:translateY(-50%)}.retouch-process-row{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr) auto minmax(0,1fr);align-items:center;grid-gap:8px;gap:8px;border-radius:999px;background:rgba(255,244,248,.82);color:#a5697f;padding:9px 13px;font-size:13px;font-weight:900}.retouch-process-row span{display:inline-flex;min-width:0;align-items:center;justify-content:center;gap:6px;white-space:nowrap}.retouch-process-row svg{flex:0 0 auto;color:#ff5a8f}.retouch-or-divider{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;grid-gap:14px;gap:14px;color:#b78fa0;font-size:13px;font-weight:900}.retouch-or-divider:after,.retouch-or-divider:before{height:1px;background:linear-gradient(90deg,transparent,rgba(255,157,187,.55),transparent);content:""}.retouch-prompt-field{display:grid;position:relative;grid-gap:7px;gap:7px;margin-top:8px}.retouch-presets>strong,.retouch-prompt-field>span,.retouch-section-title strong,.retouch-strength>span{color:var(--ink);font-size:14px;font-weight:700}.retouch-prompt-field textarea{min-height:190px;max-height:320px;border:1px solid #f2e8ec;border-radius:16px;background:hsla(0,0%,100%,.68);color:var(--ink);font-size:14px;line-height:22px;padding:14px 15px 32px;resize:vertical;white-space:pre-wrap}.retouch-prompt-field textarea:focus{outline:2px solid rgba(255,117,158,.18);border-color:rgba(255,117,158,.52)}.retouch-prompt-field textarea::placeholder{color:#b7b1b6;font-size:13px;line-height:22px}.retouch-prompt-field small{position:absolute;right:14px;bottom:12px;color:var(--subtle)}.retouch-control-head{display:grid;grid-gap:2px;gap:2px}.retouch-control-head h2{margin-bottom:0;font-size:20px;line-height:1.25}.retouch-control-head h2 svg{width:17px;height:17px}.retouch-control-head p{font-size:11px}.retouch-upload-cluster{overflow:hidden;border:1px solid #f0dfe5;border-radius:14px;background:#fffafb}.retouch-upload-cluster-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.retouch-upload-cluster .retouch-upload-hero,.retouch-upload-cluster .retouch-upload-hero.has-file{min-width:0;min-height:58px;border:0;border-radius:0;background:hsla(0,0%,100%,.74);padding:8px 10px}.retouch-upload-cluster .retouch-upload-hero+.retouch-upload-hero{border-left:1px solid #f1e2e7}.retouch-upload-cluster .retouch-upload-hero.drag-active,.retouch-upload-cluster .retouch-upload-hero:hover{background:#fff4f7}.retouch-upload-cluster .retouch-upload-copy{min-width:0;gap:8px}.retouch-upload-cluster .retouch-upload-copy>svg{width:28px;height:28px;border-radius:9px;padding:6px}.retouch-upload-cluster .retouch-upload-copy div{min-width:0;gap:1px}.retouch-upload-cluster .retouch-upload-copy strong{overflow:hidden;font-size:11px;line-height:1.35;text-overflow:ellipsis;white-space:nowrap}.retouch-upload-cluster .retouch-upload-copy span{overflow:hidden;font-size:9px;line-height:1.35;text-overflow:ellipsis;white-space:nowrap}.retouch-upload-cluster .retouch-recommendation-summary{min-height:30px;gap:7px;border:0;border-top:1px solid #f1e2e7;border-radius:0;background:rgba(255,249,251,.94);padding:5px 9px}.retouch-upload-cluster .retouch-recommendation-summary p{font-size:10px;line-height:1.35}.retouch-upload-cluster .retouch-selection-state{padding:2px 6px;font-size:9px}@media (max-width:720px){.retouch-control-head h2{font-size:19px}.retouch-control-head p{font-size:10px}.retouch-upload-cluster-grid{grid-template-columns:1fr}.retouch-upload-cluster .retouch-upload-hero,.retouch-upload-cluster .retouch-upload-hero.has-file{min-height:52px;padding:7px 9px}.retouch-upload-cluster .retouch-upload-hero+.retouch-upload-hero{border-top:1px solid #f1e2e7;border-left:0}.retouch-upload-cluster .retouch-recommendation-summary{align-items:center}.retouch-upload-cluster .retouch-recommendation-summary p{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}}.retouch-presets{display:grid;grid-gap:10px;gap:10px;margin-top:16px}.retouch-default-note{margin:-2px 0 0;color:#8e8490;font-size:12px;line-height:1.55}.retouch-choice-section{display:grid;grid-gap:8px;gap:8px}.retouch-section-title{display:flex;align-items:baseline;justify-content:space-between;gap:12px}.retouch-section-title span{color:#a19aa6;font-size:12px;white-space:nowrap}.retouch-choice-grid{display:grid;grid-gap:8px;gap:8px}.retouch-choice-grid.assist,.retouch-choice-grid.main{grid-template-columns:repeat(4,minmax(0,1fr))}.retouch-choice-grid button{display:grid;min-width:0;align-content:center;justify-items:center;grid-gap:6px;gap:6px;border:1px solid #f2e8ec;border-radius:16px;background:hsla(0,0%,100%,.72);color:#655b68;cursor:pointer;font-weight:650;transition:border-color .18s ease,background .18s ease,color .18s ease,transform .18s ease,box-shadow .18s ease}.retouch-choice-grid.main button{min-height:58px;background:radial-gradient(circle at 86% 0,rgba(255,218,230,.28),transparent 40%),linear-gradient(180deg,#fff,#fff8fb);font-size:13px}.retouch-choice-grid.assist button{min-height:32px;grid-template-columns:auto minmax(0,auto);justify-content:center;justify-items:start;gap:6px;border-color:#f2e8ec;border-radius:12px;background:hsla(0,0%,100%,.66);font-size:12px}.retouch-assist-flat-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.retouch-assist-flat-grid button{min-height:32px;padding:6px 8px}.retouch-assist-flat-grid button svg{width:16px;height:16px}.retouch-assist-flat-grid button span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.retouch-choice-grid button svg{color:#ff5b91}.retouch-choice-grid button.active{border-color:#ff8fb1;background:#fff7fa;color:#ff4f82;box-shadow:0 10px 22px rgba(255,102,148,.1);transform:translateY(-1px)}.retouch-assist-groups{display:grid;grid-gap:8px;gap:8px}.retouch-assist-group{display:grid;grid-gap:7px;gap:7px}.retouch-assist-group-title{display:none}.retouch-assist-group .retouch-choice-grid.assist{gap:8px}.retouch-assist-group .retouch-choice-grid.assist button{min-height:37px}.retouch-action-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(210px,.92fr);grid-gap:18px;gap:18px;align-items:stretch;margin-top:auto}.retouch-action-grid .retouch-upload{min-height:88px;margin-top:0;padding:14px 16px}.retouch-action-grid .retouch-upload strong{font-size:15px}.retouch-action-grid .retouch-upload span{font-size:12px}.retouch-action-grid .retouch-upload.has-file{min-height:88px}.retouch-action-grid .retouch-upload.has-file img{height:88px}.retouch-submit-wrap{display:grid;align-content:center;grid-gap:8px;gap:8px}.retouch-submit-final{margin-top:auto}.retouch-presets>div{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-gap:8px;gap:8px}.retouch-presets button{display:flex;align-items:center;gap:8px;min-height:54px;border:1px solid #f2e8ec;border-radius:14px;background:hsla(0,0%,100%,.7);cursor:pointer;padding:9px 10px;text-align:left;transition:border-color .18s ease,background .18s ease,transform .18s ease}.retouch-presets button.active,.retouch-presets button:hover{border-color:rgba(255,105,145,.42);background:#fff7fb;transform:translateY(-1px)}.retouch-presets button svg{flex:0 0 auto;color:#ff5b91}.retouch-presets button span{display:grid;grid-gap:2px;gap:2px}.retouch-presets b{color:var(--ink);font-size:13px}.retouch-presets small{color:var(--muted);font-size:11px}.retouch-strength{display:grid;grid-gap:9px;gap:9px;margin-top:16px}.retouch-strength>span{display:flex;align-items:center;gap:8px}.retouch-strength>span small{border-radius:999px;background:#ffe7f0;color:#ff4f82;padding:2px 9px}.retouch-strength>div{display:grid;grid-template-columns:auto minmax(0,1fr) auto;grid-gap:12px;gap:12px;align-items:center}.retouch-strength em{color:var(--muted);font-style:normal;font-size:13px}.retouch-strength input{accent-color:#ff6b9a}.retouch-submit{display:flex;min-height:52px;align-items:center;justify-content:center;gap:10px;margin-top:0;border:0;border-radius:16px;background:linear-gradient(135deg,#ff367f,#ff5f91 48%,#ff7c86);color:#fff;cursor:pointer;font-size:16px;font-weight:650;box-shadow:0 18px 34px rgba(255,72,130,.22)}.retouch-submit:disabled{cursor:not-allowed;opacity:.62}.retouch-submit.is-loading:disabled{cursor:wait;opacity:.72}.retouch-submit span{margin-left:auto;font-size:14px;opacity:.9}.retouch-credit-note{margin:8px 0 0;color:var(--subtle);font-size:13px;text-align:center}@keyframes spin{to{transform:rotate(1turn)}}@media (min-width:1081px) and (max-height:840px){.retouch-layout{height:calc(100vh - 150px);min-height:calc(100vh - 150px);gap:18px}.retouch-preview-card{gap:10px;padding:14px 18px}.retouch-preview-card .retouch-result-stage{min-height:0}.retouch-result-image.preview-mode-image img{height:auto;max-width:84%;max-height:calc(100% - 28px)}.retouch-control-card{padding:0;max-height:none;overflow:hidden}.retouch-control-body{gap:8px;padding:18px 22px 10px}.retouch-control-footer{padding:12px 22px 14px}.retouch-control-head h2{margin-bottom:6px;font-size:25px}.retouch-control-head p{font-size:13px;line-height:1.5}.retouch-kicker{margin-bottom:6px;font-size:12px;padding:3px 10px}.retouch-flow{gap:6px;margin-top:8px}.retouch-flow span{min-height:26px;font-size:11px}.retouch-upload{min-height:92px;margin-top:10px;padding:12px}.retouch-upload-hero,.retouch-upload-hero.has-file{min-height:78px;margin-top:0;padding:12px 14px}.retouch-upload-copy{gap:10px}.retouch-upload-copy>svg{width:36px;height:36px;border-radius:12px;padding:8px}.retouch-upload-copy strong{font-size:15px}.retouch-upload-thumb{width:88px;height:56px}.retouch-ai-recommend{min-height:76px;padding:15px 64px 14px 18px}.retouch-ai-recommend>span{font-size:20px}.retouch-ai-recommend small{font-size:12px}.retouch-ai-recommend i{right:16px;width:40px;height:40px}.retouch-process-row{padding:7px 10px;font-size:11px}.retouch-upload strong{font-size:15px}.retouch-upload span{font-size:12px}.retouch-upload em{display:none}.retouch-upload svg{width:36px;height:36px}.retouch-upload.has-file{min-height:92px}.retouch-upload.has-file img{height:98px}.retouch-prompt-field{margin-top:10px}.retouch-prompt-field textarea{min-height:118px;max-height:136px;padding:12px 14px}.retouch-choice-section{gap:8px}.retouch-choice-grid.main button{min-height:62px}.retouch-assist-group .retouch-choice-grid.assist button,.retouch-choice-grid.assist button{min-height:32px;font-size:11px}.retouch-presets{gap:7px;margin-top:10px}.retouch-default-note{display:none}.retouch-presets button{min-height:38px;gap:7px;padding:7px 9px}.retouch-presets small{display:none}.retouch-strength{gap:7px;margin-top:10px}.retouch-submit{min-height:52px;margin-top:10px;border-radius:16px;font-size:16px}.retouch-credit-note{margin-top:6px}}@media (min-width:1081px) and (max-height:760px){.auth-page{padding:52px 0 36px}.auth-card{padding:34px 42px 30px}.auth-head{margin-bottom:24px}.auth-submit{margin-top:20px}}.button-row{display:flex;flex-wrap:wrap;gap:10px}.detail-grid{display:grid;grid-template-columns:minmax(0,1fr) 420px;grid-gap:24px;gap:24px;align-items:start;padding-bottom:64px}.prompt-text{white-space:pre-wrap;border:1px solid var(--line);border-radius:8px;background:#fff;padding:18px;line-height:1.8}.prompt-panel-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:16px}.prompt-panel-head h2{margin:0}.prompt-panel-actions{display:flex;flex-wrap:wrap;gap:10px;justify-content:flex-end}.variable-list{color:var(--muted);line-height:1.8;padding-left:20px}.gallery{display:grid;grid-gap:12px;gap:12px}.gallery img{width:100%;height:auto;border:1px solid var(--line);border-radius:8px;background:#fff;object-fit:contain}@media (max-width:1080px){.nav-inner{grid-template-columns:1fr;gap:10px;padding:12px 0}.nav-actions,.nav-center{justify-content:flex-start}.nav-link{min-height:36px}.nav-link.active:after{bottom:-3px}.hero{gap:34px;width:min(100% - 32px,1040px)}.hero-manifesto{max-width:760px;line-height:1.75}.hero-content{padding-left:0}.hero-visual{transform:none}.hero-visual img{height:min(56vw,520px)}.admin-grid,.admin-layout,.detail-grid,.generator,.hero,.oreate-layout{grid-template-columns:1fr}.admin-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.admin-adjust-grid,.admin-filter-grid{grid-template-columns:1fr 1fr}.admin-adjust-grid .wide{grid-column:1/-1}.generator{min-height:0}.xhs-layout{gap:18px}.retouch-layout,.xhs-layout{height:auto;grid-template-columns:1fr}.retouch-layout{min-height:0}.retouch-control-card{order:1}.retouch-preview-card{order:2}.retouch-result-stage{min-height:520px}.retouch-choice-grid.assist,.retouch-choice-grid.main{grid-template-columns:repeat(2,minmax(0,1fr))}.xhs-composer-shell{height:auto;align-self:start;min-height:0}.xhs-composer-shell .composer-card{flex:0 0 auto}.composer-input-panel{flex:0 0 auto;height:clamp(360px,calc(100vh - 312px),460px)}.xhs-result-panel.result-panel.panel{height:auto;overflow:visible}.composer-shell{order:1}.result-panel{order:2}.inspiration-rail{order:3;grid-template-columns:repeat(2,minmax(0,1fr))}.inspiration-stack{min-height:0}.result-stage{min-height:480px}.coming-grid,.prompt-grid{grid-template-columns:1fr 1fr}}@media (max-width:720px){.login-dialog-backdrop{align-items:flex-end;padding:12px}.login-dialog{width:100%;max-height:calc(100dvh - 24px);overflow-y:auto;border-radius:18px 18px 12px 12px;padding:24px 20px calc(24px + env(safe-area-inset-bottom))}.login-dialog-layout{display:block;min-height:0}.login-dialog-visual{display:none}.login-dialog .auth-form-panel{padding:0}.login-dialog .auth-form-panel .auth-head{margin-bottom:22px}.shell{width:min(100%,calc(100vw - 24px));max-width:calc(100vw - 24px);padding-right:12px;padding-left:12px}.composer-card,.composer-shell,.composer-tabs,.generator,.panel{max-width:100%;min-width:0}.generate-shell{width:min(100%,calc(100vw - 32px));max-width:calc(100vw - 32px);overflow-x:clip;padding-top:16px}.retouch-shell{width:min(100%,calc(100vw - 40px));max-width:calc(100vw - 40px)}.generate-shell .composer-card,.generate-shell .composer-shell,.generate-shell .composer-tabs,.generate-shell .result-panel{width:100%}.composer-footer-actions,.hero-actions,.nav-actions,.section-head{align-items:stretch;flex-direction:column}.nav-center{width:100%;justify-content:flex-start;gap:14px;overflow-x:auto;padding-bottom:2px;scrollbar-width:none}.nav-center::-webkit-scrollbar{display:none}.nav-link{flex:0 0 auto;min-height:44px}.brand{flex-direction:column;gap:4px;justify-items:center;text-align:center;width:100%}.brand-name{max-width:min(92vw,360px)}.brand-tagline{font-size:12px}.brand-tagline:after{margin-left:6px;font-size:11px}.nav-actions{width:100%;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);grid-gap:8px;gap:8px;min-width:0}.nav-actions>*,.nav-inner>*{min-width:0}.nav-generate,.nav-history,.nav-login,.nav-recharge{width:100%;justify-content:center}.nav-generate{grid-column:1/-1}.nav-balance,.nav-user{width:100%;justify-content:center}.admin-page{padding:24px 0}.auth-page{padding:48px 12px}.auth-card{width:100%;border-radius:22px;padding:28px 22px 24px}.auth-card:after{top:24px;right:24px;font-size:22px}.auth-head{gap:14px;margin-bottom:22px}.auth-head .brand-mark{width:48px;height:48px;border-radius:14px}.auth-head .brand-mark svg{width:22px;height:22px}.auth-head h1{font-size:25px}.auth-field,.auth-head p{font-size:14px}.auth-field{gap:8px;margin-top:16px}.auth-code-row .button-secondary,.auth-input-wrap{min-height:50px}.auth-input-wrap input{min-height:48px}.auth-submit{min-height:52px;margin-top:20px;font-size:17px}.auth-terms{margin-top:18px;font-size:12px}.admin-hero{align-items:stretch;flex-direction:column}.admin-adjust-grid,.admin-control-grid,.admin-filter-grid,.admin-metric-row,.admin-summary-grid{grid-template-columns:1fr}.nav-user{border-left:0;padding-left:0}.inspiration-rail,.template-list{grid-template-columns:1fr}.xhs-composer-shell .composer-textarea{min-height:240px}.composer-card-head{align-items:flex-start;flex-direction:column;padding:16px 16px 6px}.composer-card-head h2{font-size:21px}.composer-input-panel .upload-tile,.reference-thumb{height:50px}.composer-input-panel .upload-tile{height:36px}h1{font-size:40px}.hero{width:100%;min-height:auto;padding:38px 0 44px}.hero-manifesto{max-width:100%;font-size:25px;line-height:1.8}.hero-visual{border-radius:18px}.hero-visual img{height:62vw;min-height:260px;max-height:420px}.admin-search,.auth-code-row,.coming-grid,.composer-template-row,.composer-upload-row,.control-row,.prompt-grid{grid-template-columns:1fr}.composer-input-panel{height:320px;margin:14px 14px 0;padding:20px 18px}.composer-toolbar,.panel-inner{padding:16px}.quality-toggle,.ratio-picker,.tool-button,.tool-select{min-width:0;width:100%}.compact-control,.compact-controls{grid-template-columns:1fr;gap:10px}.compact-control>span{font-size:15px;font-weight:850}.xhs-composer-shell .composer-toolbar{grid-template-columns:repeat(3,minmax(0,1fr))}.xhs-composer-shell .ratio-control{display:block}.model-display,.quality-display{border-radius:14px}.model-display,.quality-display,.tool-button{min-height:44px;justify-content:center}.quality-toggle{grid-template-columns:repeat(2,minmax(0,1fr));min-height:44px}.quality-toggle button{min-width:0;white-space:nowrap}.generate-submit{justify-content:center}.generate-submit span{margin-left:0}.composer-cost-row,.result-head{align-items:flex-start;flex-direction:column}.ratio-popover{left:0;width:min(332px,calc(100vw - 58px))}.retouch-layout{height:auto;min-height:0;gap:10px;min-width:0;max-width:100%;width:100%}.retouch-upload-hero,.retouch-upload-hero.has-file{align-items:flex-start;flex-direction:column}.retouch-upload-copy span{white-space:normal;overflow-wrap:anywhere}.retouch-upload-thumb{width:100%;height:140px}.retouch-ai-recommend{min-height:68px}.retouch-process-row{grid-template-columns:1fr;border-radius:18px;justify-items:center}.retouch-process-row>svg{transform:rotate(90deg)}.retouch-control-card,.retouch-preview-card{height:auto;width:100%;max-width:100%;min-width:0;border-radius:24px}.retouch-control-card{width:min(100%,calc(100vw - 64px));margin-right:auto;margin-left:auto;overflow:hidden}.retouch-control-body{overflow:visible;padding:16px 18px 10px}.retouch-control-footer{padding:12px 18px 16px}.retouch-prompt-field,.retouch-submit-wrap,.retouch-upload-hero{width:100%;max-width:100%;min-width:0}.retouch-control-head p{line-height:1.55;overflow-wrap:anywhere}.retouch-choice-grid.assist,.retouch-choice-grid.main{grid-template-columns:repeat(2,minmax(0,1fr))}.retouch-choice-grid.main button{min-height:52px}.retouch-choice-grid.assist button{min-height:34px}.retouch-action-grid{grid-template-columns:1fr;gap:12px}.retouch-submit{margin-top:0}.button-primary,.button-secondary,.empty-action,.icon-button,.primary-link,.secondary-link{width:100%}.prompt-panel-actions,.prompt-panel-head{align-items:stretch;flex-direction:column}.result-stage{min-height:360px}.xhs-result-stage{height:360px;min-height:360px}.xhs-result-panel.result-panel.panel{overflow:hidden}.retouch-preview-card{border-radius:24px;gap:10px;padding:16px 20px;padding:16px}.retouch-control-head h2{font-size:24px}.retouch-control-head p{font-size:13px}.retouch-result-stage{min-height:300px;border-radius:18px}.retouch-preview-card .retouch-result-stage{min-height:300px}.retouch-processing{padding:14px}.retouch-processing-card{border-radius:14px;padding:15px 16px 13px}.retouch-processing-card h3{font-size:18px}.retouch-processing-card>p{margin-bottom:12px}.retouch-processing-steps{gap:6px}.retouch-benefits,.retouch-presets>div{grid-template-columns:1fr 1fr}.retouch-benefits div+div{border-left:0;border-top:1px solid #f2e8ec}.retouch-benefits div:nth-child(2){border-top:0}.retouch-upload{min-height:96px;margin-top:10px}.retouch-upload-hero,.retouch-upload-hero.has-file{min-height:0;margin-top:0;gap:8px;padding:10px 12px}.retouch-upload-copy{gap:9px}.retouch-upload-copy>svg{width:34px;height:34px;padding:8px}.retouch-prompt-field textarea{min-height:160px;max-height:180px;overflow-wrap:anywhere}.retouch-control-head{order:1}.retouch-flow{order:2}.retouch-ai-recommend,.retouch-upload{order:4}.retouch-process-row{order:5}.retouch-or-divider{order:6}.retouch-choice-section{order:7}.retouch-prompt-field{order:9}.retouch-control-footer>.auth-error,.retouch-submit,.retouch-submit-wrap{order:0}.retouch-credit-note{order:11}.retouch-presets{order:13}.retouch-strength{order:14}.retouch-strength>div{grid-template-columns:1fr}.retouch-strength em{display:none}.retouch-submit{width:100%}.retouch-benefits{margin-top:4px}.retouch-flow{grid-template-columns:1fr}}.nav-inner,.nav-link{min-height:58px}.nav-link{font-size:13px}.nav-link.active:after{width:26px;height:2px}.brand-name{font-size:17px}.generate-shell,.retouch-shell{padding-top:20px;padding-bottom:24px}.generate-shell:before,.retouch-shell:before{background:linear-gradient(180deg,#fffafb,#fff6f8 52%,#fffafb)}.retouch-layout,.xhs-layout{gap:16px}.retouch-control-card,.retouch-preview-card,.xhs-composer-shell .composer-card,.xhs-composer-shell .composer-card-head,.xhs-result-panel.result-panel.panel{border-color:#f4dfe6;border-radius:20px;background:hsla(0,0%,100%,.96);box-shadow:0 12px 34px rgba(150,72,98,.07);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px)}.xhs-composer-shell .composer-card-head{border-radius:20px 20px 0 0;padding:20px 22px 8px}.xhs-composer-shell .composer-card{border-radius:0 0 20px 20px}.xhs-result-panel .result-box,.xhs-result-panel.preview-result-panel .result-box{gap:14px;padding:22px 24px}.composer-card-head h2,.preview-result-panel .xhs-result-head h2{margin-bottom:4px;font-size:24px;font-weight:750}.preview-result-panel .xhs-result-head h2 svg{width:18px;height:18px}.preview-result-panel .xhs-result-stage.preview-mode .result-image{border-radius:16px;box-shadow:0 12px 28px rgba(132,69,89,.08)}.preview-result-panel .muted-actions{min-height:24px;margin-top:0;font-size:12px;line-height:18px}.preview-result-panel .muted-actions:before{width:7px;height:7px;box-shadow:0 0 0 4px rgba(255,138,168,.1)}.composer-input-panel{border-color:#f3d9e2;border-radius:16px;margin:10px 22px 0;padding:18px;box-shadow:inset 0 1px 0 #fff}.composer-input-panel .upload-tile{min-width:76px;height:32px;font-size:12px}.xhs-composer-shell .composer-textarea{font-size:13px;line-height:22px}.xhs-composer-shell .composer-toolbar{gap:7px;padding:12px 14px 16px}.model-display,.quality-display,.xhs-composer-shell .ratio-control .tool-button{min-height:46px;border-color:#f0dce3;border-radius:13px;background:#fff;font-size:12px}.model-display button,.quality-display button,.ratio-control-label{font-size:12px}.xhs-composer-shell .generate-submit{min-height:48px;border-radius:13px;background:linear-gradient(90deg,#ff5d87,#ff89a7);box-shadow:0 10px 24px rgba(255,83,130,.18);font-size:14px}.xhs-composer-shell .generate-submit span{font-size:12px}.retouch-layout{height:calc(100vh - 102px);min-height:650px}.retouch-preview-card{gap:9px;padding:16px 18px}.retouch-result-stage{border-radius:16px;box-shadow:0 12px 30px rgba(132,69,89,.07)}.retouch-result-pill{min-height:32px;border-color:#f0dfe5;font-size:11px;padding:0 13px;box-shadow:0 8px 20px rgba(67,45,57,.05)}.retouch-result-pill span,.retouch-result-pill strong{font-size:11px}.retouch-control-body{gap:8px;padding:18px 20px 10px}.retouch-control-footer{padding:10px 20px 14px}.retouch-control-head h2{margin-bottom:4px;font-size:23px;font-weight:750}.retouch-control-head p{font-size:12px;line-height:1.45}.retouch-upload-hero,.retouch-upload-hero.has-file{min-height:66px;gap:10px;border-color:#f0dfe5;border-radius:14px;padding:10px 12px}.retouch-upload-copy{gap:10px}.retouch-upload-copy>svg{width:32px;height:32px;border-radius:10px;padding:7px}.retouch-upload-copy div{gap:3px}.retouch-upload-copy strong{font-size:13px}.retouch-section-title span,.retouch-upload-copy span{font-size:11px}.retouch-section-title strong{font-size:13px}.retouch-assist-group,.retouch-assist-groups,.retouch-choice-grid,.retouch-choice-section{gap:6px}.retouch-choice-grid button{border-color:#f0e2e7;border-radius:12px;background:#fff;box-shadow:none}.retouch-choice-grid.main button{min-height:50px;gap:4px;background:#fff;font-size:12px}.retouch-assist-group .retouch-choice-grid.assist button,.retouch-choice-grid.assist button{min-height:32px;border-radius:10px;font-size:11px}.retouch-choice-grid button.active{border-color:#ff789e;background:#fff4f7;color:#f04476;box-shadow:inset 0 0 0 1px rgba(255,120,158,.1);transform:none}.retouch-submit{min-height:48px;border-radius:13px;background:linear-gradient(90deg,#ff537f,#ff86a5);font-size:14px;box-shadow:0 10px 24px rgba(255,72,130,.18)}.retouch-submit span{font-size:12px}@media (max-width:720px){.nav-inner{gap:6px;padding:8px 0 6px}.brand{gap:2px}.brand-name{font-size:16px}.brand-tagline{font-size:11px}.nav-center{gap:18px}.nav-link{min-height:40px;font-size:13px}.generate-shell,.retouch-shell{padding-top:12px;padding-bottom:20px}.generate-shell{width:min(100%,calc(100vw - 20px));max-width:calc(100vw - 20px)}.retouch-shell{width:min(100%,calc(100vw - 24px));max-width:calc(100vw - 24px)}.retouch-layout,.xhs-layout{gap:12px}.retouch-layout{height:auto;min-height:0;align-items:start}.retouch-control-card,.retouch-preview-card,.xhs-composer-shell .composer-card,.xhs-composer-shell .composer-card-head,.xhs-result-panel.result-panel.panel{border-radius:18px}.xhs-composer-shell .composer-card-head{border-radius:18px 18px 0 0;padding:15px 14px 6px}.xhs-composer-shell .composer-card{border-radius:0 0 18px 18px}.composer-card-head h2,.retouch-control-head h2{font-size:21px}.composer-input-panel{height:300px;margin:9px 10px 0;padding:15px 14px}.xhs-composer-shell .composer-textarea{min-height:210px;font-size:13px}.xhs-composer-shell .composer-toolbar{grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;padding:10px 10px 12px}.model-display,.quality-display,.xhs-composer-shell .ratio-control .tool-button{min-height:44px}.model-display,.quality-display{gap:2px;padding:3px}.model-display button,.quality-display button{min-height:36px;padding:0 3px;font-size:11px}.xhs-composer-shell .ratio-control .tool-button{gap:3px;padding:0 5px;font-size:11px}.ratio-control-label{font-size:11px}.generate-submit,.retouch-submit{min-height:48px}.xhs-result-panel .result-box,.xhs-result-panel.preview-result-panel .result-box{padding:16px}.preview-result-panel .xhs-result-head h2{font-size:22px}.result-stage,.xhs-result-stage{min-height:320px;height:320px}.retouch-control-card{display:block;width:100%;height:auto;overflow:visible}.retouch-control-body{flex:0 0 auto;gap:7px;overflow:visible;padding:14px 14px 8px}.retouch-control-footer{position:static;flex:0 0 auto;padding:10px 14px 14px}.retouch-control-head p{font-size:12px}.retouch-upload-hero,.retouch-upload-hero.has-file{min-height:62px;padding:9px 10px}.retouch-choice-grid.main button{min-height:48px}.retouch-assist-group .retouch-choice-grid.assist button,.retouch-choice-grid.assist button{min-height:34px}.retouch-preview-card{gap:8px;padding:12px}.retouch-preview-card .retouch-result-stage,.retouch-result-stage{min-height:280px}}:where(a,button,input,textarea,select):focus-visible{outline:3px solid rgba(240,68,118,.38);outline-offset:3px;box-shadow:0 0 0 5px hsla(0,0%,100%,.96)}:where(input,textarea,select):focus-visible{box-shadow:none}.hero-actions{display:flex;flex-wrap:wrap;gap:10px}.hero-tool-link{min-width:150px;min-height:56px;display:inline-flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:2px;border-radius:14px;padding:10px 18px;text-decoration:none}.hero-tool-link span{font-size:14px;font-weight:750}.hero-tool-link small{font-size:11px;font-weight:500;opacity:.78}.hero-tool-link-secondary{border:1px solid #f0d7df;background:hsla(0,0%,100%,.9);color:#8f3d5a;box-shadow:0 8px 22px rgba(131,66,87,.07)}.hero-tool-link-secondary:hover{border-color:#efb9c9;background:#fff7f9}.retouch-control-card{display:flex;flex-direction:column}.retouch-control-body{order:1}.retouch-fine-tune-panel{order:2;display:block;padding:0 20px 4px}.retouch-fine-tune-panel .retouch-prompt-field{margin-top:8px}.retouch-control-footer{order:3}.retouch-fine-tune-toggle{display:none}.retouch-recommendation-summary{display:flex;align-items:center;gap:9px;min-height:38px;border:1px solid #f1dfe5;border-radius:11px;padding:7px 10px;background:#fffafb}.retouch-recommendation-summary p{min-width:0;margin:0;overflow:hidden;color:#6f5961;font-size:11px;line-height:1.4;text-overflow:ellipsis;white-space:nowrap}.retouch-selection-state{flex:0 0 auto;border-radius:999px;padding:3px 7px;background:#f3f0f1;color:#74676b;font-size:10px;font-weight:700}.retouch-selection-state.ai{background:#ffe9ef;color:#d94a73}.retouch-selection-state.user{background:#f04476;color:#fff}.retouch-control-card[data-selection-origin=default] .retouch-choice-grid button.active{border-color:#d9d2d5;background:#f8f6f7;color:#665b5f;box-shadow:inset 0 0 0 1px rgba(102,91,95,.04)}.retouch-control-card[data-selection-origin=ai] .retouch-choice-grid button.active{border-color:#f5a9bd;background:#fff5f8;box-shadow:inset 0 0 0 1px rgba(245,169,189,.18)}.retouch-control-card[data-selection-origin=user] .retouch-choice-grid button.active{border-color:#ed3e70;background:#fff0f4;box-shadow:inset 0 0 0 1px rgba(237,62,112,.2)}@media (max-width:720px){.hero-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:100%}.hero-tool-link{min-width:0;width:100%;min-height:54px;padding:9px 12px}.retouch-control-body{order:1}.retouch-control-footer{order:2;padding-top:8px}.retouch-fine-tune-toggle{order:3;width:calc(100% - 28px);min-height:42px;display:flex;align-items:center;justify-content:space-between;align-self:center;border:0;border-top:1px solid #f3e3e8;padding:8px 2px 10px;background:transparent;color:#765d66;font-size:12px;font-weight:700}.retouch-fine-tune-toggle svg{transition:transform .16s ease}.retouch-fine-tune-toggle[aria-expanded=true] svg{transform:rotate(180deg)}.retouch-fine-tune-panel{order:4;display:none;padding:2px 14px 14px}.retouch-fine-tune-panel.open{display:block}.retouch-recommendation-summary{align-items:flex-start}.retouch-recommendation-summary p{white-space:normal}}.auth-page{width:100%;max-width:none;min-height:calc(100vh - 58px);display:block;overflow:hidden;padding:0;background:radial-gradient(circle at 15% 42%,rgba(255,231,235,.34),transparent 27%),linear-gradient(110deg,#fffefd,#fffdfc 53%,#fff9f8)}.auth-page:after,.auth-page:before{display:none}.auth-login-layout{width:min(1140px,calc(100vw - 32px));min-height:calc(100vh - 58px);display:grid;grid-template-columns:440px minmax(500px,1fr);align-items:center;grid-gap:clamp(48px,4.5vw,68px);gap:clamp(48px,4.5vw,68px);margin:0 0 0 auto}.auth-form-panel{width:100%;max-width:440px;justify-self:end;padding:30px 0 24px}.auth-form-panel .auth-head{display:grid;grid-template-columns:42px minmax(0,1fr);align-items:start;grid-gap:16px;gap:16px;margin-bottom:34px}.auth-form-panel .auth-head .brand-mark{width:42px;height:42px;border-radius:11px;box-shadow:0 10px 24px rgba(169,91,194,.18)}.auth-form-panel .auth-head .brand-mark svg{width:18px;height:18px}.auth-form-panel .auth-head h1{margin:0 0 5px;font-size:26px;font-weight:750;line-height:1.24;letter-spacing:-.02em}.auth-form-panel .auth-head p{margin:0;color:#8a8086;font-size:13px;line-height:1.6;white-space:nowrap}.auth-form-panel .auth-field{gap:8px;margin-top:20px;font-size:13px;font-weight:750}.auth-form-panel .auth-input-wrap{min-height:52px;gap:10px;border-color:#ded7da;border-radius:12px;background:hsla(0,0%,100%,.78);padding:0 16px}.auth-form-panel .auth-input-wrap>svg{width:16px;height:16px}.auth-form-panel .auth-input-wrap input{min-height:50px;font-size:14px}.auth-form-panel .auth-code-row{grid-template-columns:minmax(0,1fr) 138px;gap:14px}.auth-form-panel .auth-code-row .button-secondary{min-height:52px;gap:7px;border-color:rgba(255,107,132,.34);border-radius:12px;padding:0 12px;font-size:13px;white-space:nowrap}.auth-form-panel .auth-code-row .button-secondary svg{width:15px;height:15px}.auth-form-panel .auth-submit{min-height:56px;border-radius:12px;margin-top:34px;background:linear-gradient(90deg,#ff728a,#ff8195);box-shadow:0 14px 28px rgba(255,105,132,.18);font-size:17px;font-weight:750}.auth-form-panel .auth-terms{gap:6px;margin-top:20px;font-size:12px;line-height:1.5;white-space:nowrap}.auth-form-panel .auth-terms svg{width:14px;height:14px}.auth-visual{position:relative;height:min(82vh,790px);align-self:end;overflow:hidden}.auth-visual-image{width:100%;height:100%;display:block;object-fit:contain;object-position:right bottom;filter:saturate(.92) contrast(.98)}@media (max-width:960px){.auth-login-layout{width:min(900px,calc(100vw - 40px));grid-template-columns:minmax(340px,.9fr) minmax(360px,1.1fr);gap:32px;margin:0 auto}.auth-form-panel .auth-head p{white-space:normal}}@media (max-width:720px){.auth-page{min-height:calc(100vh - 122px);overflow:visible;padding:28px 0 42px}.auth-login-layout{width:min(100%,calc(100vw - 32px));min-height:0;display:block}.auth-visual{display:none}.auth-form-panel{max-width:440px;margin:0 auto;padding:8px 0 20px}.auth-form-panel .auth-head{grid-template-columns:38px minmax(0,1fr);gap:12px;margin-bottom:24px}.auth-form-panel .auth-head .brand-mark{width:38px;height:38px;border-radius:10px}.auth-form-panel .auth-head h1{font-size:23px}.auth-form-panel .auth-head p{font-size:12px}.auth-form-panel .auth-field{margin-top:16px}.auth-form-panel .auth-code-row{grid-template-columns:minmax(0,1fr) 124px;gap:10px}.auth-form-panel .auth-submit{min-height:52px;margin-top:24px;font-size:16px}.auth-form-panel .auth-terms{flex-wrap:wrap;margin-top:18px;white-space:normal}}.prompt-editor{display:flex;min-height:0;flex:1 1 auto;flex-direction:column}.xhs-composer-shell .prompt-editor .composer-textarea{width:100%;padding-right:0;white-space:pre-wrap}.prompt-assist-bar{display:grid;min-height:54px;grid-template-columns:34px minmax(0,1fr) auto;align-items:center;flex:0 0 auto;grid-gap:9px;gap:9px;border-top:1px solid rgba(240,217,224,.84);margin-top:12px;padding-top:11px}.prompt-assist-bar.has-error{border-top-color:rgba(226,91,126,.24)}.prompt-assist-avatar{display:block;width:32px;height:32px;flex:0 0 auto;overflow:hidden;border:1px solid #f1d7e1;border-radius:50%;background:#fff8fb;box-shadow:0 4px 12px rgba(216,111,145,.09)}.prompt-assist-avatar img{display:block;width:100%;height:100%;object-fit:cover;object-position:center 8%;transform:scale(1.8);transform-origin:50% 14%}.prompt-assist-copy{display:flex;min-width:0;flex-direction:column;gap:1px;color:#786f79;line-height:1.35}.prompt-assist-copy strong{color:#38313b;font-size:12px;font-weight:780}.prompt-assist-copy small,.prompt-assist-copy strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.prompt-assist-copy small{color:#a096a1;font-size:11px}.prompt-assist-bar.has-error .prompt-assist-copy small,.prompt-assist-bar.has-error .prompt-assist-copy strong{color:#bf4968}.prompt-assist-actions{display:inline-flex;flex:0 0 auto;align-items:center;gap:6px}.prompt-assist-actions button{cursor:pointer;font:inherit;font-size:12px}.prompt-assist-text-action{border:0;background:transparent;padding:6px 7px;color:#948a95}.prompt-assist-primary-action{display:inline-flex;min-height:32px;align-items:center;justify-content:center;gap:5px;border:1px solid rgba(255,113,153,.34);border-radius:999px;background:#fff7fa;padding:0 11px;color:#eb5e89;font-weight:760;transition:border-color .16s ease,background .16s ease,transform .16s ease}.prompt-assist-text-action:hover:not(:disabled){color:#e95e88}.prompt-assist-primary-action:hover:not(:disabled){border-color:rgba(255,99,142,.55);background:#fff0f5;transform:translateY(-1px)}.prompt-assist-actions button:focus-visible{outline:3px solid rgba(255,112,153,.2);outline-offset:2px}.prompt-assist-actions button:disabled{cursor:not-allowed;opacity:.48}.prompt-assist-bar.is-loading .prompt-assist-primary-action:disabled{cursor:wait}.prompt-assist-primary-action .spin{animation:spin .8s linear infinite}@media (max-width:720px){.xhs-composer-shell .prompt-editor .composer-textarea{min-height:160px}.prompt-assist-bar{min-height:50px;grid-template-columns:30px minmax(0,1fr) auto;gap:7px}.prompt-assist-avatar{width:28px;height:28px}.prompt-assist-copy small{display:none}.prompt-assist-primary-action{min-height:30px;padding:0 9px}.prompt-assist-text-action{padding-right:3px}}.retouch-control-card .retouch-control-head{gap:2px}.retouch-control-card .retouch-control-head h2{margin-bottom:0;font-size:20px;line-height:1.25}.retouch-control-card .retouch-control-head h2 svg{width:17px;height:17px}.retouch-control-card .retouch-control-head p{font-size:11px;line-height:1.45}@media (min-width:721px){.retouch-control-card .retouch-control-body{flex:0 0 auto;overflow:visible;padding-bottom:6px}.retouch-control-card .retouch-fine-tune-panel{display:flex;min-height:0;flex:1 1 auto;flex-direction:column;gap:8px;padding-top:0}.retouch-control-card .retouch-prompt-field{display:flex;min-height:0;flex:1 1 auto;flex-direction:column;margin-top:2px}.retouch-control-card .retouch-prompt-field textarea{min-height:180px;max-height:none;flex:1 1 auto;resize:none}}@media (max-width:720px){.retouch-upload-cluster{order:4}.upload-picker.is-opening{border-color:rgba(255,104,140,.42);background:rgba(255,241,246,.94);color:#e94979}.upload-picker.is-opening .upload-picker-idle{display:none}.upload-picker.is-opening .upload-picker-opening{display:inline-flex}.upload-picker-status{display:flex}.retouch-control-card .retouch-control-head h2{font-size:19px}.retouch-control-card .retouch-control-head p{font-size:10px}}