:root{color:#242629;font-synthesis:none;--ink:#242629;--muted:#62666c;--accent:#343b46;--accent-ink:#242a34;--soft:#f0f0ef;--line:#e2e3e4;--surface:#fff;--app-height:100dvh;--app-width:100vw;--header-height:64px;background:#fafafa;font-family:-apple-system,BlinkMacSystemFont,SF Pro Text,PingFang SC,Microsoft YaHei,sans-serif}*{box-sizing:border-box}body{margin:0;overflow:hidden}button,input,select{font:inherit}button,a,input{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:default;opacity:.4}button{touch-action:manipulation}button:focus-visible,a:focus-visible,input:focus-visible,summary:focus-visible{outline-offset:3px;outline:3px solid #535e6c}button svg{flex:none;width:20px;height:20px}a{color:inherit}svg{width:24px;height:24px}h1,h2,h3,p{margin:0}h1{letter-spacing:-.035em;text-wrap:balance;font-size:clamp(26px,3.2vw,38px);font-weight:500;line-height:1.35}h2{font-size:21px;font-weight:500;line-height:1.4}h3{margin:22px 0 12px;font-size:16px;line-height:1.5}p{line-height:1.65}small{font-size:12px}strong{font-weight:600}[hidden]{display:none!important}#app{width:var(--app-width);height:var(--app-height);background:#fafafa;position:relative;overflow:hidden}#screen{flex-direction:column;display:flex;position:absolute;inset:0;overflow:hidden}.topbar{height:calc(var(--header-height) + env(safe-area-inset-top));min-height:calc(var(--header-height) + env(safe-area-inset-top));padding:env(safe-area-inset-top) 22px 0;border-bottom:1px solid var(--line);z-index:5;background:#ffffffeb;grid-template-columns:1fr auto 1fr;align-items:center;gap:12px;display:grid}.topbar>:last-child{justify-self:end}.page-title{text-align:center;font-size:15px;font-weight:600}.wordmark{white-space:nowrap;align-items:center;gap:10px;font-size:19px;font-weight:600;text-decoration:none;display:flex}.brand-mark{color:#8f7bc7;font-size:32px;font-weight:400}.icon-button,.text-button{color:var(--accent-ink);background:0 0;border:0;border-radius:12px;justify-content:center;align-items:center;gap:6px;min-width:40px;min-height:40px;padding:8px;display:inline-flex}.icon-button{width:42px}.text-button{font-size:13px}.button{border:1px solid #0000;border-radius:12px;justify-content:center;align-items:center;gap:8px;min-height:44px;padding:11px 17px;font-size:14px;font-weight:500;line-height:1.4;text-decoration:none;display:inline-flex}.primary{background:var(--accent);color:#fff;box-shadow:0 4px 14px #7560b81a}.secondary{border-color:var(--line);color:var(--ink);background:#fff}.secondary:hover{background:#f6f6f5;border-color:#c5c8cc}.quiet{background:var(--soft);color:var(--accent-ink)}.wide{width:100%}.danger{color:#ac485e}.primary.danger{color:#fff;background:#a94d61}.muted,.helper,.local-caption{color:var(--muted);font-size:14px}.helper{font-size:13px;line-height:1.65}.local-caption{text-align:center;font-size:12px;line-height:1.7}.eyebrow{letter-spacing:.15em;color:#73777c;text-transform:uppercase;font-size:10px;font-weight:500;line-height:1.6}.pill{background:var(--soft);color:#62666c;white-space:nowrap;border-radius:8px;padding:6px 10px;font-size:11px;display:inline-flex}.page-content{scrollbar-width:thin;flex:1;width:100%;max-width:1100px;min-height:0;margin:0 auto;padding:36px 28px;overflow:auto}.page-heading{justify-content:space-between;align-items:center;gap:16px;margin-bottom:16px;display:flex}.welcome{flex-direction:column;align-items:flex-start;gap:24px;width:100%;max-width:600px;margin:auto;padding:32px;display:flex}.welcome h1{font-size:clamp(34px,6vw,56px);line-height:1.28}.intro{color:var(--muted);font-size:15px}.welcome .primary{margin-top:8px}.welcome .local-caption{width:100%}.welcome-emblem{color:#62666c;justify-content:center;align-items:center;gap:36px;width:100%;height:120px;display:flex}.welcome-emblem span{letter-spacing:-.06em;font-size:56px;font-weight:300}.welcome-emblem span:last-child{letter-spacing:.04em;font-size:42px;font-weight:500}.welcome-emblem i{color:#b4b8bd;font-size:22px;font-style:normal}.home-links{padding:12px 16px calc(16px + env(safe-area-inset-bottom));background:#fafafa;flex:none;justify-content:center;gap:20px;display:flex}.home-links .text-button{gap:7px;font-size:12px}.home-links svg{width:17px}.home-scene{flex:1;grid-template-rows:1fr auto;grid-template-columns:1fr 1.25fr;gap:20px;width:100%;max-width:1080px;min-height:0;margin:auto;padding:44px 32px 20px;display:grid;position:relative}.home-intro{z-index:1;align-self:end}.home-intro h1{margin-top:12px;font-size:clamp(28px,4vw,46px)}.home-intro h1 span{color:#62666c;font-weight:400}.saved-label{color:#62666c;margin-top:18px;font-size:12px}.hero-scene{background:#f7f7f6;border-radius:24px;grid-area:1/2/3;min-height:0;overflow:hidden}.home-actions{flex-direction:column;align-self:end;gap:10px;padding-top:32px;display:flex}.scene-view{touch-action:none;width:100%;height:100%;position:relative;overflow:hidden}.scene-view canvas{touch-action:none;display:block;width:100%!important;height:100%!important}.joint-handles{pointer-events:none;position:absolute;inset:0}.joint-handle{pointer-events:auto;touch-action:none;z-index:2;background:0 0;border:0;place-items:center;width:44px;height:44px;display:grid;position:absolute;transform:translate(-50%,-50%)}.joint-handle span{border:3px solid var(--accent);background:#fff;border-radius:50%;width:20px;height:20px;display:block;box-shadow:0 1px 6px #46337445}.joint-handle span:after{content:"";background:var(--accent);border-radius:50%;width:4px;height:4px;margin:5px;display:block}.joint-handle:active{transform:translate(-50%,-50%)!important}.choice-page{max-width:640px;padding-top:50px}.choice-page h1{margin:10px 0}.group-list{gap:18px;margin:36px 0 28px;display:grid}.group-card{text-align:left;border:1px solid var(--line);min-height:138px;color:var(--ink);background:#fff;border-radius:18px;align-items:center;gap:22px;padding:28px 24px;display:flex}.group-card>svg{color:#a18bbf;margin-left:auto}.group-monogram{color:#62666c;letter-spacing:-.05em;background:#f2f2f1;border-radius:50%;place-items:center;min-width:74px;height:74px;font-size:39px;display:grid}.muse .group-monogram{color:#62666c;background:#f2f2f1}.group-card strong{margin-bottom:9px;font-size:22px;display:block}.group-card small{color:var(--muted);font-size:13px}.character-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:14px;margin-top:24px;display:grid}.character-card{border:1.5px solid var(--line);color:var(--ink);background:#fff;border-radius:14px;padding:0 0 14px;font-size:12px;position:relative;overflow:hidden}.character-card>span{white-space:nowrap;padding:10px 4px 0;display:block}.asset-image{aspect-ratio:4/5;background:#f4f4f3;place-items:center;display:grid;position:relative;overflow:hidden}.asset-image img{object-fit:contain;z-index:1;opacity:0;width:100%;height:100%;transition:opacity .24s;position:absolute;inset:0}.asset-image img[src]{opacity:1}.asset-image-fallback{color:#b4b8bd;place-items:center;display:grid}.asset-image-fallback svg{stroke-width:1px;width:35px;height:35px}.asset-image img[src]+.asset-image-fallback{display:none}.selected{box-shadow:0 0 0 1px #535e6c2a;color:#242a34!important;background:#f2f2f1!important;border-color:#535e6c!important}.selected-check{background:var(--accent);color:#fff;z-index:2;border-radius:50%;place-items:center;width:21px;height:21px;display:grid;position:absolute;top:6px;right:6px}.selected-check svg{width:14px;height:14px}.sticky-actions{border-top:1px solid var(--line);padding:14px 24px calc(16px + env(safe-area-inset-bottom));background:#fff;flex:none;justify-content:space-between;align-items:center;gap:30px;display:flex}.sticky-actions p{color:var(--muted);font-size:13px}.sticky-actions strong{color:var(--ink);font-size:16px;display:block}.sticky-actions .primary{max-width:320px}.editor-workspace{flex:1;grid-template-columns:minmax(0,1fr) 370px;min-height:0;display:grid}.editor-stage{background:#f7f7f6;min-height:0;position:relative;overflow:hidden}.editor-scene{position:absolute;inset:24px 0 90px}.editor-viewbar{flex-wrap:wrap;justify-content:center;gap:5px;display:flex;position:absolute;bottom:35px;left:18px;right:18px}.scene-caption{color:#73777c;text-align:center;font-size:11px;position:absolute;bottom:12px;left:12px;right:12px}.editor-panel{padding:24px 22px calc(30px + env(safe-area-inset-bottom));border-left:1px solid var(--line);scrollbar-width:thin;background:#fff;min-height:0;overflow:auto}.panel-heading{justify-content:space-between;align-items:center;gap:10px;margin-bottom:20px;display:flex}.panel-heading h2{font-size:20px}.panel-heading .eyebrow{margin-bottom:6px}.section-grid{grid-template-columns:repeat(3,1fr);gap:10px;margin-bottom:24px;display:grid}.section-grid .button{background:#f7f7f6;border-color:#e2e3e4;flex-direction:column;gap:12px;min-height:86px;font-size:13px}.section-grid svg{color:#62666c;width:25px;height:25px}.setting-row{text-align:left;border:0;border-bottom:1px solid var(--line);width:100%;color:var(--ink);background:0 0;justify-content:space-between;align-items:center;gap:12px;padding:18px 0;font-size:13px;display:flex}.row-value{color:#62666c;text-align:right;justify-content:flex-end;align-items:center;gap:7px;max-width:70%;font-size:12px;display:flex}.row-value svg{width:14px;height:14px}.panel-actions{gap:10px;margin-top:24px;display:grid}.view-lock{color:#62666c;background:#fffc;border-radius:9px;align-items:center;gap:4px;padding:4px 6px;font-size:11px;display:flex}.view-lock input{accent-color:var(--accent)}.chip{color:#62666c;white-space:nowrap;background:#f2f2f1;border-radius:9px;min-height:35px;padding:7px 12px;font-size:12px;font-weight:400}.editor-viewbar .chip{background:#ffffffc9}.segmented{background:#f5f5f4;border-radius:12px;gap:6px;margin:0 0 18px;padding:4px;display:flex;overflow:auto}.segmented .chip{background:0 0;flex:1}.segmented .selected{box-shadow:0 1px 4px #6c549c13}.search-box{border:1px solid var(--line);color:#73777c;background:#f5f5f4;border-radius:12px;align-items:center;gap:8px;margin-bottom:16px;padding:11px 12px;display:flex}.search-box input{min-width:0;color:var(--ink);background:0 0;border:0;outline:0;flex:1;font-size:13px}.outfit-grid{grid-template-columns:repeat(3,1fr);gap:10px;display:grid}.outfit-card{border:1px solid var(--line);color:var(--ink);background:#fff;border-radius:10px;min-width:0;padding:0;overflow:hidden}.outfit-card>span{-webkit-line-clamp:3;word-break:break-word;-webkit-box-orient:vertical;min-height:44px;padding:8px 5px;font-size:10px;line-height:1.4;display:-webkit-box;overflow:hidden}.pagination{color:var(--muted);justify-content:space-between;align-items:center;gap:8px;margin:16px 0;font-size:12px;display:flex}.pagination .button{min-height:35px;padding:7px 10px;font-size:12px}.selection-caption{color:var(--muted);margin:16px 0;font-size:12px;line-height:1.5}.pose-grid{grid-template-columns:1fr 1fr;gap:8px;display:grid}.pose-card{text-align:left;border:1px solid var(--line);min-height:60px;color:var(--ink);background:#fff;border-radius:11px;align-items:center;gap:8px;padding:13px 8px;font-size:12px;display:flex}.pose-card svg{color:#8a8e94;flex:none;width:22px;height:22px}.pose-card svg:last-child:not(:first-child){width:13px;margin-left:auto}.pose-grid+.helper{margin:16px 0}.editor-panel>.wide{margin-top:12px}.part-tabs,.finger-tabs{flex-wrap:wrap;gap:6px;margin-bottom:14px;display:flex}.part-tabs .chip{flex:1 0 27%}.finger-tabs .chip{padding:7px 9px}.range-field{margin:18px 0;display:block}.range-field>span{color:#42464c;justify-content:space-between;align-items:center;gap:8px;margin-bottom:8px;font-size:13px;display:flex}.range-field output{color:#73777c;font-variant-numeric:tabular-nums;font-size:12px}.range-line{align-items:center;gap:8px;display:flex}.range-line input{accent-color:#535e6c;cursor:pointer;width:100%;min-width:0;height:30px}.step-button{color:#62666c;background:#f2f2f1;border:0;border-radius:8px;flex:none;width:28px;height:28px;font-size:15px}.constraint-card{border:1px solid var(--line);background:#fafafa;border-radius:12px;margin:18px 0;padding:14px}.constraint-card strong{font-size:13px}.constraint-card .helper{margin-top:7px;font-size:12px}.switch-row{color:#42464c;justify-content:space-between;align-items:center;gap:12px;min-height:44px;font-size:13px;display:flex}.switch-row input{appearance:none;cursor:pointer;background:#d7d9dc;border-radius:20px;flex:none;width:35px;height:21px;transition:background .2s;position:relative}.switch-row input:after{content:"";background:#fff;border-radius:50%;width:15px;height:15px;transition:transform .2s;position:absolute;top:3px;left:3px}.switch-row input:checked:after{transform:translate(14px)}.gesture-grid{grid-template-columns:repeat(3,1fr);gap:8px;margin:16px 0;display:grid}.gesture-button{border-color:var(--line);color:var(--muted);background:#fff;min-height:54px;font-size:13px}.advanced{border-top:1px solid var(--line);margin:16px 0;padding-top:14px}.advanced summary{color:#62666c;cursor:pointer;font-size:12px}.notice{color:#62666c;background:#f3f3f2;border-radius:12px;margin:20px 0;padding:18px;font-size:13px;line-height:1.7}.notice strong{color:#42464c;margin-bottom:6px;display:block}.notice p+p{margin-top:10px}.notice.error{color:#a4596b;background:#fff1f3}.empty-note{color:var(--muted);text-align:center;padding:22px;font-size:13px}.center-page{flex-direction:column;gap:18px;width:min(100%,440px);margin:auto;padding:30px;display:flex;overflow:auto}.center-page h1{font-size:32px}.center-page>p{color:var(--muted);font-size:14px}.large-icon{color:#62666c;background:#f0f0ef;border-radius:22px;place-items:center;width:72px;height:72px;margin-bottom:8px;display:grid}.large-icon svg{width:34px;height:34px}.error-detail{white-space:normal;word-break:break-word}#camera-layer{background:#1e1b23;position:absolute;inset:0;overflow:hidden}#camera-stage{position:absolute;inset:0;overflow:hidden}#camerafeed,#camera-stage>canvas{touch-action:none;display:block;position:absolute;inset:0;width:100%!important;height:100%!important}#camera-video{object-fit:contain;width:100%;height:100%;position:absolute;inset:0}body[data-screen=camera] #screen{pointer-events:none}body[data-screen=camera] .topbar,body[data-screen=camera] button,body[data-screen=camera] input,body[data-screen=camera] .camera-dock{pointer-events:auto}.camera-ui{flex:1;min-height:0;position:relative}.camera-status{color:#62566f;text-align:center;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);background:#ffffffde;border-radius:12px;padding:11px 14px;font-size:12px;line-height:1.5;position:absolute;top:14px;left:18px;right:18px}.camera-status small{color:#94849f;margin-top:3px;font-size:10px;display:block}.status-dot{background:#c89e7a;border-radius:50%;width:6px;height:6px;margin-right:7px;display:inline-block}.status-dot.ready{background:#8da998}.tracking-message{text-align:center;color:#fff;text-shadow:0 1px 10px #0004;position:absolute;top:25%;left:30px;right:30px}.scan-symbol{background:#ffffff24;border-radius:50%;place-items:center;width:60px;height:60px;margin:0 auto 18px;display:grid}.tracking-message p{margin:10px 0 16px;font-size:13px}.glass{color:#705a91;background:#ffffffd9;border:1px solid #fff5;margin:4px}.camera-dock{padding:18px 24px calc(12px + env(safe-area-inset-bottom));-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#fffffff2;border-radius:25px 25px 0 0;position:absolute;bottom:0;left:0;right:0}.camera-tools{justify-content:center;gap:10px;display:flex}.camera-tools .button{color:#62666c;background:#f2f2f1;border:0;min-height:39px;padding:9px 13px;font-size:12px}.camera-tools svg{width:16px;height:16px}.shutter-row{grid-template-columns:1fr auto 1fr;align-items:center;gap:24px;margin:17px 0 8px;display:grid}.shutter{background:#fff;border:2px solid #535e6c;border-radius:50%;justify-self:center;width:70px;height:70px;padding:5px;box-shadow:0 2px 10px #6b568516}.shutter span{background:#f0f0ef;border:1px solid #dedfe1;border-radius:50%;width:100%;height:100%;display:block}.shutter.counting span{background:var(--accent);border-radius:12px;transform:scale(.48)}.shutter-side{color:#62666c;background:0 0;border:0;flex-direction:column;justify-self:center;gap:4px;min-width:65px;padding:8px;font-size:12px}.shutter-side svg{width:19px;height:19px}.camera-foot{color:#73777c;justify-content:space-between;align-items:center;font-size:10px;display:flex}.camera-foot .text-button{min-height:24px;padding:0;font-size:10px}.placement-panel{border-bottom:1px solid var(--line);max-height:36vh;margin-bottom:16px;padding-bottom:18px;overflow:auto}.placement-panel h3{margin:0 0 8px}.countdown{text-align:center;color:#fff;text-shadow:0 2px 22px #0004;font-size:96px;position:absolute;top:30%;left:0;right:0}.photo-result{background:#f3f3f2;flex:1;grid-template-columns:minmax(0,1fr) 350px;min-height:0;display:grid}.photo-result>img,.photo-result>video{object-fit:contain;width:100%;height:100%;min-height:0;padding:20px}.photo-actions{background:#fff;flex-direction:column;justify-content:center;gap:12px;padding:30px;display:flex;overflow:auto}.photo-meta{margin-bottom:12px}.photo-meta strong{font-size:16px;line-height:1.5}.photo-meta span{color:var(--muted);margin-top:8px;font-size:12px;display:block}.two-buttons{gap:8px;display:flex}.two-buttons>.button{flex:1;min-width:0;padding:10px;font-size:12px}.album-grid{grid-template-columns:repeat(4,1fr);gap:18px;margin-top:26px;display:grid}.photo-card{border:1px solid var(--line);background:#fff;border-radius:14px;min-width:0;padding:0;overflow:hidden}.photo-card img,.photo-card video{aspect-ratio:3/4;object-fit:cover;width:100%}.photo-card span{text-align:left;color:var(--muted);padding:10px;font-size:12px;display:block}.empty-state{text-align:center;color:var(--muted);padding:65px 24px}.empty-state>svg{color:#b4b8bd;width:50px;height:50px;margin-bottom:20px}.empty-state h2{color:#62666c;font-size:22px}.empty-state p{max-width:320px;margin:12px auto 24px;font-size:13px}.library-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin-top:24px;display:grid}.saved-pose-card{border:1px solid var(--line);background:#fff;border-radius:15px;overflow:hidden}.saved-pose-card>img,.pose-placeholder{aspect-ratio:4/3;object-fit:cover;background:#f3f3f2;width:100%;display:block}.pose-placeholder{color:#8a8e94;place-items:center;display:grid}.pose-placeholder svg{width:60px;height:60px}.saved-pose-card>div:last-child{padding:16px}.saved-pose-card h3{margin:0 0 6px;font-size:16px}.saved-pose-card p{color:var(--muted);margin-bottom:14px;font-size:12px}.data-page{max-width:600px}.data-page h1{margin:10px 0 14px}.data-summary{border:1px solid var(--line);background:#fff;border-radius:16px;margin:24px 0;padding:0 20px}.data-summary .setting-row:last-child{border:0}.data-actions{gap:12px;margin-top:26px;display:grid}#loading{-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);z-index:80;pointer-events:all;background:#f7f4fb80;place-items:center;display:grid;position:absolute;inset:0}.loading-card{background:#fffffff2;border:1px solid #fff;border-radius:20px;flex-direction:column;align-items:center;gap:18px;min-width:240px;max-width:85%;padding:30px;display:flex;box-shadow:0 8px 40px #6e54931a}.loading-card strong{text-align:center;font-size:15px}.loading-card p{color:var(--muted);font-size:12px}.loading-card progress{width:200px;height:5px;accent-color:var(--accent);border-radius:8px}.spinner{border:2px solid #e2e3e4;border-top-color:#535e6c;border-radius:50%;width:28px;height:28px;animation:1s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}#toast{z-index:150;left:50%;bottom:calc(22px + env(safe-area-inset-bottom));color:#fff;background:#30343b;border-radius:12px;align-items:center;gap:15px;width:max-content;max-width:calc(100% - 32px);padding:13px 17px;font-size:13px;line-height:1.5;display:flex;position:absolute;transform:translate(-50%);box-shadow:0 8px 30px #352a4e22}#toast-action{color:#ddc9ff;white-space:nowrap;font:inherit;background:0 0;border:0}dialog{width:min(430px,100% - 32px);max-height:85%;color:var(--ink);background:#fff;border:1px solid #eee8f5;border-radius:22px;padding:0;overflow:auto;box-shadow:0 15px 80px #2c173733}.dialog-body{color:var(--muted);margin:14px 0 22px;font-size:14px}.dialog-body p+p{margin-top:12px}.dialog-actions{gap:9px;display:grid}.name-field{color:var(--muted);margin-bottom:20px;font-size:12px;display:block}.name-field input{border:1px solid var(--line);width:100%;color:var(--ink);background:#f7f7f6;border-radius:10px;margin-top:8px;padding:13px;font-size:15px;display:block}.boot{text-align:center;margin:auto}.boot h1{margin:14px;font-size:30px}.boot p{color:var(--muted);font-size:14px}.editor-panel,.page-content,.center-page{animation:.23s ease-out arrive}@keyframes arrive{0%{opacity:.45;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}@media (max-width:700px){:root{--header-height:56px}.topbar{padding-left:16px;padding-right:16px}.wordmark{gap:8px;font-size:17px}.brand-mark{font-size:28px}.topbar .page-title{font-size:14px}.page-content{padding:24px 20px}.welcome{gap:20px;padding:28px}.welcome-emblem{height:110px}.home-links{padding-bottom:calc(12px + env(safe-area-inset-bottom));gap:12px}.home-links .text-button{font-size:11px}.home-scene{flex-direction:column;gap:10px;padding:24px 20px 0;display:flex}.home-intro{align-self:stretch}.home-intro h1{margin-top:6px;font-size:26px}.home-intro h1 br{display:none}.home-intro h1 span{margin-left:5px;font-size:22px}.saved-label{margin-top:8px;font-size:11px}.hero-scene{border-radius:18px;flex:1;min-height:150px}.home-actions{gap:8px;width:100%;padding-top:4px}.home-actions .button{min-height:43px}.choice-page{padding-top:32px}.group-card{gap:16px;min-height:124px;padding:22px 20px}.group-card strong{font-size:20px}.group-card small{font-size:11px}.group-monogram{min-width:62px;height:62px;font-size:34px}.group-list{margin-top:26px}.character-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.character-card{font-size:11px}.sticky-actions{padding:12px 20px calc(14px + env(safe-area-inset-bottom));gap:14px}.sticky-actions p{flex:none;font-size:10px}.sticky-actions strong{font-size:13px}.sticky-actions .primary{flex:1;width:auto;max-width:230px}.chooser-list h1{font-size:26px}.editor-workspace{grid-template-rows:minmax(170px,43%) minmax(0,1fr);grid-template-columns:1fr;display:grid}.editor-stage{min-height:0}.editor-scene{inset:0 0 48px}.editor-viewbar{gap:4px;bottom:16px;left:10px;right:10px}.editor-viewbar .chip{min-height:28px;padding:4px 10px;font-size:10px}.view-lock{font-size:10px}.scene-caption{font-size:9px;bottom:0}.editor-panel{border-left:0;border-top:1px solid var(--line);padding:22px 22px calc(28px + env(safe-area-inset-bottom));z-index:2;border-radius:24px 24px 0 0;margin-top:-1px}.panel-heading{margin-bottom:17px}.panel-heading h2{font-size:19px}.section-grid{gap:8px;margin-bottom:18px}.section-grid .button{gap:7px;min-height:65px;font-size:12px}.section-grid svg{width:21px;height:21px}.panel-actions{margin-top:17px}.setting-row{padding:15px 0}.row-value{font-size:11px}.outfit-grid{grid-template-columns:repeat(3,1fr)}.outfit-card>span{font-size:10px}.outfit-card .asset-image{aspect-ratio:1}.part-tabs .chip{flex-basis:25%;min-height:34px}.range-field{margin:16px 0}.photo-result{flex-direction:column;display:flex}.photo-result>img,.photo-result>video{flex:1;min-height:120px;padding:12px}.photo-actions{flex:none;justify-content:flex-start;gap:10px;max-height:45%;padding:20px}.photo-meta{margin-bottom:0}.photo-meta strong{font-size:14px}.photo-meta span{margin-top:4px}.album-grid{grid-template-columns:repeat(2,1fr);gap:12px}.library-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.saved-pose-card>div:last-child{padding:12px}.saved-pose-card h3{font-size:13px}.saved-pose-card p{font-size:10px}.saved-pose-card .two-buttons{flex-direction:column;gap:6px}.saved-pose-card .button{min-height:35px;padding:7px;font-size:12px}.page-heading h1{font-size:25px}.page-heading>.button{white-space:nowrap;min-height:36px;padding:8px;font-size:12px}.empty-state{padding:50px 14px}.data-page h1{font-size:32px}.center-page{gap:17px;padding:28px}.center-page h1{font-size:29px}.camera-dock{padding:16px 20px calc(8px + env(safe-area-inset-bottom))}.camera-foot{font-size:9px}.dialog-content{padding:24px}}@media (orientation:landscape) and (max-height:560px){:root{--header-height:44px}.home-scene{grid-template-rows:1fr auto;grid-template-columns:1fr 1.3fr;gap:8px 24px;padding:12px 24px;display:grid}.home-intro h1{font-size:23px}.home-intro h1 span{font-size:20px}.home-intro .eyebrow{font-size:9px}.home-actions{gap:6px;padding:0}.home-actions .button{min-height:36px;padding:8px}.hero-scene{grid-area:1/2/3}.home-links{padding:0 16px 7px}.home-links .text-button{min-height:28px;padding:3px 8px}.welcome{grid-template-columns:1fr 1fr;gap:12px 24px;max-width:800px;padding:15px 28px;display:grid}.welcome .eyebrow{grid-column:1}.welcome h1{grid-column:1;font-size:28px}.welcome-emblem{grid-area:1/2/4;height:100px}.welcome .intro{grid-column:1;font-size:11px}.welcome>.primary{grid-area:4/2;margin:0}.welcome>.local-caption{display:none}.editor-workspace{grid-template-rows:1fr;grid-template-columns:minmax(0,1fr) 310px}.editor-panel{border-left:1px solid var(--line);border-radius:0;grid-column:2;padding:18px 20px}.editor-stage{grid-row:1}.editor-scene{inset:0 0 47px}.editor-viewbar{gap:3px;bottom:16px}.editor-viewbar .chip{min-height:28px;padding:4px 8px;font-size:10px}.scene-caption{font-size:9px;bottom:0}.editor-panel .panel-heading h2{font-size:17px}.editor-panel .section-grid .button{min-height:56px}.character-grid{grid-template-columns:repeat(6,minmax(0,1fr))}.sticky-actions{padding:8px 20px}.sticky-actions strong{margin-left:8px;display:inline}.sticky-actions .button{min-height:35px;padding:7px}.choice-page{max-width:800px;padding-top:20px}.choice-page h1{font-size:25px}.group-list{grid-template-columns:1fr 1fr;gap:14px;margin:18px 0}.group-card{min-height:108px;padding:18px}.group-card strong{font-size:17px}.group-monogram{min-width:50px;height:50px;font-size:29px}.center-page{max-width:540px;padding:22px;display:block}.center-page .large-icon{float:left;width:60px;height:60px;margin:0 20px 10px 0}.center-page h1{font-size:25px}.center-page h1 br{display:none}.center-page p{margin:12px 0;font-size:12px}.center-page>.button{width:auto;min-height:38px;margin:4px;padding:8px 14px;display:inline-flex}.center-page .local-caption{clear:both;font-size:11px}.camera-status{padding:8px;top:10px;left:16px;right:125px}.camera-dock{border-radius:20px 0 0 20px;flex-direction:column;justify-content:center;width:108px;padding:12px 10px;display:flex;top:0;bottom:0;left:auto}.camera-tools{flex-direction:column;gap:4px}.camera-tools .button{min-height:30px;padding:6px;font-size:10px}.camera-tools svg{display:none}.shutter-row{flex-direction:column;gap:5px;margin:8px 0;display:flex}.shutter{order:0;width:57px;height:57px}.shutter-side{flex-direction:row;order:1;min-height:25px;padding:2px;font-size:10px}.shutter-side svg{width:14px;height:14px}.camera-foot{justify-content:center}.camera-foot>span{display:none}.placement-panel{width:280px;max-height:calc(var(--app-height) - 70px);background:#fff;border-radius:18px;margin:0;padding:16px;position:fixed;bottom:16px;left:16px;box-shadow:0 8px 30px #35233d22}.tracking-message{top:21%;left:20px;right:140px}.tracking-message h2{font-size:20px}.tracking-message .scan-symbol{width:42px;height:42px;margin-bottom:8px}.tracking-message p{margin:6px 0;font-size:11px}.tracking-message .button{min-height:32px;padding:6px 10px;font-size:11px}.photo-result{grid-template-columns:1fr 300px;display:grid}.photo-actions{max-height:100%;padding:18px}.photo-actions .button{min-height:36px;padding:8px}.photo-result>img,.photo-result>video{min-height:0}.countdown{font-size:72px;right:108px}.page-content{padding:22px}.data-page{max-width:600px}.library-grid{grid-template-columns:repeat(3,1fr)}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}@media (max-width:700px) and (orientation:portrait){body[data-panel=overview] .editor-workspace{grid-template-rows:minmax(170px,38%) minmax(0,1fr)}body[data-panel=overview] .editor-panel{padding-top:18px}.panel-actions{gap:8px}.panel-actions .wide{min-height:40px;padding:9px}.panel-actions .text-button{min-height:28px;padding:4px}body[data-panel=overview] .panel-actions{margin-top:14px}body[data-panel=overview] .panel-heading,body[data-panel=overview] .section-grid{margin-bottom:12px}}#composition-frame{pointer-events:none;z-index:1;border:1px solid #ffffff65;position:absolute;box-shadow:0 0 0 150vmax #16131c33}@media (max-width:330px){.topbar{gap:4px;padding-inline:8px}.topbar .text-button{white-space:nowrap;padding:4px;font-size:11px}.topbar .text-button svg{display:none}.page-title{font-size:12px}.editor-scene{bottom:78px}.editor-viewbar{bottom:10px}.scene-caption{display:none}.editor-panel{padding-inline:14px}.panel-actions .primary svg{display:none}.panel-heading{flex-wrap:wrap;gap:5px}.section-grid .button{padding:8px 6px}.home-scene{overflow:auto}.hero-scene{min-height:150px}.welcome{min-height:0;margin:0 auto;overflow:auto}.home-links{gap:3px}.home-links .text-button{padding:5px;font-size:10px}}.primary{box-shadow:none}.wordmark{letter-spacing:0;font-size:16px;font-weight:600}.home-intro{justify-content:space-between;align-items:center;gap:12px;display:flex}.home-intro h1{letter-spacing:0;margin:0;font-size:25px;line-height:1.4}.character-group{color:var(--muted);margin-top:4px;font-size:12px;display:block}.home-intro .text-button{white-space:nowrap}.home-scene{padding-top:26px}.save-state{color:#a4596b;margin-bottom:4px;font-size:12px}.choice-page{padding-top:24px}.group-list{margin:0}.group-card{min-height:100px;padding:22px}.group-card strong{letter-spacing:0;font-size:23px}.group-card small{font-size:12px}.chooser-list .character-grid{margin-top:0}.panel-heading:empty,.dialog-body:empty,#edit-feedback:empty,.scene-caption{display:none}.editor-scene{bottom:66px}.editor-viewbar{bottom:20px}.camera-foot{justify-content:flex-end}.data-summary{margin-top:0}.data-fields{color:var(--muted);grid-template-columns:auto 1fr;gap:12px 18px;margin-top:26px;font-size:12px;line-height:1.6;display:grid}.data-fields dd{text-align:right;margin:0}.empty-state h2{font-size:18px}.empty-state>.button{margin-top:24px}.photo-meta span:empty{display:none}.page-heading:has(>.pill:only-child){justify-content:flex-end}.page-heading:has(>.button:only-child){justify-content:flex-end}@media (max-width:700px){.home-scene{gap:14px;padding-top:18px}.home-intro h1{font-size:21px}.home-intro .text-button{font-size:12px}.editor-scene{bottom:40px}.editor-viewbar{bottom:8px}.editor-workspace{grid-template-rows:minmax(170px,45%) minmax(0,1fr)}body[data-panel=overview] .editor-workspace{grid-template-rows:minmax(170px,43%) minmax(0,1fr)}.choice-page{padding-top:24px}.group-card{min-height:100px}.group-card strong{font-size:21px}}@media (orientation:landscape) and (max-height:560px){.home-scene{padding-top:12px}.home-intro h1{font-size:22px}.editor-workspace,body[data-panel=overview] .editor-workspace{grid-template-rows:1fr}.editor-scene{bottom:40px}.editor-viewbar{bottom:8px}.group-card{min-height:96px}.group-list{margin:0}}@media (max-width:330px){.editor-scene{bottom:74px}.editor-viewbar{bottom:8px}.home-intro{flex-wrap:wrap}.home-intro h1{font-size:20px}.wordmark{font-size:14px}}:root{--ink:#242629;--muted:#62666c;--accent:#343b46;--accent-ink:#242a34;--line:#e2e3e4;--soft:#f0f0ef;--surface:#fff;--ease:cubic-bezier(.22,1,.36,1)}body{font-variant-numeric:tabular-nums}h1,h2,h3{letter-spacing:0;font-weight:500}.topbar{background:#fff;gap:12px;padding-inline:20px}.button{border-radius:10px;min-height:44px;padding:12px 16px;font-weight:500}.button svg,.text-button svg{stroke-width:1.5px;width:18px;height:18px}.icon-button svg{stroke-width:1.5px;width:20px;height:20px}.primary{background:var(--accent);box-shadow:none}.primary:hover{background:#242a34}.secondary,.quiet{color:var(--ink);border-color:var(--line);background:#f5f5f4}.selected{color:var(--ink)!important;box-shadow:none!important;background:#fff!important;border-color:#697382!important}.chip{min-height:36px;color:var(--muted);border-radius:8px;padding:8px 12px}.chip.selected{background:#e9ebed!important}.character-grid,.outfit-grid{gap:12px}.character-card,.outfit-card{border:1px solid var(--line);color:var(--ink);background:#fff;border-radius:12px}.character-card{padding-bottom:0}.character-card>span:not(.selection-frame){min-height:36px;padding:8px 4px;font-size:12px;line-height:20px}.character-card.selected>span:not(.selection-frame){font-weight:600}.asset-image{aspect-ratio:4/5;background:#f5f5f4}.asset-image img{transition:none}.selection-frame{pointer-events:none;margin:0;inset:8px 8px 44px;padding:0!important;position:absolute!important}.selection-frame i{border:0 solid #535e6c;width:12px;height:12px;position:absolute}.selection-frame i:first-child{border-top-width:2px;border-left-width:2px;top:0;left:0}.selection-frame i:nth-child(2){border-top-width:2px;border-right-width:2px;top:0;right:0}.selection-frame i:nth-child(3){border-bottom-width:2px;border-left-width:2px;bottom:0;left:0}.selection-frame i:nth-child(4){border-bottom-width:2px;border-right-width:2px;bottom:0;right:0}.outfit-card>span{min-height:48px;padding:8px;font-size:12px;line-height:16px}.outfit-card .asset-image{aspect-ratio:4/5}.editor-panel{padding:20px 20px calc(24px + env(safe-area-inset-bottom))}.panel-heading{margin-bottom:16px}.section-grid{gap:8px;margin-bottom:16px}.section-grid .button{border-color:var(--line);background:#f7f7f6;border-radius:10px;font-size:13px}.section-grid svg{color:#62666c;stroke-width:1.5px;width:20px;height:20px}.setting-row{min-height:48px;padding-block:16px}.row-value,.range-field output{color:var(--muted);font-size:12px}.range-field{margin-block:16px}.range-field>span{font-size:13px}.range-line{gap:8px}.step-button{color:#62666c;width:32px;height:32px}.search-box{border-radius:10px;padding:12px}.search-box input{font-size:14px}.pill{color:var(--muted);background:0 0;border-radius:0;padding:0;font-size:12px}.panel-actions{gap:8px;margin-top:16px}.scene-caption{display:none}.photo-result{background:#f3f3f2}.saved-pose-card,.photo-card{border-radius:12px}.photo-actions{padding:24px}.notice{color:var(--muted);background:#f3f3f2;border-radius:12px;padding:16px}.notice strong{color:#42464c}.constraint-card{background:#fafafa;border-radius:12px;padding:16px}.switch-row input{background:#d7d9dc}.switch-row input:checked{background:#535e6c}.camera-status{-webkit-backdrop-filter:none;backdrop-filter:none;color:#42464c;background:#fffffff2}.camera-status small{color:#62666c;font-size:11px}.camera-dock{-webkit-backdrop-filter:none;backdrop-filter:none;background:#fff;border-radius:20px 20px 0 0}.camera-tools .button{color:#42464c;background:#f2f2f1}.shutter{box-shadow:none;border-color:#535e6c}.shutter span{background:#f0f0ef;border-color:#d9dde1}.shutter-side{color:#62666c}.camera-foot .text-button{font-size:11px}.joint-handle span{border-color:#535e6c;box-shadow:0 1px 4px #0002}.joint-handle span:after{background:#535e6c}dialog{border-color:var(--line);border-radius:16px;box-shadow:0 8px 24px #00000012}dialog::backdrop{-webkit-backdrop-filter:none;backdrop-filter:none;background:#17171744}.dialog-content{padding:24px}.dialog-body{color:var(--muted)}#loading{-webkit-backdrop-filter:none;backdrop-filter:none;background:#fafafae6}.loading-card{border-color:var(--line);border-radius:16px;box-shadow:0 8px 24px #0000000d}.page-content,.center-page,.editor-panel{animation:none}button{transition:background-color .16s var(--ease),color .16s var(--ease),border-color .16s var(--ease),transform .12s var(--ease)}button:active:not(:disabled){transform:scale(.98)}.home-links .text-button{color:#62666c;font-size:12px}.home-links{background:#fafafa}.home-intro .text-button{color:#535e6c;font-size:12px}.wordmark{font-weight:500}#toast{background:#30343b;box-shadow:0 4px 16px #0002}.hero-scene,.editor-stage{background:#f7f7f6}.data-fields{font-size:12px}.empty-state{color:#73777c}.empty-state h2{color:#62666c}@media (max-width:700px){.character-grid,.outfit-grid{gap:12px}.character-card{font-size:12px}.outfit-card>span{font-size:11px;line-height:16px}.section-grid .button{min-height:64px}.home-intro h1{font-size:22px}.editor-viewbar .chip{min-height:32px;padding:6px 8px;font-size:11px}.view-lock{font-size:11px}.editor-scene{bottom:44px}.editor-viewbar{bottom:8px}.panel-actions .wide{min-height:44px}.sticky-actions{padding:12px 20px calc(12px + env(safe-area-inset-bottom))}.sticky-actions strong{font-size:14px}.home-links .text-button,.camera-tools .button{font-size:12px}.camera-foot .text-button{font-size:11px}.camera-foot{min-height:20px}.saved-pose-card p{font-size:11px}.photo-card span{font-size:12px}}@media (orientation:landscape) and (max-height:560px){.topbar{padding-inline:16px}.editor-panel{padding:16px}.editor-viewbar .chip{min-height:28px;padding:4px 8px;font-size:11px}.camera-dock{border-radius:16px 0 0 16px}.camera-tools .button{min-height:32px;font-size:11px}.shutter-side{font-size:11px}.sticky-actions .button{min-height:36px}.camera-foot .text-button{font-size:11px}}.joint-handle:active span{box-shadow:0 0 0 6px #535e6c26}#toast-action{color:#e1e5ec}#camera-layer{isolation:isolate}html{height:100%;overflow:hidden}body{overscroll-behavior:none}body[data-screen=camera]{--header-height:48px}body[data-screen=camera] .topbar{padding-inline:max(12px,env(safe-area-inset-left)) max(12px,env(safe-area-inset-right))}.camera-ui{grid-template-rows:minmax(0,1fr) auto;grid-template-columns:minmax(0,1fr);display:grid;overflow:visible}.camera-viewfinder{pointer-events:none;min-width:0;min-height:0;position:relative;overflow:hidden;container:camera-viewfinder/size}.camera-viewfinder .camera-status{padding:8px 12px;font-size:12px;line-height:1.4;top:8px;left:12px;right:12px}.camera-viewfinder .camera-status small{margin-top:2px;font-size:11px}.camera-viewfinder .tracking-message{margin:0;top:50%;left:16px;right:16px;transform:translateY(-50%)}.camera-viewfinder .tracking-message h2{font-size:22px;line-height:1.35}.camera-viewfinder .tracking-message p{margin:8px 0 12px;font-size:12px;line-height:1.5}.camera-viewfinder .scan-symbol{width:48px;height:48px;margin:0 auto 12px}.camera-viewfinder .tracking-message .button{min-height:44px;padding:10px 14px;font-size:12px}.camera-viewfinder .countdown{line-height:1;top:50%;right:0;transform:translateY(-50%)}.camera-dock{width:auto;min-height:0;max-height:calc(var(--app-height) * .55);border-top:1px solid var(--line);padding:12px max(16px,env(safe-area-inset-right)) calc(8px + env(safe-area-inset-bottom)) max(16px,env(safe-area-inset-left));border-radius:0;grid-row:2;position:relative;inset:auto;overflow-y:auto}.camera-tools{gap:8px}.camera-tools .button{min-height:40px;padding:8px 12px;font-size:12px}.shutter-row{gap:16px;margin:12px 0 4px}.shutter{width:64px;height:64px}.shutter-side{min-width:64px;min-height:44px}.camera-foot,.camera-foot .text-button{min-height:24px}.placement-panel{width:auto;max-height:min(28dvh,220px);box-shadow:none;overscroll-behavior:contain;border-radius:0;margin:0 0 12px;padding:0 0 12px;position:static;overflow:auto}.placement-panel .range-field{margin-block:12px}dialog{inset:auto;left:calc(var(--visual-offset-left,0px) + var(--app-width)/2);top:calc(var(--visual-offset-top,0px) + var(--app-height)/2);width:min(430px,calc(var(--app-width) - 32px));max-height:calc(var(--app-height) - 32px);overscroll-behavior:contain;margin:0;position:fixed;transform:translate(-50%,-50%)}#composition-frame{box-shadow:0 0 0 150vmax #16131c33}@container camera-viewfinder (height<=340px){.camera-viewfinder .tracking-message{top:auto;bottom:12px;transform:none}.camera-viewfinder .scan-symbol{display:none}.camera-viewfinder .tracking-message h2{font-size:18px}.camera-viewfinder .tracking-message p{margin:4px 0 8px}}@container camera-viewfinder (height<=220px){.camera-viewfinder .camera-status{padding:6px 10px}.camera-viewfinder .tracking-message{bottom:8px}.camera-viewfinder .tracking-message p{display:none}.camera-viewfinder .tracking-message .button{min-height:36px;margin-top:6px;padding:6px 10px}}@media (orientation:portrait) and (max-height:650px){body[data-screen=camera]{--header-height:44px}.camera-dock{padding-top:8px;padding-bottom:calc(4px + env(safe-area-inset-bottom))}.camera-tools .button{min-height:36px;padding:6px 10px}.shutter-row{margin-top:8px;margin-bottom:0}.shutter{width:56px;height:56px}.camera-foot,.camera-foot .text-button{min-height:20px}}@media (orientation:landscape) and (max-height:600px){body[data-screen=camera]{--header-height:44px}.camera-ui{grid-template-columns:minmax(0,1fr) calc(112px + env(safe-area-inset-right));grid-template-rows:minmax(0,1fr)}.camera-dock{border:0;border-left:1px solid var(--line);width:auto;max-height:none;padding:8px calc(8px + env(safe-area-inset-right)) max(8px,env(safe-area-inset-bottom)) 8px;border-radius:0;flex-direction:column;grid-area:1/2;justify-content:center;display:flex;inset:auto;overflow:visible}.camera-tools{flex-direction:column;gap:4px}.camera-tools .button{min-height:32px;padding:6px;font-size:11px}.camera-tools svg{display:none}.shutter-row{flex-direction:column;gap:4px;margin:8px 0 4px;display:flex}.shutter{order:0;width:56px;height:56px}.shutter-side{flex-direction:row;order:1;min-height:32px;padding:4px;font-size:11px}.shutter-side svg{width:16px;height:16px}.camera-foot{justify-content:center;min-height:24px}.placement-panel{width:min(280px,calc(var(--app-width) - 144px - env(safe-area-inset-left) - env(safe-area-inset-right)));max-height:calc(var(--app-height) - var(--header-height) - env(safe-area-inset-top) - env(safe-area-inset-bottom) - 16px);border:1px solid var(--line);background:#fff;border-radius:12px;margin:0;padding:16px;position:absolute;bottom:8px;left:auto;right:calc(100% + 8px);box-shadow:0 4px 16px #0002}}@media (orientation:landscape) and (max-height:360px){.camera-dock{padding-top:4px;padding-bottom:max(4px,env(safe-area-inset-bottom))}.camera-tools{gap:2px}.shutter-row{gap:2px;margin-top:4px;margin-bottom:2px}.shutter{width:52px;height:52px}.camera-foot,.camera-foot .text-button{min-height:20px}}#toast{pointer-events:none}#toast-action:not([hidden]){pointer-events:auto}body[data-screen=camera] #toast{top:calc(var(--header-height) + env(safe-area-inset-top) + 76px);bottom:auto}.pose-preview{object-fit:contain;flex:none;width:48px;height:58px}.pose-card:has(.pose-preview){min-height:84px}.pose-card .pose-limit{color:var(--muted);margin-top:4px;font-size:10px;display:block}
