#project-studio{width:100%;max-width:1480px;box-sizing:border-box;margin:0 auto;padding:0 0 50px;color:#172441;font-family:Arial,"Microsoft Yahei",sans-serif}#project-studio[hidden],.pj-composer-note[hidden]{display:none!important}
body[data-dz-view="assets"] #dz-page-heading{display:none!important}body[data-dz-view="assets"] .main{padding-top:80px!important}
#project-studio h1,#project-studio h2,#project-studio h3,.pj-dialog h2{margin:0;font-weight:650}#project-studio h1{font-size:27px}#project-studio h2{font-size:17px}#project-studio p,.pj-dialog p{line-height:1.65;margin:8px 0}.pj-button{border:1px solid #e0e5f3;background:#fff;color:#526180;border-radius:9px;padding:9px 14px;font-size:12px;cursor:pointer;line-height:1.4}.pj-button:hover{border-color:#8b7bff;color:#624cff}.pj-button.primary{border-color:transparent;background:linear-gradient(115deg,#7959ff,#4f82ff);color:white}.pj-button:disabled{opacity:.5;cursor:not-allowed}.pj-button.active{color:#6952ee;background:#eeeaff;border-color:#d8d0ff}.pj-button:focus-visible,.pj-asset:focus-visible,.pj-project:focus-visible{outline:3px solid #9caeff;outline-offset:3px}
.pj-list-heading,.pj-topline,.pj-section>header,.pj-editor>header{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:22px}.pj-list-heading p,.pj-topline>span,.pj-muted,.pj-section header p,.pj-editor header p{font-size:12px;color:#8390ab}.pj-list-heading{margin:12px 0 30px}.pj-topline>div{display:flex;gap:8px}.pj-project-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.pj-project,.pj-new-project{padding:0;text-align:left;border:1px solid #e8e9f5;background:#fff;border-radius:18px;overflow:hidden;cursor:pointer;color:inherit;min-height:258px}.pj-project:hover{box-shadow:0 8px 28px #48518614;transform:translateY(-2px)}.pj-cover{height:110px;position:relative;padding:16px 20px;background:linear-gradient(120deg,#45318f,#7c32e2);color:white}.pj-cover.tone-1{background:linear-gradient(120deg,#086657,#10b78a)}.pj-cover.tone-2{background:linear-gradient(120deg,#904214,#eaa209)}.pj-cover>span{font-size:10px;letter-spacing:2px;opacity:.75}.pj-cover>strong{position:absolute;right:26px;bottom:10px;font-size:56px;opacity:.5}.pj-project-body{padding:20px}.pj-project-body h2{overflow-wrap:anywhere}.pj-project-body p{font-size:12px;color:#8794af}.pj-small-progress{height:4px;border-radius:5px;background:#eeeef8;margin:18px 0}.pj-small-progress i{display:block;height:100%;background:linear-gradient(90deg,#48cf9e,#7062ff);border-radius:5px}.pj-project footer{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:11px;color:#8a79d4}.pj-project footer b{color:#fff;background:#282841;border-radius:7px;padding:7px 12px;white-space:nowrap}.pj-new-project{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;border:1px dashed #cac6f5;min-height:258px}.pj-new-project>span,.pj-empty-mark{background:#f0edff;color:#805fff;width:48px;height:48px;border-radius:50%;font-size:28px;display:grid;place-items:center;margin-bottom:16px}.pj-new-project strong{font-size:14px;color:#8c83b2}.pj-new-project p{font-size:12px;color:#a09ab9}.pj-banner{background:linear-gradient(115deg,#492090,#7434dc 48%,#588afa);padding:28px;border-radius:20px;color:white;display:flex;gap:24px;align-items:center;box-shadow:0 12px 30px #6244bc17}.pj-banner-main{flex:1;min-width:0}.pj-eyebrow{font-size:10px;letter-spacing:2px;opacity:.7}.pj-banner h1{margin-top:10px!important;overflow-wrap:anywhere}.pj-banner p{font-size:12px;opacity:.85}.pj-progress{display:flex;flex-wrap:wrap;gap:10px;margin-top:18px}.pj-progress span{font-size:11px;color:#d6bcf2;opacity:.8}.pj-progress .ready{color:#fff;opacity:1}.pj-progress .ready:before{content:'✓ ';color:#75f3c0}.pj-stats{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}.pj-stats>div{background:#ffffff1f;border:1px solid #ffffff15;border-radius:13px;min-width:64px;padding:15px 10px;text-align:center}.pj-stats strong{display:block;font-size:23px}.pj-stats span{display:block;font-size:11px;opacity:.8;margin-top:6px}.pj-tabs{display:flex;gap:8px;align-items:center;margin:24px 0 18px;flex-wrap:wrap}.pj-model-note{margin-left:auto;font-size:11px;color:#9784ae}.pj-statusline{display:flex;align-items:center;gap:12px;font-size:12px;color:#8b83ad;margin:12px 0 18px;flex-wrap:wrap}.pj-section{background:#fff;border:1px solid #e7eaf5;border-radius:18px;padding:22px;margin-bottom:18px}.pj-section h2 small{color:#979dbb;font-size:12px;font-weight:400;margin-left:8px}.pj-section header p{margin-bottom:0}.pj-assets{display:grid;grid-template-columns:repeat(auto-fill,minmax(140px,1fr));gap:14px}.pj-asset{padding:0;border:1px solid #e9eaf6;border-radius:13px;background:#fcfcff;text-align:left;color:inherit;overflow:hidden;cursor:pointer}.pj-asset-image{height:148px;background:linear-gradient(130deg,#fcf0f7,#eee9fd);position:relative;display:grid;place-items:center}.pj-asset-image.scene{background:linear-gradient(135deg,#e3eeec,#eff4fd)}.pj-asset-image.prop{background:linear-gradient(135deg,#fff1da,#f1e7e0)}.pj-asset-image>span{font-size:42px;font-weight:bold;color:#a8a0c3}.pj-asset-image img{width:100%;height:100%;object-fit:cover}.pj-asset-image small{position:absolute;left:8px;top:8px;border-radius:5px;padding:4px 6px;font-size:10px;background:#fff;color:#a8a1b8}.pj-asset-image small.approved{color:#059978}.pj-asset>div:last-child{padding:12px}.pj-asset strong{font-size:13px;display:block;overflow-wrap:anywhere}.pj-asset p{font-size:11px;color:#8b96b0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.pj-asset small{font-size:10px;color:#999eb9}.pj-add-asset{border:1px dashed #d2c8ff;background:#faf8ff;border-radius:13px;display:flex;flex-direction:column;align-items:center;justify-content:center;color:#9075ed;font-size:12px;gap:12px;min-height:225px;cursor:pointer}.pj-add-asset>span{background:linear-gradient(135deg,#9764ff,#6278ff);width:34px;height:34px;display:grid;place-items:center;border-radius:10px;font-size:26px;color:white}.pj-add-asset small{font-size:10px}.pj-script-cards{display:flex;gap:14px;flex-wrap:wrap}.pj-script-card{display:flex;flex-direction:column;gap:14px;align-items:flex-start;min-width:220px;border:1px solid #e9e7f8;border-radius:12px;background:#f9f7ff;color:#536286;padding:18px;cursor:pointer}.pj-script-card>span{display:grid;place-items:center;width:34px;height:38px;background:#e8e2ff;color:#9475e7;border-radius:4px}.pj-script-card strong{font-size:12px}.pj-script-card small{font-size:10px;color:#939ab2}
.pj-workflow{display:grid;grid-template-columns:210px minmax(0,1fr);gap:20px}.pj-workflow>aside{display:flex;flex-direction:column;gap:9px}.pj-workflow>aside button{display:flex;align-items:center;gap:12px;text-align:left;padding:14px}.pj-workflow aside button>span{width:28px;height:28px;display:grid;place-items:center;background:#f4f3fa;border-radius:8px;flex-shrink:0}.pj-workflow aside small{display:block;font-size:10px;color:#a1a4b9;margin-top:5px}.pj-editor{padding:24px;background:white;border:1px solid #e6e9f5;border-radius:18px;min-width:0}.pj-guidance{padding:14px;background:#f6f5fe;color:#777093;border-radius:10px;font-size:12px;line-height:1.9;margin-bottom:16px}.pj-field{display:flex;flex-direction:column;gap:8px;font-size:12px;color:#687590;margin-bottom:16px;min-width:0}.pj-field input,.pj-field textarea,.pj-field select{box-sizing:border-box;width:100%;border:1px solid #dde3f0;border-radius:9px;padding:11px;background:#fff;color:#223454;font:13px/1.65 Arial,"Microsoft Yahei",sans-serif;outline:none}.pj-field input:focus,.pj-field textarea:focus,.pj-field select:focus{border-color:#917dff;box-shadow:0 0 0 3px #8061ff10}.pj-field textarea{min-height:96px;resize:vertical}.pj-field textarea#pj-script-text{min-height:420px}.pj-editor-actions,.pj-asset-actions{display:flex;gap:9px;flex-wrap:wrap;margin:12px 0}.pj-empty{padding:32px 12px;text-align:center;color:#8993ae;display:flex;flex-direction:column;align-items:center}.pj-empty h3{font-size:15px}.pj-empty p{font-size:12px}.pj-loading{text-align:center;padding:70px;color:#9299ad}.pj-dialog{box-sizing:border-box;width:min(800px,calc(100vw - 32px));max-height:88vh;border:1px solid #e4e7f3;border-radius:20px;padding:26px;color:#25324a;box-shadow:0 24px 80px #1e1c4938;background:#fff}.pj-dialog::backdrop{background:#18223e55;backdrop-filter:blur(3px)}.pj-dialog>header{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:24px}.pj-dialog h2{font-size:20px}.pj-dialog footer{display:flex;gap:10px;justify-content:flex-end;margin-top:20px}.pj-field-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 18px}.pj-dialog pre,.pj-editor pre{white-space:pre-wrap;overflow-wrap:anywhere;background:#f7f8fc;border-radius:9px;padding:16px;font:12px/1.9 Arial,"Microsoft Yahei",sans-serif;max-height:50vh;overflow:auto}.pj-dialog details,.pj-editor details{margin-bottom:15px}.pj-dialog summary,.pj-editor summary{font-size:12px;color:#8974c0;cursor:pointer;padding:7px 0}.pj-dialog li{font-size:13px;line-height:1.8}.pj-version-list{display:flex;flex-direction:column;gap:10px}.pj-results,.pj-import-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-top:20px}.pj-results article,.pj-import-item{border:1px solid #e8e9f5;padding:9px;border-radius:12px;background:#fafbff;min-width:0}.pj-results img,.pj-import-item img{width:100%;height:145px;object-fit:contain;border-radius:8px;background:#eaeaf4}.pj-results p,.pj-import-item p{font-size:11px;color:#8590a5;overflow-wrap:anywhere}.pj-import-item{cursor:pointer;text-align:left}.pj-import-item strong{font-size:12px;display:block;margin:10px 0}.pj-video-symbol{display:grid;place-items:center;height:90px;background:#ece8fd;color:#8f7fcc;font-size:25px}.pj-films{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.pj-films video{width:100%;aspect-ratio:16/9;background:#141b30;border-radius:10px}.pj-films strong{display:block;margin-top:12px;font-size:13px}.pj-films p{font-size:11px;color:#949db4}.pj-composer-note{display:flex;align-items:center;gap:8px;flex-wrap:wrap;background:#f4f0ff;padding:10px;border-radius:10px;margin:8px 0;color:#7754bb;font-size:12px}.pj-composer-note>span{flex:1}
@media(min-width:1500px){.pj-assets{grid-template-columns:repeat(auto-fill,minmax(165px,1fr))}.pj-asset-image{height:170px}}
@media(max-width:1100px){.pj-project-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.pj-banner{flex-direction:column;align-items:stretch}.pj-stats{justify-content:flex-start}.pj-workflow{grid-template-columns:175px minmax(0,1fr)}.pj-project footer{align-items:flex-start;flex-direction:column}}
@media(max-width:640px){body[data-dz-view="assets"] .main{padding-top:76px!important}#project-studio h1{font-size:21px}.pj-project-grid{grid-template-columns:1fr}.pj-list-heading{align-items:flex-start}.pj-list-heading>.pj-button{white-space:nowrap;padding:8px}.pj-banner{padding:20px;border-radius:15px}.pj-stats{gap:6px}.pj-stats>div{min-width:42px;padding:10px 7px;flex:1}.pj-stats strong{font-size:18px}.pj-stats span{font-size:10px}.pj-progress{gap:8px}.pj-model-note{margin-left:0;flex-basis:100%;margin-top:8px}.pj-tabs{gap:5px}.pj-tabs .pj-button{padding:8px 10px}.pj-topline>span{display:none}.pj-section{padding:15px}.pj-section>header{gap:8px;align-items:flex-start}.pj-section header .pj-button{padding:7px;white-space:nowrap}.pj-assets{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.pj-asset-image{height:130px}.pj-add-asset{min-height:205px}.pj-workflow{display:flex;flex-direction:column}.pj-workflow>aside{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.pj-workflow>aside button{padding:9px;gap:7px}.pj-workflow>aside button>div{font-size:11px}.pj-editor{padding:15px}.pj-editor>header{align-items:flex-start}.pj-field-grid{grid-template-columns:1fr}.pj-dialog{padding:18px}.pj-results,.pj-import-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.pj-films{grid-template-columns:1fr}.pj-script-card{width:100%;min-width:0}.pj-composer-note .pj-button{padding:7px}.pj-empty{padding:20px 4px}}
.pj-editor-actions{align-items:center}.pj-editor-actions>.pj-field{margin:0;min-width:200px;max-width:100%}.pj-editor-actions>.pj-muted{max-width:240px}.pj-statusline>.pj-field{margin:0;max-width:100%}.pj-statusline{overflow-wrap:anywhere}
#project-dialog{position:fixed;inset:0;margin:auto;padding:0;width:min(860px,calc(100vw - 40px));max-height:calc(100dvh - 64px);overflow:hidden;font-family:Arial,"Microsoft Yahei",sans-serif}
#project-dialog[open]{display:flex;flex-direction:column}
#project-dialog>header{flex:none;margin:0;padding:18px 24px;border-bottom:1px solid #e9edf5;background:#fff}
#project-dialog>header [data-pj=close-dialog]{width:38px;height:38px;padding:0;font-size:22px;flex:none}
#project-dialog .pj-dialog-body{min-height:0;overflow:auto;overscroll-behavior:contain;padding:22px 24px}
#project-dialog>footer{flex:none;margin:0;padding:14px 24px;border-top:1px solid #e9edf5;background:#fafbff}
#project-dialog>.pj-dialog-notice{flex:none;margin:0;padding:10px 24px;background:#fff6e6;font-size:12px;max-height:80px;overflow:auto}
#project-dialog .pj-form-section+ .pj-form-section{border-top:1px solid #e9edf5;margin-top:6px;padding-top:20px}
#project-dialog .pj-form-section h3{font-size:14px;margin:0 0 16px;color:#334466}
#project-dialog .pj-form-section:last-child{padding-bottom:4px}
@media(max-width:640px){#project-dialog{width:calc(100vw - 24px);max-height:calc(100dvh - 24px);border-radius:15px}#project-dialog>header{padding:14px 16px}#project-dialog h2{font-size:18px}#project-dialog .pj-dialog-body{padding:18px 16px}#project-dialog>footer{padding:12px 16px}#project-dialog .pj-field-grid{grid-template-columns:1fr}}
body.dz-ready[data-dz-view="assets"] .main{padding:64px 32px 40px!important}
#project-studio{max-width:none;margin:0}
.pj-list-heading{margin:0 0 22px}.pj-list-heading h1{line-height:1.3}.pj-list-heading p{margin-bottom:0!important}
.pj-list-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.pj-project-grid{grid-template-columns:repeat(auto-fill,minmax(min(100%,300px),1fr));gap:20px;align-items:stretch}
.pj-project{position:relative;min-height:260px;overflow:visible;transition:box-shadow .15s,transform .15s}
.pj-project-open{display:block;width:100%;height:100%;border:0;border-radius:18px;overflow:hidden;background:#fff;text-align:left;color:inherit;cursor:pointer;font:inherit}
.pj-project:has(.pj-project-rename) .pj-project-body h2{padding-right:36px}
.pj-project-rename{position:absolute;top:141px;right:16px;display:grid;place-items:center;width:32px;height:32px;padding:7px;border:0;border-radius:8px;background:transparent;color:#9385bd;cursor:pointer}.pj-project-rename:hover{background:#f0edff;color:#7050df}.pj-project-rename:focus-visible{outline:3px solid #b5a8ff;outline-offset:2px}.pj-project-rename svg{width:17px;height:17px}
.pj-project-open:focus-visible{outline:3px solid #9caeff;outline-offset:3px}
.pj-cover{height:128px;padding:18px 20px;background:linear-gradient(120deg,#29235b,#5842aa 55%,#6486e3);overflow:hidden;position:relative}
.pj-cover.tone-1{background:linear-gradient(120deg,#243c66,#5265aa 55%,#8b72cd)}
.pj-cover.tone-2{background:linear-gradient(120deg,#3c285e,#7150ad 55%,#7d98de)}
.pj-cover:after{content:"";position:absolute;left:0;right:0;bottom:0;height:8px;background:repeating-linear-gradient(90deg,transparent 0 10px,#ffffff24 10px 20px,transparent 20px 30px)}
.pj-cover>span{font-size:9px;letter-spacing:2px;color:#e2e4ff}
.pj-cover>small{position:absolute;left:20px;bottom:27px;font-size:11px;letter-spacing:1px;color:#e0e2ff}
.pj-film-icon{position:absolute;width:98px;height:82px;right:30px;bottom:15px;color:#e9ecff;transform:rotate(-7deg);filter:drop-shadow(0 8px 8px #121c4a44)}
.pj-project-body{padding:18px 20px}.pj-project-body h2{font-size:16px!important}.pj-project-body p{font-size:11px}
.pj-project footer{flex-direction:row;align-items:center;gap:8px}.pj-project footer span{font-size:10px}.pj-project footer b{font-size:11px}
.pj-small-progress{margin:16px 0}
.pj-project-menu{position:absolute;top:10px;right:10px;z-index:2}.pj-project-menu summary{list-style:none;width:30px;height:28px;display:grid;place-items:center;border:1px solid #ffffff50;border-radius:8px;color:#fff;background:#14153130;cursor:pointer;font-size:22px;line-height:1}.pj-project-menu summary::-webkit-details-marker{display:none}
.pj-project-menu>div{position:absolute;right:0;top:34px;background:white;padding:6px;border:1px solid #e8e9f5;border-radius:10px;box-shadow:0 8px 24px #20245026;width:126px}.pj-project-menu .pj-button{width:100%;border:0;text-align:left}
.pj-project-menu>div::before{content:"";position:absolute;left:0;right:0;top:-7px;height:7px}
.pj-button.danger{color:#cf3750;border-color:#f3c9d1;background:#fff6f7}.pj-button.danger:hover{background:#ffe9ed;border-color:#df8393}
.pj-new-project{min-height:260px}
.pj-film-thumb{position:relative;aspect-ratio:16/9;background:#172136;border-radius:9px;overflow:hidden;display:grid;place-items:center}
.pj-film-thumb img,.pj-film-thumb video{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;background:#172136}
.pj-film-thumb .pj-thumb-message{font-size:11px;color:#c0c8dc;text-align:center;z-index:1}.pj-film-thumb .pj-thumb-message[hidden]{display:none}
.pj-play-mark{position:absolute;right:10px;bottom:10px;color:white;background:#10182bb3;border:1px solid #ffffff70;border-radius:50%;width:30px;height:30px;display:grid;place-items:center;font-size:11px}
.pj-film-preview{display:block;width:100%;max-height:50vh;background:#121b30;border-radius:10px}
.pj-added{float:right;color:#07835e;background:#e0f8ec;padding:2px 6px;border-radius:5px;font-size:10px;font-weight:400}
.pj-films article{min-width:0}.pj-films article>strong{overflow-wrap:anywhere;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;line-height:1.7}.pj-films article>.pj-button{margin-top:12px}
.pj-generation-status{display:flex;flex-wrap:wrap;gap:8px 16px;padding:12px 0;border-bottom:1px solid #eef0f6;font-size:12px}.pj-generation-status:last-child{border:0}.pj-generation-status strong{min-width:150px}.pj-generation-status span{color:#72809b;overflow-wrap:anywhere}.pj-generation-status small{flex-basis:100%;color:#99a1b4;font-size:10px;overflow-wrap:anywhere}
.pj-auto-hint{flex-basis:100%;font-size:12px;color:#807791;line-height:1.7}
.pj-prop-reference{padding:16px;border:1px dashed #dcd6f3;border-radius:12px;background:#faf9ff}.pj-prop-reference h3 small{font-size:11px;font-weight:400;color:#8978ad;margin-left:8px}.pj-prop-reference .pj-button:disabled{cursor:not-allowed;opacity:.65}.pj-prop-reference p{line-height:1.7;margin-bottom:0}
@media(max-width:420px){.pj-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}.pj-stats>div{min-width:0}.pj-section>header{flex-wrap:wrap}.pj-section>header>small{color:#8790a8;font-size:11px}}
.pj-auto-panel{display:flex;align-items:center;gap:16px;flex-wrap:wrap;padding:18px 20px;border-radius:14px;border:1px solid #e3dffa;background:#f8f6ff;margin-bottom:20px}.pj-auto-panel>div:first-child{flex:1;min-width:200px}.pj-auto-panel strong{font-size:14px}.pj-auto-panel p{font-size:12px;color:#7d7998;line-height:1.75;margin-bottom:0!important}.pj-auto-status{display:flex;gap:8px;flex-direction:column;flex-basis:100%;border-top:1px solid #e5e0f5;padding-top:12px}.pj-auto-status span,.pj-auto-status small{font-size:12px;color:#877b9f;overflow-wrap:anywhere}
.pj-generation-bar{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:17px 20px;border:1px solid #e3ddfb;background:linear-gradient(105deg,#f5f2ff,#f0f8ff);border-radius:14px;margin-bottom:18px}.pj-generation-bar strong{font-size:14px}.pj-generation-bar p{font-size:12px;color:#7985a0;margin:6px 0 0!important}.pj-generation-bar>div:last-child{display:flex;gap:8px;flex-wrap:wrap}.pj-check{display:flex;align-items:flex-start;gap:9px;color:#5a4f85;font-size:13px;line-height:1.6}.pj-check input{margin-top:4px;flex:none}.pj-generate-assets{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.pj-generation-item{display:flex;align-items:flex-start;gap:10px;padding:14px;border:1px solid #e6e8f3;border-radius:10px;background:#fbfcff;cursor:pointer}.pj-generation-item input{margin-top:2px;accent-color:#7760ed}.pj-generation-item strong{display:block;font-size:13px;overflow-wrap:anywhere}.pj-generation-item small{display:block;color:#8790a6;font-size:11px;line-height:1.6;margin-top:5px}.pj-generation-item:has(input:disabled){opacity:.6;cursor:default}.pj-shots{display:grid;gap:14px}.pj-shot{border:1px solid #e8e8f3;border-radius:12px;padding:18px;min-width:0}.pj-shot header{display:flex;align-items:center;justify-content:space-between;gap:10px}.pj-shot h3{font-size:15px}.pj-shot pre{white-space:pre-wrap;overflow-wrap:anywhere;font:12px/1.85 Arial,"Microsoft Yahei",sans-serif;background:#f8f9fd;padding:14px;border-radius:8px;max-height:260px;overflow:auto}.pj-shot>small{font-size:11px;color:#8890ab}
@media(max-width:700px){.pj-generation-bar{align-items:stretch;flex-direction:column;padding:15px}.pj-generate-assets{grid-template-columns:1fr}.pj-shot{padding:14px}.pj-shot header{align-items:flex-start}.pj-shot header .pj-button{white-space:nowrap}}
@media(max-width:700px){body.dz-ready[data-dz-view="assets"] .main{padding:72px 16px 32px!important}.pj-list-heading{flex-wrap:wrap;gap:14px}.pj-list-actions{gap:8px}.pj-list-actions .pj-button{padding:8px 10px}.pj-project-grid{grid-template-columns:repeat(auto-fill,minmax(min(100%,260px),1fr));gap:16px}}
.pj-run-confirm{box-sizing:border-box;width:480px;max-width:calc(100vw - 32px);max-height:calc(100dvh - 40px);margin:auto;padding:0;border:1px solid #e7e4f3;border-radius:22px;background:#fff;color:#26324a;box-shadow:0 24px 80px #1f174b38;font:14px/1.6 Arial,"Microsoft Yahei",sans-serif;overflow:auto}.pj-run-confirm::backdrop{background:#18203a55;backdrop-filter:blur(5px)}.pj-run-confirm header{display:flex;align-items:center;gap:12px;padding:24px 24px 18px}.pj-run-confirm h2{font-size:17px;line-height:1.5;margin:3px 0 0}.pj-run-confirm header p{font-size:10px;letter-spacing:1.5px;color:#9a8db5;margin:0}.pj-run-symbol{display:grid;place-items:center;width:42px;height:42px;flex-shrink:0;color:white;font-size:23px;background:linear-gradient(135deg,#5e70ff,#9157ee);border-radius:14px}.pj-run-confirm button{font:inherit;cursor:pointer;transition:background .15s,box-shadow .15s}.pj-run-confirm button:focus-visible{outline:3px solid #b5a8ff;outline-offset:3px}.pj-run-close{align-self:flex-start;margin-left:auto;width:30px;height:30px;flex-shrink:0;border:0;border-radius:8px;background:#f5f5fa;color:#8991a4;font-size:21px!important}.pj-run-confirm>section{padding:0 24px 22px}.pj-run-cost{padding:18px 20px;text-align:center;border:1px solid #e9e2ff;border-radius:14px;background:linear-gradient(115deg,#f1f4ff,#f8f1ff)}.pj-run-cost>span{font-size:12px;color:#827899}.pj-run-cost strong{display:block;font-size:34px;line-height:1.35;color:#7551d5}.pj-run-cost small{font-size:14px;font-weight:500}.pj-run-cost p{margin:4px 0 0;font-size:11px;color:#8b7f9f}.pj-run-confirm dl{margin:18px 0}.pj-run-confirm dl>div{display:grid;grid-template-columns:76px minmax(0,1fr);gap:12px;margin:13px 0}.pj-run-confirm dt{font-size:12px;color:#8b92a3}.pj-run-confirm dd{margin:0;font-size:13px;overflow-wrap:anywhere}.pj-run-confirm dd small{display:block;font-size:11px;color:#969aaa;margin-top:3px}.pj-run-note{padding:12px 14px;margin:0;border-radius:10px;background:#f7f8fc;color:#8a91a3;font-size:11px;line-height:1.8}.pj-run-confirm footer{display:flex;justify-content:flex-end;gap:10px;padding:16px 24px;border-top:1px solid #f0eef6}.pj-run-cancel,.pj-run-accept{padding:9px 18px;border-radius:10px;border:1px solid #e6e6ef;background:white;color:#768095}.pj-run-accept{border-color:transparent;color:white;background:linear-gradient(110deg,#5978ff,#8c57ed);box-shadow:0 5px 14px #7b5de52b}.pj-run-accept:hover{box-shadow:0 6px 20px #7b5de54d}@media(max-width:480px){.pj-run-confirm header{padding:20px 18px 16px}.pj-run-confirm>section{padding:0 18px 18px}.pj-run-confirm footer{padding:14px 18px}.pj-run-confirm h2{font-size:16px}.pj-run-confirm footer button{flex:1;padding:9px 10px}.pj-run-symbol{width:36px;height:36px;border-radius:11px}}
/* Non-destructive character-image editor. */
.pj-dialog .pj-crop-scroll{text-align:center;overflow:hidden;padding:8px 2px}
.pj-dialog .pj-crop-stage{position:relative;display:inline-block;max-width:100%;line-height:0;overflow:hidden;vertical-align:top}
.pj-dialog .pj-crop-source{display:block;max-width:100%;max-height:52vh;width:auto;height:auto;object-fit:contain}
.pj-dialog .pj-crop-rect{position:absolute;border:2px solid #8863ff;box-sizing:border-box;box-shadow:0 0 0 2000px #10182c80;cursor:move;touch-action:none;outline-offset:2px}
.pj-dialog .pj-crop-rect[hidden],.pj-dialog .pj-crop-presets[hidden]{display:none}
.pj-dialog .pj-image-save button[hidden],.pj-dialog>header>button[hidden]{display:none}
.pj-dialog .pj-crop-handle{position:absolute;width:16px;height:16px;background:white;border:2px solid #8863ff;border-radius:3px;box-sizing:border-box}
.pj-dialog .pj-crop-handle.nw{left:0;top:0;cursor:nwse-resize}.pj-dialog .pj-crop-handle.ne{right:0;top:0;cursor:nesw-resize}
.pj-dialog .pj-crop-handle.sw{left:0;bottom:0;cursor:nesw-resize}.pj-dialog .pj-crop-handle.se{right:0;bottom:0;cursor:nwse-resize}
.pj-dialog .pj-crop-presets,.pj-dialog .pj-image-save{display:flex;gap:8px;flex-wrap:wrap}.pj-dialog .pj-image-save{justify-content:flex-end;margin-top:12px}
.pj-dialog .pj-crop-presets [aria-pressed=true]{color:#704bff;background:#f0eaff;border-color:#aa91ff}
.pj-dialog .pj-crop-size{text-align:center}.pj-dialog:has(.pj-crop-stage)>header>h2{margin-right:auto}.pj-dialog:has(.pj-crop-stage)>header{gap:10px}
.pj-character-group{border:1px solid #ded7f6;border-radius:12px;padding:10px;background:#faf9ff;min-width:0;flex:0 0 auto}
.pj-character-group>header{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:10px}.pj-character-group>header small{color:#82789e}
.pj-character-variants{display:flex;gap:12px;align-items:stretch}.pj-variant-create{padding:12px;border:1px solid #e6e0f4;border-radius:12px;margin-bottom:18px}.pj-variant-create .pj-field{margin-bottom:10px}
.ss-material-list .pj-character-group{padding:6px;margin-bottom:10px}.ss-material-list .pj-character-variants{display:block}.ss-material-list .pj-character-group>header{gap:4px;font-size:12px}.ss-material-list .pj-character-group .ss-material{width:100%}
#project-studio .wf .shelf-row>.pj-character-group{grid-column:1/-1;width:auto;min-width:0}
#project-studio .wf .pj-character-variants{display:grid;grid-template-columns:repeat(auto-fill,minmax(140px,170px));gap:12px}
@media(max-width:600px){#project-studio .wf .pj-character-variants{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}}
#project-dialog>header .pj-import-top{margin-left:auto;flex-shrink:0}
@media(max-width:640px){#project-dialog:has(#pj-extraction)>header{flex-wrap:wrap}#project-dialog>header .pj-import-top{order:3;width:100%;margin:0}}
.pj-results .pj-result-removable{position:relative}
.pj-results .pj-result-removable .pj-result-remove{position:absolute;top:12px;right:12px;z-index:1;background:#fff;box-shadow:0 2px 8px #18233b1a;min-height:32px;padding:5px 9px}

/* Project sidebar: separate folder control and unchanged page link. */
.dz-project-entry{display:flex;align-items:stretch;border-radius:10px;flex-shrink:0}
.dz-project-entry:has([aria-current="page"]){background:linear-gradient(100deg,#e4f8fc,#eef2ff)}
.dz-project-entry .dz-nav-button{width:auto;flex:1;min-width:0;padding-left:0}
.dz-project-entry .dz-nav-button[aria-current="page"]{background:transparent}
.dz-project-toggle{display:flex;align-items:center;justify-content:center;flex:0 0 42px;min-height:43px;border:0;border-radius:10px;background:transparent;color:#6b7e96;cursor:pointer}
.dz-project-entry:has([aria-current="page"]) .dz-project-toggle,.dz-project-toggle[aria-expanded="true"]{color:#049bc0}
.dz-project-toggle:hover{background:#edf5ff}
.dz-project-toggle svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.dz-project-panel{padding:8px;border:1px solid #e4e7f2;border-radius:10px;background:#fff;font-size:12px;color:#304561;min-height:0;overflow:auto;max-height:45vh}
.dz-project-panel[hidden],.dz-project-panel [hidden]{display:none!important}
.dz-project-panel button,.dz-project-panel input{font:inherit}
.dz-project-panel button{border:0;border-radius:6px;background:#f5f5ff;color:#52668a;padding:7px;cursor:pointer}
.dz-project-panel button:hover{background:#eceaff;color:#7353e9}
.dz-project-panel button:disabled{opacity:.55;cursor:wait}
.dz-project-tools{display:flex;align-items:center;justify-content:space-between;gap:6px}
.dz-project-tools button{padding:4px}
.dz-project-status{margin:6px 0;line-height:1.5;overflow-wrap:anywhere}
.dz-project-status:empty{display:none}
.dz-project-list{display:flex;flex-direction:column;gap:3px;max-height:25vh;overflow:auto;margin:6px 0}
.dz-project-list button{text-align:left;flex-shrink:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;background:transparent}
.dz-project-list button[aria-current="page"]{background:#eeeaff;color:#7353e9;font-weight:600}
.dz-project-new{width:100%;text-align:left}
.dz-project-form label{display:block;margin:8px 0 5px}
.dz-project-form input{box-sizing:border-box;display:block;width:100%;min-width:0;padding:7px;border:1px solid #d9dcef;border-radius:6px;background:#fff;color:#304561}
.dz-project-form>div{display:flex;gap:6px;margin-top:7px}
.dz-project-form button[type="submit"]{background:#7855f7;color:#fff}
.dz-project-toggle:focus-visible,.dz-project-panel button:focus-visible,.dz-project-panel input:focus-visible{outline:2px solid #7855f7;outline-offset:2px}
.dz-collapsed .dz-project-entry .dz-nav-button{display:none}
.dz-collapsed .dz-project-toggle{flex:1}
.dz-collapsed .dz-project-panel{position:absolute;left:60px;top:110px;width:220px;box-sizing:border-box;box-shadow:0 8px 28px #29344d26;max-height:60vh}
@media(max-width:700px){.dz-project-entry .dz-nav-button{display:none}.dz-project-toggle{flex:1}.dz-project-panel{position:absolute;left:60px;top:110px;width:220px;box-sizing:border-box;box-shadow:0 8px 28px #29344d26;max-height:60vh}}
