html,body,#root{margin:0;padding:0;height:100%}body{overscroll-behavior:none}@media(min-width:992px){.tool-form-col{height:100%;min-height:0}.tool-form-card{height:100%}}.app-header{display:flex;align-items:center;background:#fff;border-bottom:1px solid #edf0f3;flex-shrink:0}.app-embed .app-brand{display:none}.app-brand{display:flex;align-items:center;gap:10px;padding:4px 6px;margin-left:-6px;border:0;border-radius:8px;background:transparent;font-family:inherit;text-align:left;cursor:pointer;flex-shrink:0;-webkit-user-select:none;user-select:none}.app-brand-mark{width:34px;height:34px;border-radius:9px;display:inline-flex;align-items:center;justify-content:center;color:#fff;background:linear-gradient(145deg,#4096ff,#1677ff 55%,#0958d9);box-shadow:0 2px 6px #1677ff47;transition:box-shadow .18s ease,transform .18s ease}.app-brand:hover .app-brand-mark{box-shadow:0 4px 12px #1677ff5c}.app-brand:active .app-brand-mark{transform:translateY(1px)}.app-brand:focus-visible{outline:2px solid rgba(22,119,255,.35);outline-offset:1px}.app-brand-text{display:flex;flex-direction:column;gap:1px}.app-brand-name{font-size:17px;font-weight:700;line-height:1.15;letter-spacing:.2px;color:#1f2329}.app-brand-ai{margin-left:5px;color:#1677ff}.app-brand-sub{font-size:11.5px;font-weight:400;line-height:1.2;letter-spacing:.4px;color:#8f97a3}.app-header-divider{width:1px;height:22px;margin:0 10px;background:#edf0f3;flex-shrink:0}.sider-collapse-btn{position:absolute;top:10px;left:205px;z-index:20;width:30px;height:30px;padding:0;display:inline-flex;align-items:center;justify-content:center;border:1px solid #e5e8ed;border-radius:50%;background:#fff;color:#646a73;cursor:pointer;box-shadow:0 2px 8px #0f172a14;transition:left .2s ease,color .15s ease,border-color .15s ease,box-shadow .15s ease}.sider-collapse-btn.is-collapsed{left:49px}.sider-collapse-btn:hover{color:#1677ff;border-color:#bcd6ff;box-shadow:0 3px 10px #0f172a1f}.sider-collapse-btn:focus-visible{outline:2px solid rgba(22,119,255,.35);outline-offset:1px}.app-topnav{display:flex;align-items:center;gap:4px;min-width:0;margin-left:2px;overflow-x:auto;scrollbar-width:none}.app-topnav::-webkit-scrollbar{display:none}.app-topnav-item{display:inline-flex;align-items:center;gap:7px;height:36px;padding:0 14px;border:0;border-radius:8px;background:transparent;color:#4e5969;font-family:inherit;font-size:14px;font-weight:500;line-height:1;white-space:nowrap;cursor:pointer;flex-shrink:0;transition:background-color .15s ease,color .15s ease}.app-topnav-item:hover{background:#f5f7fa;color:#1f2329}.app-topnav-item:focus-visible{outline:2px solid rgba(22,119,255,.35);outline-offset:1px}.app-topnav-item.is-active{background:#e6f4ff;color:#1677ff;font-weight:600}.app-topnav-item.is-active:hover{background:#d6e9ff}.app-header-actions{display:flex;align-items:center;gap:10px;margin-left:auto;padding-left:12px;flex-shrink:0}.app-coin-chip{display:inline-flex;align-items:center;gap:6px;height:30px;padding:0 11px;border:1px solid #ffe9b3;border-radius:8px;background:#fff8e6;color:#b7791f;font-size:12.5px;font-weight:500;line-height:1;white-space:nowrap}.app-coin-chip svg{color:#d48806}.app-coin-btn{font-family:inherit;cursor:pointer;transition:border-color .15s,background .15s}.app-coin-btn:hover{border-color:#ffd591;background:#fff3d6}.app-coin-btn:focus-visible{outline:2px solid #1677ff;outline-offset:2px}.wallet-balance-card{padding:18px 20px;border:1px solid #bae0ff;border-radius:12px;background:linear-gradient(135deg,#f0f7ff,#e6f4ff)}.wallet-balance-label{display:inline-flex;align-items:center;gap:6px;color:#0958d9;font-size:13px;font-weight:500}.wallet-balance-value{margin-top:6px;color:#10239e;font-size:32px;font-weight:700;line-height:1.15;letter-spacing:-.5px}.wallet-currency{font-size:18px;margin-right:2px}.wallet-balance-meta{margin-top:6px;color:#595959;font-size:12px}.wallet-bonus-hint{margin-top:10px;display:inline-block;padding:4px 9px;border-radius:6px;background:#fff8e6;color:#b7791f;font-size:12px}.wallet-section-head{display:flex;align-items:center;justify-content:space-between;margin:18px 0 6px}.wallet-ledger{max-height:340px;overflow:auto}.wallet-ledger-row{display:flex;align-items:center;gap:10px;padding:10px 2px;border-bottom:1px solid #f2f3f5}.wallet-ledger-row:last-child{border-bottom:none}.wallet-ledger-icon{width:30px;height:30px;flex-shrink:0;display:inline-flex;align-items:center;justify-content:center;border-radius:8px;background:#f5f7fa;color:#595959}.wallet-ledger-icon.is-gift{background:#fff8e6;color:#d48806}.wallet-ledger-icon.is-consume{background:#eef4ff;color:#1677ff}.wallet-ledger-icon.is-refund{background:#f0fff4;color:#389e0d}.wallet-ledger-icon.is-adjust{background:#f6f0ff;color:#722ed1}.wallet-ledger-main{flex:1;min-width:0}.wallet-ledger-title{color:#1f2329;font-size:13px;font-weight:500}.wallet-ledger-sub{margin-top:2px;color:#595959;font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.wallet-ledger-right{flex-shrink:0;text-align:right}.wallet-amount{display:block;font-size:13px;font-weight:600;font-variant-numeric:tabular-nums}.wallet-amount.is-plus{color:#389e0d}.wallet-amount.is-minus{color:#cf1322}.wallet-ledger-balance{display:block;margin-top:2px;color:#595959;font-size:12px;font-variant-numeric:tabular-nums}.wallet-ledger-loading{padding:28px 0;text-align:center}.wallet-footnote{margin-top:14px;padding-top:12px;border-top:1px dashed #e5e8ed;color:#595959;font-size:12px;text-align:center}.gen-cost-hint{margin-bottom:8px;color:#595959;font-size:12px;text-align:center}.gen-cost-hint.is-insufficient{color:#cf1322;font-weight:500}.app-account-chip{display:inline-flex;align-items:center;gap:7px;height:30px;padding:0 11px 0 4px;border:1px solid #edf0f3;border-radius:8px;background:#f5f7fa;color:#646a73;font-size:12.5px;line-height:1;white-space:nowrap}.app-account-btn{font-family:inherit;cursor:pointer;transition:border-color .15s,background .15s,color .15s}.app-account-btn:hover{border-color:#91caff;background:#f0f7ff;color:#1677ff}.app-account-btn:focus-visible{outline:2px solid #1677ff;outline-offset:2px}.app-account-avatar{width:22px;height:22px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;background:#fff;border:1px solid #e5e8ed;color:#8a93a0;overflow:hidden}.app-account-avatar.has-image{border-color:#d9e2ec}.app-account-avatar img{width:100%;height:100%;object-fit:cover;display:block}.auth-captcha-row{display:flex;align-items:stretch;gap:8px}.auth-captcha-row .ant-input-affix-wrapper{flex:1;min-width:0}.auth-captcha-img{position:relative;flex:0 0 120px;width:120px;height:40px;padding:0;border:1px solid #d9d9d9;border-radius:8px;background:#f5f7fa;cursor:pointer;overflow:hidden;display:flex;align-items:center;justify-content:center}.auth-captcha-img:hover{border-color:#91caff}.auth-captcha-img:focus-visible{outline:2px solid #1677ff;outline-offset:2px}.auth-captcha-svg,.auth-captcha-svg svg{width:100%;height:100%;display:block}.auth-captcha-placeholder{font-size:12px;color:#8c8c8c}.auth-captcha-refresh{position:absolute;right:3px;bottom:3px;font-size:11px;color:#8c8c8c;background:#ffffffd9;border-radius:4px;padding:1px}.auth-captcha-img:hover .auth-captcha-refresh{color:#1677ff}.account-avatar-row{display:flex;align-items:center;gap:14px}.account-avatar-preview{width:64px;height:64px;border-radius:50%;background:#f5f7fa;border:1px solid #e5e8ed;display:inline-flex;align-items:center;justify-content:center;overflow:hidden;flex-shrink:0}.account-avatar-preview img{width:100%;height:100%;object-fit:cover;display:block}@media(max-width:1180px){.app-brand-sub{display:none}}@media(max-width:1080px){.app-topnav-item{padding:0 10px;gap:6px}}@media(max-width:980px){.app-account-chip{padding-right:4px}.app-account-chip>span:last-child{display:none}}.task-center{position:fixed;right:0;top:100px;bottom:16px;z-index:900;display:flex;flex-direction:column;overflow:hidden;background:#fff;border:1px solid #e5e8ed;border-right:none;border-radius:10px 0 0 10px;box-shadow:0 8px 24px #0f172a1a,0 2px 6px #0f172a0a;transition:width .2s ease}.task-rail{flex:1;width:100%;border:0;background:transparent;display:flex;flex-direction:column;align-items:center;padding:10px 0 12px;gap:10px;cursor:pointer;font-family:inherit;transition:background-color .18s ease}.task-rail:hover{background:#f7f9fc}.task-rail:focus-visible{outline:2px solid rgba(22,119,255,.35);outline-offset:-2px}.task-rail-icon{position:relative;width:28px;height:28px;border-radius:8px;display:inline-flex;align-items:center;justify-content:center;color:#1677ff;background:#eaf3ff;border:1px solid #d6e8ff;transition:background-color .18s ease}.task-rail:hover .task-rail-icon{background:#e0efff}.task-rail-ping{position:absolute;top:-3px;right:-3px;width:7px;height:7px;border-radius:50%;background:#12b76a;border:1.5px solid #ffffff}.task-rail-label{writing-mode:vertical-rl;font-size:12px;letter-spacing:2px;color:#646a73}.task-rail:hover .task-rail-label{color:#1f2329}.task-rail-badge{min-width:18px;height:18px;padding:0 5px;border-radius:999px;background:#1677ff;color:#fff;font-size:10px;font-weight:600;line-height:1;display:inline-flex;align-items:center;justify-content:center;box-shadow:0 2px 6px #1677ff4d}.task-rail-chevron{margin-top:auto;color:#98a2b3;transition:color .18s ease,transform .18s ease}.task-rail:hover .task-rail-chevron{color:#1677ff;transform:translate(-1px)}.task-center-head{flex-shrink:0;display:flex;align-items:center;justify-content:space-between;gap:8px;padding:14px 14px 12px;border-bottom:1px solid #edf0f3}.task-center-head-main{display:flex;align-items:center;gap:9px;min-width:0}.task-center-mark{width:30px;height:30px;flex-shrink:0;border-radius:8px;display:inline-flex;align-items:center;justify-content:center;color:#1677ff;background:linear-gradient(145deg,#eaf3ff,#d8eaff);border:1px solid #d6e8ff}.task-center-title-wrap{display:flex;flex-direction:column;gap:1px;min-width:0}.task-center-title{font-size:14px;font-weight:600;line-height:1.2;color:#1f2329}.task-center-subtitle{font-size:11px;line-height:1.3;color:#8f97a3}.task-center-head-actions{display:flex;align-items:center;gap:2px;flex-shrink:0}.task-icon-btn{width:28px;height:28px;padding:0;border:0;border-radius:7px;background:transparent;color:#646a73;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;transition:background-color .15s ease,color .15s ease}.task-icon-btn:hover{background:#f0f7ff;color:#1677ff}.task-icon-btn:disabled{color:#98a2b3;cursor:default;background:transparent}.task-icon-btn:focus-visible{outline:2px solid rgba(22,119,255,.35);outline-offset:1px}.task-center-stats{flex-shrink:0;display:flex;align-items:center;gap:14px;padding:9px 16px;background:#f8fafd;border-bottom:1px solid #edf0f3}.task-stat{display:inline-flex;align-items:center;gap:5px;font-size:11px;line-height:1;color:#667085;white-space:nowrap}.task-stat b{font-size:11.5px;font-weight:600;color:#1f2329}.task-dot{width:6px;height:6px;border-radius:50%;flex-shrink:0}.task-dot.is-running{background:#1677ff}.task-dot.is-success{background:#12b76a}.task-dot.is-failed{background:#f04438}.task-dot.is-running.is-live{animation:task-dot-pulse 1.6s ease-in-out infinite}.task-stats-caption{margin-left:auto;font-size:10.5px;color:#8f97a3;white-space:nowrap}.task-center-list{flex:1;min-height:0;display:flex;flex-direction:column;overflow:auto;padding:10px 12px 12px;background:#fbfcfe;scrollbar-width:thin;scrollbar-color:#dfe4ec transparent}.task-center-list::-webkit-scrollbar{width:5px}.task-center-list::-webkit-scrollbar-thumb{background:#dfe4ec;border-radius:999px}.task-cards{display:flex;flex-direction:column;gap:8px}.task-card{position:relative;display:flex;gap:10px;padding:10px;border:1px solid #edf0f3;border-radius:8px;background:#fff;cursor:pointer;outline:none;transition:border-color .18s ease,background-color .18s ease,box-shadow .18s ease,transform .18s ease}.task-card:hover{border-color:#bcd6ff;background:#fff;box-shadow:0 4px 12px #1677ff14;transform:translateY(-1px)}.task-card:focus-visible{outline:2px solid rgba(22,119,255,.35);outline-offset:1px}.task-card.is-running{border-color:#cfe3ff;background:linear-gradient(180deg,#f7fbff,#fff 70%);box-shadow:inset 3px 0 #1677ff}.task-card.is-running:hover{box-shadow:inset 3px 0 #1677ff,0 4px 12px #1677ff1a}.task-card.is-failed{border-color:#f2d7d5}.task-thumb{position:relative;width:56px;height:56px;flex-shrink:0}.task-thumb img{display:block;width:56px;height:56px;object-fit:cover;border-radius:8px;border:1px solid #edf0f3;background:#f5f7fa}.task-thumb-placeholder{width:56px;height:56px;border-radius:8px;border:1px solid #edf0f3;background:#f7f9fc;color:#98a2b3;display:flex;align-items:center;justify-content:center}.task-thumb.is-running .task-thumb-placeholder{background:#eff8ff;border-color:#cfe3ff;color:#1677ff}.task-thumb.is-failed .task-thumb-placeholder{background:#fef3f2;border-color:#fee4e2;color:#d92d20}.task-thumb.is-success .task-thumb-placeholder{color:#667085}.task-thumb-badge{position:absolute;right:-4px;bottom:-4px;width:16px;height:16px;border-radius:50%;border:2px solid #ffffff;display:inline-flex;align-items:center;justify-content:center;color:#fff}.task-thumb-badge.is-success{background:#12b76a}.task-thumb-badge.is-failed{background:#f04438}.task-thumb-badge.is-running{background:#1677ff}.task-thumb-badge.is-pending{background:#98a2b3}.task-card-body{flex:1;min-width:0;display:flex;flex-direction:column;gap:4px}.task-card-top{display:flex;align-items:center;justify-content:space-between;gap:6px}.task-tool-name{font-size:13px;font-weight:600;line-height:1.3;color:#1f2329;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.task-status{display:inline-flex;align-items:center;gap:4px;height:18px;padding:0 6px;border-radius:6px;font-size:10.5px;font-weight:500;line-height:1;white-space:nowrap;flex-shrink:0}.task-status i{width:5px;height:5px;border-radius:50%;background:currentColor;flex-shrink:0}.task-status.is-success{color:#067647;background:#ecfdf3}.task-status.is-failed{color:#b42318;background:#fef3f2}.task-status.is-running{color:#175cd3;background:#eff8ff}.task-status.is-pending{color:#475467;background:#f5f7fa}.task-status.is-running i{animation:task-dot-pulse 1.6s ease-in-out infinite}.task-card-meta{display:flex;align-items:center;gap:8px;min-width:0}.task-time{display:inline-flex;align-items:center;gap:3px;font-size:11px;color:#667085;white-space:nowrap}.task-duration{font-size:10.5px;color:#8f97a3;white-space:nowrap}.task-actions{margin-left:auto;display:flex;align-items:center;gap:2px;flex-shrink:0}.task-action{display:inline-flex;align-items:center;gap:3px;height:22px;padding:0 6px;border:0;border-radius:6px;background:transparent;color:#646a73;font-family:inherit;font-size:11px;line-height:1;cursor:pointer;white-space:nowrap;transition:background-color .15s ease,color .15s ease}.task-action:hover{background:#eef5ff;color:#1677ff}.task-action:focus-visible{outline:2px solid rgba(22,119,255,.35);outline-offset:1px}.task-action.is-retry{color:#b42318}.task-action.is-retry:hover{background:#fef3f2;color:#b42318}.task-action.is-muted{color:#98a2b3;cursor:default}.task-action.is-muted:hover{background:transparent;color:#98a2b3}.task-error{display:flex;align-items:flex-start;gap:4px;margin-top:2px;padding:4px 6px;border-radius:6px;background:#fff7f7;color:#b42318;font-size:10.5px;line-height:1.4}.task-error svg{flex-shrink:0;margin-top:1px}.task-error-text{min-width:0;overflow:hidden;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical}.task-error-text em{font-style:normal;color:#8f97a3}.task-center-foot{flex-shrink:0;padding:8px 12px 10px;border-top:1px solid #edf0f3;background:#fbfcfe;display:flex;flex-direction:column;gap:7px}.task-foot-meta{display:flex;align-items:center;gap:6px;font-size:10.5px;color:#667085}.task-live-dot{width:6px;height:6px;border-radius:50%;background:#12b76a;box-shadow:0 0 0 3px #12b76a1f;flex-shrink:0}.task-history-btn{width:100%;height:32px;display:inline-flex;align-items:center;justify-content:center;gap:6px;border:1px solid #d6e8ff;border-radius:8px;background:#f0f7ff;color:#1677ff;font-family:inherit;font-size:12px;font-weight:500;cursor:pointer;transition:background-color .15s ease,border-color .15s ease}.task-history-btn:hover{background:#e6f4ff;border-color:#bcd6ff}.task-history-btn:focus-visible{outline:2px solid rgba(22,119,255,.35);outline-offset:1px}.task-history-btn svg:last-child{opacity:.7}.task-empty{display:flex;flex:1;flex-direction:column;align-items:center;justify-content:center;min-height:280px;padding:36px 18px 28px;text-align:center}.task-empty-icon{width:48px;height:48px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;color:#1677ff;background:linear-gradient(145deg,#eaf3ff,#d8eaff);border:1px solid #d6e8ff;box-shadow:0 0 0 6px #f7fbff;margin-bottom:14px}.task-empty-title{font-size:13px;font-weight:600;color:#1f2329}.task-empty-desc{max-width:210px;margin-top:4px;font-size:11.5px;line-height:1.6;color:#667085}.task-empty .ant-btn{margin-top:14px}.task-skeletons{display:flex;flex-direction:column;gap:8px}.task-skeleton-card{display:flex;gap:10px;padding:10px;border:1px solid #edf0f3;border-radius:8px;background:#fff}.task-skeleton-thumb{width:56px;height:56px;border-radius:8px;flex-shrink:0}.task-skeleton-lines{flex:1;display:flex;flex-direction:column;gap:8px;padding-top:5px}.task-skeleton-line{height:10px;border-radius:5px}.task-skeleton-line.w1{width:62%}.task-skeleton-line.w2{width:40%}.task-skeleton-thumb,.task-skeleton-line{background-image:linear-gradient(90deg,#f1f4f8 25%,#f8fafc 37%,#f1f4f8 63%);background-size:400% 100%;animation:task-shimmer 1.4s ease infinite}.is-spinning{animation:task-spin .9s linear infinite}@keyframes task-spin{to{transform:rotate(360deg)}}@keyframes task-dot-pulse{0%,to{opacity:1;box-shadow:0 0 #1677ff47}50%{opacity:.55;box-shadow:0 0 0 3px #1677ff00}}@keyframes task-shimmer{0%{background-position:100% 50%}to{background-position:0 50%}}@media(prefers-reduced-motion:reduce){.task-center,.task-card,.task-rail,.task-rail-icon,.task-rail-chevron,.task-icon-btn,.task-action,.task-history-btn{transition:none}.task-card:hover,.task-rail:hover .task-rail-chevron{transform:none}.is-spinning,.task-status.is-running i,.task-dot.is-running.is-live,.task-skeleton-thumb,.task-skeleton-line{animation:none}}.gen-progress{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:44px 20px 40px;text-align:center}.gen-progress-visual{position:relative;width:64px;height:64px;display:flex;align-items:center;justify-content:center;margin-bottom:18px}.gen-progress-icon{width:64px;height:64px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;color:#fff;background:linear-gradient(145deg,#4096ff,#1677ff 65%,#0958d9);box-shadow:0 8px 20px #1677ff42}.gen-progress-ring{position:absolute;inset:-7px;border-radius:50%;border:2px solid #d6e8ff;border-top-color:#1677ff;border-right-color:#69b1ff;animation:gen-progress-spin 1.1s linear infinite}.gen-progress-title{font-size:15px;font-weight:600;line-height:1.4;color:#1f2329}.gen-progress-timer{display:inline-flex;align-items:center;gap:5px;height:26px;padding:0 10px;margin-top:8px;border:1px solid #d6e8ff;border-radius:8px;background:#eff8ff;color:#175cd3;font-size:12.5px;line-height:1}.gen-progress-timer b{font-weight:600;font-variant-numeric:tabular-nums;font-feature-settings:"tnum"}.gen-progress-bar{width:200px;max-width:70%;height:4px;margin-top:16px;border-radius:999px;background:#eaf3ff;overflow:hidden}.gen-progress-bar span{display:block;width:100%;height:100%;border-radius:999px;background:linear-gradient(90deg,#1677ff,#69b1ff 28%,#d6e8ff,#69b1ff 72%,#1677ff);background-size:200% 100%;animation:gen-progress-bar 1.3s linear infinite}.gen-progress-note{margin-top:14px;font-size:11.5px;line-height:1.6;color:#667085}.gen-progress-note.is-slow{color:#b54708}.gen-progress-subnote{margin-top:2px;font-size:10.5px;color:#98a2b3}@keyframes gen-progress-spin{to{transform:rotate(360deg)}}@keyframes gen-progress-bar{0%{background-position:100% 0}to{background-position:-100% 0}}@media(prefers-reduced-motion:reduce){.gen-progress-ring,.gen-progress-bar span{animation:none}}.model-filter-chip{height:26px;padding:0 10px;border:1px solid #d9d9d9;border-radius:13px;background:#fff;color:#595959;font-size:12px;line-height:24px;cursor:pointer;transition:background .15s,color .15s,border-color .15s}.model-filter-chip:hover{border-color:#91caff;background:#f0f5ff;color:#1677ff}.model-filter-chip.is-active{border-color:#91caff;background:#e6f4ff;color:#1677ff;font-weight:600}.color-option-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(48px,1fr));gap:5px}.color-option{position:relative;display:flex;flex-direction:column;align-items:center;gap:5px;padding:6px 1px 4px;border:1px solid transparent;border-radius:8px;background:transparent;font-family:inherit;cursor:pointer;transition:background .15s,border-color .15s}.color-option:hover{border-color:#91caff;background:#f0f5ff}.color-option.is-selected{border-color:#1677ff;background:#e6f4ff}.color-option:focus-visible,.color-option:focus-within{outline:2px solid #1677ff;outline-offset:1px}.color-option-swatch{width:30px;height:30px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;border:1px solid rgba(0,0,0,.1);box-shadow:inset 0 0 0 1px #ffffff8c;flex-shrink:0}.color-option-name{font-size:11px;line-height:1;color:#595959;white-space:nowrap}.color-option.is-selected .color-option-name{color:#1677ff;font-weight:600}.color-option-input{position:absolute;inset:0;width:100%;height:100%;padding:0;border:0;opacity:0;cursor:pointer}.color-selected-row{display:flex;align-items:center;gap:8px;margin-top:10px;padding-top:8px;border-top:1px dashed #f0f0f0}.color-selected-dot{width:14px;height:14px;border-radius:50%;border:1px solid rgba(0,0,0,.1);flex-shrink:0}.color-hex{margin-left:auto;padding:2px 6px;border-radius:4px;background:#f5f5f5;color:#595959;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:12px}.style-card-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.style-card{padding:0;border:1px solid #eee;border-radius:8px;overflow:hidden;background:#fff;cursor:pointer;text-align:left;transition:border-color .15s,box-shadow .15s}.style-card:hover{border-color:#91caff;box-shadow:0 4px 12px #0f172a14}.style-card.is-selected{border-color:#1677ff;box-shadow:0 0 0 2px #1677ff1f}.style-card-media{position:relative;display:block}.style-card-media img{display:block;width:100%;aspect-ratio:4 / 3;object-fit:cover}.style-card-check{position:absolute;top:6px;right:6px;display:flex;align-items:center;justify-content:center;width:20px;height:20px;border-radius:50%;background:#1677ff;color:#fff;font-size:11px;box-shadow:0 1px 4px #00000040}.example-zoom-btn{position:absolute;top:6px;right:6px;z-index:2;width:24px;height:24px;padding:0;border:0;border-radius:50%;background:#0000008c;color:#fff;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;transition:background .15s ease}.example-zoom-btn:before{content:"";position:absolute;inset:-3px;border-radius:50%}.example-zoom-btn:hover{background:#000000bf}.example-zoom-btn:focus-visible{outline:2px solid #1677ff;outline-offset:2px}.style-card-zoom{position:absolute;right:6px;bottom:6px;z-index:2;width:22px;height:22px;padding:0;border:0;border-radius:50%;background:#0000008c;color:#fff;display:inline-flex;align-items:center;justify-content:center;cursor:zoom-in;transition:background .15s ease}.style-card-zoom:before{content:"";position:absolute;inset:-4px;border-radius:50%}.style-card-zoom:hover{background:#000000bf}.style-card-zoom:focus-visible{outline:2px solid #1677ff;outline-offset:2px}.style-card-label{display:block;padding:6px 8px;overflow:hidden;color:#4b5563;font-size:12px;line-height:1.4;white-space:nowrap;text-overflow:ellipsis}.style-card-label.is-selected{color:#1677ff;font-weight:600}.style-card-grid.is-dense .style-card-label{padding:4px 2px;font-size:11px;text-align:center}.style-card-grid.is-dense .style-card-check{top:4px;right:4px;width:18px;height:18px;font-size:10px}@media(min-width:992px){.tool-result-col{height:100%;overflow-y:auto;padding-right:4px}}.recent-card{padding:8px;border:1px solid #f0f0f0;border-radius:10px;background:#fff;transition:border-color .2s ease,box-shadow .2s ease}.recent-card:hover{border-color:#91caff;box-shadow:0 4px 14px #1677ff1a}.recent-card .recent-thumb{overflow:hidden;border-radius:8px;cursor:pointer}.recent-card .recent-thumb img{transition:transform .2s ease;display:block}.recent-card:hover .recent-thumb img{transform:scale(1.03)}.recent-actions{display:flex;justify-content:space-between;align-items:center;margin-top:4px}.recent-action-btn{width:30px;height:30px;padding:0;border:0;border-radius:6px;display:inline-flex;align-items:center;justify-content:center;color:#1677ff;background:#f3f8ff;font:inherit;transition:background .15s ease,color .15s ease;cursor:pointer}.recent-action-btn:hover{background:#e6f4ff;color:#0958d9}.style-card:focus-visible,.model-filter-chip:focus-visible,.recent-action-btn:focus-visible,.option-card:focus-visible{outline:2px solid #1677ff;outline-offset:2px}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.upload-thumb-remove{position:absolute;top:-7px;right:-7px;z-index:2;width:20px;height:20px;padding:0;border:1px solid #ff4d4f;border-radius:50%;background:#fff;color:#ff4d4f;display:inline-flex;align-items:center;justify-content:center;font-size:9px;line-height:1;cursor:pointer;transition:background .15s ease,border-color .15s ease}.upload-thumb-remove:before{content:"";position:absolute;inset:-4px;border-radius:50%}.upload-thumb-remove:hover{background:#fff1f0}.upload-thumb-remove:focus-visible{outline:2px solid #1677ff;outline-offset:2px}.result-card{width:300px;max-width:100%}.result-card .result-thumb{overflow:hidden;border-radius:10px;border:1px solid #f0f0f0;transition:box-shadow .2s ease,border-color .2s ease}.result-card:hover .result-thumb{border-color:#91caff;box-shadow:0 6px 18px #1677ff1f}.result-card .result-thumb img{display:block;transition:transform .2s ease}.result-card:hover .result-thumb img{transform:scale(1.02)}.result-meta-card{display:flex;gap:16px;align-items:stretch;max-width:680px;margin:0 auto}.result-meta-media{flex:0 1 360px;max-width:360px;min-width:0;display:flex;flex-direction:column;gap:12px}.result-meta-media .result-card{width:100%}.result-meta-panel{flex:1 1 280px;max-width:320px;box-sizing:border-box;background:#f5f6f8;border-radius:10px;padding:16px 18px}.result-meta-title{display:block;margin-bottom:10px;font-size:14px;font-weight:700;color:#1f2329}.result-meta-list{display:flex;flex-direction:column;gap:8px}.result-meta-row{display:flex;align-items:baseline;justify-content:space-between;gap:12px;font-size:12px;line-height:1.5}.result-meta-label{color:#8c8c8c;flex-shrink:0}.result-meta-value{color:#1f2329;text-align:right;word-break:break-all}@media(max-width:720px){.result-meta-card{flex-direction:column;max-width:none}.result-meta-media{flex:none;width:100%;max-width:360px;margin:0 auto}.result-meta-panel{flex:none;width:100%;max-width:none}}.creative-setting-card{width:78px;min-width:78px;min-height:54px;padding:6px 4px;border:1px solid #e5e7eb;border-radius:8px;background:#fff;color:#4b5563;font-family:inherit;display:inline-flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;cursor:pointer;transition:border-color .15s ease,background-color .15s ease,box-shadow .15s ease}.creative-setting-card:hover{border-color:#91caff}.creative-setting-card.is-selected{border-color:#1677ff;background:#f0f7ff;color:#1677ff;box-shadow:0 0 0 2px #1677ff1f}.creative-ratio-card{width:78px;min-width:78px;min-height:54px;padding:6px 4px;border:1px solid #e5e7eb;border-radius:8px;background:#fff;color:#4b5563;font-family:inherit;display:inline-flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;cursor:pointer;transition:border-color .15s ease,background-color .15s ease,box-shadow .15s ease}.creative-ratio-card:hover{border-color:#91caff}.creative-ratio-card.is-selected{border-color:#1677ff;background:#f0f7ff;color:#1677ff;box-shadow:0 0 0 2px #1677ff1f}.creative-ratio-shape{display:block;border:1.5px solid currentColor;border-radius:2px}.creative-demo{display:flex;flex-direction:column;align-items:center;gap:10px;padding:6px 0 24px}.creative-demo-head{display:flex;align-items:center;gap:8px}.creative-demo-chip{display:inline-flex;align-items:center;height:20px;padding:0 8px;border-radius:6px;background:#e6f4ff;color:#1677ff;font-size:11px;font-weight:600;letter-spacing:.02em}.creative-demo-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;width:100%;max-width:760px}.creative-demo-item{min-width:0;margin:0}.creative-demo-frame{width:100%;border-radius:12px;overflow:hidden;border:1px solid #eef0f2;box-shadow:0 8px 24px #11182714;background:#fafafa}.creative-demo-frame img{display:block;width:100%;height:auto}.creative-demo-label{margin-top:8px;display:flex;flex-direction:column;gap:1px;font-size:12px;font-weight:600;color:#4b5563;text-align:center}.creative-demo-sub{font-size:11px;font-weight:400;color:#8c8c8c}.creative-demo-note{font-size:12px;text-align:center}@media(max-width:1100px){.creative-demo-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:720px){.creative-demo-grid{grid-template-columns:1fr;max-width:320px}}.pose-card{border:1px solid #f0f0f0;border-radius:8px;overflow:hidden;background:#fff;transition:border-color .2s ease,box-shadow .2s ease}.pose-card:hover{border-color:#91caff;box-shadow:0 4px 14px #1677ff1a}.pose-card-main{position:relative;cursor:pointer;background:#f5f5f5}.pose-card-img{width:100%;display:block}.pose-card-mask{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;background:#1677ff8c;color:#fff;font-size:12px;font-weight:600;opacity:0;transition:opacity .2s ease}.pose-card-main:hover .pose-card-mask{opacity:1}.pose-angle{flex:1;min-width:0;cursor:pointer;border-radius:4px;overflow:hidden;border:1px solid transparent;opacity:.72;transition:opacity .15s ease,border-color .15s ease}.pose-angle:hover{opacity:1}.pose-angle.active{border-color:#1677ff;opacity:1}.pose-angle-label{font-size:9px;line-height:14px;text-align:center;color:#999;white-space:nowrap}.pose-angle.active .pose-angle-label{color:#1677ff}.model-card{border:1px solid #f0f0f0;border-radius:8px;overflow:hidden;background:#fafafa;cursor:pointer;transition:border-color .2s ease,box-shadow .2s ease}.model-card:hover{border-color:#91caff;box-shadow:0 4px 14px #1677ff1a}.model-card-main{position:relative;overflow:hidden}.model-card-main img{display:block;transition:transform .2s ease}.model-card:hover .model-card-main img{transform:scale(1.02)}.model-card-mask{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;background:#1677ff8c;color:#fff;font-size:12px;font-weight:600;opacity:0;transition:opacity .2s ease}.model-card:hover .model-card-mask{opacity:1}.asset-page{max-width:1240px;width:100%;margin:0 auto}.asset-hero{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;padding:16px 18px;border:1px solid #e8f0fb;border-radius:10px;background:linear-gradient(120deg,#f4f9ff,#fff 70%);margin-bottom:14px}.asset-hero-main{display:flex;align-items:flex-start;gap:12px;min-width:0}.asset-hero-icon{width:40px;height:40px;border-radius:10px;background:#e6f4ff;color:#1677ff;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0}.asset-hero-title{font-size:20px;font-weight:700;color:#1f2329;line-height:1.25}.asset-hero-sub{margin-top:5px;font-size:12.5px;color:#8c8c8c;line-height:1.5}.asset-stats{display:flex;gap:8px;flex-wrap:wrap}.asset-stat{min-width:82px;padding:8px 12px;border:1px solid #edf0f5;border-radius:8px;background:#fff}.asset-stat-label{display:block;font-size:11.5px;color:#9aa3af}.asset-stat-value{display:block;margin-top:2px;font-size:18px;font-weight:700;color:#1f2329;line-height:1.2}.asset-panel{background:#fff;border:1px solid #f0f0f0;border-radius:10px;padding:6px 16px 16px}.asset-layout{display:flex;gap:18px;align-items:flex-start}.asset-types{width:170px;flex-shrink:0;display:flex;flex-direction:column;gap:4px;padding-top:6px}.asset-type-item{display:flex;align-items:center;gap:8px;width:100%;padding:9px 10px;border:1px solid transparent;border-radius:8px;background:transparent;color:#4b5563;font-size:13px;font-family:inherit;cursor:pointer;text-align:left;transition:background-color .15s ease,color .15s ease,border-color .15s ease}.asset-type-item:hover{background:#f7faff;color:#1677ff}.asset-type-item.is-active{background:#e6f4ff;border-color:#bae0ff;color:#1677ff;font-weight:600}.asset-type-item:focus-visible{outline:2px solid #1677ff;outline-offset:2px}.asset-type-icon{display:inline-flex;align-items:center}.asset-type-label{flex:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.asset-type-count{min-width:20px;height:20px;padding:0 6px;border-radius:10px;background:#f0f5ff;color:#1677ff;font-size:11px;font-weight:600;line-height:20px;text-align:center}.asset-type-item.is-active .asset-type-count{background:#fff}.asset-content{flex:1;min-width:0}.asset-category-bar{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:10px;padding:8px 10px;background:#fafafa;border-radius:8px}.asset-category-title{font-size:12px;font-weight:600;color:#595959;margin-right:2px}.asset-category-chip{height:28px;padding:0 12px;border:1px solid #e5e9f0;border-radius:14px;background:#fff;color:#4b5563;font-size:12px;font-family:inherit;cursor:pointer;transition:border-color .15s ease,color .15s ease,background-color .15s ease}.asset-category-chip:hover{border-color:#91caff;color:#1677ff}.asset-category-chip.is-active{border-color:#1677ff;background:#e6f4ff;color:#1677ff;font-weight:600}.asset-category-chip:focus-visible{outline:2px solid #1677ff;outline-offset:2px}@media(max-width:900px){.asset-layout{flex-direction:column}.asset-types{width:100%;flex-direction:row;overflow-x:auto;padding-bottom:4px}.asset-type-item{width:auto;flex-shrink:0;white-space:nowrap}}.asset-tab-label{display:inline-flex;align-items:center;gap:6px}.asset-tab-count{min-width:18px;height:18px;padding:0 5px;border-radius:9px;background:#f0f5ff;color:#1677ff;font-size:11px;font-weight:600;line-height:18px;text-align:center}.asset-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin:2px 0 10px}.asset-toolbar-hint{font-size:12px;color:#9aa3af}.asset-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(168px,1fr));gap:14px;border-radius:10px;transition:outline-color .15s ease,background-color .15s ease}.asset-grid.is-drag{outline:2px dashed #1677ff;outline-offset:6px;background:#f7fbff}.asset-upload-tile{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;width:100%;border:1px dashed #d9d9d9;border-radius:8px;background:#fafafa;color:#8c8c8c;font-size:12px;cursor:pointer;box-sizing:border-box;transition:border-color .15s ease,color .15s ease,background-color .15s ease}.asset-upload-tile:hover{border-color:#91caff;background:#f7fbff;color:#1677ff}.asset-upload-icon{width:32px;height:32px;border-radius:50%;background:#fff;border:1px solid #e5e9f0;display:inline-flex;align-items:center;justify-content:center;font-size:14px}.asset-upload-hint{font-size:11px;color:#a8b0bb}.asset-card{border:1px solid #f0f0f0;border-radius:8px;overflow:hidden;background:#fff;transition:border-color .2s ease,box-shadow .2s ease}.asset-card:hover{border-color:#91caff;box-shadow:0 4px 14px #1677ff1a}.asset-card-media{position:relative;display:block;width:100%;padding:0;border:0;background:#fafafa;cursor:zoom-in;overflow:hidden}.asset-card-media img{display:block;width:100%;transition:transform .2s ease}.asset-card:hover .asset-card-media img{transform:scale(1.02)}.asset-card-mask{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;background:#0f172a57;opacity:0;transition:opacity .18s ease}.asset-card:hover .asset-card-mask{opacity:1}.asset-card-eye{width:34px;height:34px;border-radius:50%;background:#fffffff0;color:#1f2329;display:inline-flex;align-items:center;justify-content:center;font-size:14px}.asset-card-body{padding:8px 10px 6px}.asset-card-name{font-size:13px;font-weight:600;color:#1f2329;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.asset-erp-tag{display:inline-block;margin-right:6px;padding:0 5px;border-radius:4px;background:#eef4ff;color:#1677ff;font-size:10px;font-weight:600;line-height:16px;vertical-align:1px}.asset-card-meta{margin-top:2px;font-size:11px;color:#9aa3af;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.asset-card-tools{display:flex;align-items:center;justify-content:flex-end;gap:2px;margin-top:4px}.asset-empty{display:flex;align-items:center;gap:12px;padding:18px;margin-top:14px;border:1px dashed #e5e9f0;border-radius:8px;background:#fafbfc}.asset-empty-icon{width:40px;height:40px;border-radius:10px;background:#e6f4ff;color:#1677ff;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0}.asset-empty-title{font-size:13px;font-weight:600;color:#1f2329}.asset-empty-sub{margin-top:2px;font-size:12px;color:#9aa3af}.asset-edit-label{display:block;margin-bottom:6px;font-size:13px;font-weight:600;color:#1f2329}@media(max-width:900px){.asset-hero{padding:14px}.asset-stats{width:100%}.asset-stat{flex:1;min-width:0}}img[data-image-fallback="1"]{object-fit:contain!important;background:#f4f6f9}
