:root{font-family:-apple-system,BlinkMacSystemFont,"SF Pro Text","PingFang SC","Microsoft YaHei",sans-serif;color:#252525;background:#fff;font-synthesis:none;--muted:#767676;--line:#e9e9e9;--surface:#f7f7f7;--side:216px;--white:#fff;--blue:#1677ff;--blue-deep:#0a48c7;--blue-soft:#eaf1ff;--blue-action:#126be6;--orange:#ff7a00;--orange-soft:#fff0e9}*{box-sizing:border-box}body{margin:0}button,input,textarea{font:inherit}button,a,input,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer;color:inherit;border:0;background:none}button:disabled{cursor:default}button{transition:background .16s,color .16s,box-shadow .16s,transform .16s}button:focus-visible,a:focus-visible{outline:3px solid #85b8ed;outline-offset:3px}button:disabled{opacity:.38}svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}a{color:inherit}h1,h2,p{margin:0}[hidden]{display:none!important}.sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}.skip-link{position:fixed;top:-100px;left:20px;z-index:100;background:#fff;padding:14px}.skip-link:focus{top:10px}.sidebar{position:fixed;inset:0 auto 0 0;width:var(--side);background:var(--surface);display:flex;flex-direction:column;padding:26px 16px 16px;border-right:1px solid #ededed;z-index:30}.brand{display:flex;align-items:center;gap:10px;padding:0 7px 29px;font-size:16px;font-weight:600;letter-spacing:-.3px}.brand-mark{width:32px;height:34px;font-size:23px;font-weight:500;display:grid;place-items:center;border:1px solid #cfcfcf;border-radius:9px}.brand small{display:block;font-size:11px;font-weight:400;letter-spacing:1.5px;margin-top:3px;color:var(--muted)}.new-design{height:44px;border-radius:10px;background:#fff;border:1px solid #dedede;display:flex;align-items:center;gap:9px;padding:0 11px;font-size:14px;font-weight:500;box-shadow:0 2px 3px #00000003}.new-design:hover{background:#efefef}.shortcut{font-size:11px;color:#999;margin-left:auto}.nav-item{display:flex;align-items:center;gap:10px;padding:11px 12px;min-height:44px;width:100%;text-align:left;border-radius:9px;font-size:14px}.nav-item:hover,.project-link:hover{background:#eeeeee}nav{margin:15px 0 23px}.sidebar-section{display:flex;justify-content:space-between;font-size:12px;color:var(--muted);padding:0 11px;margin-bottom:12px}.local-label{font-size:11px;color:#969696}.recent-projects{max-height:32vh;overflow-y:auto}.recent-empty{font-size:12px;color:#929292;padding:5px 11px 24px;line-height:1.8}.project-link{width:100%;display:flex;align-items:center;gap:10px;border-radius:9px;text-align:left;padding:8px;font-size:13px;min-width:0}.project-link>span:last-child{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.project-link small{display:block;color:var(--muted);font-size:11px;margin-top:5px}.project-link.active{background:#e9e9e9}.mini-thumb{width:30px;height:38px;border-radius:4px;overflow:hidden;flex-shrink:0}.mini-thumb img{width:100%;height:100%;object-fit:cover}.sample-project{padding-top:27px}.sidebar-bottom{margin-top:auto;padding-top:25px}.prototype-label{border-top:1px solid #e4e4e4;margin:12px 4px 0;padding:19px 5px 0;display:flex;align-items:center;gap:9px;font-size:12px}.status-dot{width:6px;height:6px;background:#8b977e;border-radius:50%}.prototype-label small{display:block;font-size:11px;color:var(--muted);margin-top:5px}.version{margin-left:auto;color:#999;font-size:11px}.app-main{margin-left:var(--side);min-height:100dvh}.topbar{height:76px;padding:0 36px;display:flex;align-items:center;justify-content:space-between;gap:15px}.top-title{display:flex;gap:12px;align-items:center}.top-title strong{font-size:16px;font-weight:550}.beta{font-size:11px;color:#767676;border:1px solid #e7e7e7;border-radius:5px;padding:3px 6px;white-space:nowrap}.top-right{display:flex;align-items:center;gap:20px}.text-btn{font-size:13px;display:flex;align-items:center;gap:6px;min-height:44px}.text-btn:hover{color:#000}.text-btn svg{width:15px}.saved{font-size:12px;color:var(--muted)}.saved:not(:empty):before{content:'✓';margin-right:5px;color:#71856a}.main-content{max-width:1440px;margin:auto;display:flex;flex-direction:column;align-items:center}.welcome{text-align:center;padding:42px 20px 30px}.welcome-mark{width:42px;height:42px;margin:0 auto 18px;border:1px solid #e2e2e2;border-radius:13px;display:grid;place-items:center;color:#61665b;transform:rotate(-6deg)}.welcome-mark svg{width:23px;height:23px}.eyebrow{font-size:12px;letter-spacing:1px;color:var(--muted);margin-bottom:12px}.welcome h1{font-size:36px;line-height:1.35;font-weight:580;letter-spacing:-1.5px}.welcome-copy{margin-top:14px;color:#767676;font-size:14px;letter-spacing:.2px}.composer-wrap{width:min(720px,calc(100% - 64px));position:relative;z-index:2}.composer{border:1px solid #dcdcdc;border-radius:21px;padding:17px 14px 12px;background:#fff;box-shadow:0 5px 20px #00000005;transition:border-color .2s,box-shadow .2s}.composer:focus-within{border-color:#b3b3b3;box-shadow:0 5px 24px #00000009}textarea{width:100%;resize:vertical;min-height:72px;max-height:160px;display:block;border:0;padding:3px 7px;background:transparent;outline:0;color:#272727;line-height:1.7;font-size:15px}textarea::placeholder{color:#858585}.composer-bottom{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-top:11px}.composer-options{display:flex;align-items:center;gap:3px}.icon-btn{min-width:40px;height:40px;padding:9px;display:inline-flex;align-items:center;justify-content:center;border-radius:9px;flex-shrink:0}.icon-btn:hover{background:#f0f0f0}.add-button{width:38px;min-width:38px}.add-button svg{width:23px;height:23px}.toolbar-divider{height:17px;width:1px;background:#e4e4e4;margin:0 5px}.option-button{font-size:12px;min-height:40px;display:flex;align-items:center;gap:6px;padding:0 9px;border-radius:9px;color:#606060;white-space:nowrap}.option-button:hover{background:var(--surface)}.option-button svg{width:16px;height:16px}.chevron svg{width:11px}.ratio-symbol{border:1.3px solid currentColor;border-radius:2px;width:12px;height:15px;display:inline-block}.generate-button,.primary{background:#252525;color:white;min-height:42px;border-radius:12px;padding:0 17px;display:inline-flex;align-items:center;justify-content:center;gap:12px;font-size:13px;font-weight:500;white-space:nowrap}.generate-button:hover:not(:disabled),.primary:hover{background:#000}.generate-button svg{width:17px}.composer-footer{display:flex;align-items:center;padding:11px 7px;gap:12px;font-size:11px;color:#767676}.model-info{display:flex;align-items:center;gap:4px;font-size:11px;padding:0;min-height:24px}.model-info svg{width:11px;height:11px}#costHint{margin-left:auto}.key-hint{color:#8a8a8a;white-space:nowrap}.input-error{font-size:13px;color:#ac3d2a;line-height:1.6;padding:3px 6px}.inspiration{width:min(720px,calc(100% - 64px));margin-top:35px}.section-title{display:flex;align-items:center;justify-content:space-between;margin-bottom:17px;gap:12px}.section-title h2{font-size:13px;font-weight:500}.section-title>span{font-size:11px;color:var(--muted)}.inspiration-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.inspiration-card{padding:0;text-align:left;min-width:0}.inspiration-art{position:relative;display:block;height:180px;border-radius:12px;overflow:hidden;background:#eee;transition:transform .2s}.inspiration-art>img{width:100%;height:100%;object-fit:cover;transition:transform .35s}.inspiration-card:hover .inspiration-art>img{transform:scale(1.04)}.inspiration-card:hover .card-arrow{opacity:1;transform:translate(0)}.sample-typeset{position:absolute;top:18px;left:18px;display:flex;flex-direction:column;gap:8px;color:#354b36;text-align:left}.sample-typeset small{font-size:6px;letter-spacing:1.1px}.sample-typeset strong{font-size:21px;line-height:1.38;font-weight:500;letter-spacing:.8px}.minimal .sample-typeset{color:#3b4a62}.minimal .sample-typeset strong{font-size:18px}.magazine .sample-typeset{color:#fdf7e9;text-shadow:0 1px 7px #0004}.magazine .sample-typeset small{font-size:5px}.magazine .sample-typeset strong{font-size:25px}.magazine>img{object-position:50% 62%}.card-arrow{position:absolute;bottom:12px;right:12px;display:grid;place-items:center;width:28px;height:28px;border-radius:50%;background:#ffffffe6;color:#333;opacity:0;transform:translateY(3px);transition:.2s}.card-arrow svg{width:15px}.card-caption{display:flex;flex-direction:column;gap:5px;padding:13px 1px}.card-caption strong{font-size:13px;font-weight:500}.card-caption small{font-size:11px;color:var(--muted)}.page-note{font-size:11px;color:#8a8a8a;margin:24px 24px 16px;text-align:center}.round-btn{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:40px;padding:0 12px;border:1px solid #e2e2e2;border-radius:9px;font-size:12px;background:#fff}.round-btn:hover{background:var(--surface)}.round-btn svg{width:16px;height:16px}.muted{color:var(--muted);font-size:13px;line-height:1.7}.studio{width:100%;min-height:0;flex:1;display:flex;flex-direction:column;padding:8px 34px 0}.studio-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;padding-bottom:19px}.title-row{display:flex;align-items:center;gap:6px}.title-row h1{font-size:19px;font-weight:560;max-width:380px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;letter-spacing:-.3px}.title-row .icon-btn{width:30px;min-width:30px;height:30px;padding:7px;color:#959595}.title-row svg{width:14px}#artMeta{font-size:11px;color:var(--muted);margin-top:3px}.studio-actions{display:flex;gap:8px}.canvas-zone{flex:1;position:relative;min-height:240px;background:#f7f7f7;border:1px solid #ededed;border-radius:14px;overflow:hidden;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:35px 24px 63px}.canvas-notice{position:absolute;top:12px;left:16px;font-size:10px;color:#8a8a8a;z-index:1}.artboards{height:100%;width:100%;display:flex;align-items:center;justify-content:center;gap:22px;min-height:0;transition:transform .2s}.artboard{max-width:100%;height:100%;display:flex;flex-direction:column;align-items:center;gap:10px;min-width:0;position:relative}.poster{height:100%;max-width:100%;aspect-ratio:3/4;position:relative;background:#ededed;overflow:hidden;box-shadow:0 8px 24px #00000016;container-type:inline-size}.poster>img{display:block;width:100%;height:100%;object-fit:cover}.poster .sample-typeset{top:8%;left:9%;gap:2.7cqw}.poster .sample-typeset small{font-size:1.5cqw;letter-spacing:.35cqw}.poster .sample-typeset strong{font-size:8.3cqw;letter-spacing:.4cqw;line-height:1.4}.poster .poster-foot{position:absolute;bottom:7%;left:9%;font-size:1.8cqw;letter-spacing:.4cqw;color:#415e43}.poster.variant-1 .sample-typeset{top:9%;left:9%}.poster.variant-1 .sample-typeset strong{font-size:6.7cqw}.poster.variant-1 img{object-position:65% center}.poster.variant-2 .sample-typeset{top:9%;left:9%;text-align:left}.poster.variant-2 img{object-position:30% center}.artboard-label{display:flex;align-items:center;gap:7px;justify-content:center;white-space:nowrap;font-size:11px;min-height:28px;color:#727272}.select-art{min-height:28px;padding:0 9px;background:white;border:1px solid #dedede;border-radius:15px;font-size:11px}.select-art[aria-pressed=true]{color:#365334;border-color:#aebdaa;background:#f2f7ef}.poster-open{position:absolute;inset:0;z-index:2;border-radius:0}.poster-open:focus-visible{outline-offset:-4px}.canvas-toolbar{position:absolute;bottom:13px;left:50%;transform:translateX(-50%);display:flex;align-items:center;border:1px solid #e1e1e1;background:#fffffff0;backdrop-filter:blur(12px);border-radius:12px;padding:2px;box-shadow:0 2px 7px #00000004}.canvas-toolbar .icon-btn{width:32px;min-width:32px;height:30px;padding:7px}.canvas-toolbar .icon-btn svg{width:15px}.zoom-label{font-size:10px;min-width:66px;height:30px;padding:0 7px}.version-row{display:flex;align-items:center;justify-content:space-between;padding:13px 0 8px;gap:12px;min-height:55px}.versions{display:flex;gap:5px;overflow-x:auto}.version-tab{font-size:11px;min-height:32px;padding:0 12px;border-radius:8px;white-space:nowrap;color:var(--muted)}.version-tab.active{color:#252525;background:#eeeeee}.version-hint{font-size:10px;color:#8a8a8a;white-space:nowrap}body[data-view=studio] .app-main{height:100dvh;display:flex;flex-direction:column}body[data-view=studio] .main-content{flex:1;width:100%;min-height:0}body[data-view=studio] .topbar{height:68px;flex-shrink:0}body[data-view=studio] .composer-wrap{flex-shrink:0;width:min(760px,calc(100% - 68px));padding-top:6px;margin-bottom:8px}body[data-view=studio] textarea{min-height:46px;height:48px;max-height:100px;font-size:14px}body[data-view=studio] .composer{border-radius:17px;padding:11px 12px 9px}body[data-view=studio] .composer-bottom{margin-top:6px}body[data-view=studio] .composer-footer{padding-bottom:4px}.base-chip{display:flex;align-items:center;gap:8px;font-size:11px;color:#677062;margin-bottom:8px}.base-chip img{width:23px;height:28px;object-fit:cover;border-radius:3px}.base-chip .icon-btn{width:25px;height:25px;min-width:25px;padding:6px;color:#999}.base-chip .icon-btn svg{width:13px}.attachments{display:flex;gap:10px;flex-wrap:wrap;padding:1px 5px 10px}.attachment{display:flex;align-items:center;gap:7px;font-size:11px;padding:4px 4px 4px 5px;border:1px solid #e2e2e2;border-radius:8px}.attachment img{width:31px;height:35px;object-fit:cover;border-radius:4px}.attachment small{display:block;font-size:10px;color:var(--muted);max-width:90px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin-top:3px}.attachment .icon-btn{width:26px;min-width:26px;height:30px;padding:6px}.attachment .icon-btn svg{width:13px}.generation-state{max-width:340px;text-align:center;line-height:1.7;font-size:14px;color:#525252;padding:20px}.generation-state p{font-size:12px;color:var(--muted);margin:12px 0 17px}.generation-state h2{font-size:17px;font-weight:500}.spinner{display:block;width:25px;height:25px;border:2px solid #d6dbd1;border-top-color:#626e59;border-radius:50%;animation:spin 1s linear infinite;margin:0 auto 20px}.failure-mark{display:grid;place-items:center;margin:0 auto 15px;width:34px;height:34px;border-radius:50%;border:1px solid #c6b2a3;color:#906a53;font-size:18px}.full{width:100%}.library{width:min(960px,calc(100% - 72px));padding-top:42px}.library-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:15px}.library h1{font-size:30px;font-weight:550}.library-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:28px 22px;margin-top:30px}.library-card{text-align:left;padding:0}.library-card>img{width:100%;height:260px;object-fit:cover;border-radius:12px;display:block;margin-bottom:13px}.library-card strong{display:block;font-size:14px;font-weight:500}.library-card small{display:block;color:var(--muted);font-size:11px;margin-top:7px}.library-empty{grid-column:1/-1;border:1px dashed #d9d9d9;text-align:center;padding:75px 20px;border-radius:15px;line-height:2.5;color:var(--muted)}dialog{border:1px solid #e8e8e8;border-radius:21px;padding:26px;width:440px;max-width:calc(100vw - 32px);max-height:calc(100dvh - 40px);color:#252525;box-shadow:0 25px 100px #0002}dialog::backdrop{background:#00000030;backdrop-filter:blur(5px)}.dialog-header{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:8px}.dialog-header h2{font-size:19px;font-weight:560}.dialog-header .icon-btn{margin-right:-10px;margin-top:-5px}.dialog-header~.muted{font-size:12px;margin-bottom:26px}fieldset{border:0;padding:0;margin:25px 0}legend{font-size:13px;font-weight:500;margin-bottom:13px}.ratio-options{display:grid;grid-template-columns:repeat(5,1fr);gap:5px}.ratio-choice{border:1px solid #e4e4e4;border-radius:10px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;height:94px;font-size:12px;padding:7px 3px}.ratio-choice i{display:block;border:1.5px solid #949494;border-radius:2px;height:23px;aspect-ratio:var(--r);max-width:30px}.ratio-choice small{font-size:10px;color:var(--muted)}.ratio-choice[aria-pressed=true],.count-choice[aria-pressed=true]{border-color:#555a50;background:#f1f4ef;box-shadow:inset 0 0 0 .5px #555a50}.ratio-choice[aria-pressed=true] i{border-color:#52634a}.count-options{display:grid;grid-template-columns:repeat(4,1fr);gap:9px}.count-choice{height:43px;border-radius:9px;border:1px solid #e4e4e4;font-size:13px}.settings-summary{display:flex;justify-content:space-between;font-size:11px;color:var(--muted);padding:15px 0 20px;border-top:1px solid var(--line)}.upload-choice{display:flex;align-items:center;gap:13px;width:100%;text-align:left;padding:17px 12px;border:1px solid #e5e5e5;border-radius:12px;margin:12px 0}.upload-choice:hover{background:var(--surface)}.upload-choice>svg:last-child{margin-left:auto;width:16px}.upload-choice strong{font-size:14px;font-weight:500}.upload-choice small{display:block;margin-top:6px;font-size:11px;color:var(--muted)}.upload-note,.privacy-note{font-size:11px;line-height:1.8;color:var(--muted);margin:18px 0 0}.privacy-note{padding-top:14px;border-top:1px solid var(--line)}.about-dialog{width:510px}.about-dialog>p{font-size:13px;line-height:1.85;color:var(--muted);margin:12px 0}.about-dialog ol{padding-left:23px;margin:23px 0}.about-dialog li{padding-left:4px;margin:17px 0;font-size:14px}.about-dialog li p{font-size:12px;line-height:1.8;color:var(--muted);margin-top:5px}.source-links a{text-decoration-color:#bbb;text-underline-offset:4px}.history-dialog{margin:12px 12px 12px auto;height:calc(100dvh - 24px);max-height:none;border-radius:17px;width:365px}.history-entry{border-bottom:1px solid var(--line);padding:24px 0}.history-entry strong{font-size:12px}.history-entry p{font-size:13px;line-height:1.9;margin:12px 0;white-space:pre-wrap;overflow-wrap:anywhere}.history-entry small{font-size:11px;color:var(--muted);line-height:1.8}.history-entry button{display:block;margin-top:14px}.focus-dialog{width:min(920px,calc(100vw - 40px));background:#f7f7f7}.focus-dialog #focusArt{height:min(65dvh,660px);display:flex;justify-content:center;padding:10px 0 20px}.focus-footer{display:flex;justify-content:flex-end;gap:10px}.rename-dialog input{width:100%;height:44px;border:1px solid #bfbfbf;border-radius:9px;padding:0 12px;margin:16px 0 22px;outline-color:#85b8ed}.toast{position:fixed;left:calc(50% + var(--side)/2);bottom:24px;transform:translate(-50%,15px);max-width:calc(100% - 30px);background:#252525;color:#fff;font-size:13px;line-height:1.6;padding:12px 18px;border-radius:12px;box-shadow:0 8px 25px #0002;z-index:100;opacity:0;pointer-events:none;transition:.2s}.toast.show{opacity:1;transform:translate(-50%,0)}.mobile-only{display:none}.scrim{position:fixed;inset:0;z-index:25;background:#0005;backdrop-filter:blur(3px)}@keyframes spin{to{transform:rotate(360deg)}}
@media(min-width:1600px){.welcome{padding-top:90px}.inspiration-art{height:200px}}
@media(max-width:1150px){:root{--side:188px}.sidebar{padding-left:11px;padding-right:11px}.brand{font-size:14px}.topbar{padding:0 26px}.studio{padding-left:24px;padding-right:24px}.saved{display:none}.inspiration-art{height:160px}.welcome{padding-top:36px}.studio-actions .round-btn{padding:0 10px}.key-hint{display:none}.artboards{gap:13px}.title-row h1{max-width:240px}}
@media(max-width:760px){:root{--side:0px}.sidebar{width:250px;transform:translateX(-100%);transition:transform .25s}.sidebar.open{transform:translateX(0)}.sidebar .brand{font-size:16px}.sidebar .mobile-only{margin-left:auto}.mobile-only{display:inline-flex}.topbar{height:68px;padding:0 15px}.top-title{gap:8px}.top-title strong{font-size:15px}.top-title .icon-btn{margin-left:-7px}.beta{display:none}.top-right{gap:0}.top-right .text-btn{font-size:12px}.welcome{padding:42px 18px 28px}.welcome-mark{margin-bottom:21px}.welcome h1{font-size:30px;letter-spacing:-1px}.welcome-copy{font-size:13px}.composer-wrap{width:calc(100% - 32px)}.composer{padding:15px 10px 10px;border-radius:19px}textarea{min-height:88px;font-size:14px;padding:0 5px}.generate-button{padding:0 13px;gap:6px;font-size:12px;min-height:44px}.option-button{padding:0 7px;font-size:12px;min-height:44px}.option-button .chevron{display:none}.composer-options{gap:0}.composer-footer{font-size:10px;gap:4px;padding:9px 3px}.model-info{font-size:10px}#costHint{font-size:10px}.inspiration{width:calc(100% - 32px);margin-top:27px}.section-title>span{display:none}.section-title{margin-bottom:13px}.inspiration-grid{gap:10px}.inspiration-art{height:132px;border-radius:9px}.sample-typeset{top:12px;left:9px;gap:6px}.sample-typeset small{display:none}.sample-typeset strong{font-size:15px}.minimal .sample-typeset strong{font-size:12px}.magazine .sample-typeset strong{font-size:18px}.card-caption{padding:10px 0;gap:5px}.card-caption strong{font-size:12px}.card-caption small{font-size:10px;letter-spacing:-.3px}.page-note{margin:33px 16px 24px;font-size:10px}.studio{padding:8px 12px 0}.studio-heading{align-items:flex-start;padding:0 3px 11px;gap:8px}.title-row h1{font-size:16px;max-width:180px}.title-row{gap:2px}#artMeta{font-size:10px}.studio-actions{gap:1px}.studio-actions .round-btn{border:0;width:37px;min-height:38px;padding:8px;background:#f7f7f7}.studio-actions .round-btn span:not(:first-child){display:none}.studio-actions .round-btn svg{width:17px}.canvas-zone{padding:31px 17px 58px;border-radius:11px;min-height:235px}.canvas-notice{font-size:9px;left:12px}.canvas-toolbar{bottom:10px}.canvas-toolbar .icon-btn{height:34px;min-width:35px}.canvas-toolbar .zoom-label{height:34px}.version-row{min-height:47px;padding:8px 0 5px}.version-tab{min-height:34px;font-size:11px;padding:0 10px}.version-hint{display:none}body[data-view=studio] .composer-wrap{width:calc(100% - 24px);padding-top:3px;margin-bottom:5px}body[data-view=studio] .topbar{height:59px}body[data-view=studio] textarea{font-size:13px;height:45px;min-height:45px}body[data-view=studio] .composer{padding:9px;border-radius:15px}body[data-view=studio] .composer-bottom{margin-top:3px}.base-chip{font-size:10px;margin-bottom:5px}.base-chip img{width:19px;height:24px}.canvas-zone.multi{overflow-x:auto;align-items:flex-start}.multi .artboards{justify-content:flex-start;width:max-content;min-width:100%;gap:20px}.multi .artboard{min-width:170px;max-width:240px}.multi .canvas-toolbar{position:fixed;bottom:auto;display:none}.artboard-label{font-size:10px}.select-art{min-height:32px}.library{padding-top:30px;width:calc(100% - 36px)}.library h1{font-size:25px}.library .eyebrow{font-size:10px}.library-grid{grid-template-columns:repeat(2,1fr);gap:23px 15px}.library-card>img{height:180px}.library-card strong{font-size:12px}.library-card small{font-size:10px}.toast{left:50%;bottom:18px;width:max-content;font-size:12px}.icon-btn{min-width:44px;height:44px}.round-btn{min-height:44px}.primary{min-height:44px}dialog{padding:22px;border-radius:19px}.ratio-choice{height:90px}.ratio-choice small{font-size:9px}.history-dialog{width:calc(100% - 20px);margin:10px}.focus-dialog{padding:17px}.focus-dialog .muted{font-size:10px}.focus-dialog .dialog-header h2{font-size:16px}.focus-dialog #focusArt{height:60dvh}.focus-footer .round-btn,.focus-footer .primary{font-size:12px}.attachment{gap:4px}.attachment small{max-width:58px}.generation-state{padding:8px}.generation-state h2{font-size:15px}.generation-state p{font-size:11px}}
@media(max-width:360px){.welcome h1{font-size:27px}.composer-footer{flex-wrap:wrap}.model-info{font-size:9px}.generate-button{padding:0 10px}.option-button{padding:0 5px}.toolbar-divider{margin:0 3px}.inspiration-art{height:116px}.card-caption small{font-size:9px}.title-row h1{max-width:145px}.composer-options svg{width:16px}.base-chip{gap:5px}.studio .canvas-zone{padding-left:10px;padding-right:10px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;animation:none!important;transition:none!important}}

/* 作品文字与界面断点无关，保持预览和导出排版一致。 */
.poster .sample-typeset small{display:block;line-height:1.2}.poster .sample-typeset strong{font-size:8.3cqw;font-weight:500;line-height:1.4}.poster.variant-1 .sample-typeset strong{font-size:6.7cqw}.poster-foot{line-height:1.2}
@media(max-width:760px){.select-art,.version-tab{min-height:44px}.base-chip .icon-btn{min-width:36px;min-height:36px}.canvas-toolbar .icon-btn,.canvas-toolbar .zoom-label{min-height:40px}.version-row{min-height:53px}}

/* 2026-10-04 品牌配色：对齐官网纯白、阿里蓝与日落橙。布局和交互不变。
   小字号白字按钮采用同色相较深蓝 #126be6（白字对比度 4.92:1）。 */
body,.app-main,.sidebar{background:var(--white)}
.brand-mark{color:var(--blue);border-color:#c8ddff;background:#f7faff}
.welcome-mark{color:var(--orange);border-color:#ffd9b5;background:var(--orange-soft)}
.beta{color:#9b4b0a;background:var(--orange-soft);border-color:#ffe0ce}
.status-dot{background:var(--orange)}
.new-design{color:var(--blue-deep)}
.new-design:hover,.nav-item:hover,.project-link:hover{background:#f5f8ff}
.project-link.active{color:var(--blue-deep);background:var(--blue-soft)}
.project-link.active small{color:#526d97}
.text-btn:hover,.source-links a{color:var(--blue-deep)}
.generate-button,.primary{background:var(--blue-action)}
.generate-button:hover:not(:disabled),.primary:hover{background:var(--blue-deep)}
.generate-button:disabled{opacity:1;background:#ededed;color:#999}
.composer:focus-within{border-color:var(--blue);box-shadow:0 0 0 3px #1677ff0c,0 5px 24px #00000005}
button:focus-visible,a:focus-visible{outline-color:var(--blue)}
.saved:not(:empty):before{color:var(--blue)}
.select-art[aria-pressed=true]{color:var(--blue-deep);border-color:#a8caff;background:var(--blue-soft)}
.base-chip{color:#42648f}
.version-tab.active{color:var(--blue-deep);background:var(--blue-soft)}
.ratio-choice[aria-pressed=true],.count-choice[aria-pressed=true]{border-color:var(--blue);background:var(--blue-soft);box-shadow:inset 0 0 0 .5px var(--blue);color:var(--blue-deep)}
.ratio-choice[aria-pressed=true] i{border-color:var(--blue)}
.spinner{border-color:var(--blue-soft);border-top-color:var(--blue)}
.failure-mark{color:#9b4b0a;border-color:#ffd9b5;background:var(--orange-soft)}
::selection{color:#fff;background:var(--blue-deep)}

/* 参数与历史管理：沿用品牌色与渐进展开，常用选项保持在第一层。 */
.project-row{display:flex;align-items:center;gap:2px;border-radius:9px;position:relative}.project-row .project-link{flex:1;min-width:0;padding-right:3px}.project-row.active{background:var(--blue-soft)}.project-row .delete-project{height:34px;min-width:30px;width:30px;padding:7px;color:#8a8a8a;margin-right:2px;opacity:0}.project-row:hover .delete-project,.project-row:focus-within .delete-project{opacity:1}.delete-project:hover{color:#b53a2e;background:#fff0ed}.delete-project svg{width:15px;height:15px}.library-item{position:relative;min-width:0}.library-item .library-card{width:100%}.library-item>.delete-project{position:absolute;right:8px;top:8px;min-width:36px;width:36px;height:36px;background:#fffffff0;opacity:0;box-shadow:0 2px 7px #0001}.library-item:hover>.delete-project,.library-item:focus-within>.delete-project{opacity:1}.delete-dialog{width:420px}.delete-dialog>p{line-height:1.8;font-size:13px;overflow-wrap:anywhere;margin:15px 0}.delete-actions{display:flex;gap:10px;justify-content:flex-end;margin-top:25px}.danger-button{min-height:44px;background:#bc372c;color:white;border-radius:10px;padding:0 18px;font-size:13px}.danger-button:hover{background:#a8271d}.toast{display:flex;align-items:center;gap:16px}.toast.show:has(button){pointer-events:auto}.toast button{color:#aaceff;white-space:nowrap;font-size:13px;font-weight:550;min-height:32px;padding:0 5px;border-radius:5px}.toast button:hover{background:#ffffff12}
.settings-dialog{width:480px;padding-bottom:23px}.settings-dialog fieldset{margin:20px 0}.settings-dialog>.dialog-header~.muted{margin-bottom:20px}.settings-dialog legend{font-size:13px;margin-bottom:11px}.setting-note{font-size:11px;line-height:1.7;color:var(--muted);margin-top:10px}.resolution-options{display:grid;grid-template-columns:repeat(3,1fr);gap:9px}.resolution-choice{display:flex;align-items:center;justify-content:center;gap:10px;height:47px;border:1px solid #e4e4e4;border-radius:9px;font-size:14px}.resolution-choice small{font-size:10px;color:var(--muted)}.resolution-choice[aria-pressed=true],.quality-choice[aria-pressed=true],.extra-ratio[aria-pressed=true]{border-color:var(--blue);background:var(--blue-soft);box-shadow:inset 0 0 0 .5px var(--blue);color:var(--blue-deep)}
#moreRatios{margin-top:9px}summary{cursor:pointer;list-style:none}summary::-webkit-details-marker{display:none}#moreRatios>summary{font-size:11px;color:#737373;padding:9px 0;width:100%;display:flex;gap:6px;align-items:center}summary:focus-visible{outline:2px solid var(--blue);outline-offset:3px;border-radius:4px}#moreRatios>summary:after,.advanced-settings>summary:after{content:'⌄';margin-left:auto;font-size:13px}#moreRatios[open]>summary:after,.advanced-settings[open]>summary:after{transform:rotate(180deg)}.extra-ratios{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;padding:4px 0}.extra-ratio{height:39px;border:1px solid #e4e4e4;border-radius:7px;font-size:12px}.extra-ratio small{font-size:10px;color:var(--muted);margin-left:8px}
.transparency-setting{display:flex;align-items:center;gap:11px;padding:18px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.transparency-setting label{flex:1;cursor:pointer}.transparency-setting strong{font-size:13px;font-weight:500;display:block}.transparency-setting small{font-size:11px;color:var(--muted);display:block;margin-top:5px}.checker-icon{width:33px;height:37px;border:1px solid #ddd;border-radius:6px;background-color:#fff;background-image:conic-gradient(#e3e6ea 25%,transparent 0 50%,#e3e6ea 0 75%,transparent 0);background-size:10px 10px;flex-shrink:0}.switch{width:43px;min-width:43px;height:26px;padding:3px;border-radius:20px;background:#d8d8dc;display:flex;align-items:center;transition:background .18s}.switch span{width:20px;height:20px;background:#fff;border-radius:50%;box-shadow:0 1px 3px #0002;transition:transform .18s}.switch[aria-checked=true]{background:var(--blue-action)}.switch[aria-checked=true] span{transform:translateX(17px)}.transparency-hint{color:#79502e;background:#fff8f1;border:1px solid #ffe7ce;border-radius:8px;padding:9px 11px;margin:10px 0 0}.advanced-settings{border-top:1px solid var(--line)}.advanced-settings>summary{display:flex;align-items:center;gap:10px;min-height:48px;font-size:12px}.advanced-settings>summary>span{font-size:10px;color:var(--muted);margin-left:auto}.advanced-settings>summary:after{margin-left:0}.quality-options{display:grid;grid-template-columns:repeat(5,1fr);gap:6px}.quality-choice{height:57px;border:1px solid #e4e4e4;border-radius:8px;font-size:12px}.quality-choice small{display:block;font-size:10px;color:var(--muted);margin-top:6px}.legend-note{font-size:10px;color:var(--muted);font-weight:400;margin-left:10px}.custom-toggle-row{display:flex;align-items:center;justify-content:space-between;font-size:12px;min-height:44px;margin-top:10px}.dimension-fields{display:flex;align-items:center;gap:14px;margin-top:14px}.dimension-fields>label{flex:1;font-size:11px}.dimension-fields>label>span{color:var(--muted);font-size:10px}.dimension-fields>span{padding-top:18px;color:#999}.dimension-fields select{font:inherit;font-size:14px;color:#252525;margin-top:7px;width:100%;height:41px;background:#fff;border:1px solid #ddd;border-radius:7px;padding:0 10px}.settings-dialog .settings-summary{margin-top:11px;padding-top:15px;padding-bottom:17px}.settings-dialog #settingsDone{position:sticky;bottom:0;z-index:1;box-shadow:0 -9px 0 3px #fff}.settings-dialog #settingsDone:disabled{opacity:1;background:#ededed;color:#999}.output-option{color:var(--blue-deep);font-size:11px}.composer-transparent-note{margin:0 6px 8px;font-size:10px;color:#79502e}.poster.transparent-poster{background-color:#fff;background-image:conic-gradient(#e5e7eb 25%,transparent 0 50%,#e5e7eb 0 75%,transparent 0);background-size:18px 18px}.poster.transparent-poster>img{object-fit:contain;object-position:center;padding:7%}.transparent-poster .poster-foot,.transparent-poster .sample-typeset{display:none}
@media(max-width:760px){.project-row .delete-project{opacity:1;width:40px;min-width:40px;height:44px}.library-item>.delete-project{opacity:1;width:40px;min-width:40px;height:44px}.settings-dialog{padding:20px;max-height:calc(100dvh - 24px)}.resolution-choice{gap:5px}.resolution-choice small{font-size:9px}.transparency-setting{gap:9px}.transparency-setting small{font-size:10px}.switch{height:32px;padding:6px 3px}.custom-toggle-row{min-height:48px}.advanced-settings>summary{min-height:48px}.quality-choice{font-size:11px}.extra-ratio{height:44px}.output-option{padding:0 6px!important}.composer-options{gap:0}.composer-options>.option-button{padding-left:5px;padding-right:5px}.composer-options>.option-button svg{width:14px}.legend-note{display:block;margin:6px 0 0}.toast{gap:10px}.toast button{min-height:44px}.delete-actions>button{min-height:44px}}
@media(max-width:360px){.output-option{font-size:10px;padding:0 4px!important}.composer-options .toolbar-divider{display:none}.composer-options .option-button{gap:4px}.composer-options .option-button:has(#countLabel)>svg{display:none}.transparency-setting small{max-width:175px;line-height:1.6}.resolution-choice{font-size:13px}.resolution-choice small{font-size:9px}}

.attachments{max-height:140px;overflow-y:auto;scrollbar-width:thin}
@media(max-width:760px){.attachments{max-height:115px}.toast{overflow-wrap:anywhere}.toast>span{min-width:0}}
/* 正式图片保持原始构图；透明棋盘只存在于预览背景。 */
.poster>img,.poster.transparent-poster>img{object-fit:contain;object-position:center;padding:0}.poster{flex-shrink:0}.text-btn{text-decoration:none}.experience-access{display:flex;align-items:center;justify-content:flex-end;gap:12px;font-size:11px;color:var(--muted);padding:8px 6px 0}.experience-access .text-btn{font-size:11px;color:var(--blue-deep)}#experienceCode{width:100%;height:44px;border:1px solid #c9cdd3;border-radius:9px;padding:0 12px;margin:14px 0}#experienceHint{margin:3px 0 20px;font-size:12px}.draft-placeholder{height:200px;border-radius:12px;background:var(--blue-soft);display:grid;place-items:center;color:var(--blue-deep);margin-bottom:13px}.result-placeholder{width:100%;height:100%;min-height:100px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;border:1px solid var(--line);border-radius:12px;background:#fff;padding:16px;font-size:12px;overflow:auto}.result-placeholder .spinner{margin:0 0 14px;flex-shrink:0}.result-placeholder p{font-size:11px;color:var(--muted);line-height:1.65;margin:10px 0;overflow-wrap:anywhere}.result-placeholder .round-btn{min-height:36px;padding:0 8px;font-size:11px;flex-shrink:0}.result-placeholder.has-error{background:#fff8f3}.result-placeholder .failure-mark{flex-shrink:0}.art-download{display:grid;place-items:center;width:28px;height:28px;border-radius:8px;color:var(--blue-deep);background:white}.art-download svg{width:15px;height:15px}.history-sources{display:flex;flex-direction:column;gap:6px;margin-top:10px}.history-sources>span{display:flex;align-items:center;gap:8px;font-size:11px;color:var(--muted);overflow-wrap:anywhere}.history-sources img{width:35px;height:35px;object-fit:cover;border-radius:5px}body[data-view=studio] .studio{min-height:350px}body[data-view=studio] .app-main{min-height:100dvh;height:auto}body[data-view=studio] .main-content{min-height:calc(100dvh - 68px)}.studio .canvas-zone{height:clamp(300px,calc(100dvh - 360px),800px);flex:none}.focus-dialog #focusArt .poster{max-width:100%;height:100%}
@media(max-width:760px){body[data-view=studio] .main-content{min-height:calc(100dvh - 59px)}.studio .canvas-zone{height:clamp(250px,calc(100dvh - 355px),650px)}.experience-access{padding-top:6px;font-size:10px}.art-download{width:32px;height:32px}.result-placeholder{padding:12px}.result-placeholder strong{font-size:11px}.result-placeholder .failure-mark{width:26px;height:26px;margin-bottom:8px}.result-placeholder .round-btn{font-size:10px}.canvas-zone .artboard-label{gap:5px}.select-art{padding:0 7px}.canvas-zone.multi .artboard{min-width:130px}.studio-actions .round-btn[disabled]{opacity:.3}}
@media(max-width:360px){.composer-bottom{flex-wrap:wrap;gap:5px}.composer-options{flex:1 1 100%;justify-content:space-between}.composer-bottom>.generate-button{margin-left:auto;min-width:115px}.composer-options .output-option{padding:0 7px!important}}
/* 画布为输入区让出空间，附件增多时仍优先保留可操作区域。 */
body[data-view=studio] .app-main{height:100dvh}body[data-view=studio] .main-content{min-height:0}body[data-view=studio] .studio{min-height:280px}.studio .canvas-zone{height:auto;flex:1;min-height:200px}
@media(max-width:760px){body[data-view=studio] .main-content{min-height:0}body[data-view=studio] .studio{min-height:265px}.studio .canvas-zone{min-height:185px}}

/* 站长身份与文件拖入 */
.access-badge{min-height:36px;display:inline-flex;align-items:center;gap:7px;padding:0 11px;border:1px solid var(--line);border-radius:20px;background:#fff;color:var(--muted);font-size:12px;white-space:nowrap;cursor:pointer}.access-dot{width:6px;height:6px;border-radius:50%;background:#9299a4}.access-badge[data-status=owner]{color:var(--blue-deep);background:var(--blue-soft);border-color:#d2e5ff}.access-badge[data-status=owner] .access-dot{background:var(--blue)}.access-badge[data-status=unknown] .access-dot{background:#ff7a00}.access-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:24px}.access-actions a{text-decoration:none;display:inline-flex;align-items:center;gap:8px}.access-actions svg{width:16px;height:16px}.drop-overlay{position:fixed;inset:12px;z-index:1000;pointer-events:none;display:grid;place-items:center;border:2px dashed #1677ff;border-radius:22px;background:rgba(239,246,255,.96)}.drop-overlay>div{display:grid;justify-items:center;gap:15px;padding:24px;color:var(--blue-deep);text-align:center}.drop-overlay svg{width:42px;height:42px}.drop-overlay strong{font-size:24px;font-weight:600}.drop-overlay>div>span:last-child{font-size:13px;color:var(--muted)}
@media(max-width:760px){.access-badge{min-height:44px;font-size:11px;padding:0 9px;gap:5px}.top-right{gap:6px}.drop-overlay{inset:8px}.drop-overlay strong{font-size:20px}.top-right>.saved{display:none}}
