:root{--bg: #101114;--panel: rgba(24, 24, 28, .78);--border: rgba(255, 255, 255, .11);--text: #f6f7fb;--muted: #a4adbf;--cyan: #45d8ff;--violet: #9b5cff;--magenta: #ff4fd8;--mint: #5ef3b4;font-family:Inter,PingFang SC,Microsoft YaHei,Arial,sans-serif}*{box-sizing:border-box}body{margin:0;color:var(--text);background:linear-gradient(180deg,#101114e6,#121216fa),#101114}body:before{content:"";position:fixed;top:0;right:0;bottom:0;left:0;pointer-events:none;background-image:linear-gradient(rgba(255,255,255,.035) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.03) 1px,transparent 1px);background-size:42px 42px;z-index:0}button,textarea,input,select{font:inherit}a{color:inherit;text-decoration:none}.app-shell{position:relative;z-index:1;min-height:100vh}.public-shell{color:#111827;background:#f7f8fa}.public-shell .nav{border-bottom-color:#11182714;background:#f7f8fad1}.public-shell .nav-links,.public-shell .creator-heading p,.public-shell .section-head p,.public-shell .gallery-item p{color:#8b96a5}.public-shell .brand strong,.public-shell .hero-copy,.public-shell .section-head h2,.public-shell .gallery-item h3{color:#101418}.public-shell .eyebrow{display:none}.public-shell h1{margin:14px 0 10px;font-size:clamp(2rem,2.65vw,2.55rem);font-weight:700}.public-shell h1>span:nth-child(2){color:#00a4c8}.nav{position:sticky;top:0;z-index:20;display:flex;align-items:center;justify-content:space-between;min-height:72px;padding:0 48px;border-bottom:1px solid var(--border);background:#101114b8;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px)}.brand{display:flex;align-items:baseline;gap:12px;white-space:nowrap}.brand strong{font-size:1.2rem;font-weight:900}.brand span,.creator-heading h1 span{color:var(--cyan)}.nav-links{display:flex;align-items:center;gap:28px;color:var(--muted)}.nav-auth{display:inline-flex;align-items:center;gap:12px}.nav-user{max-width:140px;overflow:hidden;color:var(--muted);text-overflow:ellipsis;white-space:nowrap}.nav-action{min-height:36px;border:1px solid var(--border);border-radius:8px;padding:0 14px;color:inherit;background:#ffffff0f;cursor:pointer}.nav-action.primary{border-color:#45d8ff5c;color:#071016;background:var(--cyan)}.public-shell .nav-action{border-color:#1118271f;color:#111827;background:#fff}.public-shell .nav-action.primary{border-color:transparent;color:#fff;background:#111827}.public-shell .nav-user{color:#6b7280}.quota{display:inline-flex;align-items:center;gap:10px;min-height:36px;padding:0 14px;border:1px solid rgba(94,243,180,.28);border-radius:999px;color:#ccffe9;background:#5ef3b414}.quota i{width:8px;height:8px;border-radius:50%;background:var(--mint)}.creation-home,.gallery{width:min(1340px,calc(100% - 64px));margin:0 auto}.creation-home{position:relative;z-index:3;padding:70px 0 36px}.creator-heading{text-align:center;padding:18px 0 30px}.eyebrow{display:inline-flex;align-items:center;min-height:34px;padding:0 12px;border:1px solid rgba(69,216,255,.28);border-radius:999px;color:#dff9ff;background:#45d8ff14;font-weight:700}h1{display:flex;justify-content:center;gap:.35em;margin:22px 0 12px;font-size:3.15rem;line-height:1.2;overflow-wrap:anywhere;text-wrap:balance}.creator-heading p,.section-head p,.gallery-item p{color:var(--muted);line-height:1.8}.prompt-composer{position:relative;display:grid;gap:16px;min-height:260px;padding:22px;border:1px solid rgba(255,255,255,.13);border-radius:28px;background:linear-gradient(180deg,#ffffff17,#ffffff0b),var(--panel);box-shadow:0 28px 90px #00000052,inset 0 1px #ffffff14;-webkit-backdrop-filter:blur(22px);backdrop-filter:blur(22px)}.public-shell .prompt-composer{min-height:260px;border:1px solid rgba(17,24,39,.06);border-radius:32px;background:#fffffff5;box-shadow:0 28px 70px #1118271c,inset 0 1px #ffffffe6}.sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.composer-body{display:grid;grid-template-columns:78px minmax(0,1fr);gap:20px;min-width:0}.composer-body.multi-slot-mode{grid-template-columns:minmax(0,1fr)}.upload-tile{position:relative;overflow:hidden;width:68px;height:90px;border:1px solid rgba(255,255,255,.12);border-radius:10px;color:#ccd4e2;background:#ffffff14;cursor:pointer;transform:rotate(-8deg);font-size:2rem}.public-shell .upload-tile{border-color:#1118270f;color:#8c98a8;background:#f1f3f5}.upload-tile.filled{border-color:#00a4c847;background:#fff}.upload-tile.loading:after{position:absolute;top:0;right:0;bottom:0;left:0;display:grid;place-items:center;color:#fff;background:#1118275c;content:"上传中";font-size:.75rem;transform:rotate(8deg)}.upload-tile img{width:100%;height:100%;object-fit:cover;transform:rotate(8deg) scale(1.18)}.composer-input-stack{position:relative;display:flex;min-width:0;flex-direction:column;gap:10px}.selected-skill-pill{display:inline-flex;width:fit-content;max-width:100%;align-items:center;gap:8px;border:0;color:#5d6b7d;background:transparent;cursor:pointer;font-size:1.08rem;line-height:1.3}.selected-skill-pill i{color:#627489;font-style:normal;font-weight:700}.selected-skill-pill span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.composer-textarea{width:100%;min-width:0;min-height:145px;border:0;outline:0;resize:none;color:var(--text);background:transparent;font-size:1.12rem;line-height:1.8}.public-shell .composer-textarea{color:#111827}.composer-textarea::placeholder{color:#9da7b8}.slash-template-popover{position:absolute;z-index:8;top:44px;left:0;display:grid;width:min(620px,100%);max-height:360px;overflow:auto;padding:8px;border:1px solid rgba(17,24,39,.08);border-radius:16px;background:#fffffffa;box-shadow:0 22px 55px #11182729}.slash-template-popover button{display:grid;gap:5px;width:100%;padding:12px;border:0;border-radius:12px;color:#111827;background:transparent;cursor:pointer;text-align:left}.slash-template-popover button.active,.slash-template-popover button:hover{background:#f0f2f4}.slash-template-popover span{display:flex;align-items:center;justify-content:space-between;gap:12px}.slash-template-popover strong{font-size:.98rem}.slash-template-popover em{flex:0 0 auto;color:#00a4c8;font-style:normal;font-size:.82rem}.slash-template-popover p{display:-webkit-box;margin:0;overflow:hidden;color:#708094;font-size:.88rem;line-height:1.45;-webkit-box-orient:vertical;-webkit-line-clamp:2}.slash-template-empty{padding:16px;color:#8b97a8;font-size:.92rem}.reference-row{display:flex;flex-wrap:wrap;align-items:center;gap:10px}.reference-ready-label{color:#536273;font-size:.86rem;font-weight:700}.reference-pill{display:inline-flex;max-width:100%;align-items:center;gap:8px;padding:7px 10px;border:1px solid rgba(17,24,39,.08);border-radius:999px;color:#536273;background:#f7f8fa;font-size:.86rem}.reference-pill strong{max-width:220px;overflow:hidden;color:#111827;font-weight:600;text-overflow:ellipsis;white-space:nowrap}.reference-pill button{border:0;color:#00a4c8;background:transparent;cursor:pointer}.reference-slot-panel{display:grid;gap:12px;margin-top:4px}.reference-slot{display:grid;gap:8px;padding:12px;border:1px solid rgba(17,24,39,.08);border-radius:8px;background:#f7f8fa}.reference-slot-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.reference-slot-head div{display:grid;gap:3px;min-width:0}.reference-slot-head strong{color:#111827;font-size:.95rem}.reference-slot-head span,.reference-slot p{color:#6b7280;font-size:.84rem;line-height:1.5}.reference-slot-head em{flex:0 0 auto;color:#00a4c8;font-style:normal;font-weight:700}.reference-slot p{margin:0}.reference-slot-grid{display:flex;flex-wrap:wrap;gap:10px}.slot-upload-button{position:relative;overflow:hidden;border-radius:8px}.slot-upload-button{width:auto;min-width:96px;min-height:42px;padding:0 14px;border:1px dashed rgba(17,24,39,.18);color:#536273;background:#fff;cursor:pointer;font-weight:700}.slot-upload-button.loading,.slot-upload-button:disabled{cursor:not-allowed;opacity:.66}.slot-reference-preview-row{align-items:flex-start;padding-top:2px}.slot-preview-card{position:relative;display:grid;grid-template-columns:54px minmax(0,1fr);align-items:center;gap:8px;width:min(190px,100%);min-height:66px;padding:6px 32px 6px 6px;border:1px solid rgba(17,24,39,.08);border-radius:8px;background:#f7f8fa}.slot-preview-card img{width:54px;height:54px;border-radius:6px;object-fit:cover}.slot-preview-card span{overflow:hidden;color:#111827;font-size:.84rem;font-weight:700;text-overflow:ellipsis;white-space:nowrap}.slot-preview-card button{position:absolute;top:6px;right:6px;border:0;color:#00a4c8;background:transparent;cursor:pointer;font-size:.78rem}.inline-error,.composer-error{margin:0;color:#c2410c;font-size:.9rem}.composer-error{padding:0 2px}.composer-toolbar,.discover-bar{display:flex;align-items:center;justify-content:space-between;gap:16px}.composer-tools,.discover-tabs{display:flex;flex-wrap:wrap;gap:8px;min-width:0}.composer-chip,.discover-tab,.mini-btn{min-height:42px;padding:0 14px;border:1px solid rgba(255,255,255,.12);border-radius:10px;color:#dbe2ef;background:#ffffff12;cursor:pointer}.composer-chip{display:inline-flex;align-items:center;justify-content:center;gap:8px;white-space:nowrap}.composer-chip i{font-style:normal;line-height:1}.public-shell .composer-chip,.public-shell .discover-tab,.public-shell .mini-btn{border-color:#11182714;color:#101418;background:#fff;box-shadow:0 1px 2px #1118270a}.composer-chip.active,.discover-tab.active{border-color:#45d8ff6b;color:#e9fbff;background:#45d8ff1f}.public-shell .composer-chip.active,.public-shell .discover-tab.active{border-color:#11182714;color:#00a4c8;background:#f0f0f0}.ratio-quality-chip{min-width:176px}.ratio-quality-chip span{margin-left:0}.ratio-chip-icon{display:inline-flex;width:18px;align-items:center;justify-content:center}.creation-mode-chip{cursor:default}.icon-chip{width:54px;padding:0;font-weight:700}.ratio-picker,.skill-picker{display:inline-flex;position:relative}.skill-chip{min-width:126px}.selected-skill-row{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-top:10px}.selected-skill-row>span{color:#7b8794;font-size:.86rem}.selected-skill-row button{display:inline-flex;align-items:center;gap:8px;min-height:32px;border:1px solid rgba(0,164,200,.22);border-radius:8px;color:#007f9e;background:#eefcff;cursor:pointer}.selected-skill-row i{font-style:normal}.composer-side-actions{display:inline-flex;flex:0 0 auto;align-items:center;gap:18px;margin-left:auto}.image-count{color:#556273;font-size:1rem;white-space:nowrap}.generate-orb{flex:0 0 54px;width:54px;height:54px;border:0;border-radius:50%;color:#fff;background:linear-gradient(135deg,var(--cyan),var(--violet),var(--magenta));box-shadow:0 0 34px #9b5cff57;cursor:pointer;font-size:1.45rem;font-weight:900}.public-shell .generate-orb{color:#fff;background:#111318;box-shadow:0 12px 28px #11182729}.public-shell .generate-orb:disabled{background:#d9dde2;filter:none}.slash-hint{position:absolute;left:310px;bottom:84px;z-index:5;padding:16px 24px;border-radius:10px;color:#fff;background:#20242b;box-shadow:0 12px 28px #11182738}.skill-popover,.preference-popover{position:absolute;z-index:8;border:1px solid rgba(17,24,39,.06);border-radius:16px;color:#101418;background:#fffffffa;box-shadow:0 26px 70px #11182724}.skill-popover{right:0;top:calc(100% + 10px);bottom:auto;display:grid;gap:12px;width:min(420px,calc(100vw - 40px));max-height:320px;padding:14px;overflow:hidden}.skill-search,.popover-search{display:flex;align-items:center;gap:10px;min-height:46px;border-bottom:1px solid rgba(17,24,39,.08);color:#9aa5b3}.skill-search input,.popover-search input{width:100%;border:0;outline:0;color:#101418;background:transparent}.skill-list{display:grid;gap:4px;max-height:238px;overflow-y:auto}.skill-list button{display:grid;gap:8px;width:100%;padding:10px 8px;border:0;border-radius:8px;color:#101418;text-align:left;background:transparent;cursor:pointer}.skill-list button:hover,.skill-list button.selected{background:#f6f8fb}.skill-list strong{display:flex;align-items:center;gap:8px;font-weight:700}.skill-list strong i{font-style:normal}.skill-list em{padding:2px 6px;border-radius:6px;color:#667085;background:#f0f2f5;font-size:.75rem;font-style:normal}.skill-list span,.skill-list p{margin:0;color:#7b8794;font-size:.92rem;line-height:1.5}.skill-row{display:grid;grid-template-columns:30px minmax(0,1fr) 24px;align-items:center;gap:12px;padding:10px 4px;border:0;border-radius:10px;color:#101418;text-align:left;background:transparent;cursor:pointer}.skill-row:hover{background:#f6f8fb}.skill-row.selected{background:#f0f0f0}.skill-row i{font-style:normal;color:#111318}.skill-row span{display:grid;gap:5px}.skill-row em{padding:2px 6px;border-radius:6px;color:#697586;background:#f0f2f5;font-size:.75rem;font-style:normal;font-weight:500}.skill-row small{color:#8b96a5;font-size:.9rem}.skill-row b{color:#111318;font-size:1.1rem;text-align:center}.preference-popover{top:calc(100% + 10px);left:0;bottom:auto;display:grid;gap:18px;width:min(620px,calc(100vw - 40px));padding:22px 26px 24px}.popover-title{display:flex;align-items:center;justify-content:space-between}.popover-title span{display:inline-flex;align-items:center;gap:10px;color:#667085}.popover-title i{width:40px;height:22px;border-radius:999px;background:#12bfd1}.ratio-grid,.resolution-grid{display:grid;gap:8px;padding:8px;border-radius:14px;background:#fafbfc}.ratio-grid button,.resolution-grid button{min-height:42px;border:0;border-radius:10px;color:#808a97;background:transparent;cursor:pointer}.ratio-grid button.selected,.resolution-grid button.selected{color:#101418;background:#fff;box-shadow:0 1px 8px #1118270f}.field-label{color:#7d8896}.ratio-grid{grid-template-columns:repeat(8,minmax(0,1fr))}.ratio-grid button{display:grid;place-items:center;gap:6px;color:#101820;font-size:.98rem}.ratio-icon{display:block;box-sizing:border-box;width:18px;height:12px;border:2px solid currentColor;border-radius:4px;color:#151c24}.ratio-icon-smart{position:relative;width:18px;height:18px}.ratio-icon-smart:before{position:absolute;top:4px;right:4px;bottom:4px;left:4px;border:2px solid currentColor;border-radius:2px;content:""}.ratio-icon-wide{width:22px;height:8px}.ratio-icon-landscape{width:20px;height:10px}.ratio-icon-square{width:17px;height:17px}.ratio-icon-portrait{width:12px;height:21px}.ratio-icon-tall{width:10px;height:23px}.ratio-grid button.selected .ratio-icon,.ratio-quality-chip .ratio-icon{color:#101820}.resolution-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.resolution-grid button{color:#101418;font-size:1rem}.resolution-grid i{color:#00a4c8;font-style:normal}.size-grid{display:grid;grid-template-columns:minmax(0,1fr) 38px minmax(0,1fr) 40px;align-items:center;gap:14px}.size-grid label{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:14px;min-height:60px;padding:0 24px;border-radius:10px;background:#f6f7f9}.size-grid label span,.size-grid em{color:#4c5b6d;font-style:normal}.size-grid label strong{color:#101418;font-size:1.08rem;font-weight:500;text-align:right}.size-grid b{height:16px;border-top:3px solid #536273;border-bottom:3px solid #536273;border-radius:3px;opacity:.9}.size-grid.muted label span,.size-grid.muted label strong,.size-grid.muted b{color:#c8d0da;opacity:.72}.generate-orb:disabled{cursor:not-allowed;filter:grayscale(.8);opacity:.6}.status-panel{display:grid;gap:12px;width:min(620px,100%);margin:18px auto 0;padding:16px;border:1px solid rgba(69,216,255,.22);border-radius:12px;background:#05080ec7}.status-panel div:first-child{display:flex;justify-content:space-between;gap:14px}.status-panel span{color:var(--muted)}.progress-track{height:9px;overflow:hidden;border-radius:999px;background:#ffffff1a}.progress-track i{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,var(--cyan),var(--mint))}.download-link{color:var(--cyan);font-weight:800}.result-preview{width:min(360px,100%);border-radius:8px;object-fit:cover}.discover-bar{justify-content:flex-start;margin-top:54px}.search-box{display:flex;align-items:center;width:min(420px,100%);min-height:44px;padding:0 16px;border:1px solid rgba(255,255,255,.11);border-radius:10px;color:#aeb7c8;background:#ffffff0e}.public-shell .search-box{border-color:#11182714;color:#657083;background:#ffffffd1}.gallery{position:relative;z-index:1;padding:44px 0 86px}.section-head{max-width:760px;margin-bottom:28px}.section-head h2{margin:0 0 8px;font-size:2rem}.gallery-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(28px,3.4vw,48px)}.work{position:relative;overflow:hidden;border-radius:8px;background:#ffffff0f}.public-shell .work{background:#fff}.work img{display:block;width:100%;aspect-ratio:1 / 1.18;object-fit:cover;transition:transform .35s ease}.work:hover img{transform:scale(1.04)}.work-actions{position:absolute;left:16px;right:16px;bottom:16px;display:flex;gap:8px;opacity:0;transition:opacity .25s ease}.work:hover .work-actions{opacity:1}.mini-btn.hot{border-color:#ff4fd85c;background:#ff4fd829}.gallery-item h3{margin:28px 0 0;white-space:pre-line;font-size:1.9rem;line-height:1.35}.gallery-item p{margin:18px 0 0}.content-portfolio{position:relative;z-index:1;width:min(1340px,calc(100% - 64px));margin:0 auto;padding:26px 0 86px;border-top:1px solid rgba(17,24,39,.08)}.portfolio-head{max-width:820px}.section-kicker{display:inline-flex;margin-bottom:12px;color:#00a4c8;font-size:.78rem;font-weight:800;letter-spacing:.12em;text-transform:uppercase}.portfolio-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:clamp(18px,2.4vw,30px);align-items:stretch}.portfolio-card{position:relative;display:flex;min-width:0;height:100%;flex-direction:column;padding:12px;border:1px solid rgba(17,24,39,.08);border-radius:8px;background:#fff;box-shadow:0 1px 2px #1118270a;transition:border-color .22s ease,box-shadow .22s ease,transform .22s ease}.portfolio-card.is-open{z-index:10}.portfolio-card:hover{border-color:#11182729;box-shadow:0 18px 42px #1118271a;transform:translateY(-3px)}.portfolio-cover{display:block;overflow:hidden;width:100%;aspect-ratio:4 / 5;border-radius:6px;background:#eef1f5;outline:none}.portfolio-cover:focus-visible{box-shadow:0 0 0 4px #00a4c82e}.portfolio-cover img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .42s ease}.portfolio-card:hover .portfolio-cover img{transform:scale(1.04)}.portfolio-body{display:flex;flex:1;min-height:238px;flex-direction:column;justify-content:space-between;gap:18px;padding:18px 2px 2px}.portfolio-body>div:first-child{min-height:176px}.portfolio-meta{margin:0 0 10px;color:#00a4c8;font-size:.78rem;font-weight:800}.portfolio-body h3{margin:0;color:#101418;font-size:clamp(1.08rem,1.35vw,1.36rem);line-height:1.28}.portfolio-body p{margin:12px 0 0;color:#697586;line-height:1.7}.episode-panel{position:relative;display:grid;gap:12px}.episode-toggle{display:inline-flex;width:100%;min-height:44px;align-items:center;justify-content:center;gap:8px;border:1px solid rgba(17,24,39,.12);border-radius:8px;color:#101418;background:#f6f7f9;cursor:pointer;font-weight:800;transition:border-color .2s ease,background .2s ease,color .2s ease,box-shadow .2s ease}.episode-toggle:after{width:7px;height:7px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;content:"";transform:rotate(45deg) translateY(-2px);transition:transform .2s ease}.episode-toggle:hover,.episode-toggle[aria-expanded=true]{border-color:#00a4c8;color:#fff;background:#00a4c8}.episode-toggle[aria-expanded=true]:after{transform:rotate(225deg) translateY(-1px)}.episode-toggle:focus-visible{outline:none;box-shadow:0 0 0 4px #00a4c829}.episode-list{position:absolute;top:calc(100% + 12px);right:0;left:0;z-index:20;display:grid;grid-template-columns:repeat(auto-fill,minmax(38px,1fr));gap:8px;padding:12px;border:1px solid rgba(17,24,39,.08);border-radius:10px;background:#fff;box-shadow:0 18px 42px #11182724}.episode-list a{display:inline-flex;min-height:36px;align-items:center;justify-content:center;border:1px solid rgba(17,24,39,.08);border-radius:6px;color:#101418;background:#f6f7f9;font-size:.86rem;font-weight:800;transition:border-color .2s ease,background .2s ease,color .2s ease,transform .2s ease}.episode-list a:hover,.episode-list a:focus-visible{border-color:#111318;color:#fff;background:#111318;outline:none;transform:translateY(-2px)}.public-footer{position:relative;z-index:1;border-top:1px solid rgba(17,24,39,.08);background:#f4f6fa}.footer-bottom{display:flex;min-height:92px;width:min(1340px,calc(100% - 64px));margin:0 auto;align-items:center;justify-content:flex-start}.footer-legal{display:grid;gap:2px}.footer-bottom p,.footer-bottom a{margin:0;color:#4d5664;font-size:1rem;line-height:1.7;text-decoration:none}.footer-bottom a:hover,.footer-bottom a:focus-visible{color:#00a4c8;outline:none}.history-panel{padding-bottom:24px}.history-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:16px}.history-item{display:grid;gap:8px;padding:12px;border:1px solid var(--border);border-radius:8px;background:#ffffff0e}.history-item img,.history-empty{width:100%;aspect-ratio:1;border-radius:6px;object-fit:cover;background:#ffffff14}.history-empty{display:grid;place-items:center;color:var(--muted)}.history-item span{overflow:hidden;color:var(--muted);text-overflow:ellipsis;white-space:nowrap}.admin-shell{min-height:100vh;color:var(--text);background:#101114}.admin-login{display:grid;place-items:center;min-height:100vh;gap:24px;padding:24px}.admin-login-panel,.admin-form,.admin-section{border:1px solid var(--border);border-radius:8px;background:#ffffff0e}.admin-login-panel{display:grid;gap:14px;width:min(420px,100%);padding:24px}.admin-login-panel h1,.admin-title h1,.admin-form h2{margin:0}.admin-login-panel label,.admin-form{display:grid;gap:8px}.admin-login-panel input,.admin-form input,.admin-form select,.admin-form textarea,.admin-title select{width:100%;min-height:40px;padding:0 12px;border:1px solid var(--border);border-radius:8px;color:var(--text);background:#0000003d}.admin-form textarea{min-height:96px;padding-top:10px;resize:vertical}.admin-upload-row{display:grid;gap:8px;padding:10px;border:1px dashed var(--border);border-radius:8px;color:var(--muted);background:#ffffff0a}.admin-upload-row input{min-height:auto;padding:0;border:0;background:transparent}.admin-sidebar{position:fixed;inset:0 auto 0 0;z-index:30;display:grid;align-content:start;gap:10px;width:230px;padding:24px 16px;border-right:1px solid var(--border);background:#101114f0}.admin-sidebar .brand{margin-bottom:18px}.admin-sidebar button,.admin-primary,.admin-secondary,.admin-ghost,.admin-list button,.admin-table button{min-height:38px;border:1px solid var(--border);border-radius:8px;color:var(--text);background:#ffffff12;cursor:pointer}.admin-sidebar button.active,.admin-primary{border-color:#45d8ff75;background:#45d8ff29}.admin-sidebar button:disabled,.admin-primary:disabled,.admin-secondary:disabled,.admin-ghost:disabled,.admin-list button:disabled,.admin-table button:disabled{opacity:.45;cursor:not-allowed}.admin-main{display:grid;gap:18px;margin-left:230px;padding:28px}.admin-section{display:grid;gap:18px;padding:18px}.admin-title{display:flex;align-items:center;justify-content:space-between;gap:12px}.admin-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:12px}.admin-stats div{display:grid;gap:8px;padding:16px;border:1px solid var(--border);border-radius:8px;background:#0003}.admin-stats span,.admin-list span,.admin-table span{color:var(--muted)}.admin-stats strong{font-size:1.5rem}.split-section{grid-template-columns:minmax(280px,420px) minmax(0,1fr)}.admin-form{align-content:start;padding:16px}.admin-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.check-row{display:flex;align-items:center;gap:8px;color:var(--muted)}.check-row input{width:auto;min-height:auto}.admin-list,.admin-table{display:grid;gap:10px}.admin-list article,.admin-table article{display:grid;grid-template-columns:72px minmax(0,1fr) auto auto auto;align-items:center;gap:10px;padding:10px;border:1px solid var(--border);border-radius:8px;background:#0000002e}.admin-table article{grid-template-columns:72px minmax(0,1fr) repeat(4,auto)}.admin-list.compact article{grid-template-columns:minmax(0,1fr) auto auto}.admin-list img,.admin-table img{width:72px;height:72px;border-radius:6px;object-fit:cover}.admin-thumb-empty{display:grid;width:72px;height:72px;place-items:center;border:1px dashed rgba(255,255,255,.15);border-radius:6px;color:var(--muted);background:#ffffff0b;font-size:.78rem;overflow-wrap:anywhere;text-align:center}.admin-list div,.admin-table div{display:grid;gap:4px;min-width:0}.admin-table p{margin:0;overflow:hidden;color:var(--muted);text-overflow:ellipsis;white-space:nowrap}.admin-table .admin-reference-list{display:flex;flex-wrap:wrap;gap:6px;margin-top:4px}.admin-reference-list a{display:grid;grid-template-columns:28px auto minmax(0,1fr);align-items:center;gap:6px;max-width:min(100%,360px);border:1px solid rgba(255,255,255,.12);border-radius:8px;padding:4px 7px 4px 4px;color:#ffffffc7;background:#ffffff0e;text-decoration:none}.admin-reference-list img{width:28px;height:28px;border-radius:6px;object-fit:cover}.admin-reference-list span{margin:0;color:#ffffffe6;font-size:12px;font-weight:700}.admin-reference-list code{overflow:hidden;color:var(--muted);font-family:inherit;font-size:11px;text-overflow:ellipsis;white-space:nowrap}.admin-error{margin:0;color:#ff9ab8}.admin-notice{margin:0;color:#8ef0c2}.member-admin-section{gap:22px}.member-admin-grid{display:grid;grid-template-columns:minmax(280px,360px) minmax(0,1fr);gap:16px}.admin-card-panel{display:grid;gap:12px;min-width:0;border:1px solid var(--border);border-radius:8px;padding:14px;background:#00000029}.admin-panel-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.admin-panel-head h2{margin:0}.admin-panel-head span,.admin-empty{color:var(--muted)}.admin-inline-filter{display:grid;grid-template-columns:minmax(180px,1fr) auto;gap:8px}.admin-filter-grid{display:grid;grid-template-columns:repeat(5,minmax(120px,1fr));gap:8px;width:min(780px,100%)}.admin-inline-filter input,.admin-filter-grid input,.admin-filter-grid select{min-height:38px;border:1px solid var(--border);border-radius:8px;padding:0 10px;color:var(--text);background:#0000003d}.admin-data-table{display:grid;gap:8px;min-width:0}.admin-data-table article{display:grid;align-items:center;gap:10px;min-width:0;border:1px solid var(--border);border-radius:8px;padding:10px;background:#ffffff0b}.member-account-table article{grid-template-columns:minmax(0,1.5fr) repeat(3,minmax(70px,.5fr)) auto}.ledger-table article,.pay-order-table article{grid-template-columns:minmax(0,1.5fr) repeat(3,minmax(74px,.5fr)) minmax(160px,.8fr)}.admin-data-table div,.admin-data-table label{display:grid;gap:4px;min-width:0}.admin-data-table span{overflow:hidden;color:var(--muted);font-size:.82rem;text-overflow:ellipsis;white-space:nowrap}.admin-data-table strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.admin-data-table code{overflow:hidden;color:var(--muted);font-family:inherit;font-size:.78rem;text-overflow:ellipsis;white-space:nowrap}.admin-data-table button{min-height:36px;border:1px solid var(--border);border-radius:8px;color:var(--text);background:#ffffff12;cursor:pointer}.admin-balance-result{display:grid;gap:5px;border:1px solid rgba(94,243,180,.28);border-radius:8px;padding:12px;color:#ccffe9;background:#5ef3b414}.admin-balance-result span,.admin-balance-result small{color:#ccffe9c7}.admin-balance-result strong{font-size:1.6rem}.admin-empty{margin:0;border:1px dashed rgba(255,255,255,.14);border-radius:8px;padding:18px;text-align:center}@media(max-width:1180px){.portfolio-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.portfolio-body,.portfolio-body>div:first-child{min-height:0}}@media(max-width:760px){.nav{min-height:62px;padding:0 18px}.nav-links{display:none}.creation-home,.gallery,.content-portfolio{width:calc(100% - 28px);max-width:720px}.creation-home{padding-top:58px}h1{display:grid;gap:0;font-size:2rem;line-height:1.22}.creator-heading p{max-width:32ch;margin-right:auto;margin-left:auto}.prompt-composer{min-height:360px;padding:16px;border-radius:18px}.composer-body{grid-template-columns:1fr}.composer-toolbar,.discover-bar{display:grid;min-width:0}.composer-textarea{font-size:1rem;overflow-wrap:anywhere;white-space:pre-wrap}.composer-tools{width:100%}.composer-side-actions{width:100%;justify-content:flex-end}.work-actions{opacity:1}.gallery-grid{grid-template-columns:1fr;gap:34px}.gallery-item h3{font-size:1.5rem}.content-portfolio{padding:28px 0 72px}.portfolio-grid{grid-template-columns:1fr}.portfolio-card:hover,.portfolio-card:hover .portfolio-cover img{transform:none}.episode-list{position:static;box-shadow:none}.footer-bottom{min-height:0;width:calc(100% - 28px);max-width:720px;align-items:flex-start;flex-direction:column;padding:24px 0}.footer-bottom p,.footer-bottom a{font-size:.92rem}.slash-hint{left:36px;bottom:118px}.skill-popover,.preference-popover{left:12px;right:12px;width:auto}.preference-popover{position:fixed;top:auto;bottom:18px;max-height:calc(100vh - 36px);overflow-y:auto}.skill-popover{top:auto;bottom:-284px}.ratio-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.resolution-grid,.size-grid{grid-template-columns:1fr}.admin-sidebar{position:static;width:auto;grid-template-columns:repeat(3,minmax(0,1fr))}.admin-sidebar .brand,.admin-ghost{grid-column:1 / -1}.admin-main{margin-left:0;padding:16px}.split-section,.member-admin-grid,.admin-row,.admin-list article,.admin-table article,.member-account-table article,.ledger-table article,.pay-order-table article{grid-template-columns:1fr}.admin-panel-head{align-items:stretch;flex-direction:column}.admin-inline-filter,.admin-filter-grid{grid-template-columns:1fr;width:100%}.admin-title{align-items:stretch;flex-direction:column}}.chat-page{height:100vh;min-height:100vh;overflow:hidden;display:flex;flex-direction:column;background:#f5f7fb;color:#111827}.works-page{min-height:100vh;background:#f5f7fb;color:#111827}.chat-page .app-top-nav,.works-page .app-top-nav{border-bottom-color:#e5e7eb;color:#111827;background:#ffffffe6}.chat-page .brand strong,.works-page .brand strong{color:#111827}.chat-page .brand span,.works-page .brand span{color:#00a4c8}.chat-page .nav-links,.chat-page .nav-user,.works-page .nav-links,.works-page .nav-user{color:#6b7280}.chat-page .nav-action,.works-page .nav-action{border-color:#1118271f;color:#111827;background:#fff}.chat-page .nav-action.primary,.works-page .nav-action.primary{border-color:transparent;color:#fff;background:#111827}.chat-shell{flex:1 1 auto;min-height:0;overflow:hidden;display:grid;grid-template-columns:300px minmax(0,1fr);background:#f5f7fb;color:#111827}.chat-sidebar{border-right:1px solid #e5e7eb;background:#fff;padding:20px;display:flex;flex-direction:column;gap:16px;min-height:0;overflow:hidden}.chat-sidebar-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.chat-sidebar-head>div{min-width:0;display:flex;flex-direction:column;gap:4px}.chat-sidebar-head strong{font-size:18px;letter-spacing:0}.chat-sidebar-head span,.chat-header span,.conversation-list span{color:#6b7280;font-size:13px}.chat-new,.chat-share,.chat-composer button,.auth-primary{border:0;background:#111827;color:#fff;border-radius:8px;padding:11px 16px;font-weight:700;cursor:pointer}.chat-new:disabled,.chat-share:disabled,.chat-composer button:disabled{opacity:.45;cursor:not-allowed}.chat-session{border:1px solid #e5e7eb;border-radius:8px;padding:12px;display:flex;align-items:center;justify-content:space-between;gap:12px}.chat-session button,.auth-switch{border:0;background:transparent;color:#2563eb;cursor:pointer}.member-points-card{display:grid;gap:10px;border:1px solid #e5e7eb;border-radius:8px;padding:12px;background:#f8fafc}.member-points-summary{display:grid;gap:4px;min-width:0}.member-points-summary span,.member-points-summary small,.pay-order-inline-status{color:#64748b;font-size:12px}.member-points-summary strong{overflow:hidden;color:#111827;font-size:24px;line-height:1.15;text-overflow:ellipsis;white-space:nowrap}.member-recharge-button{min-height:38px;border:0;border-radius:8px;color:#fff;background:#111827;cursor:pointer;font-weight:700}.pay-order-inline-status{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:0}.pay-order-inline-status button{flex:0 0 auto;border:0;color:#2563eb;background:transparent;cursor:pointer;font-weight:700}.conversation-list{flex:1 1 auto;min-height:0;display:flex;flex-direction:column;gap:8px;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain}.conversation-list-item{border:1px solid #e5e7eb;background:#fff;border-radius:8px;display:flex;align-items:stretch;gap:4px}.conversation-list-item.active{border-color:#111827;background:#f3f4f6}.conversation-select{border:0;background:transparent;padding:12px;text-align:left;display:flex;flex:1;flex-direction:column;gap:6px;cursor:pointer;min-width:0}.conversation-delete{width:36px;border:0;border-left:1px solid #e5e7eb;background:transparent;color:#9ca3af;cursor:pointer;font-size:16px;line-height:1}.conversation-delete:hover{color:#dc2626;background:#fef2f2}.conversation-delete:disabled{opacity:.5;cursor:not-allowed}.conversation-list strong{font-size:14px;line-height:1.35}.chat-main{min-width:0;min-height:0;overflow:hidden;display:grid;grid-template-rows:auto minmax(0,1fr) auto auto auto}.chat-header{padding:20px 28px;border-bottom:1px solid #e5e7eb;background:#ffffffe6;display:flex;align-items:center;justify-content:space-between;gap:16px}.chat-header h1{margin:2px 0 0;font-size:22px;letter-spacing:0}.message-list{min-height:0;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;padding:28px;display:flex;flex-direction:column;gap:18px}.chat-empty{margin:auto;color:#6b7280}.chat-message{display:flex}.chat-message.user{justify-content:flex-end}.message-bubble{max-width:min(720px,86%);border:1px solid #e5e7eb;border-radius:8px;background:#fff;padding:14px;box-shadow:0 12px 30px #0f172a0f}.chat-message.user .message-bubble{background:#111827;color:#fff}.message-bubble span{display:block;color:#6b7280;font-size:12px;margin-bottom:8px}.chat-message.user .message-bubble span{color:#cbd5e1}.message-bubble p{margin:0;overflow-wrap:anywhere;white-space:pre-wrap;line-height:1.65}.assistant-result{max-width:100%;margin-top:12px;display:flex;flex-direction:column;gap:10px}.assistant-result img{width:min(420px,100%);border-radius:8px;border:1px solid #e5e7eb}.assistant-image-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;max-width:100%;width:min(680px,100%)}.assistant-image-grid a{display:block}.assistant-image-grid img{width:100%;aspect-ratio:1;object-fit:cover}.assistant-result a{color:#2563eb;text-decoration:none;font-weight:700}.reference-summary{display:flex;flex-wrap:wrap;align-items:center;gap:8px;width:min(680px,100%);padding-top:2px}.reference-summary>span{margin:0;color:#64748b;font-size:12px;font-weight:700}.reference-summary-item{display:inline-flex;align-items:center;gap:6px;max-width:150px;border:1px solid #e5e7eb;border-radius:8px;padding:4px 7px 4px 4px;background:#f8fafc;color:#334155}.reference-summary-item img{width:30px;height:30px;border:0;border-radius:6px;object-fit:cover}.reference-summary-item strong{overflow:hidden;font-size:12px;text-overflow:ellipsis;white-space:nowrap}.result-placeholder{border:1px dashed #cbd5e1;border-radius:8px;padding:22px;color:#6b7280;background:#f8fafc}.generation-waiting{width:min(420px,100%);border:1px solid #dbeafe;border-radius:8px;padding:18px;background:linear-gradient(135deg,#eff6ff,#f8fafc);color:#1f2937}.generation-waiting strong{display:block;margin-top:12px;font-size:15px}.generation-waiting span{margin:4px 0 0;color:#64748b}.generation-orbit{display:flex;align-items:center;gap:7px;height:18px}.generation-orbit i{width:8px;height:8px;border-radius:999px;background:#2563eb;animation:generation-pulse 1s ease-in-out infinite}.generation-orbit i:nth-child(2){animation-delay:.15s}.generation-orbit i:nth-child(3){animation-delay:.3s}@keyframes generation-pulse{0%,80%,to{opacity:.32;transform:translateY(0)}40%{opacity:1;transform:translateY(-5px)}}.chat-error,.chat-notice{margin:0 28px 10px;border-radius:8px;padding:10px 12px}.chat-error{background:#fef2f2;color:#b91c1c}.chat-notice{background:#ecfdf5;color:#047857}.chat-composer{border-top:1px solid #e5e7eb;padding:18px 28px 24px;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;background:#f5f7fb}.chat-composer textarea{min-height:62px;max-height:160px;resize:vertical;border:1px solid #d1d5db;border-radius:8px;padding:13px 14px;font:inherit}.delete-modal{position:fixed;top:0;right:0;bottom:0;left:0;z-index:55;display:grid;place-items:center;padding:20px;background:#0f172a73}.recharge-modal{position:fixed;top:0;right:0;bottom:0;left:0;z-index:56;display:grid;place-items:center;padding:20px;background:#0f172a73}.recharge-panel{display:grid;gap:16px;width:min(560px,100%);max-height:calc(100dvh - 40px);overflow-y:auto;border-radius:8px;background:#fff;box-shadow:0 24px 70px #0f172a38;padding:22px}.recharge-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.recharge-head span{color:#64748b;font-size:12px;text-transform:uppercase}.recharge-head h2{margin:4px 0 0;font-size:22px;letter-spacing:0}.recharge-head button{width:38px;height:38px;border:1px solid #e5e7eb;border-radius:8px;color:#111827;background:#fff;cursor:pointer;font-size:20px}.recharge-balance{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.recharge-balance label{display:grid;gap:4px;border:1px solid #e5e7eb;border-radius:8px;padding:12px;background:#f8fafc}.recharge-balance span,.pay-order-status span,.recharge-note{color:#64748b;font-size:12px}.recharge-balance strong{color:#111827;font-size:26px;line-height:1.1}.recharge-packages{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.recharge-packages button{display:grid;gap:7px;min-height:128px;border:1px solid #e5e7eb;border-radius:8px;padding:12px;color:#111827;background:#fff;cursor:pointer;text-align:left}.recharge-packages button.selected{border-color:#111827;background:#f3f4f6}.recharge-packages span,.recharge-packages small{overflow-wrap:anywhere;color:#64748b;font-size:12px}.recharge-packages strong{font-size:18px;line-height:1.2}.recharge-packages em{color:#2563eb;font-style:normal;font-weight:800}.pay-order-status{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px 12px;align-items:center;border:1px solid #dbeafe;border-radius:8px;padding:12px;background:#eff6ff}.pay-order-status strong{overflow:hidden;color:#111827;font-size:13px;text-overflow:ellipsis;white-space:nowrap}.pay-order-status em{justify-self:end;border-radius:999px;padding:4px 8px;color:#1d4ed8;background:#dbeafe;font-size:12px;font-style:normal;font-weight:800}.pay-order-status .pay-status-paid{color:#047857;background:#d1fae5}.pay-order-status .pay-status-closed,.pay-order-status .pay-status-failed{color:#b91c1c;background:#fee2e2}.pay-order-status button{grid-column:1 / -1;min-height:40px;border:1px solid #bfdbfe;border-radius:8px;color:#1d4ed8;background:#fff;cursor:pointer;font-weight:700}.recharge-error{margin:0;border-radius:8px;padding:10px 12px;color:#b91c1c;background:#fef2f2}.recharge-note{margin:0;line-height:1.5}.recharge-actions{display:flex;justify-content:flex-end;gap:10px}.recharge-actions button{min-height:40px;border:1px solid #d1d5db;border-radius:8px;padding:0 14px;background:#fff;color:#111827;font-weight:700;cursor:pointer}.recharge-actions button.primary{border-color:#111827;color:#fff;background:#111827}.recharge-actions button:disabled,.pay-order-status button:disabled{cursor:not-allowed;opacity:.55}.recharge-page{min-height:100dvh;background:#f6f7fb;color:#111827}.recharge-page .app-top-nav{position:sticky;top:0;z-index:10;border-bottom:1px solid #e5e7eb;background:#fffffff2;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.recharge-hero{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:20px;width:min(1120px,calc(100% - 40px));margin:0 auto;padding:34px 0 22px}.recharge-hero span,.recharge-section-head span,.recharge-state-card>span,.recharge-account-panel>span{color:#64748b;font-size:12px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}.recharge-hero h1,.recharge-section-head h2,.recharge-state-card h2{margin:6px 0 0;letter-spacing:0}.recharge-hero h1{font-size:32px;line-height:1.15}.recharge-back{min-height:42px;border:1px solid #d1d5db;border-radius:8px;padding:0 16px;color:#111827;background:#fff;font-weight:800;cursor:pointer}.recharge-layout{display:grid;grid-template-columns:280px minmax(0,1fr);gap:18px;width:min(1120px,calc(100% - 40px));margin:0 auto;padding-bottom:48px}.recharge-account-panel,.recharge-workspace,.recharge-state-card{border:1px solid #e5e7eb;border-radius:8px;background:#fff;box-shadow:0 10px 24px #0f172a0f}.recharge-account-panel{align-self:start;display:grid;gap:10px;padding:20px}.recharge-account-panel strong{font-size:38px;line-height:1}.recharge-account-panel p,.recharge-section-head p,.recharge-state-card p{margin:0;color:#64748b;line-height:1.6}.recharge-account-panel button{min-height:40px;border:1px solid #d1d5db;border-radius:8px;color:#111827;background:#fff;font-weight:800;cursor:pointer}.recharge-workspace{display:grid;gap:18px;padding:22px}.recharge-section-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.recharge-section-head h2{font-size:24px}.recharge-package-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.recharge-package-grid button{display:grid;gap:8px;min-height:150px;border:1px solid #e5e7eb;border-radius:8px;padding:16px;color:#111827;background:#fff;cursor:pointer;text-align:left}.recharge-package-grid button.selected{border-color:#111827;background:#f8fafc;box-shadow:inset 0 0 0 1px #111827}.recharge-package-grid span,.recharge-package-grid small{overflow-wrap:anywhere;color:#64748b;font-size:13px}.recharge-package-grid strong{font-size:22px;line-height:1.2}.recharge-package-grid em{color:#2563eb;font-style:normal;font-weight:900}.recharge-state-card{display:grid;gap:12px;padding:18px}.result-card{min-height:300px}.result-order-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.result-order-summary label{display:grid;gap:4px;border:1px solid #e5e7eb;border-radius:8px;padding:12px;background:#f8fafc}.result-order-summary span{color:#64748b;font-size:12px}.result-order-summary strong{overflow-wrap:anywhere;font-size:16px}.recharge-page-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:10px}.recharge-page-actions button{min-height:42px;border:1px solid #d1d5db;border-radius:8px;padding:0 16px;color:#111827;background:#fff;font-weight:800;cursor:pointer}.recharge-page-actions button.primary{border-color:#111827;color:#fff;background:#111827}.recharge-page-actions button:disabled,.recharge-account-panel button:disabled{cursor:not-allowed;opacity:.55}.recharge-page-notice,.recharge-page-error{margin:0;border-radius:8px;padding:11px 13px;line-height:1.55}.recharge-page-notice{color:#047857;background:#ecfdf5}.recharge-page-error{color:#b91c1c;background:#fef2f2}.delete-panel{width:min(420px,100%);border-radius:8px;background:#fff;box-shadow:0 24px 70px #0f172a38;padding:22px}.delete-panel h2{margin:0;font-size:20px;letter-spacing:0}.delete-panel p{margin:12px 0 0;color:#4b5563;line-height:1.65}.delete-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:20px}.delete-actions button{min-height:38px;border:1px solid #d1d5db;border-radius:8px;padding:0 14px;background:#fff;color:#111827;font-weight:700;cursor:pointer}.delete-actions button.danger{border-color:#dc2626;background:#dc2626;color:#fff}.delete-actions button:disabled{opacity:.55;cursor:not-allowed}.auth-modal{position:fixed;top:0;right:0;bottom:0;left:0;background:#0f172a73;display:grid;place-items:center;padding:20px;z-index:50}.auth-panel{width:min(420px,100%);background:#fff;border-radius:8px;padding:22px;display:flex;flex-direction:column;gap:14px}.auth-panel h2{margin:0;font-size:22px}.auth-panel label{display:flex;flex-direction:column;gap:7px;color:#374151}.auth-panel input{border:1px solid #d1d5db;border-radius:8px;padding:11px 12px;font:inherit}.auth-panel input:disabled,.auth-panel button:disabled{cursor:not-allowed;opacity:.66}.auth-error{margin:0;border:1px solid rgba(220,38,38,.16);border-radius:8px;padding:10px 12px;color:#b91c1c;background:#fef2f2}.works-main{width:min(1180px,calc(100% - 48px));margin:0 auto;padding:34px 0 64px}.works-header{display:flex;align-items:end;justify-content:space-between;gap:24px;margin-bottom:24px}.works-header span{color:#6b7280;font-size:13px;text-transform:uppercase}.works-header h1{margin:4px 0 0;color:#111827;font-size:28px;letter-spacing:0}.works-header p{max-width:420px;margin:0;color:#6b7280;line-height:1.6;text-align:right}.works-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:16px}.work-card{overflow:hidden;border:1px solid #e5e7eb;border-radius:8px;background:#fff;box-shadow:0 12px 28px #0f172a0f}.work-card img{display:block;width:100%;aspect-ratio:1 / 1;object-fit:cover;background:#eef2f7}.work-card-body{display:flex;flex-direction:column;gap:8px;padding:12px}.work-card-body strong{min-height:42px;overflow:hidden;color:#111827;line-height:1.45;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}.work-card-body span{color:#6b7280;font-size:13px}.work-reference-strip{display:flex;flex-wrap:wrap;gap:6px}.work-reference-strip span{display:inline-flex;align-items:center;gap:5px;max-width:100%;border:1px solid #e5e7eb;border-radius:8px;padding:4px 7px 4px 4px;background:#f8fafc;color:#475569;font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.work-reference-strip img{width:24px;height:24px;border-radius:6px;object-fit:cover}.works-state{min-height:260px;border:1px dashed #cbd5e1;border-radius:8px;display:grid;place-items:center;align-content:center;gap:8px;padding:28px;color:#6b7280;background:#fff;text-align:center}.works-state strong{color:#111827;font-size:18px}.works-state.error{border-color:#dc262638;color:#b91c1c;background:#fef2f2}@media(max-width:860px){.chat-shell{grid-template-columns:1fr;grid-template-rows:auto minmax(0,1fr)}.chat-page .app-top-nav{flex:0 0 auto;min-height:58px;gap:10px;padding:0 14px}.chat-page .brand{min-width:0;gap:7px}.chat-page .brand strong{font-size:1rem}.chat-page .brand span{font-size:.82rem}.chat-page .nav-auth{flex:0 0 auto;gap:8px}.chat-page .nav-action{min-height:44px;padding:0 12px;white-space:nowrap}.chat-sidebar{max-height:218px;border-right:0;border-bottom:1px solid #e5e7eb;padding:16px;gap:12px}.member-points-card{grid-template-columns:minmax(0,1fr) auto;align-items:center;padding:10px}.member-points-summary{gap:2px}.member-points-summary strong{font-size:18px}.member-recharge-button{min-width:76px;min-height:44px}.pay-order-inline-status{grid-column:1 / -1}.conversation-list{flex:0 0 auto;flex-direction:row;max-height:66px;overflow-x:auto;overflow-y:hidden}.conversation-list-item{min-width:184px;max-width:220px}.conversation-select{padding:10px}.conversation-delete{width:44px;min-width:44px}.chat-main{min-height:0}.chat-header{align-items:flex-start;padding-top:12px;padding-bottom:12px}.chat-header h1{display:-webkit-box;overflow:hidden;font-size:18px;line-height:1.3;overflow-wrap:anywhere;-webkit-box-orient:vertical;-webkit-line-clamp:2}.message-list{gap:12px;padding-top:14px;padding-bottom:14px}.message-bubble{max-width:min(100%,94%);padding:12px;overflow-wrap:anywhere}.generation-waiting,.result-placeholder{width:100%;padding:16px}.reference-summary{max-width:100%;gap:6px}.reference-summary-item{min-width:0;max-width:100%}.chat-error,.chat-notice{margin:0 16px 8px;overflow-wrap:anywhere}.chat-composer{grid-template-columns:1fr;gap:10px;padding:12px 16px calc(14px + env(safe-area-inset-bottom))}.chat-composer textarea{min-height:54px;max-height:112px;font-size:16px}.chat-composer button{min-height:44px}.assistant-image-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.message-list,.chat-header,.chat-composer{padding-left:16px;padding-right:16px}.works-header{align-items:start;flex-direction:column}.works-header p{text-align:left}}@media(max-width:420px){.chat-page .app-top-nav{min-height:56px;padding:0 12px}.chat-page .brand span{display:none}.chat-page .nav-action{min-height:44px;padding:0 10px}.chat-sidebar{max-height:124px;padding:12px}.chat-sidebar-head{gap:8px}.chat-sidebar-head strong{font-size:16px}.chat-sidebar-head span{font-size:12px}.chat-new,.chat-share{min-height:44px;padding:0 12px;white-space:nowrap}.conversation-list{max-height:62px}.conversation-list-item{min-width:170px;max-width:190px}.conversation-select{padding:9px}.conversation-list strong{font-size:13px}.conversation-list span{font-size:12px}.conversation-delete{width:44px;min-width:44px}.chat-header{gap:10px;padding:10px 12px}.chat-header h1{font-size:17px}.message-list{padding:12px}.message-bubble{max-width:100%;font-size:.95rem}.assistant-image-grid{grid-template-columns:1fr}.reference-summary{align-items:stretch}.reference-summary-item{flex:1 1 124px}.chat-error,.chat-notice{margin-right:12px;margin-left:12px}.chat-composer{padding:10px 12px calc(12px + env(safe-area-inset-bottom))}.delete-modal,.auth-modal,.recharge-modal{padding:12px}.delete-panel,.auth-panel,.recharge-panel{max-height:calc(100dvh - 24px);overflow-y:auto;padding:18px}.recharge-balance,.recharge-packages{grid-template-columns:1fr}.recharge-packages button{min-height:96px}.delete-actions{flex-direction:column-reverse}.delete-actions button,.recharge-actions button,.auth-primary,.auth-switch{width:100%;min-height:44px}.recharge-actions{flex-direction:column-reverse}.recharge-hero{align-items:flex-start;width:min(100% - 28px,1120px);padding:24px 0 16px}.recharge-hero h1{font-size:25px}.recharge-layout{grid-template-columns:1fr;width:min(100% - 28px,1120px);padding-bottom:28px}.recharge-workspace{padding:16px}.recharge-section-head{display:grid}.recharge-package-grid,.result-order-summary{grid-template-columns:1fr}.recharge-package-grid button{min-height:118px}.recharge-page-actions{display:grid;grid-template-columns:1fr}.recharge-page-actions button,.recharge-back,.recharge-account-panel button{min-height:44px}.auth-panel input{min-height:44px;font-size:16px}}@media(max-width:560px){.creation-home,.gallery,.content-portfolio,.footer-bottom{width:min(calc(100% - 28px),362px);margin-right:auto;margin-left:14px}}
.public-shell .creator-heading h1,.public-shell .creator-heading h1 span{font-family:SimHei," Heiti SC\,\Microsoft YaHei\,\PingFang SC\,sans-serif!important;font-weight:900!important}