body{background-position:0 -1px,0 0}.topbar .pose-brand{background:none;width:146.25px;height:40px;display:flex;align-items:center}.pose-brand img{display:block;width:100%;height:auto}.hero-title .pose-title{display:flex;align-items:center;justify-content:center;font-size:.78em;font-family:Arial,sans-serif;letter-spacing:-3px}.pose-actions{display:inline-flex;gap:12px;margin-top:20px}.pose-actions .btn{min-height:42px}.pose-actions .btn:nth-child(2){background:#ffb3d0}[data-open][hidden]{display:none!important}
/* Historical handoff controls are retained for archived tasks but are no longer active. */
#workspace{box-sizing:border-box;border:4px solid #18191c;border-radius:0;width:min(900px,94vw);max-height:90vh;padding:30px;background:#fffdf7;color:#18191c;box-shadow:6px 6px #1c293c;font-family:PingFang SC,Source Han Sans SC,sans-serif}#workspace *{box-sizing:border-box}#workspace::backdrop{background:#151515aa}#workspace .dialog-top{display:flex;justify-content:space-between;align-items:start}#workspace .dialog-kicker{font-size:11px;font-weight:800;letter-spacing:1.3px;color:#828485}#workspace .dialog-top h2{font-size:29px;margin:10px 0}#workspace .close{border:2px solid #18191c;background:#ffdc40;width:40px;height:40px;font-size:25px;cursor:pointer}#workspace .dialog-desc{font-size:14px;color:#61666d}#workspace .upload{margin-top:25px;min-height:180px;background:#e4f7ff;border:3px dashed #18191c;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:10px;cursor:pointer}#workspace .upload:hover,#workspace .upload.dragging{background:#ffed9d}#workspace .upload-icon{font-size:30px}#workspace .upload strong{font-size:15px}#workspace .upload small{color:#666;font-size:12px}#workspace .file-info{font-size:13px;margin:12px 0;color:#555;overflow-wrap:anywhere}#workspace .controls{display:flex;align-items:center;gap:20px;margin-top:20px}#workspace .button{border:3px solid #18191c;background:#ffdc40;color:#18191c;box-shadow:4px 4px #1c293c;padding:12px 22px;font-weight:700;cursor:pointer}#workspace .button:disabled{opacity:.45;cursor:not-allowed}#workspace #status{font-size:13px;color:#62656b}#workspace .error{color:#b33!important}#workspace .results{margin-top:30px;border-top:2px solid #18191c;padding-top:20px}#workspace .results-head{display:flex;align-items:center;justify-content:space-between}#workspace .results-head h3{font-size:18px}#workspace .results-head span{font-size:12px;color:#777}#workspace .result-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:14px}#workspace .result-item{background:#e8f6fb;padding:8px;border:2px solid #18191c}#workspace .result-item img{width:100%;aspect-ratio:3/4;object-fit:contain;background:#eee;display:block}#workspace .result-item a{display:block;padding:10px 4px 3px;font-size:12px;font-weight:700;color:#18191c}#workspace [hidden]{display:none!important}@media(max-width:600px){.topbar .pose-brand{width:auto;font-size:19px}.pose-actions{gap:8px}.pose-actions .btn{font-size:12px;padding:0 10px}.hero-title .pose-title{letter-spacing:-2px}}
@media(max-width:600px){.topbar .pose-brand{width:120px}}
.hero-title .pose-title{padding:0}.hero-title .pose-title svg{display:block;width:76%;height:65%;overflow:visible}

#share-dialog{box-sizing:border-box;position:fixed;inset:var(--share-top,80px) var(--share-right,24px) auto auto;margin:0;width:min(420px,calc(100vw - 32px));max-height:calc(100dvh - var(--share-top,80px) - 16px);padding:0;border:3px solid #18191c;background:#fffdf7;color:#18191c;box-shadow:7px 7px #1c293c;overflow:auto;font-family:inherit}
#share-dialog *{box-sizing:border-box}#share-dialog::backdrop{background:#171a222e;backdrop-filter:blur(3px)}
.share-head{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:10px 12px;border-bottom:3px solid #18191c;background:#e4f7ff;color:#18191c}
.share-kicker{display:flex;align-items:center;gap:9px;font-size:10px;font-weight:900;letter-spacing:1px}.share-dots{display:flex;gap:4px}.share-dots i{width:9px;height:9px;border:2px solid #18191c;background:#fb7299}.share-dots i:nth-child(2){background:#ffdc40}.share-dots i:nth-child(3){background:#69c978}
#share-close{flex:none;width:30px;height:30px;border:2px solid #18191c;background:#fffdf7;color:#18191c;font-size:22px;line-height:1;cursor:pointer}
.share-cover{display:block;width:100%;height:auto;border:0;border-bottom:3px solid #18191c}.share-body{padding:20px}.share-body h2{margin:0 0 8px;font-size:25px;line-height:1.3;font-weight:900}.share-intro{margin:0 0 8px;font-size:14px;line-height:1.6;font-weight:800}.share-description{margin:0 0 16px;font-size:12px;line-height:1.8;color:#62676d}
.share-link-block{padding:10px 12px;border:2px solid #18191c;background:#fff5be;color:#18191c}.share-link-block>span{display:block;margin-bottom:3px;font-size:8px;font-weight:900;letter-spacing:1px;color:#776a2b}.share-link-block a{display:flex;justify-content:space-between;gap:8px;font-size:16px;line-height:1.5;font-weight:900;text-decoration:none}.share-link-block a:hover{text-decoration:underline}
.share-copy.btn{width:100%;min-height:44px;margin:14px 0 0;font-size:14px}.share-download{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;min-height:36px;margin-top:12px;border:2px solid #18191c;background:#e4f7ff;color:#18191c;text-decoration:none;font-size:12px;font-weight:800}.share-download:hover{background:#fcebf1}
#share-copy-text{display:block;width:100%;min-height:120px;margin-top:12px;padding:10px;border:2px solid #18191c;background:#fff;color:#18191c;font:inherit;font-size:12px;line-height:1.6;resize:vertical}#share-copy-text[hidden]{display:none}
#share-status{margin:12px 0 0;padding:9px 10px;border:2px solid #18191c;background:#e6f7ed;color:#244c32;font-size:12px;line-height:1.6}#share-status:empty{display:none}
.topbar #share-site{position:relative;z-index:1;min-width:180px;min-height:50px;padding:0 24px;font-size:17px;font-weight:900}
@media(max-width:760px){.topbar #share-site{flex-basis:126px;width:126px;min-width:126px;height:36px;min-height:36px;padding:0;font-size:14px}.share-body{padding:16px}.share-body h2{font-size:22px}.share-copy.btn{font-size:13px}}
html[data-theme="dark"] .share-description{color:#c5cbd5}html[data-theme="dark"] .share-head .share-kicker{color:#18191c}

/* 上传预览与创作卡片 */
#workspace .dialog-top{border-bottom:3px solid #18191c;padding-bottom:14px}
#workspace .dialog-top h2{line-height:1.2}
#workspace .dialog-desc{margin:16px 0}
#workspace .upload{min-height:150px;margin-top:16px;background:#e4f7ff;box-shadow:5px 5px #1c293c}
#workspace .upload-icon{width:42px;height:42px;display:grid;place-items:center;background:#ffdc40;border:3px solid #18191c;font-weight:900;line-height:1}
#workspace .file-info{display:flex;align-items:center;gap:16px;margin:24px 0 0;padding:12px;border:3px solid #18191c;background:#fff0f5;box-shadow:4px 4px #1c293c}
#workspace .file-preview{flex:0 0 150px;height:125px;border:2px solid #18191c;background:#fff;display:flex;align-items:center;justify-content:center;overflow:hidden}
#workspace .file-preview img,#workspace .file-preview video{width:100%;height:100%;object-fit:contain}
#workspace .file-meta{min-width:0;display:flex;flex-direction:column;align-items:flex-start;gap:6px}
#workspace .file-meta strong{word-break:break-all;color:#18191c;font-size:14px}
#workspace .file-badge,.creation-label{display:inline-block;background:#ffdc40;border:2px solid #18191c;padding:3px 8px;font-size:11px;font-weight:900}
#workspace .file-replace{font-size:12px;font-weight:800;text-decoration:underline;cursor:pointer}
#workspace .results{border-top:3px solid #18191c}
#workspace .result-grid{gap:14px}
#workspace .result-item{background:#e4f7ff;padding:8px;border:3px solid #18191c;box-shadow:4px 4px #1c293c}
#workspace .frame-item:nth-child(3n+2){background:#fff0f5}#workspace .frame-item:nth-child(3n){background:#e6f7ed}
#workspace .frame-open{display:block;width:100%;padding:0;border:0;background:transparent;color:#18191c;text-align:left;font:inherit;cursor:pointer}
#workspace .frame-open img{aspect-ratio:3/4;object-fit:contain;border:2px solid #18191c;background:#fff}
#workspace .frame-open strong{display:block;margin-top:8px;font-size:13px}
#workspace .frame-action{display:block;margin-top:6px;font-size:11px;font-weight:800;color:#12688f}
#workspace .result-item a{font-weight:800;text-decoration:underline}
#workspace .result-grid:has(.generated-item){grid-template-columns:repeat(2,minmax(0,1fr))}
#workspace .result-grid:has(.original-item){grid-template-columns:repeat(3,minmax(0,1fr))}#workspace .original-item>strong{display:block;margin-bottom:8px;font-size:13px}@media(max-width:600px){#workspace .result-grid:has(.original-item){grid-template-columns:repeat(2,minmax(0,1fr))}}
#workspace .generated-item>strong,.generated-pair .generated-item>strong{display:block;margin-bottom:8px;font-size:13px}
#workspace .generated-item img{max-height:400px;aspect-ratio:3/4;object-fit:contain;border:2px solid #18191c;background:#fff}
.wall-action{margin-top:20px;background:#ffdc40!important}
.creation-dialog{box-sizing:border-box;width:min(850px,94vw);max-height:90vh;padding:24px;border:4px solid #18191c;background:#fffdf7;color:#18191c;box-shadow:6px 6px #1c293c}
.creation-dialog *{box-sizing:border-box}.creation-dialog::backdrop{background:#151515aa}
.creation-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;border-bottom:3px solid #18191c;padding-bottom:12px}
.creation-head h2{font-size:27px;line-height:1.25;margin:6px 0}.creation-close{flex:none;width:40px;height:40px;border:3px solid #18191c;background:#ffdc40;font-size:25px;line-height:1;cursor:pointer}
.creation-desc{margin:16px 0;color:#62676d;font-size:14px;line-height:1.6}
.frame-layout{display:grid;grid-template-columns:minmax(150px,1fr) minmax(0,2fr);gap:16px}
.frame-original,.generated-pair .generated-item{border:3px solid #18191c;background:#e4f7ff;padding:10px;box-shadow:4px 4px #1c293c}
.frame-original img{display:block;width:100%;height:300px;object-fit:contain;margin-top:10px;background:#fff;border:2px solid #18191c}
.generated-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.generated-pair .generated-item:nth-child(2){background:#fff0f5}
.generated-pair .generated-item img,.result-waiting{display:block;width:100%;height:300px;object-fit:contain;background:#fff;border:2px solid #18191c}
.generated-pair .generated-item a{display:block;margin-top:8px;font-size:12px;font-weight:800;text-decoration:underline}
.result-waiting{display:grid;place-items:center;color:#737a82;font-size:13px}
#frame-status{min-height:20px;margin:18px 0 0;color:#555d66;font-size:13px}.creation-actions{display:flex;gap:12px;flex-wrap:wrap}.creation-actions .btn{margin-top:12px}
.creation-form{display:grid;gap:15px}.creation-form label{display:flex;flex-direction:column;gap:7px;font-size:14px;font-weight:900}.creation-form label span{font-size:11px;font-weight:400;color:#777}
.creation-form input,.creation-form textarea{width:100%;padding:10px;border:2px solid #18191c;background:#fff;color:#18191c;font:14px/1.5 'Microsoft YaHei',sans-serif}.creation-form textarea{min-height:90px;resize:vertical}.creation-form button{justify-self:start}.creation-form p{margin:0;font-size:12px;line-height:1.5;color:#62676d}.creation-form [role=status]{min-height:18px;color:#18191c;font-weight:700}
.featured-posts{margin-top:22px;padding:18px;border:3px solid #18191c;background:#fff;box-shadow:4px 4px #1c293c}.featured-posts h3{margin:0 0 10px;font-size:18px}.featured-posts #featured-post-list{display:flex;gap:10px;flex-wrap:wrap}.featured-post-link{display:inline-block;padding:8px;border:2px solid #18191c;background:#e4f7ff;font-size:13px;font-weight:800}
.creator-list{display:flex;gap:18px;overflow-x:auto;padding:4px 5px 14px}.creator-card{flex:0 0 230px;border:3px solid #18191c;background:#fff;box-shadow:5px 5px #1c293c;color:#18191c;text-decoration:none}.creator-card-visual{height:210px;display:grid;place-items:center;overflow:hidden;border-bottom:3px solid #18191c;background:#dff2fd}.creator-card:nth-child(3n+2) .creator-card-visual{background:#ffe5ed}.creator-card:nth-child(3n) .creator-card-visual{background:#e0f5e6}.creator-card-visual img{width:100%;height:100%;object-fit:cover}.creator-card-visual span{font-size:26px;font-weight:900;transform:rotate(-8deg)}.creator-card-content{padding:15px}.creator-card-content strong{font-size:16px}.creator-card-content p{margin:8px 0 14px;font-size:13px;line-height:1.5;overflow-wrap:anywhere}.creator-card-content>span{font-size:12px;font-weight:900;text-decoration:underline}.creator-empty{flex:1 0 100%;margin:0;padding:20px;color:var(--ink-soft);text-align:center;font-size:14px;font-weight:700}
.relay-steps{list-style:none;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;padding:0;margin:0}.relay-steps li{border:3px solid #18191c;background:#e4f7ff;box-shadow:5px 5px #1c293c;padding:18px;min-width:0}.relay-steps li:nth-child(2){background:#fff0f5}.relay-steps li:nth-child(3){background:#e6f7ed}.relay-steps li:nth-child(4){background:#fff4c2}.relay-steps span{display:block;color:#409fca;font-size:13px;font-weight:900;margin-bottom:10px}.relay-steps strong{font-size:17px}.relay-steps p{font-size:13px;color:#62676d;line-height:1.6;margin:8px 0 0}.relay-cta{text-align:center;margin:30px 0 42px}.relay-cta p{font-size:13px;color:#62676d;margin:15px 0 0}.pose-share-open{width:100%;margin-top:14px;background:#e4f7ff!important}#pose-share-dialog{box-sizing:border-box;width:min(700px,94vw);max-height:90vh;padding:24px;border:4px solid #18191c;background:#fffdf7;color:#18191c;box-shadow:6px 6px #1c293c}#pose-share-dialog::backdrop{background:#151515aa}#pose-share-canvas{display:block;width:100%;height:auto;border:3px solid #18191c;background:#fff;margin:16px 0}#pose-share-text{width:100%;min-height:96px;padding:10px;border:2px solid #18191c;background:white;font:14px/1.5 'Microsoft YaHei',sans-serif;resize:vertical}.pose-share-label{display:block;font-size:13px;font-weight:900;margin-bottom:8px}.pose-share-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:14px}.pose-share-actions .btn{font-size:13px}.pose-share-note,#pose-share-status{font-size:12px;line-height:1.5;color:#62676d;margin:12px 0 0}.relay-section .apply-steps{margin-top:44px}@media(max-width:760px){.relay-steps{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.relay-steps li{padding:12px}.relay-steps strong{font-size:15px}.relay-steps p{font-size:12px}#pose-share-dialog{padding:16px}.pose-share-actions .btn{flex:1 1 100%}}
.apply-legacy-title{text-align:center;font-size:28px;margin:48px 0 22px}.relay-section .apply-steps{margin-top:0}
.relay-tips{max-width:1000px;margin:35px auto;text-align:center;color:#434a52}.relay-tips h3{font-size:21px;color:#18191c;margin:0 0 16px}.relay-tips ol{list-style:none;counter-reset:tip;padding:0;margin:0;display:grid;gap:10px}.relay-tips li{counter-increment:tip;font-size:14px;line-height:1.8}.relay-tips li::before{content:counter(tip) '、';font-weight:900;color:#3e9fc8}
.relay-tips li{display:flex;align-items:flex-start;text-align:left}.relay-tips li::before{flex:none}
.task-queue{position:fixed;z-index:80;right:24px;bottom:24px;width:min(340px,calc(100vw - 32px));border:3px solid #18191c;background:#fffdf7;box-shadow:5px 5px #1c293c;color:#18191c}.task-queue-toggle{display:flex;align-items:center;justify-content:space-between;width:100%;padding:12px 14px;border:0;background:#ffdc40;color:#18191c;font:900 15px/1.2 'Microsoft YaHei',sans-serif;cursor:pointer}.task-queue-toggle strong{display:inline-grid;place-items:center;min-width:23px;height:23px;margin-left:5px;padding:0 5px;border:2px solid #18191c;background:#fff;font-size:11px}.task-queue-toggle>span:last-child{font-size:22px;line-height:1}.task-queue-list{display:grid;gap:8px;max-height:min(52vh,420px);overflow:auto;padding:10px}.task-row{position:relative;border:2px solid #18191c;background:#e4f7ff}.task-row.task-done{background:#e6f7ed}.task-row.task-error{background:#fff0f5}.task-open{display:grid;gap:5px;width:100%;padding:10px 32px 11px 10px;border:0;text-align:left;background:transparent;color:#18191c;cursor:pointer;font:inherit}.task-open strong{font-size:13px}.task-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;color:#555d66}.task-stage{font-size:11px;line-height:1.4;overflow-wrap:anywhere}.task-open progress{width:100%;height:9px;border:1px solid #18191c;background:#fff;accent-color:#50b3e2}.task-done progress{accent-color:#54bd78}.task-error progress{accent-color:#e46f82}.task-remove{position:absolute;top:4px;right:5px;border:0;background:transparent;color:#18191c;font-size:20px;line-height:1;cursor:pointer}.task-queue-note{margin:0;padding:0 10px 10px;color:#666;font-size:11px;line-height:1.4}.task-announcement:not(:empty){position:fixed;z-index:90;right:24px;bottom:calc(100% - 70px);max-width:min(360px,calc(100vw - 32px));padding:10px 14px;border:2px solid #18191c;background:#fffdf7;box-shadow:4px 4px #1c293c;font-size:12px;font-weight:800;overflow-wrap:anywhere}.task-open:focus-visible,.task-queue-toggle:focus-visible,.task-remove:focus-visible{outline:3px solid #347bb9;outline-offset:2px}@media(max-width:600px){.task-queue{right:12px;bottom:12px;width:min(300px,calc(100vw - 24px))}.task-queue-list{max-height:38vh}.relay-tips h3{font-size:18px}.relay-tips li{font-size:13px}.task-announcement:not(:empty){right:12px;top:12px;bottom:auto}}
.pose-card-description .pose-card-author{display:block;color:#12688f;font-weight:800}
@media(max-width:600px){#workspace .file-info{align-items:flex-start}#workspace .file-preview{flex-basis:100px;height:95px}#workspace .result-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}#workspace .results-head{align-items:flex-start;gap:8px}#workspace .results-head span{font-size:11px}.creation-dialog{padding:16px}.creation-head h2{font-size:22px}.frame-layout{grid-template-columns:1fr}.frame-original img{height:180px}.generated-pair .generated-item img,.result-waiting{height:200px}.creation-actions .btn{width:100%}}
.nav-actions{display:flex;align-items:center;gap:12px}.language-toggle{min-height:44px;padding:0 14px;border:2px solid #18191c;background:#fffdf7;color:#18191c;font:900 14px 'Microsoft YaHei',sans-serif;box-shadow:3px 3px #1c293c;cursor:pointer}.language-toggle:focus-visible{outline:3px solid #347bb9;outline-offset:2px}
.relay-tips{text-align:left;max-width:100%}.relay-tips ol{overflow:clip;padding-bottom:4px}.relay-tips li{white-space:nowrap;min-width:0}.relay-tips li>span{display:block;flex:1;min-width:0;white-space:nowrap}
@media(max-width:600px){.relay-tips ol{overflow:visible}.relay-tips li,.relay-tips li>span{white-space:normal}.relay-tips li>span{font-size:13px}}
@media(max-width:760px){.nav-actions{gap:7px}.language-toggle{min-height:36px;padding:0 8px;font-size:12px}}
/* English headings have longer words, so their blocks use a flexible grid. */
html:is([lang="en"],[lang="ja"],[lang="ko"]) .hero-title{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.55fr) minmax(0,1fr);gap:4px;aspect-ratio:auto;width:min(620px,100%);height:auto;text-align:center;font-family:Arial,sans-serif;font-size:clamp(20px,3vw,36px);line-height:1.05}
html:is([lang="en"],[lang="ja"],[lang="ko"]) .hero-title .title-block{position:static;width:auto;height:auto;min-width:0;min-height:74px;padding:8px 5px;font:900 clamp(20px,3vw,36px)/1.05 Arial,sans-serif;letter-spacing:-.03em;white-space:normal;transform:none}
html:is([lang="en"],[lang="ja"],[lang="ko"]) .hero-title .title-blue{grid-column:1}
html:is([lang="en"],[lang="ja"],[lang="ko"]) .hero-title .title-green{grid-column:2 / 4;transform:rotate(2deg)}
html:is([lang="en"],[lang="ja"],[lang="ko"]) .hero-title .title-yellow{grid-column:1}
html:is([lang="en"],[lang="ja"],[lang="ko"]) .hero-title .title-pink{grid-column:2}
html:is([lang="en"],[lang="ja"],[lang="ko"]) .hero-title .pose-title{grid-column:3}
html:is([lang="en"],[lang="ja"],[lang="ko"]) .hero-title .pose-title svg{width:80%;height:auto;max-height:50px}
html:is([lang="en"],[lang="ja"],[lang="ko"]) .pose-actions{flex-wrap:wrap}
html:is([lang="en"],[lang="ja"],[lang="ko"]) .activity-join,html:is([lang="en"],[lang="ja"],[lang="ko"]) .pose-card-try{white-space:normal;height:auto;min-height:42px}
@media(max-width:760px){html:is([lang="en"],[lang="ja"],[lang="ko"]) .hero-title{gap:3px;font-size:clamp(16px,5vw,28px)}html:is([lang="en"],[lang="ja"],[lang="ko"]) .hero-title .title-block{min-height:52px;padding:6px 3px;font-size:clamp(16px,4.4vw,26px)}html:is([lang="en"],[lang="ja"],[lang="ko"]) .hero-title .pose-title svg{max-height:35px}}
.creation-form label .cover-picker{position:relative;display:flex;align-items:center;gap:10px;width:100%;min-height:44px;padding:6px;border:2px solid #18191c;background:#fff;color:#18191c;font-size:13px}.cover-picker input[type=file]{position:absolute;inset:0;width:100%;height:100%;padding:0;opacity:0;cursor:pointer}.creation-form label .cover-picker-button{flex:none;padding:5px 10px;border:2px solid #18191c;background:#e4f7ff;color:#18191c;font-size:12px;font-weight:800}.creation-form label .cover-picker-name{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#62676d;font-size:12px}.cover-picker:focus-within{outline:3px solid #347bb9;outline-offset:2px}
.ad-file-picker{position:relative;display:flex;align-items:center;gap:9px;width:100%;min-height:43px;padding:6px;border:2px solid #18191c;background:#fff;font-size:12px;font-weight:400}.ad-file-picker input[type=file]{position:absolute;inset:0;width:100%;height:100%;padding:0;opacity:0;cursor:pointer}.ad-file-button{flex:none;padding:5px 9px;border:2px solid #18191c;background:#e4f7ff;font-size:12px;font-weight:800}.ad-file-name{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#62676d}.ad-file-picker:focus-within{outline:3px solid #347bb9;outline-offset:2px}
/* Header controls model the reference toolbar while retaining Pose DIY accents. */
.nav-actions{display:flex;align-items:center;gap:14px}.online-indicator{display:flex;align-items:center;gap:6px;white-space:nowrap;font-size:14px;color:#18191c}.online-indicator strong{font-weight:900}.online-dot{width:8px;height:8px;border-radius:50%;background:#4fc879}.language-control{position:relative}.header-icon{display:grid;place-items:center;flex:none;width:42px;height:42px;padding:8px;border:3px solid #18191c;border-radius:50%;background:#fffdf7;color:#18191c;cursor:pointer;text-decoration:none}.header-icon:hover{background:#ffed9d}.header-icon svg{display:block;width:21px;height:21px}.header-icon:focus-visible{outline:3px solid #50b3e2;outline-offset:3px}.language-menu{position:absolute;z-index:50;top:calc(100% + 10px);right:0;width:190px;padding:7px;border:3px solid #18191c;border-radius:12px;background:#fffdf7;box-shadow:4px 4px #1c293c}.language-menu[hidden]{display:none}.language-menu button{display:flex;align-items:center;justify-content:space-between;width:100%;padding:10px 12px;border:0;border-radius:7px;background:transparent;color:#18191c;font:600 14px/1.25 Arial,sans-serif;text-align:left;cursor:pointer}.language-menu button:hover{background:#f0e6c7}.language-menu button[aria-checked=true]{background:#ffdc40;font-weight:900}.language-menu button[aria-checked=true]::after{content:'✓';font-size:16px}.theme-sun[hidden],.theme-moon[hidden]{display:none}
@media(max-width:760px){.topbar{height:auto;min-height:68px;flex-wrap:wrap;gap:9px}.nav-left{width:100%}.nav-actions{width:100%;gap:8px;justify-content:flex-end}.online-indicator{margin-right:auto;font-size:12px}.header-icon{width:34px;height:34px;padding:6px;border-width:2px}.header-icon svg{width:18px;height:18px}.topbar #share-site{flex-basis:auto;width:auto;min-width:76px;padding:0 12px}}
@media(max-width:350px){.nav-actions{gap:5px}.online-indicator{font-size:11px}.header-icon{width:31px;height:31px}.topbar #share-site{min-width:64px;padding:0 8px}}
.online-indicator[hidden]{display:none!important}
[data-feature-region][hidden]{display:none!important}
.online-indicator:not([data-status="online"]) .online-dot{background:#a4abb2}
/* The dark theme keeps photographs untouched and retains the colored block accents. */
html[data-theme="dark"] body:not(.console-page){color:#f3f4f7;background-color:#171a22;background-image:linear-gradient(#ffffff12 1px,transparent 1px),linear-gradient(90deg,#ffffff12 1px,transparent 1px)}
html[data-theme="dark"] .topbar.is-scrolled{background:#171a22;border-bottom-color:#424756}
html[data-theme="dark"] .topbar,html[data-theme="dark"] .online-indicator{color:#f3f4f7}
html[data-theme="dark"] .header-icon{background:#242936;border-color:#e7e8eb;color:#f7f7f7}
html[data-theme="dark"] .header-icon:hover{background:#394050}
html[data-theme="dark"] .language-menu{background:#242936;border-color:#e7e8eb;box-shadow:4px 4px #07080a}
html[data-theme="dark"] .language-menu button{color:#f7f7f7}html[data-theme="dark"] .language-menu button:hover{background:#394050}html[data-theme="dark"] .language-menu button[aria-checked=true]{background:#ffdc40;color:#18191c}
html[data-theme="dark"] .hero-lead,html[data-theme="dark"] .section-lead,html[data-theme="dark"] .works-sub,html[data-theme="dark"] .creator-empty,html[data-theme="dark"] .relay-cta p,html[data-theme="dark"] .relay-tips{color:#c5cbd5}
html[data-theme="dark"] .works-title,html[data-theme="dark"] .section-head h2,html[data-theme="dark"] .works-sub strong,html[data-theme="dark"] .relay-tips h3,html[data-theme="dark"] .apply-guide{color:#f3f4f7}
html[data-theme="dark"] .pose-card,html[data-theme="dark"] .creator-card{background:#282d39;color:#f3f4f7}
html[data-theme="dark"] .pose-card-description p{color:#d2d6dd}
html[data-theme="dark"] .pose-card-bar{color:#18191c}
html[data-theme="dark"] .pose-card-count,html[data-theme="dark"] .pose-card-tag{color:#18191c}
html[data-theme="dark"] .activity,html[data-theme="dark"] .activity-bip.activity-live,html[data-theme="dark"] .relay-steps li,html[data-theme="dark"] .relay-steps li:nth-child(n){background:#292f3d;color:#f3f4f7}
html[data-theme="dark"] .activity p,html[data-theme="dark"] .relay-steps p{color:#c5cbd5}
html[data-theme="dark"] .activity-badge{color:#18191c}
html[data-theme="dark"] .sponsor-card{background:#292f3d;color:#f3f4f7;border-color:#777e8d;box-shadow:5px 5px #090a0d}
html[data-theme="dark"] .sponsor-card:nth-child(even){background:#333947}html[data-theme="dark"] .sponsor-tag,html[data-theme="dark"] .sponsor-description,html[data-theme="dark"] .sponsor-card small{color:#c5cbd5}
html[data-theme="dark"] .sponsor-plus{color:#18191c}
html[data-theme="dark"] #workspace,html[data-theme="dark"] .creation-dialog,html[data-theme="dark"] #gallery-dialog,html[data-theme="dark"] #share-dialog,html[data-theme="dark"] #pose-share-dialog,html[data-theme="dark"] #explore-dialog,html[data-theme="dark"] .sponsor-dialog{background:#242936;color:#f3f4f7;border-color:#878e9d;box-shadow:6px 6px #08090b}
html[data-theme="dark"] .dialog-kicker,html[data-theme="dark"] .gallery-kicker,html[data-theme="dark"] .share-kicker,html[data-theme="dark"] .dialog-desc,html[data-theme="dark"] .creation-desc,html[data-theme="dark"] .gallery-description,html[data-theme="dark"] .share-tip,html[data-theme="dark"] .explore-description,html[data-theme="dark"] .explore-hint,html[data-theme="dark"] .pose-share-note,html[data-theme="dark"] .sponsor-form p,html[data-theme="dark"] .sponsor-feedback{color:#c5cbd5}
html[data-theme="dark"] .explore-card,html[data-theme="dark"] #workspace .upload,html[data-theme="dark"] #workspace .file-info,html[data-theme="dark"] .gallery-result,html[data-theme="dark"] .frame-original,html[data-theme="dark"] .generated-item,html[data-theme="dark"] .sponsor-test-note,html[data-theme="dark"] .sponsor-order{color:#18191c}
html[data-theme="dark"] .sponsor-preview .sponsor-card{color:#f3f4f7}
html[data-theme="dark"] .task-queue{background:#292f3d;color:#f3f4f7;border-color:#858c9b}
html[data-theme="dark"] .task-queue-note{color:#c5cbd5}html[data-theme="dark"] .task-row,html[data-theme="dark"] .task-open{color:#18191c}
html[data-theme="dark"] .topbar .pose-brand img{filter:invert(1) hue-rotate(180deg)}
html[data-theme="dark"] .topbar .nav button{color:#f3f4f7}
html[data-theme="dark"] .topbar .nav button:hover{color:#50b3e2}
html[data-theme="dark"] #workspace .dialog-desc,html[data-theme="dark"] #workspace #status,html[data-theme="dark"] #frame-status{color:#c5cbd5}
#wall-form[hidden],#photo-wall-form[hidden],#photo-wall-preview[hidden]{display:none}.wall-success:not([hidden]){padding:18px 0;display:grid;gap:12px;justify-items:start}.wall-success p{margin:0;font-weight:700}#photo-wall-preview{display:block;max-width:100%;max-height:45vh;object-fit:contain;justify-self:center;border:2px solid #18191c}
.task-queue-toggle[hidden],.task-receipt[hidden]{display:none}.task-receipt{padding:0 14px 14px;display:flex;flex-wrap:wrap;gap:8px}.task-card-id{width:100%;margin:0;overflow-wrap:anywhere;font-size:12px}.task-copy{font-size:12px;padding:5px 8px}.task-copy:disabled{opacity:.55}
