:root{--bg:#0b1020;--panel:#121a2e;--panel-2:#18223a;--border:#23304d;--text:#e6ebf5;--sub:#8a97b3;--accent:#3b82f6}*{box-sizing:border-box}html,body,#root{background:var(--bg);height:100%;color:var(--text);margin:0;font-family:-apple-system,BlinkMacSystemFont,PingFang SC,Microsoft YaHei,Segoe UI,sans-serif}.muted{color:var(--sub);font-size:12px}.full-center{justify-content:center;align-items:center;height:100vh;display:flex}.app{min-height:100vh}.app-sider{border-right:1px solid var(--border)}.app-sider .ant-layout-sider-children{flex-direction:column;display:flex}.app-sider .ant-menu{background:0 0;flex:1;border-inline-end:none!important}.brand{white-space:nowrap;align-items:center;gap:10px;padding:18px 16px;font-size:16px;font-weight:700;display:flex;overflow:hidden}.logo-dot{background:conic-gradient(from 180deg,#3b82f6,#a855f7,#ec4899,#3b82f6);border-radius:50%;flex:none;width:28px;height:28px;box-shadow:0 0 16px #3b82f680}.sider-foot{border-top:1px solid var(--border);padding:12px 16px}.quota{color:var(--sub);white-space:nowrap;font-size:12px}.quota b{color:#60a5fa}.ant-layout-sider-collapsed .brand-text,.ant-layout-sider-collapsed .sider-foot{display:none}.app-header{border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;height:56px;padding:0 20px;line-height:56px;display:flex}.header-row{justify-content:space-between;align-items:center;width:100%;min-width:0;display:flex}.header-title{align-items:center;gap:4px;min-width:0;font-size:16px;font-weight:600;display:flex}.header-right{align-items:center;gap:12px;display:flex}.quota-pill{color:#93c5fd;background:#1e3a8a55;border:1px solid #3b82f655;border-radius:999px;padding:4px 12px;font-size:12px;line-height:1.6}.app-content{min-width:0;padding:16px}.page{width:100%}.page-pricing{max-width:1200px;margin:0 auto}.login-wrap{background:radial-gradient(ellipse at top, #1e3a8a55, transparent 60%), var(--bg);justify-content:center;align-items:center;min-height:100vh;padding:16px;display:flex}.login-card{width:100%;max-width:400px}.login-brand{align-items:center;gap:12px;margin-bottom:8px;display:flex}.login-title{font-size:20px;font-weight:700}code{color:var(--sub);font-size:12px}.login-gift{text-align:center;color:#d4380d;margin-top:12px;font-size:13px}.quota-exp{opacity:.8;margin-left:4px;font-size:12px}.code-block{border:1px solid var(--border);background:var(--bg);white-space:pre;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;border-radius:8px;margin:0;padding:12px 44px 12px 14px;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:12px;line-height:1.6;overflow-x:auto}.docs{max-width:960px;color:var(--text);margin:0 auto;padding:32px 16px 48px}.docs-head{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:16px;margin-bottom:24px;display:flex}.docs-head h1{margin:0 0 6px;font-size:26px}.docs-head p{color:var(--sub);margin:0}.docs-steps{margin:0;padding-left:20px;line-height:2}.docs-sub{margin:22px 0 10px;font-size:15px}.docs-input{border:1px solid var(--border);background:var(--bg);min-width:0;color:var(--text);border-radius:6px 0 0 6px;flex:1;padding:4px 11px;font-family:ui-monospace,SFMono-Regular,Menlo,monospace}.login-docs{text-align:center;flex-wrap:wrap;justify-content:center;align-items:center;gap:6px 10px;margin:0 0 8px;display:flex}.login-docs-sep{color:var(--sub)}.app-content:has(.video-studio){overflow:hidden}.video-studio{grid-template-columns:380px minmax(0,1fr) 260px;gap:12px;height:calc(100vh - 88px);min-height:560px;display:grid}.video-side{background:var(--panel);border:1px solid var(--border);border-radius:12px;flex-direction:column;min-width:0;min-height:0;padding:12px;display:flex}.video-modes{grid-template-columns:1fr 1fr;gap:8px;margin-bottom:12px;display:grid}.video-modes button{border:1px solid var(--border);color:var(--sub);cursor:pointer;background:#0c1426;border-radius:8px;height:34px}.video-modes button.on{color:#ecfeff;background:#155e75;border-color:#22d3ee}.video-scroll{flex-direction:column;flex:1;min-height:0;display:flex;overflow:auto}.video-file{display:none!important}.video-materials{flex-wrap:wrap;gap:8px;display:flex}.video-drop{border:1px dashed var(--border);border-radius:12px;align-items:center;min-height:104px;padding:10px;transition:border-color .15s,background .15s}.video-drop.dragging{background:#22d3ee14;border-color:#22d3ee}.video-tile.has-remove,.video-frame.has-remove{padding:0;position:relative}.tile-body{width:100%;height:100%;color:inherit;cursor:zoom-in;background:0 0;border:0;justify-content:center;align-items:center;padding:6px;display:flex}.tile-remove{color:#fff;text-align:center;cursor:pointer;opacity:0;background:#000000b3;border:0;border-radius:50%;width:20px;height:20px;padding:0;font-size:14px;line-height:20px;transition:opacity .15s;position:absolute;top:4px;right:4px}.has-remove:hover .tile-remove,.tile-remove:focus-visible{opacity:1}@media (hover:none){.tile-remove{opacity:1}}.video-tile.uploading{cursor:default;border-color:#22d3ee;justify-content:center;gap:6px}.video-drop-hint{min-width:140px;color:var(--sub);flex:1;font-size:12px;line-height:1.5}.video-add,.video-tile,.video-frame{border:1px dashed var(--border);width:84px;height:84px;color:var(--sub);cursor:pointer;background:#0c1426;border-radius:10px;flex-direction:column;justify-content:center;align-items:center;gap:4px;padding:6px;display:flex;overflow:hidden}.video-tile img,.video-frame img{object-fit:cover;width:100%;height:100%}.video-tile span{text-align:center;word-break:break-all;font-size:11px;line-height:1.3}.video-frames{grid-template-columns:1fr 1fr;gap:10px;display:grid}.video-frame{width:auto;height:140px}.video-hint{color:var(--sub);margin:8px 0 12px;font-size:12px;line-height:1.5}.video-audio-add{border:1px dashed var(--border);width:100%;height:36px;color:var(--text);cursor:pointer;background:0 0;border-radius:8px}.video-audio-list{flex-wrap:wrap;gap:6px;margin-top:8px;display:flex}.video-audio-list button{border:1px solid var(--border);color:var(--text);cursor:pointer;background:#0c1426;border-radius:999px;padding:2px 10px;font-size:12px}.video-prompt{flex:1;min-height:140px;margin-bottom:8px}.video-prompt .ant-form-item-row,.video-prompt .ant-form-item-control,.video-prompt .ant-form-item-control-input,.video-prompt .ant-form-item-control-input-content,.video-prompt textarea{height:100%}.video-prompt textarea{resize:none;color:var(--text);background:#0c1426!important}.video-prompt-foot{color:var(--sub);justify-content:space-between;align-items:center;margin-bottom:8px;font-size:12px;display:flex}.video-dock{border-top:1px solid var(--border);padding-top:10px}.video-controls{grid-template-columns:1fr 1fr 1fr auto;align-items:end;gap:8px;display:grid}.video-controls label{color:var(--sub);flex-direction:column;gap:4px;min-width:0;font-size:12px;display:flex}.video-sound{align-items:center;padding-bottom:4px;flex-direction:row!important;gap:6px!important}.video-cost{color:var(--sub);margin:8px 0;font-size:12px}.video-cost-warn{color:#ad4e00;background:#fff7e6;border:1px solid #ffd591;border-radius:6px;justify-content:space-between;align-items:center;gap:8px;margin:0 0 8px;padding:6px 10px;font-size:12px;display:flex}.video-submit{grid-template-columns:.8fr 1.3fr auto;gap:8px;display:grid}.video-lib{grid-template-columns:repeat(5,1fr);grid-auto-rows:150px;gap:10px;height:330px;margin-top:12px;display:grid;overflow:auto}.video-lib-empty{grid-column:1/-1}.video-lib-item{flex-direction:column;gap:4px;min-height:0;display:flex;position:relative}.video-lib-thumb{border:1px solid var(--border);min-height:0;color:var(--text);cursor:pointer;background:#0c1426;border-radius:8px;flex:1;padding:0;font-size:28px;overflow:hidden}.video-lib-item.on .video-lib-thumb{border-color:#22d3ee}.video-lib-thumb img,.video-lib-thumb video{object-fit:cover;width:100%;height:100%;display:block}.video-lib-item>span{height:16px;color:var(--muted,#94a3b8);text-overflow:ellipsis;white-space:nowrap;font-size:12px;line-height:16px;overflow:hidden}.video-lib-item em,.video-lib-item i{color:#fff;text-align:center;cursor:pointer;background:#000a;border-radius:50%;width:20px;height:20px;font-size:12px;font-style:normal;line-height:20px;position:absolute;top:4px}.video-lib-item em{right:4px}.video-lib-item i{right:28px}.video-stage{border:1px solid var(--border);background:radial-gradient(ellipse at center, #134e4a55, transparent 62%), var(--bg);border-radius:12px;justify-content:center;align-items:center;min-width:0;min-height:0;display:flex;overflow:hidden}.video-stage video{object-fit:contain;background:#000;width:100%;height:100%}.video-stage img{object-fit:contain;width:100%;height:100%}.video-empty{text-align:center;flex-direction:column;align-items:center;gap:10px;max-width:360px;padding:24px;display:flex}.video-empty strong{font-weight:600}.video-empty span{color:var(--sub);font-size:13px}.video-play{background:#083344;border:1px solid #155e75;border-radius:16px;width:64px;height:64px;position:relative}.video-play:after{content:"";border:12px solid #0000;border-left:18px solid #22d3ee;border-right-width:0;position:absolute;top:20px;left:26px}.video-history{background:var(--panel);border:1px solid var(--border);border-radius:12px;min-height:0;padding:8px;overflow:auto}.video-history-list{flex-direction:column;gap:2px;min-height:100%;display:flex}.video-history-pager{text-align:center;margin-top:auto;padding:8px 0 2px}.video-history-empty{min-height:120px;color:var(--sub);flex:1;justify-content:center;align-items:center;font-size:13px;display:flex}.video-history-list button{text-align:left;width:100%;color:var(--text);cursor:pointer;background:0 0;border:1px solid #0000;border-radius:8px;flex-direction:column;gap:4px;padding:8px;display:flex}.video-history-list button.on{border-color:var(--border);background:#0c1426}.video-history-list b{-webkit-line-clamp:2;-webkit-box-orient:vertical;font-size:13px;font-weight:500;line-height:1.4;display:-webkit-box;overflow:hidden}.video-history-list span{color:var(--sub);font-size:12px}@media (width<=1100px){.app-content:has(.video-studio){overflow:auto}.video-studio{grid-template-columns:1fr;height:auto}.video-stage{min-height:360px}.video-history{min-height:220px}}.task-row{cursor:pointer}.task-prompt-line{color:var(--sub);text-overflow:ellipsis;white-space:nowrap;max-width:300px;font-size:12px;overflow:hidden}.task-card{cursor:pointer;margin-bottom:10px}.task-card .ant-card-actions>li{margin:4px 0}.task-card-head{justify-content:space-between;align-items:center;gap:8px;margin-bottom:6px;display:flex}.task-card-spec{margin-bottom:4px;font-size:12px}.task-card .task-prompt-line{white-space:normal;-webkit-line-clamp:2;-webkit-box-orient:vertical;max-width:none;margin-bottom:6px;display:-webkit-box}.task-card-error{color:#cf1322;word-break:break-all;margin-bottom:6px;font-size:12px}.task-card-meta{justify-content:space-between;gap:8px;margin-top:2px;font-size:12px;display:flex}.task-detail h4{margin:18px 0 8px;font-size:13px;font-weight:600}.task-prompt{white-space:pre-wrap;word-break:break-word;line-height:1.55;margin-bottom:0!important}.task-block{margin-bottom:12px}.task-shots{flex-wrap:wrap;gap:8px;margin-top:6px;display:flex}.task-shots .ant-image{border:1px solid var(--border);background:#000;border-radius:8px;overflow:hidden}.task-clip{margin-top:6px}.task-clip audio,.task-player{width:min(100%,480px);margin:4px 0;display:block}.task-player{background:#000;border-radius:8px;max-height:270px}.task-payload{white-space:pre-wrap;word-break:break-all;max-height:260px;margin:0;font-size:12px;overflow:auto}.nowrap-table .ant-table-thead>tr>th,.nowrap-table .ant-table-tbody>tr>td{white-space:nowrap}.task-detail .ant-descriptions-view>table{table-layout:fixed;width:100%}.task-detail .ant-descriptions-item-label{white-space:nowrap;width:110px}.task-detail .ant-descriptions-item-content{overflow:hidden}.ledger-summary{flex-wrap:wrap;gap:6px 16px;margin-bottom:12px;font-size:13px;display:flex}.ledger-summary strong{font-size:16px}.app-menu-drawer .ant-drawer-content,.app-menu-drawer .ant-drawer-body{background:var(--panel,#0b1222)}.app-menu-drawer .ant-menu{background:0 0;flex:1;border-inline-end:none!important}@media (width<=767px){.app-header-mobile{flex-direction:column;align-items:stretch;gap:6px;height:auto;padding:6px 10px 8px;line-height:normal}.app-header-mobile .header-title{font-size:15px}.app-header-mobile .header-user{text-overflow:ellipsis;max-width:45vw;overflow:hidden}.header-tools{white-space:nowrap;align-items:center;gap:8px;display:flex;overflow-x:auto}.header-tools .quota-pill{margin-left:auto}.app-content{padding:10px}.video-studio{gap:10px}.video-stage{min-height:220px}.video-controls{grid-template-columns:1fr 1fr;gap:10px 8px}.video-sound{align-self:end}.video-submit{grid-template-columns:1fr}.video-submit .ant-btn{height:40px}.video-cost-warn{flex-direction:column;align-items:flex-start}.video-lib{grid-template-columns:repeat(2,1fr)}@media (width<=768px){.ant-table-wrapper .ant-table-pagination{flex-wrap:wrap}.ant-tabs-nav{margin-bottom:10px}.ant-modal{margin:0 auto;max-width:calc(100vw - 16px)!important}.ant-drawer-content-wrapper{max-width:100vw}.ant-space,.ant-space-item .ant-input,.ant-space-item .ant-input-affix-wrapper,.ant-space-item .ant-select{max-width:100%}.m-cards{flex-direction:column;gap:10px;display:flex}.m-card{border:1px solid var(--border);background:var(--panel-2);border-radius:10px;min-width:0;padding:10px 12px}.m-card.clickable{cursor:pointer}.m-card-head{word-break:break-all;margin-bottom:6px;font-weight:600}.m-card-row{gap:10px;padding:3px 0;font-size:13px;line-height:1.5;display:flex}.m-card-label{width:84px;color:var(--sub);flex:none}.m-card-val{word-break:break-all;overflow-wrap:anywhere;flex:1;min-width:0}.m-card-actions{border-top:1px dashed var(--border);flex-wrap:wrap;gap:4px 8px;margin-top:6px;padding-top:6px;display:flex}.task-shots .ant-image{aspect-ratio:3/2;width:calc(50% - 4px)!important;height:auto!important}.task-shots .ant-image img{object-fit:cover;width:100%;height:100%!important}.task-player,.task-clip audio{width:100%}.task-detail .ant-descriptions-item-label{width:84px!important}.task-detail .ant-descriptions-item-content{word-break:break-all}.task-detail .ant-typography{max-width:100%}.ant-drawer-body{padding:12px}.page .ant-form .ant-col-12{flex:0 0 100%;max-width:100%}.ant-statistic{min-width:0}.ant-card-head{padding:0 12px}.ant-card-body{padding:12px}.ant-card-extra{margin-inline-start:0}.ant-card-head-wrapper{flex-wrap:wrap}pre{max-width:100%;overflow-x:auto}}}
