:root{--bg:#0f0f0e;--panel:#1b1b19;--panel-top:#24231f;--tile:#121211;--line:#33332f;--text:#f2f1ec;--muted:#a3a198;--white:#f4f3ef;--ink:#141413;--red:#c42f1f;--green:#62d58f;--amber:#e8b95c;--rail:80px}*{box-sizing:border-box}html,body,#root{min-height:100%}body{color:var(--text);background-color:var(--bg);background-image:radial-gradient(70% 45% at 85% 105%,#962c166b,#0000 70%),radial-gradient(#ffffff09 1px,#0000 1px);background-size:auto,4px 4px;background-attachment:fixed;margin:0;font-family:Segoe UI,PingFang SC,Microsoft YaHei,Noto Sans CJK SC,sans-serif}h1,h2,p{margin:0}:focus-visible{outline:2px solid var(--white);outline-offset:2px}.shell{min-height:100vh;padding-left:var(--rail)}.rail{z-index:10;width:var(--rail);background:#0b0b0a;border-right:1px solid #1d1d1b;flex-direction:column;align-items:center;gap:2px;padding:20px 8px 14px;display:flex;position:fixed;inset:0 auto 0 0}.rail-logo{width:40px;height:40px;color:var(--white);place-items:center;margin-bottom:14px;font-size:24px;display:grid}.rail-logo:after{content:"";background:#262624;width:28px;height:1px;position:absolute;top:67px}.rail-item{width:64px;color:var(--muted);cursor:pointer;font:inherit;letter-spacing:.06em;white-space:nowrap;background:0 0;border:0;flex-direction:column;align-items:center;gap:5px;padding:7px 0;font-size:11px;font-weight:400;transition:color .15s;display:flex;position:relative}.rail-icon{border-radius:999px;place-items:center;width:48px;height:32px;transition:background-color .15s,color .15s;display:grid;position:relative}.rail-item .anticon{font-size:18px}.rail-item:hover{color:var(--text)}.rail-item:hover .rail-icon{background:#1f1f1d}.rail-item.active{color:var(--text)}.rail-item.active .rail-icon{background:var(--white);color:var(--ink)}.rail-item.active .user-avatar{background:var(--ink);color:var(--white)}.rail-item:focus-visible{outline:none}.rail-item:focus-visible .rail-icon{outline:2px solid var(--white);outline-offset:2px}.rail-badge{background:var(--green);min-width:18px;height:18px;color:var(--ink);text-align:center;border-radius:999px;padding:0 5px;font-size:11px;font-weight:800;line-height:18px;position:absolute;top:-5px;right:-3px;box-shadow:0 0 0 2px #0b0b0a}.rail-end{margin-top:auto}.user-avatar{background:var(--white);width:26px;height:26px;color:var(--ink);border-radius:50%;flex:none;place-items:center;font-size:13px;font-weight:800;display:grid}.user-menu{min-width:200px}.user-menu .ant-dropdown-menu-item-group-title{padding:6px 8px}.user-menu-identity{align-items:center;gap:10px;display:flex}.user-menu-identity strong,.user-menu-identity small{display:block}.user-menu-identity strong{color:var(--text);font-size:14px}.user-menu-identity small{color:var(--muted);font-size:12px}.content{max-width:1500px;padding:24px 24px 56px}.page-head{flex-wrap:wrap;align-items:center;gap:16px;min-height:48px;margin-bottom:18px;display:flex}.page-head h1{letter-spacing:.02em;font-size:28px;font-weight:800}.page-head-end{margin-left:auto}.ant-btn{letter-spacing:.02em;transition:background-color .15s,border-color .15s,color .15s,transform 80ms}.ant-btn-primary{font-weight:600}.ant-btn:not(:disabled):active{transform:scale(.97)}.page-hint{max-width:70ch;color:var(--muted);margin-bottom:18px;font-size:14px;line-height:1.6}.pill-status{background:var(--white);color:var(--ink);border-radius:12px;align-items:center;gap:10px;padding:9px 18px;font-size:15px;font-weight:700;display:inline-flex}.panel{border:1px solid var(--line);background:linear-gradient(160deg, var(--panel-top), var(--panel) 45%);border-radius:14px}.panel-title{margin-bottom:18px}.panel-title h2{font-size:17px;font-weight:800}.panel-title p{color:var(--muted);margin-top:2px;font-size:13px}.usage-meters{grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:16px;margin-bottom:18px;display:grid}.usage-meter{padding:18px 20px}.usage-meter small{color:var(--muted);font-size:13px;display:block}.usage-meter strong{font-size:30px;font-weight:800}.balance-notice{border:1px solid var(--amber);max-width:70ch;color:var(--text);border-radius:10px;margin:0 0 14px;padding:10px 14px;font-size:14px}.chat-main .balance-notice{max-width:none;margin:0 var(--chat-gutter) 10px}.balance-notice a,.set-hint a,.swap-submit a,.ant-popconfirm a{color:var(--text);text-decoration:underline}.code-line{font-family:ui-monospace,Consolas,monospace;font-size:15px;line-height:1.9;display:block}.billing-month{flex-wrap:wrap;align-items:center;gap:10px 14px;margin:22px 0 10px;display:flex}.billing-month .billing-title{margin:0}.billing-sum{min-width:200px;color:var(--muted);flex:1;font-size:14px}.billing-what{align-items:center;gap:10px;display:flex}.billing-what .ant-image-img{object-fit:cover;border-radius:4px}.refund-requests{gap:10px;margin:0 0 6px;padding:0;list-style:none;display:grid}.refund-requests li{flex-wrap:wrap;align-items:center;gap:12px;padding:12px 14px;display:flex}.refund-info{flex:1;min-width:200px}.refund-requests strong,.refund-requests small{display:block}.refund-requests small{color:var(--muted);font-size:13px}.refund-actions{gap:8px;display:flex}.price-log{color:var(--muted);margin:0;padding:0;font-size:14px;line-height:1.9;list-style:none}.chat-confirm{margin:0 var(--chat-gutter) 10px;border:1px solid var(--green);border-radius:10px;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px 14px;padding:10px 14px;font-size:14px;display:flex}.chat-confirm span{flex:1;min-width:220px}.chat-cost{margin:0 var(--chat-gutter) 8px;color:var(--muted);font-size:12px}.billing-title{margin:22px 0 10px;font-size:16px}.billing-note{color:var(--muted);margin:8px 2px 0;font-size:13px}.price-fields{grid-template-columns:1fr 1fr;gap:0 16px;display:grid}.usage-meter strong span{color:var(--muted);font-size:15px;font-weight:500}.image-field{flex-direction:column;gap:4px;width:124px;display:flex}.image-field-upload{border:1px dashed var(--line);background:var(--tile);width:124px;height:124px;color:var(--muted);cursor:pointer;font:inherit;border-radius:10px;flex-direction:column;justify-content:center;align-items:center;gap:6px;font-size:13px;display:flex}.image-field-upload small{font-size:11px}.image-field.dragging .image-field-upload,.image-field-upload:hover{border-color:var(--muted);color:var(--text)}.image-field-preview{border:1px solid var(--line);background:var(--tile);border-radius:10px;flex:none;width:124px;height:124px;position:relative;overflow:hidden}.image-field-preview img{object-fit:contain;width:100%;height:100%;display:block}.image-field-clear{position:absolute;top:6px;right:6px}.product-images{flex-wrap:wrap;gap:0 24px;display:flex}.product-images .ant-form-item{margin-bottom:8px}.product-images-hint{color:var(--muted);margin:0 0 16px;font-size:13px}.empty a,.ant-form-item-extra a{color:var(--text);text-decoration:underline}.ant-checkbox-checked .ant-checkbox-inner:after{border-color:var(--ink)!important}.section-title{color:var(--muted);margin:28px 0 14px;font-size:14px;font-weight:600}.empty{color:var(--muted);font-size:14px}.result-grid{grid-template-columns:repeat(auto-fill,minmax(min(100%,260px),1fr));gap:16px;display:grid}.result-grid.compact{grid-template-columns:repeat(auto-fill,minmax(min(100%,220px),1fr))}.result-card{flex-direction:column;display:flex;overflow:hidden}.result-card.picked{border-color:var(--white)}.result-card.rejected .result-frame>.ant-image{opacity:.35;filter:grayscale()}.result-card.live{border-color:var(--red);box-shadow:0 0 22px #c42f1f47}.result-frame{background:#e9e7e1;max-height:560px;position:relative;overflow:hidden}.result-frame>.ant-image,.result-frame>.ant-image .ant-image-img,.result-video,.result-empty{width:100%;height:100%;display:block}.result-frame>.ant-image .ant-image-img{object-fit:contain}.result-video{background:#0b0b0a}.result-empty{background:var(--tile);text-align:center;place-items:center;padding:16px;font-size:13px;line-height:1.6;display:grid}.result-pick,.result-status,.result-inputs{z-index:2;position:absolute}.result-pick{background:#0f0f0e8c;border-radius:8px;padding:4px;top:10px;left:10px}.result-status{color:var(--text);background:#0f0f0ebf;border-radius:999px;padding:3px 12px;font-size:12px;font-weight:700;top:10px;right:10px}.result-status.warn{color:var(--amber)}.result-inputs{gap:6px;display:flex;bottom:10px;left:10px}.result-inputs .ant-image-img{border:2px solid var(--white);object-fit:cover;background:var(--white);border-radius:8px;width:44px;height:44px}.result-card>.bar{border-radius:0;height:3px;margin-top:0}.result-body{flex-direction:column;flex:1;min-width:0;padding:12px 14px;display:flex}.result-title,.result-meta,.result-note{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.result-title{font-size:15px;font-weight:800}.result-meta,.result-note{color:var(--muted);margin-top:2px;font-size:12px}.result-foot{flex-wrap:wrap;align-items:center;gap:6px 8px;margin-top:auto;padding-top:10px;display:flex}.result-time{min-width:0;color:var(--muted);flex:120px;font-size:12px}.result-actions{gap:4px;margin-left:auto;display:flex}.dot{background:#6c6b64;border-radius:50%;flex:none;width:8px;height:8px}.dot.running,.dot.succeeded{background:var(--green)}.dot.failed{background:var(--amber)}.pill-live{background:var(--red);color:#fff;border-radius:999px;align-items:center;gap:6px;padding:3px 12px;font-size:13px;font-weight:700;display:inline-flex}.pill-live:before{content:"";background:#fff;border-radius:50%;width:6px;height:6px}.status-ok{color:var(--green);font-size:13px;font-weight:700}.status-warn{color:var(--amber);font-size:13px;font-weight:700}.status-muted{color:var(--muted);font-size:13px;font-weight:700}.swap-form{flex-direction:column;gap:14px;display:flex}.swap-images{flex-wrap:wrap;gap:16px 28px;display:flex}.swap-label{margin-bottom:8px;font-size:14px;display:block}.swap-hint{color:var(--muted);margin:0;font-size:13px}.swap-submit{flex-wrap:wrap;align-items:center;gap:12px;display:flex}.swap-submit small{color:var(--muted)}.result-state,.result-video-link,.result-grid.list .result-video{display:none}.result-grid.list .result-video-link{width:64px;height:64px;color:var(--white);background:#0b0b0a;border-radius:8px;grid-area:img;place-items:center;font-size:26px;display:grid}.result-grid.list{grid-template-columns:1fr;gap:8px}.result-grid.list .result-card{grid-template-columns:24px 64px 86px minmax(0,1fr) 80px;grid-template-areas:"pick img inputs body status";align-items:center;gap:0 14px;padding:10px 14px;display:grid}.result-grid.list .result-frame{display:contents}.result-grid.list .result-frame>.ant-image,.result-grid.list .result-video,.result-grid.list .result-empty{background:#e9e7e1;border-radius:8px;grid-area:img;width:64px;height:64px;overflow:hidden}.result-grid.list .result-empty{background:var(--tile);padding:0}.result-grid.list .result-empty>span{display:none}.result-grid.list .result-pick,.result-grid.list .result-status,.result-grid.list .result-inputs{position:static}.result-grid.list .result-pick{background:0 0;grid-area:pick;padding:0}.result-grid.list .result-inputs{grid-area:inputs}.result-grid.list .result-inputs .ant-image-img{border-width:1px;width:40px;height:40px}.result-grid.list .result-status{white-space:nowrap;background:var(--panel-top);grid-area:status;justify-self:end}.result-grid.list .result-status.pill-live{background:var(--red)}.result-grid.list .result-card>.bar{border-radius:999px;grid-area:2/1/auto/-1;margin-top:8px}.result-grid.list .result-body{grid-area:body;grid-template-columns:minmax(0,1fr) auto;gap:0 16px;padding:0;display:grid}.result-grid.list .result-body>:not(.result-foot){grid-column:1}.result-grid.list .result-state{text-overflow:ellipsis;white-space:nowrap;font-size:12px;display:block;overflow:hidden}.result-grid.list .result-state:not(.tile-error){color:var(--muted)}.result-grid.list .result-foot{flex-wrap:nowrap;grid-area:1/2/span 4;margin:0;padding:0}.result-grid.list .result-time{white-space:nowrap;flex:none}.result-grid.list .result-actions{width:104px}@media (width<=760px){.result-grid.list .result-card{grid-template-columns:24px 64px minmax(0,1fr) auto;grid-template-areas:"pick img body status";gap:0 10px}.result-grid.list .result-inputs{display:none}.result-grid.list .result-foot{display:contents}.result-grid.list .result-time{text-overflow:ellipsis;grid-column:1;margin-top:2px;overflow:hidden}.result-grid.list .result-actions{grid-area:1/2/span 6;align-self:center;width:auto}}.tile-wait{color:var(--muted)}.tile-error{color:var(--amber);overflow-wrap:anywhere}.bar{background:#2a2a27;border-radius:999px;height:6px;margin-top:14px;overflow:hidden}.bar span{border-radius:inherit;background:var(--green);height:100%;display:block}.bar.queued span,.bar.failed span{width:0}.bar.running span{width:40%;animation:1.6s ease-in-out infinite bar-slide}.bar.running.timed span{width:var(--progress);transition:width 3s linear;animation:none}@keyframes bar-slide{0%{transform:translate(-100%)}to{transform:translate(250%)}}@media (prefers-reduced-motion:reduce){.bar.running span{opacity:.5;width:100%;animation:none}}.pager{text-align:center;margin-top:24px}.page-head-actions{flex-wrap:wrap;gap:8px;display:flex}@media (width<=720px){.page-head-actions{width:100%;margin-left:0}.page-head-actions>*{flex:1 0 auto}}.quick-notes{gap:8px;margin-top:10px;display:grid}.quick-notes-row{grid-template-columns:32px 1fr;gap:6px;display:grid}.quick-notes-row>span{color:var(--muted);font-size:12px;line-height:24px}.quick-notes-row>div{flex-wrap:wrap;gap:6px;display:flex}.quick-notes-row .ant-tag{border:1px solid var(--line);border-radius:999px;margin:0}.quick-notes-row .ant-tag-checkable-checked{border-color:var(--white);background:var(--white);color:var(--ink)}.modal-hint{color:var(--muted);margin-bottom:16px;font-size:13px;line-height:1.6}.casting-grid{margin-bottom:8px}.casting-empty{aspect-ratio:3/4;width:100%;color:var(--muted);text-align:center;background:#0b0b0a;place-items:center;padding:16px;font-size:13px;line-height:1.6;display:grid}.model-card.live{border-color:var(--red);box-shadow:0 0 22px #c42f1f47}.library-filters{flex-wrap:wrap;align-items:center;gap:12px;margin-bottom:18px;display:flex}.library-filters .ant-select{width:140px}.library-filters .ant-segmented{max-width:100%}.filter-toggle{display:none}.filter-more{display:contents}@media (width<=720px){.library-filters .filter-toggle{display:inline-flex}.filter-more{display:none}.filter-more.open{display:contents}.filter-more .ant-picker{width:100%}}.library-filters .ant-segmented-group{flex-wrap:wrap}@media (width<=720px){.library-filters .ant-segmented{scrollbar-width:none;overflow-x:auto}.library-filters .ant-segmented::-webkit-scrollbar{display:none}.library-filters .ant-segmented-group{flex-wrap:nowrap}.library-filters .ant-segmented-item{flex:none}}.library-filters .ant-input-search{width:min(100%,260px)}.category-add{margin-bottom:14px}.category-list{max-height:50vh;margin:0;padding:0;list-style:none;overflow-y:auto}.category-list li{border-top:1px solid var(--line);align-items:center;gap:12px;min-height:44px;display:flex}.category-list .ant-typography{flex:1;min-width:0;margin:0;inset-inline-start:0}.category-list .status-muted{flex:none}.category-list .ant-typography-edit{color:var(--muted)}.model-grid{grid-template-columns:repeat(auto-fill,minmax(min(100%,230px),1fr));gap:18px;display:grid}.model-card{flex-direction:column;display:flex;overflow:hidden}.model-card .ant-image{width:100%;display:block}.model-card .ant-image-img{aspect-ratio:3/4;object-fit:cover;object-position:top;background:#0b0b0a;width:100%;display:block}.model-card.product-card .ant-image-img{object-fit:contain;object-position:center}.model-info{flex:1;padding:14px 16px 0}.model-info header{justify-content:space-between;align-items:center;gap:8px;display:flex}.model-info strong{text-overflow:ellipsis;white-space:nowrap;font-size:16px;font-weight:800;overflow:hidden}.model-info small{color:var(--muted);font-size:13px}.model-info p{color:var(--muted);overflow-wrap:anywhere;margin-top:6px;font-size:13px}.model-card footer{padding:14px 16px}.model-actions{justify-content:center;gap:4px;margin-top:6px;display:flex}.media-grid{grid-template-columns:repeat(auto-fill,minmax(min(100%,210px),1fr));gap:16px;display:grid}.media-card{flex-direction:column;min-width:0;padding:12px;display:flex}.media-preview{aspect-ratio:1;background:#0b0b0a;border-radius:8px;margin-bottom:10px;overflow:hidden}.media-preview .ant-image,.media-preview video{width:100%;height:100%;display:block}.media-preview .ant-image-img{object-fit:contain;width:100%;height:100%;display:block}.media-file{height:100%;color:var(--muted);flex-direction:column;justify-content:center;align-items:center;gap:8px;font-size:13px;font-weight:700;display:flex}.media-file .anticon{font-size:34px}.media-card strong{text-overflow:ellipsis;white-space:nowrap;font-size:14px;overflow:hidden}.media-card small{color:var(--muted);font-size:12px}.media-card footer{flex-wrap:wrap;align-items:center;gap:2px;margin-top:10px;display:flex}.media-card footer .ant-btn-primary{margin-right:4px}.media-upload{flex-wrap:wrap;align-items:center;gap:12px;margin-bottom:18px;display:flex}.media-upload>.ant-upload-wrapper{flex:1;min-width:min(100%,280px)}.drop-zone .ant-upload-drag,.media-upload .ant-upload-drag{border-color:var(--line);background:var(--tile);border-radius:12px}.drop-zone .ant-upload-drag .ant-upload-btn,.media-upload .ant-upload-drag .ant-upload-btn{color:var(--muted);padding:14px 16px}.media-upload label{color:var(--muted);align-items:center;gap:8px;font-size:13px;display:flex}.upload-progress{gap:10px;max-width:560px;margin:0 0 18px;padding:0;font-size:13px;list-style:none;display:grid}.upload-progress .bar{margin-top:4px}.picker-grid{grid-template-columns:repeat(auto-fill,minmax(120px,1fr));gap:12px;display:grid}.picker-item{border:1px solid var(--line);background:var(--tile);min-width:0;color:var(--muted);cursor:pointer;font:inherit;border-radius:10px;padding:6px;font-size:12px}.picker-item:hover{border-color:var(--white);color:var(--text)}.picker-item img{aspect-ratio:1;object-fit:contain;background:#0b0b0a;border-radius:6px;width:100%;display:block}.picker-item span{text-overflow:ellipsis;white-space:nowrap;margin-top:6px;display:block;overflow:hidden}.content:has(.chat){padding-bottom:24px}.chat{grid-template-columns:240px minmax(0,1fr);gap:16px;height:calc(100vh - 48px);display:grid}.chat-side{flex-direction:column;gap:12px;min-height:0;display:flex}.chat.folded{grid-template-rows:minmax(0,1fr);grid-template-columns:minmax(0,1fr)}.chat-side h1{letter-spacing:.02em;font-size:28px;font-weight:800}.chat-list{flex-direction:column;flex:1;gap:4px;min-height:0;display:flex;overflow-y:auto}.chat-day{color:var(--muted);margin:10px 12px 2px;font-size:12px;font-weight:600}.chat-day:first-child{margin-top:0}.chat-item{border-radius:10px;align-items:center;display:flex}.chat-item a{min-width:0;color:var(--muted);text-overflow:ellipsis;white-space:nowrap;flex:1;padding:9px 12px;font-size:14px;overflow:hidden}.chat-item.active,.chat-item:hover{background:#262624}.chat-item.active a,.chat-item:hover a{color:var(--text)}.chat-main{--chat-gutter:max(14px, calc((100% - 800px) / 2));flex-direction:column;min-height:0;display:flex;overflow:hidden}.chat-thread{flex-direction:column;flex:1;gap:10px;min-height:0;padding:24px max(22px,50% - 400px);display:flex;overflow-y:auto}.chat-intro{max-width:62ch;color:var(--muted);margin:auto;font-size:14px;line-height:1.8}.chat-intro h2{color:var(--text);margin-bottom:8px;font-size:20px;font-weight:800}.chat-examples{grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:10px;margin:14px 0;display:grid}.chat-examples button{border:1px solid var(--line);background:var(--tile);color:var(--muted);cursor:pointer;font:inherit;text-align:left;border-radius:12px;align-content:start;gap:2px;padding:12px 14px;font-size:13px;line-height:1.6;display:grid}.chat-examples button:hover,.chat-examples button:focus-visible{border-color:var(--muted)}.chat-examples strong{color:var(--text);font-size:14px}.chat-quick{padding:10px var(--chat-gutter) 0;border-top:1px solid var(--line);color:var(--muted);flex-wrap:wrap;align-items:center;gap:8px;font-size:13px;display:flex}.chat-quick+.chat-composer,.chat-quick+.chat-quick{border-top:0}.chat-quick+.chat-quick{padding-top:8px}.chat-message{flex-direction:column;gap:10px;max-width:min(100%,760px);display:flex}.chat-message.user{align-self:flex-end;align-items:flex-end}.chat-message.user:not(:first-child){margin-top:18px}.chat-message.assistant{align-items:flex-start}.chat-bubble{overflow-wrap:anywhere;white-space:pre-wrap;border-radius:12px;padding:10px 14px;font-size:14px;line-height:1.7}.chat-message.user .chat-bubble{background:var(--white);color:var(--ink)}.chat-message.assistant .chat-bubble{border:1px solid var(--line);background:var(--tile)}.chat-message .result-card{width:min(100%,300px)}.chat-message.wide{width:100%}.chat-message .asset-group{margin-bottom:0}.chat-message .result-grid.compact{grid-template-columns:repeat(auto-fill,minmax(min(100%,170px),1fr));gap:12px}.chat-message .result-grid .result-card{width:auto}.chat-message .model-card{width:min(100%,260px)}.chat-thinking{color:var(--muted);font-size:13px}.chat-refs{color:var(--muted);flex-wrap:wrap;justify-content:flex-end;gap:6px;font-size:12px;display:flex}.chat-composer{padding:12px var(--chat-gutter);border-top:1px solid var(--line);align-items:flex-end;gap:10px;display:flex}.chat-composer .ant-mentions{background:var(--tile);flex:1}.chat-add{flex:none}.chat-option{align-items:center;gap:10px;display:flex}.chat-option img{object-fit:cover;background:#0b0b0a;border-radius:6px;width:30px;height:30px}.table-panel{padding:6px 10px;overflow:hidden}.table-panel .ant-table,.table-panel .ant-table-container{background:0 0!important}.account-panel{max-width:440px;padding:24px 26px}.login{background:radial-gradient(60% 40% at 50% 62%,#c42f1f38,#0000 70%);place-items:center;min-height:100vh;padding:16px;display:grid;position:relative;overflow:clip}.login-grid{transform-origin:top;pointer-events:none;background-image:linear-gradient(#62d58f29 1px,#0000 1px),linear-gradient(90deg,#62d58f29 1px,#0000 1px);background-size:48px 48px;animation:6s linear infinite login-grid;position:absolute;inset:52% -50% -40%;transform:perspective(420px)rotateX(62deg);-webkit-mask-image:linear-gradient(#0000,#000 30% 60%,#0000);mask-image:linear-gradient(#0000,#000 30% 60%,#0000)}.login:after{content:"";pointer-events:none;background:linear-gradient(#0000,#62d58f0f 50%,#0000) 0 0/100% 220px no-repeat;animation:7s linear infinite login-scan;position:absolute;inset:0}@keyframes login-grid{to{background-position:0 48px,0 48px}}@keyframes login-scan{0%{background-position:0 -220px}to{background-position:0 calc(100vh + 220px)}}.login-panel{z-index:1;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:linear-gradient(160deg,#24231fdb,#1b1b19e6 45%);border-color:#62d58f47;width:min(100%,380px);padding:32px;position:relative;box-shadow:0 0 0 1px #0006,0 20px 60px #0000008c,0 0 40px #62d58f14}.login-panel:before{content:"";--c:#62d58fcc;background:linear-gradient(var(--c), var(--c)) top left / 16px 2px, linear-gradient(var(--c), var(--c)) top left / 2px 16px, linear-gradient(var(--c), var(--c)) top right / 16px 2px, linear-gradient(var(--c), var(--c)) top right / 2px 16px, linear-gradient(var(--c), var(--c)) bottom left / 16px 2px, linear-gradient(var(--c), var(--c)) bottom left / 2px 16px, linear-gradient(var(--c), var(--c)) bottom right / 16px 2px, linear-gradient(var(--c), var(--c)) bottom right / 2px 16px;pointer-events:none;background-repeat:no-repeat;position:absolute;inset:-6px}.login-head{align-items:center;gap:14px;margin-bottom:26px;display:flex}.login-logo{width:48px;height:48px;color:var(--green);background:#62d58f14;border:1px solid #62d58f66;border-radius:12px;flex:none;place-items:center;font-size:24px;display:grid;box-shadow:0 0 18px #62d58f40,inset 0 0 12px #62d58f1f}.login-title{letter-spacing:.04em;font-size:24px;font-weight:800}.login-sub{color:var(--muted);letter-spacing:.24em;margin-top:2px;font-family:Consolas,Cascadia Mono,monospace;font-size:12px}.login-foot{color:var(--muted);justify-content:center;align-items:center;gap:8px;margin-top:20px;font-size:12px;display:flex}.login-dot{background:var(--green);width:6px;height:6px;box-shadow:0 0 8px var(--green);border-radius:50%}@media (prefers-reduced-motion:reduce){.login-grid,.login:after{animation:none}}@media (width<=720px){.shell{padding-bottom:72px;padding-left:0}.rail{border-top:1px solid #1d1d1b;border-right:0;flex-direction:row;justify-content:space-around;width:auto;padding:6px 8px;inset:auto 0 0}.rail-logo{display:none}.rail-end{margin-top:0}.chat{grid-template-rows:auto minmax(0,1fr);grid-template-columns:minmax(0,1fr);gap:10px;height:calc(100vh - 120px)}.chat-list{max-height:84px}.chat-side h1{display:none}.chat-thread{padding:12px}.result-grid:not(.list),.chat-message .result-grid.compact{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.chat-composer{padding:10px}.chat-btn-label{display:none}.chat-composer{gap:8px}.chat-composer>.ant-btn{flex:none;width:36px;height:36px;padding-inline:0}.content{padding:16px 16px 32px}.rail{gap:2px;padding:6px 4px}.rail-item{letter-spacing:0;flex:1;gap:3px;width:auto;min-width:0;padding:4px 0;font-size:10px}.rail-icon{width:40px;height:28px}.media-grid,.model-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.model-info{padding:10px 10px 0}.model-card footer{padding:10px}.library-filters .ant-input-search,.library-filters .ant-select{width:100%}}.ai-kind{margin-bottom:14px}.ai-kind-head{justify-content:space-between;align-items:flex-start;gap:12px;padding:12px 10px 0;display:flex}.ai-kind-head .panel-title{margin-bottom:12px}.ai-kind-tag{margin-left:8px}.card-buttons{gap:8px;display:flex}.card-buttons>:first-child{flex:1;min-width:0}@media (width<=720px){.card-buttons{flex-wrap:wrap}.card-buttons>*{flex:1 0 100%}}.page-loading{text-align:center;padding:64px 0;display:block}.asset-group{margin-bottom:36px}.asset-head{border-bottom:1px solid var(--line);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;margin-bottom:14px;padding-bottom:12px;display:flex}.asset-actions{flex-wrap:wrap;gap:8px;display:flex}.asset-cover{object-fit:cover;border-radius:8px;flex:none;width:48px;height:48px}.asset-cover+div{flex:1;min-width:0}.asset-head strong{font-size:18px;display:block}.asset-head small{color:var(--muted);font-size:13px}.asset-details{flex-wrap:wrap;align-items:flex-start;gap:12px;display:flex}.asset-details .ant-image-img{border:1px solid var(--line);border-radius:10px;width:180px;height:auto}.detail-copy{grid-template-columns:1fr auto;align-items:start;gap:10px;display:grid}.detail-pick{grid-template-columns:repeat(auto-fill,minmax(96px,1fr));gap:8px;display:grid}.detail-pick button{border:2px solid var(--line);cursor:pointer;aspect-ratio:3/4;background:0 0;border-radius:10px;padding:0;position:relative;overflow:hidden}.detail-pick button.picked{border-color:#fff}.detail-pick img{object-fit:cover;width:100%;height:100%;display:block}.detail-pick b{color:#000;text-align:center;background:#fff;border-radius:12px;min-width:24px;height:24px;font-size:13px;line-height:24px;position:absolute;top:6px;left:6px}.detail-preview{border:1px solid var(--line);border-radius:10px;max-height:420px;overflow:auto}.detail-preview img{width:100%;display:block}@media (width<=560px){.detail-copy{grid-template-columns:1fr}}.set-form{gap:14px;padding-top:6px;display:grid}.set-products,.set-total{margin:0}.set-products{color:var(--muted);font-size:13px}.set-total strong{color:var(--green)}.product-card{position:relative}.card-pick{z-index:1;cursor:pointer;background:#0b0b0a99;border-radius:8px;padding:6px 8px;line-height:0;position:absolute;top:8px;left:8px}.pick-bar{z-index:5;border:1px solid var(--line);background:var(--ink);border-radius:999px;flex-wrap:wrap;align-items:center;gap:10px;width:fit-content;max-width:100%;margin:18px auto 0;padding:10px 12px 10px 18px;display:flex;position:sticky;bottom:16px;box-shadow:0 8px 28px #00000080}@media (width<=720px){.pick-bar{bottom:84px}}.batch-form{gap:10px;padding-top:6px;display:grid}.batch-top{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.batch-top .ant-select{min-width:150px}.batch-top small{color:var(--muted)}.batch-row{grid-template-columns:44px 1.4fr 1fr auto;align-items:center;gap:8px;display:grid}.batch-row img{object-fit:contain;background:#0b0b0a;border-radius:6px;width:44px;height:56px}.batch-error{color:var(--amber);grid-column:2/-1}.set-shots{border:1px solid var(--line);background:var(--tile);border-radius:10px;gap:6px;margin:0;padding:10px 12px 10px 32px;display:grid}.set-shots li strong{margin-right:8px;font-weight:500}.set-shots li span,.set-hint{color:var(--muted)}.set-hint{margin:0;font-size:13px}@media (width<=720px){:root input:not([type=checkbox]):not([type=radio]):not([type=file]),:root textarea,:root .ant-select,:root .ant-picker-input>input{font-size:16px}.ant-picker-panels{flex-direction:column}}
