:root{--bg:#f5f5f7;--panel:#fff;--panel-2:#f5f5f7;--fill:#e8e8ed;--fill-hover:#dedee3;--canvas:#f0f0f3;--text:#1d1d1f;--text-2:#6e6e73;--text-3:#86868b;--text-4:#aeaeb2;--line:#00000014;--line-strong:#d2d2d7;--border:#e5e5ea;--border-strong:#d2d2d7;--hover:#0000000a;--active:#00000012;--ink:#1d1d1f;--ink-text:#fff;--primary:#0071e3;--primary-hover:#0077ed;--primary-soft:#e8f2fd;--accent:var(--primary);--success:#248a3d;--success-bg:#e9f7ed;--warning:#c93400;--warning-bg:#fff3e6;--danger:#d70015;--danger-bg:#fdeceb;--glass:var(--panel);--glass-strong:var(--panel);--glass-edge:transparent;--glass-hi:0 0 0 transparent;--shadow-card:0 1px 2px #0000000a, 0 4px 16px #0000000a;--shadow-soft:var(--shadow-card);--shadow-lift:0 2px 4px #0000000a, 0 12px 32px #00000014;--shadow:0 20px 60px #0000002e;--shadow-pop:0 10px 38px #00000024, 0 0 0 .5px #00000014;--r-sm:8px;--r:12px;--r-lg:20px;--r-xl:22px;--radius:var(--r-sm);--spring:cubic-bezier(.34, 1.56, .64, 1);--ease-out:cubic-bezier(.16, 1, .3, 1);--font:-apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "PingFang SC", "Helvetica Neue", "Microsoft YaHei", "Noto Sans SC", sans-serif;--en:var(--font);--mono:"SF Mono", ui-monospace, Menlo, Consolas, monospace;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light}:root[data-theme=dark]{--bg:#000;--panel:#1c1c1e;--panel-2:#2c2c2e;--fill:#2c2c2e;--fill-hover:#3a3a3c;--canvas:#111113;--text:#f5f5f7;--text-2:#a1a1a6;--text-3:#8e8e93;--text-4:#636366;--line:#ffffff1a;--line-strong:#48484a;--border:#38383a;--border-strong:#48484a;--hover:#ffffff0f;--active:#ffffff1a;--ink:#f5f5f7;--ink-text:#1d1d1f;--primary:#0a84ff;--primary-hover:#409cff;--primary-soft:#0a84ff29;--success:#30d158;--success-bg:#30d15824;--warning:#ff9f0a;--warning-bg:#ff9f0a24;--danger:#ff453a;--danger-bg:#ff453a24;--shadow-card:0 0 0 1px #ffffff0f;--shadow-lift:0 0 0 1px #ffffff14, 0 12px 32px #00000080;--shadow:0 20px 60px #0009, 0 0 0 1px #ffffff0f;--shadow-pop:0 10px 38px #0009, 0 0 0 .5px #ffffff1f;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}*{box-sizing:border-box}html,body{height:100%;margin:0;overflow:hidden}body{font-family:var(--font);letter-spacing:-.01em;color:var(--text);background:var(--bg);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-rendering:optimizelegibility;font-size:13px}#root{flex-direction:column;height:100%;display:flex}::selection{background:#0071e333}button{font:inherit;color:inherit;cursor:pointer;letter-spacing:inherit}input,select,textarea{font:inherit;color:inherit;letter-spacing:inherit}.ico{flex-shrink:0;display:block}.muted{color:var(--text-3)}.tabular{font-variant-numeric:tabular-nums}.btn{background:var(--fill);height:32px;color:var(--text);border:0;border-radius:99px;justify-content:center;align-items:center;gap:6px;padding:0 18px;font-weight:500;transition:background .15s,transform .15s;display:inline-flex}.btn:hover{background:var(--fill-hover)}.btn:active{transform:scale(.97)}.btn-primary{background:var(--primary);color:#fff}.btn-primary:hover{background:var(--primary-hover)}.btn-sm{height:28px;padding:0 12px;font-size:12px}.icon-btn{width:30px;height:30px;color:var(--text-2);background:0 0;border:0;border-radius:50%;justify-content:center;align-items:center;transition:background .15s,color .15s,transform .15s;display:inline-flex}.icon-btn:hover{background:var(--hover);color:var(--text)}.icon-btn:active{transform:scale(.9)}.input{border:1px solid var(--line-strong);background:var(--panel);border-radius:10px;outline:none;height:32px;padding:0 12px;transition:border-color .15s,box-shadow .15s}textarea.input{resize:vertical;height:auto;padding:8px 12px;line-height:1.6}select.input{padding:0 8px}.input:focus{border-color:var(--primary);box-shadow:0 0 0 4px #0071e326}.chip{background:var(--fill);height:30px;color:var(--text-2);border:0;border-radius:99px;padding:0 15px;font-size:12.5px;font-weight:500;transition:background .15s,color .15s}.chip:hover{color:var(--text)}.chip.active{background:var(--primary-soft);color:var(--primary)}input[type=checkbox],input[type=radio],input[type=range]{accent-color:var(--primary)}::-webkit-scrollbar{width:8px;height:8px}::-webkit-scrollbar-thumb{background:#d2d2d7;border-radius:8px}:root[data-theme=dark] ::-webkit-scrollbar-thumb{background:#48484a}::-webkit-scrollbar-track{background:0 0}::-webkit-scrollbar-corner{background:0 0}.popover{z-index:3000;background:var(--panel);box-shadow:var(--shadow-pop);transform-origin:0 0;border-radius:14px;max-height:calc(100vh - 8px);padding:5px;animation:.18s ease-out popIn;position:fixed;overflow:auto}.menu{min-width:188px}.menu-item{cursor:default;white-space:nowrap;border-radius:8px;align-items:center;gap:8px;height:32px;padding:0 10px 0 6px;transition:background .1s;display:flex}.menu-item:hover{background:var(--primary);color:#fff}.menu-item:hover .menu-icon,.menu-item:hover .menu-shortcut{color:#ffffffd9}.menu-item.disabled{opacity:.4}.menu-item.disabled:hover{color:inherit;background:0 0}.menu-icon{width:18px;color:var(--text-2);justify-content:center;display:flex}.menu-label{flex:1}.menu-shortcut{color:var(--text-3);margin-left:18px;font-size:12px}.menu-sep{background:var(--line);height:1px;margin:4px 8px}.menu-header{color:var(--text-3);padding:6px 10px 3px;font-size:12px;font-weight:500}.menu-app-ico{display:flex}.color-picker{width:240px;padding:8px}.cp-title{color:var(--text-3);margin:8px 2px 6px;font-size:12px;font-weight:500}.cp-grid{grid-template-columns:repeat(10,1fr);gap:4px;display:grid}.cp-shades{gap:2px 4px;margin-top:6px}.swatch{border:0;border-radius:6px;width:19px;height:19px;padding:0;transition:transform .15s;display:inline-block;box-shadow:inset 0 0 0 1px #0000001a}.swatch:hover{z-index:1;position:relative;transform:scale(1.2);box-shadow:inset 0 0 0 1px #00000026,0 2px 8px #0003}.cp-wide{text-align:left;background:0 0;border:0;border-radius:8px;align-items:center;gap:8px;width:100%;height:30px;margin-bottom:2px;padding:0 8px;display:flex}.cp-wide:hover{background:var(--hover)}.cp-custom{cursor:pointer;margin-top:8px;position:relative}.cp-custom input{opacity:0;cursor:pointer;width:100%;height:100%;position:absolute;top:0;left:0}.grid-picker{padding:8px}.gp-label{color:var(--text-2);margin-bottom:8px;font-size:12px;font-weight:500}.gp-grid{gap:3px;display:grid}.gp-cell{border:1px solid var(--line-strong);background:var(--panel);border-radius:4px;width:16px;height:16px;transition:background .1s}.gp-cell.on{background:var(--primary-soft);border-color:var(--primary)}.sym-panel{width:340px;padding:6px}.sym-grid{grid-template-columns:repeat(12,1fr);gap:2px;display:grid}.sym{background:0 0;border:0;border-radius:7px;height:28px;padding:0;font-size:15px;transition:background .1s}.sym:hover{background:var(--primary-soft);color:var(--primary)}.modal-overlay{z-index:2500;-webkit-backdrop-filter:blur(3px);background:#0000004d;justify-content:center;align-items:center;animation:.15s ease-out fadeIn;display:flex;position:fixed;inset:0}.modal{background:var(--panel);border-radius:var(--r-xl);box-shadow:var(--shadow);flex-direction:column;max-width:calc(100vw - 32px);max-height:calc(100vh - 32px);animation:.18s ease-out popIn;display:flex}.modal-header{letter-spacing:-.02em;cursor:move;-webkit-user-select:none;user-select:none;justify-content:space-between;align-items:center;padding:20px 20px 4px 24px;font-size:18px;font-weight:600;display:flex}.modal-x{background:var(--fill);width:28px;height:28px;color:var(--text-2);border:0;border-radius:50%;justify-content:center;align-items:center;transition:background .15s,color .15s;display:flex}.modal-x:hover{background:var(--fill-hover);color:var(--text)}.modal-body{padding:12px 24px;overflow:auto}.modal-msg{white-space:pre-wrap;color:#3a3a3c;font-size:14px;line-height:1.7}:root[data-theme=dark] .modal-msg{color:var(--text-2)}.modal-footer{justify-content:flex-end;gap:10px;padding:14px 24px 22px;display:flex}.modal-footer .btn{min-width:84px;height:36px}.form{flex-direction:column;gap:12px;display:flex}.form-row{align-items:center;gap:12px;display:flex}.form-row .form-label{flex-shrink:0;width:92px}.form-row .input{flex:1;min-width:0}.form-label{color:#3a3a3c;font-size:13px;font-weight:500}:root[data-theme=dark] .form-label{color:var(--text-2)}.form-check{cursor:pointer;align-items:center;gap:8px;display:flex}@keyframes fadeIn{0%{opacity:0}}@keyframes popIn{0%{opacity:0;transform:scale(.94)}}@keyframes panelUp{0%{opacity:0;transform:translateY(16px)scale(.98)}to{opacity:1;transform:none}}@keyframes riseIn{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}.toast-host{z-index:4000;pointer-events:none;flex-direction:column;align-items:center;gap:8px;display:flex;position:fixed;top:64px;left:50%;transform:translate(-50%)}.toast{color:#fff;opacity:0;transition:opacity .25s, transform .35s var(--spring);background:#1d1d1feb;border-radius:99px;align-items:center;gap:9px;padding:10px 18px 10px 14px;font-size:13px;font-weight:500;display:flex;transform:translateY(-8px)scale(.96);box-shadow:0 10px 30px #00000040}.toast:before{content:"";background:#0a84ff;border-radius:50%;flex:none;width:7px;height:7px}.toast.show{opacity:1;transform:none}.toast-success:before{background:#30d158}.toast-error:before{background:#ff453a}.spinner{border:2.5px solid var(--fill);border-top-color:var(--primary);border-radius:50%;width:26px;height:26px;animation:.8s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}@media (prefers-reduced-motion:reduce){*,:before,:after{transition-duration:.01ms!important;animation-duration:.01ms!important}}body{font-size:14px}a{color:var(--primary);text-decoration:none}code{font-family:var(--mono);background:var(--fill);border-radius:5px;padding:1px 5px;font-size:12px}h1,h2,h3,p{margin:0}.btn{white-space:nowrap;text-decoration:none}.btn:disabled{opacity:.45;cursor:default;transform:none}.btn-ghost{color:var(--primary);background:0 0}.btn-ghost:hover{background:var(--primary-soft)}.icon-btn.danger:hover{background:var(--danger-bg);color:var(--danger)}.spin{animation:.9s linear infinite spin}.spinner.small{border-width:2px;width:18px;height:18px}.app{background:var(--bg);flex-direction:column;height:100%;display:flex}.titlebar{background:var(--bg);flex:none;align-items:center;gap:16px;height:58px;padding:0 16px;display:flex}.brand{align-items:center;gap:10px;min-width:168px;display:flex}.logo-mark{background:var(--ink);width:30px;height:30px;color:var(--ink-text);letter-spacing:-.04em;border-radius:9px;justify-content:center;align-items:center;font-size:17px;font-weight:700;display:flex}.brand-text{flex-direction:column;line-height:1.2;display:flex}.brand-text b{letter-spacing:-.02em;font-size:15px;font-weight:600}.brand-text span{color:var(--text-3);font-size:11px}.seg{background:var(--fill);border-radius:99px;flex-wrap:nowrap;gap:2px;padding:3px;display:inline-flex}.seg button{height:30px;color:var(--text-2);white-space:nowrap;background:0 0;border:0;border-radius:99px;align-items:center;gap:6px;padding:0 14px;font-weight:500;transition:background .15s,color .15s;display:inline-flex}.seg button:hover{color:var(--text)}.seg button.active{background:var(--panel);color:var(--text);box-shadow:0 1px 3px #0000001f}.seg-sm button{height:24px;padding:0 10px;font-size:12px}.top-nav{margin:0 auto}.tb-right{justify-content:flex-end;align-items:center;gap:8px;min-width:168px;display:flex}.tb-round{background:var(--panel);width:36px;height:36px;box-shadow:var(--shadow-card);color:var(--text-2);border:0;border-radius:50%;justify-content:center;align-items:center;transition:box-shadow .2s,color .15s,transform .15s;display:inline-flex}.tb-round:hover{box-shadow:var(--shadow-lift);color:var(--text)}.tb-round:active{transform:scale(.95)}.weather-chip{background:var(--panel);height:36px;box-shadow:var(--shadow-card);color:var(--text-2);white-space:nowrap;border:0;border-radius:99px;align-items:center;gap:6px;padding:0 14px;font-size:13px;font-weight:500;display:inline-flex}.weather-chip:hover{color:var(--text);box-shadow:var(--shadow-lift)}.main{flex:1;min-height:0}.empty-state{color:var(--text-3);flex:1;justify-content:center;align-items:center;font-size:14px;display:flex}.card{background:var(--panel);border-radius:var(--r-lg);box-shadow:var(--shadow-card)}.section-label{letter-spacing:.12em;color:var(--text-3);text-transform:uppercase;font-size:11px;font-weight:600}.eyebrow{color:var(--text-3);font-variant-numeric:tabular-nums;font-size:12px;font-weight:500}.hint{color:var(--text-3);font-size:12.5px;line-height:1.6}.form-note{font-size:13px}.status-dot{align-items:center;gap:7px;font-size:13px;font-weight:500;display:inline-flex}.status-dot:before{content:"";background:currentColor;border-radius:50%;width:7px;height:7px}.status-dot.ok{color:var(--success)}.status-dot.warn{color:var(--warning)}.tag-row{flex-wrap:wrap;gap:6px;display:flex}.tag{background:var(--fill);height:24px;color:var(--text-2);border-radius:99px;align-items:center;padding:0 10px;font-size:12px;display:inline-flex}.chip{align-items:center;gap:6px;display:inline-flex}.chip-count{color:var(--text-3);font-size:11px}.chip.active .chip-count{color:var(--primary)}.chip-wrap{flex-wrap:wrap;gap:8px;display:flex}.link-like{color:var(--primary);align-items:center;gap:4px;font-size:12px;font-weight:500;display:inline-flex}.studio{grid-template-columns:272px minmax(0,1fr) 420px;gap:14px;height:100%;padding:2px 16px 16px;display:grid}.side-panel{animation:riseIn .35s var(--ease-out);flex-direction:column;gap:10px;padding:18px 16px;display:flex;overflow-y:auto}.side-panel .section-label{margin-top:6px}.model-card,.pose-card{background:var(--panel-2);cursor:pointer;border-radius:14px;align-items:center;gap:12px;padding:8px;transition:background .15s;display:flex}.model-card:hover,.pose-card:hover{background:var(--fill)}.model-card img{object-fit:cover;border-radius:10px;flex:none;width:72px;height:90px}.pose-card img{object-fit:contain;background:#fff;border-radius:10px;flex:none;width:72px;height:90px}.model-meta{flex-direction:column;gap:3px;min-width:0;display:flex}.model-meta b{text-overflow:ellipsis;white-space:nowrap;font-size:14px;font-weight:600;overflow:hidden}.model-meta span{color:var(--text-3);font-size:12px}.form-check.small{color:var(--text-2);align-items:flex-start;font-size:12px;line-height:1.4}.form-check.small input{margin-top:2px}.angle-seg{align-self:flex-start}.scene-input{resize:none;width:100%;font-size:13px}.gen-strip{grid-template-columns:repeat(3,1fr);gap:8px;display:grid}.gen-thumb{aspect-ratio:3/4;background:var(--panel-2);border:0;border-radius:10px;justify-content:center;align-items:center;padding:0;transition:box-shadow .15s;display:flex;overflow:hidden;box-shadow:inset 0 0 0 2px #0000}.gen-thumb img{object-fit:cover;width:100%;height:100%}.gen-thumb.active{box-shadow:inset 0 0 0 2px var(--primary)}.gen-thumb.active img{border-radius:10px;padding:2px}.dot-error{color:var(--danger);font-size:12px}.stage{min-height:0;animation:riseIn .4s var(--ease-out);flex-direction:column;display:flex;overflow:hidden}.stage-canvas{background:var(--canvas);flex:1;justify-content:center;align-items:center;min-height:0;display:flex;position:relative;overflow:hidden}.stage-outfit,.stage-photo{object-fit:contain;max-width:100%;max-height:100%;animation:.3s ease-out fadeIn}.stage-photo{height:100%}.stage-model-badge{width:64px;height:80px;box-shadow:var(--shadow-lift);border:3px solid var(--panel);border-radius:12px;position:absolute;top:16px;left:16px;overflow:hidden}.stage-model-badge img{object-fit:cover;width:100%;height:100%}.stage-busy{-webkit-backdrop-filter:blur(6px);color:var(--text-2);background:#f5f5f7b8;flex-direction:column;justify-content:center;align-items:center;gap:10px;font-size:13px;display:flex;position:absolute;inset:0}:root[data-theme=dark] .stage-busy{background:#0009}.stage-busy b{color:var(--text);font-size:15px;font-weight:600}.stage-error{background:var(--danger-bg);color:var(--danger);border-radius:12px;padding:10px 14px;font-size:13px;line-height:1.5;position:absolute;bottom:16px;left:16px;right:16px}.stage-views{box-shadow:var(--shadow-card);position:absolute;bottom:14px;left:50%;transform:translate(-50%)}.stage-info{flex-direction:column;flex:none;gap:8px;max-height:42%;padding:16px 20px 18px;display:flex;overflow-y:auto}.stage-title-row{flex-wrap:wrap;justify-content:space-between;align-items:flex-end;gap:12px;display:flex}.stage-title-row h2{letter-spacing:-.03em;margin-top:2px;font-size:22px;font-weight:600}.stage-actions{flex-wrap:wrap;gap:8px;display:flex}.stage-items{color:var(--text-2);font-size:13px;line-height:1.6}.stage-reason{color:var(--text);font-size:14px;line-height:1.7}.stage-tips{color:var(--text-2);font-size:13px;line-height:1.6}.chat{min-height:0;animation:riseIn .45s var(--ease-out);flex-direction:column;display:flex;overflow:hidden}.chat-head{border-bottom:1px solid var(--line);flex:none;align-items:center;gap:10px;padding:14px 14px 10px 18px;display:flex}.assistant-ava{background:var(--primary);color:#fff;border-radius:50%;flex:none;justify-content:center;align-items:center;width:34px;height:34px;display:flex}.chat-title{flex-direction:column;flex:1;min-width:0;line-height:1.3;display:flex}.chat-title b{letter-spacing:-.02em;font-size:15px;font-weight:600}.chat-title .status{color:var(--text-3);align-items:center;gap:6px;font-size:12px;display:inline-flex}.chat-title .status.on{color:var(--success)}.chat-title .status.on:before{content:"";background:currentColor;border-radius:50%;width:7px;height:7px;animation:1.4s ease-in-out infinite pulse}@keyframes pulse{50%{opacity:.35}}.chat-list{flex-direction:column;flex:1;gap:12px;min-height:0;padding:16px 16px 8px;display:flex;overflow-y:auto}.chat-welcome{flex-direction:column;gap:12px;padding:12px 4px;display:flex}.chat-welcome h3{letter-spacing:-.03em;font-size:22px;font-weight:600}.chat-welcome p{color:var(--text-2);font-size:13.5px;line-height:1.7}.chat-welcome .btn{align-self:flex-start}.quick{flex-wrap:wrap;gap:8px;display:flex}.msg{animation:riseIn .25s var(--ease-out);flex-direction:column;gap:8px;display:flex}.msg.user{align-items:flex-end}.bubble{white-space:pre-wrap;word-break:break-word;border-radius:18px;max-width:88%;padding:9px 14px;font-size:14px;line-height:1.65}.msg.user .bubble{background:var(--primary);color:#fff;border-bottom-right-radius:6px}.msg.assistant .bubble{background:var(--panel-2);color:var(--text);border-bottom-left-radius:6px;align-self:flex-start}.msg.error .bubble{background:var(--danger-bg);color:var(--danger)}.msg.interim .bubble{opacity:.6}.typing{letter-spacing:2px;color:var(--text-3);animation:1s ease-in-out infinite pulse}.msg-images{gap:6px;display:flex}.msg-images img{object-fit:cover;border-radius:12px;width:72px;height:72px}.look-card{background:var(--panel);box-shadow:0 0 0 1px var(--line);transition:box-shadow .2s, transform .2s var(--ease-out);border-radius:16px;gap:12px;padding:10px;display:flex}.look-card:hover{box-shadow:var(--shadow-lift);transform:translateY(-2px)}.look-card img{object-fit:cover;background:var(--canvas);cursor:pointer;border-radius:12px;flex:none;width:92px;height:138px}.look-body{flex-direction:column;gap:4px;min-width:0;display:flex}.look-no{color:var(--primary);letter-spacing:.04em;font-size:11px;font-weight:600}.look-body b{letter-spacing:-.02em;font-size:15px;font-weight:600}.look-reason{color:var(--text);font-size:13px;line-height:1.6}.look-tips{color:var(--text-3);font-size:12px;line-height:1.55}.look-actions{gap:6px;margin-top:auto;padding-top:4px;display:flex}.composer{border-top:1px solid var(--line);flex-direction:column;flex:none;gap:10px;padding:10px 14px 14px;display:flex}.attach-row{gap:8px;display:flex}.attach{width:52px;height:52px;position:relative}.attach img{object-fit:cover;border-radius:10px;width:100%;height:100%}.attach button{background:var(--ink);width:20px;height:20px;color:var(--ink-text);border:0;border-radius:50%;justify-content:center;align-items:center;padding:0;display:flex;position:absolute;top:-6px;right:-6px}.composer-box{background:var(--panel-2);box-shadow:inset 0 0 0 1px var(--line);border-radius:22px;align-items:flex-end;gap:6px;padding:5px 5px 5px 6px;transition:box-shadow .15s;display:flex}.composer-box:focus-within{box-shadow:inset 0 0 0 1px var(--primary), 0 0 0 4px #0071e31f}.composer-box .icon-btn{width:34px;height:34px}.composer-input{resize:none;field-sizing:content;background:0 0;border:0;outline:none;flex:1;max-height:120px;padding:7px 2px;font-size:14px;line-height:1.5}.send-btn{background:var(--primary);color:#fff;border:0;border-radius:50%;flex:none;justify-content:center;align-items:center;width:34px;height:34px;transition:background .15s,transform .15s,opacity .15s;display:flex}.send-btn:hover{background:var(--primary-hover)}.send-btn:active{transform:scale(.92)}.send-btn:disabled{opacity:.35;cursor:default}.send-btn.stop{background:var(--ink);color:var(--ink-text)}.voice-row{gap:8px;display:flex}.mic-btn,.call-btn{border:0;border-radius:99px;flex:1;justify-content:center;align-items:center;gap:8px;height:40px;font-weight:500;transition:background .15s,color .15s,transform .15s;display:inline-flex}.mic-btn{background:var(--primary-soft);color:var(--primary)}.mic-btn:hover{background:var(--primary);color:#fff}.mic-btn.live{background:var(--primary);color:#fff;animation:1.4s ease-in-out infinite breathe}.call-btn{background:var(--fill);color:var(--text)}.call-btn:hover{background:var(--fill-hover)}.call-btn.live{background:var(--danger-bg);color:var(--danger)}.mic-btn:active,.call-btn:active{transform:scale(.97)}.mic-btn:disabled,.call-btn:disabled{opacity:.4;cursor:default}@keyframes breathe{50%{box-shadow:0 0 0 8px #0071e329}}.page{max-width:1480px;height:100%;margin:0 auto;padding:8px 24px 40px;overflow-y:auto}.page-head{flex-wrap:wrap;justify-content:space-between;align-items:flex-end;gap:20px;padding:12px 0 18px;display:flex}.page-head h1{letter-spacing:-.03em;margin:2px 0 6px;font-size:32px;font-weight:600}.page-head p{max-width:640px;font-size:14px;line-height:1.6}.search-pill{background:var(--panel);width:min(420px,100%);height:42px;box-shadow:var(--shadow-card);color:var(--text-3);border-radius:99px;align-items:center;gap:8px;padding:0 16px;display:flex}.search-pill input{background:0 0;border:0;outline:none;flex:1;min-width:0;font-size:14px}.filter-row{flex-wrap:wrap;align-items:center;gap:8px;margin-bottom:18px;display:flex}.filter-sep{background:var(--line);width:1px;height:18px;margin:0 4px}.result-count{margin-left:auto;font-size:13px}.more-row{justify-content:center;padding:24px 0;display:flex}.empty-inline{color:var(--text-3);flex-direction:column;align-items:center;gap:12px;padding:64px 16px;font-size:14px;display:flex}.empty-inline svg{opacity:.6}.grid-cards{grid-template-columns:repeat(auto-fill,minmax(188px,1fr));gap:14px;display:grid}.costume-card{background:var(--panel);box-shadow:var(--shadow-card);transition:box-shadow .2s, transform .25s var(--ease-out);border-radius:18px;overflow:hidden}.costume-card:hover{box-shadow:var(--shadow-lift);transform:translateY(-3px)}.costume-card.active{box-shadow:0 0 0 2px var(--primary), var(--shadow-lift)}.costume-img{aspect-ratio:2/3;background:var(--canvas);cursor:pointer}.costume-img img{object-fit:cover;width:100%;height:100%;display:block}.costume-body{flex-direction:column;gap:4px;padding:10px 12px 12px;display:flex}.costume-body p{-webkit-line-clamp:2;-webkit-box-orient:vertical;height:2.9em;font-size:13px;line-height:1.45;display:-webkit-box;overflow:hidden}.costume-actions{gap:6px;margin-top:4px;display:flex}.grid-people{grid-template-columns:repeat(auto-fill,minmax(132px,1fr));gap:12px;display:grid}.person{background:var(--panel);box-shadow:var(--shadow-card);text-align:left;transition:box-shadow .2s, transform .25s var(--ease-out);border:0;border-radius:16px;padding:0;position:relative;overflow:hidden}.person:hover{box-shadow:var(--shadow-lift);transform:translateY(-3px)}.person.active{box-shadow:0 0 0 2px var(--primary)}.person img{aspect-ratio:4/5;object-fit:cover;width:100%;display:block}.person span{color:var(--text-2);white-space:nowrap;text-overflow:ellipsis;padding:7px 10px 9px;font-size:12px;display:block;overflow:hidden}.person .check{background:var(--primary);color:#fff;border-radius:50%;justify-content:center;align-items:center;width:22px;height:22px;display:flex;position:absolute;top:8px;right:8px}.grid-poses{grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:14px;display:grid}.pose{background:var(--panel);box-shadow:var(--shadow-card);border-radius:18px;padding:10px}.pose.active{box-shadow:0 0 0 2px var(--primary)}.pose-views{grid-template-columns:repeat(5,1fr);gap:4px;display:grid}.pose-views button{aspect-ratio:3/4;background:#fff;border:0;border-radius:8px;padding:0;overflow:hidden;box-shadow:inset 0 0 0 2px #0000}.pose-views button.on{box-shadow:0 0 0 2px var(--primary)}.pose-views img{object-fit:contain;width:100%;height:100%;display:block}.pose-name{justify-content:space-between;align-items:baseline;gap:8px;padding:8px 4px 2px;display:flex}.pose-name b{font-size:13px;font-weight:600}.pose-name span{color:var(--text-3);white-space:nowrap;font-size:12px}.upload-card{flex-direction:column;align-items:flex-start;gap:12px;max-width:560px;padding:28px;display:flex}.upload-card h3{letter-spacing:-.02em;font-size:18px;font-weight:600}.upload-card p{font-size:13.5px;line-height:1.7}.upload-preview{object-fit:cover;border-radius:16px;width:160px;height:200px}.grid-lookbook{grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:16px;display:grid}.lb-card{background:var(--panel);box-shadow:var(--shadow-card);border-radius:20px;flex-direction:column;display:flex;overflow:hidden}.lb-card img{aspect-ratio:3/4;object-fit:cover;cursor:pointer;width:100%;display:block}.lb-body{flex-direction:column;gap:4px;padding:12px 14px;display:flex}.lb-body b{letter-spacing:-.02em;font-size:15px;font-weight:600}.lb-body span{font-size:12px}.lb-body p{color:var(--text-2);-webkit-line-clamp:3;-webkit-box-orient:vertical;font-size:13px;line-height:1.6;display:-webkit-box;overflow:hidden}.lb-actions{justify-content:flex-end;gap:4px;display:flex}.settings-modal{width:600px}.settings-tabs{align-self:flex-start;margin:10px 24px 4px}.settings-modal .modal-body{min-height:320px}.form-row .seg{flex:none}.form-row input[type=range]{flex:1}.memory-list{flex-direction:column;gap:4px;margin:0;padding:0;list-style:none;display:flex}.memory-list li{background:var(--panel-2);border-radius:10px;justify-content:space-between;align-items:center;gap:8px;padding:6px 6px 6px 12px;font-size:13px;display:flex}.section-head{justify-content:space-between;align-items:center;margin-top:6px;display:flex}.section-head .section-label{margin-top:0}.link-btn{color:var(--primary);background:0 0;border:0;align-items:center;gap:2px;padding:0;font-size:12px;font-weight:500;display:inline-flex}.link-btn:hover{text-decoration:underline}.input-sm{border-radius:8px;height:28px;padding:0 6px;font-size:12px}.pose-current{align-items:center;gap:8px;display:flex}.pose-current b{white-space:nowrap;text-overflow:ellipsis;flex:1;min-width:0;font-size:13px;font-weight:600;overflow:hidden}.pose-current select{flex:none;width:104px}.pose-quick{grid-template-columns:repeat(4,1fr);gap:6px;max-height:236px;margin:-2px;padding:2px;display:grid;overflow-y:auto}.pose-quick button{aspect-ratio:3/4;box-shadow:inset 0 0 0 1px var(--line);background:#fff;border:0;border-radius:9px;padding:0;transition:box-shadow .15s,transform .15s;overflow:hidden}.pose-quick button:hover{box-shadow:inset 0 0 0 1px var(--line-strong), var(--shadow-card);transform:translateY(-1px)}.pose-quick button.on{box-shadow:0 0 0 2px var(--primary)}.pose-quick img{object-fit:contain;width:100%;height:100%;display:block}.stage-photo{cursor:zoom-in}.gallery{grid-template-columns:repeat(auto-fill,minmax(190px,1fr));gap:18px 14px;display:grid}.thumb{min-width:0}.thumb-media{aspect-ratio:3/4;background:var(--canvas);cursor:zoom-in;width:100%;transition:transform .25s var(--ease-out), box-shadow .25s var(--ease-out);border-radius:14px;outline:none;display:block;position:relative;overflow:hidden}.thumb-media:focus-visible{box-shadow:0 0 0 3px #0071e366}.thumb-media img{object-fit:cover;width:100%;height:100%;display:block}.thumb:hover .thumb-media{box-shadow:var(--shadow-lift);transform:translateY(-2px)}.thumb-actions{opacity:0;gap:6px;transition:opacity .15s;display:flex;position:absolute;top:8px;right:8px}.thumb:hover .thumb-actions,.thumb:focus-within .thumb-actions{opacity:1}@media (hover:none){.thumb-actions{opacity:1}}.thumb-act{background:var(--panel);width:30px;height:30px;color:var(--text-2);cursor:pointer;border:0;border-radius:50%;justify-content:center;align-items:center;transition:color .15s,transform .15s;display:inline-flex;box-shadow:0 1px 4px #0000002e}.thumb-act:hover{color:var(--primary)}.thumb-act.del:hover{color:var(--danger)}.thumb-act:active{transform:scale(.9)}.thumb-meta{padding:8px 2px 0}.thumb-title{color:var(--text);white-space:nowrap;text-overflow:ellipsis;font-size:13px;font-weight:500;overflow:hidden}.thumb-time{color:var(--text-3);font-variant-numeric:tabular-nums;margin-top:2px;font-size:11.5px}.thumb.stack .thumb-media{cursor:pointer;background:0 0;overflow:visible}.thumb.stack .thumb-media img{z-index:2;border-radius:14px;position:relative}.thumb.stack .thumb-media:before,.thumb.stack .thumb-media:after{content:"";background:var(--fill);transition:transform .25s var(--ease-out);border-radius:14px;position:absolute;inset:0}.thumb.stack .thumb-media:before{z-index:1;transform:translate(6px,-6px)rotate(2.5deg)}.thumb.stack .thumb-media:after{z-index:0;background:var(--fill-hover);transform:translate(11px,-10px)rotate(5deg)}.thumb.stack:hover .thumb-media:before{transform:translate(9px,-8px)rotate(4deg)}.thumb.stack:hover .thumb-media:after{transform:translate(16px,-13px)rotate(7deg)}.stack-count{z-index:3;color:#fff;background:#1d1d1fc7;border-radius:99px;align-items:center;height:24px;padding:0 10px;font-size:12px;font-weight:500;display:flex;position:absolute;bottom:8px;left:8px}.folder{width:min(980px,100vw - 32px)}.folder-prompt{color:var(--text-2);padding:0 24px 6px;font-size:13px;line-height:1.6}.folder-body{padding:10px 24px;overflow-y:auto}.btn-danger{color:var(--danger);background:0 0}.btn-danger:hover{background:var(--danger-bg)}.modal-footer .btn-danger{margin-right:auto}.modal-footer a.btn{color:var(--text)}.lightbox{width:min(1180px,100vw - 32px)}.lb-title{font-size:16px}.lb-body{grid-template-columns:minmax(0,1fr) 300px;gap:20px;padding:8px 24px 4px;display:grid;overflow:auto}.lb-stage{background:var(--canvas);touch-action:none;border-radius:14px;justify-content:center;align-items:center;height:min(70vh,780px);min-height:280px;padding:10px;display:flex;position:relative;overflow:hidden}.lb-stage img{object-fit:contain;transform-origin:50%;will-change:transform;-webkit-user-select:none;user-select:none;border-radius:6px;max-width:100%;max-height:100%;transition:transform 80ms linear}.lb-stage.is-zoomed img{cursor:grab;border-radius:0}.lb-stage.is-dragging img{cursor:grabbing;transition:none}.lb-nav{background:var(--panel);width:36px;height:36px;color:var(--text-2);box-shadow:var(--shadow-card);z-index:2;border:0;border-radius:50%;justify-content:center;align-items:center;display:inline-flex;position:absolute;top:50%;transform:translateY(-50%)}.lb-nav:hover{color:var(--text);box-shadow:var(--shadow-lift)}.lb-nav.prev{left:10px}.lb-nav.next{right:10px}.lb-nav:disabled{opacity:0;pointer-events:none}.zoom-badge{color:#fff;opacity:0;pointer-events:none;background:#1d1d1fc7;border-radius:99px;align-items:center;height:26px;padding:0 10px;font-size:12px;font-weight:500;transition:opacity .2s;display:flex;position:absolute;bottom:12px;left:12px}.zoom-badge.show{opacity:1}.zoom-hint{color:var(--text-3);pointer-events:none;font-size:11.5px;transition:opacity .2s;position:absolute;bottom:12px;right:12px}.lb-stage.is-zoomed .zoom-hint{opacity:0}.lb-info{flex-direction:column;gap:16px;min-width:0;max-height:min(70vh,780px);display:flex;overflow-y:auto}.lb-block-title{color:var(--text-3);margin-bottom:6px;font-size:12px;font-weight:500}.prompt-box{background:var(--panel-2);white-space:pre-wrap;overflow-wrap:anywhere;border-radius:10px;padding:10px 12px;font-size:13px;line-height:1.65}.lb-outfit{background:var(--panel-2);border-radius:12px;gap:10px;padding:8px;display:flex}.lb-outfit img{object-fit:cover;background:var(--canvas);border-radius:8px;flex:none;width:64px;height:96px}.lb-outfit p{margin-top:2px;font-size:12.5px;line-height:1.55}.kv{grid-template-columns:44px minmax(0,1fr);gap:8px 12px;margin:0;font-size:13px;display:grid}.kv dt{color:var(--text-3)}.kv dd{overflow-wrap:anywhere;margin:0}.confirm-overlay{z-index:2700}.confirm-modal{text-align:center;align-items:center;gap:8px;width:380px;padding:28px 24px 22px}.confirm-icon{background:var(--danger-bg);width:48px;height:48px;color:var(--danger);border-radius:50%;justify-content:center;align-items:center;margin-bottom:6px;display:flex}.confirm-modal h3{letter-spacing:-.02em;font-size:17px;font-weight:600}.confirm-modal p{color:var(--text-2);font-size:13px;line-height:1.6}.confirm-actions{grid-template-columns:1fr 1fr;gap:10px;width:100%;margin-top:14px;display:grid}.confirm-actions .btn{height:36px}.btn-danger-solid{background:var(--danger);color:#fff}.btn-danger-solid:hover{background:var(--danger);filter:brightness(1.08)}@media (width<=1320px){.studio{grid-template-columns:236px minmax(0,1fr) 360px;gap:12px}.side-panel{padding:16px 12px}.pose-quick{grid-template-columns:repeat(3,1fr)}}@media (width<=1100px){.main{overflow-y:auto}.studio{grid-template-rows:auto auto;grid-template-columns:minmax(0,1fr) 360px;align-items:start;height:auto;min-height:100%}.studio .stage{height:calc(100vh - 96px);min-height:520px}.studio .chat{height:calc(100vh - 76px);position:sticky;top:0}.side-panel{flex-flow:wrap;grid-area:2/1;align-items:center;overflow:visible}.side-panel .section-label{display:none}.side-panel .model-card,.side-panel .pose-card{flex:200px}.side-panel .scene-input{flex:260px;width:auto}.side-panel .gen-strip{grid-template-columns:repeat(6,48px)}.side-panel .section-head,.side-panel .pose-current{flex:100%}.side-panel .section-head .section-label{display:block}.side-panel .pose-quick{flex:100%;grid-template-columns:none;grid-auto-columns:54px;grid-auto-flow:column;max-height:none;padding-bottom:6px;overflow:auto hidden}.stage{grid-area:1/1}.chat{grid-area:1/2/span 2}.model-card img,.pose-card img{width:48px;height:60px}}@media (width<=980px){.studio .stage{height:auto;min-height:66vh}.studio .chat{height:auto;min-height:80vh;position:static}.studio>*{min-width:0;max-width:100%}.side-panel .pose-quick{width:100%;min-width:0}.titlebar{gap:10px;padding:0 12px}.brand{min-width:0}.brand-text,.top-nav button span{display:none}.tb-right{min-width:0}.weather-chip span{display:none}.studio{flex-direction:column;height:auto;min-height:100%;padding:2px 12px 16px;display:flex;overflow:visible}.main{overflow-y:auto}.stage{min-height:70vh}.chat{min-height:80vh}.side-panel{flex-direction:column;order:3;align-items:stretch}.side-panel .model-card,.side-panel .pose-card,.side-panel .scene-input{flex:none}.stage{order:1}.chat{order:2}.tb-round,.weather-chip{flex:none}.top-nav{flex:0 auto;min-width:0}.top-nav button{padding:0 11px}.page{padding:8px 16px 32px}.page-head h1{font-size:26px}}@media (width<=860px){.lb-body{grid-template-columns:minmax(0,1fr);padding:8px 16px 4px}.lb-stage{height:56vh}.lb-info{max-height:none}}@media (width<=560px){.gallery{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 10px}.modal-footer{flex-wrap:wrap}.titlebar{gap:6px;padding:0 10px}.logo-mark{display:none}.tb-right{gap:5px}.tb-round,.weather-chip{justify-content:center;width:34px;height:34px;padding:0}.top-nav button{padding:0 9px}.stage{min-height:62vh}.stage-info{max-height:none}.grid-cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.grid-people{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.grid-poses{grid-template-columns:1fr}.costume-actions .btn{padding:0 8px}.stage-title-row h2{font-size:19px}.settings-modal .form-row{flex-wrap:wrap}.settings-modal .form-row .form-label{width:100%}}.account-wrap{position:relative}.account-chip{max-width:240px}.account-chip span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.account-pop{width:230px;position:absolute;top:44px;right:0}.account-row{color:var(--text-2);justify-content:space-between;align-items:baseline;padding:6px 10px;font-size:13px;display:flex}.account-row b{color:var(--text);font-weight:600}.account-note{color:var(--text-3);padding:2px 10px 6px;font-size:11.5px}.auth-modal{width:400px}.auth-seg{align-self:flex-start;margin-bottom:4px}.auth-field{flex-direction:column;gap:6px;display:flex}.auth-field .input{height:38px}.auth-reason{color:var(--primary);background:var(--primary-soft);border-radius:10px;padding:8px 12px;font-size:13px}.auth-error{color:var(--danger);font-size:13px}.auth-modal .modal-footer .btn{width:100%;height:40px}@media (width<=560px){.account-chip{justify-content:center;width:34px;padding:0}.account-chip span{display:none}.auth-modal{width:calc(100vw - 32px)}}
