:root{--bg:#f6f5f0;--paper:#fff;--ink:#263a34;--muted:#87908a;--line:#e7e9e2;--green:#244c42;--lime:#d8edb4;--red:#b75542;--radius:24px;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;color:var(--ink);background:var(--bg);font-synthesis:none}
*{box-sizing:border-box}body{margin:0;-webkit-tap-highlight-color:transparent}button,input,textarea{font:inherit}button,a,input,textarea,summary{touch-action:manipulation}button{cursor:pointer}button:disabled{opacity:.55;cursor:wait}button{border:0;color:inherit;background:none}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid #a6c286;outline-offset:3px}input,textarea{font-size:16px;border:1px solid var(--line);border-radius:12px;width:100%;padding:13px 14px;background:#fcfcfa;color:var(--ink);outline:none}input:focus,textarea:focus{border-color:#839f8e;box-shadow:0 0 0 3px #9bb09819}textarea{resize:vertical;line-height:1.85;min-height:178px}input::placeholder,textarea::placeholder{color:#a0a69f}label,.field-label,legend{font-size:14px;font-weight:600}label{display:block}fieldset{margin:0;padding:0;border:0;min-width:0}legend{padding:0;margin-bottom:12px}h1,h2,h3,p{margin-top:0}h1{font-size:clamp(26px,3.2vw,39px);line-height:1.4;letter-spacing:-1.2px;font-weight:600;margin-bottom:10px}h2{font-size:24px;font-weight:600}h3{font-size:18px;font-weight:500}.muted{color:var(--muted);font-size:14px;line-height:1.8}.symbols{position:absolute;width:0;height:0;overflow:hidden}svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}[hidden]{display:none!important}.boot{min-height:100dvh;display:flex;align-items:center;justify-content:center;gap:14px;color:var(--muted)}.brand{display:inline-flex;gap:11px;align-items:center;white-space:nowrap;font-size:19px;letter-spacing:-.5px}.brand span{font-weight:650}.brand b{font-weight:400}.eyebrow,.small-label{font-size:10px;font-weight:600;letter-spacing:2px;color:#8b978d}.eyebrow{margin-bottom:12px}.topbar{max-width:1200px;margin:auto;height:96px;padding:0 36px;display:flex;align-items:center;justify-content:space-between}.connection{font-size:12px;display:flex;align-items:center;gap:7px;background:#eeeee7;border:1px solid #e4e6df;padding:8px 12px;border-radius:30px}.dot{display:inline-block;width:6px;height:6px;background:#bd9270;border-radius:50%;flex-shrink:0}.connection.online .dot{background:#548e67;box-shadow:0 0 0 3px #548e6712}.connection.online{background:#edf1e7}.page-shell{max-width:1140px;padding:25px 24px 128px;margin:0 auto}.page-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:29px;gap:16px}.page-heading .muted{margin-bottom:0}.edition{font-size:9px;letter-spacing:4px;color:#9ca79b;text-align:right;padding-right:5px}.edition b{display:block;font-weight:350;font-size:54px;letter-spacing:-4px;line-height:1.2;color:#c3cdba}.create-layout{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(0,1fr);gap:24px;align-items:start}.card{background:var(--paper);border:1px solid var(--line);border-radius:var(--radius);box-shadow:0 4px 20px #203d2603}.composer{padding:27px}.mode-tabs{display:flex;background:#f5f6f2;padding:5px;border-radius:13px;gap:3px;margin-bottom:27px}.mode-tabs button{flex:1;padding:11px 3px;font-size:13px;white-space:nowrap;border-radius:9px;color:#939b94;transition:.2s}.mode-tabs .selected{color:var(--green);background:white;box-shadow:0 2px 6px #203d2610;font-weight:600}.field-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:11px;gap:12px}.field-heading>span:last-child{font-size:10px;color:#a1a89f;letter-spacing:.3px}.composer textarea{border:0;background:#f8f9f5;padding:15px 16px;font-size:15px}.inspiration{display:flex;flex-wrap:wrap;align-items:center;gap:7px;margin:12px 0 26px;font-size:11px;color:#9aa399}.inspiration button{font-size:11px;background:#f7f8f4;border:1px solid #edefe9;border-radius:20px;padding:6px 10px}.inspiration button:hover{color:var(--green);background:#edf3e5}.optional{font-size:11px;font-weight:400;color:#a2a99e;padding-left:6px}.reference-list{display:flex;gap:9px;flex-wrap:wrap}.upload-tile,.reference-tile{width:82px;height:82px;border-radius:13px;position:relative}.upload-tile{border:1px dashed #cbd4c5;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:5px;background:#fafbf8;color:#8e9e85;font-size:10px}.upload-tile svg{width:19px;height:19px}.reference-tile img{width:100%;height:100%;object-fit:cover;border-radius:13px;border:1px solid var(--line)}.reference-tile .ref-number{position:absolute;bottom:5px;left:6px;font-size:9px;padding:2px 5px;border-radius:4px;background:#163a35b0;color:white}.reference-tile button{position:absolute;right:-5px;top:-5px;background:white;border:1px solid var(--line);box-shadow:0 1px 3px #0001;border-radius:50%;height:22px;width:22px;display:grid;place-items:center}.reference-tile button svg{width:12px;height:12px}.field-note{font-size:11px;color:#a0a79d;line-height:1.8;margin:10px 0 0}.settings-row{margin:27px 0 23px}.ratio-options{display:flex;gap:7px;flex-wrap:wrap}.ratio-options button{display:flex;gap:6px;align-items:center;justify-content:center;padding:9px 10px;border:1px solid var(--line);border-radius:9px;font-size:11px;color:#929e92;min-height:37px}.ratio-options i{display:block;border:1px solid currentColor;border-radius:2px;width:12px;height:12px}.ratio-options .ratio-portrait{width:10px;height:13px}.ratio-options .ratio-landscape{width:13px;height:10px}.ratio-options .ratio-tall{width:8px;height:14px}.ratio-options .ratio-wide{width:14px;height:8px}.ratio-options .selected{border-color:#78907c;background:#eff5e9;color:var(--green)}.quality-options{display:grid;grid-template-columns:1fr 1fr;gap:10px}.quality-options button{border:1px solid var(--line);border-radius:11px;padding:13px 14px;display:flex;gap:11px;align-items:center}.quality-options b{font-weight:600;font-size:15px}.quality-options span{font-size:11px;color:#a2aa9f}.quality-options .selected{border-color:#78907c;background:#f4f8ef}.quality-options .selected span{color:#7b8f70}.advanced{border-top:1px solid #eef0eb;margin-top:24px;padding-top:18px}.advanced summary{font-size:12px;cursor:pointer;color:#83907f;list-style:none}.advanced summary::before{content:'+';font-size:14px;margin-right:8px}.advanced[open] summary::before{content:'−'}.advanced summary span{float:right;color:#b1b6ae;font-size:10px}.advanced-grid{margin-top:18px;display:grid;grid-template-columns:1fr 1fr;gap:12px}.advanced-grid label{font-size:11px;color:#85917e;font-weight:400}.advanced-grid input{margin-top:8px;padding:11px 10px;font-size:14px;min-width:0}.primary,.secondary{display:inline-flex;align-items:center;justify-content:center;gap:8px;border-radius:12px;min-height:46px;font-size:13px;font-weight:600;padding:12px 18px}.primary{background:var(--green);color:#f5f7ef}.primary:hover{background:#346151}.secondary{background:#f5f7f0;border:1px solid #e1e7da;color:#667960}.secondary:hover{background:#eaf0e1}.full{width:100%}.primary svg{width:19px;height:19px}.generate-area{margin-top:23px}.generate-area .primary{height:54px;background:var(--lime);color:#244c32}.button-end{margin-left:auto;font-size:20px;font-weight:400}.generate-area .primary>svg{margin-right:auto}.estimate{text-align:center;font-size:10px;color:#a3ac9c;margin:11px 0 0}.form-error{font-size:12px;color:var(--red);line-height:1.7;margin:10px 0 0}.form-error:empty{display:none}.preview-card{padding:22px;overflow:hidden}.section-title{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:20px;font-size:13px;font-weight:500}.section-title .small-label{font-size:8px;letter-spacing:1.4px}.latest-content{text-align:center;padding:52px 0 40px;min-height:337px;background:#f9faf6;border-radius:15px}.empty-art{margin:4px auto 25px;width:75px;height:80px;display:grid;place-items:center;color:#bbc9b0;border:1px solid #dce3d5;border-radius:16px;transform:rotate(-7deg);background:linear-gradient(155deg,#f0f4e8,#fafbf7)}.empty-art svg{width:34px;height:34px;transform:rotate(7deg);stroke-width:1}.latest-content h3{font-size:16px;margin-bottom:12px}.latest-content .muted{font-size:12px}.latest-content.has-job{padding:0;min-height:0;background:none;text-align:left}.latest-content .job-card{border:0;border-radius:12px}.latest-content .job-body{padding:14px 0 0}.quiet-tip{margin:25px 15px;color:#8f9e83}.quiet-tip>span{font-size:11px;font-weight:600}.quiet-tip p{font-size:12px;line-height:1.95;color:#a0aa97;margin:8px 0}.notice{background:#f3eddf;border:1px solid #ebe3d3;padding:13px 15px;border-radius:14px;display:flex;gap:10px;margin-top:14px;align-items:center}.notice p{font-size:11px;line-height:1.9;margin:0;color:#a08d69}.bottom-nav{position:fixed;bottom:18px;left:50%;transform:translateX(-50%);display:flex;align-items:center;gap:6px;padding:7px;background:#fffffff2;border:1px solid #e4e7dd;border-radius:20px;box-shadow:0 8px 35px #243d3110;backdrop-filter:blur(20px);z-index:10}.bottom-nav button{display:flex;align-items:center;justify-content:center;gap:9px;min-width:100px;height:45px;border-radius:13px;color:#9aa492;font-size:12px;position:relative}.bottom-nav button svg{width:18px;height:18px}.bottom-nav .selected{background:#edf4e4;color:#49683a}.bottom-nav i{height:5px;width:5px;background:#d58c54;border-radius:50%;position:absolute;right:23px;top:8px}.gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.job-card{background:white;border:1px solid var(--line);border-radius:19px;overflow:hidden}.job-visual{aspect-ratio:1/1;position:relative;display:grid;place-items:center;overflow:hidden;background:#edf0e7;width:100%;padding:0}.job-visual img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .35s}.job-visual:hover img{transform:scale(1.025)}.checker{background-color:#fff;background-image:linear-gradient(45deg,#edf0e9 25%,transparent 25%),linear-gradient(-45deg,#edf0e9 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#edf0e9 75%),linear-gradient(-45deg,transparent 75%,#edf0e9 75%);background-size:20px 20px;background-position:0 0,0 10px,10px -10px,-10px 0}.job-body{padding:16px}.job-prompt{font-size:12px;line-height:1.8;margin-bottom:10px;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow-wrap:anywhere}.job-meta{font-size:10px;color:#a5ad9f;display:flex;justify-content:space-between;gap:6px}.job-controls{display:flex;justify-content:space-between;gap:5px;margin-top:12px}.text-button{padding:6px 0;color:#6d875c;font-size:12px}.danger{color:#b77b69}.working-visual{padding:25px;width:100%;text-align:center}.working-visual svg{color:#97ab85;width:36px;height:36px;stroke-width:1;margin-bottom:14px}.working-visual p{font-size:13px;color:#748a63;margin-bottom:10px}.working-visual small{font-size:11px;color:#9da891;line-height:1.7;display:block}.working-visual progress{height:5px;width:75%;accent-color:#8fad74;border:0;border-radius:4px;margin-top:18px;background:#dce4d3}.working-visual progress::-webkit-progress-bar{background:#dce4d3;border-radius:4px}.working-visual progress::-webkit-progress-value{background:#8fad74;border-radius:4px}.working-visual.running svg{animation:breath 2s ease-in-out infinite}.empty-state{text-align:center;padding:90px 15px}.empty-state>svg{width:40px;height:40px;color:#aabc98;margin-bottom:25px}.empty-state h2{font-size:20px}.load-more{display:flex;margin:30px auto}.account-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;align-items:start}.account-card{padding:26px}.account-card h2{font-size:18px}.account-card form label{font-size:12px;color:#819079;margin:15px 0 8px}.account-card form button{margin-top:22px}.account-card .muted{font-size:12px}.avatar{height:48px;width:48px;border-radius:16px;background:#eef3e6;display:grid;place-items:center;color:#8ca576;margin-bottom:20px}.account-footnote{text-align:center;color:#a9b29f;font-size:11px;line-height:2;margin-top:40px}.account-card #invite-code{font-size:12px;margin-top:16px}.auth{min-height:100dvh;max-width:1020px;margin:auto;padding:80px 35px;display:grid;grid-template-columns:1.15fr 1fr;gap:90px;align-items:center}.auth-intro .brand{margin-bottom:55px}.auth-intro h1{font-size:34px;line-height:1.55}.auth-art{height:200px;position:relative;margin-bottom:40px;overflow:hidden;background:linear-gradient(125deg,#e6edd8,#e0e5d1 60%,#ebece1);border:1px solid #dde4d3;border-radius:100px 100px 12px 12px}.art-shape{width:142px;height:170px;background:linear-gradient(135deg,#f4f7e6,#94b57c);position:absolute;left:45%;top:37px;border-radius:75px 75px 10px 10px;transform:rotate(20deg);box-shadow:22px 20px 35px #6d8f5435}.art-orbit{position:absolute;width:240px;height:100px;border:1px solid #ffffffa0;left:-10px;top:70px;border-radius:50%;transform:rotate(-30deg)}.art-caption{position:absolute;bottom:23px;left:24px;font-size:9px;letter-spacing:3px;color:#789367}.auth-card{background:white;border:1px solid var(--line);padding:35px;border-radius:25px;box-shadow:0 20px 60px #45553805}.auth-card h2{margin:16px 0 10px}.auth-card>.muted{font-size:12px;margin-bottom:25px}.auth-card label{font-size:12px;margin:17px 0 9px}.auth-card input{background:#fafbf7}.auth-card .primary{margin-top:24px;height:49px;justify-content:space-between}.auth-switch{font-size:12px;color:#a3ab9e;margin:20px 0 0;text-align:center}.auth-switch .text-button{margin-left:4px}.privacy-note{display:flex;align-items:center;justify-content:center;font-size:9px;gap:6px;color:#abb3a5;border-top:1px solid #f0f2ed;padding-top:23px;margin-top:20px;line-height:1.6}.privacy-note .dot{background:#a5b98a;width:4px;height:4px}dialog{border:1px solid var(--line);border-radius:22px;padding:0;color:var(--ink);max-width:640px;width:calc(100% - 28px);max-height:90dvh;overflow:auto;box-shadow:0 30px 100px #15261f3b}dialog::backdrop{background:#18322c77;backdrop-filter:blur(5px)}.dialog-head{position:sticky;top:0;display:flex;align-items:center;justify-content:space-between;padding:13px 19px;background:#ffffffee;backdrop-filter:blur(20px);z-index:1;font-size:13px}.icon-button{display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:#f3f5ee}.icon-button svg{width:17px;height:17px}.dialog-body{padding:22px}.dialog-body p{font-size:13px;line-height:1.9;overflow-wrap:anywhere}.dialog-body h2{font-size:19px}.dialog-body>.text-button{margin-top:15px}.result-actions{display:flex;gap:10px;flex-wrap:wrap}.result-actions button{flex:1;white-space:nowrap}#result-image-wrap{display:flex;justify-content:center}#result-image{display:block;max-width:100%;max-height:57dvh;object-fit:contain}#result-meta{font-size:10px}#confirm-dialog{max-width:390px}.toast{position:fixed;bottom:104px;left:50%;transform:translateX(-50%);padding:13px 20px;color:#fff;background:#2d493deb;border-radius:13px;box-shadow:0 5px 20px #23342216;font-size:12px;z-index:100;max-width:calc(100% - 35px);width:max-content;line-height:1.7}.view{animation:appear .25s ease}@keyframes appear{from{opacity:.4;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}@keyframes breath{50%{opacity:.35;transform:scale(.93)}}
@media(min-width:1400px){.page-shell{padding-top:45px}.topbar{height:110px}}
@media(max-width:800px){.create-layout{grid-template-columns:minmax(0,1fr)}.creation-aside{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:16px}.creation-aside .quiet-tip{margin:20px 5px}.creation-aside .notice{grid-column:1/-1;grid-row:1;margin-top:0}.preview-card{padding:18px}.latest-content{min-height:230px;padding:25px 0}.account-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.auth{gap:40px;padding:55px 25px}.auth-intro h1{font-size:28px}.auth-card{padding:26px}.auth-art{height:160px}.gallery{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:540px){.topbar{height:76px;padding:0 22px;padding-top:env(safe-area-inset-top)}.brand{font-size:17px;gap:9px}.brand img{width:29px;height:29px}.connection{font-size:10px;padding:7px 9px}.connection .dot{width:5px;height:5px}.page-shell{padding:16px 18px 118px}.page-heading{margin-bottom:22px;align-items:flex-start}.page-heading h1{font-size:27px;letter-spacing:-1px;margin-bottom:9px}.page-heading .muted{font-size:11px}.eyebrow{font-size:7px;letter-spacing:1.7px;margin-bottom:12px}.edition{font-size:7px;padding-top:1px;letter-spacing:2.5px}.edition b{font-size:43px;letter-spacing:-3px}.composer{padding:20px;border-radius:21px}.mode-tabs{margin-bottom:23px;padding:4px}.mode-tabs button{font-size:12px;padding:10px 2px}.field-heading label,.field-label,legend{font-size:13px}.composer textarea{font-size:16px;min-height:169px;padding:13px;line-height:1.8}.inspiration{gap:6px;margin-top:11px;margin-bottom:23px}.inspiration button{font-size:10px;padding:6px 9px}.reference-list{gap:9px}.upload-tile,.reference-tile{width:71px;height:71px}.settings-row{margin-top:24px}.ratio-options{gap:6px}.ratio-options button{padding:9px 8px;font-size:10px;gap:5px;min-height:35px}.quality-options button{padding:12px 13px}.advanced-grid input{font-size:16px}.advanced summary{font-size:11px}.advanced summary span{font-size:9px}.generate-area{margin-top:21px}.estimate{font-size:9px;line-height:1.7}.creation-aside{display:flex;flex-direction:column;gap:0}.create-layout{gap:18px}.preview-card{padding:18px}.latest-content{min-height:215px}.quiet-tip{display:none}.creation-aside .notice{order:-1;margin-bottom:16px}.latest-content.has-job .job-visual{aspect-ratio:4/3}.section-title{font-size:12px}.bottom-nav{left:0;bottom:0;transform:none;width:100%;border-radius:20px 20px 0 0;justify-content:space-around;padding:8px 16px calc(8px + env(safe-area-inset-bottom));border-bottom:0;box-shadow:0 -4px 25px #2e4b2308}.bottom-nav button{flex:1;min-width:0;max-width:105px;flex-direction:column;gap:4px;height:48px;font-size:9px}.bottom-nav button svg{width:19px;height:19px}.bottom-nav i{right:29px;top:5px}.gallery{gap:12px}.job-card{border-radius:15px}.job-body{padding:12px}.job-prompt{font-size:11px;line-height:1.65;margin-bottom:8px}.job-meta{font-size:8px}.job-controls .text-button{font-size:10px}.working-visual{padding:14px}.working-visual p{font-size:11px}.working-visual svg{width:28px;height:28px}.working-visual small{font-size:9px}.account-grid{grid-template-columns:minmax(0,1fr);gap:15px}.account-card{padding:23px}.account-card input{font-size:16px}.auth{display:flex;flex-direction:column;gap:25px;padding:32px 23px 45px;align-items:stretch;min-height:100dvh;justify-content:center}.auth-intro .brand{margin-bottom:32px}.auth-art{display:none}.auth-intro h1{font-size:29px;margin-bottom:10px}.auth-intro>.muted{font-size:12px;margin:0}.auth-intro>.muted br{display:none}.auth-card{padding:25px;border-radius:22px}.auth-card>.small-label{font-size:8px}.auth-card h2{font-size:21px;margin-top:12px}.auth-card>.muted{margin-bottom:20px}.auth-card label{margin-top:15px}.auth-card input{font-size:16px}.privacy-note{font-size:8px}.dialog-body{padding:18px}.result-actions{gap:8px}.result-actions .primary,.result-actions .secondary{font-size:12px;padding:12px}.toast{bottom:calc(93px + env(safe-area-inset-bottom));font-size:12px}.empty-state{padding:80px 10px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
