.chat-workspace{display:grid;grid-template-columns:248px minmax(0,1fr);height:100vh;height:100dvh;background:radial-gradient(ellipse 900px 440px at 54% 0%,rgba(164,152,255,.2),transparent 68%),linear-gradient(180deg,#f1f3fc,#f5f6fb 380px,#f5f6fb);transition:grid-template-columns .18s ease}.chat-workspace.is-collapsed{grid-template-columns:68px minmax(0,1fr)}.chat-boot{min-height:100vh;display:flex;gap:9px;align-items:center;justify-content:center;color:var(--ink-secondary)}.chat-sidebar{display:grid;grid-template-rows:auto minmax(0,1fr) auto;min-width:0;background:#fff;border-right:1px solid #eaecf4;z-index:40}.chat-sidebar-head{padding:16px 12px 12px;border-bottom:1px solid #f0f2f8}.chat-brand-row{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:14px}.chat-brand{display:flex;align-items:center;gap:10px;padding:2px 4px;border:none;background:transparent;cursor:pointer;font-size:18px;font-weight:800;color:#1c1f2b}.chat-brand>span{display:grid;place-items:center;width:34px;height:34px;border-radius:10px;background:linear-gradient(135deg,#7462ff,#5847f2);color:#fff;box-shadow:0 4px 12px #6250f647;flex-shrink:0}.chat-nav-list{display:flex;flex-direction:column;gap:4px}.chat-nav-btn{width:100%;display:flex;align-items:center;gap:10px;padding:10px 12px;border-radius:10px;border:none;background:transparent;color:#3a3f52;font-size:13.5px;font-weight:550;cursor:pointer;text-align:left;transition:background .12s ease,color .12s ease}.chat-nav-btn:hover{background:#f5f6fb}.chat-nav-btn.active{background:#f0eeff;color:#6353f3;font-weight:700}.chat-nav-badge{margin-left:auto;padding:2px 7px;border-radius:999px;background:#ece9ff;color:#6353f3;font-size:11px;font-weight:700}.chat-history{overflow:auto;padding:12px 12px 18px}.chat-history-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px}.chat-history h2{margin:0;font-size:13px;color:#1f2330;font-weight:700}.chat-history h2 span{font-weight:500;color:#939ab0;margin-left:3px}.chat-history-date-group{font-size:11.5px;color:#969db0;margin:8px 4px 6px}.chat-history-search{margin-bottom:10px}.chat-history-empty{margin:12px 6px;font-size:12.5px;color:#9aa1b4}.chat-history-row{position:relative;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:2px;margin-bottom:4px}.chat-history-item{width:100%;display:flex;gap:8px;align-items:center;text-align:left;padding:9px 10px;color:#2c3140;background:transparent;border:0;border-radius:10px;font-size:13px;cursor:pointer}.chat-history-item[aria-current=true]{background:#f0eeff;color:#6353f3;font-weight:650}.chat-history-item:hover:not(:disabled){background:#f5f6fb}.chat-history-item span{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.chat-history-item time{flex:none;font-size:11px;color:#969db0}.chat-history-more{opacity:0;padding:4px 6px;border-color:transparent;background:transparent}.chat-history-row:hover .chat-history-more,.chat-history-more[aria-expanded=true]{opacity:1}.chat-history-menu{position:absolute;top:calc(100% + 2px);right:4px;z-index:30;display:grid;gap:3px;padding:6px;border:1px solid #e5e8f2;border-radius:10px;background:#fff;box-shadow:0 10px 26px #1418301f}.chat-history-menu .btn{justify-content:flex-start;border-color:transparent}.chat-legacy-list{margin-top:16px;padding-top:10px;border-top:1px solid #eef0f7}.chat-sidebar summary{list-style:none;display:flex;gap:10px;align-items:center;cursor:pointer}.chat-sidebar summary::-webkit-details-marker{display:none}.chat-legacy-list summary{padding:6px 8px;color:#676e82;font-size:12.5px}.chat-legacy-list summary svg:last-child{margin-left:auto}.chat-account{position:relative;border-top:1px solid #eef0f7;padding:10px 12px}.chat-account summary{padding:6px;border-radius:10px;transition:background .12s ease}.chat-account summary:hover{background:#f5f6fb}.chat-account-avatar{width:34px;height:34px;border-radius:50%;background:linear-gradient(135deg,#ffd86f,#f3a152);color:#231c14;font-weight:800;font-size:14px;display:grid;place-items:center;flex-shrink:0}.chat-account-meta{flex:1;min-width:0}.chat-account-name{font-size:13px;font-weight:700;color:#1e2230;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.chat-account-vip{font-size:11px;color:#939ab0;margin-top:1px}.chat-account-menu{position:absolute;bottom:calc(100% + 6px);left:12px;right:12px;z-index:60;display:grid;gap:4px;padding:8px;border:1px solid #e6e8f2;border-radius:12px;background:#fff;box-shadow:0 12px 32px #14183024}.chat-account-menu .btn{justify-content:flex-start;border-color:transparent}.chat-sidebar-scrim,.chat-sidebar .chat-sidebar-close,.chat-header .chat-sidebar-toggle{display:none}.chat-main{display:grid;grid-template-rows:auto minmax(0,1fr);min-height:0;min-width:0}.chat-header{display:flex;align-items:center;justify-content:space-between;gap:12px;min-width:0;min-height:52px;padding:8px 24px}.chat-header-left{display:flex;align-items:center;gap:8px;min-width:0}.chat-back-link{display:inline-flex;align-items:center;gap:3px;border:none;background:transparent;color:#5c6378;font-size:13px;font-weight:550;cursor:pointer;padding:4px 6px;border-radius:6px}.chat-back-link:hover{background:#6353f314;color:#6353f3}.chat-header-dot{color:#b5bccf;font-weight:700}.chat-header h1{margin:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13.5px;font-weight:650;color:#6353f3}.chat-new-session-icon{width:28px;height:28px;border-radius:7px;border:none;background:transparent;color:#798096;display:grid;place-items:center;cursor:pointer}.chat-new-session-icon:hover{background:#eceeff;color:#6353f3}.chat-header-right{display:flex;align-items:center;gap:8px;flex:none}.chat-affiliate-pill{flex:none;display:inline-flex;align-items:center;gap:5px;border:1px solid #dfd8ff;background:#f5f3ff;color:#5b4ce8;font-size:12px;font-weight:600;padding:6px 12px;border-radius:8px;cursor:pointer;transition:all .12s ease}.chat-affiliate-pill:hover,.chat-affiliate-pill.active{border-color:#6353f3;background:#6353f3;color:#fff}.chat-quota-pill{flex:none;border:1px solid #e2e5f2;background:#eceffd;color:#373c4f;font-size:12px;font-weight:600;padding:6px 14px;border-radius:8px;cursor:pointer;transition:all .12s ease}.chat-quota-pill:hover{border-color:#6353f3;color:#6353f3}.chat-body{display:grid;grid-template-rows:minmax(0,1fr) auto;min-height:0;min-width:0}.chat-body.chat-home{display:flex;align-items:center;justify-content:center;overflow-y:auto}.chat-body[hidden]{display:none}.chat-home-center{width:100%;min-height:100%;display:flex;align-items:flex-start;justify-content:center;padding:96px 28px 64px}.chat-home-hero{width:100%;max-width:820px;display:flex;flex-direction:column;align-items:center;text-align:center}.chat-home-title{margin:0 0 8px;font-size:clamp(22px,2.4vw,30px);font-weight:800;color:#1c1f2c;letter-spacing:-.01em}.chat-home-sub{margin:0 0 22px;font-size:13.5px;color:#7c8398}.chat-stream,.chat-panel{min-width:0;overflow:auto}.chat-stream-inner,.chat-panel-inner{width:min(100% - 40px,820px);margin-inline:auto}.chat-stream-inner{display:flex;flex-direction:column;align-items:stretch;min-height:100%;padding:20px 0 18px}.chat-session-footer{width:min(100% - 40px,820px);margin:0 auto 18px}.chat-composer-card.is-session{max-width:820px}.chat-turn{display:flex;flex-direction:column;gap:20px;margin-bottom:24px}.chat-row-item{display:flex;align-items:flex-start;gap:12px;position:relative}.chat-avatar-user{width:34px;height:34px;border-radius:8px;background:linear-gradient(135deg,#ffd86e,#f3a447);color:#251d14;font-weight:800;font-size:14px;display:grid;place-items:center;flex-shrink:0}.chat-avatar-model{width:34px;height:34px;border-radius:8px;background:linear-gradient(135deg,#f36c45,#e14b29);color:#fff;display:grid;place-items:center;flex-shrink:0}.chat-row-content{flex:1;min-width:0}.chat-message-meta{display:flex;align-items:center;gap:8px;margin-bottom:4px;font-size:11.5px;color:#8c93a6}.chat-row-text{margin:0;font-size:13.5px;color:#1e2230;white-space:pre-wrap}.chat-assistant-error{margin:4px 0 0;font-size:13px;color:#e24c3b}.chat-turn-trash{border:none;background:transparent;color:#8b92a6;width:28px;height:28px;border-radius:6px;display:grid;place-items:center;cursor:pointer;flex-shrink:0}.chat-turn-trash:hover{background:#f0f2f8;color:#e24c3b}.chat-sources{margin:0 0 8px;padding:9px 12px;background:#fff;border:1px solid #e4e7f2;border-radius:10px}.chat-sources summary{cursor:pointer;font-weight:600;font-size:12.5px}.chat-sources ul{padding-inline-start:20px;margin:6px 0 0;font-size:12.5px}.chat-source-excerpt{display:block;color:var(--ink-muted);margin-bottom:6px}.chat-preview-button{padding:0;border:0;background:transparent;cursor:zoom-in}.chat-result{display:block;max-width:min(100%,480px);max-height:460px;object-fit:contain;border-radius:12px;border:1px solid #e5e8f2;margin-bottom:10px;background:#fff}.chat-actions,.chat-attachments{display:flex;flex-wrap:wrap;align-items:center;gap:8px}.chat-attachments{margin-top:8px}.chat-attachments img{width:68px;height:68px;object-fit:cover;background:#f5f6fb;border-radius:8px;border:1px solid #e4e7f2}.chat-progress{display:flex;gap:8px;align-items:center;color:#6353f3;font-size:13px}.chat-error{margin:0 0 6px;font-size:12.5px;color:var(--danger)}.chat-dialog,.chat-image-dialog{width:min(92vw,390px);border:1px solid var(--border);border-radius:14px;padding:18px;box-shadow:var(--shadow-md)}.chat-dialog::backdrop,.chat-image-dialog::backdrop{background:#10122073}.chat-dialog form{display:grid;gap:12px}.chat-dialog h2,.chat-dialog p{margin:0}.chat-dialog .chat-actions{justify-content:flex-end}.chat-image-dialog{width:fit-content;max-width:94vw;padding:10px;background:#14161e}.chat-image-dialog button{display:flex;margin:0 0 8px auto}.chat-image-dialog img{display:block;max-width:90vw;max-height:82vh;object-fit:contain}.chat-account-trigger{width:100%;display:flex;align-items:center;gap:10px;padding:6px;border:none;background:transparent;border-radius:10px;cursor:pointer;text-align:left;transition:background .12s ease}.chat-account-trigger:hover{background:#f5f6fb}.rich-account-popover{position:absolute;bottom:calc(100% + 8px);left:10px;width:260px;background:#fff;border:1px solid #e9ecf4;border-radius:14px;box-shadow:0 16px 42px #12162a29,0 2px 8px #12162a0f;padding:14px 14px 10px;z-index:95}.rap-user-row{display:flex;align-items:center;gap:10px;padding-bottom:12px}.rap-section{padding:10px 0;border-top:1px solid #f1f2f8}.rap-section-title{font-size:11px;color:#9ba1b4;margin-bottom:8px}.rap-vip-card{display:flex;align-items:center;justify-content:space-between;gap:8px;background:#f4f5fa;border-radius:10px;padding:10px 11px;margin-bottom:8px}.rap-vip-tier{font-size:13px;font-weight:750;color:#1f2330}.rap-vip-exp{font-size:11px;color:#8f96a8;margin-top:2px;white-space:nowrap}.rap-upgrade-btn{border:none;border-radius:7px;background:#6153e8;color:#fff;font-size:11.5px;font-weight:600;padding:6px 10px;cursor:pointer;white-space:nowrap;flex-shrink:0}.rap-upgrade-btn:hover{background:#5243db}.rap-grid-2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px 6px}.rap-item-btn{display:flex;align-items:center;gap:7px;padding:7px 6px;border-radius:8px;border:none;background:transparent;color:#343949;font-size:12px;font-weight:500;cursor:pointer;text-align:left;white-space:nowrap}.rap-item-btn svg{color:#5b6175;flex-shrink:0}.rap-item-btn:hover{background:#f4f5fb;color:#6153e8}.rap-item-btn:hover svg{color:#6153e8}.rap-footer{padding-top:8px;border-top:1px solid #f1f2f8;display:flex;justify-content:center}.rap-logout-btn{width:100%;display:flex;align-items:center;justify-content:center;gap:7px;padding:7px 10px;border-radius:8px;border:none;background:transparent;color:#e44c41;font-size:12px;font-weight:550;cursor:pointer}.rap-logout-btn:hover{background:#fff2f1}.quota-popover-anchor{position:relative;flex:none}.quota-detail-modal{position:absolute;top:calc(100% + 10px);right:0;width:372px;background:#fff;border:1px solid #e9ecf4;border-radius:16px;box-shadow:0 18px 48px #12162a29,0 3px 10px #12162a0d;padding:18px 20px;z-index:95}.qdm-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:16px}.qdm-title{font-size:16px;font-weight:750;color:#1e2230}.qdm-head-actions{display:flex;align-items:center;gap:10px}.qdm-record-link{border:none;background:transparent;font-size:12px;color:#7c8398;cursor:pointer;padding:2px 4px}.qdm-record-link:hover{color:#6153e8}.qdm-close-btn{width:26px;height:26px;border-radius:6px;border:none;background:transparent;color:#848b9f;display:grid;place-items:center;cursor:pointer}.qdm-close-btn:hover{background:#f3f5fa;color:#1e2230}.qdm-section-label{font-size:12px;color:#8f96a8;margin-bottom:8px}.qdm-member-box{background:#f6f7fb;border-radius:10px;padding:12px 14px;margin-bottom:10px}.qdm-member-title{font-size:13.5px;font-weight:700;color:#1e2230}.qdm-member-exp{font-size:11.5px;color:#8f96a8;margin-top:3px}.qdm-helper-note{font-size:11.5px;color:#969db0;margin-bottom:12px}.qdm-drawing-card{display:flex;align-items:center;justify-content:space-between;border:1px solid #eceef6;background:#fbfcfe;border-radius:10px;padding:12px 14px;margin-bottom:14px}.qdm-drawing-title{font-size:13.5px;font-weight:700;color:#1e2230}.qdm-drawing-exp{font-size:11.5px;color:#8f96a8;margin-top:3px}.qdm-drawing-count{display:flex;align-items:baseline;gap:4px}.qdm-drawing-count strong{font-size:20px;font-weight:800;color:#1e2230}.qdm-drawing-count span{font-size:11.5px;color:#8f96a8}.qdm-table{width:100%;border-collapse:collapse;margin-bottom:16px}.qdm-table th{font-size:11.5px;font-weight:500;color:#959cb0;text-align:left;padding:6px 4px;border-bottom:1px solid #f1f2f8}.qdm-table td{font-size:12.5px;color:#363b4c;padding:9px 4px;border-bottom:1px solid #f4f5fa}.qdm-table .num{text-align:right}.qdm-table td.highlight{color:#3a6fd8;font-weight:600}.qdm-footer-btns{display:grid;grid-template-columns:1fr 1fr;gap:10px}.qdm-btn-primary{height:36px;border-radius:8px;border:none;background:#3366c2;color:#fff;font-size:12.5px;font-weight:600;cursor:pointer}.qdm-btn-primary:hover{background:#2857ad}.qdm-btn-outline{height:36px;border-radius:8px;border:1px solid #e1e4ef;background:#fff;color:#464c5e;font-size:12.5px;font-weight:550;cursor:pointer}.qdm-btn-outline:hover{border-color:#6153e8;color:#6153e8}.chat-composer-card.is-compact-pill{padding:9px 12px;border-radius:16px;max-width:740px;margin:0 auto}.compact-session-row{display:flex;align-items:flex-end;gap:10px}.compact-session-textarea{flex:1;min-height:34px;max-height:168px;padding:6px;border:none;outline:none;resize:none;font-size:13.5px;line-height:1.6;color:var(--ink);background:transparent;overflow-y:hidden;scrollbar-width:thin;scrollbar-color:#d5d9e8 transparent}.compact-session-textarea::-webkit-scrollbar,.omnibox-textarea::-webkit-scrollbar{width:5px}.compact-session-textarea::-webkit-scrollbar-thumb,.omnibox-textarea::-webkit-scrollbar-thumb{background:#d5d9e8;border-radius:999px}.compact-session-textarea::placeholder{color:#a1a8ba}.ratio-three-popover{top:auto;bottom:calc(100% + 12px);right:0;width:340px;padding:16px}.chat-home .ratio-three-popover{top:calc(100% + 12px);bottom:auto}.chat-header h1.is-tab-underline{position:relative;color:#6153e8;padding-bottom:4px}.chat-header h1.is-tab-underline:after{content:"";position:absolute;left:0;right:0;bottom:-6px;height:2.5px;border-radius:2px;background:#6153e8}.chat-panel.is-promo-panel{padding:0 0 48px;background:#f8f9fc}.promo-page-wrap{display:flex;flex-direction:column}.promo-hero-banner{background:radial-gradient(circle at 80% 30%,rgba(167,139,250,.32) 0%,transparent 52%),linear-gradient(135deg,#4f46e5,#6353f3 52%,#7c3aed);color:#fff;padding:36px 32px 62px;position:relative;overflow:hidden}.promo-hero-grid{max-width:980px;margin:0 auto;display:grid;grid-template-columns:minmax(0,1.25fr) minmax(300px,.95fr);align-items:center;gap:28px}.promo-hero-left{display:flex;flex-direction:column;align-items:flex-start;gap:13px}.promo-hero-badge{display:inline-flex;align-items:center;gap:6px;padding:5px 12px;border-radius:999px;border:1px solid rgba(255,255,255,.36);background:#ffffff24;font-size:12.5px;font-weight:600;letter-spacing:.02em}.promo-hero-title{margin:0;font-size:clamp(24px,2.8vw,34px);font-weight:850;line-height:1.26;letter-spacing:-.01em}.promo-hero-sub{margin:0;font-size:13.5px;line-height:1.65;color:#ffffffe6;max-width:520px}.promo-hero-actions{margin-top:4px;display:flex;flex-wrap:wrap;gap:10px}.promo-hero-cta{display:inline-flex;align-items:center;gap:8px;padding:11px 20px;border-radius:11px;border:none;background:#fff;color:#4f46e5;font-size:14px;font-weight:750;cursor:pointer;box-shadow:0 10px 24px #1e145f40;transition:transform .12s ease,box-shadow .12s ease}.promo-hero-cta:hover{transform:translateY(-1px);box-shadow:0 12px 26px #1e145f52}.promo-hero-cta-ghost{display:inline-flex;align-items:center;gap:7px;padding:11px 18px;border-radius:11px;border:1px solid rgba(255,255,255,.45);background:#ffffff24;color:#fff;font-size:13.5px;font-weight:650;cursor:pointer;transition:background .12s ease}.promo-hero-cta-ghost:hover{background:#ffffff3d}.promo-hero-right{position:relative}.promo-reward-table-card{background:#fffffffa;color:var(--ink);border-radius:16px;padding:16px 18px;box-shadow:0 16px 36px #1810543d;border:1px solid rgba(255,255,255,.7)}.promo-reward-table-head{display:flex;align-items:center;gap:6px;font-size:12.5px;font-weight:700;color:#4f46e5;margin-bottom:12px;padding-bottom:10px;border-bottom:1px solid #eef0f7}.promo-reward-rows{display:flex;flex-direction:column;gap:8px}.promo-reward-row{display:grid;grid-template-columns:1fr auto auto;align-items:center;gap:12px;padding:8px 10px;border-radius:10px;background:#f7f8fc;font-size:13px;color:var(--ink-secondary)}.promo-reward-row strong{color:#4f46e5;font-size:14px;font-weight:800;min-width:56px;text-align:right}.promo-reward-row.highlight{background:#f2f0ff;border:1px solid #d9d3ff;color:var(--ink);font-weight:600}.promo-content-container{width:min(100% - 40px,980px);margin:0 auto;display:flex;flex-direction:column;gap:20px}.promo-steps-row{margin-top:-28px;position:relative;z-index:5;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.promo-step-card{background:#fff;border:1px solid #eceef6;border-radius:14px;padding:16px;display:flex;align-items:flex-start;gap:12px;box-shadow:0 8px 22px #181c300f}.promo-step-num{width:28px;height:28px;border-radius:999px;background:#f1effe;color:#6353f3;font-size:13px;font-weight:800;display:grid;place-items:center;flex-shrink:0}.promo-step-card strong{display:block;font-size:13.5px;color:var(--ink);margin-bottom:4px}.promo-step-card p{margin:0;font-size:12px;line-height:1.5;color:var(--ink-muted)}.admin-affiliate-card{border-color:#d6d0ff;background:linear-gradient(180deg,#faf9ff,#fff)}.admin-affiliate-head{display:flex;flex-wrap:wrap;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:16px}.admin-affiliate-icon{width:34px;height:34px;border-radius:10px;background:#efeaff;color:#6353f3;display:grid;place-items:center;flex-shrink:0}.admin-affiliate-form{display:flex;flex-direction:column;gap:14px}.admin-affiliate-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.admin-affiliate-footer{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px;padding-top:12px;border-top:1px dashed #e2dff9}.admin-affiliate-preview{font-size:12.5px;color:var(--ink-secondary);line-height:1.5}.admin-affiliate-preview strong{color:#4f46e5}@media(max-width:900px){.promo-hero-grid,.promo-steps-row,.admin-affiliate-grid{grid-template-columns:1fr}.promo-steps-row{margin-top:-16px}}.chat-result-lightbox{box-sizing:border-box;width:100%;height:100%;max-width:none;max-height:none;margin:0;border:0;overflow:hidden}.chat-result-lightbox:not([open]){display:none}.chat-result-lightbox::backdrop{background:transparent}.chat-result-lightbox .ant-lightbox-toolbar{max-width:calc(100vw - 24px);width:max-content;flex-wrap:wrap;justify-content:center;gap:clamp(5px,2vw,16px)}.chat-ref-pill-list{display:flex;flex-wrap:wrap;gap:8px;margin-top:8px}.chat-ref-edit-pill{display:inline-flex;align-items:center;gap:8px;background:#e9ecf5;border-radius:8px;padding:5px 11px 5px 6px}.chat-ref-pill-thumb{position:relative;width:26px;height:26px;border-radius:5px;overflow:hidden;background:#fff;flex-shrink:0}.chat-ref-pill-thumb img{width:100%;height:100%;object-fit:cover;display:block}.chat-ref-pill-badge{position:absolute;left:0;bottom:0;background:#12141cc7;color:#fff;font-size:9px;line-height:1.1;padding:1px 3px;border-top-right-radius:4px;font-weight:600}.chat-ref-pill-text{font-size:12px;color:#6b7285;font-weight:500}.chat-drawing-progress{display:flex;flex-direction:column;align-items:flex-start;gap:8px;margin-top:4px}.chat-loading-square{width:116px;height:116px;border-radius:12px;background:#f3f4f8;display:grid;place-items:center}@keyframes floatBrush{0%,to{transform:translateY(0) rotate(0)}50%{transform:translateY(-4px) rotate(4deg)}}.chat-drawing-svg{animation:floatBrush 1.8s ease-in-out infinite}.chat-drawing-notice{font-size:12px;color:#969db0}.chat-result-row{display:flex;align-items:flex-start;gap:10px;margin-top:4px}.chat-image-stage{position:relative;width:350px;max-width:calc(100vw - 120px);border-radius:12px;overflow:hidden;background:#fff;border:1px solid #e7eaf3;flex-shrink:0}.chat-image-stage .chat-result{width:100%;height:auto;max-width:none;max-height:none;margin:0;border:none;border-radius:0;display:block}.chat-image-hover-mask{position:absolute;top:0;right:0;bottom:0;left:0;background:#0f121c5c;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;opacity:0;transition:opacity .15s ease}.chat-image-stage:hover .chat-image-hover-mask,.chat-image-stage:focus-within .chat-image-hover-mask{opacity:1}.chat-hover-preview-btn{min-width:110px;height:34px;padding:0 18px;border-radius:8px;border:1px solid rgba(255,255,255,.35);background:#20232d8c;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);color:#fff;font-size:13px;font-weight:600;cursor:pointer;transition:background .12s ease}.chat-hover-preview-btn:hover{background:#20232dc7}.chat-hover-edit-btn{min-width:110px;height:34px;padding:0 16px;border-radius:8px;border:none;background:#6353f3;color:#fff;font-size:13px;font-weight:600;display:inline-flex;align-items:center;justify-content:center;gap:6px;cursor:pointer;box-shadow:0 6px 16px #6353f359;transition:background .12s ease}.chat-hover-edit-btn:hover{background:#5343e2}.chat-image-side-tools{display:flex;flex-direction:column;gap:6px;padding-top:2px}.side-tool-item{position:relative;display:flex;align-items:center}.side-tool-btn{width:28px;height:28px;border-radius:7px;border:none;background:transparent;color:#5b6275;display:grid;place-items:center;cursor:pointer;transition:background .12s ease,color .12s ease}.side-tool-btn:hover,.side-tool-btn.active{background:#eceeff;color:#6353f3}.side-download-menu{position:absolute;top:0;left:calc(100% + 8px);min-width:214px;padding:6px;border-radius:10px;background:#fff;border:1px solid #e4e7f2;box-shadow:0 12px 30px #14183024;display:flex;flex-direction:column;gap:2px;z-index:50}.chat-result-block{display:flex;flex-direction:column;align-items:flex-start;gap:10px}.home-starter-row{margin-top:14px;width:100%;display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:8px}.home-starter-label{font-size:12px;color:#8b92a6;margin-right:2px}.home-starter-chip{border:1px solid #e3e6f0;background:#fff;color:#363c52;font-size:12.5px;font-weight:500;padding:6px 13px;border-radius:999px;cursor:pointer;transition:border-color .14s ease,background .14s ease,color .14s ease,box-shadow .14s ease}.home-starter-chip:hover:not(:disabled){border-color:#c5bdf8;background:#f6f4ff;color:#5b4ce8;box-shadow:0 2px 8px #6353f314}.home-starter-chip:disabled{opacity:.55;cursor:not-allowed}.suite-followup-bar{display:flex;flex-wrap:wrap;align-items:center;gap:7px;max-width:420px}.suite-followup-label{font-size:12px;color:#8b92a6;margin-right:2px}.suite-followup-chip{border:1px solid #e4e7f2;background:#f9faff;color:#3b4258;font-size:12px;font-weight:500;padding:5px 11px;border-radius:999px;cursor:pointer;transition:border-color .14s ease,background .14s ease,color .14s ease}.suite-followup-chip:hover:not(:disabled){border-color:#c5bdf8;background:#f3f1ff;color:#5b4ce8}.suite-followup-chip:disabled{opacity:.5;cursor:not-allowed}.side-download-option{display:flex;flex-direction:column;gap:2px;padding:7px 10px;border-radius:7px;text-decoration:none;transition:background .12s ease}.side-download-option:hover{background:#f4f3ff}.side-download-option strong{font-size:12.5px;font-weight:650;color:#1f2330}.side-download-option span{font-size:11px;color:#848b9f}.side-tool-btn.danger:hover{background:#fff1f0;color:#e24c3b}.side-tool-tip{position:absolute;bottom:calc(100% + 6px);left:50%;transform:translate(-50%);background:#23252c;color:#fff;font-size:12px;padding:4px 10px;border-radius:6px;white-space:nowrap;pointer-events:none;opacity:0;transition:opacity .12s ease;z-index:40;box-shadow:0 6px 16px #00000038}.side-tool-tip:after{content:"";position:absolute;top:100%;left:50%;transform:translate(-50%);border-width:4px;border-style:solid;border-color:#23252c transparent transparent transparent}.side-tool-item:hover .side-tool-tip{opacity:1}.continue-edit-banner{display:flex;align-items:center;gap:12px;background:#f5f4fd;border-radius:10px;padding:9px 12px;margin-bottom:8px}.continue-edit-thumb{width:44px;height:44px;border-radius:7px;object-fit:cover;border:1px solid #e4e6f2;background:#fff;flex-shrink:0}.continue-edit-meta{flex:1;min-width:0;text-align:left}.continue-edit-title{font-size:13px;font-weight:700;color:#1f2330}.continue-edit-sub{font-size:12px;color:#8f96a8;margin-top:2px}.continue-edit-close{width:28px;height:28px;border-radius:7px;border:none;background:transparent;color:#8b92a6;display:grid;place-items:center;cursor:pointer;flex-shrink:0}.continue-edit-close:hover{background:#eae8fb;color:#1f2330}.dalle-preview-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background:#0e1018c2;display:flex;align-items:center;justify-content:center;z-index:130;padding:32px}.dalle-preview-box{position:relative;display:inline-flex;align-items:flex-start}.dalle-preview-box img{display:block;max-width:min(80vw,620px);max-height:82vh;width:auto;height:auto;border-radius:6px;box-shadow:0 24px 64px #0000008c;background:#fff}.dalle-preview-actions{position:absolute;top:0;left:calc(100% + 12px);display:flex;flex-direction:column;gap:8px}.dalle-preview-download{width:38px;height:38px;border-radius:8px;background:#2d303ab8;color:#d6dae6;display:inline-flex;align-items:center;justify-content:center;gap:5px;text-decoration:none;transition:background .12s ease,color .12s ease}.dalle-preview-download.is-labeled{width:auto;min-width:68px;height:36px;padding:0 11px;font-size:12px;font-weight:650}.dalle-preview-download:hover{background:#414654eb;color:#fff}@media(max-width:900px){.chat-workspace,.chat-workspace.is-collapsed{grid-template-columns:minmax(0,1fr)}.chat-sidebar-scrim{position:fixed;top:0;right:0;bottom:0;left:0;z-index:45;border:0;background:#10122059}.chat-sidebar-scrim,.chat-sidebar .chat-sidebar-close,.chat-header .chat-sidebar-toggle{display:inline-flex}.chat-sidebar .chat-collapse{display:none}.chat-sidebar{position:fixed;inset:0 auto 0 0;z-index:50;width:min(272px,84vw);box-shadow:var(--shadow-md);transform:translate(-104%);transition:transform .16s ease}.chat-sidebar.is-open{transform:translate(0)}.chat-home-scroll{padding:8px 14px 36px}}:root{--bg-canvas: #f2f4fc;--bg-gradient: radial-gradient(1200px 600px at 50% -80px, #e3e7ff 0%, #f1f3fb 52%, #f7f8fc 100%);--surface: #ffffff;--surface-subtle: #f7f8fc;--surface-tint: #f0eeff;--ink: #171821;--ink-secondary: #4e5263;--ink-muted: #7c8194;--border: #e6e8f2;--border-strong: #d2d6e8;--primary: #5e4ef5;--primary-hover: #4c3ce0;--primary-gradient: linear-gradient(135deg, #7462ff 0%, #5847f2 100%);--primary-soft: rgba(94, 78, 245, .12);--accent: #6c5ce7;--success: #12805c;--success-bg: #e7f7f0;--warning: #b45309;--warning-bg: #fef4e6;--danger: #c9372c;--danger-bg: #fdeceb;--radius-sm: 8px;--radius-md: 12px;--radius-lg: 16px;--radius-xl: 20px;--shadow-sm: 0 2px 8px rgba(24, 28, 50, .04);--shadow-md: 0 8px 28px rgba(32, 36, 74, .07);--shadow-popover: 0 14px 40px rgba(20, 24, 52, .14);--shadow-modal: 0 24px 64px rgba(15, 18, 40, .24);font-family:Inter,PingFang SC,Microsoft YaHei,-apple-system,BlinkMacSystemFont,sans-serif;color:var(--ink);background:var(--bg-canvas);line-height:1.5;-webkit-font-smoothing:antialiased}*,*:before,*:after{box-sizing:border-box}body{margin:0;min-height:100vh;background:var(--bg-canvas);color:var(--ink);font-size:14px}button,input,textarea,select{font:inherit;color:inherit}a{color:inherit;text-decoration:none}.tabular{font-variant-numeric:tabular-nums}.pc-layout{min-height:100vh;display:flex;background:var(--bg-gradient)}.pc-sidebar{width:248px;flex-shrink:0;background:var(--surface);border-right:1px solid var(--border);display:flex;flex-direction:column;height:100vh;position:sticky;top:0;z-index:40;transition:width .2s ease}.pc-sidebar.collapsed{width:68px}.sidebar-top{height:60px;padding:0 16px;display:flex;align-items:center;justify-content:space-between;gap:10px}.sidebar-brand{display:flex;align-items:center;gap:10px;min-width:0;cursor:pointer}.brand-logo{width:34px;height:34px;border-radius:10px;background:var(--primary-gradient);color:#fff;display:grid;place-items:center;flex-shrink:0;box-shadow:0 4px 12px #5e4ef547}.brand-name{font-size:17px;font-weight:800;letter-spacing:-.02em;color:var(--ink);white-space:nowrap}.brand-sub{font-size:11.5px;color:var(--ink-muted)}.icon-btn{width:30px;height:30px;border-radius:8px;border:1px solid transparent;background:transparent;color:var(--ink-muted);display:grid;place-items:center;cursor:pointer;transition:all .15s;flex-shrink:0}.icon-btn:hover{background:var(--surface-subtle);color:var(--ink)}.sidebar-nav{padding:6px 12px 12px;display:flex;flex-direction:column;gap:4px}.sidebar-group-label{padding:10px 10px 4px;font-size:11.5px;color:var(--ink-muted);font-weight:500}.sidebar-item{width:100%;border:none;background:transparent;padding:10px 12px;border-radius:10px;font-size:13.5px;font-weight:550;color:var(--ink-secondary);cursor:pointer;display:flex;align-items:center;gap:10px;text-align:left;transition:all .15s ease;white-space:nowrap}.sidebar-item:hover{background:var(--surface-subtle);color:var(--ink)}.sidebar-item.active{background:var(--surface-tint);color:var(--primary);font-weight:650}.sidebar-badge{margin-left:auto;font-size:11px;padding:1px 7px;border-radius:999px;background:#5e4ef51f;color:var(--primary);font-weight:650}.sidebar-history{flex:1;min-height:0;border-top:1px solid var(--border);padding:12px;display:flex;flex-direction:column;gap:8px}.history-head{display:flex;align-items:center;justify-content:space-between;padding:0 4px;position:relative}.history-title{font-size:13px;font-weight:700;color:var(--ink);display:flex;align-items:center;gap:5px}.history-count{font-size:11.5px;color:var(--ink-muted);font-weight:500}.history-search-input{width:100%;border:1px solid var(--border);border-radius:8px;padding:6px 10px;font-size:12px;background:var(--surface-subtle)}.history-search-input:focus{outline:none;border-color:var(--primary);background:#fff}.history-list{flex:1;overflow-y:auto;display:flex;flex-direction:column;gap:3px}.history-date-label{font-size:11.5px;color:var(--ink-muted);padding:4px 6px 2px}.history-row{border:none;background:transparent;width:100%;padding:7px 8px;border-radius:8px;display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:12.5px;color:var(--ink-secondary);cursor:pointer;text-align:left;transition:background .14s}.history-row:hover,.history-row.active{background:var(--surface-tint);color:var(--primary)}.history-row-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex:1}.history-row-meta{font-size:11px;color:var(--ink-muted);flex-shrink:0}.sidebar-footer{border-top:1px solid var(--border);padding:10px 12px;position:relative}.account-trigger{width:100%;border:none;background:transparent;padding:6px 8px;border-radius:10px;display:flex;align-items:center;gap:10px;cursor:pointer;text-align:left;transition:background .15s}.account-trigger:hover{background:var(--surface-subtle)}.account-avatar{width:34px;height:34px;border-radius:50%;background:linear-gradient(135deg,#fde68a,#f59e0b);color:#451a03;font-weight:800;font-size:13.5px;display:grid;place-items:center;flex-shrink:0}.account-popup{position:absolute;left:12px;bottom:64px;width:268px;background:var(--surface);border:1px solid var(--border);border-radius:16px;box-shadow:var(--shadow-popover);padding:14px;z-index:60;display:flex;flex-direction:column;gap:12px}.account-vip-box{background:linear-gradient(135deg,#f3f1ff,#ebe7ff);border:1px solid #dcd5ff;border-radius:12px;padding:11px 12px;display:flex;align-items:center;justify-content:space-between;gap:8px}.account-menu-grid{display:grid;grid-template-columns:1fr 1fr;gap:4px}.account-menu-btn{border:none;background:transparent;padding:8px 10px;border-radius:8px;font-size:12.5px;color:var(--ink-secondary);display:flex;align-items:center;gap:7px;cursor:pointer;text-align:left}.account-menu-btn:hover{background:var(--surface-subtle);color:var(--primary)}.pc-main{flex:1;min-width:0;display:flex;flex-direction:column}.mobile-topbar{display:none;height:54px;background:#ffffffeb;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border-bottom:1px solid var(--border);padding:0 14px;align-items:center;justify-content:space-between;position:sticky;top:0;z-index:35}.mobile-nav{display:none;background:var(--surface);border-bottom:1px solid var(--border);padding:6px 10px;gap:6px}.main-wrap{flex:1;width:100%;max-width:1160px;margin:0 auto;padding:24px 28px 56px}.painting-hero{display:flex;flex-direction:column;align-items:center;margin-bottom:28px}.model-switcher{display:inline-flex;align-items:center;gap:10px;margin-bottom:18px;flex-wrap:wrap;justify-content:center}.model-pill{position:relative;border:1px solid transparent;background:#ffffffa6;color:var(--ink-secondary);padding:8px 16px;border-radius:12px;font-size:13.5px;font-weight:650;cursor:pointer;display:inline-flex;align-items:center;gap:7px;transition:all .16s ease}.model-pill:hover{background:#fff;color:var(--ink);box-shadow:var(--shadow-sm)}.model-pill.active{background:#17181c;color:#fff;box-shadow:0 6px 18px #14161e2e}.model-crown{font-size:13px}.omnibox-card{width:100%;max-width:770px;background:var(--surface);border:1px solid rgba(220,224,242,.9);border-radius:20px;box-shadow:0 10px 36px #2d346c14;padding:16px 18px 14px;display:flex;flex-direction:column;gap:12px;transition:border-color .18s,box-shadow .18s}.omnibox-card:focus-within,.omnibox-card.drag-over{border-color:#b7afff;box-shadow:0 12px 42px #5e4ef521}.ref-tray{background:#f7f8fc;border:1px solid var(--border);border-radius:14px;padding:12px 14px;display:flex;flex-direction:column;gap:10px}.ref-tray-head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;flex-wrap:wrap}.ref-tray-title{font-size:13px;font-weight:700;color:var(--ink)}.ref-tray-sub{font-size:11.5px;color:var(--ink-muted);margin-top:1px}.ref-tile-list{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.ref-tile{position:relative;width:74px;background:#fff;border:1px solid var(--border);border-radius:10px;padding:4px;text-align:center;box-shadow:var(--shadow-sm)}.ref-tile img{width:64px;height:54px;object-fit:cover;border-radius:6px;display:block}.ref-tile-num{position:absolute;top:3px;left:3px;width:17px;height:17px;border-radius:5px;background:var(--primary);color:#fff;font-size:10.5px;font-weight:700;display:grid;place-items:center}.ref-tile-remove{position:absolute;top:3px;right:3px;width:18px;height:18px;border-radius:50%;border:none;background:#14161eb8;color:#fff;font-size:11px;display:grid;place-items:center;cursor:pointer}.ref-tile-caption{font-size:11px;color:var(--ink-secondary);margin-top:3px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ref-empty-drop{border:1.5px dashed #c5c9e0;background:#fff;border-radius:10px;padding:10px 14px;display:inline-flex;align-items:center;gap:8px;font-size:12.5px;font-weight:600;color:var(--primary);cursor:pointer;transition:all .15s}.ref-empty-drop:hover{border-color:var(--primary);background:var(--surface-tint)}.omnibox-textarea{width:100%;border:none;background:transparent;resize:none;min-height:78px;max-height:220px;font-size:14px;line-height:1.65;color:var(--ink);padding:2px 0}.omnibox-textarea::placeholder{color:#a0a5b8}.omnibox-textarea:focus{outline:none}.omnibox-footer{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;padding-top:4px}.omnibox-tools-left,.omnibox-tools-right{display:flex;align-items:center;gap:8px;flex-wrap:wrap;position:relative}.tool-circle-btn{width:34px;height:34px;border-radius:50%;border:1px solid var(--border);background:var(--surface-subtle);color:var(--ink-secondary);display:grid;place-items:center;cursor:pointer;transition:all .15s}.tool-circle-btn:hover,.tool-circle-btn.active{background:var(--surface-tint);border-color:#c5bcff;color:var(--primary)}.tool-pill-btn{border:1px solid var(--border);background:var(--surface-subtle);color:var(--ink-secondary);padding:5px 11px;border-radius:8px;font-size:12.5px;font-weight:550;display:inline-flex;align-items:center;gap:6px;cursor:pointer;transition:all .15s}.tool-pill-btn:hover,.tool-pill-btn.active{background:var(--surface-tint);border-color:#c5bcff;color:var(--primary)}.ratio-rect-icon{display:inline-block;background:currentColor;border-radius:2px;opacity:.75}.send-circle-btn{width:36px;height:36px;border-radius:50%;border:none;background:var(--primary-gradient);color:#fff;display:grid;place-items:center;cursor:pointer;box-shadow:0 4px 14px #5e4ef559;transition:transform .14s,opacity .14s}.send-circle-btn:hover:not(:disabled){transform:translateY(-1px)}.send-circle-btn:disabled{opacity:.5;cursor:not-allowed}.floating-popover{position:absolute;top:calc(100% + 10px);right:0;width:336px;background:var(--surface);border:1px solid var(--border);border-radius:16px;box-shadow:var(--shadow-popover);padding:16px;z-index:55;display:flex;flex-direction:column;gap:12px}.floating-popover.left-aligned{left:0;right:auto;width:340px}.popover-head{display:flex;align-items:baseline;justify-content:space-between;gap:8px}.popover-title{font-size:14px;font-weight:700;color:var(--ink)}.popover-sub{font-size:12px;color:var(--ink-muted)}.ratio-popover-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.ratio-tile{border:1px solid var(--border);background:#fff;border-radius:12px;padding:10px 6px 8px;display:flex;flex-direction:column;align-items:center;gap:6px;cursor:pointer;transition:all .14s}.ratio-tile:hover{border-color:#b7afff}.ratio-tile.active{border-color:var(--primary);background:var(--surface-tint);color:var(--primary)}.ratio-shape-box{height:26px;display:grid;place-items:center}.ratio-shape{background:#7d8296;border-radius:3px}.ratio-tile.active .ratio-shape{background:var(--primary)}.popover-quota-box{background:#f6f7fb;border-radius:10px;padding:10px 12px;display:flex;flex-direction:column;gap:5px;font-size:12px}.popover-quota-row{display:flex;align-items:center;justify-content:space-between;color:var(--ink-secondary)}.popover-quota-val{font-weight:700;color:var(--primary)}.popover-quota-note{font-size:11.5px;color:var(--ink-muted);margin-top:2px}.showcase-layout{width:100%;max-width:1040px;margin:0 auto;display:grid;grid-template-columns:164px minmax(0,1fr);gap:20px;align-items:start}.category-nav-card{position:sticky;top:24px;background:var(--surface);border:1px solid var(--border);border-radius:16px;padding:8px;box-shadow:var(--shadow-sm);display:flex;flex-direction:column;gap:4px}.category-btn{width:100%;border:none;background:transparent;padding:11px 14px;border-radius:11px;font-size:13.5px;font-weight:600;color:var(--ink-secondary);cursor:pointer;display:flex;align-items:center;gap:9px;text-align:left;transition:all .15s ease}.category-btn:hover{background:var(--surface-subtle);color:var(--ink)}.category-btn.active{background:var(--primary-gradient);color:#fff;box-shadow:0 6px 16px #5e4ef547}.case-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.case-card{background:var(--surface);border:1px solid var(--border);border-radius:16px;overflow:hidden;box-shadow:var(--shadow-sm);display:flex;flex-direction:column;transition:transform .18s ease,box-shadow .18s ease}.case-card:hover{transform:translateY(-2px);box-shadow:var(--shadow-md)}.case-art-wrap{position:relative;width:100%;aspect-ratio:16 / 10;background:#f5f6fa;border-bottom:1px solid var(--border);cursor:zoom-in;overflow:hidden}.case-body{padding:14px 16px 15px;display:flex;flex-direction:column;gap:7px}.case-title-row{display:flex;align-items:center;justify-content:space-between;gap:8px}.case-title-left{display:flex;align-items:baseline;gap:8px;min-width:0}.case-title{font-size:15px;font-weight:750;color:var(--ink)}.case-model-name{font-size:12px;color:var(--ink-muted)}.case-req-tag{font-size:11.5px;font-weight:600;padding:2px 8px;border-radius:6px;background:var(--surface-tint);color:var(--primary);flex-shrink:0}.case-desc{font-size:12.5px;color:var(--ink-muted);display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden;margin:0}.case-try-btn{align-self:flex-start;border:none;background:transparent;padding:2px 0 0;font-size:13px;font-weight:650;color:var(--primary);cursor:pointer;display:inline-flex;align-items:center;gap:4px}.case-try-btn:hover{text-decoration:underline}.active-stage-card{width:100%;max-width:1040px;margin:0 auto 26px;background:var(--surface);border:1px solid #d5d0ff;border-radius:20px;box-shadow:var(--shadow-md);padding:20px}.stage-split{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(260px,.85fr);gap:20px;align-items:start}.stage-head{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px;margin-bottom:14px}.stage-viewport{position:relative;width:100%;aspect-ratio:1 / 1;max-height:460px;border-radius:14px;border:1px solid var(--border);background:repeating-conic-gradient(#eef0f8,#eef0f8 25%,#f8f9fd 0%,#f8f9fd 50%) 50% / 20px 20px;overflow:hidden;display:grid;place-items:center;-webkit-user-select:none;user-select:none;touch-action:none}.stage-img{width:100%;height:100%;object-fit:contain;display:block}.compare-before{position:absolute;top:0;right:0;bottom:0;left:0;overflow:hidden;background:#f2f4fa}.compare-label{position:absolute;top:12px;padding:3px 9px;border-radius:999px;font-size:12px;font-weight:600;z-index:12}.compare-label.before{left:12px;background:#ffffffeb;border:1px solid var(--border);color:var(--ink)}.compare-label.after{right:12px;background:var(--primary);color:#fff}.compare-line{position:absolute;top:0;bottom:0;width:2px;background:var(--primary);z-index:15;cursor:ew-resize}.compare-knob{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:34px;height:34px;border-radius:50%;background:var(--primary);color:#fff;border:2px solid #fff;display:grid;place-items:center;box-shadow:0 4px 16px #00000040}.compare-hint{position:absolute;bottom:12px;left:50%;transform:translate(-50%);padding:4px 12px;border-radius:999px;background:#171821cc;color:#fff;font-size:12px;white-space:nowrap;pointer-events:none;z-index:16}.stage-overlay{position:absolute;top:0;right:0;bottom:0;left:0;background:#f8f9fee6;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;text-align:center;padding:24px;z-index:20}.ant-lightbox-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:75;background:#0f111a9e;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);display:flex;flex-direction:column;align-items:center;justify-content:center;padding:24px}.ant-lightbox-close{position:fixed;top:22px;right:26px;width:40px;height:40px;border-radius:50%;border:none;background:#ffffff38;color:#fff;display:grid;place-items:center;cursor:pointer;z-index:80}.ant-lightbox-close:hover{background:#ffffff57}.ant-lightbox-content{max-width:860px;width:100%;max-height:78vh;background:#fff;border-radius:16px;padding:22px;box-shadow:var(--shadow-modal);overflow:auto;transition:transform .2s ease}.ant-lightbox-toolbar{position:fixed;bottom:26px;left:50%;transform:translate(-50%);background:#20222ec7;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border-radius:999px;padding:8px 18px;display:flex;align-items:center;gap:16px;color:#fff;z-index:80;box-shadow:0 8px 28px #00000052}.ant-toolbar-btn{border:none;background:transparent;color:#ffffffdb;display:grid;place-items:center;cursor:pointer;padding:4px}.ant-toolbar-btn:hover{color:#fff}.btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;border-radius:10px;border:1px solid var(--border);background:var(--surface);color:var(--ink);font-size:13px;font-weight:550;padding:8px 14px;cursor:pointer;transition:all .15s ease;white-space:nowrap}.btn:hover:not(:disabled){border-color:var(--primary);color:var(--primary)}.btn:disabled{opacity:.5;cursor:not-allowed}.btn-primary,.btn.btn-primary{background:var(--primary-gradient);border-color:var(--primary);color:#fff;font-weight:600}.btn-primary:hover:not(:disabled),.btn.btn-primary:hover:not(:disabled){opacity:.94;color:#fff}.btn-soft{background:var(--surface-tint);border-color:#d6cfff;color:var(--primary)}.btn-soft:hover:not(:disabled){background:#e4dfff;border-color:var(--primary)}.btn-sm{padding:5px 10px;font-size:12px;border-radius:8px}.btn-lg{padding:11px 18px;font-size:14px;border-radius:12px}.btn-block{width:100%}.badge{display:inline-flex;align-items:center;gap:4px;padding:2px 8px;border-radius:999px;font-size:12px;font-weight:600;background:var(--surface-subtle);color:var(--ink-secondary);border:1px solid var(--border)}.badge-success{background:var(--success-bg);color:var(--success);border-color:#bce8d7}.badge-warning{background:var(--warning-bg);color:var(--warning);border-color:#f7d9ab}.badge-danger{background:var(--danger-bg);color:var(--danger);border-color:#f2c0bc}.badge-primary{background:var(--surface-tint);color:var(--primary);border-color:#d5ceff}.card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-lg);box-shadow:var(--shadow-sm)}.card-pad{padding:18px}.section-title{margin:0;font-size:15px;font-weight:700;letter-spacing:-.01em}.section-sub{margin:4px 0 0;font-size:12.5px;color:var(--ink-muted)}.field-label{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:12.5px;font-weight:650;color:var(--ink);margin-bottom:8px}.field-hint{font-weight:450;font-size:12px;color:var(--ink-muted)}.input,.textarea{width:100%;border:1px solid var(--border-strong);border-radius:10px;background:var(--surface);padding:9px 12px;font-size:13.5px;color:var(--ink);transition:border-color .15s,box-shadow .15s}.input:focus,.textarea:focus{outline:none;border-color:var(--primary);box-shadow:0 0 0 3px var(--primary-soft)}.chip-wrap{display:flex;flex-wrap:wrap;gap:7px}.chip{border:1px solid var(--border);background:var(--surface);color:var(--ink-secondary);border-radius:999px;padding:5px 11px;font-size:12.5px;font-weight:500;cursor:pointer;transition:all .14s ease}.chip:hover{border-color:var(--primary);color:var(--primary)}.chip.active{background:var(--primary);border-color:var(--primary);color:#fff;font-weight:600}.usage-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.usage-card{text-align:left;border:1px solid var(--border);background:var(--surface-subtle);border-radius:12px;padding:10px 11px;cursor:pointer;transition:all .15s ease}.usage-card.active{background:var(--surface-tint);border-color:var(--primary)}.usage-card-top{display:flex;align-items:center;justify-content:space-between;gap:6px;font-size:13px;font-weight:650}.usage-check{width:18px;height:18px;border-radius:50%;border:1px solid var(--border-strong);display:grid;place-items:center;font-size:11px;flex-shrink:0}.usage-card.active .usage-check{background:var(--primary);border-color:var(--primary);color:#fff}.usage-card-desc{margin-top:3px;font-size:11.5px;color:var(--ink-muted)}.filmstrip{display:grid;grid-template-columns:repeat(auto-fill,minmax(78px,1fr));gap:8px;margin-top:10px}.film-item{border:1px solid var(--border);background:var(--surface-subtle);border-radius:10px;padding:5px;cursor:pointer;text-align:center;transition:all .14s ease}.film-item.active{border-color:var(--primary);box-shadow:0 0 0 2px var(--primary-soft);background:var(--surface-tint)}.film-thumb{width:100%;aspect-ratio:1 / 1;border-radius:6px;background:#eceff8;display:grid;place-items:center;overflow:hidden;color:var(--ink-muted);font-size:11px}.film-thumb img{width:100%;height:100%;object-fit:cover;display:block}.film-name{margin-top:4px;font-size:11.5px;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.spinner{animation:spin 1.1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.auth-page{min-height:100vh;display:flex;flex-direction:column;background:var(--bg-gradient)}.topbar{height:60px;background:#ffffffe0;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);border-bottom:1px solid var(--border);padding:0 24px;display:flex;align-items:center;justify-content:space-between;gap:16px}.brand-wrap{display:flex;align-items:center;gap:10px}.auth-hero{flex:1;max-width:1220px;width:100%;margin:0 auto;padding:36px 20px 52px;display:grid;grid-template-columns:minmax(0,1.2fr) minmax(340px,430px);gap:36px;align-items:center}.hero-eyebrow{display:inline-flex;align-items:center;gap:6px;padding:5px 12px;border-radius:999px;background:var(--surface-tint);color:var(--primary);font-size:12.5px;font-weight:650;margin-bottom:16px}.hero-title{margin:0;font-size:clamp(28px,3.6vw,42px);line-height:1.18;font-weight:800;letter-spacing:-.03em}.hero-desc{margin:14px 0 24px;font-size:15px;color:var(--ink-secondary);max-width:560px}.hero-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-bottom:20px}.hero-step{background:var(--surface);border:1px solid var(--border);border-radius:12px;padding:12px;display:flex;align-items:flex-start;gap:9px}.hero-step-num{width:22px;height:22px;border-radius:50%;background:var(--primary);color:#fff;font-size:12px;font-weight:700;display:grid;place-items:center;flex-shrink:0}.hero-pricing-block{margin-top:2px}.hero-sku-strip{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.hero-sku-card{background:var(--surface);border:1px solid var(--border);border-radius:13px;padding:13px 12px;display:flex;flex-direction:column;justify-content:space-between;transition:border-color .14s ease,box-shadow .14s ease}.hero-sku-card.featured{border-color:var(--primary);background:linear-gradient(180deg,#f6f4ff,#fff);box-shadow:0 8px 20px #6353f31f}.hero-sku-head{display:flex;align-items:center;justify-content:space-between;gap:4px}.hero-sku-name{font-size:12.5px;font-weight:700;color:var(--ink)}.hero-sku-card.featured .hero-sku-name{color:var(--primary)}.hero-sku-tag{font-size:10.5px;padding:1px 6px;white-space:nowrap}.hero-sku-main{display:flex;align-items:baseline;gap:2px;margin:8px 0 3px}.hero-sku-price{font-size:22px;font-weight:800;letter-spacing:-.02em;color:var(--ink)}.hero-sku-card.featured .hero-sku-price{color:var(--primary)}.hero-sku-unit{font-size:11.5px;font-weight:600;color:var(--ink-muted)}.hero-sku-sub{font-size:11.5px;font-weight:600;color:var(--ink-secondary)}.hero-sku-foot{font-size:11px;color:var(--ink-muted);margin-top:4px}.auth-card{padding:26px}.auth-card-head{margin-bottom:16px}.auth-card-title{font-size:18px;font-weight:800;color:var(--ink);letter-spacing:-.01em}.auth-card-sub{margin-top:4px;font-size:12.5px;color:var(--ink-muted)}.auth-trust-note{margin-top:16px;display:flex;align-items:center;justify-content:center;gap:6px;font-size:12px;color:var(--ink-muted)}.auth-tabs{display:grid;grid-template-columns:1fr 1fr;gap:4px;background:var(--surface-subtle);padding:4px;border-radius:11px;margin-bottom:20px}.auth-tab{border:none;background:transparent;padding:9px;border-radius:8px;font-size:13.5px;font-weight:600;color:var(--ink-secondary);cursor:pointer}.auth-tab.active{background:var(--surface);color:var(--primary);box-shadow:var(--shadow-sm)}.gallery-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:16px}.gallery-card{overflow:hidden;display:flex;flex-direction:column}.gallery-media{position:relative;aspect-ratio:1 / 1;background:var(--surface-subtle);border-bottom:1px solid var(--border);overflow:hidden;cursor:zoom-in}.gallery-media img{width:100%;height:100%;object-fit:cover;display:block}.gallery-zoom-hint{position:absolute;right:10px;bottom:10px;padding:3px 8px;border-radius:999px;background:#171821b8;color:#fff;font-size:11px;opacity:0;transition:opacity .15s ease}.gallery-media:hover .gallery-zoom-hint{opacity:1}.gallery-body{padding:12px;display:flex;flex-direction:column;gap:10px}.sku-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.sku-card{padding:20px;display:flex;flex-direction:column;justify-content:space-between;gap:16px}.sku-card.featured{border-color:var(--primary);box-shadow:0 0 0 1px var(--primary),var(--shadow-md)}.sku-price{font-size:30px;font-weight:800;letter-spacing:-.03em}.stat-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.stat-box{padding:15px;border-radius:14px;border:1px solid var(--border);background:var(--surface)}.stat-value{font-size:24px;font-weight:800;margin-top:4px}.two-col{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(300px,.9fr);gap:16px;align-items:start}.data-table{width:100%;border-collapse:collapse;font-size:13px}.data-table th,.data-table td{padding:10px 8px;border-bottom:1px solid var(--border);text-align:left}.data-table th{font-size:12px;color:var(--ink-muted);font-weight:600}.data-table .num{text-align:right}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:70;background:#0f12228f;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);display:grid;place-items:center;padding:16px}.modal-card{width:100%;max-width:440px;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-xl);box-shadow:var(--shadow-modal);padding:22px;display:flex;flex-direction:column;gap:16px}.lightbox-card{width:100%;max-width:780px;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-xl);box-shadow:var(--shadow-modal);overflow:hidden;display:flex;flex-direction:column}.lightbox-stage{background:#f0f2fa;display:grid;place-items:center;padding:16px;max-height:70vh}.lightbox-stage img{max-width:100%;max-height:64vh;object-fit:contain;border-radius:10px;display:block}.qr-box{display:flex;flex-direction:column;align-items:center;gap:10px;padding:18px;border-radius:14px;background:var(--surface-subtle);border:1px solid var(--border)}.toast{position:fixed;right:20px;bottom:20px;z-index:90;max-width:420px;background:var(--ink);color:#fff;padding:11px 16px;border-radius:12px;font-size:13px;font-weight:500;box-shadow:var(--shadow-modal);display:flex;align-items:center;gap:8px}.toast.error{background:var(--danger)}.alert-box{padding:10px 12px;border-radius:10px;font-size:12.5px;border:1px solid var(--border);background:var(--surface-subtle);color:var(--ink-secondary)}.alert-box.error{background:var(--danger-bg);border-color:#f2c0bc;color:var(--danger)}.alert-box.success{background:var(--success-bg);border-color:#bce8d7;color:var(--success)}.alert-box.warning{background:var(--warning-bg);border-color:#f7d9ab;color:var(--warning)}.paperclip-wrap{position:relative;display:inline-flex;align-items:center}.dark-tooltip{position:absolute;bottom:calc(100% + 9px);left:50%;transform:translate(-50%);background:#23252c;color:#fff;font-size:12px;font-weight:500;padding:5px 10px;border-radius:7px;white-space:nowrap;box-shadow:0 6px 16px #0f121e38;pointer-events:none;z-index:95}.dark-tooltip:after{content:"";position:absolute;top:100%;left:50%;transform:translate(-50%);border-width:5px;border-style:solid;border-color:#23252c transparent transparent transparent}.attach-popover-modal{position:absolute;bottom:calc(100% + 14px);left:0;width:556px;height:368px;background:#fff;border:1px solid #e9ebf3;border-radius:16px;box-shadow:0 18px 48px #14183024,0 3px 10px #1418300d;display:flex;overflow:hidden;z-index:90}.chat-home .attach-popover-modal{top:calc(100% + 12px);bottom:auto;width:min(556px,calc(100vw - 48px))}.attach-popover-nav{width:136px;flex-shrink:0;border-right:1px solid #eff1f7;padding:18px 10px;display:flex;flex-direction:column;gap:6px;background:#fff}.attach-nav-btn{width:100%;display:flex;align-items:center;gap:9px;padding:10px 12px;border-radius:10px;border:none;outline:none;background:transparent;color:#262936;font-size:13px;font-weight:500;cursor:pointer;text-align:left}.attach-nav-btn:hover{background:#f5f6fb}.attach-nav-btn.active{background:#f1effe;color:#6353f3;font-weight:650}.attach-popover-body{flex:1;position:relative;padding:22px 26px;display:flex;flex-direction:column;background:#fff}.attach-close-btn{position:absolute;top:12px;right:12px;width:28px;height:28px;border-radius:8px;border:none;background:transparent;color:#7c8398;display:grid;place-items:center;cursor:pointer}.attach-close-btn:hover{background:#f3f5fa;color:#1f2330}.attach-pane-center{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px}.attach-cloud-icon{color:#2f3342;display:grid;place-items:center}.attach-helper-text{font-size:12.5px;color:#8f96a8}.attach-primary-btn{margin-top:2px;border:none;border-radius:8px;background:#6153e8;color:#fff;font-size:13.5px;font-weight:600;padding:8px 38px;cursor:pointer;transition:background .12s ease,transform 80ms ease}.attach-primary-btn:hover{background:#5344de}.attach-pane-recent{flex:1;display:flex;flex-direction:column;padding-top:10px}.attach-recent-grid{display:grid;grid-template-columns:repeat(3,96px);gap:12px}.attach-recent-thumb{position:relative;width:96px;height:96px;border-radius:6px;border:1px solid #e6e9f2;overflow:hidden;padding:0;background:#f5f6fb;cursor:pointer;transition:transform .12s ease,border-color .12s ease,box-shadow .12s ease}.attach-recent-thumb:hover{border-color:#6353f3;box-shadow:0 6px 16px #6353f32e;transform:translateY(-1px)}.attach-recent-thumb img{width:100%;height:100%;object-fit:cover;display:block}.attach-thumb-loading{position:absolute;top:0;right:0;bottom:0;left:0;background:#ffffffbf;display:grid;place-items:center;color:#6353f3}.attach-retention-note{margin-top:38px;text-align:center;font-size:12px;color:#a6adbe}.attach-pane-search.active{flex:1;display:flex;flex-direction:column;gap:14px;padding-top:12px}.attach-search-box{width:100%;max-width:340px;height:38px;border-radius:8px;border:1px solid #e2e5ef;background:#fff;padding:0 12px;display:flex;align-items:center;gap:8px}.attach-search-box:focus-within{border-color:#6353f3;box-shadow:0 0 0 3px #6353f31a}.attach-search-box input{flex:1;border:none;outline:none;font-size:13px;color:var(--ink);background:transparent}.attach-search-results{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;overflow-y:auto;max-height:245px}.attach-sample-card{display:flex;align-items:center;gap:10px;padding:8px;border-radius:10px;border:1px solid #e6e9f2;background:#fafbfe;cursor:pointer;text-align:left}.attach-sample-card:hover{border-color:#6353f3;background:#f3f1ff}.attach-sample-thumb{width:46px;height:46px;border-radius:6px;overflow:hidden;flex-shrink:0}.attach-sample-meta{min-width:0}.attach-sample-title{font-size:12px;font-weight:650;color:var(--ink);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.attach-sample-sub{font-size:11px;color:var(--ink-muted);margin-top:2px}.attach-url-row{width:100%;max-width:348px;display:flex;align-items:center;gap:8px}.attach-url-input-wrap{flex:1;height:38px;border-radius:8px;border:1px solid #e2e5ef;background:#fff;padding:0 12px;display:flex;align-items:center;gap:8px}.attach-url-input-wrap:focus-within{border-color:#6353f3}.attach-url-input-wrap input{flex:1;border:none;outline:none;font-size:13px;color:var(--ink);background:transparent}.attach-parse-btn{height:38px;padding:0 16px;border-radius:8px;border:1px solid #e2e5ef;background:#fff;color:#2b2f3c;font-size:13px;font-weight:500;cursor:pointer;flex-shrink:0}.attach-parse-btn:hover{border-color:#6353f3;color:#6353f3}.attach-pane-library{flex:1;display:flex;flex-direction:column}.attach-library-header{font-size:13px;font-weight:600;color:#6353f3;margin-bottom:14px}.attach-library-empty{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px}.attach-library-empty-text{font-size:12.5px;color:#969db0}.ratio-ten-popover,.ratio-three-popover{top:auto;bottom:calc(100% + 12px);right:0;width:356px;padding:16px}.chat-home .ratio-ten-popover,.chat-home .ratio-three-popover{top:calc(100% + 12px);bottom:auto}.ratio-three-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-bottom:12px}.compact-session-row{position:relative}.ratio-ten-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;margin-bottom:12px}.ratio-ten-tile{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;padding:10px 4px 8px;border-radius:10px;border:1.5px solid #eceef5;outline:none;background:#fff;cursor:pointer;transition:all .12s ease}.ratio-ten-tile:hover{border-color:#c5bfff;background:#faf9ff}.ratio-ten-tile:disabled{cursor:not-allowed;opacity:.48}@media(max-width:620px){.attach-popover-modal,.chat-home .attach-popover-modal,.chat-home .ratio-ten-popover{position:fixed;inset:auto 12px 12px;width:auto;max-height:calc(100dvh - 32px)}.attach-popover-nav{width:116px}}.ratio-ten-tile.active{border-color:#7c6cff;background:#f4f2ff;color:#6353f3}.ratio-ten-tile .ratio-shape{border:none;background:#6f7380;border-radius:2.5px}.ratio-ten-tile.active .ratio-shape{background:#6857f6}.ratio-ten-label{font-size:12px;font-weight:600;color:#2f3341}.ratio-ten-tile.active .ratio-ten-label{color:#6353f3}.custom-ratio-box{background:#f6f7fb;border-radius:10px;padding:10px 12px;margin-bottom:12px}.custom-ratio-labels{display:grid;grid-template-columns:1fr 1fr 56px;font-size:11.5px;color:#7b8296;margin-bottom:4px}.custom-ratio-inputs{display:flex;align-items:center;gap:6px}.custom-ratio-inputs input{width:100%;height:32px;border-radius:7px;border:1px solid #e1e4ee;background:#fff;padding:0 10px;font-size:12.5px;color:var(--ink);outline:none}.custom-ratio-inputs input:focus{border-color:#6353f3}.custom-ratio-mul{font-size:12px;color:#8f96a8}.custom-ratio-apply{height:32px;padding:0 14px;border-radius:7px;border:none;background:#6353f3;color:#fff;font-size:12.5px;font-weight:600;cursor:pointer;flex-shrink:0}.custom-ratio-hint{margin-top:6px;font-size:11px;color:#959cb0}@media(max-width:1100px){.showcase-layout{grid-template-columns:1fr}.category-nav-card{position:static;flex-direction:row;overflow-x:auto}.category-btn{width:auto;flex-shrink:0}.stage-split{grid-template-columns:1fr}.sku-grid,.stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:860px){.pc-sidebar{display:none}.mobile-topbar,.mobile-nav{display:flex}.case-grid,.two-col,.auth-hero{grid-template-columns:1fr}.hero-sku-strip{grid-template-columns:repeat(2,minmax(0,1fr))}.hero-steps{grid-template-columns:1fr}.main-wrap{padding:14px 12px 48px}.floating-popover,.floating-popover.left-aligned{position:fixed;left:12px;right:12px;top:auto;bottom:16px;width:auto}.toast{left:14px;right:14px;bottom:14px;max-width:none;justify-content:center;text-align:center}}@media(max-width:520px){.sku-grid{grid-template-columns:1fr}}
