:root{--kt-primary:#7357ff;--kt-primary-hover:#846dff;--kt-cyan:#27d9c7;--kt-orange:#7357ff;--kt-danger:#ff5d73;--kt-bg:#090a0f;--kt-canvas:#0e1017;--kt-panel:#161925;--kt-card:#1e2231;--kt-border:#2a2f42;--kt-text:#f5f6fa;--kt-muted:#9ca3b8;--kt-subtle:#6f7891;--kt-primary-soft:#7357ff29;--kt-cyan-soft:#27d9c724;--kt-orange-soft:#7357ff24;--kt-danger-soft:#ff5d7324;color:var(--kt-text);background:var(--kt-bg);font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;letter-spacing:0;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Microsoft YaHei,sans-serif}*{box-sizing:border-box}html{scroll-behavior:smooth}body{background:var(--kt-bg);min-width:320px;color:var(--kt-text);margin:0}a,button,input{-webkit-tap-highlight-color:transparent}.app-language-switcher{z-index:1200;position:fixed;top:14px;right:28px}.language-switcher{font-size:13px;position:relative}.top-actions .language-switcher{flex:none}.top-actions .language-switcher-trigger{min-height:36px}.language-switcher-trigger{min-width:0;min-height:36px;box-shadow:none;color:var(--kt-muted);cursor:pointer;font:inherit;background:0 0;border:1px solid #0000;border-radius:8px;align-items:center;gap:6px;padding:0 7px;transition:color .16s,background .16s,border-color .16s;display:inline-flex}.language-switcher-trigger:hover,.language-switcher-trigger.is-open{background:var(--kt-primary-soft);color:var(--kt-text);border-color:#7357ff6b}.language-switcher-trigger:focus-visible,.language-switcher-option:focus-visible{outline:2px solid var(--kt-primary);outline-offset:2px}.language-switcher-icon{color:var(--kt-cyan)}.language-switcher-current{color:inherit;white-space:nowrap;font-size:13px;font-weight:600}.language-switcher-chevron{color:#9ca3b8;transition:transform .18s}.language-switcher-trigger.is-open .language-switcher-chevron{transform:rotate(180deg)}.language-switcher-menu{border:1px solid var(--kt-border);background:var(--kt-card);border-radius:10px;gap:4px;width:156px;padding:5px;display:grid;position:absolute;top:calc(100% + 7px);right:0;box-shadow:0 14px 34px #0000005c}.language-switcher-option{width:100%;min-height:43px;color:var(--kt-text);cursor:pointer;font:inherit;text-align:left;background:0 0;border:1px solid #0000;border-radius:7px;align-items:center;gap:8px;padding:5px 7px;transition:background .16s,border-color .16s;display:flex}.language-switcher-option:hover,.language-switcher-option.is-active{background:var(--kt-primary-soft);border-color:#7357ff57}.language-switcher-option-copy{flex:1;gap:2px;display:grid}.language-switcher-option-copy strong{font-size:12px;font-weight:650}.language-switcher-option-copy small{color:var(--kt-muted);font-size:10px}.language-switcher-option>svg{color:var(--kt-cyan)}@media (width<=680px){.app-language-switcher{top:9px;right:12px}.language-switcher-trigger,.top-actions .language-switcher-trigger{min-width:36px;padding:0 8px}.language-switcher-current,.language-switcher-chevron{display:none}.language-switcher-menu{width:min(156px,100vw - 24px)}}.page{color:#f4f6fb;background:#05070a;min-height:100vh}.topbar{z-index:30;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);background:#05070ad6;border-bottom:1px solid #ffffff14;grid-template-columns:1fr auto 1fr;align-items:center;height:64px;padding:0 28px;display:grid;position:sticky;top:0}.brand{color:#fff;align-items:center;gap:10px;width:fit-content;font-size:18px;font-weight:800;text-decoration:none;display:inline-flex}.brand-button{background:0 0;border:0;padding:0}.brand-mark{color:#09100d;background:linear-gradient(135deg,#7357ff,#27d9c7 55%,#7357ff);border-radius:8px;place-items:center;width:32px;height:32px;display:grid}.brand-logo{object-fit:cover;border-radius:8px;flex:none;width:34px;height:34px;box-shadow:0 0 0 1px #ffffff24}.topnav{justify-content:center;align-items:center;gap:30px;display:flex}.topnav a{color:#aeb6c5;font-size:14px;text-decoration:none}.topnav button{color:#aeb6c5;background:0 0;border:0;padding:0;font-size:14px;font-weight:400;line-height:1;text-decoration:none}.topnav a:hover,.topnav button:hover{color:#fff}.top-actions{justify-content:flex-end;align-items:center;gap:10px;display:flex}.portal-user-menu{display:inline-flex;position:relative}.portal-user-button{color:#eef3fb;text-overflow:ellipsis;white-space:nowrap;background:#ffffff12;border:1px solid #ffffff14;border-radius:8px;align-items:center;max-width:190px;height:36px;padding:0 12px;font-size:13px;display:inline-flex;overflow:hidden}.portal-user-button:hover{background:#ffffff1f}.portal-user-dropdown{z-index:50;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#0f172af5;border:1px solid #94a3b829;border-radius:10px;min-width:112px;padding:6px;display:none;position:absolute;top:calc(100% + 8px);right:0;box-shadow:0 18px 44px #0000005c}.portal-user-menu:hover .portal-user-dropdown,.portal-user-menu:focus-within .portal-user-dropdown{display:block}.portal-user-dropdown button{color:#dbe3ee;text-align:center;background:0 0;border:0;border-radius:7px;width:100%;height:32px;font-size:13px}.portal-user-dropdown button:hover{color:#fff;background:#ffffff17}.user-chip{color:#eef3fb;text-overflow:ellipsis;white-space:nowrap;background:#ffffff12;border:1px solid #ffffff14;border-radius:999px;align-items:center;max-width:140px;height:32px;padding:0 10px;font-size:13px;display:inline-flex;overflow:hidden}.studio-user-menu{position:relative}.studio-user-button{cursor:pointer}.studio-user-button:hover,.studio-user-button:focus-visible{background:#ffffff1f}.studio-user-dropdown{z-index:120}button,input{font:inherit;letter-spacing:0}button{cursor:pointer}.plain-button,.create-button,.seed-button,.select-button,.tabs button{border:0}.plain-button{color:#d6dce7;background:0 0;border-radius:8px;height:36px;padding:0 14px}.plain-button:hover{background:#ffffff14}.recharge-button{color:#7357ff;background:#27d9c714;border:1px solid #27d9c747;border-radius:8px;justify-content:center;align-items:center;height:36px;padding:0 14px;font-size:14px;font-weight:700;display:inline-flex}.recharge-button:hover{color:#06110f;background:#7357ff}.create-button,.seed-button,.outline-action{border-radius:8px;justify-content:center;align-items:center;gap:8px;height:44px;padding:0 18px;font-weight:750;display:inline-flex}.create-button{color:#06110f;background:linear-gradient(135deg,#7357ff,#27d9c7 55%,#7357ff)}.create-button.small{height:36px;padding:0 14px}.seed-button{color:#eef3fb;background:#ffffff1f;border:1px solid #ffffff14}.stage{width:min(1450px,100% - 48px);margin:28px auto 0;padding-top:36px;position:relative}.portal-loading,.portal-empty-state{color:#dbeafe;text-align:center;background:radial-gradient(circle at 50% 0,#44d8c424,#0000 36%),linear-gradient(135deg,#0f151fdb,#0a0f17f0);border:1px solid #44d8c429;border-radius:18px;align-content:center;place-items:center;gap:10px;min-height:300px;display:grid;box-shadow:inset 0 1px #ffffff0f,0 22px 70px #0003}.show-section .portal-loading{min-height:260px}.portal-loading-spinner{border:3px solid #7357ff;border-color:#7357ff #44d8c4d1 #27d9c72e #27d9c72e;border-radius:999px;width:46px;height:46px;animation:.88s linear infinite portal-spin;display:block;box-shadow:0 0 28px #44d8c438}.portal-loading strong,.portal-empty-state strong{color:#fff;font-size:18px;font-weight:900}.portal-loading small,.portal-empty-state span{color:#8fa4bc;font-size:13px}@keyframes portal-spin{to{transform:rotate(360deg)}}.carousel{height:300px;position:relative;overflow:hidden}.carousel-track{width:100%;height:100%;position:relative}.slide-card{opacity:0;pointer-events:none;background:#111821;border:1px solid #ffffff14;border-radius:14px;width:min(500px,36vw);height:260px;transition:transform .42s,opacity .42s,filter .42s;position:absolute;top:8px;left:50%;overflow:hidden;transform:translate(-50%)scale(.8);box-shadow:0 28px 70px #00000061}.slide-card[data-position="0"]{z-index:5;opacity:1;pointer-events:auto;width:min(500px,38vw);height:280px;transform:translate(-50%)scale(1)}.slide-card[data-position="-1"]{z-index:3;opacity:.82;filter:brightness(.78);transform:translate(calc(-50% - min(470px,34vw)))scale(.94)rotate(-1deg)}.slide-card[data-position="1"]{z-index:3;opacity:.82;filter:brightness(.78);transform:translate(calc(-50% + min(470px,34vw)))scale(.94)rotate(1deg)}.slide-card[data-position="2"]{transform:translate(-50%)scale(.72)}.slide-card img{object-fit:cover;width:100%;height:100%;display:block}.slide-overlay{background:linear-gradient(90deg,#05070a29,#05070a1f),linear-gradient(#05070a00,#05070aad);position:absolute;inset:0}.slide-copy{position:absolute;bottom:28px;left:34px;right:34px}.slide-copy span{color:#06110f;background:#27d9c7;border-radius:6px;margin-bottom:8px;padding:3px 7px;font-size:11px;font-weight:850;display:inline-block}.slide-copy h1{color:#fff;letter-spacing:0;margin:0;font-size:28px;line-height:1.16}.slide-copy p{color:#c9d2e1;margin:8px 0 0;font-size:12px;line-height:1.5}.slide-card[data-position="-1"] .slide-copy,.slide-card[data-position="1"] .slide-copy{display:none}.carousel-arrow{z-index:10;color:#fff;background:#ffffff29;border:1px solid #ffffff1f;border-radius:8px;place-items:center;width:34px;height:34px;display:grid;position:absolute;top:50%;transform:translateY(-50%)}.carousel-arrow.left{left:0}.carousel-arrow.right{right:0}.carousel-arrow:hover{background:#ffffff3d}.carousel-dots{justify-content:center;align-items:center;gap:8px;margin-top:16px;display:flex}.carousel-dots button{background:#ffffff47;border:0;border-radius:999px;width:12px;height:4px;padding:0}.carousel-dots button.active{background:#ffffff9e;width:26px}.stage-actions{flex-wrap:wrap;justify-content:center;gap:32px;margin-top:48px;display:flex}.outline-action{color:#fff;background:#ffffff0f;border:1px solid #64e5d8b8;width:280px;box-shadow:inset 0 0 0 1px #89a6ff47}.outline-action:hover{background:#ffffff1a}.show-section{width:min(1500px,100% - 48px);margin:36px auto 80px}.show-head{justify-content:space-between;align-items:center;gap:20px;display:flex}.title-row{align-items:center;gap:14px;display:flex}.title-row h2{color:#fff;letter-spacing:0;margin:0;font-size:28px;line-height:1}.select-button{color:#d6deea;background:#ffffff17;border-radius:8px;align-items:center;gap:5px;height:34px;padding:0 12px;display:inline-flex}.search-box{color:#738095;background:#101620;border:1px solid #ffffff14;border-radius:8px;align-items:center;gap:8px;width:min(320px,42vw);height:40px;padding:0 13px;display:flex}.search-box input{color:#edf2fa;background:0 0;border:0;outline:0;width:100%;min-width:0}.search-box input::placeholder{color:#6f7b8f}.tabs{flex-wrap:wrap;gap:10px;margin:22px 0 18px;display:flex}.tabs button{color:#9fa9ba;background:#ffffff12;border-radius:8px;height:34px;padding:0 13px}.tabs button.active{color:#06110f;background:#7357ff}.masonry{grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;display:grid}.work-card{background:#0f151f;border:1px solid #ffffff14;border-radius:8px;flex-direction:column;min-width:0;height:100%;display:flex;overflow:hidden}.cover{background:#151d2b;position:relative;overflow:hidden}.work-card .cover{aspect-ratio:16/9}.cover img{object-fit:cover;width:100%;height:100%;transition:transform .28s;display:block}.work-cover-loading{color:#dbeafe;background:radial-gradient(circle at 50% 0,#44d8c42e,#0000 42%),linear-gradient(135deg,#121a28,#0d1320);align-content:center;place-items:center;gap:8px;width:100%;height:100%;min-height:100%;display:grid}.work-cover-loading .portal-loading-spinner{border-width:2px;width:28px;height:28px}.work-cover-loading strong{color:#fff;font-size:12px;font-weight:900}.work-hover-video{z-index:1;object-fit:cover;opacity:0;pointer-events:none;width:100%;height:100%;transition:opacity .22s;position:absolute;inset:0}.work-card:hover .work-hover-video{opacity:1}.work-card:hover .cover img{transform:scale(1.04)}.play{z-index:2;color:#07100d;background:#ffffffeb;border:0;border-radius:999px;place-items:center;width:36px;height:36px;display:grid;position:absolute;bottom:12px;right:12px}.play:disabled{cursor:not-allowed;color:#ffffff75;background:#0f172ab8}.work-duration{z-index:2;color:#f8fafc;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#05070ab8;border-radius:6px;padding:3px 7px;font-size:11px;font-weight:700;position:absolute;bottom:10px;left:10px}.card-body{flex-direction:column;flex:auto;min-height:118px;padding:12px 12px 13px;display:flex}.author-row{align-items:center;gap:8px;min-width:0;display:flex}.avatar{color:#05100d;background:linear-gradient(135deg,#7357ff,#27d9c7);border-radius:999px;flex:0 0 24px;place-items:center;width:24px;height:24px;font-size:12px;font-weight:800;display:grid}.work-avatar{object-fit:cover;border-radius:999px;flex:0 0 24px;width:24px;height:24px;display:block;box-shadow:0 0 0 1px #ffffff29}.author{color:#dfe5ee;text-overflow:ellipsis;white-space:nowrap;min-width:0;font-size:13px;overflow:hidden}.badge{color:#f5f6fa;background:#7357ff29;border-radius:6px;flex:none;padding:2px 6px;font-size:11px;font-weight:700}.card-body h3{color:#f8fafc;letter-spacing:0;-webkit-line-clamp:2;-webkit-box-orient:vertical;min-height:42px;margin:10px 0 12px;font-size:15px;line-height:1.42;display:-webkit-box;overflow:hidden}.meta-row{color:#778397;justify-content:space-between;align-items:center;margin-top:auto;font-size:12px;display:flex}.meta-row span:last-child{align-items:center;gap:5px;display:inline-flex}.empty-works{color:#7357ff9e;letter-spacing:.06em;background:radial-gradient(circle at 50% 0,#7357ff14,#0000 42%),#060f1a9e;border:1px dashed #7357ff33;border-radius:14px;place-items:center;min-height:420px;margin-top:18px;font-size:15px;font-weight:800;display:grid;box-shadow:inset 0 1px #ffffff0a,0 18px 48px #00000029}.portal-video-modal{z-index:80;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);background:#000000b8;place-items:center;padding:28px;display:grid;position:fixed;inset:0}.portal-video-shell{background:#070b12;border:1px solid #ffffff1f;border-radius:8px;width:min(960px,100%);position:relative;overflow:hidden;box-shadow:0 28px 88px #00000085}.portal-video-shell video{background:#000;width:100%;max-height:min(68vh,640px);display:block}.portal-video-close{z-index:2;color:#fff;background:#05070ab8;border:1px solid #ffffff2e;border-radius:999px;place-items:center;width:34px;height:34px;display:grid;position:absolute;top:10px;right:10px}.portal-video-info{justify-content:space-between;align-items:center;gap:16px;padding:14px 16px;display:flex}.portal-video-info strong{color:#f8fafc;text-overflow:ellipsis;white-space:nowrap;min-width:0;font-size:16px;overflow:hidden}.portal-video-info span{color:#8f9aad;flex:none;font-size:13px}.recharge-modal{z-index:90;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#000000ad;place-items:center;padding:24px;display:grid;position:fixed;inset:0}.recharge-panel{background:#0c121cf5;border:1px solid #27d9c72e;border-radius:12px;width:min(420px,100%);padding:20px;box-shadow:0 28px 80px #00000075}.recharge-head{justify-content:space-between;align-items:flex-start;gap:16px;display:flex}.recharge-head span{color:#7357ff;font-size:13px;font-weight:750}.recharge-head h3{color:#fff;margin:4px 0 0;font-size:22px;line-height:1.25}.recharge-head button{color:#cbd5e1;background:#ffffff0f;border:1px solid #ffffff1a;border-radius:8px;place-items:center;width:32px;height:32px;font-size:20px;line-height:1;display:grid}.recharge-head button:hover{color:#fff;background:#ffffff1f}.recharge-options{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:20px 0 16px;display:grid}.recharge-options button{text-align:center;color:#e5edf8;background:#ffffff0f;border:1px solid #94a3b829;border-radius:10px;flex-direction:column;justify-content:center;align-items:center;gap:4px;min-height:74px;display:flex}.recharge-options button.active{color:#06110f;background:linear-gradient(135deg,#7357ff,#27d9c7);border-color:#27d9c79e}.recharge-options strong{text-align:center;width:100%;font-size:24px;line-height:1}.recharge-options span{text-align:center;width:100%;font-size:13px;font-weight:700;line-height:1}.recharge-custom{background:#ffffff0a;border:1px solid #94a3b829;border-radius:10px;gap:10px;margin-bottom:16px;padding:14px;display:grid}.recharge-custom-head{justify-content:space-between;align-items:center;gap:12px;display:flex}.recharge-custom-head strong{color:#fff;font-size:14px}.recharge-custom-head span{color:#8f9aad;font-size:12px;font-weight:400}.recharge-custom-input{background:#05070ab8;border:1px solid #94a3b82e;border-radius:8px;align-items:center;gap:8px;height:44px;padding:0 12px;display:flex}.recharge-custom-input span{color:#7357ff;font-size:18px;font-weight:800}.recharge-custom-input input{color:#fff;background:0 0;border:0;outline:none;width:100%;min-width:0;font-size:15px}.recharge-custom-input input::placeholder{color:#6f7b8f}.recharge-qr{color:#94a3b8;flex-direction:column;align-items:center;gap:8px;padding:16px 0 8px;font-size:13px;display:flex}.recharge-qr img{background:#fff;border-radius:8px;padding:8px}.recharge-qr-hint{color:#64748b;font-size:12px}.recharge-result{text-align:center;border-radius:9px;gap:4px;margin-bottom:14px;padding:12px;display:grid}.recharge-result.success{color:#27d9c7;background:#27d9c71f}.recharge-result.fail{color:#ff5d73;background:#f871711f}.recharge-result strong{font-size:14px}.recharge-result span{color:#dbeafe;font-size:12px}.recharge-submit{color:#06110f;background:linear-gradient(135deg,#7357ff,#27d9c7 55%,#7357ff);border:0;border-radius:9px;width:100%;height:44px;font-size:15px;font-weight:800}.recharge-submit:disabled{cursor:not-allowed;opacity:.55}.wallet-panel{flex-direction:column;width:min(720px,100%);max-height:min(720px,100vh - 48px);display:flex}.wallet-head{align-items:center}.wallet-head h3{font-size:30px}.wallet-head-actions{align-items:center;gap:8px;display:flex}.wallet-head-actions .wallet-refresh{width:auto;min-width:64px;padding:0 14px;font-size:13px;font-weight:750}.wallet-head-actions .wallet-refresh:disabled{cursor:not-allowed;opacity:1;color:#cbd5e1;background:#ffffff0f;border-color:#ffffff1a}.wallet-tabs{background:#ffffff0d;border:1px solid #94a3b829;border-radius:10px;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:20px 0 14px;padding:4px;display:grid}.wallet-tabs button{color:#9aa8bc;background:0 0;border:0;border-radius:8px;justify-content:center;align-items:center;min-height:40px;font-size:14px;font-weight:800;display:inline-flex}.wallet-tabs button.active{color:#06110f;background:linear-gradient(135deg,#7357ff,#27d9c7)}.studio-wallet-tabs-single{justify-content:center;display:flex}.studio-wallet-tabs-single button{text-align:center;min-width:180px}.wallet-list{scrollbar-color:#050505 #ffffff14;scrollbar-width:thin;flex:auto;grid-auto-rows:max-content;align-content:start;gap:10px;min-height:0;padding-right:2px;display:grid;overflow:auto}.wallet-list::-webkit-scrollbar{width:8px}.wallet-list::-webkit-scrollbar-track{background:#ffffff14;border-radius:999px}.wallet-list::-webkit-scrollbar-thumb{background:#050505;border:1px solid #ffffff14;border-radius:999px}.wallet-list::-webkit-scrollbar-thumb:hover{background:#000}.wallet-record{box-sizing:border-box;background:#ffffff0b;border:1px solid #94a3b824;border-radius:10px;justify-content:space-between;align-items:center;gap:16px;min-height:72px;padding:14px;display:flex}.studio-wallet-record{border-color:#0000;min-height:72px;padding:16px 18px;position:relative;overflow:hidden;box-shadow:0 14px 34px #0000002e}.studio-wallet-record:before{z-index:0;content:"";position:absolute;inset:0}.studio-wallet-record.income:before{background:linear-gradient(135deg,#27d9c73d,#14b8a629),#061918f5}.studio-wallet-record.expense:before{background:linear-gradient(135deg,#7357ff3d,#ef444421),#0e1017f5}.studio-wallet-record:after{content:"";width:5px;position:absolute;top:0;bottom:0;left:0}.studio-wallet-record.income:after{background:linear-gradient(#27d9c7,#2dd4bf)}.studio-wallet-record.expense:after{background:linear-gradient(#7357ff,#ff5d73)}.studio-wallet-record>div{z-index:1;position:relative}.studio-wallet-record strong{color:#f8fafc}.studio-wallet-record span{color:#e2e8f0d1}.studio-wallet-record .wallet-status{color:#06110f;background:#ffffffd1}.wallet-record div:first-child{align-content:center;align-self:center;gap:5px;min-width:0;display:grid}.wallet-record strong{color:#fff;font-size:18px;line-height:1.2}.wallet-record span{color:#8f9aad;text-overflow:ellipsis;white-space:nowrap;max-width:460px;font-size:12px;line-height:1.4;overflow:hidden}.wallet-record-side{text-align:right;flex:none;align-content:center;align-self:center;justify-items:end;gap:7px;display:grid}.wallet-status{border-radius:999px;align-items:center;min-height:24px;padding:0 9px;font-size:12px;font-style:normal;font-weight:850;display:inline-flex}.wallet-status.pending{color:#a996ff;background:#7357ff29}.wallet-status.paid{color:#27d9c7;background:#27d9c729}.wallet-status.failed{color:#ff5d73;background:#f8717129}.wallet-empty{color:#8f9aad;text-align:center;background:#ffffff09;border:1px dashed #94a3b833;border-radius:10px;place-items:center;gap:12px;min-height:150px;font-size:14px;display:grid}.wallet-empty strong{color:#e5edf8;font-size:14px}.wallet-empty button{color:#7357ff;background:#27d9c714;border:1px solid #27d9c766;border-radius:8px;min-height:36px;padding:0 14px;font-weight:800}.wallet-pagination{border-top:1px solid #94a3b824;justify-content:space-between;align-items:center;gap:12px;margin-top:14px;padding-top:14px;display:flex}.wallet-pagination button{color:#7357ff;background:#27d9c714;border:1px solid #27d9c747;border-radius:8px;min-width:76px;min-height:38px;padding:0 12px;font-size:13px;font-weight:800}.wallet-pagination button:disabled{cursor:not-allowed;color:#64748b;background:#94a3b80f;border-color:#94a3b81f}.wallet-pagination span{color:#8f9aad;text-align:center;font-size:13px}.float-upload{color:#07100d;background:#7357ff;border:0;border-radius:8px;place-items:center;width:48px;height:48px;display:grid;position:fixed;bottom:24px;right:24px;box-shadow:0 16px 36px #0000005c}.login-page{color:#f4f6fb;background:radial-gradient(circle at 16% 18%,#44d8c424,#0000 28%),radial-gradient(circle at 82% 20%,#7357ff21,#0000 26%),linear-gradient(135deg,#05070a 0%,#0a1118 52%,#05070a 100%);min-height:100vh;position:relative;overflow:hidden}.login-page:before{pointer-events:none;content:"";background-color:#0000;background-image:linear-gradient(#ffffff06 1px,#0000 1px),linear-gradient(90deg,#ffffff06 1px,#0000 1px);background-position:0 0,0 0;background-repeat:repeat,repeat;background-size:42px 42px;background-attachment:scroll,scroll;background-origin:padding-box,padding-box;background-clip:border-box,border-box;position:absolute;inset:64px 0 0;-webkit-mask-image:linear-gradient(#000c,#0000 82%);mask-image:linear-gradient(#000c,#0000 82%)}.login-topbar{z-index:2;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);background:#05070ad6;border-bottom:1px solid #ffffff14;justify-content:space-between;align-items:center;height:64px;padding:0 28px;display:flex;position:relative}.login-page-centered{place-items:center;min-height:100vh;padding:24px;display:grid}.login-back-button{z-index:2;color:#dbe3ee;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);cursor:pointer;background:#05070ab8;border:1px solid #ffffff1a;border-radius:9px;align-items:center;gap:8px;height:38px;padding:0 13px;transition:border-color .18s,background .18s,color .18s;display:inline-flex;position:fixed;top:22px;left:24px}.login-back-button:hover{color:#fff;background:#0c121cd6;border-color:#27d9c757}.login-top-toast{z-index:90;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);background:#0c121cf0;border:1px solid #ffffff24;border-radius:12px;align-items:center;gap:10px;width:min(420px,100vw - 32px);min-height:44px;padding:10px 14px;animation:.18s ease-out login-toast-in;display:inline-flex;position:fixed;top:22px;left:50%;transform:translate(-50%);box-shadow:0 18px 48px #00000061}.payment-top-toast{z-index:120}.login-top-toast span{border-radius:999px;flex:none;place-items:center;width:22px;height:22px;font-size:14px;font-weight:900;line-height:1;display:grid}.login-top-toast p{color:#f8fafc;margin:0;font-size:14px;font-weight:650;line-height:1.45}.login-top-toast.error{background:#450a0aeb;border-color:#f8717157}.login-top-toast.error span{color:#450a0a;background:#ff5d73}.login-top-toast.notice{background:#052e16eb;border-color:#27d9c74d}.login-top-toast.notice span{color:#052e16;background:#27d9c7}@keyframes login-toast-in{0%{opacity:0;transform:translate(-50%,-8px)}to{opacity:1;transform:translate(-50%)}}.login-shell{z-index:1;grid-template-columns:minmax(0,1fr) 408px;align-items:center;gap:54px;width:min(1180px,100% - 48px);min-height:calc(100vh - 64px);margin:0 auto;padding:48px 0;display:grid;position:relative}.login-visual{min-width:0}.login-kicker{color:#7357ff;background:#27d9c714;border:1px solid #27d9c738;border-radius:8px;align-items:center;gap:7px;height:28px;padding:0 10px;font-size:13px;font-weight:700;display:inline-flex}.login-visual h1{color:#fff;max-width:690px;margin:20px 0 16px;font-size:52px;font-weight:820;line-height:1.06}.login-visual p{color:#9ca8ba;max-width:560px;margin:0;font-size:16px;line-height:1.8}.login-stage{-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);background:radial-gradient(circle at 20% 22%,#27d9c714,#0000 28%),radial-gradient(circle at 86% 18%,#44d8c41f,#0000 30%),#090e16d6;border:1px solid #ffffff1c;border-radius:16px;width:min(620px,100%);min-height:286px;margin-top:34px;display:grid;position:relative;overflow:hidden;box-shadow:0 28px 90px #0000006b}.login-stage-toolbar{background:#02061742;border-bottom:1px solid #ffffff14;align-items:center;gap:7px;height:42px;padding:0 16px;display:flex}.login-stage-toolbar span{background:#3b4659;border-radius:999px;width:8px;height:8px}.login-stage-toolbar span:first-child{background:#7357ff}.login-stage-toolbar span:nth-child(2){background:#27d9c7}.login-node-map{grid-template-columns:156px 1fr 156px;align-items:center;gap:28px;padding:34px 30px 20px;display:grid;position:relative}.login-mini-node{z-index:1;background:#0f172adb;border:1px solid #94a3b82e;border-radius:12px;align-content:center;gap:8px;min-height:104px;padding:14px;display:grid;position:relative;box-shadow:0 18px 46px #00000047}.login-mini-node.image{transform:translateY(42px)}.login-mini-node.video{grid-column:3}.login-mini-node strong{color:#fff;font-size:15px}.login-mini-node small{color:#8895a8;font-size:12px}.login-mini-node svg,.login-file-glyph{color:#7357ff;background:#27d9c71c;border-radius:8px;place-items:center;width:30px;height:30px;font-size:13px;font-weight:850;display:grid}.login-link-line{background:linear-gradient(90deg,#0000,#27d9c7e6,#44d8c49e);width:86px;height:1px;position:absolute;top:82px;left:184px;box-shadow:0 0 16px #27d9c747}.login-link-line.second{top:126px;left:auto;right:184px}.login-stage-footer{color:#8e99ab;border-top:1px solid #ffffff14;justify-content:space-between;align-items:center;gap:14px;margin-top:auto;padding:18px 20px;font-size:13px;display:flex}.login-stage-footer strong{color:#fff}.login-metrics{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;width:min(520px,100%);margin-top:16px;display:grid}.login-metrics div{background:#ffffff0b;border:1px solid #ffffff14;border-radius:10px;gap:3px;padding:12px;display:grid}.login-metrics strong{color:#fff;font-size:19px}.login-metrics span{color:#8e99ab;font-size:12px}.login-card{-webkit-backdrop-filter:blur(22px);backdrop-filter:blur(22px);background:#0c121cf0;border:1px solid #ffffff1a;border-radius:14px;gap:18px;min-width:0;padding:26px;display:grid;box-shadow:0 28px 80px #0000006b}.login-card-centered{width:min(410px,100vw - 48px)}.login-card-logo{object-fit:contain;border-radius:0;flex:none;width:220px;height:58px}.login-card-brand{justify-content:center;align-items:center;width:100%;display:flex}.login-card-head h2{color:#fff;margin:18px 0 0;font-size:28px;line-height:1.2}.login-card-head p{color:#8e99ab;margin:7px 0 0;font-size:13px}.login-tabs{background:#02061761;border:1px solid #ffffff14;border-radius:10px;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px;padding:4px;display:grid}.login-tabs.login-tabs-phone-only{grid-template-columns:minmax(0,1fr)}.login-tabs button{color:#9ca8ba;background:0 0;border:0;border-radius:7px;height:34px}.login-tabs button.active{color:#06110f;background:#7357ff;font-weight:750}.login-field{gap:8px;display:grid}.login-field>span{color:#aeb8c8;font-size:13px}.login-field>div{background:#0206176b;border:1px solid #94a3b829;border-radius:9px;align-items:center;gap:9px;min-width:0;min-height:48px;padding:0 13px;transition:border-color .18s,box-shadow .18s,background .18s;display:flex}.login-field>div:focus-within{background:#0206179e;border-color:#27d9c77a;box-shadow:0 0 0 3px #27d9c714}.login-field svg{color:#7f8ba0;flex:none}.login-field input{color:#f8fafc;background:0 0;border:0;outline:0;width:100%;min-width:0;height:46px;font-size:15px}.login-field input::placeholder{color:#64748b}.password-toggle{color:#9ca8ba;background:#27d9c71a;border:0;border-radius:7px;flex:none;place-items:center;width:34px;height:34px;display:grid}.password-toggle:hover,.code-button:hover:not(:disabled){color:#fff;background:#27d9c729}.code-button{color:#f5f6fa;white-space:nowrap;background:#27d9c71a;border:0;border-radius:8px;flex:none;justify-content:center;align-items:center;min-width:108px;min-height:38px;padding:0 12px;font-size:12px;font-weight:750;line-height:1;display:inline-flex}.code-button:disabled{cursor:not-allowed;color:#718096;background:#94a3b814}.login-code-field input{letter-spacing:.08em}.login-tabs button,.password-toggle,.code-button{cursor:pointer}.login-tabs button:focus-visible,.password-toggle:focus-visible,.code-button:focus-visible,.login-submit:focus-visible{outline-offset:2px;outline:2px solid #27d9c7e6}.login-options{color:#9ca8ba;justify-content:space-between;align-items:center;gap:12px;font-size:13px;display:flex}.login-options label{align-items:center;gap:7px;display:inline-flex}.login-options input{accent-color:#7357ff}.login-legal-consent{color:#a8b4c6;align-items:flex-start;gap:8px;padding:0;font-size:12px;line-height:1.5;display:flex}.login-legal-consent input{accent-color:#7357ff;flex:none;margin-top:2px}.login-legal-consent a{color:#dceeff;font-weight:800;text-decoration:none}.login-legal-consent a:hover,.login-legal-consent a:focus-visible{color:#fff;outline:none;text-decoration:underline}.login-options button{color:#dbe3ee;background:0 0;border:0}.login-notice{color:#27d9c7;background:#14532d38;border:1px solid #27d9c73d;border-radius:8px;margin:-6px 0 0;padding:9px 10px;font-size:13px}.login-error{color:#ff5d73;background:#7f1d1d3d;border:1px solid #f8717147;border-radius:8px;margin:-6px 0 0;padding:9px 10px;font-size:13px}.wechat-login-panel{gap:12px;margin-top:-2px;display:grid}.wechat-login-divider{color:#7f8ba0;grid-template-columns:1fr auto 1fr;align-items:center;gap:10px;font-size:12px;display:grid}.wechat-login-divider:before,.wechat-login-divider:after{content:"";background:#94a3b82e;height:1px}.wechat-login-button{color:#27d9c7;background:#27d9c71a;border:1px solid #27d9c742;border-radius:10px;justify-content:center;align-items:center;gap:8px;min-height:42px;font-size:14px;font-weight:800;display:inline-flex}.wechat-login-button:hover:not(:disabled),.wechat-login-button:focus-visible{color:#fff;background:#27d9c72e;border-color:#27d9c78a;outline:none}.wechat-login-button:disabled{cursor:wait;opacity:.72}.wechat-login-qr{background:#02061761;border:1px solid #94a3b824;border-radius:12px;justify-items:center;gap:10px;padding:14px;display:grid}.wechat-login-qr img{background:#fff;border:8px solid #fff;border-radius:10px;width:168px;height:168px}.wechat-login-qr p,.wechat-login-message{color:#aeb8c8;text-align:center;margin:0;font-size:12px;line-height:1.55}.wechat-login-message.failed{color:#ff5d73}.login-seat-modal{z-index:140;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);background:#000000ad;place-items:center;padding:24px;display:grid;position:fixed;inset:0}.login-seat-panel{color:#f8fafc;text-align:center;background:#171717;border:1px solid #7357ff47;border-radius:18px;gap:12px;width:min(420px,100vw - 32px);padding:28px;display:grid;position:relative;box-shadow:0 28px 90px #0000008c}.login-seat-close{color:#cbd5e1;background:0 0;border:0;border-radius:999px;place-items:center;width:34px;height:34px;font-size:26px;line-height:1;display:grid;position:absolute;top:12px;right:12px}.login-seat-close:hover{color:#fff;background:#ffffff14}.login-seat-panel h3{color:#fff;margin:0;font-size:22px;line-height:1.3}.login-seat-panel p{color:#7357ff;margin:0;font-size:14px;line-height:1.55}.login-seat-panel span{color:#aeb6c5;font-size:13px}.login-seat-actions{grid-template-columns:1fr 1.4fr;gap:10px;margin-top:8px;display:grid}.login-seat-actions button{border:0;border-radius:10px;min-height:40px;font-size:14px;font-weight:850}.login-seat-actions button:first-child{color:#dbe3ee;background:#ffffff17}.login-seat-actions button:last-child{color:#06110f;background:#7357ff}.login-seat-actions button:disabled{cursor:not-allowed;opacity:.65}.session-expired-modal{z-index:180;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);background:#000000b8;place-items:center;padding:24px;display:grid;position:fixed;inset:0}.session-expired-panel{color:#f8fafc;text-align:center;background:#171717;border:1px solid #5bd7f342;border-radius:18px;gap:14px;width:min(400px,100vw - 32px);padding:30px 28px;display:grid;box-shadow:0 28px 90px #00000094}.session-expired-panel h3{color:#fff;margin:0;font-size:22px;line-height:1.3}.session-expired-panel p{color:#cbd5e1;margin:0;font-size:14px;line-height:1.55}.session-expired-panel button{color:#06110f;background:linear-gradient(135deg,#7357ff,#27d9c7 58%,#7357ff);border:0;border-radius:10px;height:42px;margin-top:4px;font-size:14px;font-weight:900}.system-notice-bar{z-index:150;pointer-events:none;gap:8px;width:min(920px,100vw - 28px);display:grid;position:fixed;top:14px;left:50%;transform:translate(-50%)}.system-notice-item{color:#e8fff9;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);pointer-events:auto;background:linear-gradient(135deg,#0b1018f0,#111827e6);border:1px solid #44d8c43d;border-radius:999px;grid-template-columns:auto auto minmax(0,1fr) auto;align-items:center;gap:10px;min-height:44px;padding:8px 10px 8px 14px;display:grid;box-shadow:0 18px 55px #00000052,inset 0 1px #ffffff14}.system-notice-label{color:#06110f;white-space:nowrap;background:linear-gradient(135deg,#7357ff,#27d9c7);border-radius:999px;place-items:center;min-height:26px;padding:0 10px;font-size:12px;font-weight:900;display:inline-grid}.system-notice-item strong{color:#fff;white-space:nowrap;font-size:14px}.system-notice-item>span:not(.system-notice-label){color:#cbd5e1;text-overflow:ellipsis;white-space:nowrap;font-size:13px;overflow:hidden}.system-notice-item button{color:#cbd5e1;cursor:pointer;background:#ffffff14;border:0;border-radius:999px;place-items:center;width:28px;height:28px;font-size:18px;line-height:1;display:grid}.system-notice-modal,.maintenance-overlay{z-index:190;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#000000b8;place-items:center;padding:24px;display:grid;position:fixed;inset:0}.system-notice-panel,.maintenance-card{color:#f8fafc;text-align:center;background:radial-gradient(circle at 20% 0,#27d9c724,#0000 36%),radial-gradient(circle at 88% 12%,#44d8c429,#0000 30%),#111827;border:1px solid #44d8c442;border-radius:22px;gap:12px;width:min(460px,100vw - 32px);padding:28px;display:grid;position:relative;overflow:hidden;box-shadow:0 36px 100px #0009}.system-notice-panel-mark{color:#06110f;background:linear-gradient(135deg,#7357ff,#27d9c7 58%,#7357ff);border-radius:999px;justify-self:center;place-items:center;width:48px;height:48px;font-size:24px;font-weight:950;display:grid}.system-notice-panel-kicker,.maintenance-card>span{color:#9ff8ed;letter-spacing:.14em;text-transform:uppercase;font-size:12px;font-weight:900}.system-notice-panel h3,.maintenance-card h2{color:#fff;margin:0;font-size:24px;line-height:1.25}.system-notice-panel p,.maintenance-card p{color:#dbe6f3;white-space:pre-wrap;margin:0;font-size:14px;line-height:1.7}.system-notice-panel small,.maintenance-card small{color:#8fa4bc;font-size:12px}.system-notice-panel button,.maintenance-card button{color:#06110f;cursor:pointer;background:linear-gradient(135deg,#7357ff,#27d9c7 58%,#7357ff);border:0;border-radius:12px;height:44px;margin-top:4px;font-size:14px;font-weight:900}.maintenance-overlay{z-index:230;background:radial-gradient(circle at 20% 18%,#44d8c426,#0000 30%),radial-gradient(circle at 80% 18%,#27d9c71f,#0000 28%),#000000d1}.maintenance-card{width:min(520px,100vw - 32px);padding-top:62px}.maintenance-orbit{border:1px solid #27d9c780;border-radius:999px;width:66px;height:26px;position:absolute;top:22px;left:50%;transform:translate(-50%)rotate(-12deg)}.maintenance-orbit:after{content:"";background:#7357ff;border-radius:999px;width:12px;height:12px;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);box-shadow:0 0 22px #27d9c7db}@media (width<=640px){.system-notice-item{border-radius:18px;grid-template-columns:auto minmax(0,1fr) auto}.system-notice-item strong{white-space:normal}.system-notice-item>span:not(.system-notice-label){white-space:normal;grid-column:1/-1}}.login-submit{color:#06110f;cursor:pointer;background:linear-gradient(135deg,#7357ff,#27d9c7 58%,#7357ff);border:0;border-radius:9px;height:48px;font-weight:800;transition:transform .16s,box-shadow .16s,opacity .16s;box-shadow:0 16px 34px #44d8c429}.login-submit:hover:not(:disabled){transform:translateY(-1px);box-shadow:0 20px 42px #44d8c438}.login-submit:disabled{cursor:not-allowed;opacity:.65}.login-footnote{color:#758195;text-align:center;margin:0;font-size:12px;line-height:1.5}.login-legal-links a{color:#dceeff;font-weight:800;text-decoration:none}.login-legal-links a:hover,.login-legal-links a:focus-visible{color:#fff;outline:none;text-decoration:underline}.studio-page{color:#eef3fb;background:#070a0f;min-height:100vh}.studio-topbar{background:#070a0ff0;border-bottom:1px solid #ffffff14;justify-content:space-between;align-items:center;gap:20px;height:68px;padding:0 20px;display:flex}.studio-left,.studio-actions{align-items:center;gap:14px;display:flex}.workflow-name-shell{z-index:5;width:min(280px,24vw);position:absolute;top:7px;left:50%;transform:translate(-50%)}.workflow-name-button,.workflow-name-input{color:#eef3fb;text-align:center;background:#0f172ab8;border:1px solid #94a3b82e;border-radius:8px;width:100%;height:36px;padding:0 12px;font-size:14px;font-weight:700}.workflow-name-button{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.workflow-name-button:hover,.workflow-name-input:focus{background:#111827f5;border-color:#7357ffad;outline:none;box-shadow:0 0 0 3px #7357ff29}.studio-left h1{color:#fff;letter-spacing:0;margin:0;font-size:18px;line-height:1.2}.studio-left p{color:#788498;margin:3px 0 0;font-size:12px}.icon-text-button,.studio-ghost,.studio-primary{border-radius:8px;justify-content:center;align-items:center;gap:8px;height:38px;padding:0 14px;display:inline-flex}.icon-text-button,.studio-ghost{color:#d4dce8;background:#ffffff12;border:1px solid #ffffff14}.studio-primary{color:#06110f;background:linear-gradient(135deg,#7357ff,#27d9c7 58%,#7357ff);border:0;font-weight:750}.studio-ghost:disabled{cursor:not-allowed;opacity:.62}.studio-primary.full{width:100%}.studio-confirm-modal{z-index:150;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:radial-gradient(circle at 50% 42%,#27d9c714,#0000 34%),#000000b3;place-items:center;padding:24px;animation:.16s ease-out studio-confirm-backdrop-in;display:grid;position:fixed;inset:0}.studio-confirm-panel{color:#eef3fb;background:linear-gradient(#19202bfa,#0b1018fa),#0c121cfa;border:1px solid #27d9c733;border-radius:14px;gap:14px;width:min(380px,100vw - 32px);padding:20px;animation:.18s ease-out studio-confirm-panel-in;display:grid;position:relative;box-shadow:0 32px 90px #0000008f,inset 0 1px #ffffff0f}.studio-confirm-copy{text-align:center;padding:8px 12px 2px}.studio-confirm-copy h3{color:#fff;margin:0;font-size:20px;line-height:1.25}.studio-confirm-copy p{color:#9da9bb;margin:10px 0 0;font-size:13px;line-height:1.65}.studio-confirm-icon{border-radius:12px;place-items:center;width:40px;height:40px;margin:0 auto 12px;display:grid}.studio-confirm-icon.danger{color:#f5f6fa;background:#ff5d7324;border:1px solid #ff5d734d}.studio-confirm-actions{grid-template-columns:1fr 1fr;gap:10px;padding-top:4px;display:grid}.studio-confirm-actions button{color:#d4dce8;cursor:pointer;background:#ffffff12;border:1px solid #ffffff1a;border-radius:9px;justify-content:center;align-items:center;min-height:42px;font-size:14px;font-weight:850;display:inline-flex}.studio-confirm-actions button:hover,.studio-confirm-actions button:focus-visible{color:#fff;background:#ffffff1f;border-color:#ffffff2e;outline:none}.studio-confirm-actions button.primary{color:#06110f;background:linear-gradient(135deg,#7357ff,#27d9c7 68%);border-color:#0000}.studio-confirm-actions button.primary:hover,.studio-confirm-actions button.primary:focus-visible{color:#06110f;background:linear-gradient(135deg,#846dff,#27d9c7 68%)}.studio-confirm-actions button.danger{color:#f5f6fa;background:linear-gradient(135deg,#ff5d73,#ff5d73);border-color:#ff5d7373}.studio-confirm-actions button.danger:hover,.studio-confirm-actions button.danger:focus-visible{color:#fff;background:linear-gradient(135deg,#ff5d73,#ff5d73);border-color:#f5f6fabd}.studio-confirm-actions button:disabled{cursor:wait;opacity:.58}.history-delete-confirm{z-index:1100}@keyframes studio-confirm-backdrop-in{0%{opacity:0}to{opacity:1}}@keyframes studio-confirm-panel-in{0%{opacity:0;transform:translateY(10px)scale(.98)}to{opacity:1;transform:translateY(0)scale(1)}}.libtv-text-node{-webkit-backdrop-filter:blur(28px);backdrop-filter:blur(28px);background:#222427f5;border:1px solid #ffffff1a;border-radius:16px;padding:14px;overflow:auto;transform:translateY(-50%);box-shadow:0 24px 70px #0000005c}.panel-heading{justify-content:space-between;align-items:center;gap:12px;margin-bottom:16px;display:flex}.panel-heading h2{color:#fff;letter-spacing:0;margin:0;font-size:15px}.panel-heading span{color:#8b97aa;font-size:12px}.popover-title{color:#a7b0c1;margin:2px 2px 10px;font-size:13px}.resource-title{margin-top:16px}.node-list{gap:6px;display:grid}.node-template{color:#dbe3ee;text-align:left;background:0 0;border:0;border-radius:12px;grid-template-columns:32px minmax(0,1fr);align-items:center;column-gap:10px;width:100%;min-height:52px;padding:8px;display:grid}.node-template:hover{background:#ffffff14}.node-template span,.node-head span{background:#ffffff14;border-radius:8px;place-items:center;width:30px;height:30px;display:grid}.node-template strong{color:#eef3fb;min-width:0;font-size:13px;line-height:1.2}.resource-template+.resource-template{margin-top:6px}[data-tone=blue] span{color:#a9c7ff;background:#5d8fff24}[data-tone=green] span{color:#27d9c7;background:#27d9c721}[data-tone=amber] span{color:#846dff;background:#7357ff24}[data-tone=cyan] span{color:#27d9c7;background:#42d9c421}[data-tone=violet] span{color:#c9b3ff;background:#7357ff24}[data-tone=rose] span{color:#ffb4c2;background:#ff628024}.canvas-shell{z-index:1;background:#080c12;position:absolute;inset:0}.canvas-toolbar{border-bottom:1px solid #ffffff14;align-items:center;gap:8px;height:54px;padding:0 18px;display:flex}.canvas-toolbar button{color:#9ca8ba;background:0 0;border:0;border-radius:8px;align-items:center;gap:7px;height:32px;padding:0 12px;display:inline-flex}.canvas-toolbar button.active{color:#06110f;background:#7357ff}.flow-shell{background:#080c12;width:100%;height:100%;position:relative}.flow-shell .react-flow{color:#eef3fb}.flow-shell .react-flow__pane{cursor:crosshair}.flow-shell .react-flow__attribution{display:none}.flow-shell .react-flow__controls{box-shadow:none;background:#101722;border:1px solid #ffffff1a;border-radius:8px;overflow:hidden}.flow-shell .react-flow__controls button{color:#d8e0eb;background:#101722;border-bottom-color:#ffffff14}.flow-shell .react-flow__controls button:hover{background:#172131}.flow-shell .react-flow__edges{overflow:visible}.flow-shell .react-flow__viewport{backface-visibility:visible;transform-style:flat}.flow-shell.canvas-interacting .react-flow__viewport{will-change:transform}.flow-shell.canvas-interacting .meteor-edge-core{animation-play-state:paused}.group-selection-box{z-index:80;pointer-events:none;box-sizing:border-box;background:#94a3b824;border:1px solid #94a3b8c7;border-radius:14px;position:absolute;box-shadow:0 0 0 1px #94a3b833,0 12px 32px #0000002e}.group-selection-confirm{z-index:82;color:#dbe4f0;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);pointer-events:auto;white-space:nowrap;background:#0f172af0;border:1px solid #94a3b86b;border-radius:12px;align-items:center;gap:8px;min-height:40px;padding:5px 6px 5px 12px;display:inline-flex;position:absolute;box-shadow:0 12px 28px #00000047}.group-selection-confirm span{color:#b8c4d6;font-size:12px}.group-selection-confirm button{color:#dbe4f0;cursor:pointer;background:#ffffff12;border:1px solid #ffffff1f;border-radius:8px;height:28px;padding:0 10px;font-size:12px}.group-selection-confirm button.confirm{color:#10170a;background:#7357ff;border-color:#27d9c78c}.group-selection-confirm button:hover{background:#ffffff24;border-color:#ffffff4d}.group-selection-confirm button.confirm:hover{background:#edff91}.group-node-card{box-sizing:border-box;pointer-events:none;background:linear-gradient(135deg,#94a3b814,#7357ff0d),#080c122e;border:1px solid #94a3b87a;border-radius:18px;width:100%;min-width:100%;height:100%;min-height:100%;transition:border-color .18s,box-shadow .18s,background .18s;position:relative;box-shadow:inset 0 0 0 1px #ffffff0a,0 18px 50px #0000002e}.group-node-card.selected{border-color:#94a3b8db;box-shadow:0 0 0 3px #94a3b829,inset 0 0 0 1px #ffffff0f,0 20px 56px #0003}.flow-shell .react-flow__node:has(.group-node-card){pointer-events:none;z-index:0!important}.group-node-header{color:#eef3fb;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);pointer-events:auto;cursor:move;background:#080c12d1;border:1px solid #ffffff1a;border-radius:12px;align-items:center;gap:8px;min-height:34px;padding:4px 6px 4px 10px;display:flex;position:absolute;top:10px;left:12px;right:12px}.group-node-title-input{color:#f9fafb;cursor:text;background:0 0;border:0;border-radius:8px;outline:none;flex:1;min-width:0;height:26px;padding:0 6px;font-size:13px;font-weight:700}.group-node-title-input:focus{background:#ffffff14}.group-node-count{color:#9ca8ba;white-space:nowrap;flex-shrink:0;font-size:12px}.group-node-ungroup{color:#e5e7eb;cursor:pointer;background:#ffffff0f;border:1px solid #ffffff1a;border-radius:999px;flex-shrink:0;height:28px;padding:0 10px;font-size:12px;transition:all .18s}.group-node-ungroup:hover{color:#111827;background:#7357ff;border-color:#27d9c76b}.meteor-edge{pointer-events:visibleStroke}.meteor-edge-glow,.meteor-edge-track,.meteor-edge-core{fill:none;stroke-linecap:round;stroke-linejoin:round}.meteor-edge-glow{pointer-events:none;stroke:#7357ff33;stroke-width:5.5px}.meteor-edge-track{stroke:#ffffff24;stroke-width:1.2px}.meteor-edge-core{pointer-events:none;stroke:#7357fff5;stroke-width:2.1px;stroke-dasharray:.07 .93;stroke-dashoffset:1px;animation:2.7s linear infinite meteor-edge-sweep}.meteor-edge.selected .meteor-edge-track{stroke:#ffffff57;stroke-width:2px}.meteor-edge.selected .meteor-edge-core{stroke:#7357ff;stroke-width:2.35px;filter:drop-shadow(0 0 4px #7357ff85)}.flow-shell .react-flow__connection-path{stroke:#7357ffe6;stroke-width:1.8px;stroke-linecap:round;stroke-dasharray:none;filter:drop-shadow(0 0 4px #7357ff47);animation:none}@keyframes meteor-edge-sweep{to{stroke-dashoffset:0}}.quick-skills{gap:12px;display:flex;transform:translate(-50%);top:44%!important}.quick-skills button{color:#fff;background:radial-gradient(circle at 18% 20%,#44d8c433,#0000 34%),linear-gradient(90deg,#121823fa,#121823b8);border:1px solid #ffffff1a;border-radius:8px;align-items:center;gap:8px;width:214px;height:56px;padding:0 14px;display:inline-flex;box-shadow:0 14px 34px #00000047}.quick-skills button span{color:#9ca8ba;margin-left:auto;font-size:12px}.empty-canvas-hint{color:#8b95a5;font-size:13px;transform:translate(-50%);top:calc(44% - 52px)!important}.bottom-tools{-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:#202327eb;border:1px solid #ffffff14;border-radius:8px;gap:6px;padding:6px;display:inline-flex;bottom:14px!important;left:16px!important}.bottom-tools button{color:#dce4ee;background:0 0;border:0;border-radius:7px;place-items:center;width:32px;height:32px;display:grid}.bottom-tools button:hover,.bottom-tools button.active{color:#06110f;background:#eef3fb}.bottom-tools .zoom-label{color:#eef3fb;background:0 0;width:54px;font-size:13px}.flow-node{background:#111823f7;border:1px solid #ffffff1a;border-radius:8px;width:230px;padding:12px;box-shadow:0 18px 42px #00000047}.flow-node.selected{border-color:#8ee2d2db;box-shadow:0 18px 42px #00000057,0 0 0 3px #8ee2d21f}.flow-node-head{align-items:center;gap:10px;min-width:0;display:flex}.flow-icon{border-radius:8px;flex:0 0 32px;place-items:center;width:32px;height:32px;display:grid}.flow-node-head div{min-width:0}.flow-node-head strong{color:#f7fafc;text-overflow:ellipsis;white-space:nowrap;font-size:14px;line-height:1.25;display:block;overflow:hidden}.flow-node-head small{color:#79869a;text-overflow:ellipsis;white-space:nowrap;margin-top:3px;font-size:10px;line-height:1.2;display:block;overflow:hidden}.flow-node p,.inspector-card p{color:#8d99ab;margin:11px 0 0;font-size:12px;line-height:1.45}.node-result-preview{aspect-ratio:16/9;background:#0c1119;border:1px solid #ffffff14;border-radius:8px;margin-top:12px;position:relative;overflow:hidden}.node-result-preview img{object-fit:cover;width:100%;height:100%;display:block}.node-result-preview span{color:#06110f;background:#ffffffeb;border-radius:999px;place-items:center;width:34px;height:34px;margin:auto;display:grid;position:absolute;inset:0}.flow-node-foot{color:#758195;justify-content:space-between;align-items:center;gap:10px;margin-top:12px;font-size:11px;display:flex}.flow-node-foot span:first-child{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.flow-node-foot .status{color:#06110f;background:#7357ff;border-radius:6px;flex:none;padding:3px 6px;font-weight:750}.libtv-text-node{color:#f5f7fb;background:#171717;border:1px solid #40e2f49e;border-radius:12px;width:350px;height:200px;padding:12px 16px;position:relative;box-shadow:0 0 0 3px #18c4e12e}.libtv-text-node.selected{border-color:#27d9c7;box-shadow:0 0 0 3px #18c4e13d,0 18px 42px #0000005c}.node-floating-title{color:#9aa4b4;align-items:center;gap:5px;width:350px;height:24px;font-size:13px;display:flex;position:absolute;top:-28px;left:0}.node-floating-title span{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.libtv-text-content{color:#f8fafc;white-space:pre-wrap;height:100%;padding-right:6px;font-size:14px;font-weight:650;line-height:1.9;overflow:auto}.libtv-text-content p{margin:0 0 6px}.libtv-text-content::-webkit-scrollbar{width:7px}.generator-prompt::-webkit-scrollbar{width:7px}.libtv-text-content::-webkit-scrollbar-thumb{background:#ffffff47;border-radius:999px}.generator-prompt::-webkit-scrollbar-thumb{background:#ffffff47;border-radius:999px}.resize-mark{border-bottom:2px solid #ffffff52;border-right:2px solid #ffffff52;width:10px;height:10px;position:absolute;bottom:8px;right:8px;transform:skew(-8deg)}.libtv-generator-node{background:#171717;border:1px solid #ffffffa3;border-radius:12px;width:350px;height:350px;position:relative;box-shadow:inset 0 0 0 1px #ffffff1f}.libtv-generator-node.selected{box-shadow:inset 0 0 0 2px #ffffff94,0 18px 42px #0000005c}.generator-preview{color:#ffffff47;place-items:center;width:100%;height:100%;display:grid;position:relative;overflow:hidden}.generator-preview img{object-fit:cover;width:100%;height:100%;display:block}.generator-preview .preview-play{color:#07100d;background:#ffffffeb;border-radius:999px;place-items:center;width:48px;height:48px;margin:auto;display:grid;position:absolute;inset:0}.generator-card{z-index:10;background:#262626;border:1px solid #ffffff17;border-radius:12px;flex-direction:column;gap:8px;width:640px;min-height:205px;padding:8px 10px 10px;display:flex;position:absolute;bottom:-18px;left:50%;transform:translate(-50%,100%);box-shadow:0 18px 40px #00000047}.generator-assets{align-items:center;gap:8px;min-height:48px;display:flex}.asset-chip{color:#fff;background:#3a3a3a;border-radius:8px;place-items:center;width:48px;height:48px;display:grid;position:relative}.asset-chip em{color:#fff;text-align:center;background:#00000094;border-radius:999px;min-width:14px;height:14px;font-size:9px;font-style:normal;line-height:14px;position:absolute;top:3px;right:3px}.fake-progress{background:#ffffff14;border-radius:999px;height:4px;overflow:hidden}.fake-progress span{border-radius:inherit;background:linear-gradient(90deg,#7357ff,#27d9c7,#7357ff);height:100%;transition:width .26s;display:block}.generator-prompt{color:#f3f6fb;white-space:pre-wrap;min-height:80px;max-height:100px;padding:6px 2px;font-size:14px;line-height:1.8;overflow:auto}.fake-result-text{color:#27d9c7;background:#44d8c414;border:1px solid #8ee2d22e;border-radius:8px;padding:8px 10px;font-size:12px;line-height:1.5}.generator-actions{align-items:center;gap:8px;min-height:34px;display:flex}.model-select,.icon-only,.run-arrow{border:0;border-radius:8px;justify-content:center;align-items:center;display:inline-flex}.model-select{color:#f5f7fb;background:0 0;gap:6px;min-width:108px;height:32px;padding:0 8px}.model-select:hover,.icon-only:hover{background:#ffffff14}.generator-spacer{flex:auto}.icon-only{color:#f5f7fb;background:0 0;width:32px;height:32px}.credit-count{color:#8b95a5;font-size:13px}.run-arrow{color:#111827;background:#fff;width:28px;height:28px}.run-arrow:disabled{color:#07100d;opacity:.9;background:#7357ff}.run-arrow:disabled svg{animation:.9s linear infinite spin}.run-arrow svg{transform:rotate(90deg)}.run-arrow:disabled svg{transform:none}@keyframes spin{to{transform:rotate(360deg)}}.libtv-handle{background:#252525;border:1.2px solid #fffc;border-radius:999px;width:20px;height:20px}.libtv-handle:after{content:"";background:#ffffffdb;width:10px;height:1.5px;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.libtv-handle:before{content:"";background:#ffffffdb;width:1.5px;height:10px;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.libtv-handle.left{left:-10px}.libtv-handle.right{right:-10px}.flow-port{background:#080c12;border:2px solid #27d9c7;width:10px;height:10px}.flow-port.in{left:-6px}.flow-port.out{right:-6px}.node-rules{background:#ffffff0a;border:1px solid #ffffff14;border-radius:8px;margin-top:18px;padding:13px}.floating-inspector{z-index:18;-webkit-backdrop-filter:blur(22px);backdrop-filter:blur(22px);opacity:0;pointer-events:none;background:#0c1119f0;border:1px solid #ffffff14;border-radius:14px;width:320px;max-height:calc(100% - 36px);padding:16px;transition:opacity .18s,transform .18s;position:absolute;top:18px;right:18px;overflow:auto;transform:translate(18px);box-shadow:0 24px 70px #0000005c}.floating-inspector.open{opacity:1;pointer-events:auto;transform:translate(0)}.node-rules h3{color:#edf3fb;margin:0 0 8px;font-size:13px;line-height:1.2}.node-rules p{color:#8793a6;margin:0;font-size:12px;line-height:1.55}.node-canvas{background:linear-gradient(#ffffff09 1px,#0000 1px) 0 0/32px 32px,linear-gradient(90deg,#ffffff09 1px,#0000 1px) 0 0/32px 32px,radial-gradient(circle at 50% 20%,#42d9c41f,#0000 32%),#080c12;flex:auto;min-height:0;position:relative;overflow:auto}.edge-layer{pointer-events:none;width:1000px;height:620px;position:absolute;inset:0}.edge-layer path{fill:none;stroke:#8ee2d29e;stroke-width:3px;stroke-linecap:round}.canvas-node{background:#111823f5;border:1px solid #ffffff1a;border-radius:8px;width:174px;min-height:92px;padding:12px;position:absolute;box-shadow:0 18px 42px #00000052}.node-head{align-items:center;gap:9px;display:flex}.node-head strong{color:#f5f7fb;font-size:14px}.canvas-node p{color:#8995a8;margin:10px 0 0;font-size:12px;line-height:1.45}.node-port{background:#080c12;border:2px solid #27d9c7;border-radius:999px;width:10px;height:10px;position:absolute;top:50%;transform:translateY(-50%)}.node-port.in{left:-6px}.node-port.out{right:-6px}.node-text{top:80px;left:70px}.node-upload{top:442px;left:70px}.node-t2i{top:240px;left:382px}.node-i2v{top:134px;left:730px}.node-t2v{top:426px;left:730px}.node-preview{top:284px;left:668px}.preview-window{aspect-ratio:16/9;background:#151d2b;border:1px solid #ffffff14;border-radius:8px;margin-bottom:18px;position:relative;overflow:hidden}.inspector-card{background:#121925;border:1px solid #ffffff14;border-radius:8px;margin-bottom:14px;padding:12px}.preview-window img{object-fit:cover;width:100%;height:100%;display:block}.preview-window button{color:#06110f;background:#ffffffe6;border:0;border-radius:999px;place-items:center;width:42px;height:42px;margin:auto;display:grid;position:absolute;inset:0}.field-group{gap:12px;margin-bottom:18px;display:grid}.field-group label{color:#8f9bad;gap:7px;font-size:12px;display:grid}.field-group select,.field-group input{color:#eef3fb;background:#121925;border:1px solid #ffffff14;border-radius:8px;outline:0;width:100%;height:38px;padding:0 11px}.empty-inspector{color:#7f8ba0;text-align:center;place-items:center;min-height:180px;display:grid}.empty-inspector p{margin:8px 0 0;font-size:13px}.schema-card{background:#0a0f17;border:1px solid #ffffff14;border-radius:8px;margin-top:18px;padding:12px}.schema-card>div{color:#dfe7f1;align-items:center;gap:8px;margin-bottom:10px;font-size:12px;display:flex}.schema-card pre{color:#27d9c7;white-space:pre-wrap;max-height:210px;margin:0;font-size:10px;line-height:1.45;overflow:auto}@media (width<=1180px){.masonry{grid-template-columns:repeat(3,minmax(0,1fr))}.login-shell{grid-template-columns:minmax(0,1fr) 390px;gap:28px}.login-visual h1{font-size:40px}.login-node-map{grid-template-columns:148px 1fr 148px;gap:20px;padding-inline:22px}.slide-card[data-position="-1"]{transform:translate(calc(-50% - 36vw))scale(.92)}.slide-card[data-position="1"]{transform:translate(calc(36vw - 50%))scale(.92)}.floating-inspector{width:310px}.quick-skills{grid-template-columns:repeat(2,214px);display:grid}}@media (width<=760px){.topbar{grid-template-columns:1fr auto;height:58px;padding:0 14px}.topnav{display:none}.user-chip{max-width:92px}.login-topbar{height:58px;padding:0 14px}.login-topbar .icon-text-button{height:34px;padding:0 10px}.login-page-centered{padding:72px 16px 24px}.login-back-button{top:14px;left:14px}.login-top-toast{width:calc(100vw - 28px);top:62px}.login-shell{grid-template-columns:1fr;gap:22px;width:calc(100% - 24px);min-height:auto;padding:24px 0}.login-visual h1{margin-top:14px;font-size:32px}.login-visual p{font-size:14px}.login-stage{min-height:230px;margin-top:20px}.login-node-map{grid-template-columns:1fr;gap:10px;padding:16px}.login-mini-node,.login-mini-node.image,.login-mini-node.video{grid-column:auto;min-height:72px;transform:none}.login-link-line{display:none}.login-metrics{grid-template-columns:1fr}.login-card{border-radius:14px;padding:16px}.login-card-centered{width:min(410px,100%);padding:20px}.stage,.show-section{width:calc(100% - 24px)}.stage{padding-top:12px}.carousel{height:255px}.slide-card,.slide-card[data-position="0"]{width:calc(100% - 18px);height:230px}.slide-card[data-position="-1"],.slide-card[data-position="1"]{opacity:0;transform:translate(-50%)scale(.86)}.slide-copy{bottom:18px;left:18px;right:18px}.slide-copy h1{font-size:22px}.stage-actions{flex-direction:column;gap:12px;margin-top:30px}.stage-actions .outline-action{width:100%}.carousel-arrow{width:30px;height:30px}.show-head{flex-direction:column;align-items:stretch}.search-box{width:100%}.masonry{grid-template-columns:1fr}.studio-topbar{flex-direction:column;align-items:flex-start;height:auto;padding:12px}.studio-actions{width:100%}.workflow-name-shell{width:100%;position:static;transform:none}.studio-actions button{flex:1 1 0}.studio-workspace{height:calc(100vh - 120px);min-height:640px}.floating-rail{width:auto;display:flex;top:auto;bottom:78px;left:10px;transform:none}.node-popover{width:calc(100% - 20px);max-height:430px;top:auto;bottom:132px;left:50px;transform:none}.quick-skills{grid-template-columns:1fr;width:min(320px,100vw - 28px);top:34%!important}.quick-skills button{width:100%}.floating-inspector{width:calc(100% - 20px);max-height:46%;top:12px;right:10px}.bottom-tools{bottom:10px!important;left:10px!important}}*{box-sizing:border-box;margin:0;padding:0}body{color:#e5e7eb;background:#0a0e1a;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,PingFang SC,Hiragino Sans GB,Microsoft YaHei,sans-serif}.studio-page{background:#0a0e1a;flex-direction:column;width:100vw;height:100vh;display:flex}.studio-topbar{background:#111827;border-bottom:1px solid #1f2937;flex-shrink:0;justify-content:space-between;align-items:center;height:64px;padding:0 24px;display:flex}.studio-left{align-items:center;gap:16px;display:flex}.studio-left h1{color:#f9fafb;font-size:16px;font-weight:600}.studio-left p{color:#9ca3af;margin-top:2px;font-size:13px}.icon-text-button{color:#d1d5db;cursor:pointer;background:0 0;border:1px solid #374151;border-radius:6px;align-items:center;gap:8px;padding:8px 12px;font-size:14px;transition:all .2s;display:flex}.icon-text-button:hover{background:#1f2937;border-color:#4b5563}.studio-actions{gap:12px;display:flex}.studio-ghost,.studio-primary{cursor:pointer;border:none;border-radius:6px;align-items:center;gap:8px;padding:8px 16px;font-size:14px;font-weight:500;transition:all .2s;display:flex}.studio-ghost{color:#d1d5db;background:0 0;border:1px solid #374151}.studio-ghost:hover{background:#1f2937;border-color:#4b5563}.studio-primary{color:#fff;background:linear-gradient(135deg,#7357ff 0% 100%);border:none}.studio-primary:hover{background:linear-gradient(135deg,#5e46d7 0% 100%)}.studio-workspace{flex:1;position:relative;overflow:hidden}.floating-rail{z-index:100;background:#111827;border:1px solid #1f2937;border-radius:12px;flex-direction:column;gap:8px;padding:8px;display:flex;position:absolute;top:20px;left:20px}.floating-rail button{color:#9ca3af;cursor:pointer;background:0 0;border:none;border-radius:8px;justify-content:center;align-items:center;width:48px;height:48px;transition:all .2s;display:flex}.floating-rail button:hover{color:#f9fafb;background:#1f2937}.floating-rail button.active{color:#fff;background:#7357ff}.floating-rail .support-avatar-button{padding:0}.support-avatar{color:#fff;letter-spacing:0;background:radial-gradient(circle at 32% 24%,#ffffffc7 0 10%,#0000 11%),linear-gradient(145deg,#27d9c7 0%,#7357ff 55%,#a855f7 100%);border:1px solid #fff3;border-radius:999px;justify-content:center;align-items:center;width:42px;height:34px;font-size:11px;font-weight:800;line-height:1;transition:transform .2s,box-shadow .2s;display:flex;box-shadow:0 8px 18px #6366f157}.floating-rail .support-avatar-button:hover .support-avatar{transform:translateY(-1px);box-shadow:0 10px 22px #38bdf857}.floating-rail .support-avatar-button.active{background:#7357ff2e}.history-modal-overlay{z-index:900;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);background:#0000009e;place-items:center;padding:28px;display:grid;position:fixed;inset:0}.history-panel{-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);background:#111827f5;border:1px solid #94a3b833;border-radius:16px;flex-direction:column;width:min(980px,100vw - 56px);height:min(720px,100vh - 56px);min-height:520px;display:flex;position:relative;overflow:hidden;box-shadow:0 24px 70px #0000006b}.history-header{background:#0f172ab8;border-bottom:1px solid #94a3b824;justify-content:space-between;align-items:center;gap:12px;padding:18px 20px 16px;display:flex}.history-header strong,.history-header small{display:block}.history-header strong{color:#fff;font-size:18px}.history-header small{color:#7f8ba0;margin-top:3px;font-size:13px}.history-header button{color:#9ca3af;background:0 0;border:0;border-radius:8px;flex:none;place-items:center;width:34px;height:34px;display:grid}.history-header button:hover{color:#fff;background:#ffffff14}.history-tabs{border-bottom:1px solid #94a3b81f;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;padding:14px 18px;display:grid}.history-tabs button{color:#9ca3af;background:#ffffff0a;border:1px solid #94a3b81f;border-radius:8px;min-width:0;height:40px;padding:0 12px;font-size:14px}.history-tabs button:hover{color:#fff;background:#ffffff14}.history-tabs button.active{color:#07100d;background:#7357ff;border-color:#27d9c75c;font-weight:800}.history-list{flex:1;min-height:0;padding:18px;overflow:auto}.history-workflow-item{color:#dbe3ee;text-align:left;background:#ffffff0a;border:1px solid #94a3b81f;border-radius:10px;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px;width:100%;min-height:68px;padding:12px;display:grid}.history-workflow-item+.history-workflow-item{margin-top:8px}.history-workflow-item:hover{background:#7357ff1f;border-color:#7357ff7a}.history-workflow-restore{min-width:0;color:inherit;cursor:pointer;text-align:left;background:0 0;border:0;grid-template-columns:36px minmax(0,1fr);align-items:center;gap:10px;padding:0;display:grid}.history-workflow-restore:disabled{cursor:wait;opacity:.58}.history-workflow-delete{color:#aeb8c8;cursor:pointer;background:0 0;border:1px solid #0000;border-radius:9px;place-items:center;width:36px;height:36px;transition:color .18s,border-color .18s,background .18s,transform .18s;display:grid}.history-workflow-delete:hover,.history-workflow-delete:focus-visible{color:#f5f6fa;background:#ff5d7329;border-color:#ff5d7385;outline:none}.history-workflow-delete:active{transform:scale(.94)}.history-workflow-delete:disabled{cursor:wait;opacity:.5}.history-item-icon{color:#a9c7ff;background:#5d8fff24;border-radius:8px;place-items:center;width:34px;height:34px;display:grid}.history-workflow-item strong,.history-workflow-item small,.history-media-item strong,.history-media-item small,.history-media-item p{text-overflow:ellipsis;white-space:nowrap;min-width:0;display:block;overflow:hidden}.history-workflow-item strong,.history-media-item strong{color:#eef3fb;font-size:14px}.history-workflow-item small,.history-media-item small{color:#7f8ba0;margin-top:4px;font-size:12px}.history-media-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;display:grid}.history-media-item{min-width:0;color:inherit;cursor:pointer;text-align:left;background:#ffffff0a;border:1px solid #94a3b81f;border-radius:10px;padding:10px;text-decoration:none}.history-media-item:hover{background:#ffffff12;border-color:#27d9c75c}.history-media-item img,.history-video-thumb,.history-video-player{aspect-ratio:16/10;background:#05070a;border-radius:8px;width:100%;margin-bottom:8px;overflow:hidden}.history-media-item img{object-fit:cover;display:block}.history-video-player{object-fit:contain;display:block}.history-video-thumb{color:#c9b3ff;background:linear-gradient(135deg,#7357ff2e,#44d8c414),#0f1117;place-items:center;gap:5px;display:grid}.history-video-thumb span{font-size:12px}.history-media-item p{color:#9ca3af;margin:6px 0 0;font-size:12px;line-height:1.4}.history-empty{color:#7f8ba0;border:1px dashed #94a3b82e;border-radius:10px;place-items:center;height:180px;font-size:13px;display:grid}.history-image-preview{z-index:3;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#05080ee0;place-items:center;padding:28px;display:grid;position:absolute;inset:0}.history-image-preview-body{place-items:center;gap:8px;width:min(760px,100%);min-height:0;max-height:100%;display:grid}.history-image-preview-body img{object-fit:contain;background:#05070a;border-radius:10px;max-width:100%;max-height:min(560px,100vh - 230px)}.history-image-preview-body strong{color:#fff;font-size:15px}.history-image-preview-body small{color:#9ca3af;font-size:12px}.history-image-preview-close{color:#e5e7eb;background:#ffffff1a;border:0;border-radius:8px;place-items:center;width:34px;height:34px;display:grid;position:absolute;top:18px;right:18px}.history-image-preview-close:hover{background:#ffffff2e}@media (width<=820px){.history-modal-overlay{padding:14px}.history-panel{width:calc(100vw - 28px);height:calc(100vh - 28px);min-height:0}.history-tabs,.history-media-grid{grid-template-columns:1fr}}.ai-chat-panel{z-index:120;-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);background:#111827f5;border:1px solid #94a3b833;border-radius:14px;flex-direction:column;width:390px;height:min(620px,100% - 40px);min-height:430px;display:flex;position:absolute;top:20px;left:88px;overflow:hidden;box-shadow:0 24px 70px #0000006b}.ai-chat-header{background:#0f172ab8;border-bottom:1px solid #94a3b824;justify-content:space-between;align-items:center;gap:12px;padding:14px 14px 12px;display:flex}.ai-chat-title{align-items:center;gap:10px;min-width:0;display:flex}.ai-chat-avatar{color:#fff;background:linear-gradient(145deg,#27d9c7 0%,#7357ff 54%,#a855f7 100%);border-radius:10px;flex:none;place-items:center;width:34px;height:34px;display:grid;box-shadow:0 10px 24px #6366f147}.ai-chat-title strong,.ai-chat-title small{text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.ai-chat-title strong{color:#f8fafc;font-size:15px;line-height:1.2}.ai-chat-title small{color:#94a3b8;margin-top:3px;font-size:12px}.ai-chat-header button{color:#94a3b8;background:0 0;border:0;border-radius:8px;flex:none;place-items:center;width:32px;height:32px;display:grid}.ai-chat-header button:hover{color:#f8fafc;background:#ffffff14}.ai-chat-messages{flex:auto;min-height:0;padding:16px 14px;overflow:auto}.ai-chat-messages::-webkit-scrollbar{width:7px}.ai-chat-composer textarea::-webkit-scrollbar{width:7px}.ai-chat-messages::-webkit-scrollbar-thumb{background:#94a3b84d;border-radius:999px}.ai-chat-composer textarea::-webkit-scrollbar-thumb{background:#94a3b84d;border-radius:999px}.ai-chat-message{margin-bottom:12px;display:flex}.ai-chat-message p{color:#dbeafe;white-space:pre-wrap;border-radius:12px;max-width:82%;margin:0;padding:10px 12px;font-size:14px;line-height:1.55}.ai-chat-message.assistant{justify-content:flex-start}.ai-chat-message.assistant p{background:#1e293bf5;border:1px solid #94a3b81f;border-top-left-radius:4px}.ai-chat-message.pending p{color:#bfdbfe;border-color:#60a5fa38}.ai-chat-message.user{justify-content:flex-end}.ai-chat-message.user p{color:#fff;background:linear-gradient(135deg,#5e46d7,#5e46d7);border-top-right-radius:4px;box-shadow:0 10px 24px #2563eb2e}.ai-chat-composer{background:#0f172acc;border-top:1px solid #94a3b824;grid-template-columns:minmax(0,1fr) 38px;gap:8px;padding:12px;display:grid}.ai-model-row{grid-column:1/-1;min-width:0;display:flex}.ai-model-row label{background:#02061757;border:1px solid #94a3b829;border-radius:9px;align-items:center;gap:8px;min-width:0;max-width:100%;padding:4px 7px;display:inline-flex}.ai-model-row span{color:#94a3b8;flex:none;font-size:13px}.ai-model-row select{color:#f8fafc;min-width:0;height:26px;font:inherit;background:0 0;border:0;outline:0;padding:0 24px 0 0;font-size:13px;font-weight:650}.ai-model-row select option{color:#111827;background:#fff}.ai-chat-composer textarea{resize:none;color:#f8fafc;width:100%;min-height:44px;max-height:110px;font:inherit;background:#02061780;border:1px solid #94a3b82e;border-radius:10px;outline:0;padding:10px 11px;font-size:14px;line-height:1.45}.ai-chat-composer textarea:focus{border-color:#7357ffad;box-shadow:0 0 0 3px #7357ff1f}.ai-chat-composer textarea::placeholder{color:#64748b}.ai-chat-composer button{color:#fff;background:#7357ff;border:0;border-radius:10px;align-self:end;place-items:center;width:38px;height:38px;display:grid;box-shadow:0 10px 24px #7357ff42}.ai-chat-composer button:hover:not(:disabled){background:#5e46d7}.ai-chat-composer button:disabled{cursor:not-allowed;opacity:.45;box-shadow:none}.node-popover{z-index:100;background:#111827;border:1px solid #1f2937;border-radius:12px;width:320px;padding:16px;position:absolute;top:20px;left:88px;box-shadow:0 20px 40px #00000080}.popover-title{color:#f9fafb;margin-bottom:12px;font-size:14px;font-weight:600}.node-list{flex-direction:column;gap:8px;display:flex}.node-template{cursor:pointer;text-align:left;background:#1f2937;border:1px solid #374151;border-left:3px solid;border-radius:8px;align-items:center;gap:12px;padding:12px;transition:all .2s;display:flex}.node-template:hover{background:#374151;transform:translate(4px)}.node-template span{background:#7357ff1a;border-radius:6px;flex-shrink:0;justify-content:center;align-items:center;width:36px;height:36px;display:flex}.node-template strong{color:#f9fafb;margin-bottom:0;font-size:14px;font-weight:600;display:block}.canvas-shell,.flow-shell{width:100%;height:100%}.react-flow{background:#0a0e1a}.text-node-card{background:#0f1117;border:2px solid #374151;border-radius:12px;width:480px;transition:all .2s;position:relative;overflow:visible;box-shadow:0 4px 12px #0000004d}.text-node-card.selected{border-color:#7357ff;box-shadow:0 0 0 3px #3b82f633}.audio-node-card{background:#0f1117;border:2px solid #374151;border-radius:12px;width:360px;transition:all .2s;position:relative;overflow:visible;box-shadow:0 4px 12px #0000004d}.audio-node-card.selected{border-color:#7357ff;box-shadow:0 0 0 3px #7357ff2e}.text-node-header{color:#9ca3af;background:0 0;align-items:center;gap:6px;padding:8px 12px;font-size:13px;display:flex}.text-node-header svg,.node-header svg{flex:none}.node-title-text{min-width:0;max-width:100%;color:inherit;text-overflow:ellipsis;white-space:nowrap;cursor:text;border-radius:6px;flex:auto;padding:2px 5px;line-height:1.25;transition:background .15s,color .15s;overflow:hidden}.node-title-text:hover{color:#f9fafb;background:#ffffff14}.node-title-input{color:#f9fafb;min-width:0;height:24px;font:inherit;cursor:text;background:#0f1117eb;border:1px solid #94a3b857;border-radius:6px;outline:none;flex:auto;padding:0 6px;font-weight:700}.node-title-input:focus{border-color:#7357ffcc;box-shadow:0 0 0 2px #7357ff2e}.text-node-content{cursor:pointer;background:#1a1d23;border:1px solid #374151;border-radius:8px;min-height:200px;max-height:200px;margin:12px;padding:16px;transition:all .2s;overflow-y:auto}.connect-drop-zone{position:relative}.content-drop-handle{z-index:2;opacity:0!important;pointer-events:none!important;background:0 0!important;border:0!important;border-radius:8px!important;width:100%!important;min-width:100%!important;height:100%!important;min-height:100%!important;position:absolute!important;inset:0!important;transform:none!important}.content-drop-handle:before,.content-drop-handle:after{content:none!important;display:none!important}.connect-drop-zone:hover .content-drop-handle,.connect-drop-zone .content-drop-handle.connectingto,.connect-drop-zone .content-drop-handle.valid{outline-offset:-2px;outline:1px solid #ffffff57;opacity:.06!important}.text-node-content:hover{background:#1e2128;border-color:#4b5563}.audio-node-content{cursor:pointer;background:#1a1d23;border:1px solid #374151;border-radius:8px;min-height:150px;max-height:150px;margin:12px;padding:16px;transition:all .2s;overflow:hidden}.audio-node-content:hover{background:#1e2128;border-color:#4b5563}.audio-display{color:#d1d5db;align-content:center;gap:10px;height:118px;display:grid;position:relative}.audio-node-content .text-content-placeholder{height:118px}.audio-upload-content-button{color:#dbeafe;opacity:0;cursor:pointer;background:#0f1117e0;border:1px solid #374151;border-radius:7px;place-items:center;width:28px;height:28px;transition:opacity .16s,border-color .16s,background .16s,color .16s;display:grid;position:absolute;top:0;right:0}.audio-node-content:hover .audio-upload-content-button,.audio-upload-content-button:focus-visible{opacity:1}.audio-upload-content-button:hover:not(:disabled){background:#3b82f62e;border-color:#60a5fab8}.audio-upload-content-button:disabled{cursor:not-allowed;opacity:.5}.audio-upload-content-inline{flex-direction:column;align-items:center;gap:6px;margin-top:6px;display:inline-flex}.audio-display-icon{color:#7357ff;background:#7357ff1f;border:1px solid #7357ff57;border-radius:999px;place-items:center;width:42px;height:42px;display:grid}.canvas-asset-drag-source{cursor:grab}.canvas-asset-drag-source:active{cursor:grabbing}.audio-display audio,.result-audio audio{width:100%}.audio-display>span{color:#9ca3af;text-overflow:ellipsis;white-space:nowrap;font-size:12px;overflow:hidden}.text-content-editor{color:#e5e7eb;resize:none;background:0 0;border:0;outline:none;width:100%;height:168px;min-height:168px;padding:0 4px 0 0;font-family:inherit;font-size:13px;line-height:1.6;overflow:auto}.text-content-placeholder{color:#6b7280;flex-direction:column;justify-content:center;align-items:center;gap:8px;height:168px;font-size:13px;display:flex}.text-content-loading{color:#9ca3af;flex-direction:column;justify-content:center;align-items:center;gap:12px;height:168px;font-size:13px;display:flex}.node-generation-loading-row,.node-generating-actions{justify-content:center;align-items:center;gap:8px;max-width:100%;display:inline-flex}.node-generation-loading-row{text-align:center;flex-wrap:wrap;padding:0 10px}.node-generation-cancel{color:#7357ff;letter-spacing:.02em;cursor:pointer;background:linear-gradient(#7357ff2e,#7357ff29);border:1px solid #7357ff94;border-radius:999px;min-width:52px;height:26px;padding:0 12px;font-size:12px;font-weight:750;line-height:1;transition:transform .16s,border-color .16s,background .16s,color .16s;box-shadow:inset 0 1px #f5f6fa2e,0 6px 18px #7357ff1f}.node-generation-cancel:hover{color:#7357ff;background:linear-gradient(#7357ff42,#7357ff38);border-color:#7357ffeb;transform:translateY(-1px)}.node-generation-cancel:active{transform:translateY(0)}.node-generation-cancel.compact{min-width:44px;height:22px;padding:0 9px;font-size:11px}.image-node-content .text-content-loading .loading-spinner,.video-node-content .text-content-loading .loading-spinner{border-color:#7357ff #7357ff2e #7357ff2e;box-shadow:0 0 22px #7357ff2e}.text-content-failed{color:#ff5d73;flex-direction:column;justify-content:center;align-items:center;gap:10px;height:168px;font-size:13px;font-weight:650;display:flex}.text-content-failed svg{color:#ff5d73;background:#ef44441f;border:1px solid #ef444457;border-radius:999px;padding:6px}.loading-spinner{border:3px solid #3b82f633;border-top-color:#7357ff;border-radius:50%;width:40px;height:40px;animation:.8s linear infinite spin}.text-node-input-panel{box-sizing:border-box;width:150%;margin-top:calc(18px * var(--node-panel-counter-scale,1));z-index:5;pointer-events:auto;touch-action:pan-y;transform:scale(var(--node-panel-counter-scale,1));transform-origin:top;background:#1a1d23;border:1px solid #374151;border-radius:18px;padding:24px;animation:.2s ease-out slideDown;position:absolute;top:100%;left:-25%;right:auto;box-shadow:0 8px 24px #0006}@keyframes slideDown{0%{opacity:0;transform:translateY(-10px) scale(var(--node-panel-counter-scale,1))}to{opacity:1;transform:translateY(0) scale(var(--node-panel-counter-scale,1))}}.text-input-wrapper{margin-bottom:18px;position:relative}.text-input-wrapper .text-input-area{padding-right:58px}.prompt-inline-editor-preview{color:#e5e7eb;white-space:pre-wrap;overflow-wrap:anywhere;word-break:break-word;cursor:text;overscroll-behavior:contain;background:#0f1117;border:1px solid #374151;border-radius:12px;width:100%;height:192px;min-height:192px;max-height:192px;padding:18px 58px 18px 18px;font-family:inherit;font-size:15px;line-height:1.55;transition:border-color .2s,background .2s,box-shadow .2s;overflow:auto}.prompt-inline-editor-preview:hover,.prompt-inline-editor-preview:focus-visible{box-shadow:none;background:#0f1117;border-color:#374151;outline:none}.prompt-inline-editor-preview:empty:before{color:#6b7280;content:attr(data-placeholder);pointer-events:none}.prompt-inline-mention{color:#7357ff;white-space:normal;overflow-wrap:anywhere;word-break:break-word;display:inline}.prompt-inline-mention-prefix{white-space:nowrap}.prompt-inline-mention-thumb{color:#9ca3b8;vertical-align:-5px;background:#1e2231;border:1px solid #ffffff29;border-radius:4px;place-items:center;width:20px;height:20px;margin-right:4px;display:inline-grid;overflow:hidden}.prompt-inline-mention-thumb.image{color:#27d9c7;background:#27d9c71f}.prompt-inline-mention-thumb.video{color:#846dff;background:#846dff24}.prompt-inline-mention-thumb.audio{color:#7357ff;background:#7357ff24}.prompt-inline-mention-thumb.audio:before{content:"♪";font-size:12px;line-height:1}.prompt-inline-mention-thumb.text:before{content:"T";font-size:10px;font-weight:700;line-height:1}.prompt-inline-mention-thumb img,.prompt-inline-video-preview,.prompt-inline-video-preview .video-preview-frame,.prompt-inline-video-preview video,.prompt-inline-mention-thumb>video{border-radius:inherit;object-fit:cover;width:100%;height:100%;min-height:0;display:block}.prompt-inline-video-preview .media-preview-loading,.prompt-inline-video-preview .video-preview-placeholder{font-size:0}.prompt-inline-video-preview .video-preview-placeholder svg{width:10px;height:10px}.prompt-expand-button{z-index:6;color:#cbd5e1;cursor:pointer;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#0f1117d1;border:1px solid #ffffff1f;border-radius:12px;place-items:center;width:38px;height:38px;transition:transform .18s,border-color .18s,background .18s,color .18s;display:inline-grid;position:absolute;top:10px;right:10px;box-shadow:0 10px 24px #00000047}.prompt-expand-button:hover,.prompt-expand-button:focus-visible{color:#7357ff;background:#111827f0;border-color:#27d9c7b8;outline:none;transform:translateY(-1px)}.prompt-fullscreen-overlay{z-index:2400;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);pointer-events:auto;background:#030712b8;place-items:center;padding:32px;animation:.16s ease-out promptOverlayFadeIn;display:grid;position:fixed;inset:0}.prompt-fullscreen-panel{background:linear-gradient(#1e293bfa,#0f172afa),#0f172a;border:1px solid #94a3b847;border-radius:24px;flex-direction:column;width:min(980px,100vw - 48px);height:min(780px,100vh - 64px);min-height:520px;animation:.18s ease-out promptPanelScaleIn;display:flex;position:relative;overflow:hidden;box-shadow:0 32px 120px #0000009e}.prompt-fullscreen-header{border-bottom:1px solid #94a3b82e;justify-content:space-between;align-items:flex-start;gap:18px;min-height:86px;padding:22px 24px 18px;display:flex}.prompt-fullscreen-header div{gap:4px;min-width:0;display:grid}.prompt-fullscreen-header span{color:#94a3b8;letter-spacing:.06em;text-overflow:ellipsis;text-transform:uppercase;white-space:nowrap;font-size:12px;font-weight:700;overflow:hidden}.prompt-fullscreen-header strong{color:#f8fafc;font-size:20px;font-weight:820;line-height:1.25}.prompt-fullscreen-header small{color:#94a3b8;font-size:13px;line-height:1.4}.prompt-fullscreen-close{color:#cbd5e1;cursor:pointer;background:#0f172ac7;border:1px solid #94a3b82e;border-radius:14px;flex:0 0 44px;place-items:center;width:44px;height:44px;transition:border-color .18s,background .18s,color .18s;display:inline-grid}.prompt-fullscreen-close:hover,.prompt-fullscreen-close:focus-visible{color:#fff;background:#1e293bf5;border-color:#f8fafc47;outline:none}.prompt-fullscreen-textarea{color:#e5e7eb;resize:none;overscroll-behavior:contain;background:#020617c7;border:0;border-radius:0;outline:none;flex:auto;width:auto;height:auto;min-height:0;max-height:none;margin:0;padding:24px;font-family:inherit;font-size:16px;line-height:1.7;overflow:auto}.prompt-fullscreen-textarea.prompt-inline-editor-preview:hover,.prompt-fullscreen-textarea.prompt-inline-editor-preview:focus-visible{background:#020617c7;border:0}.prompt-fullscreen-textarea:empty:before{color:#64748b}.prompt-fullscreen-materials{background:#0f172ae6;border-top:1px solid #94a3b82e;flex:none;padding:14px 20px 16px}.prompt-fullscreen-materials-head,.prompt-fullscreen-mention-head{color:#cbd5e1;justify-content:space-between;align-items:center;gap:12px;font-size:12px;font-weight:700;display:flex}.prompt-fullscreen-materials-head span{color:#64748b;font-variant-numeric:tabular-nums}.prompt-fullscreen-materials-list{gap:9px;min-height:64px;margin-top:10px;padding-bottom:2px;display:flex;overflow-x:auto}.prompt-fullscreen-material{color:#cbd5e1;cursor:pointer;text-align:left;background:#1e2231d1;border:1px solid #94a3b833;border-radius:9px;flex-direction:column;align-items:stretch;gap:5px;width:118px;min-width:118px;padding:0;display:flex;position:relative;overflow:hidden}.prompt-fullscreen-material:hover,.prompt-fullscreen-material:focus-visible{background:#2a2f42f2;border-color:#7357ffb8;outline:none}.prompt-fullscreen-material-thumb{color:#9ca3b8;background:#0e1017;border:0;flex:0 0 54px;place-items:center;width:100%;height:54px;padding:0;display:grid;overflow:hidden}.prompt-fullscreen-material-thumb img,.prompt-fullscreen-material-thumb video{object-fit:cover;width:100%;height:100%}.prompt-fullscreen-material-preview-trigger{cursor:zoom-in}.prompt-fullscreen-material-preview-trigger:focus-visible{outline-offset:-2px;outline:2px solid #7357ff}.prompt-fullscreen-material-name{color:#e2e8f0;text-overflow:ellipsis;white-space:nowrap;padding:0 24px 8px 8px;font-size:11px;overflow:hidden}.prompt-fullscreen-material-insert{width:100%;min-width:0;color:inherit;cursor:pointer;text-align:left;background:0 0;border:0;padding:0;display:block;position:relative}.prompt-fullscreen-material-insert:focus-visible{outline-offset:-2px;outline:2px solid #7357ff}.prompt-fullscreen-material-at{color:#7357ff;font-size:13px;font-weight:800;position:absolute;bottom:6px;right:7px}.prompt-fullscreen-material-empty{color:#64748b;align-items:center;font-size:12px;display:flex}.prompt-fullscreen-asset-preview{z-index:8;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);cursor:zoom-out;background:#020617db;place-items:center;padding:68px 34px 54px;display:grid;position:absolute;inset:0}.prompt-fullscreen-asset-preview-close{z-index:2;color:#e2e8f0;cursor:pointer;background:#0f172ae6;border:1px solid #94a3b847;border-radius:12px;place-items:center;width:40px;height:40px;display:grid;position:absolute;top:18px;right:20px}.prompt-fullscreen-asset-preview-close:hover,.prompt-fullscreen-asset-preview-close:focus-visible{color:#7357ff;border-color:#7357ffb8;outline:none}.prompt-fullscreen-asset-preview-content{cursor:default;background:#0f172af0;border:1px solid #94a3b83d;border-radius:14px;place-items:center;width:min(860px,100%);height:min(560px,100%);display:grid;overflow:hidden}.prompt-fullscreen-asset-preview-content.image img{object-fit:contain;max-width:100%;max-height:100%;display:block}.prompt-fullscreen-asset-preview-content.video .video-preview-frame{background:0 0;border:0;width:100%;height:100%;min-height:0}.prompt-fullscreen-asset-preview-content.video .video-preview-frame video{object-fit:contain;width:100%;height:100%}.prompt-fullscreen-audio-preview{color:#7357ff;background:#1e2231e6;border:1px solid #7357ff47;border-radius:14px;place-items:center;gap:22px;width:min(500px,100% - 48px);padding:34px 28px;display:grid}.prompt-fullscreen-audio-preview audio{width:100%}.prompt-fullscreen-text-preview{color:#e2e8f0;width:100%;height:100%;padding:24px;line-height:1.7;overflow:auto}.prompt-fullscreen-text-preview strong{color:#f8fafc;font-size:16px}.prompt-fullscreen-text-preview p{white-space:pre-wrap;margin:14px 0 0}.prompt-fullscreen-asset-preview-title{color:#cbd5e1;text-overflow:ellipsis;white-space:nowrap;font-size:12px;position:absolute;bottom:18px;left:34px;right:70px;overflow:hidden}.prompt-fullscreen-mention-menu{z-index:3;pointer-events:auto;background:#0f172afa;border:1px solid #94a3b83d;border-radius:12px;width:min(360px,100% - 40px);max-height:min(300px,100% - 200px);position:absolute;top:180px;left:20px;overflow:hidden;box-shadow:0 20px 45px #0000007a}.prompt-fullscreen-mention-head{border-bottom:1px solid #94a3b824;padding:10px 12px}.prompt-fullscreen-mention-head small{color:#64748b;font-weight:500}.prompt-fullscreen-mention-list{max-height:230px;padding:5px;overflow-y:auto}.prompt-fullscreen-mention-list button{color:#cbd5e1;cursor:pointer;text-align:left;background:0 0;border:0;border-radius:8px;align-items:center;gap:9px;width:100%;padding:7px;display:flex}.prompt-fullscreen-mention-list button:hover,.prompt-fullscreen-mention-list button.active{background:#2a2f42bf}.prompt-fullscreen-mention-thumb{color:#9ca3b8;background:#1e2231;border-radius:5px;flex:0 0 38px;place-items:center;width:38px;height:32px;display:grid;overflow:hidden}.prompt-fullscreen-mention-thumb img,.prompt-fullscreen-mention-thumb video{object-fit:cover;width:100%;height:100%}.prompt-fullscreen-mention-list button>span:last-child{gap:2px;min-width:0;display:grid}.prompt-fullscreen-mention-list strong{color:#f1f5f9;text-overflow:ellipsis;white-space:nowrap;font-size:12px;overflow:hidden}.prompt-fullscreen-mention-list small{color:#94a3b8;font-size:11px}.prompt-fullscreen-footer{background:#0f172af0;border-top:1px solid #94a3b82e;justify-content:space-between;align-items:center;gap:16px;min-height:72px;padding:14px 20px 18px;display:flex}.prompt-fullscreen-footer span{color:#94a3b8;font-variant-numeric:tabular-nums;font-size:13px}.prompt-fullscreen-footer button{color:#111827;cursor:pointer;background:#7357ff;border:0;border-radius:14px;justify-content:center;align-items:center;min-width:120px;height:44px;font-size:14px;font-weight:800;transition:transform .18s,filter .18s;display:inline-flex;box-shadow:0 14px 30px #27d9c729}.prompt-fullscreen-footer button:hover,.prompt-fullscreen-footer button:focus-visible{filter:brightness(1.04);outline:none;transform:translateY(-1px)}@keyframes promptOverlayFadeIn{0%{opacity:0}to{opacity:1}}@keyframes promptPanelScaleIn{0%{opacity:0;transform:translateY(8px)scale(.98)}to{opacity:1;transform:translateY(0)scale(1)}}@media (width<=760px){.prompt-fullscreen-overlay{padding:14px}.prompt-fullscreen-panel{border-radius:18px;width:calc(100vw - 28px);height:calc(100vh - 28px);min-height:0}.prompt-fullscreen-header{min-height:78px;padding:18px}.prompt-fullscreen-header strong{font-size:18px}.prompt-fullscreen-textarea{padding:18px;font-size:15px}}@media (prefers-reduced-motion:reduce){.prompt-expand-button,.prompt-fullscreen-overlay,.prompt-fullscreen-panel,.prompt-fullscreen-close,.prompt-fullscreen-footer button{transition:none;animation:none}}.audio-control-left{flex:auto;align-items:center;gap:8px;min-width:0;display:flex}.audio-control-left .model-selector{flex:0 0 142px;width:142px}.audio-voice-select-trigger{color:#e5e7eb;cursor:pointer;background:#0f1117;border:1px solid #374151;border-radius:6px;flex:0 112px;justify-content:space-between;align-items:center;gap:6px;width:112px;min-width:0;height:32px;padding:0 10px;font-size:13px;line-height:1;display:flex}.audio-voice-select-trigger:hover{background:#1a1d23;border-color:#4b5563}.audio-voice-select-trigger span{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.audio-voice-modal-overlay{z-index:120;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);pointer-events:auto;background:#000000a3;place-items:center;padding:24px;display:grid;position:fixed;inset:0}.audio-voice-modal{background:#242424;border:1px solid #ffffff1a;border-radius:12px;flex-direction:column;width:min(800px,100vw - 32px);max-height:min(620px,100vh - 40px);display:flex;overflow:hidden;box-shadow:0 24px 90px #0000008f}.audio-voice-modal-head{border-bottom:1px solid #ffffff14;justify-content:space-between;align-items:center;height:56px;padding:0 16px;display:flex}.audio-voice-modal-head strong{color:#f5f5f5;font-size:14px;font-weight:750}.audio-voice-modal-head button{color:#9ca3af;background:0 0;border:0;border-radius:8px;place-items:center;width:32px;height:32px;display:grid}.audio-voice-modal-head button:hover{color:#f9fafb;background:#ffffff14}.audio-voice-toolbar{background:#242424;grid-template-columns:auto minmax(180px,1fr) minmax(96px,auto) minmax(128px,auto);align-items:center;gap:8px;padding:16px;display:grid}.audio-voice-library-tab{color:#fff;background:#515151;border-radius:9px;justify-content:center;align-items:center;height:40px;padding:0 20px;font-size:13px;font-weight:760;display:inline-flex}.audio-voice-upload-button{color:#e5e7eb;cursor:pointer;background:#ffffff0f;border:1px solid #ffffff29;border-radius:8px;align-items:center;gap:5px;height:30px;padding:0 9px;font-size:12px;font-weight:700;display:inline-flex}.audio-voice-upload-button:hover{color:#7357ff;border-color:#7357ff8c}.audio-voice-upload-button.uploading{cursor:wait;opacity:.65}.audio-voice-upload-button input{display:none}.audio-voice-upload-error{color:#ff5d73;text-overflow:ellipsis;white-space:nowrap;max-width:220px;font-size:11px;overflow:hidden}.audio-voice-search{color:#8d949e;background:#343434;border:1px solid #ffffff0a;border-radius:9px;align-items:center;gap:8px;min-width:0;height:40px;padding:0 12px;display:flex}.audio-voice-search input{color:#f3f4f6;background:0 0;border:0;outline:none;width:100%;min-width:0;font-size:13px}.audio-voice-search input::placeholder{color:#8b8f96}.audio-voice-filter{color:#f3f4f6;background:#343434;border-radius:12px;align-items:center;gap:7px;min-width:0;height:40px;padding:0 12px;display:flex}.audio-voice-filter select{color:#f3f4f6;cursor:pointer;background:0 0;border:0;outline:none;min-width:0;max-width:160px;font-size:13px;font-weight:700}.audio-voice-filter option{color:#f3f4f6;background:#1f1f1f}.audio-voice-list{gap:6px;min-height:280px;padding:0 16px 14px;transition:opacity .12s;display:grid;overflow:auto}.audio-voice-list[aria-busy=true]{opacity:.78}.audio-voice-list::-webkit-scrollbar{width:8px}.audio-voice-list::-webkit-scrollbar-track{background:0 0}.audio-voice-list::-webkit-scrollbar-thumb{background:#8d949e;border-radius:999px}.audio-voice-row{color:#f5f5f5;text-align:left;cursor:pointer;background:#303030;border:1px solid #0000;border-radius:10px;grid-template-columns:42px minmax(120px,1fr) auto minmax(154px,auto);align-items:center;gap:12px;min-height:62px;padding:8px 14px;transition:border-color .18s,background .18s;display:grid}.audio-voice-row:hover{background:#363636;border-color:#ffffff1f}.audio-voice-row.active{background:#7357ff1f;border-color:#7357ff70}.audio-voice-wave{color:#f3f4f6;background:#4b4b4b;border-radius:8px;place-items:center;width:40px;height:40px;display:grid}.audio-voice-row strong{color:#f6f6f6;text-overflow:ellipsis;white-space:nowrap;min-width:0;font-size:14px;font-weight:760;overflow:hidden}.audio-voice-tags{justify-content:flex-end;gap:6px;min-width:0;display:flex}.audio-voice-tags em{color:#a9adb5;text-overflow:ellipsis;white-space:nowrap;background:#ffffff0d;border-radius:4px;align-items:center;max-width:96px;height:18px;padding:0 6px;font-size:11px;font-style:normal;line-height:1;display:inline-flex;overflow:hidden}.audio-voice-select-pill{color:#111827;cursor:pointer;background:#f8fafc;border:0;border-radius:999px;justify-content:center;align-items:center;gap:4px;height:30px;padding:0 10px;font-size:12px;font-weight:760;display:inline-flex}.audio-voice-actions{justify-content:flex-end;align-items:center;gap:6px;display:inline-flex}.audio-voice-preview-button{color:#e5e7eb;cursor:pointer;background:#ffffff0f;border:1px solid #ffffff29;border-radius:999px;justify-content:center;align-items:center;gap:4px;height:30px;padding:0 8px;font-size:12px;font-weight:700;display:inline-flex}.audio-voice-preview-button:hover:not(:disabled){color:#7357ff;background:#7357ff1f;border-color:#7357ff8c}.audio-voice-preview-button:disabled{cursor:not-allowed;opacity:.42}.audio-voice-row.active .audio-voice-select-pill{color:#111827;background:#7357ff}.audio-voice-empty{color:#9ca3af;background:#ffffff08;border:1px dashed #ffffff1a;border-radius:10px;place-items:center;min-height:220px;font-size:13px;display:grid}.audio-voice-pagination{color:#a1a1aa;background:#242424;border-top:1px solid #ffffff14;align-items:center;gap:8px;min-height:54px;padding:10px 16px;display:flex}.audio-voice-pagination button{color:#a1a1aa;background:0 0;border:0;border-radius:8px;place-items:center;min-width:30px;height:30px;font-size:13px;display:inline-grid}.audio-voice-pagination button.active{color:#fff;background:#505050}.audio-voice-pagination button:disabled{cursor:not-allowed;opacity:.36}.audio-voice-page-info{align-items:center;gap:10px;min-width:0;margin-left:auto;display:flex}.audio-voice-page-info span{color:#a1a1aa;text-overflow:ellipsis;white-space:nowrap;max-width:240px;font-size:12px;overflow:hidden}.audio-voice-page-info .warn{color:#7357ff}.text-input-area{color:#e5e7eb;overscroll-behavior:contain;resize:none;touch-action:pan-y;background:#0f1117;border:1px solid #374151;border-radius:12px;width:100%;height:192px;min-height:192px;max-height:192px;padding:18px;font-family:inherit;font-size:15px;line-height:1.55;transition:all .2s;overflow:auto}.text-input-area:focus{background:#1a1d23;border-color:#4b5563;outline:none;box-shadow:0 0 0 3px #3b82f61a}.text-input-area::placeholder{color:#6b7280}.video-mention-menu{z-index:80;background:#0f1117fa;border:1px solid #94a3b83d;border-radius:10px;position:absolute;top:calc(100% + 6px);left:8px;right:8px;overflow:hidden;box-shadow:0 18px 40px #0000006b}.video-mention-menu-head{color:#e5e7eb;border-bottom:1px solid #94a3b824;justify-content:space-between;align-items:center;gap:10px;padding:8px 10px;font-size:12px;font-weight:700;display:flex}.video-mention-menu-head small{color:#7c8797;font-size:11px;font-weight:500}.video-mention-list{max-height:184px;padding:6px;overflow-y:auto}.video-mention-item{color:#d1d5db;cursor:pointer;text-align:left;background:0 0;border:0;border-radius:8px;align-items:center;gap:9px;width:100%;padding:8px;display:flex}.video-mention-item:hover,.video-mention-item.active{color:#f9fafb;background:#7357ff29}.video-mention-icon{background:#94a3b81f;border-radius:8px;flex:0 0 28px;place-items:center;width:28px;height:28px;display:grid}.video-mention-icon.image{color:#27d9c7;background:#27d9c71f}.video-mention-icon.video{color:#c4b5fd;background:#7357ff24}.video-mention-icon.audio{color:#7357ff;background:#7357ff24}.video-mention-preview{overflow:hidden}.video-mention-preview img,.video-mention-video-preview,.video-mention-video-preview .video-preview-frame{border-radius:inherit;width:100%;height:100%;min-height:0;display:block}.video-mention-preview img{object-fit:cover}.video-mention-video-preview .video-preview-frame{background:0 0;overflow:hidden}.video-mention-video-preview .video-preview-frame video{border-radius:inherit;object-fit:cover;width:100%;height:100%;min-height:0}.video-mention-video-preview .media-preview-loading,.video-mention-video-preview .video-preview-placeholder{font-size:0}.video-mention-video-preview .video-preview-placeholder svg{width:14px;height:14px}.video-mention-main{gap:2px;min-width:0;display:grid}.video-mention-main strong{color:inherit;text-overflow:ellipsis;white-space:nowrap;font-size:12px;font-weight:700;overflow:hidden}.video-mention-main small{color:#8b95a5;font-size:11px}.video-mention-empty{color:#8b95a5;text-align:center;padding:14px 12px;font-size:12px}.text-node-controls{justify-content:space-between;align-items:center;gap:8px;display:flex}.audio-node-controls{flex-wrap:wrap;justify-content:flex-start;align-items:center;gap:8px}.audio-node-controls .generate-btn{flex:0 0 36px;margin-left:auto}.audio-node-card .audio-node-controls .audio-estimated-charge{order:3;justify-content:center;width:100%;min-width:0;margin:2px 0 0}.video-node-controls{justify-content:flex-start;position:relative}.image-node-controls{justify-content:flex-start}.image-node-controls .generate-btn{margin-left:auto}.image-node-controls .estimated-charge+.generate-btn{margin-left:0}.model-selector{color:#f9fafb;width:146px;height:32px;font-size:13px;position:relative}.model-selector-trigger,.model-selector-option{color:#f9fafb;width:100%;height:32px;font:inherit;text-align:left;background:#0f1117;border:1px solid #374151;align-items:center;gap:6px;padding:0 10px;font-size:13px;font-weight:650;line-height:32px;display:flex}.model-selector-trigger{cursor:pointer;box-shadow:none;border-radius:7px;transition:background .2s,border-color .2s,box-shadow .2s;position:relative}.model-selector-trigger:hover,.model-selector.open .model-selector-trigger{background:#151922;border-color:#27d9c7;box-shadow:0 0 0 3px #60a5fa1f}.model-selector-trigger svg{color:#93c5fd;flex:none;width:14px;height:14px}.model-selector-trigger span,.model-selector-option{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.model-selector-trigger:after{content:"";border-top:5px solid #9ca3af;border-left:4px solid #0000;border-right:4px solid #0000;width:0;height:0;position:absolute;right:10px}.model-selector-menu{z-index:40;background:#0f1117;border:1px solid #374151;border-radius:7px;width:100%;position:absolute;top:calc(100% + 4px);left:0;overflow:hidden;box-shadow:0 12px 28px #0000006b}.model-selector.top .model-selector-menu{top:auto;bottom:calc(100% + 4px)}.model-selector-option{cursor:pointer;border-width:0 0 1px;border-radius:0}.model-selector-option:last-child{border-bottom:0}.model-selector-option:hover,.model-selector-option.active{color:#fff;background:#1f2937}.video-duration-control{color:#f9fafb;background:#0f1117;border:1px solid #374151;border-radius:7px;grid-template-columns:24px minmax(0,1fr);align-items:center;width:72px;height:32px;font-size:13px;font-weight:650;display:inline-grid;overflow:hidden}.video-duration-control span{color:#93c5fd;background:#60a5fa14;place-items:center;height:100%;display:grid}.video-duration-control input{color:#f9fafb;width:100%;min-width:0;height:100%;font:inherit;background:0 0;border:0;outline:0;padding:0 4px 0 7px}.video-duration-control:focus-within{border-color:#27d9c7;box-shadow:0 0 0 3px #60a5fa1f}.video-settings-wrap{flex:none;position:relative}.video-settings-trigger{color:#f9fafb;white-space:nowrap;background:#0f1117;border:1px solid #374151;border-radius:7px;align-items:center;gap:5px;height:32px;padding:0 9px;font-size:12px;font-weight:750;display:inline-flex}.video-settings-trigger:hover{background:#151922;border-color:#27d9c7;box-shadow:0 0 0 3px #60a5fa1f}.video-settings-trigger svg{color:#d1d5db}.image-settings-wrap{flex:none;position:relative}.image-settings-trigger{color:#f9fafb;white-space:nowrap;background:#0f1117;border:1px solid #374151;border-radius:7px;align-items:center;gap:5px;height:32px;padding:0 9px;font-size:12px;font-weight:750;transition:background .2s,border-color .2s,box-shadow .2s;display:inline-flex}.image-settings-trigger:hover{background:#151922;border-color:#27d9c7;box-shadow:0 0 0 3px #60a5fa1f}.image-settings-trigger svg{color:#d1d5db}.image-settings-popover{z-index:90;width:300px;position:absolute;bottom:calc(100% + 8px);left:0}.image-settings-panel{color:#d4d4d8;background:#0f1117;border:1px solid #374151;border-radius:10px;gap:12px;padding:12px;display:grid;box-shadow:0 18px 50px #00000075}.image-settings-panel section{gap:8px;display:grid}.image-settings-panel h4{color:#a1a1aa;margin:0;font-size:13px;font-weight:650}.image-ratio-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;display:grid}.image-ratio-grid button{color:#a1a1aa;background:#0f1117;border:1px solid #374151;border-radius:7px;place-items:center;gap:5px;height:60px;font-size:12px;display:grid}.image-resolution-row{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;display:grid}.image-resolution-row button{color:#a1a1aa;background:#0f1117;border:1px solid #374151;border-radius:7px;height:32px;font-size:13px;font-weight:650}.image-ratio-grid button.active,.image-resolution-row button.active{color:#fff;background:#1f2937;border-color:#27d9c7}.image-ratio-grid button:hover,.image-resolution-row button:hover{color:#fff;background:#1f2937}.ratio-glyph{color:#d1d5db;border:1.5px solid;border-radius:2px;flex:none;width:14px;height:9px;display:block}.video-settings-popover{z-index:80;width:330px;position:absolute;bottom:calc(100% + 8px);left:0}.video-settings-panel{color:#d4d4d8;background:#0f1117;border:1px solid #374151;border-radius:10px;gap:12px;padding:12px;display:grid;box-shadow:0 18px 50px #00000075}.video-settings-panel section{gap:8px;display:grid}.video-settings-panel h4{color:#a1a1aa;align-items:center;gap:4px;margin:0;font-size:13px;font-weight:650;display:flex}.hint-icon{color:#a1a1aa;border:1px solid #71717a;border-radius:50%;place-items:center;width:13px;height:13px;font-size:9px;display:inline-grid}.video-ratio-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;display:grid}.video-ratio-grid button{color:#a1a1aa;background:#0f1117;border:1px solid #374151;border-radius:7px;place-items:center;gap:5px;height:64px;font-size:12px;display:grid}.video-ratio-grid button.active,.video-resolution-row button.active,.video-audio-row button.active{color:#fff;background:#1f2937;border-color:#27d9c7}.video-ratio-grid button:hover,.video-resolution-row button:hover,.video-audio-row button:hover{color:#fff;background:#1f2937}.ratio-icon{border:1.5px solid;border-radius:2px;display:block}.ratio-auto,.ratio-adaptive{width:12px;height:8px}.ratio-16-9{width:18px;height:10px}.ratio-4-3{width:15px;height:11px}.ratio-1-1{width:12px;height:12px}.ratio-3-4{width:10px;height:14px}.ratio-9-16{width:8px;height:17px}.ratio-21-9{width:20px;height:8px}.video-resolution-row,.video-audio-row{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;display:grid}.video-audio-row{grid-template-columns:repeat(2,minmax(0,1fr))}.video-resolution-row button,.video-audio-row button{color:#a1a1aa;background:#0f1117;border:1px solid #374151;border-radius:7px;height:32px;font-size:13px;font-weight:650}.video-duration-slider{grid-template-columns:minmax(0,1fr) 26px;align-items:center;gap:9px;display:grid}.video-duration-slider input{accent-color:#f4f4f5;width:100%}.video-duration-slider span{color:#d4d4d8;text-align:right;font-size:12px}.video-reference-actions{justify-content:flex-start;align-items:center;gap:8px;margin-bottom:10px;display:flex;position:relative}.video-frame-actions{justify-content:flex-start;align-items:center;display:inline-flex;position:relative}.video-frame-toggle{color:#f9fafb;white-space:nowrap;background:#0f1117;border:1px solid #374151;border-radius:7px;justify-content:center;align-items:center;min-width:76px;height:32px;padding:0 12px;font-size:12px;font-weight:750;transition:background .2s,border-color .2s,box-shadow .2s;display:inline-flex}.video-frame-toggle:hover{background:#151922;border-color:#27d9c7;box-shadow:0 0 0 3px #60a5fa1f}.video-frame-toggle.selected{color:#06110f;background:linear-gradient(135deg,#7357ff,#27d9c7);border-color:#27d9c7b8;box-shadow:0 0 0 3px #27d9c724,0 10px 24px #44d8c42e}.video-frame-toggle.selected:hover{background:linear-gradient(135deg,#efff8a,#5eead4);border-color:#27d9c7e6}.video-frame-toggle:disabled{cursor:not-allowed;color:#6b7280;box-shadow:none;background:#0b0e14;border-color:#2f3540}.video-frame-toggle:disabled:hover{box-shadow:none;background:#0b0e14;border-color:#2f3540}.video-frame-actions.disabled,.video-frame-actions.disabled .video-frame-toggle{cursor:not-allowed}.video-frame-tooltip{z-index:90;pointer-events:none;color:#e5e7eb;opacity:0;white-space:nowrap;background:#0f1117;border:1px solid #60a5fa52;border-radius:8px;min-width:178px;padding:8px 10px;font-size:12px;font-weight:650;line-height:1.35;transition:opacity .16s,transform .16s;position:absolute;bottom:calc(100% + 8px);left:0;transform:translateY(4px);box-shadow:0 12px 30px #0000006b}.video-universal-tooltip{min-width:218px}.video-frame-tooltip:after{content:"";background:#0f1117;border-bottom:1px solid #60a5fa52;border-right:1px solid #60a5fa52;width:8px;height:8px;position:absolute;bottom:-5px;left:22px;transform:rotate(45deg)}.video-frame-actions.disabled:hover .video-frame-tooltip,.video-frame-actions.disabled:focus-within .video-frame-tooltip{opacity:1;transform:translateY(0)}.icon-btn{color:#9ca3af;cursor:pointer;background:0 0;border:1px solid #374151;border-radius:6px;justify-content:center;align-items:center;width:36px;height:36px;transition:all .2s;display:flex}.icon-btn:hover{color:#f9fafb;background:#0f1117;border-color:#4b5563}.credit-badge{color:#c4b5fd;background:#7357ff1a;border:1px solid #7357ff4d;border-radius:6px;align-items:center;gap:4px;margin-left:auto;padding:8px 12px;font-size:13px;display:flex}.generate-btn{color:#111827;cursor:pointer;background:#d1d5db;border:none;border-radius:6px;justify-content:center;align-items:center;width:36px;height:36px;transition:all .2s;display:flex}.generate-btn:hover:not(:disabled){background:#e5e7eb}.image-upload-control-btn{color:#dbeafe;background:#3b82f629;border:1px solid #60a5fa6b}.image-upload-control-btn:hover:not(:disabled){color:#fff;background:#3b82f647}.generate-btn:disabled{opacity:.4;cursor:not-allowed;background:#6b7280}.image-to-image-row{align-items:center;gap:10px;min-height:44px;display:flex}.image-to-image-inline{flex-direction:column;justify-content:center;gap:8px;margin-top:10px}.image-to-image-actions{flex-wrap:wrap;justify-content:center;align-items:center;gap:8px;display:inline-flex}.image-to-image-btn{color:#27d9c7;cursor:pointer;background:#27d9c71f;border:1px solid #27d9c761;border-radius:7px;justify-content:center;align-items:center;gap:7px;min-width:104px;height:40px;padding:0 14px;font-size:13px;font-weight:750;transition:border-color .18s,background .18s,color .18s;display:inline-flex}.image-to-image-btn:hover:not(:disabled){color:#fff;background:#27d9c733;border-color:#27d9c7b8}.image-upload-current-btn{color:#dbeafe;background:#3b82f61f;border-color:#60a5fa6b}.image-upload-current-btn:hover:not(:disabled){color:#fff;background:#3b82f638;border-color:#60a5fac7}.image-to-image-btn:disabled{cursor:not-allowed;opacity:.55}.image-to-image-error{color:#ff5d73;min-width:0;font-size:12px;line-height:1.35}.image-model-weak-hint{color:#8b95a5;text-align:left;margin-top:10px;font-size:12px;line-height:1.35}.text-node-content::-webkit-scrollbar{width:6px;height:6px}.text-content-editor::-webkit-scrollbar{width:6px;height:6px}.text-node-input-panel::-webkit-scrollbar{width:6px;height:6px}.text-input-area::-webkit-scrollbar{width:6px;height:6px}.history-list::-webkit-scrollbar{width:6px;height:6px}.material-list::-webkit-scrollbar{width:6px;height:6px}.reference-text-lightbox-content::-webkit-scrollbar{width:6px;height:6px}.reference-image-lightbox::-webkit-scrollbar{width:6px;height:6px}.image-preview-frame::-webkit-scrollbar{width:6px;height:6px}.dialog-body textarea::-webkit-scrollbar{width:6px;height:6px}.result-preview::-webkit-scrollbar{width:6px;height:6px}.text-node-content::-webkit-scrollbar-thumb{background:#fff3;border-radius:3px}.text-content-editor::-webkit-scrollbar-thumb{background:#fff3;border-radius:3px}.text-node-input-panel::-webkit-scrollbar-thumb{background:#fff3;border-radius:3px}.text-input-area::-webkit-scrollbar-thumb{background:#fff3;border-radius:3px}.history-list::-webkit-scrollbar-thumb{background:#fff3;border-radius:3px}.material-list::-webkit-scrollbar-thumb{background:#fff3;border-radius:3px}.reference-text-lightbox-content::-webkit-scrollbar-thumb{background:#fff3;border-radius:3px}.reference-image-lightbox::-webkit-scrollbar-thumb{background:#fff3;border-radius:3px}.image-preview-frame::-webkit-scrollbar-thumb{background:#fff3;border-radius:3px}.dialog-body textarea::-webkit-scrollbar-thumb{background:#fff3;border-radius:3px}.result-preview::-webkit-scrollbar-thumb{background:#fff3;border-radius:3px}.text-node-content::-webkit-scrollbar-thumb:hover{background:#ffffff4d}.text-content-editor::-webkit-scrollbar-thumb:hover{background:#ffffff4d}.text-node-input-panel::-webkit-scrollbar-thumb:hover{background:#ffffff4d}.text-input-area::-webkit-scrollbar-thumb:hover{background:#ffffff4d}.history-list::-webkit-scrollbar-thumb:hover{background:#ffffff4d}.material-list::-webkit-scrollbar-thumb:hover{background:#ffffff4d}.reference-text-lightbox-content::-webkit-scrollbar-thumb:hover{background:#ffffff4d}.reference-image-lightbox::-webkit-scrollbar-thumb:hover{background:#ffffff4d}.image-preview-frame::-webkit-scrollbar-thumb:hover{background:#ffffff4d}.dialog-body textarea::-webkit-scrollbar-thumb:hover{background:#ffffff4d}.result-preview::-webkit-scrollbar-thumb:hover{background:#ffffff4d}.text-node-content,.text-content-editor,.text-node-input-panel,.text-input-area,.history-list,.material-list,.reference-text-lightbox-content,.reference-image-lightbox,.image-preview-frame,.dialog-body textarea,.result-preview{scrollbar-color:#fff3 transparent;scrollbar-width:thin}.image-node-card{background:#0f1117;border:2px solid #374151;border-radius:12px;width:480px;transition:all .2s;position:relative;overflow:visible;box-shadow:0 4px 12px #0000004d}.image-node-card.selected{border-color:#27d9c7;box-shadow:0 0 0 3px #27d9c733}.image-node-content{cursor:pointer;background:#1a1d23;border:1px solid #374151;border-radius:8px;justify-content:center;align-items:center;height:auto;min-height:180px;margin:12px;padding:8px;transition:all .2s;display:flex;position:relative;overflow:hidden}.image-node-content .text-content-placeholder,.image-node-content .text-content-loading,.image-node-content .text-content-failed{width:100%;height:100%;min-height:0}.image-preview-lightbox{z-index:35;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);cursor:zoom-out;background:#05080ef0;border:1px solid #27d9c76b;border-radius:12px;place-items:center;padding:40px 14px 34px;display:grid;position:absolute;inset:10px;box-shadow:0 18px 44px #0000007a}.image-preview-frame{cursor:default;place-items:center;gap:10px;width:100%;height:100%;min-height:0;display:grid}.image-preview-frame img{object-fit:contain;border-radius:8px;max-width:100%;max-height:calc(100% - 24px)}.image-preview-frame span{color:#d1d5db;text-overflow:ellipsis;white-space:nowrap;max-width:100%;font-size:12px;overflow:hidden}.image-preview-close{color:#e5e7eb;cursor:pointer;background:#ffffff1a;border:0;border-radius:7px;place-items:center;width:28px;height:28px;display:grid;position:absolute;top:10px;right:10px}.image-preview-close:hover{background:#ffffff2e}.image-node-content:hover{background:#1e2128;border-color:#4b5563}.image-display{object-fit:contain;transform-origin:50%;will-change:transform;border-radius:6px;width:100%;height:100%;transition:transform .12s;display:block}.image-result-click-zone{border-radius:6px;place-items:center;width:100%;height:100%;min-height:0;display:grid;position:relative;overflow:hidden}.image-preview-trigger{z-index:5;color:#fff;opacity:0;pointer-events:none;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);cursor:zoom-in;background:#0000009e;border:1px solid #ffffffb8;border-radius:999px;justify-content:center;align-items:center;width:38px;height:38px;padding:0;transition:opacity .18s,transform .18s,background .18s,border-color .18s,color .18s;display:inline-flex;position:absolute;top:50%;left:50%;transform:translate(-50%,-45%)scale(.9);box-shadow:0 10px 24px #00000059}.image-node-media-actions{z-index:6;opacity:0;pointer-events:none;justify-content:center;align-items:center;gap:10px;transition:opacity .18s,transform .18s;display:inline-flex;position:absolute;top:50%;left:50%;transform:translate(-50%,-45%)scale(.9)}.image-node-content .image-node-media-actions .image-preview-trigger,.image-node-content .image-node-media-actions .image-download-trigger,.image-node-content .image-node-media-actions .image-reupload-trigger{color:#fff;opacity:1;pointer-events:auto;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);cursor:pointer;background:#0000009e;border:1px solid #ffffffb8;border-radius:999px;justify-content:center;align-items:center;width:38px;height:38px;padding:0;transition:background .18s,border-color .18s,color .18s;display:inline-flex;position:static;transform:none;box-shadow:0 10px 24px #00000059}.image-node-content:hover .image-node-media-actions,.image-node-content:focus-within .image-node-media-actions,.image-node-media-actions:focus-within,.image-node-content:hover .image-preview-trigger,.image-node-content:focus-within .image-preview-trigger,.image-preview-trigger:focus-visible{opacity:1;pointer-events:auto;transform:translate(-50%,-50%)scale(1)}.image-preview-trigger:hover,.image-preview-trigger:focus-visible,.image-download-trigger:hover,.image-download-trigger:focus-visible,.image-reupload-trigger:hover,.image-reupload-trigger:focus-visible{color:#27d9c7;background:#000000c7;border-color:#27d9c7}.image-preview-trigger:focus-visible,.image-download-trigger:focus-visible,.image-reupload-trigger:focus-visible{outline-offset:3px;outline:2px solid #27d9c7b8}.image-reupload-trigger:disabled{cursor:not-allowed;opacity:.55}.image-node-content .image-preview-trigger svg,.image-node-content .image-download-trigger svg,.image-node-content .image-reupload-trigger svg{color:currentColor}.image-node-content:hover .image-node-media-actions .image-preview-trigger,.image-node-content:focus-within .image-node-media-actions .image-preview-trigger,.image-node-media-actions:focus-within .image-preview-trigger{opacity:1;pointer-events:auto;transform:none}.image-result-click-zone .image-loading-frame{width:100%;height:100%}.image-result-click-zone .image-display{cursor:zoom-in}.image-loading-frame{background:#05070a;border-radius:6px;place-items:center;width:100%;height:100%;min-height:0;display:grid;position:relative;overflow:hidden}.image-loading-frame.loading .image-display{opacity:0}.image-loading-frame.loaded .image-display{opacity:1}.video-node-card{background:#0f1117;border:2px solid #374151;border-radius:12px;width:480px;transition:all .2s;position:relative;overflow:visible;box-shadow:0 4px 12px #0000004d}.video-node-card.selected{border-color:#7357ff;box-shadow:0 0 0 3px #7357ff33}.video-node-content{box-sizing:border-box;cursor:pointer;background:#1a1d23;border:1px solid #374151;border-radius:8px;justify-content:center;align-items:center;width:calc(100% - 24px);height:auto;margin:12px auto;transition:all .2s;display:flex;position:relative;overflow:hidden}.video-node-content:hover{background:#1e2128;border-color:#4b5563}.video-node-content .text-content-placeholder,.video-node-content .text-content-loading,.video-node-content .text-content-failed{width:100%;height:100%;min-height:0}.video-upload-placeholder{padding:18px}.video-upload-empty-action{flex-direction:column;justify-content:center;align-items:center;gap:6px;margin-top:2px;display:inline-flex}.video-upload-empty-btn{color:#ede9fe;cursor:pointer;background:#7357ff29;border:1px solid #7357ff85;border-radius:999px;justify-content:center;align-items:center;gap:7px;min-width:112px;height:40px;padding:0 14px;font-size:13px;font-weight:750;transition:border-color .18s,background .18s,color .18s,transform .18s;display:inline-flex}.video-upload-empty-btn:hover:not(:disabled),.video-upload-empty-btn:focus-visible{color:#fff;background:#7357ff47;border-color:#c4b5fddb;transform:translateY(-1px)}.video-upload-empty-btn:disabled{cursor:not-allowed;opacity:.58}.video-upload-empty-action small{color:#8b95a7;font-size:11px;line-height:1.3}.video-upload-empty-action em{color:#ff5d73;text-align:center;max-width:260px;font-size:12px;font-style:normal;line-height:1.4}.video-display{justify-content:center;align-items:center;width:100%;height:100%;display:flex;position:relative}.video-node-drag-surface{cursor:grab}.video-node-drag-surface:active{cursor:grabbing}.video-frame-capture-actions{z-index:9;opacity:0;pointer-events:none;flex-wrap:wrap;gap:6px;max-width:calc(100% - 20px);transition:opacity .18s,transform .18s;display:flex;position:absolute;top:10px;left:10px;transform:translateY(-4px)}.video-display:hover .video-frame-capture-actions,.video-display:focus-within .video-frame-capture-actions{opacity:1;pointer-events:auto;transform:translateY(0)}.video-frame-capture-btn{color:#f9fafb;white-space:nowrap;cursor:pointer;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#05070ab8;border:1px solid #ffffff61;border-radius:999px;justify-content:center;align-items:center;height:28px;padding:0 10px;font-size:12px;font-weight:750;line-height:1;transition:border-color .18s,background .18s,color .18s,transform .18s;display:inline-flex;box-shadow:0 8px 20px #00000047}.video-frame-capture-btn:hover:not(:disabled),.video-frame-capture-btn:focus-visible{color:#7357ff;background:#000000d1;border-color:#27d9c7db;transform:translateY(-1px)}.video-frame-capture-btn:disabled{cursor:not-allowed;opacity:.56}.video-frame-capture-error{z-index:10;color:#ff5d73;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#450a0ad1;border:1px solid #f871716b;border-radius:8px;padding:7px 9px;font-size:12px;font-weight:650;line-height:1.35;position:absolute;top:46px;left:10px;right:10px;box-shadow:0 10px 24px #00000057}.video-node-content .video-preview-frame video{object-fit:contain}.video-download-trigger{z-index:8;color:#fff;opacity:0;pointer-events:none;cursor:pointer;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#000000a3;border:1px solid #ffffff94;border-radius:999px;justify-content:center;align-items:center;width:34px;height:34px;padding:0;transition:opacity .18s,transform .18s,background .18s,border-color .18s,color .18s;display:inline-flex;position:absolute;top:50%;left:50%;transform:translate(-50%,-45%)scale(.92);box-shadow:0 9px 22px #00000059}.video-node-content:hover .video-download-trigger,.video-node-content:focus-within .video-download-trigger,.video-download-trigger:focus-visible{opacity:1;pointer-events:auto;transform:translate(-50%,-50%)scale(1)}.video-download-trigger:hover,.video-download-trigger:focus-visible{color:#27d9c7;background:#000c;border-color:#27d9c7}.video-download-trigger:focus-visible{outline-offset:3px;outline:2px solid #27d9c7b8}.video-node-content .video-download-trigger svg{color:currentColor}.video-preview-frame{background:#05070a;border-radius:8px;width:100%;min-height:100%;display:block;position:relative;overflow:hidden}.video-preview-frame video{width:100%;height:100%;min-height:inherit;object-fit:cover;background:#05070a;border-radius:8px;display:block}.video-preview-frame.loading video{opacity:0}.media-preview-loading{z-index:2;color:#9ca3af;text-align:center;background:#05070a;place-items:center;gap:10px;font-size:12px;display:grid;position:absolute;inset:0}.media-preview-loading .loading-spinner{width:30px;height:30px}.media-preview-loading.failed{color:#ff5d73}.material-wrapper,.reference-text-wrapper{z-index:20;margin-bottom:12px;position:relative}.material-header,.reference-text-header{justify-content:space-between;align-items:center;margin-bottom:8px;display:flex}.material-label,.reference-text-label{color:#9ca3af;font-size:13px;font-weight:500;display:block}.material-header span,.reference-text-header span{color:#6b7280;font-size:12px}.material-list{z-index:20;gap:8px;padding-bottom:2px;display:flex;position:relative;overflow:auto visible}.material-item{flex:0 0 58px;width:58px}.reference-image-material-item{height:58px;position:relative}.material-list .reference-text-item,.material-list .reference-text-thumb{overflow:visible}.material-list .reference-image-thumb,.material-list .reference-video-thumb,.material-list .reference-audio-thumb{height:58px}.reference-text-list{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;display:grid}.reference-text-item{gap:5px;min-width:0;display:grid;position:relative}.reference-text-thumb{aspect-ratio:1;color:#a78bfa;cursor:pointer;background:linear-gradient(135deg,#7357ff29,#3b82f614),#0f1117;border:1px solid #374151;border-radius:8px;place-items:center;width:100%;display:grid;position:relative}.reference-text-thumb:hover,.reference-text-thumb:focus,.reference-text-item.expanded .reference-text-thumb{border-color:#7357ff;outline:none;box-shadow:0 0 0 2px #7357ff2e}.reference-text-item>span{color:#9ca3af;text-align:center;text-overflow:ellipsis;white-space:nowrap;font-size:11px;line-height:1.35;display:block;overflow:hidden}.reference-text-lightbox{z-index:35;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);cursor:zoom-out;background:#05080ef0;border:1px solid #7357ff6b;border-radius:12px;place-items:center;padding:40px 14px 24px;display:grid;position:absolute;inset:10px}.reference-text-lightbox-content{cursor:default;background:#0f1117eb;border:1px solid #94a3b829;border-radius:10px;width:100%;max-height:100%;padding:14px;overflow:auto}.reference-text-lightbox-content strong{color:#fff}.reference-text-lightbox-content p{color:#d1d5db;white-space:pre-wrap;margin:10px 0 0;font-size:13px;line-height:1.7}.reference-image-wrapper{margin-bottom:12px}.reference-image-header{justify-content:space-between;align-items:center;margin-bottom:8px;display:flex}.reference-image-label{color:#9ca3af;font-size:13px;font-weight:500;display:block}.reference-image-header span{color:#6b7280;font-size:12px}.reference-image-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;display:grid}.reference-image-thumb,.reference-video-thumb,.reference-audio-thumb{aspect-ratio:1;cursor:zoom-in;background:#0f1117;border:1px solid #374151;border-radius:8px;width:100%;padding:0;position:relative;overflow:hidden}.reference-image-thumb:hover,.reference-video-thumb:hover,.reference-audio-thumb:hover{border-color:#7357ff;box-shadow:0 0 0 2px #7357ff2e}.reference-audio-thumb{color:#7357ff;background:linear-gradient(135deg,#7357ff29,#7357ff14),#0f1117;place-items:center;gap:2px;display:grid}.reference-audio-thumb span{color:#d1d5db;text-overflow:ellipsis;white-space:nowrap;max-width:48px;font-size:10px;line-height:1.2;overflow:hidden}.reference-image-thumb img{object-fit:cover;width:100%;height:100%;display:block}.reference-image-remove{z-index:5;color:#fff;cursor:pointer;opacity:0;background:#111827eb;border:1px solid #ffffffb8;border-radius:999px;place-items:center;width:18px;height:18px;padding:0;transition:opacity .15s,transform .15s,background .15s;display:grid;position:absolute;top:-5px;right:-5px;transform:scale(.86);box-shadow:0 4px 12px #00000061}.reference-image-material-item:hover .reference-image-remove,.reference-image-remove:focus-visible{opacity:1;transform:scale(1)}.reference-image-remove:hover{background:#ef4444f0}.reference-video-thumb .video-preview-frame{border:0;border-radius:0;width:100%;height:100%;min-height:0}.reference-video-thumb .video-preview-frame video{object-fit:cover;width:100%;height:100%}.reference-video-thumb .media-preview-loading{font-size:0}.reference-video-thumb .loading-spinner{width:16px;height:16px}.reference-image-lightbox{z-index:30;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);cursor:zoom-out;background:#05080eeb;border:1px solid #7357ff6b;border-radius:12px;place-items:center;padding:34px 14px 32px;display:grid;position:absolute;inset:10px}.reference-image-lightbox img{object-fit:contain;border-radius:8px;max-width:100%;max-height:100%}.reference-video-lightbox .video-preview-frame{background:0 0;border:0;width:100%;height:100%;max-height:100%}.reference-video-lightbox .video-preview-frame video{object-fit:contain;width:100%;height:100%}.reference-audio-lightbox-content{color:#7357ff;background:#11141cf5;border:1px solid #7357ff47;border-radius:12px;place-items:center;gap:20px;width:min(460px,100%);padding:28px 24px;display:grid}.reference-audio-lightbox-content audio{width:100%}.reference-image-lightbox span{color:#d1d5db;text-overflow:ellipsis;white-space:nowrap;font-size:12px;position:absolute;bottom:10px;left:14px;right:44px;overflow:hidden}.reference-image-lightbox-close{color:#e5e7eb;cursor:pointer;background:#ffffff1a;border:0;border-radius:7px;place-items:center;width:28px;height:28px;display:grid;position:absolute;top:10px;right:10px}.reference-image-lightbox-close:hover{background:#ffffff2e}.flow-node-card{background:#111827;border:2px solid #374151;border-radius:12px;width:240px;transition:all .2s;overflow:hidden;box-shadow:0 4px 12px #0000004d}.flow-node-card.selected{border-color:#7357ff;box-shadow:0 0 0 3px #7357ff33}.node-header{color:#fff;align-items:center;gap:8px;padding:12px 16px;font-size:14px;font-weight:600;display:flex}.node-body{background:#0a0e1a;min-height:120px;padding:16px}.node-placeholder{color:#6b7280;flex-direction:column;justify-content:center;align-items:center;gap:8px;height:100px;font-size:13px;display:flex}.node-preview{width:100%}.preview-text{color:#d1d5db;max-height:100px;font-size:13px;line-height:1.6;overflow:hidden}.preview-image,.preview-video .video-preview-frame{background:#05070a;border-radius:6px;width:100%;display:block}.preview-video{cursor:pointer;position:relative}.node-footer{border-top:1px solid #1f2937;justify-content:space-between;align-items:center;padding:12px 16px;display:flex}.node-status{font-size:12px;font-weight:500}.generating-spinner{border:2px solid #374151;border-top-color:#7357ff;border-radius:50%;width:16px;height:16px;animation:.8s linear infinite spin}.node-handle{cursor:crosshair;opacity:.9;z-index:8;transition:opacity .18s,background .18s,box-shadow .18s;background:0 0!important;border:0!important;border-radius:999px!important;width:44px!important;min-width:44px!important;height:68px!important;min-height:68px!important}.react-flow__handle-left.node-handle{left:0!important;transform:translateY(-50%)!important}.react-flow__handle-right.node-handle{right:0!important;transform:translateY(-50%)!important}.node-handle:before{content:"";opacity:0;background:linear-gradient(#ffffff1f,#ffffff05);border:1px solid #ffffff24;border-radius:999px;transition:opacity .18s,border-color .18s,background .18s;display:none;position:absolute;inset:8px 12px}.node-handle:after{content:"";opacity:.68;background:radial-gradient(circle,#fff 0 3px,#0000 4px),linear-gradient(#f8fafc,#cbd5e1);border:1px solid #ffffff80;border-radius:999px;width:16px;height:16px;transition:width .18s,height .18s,opacity .18s,box-shadow .18s,border-color .18s;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);box-shadow:0 0 0 3px #ffffff14,0 0 16px #fff3}.react-flow__handle-left.node-handle:after{left:0}.react-flow__handle-right.node-handle:after{left:100%}.text-node-card:hover>.node-handle,.text-node-card.selected>.node-handle,.image-node-card:hover>.node-handle,.image-node-card.selected>.node-handle,.audio-node-card:hover>.node-handle,.audio-node-card.selected>.node-handle,.video-node-card:hover>.node-handle,.video-node-card.selected>.node-handle,.flow-node-card:hover>.node-handle,.flow-node-card.selected>.node-handle,.node-handle:hover,.node-handle.connectingfrom,.node-handle.connectingto,.node-handle.valid{opacity:1;box-shadow:none;background:0 0!important}.text-node-card:hover>.node-handle:before,.text-node-card.selected>.node-handle:before,.image-node-card:hover>.node-handle:before,.image-node-card.selected>.node-handle:before,.audio-node-card:hover>.node-handle:before,.audio-node-card.selected>.node-handle:before,.video-node-card:hover>.node-handle:before,.video-node-card.selected>.node-handle:before,.flow-node-card:hover>.node-handle:before,.flow-node-card.selected>.node-handle:before,.node-handle:hover:before,.node-handle.connectingfrom:before,.node-handle.connectingto:before,.node-handle.valid:before{opacity:1;background:linear-gradient(#ffffff2e,#ffffff0d);border-color:#ffffff47}.node-handle:hover:after,.node-handle.connectingfrom:after,.node-handle.connectingto:after,.node-handle.valid:after{opacity:1;border-color:#ffffffc7;width:20px;height:20px;box-shadow:0 0 0 4px #ffffff1c,0 0 20px #ffffff5c}.bottom-tools{background:#111827;border:1px solid #1f2937;border-radius:8px;gap:4px;padding:4px;display:flex}.bottom-tools button{color:#9ca3af;cursor:pointer;background:0 0;border:none;border-radius:6px;justify-content:center;align-items:center;width:36px;height:36px;transition:all .2s;display:flex}.bottom-tools button:hover{color:#f9fafb;background:#1f2937}.viewport-tools{-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:#202327eb;border:1px solid #ffffff14;border-radius:8px;align-items:center;gap:4px;padding:4px;display:inline-flex;box-shadow:0 12px 28px #00000047;bottom:14px!important;left:16px!important}.viewport-tools button{color:#dce4ee;cursor:pointer;background:0 0;border:0;border-radius:6px;justify-content:center;align-items:center;gap:5px;height:26px;padding:0 8px;font-size:11px;font-weight:800;display:inline-flex}.viewport-tools button:hover{color:#06110f;background:#eef3fb}.viewport-fit-button span{line-height:1}.viewport-zoom-select{position:relative}.viewport-zoom-button{min-width:58px}.viewport-zoom-menu{-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:#111827f5;border:1px solid #94a3b82e;border-radius:9px;min-width:76px;padding:5px;display:grid;position:absolute;bottom:calc(100% + 8px);left:0;box-shadow:0 16px 34px #00000057}.viewport-tools .viewport-zoom-menu button{color:#cbd5e1;justify-content:flex-start;width:100%;height:26px;padding:0 8px}.viewport-tools .viewport-zoom-menu button:hover,.viewport-tools .viewport-zoom-menu button.active{color:#06110f;background:#eef3fb}.empty-hint{-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#111827cc;border:1px solid #1f2937;border-radius:12px;flex-direction:column;align-items:center;gap:12px;padding:32px;display:flex}.empty-hint h3{color:#f9fafb;font-size:18px;font-weight:600}.empty-hint p{color:#9ca3af;font-size:14px}.dialog-overlay{-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);z-index:1000;background:#000000b3;justify-content:center;align-items:center;animation:.2s fadeIn;display:flex;position:fixed;inset:0}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.config-dialog{background:#111827;border:1px solid #1f2937;border-radius:16px;flex-direction:column;width:560px;max-height:80vh;animation:.3s slideUp;display:flex;box-shadow:0 24px 48px #0009}@keyframes slideUp{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}.dialog-header{border-bottom:1px solid #1f2937;justify-content:space-between;align-items:center;padding:20px 24px;display:flex}.dialog-header h3{color:#f9fafb;font-size:18px;font-weight:600}.close-btn{color:#9ca3af;cursor:pointer;background:0 0;border:none;border-radius:6px;justify-content:center;align-items:center;width:32px;height:32px;transition:all .2s;display:flex}.close-btn:hover{color:#f9fafb;background:#1f2937}.dialog-body{flex:1;padding:24px;overflow-y:auto}.dialog-body label{margin-bottom:20px;display:block}.label-text{color:#f9fafb;margin-bottom:8px;font-size:14px;font-weight:500;display:block}.dialog-body textarea,.dialog-body select,.dialog-body input{color:#e5e7eb;background:#0a0e1a;border:1px solid #374151;border-radius:8px;width:100%;padding:12px;font-family:inherit;font-size:14px;transition:all .2s}.dialog-body textarea:focus,.dialog-body select:focus,.dialog-body input:focus{border-color:#7357ff;outline:none;box-shadow:0 0 0 3px #7357ff1a}.dialog-body textarea{resize:vertical;min-height:120px;line-height:1.6}.result-preview{background:#0a0e1a;border:1px solid #374151;border-radius:8px;margin-top:20px;padding:16px}.result-text{color:#d1d5db;white-space:pre-wrap;max-height:200px;font-size:13px;line-height:1.8;overflow-y:auto}.result-image{border-radius:6px;width:100%;margin-top:12px}.result-video{cursor:pointer;margin-top:12px;position:relative}.result-video .video-preview-frame{background:#05070a;border-radius:6px;width:100%;min-height:220px;display:block}.play-icon{color:#fff;opacity:.9;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.dialog-footer{border-top:1px solid #1f2937;justify-content:flex-end;gap:12px;padding:20px 24px;display:flex}.btn-secondary,.btn-primary{cursor:pointer;border:none;border-radius:8px;align-items:center;gap:8px;padding:10px 20px;font-size:14px;font-weight:500;transition:all .2s;display:flex}.btn-secondary{color:#d1d5db;background:0 0;border:1px solid #374151}.btn-secondary:hover{background:#1f2937}.btn-primary{color:#fff;background:linear-gradient(135deg,#7357ff 0% 100%)}.btn-primary:hover{background:linear-gradient(135deg,#5e46d7 0% 100%)}.btn-primary:disabled{opacity:.5;cursor:not-allowed}.node-add-button-wrapper{z-index:10;position:absolute;top:12px;right:12px}.node-add-button{color:#fff;cursor:pointer;z-index:10;touch-action:none;-webkit-user-select:none;user-select:none;background:#7357ff;border:2px solid #0a0e1a;border-radius:50%;justify-content:center;align-items:center;width:32px;height:32px;transition:all .2s;display:flex;position:relative;box-shadow:0 2px 8px #7357ff4d}.node-add-button:hover{background:#5e46d7;width:36px;height:36px;box-shadow:0 4px 12px #7357ff80}.add-button-handle{cursor:crosshair!important;pointer-events:all!important;transform:translate(6px,-6px)!important}.add-button-handle:hover{border-radius:50%;box-shadow:0 0 16px #ffffff52;background:#ffffff1f!important;border:1px solid #ffffff57!important}.add-next-overlay{z-index:999;background:0 0;position:fixed;inset:0}.add-next-menu{z-index:1000;pointer-events:auto;background:#111827;border:1px solid #1f2937;border-radius:12px;width:260px;padding:12px;position:absolute;box-shadow:0 20px 40px #00000080}.canvas-node-menu{z-index:1000;pointer-events:auto;background:#111827;border:1px solid #1f2937;border-radius:12px;width:300px;max-width:calc(100vw - 24px);max-height:calc(100vh - 24px);padding:12px;position:fixed;overflow:auto;box-shadow:0 20px 40px #00000080}.close-menu-btn{color:#d1d5db;cursor:pointer;background:0 0;border:1px solid #374151;border-radius:8px;width:100%;margin-top:12px;padding:8px;font-size:14px;transition:all .2s}.close-menu-btn:hover{background:#1f2937}.icp-record{z-index:60;pointer-events:auto;color:#e2e8f07a;letter-spacing:0;text-shadow:0 1px 8px #0206177a;align-items:center;gap:7px;font-size:12px;line-height:1.4;display:inline-flex;position:fixed;bottom:10px;right:16px}.icp-record a{color:inherit;text-decoration:none;transition:color .16s}.icp-record a:hover,.icp-record a:focus-visible{color:#ffffffdb;outline:none;text-decoration:underline}@media (width<=640px){.icp-record{white-space:nowrap;font-size:11px;bottom:8px;right:50%;transform:translate(50%)}}.script-lab-page{color:#e8edf5;background:#101010;height:100vh;overflow:hidden}.script-lab-import-loading{place-items:center;min-height:100vh;display:grid}.script-lab-import-loading-panel{color:#f5f6fa;text-align:center;justify-items:center;gap:8px;display:grid}.script-lab-import-loading-panel strong{font-size:16px}.script-lab-import-loading-panel span{color:#9ca3b8;font-size:13px}.script-lab-import-loading-spinner{border:3px solid #2a2f42;border-top-color:#7357ff;border-radius:50%;width:28px;height:28px;animation:.8s linear infinite script-lab-import-loading-spin}@keyframes script-lab-import-loading-spin{to{transform:rotate(360deg)}}.script-lab-page button,.script-lab-page input,.script-lab-page textarea{font:inherit}.script-lab-page button{cursor:pointer}.script-lab-topbar{background:#151515;border-bottom:1px solid #343434;grid-template-columns:1fr auto 1fr;align-items:center;height:46px;display:grid}.script-import-toast{z-index:1700;color:#fff7f7;text-align:center;pointer-events:none;background:linear-gradient(135deg,#b91c1cf5,#ef4444f0);border:1px solid #f87171c7;border-radius:999px;max-width:min(760px,100vw - 32px);padding:11px 18px;font-size:13px;font-weight:950;line-height:1.45;animation:.18s ease-out script-import-toast-in;position:fixed;top:16px;left:50%;transform:translate(-50%);box-shadow:0 16px 34px #7f1d1d61,inset 0 0 0 1px #ffffff14}@keyframes script-import-toast-in{0%{opacity:0;transform:translate(-50%,-8px)scale(.98)}to{opacity:1;transform:translate(-50%)scale(1)}}.script-lab-titlebar{align-items:center;gap:8px;min-width:0;padding-left:15px;display:flex}.script-lab-top-actions{justify-self:end;align-items:center;gap:10px;min-width:0;padding-right:15px;display:inline-flex}.script-lab-top-actions span{color:#7f8a9a;white-space:nowrap;font-size:12px}.script-lab-top-actions button{color:#27d9c7;background:#27d9c712;border:1px solid #27d9c757;border-radius:999px;justify-content:center;align-items:center;gap:6px;height:32px;padding:0 13px;font-size:13px;font-weight:800;transition:border-color .16s,background .16s,transform .16s;display:inline-flex}.script-lab-top-actions button:hover{background:#27d9c71f;border-color:#27d9c7b8;transform:translateY(-1px)}.script-lab-top-actions .script-lab-agent-button{color:#dbeafe;background:radial-gradient(circle at 20% 0,#7357ff47,#0000 48%),linear-gradient(135deg,#2563eb61,#0ea5e929);border-color:#60a5fa6b;box-shadow:0 10px 26px #2563eb29}.script-lab-top-actions .script-lab-agent-button:hover{color:#fff;background:radial-gradient(circle at 20% 0,#7357ff5c,#0000 48%),linear-gradient(135deg,#2563eb85,#0ea5e93d);border-color:#93c5fdbd}.script-lab-agent-shell{z-index:85;pointer-events:none;position:fixed;inset:46px 0 0}.script-lab-agent-shell .production-agent-panel{pointer-events:auto;max-height:calc(100dvh - 82px);position:absolute;top:16px;right:18px}.script-lab-top-actions .script-lab-balance-chip{color:#7357ff;font-variant-numeric:tabular-nums;background:#7357ff14;border:1px solid #7357ff38;border-radius:999px;min-width:max-content;height:32px;padding:0 11px;font-size:13px;font-weight:750}.script-lab-top-actions .script-lab-balance-chip:hover:not(:disabled){color:#7357ff;background:#7357ff24;border-color:#7357ff75;transform:none}.script-lab-top-actions .script-lab-balance-chip:disabled{cursor:wait;opacity:.72}.script-lab-back{color:#d1d5db;background:#151515;border:1px solid #3d3d3d;border-radius:3px;justify-content:center;align-items:center;gap:4px;height:33px;padding:0 15px;font-size:14px;transition:color .16s,border-color .16s,background .16s;display:inline-flex}.script-lab-back:hover{color:#fff;background:#1d1d1d;border-color:#606060}.script-lab-project-name{color:#fff;align-items:center;gap:7px;min-width:0;font-size:16px;display:inline-flex}.script-lab-project-name strong{text-overflow:ellipsis;white-space:nowrap;max-width:260px;font-weight:700;overflow:hidden}.script-lab-project-name input{color:#fff;background:#0f0f0f;border:1px solid #4b5563;border-radius:3px;outline:none;width:220px;height:28px;padding:0 8px}.script-lab-project-name button,.script-lab-current-chapter button{color:#d1d5db;background:0 0;border:0;justify-content:center;align-items:center;width:24px;height:24px;display:inline-flex}.script-lab-project-name button:hover,.script-lab-current-chapter button:hover{color:#27d9c7}.script-lab-new-project{border:1px solid var(--script-border);height:30px;color:var(--script-orange-bright);white-space:nowrap;background:#7357ff12;border-radius:4px;justify-content:center;align-items:center;gap:5px;padding:0 11px;font-size:13px;font-weight:700;transition:color .18s,border-color .18s,background .18s,transform .18s;display:inline-flex}.script-lab-new-project:hover{border-color:var(--script-border-strong);color:#f5f6fa;background:#7357ff24;transform:translateY(-1px)}.script-lab-new-project:focus-visible{outline:2px solid var(--script-orange-bright);outline-offset:2px}.script-lab-tabs{background:#171717;border:1px solid #444;border-radius:4px;justify-self:center;height:32px;display:inline-flex;overflow:hidden}.script-lab-tabs button{color:#b7bdc7;background:#171717;border:0;border-right:1px solid #444;min-width:76px;height:32px;padding:0 20px;font-size:14px;line-height:32px;transition:color .16s,background .16s;position:relative}.script-lab-tabs button:last-child{border-right:0}.script-lab-tabs button:hover{color:#fff;background:#202020}.script-lab-tabs button.active{color:#27d9c7;background:#191919}.script-lab-tabs button.active:after{content:"";background:#27d9c7;height:2px;position:absolute;bottom:-1px;left:0;right:0;box-shadow:0 0 10px #27d9c794}.script-lab-body{--script-lab-sidebar-width:178px;grid-template-columns:var(--script-lab-sidebar-width) minmax(0, 1fr);height:calc(100vh - 46px);display:grid}.script-lab-sidebar{background:#232424;border-right:1px solid #343434;flex-direction:column;justify-content:space-between;min-width:0;display:flex}.script-lab-chapters{padding:16px 15px}.script-lab-chapters button{color:#d9dee6;text-align:left;background:0 0;border:0;border-radius:3px;width:100%;height:48px;padding:0 15px;font-size:16px;font-weight:700;transition:color .16s,background .16s}.script-lab-chapters button:hover{background:#303030}.script-lab-chapters button.active{color:#27d9c7;background:#363636}.script-lab-sidebar-footer{gap:25px;padding:0 15px 17px;display:grid}.script-lab-assistant{justify-items:center;gap:6px;width:74px;margin-left:2px;display:grid}.script-lab-assistant span{background:#27d9c71a;border-radius:50%;place-items:center;width:50px;height:50px;display:grid}.script-lab-assistant img{object-fit:cover;border:2px solid #27d9c7;border-radius:50%;width:34px;height:34px;box-shadow:0 0 12px #27d9c757}.script-lab-assistant strong{color:#27d9c7;background:#0e0e0e;border-radius:999px;align-items:center;min-height:18px;padding:0 8px;font-size:11px;line-height:18px;display:inline-flex}.script-lab-add-chapter{color:#edf2f7;background:#1a1a1a;border:1px solid #565656;border-radius:3px;justify-content:center;align-items:center;gap:4px;width:100%;height:35px;font-size:14px;transition:color .16s,border-color .16s,background .16s;display:inline-flex}.script-lab-add-chapter:hover{color:#27d9c7;background:#202020;border-color:#27d9c7}.script-lab-content{background:#101010;min-width:0;overflow:hidden}.script-film-page{color:#f8fafc;background:radial-gradient(circle at 18% 0,#27d9c71a,#0000 30%),linear-gradient(#111,#0b0b0b);place-items:center;min-width:0;height:100%;padding:24px 22px 42px;display:grid;overflow:auto}.script-film-center-video{box-sizing:border-box;width:min(calc(100vw - 96px), calc((100vh - 150px) * var(--media-preview-ratio-width,9) / var(--media-preview-ratio-height,16)));height:auto;max-height:calc(100% - 36px);aspect-ratio:var(--media-preview-ratio-width,9) / var(--media-preview-ratio-height,16);background:#151515;border:1px solid #ffffff14;border-radius:18px;place-items:center;padding:8px 8px 18px;display:grid;overflow:visible;box-shadow:0 24px 80px #00000057}.script-film-center-video video{object-fit:contain;background:#151515;border-radius:12px;width:100%;height:100%}.script-film-preview-empty{color:#8d98a8;justify-items:center;gap:12px;font-size:13px;font-weight:800;display:grid}.script-film-preview-empty svg{color:#27d9c7}.script-film-preview-empty .lucide-refresh-cw{animation:1.1s linear infinite script-storyboard-spin}.script-film-summary{align-content:center;gap:18px;padding:28px;display:grid}.script-film-summary>span{color:#27d9c7;background:#27d9c714;border:1px solid #27d9c747;border-radius:999px;align-items:center;width:fit-content;min-height:26px;padding:0 10px;font-size:12px;font-weight:950;display:inline-flex}.script-film-stats{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;display:grid}.script-film-stats article{background:#111;border:1px solid #ffffff12;border-radius:12px;gap:5px;padding:14px;display:grid}.script-film-stats strong{color:#fff;font-size:20px;font-weight:950}.script-film-stats span,.script-film-summary em{color:#8d98a8;font-size:12px;font-style:normal;font-weight:800}.script-film-actions{flex-wrap:wrap;gap:10px;display:flex}.script-film-sequence{grid-template-rows:auto minmax(0,1fr);min-height:320px;display:grid}.script-film-sequence header{border-bottom:1px solid #ffffff12;justify-content:space-between;align-items:center;gap:16px;padding:18px 20px;display:flex}.script-film-sequence header span{color:#27d9c7;font-size:13px;font-weight:950}.script-film-shot-list{gap:10px;padding:14px;display:grid;overflow:auto}.script-film-shot{background:#121212;border:1px solid #ffffff12;border-radius:14px;grid-template-columns:92px minmax(0,1fr) 54px 72px;align-items:center;gap:12px;min-height:74px;padding:10px;display:grid}.script-film-shot.ready{border-color:#27d9c73d}.script-film-shot-thumb{color:#27d9c7;background:#080808;border-radius:10px;place-items:center;height:58px;display:grid;overflow:hidden}.script-film-shot.generating .script-film-shot-thumb svg,.script-film-shot.uploading .script-film-shot-thumb svg{animation:1.1s linear infinite script-storyboard-spin}.script-film-shot-thumb video{object-fit:cover;width:100%;height:100%}.script-film-shot strong{color:#f8fafc;font-size:13px;font-weight:950}.script-film-shot p{-webkit-line-clamp:2;color:#8f9aac;-webkit-box-orient:vertical;margin:4px 0 0;font-size:12px;line-height:1.45;display:-webkit-box;overflow:hidden}.script-film-shot>span,.script-film-shot>em{color:#cbd5e1;text-align:center;font-size:12px;font-style:normal;font-weight:900}.script-film-shot>em{color:#27d9c7}@media (width<=1080px){.script-film-hero{grid-template-columns:minmax(0,1fr)}.script-film-shot{grid-template-columns:76px minmax(0,1fr)}.script-film-shot>span,.script-film-shot>em{text-align:left;justify-self:start}}.script-lab-editor-layout{grid-template-columns:minmax(0,1fr) 344px;min-width:0;height:100%;display:grid;overflow:hidden}.script-lab-editor{grid-template-rows:52px minmax(0,1fr);min-width:0;height:100%;display:grid}.script-lab-editor-head{color:#d6dce5;grid-template-columns:minmax(110px,max-content) minmax(0,1fr);align-items:center;gap:16px;min-height:52px;padding:0 24px 0 36px;display:grid}.script-lab-current-chapter{justify-self:start;align-items:center;gap:10px;min-width:0;display:inline-flex}.script-lab-current-chapter strong{color:#fff;font-size:16px;font-weight:700}.script-lab-current-chapter input{color:#fff;background:#0f0f0f;border:1px solid #4b5563;border-radius:3px;outline:none;width:160px;height:30px;padding:0 8px}.script-lab-content-type{color:#aeb6c5;justify-self:center;align-items:center;gap:8px;font-size:13px;display:inline-flex}.script-lab-content-type button{color:#e5e7eb;background:#151515;border:1px solid #434343;border-radius:3px;justify-content:space-between;align-items:center;width:142px;height:25px;padding:0 10px;font-size:13px;display:inline-flex}.script-lab-content-type button:hover{border-color:#666}.script-lab-word-count{color:#9ca3af;white-space:nowrap;background:#0f0f0f9e;border:1px solid #ffffff14;border-radius:999px;justify-content:flex-end;align-items:center;gap:8px;min-width:0;max-width:min(360px,100% - 118px);height:32px;padding:0 10px;font-size:12px;display:inline-flex;overflow:hidden}.script-lab-editor-actions{justify-content:flex-end;justify-self:end;align-items:center;gap:10px;min-width:0;max-width:100%;display:inline-flex;overflow:hidden}.script-lab-word-count b{color:#cbd5e1;flex:none;font-weight:500}.script-lab-word-count span{color:#27d9c7}.script-lab-word-count em{color:#9ca3af;text-overflow:ellipsis;white-space:nowrap;min-width:0;font-style:normal;overflow:hidden}.script-lab-word-count.over-limit span,.script-lab-word-count.over-limit em{color:#7357ff}.script-lab-word-count i{color:#7357ff;filter:drop-shadow(0 0 6px #7357ff73);flex:none;justify-content:center;align-items:center;line-height:1;display:inline-flex}.script-lab-analyze-button{color:#121a0d;background:linear-gradient(135deg,#27d9c7,#27d9c7);border:1px solid #27d9c7b8;border-radius:999px;flex:none;justify-content:center;align-items:center;gap:6px;min-width:106px;height:34px;padding:0 16px;font-size:13px;font-weight:900;transition:transform .16s,box-shadow .16s,filter .16s;display:inline-flex;box-shadow:0 8px 20px #27d9c729}.script-lab-analyze-button:hover{filter:brightness(1.05);transform:translateY(-1px);box-shadow:0 10px 24px #27d9c73d}.script-lab-analyze-button:active{transform:translateY(0)scale(.98)}.script-lab-analyze-button:disabled{cursor:not-allowed;opacity:.52;filter:grayscale(.45);box-shadow:none;transform:none}.script-lab-editor-main{grid-template-rows:minmax(0,1fr) auto;min-height:0;display:grid;overflow:hidden}.script-lab-textarea{color:#f8fafc;resize:none;-ms-overflow-style:none;scrollbar-width:none;background:#101010;border:0;outline:none;width:100%;height:100%;padding:4px 36px 36px;font-size:15px;line-height:1.9}.script-lab-textarea::-webkit-scrollbar{width:0;height:0;display:none}.script-lab-textarea::placeholder{color:#9ca3af61}.script-lab-analysis-panel{background:#151815;border:1px solid #27d9c738;border-radius:10px;max-height:238px;margin:0 24px 20px 36px;overflow:hidden;box-shadow:0 18px 48px #0000003d}.script-lab-analysis-panel.error{background:#1c1414;border-color:#f8717173}.script-lab-analysis-panel-head{border-bottom:1px solid #ffffff14;justify-content:space-between;align-items:center;gap:12px;min-height:42px;padding:0 16px;display:flex}.script-lab-analysis-panel-head strong{color:#f8fafc;font-size:14px}.script-lab-analysis-panel-head span{color:#27d9c7;font-size:12px}.script-lab-analysis-panel.error .script-lab-analysis-panel-head span{color:#ff5d73}.script-lab-analysis-panel pre{color:#d9dee6;white-space:pre-wrap;-ms-overflow-style:none;scrollbar-width:none;max-height:196px;margin:0;padding:14px 16px 16px;font-family:inherit;font-size:13px;line-height:1.8;overflow-y:auto}.script-lab-analysis-panel pre::-webkit-scrollbar{width:0;height:0;display:none}.script-lab-automation-status{background:linear-gradient(110deg,#27d9c71a,#27d9c706),#151815;border:1px solid #27d9c747;border-radius:12px;margin:0 24px 14px 36px;padding:14px 16px;box-shadow:0 12px 32px #0003}.script-lab-automation-status-head,.script-lab-automation-steps{justify-content:space-between;align-items:center;gap:12px;display:flex}.script-lab-automation-status-head strong{color:#f8fafc;font-size:14px}.script-lab-automation-status-head span{color:#27d9c7;font-size:12px;font-weight:700}.script-lab-automation-steps{flex-wrap:wrap;justify-content:flex-start;margin:12px 0 10px}.script-lab-automation-steps span{color:#9aa4b7;border:1px solid #ffffff1a;border-radius:999px;align-items:center;min-height:24px;padding:0 9px;font-size:12px;display:inline-flex}.script-lab-automation-steps .completed{color:#d9ff93;background:#27d9c71a;border-color:#27d9c752}.script-lab-automation-steps .current{color:#efffd0;background:#27d9c724;border-color:#27d9c780}.script-lab-automation-status p{color:#9aa4b7;margin:10px 0 0;font-size:12px;line-height:1.6}.script-analyze-progress-overlay{z-index:1200;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#000000b8;justify-content:center;align-items:center;padding:24px;display:flex;position:fixed;inset:0}.script-analyze-progress-card{text-align:center;background:radial-gradient(circle at 50% 0,#27d9c71f,#0000 38%),linear-gradient(#121413fa,#090a0afa);border:1px solid #27d9c76b;border-radius:22px;width:min(640px,100%);padding:42px 44px 38px;box-shadow:0 28px 80px #00000085,0 0 44px #27d9c714}.script-analyze-progress-icon{color:#27d9c7;background:#27d9c714;border:1px solid #27d9c794;border-radius:20px;justify-content:center;align-items:center;width:66px;height:66px;margin-bottom:18px;display:inline-flex;box-shadow:inset 0 0 18px #27d9c714,0 0 24px #27d9c724}.script-analyze-progress-card h2{color:#f8fafc;letter-spacing:-.04em;margin:0;font-size:clamp(24px,3vw,32px);font-weight:900}.script-analyze-progress-card p{color:#8b95a7;margin:12px 0 34px;font-size:15px;line-height:1.7}.script-analyze-progress-bar-wrap{text-align:left}.script-analyze-progress-bar{background:#ffffff1f;border-radius:999px;height:8px;position:relative;overflow:hidden}.script-analyze-progress-bar span{border-radius:inherit;background:linear-gradient(90deg,#27d9c7,#27d9c7);min-width:18px;transition:width .45s;position:absolute;inset:0 auto 0 0;box-shadow:0 0 18px #27d9c76b}.script-analyze-progress-meta{color:#8b95a7;justify-content:space-between;align-items:center;gap:16px;margin-top:12px;font-size:13px;display:flex}.script-analyze-progress-meta b,.script-analyze-progress-meta strong{font-weight:800}.script-analyze-progress-meta b{color:#9aa4b7}.script-analyze-progress-meta strong{color:#27d9c7}.script-lab-console{background:radial-gradient(circle at 50% -10%,#27d9c714,#0000 34%),linear-gradient(#262727 0%,#1d1f1f 100%);border-left:1px solid #ffffff17;grid-template-rows:45px minmax(0,1fr);min-width:0;height:100%;display:grid;overflow:hidden;box-shadow:inset 1px 0 #ffffff09}.script-lab-console-tabs{border-bottom:1px solid #464646;align-items:stretch;display:flex}.script-lab-console-tabs button{color:#d7dde7;background:0 0;border:0;justify-content:center;align-items:center;gap:5px;height:45px;padding:0 20px;font-size:14px;font-weight:700;transition:color .16s;display:inline-flex;position:relative}.script-lab-console-tabs button:hover,.script-lab-console-tabs button.active{color:#27d9c7}.script-lab-console-tabs button.active:after{content:"";background:#27d9c7;height:2px;position:absolute;bottom:-1px;left:13px;right:13px;box-shadow:0 0 10px #27d9c773}.script-lab-console-tabs img{object-fit:cover;border-radius:50%;width:18px;height:18px}.script-lab-console-scroll{-ms-overflow-style:none;scrollbar-width:none;min-height:0;padding:18px 16px 22px;overflow-y:auto}.script-lab-console-scroll::-webkit-scrollbar{width:0;height:0;display:none}.script-lab-setting-block{background:#1010108c;border:1px solid #ffffff13;border-radius:14px;margin-bottom:24px;padding:14px;box-shadow:0 14px 34px #0000002e}.script-lab-setting-block h3{color:#fff;align-items:center;gap:5px;margin:0 0 14px;font-size:16px;font-weight:800;line-height:1.2;display:inline-flex}.script-lab-setting-block h3 svg{color:#7f8a98}.script-lab-ratio-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;display:grid}.script-lab-ratio-grid button{color:#fff;background:#242424;border:1px solid #4a4a4a;border-radius:6px;align-content:center;place-items:center;gap:7px;height:62px;transition:border-color .16s,box-shadow .16s,color .16s,background .16s;display:grid}.script-lab-ratio-grid button:hover,.script-lab-ratio-grid button.active{color:#fff;background:#252a1f;border-color:#27d9c7;box-shadow:0 0 0 1px #27d9c714}.script-lab-ratio-grid strong{font-size:13px;font-weight:800}.script-lab-ratio-icon{border:2px solid #aab0b9;border-radius:3px;display:block}.script-lab-ratio-grid button.active .script-lab-ratio-icon{border-color:#27d9c7}.script-lab-ratio-icon.wide{width:22px;height:14px}.script-lab-ratio-icon.tall{width:12px;height:23px}.script-lab-ratio-icon.standard{width:20px;height:15px}.script-lab-ratio-icon.portrait{width:14px;height:21px}.script-lab-reference-video{color:#f8fafc;background:#313627;border:2px solid #27d9c7;border-radius:11px;width:100%;height:48px;font-size:14px;font-weight:800;transition:background .16s,box-shadow .16s,transform .16s}.script-lab-reference-video:hover{background:#39412a;box-shadow:0 0 0 4px #27d9c714}.script-lab-reference-video:active{transform:scale(.99)}.script-lab-director-textarea{color:#f8fafc;resize:vertical;-ms-overflow-style:none;scrollbar-width:none;background:#101211;border:1px solid #27d9c729;border-radius:12px;outline:none;width:100%;min-height:156px;padding:13px 14px;font-size:13px;line-height:1.72;box-shadow:inset 0 0 0 1px #ffffff06}.script-lab-director-textarea::-webkit-scrollbar{width:0;height:0;display:none}.script-lab-director-textarea::placeholder{color:#cbd5e161}.script-lab-director-textarea:focus{border-color:#27d9c7a6;box-shadow:0 0 0 3px #27d9c714,inset 0 0 0 1px #27d9c71f}.script-lab-setting-tip{color:#87919f;margin:10px 0 0;font-size:12px;line-height:1.6}.script-lab-style-switch{background:#0f0f0f;border-radius:999px;grid-template-columns:1fr 1fr;height:40px;margin-bottom:14px;padding:4px;display:grid;position:relative}.script-lab-style-switch button{z-index:1;color:#9ba3af;background:0 0;border:0;border-radius:999px;font-size:14px;font-weight:700;transition:color .16s,background .16s;position:relative}.script-lab-style-switch button:hover{color:#fff}.script-lab-style-switch button.active{color:#111827;background:linear-gradient(90deg,#27d9c7,#27d9c7);box-shadow:0 8px 18px #27d9c738}.script-lab-style-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;display:grid}.script-lab-style-grid button{color:#fff;background:#181818;border:1px solid #0000;border-radius:6px;min-width:0;height:116px;padding:0;transition:border-color .16s,box-shadow .16s,transform .16s;position:relative;overflow:hidden;box-shadow:0 0 0 1px #ffffff0a}.script-lab-style-grid button:hover{border-color:#27d9c799;transform:translateY(-1px)}.script-lab-style-grid button.active{border-color:#27d9c7;box-shadow:0 0 0 1px #27d9c78c,0 0 16px #27d9c729}.script-lab-style-grid img{object-fit:cover;width:100%;height:100%;transform:scale(1.02)}.script-lab-style-grid span{z-index:1;color:#fff;text-align:center;text-shadow:0 1px 4px #000000d9;background:linear-gradient(#0000,#000000c7);padding:22px 5px 7px;font-size:12px;font-weight:900;line-height:1;position:absolute;bottom:0;left:0;right:0}.script-lab-style-grid svg{z-index:2;color:#27d9c7;fill:#27d9c7;filter:drop-shadow(0 1px 4px #000000bf);position:absolute;top:8px;right:8px}.script-subject-workbench{background:#121212;grid-template-columns:minmax(0,1fr) 318px;min-width:0;height:100%;display:grid;overflow:hidden}.script-subject-main{border-right:1px solid #343434;grid-template-rows:44px minmax(0,1fr);min-width:0;padding:18px 18px 0;display:grid;overflow:hidden}.script-subject-toolbar{border-bottom:1px solid #2f2f2f;justify-content:space-between;align-items:flex-end;gap:16px;min-width:0;display:flex}.script-subject-toolbar-actions{flex:none;justify-content:flex-end;align-items:center;gap:8px;display:inline-flex}.script-subject-tabs{align-items:flex-end;gap:28px;display:flex}.script-subject-tabs button{color:#9ca3af;background:0 0;border:0;height:34px;font-size:14px;font-weight:800;position:relative}.script-subject-tabs button span{color:#748094;margin-left:5px;font-size:11px}.script-subject-tabs button.active{color:#fff}.script-subject-tabs button.active:after{content:"";background:#27d9c7;height:2px;position:absolute;bottom:-1px;left:0;right:0}.script-subject-grid{-ms-overflow-style:none;scrollbar-width:none;grid-template-columns:repeat(5,minmax(0,1fr));align-content:start;gap:14px;min-height:0;padding:24px 0;display:grid;overflow-y:auto}.script-subject-grid::-webkit-scrollbar{width:0;height:0;display:none}.script-subject-scene-grid::-webkit-scrollbar{width:0;height:0;display:none}.script-subject-list-grid::-webkit-scrollbar{width:0;height:0;display:none}.script-subject-grid>article{color:#fff;cursor:pointer;text-align:left;background:#1b1c1e;border:1px solid #2e3440;border-radius:5px;grid-template-rows:34px 158px;width:100%;min-width:0;height:200px;min-height:0;padding:0 8px 8px;transition:border-color .16s,background .16s,transform .16s;display:grid;position:relative;overflow:hidden}.script-subject-grid>article.active,.script-subject-grid>article:hover{border-color:#27d9c7}.script-subject-grid>article:hover{background:#202220;transform:translateY(-1px)}.script-subject-grid>article:focus-visible{outline-offset:2px;outline:2px solid #27d9c773}.script-subject-card-head{justify-content:space-between;align-items:center;gap:8px;min-width:0;display:flex}.script-subject-card-head strong{text-overflow:ellipsis;white-space:nowrap;font-size:13px;overflow:hidden}.script-subject-card-head svg{color:#8c98a8}.script-subject-role-delete{color:#8c98a8;cursor:pointer;background:#0f1113e0;border:1px solid #94a3b838;border-radius:50%;flex:none;justify-content:center;align-items:center;width:28px;height:28px;transition:border-color .16s,color .16s,background .16s,transform .16s;display:inline-flex}.script-subject-role-delete:hover{color:#ff5d73;background:#7f1d1d59;border-color:#f87171b3;transform:scale(1.04)}.script-subject-role-delete:hover svg{color:#ff5d73}.script-subject-role-delete:active{transform:scale(.96)}.script-subject-placeholder{color:#536174;background:#18191a;border-radius:8px;place-items:center;height:158px;display:grid}.script-subject-scene-grid{-ms-overflow-style:none;scrollbar-width:none;grid-template-columns:repeat(5,minmax(0,1fr));align-content:start;gap:14px;min-height:0;padding:24px 0;display:grid;overflow-y:auto}.script-subject-scene-grid>article{color:#fff;cursor:pointer;background:#1b1c1e;border:1px solid #0000;border-radius:5px;grid-template-rows:34px 158px;width:100%;min-width:0;height:200px;min-height:0;padding:0 8px 8px;transition:border-color .16s,background .16s,transform .16s;display:grid;overflow:hidden}.script-subject-scene-grid>article.active{border-color:#27d9c7}.script-subject-scene-grid>article:hover{background:#202220;border-color:#27d9c7a6;transform:translateY(-1px)}.script-subject-scene-grid>article:focus-visible{outline-offset:2px;outline:2px solid #27d9c773}.script-subject-scene-grid>article.script-subject-role-card{aspect-ratio:auto;grid-template-rows:34px minmax(0,1fr) 32px;gap:0;height:232px}.script-subject-scene-card-head{justify-content:space-between;align-items:center;gap:8px;min-width:0;display:flex}.script-subject-scene-card-head strong{color:#fff;text-overflow:ellipsis;white-space:nowrap;font-size:13px;font-weight:900;overflow:hidden}.script-subject-scene-card-head button{color:#8c98a8;cursor:pointer;background:0 0;border:0;border-radius:50%;flex:none;justify-content:center;align-items:center;width:24px;height:24px;transition:color .16s,background .16s,transform .16s;display:inline-flex}.script-subject-scene-card-head button:hover{color:#ff5d73;background:#7f1d1d47;transform:scale(1.04)}.script-subject-scene-cover{box-sizing:border-box;color:#536174;background:#18191a;border-radius:7px;place-items:center;height:158px;min-height:0;display:grid;position:relative;overflow:hidden}.script-subject-role-cover{padding:0}.script-subject-role-card .script-subject-role-cover{background:linear-gradient(#202226 0%,#18191a 64%,#101112 100%);height:auto;min-height:0}.script-subject-scene-cover img{object-fit:cover;object-position:center center;width:100%;height:100%;display:block}.script-subject-role-cover img{object-fit:cover;object-position:center center;transform-origin:top;background:0 0;height:112%;display:block;transform:none}.image-asset-uploading{color:#b8c4d4;min-height:168px}.script-subject-image-zoom{z-index:6;color:#fff;opacity:0;pointer-events:none;cursor:zoom-in;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#0000009e;border:1px solid #ffffffb8;border-radius:999px;justify-content:center;align-items:center;width:38px;height:38px;transition:opacity .18s,transform .18s,background .18s,border-color .18s;display:inline-flex;position:absolute;top:50%;left:50%;transform:translate(-50%,-45%)scale(.9);box-shadow:0 10px 24px #00000059}.script-subject-scene-cover:hover .script-subject-image-zoom,.script-subject-scene-cover:focus-within .script-subject-image-zoom,.script-subject-image-zoom:focus-visible{opacity:1;pointer-events:auto;transform:translate(-50%,-50%)scale(1)}.script-subject-image-zoom:hover{color:#27d9c7;background:#000000c7;border-color:#27d9c7}.script-subject-image-zoom:focus-visible{outline-offset:3px;outline:2px solid #27d9c7b8}.script-subject-image-download{z-index:7;color:#fff;opacity:0;pointer-events:none;cursor:pointer;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#000000a3;border:1px solid #ffffff94;border-radius:999px;justify-content:center;align-items:center;width:34px;height:34px;transition:opacity .18s,transform .18s,background .18s,border-color .18s,color .18s;display:inline-flex;position:absolute;top:10px;right:10px;transform:translateY(-6px)scale(.92);box-shadow:0 9px 22px #00000059}.script-subject-scene-cover:hover .script-subject-image-download,.script-subject-scene-cover:focus-within .script-subject-image-download,.script-subject-image-download:focus-visible{opacity:1;pointer-events:auto;transform:translateY(0)scale(1)}.script-subject-image-download:hover{color:#27d9c7;background:#000c;border-color:#27d9c7}.script-subject-image-download:focus-visible{outline-offset:3px;outline:2px solid #27d9c7b8}.script-subject-card-generating{z-index:3;color:#f5f6fa;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#00000094;align-content:center;place-items:center;gap:9px;font-size:12px;font-weight:900;display:grid;position:absolute;inset:0}.script-subject-card-generating span{border:3px solid #27d9c738;border-top-color:#27d9c7;border-radius:999px;width:28px;height:28px;animation:.8s linear infinite spin}.script-subject-card-generating b{font-size:12px;font-weight:950}.script-subject-scene-upload{color:#111827;cursor:pointer;opacity:0;background:#27d9c7;border-radius:5px;justify-content:center;align-items:center;gap:5px;min-height:28px;padding:0 12px;font-size:12px;font-weight:900;transition:opacity .16s,transform .16s,filter .16s;display:inline-flex;position:absolute;bottom:10px;right:10px;transform:translateY(6px)}.script-subject-scene-grid>article:hover .script-subject-scene-upload{opacity:1;transform:translateY(0)}.script-subject-scene-upload:hover{filter:brightness(1.08)}.script-subject-scene-error{color:#ff5d73;text-align:center;background:#7f1d1db8;border-radius:5px;padding:5px 7px;font-size:11px;font-weight:800;position:absolute;bottom:8px;left:8px;right:8px}.script-subject-role-voice{color:#71809a;cursor:pointer;background:0 0;border:0;border-top:1px solid #ffffff1a;border-radius:0;justify-content:space-between;align-self:stretch;align-items:center;gap:8px;width:100%;min-width:0;height:32px;padding:0 4px;font-size:12px;font-weight:650;transition:color .16s,opacity .16s;display:flex}.script-subject-role-voice:hover,.script-subject-role-voice:focus-visible{color:#c8d5e7;outline:none}.script-subject-role-voice span,.script-subject-role-voice strong{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.script-subject-role-voice strong{color:#fff;text-align:right;font-weight:800}.script-subject-role-card .script-subject-scene-upload{opacity:1;bottom:10px;left:50%;right:auto;transform:translate(-50%)}.script-subject-role-card:hover .script-subject-scene-upload{opacity:1;transform:translate(-50%)}.script-subject-create-card{place-items:stretch stretch;display:grid;background:#1b1c1e94!important;border:1px dashed #64748b94!important;grid-template-rows:1fr!important;padding:8px!important}.script-subject-create-card:hover,.script-subject-create-card:focus-visible{background:#202220e6!important;border-color:#27d9c7b8!important}.script-subject-create-inner{color:#7f8a98;background:#18191a;border-radius:6px;align-content:center;place-items:center;gap:10px;width:100%;height:100%;transition:color .16s,background .16s;display:grid}.script-subject-create-card:hover .script-subject-create-inner{color:#27d9c7;background:#202220}.script-subject-create-inner span{font-size:13px;font-weight:800}.script-subject-new-card{gap:8px;display:grid;position:relative;box-shadow:inset 0 0 0 1px #27d9c72e,0 0 18px #27d9c714;background:#1b1c1e!important;border-color:#27d9c7!important;grid-template-rows:82px 28px 30px!important;padding:30px 8px 8px!important}.script-subject-new-card:hover{transform:none!important}.script-subject-new-remove{color:#8c98a8;cursor:pointer;background:0 0;border:0;border-radius:50%;justify-content:center;align-items:center;width:24px;height:24px;transition:color .16s,background .16s,transform .16s;display:inline-flex;position:absolute;top:7px;right:7px}.script-subject-new-remove:hover{color:#ff5d73;background:#7f1d1d47;transform:scale(1.04)}.script-subject-new-upload{color:#9ca3af;cursor:pointer;background:#282828;border-radius:5px;align-content:center;place-items:center;gap:7px;min-height:0;transition:color .16s,background .16s,filter .16s;display:grid;overflow:hidden}.script-subject-new-upload:hover{color:#27d9c7;background:#2f2f2f}.script-subject-new-upload.uploading{pointer-events:none;opacity:.68}.script-subject-new-upload img{object-fit:cover;width:100%;height:100%;display:block}.script-subject-new-upload span{color:inherit;font-size:13px;font-weight:800}.script-subject-upload-spinner{border:3px solid #27d9c738;border-top-color:#27d9c7;border-radius:999px;width:26px;height:26px;animation:.8s linear infinite spin}.script-subject-new-input{color:#f8fafc;text-align:center;background:#242424;border:1px solid #3c3c3c;border-radius:4px;outline:none;width:100%;height:28px;padding:0 10px;font-size:12px;font-weight:700}.script-subject-new-input:focus{border-color:#27d9c7a8;box-shadow:0 0 0 3px #27d9c714}.script-subject-new-input::placeholder{color:#7f8794}.script-subject-new-finish{color:#111827;cursor:pointer;background:#27d9c7;border:0;border-radius:5px;width:100%;min-height:30px;font-size:12px;font-weight:900;transition:filter .16s,transform .16s}.script-subject-new-finish:hover{filter:brightness(1.08)}.script-subject-new-finish:active{transform:scale(.98)}.script-subject-new-finish:disabled{cursor:not-allowed;opacity:.58;filter:grayscale(.35)}.script-subject-new-error{color:#ff5d73;text-align:center;background:#7f1d1dc7;border-radius:4px;padding:4px 6px;font-size:11px;font-weight:800;position:absolute;bottom:43px;left:8px;right:8px}.script-subject-list-grid{-ms-overflow-style:none;scrollbar-width:none;grid-template-columns:repeat(auto-fill,270px);align-content:start;gap:16px;min-height:0;padding:24px 0;display:grid;overflow-y:auto}.script-subject-list-grid article{background:#1a1b1c;border:1px solid #2d3138;border-radius:8px;width:270px;height:200px;min-height:0;padding:16px 46px 16px 16px;transition:border-color .16s,background .16s,transform .16s;position:relative}.script-subject-list-grid article:hover{background:#1f211f;border-color:#27d9c78c;transform:translateY(-1px)}.script-subject-list-grid article.active{background:#20241f;border-color:#27d9c7;box-shadow:0 0 0 1px #27d9c714,0 14px 30px #0000002e}.script-subject-list-grid article[role=button]{cursor:pointer}.script-subject-list-grid article:focus-visible{outline-offset:2px;outline:2px solid #27d9c773}.script-subject-list-cover{background:#101112;border-radius:7px;width:100%;height:88px;margin-bottom:12px;overflow:hidden}.script-subject-list-cover img{object-fit:cover;width:100%;height:100%;display:block}.script-subject-list-delete{color:#8c98a8;cursor:pointer;background:#0f1113e0;border:1px solid #94a3b838;border-radius:50%;justify-content:center;align-items:center;width:30px;height:30px;transition:border-color .16s,color .16s,background .16s,transform .16s;display:inline-flex;position:absolute;top:12px;right:12px}.script-subject-list-delete:hover{color:#ff5d73;background:#7f1d1d59;border-color:#f87171b3;transform:scale(1.04)}.script-subject-list-delete:active{transform:scale(.96)}.script-subject-list-empty{color:#8c98a8;background:#1a1b1cb3;border:1px dashed #94a3b840;border-radius:8px;place-items:center;min-height:148px;font-size:13px;font-weight:700;display:grid}.script-subject-list-grid strong{color:#f8fafc;font-size:15px}.script-subject-list-grid p{color:#27d9c7;margin:10px 0;font-size:13px}.script-subject-list-grid em{color:#aeb6c5;font-size:13px;font-style:normal;line-height:1.7}.script-subject-detail{background:#262727;grid-template-rows:45px minmax(0,1fr);min-width:0;display:grid;overflow:hidden}.script-subject-detail-tabs{border-bottom:1px solid #464646;display:flex}.script-subject-detail-tabs button{color:#d7dde7;background:0 0;border:0;align-items:center;gap:6px;padding:0 18px;font-weight:800;display:inline-flex;position:relative}.script-subject-detail-tabs button.active{color:#27d9c7}.script-subject-detail-tabs button:disabled{cursor:not-allowed;opacity:.55}.script-subject-detail-tabs button.active:after{content:"";background:#27d9c7;height:2px;position:absolute;bottom:-1px;left:14px;right:14px}.script-subject-detail-tabs img{border-radius:50%;width:18px;height:18px}.script-subject-batch-image-button,.script-subject-smart-shot-button{cursor:pointer;border:0;border-radius:999px;justify-content:center;align-items:center;gap:6px;min-height:32px;margin:0 0 6px;font-size:12px;font-weight:900;transition:filter .16s,transform .16s,box-shadow .16s;display:inline-flex;box-shadow:0 8px 18px #27d9c72e;color:#111827!important;background:linear-gradient(135deg,#27d9c7,#27d9c7)!important;height:32px!important;padding:0 12px!important}.script-subject-batch-image-button{box-shadow:none;border:1px solid #27d9c759;color:#27d9c7!important;background:#27d9c714!important}.script-subject-smart-shot-button:after{display:none!important}.script-subject-batch-image-button:hover:not(:disabled){filter:brightness(1.06);transform:translateY(-1px);box-shadow:0 10px 20px #27d9c724;color:#27d9c7!important}.script-subject-smart-shot-button:hover:not(:disabled){filter:brightness(1.06);transform:translateY(-1px);box-shadow:0 12px 24px #27d9c742;color:#111827!important}.script-subject-shot-error{color:#ff5d73;background:#7f1d1d38;border:1px solid #f8717152;border-radius:8px;margin:12px 16px 0;padding:9px 10px;font-size:12px;font-weight:700}.script-subject-detail-body{color:#dbe3ef;-ms-overflow-style:none;scrollbar-width:none;min-height:0;padding:18px 16px 28px;overflow-y:auto}.script-subject-detail-body::-webkit-scrollbar{display:none}.script-subject-detail-body h3{color:#fff;margin:0 0 8px;font-size:16px}.script-subject-detail-body p{color:#9bb0cd;margin:0 0 18px;line-height:1.6}.script-subject-detail-body h4{color:#fff;margin:18px 0 9px;font-size:14px}.script-subject-field-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:10px 0 14px;display:grid}.script-subject-field{gap:6px;min-width:0;display:grid}.script-subject-field.wide{grid-column:1/-1}.script-subject-field span{color:#8ea0b8;font-size:12px;font-weight:900}.script-subject-field input,.script-subject-field textarea{color:#f8fafc;background:#141414;border:1px solid #3b3b3b;border-radius:8px;outline:none;width:100%;min-width:0;font-size:13px;font-weight:700}.script-subject-field input{height:38px;padding:0 11px}.script-subject-field textarea{resize:vertical;min-height:78px;padding:10px 11px;line-height:1.55}.script-subject-field input:focus,.script-subject-field textarea:focus{border-color:#27d9c7b8;box-shadow:0 0 0 3px #27d9c714}.script-subject-detail-box{color:#f8fafc;background:#141414;border:1px solid #3b3b3b;border-radius:8px;padding:12px;font-size:13px;font-weight:700;line-height:1.65}.script-subject-prompt-wrap{position:relative}.script-subject-prompt-box{color:#f8fafc;resize:none;-ms-overflow-style:none;scrollbar-width:none;background:#141414;border:1px solid #3b3b3b;border-radius:8px;outline:none;width:100%;min-height:238px;padding:12px 12px 30px;font-size:13px;font-weight:700;line-height:1.65;transition:border-color .16s,box-shadow .16s}.script-subject-prompt-box:focus{border-color:#27d9c7b8;box-shadow:0 0 0 3px #27d9c714}.script-subject-prompt-box::-webkit-scrollbar{display:none}.script-subject-scene-prompt{min-height:168px}.script-subject-prompt-wrap>span{color:#7f8794;font-size:12px;position:absolute;bottom:8px;right:12px}.script-subject-generate-button{color:#111827;background:linear-gradient(135deg,#27d9c7,#27d9c7);border:0;border-radius:999px;justify-content:center;align-items:center;gap:8px;width:100%;min-height:52px;margin-top:16px;font-size:15px;font-weight:900;transition:transform .16s,box-shadow .16s,filter .16s;display:inline-flex;box-shadow:0 12px 28px #27d9c73d}.script-subject-generate-button:hover{filter:brightness(1.05);transform:translateY(-1px);box-shadow:0 16px 36px #27d9c752}.script-subject-generate-button:disabled{cursor:not-allowed;opacity:.72;filter:grayscale(.25);transform:none;box-shadow:0 8px 20px #27d9c724}.script-subject-generate-button:active{transform:translateY(0)scale(.99)}.script-subject-charge-badge{color:#111827d1;background:#ffffff61;border-radius:999px;align-items:center;gap:4px;min-height:22px;padding:0 9px 0 7px;font-size:12px;font-weight:900;line-height:1;display:inline-flex}.script-subject-charge-badge svg{color:#7357ff;flex:none}.script-subject-model-tip{color:#7357ff;text-align:center;opacity:.78;margin-top:9px;font-size:12px;font-weight:800}.script-subject-model-picker{color:#7357ff;background:#7357ff14;border:0;border-radius:12px;align-items:center;gap:8px;min-height:42px;padding:0 10px 0 12px;font-size:12px;font-weight:800;display:inline-flex;position:relative}.script-subject-model-picker select{appearance:none;min-width:138px;box-shadow:none;color:#f5f6fa;font:inherit;cursor:pointer;background:0 0;border:0;outline:0;padding:0 18px 0 0}.script-subject-model-picker:after{content:"";pointer-events:none;border-bottom:1.5px solid #7357ff;border-right:1.5px solid #7357ff;width:6px;height:6px;position:absolute;top:50%;right:10px;transform:translateY(-65%)rotate(45deg)}.script-subject-model-picker select:focus,.script-subject-model-picker select:focus-visible{box-shadow:none;border:0;outline:0}.script-subject-model-picker select option{color:#0e1017;background:#f5f6fa}.script-subject-add-image{color:#dbe3ef;background:#3b3b3b;border:0;border-radius:5px;width:84px;height:80px}.script-subject-file-input{display:none}.script-subject-scene-actions{grid-template-columns:minmax(0,1fr) minmax(118px,.9fr);gap:10px;margin-top:16px;display:grid}.script-subject-model-button,.script-subject-generate-scene-button{cursor:pointer;border:0;border-radius:999px;justify-content:center;align-items:center;gap:8px;min-height:50px;font-weight:900;transition:filter .16s,transform .16s,box-shadow .16s;display:inline-flex}.script-subject-model-button{color:#27d9c7;background:#3b3b3b;font-size:13px}.script-subject-model-button span{color:#fff;text-overflow:ellipsis;max-width:74px;font-size:11px;line-height:1.1;overflow:hidden}.script-subject-generate-scene-button{color:#111827;background:linear-gradient(135deg,#27d9c7,#27d9c7);font-size:14px;box-shadow:0 12px 28px #27d9c738}.script-subject-generate-scene-button span{background:#ffffff57;border-radius:999px;align-items:center;min-height:22px;padding:0 7px;font-size:12px;display:inline-flex}.script-subject-model-button:hover,.script-subject-generate-scene-button:hover{filter:brightness(1.06);transform:translateY(-1px)}.script-subject-reference-upload{color:#dbe3ef;cursor:pointer;background:#3b3b3b;border:0;border-radius:5px;flex-direction:column;justify-content:center;align-items:center;gap:7px;width:84px;height:80px;font-size:13px;font-weight:800;transition:color .16s,background .16s,transform .16s;display:inline-flex}.script-subject-reference-upload:hover{color:#27d9c7;background:#444;transform:translateY(-1px)}.script-subject-reference-upload.uploading{pointer-events:none;opacity:.68}.script-subject-upload-image{color:#27d9c7;cursor:pointer;background:linear-gradient(135deg,#27d9c71f,#27d9c714);border:1px solid #27d9c747;border-radius:10px;justify-content:center;align-items:center;gap:8px;width:100%;min-height:50px;font-size:14px;font-weight:900;transition:border-color .16s,color .16s,background .16s,transform .16s;display:inline-flex}.script-subject-upload-image:hover{color:#27d9c7;border-color:#27d9c7a6;transform:translateY(-1px)}.script-subject-upload-image.uploading{pointer-events:none;opacity:.68}.script-subject-upload-error{color:#ff5d73;background:#7f1d1d38;border:1px solid #f8717152;border-radius:8px;margin-top:10px;padding:9px 10px;font-size:12px;font-weight:700}.script-subject-material-list{flex-wrap:wrap;gap:10px;display:flex}.script-subject-material-card{color:#dbe3ef;cursor:pointer;text-align:left;background:#141414;border:1px solid #3b3b3b;border-radius:9px;width:104px;min-width:104px;height:104px;padding:0;transition:border-color .16s,box-shadow .16s,transform .16s;display:grid;position:relative;overflow:hidden}.script-subject-material-card.active{border-color:#27d9c7;box-shadow:0 0 0 2px #27d9c729}.script-subject-material-card:hover,.script-subject-material-card:focus-visible{border-color:#27d9c7e0;outline:none;transform:translateY(-1px)}.script-subject-material-card img{object-fit:contain;object-position:center center;background:#0f0f0f;width:100%;height:100%;display:block}.script-subject-material-card.role-material img{object-fit:contain;object-position:center center;transform-origin:top;height:100%;transform:none}.script-subject-material-card b{color:#fff;text-overflow:ellipsis;white-space:nowrap;background:#0000008a;border-radius:5px;max-width:92px;padding:3px 5px;font-size:10px;font-weight:900;position:absolute;bottom:5px;right:5px;overflow:hidden}.script-subject-material-expand,.script-subject-material-download,.script-subject-material-kind{color:#fff;background:#0000008c;border:0;border-radius:5px;justify-content:center;align-items:center;padding:0;font-size:11px;font-weight:900;display:inline-flex;position:absolute}.script-subject-material-selected{color:#090a0f;text-overflow:ellipsis;white-space:nowrap;background:#27d9c7;border-radius:5px;max-width:92px;padding:3px 5px;font-size:10px;font-weight:900;position:absolute;bottom:5px;left:5px;overflow:hidden}.script-subject-material-expand{opacity:0;pointer-events:none;cursor:zoom-in;width:22px;height:22px;transition:opacity .18s,transform .18s,background .18s,color .18s;top:6px;left:6px;transform:translateY(-3px)scale(.92)}.script-subject-material-card:hover .script-subject-material-expand,.script-subject-material-card:focus-visible .script-subject-material-expand,.script-subject-material-card:focus-within .script-subject-material-expand,.script-subject-material-expand:focus-visible{opacity:1;pointer-events:auto;transform:translateY(0)scale(1)}.script-subject-material-download{opacity:0;pointer-events:none;cursor:pointer;width:22px;height:22px;transition:opacity .18s,transform .18s,background .18s,color .18s;top:6px;right:6px;transform:translateY(-3px)scale(.92)}.script-subject-material-card:hover .script-subject-material-download,.script-subject-material-card:focus-visible .script-subject-material-download,.script-subject-material-card:focus-within .script-subject-material-download,.script-subject-material-download:focus-visible{opacity:1;pointer-events:auto;transform:translateY(0)scale(1)}.script-subject-material-expand:hover,.script-subject-material-download:hover{color:#27d9c7;background:#000000c7}.script-subject-material-expand:focus-visible,.script-subject-material-download:focus-visible{outline-offset:2px;outline:2px solid #27d9c7b8}.script-subject-material-kind{min-height:22px;padding:0 7px;transition:opacity .18s,transform .18s;top:6px;right:6px}.script-subject-material-card:hover .script-subject-material-kind,.script-subject-material-card:focus-within .script-subject-material-kind{opacity:0;transform:translateY(-3px)scale(.92)}.script-subject-material-card.loading{color:#27d9c7;cursor:default;text-align:center;border-style:dashed;align-content:center;place-items:center;gap:8px;padding:10px}.script-subject-material-card.loading:hover{transform:none}.script-subject-material-card.loading b{color:#27d9c7;white-space:normal;background:0 0;max-width:none;padding:0;font-size:12px;position:static}.script-subject-material-spinner{border:3px solid #27d9c738;border-top-color:#27d9c7;border-radius:999px;width:26px;height:26px;animation:.8s linear infinite spin}.script-subject-material-error-card{color:#ff5d73;background:#7f1d1d2e;border:1px solid #f8717157;border-radius:10px;gap:6px;width:100%;padding:12px;display:grid}.script-subject-material-error-card svg{color:#ff5d73}.script-subject-material-error-card strong{color:#fff0f0;font-size:13px;font-weight:950}.script-subject-material-error-card p{color:#ff5d73;margin:0;font-size:12px;font-weight:700;line-height:1.6}.script-subject-image-preview{background:#141414;border:1px solid #3b3b3b;border-radius:10px;overflow:hidden}.script-subject-image-preview img{object-fit:cover;object-position:center center;width:100%;max-height:220px;display:block}.script-subject-image-preview span{color:#dbe3ef;padding:10px 12px;font-size:13px;font-weight:800;display:block}.script-subject-image-empty{color:#8c98a8;background:#141414b8;border:1px dashed #94a3b840;border-radius:10px;place-items:center;min-height:116px;font-size:13px;font-weight:700;display:grid}.script-subject-preview-overlay{z-index:1350;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#000000b8;place-items:center;padding:44px;display:grid;position:fixed;inset:0}.script-subject-preview-panel{background:#101010;border:1px solid #ffffff14;border-radius:6px;max-width:min(78vw,1280px);max-height:min(82vh,860px);margin:0;display:grid;overflow:hidden;box-shadow:0 34px 90px #0000009e}.script-subject-preview-panel img{object-fit:contain;background:#050505;max-width:100%;max-height:calc(82vh - 42px);display:block}.script-subject-preview-panel figcaption{color:#dbe3ef;background:#101010f5;padding:10px 14px;font-size:13px;font-weight:900}.script-subject-preview-close{z-index:1;color:#fff;cursor:pointer;background:#94a3b8ad;border:0;border-radius:999px;justify-content:center;align-items:center;width:44px;height:44px;transition:background .16s,transform .16s;display:inline-flex;position:fixed;top:38px;right:38px}.script-subject-preview-close:hover{background:#9ca3afe0;transform:scale(1.04)}.script-subject-delete-overlay{z-index:1200;-webkit-backdrop-filter:blur(7px);backdrop-filter:blur(7px);background:#000000ad;place-items:center;padding:24px;animation:.18s fadeIn;display:grid;position:fixed;inset:0}.script-subject-delete-dialog{color:#f8fafc;text-align:center;background:linear-gradient(#202020,#151515);border:1px solid #f8717152;border-radius:14px;justify-items:center;width:min(386px,100vw - 48px);padding:28px 26px 24px;animation:.2s slideUp;display:grid;box-shadow:0 28px 80px #0000008f,inset 0 0 0 1px #ffffff08}.script-subject-batch-dialog{color:#f8fafc;text-align:center;background:linear-gradient(#202020,#151515);border:1px solid #27d9c74d;border-radius:14px;justify-items:center;width:min(420px,100vw - 48px);padding:28px 26px 24px;animation:.2s slideUp;display:grid;box-shadow:0 28px 80px #0000008f,inset 0 0 0 1px #ffffff08}.script-subject-delete-icon{color:#ff5d73;background:#7f1d1d47;border:1px solid #f8717161;border-radius:50%;place-items:center;width:54px;height:54px;margin-bottom:14px;display:grid;box-shadow:0 0 22px #f8717129}.script-subject-batch-icon{color:#27d9c7;background:#27d9c71a;border:1px solid #27d9c766;border-radius:50%;place-items:center;width:54px;height:54px;margin-bottom:14px;display:grid;box-shadow:0 0 22px #27d9c726}.script-subject-batch-dialog h3,.script-subject-delete-dialog h3{color:#fff;margin:0;font-size:18px;font-weight:900}.script-subject-batch-dialog p,.script-subject-delete-dialog p{color:#aeb6c5;margin:12px 0 22px;font-size:13px;line-height:1.75}.script-subject-batch-dialog p strong,.script-subject-delete-dialog p strong{color:#fff;font-weight:900}.script-subject-batch-summary{color:#9ba8ba;background:#27d9c70f;border:1px solid #27d9c729;border-radius:10px;width:100%;margin:-8px 0 18px;padding:10px 12px;font-size:13px;font-weight:800}.script-subject-batch-summary strong{color:#27d9c7;font-weight:950}.script-subject-batch-limit-tip{color:#a996ff;background:#7357ff29;border:1px solid #7357ff40;border-radius:10px;width:100%;margin:-8px 0 18px;padding:9px 11px;font-size:12px;font-weight:800;line-height:1.6}.script-subject-delete-actions{grid-template-columns:1fr 1fr;gap:12px;width:100%;display:grid}.script-subject-delete-actions button{color:#dbe3ef;cursor:pointer;background:#242424;border:1px solid #3d3d3d;border-radius:999px;justify-content:center;align-items:center;height:42px;font-size:14px;font-weight:900;transition:transform .16s,border-color .16s,background .16s,color .16s,box-shadow .16s;display:inline-flex}.script-subject-delete-actions button:hover{background:#2b2b2b;border-color:#5b5b5b;transform:translateY(-1px)}.script-subject-delete-actions button.primary{color:#111827;background:linear-gradient(135deg,#27d9c7,#27d9c7);border-color:#27d9c79e;box-shadow:0 12px 24px #27d9c733}.script-subject-delete-actions button.primary:hover:not(:disabled){background:linear-gradient(135deg,#27d9c7,#27d9c7);border-color:#27d9c7e6;box-shadow:0 14px 30px #27d9c747}.script-subject-delete-actions button:disabled{cursor:not-allowed;opacity:.48;box-shadow:none;transform:none}.script-subject-delete-actions button.danger{color:#fff5f5;background:linear-gradient(135deg,#ff5d73,#b91c1c);border-color:#f871719e;box-shadow:0 12px 24px #ef444438}.script-subject-delete-actions button.danger:hover{background:linear-gradient(135deg,#f05252,#dc2626);border-color:#fca5a5d1;box-shadow:0 14px 30px #ef44444d}.script-import-canvas-overlay{z-index:1300;-webkit-backdrop-filter:blur(7px);backdrop-filter:blur(7px);background:#000000ad;place-items:center;padding:24px;animation:.18s fadeIn;display:grid;position:fixed;inset:0}.script-import-canvas-dialog{color:#f8fafc;text-align:center;background:linear-gradient(#202020,#151515);border:1px solid #27d9c742;border-radius:16px;justify-items:center;width:min(480px,100vw - 48px);padding:28px;animation:.2s slideUp;display:grid;box-shadow:0 28px 80px #0000008f,inset 0 0 0 1px #ffffff08}.script-import-canvas-icon{color:#27d9c7;background:#27d9c71a;border:1px solid #27d9c761;border-radius:50%;place-items:center;width:54px;height:54px;margin-bottom:14px;display:grid;box-shadow:0 0 22px #27d9c724}.script-import-canvas-dialog h3{color:#fff;margin:0;font-size:20px;font-weight:900}.script-import-canvas-dialog p{color:#aeb6c5;margin:12px 0 18px;font-size:13px;line-height:1.75}.script-import-canvas-options{grid-template-columns:1fr 1fr;gap:12px;width:100%;margin-bottom:14px;display:grid}.script-import-canvas-options button{color:#dbe3ef;cursor:pointer;background:#171717;border:1px solid #3d3d3d;border-radius:12px;align-content:center;gap:7px;min-height:78px;padding:14px;transition:border-color .16s,background .16s,transform .16s,color .16s;display:grid}.script-import-canvas-options button.active,.script-import-canvas-options button:hover{color:#f8fafc;background:#27d9c714;border-color:#27d9c7b3;transform:translateY(-1px)}.script-import-canvas-options strong{font-size:14px;font-weight:900}.script-import-canvas-options span{color:#27d9c7;font-size:12px;font-weight:800}.script-import-canvas-note{color:#aeb6c5;background:#0f0f0fb8;border:1px solid #94a3b838;border-radius:10px;width:100%;padding:10px 12px;font-size:12px;line-height:1.6}.script-import-canvas-error{color:#ff5d73;margin-top:10px;font-size:13px;font-weight:800}.script-import-canvas-actions{grid-template-columns:1fr 1fr;gap:12px;width:100%;margin-top:20px;display:grid}.script-import-canvas-actions button{color:#dbe3ef;cursor:pointer;background:#242424;border:1px solid #3d3d3d;border-radius:999px;justify-content:center;align-items:center;height:42px;font-size:14px;font-weight:900;transition:transform .16s,border-color .16s,background .16s,box-shadow .16s;display:inline-flex}.script-import-canvas-actions button:hover{background:#2b2b2b;border-color:#5b5b5b;transform:translateY(-1px)}.script-import-canvas-actions button.primary{color:#111827;background:linear-gradient(135deg,#27d9c7,#27d9c7);border-color:#0000;box-shadow:0 12px 24px #27d9c733}.script-storyboard-page{color:#f8fafc;background:#101010;grid-template-rows:auto auto minmax(0,1fr);gap:16px;min-width:0;height:100%;padding:22px 24px 28px;display:grid;overflow:hidden}.script-storyboard-generate-overlay{z-index:1500;-webkit-backdrop-filter:blur(7px);backdrop-filter:blur(7px);background:radial-gradient(circle,#27d9c70d,#0000 24%),#000000e0;place-items:center;padding:24px;display:grid;position:fixed;inset:0}.script-storyboard-generate-overlay:before{content:"";opacity:.24;pointer-events:none;background-image:linear-gradient(45deg,#ffffff09 25%,#0000 25%),linear-gradient(-45deg,#ffffff09 25%,#0000 25%),linear-gradient(45deg,#0000 75%,#ffffff09 75%),linear-gradient(-45deg,#0000 75%,#ffffff09 75%);background-position:0 0,0 8px,8px -8px,-8px 0;background-size:16px 16px;position:absolute;inset:0}.script-storyboard-generate-center{z-index:1;text-align:center;justify-items:center;gap:16px;min-width:min(560px,100vw - 48px);display:grid;position:relative}.script-storyboard-generate-center svg{color:#27d9c7;filter:drop-shadow(0 0 14px #27d9c770);animation:1.1s linear infinite script-storyboard-spin}.script-storyboard-generate-center h2{color:#27d9c7;letter-spacing:-.02em;text-shadow:0 0 14px #27d9c729;margin:0;font-size:clamp(18px,2vw,24px);font-weight:950}.script-storyboard-generate-center p{color:#e5e7eb;margin:12px 0 0;font-size:14px;font-weight:750}.script-storyboard-generate-center span{color:#6f7a8d;font-size:12px;font-weight:800}.script-storyboard-generate-center em{color:#27d9c7;font-size:13px;font-style:normal;font-weight:900}.script-storyboard-generate-progress{background:#ffffff14;border:1px solid #27d9c73d;border-radius:999px;width:min(360px,70vw);height:8px;margin-top:8px;overflow:hidden}.script-storyboard-generate-progress i{border-radius:inherit;background:linear-gradient(90deg,#27d9c7,#27d9c7);height:100%;transition:width .24s;display:block;box-shadow:0 0 16px #27d9c77a}.script-storyboard-generate-progress.is-waiting{position:relative}.script-storyboard-generate-progress.is-waiting:after{content:"";background:linear-gradient(90deg,#0000,#ffffff94,#0000);width:38%;animation:1.8s ease-in-out infinite script-storyboard-progress-sweep;position:absolute;inset:0;transform:translate(-140%)}@keyframes script-storyboard-progress-sweep{to{transform:translate(360%)}}.script-storyboard-generate-overlay.in-panel{z-index:40;padding:18px;position:absolute;inset:0}.script-storyboard-generate-overlay.in-panel .script-storyboard-generate-center{min-width:min(560px,100% - 48px);transform:scale(.82)}.script-storyboard-generate-overlay.in-panel .script-storyboard-generate-progress{width:min(360px,70%)}.script-storyboard-generate-only{background:#101010;height:100%;min-height:420px;position:relative;overflow:hidden}@keyframes script-storyboard-spin{to{transform:rotate(360deg)}}.script-storyboard-head{border-bottom:1px solid #262626;justify-content:space-between;align-items:center;gap:18px;padding-bottom:16px;display:flex}.script-storyboard-head h2{color:#fff;margin:0;font-size:20px;font-weight:950}.script-storyboard-head p{color:#7d8797;margin:7px 0 0;font-size:13px;font-weight:700}.script-storyboard-actions{flex-wrap:wrap;justify-content:flex-end;gap:10px;display:flex}.script-storyboard-actions button,.script-storyboard-empty button{color:#dbe3ef;cursor:pointer;background:#202020;border:1px solid #3d3d3d;border-radius:999px;justify-content:center;align-items:center;gap:7px;min-height:38px;padding:0 15px;font-size:13px;font-weight:900;transition:transform .18s,border-color .18s,background .18s;display:inline-flex}.script-storyboard-actions button:hover,.script-storyboard-empty button:hover{background:#282828;border-color:#27d9c79e;transform:translateY(-1px)}.script-storyboard-actions button.primary,.script-storyboard-empty button.primary{color:#111827;background:linear-gradient(135deg,#27d9c7,#27d9c7);border-color:#0000;box-shadow:0 12px 24px #27d9c733}.script-storyboard-summary{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;display:grid}.script-storyboard-summary article{background:linear-gradient(#1c1c1c,#141414);border:1px solid #2d2d2d;border-radius:14px;gap:6px;padding:14px 16px;display:grid}.script-storyboard-summary span{color:#8a94a5;font-size:12px;font-weight:800}.script-storyboard-summary strong{color:#27d9c7;font-size:24px;font-weight:950}.script-storyboard-list{min-height:0;padding-right:4px;overflow-y:auto}.script-storyboard-scene{background:#151515;border:1px solid #292929;border-radius:16px;margin-bottom:18px;box-shadow:0 14px 32px #0000002e}.script-storyboard-scene-head{border-bottom:1px solid #252525;grid-template-columns:42px minmax(0,1fr) auto;align-items:center;gap:12px;padding:14px 16px;display:grid}.script-storyboard-scene-head>span{color:#111827;background:#27d9c7;border-radius:10px;place-items:center;width:34px;height:34px;font-size:12px;font-weight:950;display:grid}.script-storyboard-scene-head h3{color:#fff;text-overflow:ellipsis;white-space:nowrap;margin:0;font-size:15px;font-weight:950;overflow:hidden}.script-storyboard-scene-head p{color:#7f8794;text-overflow:ellipsis;white-space:nowrap;margin:5px 0 0;font-size:12px;overflow:hidden}.script-storyboard-scene-head b{color:#aeb6c5;font-size:12px;font-weight:900}.script-storyboard-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;padding:14px;display:grid}.script-storyboard-card{background:#101010;border:1px solid #2d2d2d;border-radius:13px;grid-template-columns:196px minmax(0,1fr);min-width:0;display:grid;overflow:hidden}.script-storyboard-frame{color:#5f6977;background:linear-gradient(135deg,#1f1f1f,#111);place-items:center;min-height:132px;display:grid;position:relative;overflow:hidden}.script-storyboard-frame img{object-fit:cover;width:100%;height:100%;display:block}.script-storyboard-shot-no,.script-storyboard-duration{color:#fff;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#0000009e;border-radius:999px;align-items:center;min-height:24px;font-size:11px;font-weight:950;display:inline-flex;position:absolute}.script-storyboard-shot-no{padding:0 9px;top:8px;left:8px}.script-storyboard-duration{padding:0 8px;bottom:8px;right:8px}.script-storyboard-card-body{align-content:start;gap:9px;min-width:0;padding:12px;display:grid}.script-storyboard-badges{flex-wrap:wrap;gap:6px;display:flex}.script-storyboard-badges span{color:#f5f6fa;background:#27d9c712;border:1px solid #27d9c733;border-radius:999px;padding:3px 7px;font-size:11px;font-weight:850}.script-storyboard-card-body p{color:#e5e7eb;-webkit-line-clamp:3;-webkit-box-orient:vertical;margin:0;font-size:13px;font-weight:750;line-height:1.65;display:-webkit-box;overflow:hidden}.script-storyboard-card-body dl{color:#aeb6c5;grid-template-columns:54px minmax(0,1fr);gap:5px 8px;margin:0;font-size:12px;line-height:1.55;display:grid}.script-storyboard-card-body dt{color:#6f7a8d;font-weight:900}.script-storyboard-card-body dd{text-overflow:ellipsis;white-space:nowrap;margin:0;overflow:hidden}.script-storyboard-refs{flex-wrap:wrap;gap:6px;display:flex}.script-storyboard-refs span{background:#0f0f0f;border:1px solid #333;border-radius:8px;width:34px;height:34px;display:inline-flex;position:relative;overflow:hidden}.script-storyboard-refs img{object-fit:cover;width:100%;height:100%}.script-storyboard-refs b{color:#fff;text-overflow:ellipsis;white-space:nowrap;background:#00000094;padding:1px 3px;font-size:8px;font-weight:900;position:absolute;bottom:0;left:0;right:0;overflow:hidden}.script-storyboard-empty{color:#f8fafc;background:#101010;place-items:center;height:100%;padding:32px;display:grid}.script-storyboard-empty>div{text-align:center;background:#171717;border:1px solid #2d2d2d;border-radius:18px;justify-items:center;gap:12px;max-width:460px;padding:36px;display:grid}.script-storyboard-empty svg{color:#27d9c7}.script-storyboard-empty h2{color:#fff;margin:0;font-size:22px}.script-storyboard-empty p{color:#99a3b3;margin:0;line-height:1.7}.script-storyboard-empty div div{flex-wrap:wrap;justify-content:center;gap:10px;display:flex}.script-history-overlay{z-index:1280;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);background:#00000094;justify-content:flex-end;padding:16px;animation:.18s fadeIn;display:flex;position:fixed;inset:0}.script-history-panel{color:#f8fafc;background:linear-gradient(#202020,#151515);border:1px solid #27d9c738;border-radius:18px;flex-direction:column;width:min(430px,100vw - 32px);min-height:0;animation:.2s slideUp;display:flex;overflow:hidden;box-shadow:0 28px 90px #00000094}.script-history-head{border-bottom:1px solid #94a3b824;justify-content:space-between;align-items:center;gap:16px;padding:20px 20px 16px;display:flex}.script-history-head span{color:#27d9c7;font-size:12px;font-weight:900}.script-history-head h3{color:#fff;margin:4px 0 0;font-size:20px;font-weight:900}.script-history-head button{color:#dbe3ef;cursor:pointer;background:#242424;border:1px solid #3d3d3d;border-radius:999px;height:34px;padding:0 14px;font-size:13px;font-weight:800}.script-history-list{-ms-overflow-style:none;scrollbar-width:none;gap:10px;min-height:0;padding:16px;display:grid;overflow-y:auto}.script-history-list::-webkit-scrollbar{display:none}.script-history-error{color:#ff5d73;background:#7f1d1d38;border:1px solid #f8717152;border-radius:10px;margin:12px 16px 0;padding:9px 11px;font-size:12px;font-weight:800;line-height:1.5}.script-history-list article{background:#121212eb;border:1px solid #343434;border-radius:14px;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px;padding:14px;display:grid}.script-history-list article.active{border-color:#27d9c78f;box-shadow:inset 0 0 0 1px #27d9c714}.script-history-record-main{min-width:0}.script-history-record-main strong{color:#fff;text-overflow:ellipsis;white-space:nowrap;font-size:15px;font-weight:900;display:block;overflow:hidden}.script-history-record-main span{color:#7f8a9a;margin-top:5px;font-size:12px;display:block}.script-history-record-main p{color:#aeb6c5;margin:7px 0 0;font-size:12px}.script-history-record-actions{align-items:center;gap:8px;display:flex}.script-history-record-actions button{color:#27d9c7;cursor:pointer;background:#27d9c714;border:1px solid #27d9c773;border-radius:999px;justify-content:center;align-items:center;height:34px;padding:0 13px;font-size:13px;font-weight:900;display:inline-flex}.script-history-record-actions button.danger{color:#ff5d73;background:#7f1d1d38;border-color:#f871716b;width:34px;padding:0}.script-history-empty{color:#aeb6c5;text-align:center;align-content:center;place-items:center;gap:10px;min-height:260px;padding:30px;display:grid}.script-history-empty svg{color:#27d9c7}.script-history-empty strong{color:#fff;font-size:16px}.script-history-empty p{max-width:280px;margin:0;font-size:13px;line-height:1.7}.script-subject-empty,.script-shot-empty{background:#101010;place-items:center;height:100%;display:grid}.script-subject-empty>div,.script-shot-empty>div{text-align:center;background:#171717;border:1px solid #323232;border-radius:12px;width:min(460px,90%);padding:34px}.script-subject-empty svg,.script-shot-empty svg{color:#27d9c7}.script-subject-empty h2,.script-shot-empty h2{color:#fff;margin:14px 0 0;font-size:22px;font-weight:900}.script-subject-empty p,.script-shot-empty p{color:#aeb6c5;margin:12px 0 20px;line-height:1.7}.script-subject-empty button,.script-shot-empty button{color:#27d9c7;cursor:pointer;background:#101010;border:1px solid #27d9c7;border-radius:999px;height:36px;padding:0 16px;font-weight:800;transition:border-color .16s,color .16s,background .16s,transform .16s}.script-subject-empty button:hover,.script-shot-empty button:hover{background:#27d9c71a;border-color:#27d9c7d9;transform:translateY(-1px)}.script-lab-module-panel{background:radial-gradient(circle at 50% 30%,#27d9c70a,#0000 28%),#101010;place-items:center;height:100%;padding:32px;display:grid}.script-lab-module-card{text-align:center;background:#171717;border:1px solid #3d3d3d;border-radius:8px;width:min(520px,92vw);padding:36px;box-shadow:0 22px 70px #00000042}.script-lab-module-icon{color:#27d9c7;background:#27d9c714;border:1px solid #27d9c742;border-radius:50%;place-items:center;width:64px;height:64px;margin:0 auto 18px;display:grid}.script-lab-module-card>span{color:#27d9c7;font-size:12px;font-weight:700}.script-lab-module-card h2{color:#fff;margin:10px 0 12px;font-size:24px}.script-lab-module-card p{color:#aeb6c5;margin:0;line-height:1.7}.script-lab-module-tags{flex-wrap:wrap;justify-content:center;gap:8px;margin:22px 0;display:flex}.script-lab-module-tags em{color:#cbd5e1;background:#101010;border:1px solid #383838;border-radius:999px;padding:5px 10px;font-size:12px;font-style:normal}.script-lab-module-card button{color:#27d9c7;background:#101010;border:1px solid #27d9c7;border-radius:3px;justify-content:center;align-items:center;gap:6px;height:36px;padding:0 15px;display:inline-flex}.script-shot-page{color:#f8fafc;background:#101010;grid-template-columns:minmax(0,1fr);min-width:0;height:100%;display:grid;overflow:hidden}.script-shot-chapter-panel{background:#232424;border-right:1px solid #343434;flex-direction:column;gap:10px;padding:16px 15px;display:flex}.script-shot-chapter-panel button{color:#d9dee6;text-align:left;background:0 0;border:0;border-radius:3px;width:100%;height:48px;padding:0 15px;font-size:16px;font-weight:800}.script-shot-chapter-panel button:hover{background:#303030}.script-shot-chapter-panel button.active{color:#27d9c7;background:#363636}.script-shot-main{grid-template-rows:auto auto minmax(0,1fr);min-width:0;padding:24px 24px 0;display:grid;overflow:hidden}.script-shot-head{border-bottom:1px solid #2f2f2f;justify-content:space-between;align-items:flex-start;gap:16px;padding:0 0 18px;display:flex}.script-shot-head h2{color:#fff;align-items:baseline;gap:8px;margin:0;font-size:20px;display:inline-flex}.script-shot-head h2 span{color:#758299;font-size:13px;font-weight:600}.script-shot-head p{color:#738096;margin:8px 0 0;font-size:13px}.script-shot-actions{flex-wrap:wrap;justify-content:flex-end;gap:8px;display:flex}.script-shot-actions button,.script-shot-actions label{color:#dfe7f2;cursor:pointer;background:#171717;border:1px solid #3f454d;border-radius:8px;justify-content:center;align-items:center;gap:7px;height:38px;padding:0 16px;font-size:13px;font-weight:800;transition:border-color .16s,color .16s,background .16s,transform .16s;display:inline-flex}.script-shot-actions button:hover,.script-shot-actions label:hover{color:#27d9c7;background:#202020;border-color:#27d9c794;transform:translateY(-1px)}.script-shot-actions .primary{color:#111827;background:linear-gradient(135deg,#27d9c7,#27d9c7);border-color:#0000}.script-shot-actions .script-shot-import-canvas-button{color:#111827;background:linear-gradient(135deg,#27d9c7,#27d9c7);border-color:#27d9c7b8;box-shadow:0 12px 26px #27d9c72e}.script-shot-actions .script-shot-import-canvas-button:hover{color:#111827;background:linear-gradient(135deg,#27d9c7,#27d9c7);border-color:#27d9c7e6;box-shadow:0 14px 30px #27d9c742}.script-shot-error{color:#ff5d73;background:#7f1d1d38;border:1px solid #f8717159;border-radius:8px;margin-top:12px;padding:9px 12px;font-size:13px;font-weight:700}.script-shot-scroll{-ms-overflow-style:none;scrollbar-width:none;min-height:0;padding:16px 0 26px;overflow-y:auto}.script-shot-scroll::-webkit-scrollbar{display:none}.script-shot-scene{margin-bottom:10px}.script-shot-scene-head{grid-template-columns:58px minmax(0,1fr) auto auto;align-items:center;gap:10px;min-height:41px;margin-bottom:12px;display:grid}.script-shot-scene-head strong{color:#27d9c7;font-size:15px;font-weight:900;position:relative}.script-shot-scene-head strong:before{content:"";background:#27d9c7;border-radius:999px;width:4px;height:18px;position:absolute;top:50%;left:-9px;transform:translateY(-50%)}.script-shot-scene-head input{color:#fff;background:#1e1e1e;border:0;border-radius:7px;outline:none;min-width:0;height:41px;padding:0 14px;font-size:14px;font-weight:800}.script-shot-scene-head button{color:#dfe7f2;cursor:pointer;background:#171717;border:1px solid #3f454d;border-radius:8px;justify-content:center;align-items:center;gap:6px;height:38px;padding:0 12px;font-size:12px;font-weight:900;display:inline-flex}.script-shot-scene-head button:hover{color:#27d9c7;background:#202020;border-color:#27d9c794}.script-shot-scene-head button.danger{color:#fda4a4;border-color:#f8717147;width:38px;padding:0}.script-shot-list{gap:8px;display:grid}.script-shot-row{background:#151515;border:1px solid #ffffff0d;border-radius:10px;grid-template-columns:minmax(0,1fr);gap:8px;padding:10px;display:grid}.script-shot-row-top{grid-template-columns:66px minmax(0,1fr) 72px 84px;align-items:center;gap:8px;display:grid}.script-shot-index{color:#9bb0cd;font-size:13px;font-weight:800}.script-shot-row textarea{color:#f8fafc;resize:none;-ms-overflow-style:none;scrollbar-width:none;background:#050505;border:1px solid #0000;border-radius:4px;outline:none;width:100%;height:34px;min-height:34px;padding:8px 10px;font-size:14px;font-weight:800;line-height:18px}.script-shot-meta-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;padding-left:74px;display:grid}.script-shot-meta-grid label{gap:5px;min-width:0;display:grid}.script-shot-meta-grid label.wide{grid-column:span 2}.script-shot-meta-grid span{color:#74839a;font-size:11px;font-weight:900}.script-shot-meta-grid input,.script-shot-meta-grid select,.script-shot-meta-grid textarea{color:#f8fafc;background:#080808;border:1px solid #ffffff0f;border-radius:6px;outline:none;width:100%;min-width:0;font-size:12px;font-weight:700}.script-shot-meta-grid input,.script-shot-meta-grid select{height:34px;padding:0 9px}.script-shot-meta-grid textarea{resize:vertical;height:60px;min-height:60px;padding:8px 9px;line-height:1.45}.script-shot-meta-grid input:focus,.script-shot-meta-grid select:focus,.script-shot-meta-grid textarea:focus{border-color:#27d9c780;box-shadow:0 0 0 2px #27d9c714}.script-shot-row textarea::-webkit-scrollbar{display:none}.script-shot-row textarea:focus{border-color:#27d9c78c;box-shadow:0 0 0 2px #27d9c714}.script-shot-count{color:#7f8ea3;text-align:right;font-size:12px;font-weight:800}.script-shot-count.over-limit{color:#7357ff}.script-shot-row-actions{justify-content:flex-end;gap:3px;display:inline-flex}.script-shot-row-actions button{color:#8c98a8;cursor:pointer;background:0 0;border:0;border-radius:50%;justify-content:center;align-items:center;width:24px;height:24px;display:inline-flex}.script-shot-row-actions button:hover{color:#27d9c7;background:#27d9c71f}.script-shot-add-scene{color:#27d9c7;cursor:pointer;background:#27d9c70f;border:1px dashed #27d9c761;border-radius:8px;justify-content:center;align-items:center;gap:8px;height:40px;margin-top:8px;padding:0 16px;font-size:13px;font-weight:900;display:inline-flex}.script-shot-add-scene:hover{background:#27d9c71a;border-color:#27d9c7b8}@media (width<=1180px){.script-lab-save-status{display:none}}@media (width<=900px){.script-lab-topbar{grid-template-columns:1fr;gap:8px;height:auto;padding:8px 10px}.script-lab-titlebar{padding-left:0}.script-lab-top-actions{justify-content:flex-end;width:100%;padding-right:0}.script-lab-agent-shell{inset:96px 0 0}.script-lab-agent-shell .production-agent-panel{width:auto;max-height:calc(100dvh - 120px);inset:auto 12px 12px}.script-lab-save-status{margin-right:auto}.script-lab-tabs{justify-self:stretch;width:100%;overflow-x:auto}.script-lab-tabs button{flex:1 0 auto}.script-lab-body{--script-lab-sidebar-width:132px;grid-template-columns:var(--script-lab-sidebar-width) minmax(0, 1fr);height:calc(100vh - 96px)}.script-lab-editor-head{grid-template-columns:1fr;gap:10px;height:auto;padding:14px 16px}.script-lab-editor-layout{grid-template-columns:minmax(0,1fr)}.script-lab-console{display:none}.script-subject-workbench{grid-template-columns:minmax(0,1fr)}.script-subject-detail{display:none}.script-shot-page{grid-template-columns:minmax(0,1fr)}.script-shot-chapter-panel{display:none}.script-shot-main{padding:16px 12px 0}.script-shot-head{flex-direction:column}.script-shot-actions{justify-content:flex-start}.script-shot-scene-head,.script-shot-row-top{grid-template-columns:58px minmax(0,1fr)}.script-shot-scene-head button,.script-shot-count,.script-shot-row-actions{grid-column:2;justify-self:end}.script-shot-meta-grid{grid-template-columns:minmax(0,1fr);padding-left:0}.script-shot-meta-grid label.wide{grid-column:auto}.script-lab-content-type,.script-lab-word-count,.script-lab-editor-actions{justify-self:start}.script-lab-editor-actions{flex-wrap:wrap}.script-lab-textarea{padding:10px 16px 24px}.script-analyze-progress-overlay{padding:16px}.script-analyze-progress-card{border-radius:18px;padding:32px 22px 28px}.script-analyze-progress-icon{width:58px;height:58px}.script-analyze-progress-meta{flex-direction:column;align-items:flex-start;gap:6px}}.video-preview-frame.deferred{min-height:96px}.video-preview-placeholder{z-index:1;border-radius:inherit;color:#cbd5e1;text-align:center;cursor:pointer;background:radial-gradient(circle at 50% 20%,#27d9c714,#0000 38%),#05070a;border:1px solid #ffffff14;flex-direction:column;justify-content:center;align-items:center;gap:8px;width:100%;min-height:100%;font-size:12px;display:flex;position:absolute;inset:0}.video-preview-placeholder svg{color:#7357ff}.estimated-charge{color:#cbd5e1;background:linear-gradient(135deg,#0f1117f5,#1e293bc7);border:1px solid #60a5fa38;border-radius:10px;grid-template-columns:auto auto minmax(0,1fr);align-items:center;gap:8px;margin-top:10px;padding:8px 10px;font-size:12px;line-height:1.2;display:grid;box-shadow:inset 0 1px #ffffff0a}.estimated-charge span{color:#93c5fd;white-space:nowrap;font-weight:650}.estimated-charge strong{color:#7357ff;font-variant-numeric:tabular-nums;white-space:nowrap;font-size:14px}.estimated-charge em{color:#94a3b8;text-overflow:ellipsis;white-space:nowrap;min-width:0;font-style:normal;overflow:hidden}.text-node-controls .estimated-charge{color:#d1d5db;white-space:nowrap;width:auto;min-width:max-content;height:32px;box-shadow:none;background:#7357ff14;border:1px solid #7357ff38;border-radius:8px;justify-content:center;align-items:center;gap:5px;margin:0 2px 0 auto;padding:0 9px;font-size:12px;font-weight:650;line-height:1;display:inline-flex}.text-node-controls .estimated-charge span{color:#cbd5e1;font-weight:650}.text-node-controls .estimated-charge strong{color:#7357ff;font-variant-numeric:tabular-nums;white-space:nowrap;font-size:13px}.text-node-controls .estimated-charge em{display:none}.text-node-card .text-node-controls:not(.video-node-controls) .generate-btn{margin-left:auto}.video-node-controls .video-estimated-charge{background:radial-gradient(circle at 18% 20%,#7357ff38,#0000 42%),linear-gradient(135deg,#161925f5,#111827f5);border:1px solid #7357ff6b;border-radius:999px;gap:7px;height:34px;margin-left:auto;margin-right:4px;padding:0 12px 0 13px;position:relative;box-shadow:0 8px 20px #00000042,inset 0 1px #ffffff14}.video-node-controls .video-estimated-charge:before{content:"";background:#7357ff;border-radius:999px;width:6px;height:6px;box-shadow:0 0 10px #7357ffcc}.video-node-controls .video-estimated-charge span{color:#7357ff;letter-spacing:.02em;font-size:12px}.video-node-controls .video-estimated-charge strong{color:#fff;text-shadow:0 0 12px #7357ff47;font-size:15px;font-weight:850}.video-node-controls .generate-btn{margin-left:auto}.video-node-controls .video-generate-stack{flex-direction:column;align-items:flex-end;gap:6px;margin-left:auto;display:inline-flex}.video-node-controls .video-generate-stack .generate-btn{margin-left:0}.video-node-controls .video-generate-stack .video-estimated-charge{border-radius:9px;gap:6px;height:28px;margin:0;padding:0 10px}.video-node-controls .video-generate-stack .video-estimated-charge span{font-size:11px}.video-node-controls .video-generate-stack .video-estimated-charge strong{font-size:13px}.video-node-controls .video-estimated-charge-panel{color:#cbd5e1;background:linear-gradient(135deg,#0f1117f5,#1e293bc7);border:1px solid #60a5fa38;border-radius:10px;grid-template-columns:auto auto minmax(0,1fr);align-items:center;gap:8px;width:100%;min-width:0;height:auto;margin:10px 0 0;padding:8px 10px;font-size:12px;line-height:1.2;display:grid;box-shadow:inset 0 1px #ffffff0a}.video-node-controls .video-estimated-charge-panel:before{display:none}.video-node-controls .video-estimated-charge-panel span{color:#93c5fd;white-space:nowrap;font-size:12px;font-weight:650}.video-node-controls .video-estimated-charge-panel strong{color:#7357ff;font-variant-numeric:tabular-nums;text-shadow:none;white-space:nowrap;font-size:14px;font-weight:800}.video-node-controls .video-estimated-charge-panel em{color:#94a3b8;text-overflow:ellipsis;white-space:nowrap;min-width:0;font-style:normal;display:block;overflow:hidden}.text-node-input-panel .text-node-controls{gap:12px;min-height:54px}.text-node-input-panel .model-selector{width:219px;height:48px;font-size:14px}.text-node-input-panel .audio-control-left .model-selector{flex:0 0 213px;width:213px}.text-node-input-panel .model-selector-trigger,.text-node-input-panel .model-selector-option{border-radius:10px;gap:9px;height:48px;padding:0 15px;font-size:14px;line-height:48px}.text-node-input-panel .model-selector-trigger svg{width:18px;height:18px}.text-node-input-panel .model-selector-trigger:after{border-top-width:7px;border-left-width:6px;border-right-width:6px;right:15px}.text-node-input-panel .video-settings-trigger,.text-node-input-panel .image-settings-trigger,.text-node-input-panel .video-frame-toggle,.text-node-input-panel .audio-voice-select-trigger{border-radius:10px;gap:8px;min-height:48px;padding:0 15px;font-size:14px}.text-node-input-panel .audio-control-left{gap:12px}.text-node-input-panel .audio-voice-select-trigger{flex:0 168px;width:168px}.text-node-input-panel .video-frame-toggle{min-width:114px}.text-node-input-panel .generate-btn{border-radius:9px;width:54px;height:54px}.text-node-input-panel .generate-btn svg{width:18px;height:18px}.text-node-input-panel .audio-node-controls .generate-btn{flex:0 0 54px}.text-node-input-panel .image-to-image-row{gap:15px;min-height:66px}.text-node-input-panel .image-to-image-inline{gap:12px;margin-top:15px}.text-node-input-panel .image-to-image-actions,.text-node-input-panel .video-reference-actions{gap:12px}.text-node-input-panel .video-reference-actions{margin-bottom:15px}.text-node-input-panel .image-to-image-btn{border-radius:10px;gap:10px;min-width:156px;height:60px;padding:0 21px;font-size:14px}.text-node-input-panel .material-wrapper,.text-node-input-panel .reference-text-wrapper{margin-bottom:18px}.text-node-input-panel .material-list{gap:12px}.text-node-input-panel .reference-image-material-item,.text-node-input-panel .material-list .reference-image-thumb,.text-node-input-panel .material-list .reference-video-thumb,.text-node-input-panel .material-list .reference-audio-thumb{height:87px}.text-node-input-panel .text-node-controls .estimated-charge{border-radius:12px;gap:8px;height:48px;padding:0 14px;font-size:13px}.text-node-input-panel .text-node-controls .estimated-charge strong{font-size:15px}.text-node-input-panel .video-node-controls .video-estimated-charge-panel{border-radius:15px;margin-top:15px;padding:12px 15px;font-size:13px}.text-node-input-panel .video-node-controls .video-estimated-charge-panel strong{font-size:15px}.user-wallet-group{align-items:center;gap:8px;min-width:0;display:inline-flex}.balance-chip{color:#7357ff;font-variant-numeric:tabular-nums;white-space:nowrap;background:#7357ff14;border:1px solid #7357ff38;border-radius:999px;justify-content:center;align-items:center;min-width:max-content;height:32px;padding:0 11px;font-size:13px;font-weight:750;line-height:1;transition:border-color .2s,background .2s,transform .2s;display:inline-flex}.balance-chip:hover:not(:disabled){background:#7357ff24;border-color:#7357ff75}.balance-chip:disabled{cursor:wait;opacity:.72}@media (width<=760px){.script-subject-grid,.script-subject-scene-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.user-wallet-group{width:100%}.user-wallet-group .user-chip,.user-wallet-group .balance-chip{flex:1 1 0}}@media (width<=520px){.script-subject-grid,.script-subject-scene-grid{grid-template-columns:minmax(0,1fr)}}.pricing-page{color:#f8fafc;background:radial-gradient(circle at 50% -18%,#1c849b57,#0000 28%),linear-gradient(#020304 0%,#000 42%,#020507 100%);min-height:100vh;overflow-x:hidden}.pricing-topbar{z-index:30;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#000000d1;border-bottom:1px solid #ffffff14;grid-template-columns:1fr auto 1fr;align-items:center;height:54px;padding:0 32px;display:grid;position:sticky;top:0}.pricing-brand{color:#fff;background:0 0;border:0;align-items:center;gap:10px;width:fit-content;padding:0;font-size:17px;font-weight:850;display:inline-flex}.pricing-brand-logo{object-fit:contain;width:190px;height:52px;display:block}.pricing-back{color:#7de7ff;background:0 0;border:1px solid #5fd2ec6b;border-radius:999px;justify-content:center;align-items:center;gap:6px;min-height:38px;padding:0 14px;font-size:13px;font-weight:800;display:inline-flex}.pricing-back:hover,.pricing-back:focus-visible{color:#001217;background:#5bd7f3;outline:none}.pricing-user{color:#9aa7b7;text-overflow:ellipsis;white-space:nowrap;justify-self:end;max-width:220px;font-size:13px;overflow:hidden}.pricing-shell{width:min(1720px,100vw - 88px);margin:0 auto;padding:18px 0 26px}.pricing-tabs{justify-content:center;gap:0;height:48px;display:flex}.pricing-tabs button{color:#8d8d8d;background:0 0;border:0;border-bottom:3px solid #0000;min-width:156px;height:48px;font-size:18px;font-weight:850}.pricing-tabs button.active{color:#fff;border-bottom-color:#fff}.pricing-tabs button:hover,.pricing-tabs button:focus-visible{color:#fff;outline:none}.pricing-line{background:linear-gradient(90deg,#0000,#ffffff2e,#0000);height:1px;margin-bottom:24px}.pricing-toolbar{justify-content:center;align-items:center;min-height:50px;margin-bottom:16px;display:flex;position:relative}.pricing-cycle{background:#1b1b1b;border:1px solid #ffffff17;border-radius:999px;align-items:center;padding:4px;display:inline-flex;box-shadow:inset 0 1px #ffffff0d}.pricing-cycle span,.pricing-cycle button{color:#9f9f9f;background:0 0;border:0;border-radius:999px;justify-content:center;align-items:center;gap:8px;min-width:148px;height:40px;font-size:15px;font-weight:850;display:inline-flex}.pricing-cycle span.active,.pricing-cycle button.active{color:#fff;background:#303030}.pricing-cycle em{color:#7357ff;background:#7357ff1f;border-radius:999px;padding:3px 6px;font-size:11px;font-style:normal;font-weight:850}.pricing-promo{color:#60dcf8;background:#001117b8;border:1px solid #52d8f5d1;border-radius:13px;min-height:40px;padding:0 18px;font-size:13px;font-weight:850;position:absolute;right:0}.pricing-promo span{margin-left:8px;font-size:18px}.pricing-context{justify-content:space-between;align-items:flex-end;gap:18px;margin:0 0 14px;display:flex}.pricing-context div{gap:4px;display:grid}.pricing-context span{color:#56d8f6;letter-spacing:.08em;font-size:12px;font-weight:850}.pricing-context strong{color:#fff;font-size:22px;line-height:1.15}.pricing-context p{color:#8f98a7;text-align:right;max-width:560px;margin:0;font-size:13px;line-height:1.55}.pricing-message{color:#bff5ff;background:#5bd7f31a;border:1px solid #5bd7f359;border-radius:12px;margin:0 0 12px;padding:10px 14px;font-size:13px;font-weight:750}.pricing-grid{align-items:stretch;gap:14px;display:grid}.pricing-grid.plan-count-1{grid-template-columns:minmax(260px,360px);justify-content:center}.pricing-grid.plan-count-2{grid-template-columns:repeat(2,minmax(260px,360px));justify-content:center}.pricing-grid.plan-count-6{grid-template-columns:repeat(6,minmax(0,1fr))}.pricing-grid.plan-count-3{grid-template-columns:repeat(3,minmax(260px,360px));justify-content:center}.pricing-card{background:#111;border:1px solid #ffffff0f;border-radius:16px;min-height:552px;position:relative;overflow:hidden;box-shadow:0 18px 48px #00000047}.pricing-card:before{content:"";background:#242424;border-radius:16px;height:302px;position:absolute;inset:0 0 auto}.pricing-card.featured{background:#071118;border-color:#56d8f6b8}.pricing-card.featured:before{background:#142632}.pricing-card.selected{box-shadow:0 0 0 1px #5bd7f361,0 24px 62px #00000057}.pricing-ribbon{z-index:2;color:#64e1ff;background:#5bd7f31f;border-radius:8px;padding:7px 10px;font-size:12px;font-weight:850;position:absolute;top:18px;right:18px}.pricing-card-head,.pricing-price,.pricing-sub,.pricing-quota,.pricing-note,.pricing-cta,.pricing-benefit-title,.pricing-benefits{z-index:1;position:relative}.pricing-card-head{justify-content:space-between;align-items:flex-start;gap:10px;min-height:58px;padding:28px 24px 0;display:flex}.pricing-card-head h2{color:#f5f7fb;margin:0;font-size:21px;line-height:1.2}.pricing-card-head span{color:#64e1ff;background:#5bd7f31f;border-radius:8px;flex:none;padding:6px 9px;font-size:12px;font-weight:850}.pricing-price{align-items:baseline;gap:5px;padding:8px 24px 0;display:flex}.pricing-price span{color:#fff;font-size:20px;font-weight:900}.pricing-price strong{color:#fff;letter-spacing:-.06em;font-size:clamp(34px,2.8vw,46px);line-height:1}.pricing-price em{color:#fff;font-size:15px;font-style:normal;font-weight:850}.pricing-price del{color:#8b8b8b;margin-left:4px;font-size:14px;font-weight:750}.pricing-sub{color:#9ca3af;min-height:22px;margin:8px 24px 0;font-size:12px;line-height:1.45}.pricing-quota{gap:4px;margin:34px 24px 0;display:grid}.pricing-quota-total,.pricing-quota-bonus{gap:4px;display:grid}.pricing-quota-total strong{color:#fff;font-size:22px;line-height:1}.pricing-quota-bonus{margin-top:6px}.pricing-quota-bonus strong{color:#56d8f6;font-size:14px;line-height:1}.pricing-quota>strong{color:#fff;font-size:22px;line-height:1}.pricing-quota>span,.pricing-quota-total span,.pricing-quota-bonus span{color:#9aa3b1;font-size:12px;font-weight:750}.pricing-note{color:#9ca3af;min-height:20px;margin:12px 24px 0;font-size:12px}.pricing-cta{color:#050505;background:#fff;border:0;border-radius:999px;width:calc(100% - 48px);height:42px;margin:10px 24px 0;font-size:14px;font-weight:900;display:block}.pricing-card.featured .pricing-cta{background:#5bd7f3}.pricing-cta:hover,.pricing-cta:focus-visible{filter:brightness(.92);outline:none}.pricing-benefit-title{color:#12c9ee;margin:34px 24px 0;font-size:14px;font-weight:900}.pricing-benefits{color:#f4f4f4;border-top:1px solid #ffffff1a;gap:12px;margin:14px 24px 0;padding:18px 0 0;font-size:13px;font-weight:750;line-height:1.35;list-style:none;display:grid}.pricing-benefits li{padding-left:18px;position:relative}.pricing-benefits li:before{color:#fff;content:"✓";position:absolute;left:0}@media (width<=1200px){.pricing-shell{width:min(100%,100vw - 40px)}.pricing-grid.plan-count-6{grid-template-columns:repeat(3,minmax(0,1fr))}.pricing-card{min-height:520px}}@media (width<=980px){.pricing-topbar{padding:0 16px}.pricing-shell{width:min(100%,100vw - 28px);padding-top:10px}.pricing-tabs{justify-content:flex-start;gap:8px;height:auto;padding-bottom:4px;overflow-x:auto}.pricing-tabs button{min-width:132px;height:42px;font-size:15px}.pricing-toolbar,.pricing-context{flex-direction:column;align-items:stretch}.pricing-promo{position:static}.pricing-cycle{overflow-x:auto}.pricing-cycle span,.pricing-cycle button{min-width:120px}.pricing-context p{text-align:left;max-width:none}.pricing-grid.plan-count-1,.pricing-grid.plan-count-2,.pricing-grid.plan-count-6,.pricing-grid.plan-count-3{grid-template-columns:1fr;justify-content:stretch}}.pricing-message{justify-content:space-between;align-items:center;gap:12px;display:flex}.pricing-message em{color:#7de7ff;flex:none;font-size:12px;font-style:normal}.pricing-message.success{color:#27d9c7;background:#27d9c71f;border-color:#27d9c76b}.pricing-message.fail{color:#ff5d73;background:#f871711f;border-color:#f871716b}.pricing-qr{background:#061218e6;border:1px solid #5bd7f352;border-radius:18px;align-items:center;gap:16px;width:fit-content;margin:0 auto 16px;padding:14px 18px;display:flex;box-shadow:0 18px 48px #00000047}.pricing-qr img{background:#fff;border-radius:12px;width:128px;height:128px;padding:8px}.pricing-qr div{gap:6px;display:grid}.pricing-qr strong{color:#fff;font-size:18px}.pricing-qr span{color:#9aa7b7;font-size:13px}.pricing-cta:disabled{cursor:not-allowed;filter:grayscale(.3);opacity:.62}@media (width<=980px){.pricing-message,.pricing-qr{flex-direction:column;align-items:flex-start;width:100%}}.pay-modal-backdrop{z-index:120;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);background:#000000b8;place-items:center;padding:24px;animation:.18s ease-out payBackdropIn;display:grid;position:fixed;inset:0}.pay-modal-panel{color:#f8fafc;text-align:center;transform-origin:50%;background:#252525;border:1px solid #ffffff14;border-radius:18px;width:min(430px,100vw - 32px);padding:28px 0 0;animation:.22s cubic-bezier(.2,.8,.2,1) payPanelIn;position:relative;overflow:hidden;box-shadow:0 30px 100px #00000094,0 0 42px #5bd7f314}.pay-modal-close{color:#f5f5f5;background:0 0;border:0;border-radius:999px;place-items:center;width:38px;height:38px;font-size:30px;font-weight:300;line-height:1;transition:color .16s,background .16s;display:grid;position:absolute;top:18px;right:18px}.pay-modal-close:hover,.pay-modal-close:focus-visible{color:#fff;background:#ffffff17;outline:none}.pay-modal-panel h3{color:#fff;margin:2px 52px 0;font-size:17px;font-weight:900;line-height:1.35}.pay-countdown{color:#c8d0dc;justify-content:center;align-items:center;gap:6px;margin-top:18px;font-size:13px;font-weight:650;line-height:1.2;display:inline-flex}.pay-countdown-icon{border:2px solid #1d8cff;border-radius:3px;width:12px;height:12px;box-shadow:inset 0 0 0 2px #252525eb}.pay-countdown strong{color:#fff;font-variant-numeric:tabular-nums;letter-spacing:.04em}.pay-price{justify-content:center;align-items:baseline;gap:6px;margin-top:16px;display:inline-flex}.pay-price strong{color:#1688ff;letter-spacing:-.04em;text-shadow:0 0 18px #1688ff42;font-size:24px;font-weight:950;line-height:1}.pay-price del{color:#c2c6ce;font-size:12px;font-weight:700}.pay-method-tabs{background:#ffffff12;border:1px solid #ffffff14;border-radius:999px;justify-content:center;align-items:center;gap:6px;width:fit-content;margin:14px auto 0;padding:4px;display:flex}.pay-method-tabs button{color:#cbd5e1;cursor:pointer;background:0 0;border:0;border-radius:999px;min-width:96px;height:34px;font-size:13px;font-weight:850;transition:color .16s,background .16s,box-shadow .16s}.pay-method-tabs button.active{color:#061018;background:linear-gradient(135deg,#5bd7f3,#1688ff);box-shadow:0 8px 22px #1688ff47}.pay-method-tabs button:disabled{cursor:not-allowed;opacity:.55}.pay-qr-stage{place-items:center;min-height:170px;margin:14px 0 0;display:grid}.pay-qr-stage img{background:#fff;border-radius:8px;width:148px;height:148px;display:block;box-shadow:0 12px 28px #00000047}.pay-loading{color:#dbeafe;justify-items:center;gap:12px;font-size:14px;display:grid}.pay-loading span{border:3px solid #5bd7f32e;border-top-color:#5bd7f3;border-radius:999px;width:34px;height:34px;animation:.82s linear infinite paySpin}.pay-result{border-radius:14px;align-content:center;place-items:center;gap:10px;width:calc(100% - 92px);min-height:136px;padding:18px;font-size:13px;line-height:1.45;display:grid}.pay-result strong{color:#fff;font-size:18px}.pay-result span{color:#cbd5e1}.pay-result.success{background:#27d9c71f;border:1px solid #27d9c752}.pay-result.fail{background:#f871711f;border:1px solid #f8717157}.pay-result button{color:#050505;background:#fff;border:0;border-radius:999px;min-width:118px;height:34px;padding:0 14px;font-size:13px;font-weight:850}.pay-result button:hover,.pay-result button:focus-visible{filter:brightness(.92);outline:none}.pay-order-no{color:#8e97a6;font-variant-numeric:tabular-nums;text-overflow:ellipsis;white-space:nowrap;margin:4px 36px 0;font-size:11px;overflow:hidden}.pay-renew-hint{color:#c6cbd4;margin:16px 36px 26px;font-size:13px;line-height:1.45}.pay-modal-footer{color:#aeb4bf;background:#ffffff14;padding:14px 24px 15px;font-size:12px;line-height:1.5}.pay-modal-footer a{color:#eef6ff;font-weight:900;text-decoration:none}.pay-modal-footer a:hover,.pay-modal-footer a:focus-visible{color:#fff;outline:none;text-decoration:underline}@keyframes payBackdropIn{0%{opacity:0}to{opacity:1}}@keyframes payPanelIn{0%{opacity:0;transform:translateY(10px)scale(.97)}to{opacity:1;transform:translateY(0)scale(1)}}@keyframes paySpin{to{transform:rotate(360deg)}}@media (width<=520px){.pay-modal-backdrop{padding:16px}.pay-modal-panel{width:100%}.pay-modal-panel h3{text-align:left;margin-left:28px;margin-right:56px}.pay-countdown{flex-wrap:wrap;padding:0 20px}.pay-result{width:calc(100% - 48px)}}@media (prefers-reduced-motion:reduce){.pay-modal-backdrop,.pay-modal-panel,.pay-loading span{animation:none}}.script-shot-progress-inline{background:#121212;border:1px solid #2d2d2d;border-left:3px solid #27d9c7;border-radius:10px;margin:10px 0 14px;padding:14px 16px 13px;box-shadow:0 12px 28px #0000002e}.script-shot-progress-inline-head{color:#f8fafc;justify-content:space-between;align-items:center;gap:12px;margin-bottom:10px;font-size:13px;font-weight:950;display:flex}.script-shot-progress-inline-head b{color:#fff;font-variant-numeric:tabular-nums}.script-shot-progress-inline .script-storyboard-generate-progress{width:100%;max-width:none;margin-top:0}.script-shot-progress-inline p{color:#7d899c;margin:8px 0 0;font-size:12px;font-weight:800;line-height:1.55}.script-shot-progress-inline.is-waiting p{color:#7357ff}.script-shot-generate-overlay{z-index:1500}.script-shot-generate-overlay .script-storyboard-generate-center{max-width:min(560px,100vw - 48px)}.script-shot-generate-overlay .script-storyboard-generate-center p{max-width:560px;line-height:1.7}.script-shot-page.youxi-mode{background:#101010;grid-template-columns:minmax(0,1fr)}.script-shot-head.youxi-mode{border-bottom:1px solid #262626;align-items:center;min-height:70px;padding:0 0 16px}.script-shot-head.youxi-mode h2{color:#fff;letter-spacing:-.02em;font-size:19px}.script-shot-scroll.youxi-mode{padding:12px 0 28px;display:block}.script-shot-scene.youxi-card{background:#121212;border:1px solid #2d2d2d;border-radius:10px;margin-bottom:14px;overflow:hidden;box-shadow:0 12px 28px #0000002e}.script-shot-youxi-card-head{background:#171717;border-bottom:1px solid #242424;grid-template-columns:28px auto minmax(0,1fr) auto;align-items:start;gap:9px;padding:13px 14px;display:grid}.script-shot-collapse,.script-shot-scene-head-actions button{color:#7e899a;cursor:pointer;background:0 0;border:0;border-radius:6px;justify-content:center;align-items:center;width:26px;height:26px;display:inline-flex}.script-shot-collapse:hover,.script-shot-scene-head-actions button:hover{color:#fff;background:#27d9c714}.script-shot-collapse svg{transition:transform .18s}.script-shot-collapse.collapsed svg{transform:rotate(-90deg)}.script-shot-youxi-card-head strong{color:#27d9c7;white-space:nowrap;padding-top:3px;font-size:13px;font-weight:950}.script-shot-youxi-card-head textarea{color:#f8fafc;resize:vertical;background:0 0;border:0;outline:none;width:100%;min-height:42px;padding:0;font-size:13px;font-weight:900;line-height:1.55}.script-shot-youxi-card-head textarea::placeholder{color:#5c6572}.script-shot-scene-head-actions{align-items:center;gap:4px;display:inline-flex}.script-shot-youxi-table-wrap{overflow-x:auto}.script-shot-youxi-table{border-collapse:collapse;table-layout:fixed;color:#f8fafc;width:100%;min-width:1280px}.script-shot-youxi-table th{color:#60708a;text-align:left;white-space:nowrap;background:#111;border-bottom:1px solid #232323;height:50px;padding:0 10px;font-size:12px;font-weight:900}.script-shot-youxi-table th:first-child{width:30px}.script-shot-youxi-table th:nth-child(2){width:70px}.script-shot-youxi-table th:nth-child(3){width:92px}.script-shot-youxi-table th:nth-child(4){width:68px}.script-shot-youxi-table th:nth-child(5),.script-shot-youxi-table th:nth-child(6){width:84px}.script-shot-youxi-table th:nth-child(7){width:190px}.script-shot-youxi-table th:nth-child(8){width:360px}.script-shot-youxi-table th:nth-child(9){width:120px}.script-shot-youxi-table th:nth-child(10){width:88px}.script-shot-youxi-table th:nth-child(11){width:58px}.script-shot-youxi-table th:nth-child(12){width:64px}.script-shot-youxi-table td{vertical-align:top;color:#f8fafc;background:#111;border-bottom:1px solid #202020;padding:14px 10px;font-size:12px;font-weight:850;line-height:1.48}.script-shot-youxi-table tr:hover td{background:#151515}.script-shot-youxi-table input,.script-shot-youxi-table textarea,.script-shot-youxi-table select{color:#f8fafc;width:100%;min-width:0;font:inherit;background:0 0;border:0;outline:none}.script-shot-youxi-table textarea{resize:vertical;scrollbar-width:thin;min-height:58px;line-height:1.5}.script-shot-youxi-table input:focus,.script-shot-youxi-table textarea:focus,.script-shot-youxi-table select:focus{background:#27d9c70f;border-radius:5px;box-shadow:0 0 0 1px #27d9c747}.script-shot-youxi-table input::placeholder,.script-shot-youxi-table textarea::placeholder{color:#515b6a}.script-shot-youxi-table .drag-cell{color:#4b5568;text-align:center}.script-shot-youxi-table .shot-no-cell input{color:#27d9c7;font-weight:950}.script-shot-youxi-table .description-cell textarea{min-height:78px}.script-shot-youxi-table .duration-cell select{color:#fff;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;text-align:center;text-align-last:center;background:#181818;border:1px solid #2f2f2f;border-radius:6px;height:32px;padding:0 8px;font-weight:950}.script-shot-youxi-table .duration-cell select option{color:#f8fafc;background:#181818}.script-shot-youxi-table .script-shot-row-actions.compact{gap:6px;padding-top:12px;display:inline-flex}.script-shot-youxi-table .script-shot-row-actions.compact button{border-radius:5px;width:24px;height:24px}.script-shot-add-row td{text-align:center;background:#111;padding:0}.script-shot-add-row button{color:#7c8798;cursor:pointer;background:0 0;border:0;justify-content:center;align-items:center;gap:7px;width:100%;height:34px;font-size:13px;font-weight:850;display:inline-flex}.script-shot-add-row button:hover{color:#fff;background:#27d9c70f}.script-shot-load-more{color:#8da0ba;background:#ffffff05;border:1px dashed #27d9c738;border-radius:9px;justify-content:center;align-items:center;min-height:46px;margin:8px 0 4px;font-size:13px;font-weight:850;display:flex}@media (width<=900px){.script-shot-youxi-card-head{grid-template-columns:28px auto minmax(0,1fr)}.script-shot-scene-head-actions{grid-column:3;justify-self:end}.script-shot-youxi-table{min-width:1120px}}.script-storyboard-page.youxi-board{--storyboard-video-board-bg:#151515;color:#f8fafc;background:#101010;grid-template-rows:minmax(0,1fr);grid-template-columns:minmax(520px,1fr) 320px;min-width:0;height:100%;padding:0;display:grid;position:relative;overflow:hidden}.script-storyboard-stage{background:#111;grid-template-rows:minmax(0,1fr) 248px;min-width:0;min-height:0;display:grid;overflow:hidden}.script-storyboard-topbar{background:#151515;border-bottom:1px solid #2a2a2a;justify-content:space-between;align-items:center;gap:16px;min-height:58px;padding:0 16px;display:flex}.script-storyboard-topbar h2{color:#fff;margin:0;font-size:18px;font-weight:950}.script-storyboard-topbar p{color:#7e8999;margin:5px 0 0;font-size:12px;font-weight:700}.script-storyboard-preview-shell{background:var(--storyboard-video-board-bg);grid-template-rows:minmax(0,1fr) 44px;min-height:0;display:grid;overflow:hidden}.script-storyboard-preview-canvas{background:var(--storyboard-video-board-bg);place-items:center;min-height:0;padding:18px 26px;display:grid;overflow:hidden;container-type:size}.script-storyboard-preview-video-frame{width:min(100%, calc((100vh - 292px) * var(--media-preview-ratio-width,9) / var(--media-preview-ratio-height,16)));max-width:100%;max-height:100%;aspect-ratio:var(--media-preview-ratio-width,9) / var(--media-preview-ratio-height,16);background:var(--storyboard-video-board-bg);cursor:pointer;border:1px solid #2b2b2b;border-radius:14px;place-items:center;display:grid;position:relative;overflow:hidden;box-shadow:0 18px 46px #00000052}@supports (width:100cqw){.script-storyboard-preview-video-frame{width:min(100cqw, calc(100cqh * var(--media-preview-ratio-width,9) / var(--media-preview-ratio-height,16)));height:min(100cqh, calc(100cqw * var(--media-preview-ratio-height,16) / var(--media-preview-ratio-width,9)))}}.script-storyboard-preview-video-frame>video{object-fit:contain;background:var(--storyboard-video-board-bg);pointer-events:none;width:100%;height:100%;display:block}.script-storyboard-preview-play-button{z-index:2;color:#fff;cursor:pointer;background:#0000001f;border:0;place-items:center;display:grid;position:absolute;inset:0}.script-storyboard-preview-play-button:before{content:"";-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#00000094;border:1px solid #fff3;border-radius:999px;width:82px;height:82px;position:absolute;box-shadow:0 14px 30px #0000005c,inset 0 0 0 1px #27d9c714}.script-storyboard-preview-play-button svg{z-index:1;filter:drop-shadow(0 2px 8px #0000008c);margin-left:5px;position:relative}.script-storyboard-preview-play-button:hover:before,.script-storyboard-preview-play-button:focus-visible:before{background:#000000ad;border-color:#27d9c78a}.script-storyboard-preview-play-button:focus-visible{outline:none}.script-storyboard-checkerboard{background:var(--storyboard-video-board-bg);color:#7357ff;border:1px solid #222;border-radius:14px;align-content:center;place-items:center;gap:8px;width:min(100%,56.25vh - 164.25px);height:min(177.778vw,100vh - 292px);min-height:320px;display:grid;position:relative;overflow:hidden}@supports (width:100cqw){.script-storyboard-checkerboard{width:min(100cqw,56.25cqh);height:min(100cqh,177.778cqw)}}.script-storyboard-checkerboard:after{content:"";background:#0000006b;display:none;position:absolute;inset:0}.script-storyboard-checkerboard>*{z-index:1;position:relative}.script-storyboard-checkerboard img{z-index:0;object-fit:cover;opacity:.24;filter:grayscale(.35);width:100%;height:100%;position:absolute;inset:0}.script-storyboard-checkerboard svg{color:#27d9c7;filter:drop-shadow(0 0 10px #27d9c740)}.script-storyboard-checkerboard .lucide-refresh-cw{animation:1.1s linear infinite script-storyboard-spin}.script-storyboard-checkerboard strong{font-size:14px;font-weight:950}.script-storyboard-checkerboard span{color:#a6b0bf;font-size:12px;font-weight:800}.script-storyboard-scene-caption{color:#f8fafc;background:#171717;border-top:1px solid #262626;align-items:center;gap:6px;min-width:0;padding:0 16px;font-size:12px;font-weight:800;display:flex}.script-storyboard-scene-caption b{color:#fff;flex:none}.script-storyboard-scene-caption span{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.script-storyboard-timeline{background:#191919;border-top:1px solid #2a2a2a;grid-template-rows:48px minmax(0,1fr);min-width:0;display:grid}.script-storyboard-timeline-head{justify-content:space-between;align-items:center;gap:12px;padding:0 16px;display:flex}.script-storyboard-timeline-head div{align-items:baseline;gap:8px;display:flex}.script-storyboard-timeline-head strong{color:#fff;font-size:13px;font-weight:950}.script-storyboard-timeline-head span{color:#6f7a8d;font-size:12px;font-weight:800}.script-storyboard-timeline-actions{flex:none;align-items:center;gap:8px;display:inline-flex}.script-storyboard-play-all{color:#111827;cursor:pointer;background:linear-gradient(135deg,#27d9c7,#27d9c7);border:1px solid #27d9c761;border-radius:8px;align-items:center;gap:6px;height:32px;padding:0 12px;font-size:12px;font-weight:950;display:inline-flex}.script-storyboard-play-all.secondary{color:#dbe3ef;box-shadow:none;background:#242424;border-color:#ffffff24}.script-storyboard-play-all.secondary:hover{color:#27d9c7;border-color:#27d9c761}.script-storyboard-play-all:disabled{opacity:.45;cursor:not-allowed}.script-storyboard-shot-strip{scrollbar-color:#5b5b5b #151515;scrollbar-width:thin;grid-auto-columns:180px;grid-auto-flow:column;gap:14px;min-width:0;padding:0 16px 16px;display:grid;overflow:auto hidden}.script-storyboard-shot-strip::-webkit-scrollbar{height:10px}.script-storyboard-shot-strip::-webkit-scrollbar-track{background:#151515;border-radius:999px}.script-storyboard-shot-strip::-webkit-scrollbar-thumb{background:#5b5b5b;border:2px solid #151515;border-radius:999px}.script-storyboard-shot-strip::-webkit-scrollbar-thumb:hover{background:#787878}.script-storyboard-load-more{color:#27d9c7;text-align:center;cursor:pointer;background:linear-gradient(135deg,#27d9c714,#111111eb);border:1px dashed #27d9c752;border-radius:10px;align-content:center;place-items:center;gap:8px;min-height:140px;display:grid}.script-storyboard-load-more svg{animation:1.1s linear infinite script-storyboard-spin}.script-storyboard-load-more strong{color:#fff;font-size:13px;font-weight:950}.script-storyboard-load-more span{color:#7f8a9f;font-size:12px;font-weight:800}.script-storyboard-shot-card{cursor:pointer;background:#111;border:1px solid #0000;border-radius:10px;grid-template-rows:1fr auto;min-width:0;transition:border-color .16s,transform .16s,box-shadow .16s;display:grid;position:relative;overflow:hidden}.script-storyboard-shot-card:hover{border-color:#27d9c757;transform:translateY(-1px)}.script-storyboard-shot-card.active{border-color:#27d9c7;box-shadow:0 0 0 1px #27d9c740,0 14px 28px #00000052}.script-storyboard-shot-card.generating .script-storyboard-shot-thumb svg,.script-storyboard-shot-card.uploading .script-storyboard-shot-thumb svg,.script-storyboard-shot-card.queued .script-storyboard-shot-thumb svg{animation:1.1s linear infinite script-storyboard-spin}.script-storyboard-shot-thumb{color:#27d9c7;background-color:#101010;background-image:linear-gradient(45deg,#292929 25%,#f000 25%),linear-gradient(135deg,#292929 25%,#0000 25%),linear-gradient(45deg,#0000 75%,#292929 75%),linear-gradient(135deg,#0000 75%,#292929 75%);background-position:0 0,0 8px,8px -8px,-8px 0;background-size:16px 16px;place-items:center;min-height:104px;display:grid;position:relative;overflow:hidden}.script-storyboard-shot-thumb img,.script-storyboard-shot-thumb video{object-fit:cover;width:100%;height:100%}.script-storyboard-shot-thumb:after{content:"";pointer-events:none;background:linear-gradient(#00000094,#0000 46%,#000000b8);position:absolute;inset:0}.script-storyboard-shot-thumb span,.script-storyboard-shot-thumb b,.script-storyboard-shot-thumb em{z-index:1;background:#000000b3;border-radius:5px;align-items:center;min-height:22px;font-size:11px;font-style:normal;font-weight:900;display:inline-flex;position:absolute}.script-storyboard-shot-thumb span{color:#fff;padding:0 8px;top:8px;left:8px}.script-storyboard-shot-thumb b{color:#fff;padding:0 7px;top:8px;right:8px}.script-storyboard-shot-thumb em{color:#7357ff;text-shadow:0 1px 3px #000000e6;background:0 0;bottom:34px;left:50%;transform:translate(-50%)}.script-storyboard-shot-card.succeeded .script-storyboard-shot-thumb em{color:#27d9c7}.script-storyboard-shot-card.idle .script-storyboard-shot-thumb:after{display:none}.script-storyboard-shot-card.idle .script-storyboard-shot-thumb em{color:#7357ff;background:0 0;top:50%;bottom:auto;transform:translate(-50%,-50%)}.script-storyboard-shot-card.failed .script-storyboard-shot-thumb em{color:#ff5d73}.script-storyboard-shot-tools{background:#121212;justify-content:space-around;align-items:center;gap:4px;height:36px;padding:0 8px;display:flex}.script-storyboard-shot-tools button,.script-storyboard-shot-tools label{color:#8d98aa;cursor:pointer;background:0 0;border:0;border-radius:5px;justify-content:center;align-items:center;gap:4px;min-width:26px;height:26px;padding:0 6px;font-size:11px;font-weight:900;line-height:1;display:inline-flex}.script-storyboard-shot-tools button,.script-storyboard-shot-tools .script-storyboard-shot-upload{width:26px;padding:0}.script-storyboard-shot-tools label span{text-overflow:ellipsis;white-space:nowrap;max-width:74px;overflow:hidden}.script-storyboard-shot-tools button:hover:not(:disabled),.script-storyboard-shot-tools label:hover:not(.disabled){color:#27d9c7;background:#27d9c71a}.script-storyboard-shot-tools button:disabled,.script-storyboard-shot-tools label.disabled{opacity:.45;cursor:not-allowed}.script-storyboard-shot-card>p{z-index:2;color:#ff5d73;text-overflow:ellipsis;white-space:nowrap;margin:0;font-size:11px;font-weight:800;position:absolute;bottom:40px;left:8px;right:8px;overflow:hidden}.script-storyboard-side-panel{-ms-overflow-style:none;scrollbar-width:none;background:#242424;border-left:1px solid #2b2b2b;grid-template-rows:auto auto auto auto minmax(0,1fr);min-width:0;padding-bottom:18px;display:grid;overflow-y:auto}.script-storyboard-side-panel::-webkit-scrollbar{display:none}.script-storyboard-side-tabs{border-bottom:1px solid #3a3a3a;align-items:flex-end;gap:18px;height:46px;padding:0 16px;display:flex}.script-storyboard-side-tabs button{color:#a6b0bf;cursor:pointer;background:0 0;border:0;border-bottom:2px solid #0000;height:100%;font-size:13px;font-weight:950}.script-storyboard-side-tabs button.active{color:#27d9c7;border-bottom-color:#27d9c7}.script-storyboard-side-tabs button:disabled{opacity:.6;cursor:not-allowed}.script-storyboard-prompt-panel,.script-storyboard-reference-panel,.script-storyboard-generate-panel,.script-storyboard-source-panel{border-bottom:1px solid #353535;gap:12px;padding:16px;display:grid}.script-storyboard-panel-title{justify-content:space-between;align-items:center;gap:10px;display:flex}.script-storyboard-panel-title h3,.script-storyboard-source-panel h3{color:#fff;margin:0;font-size:13px;font-weight:950}.script-storyboard-panel-title span{color:#d6dde8;background:#111;border-radius:5px;padding:3px 7px;font-size:11px;font-weight:900}.script-storyboard-prompt-panel textarea{color:#f8fafc;resize:vertical;-ms-overflow-style:none;scrollbar-width:none;background:#101010;border:1px solid #343434;border-radius:8px;outline:none;width:100%;min-height:300px;padding:12px;font-size:12px;font-weight:700;line-height:1.72}.script-storyboard-prompt-panel textarea::-webkit-scrollbar{display:none}.script-storyboard-prompt-panel textarea:focus{border-color:#27d9c78c;box-shadow:0 0 0 2px #27d9c714}.script-storyboard-prompt-panel>button{color:#d6dde8;cursor:pointer;background:#151515;border:1px solid #3c3c3c;border-radius:7px;justify-self:start;height:32px;padding:0 12px;font-size:12px;font-weight:900}.script-storyboard-prompt-panel>button:hover{color:#27d9c7;border-color:#27d9c77a}.script-storyboard-video-error{color:#ff5d73;background:#7f1d1d47;border:1px solid #f8717152;border-radius:8px;margin:0;padding:9px 10px;font-size:12px;font-weight:800}.script-storyboard-reference-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;display:grid}.script-storyboard-reference-grid figure{aspect-ratio:1;cursor:zoom-in;background:#111;border:1px solid #3a3a3a;border-radius:8px;min-width:0;margin:0;position:relative;overflow:hidden}.script-storyboard-reference-grid figure:focus-visible{outline-offset:2px;outline:2px solid #27d9c7b8}.script-storyboard-reference-grid figure img{object-fit:cover;width:100%;height:100%}.script-storyboard-reference-grid figcaption{color:#fff;text-overflow:ellipsis;white-space:nowrap;background:linear-gradient(#0000,#000000d1);padding:12px 6px 5px;font-size:11px;font-weight:900;position:absolute;bottom:0;left:0;right:0;overflow:hidden}.script-storyboard-reference-grid figure button{color:#fff;cursor:pointer;background:#0000009e;border:0;border-radius:50%;justify-content:center;align-items:center;width:22px;height:22px;display:inline-flex;position:absolute;top:5px;right:5px}.script-storyboard-add-reference,.script-storyboard-upload-reference{color:#7f8794;cursor:pointer;background:#202020;border:1px dashed #525252;border-radius:8px;align-content:center;place-items:center;gap:6px;min-height:88px;font-size:12px;font-weight:900;display:grid}.script-storyboard-add-reference:hover,.script-storyboard-upload-reference:hover{color:#27d9c7;border-color:#27d9c78c}.script-storyboard-upload-reference.uploading{opacity:.72;cursor:wait}.script-storyboard-upload-error{color:#ff5d73;background:#7f1d1d40;border:1px solid #f8717152;border-radius:8px;margin:0;padding:8px 10px;font-size:12px;font-weight:800}.script-storyboard-reference-picker{-ms-overflow-style:none;scrollbar-width:none;background:#171717;border:1px solid #343434;border-radius:8px;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;max-height:196px;padding:8px;display:grid;overflow-y:auto}.script-storyboard-reference-picker::-webkit-scrollbar{display:none}.script-storyboard-reference-picker button{color:#d6dde8;cursor:pointer;background:#101010;border:1px solid #303030;border-radius:7px;grid-template-columns:44px minmax(0,1fr);align-items:center;gap:8px;min-width:0;padding:6px;display:grid}.script-storyboard-reference-picker button:hover{color:#27d9c7;border-color:#27d9c773}.script-storyboard-reference-picker img{object-fit:cover;border-radius:5px;width:44px;height:44px}.script-storyboard-reference-picker span,.script-storyboard-reference-picker p{text-overflow:ellipsis;white-space:nowrap;margin:0;font-size:12px;font-weight:800;overflow:hidden}.script-storyboard-generate-panel label{gap:6px;display:grid}.script-storyboard-generate-settings{background:linear-gradient(#1d1d1d,#151515);border:1px solid #303030;border-radius:14px;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding:10px;display:grid;box-shadow:inset 0 1px #ffffff0a}.script-storyboard-generate-settings label{min-width:0}.script-storyboard-generate-settings label:first-child{grid-column:1/-1}.script-storyboard-generate-panel label span{color:#d6dde8;font-size:12px;font-weight:900}.script-storyboard-generate-panel select{color:#f8fafc;background:#101010;border:1px solid #343434;border-radius:8px;outline:none;width:100%;min-width:0;height:36px;padding:0 30px 0 10px;font-size:12px;font-weight:800}.script-storyboard-generate-settings select{text-overflow:ellipsis;white-space:nowrap;background-color:#0f0f0f;border-color:#2a2a2a;border-radius:10px;height:38px;overflow:hidden;box-shadow:0 1px #ffffff08,inset 0 0 0 1px #ffffff04}.script-storyboard-generate-settings select:focus{border-color:#27d9c794;box-shadow:0 0 0 2px #27d9c71a}.script-storyboard-generate-video{white-space:nowrap;color:#111827;cursor:pointer;background:linear-gradient(135deg,#27d9c7,#27d9c7);border:0;border-radius:999px;justify-content:center;align-items:center;gap:10px;width:100%;height:44px;padding:0 18px;font-size:13px;font-weight:950;display:inline-flex;box-shadow:0 14px 26px #27d9c738}.script-storyboard-generate-video span{font-size:14px;font-weight:950;line-height:1}.script-storyboard-generate-video strong{color:#111827;font-variant-numeric:tabular-nums;background:#ffffff6b;border-radius:999px;justify-content:center;align-items:center;min-width:54px;height:24px;padding:0 9px;font-size:13px;font-weight:950;line-height:1;display:inline-flex}.script-storyboard-generate-model-tip{color:#8b95a5;letter-spacing:.02em;text-align:center;margin:-4px 0 0;font-size:11px;font-weight:800}.script-storyboard-generate-video:disabled{opacity:.68;cursor:wait}.script-storyboard-generate-video .lucide-refresh-cw{animation:1.1s linear infinite script-storyboard-spin}.script-storyboard-history-panel{border-bottom:1px solid #353535;gap:12px;padding:16px;display:grid}.script-storyboard-history-grid{grid-template-columns:repeat(2,minmax(0,1fr));align-content:start;gap:8px;min-height:300px;display:grid}.script-storyboard-history-upload,.script-storyboard-history-card{aspect-ratio:1;background:#111;border:1px solid #3a3a3a;border-radius:8px;min-width:0;display:grid;position:relative;overflow:hidden}.script-storyboard-history-upload{color:#7f8794;cursor:pointer;background:#202020;border-style:dashed;align-content:center;place-items:center;gap:6px;font-size:12px;font-weight:900}.script-storyboard-history-upload:hover{color:#27d9c7;border-color:#27d9c78c}.script-storyboard-history-upload.uploading{opacity:.72;cursor:wait}.script-storyboard-history-upload span{margin:0}.script-storyboard-history-card{cursor:zoom-in}.script-storyboard-history-card.generating{cursor:default}.script-storyboard-history-card.queued{cursor:wait}.script-storyboard-history-card.generating .script-storyboard-history-thumb svg,.script-storyboard-history-card.queued .script-storyboard-history-thumb svg{animation:1.1s linear infinite script-storyboard-spin}.script-storyboard-history-thumb{background:#101010;position:absolute;inset:0;overflow:hidden}.script-storyboard-history-thumb img,.script-storyboard-history-thumb video{object-fit:cover;width:100%;height:100%}.script-storyboard-history-thumb:after{content:"";pointer-events:none;background:linear-gradient(#00000085,#0000 46%,#000000ad);position:absolute;inset:0}.script-storyboard-history-card span,.script-storyboard-history-card b,.script-storyboard-history-card em{z-index:1;background:#000000b8;border-radius:5px;align-items:center;min-height:22px;font-size:11px;font-style:normal;font-weight:900;display:inline-flex;position:absolute}.script-storyboard-history-card span{color:#fff;padding:0 8px;top:8px;left:8px}.script-storyboard-history-card b{color:#fff;padding:0 8px;bottom:8px;right:8px}.script-storyboard-history-card em{color:#27d9c7;background:#00000080;padding:0 8px;bottom:8px;left:8px}.script-storyboard-history-card button{z-index:2;color:#fff;cursor:pointer;background:#0000009e;border:0;border-radius:50%;justify-content:center;align-items:center;width:22px;height:22px;display:inline-flex;position:absolute;top:5px;right:5px}.script-storyboard-history-card.generating span,.script-storyboard-history-card.queued span,.script-storyboard-history-card.queued em{color:#7357ff}.script-storyboard-batch-video-overlay{z-index:1180;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);--batch-video-orange:#7357ff;--batch-video-orange-bright:#846dff;--batch-video-orange-muted:#7357ff6b;background:#000000b8;place-items:center;padding:26px;display:grid;position:fixed;inset:0}.script-storyboard-batch-video-dialog{border:1px solid var(--batch-video-orange-muted);color:#f8fafc;background:#1b1b1b;border-radius:7px;grid-template-rows:auto auto auto minmax(0,1fr) auto;width:min(1152px,100vw - 32px);max-height:min(820px,100vh - 28px);display:grid;overflow:hidden;box-shadow:0 30px 90px #000000a8}.script-storyboard-batch-video-head{border-bottom:1px solid #7357ff3d;grid-template-columns:auto 190px 170px 160px minmax(0,1fr) 34px;align-items:center;gap:16px;padding:14px 22px;display:grid}.script-storyboard-batch-video-head h3{color:#fff;margin:0;font-size:18px;font-weight:950}.script-storyboard-batch-video-head label{grid-template-columns:auto minmax(0,1fr);align-items:center;gap:10px;display:grid}.script-storyboard-batch-video-head label span{color:#cbd5e1;font-size:13px;font-weight:900}.script-storyboard-batch-video-head label b,.script-storyboard-batch-video-head select{color:#fff;background:#050505;border:1px solid #7357ff57;border-radius:7px;align-items:center;width:100%;height:38px;padding:0 12px;font-size:13px;font-weight:950;display:inline-flex}.script-storyboard-batch-video-head select{cursor:pointer;outline:none}.script-storyboard-batch-video-head select:focus{border-color:var(--batch-video-orange-bright);box-shadow:0 0 0 2px #7357ff24}.script-storyboard-batch-video-head>button{color:#9ca3af;cursor:pointer;background:0 0;border:0;border-radius:7px;justify-content:center;justify-self:end;align-items:center;width:34px;height:34px;display:inline-flex}.script-storyboard-batch-video-head>button:hover:not(:disabled){color:#fff;background:#ffffff14}.script-storyboard-batch-video-filters{border-bottom:1px solid #7357ff33;align-items:center;gap:20px;min-height:52px;padding:0 22px;display:flex}.script-storyboard-batch-video-filters label{color:#9ca3af;align-items:center;gap:8px;font-size:13px;font-weight:850;display:inline-flex}.script-storyboard-batch-video-filters input,.script-storyboard-batch-video-check input{width:16px;height:16px;accent-color:var(--batch-video-orange);cursor:pointer}.script-storyboard-batch-video-filters p{color:#7f8794;margin:0 0 0 auto;font-size:12px;font-weight:800}.script-storyboard-batch-video-table-head{color:#9ca3af;grid-template-columns:110px minmax(0,1fr) 150px 86px;gap:16px;padding:14px 22px 10px;font-size:13px;font-weight:900;display:grid}.script-storyboard-batch-video-list{scrollbar-color:#555 #151515;scrollbar-width:thin;align-content:start;gap:8px;min-height:0;padding:0 22px 12px;display:grid;overflow-y:auto}.script-storyboard-batch-video-list::-webkit-scrollbar{width:10px}.script-storyboard-batch-video-list::-webkit-scrollbar-track{background:#151515}.script-storyboard-batch-video-list::-webkit-scrollbar-thumb{background:#555;border:2px solid #151515;border-radius:999px}.script-storyboard-batch-video-empty{color:#9ca3af;text-align:center;background:#101010;border:1px dashed #7357ff61;border-radius:8px;align-content:center;place-items:center;gap:10px;min-height:220px;font-size:13px;font-weight:900;display:grid}.script-storyboard-batch-video-empty .lucide-refresh-cw{color:var(--batch-video-orange-bright);animation:1.1s linear infinite script-storyboard-spin}.script-storyboard-batch-video-empty.error{color:#ff5d73;background:#7f1d1d2e;border-color:#f8717157}.script-storyboard-batch-video-empty button{color:#fee2e2;cursor:pointer;background:#7f1d1d6b;border:1px solid #f8717159;border-radius:6px;height:30px;padding:0 12px;font-size:12px;font-weight:900}.script-storyboard-batch-video-row{background:#0e0e0e;border:1px solid #7357ff3d;border-radius:8px;grid-template-columns:110px minmax(0,1fr) 150px 86px;align-items:center;gap:16px;min-height:56px;padding:10px 12px;display:grid}.script-storyboard-batch-video-row.selected{border-color:var(--batch-video-orange-bright);box-shadow:inset 0 0 0 1px #7357ff29}.script-storyboard-batch-video-check{color:#fff;align-items:center;gap:8px;min-width:0;font-size:13px;font-weight:950;display:inline-flex}.script-storyboard-batch-video-check strong{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.script-storyboard-batch-video-row p{color:#cbd5e1;-webkit-line-clamp:2;-webkit-box-orient:vertical;margin:0;font-size:12px;font-weight:760;line-height:1.45;display:-webkit-box;overflow:hidden}.script-storyboard-batch-video-row select{color:#fff;cursor:pointer;background:#171717;border:1px solid #7357ff4d;border-radius:5px;outline:none;width:112px;height:30px;padding:0 10px;font-size:12px;font-weight:900}.script-storyboard-batch-video-row select:focus{border-color:#7357ff}.script-storyboard-batch-video-row em{color:#9ca3af;text-align:center;font-size:12px;font-style:normal;font-weight:950}.script-storyboard-batch-video-row.pending em,.script-storyboard-batch-video-row.failed em{color:#9ca3af}.script-storyboard-batch-video-row.completed em{color:var(--batch-video-orange-bright)}.script-storyboard-batch-video-row.busy em{color:#7357ff}.script-storyboard-batch-video-row.queued em{color:#7357ff;justify-content:center;align-items:center;gap:5px;display:inline-flex}.script-storyboard-batch-video-row.queued em svg{animation:1.1s linear infinite script-storyboard-spin}.script-storyboard-batch-video-footer{border-top:1px solid #7357ff3d;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:10px;padding:16px 22px;display:grid}.script-storyboard-batch-video-footer>span{color:#7f8794;font-size:12px;font-weight:850}.script-storyboard-batch-video-pager{align-items:center;gap:8px;display:inline-flex}.script-storyboard-batch-video-pager button{color:#d6dde8;cursor:pointer;background:#181818;border:1px solid #7357ff4d;border-radius:6px;height:32px;padding:0 12px;font-size:12px;font-weight:900}.script-storyboard-batch-video-pager button:hover:not(:disabled){border-color:var(--batch-video-orange-bright);color:var(--batch-video-orange-bright)}.script-storyboard-batch-video-submit{color:#161925;background:linear-gradient(135deg, var(--batch-video-orange-bright), #5e46d7);cursor:pointer;border:0;border-radius:8px;justify-content:center;align-items:center;gap:8px;min-width:140px;height:40px;padding:0 18px;font-size:13px;font-weight:950;display:inline-flex;box-shadow:0 14px 28px #7357ff3d}.script-storyboard-batch-video-submit strong{min-width:42px;color:var(--batch-video-orange-bright);background:#161925db;border-radius:999px;justify-content:center;align-items:center;padding:3px 7px;font-size:12px;line-height:1;display:inline-flex}.script-storyboard-batch-video-submit:disabled,.script-storyboard-batch-video-pager button:disabled,.script-storyboard-batch-video-head>button:disabled{opacity:.48;cursor:not-allowed}.script-storyboard-batch-video-submit .lucide-refresh-cw{animation:1.1s linear infinite script-storyboard-spin}.script-storyboard-batch-submit-toast{z-index:1300;color:#161925;pointer-events:none;background:linear-gradient(135deg,#846dff,#5e46d7);border:1px solid #7357ff8a;border-radius:999px;justify-content:center;align-items:center;min-height:42px;padding:0 22px;font-size:13px;font-weight:950;animation:.18s ease-out script-storyboard-batch-toast-in;display:inline-flex;position:fixed;top:24px;left:50%;transform:translate(-50%);box-shadow:0 18px 42px #7357ff47,inset 0 0 0 1px #ffffff1f}.script-storyboard-balance-overlay{z-index:1210;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);background:#000000b8;place-items:center;padding:22px;display:grid;position:fixed;inset:0}.script-storyboard-balance-dialog{color:#f8fafc;background:#151515;border:1px solid #7357ff47;border-radius:12px;justify-items:center;gap:14px;width:min(460px,100vw - 36px);padding:28px;display:grid;box-shadow:0 28px 80px #000000ad}.script-storyboard-balance-icon{color:#7357ff;background:#7357ff1f;border-radius:50%;justify-content:center;align-items:center;width:54px;height:54px;display:inline-flex}.script-storyboard-balance-dialog h3{color:#fff;margin:0;font-size:22px;font-weight:950}.script-storyboard-balance-dialog p{color:#cbd5e1;text-align:center;margin:0;font-size:14px;line-height:1.8}.script-storyboard-balance-dialog p strong{color:#fff;margin:0 4px;font-weight:950}.script-storyboard-balance-actions{justify-content:center;gap:12px;width:100%;padding-top:6px;display:flex}.script-storyboard-balance-actions button{color:#f8fafc;cursor:pointer;background:#242424;border:1px solid #333;border-radius:8px;justify-content:center;align-items:center;gap:7px;min-width:112px;height:42px;font-size:14px;font-weight:900;display:inline-flex}.script-storyboard-balance-actions button.primary{color:#050505;background:#27d9c7;border-color:#0000}.script-storyboard-balance-actions button:disabled{opacity:.58;cursor:not-allowed}.script-storyboard-balance-actions .lucide-refresh-cw{animation:.9s linear infinite script-storyboard-spin}.script-storyboard-video-auth-icon{color:#27d9c7;background:#27d9c71f}.script-storyboard-video-auth-summary{gap:10px;width:100%;display:grid}.script-storyboard-video-auth-summary div{background:#101010;border:1px solid #2a2a2a;border-radius:10px;grid-template-columns:86px minmax(0,1fr);align-items:start;gap:12px;padding:10px 12px;display:grid}.script-storyboard-video-auth-summary span{color:#7f8794;font-size:12px;font-weight:900}.script-storyboard-video-auth-summary strong{color:#f8fafc;overflow-wrap:anywhere;font-size:13px;line-height:1.5}.script-storyboard-video-auth-summary div:last-child strong{color:#27d9c7}@keyframes script-storyboard-batch-toast-in{0%{opacity:0;transform:translate(-50%,-8px)scale(.98)}to{opacity:1;transform:translate(-50%)scale(1)}}.script-storyboard-reference-preview-overlay{z-index:1200;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);background:#000000c7;place-items:center;padding:32px;display:grid;position:fixed;inset:0}.script-storyboard-reference-preview-overlay figure{gap:10px;max-width:min(920px,92vw);max-height:88vh;margin:0;display:grid;position:relative}.script-storyboard-reference-preview-overlay img{object-fit:contain;background:#050505;border:1px solid #3a3a3a;border-radius:10px;max-width:100%;max-height:calc(88vh - 42px);display:block;box-shadow:0 26px 80px #0000008c}.script-storyboard-reference-preview-overlay figcaption{color:#f8fafc;text-align:center;text-overflow:ellipsis;white-space:nowrap;font-size:13px;font-weight:900;overflow:hidden}.script-storyboard-reference-preview-overlay button{z-index:1;color:#fff;cursor:pointer;background:#000000b8;border:1px solid #ffffff2e;border-radius:50%;justify-content:center;align-items:center;width:34px;height:34px;display:inline-flex;position:absolute;top:-14px;right:-14px}.script-storyboard-source-panel dl{grid-template-columns:48px minmax(0,1fr);gap:8px 10px;margin:0;display:grid}.script-storyboard-source-panel dt{color:#747f90;font-size:12px;font-weight:950}.script-storyboard-source-panel dd{color:#d6dde8;min-width:0;margin:0;font-size:12px;font-weight:700;line-height:1.55}.script-storyboard-no-selection{color:#94a3b8;padding:24px;font-size:13px;font-weight:800}@media (width<=1180px){.script-storyboard-page.youxi-board{grid-template-columns:minmax(460px,1fr) 292px}.script-storyboard-checkerboard{width:min(300px,52vw)}}@media (width<=900px){.script-storyboard-page.youxi-board{grid-template-rows:auto minmax(0,1fr) auto;grid-template-columns:minmax(0,1fr);overflow-y:auto}.script-storyboard-stage{min-height:720px}.script-storyboard-side-panel{border-top:1px solid #2b2b2b;border-left:0}}.page:not(.pricing-page){isolation:isolate;color:#f5f6fa;background:radial-gradient(circle at 73% 18%,#7357ff29,#0000 18%),radial-gradient(circle at 86% 76%,#7357ff2e,#0000 28%),radial-gradient(circle at 33% 91%,#4589af33,#0000 26%),linear-gradient(#01050b 0%,#06111d 46%,#020407 100%);min-height:100vh;position:relative;overflow-x:hidden}.page:not(.pricing-page):before,.page:not(.pricing-page):after{z-index:-1;pointer-events:none;content:"";position:fixed;inset:0}.page:not(.pricing-page):before{opacity:.96;background-color:#0000;background-image:radial-gradient(circle at 10% 16%,#7357ffe6 0 1px,#0000 1.8px),radial-gradient(circle at 17% 62%,#a1dbffcc 0 1px,#0000 1.8px),radial-gradient(circle at 47% 25%,#7357ffb8 0 1px,#0000 1.8px),radial-gradient(circle at 65% 9%,#7357fff2 0 1px,#0000 1.8px),radial-gradient(circle at 83% 37%,#88d1ffc2 0 1px,#0000 1.8px),radial-gradient(circle at 94% 68%,#7357ffc7 0 1px,#0000 1.8px),radial-gradient(circle at 77% 0,#7357ff1f,#0000 34%),radial-gradient(circle at 80% 54%,#2872963d,#0000 26%);background-position:0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0;background-repeat:repeat,repeat,repeat,repeat,repeat,repeat,repeat,repeat;background-size:100% 100%;background-attachment:scroll,scroll,scroll,scroll,scroll,scroll,scroll,scroll;background-origin:padding-box,padding-box,padding-box,padding-box,padding-box,padding-box,padding-box,padding-box;background-clip:border-box,border-box,border-box,border-box,border-box,border-box,border-box,border-box}.page:not(.pricing-page):after{background:radial-gradient(at 80% 100%,#7357ff70,#0000 31%),radial-gradient(at 16% 104%,#2a4355e6,#0000 39%),linear-gradient(135deg,#0000 0 41%,#7357ff2e 42%,#0000 44%),linear-gradient(172deg,#0000 0 65%,#7357ff26 66%,#0000 68%),linear-gradient(#0000 0%,#000000d6 78%,#000000f5 100%);height:48vh;top:auto}.topbar{z-index:80;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:linear-gradient(#01060df0,#01060d94 70%,#0000);border-bottom:1px solid #7357ff12;height:104px;padding:0 clamp(28px,4.4vw,66px);position:fixed;top:0;left:0;right:0}.topbar .brand{color:#f5f6fa;text-shadow:0 0 26px #7357ff57;gap:14px}.topbar .brand-logo{display:none}.brand-wordmark{color:#f5f6fa;letter-spacing:.08em;align-items:baseline;gap:17px;font-family:STKaiti,KaiTi,Songti SC,Noto Serif SC,serif;font-size:clamp(32px,2.6vw,46px);font-weight:700;line-height:1;display:inline-flex}.brand-wordmark em{color:#846dff;letter-spacing:.16em;font-family:Georgia,Times New Roman,serif;font-size:.48em;font-style:normal;font-weight:700}.topnav{gap:clamp(28px,4vw,70px)}.topnav a,.topnav button{color:#f5f6fad6;letter-spacing:.08em;align-items:center;min-height:44px;font-size:16px;transition:color .18s,transform .18s,text-shadow .18s;display:inline-flex;position:relative}.topnav a:hover,.topnav button:hover,.topnav a:focus-visible,.topnav button:focus-visible,.topnav button.active{color:#f5f6fa;text-shadow:0 0 18px #7357ff7a;outline:none}.topnav button.active:after{content:"";background:radial-gradient(#7357fff2,#7357ff38 55%,#0000 72%);border-radius:999px;width:62px;height:10px;position:absolute;bottom:2px;left:50%;transform:translate(-50%)}.top-actions{gap:18px}.plain-button,.recharge-button,.create-button.small{touch-action:manipulation;min-height:44px}.plain-button{color:#a996ff;letter-spacing:.08em;background:0 0;border-radius:999px;height:44px;padding:0 6px;font-size:16px;font-weight:700}.plain-button:hover,.plain-button:focus-visible{color:#f5f6fa;text-shadow:0 0 18px #7357ff73;background:#7357ff14;outline:none}.recharge-button{color:#f5f6fad1;background:#7357ff0f;border:1px solid #7357ff2e;border-radius:999px;height:44px;padding:0 18px;font-size:14px;box-shadow:inset 0 0 18px #7357ff0a}.recharge-button:hover,.recharge-button:focus-visible{color:#f5f6fa;background:#7357ff1f;border-color:#7357ff75;outline:none}.create-button.small{color:#f5f6fa;letter-spacing:.08em;background:linear-gradient(135deg,#7357ff3d,#0000 34%),linear-gradient(#7357ff 0%,#5e46d7 100%);border:1px solid #7357ffe0;border-radius:8px;height:60px;padding:0 36px;font-size:16px;box-shadow:inset 0 0 20px #7357ff38,0 0 0 1px #7357ff3d,0 12px 34px #7357ff52,0 0 24px #7357ff75}.create-button.small:hover,.create-button.small:focus-visible{color:#fff;outline:none;transform:translateY(-1px);box-shadow:inset 0 0 24px #7357ff47,0 16px 42px #7357ff61,0 0 34px #7357ff94}.portal-user-button{color:#f5f6fae6;background:#7357ff0f;border-color:#7357ff2e;border-radius:999px;height:44px}.portal-user-dropdown{background:#05090ff0;border-color:#7357ff2e;box-shadow:0 18px 50px #0000007a,0 0 24px #7357ff1f}.stage.portal-hero{grid-template-columns:minmax(650px,.95fr) minmax(560px,1.05fr);align-items:center;gap:clamp(16px,2.6vw,44px);width:min(1640px,100% - 88px);min-height:840px;margin:0 auto;padding:116px 0 58px;display:grid}.portal-hero:before{filter:blur(8px);opacity:.86;content:"";background:radial-gradient(at 40% 44%,#45738e38,#0000 42%),radial-gradient(at 50% 86%,#7357ff1f,#0000 44%);border-radius:50%;width:58vw;height:46vw;position:absolute;inset:100px auto auto -12vw}.hero-copy-block{z-index:4;max-width:760px;padding-top:0;position:relative}.hero-kicker{color:#7357ffd1;letter-spacing:.34em;text-transform:uppercase;align-items:center;gap:10px;margin-bottom:28px;font-family:Georgia,Times New Roman,serif;font-size:13px;font-weight:700;display:inline-flex}.hero-kicker:before{content:"";background:linear-gradient(90deg,#7357ff00,#7357ffe6);width:48px;height:1px}.hero-copy-block h1{color:#f5f6fa;letter-spacing:.025em;white-space:nowrap;text-shadow:0 0 2px #ffffff57,0 0 28px #7357ff2e,0 18px 40px #0009;margin:0;font-family:STKaiti,KaiTi,Songti SC,Noto Serif SC,serif;font-size:clamp(58px,4.7vw,88px);font-weight:500;line-height:1.04}.hero-subtitle{color:#f5f6fae6;letter-spacing:.08em;margin:30px 0 0;font-size:clamp(22px,1.75vw,30px);font-weight:400;line-height:1.45}.hero-desc{color:#f5f6fac7;letter-spacing:.12em;max-width:680px;margin:20px 0 0;font-size:clamp(17px,1.28vw,22px);line-height:1.8}.portal-hero .stage-actions{justify-content:flex-start;gap:28px;margin-top:42px}.portal-hero .outline-action{letter-spacing:.08em;border-radius:8px;width:320px;height:72px;font-size:24px;font-weight:500;text-decoration:none;transition:transform .18s,box-shadow .18s,border-color .18s,background .18s}.portal-hero .outline-action.primary{color:#f5f6fa;background:linear-gradient(135deg,#f5f6fa3d,#0000 32%),linear-gradient(#7357ff 0%,#5e46d7 100%);border:1px solid #7357ffdb;box-shadow:inset 0 0 24px #f5f6fa40,0 18px 52px #7357ff5c,0 0 30px #7357ff85}.portal-hero .outline-action.secondary{color:#f5f6faeb;background:linear-gradient(135deg,#ffffff17,#ffffff05),#060f1a85;border:1px solid #9cc5e773;box-shadow:inset 0 0 0 1px #ffffff0a,0 16px 48px #00000038}.portal-hero .outline-action:hover,.portal-hero .outline-action:focus-visible{outline:none;transform:translateY(-2px)}.portal-hero .outline-action.secondary:hover,.portal-hero .outline-action.secondary:focus-visible{background:#7357ff1a;border-color:#7357ff9e}.hero-load-tip{color:#f5f6fab3;letter-spacing:.06em;margin-top:18px;font-size:13px;display:inline-flex}.hero-visual{height:min(48vw,760px);min-height:690px;position:relative}.hero-visual:before{filter:blur(34px);content:"";background:radial-gradient(circle,#7357ff38,#0000 20%),radial-gradient(#21577652,#0000 54%);border-radius:50%;width:78%;height:82%;position:absolute;inset:5% 4% 0 auto}.hero-portal-core{aspect-ratio:1;filter:drop-shadow(0 0 34px #7357ff47);width:min(520px,38vw);position:absolute;top:6%;left:24%}.hero-portal-core:before,.hero-portal-core:after{filter:blur(1px);content:"";background:conic-gradient(from 42deg,#0000,#7357ff33,#0000 31%,#74b5dd29,#0000 66%),radial-gradient(circle,#0000 50%,#7357ff21 51%,#0000 66%);border-radius:50%;position:absolute;inset:-16%}.hero-portal-core:after{opacity:.5;filter:blur(16px);inset:-27%;transform:rotate(-18deg)}.hero-portal-ring{background:radial-gradient(circle at 50% 46%,#7357fff2 0 24%,#81bcdcb8 34%,#13314766 55%,#0000 63%),conic-gradient(from -24deg,#7357ff00,#7357ffcc,#285d7824,#7357ff94,#0000);border:1px solid #7357ff6b;border-radius:50%;place-items:center;display:grid;position:absolute;inset:0;overflow:hidden;box-shadow:inset 0 0 54px #7357ff4d,inset 0 0 0 15px #7357ff14,0 0 34px #7357ff8f,0 0 92px #7357ff52}.hero-portal-ring:before{z-index:2;content:"";border:2px solid #7357ffbd;border-color:#7357ffbd #5498c4b3 #7357ff29 #7357ffbd;border-radius:50%;position:absolute;inset:5%;box-shadow:0 0 28px #7357ffa8,inset 0 0 42px #143d5280}.hero-portal-ring:after{z-index:3;content:"";background:radial-gradient(circle at 50% 45%,#0000 0 45%,#01050b14 55%,#01050bb3 78%),linear-gradient(#ffffff14,#0000006b);position:absolute;inset:0}.hero-portal-ring img{z-index:1;object-fit:cover;filter:saturate(.86)contrast(1.1)brightness(1.1);border-radius:50%;width:84%;height:84%;display:block}.hero-portal-figure{z-index:5;filter:drop-shadow(0 0 14px #7357ff33);background:radial-gradient(circle at 50% 14%,#111822 0 13%,#0000 14%),linear-gradient(95deg,#0000 0 19%,#070d14fa 20% 78%,#0000 79%),linear-gradient(130deg,#0000 0 30%,#060b12f0 31% 62%,#0000 63%);border-radius:42% 42% 18% 18%;width:78px;height:168px;position:absolute;bottom:11%;left:50%;transform:translate(-50%)}.hero-portal-figure:before,.hero-portal-figure:after{content:"";background:linear-gradient(120deg,#0000,#050a10f2 42%,#0000 76%);border-radius:50% 50% 12% 12%;width:84px;height:120px;position:absolute;bottom:-8px}.hero-portal-figure:before{right:35px;transform:rotate(17deg)}.hero-portal-figure:after{left:35px;transform:rotate(-17deg)}.hero-floating-card{z-index:6;color:#f5f6faf0;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);background:linear-gradient(135deg,#ffffff17,#ffffff04),#06111cb8;border:1px solid #7357ff85;border-radius:12px;position:absolute;overflow:hidden;box-shadow:inset 0 1px #ffffff1c,0 20px 56px #00000061,0 0 24px #7357ff1f}.hero-floating-card:before{border-radius:inherit;pointer-events:none;content:"";background:linear-gradient(90deg,#7357ff14,#0000 35%,#70beea0f);position:absolute;inset:0}.hero-floating-card:after{content:"";background:linear-gradient(90deg,#7357ff00,#7357ffc2,#7357ff00);height:1px;position:absolute;box-shadow:0 0 12px #7357ff75}.hero-floating-card strong{z-index:1;color:#f5f6fa;letter-spacing:.12em;margin-bottom:10px;font-size:15px;font-weight:700;display:block;position:relative}.script-card{width:250px;padding:18px;top:96px;left:0;transform:rotate(4deg)}.script-card:after{width:118px;top:52%;right:-116px;transform:rotate(14deg)}.hero-paper{z-index:1;color:#161925;background:linear-gradient(150deg,#fffffff0,#f5f6faeb),#f5f6fa;min-height:215px;padding:24px 22px;position:relative;box-shadow:8px 8px #ffffff47}.hero-paper:after{transform-origin:0 0;content:"";background:#f5f6fae0;width:64px;height:160px;position:absolute;top:26px;right:-18px;transform:rotate(11deg)}.hero-paper b,.hero-paper span,.hero-paper p{z-index:1;display:block;position:relative}.hero-paper b{margin-bottom:12px;font-size:13px}.hero-paper span{margin-bottom:8px;font-size:11px;font-weight:800}.hero-paper p{color:#161925b8;margin:0;font-size:10px;line-height:1.75}.role-card{width:310px;padding:16px;top:82px;right:6px;transform:rotate(-3deg)}.role-card:after{width:138px;top:58%;left:-136px;transform:rotate(-14deg)}.role-strip{z-index:1;grid-template-columns:repeat(3,1fr);gap:10px;display:grid;position:relative}.role-strip span{background:radial-gradient(circle at 50% 20%,#0d151f 0 10%,#0000 11%),linear-gradient(90deg,#0000 0 30%,#080f16f2 31% 69%,#0000 70%),radial-gradient(at 50% 115%,#7357ff2e,#0000 45%),linear-gradient(#243445,#0c1420);border:1px solid #ffffff1a;border-radius:8px;height:116px;box-shadow:inset 0 0 20px #0000006b}.role-strip span:nth-child(2){background:radial-gradient(circle at 50% 18%,#0b111a 0 10%,#0000 11%),linear-gradient(90deg,#0000 0 25%,#060b11f5 26% 74%,#0000 75%),radial-gradient(at 50% 115%,#7357ff33,#0000 45%),linear-gradient(#1b2b3c,#070d15)}.scene-card{width:355px;padding:16px;top:295px;right:-22px;transform:rotate(-1deg)}.scene-card:after{width:106px;top:50%;left:-105px;transform:rotate(4deg)}.scene-card>div{z-index:1;grid-template-columns:repeat(3,1fr);gap:10px;display:grid;position:relative}.scene-card img,.shot-card img{object-fit:cover;filter:saturate(.72)contrast(1.08);border:1px solid #ffffff1f;border-radius:8px;width:100%;display:block}.scene-card img{aspect-ratio:4/3}.shot-card{width:440px;padding:16px;bottom:122px;right:36px;transform:rotate(5deg)}.shot-card:after{width:128px;top:24%;left:-126px;transform:rotate(-8deg)}.shot-card>div{z-index:1;grid-template-columns:repeat(4,1fr);gap:8px;display:grid;position:relative}.shot-card figure{min-width:0;margin:0}.shot-card img{aspect-ratio:4/3}.shot-card figcaption{color:#7357ffad;letter-spacing:.04em;white-space:nowrap;margin-top:6px;font-size:10px}.audio-card{width:310px;padding:16px;bottom:252px;left:0}.audio-card:after{width:136px;top:38%;right:-135px;transform:rotate(-21deg)}.waveform{z-index:1;align-items:center;gap:6px;height:54px;display:flex;position:relative;overflow:hidden}.waveform i{background:linear-gradient(#64ecff1a,#1bd9ff,#64ecff1a);border-radius:999px;flex:1;height:18px;box-shadow:0 0 14px #1bd9ff61}.waveform i:nth-child(2){height:36px}.waveform i:nth-child(3){height:48px}.waveform i:nth-child(4){height:28px}.waveform i:nth-child(5){height:44px}.waveform i:nth-child(6){height:32px}.waveform i:nth-child(7){height:22px}.timeline-card{width:min(700px,78%);padding:18px 20px;bottom:14px;left:50%;transform:translate(-48%)rotate(2deg)}.timeline-card:after{width:130px;top:-118px;left:90px;transform:rotate(83deg)}.timeline-grid,.timeline-tracks{z-index:1;position:relative}.timeline-grid{color:#7357ff94;text-align:center;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px;font-size:10px;display:grid}.timeline-tracks{gap:10px;margin-top:18px;display:grid}.timeline-tracks i{background:linear-gradient(90deg,#64d2ff3d,#9069e4b8,#7357ff57),repeating-linear-gradient(90deg,#ffffff2e 0 1px,#0000 1px 22px);border-radius:4px;height:22px;box-shadow:inset 0 0 12px #ffffff14}.timeline-tracks i:nth-child(2){background:linear-gradient(90deg,#4edbb938,#569fd16b,#27d9c733),repeating-linear-gradient(90deg,#ffffff24 0 1px,#0000 1px 20px);width:78%;margin-left:8%}.timeline-tracks i:nth-child(3){background:linear-gradient(90deg,#7357ff29,#55d6c557,#7357ff33),repeating-linear-gradient(90deg,#ffffff1f 0 1px,#0000 1px 18px);width:54%;margin-left:34%}.show-section{z-index:2;width:min(1500px,100% - 88px);margin:0 auto 96px;padding:30px 0 0;scroll-margin-top:120px;position:relative}.show-head{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#08101b94;border:1px solid #7357ff1f;border-radius:18px;padding:22px 24px;box-shadow:inset 0 1px #ffffff0f,0 18px 60px #0003}.title-row h2{color:#f5f6fa;letter-spacing:.08em;text-shadow:0 0 18px #7357ff2e;font-family:Georgia,Times New Roman,Microsoft YaHei,serif}.select-button,.search-box,.tabs button,.work-card{background:#060f1a9e;border-color:#7357ff1f}.select-button,.tabs button{color:#f5f6fab8}.tabs button.active{color:#161925;background:linear-gradient(#a996ff,#5e46d7);box-shadow:0 0 22px #7357ff47}.work-card{border-radius:14px;box-shadow:0 20px 48px #0000003d}.work-card:hover{border-color:#7357ff52;box-shadow:0 24px 58px #00000052,0 0 22px #7357ff14}.cover{background:#08101b}.work-meta h3{color:#f5f6fa}@media (width<=1280px){.topbar{height:88px;padding-inline:28px}.brand-wordmark{font-size:32px}.brand-wordmark em{display:none}.topnav{gap:26px}.topnav a,.topnav button,.plain-button{font-size:14px}.create-button.small{height:48px;padding-inline:22px}.stage.portal-hero{grid-template-columns:minmax(420px,.88fr) minmax(530px,1.12fr);width:min(100% - 48px,1220px);min-height:820px;padding-top:130px}.hero-visual{min-height:610px}.script-card{left:-8px}.role-card{right:-22px}.scene-card{right:-36px}.shot-card{width:390px;right:-8px}.audio-card{left:-16px}.timeline-card{width:620px}}@media (width<=980px){.topbar{grid-template-columns:auto 1fr;height:auto;min-height:76px;padding:14px 20px}.topnav{order:3;grid-column:1/-1;justify-content:flex-start;gap:18px;width:100%;padding-top:10px;overflow-x:auto}.top-actions{gap:10px}.recharge-button{display:none}.stage.portal-hero{grid-template-columns:minmax(0,1fr);min-height:auto;padding-top:150px}.hero-copy-block{max-width:100%;padding-top:0}.portal-hero .stage-actions{max-width:660px}.portal-hero .outline-action{width:min(300px,50vw - 42px)}.hero-visual{height:600px;min-height:600px;transform:translate(3%)}.hero-portal-core{width:min(460px,58vw);left:28%}}@media (width<=760px){.topbar{grid-template-columns:1fr auto;min-height:68px;padding:10px 14px}.brand-wordmark{letter-spacing:.04em;gap:10px;font-size:28px}.topnav{display:none}.plain-button{height:38px;min-height:38px;font-size:13px}.create-button.small{height:42px;min-height:42px;padding:0 14px;font-size:13px}.portal-user-button{max-width:110px;height:38px}.stage.portal-hero,.show-section{width:calc(100% - 28px)}.stage.portal-hero{gap:26px;padding-top:100px;padding-bottom:48px}.hero-kicker{letter-spacing:.22em;margin-bottom:22px;font-size:11px}.hero-kicker:before{width:30px}.hero-copy-block h1{white-space:normal;font-size:clamp(44px,15vw,66px);line-height:1.1}.hero-subtitle{letter-spacing:.06em;margin-top:24px;font-size:19px}.hero-desc{letter-spacing:.04em;font-size:15px}.portal-hero .stage-actions{flex-direction:column;gap:14px;margin-top:28px}.portal-hero .outline-action{width:100%;height:58px;font-size:18px}.hero-visual{height:520px;min-height:520px;transform:none}.hero-portal-core{width:min(360px,78vw);top:14px;left:50%;transform:translate(-50%)}.script-card,.role-card,.scene-card,.shot-card,.audio-card,.timeline-card{border-radius:10px}.script-card{width:178px;padding:12px;top:40px;left:0}.script-card .hero-paper{min-height:148px;padding:16px 12px}.script-card:after,.role-card:after,.scene-card:after,.shot-card:after,.audio-card:after,.timeline-card:after{display:none}.role-card{width:174px;padding:12px;top:30px;right:0}.role-strip{gap:5px}.role-strip span{height:72px}.scene-card{width:220px;padding:12px;top:220px;right:0}.shot-card{width:min(330px,92vw);padding:12px;bottom:116px;right:0}.audio-card{width:214px;padding:12px;bottom:160px;left:0}.timeline-card{width:min(100%,420px);padding:12px;bottom:0;left:50%;transform:translate(-50%)}.timeline-grid{grid-template-columns:repeat(3,minmax(0,1fr));row-gap:6px}.show-head{padding:16px}}@media (prefers-reduced-motion:reduce){.topnav a,.topnav button,.create-button.small,.portal-hero .outline-action{transition:none}}.stage.portal-hero{background:linear-gradient(90deg,#01060d 0% 48%,#01060d8f 53%,#01060d14 58%,#0000 63%),url(https://ksmovie.oss-cn-chengdu.aliyuncs.com/aimovie/portal/20260724/home-reference-bg.png) top/cover no-repeat;grid-template-columns:minmax(620px,760px) minmax(0,1fr);align-items:flex-start;width:100%;min-height:100vh;margin:0;padding:270px clamp(44px,3.9vw,66px) 72px}.portal-hero:before{display:none}.hero-copy-block{padding-top:0}.hero-copy-block:before,.hero-visual{display:none}.show-section{margin-top:0}@media (width<=1280px){.stage.portal-hero{grid-template-columns:minmax(540px,690px) minmax(0,1fr);width:100%;min-height:100vh;padding-top:230px}}@media (width<=980px){.stage.portal-hero{background-position:58% 0;grid-template-columns:minmax(0,1fr);padding-top:180px}.hero-copy-block:before{-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);background:#01060db8;inset:-34px -22px -28px}}@media (width<=760px){.stage.portal-hero{background-position:61% 0;width:100%;min-height:100svh;padding:118px 14px 48px}}.topbar .portal-brand-logo{object-fit:contain;width:320px;height:84px;box-shadow:none;border-radius:0;display:block}@media (width<=1280px){.topbar .portal-brand-logo{width:248px;height:66px}}@media (width<=760px){.topbar .portal-brand-logo{width:150px;height:44px}}.studio-top-error-toast{z-index:9999;color:#ff4d4f;text-align:center;pointer-events:none;background:#111827f5;border:1px solid #f8717173;border-radius:999px;max-width:min(760px,100vw - 32px);padding:10px 18px;font-size:14px;font-weight:600;line-height:1.45;position:fixed;top:18px;left:50%;transform:translate(-50%);box-shadow:0 14px 38px #7f1d1d40}.script-library-legacy{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--bg:#05070a;--surface:#0b0f14;--surface-2:#11181f;--surface-3:#18232c;--ink:#f5f6fa;--text:#dce3ec;--muted:#93a0ad;--line:#ffffff1a;--line-strong:#7357ff6b;--accent:#7357ff;--cyan:#27d9c7;--rose:#ff8a9a;--danger:#ff5d73;--accent-ink:#07110d;--shadow:0 22px 54px #00000057;--shadow-soft:0 12px 34px #00000042;--radius:8px}.script-library-legacy *{box-sizing:border-box}.script-library-legacy{background:var(--bg);min-width:320px;min-height:100vh;color:var(--text);text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;background:linear-gradient(#ffffff08,#0000 220px),linear-gradient(135deg,#63d6cf12,#0000 38%),linear-gradient(225deg,#7357ff14,#0000 30%),#05070a;margin:0;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Microsoft YaHei,sans-serif;font-size:14px;line-height:1.6;overflow-x:hidden}.script-library-legacy button,.script-library-legacy input{font:inherit}.script-library-legacy button{cursor:pointer}.script-library-legacy [hidden]{display:none!important}.script-library-legacy button:focus-visible,.script-library-legacy input:focus-visible{outline-offset:2px;outline:3px solid #27d9c757}.script-library-legacy .page{width:min(1880px,100vw - 12px);margin:0 auto;padding-bottom:34px}.script-library-legacy .session-expired-modal{z-index:12000;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#000000b8;place-items:center;padding:24px;display:grid;position:fixed;inset:0}.script-library-legacy .session-expired-panel{width:min(420px,100vw - 48px);color:var(--text);text-align:center;background:linear-gradient(145deg,#7357ff24,#63d6cf0f),#0b0f14;border:1px solid #7357ff4d;border-radius:20px;padding:28px;box-shadow:0 34px 90px #0000009e}.script-library-legacy .session-expired-panel h3{color:#fff;margin:0 0 10px;font-size:24px;line-height:1.28}.script-library-legacy .session-expired-panel p{color:#aebaca;margin:0 0 20px;line-height:1.75}.script-library-legacy .session-expired-panel button{background:var(--accent);min-height:44px;color:var(--accent-ink);border:0;border-radius:999px;padding:0 22px;font-weight:900}.script-library-legacy .topbar{z-index:50;box-sizing:border-box;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);background:#07090d;border:1px solid #ffffff0e;border-radius:0;grid-template-columns:minmax(260px,1fr) auto;align-items:center;gap:18px;height:68px;min-height:68px;padding:0 12px;display:grid;position:sticky;top:0;box-shadow:0 10px 26px #00000052}.script-library-legacy .brand{align-items:center;gap:12px;min-width:0;height:100%;display:flex}.script-library-legacy .brand-mark{border-radius:var(--radius);background:url(/script-library/logo.png) 50%/contain no-repeat;border:1px solid #7357ff47;flex:none;width:42px;height:42px;display:block;box-shadow:0 10px 24px #00000047}.script-library-legacy h1{color:#fff;letter-spacing:0;margin:0;font-size:clamp(22px,2.2vw,28px);font-weight:900;line-height:1.1}.script-library-legacy .top-actions{flex-wrap:nowrap;justify-content:flex-end;align-items:center;gap:10px;height:100%;display:flex}.script-library-legacy .tool-entry{border-radius:var(--radius);height:42px;min-height:42px;color:var(--accent);font:inherit;white-space:nowrap;cursor:pointer;box-shadow:var(--shadow-soft);background:linear-gradient(#7357ff33,#7357ff1a),#161925c7;border:1px solid #7357ff6b;justify-content:center;align-items:center;gap:7px;padding:0 14px;font-size:13px;font-weight:850;text-decoration:none;transition:background .18s,border-color .18s,color .18s,transform .15s;display:inline-flex}.script-library-legacy .tool-entry:hover,.script-library-legacy .tool-entry.active{background:var(--accent);color:var(--accent-ink);border-color:#7357ffb8}.script-library-legacy .tool-entry:active{transform:translateY(1px)}.script-library-legacy .tool-entry svg{flex:none}.script-library-legacy .wallet-balance-entry{border-radius:var(--radius);color:#dffbf8;min-width:158px;height:42px;min-height:42px;font:inherit;cursor:pointer;box-shadow:var(--shadow-soft);text-align:left;background:linear-gradient(#63d6cf1f,#63d6cf0b),#ffffff0a;border:1px solid #63d6cf52;align-content:center;gap:1px;padding:5px 13px;display:inline-grid}.script-library-legacy .wallet-balance-entry span{color:var(--muted);font-size:11px;line-height:1.1}.script-library-legacy .wallet-balance-entry strong{color:#27d9c7;font-variant-numeric:tabular-nums;font-size:13px;line-height:1.2}.script-library-legacy .wallet-balance-entry:hover{background:#63d6cf1f;border-color:#63d6cf94}.script-library-legacy .stats{grid-template-columns:repeat(3,minmax(92px,1fr));gap:8px;display:none}.script-library-legacy .stat{border:1px solid var(--line);border-radius:var(--radius);text-align:right;box-shadow:var(--shadow);background:#ffffff0e;padding:10px 12px}.script-library-legacy .stat strong{color:var(--accent);font-variant-numeric:tabular-nums;font-size:24px;line-height:1;display:block}.script-library-legacy .stat span{color:var(--muted);font-size:12px}.script-library-legacy .finder{border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow-soft);background:linear-gradient(#ffffff0a,#ffffff03),#0c1117eb;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:12px;margin:14px 0 12px;padding:12px;display:grid}.script-library-legacy .field{gap:7px;display:grid}.script-library-legacy .field label{color:#a9b5c2;font-size:12px;font-weight:700}.script-library-legacy .searchbox{border:1px solid var(--line);border-radius:var(--radius);background:#ffffff12;grid-template-columns:22px minmax(0,1fr);align-items:center;gap:9px;min-height:44px;padding:0 12px;display:grid}.script-library-legacy .searchbox:focus-within{background:#ffffff18;border-color:#63d6cf7a;box-shadow:0 0 0 3px #63d6cf1f}.script-library-legacy .searchbox svg{color:var(--muted)}.script-library-legacy .searchbox input{color:#fff;background:0 0;border:0;outline:0;width:100%;min-width:0}.script-library-legacy .actions,.script-library-legacy .tabs{gap:8px;display:flex}.script-library-legacy .icon-btn,.script-library-legacy .tab,.script-library-legacy .genre-chip,.script-library-legacy .rank-item,.script-library-legacy .book-row{border:1px solid var(--line);border-radius:var(--radius);color:var(--text);background:#ffffff0b;transition:background .18s,border-color .18s,color .18s,transform .15s}.script-library-legacy .icon-btn{justify-content:center;align-items:center;min-width:44px;min-height:44px;padding:0 12px;display:inline-flex}.script-library-legacy .icon-btn.primary{background:var(--accent);color:var(--accent-ink);border-color:#0000}.script-library-legacy .tab{min-width:72px;min-height:40px;padding:0 16px;font-size:13px}.script-library-legacy .tab.active,.script-library-legacy .genre-chip.active,.script-library-legacy .rank-item.active,.script-library-legacy .book-row.active{border-color:var(--line-strong);background:#7357ff1f}.script-library-legacy .icon-btn:hover,.script-library-legacy .tab:hover,.script-library-legacy .genre-chip:hover,.script-library-legacy .rank-item:hover,.script-library-legacy .book-row:hover{background:#ffffff1b}.script-library-legacy .icon-btn:active,.script-library-legacy .tab:active,.script-library-legacy .genre-chip:active,.script-library-legacy .rank-item:active,.script-library-legacy .book-row:active{transform:translateY(1px)}.script-library-legacy .channel-strip{border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow-soft);background:linear-gradient(#ffffff08,#ffffff02),#090d12f0;gap:12px;margin-bottom:14px;padding:14px 16px;display:grid}.script-library-legacy .strip-head{justify-content:space-between;align-items:center;gap:14px;display:flex}.script-library-legacy .strip-title,.script-library-legacy .panel-title,.script-library-legacy .list-title{color:#fff;margin:0;font-size:17px;font-weight:850;line-height:1.3}.script-library-legacy .note{color:var(--muted);white-space:nowrap;font-size:12px}.script-library-legacy .genre-bar{flex-wrap:wrap;gap:8px;max-height:92px;display:flex;overflow:auto}.script-library-legacy .featured-layout{grid-template-columns:clamp(250px,15vw,300px) minmax(0,1fr);align-items:stretch;gap:12px;margin-bottom:14px;display:grid}.script-library-legacy .featured-layout>*{min-width:0}.script-library-legacy .hero-carousel{border-radius:var(--radius);background:radial-gradient(circle at 18% 0,#7357ff33,#0000 30%),radial-gradient(circle at 100% 18%,#63d6cf24,#0000 34%),linear-gradient(#ffffff0f,#ffffff04),#0b0f14;border:1px solid #7357ff38;flex-direction:column;width:100%;margin:0 0 14px;display:flex;position:relative;overflow:hidden;box-shadow:0 24px 70px #00000070,inset 0 1px #ffffff0f}.script-library-legacy .hero-carousel:before{z-index:0;content:"";pointer-events:none;background:linear-gradient(115deg,#ffffff14,#0000 24% 72%,#7357ff17),linear-gradient(#ffffff09,#0000 140px);position:absolute;inset:0}.script-library-legacy .featured-layout .hero-carousel{height:560px;margin:0}.script-library-legacy .carousel-stage{z-index:1;aspect-ratio:auto;flex:1;min-height:0;padding:12px 12px 0;position:relative}.script-library-legacy .carousel-slide{isolation:isolate;grid-template-rows:minmax(0,1fr);grid-template-columns:minmax(0,1fr);height:100%;min-height:0;animation:.42s ease-out both carouselFadeIn;display:grid;position:relative;overflow:hidden}@keyframes carouselFadeIn{0%{opacity:0;transform:scale(.992)}to{opacity:1;transform:scale(1)}}@media (prefers-reduced-motion:reduce){.script-library-legacy .carousel-slide{animation:none}}.script-library-legacy .carousel-image{cursor:pointer;background:#0b0f14;border:1px solid #ffffff1a;border-radius:8px;grid-area:1/1;width:100%;height:clamp(320px,29vw,390px);min-height:0;position:relative;overflow:hidden;box-shadow:0 18px 42px #0000005c,inset 0 0 0 1px #7357ff0f}.script-library-legacy .featured-layout .carousel-image{height:100%}.script-library-legacy .carousel-image:after{display:none}.script-library-legacy .carousel-image img{object-position:center;width:100%;height:100%;display:block;position:absolute;inset:0}.script-library-legacy .carousel-image img.carousel-bg{display:none}.script-library-legacy .carousel-main{z-index:1;object-fit:cover;filter:brightness(1.08)contrast(1.04)saturate(1.03)}.script-library-legacy .carousel-info-overlay{z-index:3;width:auto;max-width:none;box-shadow:none;pointer-events:none;background:0 0;border:0;border-radius:0;gap:8px;padding:0 44px;display:grid;position:absolute;bottom:24px;left:0;right:0}.script-library-legacy .carousel-overlay-meta{display:none}.script-library-legacy .carousel-overlay-meta .meta-pill{color:#ffffffe0;box-shadow:none;-webkit-backdrop-filter:none;backdrop-filter:none;background:#ffffff12;border-color:#7357ff57}.script-library-legacy .carousel-slide:after,.script-library-legacy .carousel-copy{display:none}.script-library-legacy .carousel-kicker{width:fit-content;color:var(--accent);letter-spacing:0;text-transform:uppercase;background:#05070a7a;border:1px solid #7357ff57;border-radius:999px;padding:4px 10px;font-size:12px;font-weight:850}.script-library-legacy .carousel-title{color:#fff;text-shadow:0 3px 18px #0000008c;margin:0;font-family:Songti SC,Noto Serif SC,STSong,SimSun,serif;font-size:clamp(24px,2.4vw,34px);font-weight:800;line-height:1.16}.script-library-legacy .carousel-image-title{pointer-events:none;color:#fff;text-align:center;text-shadow:0 2px 2px #000000b8,0 8px 24px #0000007a;margin:0;padding:0;font-family:Songti SC,Noto Serif SC,STSong,SimSun,serif;font-size:clamp(22px,2.1vw,34px);font-weight:800;line-height:1.1}.script-library-legacy .carousel-lead{color:#eef4f8;-webkit-line-clamp:4;text-shadow:0 2px 12px #0000009e;-webkit-box-orient:vertical;max-width:72ch;margin:0;font-size:15px;line-height:1.7;display:-webkit-box;overflow:hidden}.script-library-legacy .carousel-action{display:none}.script-library-legacy .carousel-controls{background:#05070a57;border-top:1px solid #ffffff14;justify-content:center;align-items:center;gap:14px;padding:6px 14px 10px;display:none;position:static}.script-library-legacy .carousel-controls .icon-btn{color:#fff;pointer-events:auto;background:#05070a94;border-color:#ffffff38;width:44px;min-width:44px;height:44px;padding:0;position:static;transform:none}.script-library-legacy .carousel-controls .icon-btn:hover{background:#05070ac7;border-color:#7357ff85}.script-library-legacy #carouselPrev{left:auto}.script-library-legacy #carouselNext{right:auto}.script-library-legacy .carousel-dots{pointer-events:auto;background:#05070a80;border:1px solid #ffffff24;border-radius:999px;align-items:center;gap:8px;padding:8px 10px;display:flex;position:static;transform:none}.script-library-legacy .carousel-dot{background:#ffffff75;border:0;border-radius:999px;width:8px;height:8px;padding:0}.script-library-legacy .carousel-dot.active{background:var(--accent);width:28px}.script-library-legacy .showcase{border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow-soft);background:linear-gradient(135deg,#63d6cf13,#0000 42%),linear-gradient(#11171ffa,#080c11f5);grid-template-columns:minmax(0,1.45fr) minmax(280px,.72fr);gap:0;margin-bottom:14px;display:grid;overflow:hidden}.script-library-legacy .showcase-copy{gap:13px;padding:24px 26px;display:grid}.script-library-legacy .eyebrow{color:var(--accent);letter-spacing:.12em;text-transform:uppercase;font-size:12px;font-weight:800}.script-library-legacy .showcase-title{color:#fff;margin:0;font-family:Songti SC,Noto Serif SC,STSong,SimSun,serif;font-size:clamp(24px,3.4vw,40px);font-weight:700;line-height:1.15}.script-library-legacy .showcase-copy .lead{color:#d9e1eb;max-width:70ch;font-size:14px;line-height:1.95}.script-library-legacy .showcase-meta{flex-wrap:wrap;gap:8px;display:flex}.script-library-legacy .showcase-card{border-left:1px solid var(--line);background:#ffffff09;grid-template-columns:132px minmax(0,1fr);align-content:space-between;align-items:stretch;gap:14px;min-height:100%;padding:18px 20px;display:grid}.script-library-legacy .showcase-card .cover{height:100%;min-height:190px}.script-library-legacy .showcase-card .cover-title{font-size:18px}.script-library-legacy .showcase-facts{align-content:end;gap:10px;display:grid}.script-library-legacy .fact-row{color:#edf2f8;grid-template-columns:auto 1fr;align-items:center;gap:10px;display:grid}.script-library-legacy .fact-row strong{color:var(--accent);font-variant-numeric:tabular-nums}.script-library-legacy .fact-row span{color:var(--muted)}.script-library-legacy .genre-chip{white-space:nowrap;flex:none;align-items:center;gap:8px;min-height:38px;padding:0 12px;display:inline-flex}.script-library-legacy .genre-chip.active{color:#fff;box-shadow:inset 0 0 0 1px #7357ff1f}.script-library-legacy .genre-chip span{color:var(--cyan);font-variant-numeric:tabular-nums;font-size:12px}.script-library-legacy .content-grid>*{min-width:0}.script-library-legacy .panel{border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow-soft);background:linear-gradient(#ffffff07,#0000),#0a0f14f0;overflow:hidden}.script-library-legacy .panel-head,.script-library-legacy .list-head{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:12px;padding:14px 16px 13px;display:flex}.script-library-legacy .list-head-main{flex-wrap:wrap;align-items:center;gap:12px;min-width:0;display:flex}.script-library-legacy .library-tabs{border:1px solid var(--line);background:#ffffff0a;border-radius:999px;gap:6px;padding:4px;display:inline-flex}.script-library-legacy .library-tab{min-height:32px;color:var(--muted);cursor:pointer;background:0 0;border:0;border-radius:999px;padding:0 12px;font-size:12px;font-weight:850;transition:background .18s,color .18s,transform .15s}.script-library-legacy .library-tab:hover{color:#fff;background:#ffffff14}.script-library-legacy .library-tab:active{transform:translateY(1px)}.script-library-legacy .library-tab.active{background:var(--accent);color:var(--accent-ink)}.script-library-legacy .rank-list{scrollbar-color:#7357ff6b #ffffff0d;gap:8px;max-height:calc(100vh - 260px);padding:12px;display:grid;overflow:hidden auto}.script-library-legacy .pager{border-bottom:1px solid var(--line);background:#ffffff05;justify-content:flex-end;align-items:center;gap:8px;padding:10px 16px;display:flex}.script-library-legacy .pager-info{min-width:156px;color:var(--muted);text-align:center;font-variant-numeric:tabular-nums;font-size:12px}.script-library-legacy .pager-btn{border:1px solid var(--line);min-width:72px;color:var(--text);cursor:pointer;background:#ffffff0b;border-radius:999px;padding:7px 12px;font-size:12px;font-weight:750}.script-library-legacy .pager-btn:hover:not(:disabled){background:#7357ff1c;border-color:#7357ff59}.script-library-legacy .pager-btn:disabled{cursor:not-allowed;opacity:.42}.script-library-legacy .preview-panel{position:sticky;top:82px}.script-library-legacy .preview-panel .note{display:none}.script-library-legacy .featured-layout .preview-panel{max-height:560px}.script-library-legacy .preview-list{scrollbar-color:#7357ff6b #ffffff0d;gap:10px;max-height:calc(100vh - 260px);padding:12px;display:grid;overflow:auto}.script-library-legacy .featured-layout .preview-list{max-height:506px}.script-library-legacy .preview-card{border:1px solid var(--line);border-radius:var(--radius);min-height:124px;color:var(--text);cursor:pointer;text-align:left;background:linear-gradient(#ffffff0a,#ffffff03),#070b0fe6;grid-template-columns:86px minmax(0,1fr);align-items:stretch;gap:11px;padding:10px;transition:background .18s,border-color .18s,transform .15s;display:grid}.script-library-legacy .preview-card:hover{background:#ffffff16;border-color:#7357ff52}.script-library-legacy .preview-card:active{transform:translateY(1px)}.script-library-legacy .preview-card.active{border-color:var(--line-strong);box-shadow:inset 3px 0 0 var(--accent)}.script-library-legacy .preview-card .cover{width:100%;height:100%;min-height:100%}.script-library-legacy .preview-main{align-content:start;gap:7px;min-width:0;display:grid}.script-library-legacy .preview-title{color:#fff;margin:0;font-size:14px;font-weight:900;line-height:1.35}.script-library-legacy .preview-meta{flex-wrap:wrap;gap:6px;display:flex}.script-library-legacy .preview-lead{color:#aebaca;-webkit-line-clamp:2;-webkit-box-orient:vertical;margin:0;font-size:12px;line-height:1.55;display:-webkit-box;overflow:hidden}.script-library-legacy .rank-item{text-align:left;background:#ffffff09;grid-template-columns:26px minmax(0,1fr) auto;align-items:center;gap:9px;width:100%;min-width:0;min-height:58px;padding:10px 11px;display:grid}.script-library-legacy .rank-item>span{min-width:0}.script-library-legacy .rank-item.active{background:linear-gradient(90deg,#7357ff26,#7357ff0b),#ffffff09}.script-library-legacy .rank-no{width:24px;height:24px;color:var(--cyan);font-variant-numeric:tabular-nums;background:#63d6cf24;border-radius:999px;place-items:center;font-size:12px;font-weight:850;display:grid}.script-library-legacy .rank-name{color:#fff;text-overflow:ellipsis;white-space:nowrap;min-width:0;font-size:13px;font-weight:800;display:block;overflow:hidden}.script-library-legacy .rank-keywords{min-width:0;color:var(--muted);text-overflow:ellipsis;white-space:nowrap;margin-top:4px;font-size:12px;display:block;overflow:hidden}.script-library-legacy .count-pill,.script-library-legacy .tag,.script-library-legacy .meta-pill{border:1px solid var(--line);border-radius:999px;padding:2px 6px;font-size:12px}.script-library-legacy .count-pill{color:var(--accent);font-variant-numeric:tabular-nums;background:#7357ff1f}.script-library-legacy .book-list{scrollbar-color:#63d6cf61 #ffffff0d;grid-template-columns:repeat(auto-fill,minmax(320px,1fr));gap:12px;max-height:calc(100vh - 250px);padding-right:4px;display:grid;overflow:auto}.script-library-legacy .book-list.loading-soft{opacity:.58;pointer-events:none;transition:opacity .16s}.script-library-legacy .list-loading-note{color:var(--cyan)}.script-library-legacy .list-load-more-note{min-height:40px;color:var(--muted);background:#ffffff06;border:1px solid #ffffff0f;border-radius:12px;grid-column:1/-1;justify-content:center;align-items:center;font-size:12px;font-weight:750;display:flex}.script-library-legacy .list-load-more-button{cursor:pointer}.script-library-legacy .list-load-more-button:hover{color:var(--cyan);background:#63d6cf12;border-color:#63d6cf47}.script-library-legacy .list-load-more-end{opacity:.72}.script-library-legacy .book-row{text-align:left;background:linear-gradient(#ffffff09,#ffffff03),#070b0feb;grid-template-columns:112px minmax(0,1fr);align-items:stretch;gap:14px;min-height:176px;padding:14px;display:grid}.script-library-legacy .book-row .cover{width:100%;height:150px;min-height:150px}.script-library-legacy .cover{background:linear-gradient(145deg,#7357ff3d,#0000 42%),linear-gradient(25deg,#63d6cf33,#0000 48%),#121922;border-radius:6px;align-content:end;min-height:128px;padding:10px;display:grid;position:relative;overflow:hidden}.script-library-legacy .cover.has-image{background:#0c1117;padding:0}.script-library-legacy .cover-image{object-fit:cover;width:100%;height:100%;position:absolute;inset:0}.script-library-legacy .cover.foreign{background:linear-gradient(145deg,#ff8a9a38,#0000 42%),linear-gradient(25deg,#7357ff38,#0000 48%),#181824}.script-library-legacy .cover:before{content:"";background:#ffffff29;width:7px;position:absolute;inset:0 auto 0 0}.script-library-legacy .cover-title{z-index:2;color:#fff;text-shadow:0 2px 8px #000000bf;margin:0;padding:10px;font-size:15px;font-weight:900;line-height:1.25;position:relative}.script-library-legacy .cover:not(.has-image) .cover-title{text-shadow:none;padding:0}.script-library-legacy .book-main{align-content:start;min-width:0;display:grid}.script-library-legacy .book-title{color:#fff;margin:2px 0 8px;font-size:18px;font-weight:900;line-height:1.32}.script-library-legacy .book-preview{color:#bac7d5;-webkit-line-clamp:2;-webkit-box-orient:vertical;min-height:44px;margin:8px 0 0;font-size:13px;line-height:1.7;display:-webkit-box;overflow:hidden}.script-library-legacy .tag-row,.script-library-legacy .meta-row{flex-wrap:wrap;place-content:flex-start;align-items:center;gap:4px;margin-top:0;display:flex}.script-library-legacy .tag{color:#a9b7c8}.script-library-legacy .meta-pill{color:#27d9c7;background:#63d6cf1a}.script-library-legacy .row-side{border-top:1px solid var(--line);grid-column:1/-1;justify-content:space-between;align-items:center;gap:12px;padding-top:11px;display:flex}.script-library-legacy .region-label{color:var(--muted);font-size:12px}.script-library-legacy .open-label{color:var(--accent);font-size:13px;font-weight:850}.script-library-legacy .unlock-badge{min-height:28px;color:var(--accent);font-variant-numeric:tabular-nums;background:#7357ff1a;border:1px solid #7357ff52;border-radius:999px;justify-content:center;align-items:center;padding:3px 10px;font-size:12px;font-weight:850;display:inline-flex}.script-library-legacy .unlock-badge.unlocked{color:#27d9c7;background:#63d6cf1f;border-color:#63d6cf5c}.script-library-legacy .unlock-badge.locked{box-shadow:inset 0 0 0 1px #7357ff14}.script-library-legacy .locked-detail{border-radius:var(--radius);background:linear-gradient(135deg,#7357ff1f,#63d6cf0d),#ffffff09;border:1px solid #7357ff3d;gap:12px;margin-top:16px;padding:18px;display:grid}.script-library-legacy .locked-detail strong{color:#fff;font-size:18px}.script-library-legacy .locked-detail p{color:var(--muted);margin:0;line-height:1.7}.script-library-legacy .locked-detail button{background:var(--accent);width:fit-content;min-height:40px;color:var(--accent-ink);cursor:pointer;border:0;border-radius:999px;padding:0 16px;font-weight:900}.script-library-legacy .unlock-dialog{width:min(340px,100vw - 36px);color:var(--text);background:#0b0f14fa;border:1px solid #7357ff47;border-radius:18px;padding:0;box-shadow:0 28px 80px #0000009e}.script-library-legacy .unlock-dialog::backdrop{-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#000000b8}.script-library-legacy .unlock-shell{padding:18px;position:relative}.script-library-legacy .unlock-shell-simple{gap:0;padding:20px;display:grid}.script-library-legacy .unlock-close{border:1px solid var(--line);width:34px;height:34px;color:var(--text);cursor:pointer;background:#ffffff0d;border-radius:999px;font-size:20px;line-height:1;position:absolute;top:12px;right:12px}.script-library-legacy .unlock-kicker{color:#27d9c7;background:#63d6cf1c;border:1px solid #63d6cf57;border-radius:999px;width:fit-content;padding:4px 10px;font-size:12px;font-weight:900}.script-library-legacy .unlock-shell h2{color:#fff;max-width:340px;margin:0;font-size:24px;line-height:1.3}.script-library-legacy .unlock-shell p{color:#aebaca;margin:0;line-height:1.7}.script-library-legacy .unlock-price-card{background:#7357ff17;border:1px solid #7357ff47;border-radius:14px;gap:4px;padding:16px;display:grid}.script-library-legacy .unlock-price-card span{color:var(--accent);font-variant-numeric:tabular-nums;font-size:30px;font-weight:950}.script-library-legacy .unlock-price-card small{color:var(--muted);font-size:12px}.script-library-legacy .unlock-message{min-height:20px;font-size:13px;color:var(--danger)!important}.script-library-legacy .unlock-shell-simple .unlock-message{text-align:center;min-height:0;margin:0 0 12px;line-height:1.5}.script-library-legacy .unlock-actions{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.script-library-legacy .unlock-primary,.script-library-legacy .unlock-secondary{cursor:pointer;border-radius:999px;min-height:42px;padding:0 16px;font-weight:900}.script-library-legacy .unlock-primary{background:var(--accent);color:var(--accent-ink);border:0}.script-library-legacy .unlock-primary:disabled{cursor:wait;opacity:1}.script-library-legacy .unlock-secondary{border:1px solid var(--line);color:var(--text);background:#ffffff0e}.script-library-legacy .unlocked-dialog,.script-library-legacy .wallet-dialog{width:min(720px,100vw - 48px);max-height:min(720px,100vh - 48px);color:var(--text);background:linear-gradient(#ffffff0d,#ffffff05),#0b0f14;border:1px solid #94a3b82e;border-radius:18px;padding:0;overflow:hidden;box-shadow:0 28px 80px #0000009e}.script-library-legacy .unlocked-dialog::backdrop,.script-library-legacy .wallet-dialog::backdrop{-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#000000b8}.script-library-legacy .unlocked-panel,.script-library-legacy .wallet-panel-like{box-sizing:border-box;flex-direction:column;width:min(720px,100%);max-height:min(720px,100vh - 48px);padding:22px;display:flex}.script-library-legacy .wallet-head,.script-library-legacy .unlocked-head{justify-content:space-between;align-items:center;gap:14px;display:flex}.script-library-legacy .wallet-head>div,.script-library-legacy .unlocked-head>div{min-width:0}.script-library-legacy .wallet-head span,.script-library-legacy .unlocked-head span{color:var(--accent);font-size:13px;font-weight:850;display:block}.script-library-legacy .wallet-head h3,.script-library-legacy .unlocked-head h3{color:#fff;margin:6px 0 0;font-size:30px;line-height:1.16}.script-library-legacy .unlocked-head h3{font-size:26px}.script-library-legacy .wallet-head-actions,.script-library-legacy .unlocked-head-actions{align-items:center;gap:8px;display:flex}.script-library-legacy .wallet-head-actions button,.script-library-legacy .unlocked-head-actions button{color:#7357ff;cursor:pointer;background:#27d9c714;border:1px solid #27d9c747;border-radius:8px;width:38px;height:38px;font-size:20px;font-weight:800}.script-library-legacy .wallet-head-actions .wallet-refresh,.script-library-legacy .unlocked-head-actions .unlocked-refresh{width:auto;min-width:64px;padding:0 14px;font-size:13px;font-weight:750}.script-library-legacy .wallet-head-actions button:disabled,.script-library-legacy .unlocked-head-actions button:disabled{cursor:not-allowed;opacity:.55}.script-library-legacy .wallet-head-actions .wallet-refresh:disabled,.script-library-legacy .unlocked-head-actions .unlocked-refresh:disabled{opacity:1;color:#7357ff;background:#27d9c714;border-color:#27d9c747}.script-library-legacy .wallet-tabs,.script-library-legacy .unlocked-tabs{background:#ffffff0d;border:1px solid #94a3b829;border-radius:10px;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:20px 0 14px;padding:4px;display:grid}.script-library-legacy .wallet-tabs button,.script-library-legacy .unlocked-tabs button{color:#9aa8bc;background:0 0;border:0;border-radius:8px;min-height:40px;font-size:14px;font-weight:800}.script-library-legacy .wallet-tabs.single,.script-library-legacy .unlocked-tabs.single{grid-template-columns:1fr}.script-library-legacy .wallet-tabs button.active,.script-library-legacy .unlocked-tabs button.active{color:#06110f;background:linear-gradient(135deg,#7357ff,#27d9c7)}.script-library-legacy .wallet-list,.script-library-legacy .unlocked-list{gap:10px;padding-right:2px;display:grid;overflow:auto}.script-library-legacy .wallet-record,.script-library-legacy .unlocked-record{background:#ffffff0b;border:1px solid #94a3b824;border-radius:10px;justify-content:space-between;align-items:flex-start;gap:16px;padding:14px;display:flex}.script-library-legacy .unlocked-record{width:100%;color:inherit;font:inherit;text-align:left;cursor:pointer}.script-library-legacy .unlocked-record:hover{background:#27d9c712;border-color:#27d9c747}.script-library-legacy .wallet-record div:first-child,.script-library-legacy .unlocked-record div:first-child{gap:5px;min-width:0;display:grid}.script-library-legacy .wallet-record strong,.script-library-legacy .unlocked-record strong{color:#fff;font-size:18px;line-height:1.2}.script-library-legacy .wallet-record span,.script-library-legacy .unlocked-record span{color:#8f9aad;text-overflow:ellipsis;white-space:nowrap;max-width:460px;font-size:12px;line-height:1.4;overflow:hidden}.script-library-legacy .wallet-record-side,.script-library-legacy .unlocked-record-side{text-align:right;flex:none;justify-items:end;gap:7px;display:grid}.script-library-legacy .wallet-status,.script-library-legacy .unlocked-status{border-radius:999px;align-items:center;min-height:24px;padding:0 9px;font-size:12px;font-style:normal;font-weight:850;display:inline-flex}.script-library-legacy .wallet-status.pending{color:#a996ff;background:#7357ff29}.script-library-legacy .wallet-status.paid,.script-library-legacy .unlocked-status{color:#27d9c7;background:#27d9c729}.script-library-legacy .unlocked-status.processing{color:#7357ff;background:#7357ff29}.script-library-legacy .unlocked-status.failed,.script-library-legacy .wallet-status.failed{color:#ff5d73;background:#f8717129}.script-library-legacy .wallet-empty,.script-library-legacy .unlocked-empty{color:#8f9aad;text-align:center;background:#ffffff09;border:1px dashed #94a3b833;border-radius:10px;place-items:center;gap:12px;min-height:150px;font-size:14px;display:grid}.script-library-legacy .wallet-empty strong,.script-library-legacy .unlocked-empty strong{color:#e5edf8;font-size:14px}.script-library-legacy .wallet-empty button,.script-library-legacy .unlocked-empty button{color:#7357ff;background:#27d9c714;border:1px solid #27d9c766;border-radius:8px;min-height:36px;padding:0 14px;font-weight:800}.script-library-legacy .wallet-pagination,.script-library-legacy .unlocked-pagination{border-top:1px solid #94a3b824;justify-content:space-between;align-items:center;gap:12px;margin-top:14px;padding-top:14px;display:flex}.script-library-legacy .wallet-pagination button,.script-library-legacy .unlocked-pagination button{color:#7357ff;background:#27d9c714;border:1px solid #27d9c747;border-radius:8px;min-width:76px;min-height:38px;padding:0 12px;font-size:13px;font-weight:800}.script-library-legacy .wallet-pagination button:disabled,.script-library-legacy .unlocked-pagination button:disabled{cursor:not-allowed;color:#64748b;background:#94a3b80f;border-color:#94a3b81f}.script-library-legacy .wallet-pagination span,.script-library-legacy .unlocked-pagination span{color:#8f9aad;text-align:center;font-size:13px}.script-library-legacy .detail-hero{grid-template-columns:220px minmax(0,1fr);align-items:end;gap:22px;display:grid}.script-library-legacy .detail-hero .cover{min-height:320px}.script-library-legacy .detail-title{color:#fff;margin:0 0 10px;font-family:Songti SC,Noto Serif SC,STSong,SimSun,serif;font-size:clamp(28px,4vw,44px);font-weight:900;line-height:1.18}.script-library-legacy .script-content{border-top:1px solid var(--line);color:#e1e8f2;white-space:pre-wrap;margin-top:16px;padding-top:16px;font-size:14px;line-height:1.9}.script-library-legacy .detail-content-wrap{min-height:260px;position:relative}.script-library-legacy .detail-content-wrap.is-supplementing .detail-content-inner{filter:blur(4px);opacity:.52;pointer-events:none;-webkit-user-select:none;user-select:none}.script-library-legacy .supplement-overlay{z-index:9999;box-sizing:border-box;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:radial-gradient(circle at 50% 42%,#7357ff2e,#0000 34%),#04070c9e;border:0;border-radius:0;place-items:center;min-height:100dvh;padding:24px;display:grid;position:fixed;inset:0}.script-library-legacy .supplement-card{text-align:center;background:linear-gradient(145deg,#7357ff24,#63d6cf14),#090d12e0;border:1px solid #7357ff42;border-radius:20px;justify-items:center;gap:12px;width:min(360px,100% - 36px);padding:28px 24px;display:grid;box-shadow:0 28px 70px #00000075}.script-library-legacy .supplement-spinner{border:3px solid #7357ff2e;border-top-color:var(--accent);border-radius:999px;width:44px;height:44px;animation:.9s linear infinite supplement-spin}.script-library-legacy .supplement-card strong{color:#fff;font-size:22px;line-height:1.25}.script-library-legacy .supplement-card span{color:#aebaca;font-size:13px;line-height:1.7}@keyframes supplement-spin{to{transform:rotate(360deg)}}.script-library-legacy .supplement-status-pill{color:#7357ff;background:#7357ff24;border:1px solid #7357ff61;border-radius:999px;align-items:center;min-height:24px;padding:0 9px;font-size:12px;font-weight:850;display:inline-flex}.script-library-legacy .supplement-status-pill.completed{color:#27d9c7;background:#27d9c724;border-color:#27d9c747}.script-library-legacy .supplement-status-pill.failed{color:#ff5d73;background:#f8717124;border-color:#f8717152}.script-library-legacy .script-dialog{border-radius:var(--radius);width:min(1060px,100vw - 40px);max-height:calc(100vh - 40px);color:var(--text);background:linear-gradient(135deg,#ffffff0a,#ffffff03),#0b0f14;border:1px solid #7357ff3d;padding:0;overflow:hidden;box-shadow:0 34px 90px #0000009e}.script-library-legacy .script-dialog::backdrop{-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#000000b8}.script-library-legacy .icp-record{z-index:20;color:#d6e0eba8;text-shadow:0 1px 4px #00000073;font-size:12px;line-height:1;text-decoration:none;position:fixed;bottom:14px;right:18px}.script-library-legacy .icp-record:hover{color:#7357fff2}.script-library-legacy .dialog-shell{max-height:calc(100vh - 40px);display:grid;overflow:auto}.script-library-legacy .dialog-head{z-index:2;border-bottom:1px solid var(--line);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#0b0f14e6;justify-content:space-between;align-items:center;gap:14px;padding:14px 16px;display:flex;position:sticky;top:0}.script-library-legacy .dialog-title{color:#fff;margin:0;font-size:16px;font-weight:850}.script-library-legacy .dialog-body{padding:22px;position:relative}.script-library-legacy .state{color:var(--muted);padding:24px;line-height:1.75}.script-library-legacy .state.error{color:var(--danger)}.script-library-legacy .mobile-dev-notice{display:none}@media (prefers-reduced-motion:reduce){.script-library-legacy *,.script-library-legacy :before,.script-library-legacy :after{scroll-behavior:auto!important;transition:none!important}.script-library-legacy .supplement-spinner{animation:none!important}}@media (width<=1080px){.script-library-legacy .featured-layout,.script-library-legacy .showcase{grid-template-columns:1fr}.script-library-legacy .showcase-card{border-left:0;border-top:1px solid var(--line);grid-template-columns:150px minmax(0,1fr)}.script-library-legacy .content-grid{grid-template-columns:260px minmax(0,1fr)}.script-library-legacy .preview-panel{grid-column:1/-1;display:none;position:static}.script-library-legacy .preview-list{grid-template-columns:repeat(auto-fill,minmax(240px,1fr));max-height:none}.script-library-legacy .book-list,.script-library-legacy .rank-list{max-height:none}}@media (width<=760px){.script-library-legacy .mobile-dev-notice{z-index:1000;background:linear-gradient(#ffffff09,#0000 220px),linear-gradient(135deg,#63d6cf1f,#0000 48%),#05070a;place-items:center;padding:24px;display:grid;position:fixed;inset:0}.script-library-legacy .mobile-dev-card{border:1px solid var(--line);border-radius:var(--radius);width:min(100%,360px);box-shadow:var(--shadow);text-align:center;background:#0d1218f5;padding:28px 22px}.script-library-legacy .mobile-dev-card h2{color:#fff;margin:0 0 10px;font-size:22px;line-height:1.25}.script-library-legacy .mobile-dev-card p{color:var(--muted);margin:0;font-size:14px;line-height:1.7}.script-library-legacy .page{width:min(100vw - 24px,1500px)}.script-library-legacy .topbar,.script-library-legacy .finder,.script-library-legacy .showcase,.script-library-legacy .carousel-slide,.script-library-legacy .content-grid,.script-library-legacy .book-row,.script-library-legacy .detail-hero{grid-template-columns:1fr}.script-library-legacy .topbar{padding:10px 0}.script-library-legacy .stats{grid-template-columns:repeat(3,minmax(0,1fr));width:100%}.script-library-legacy .stat{min-width:0;padding:8px}.script-library-legacy .stat strong{font-size:22px}.script-library-legacy .strip-head{flex-direction:column;align-items:stretch}.script-library-legacy .tabs,.script-library-legacy .actions{width:100%}.script-library-legacy .tabs{grid-template-columns:repeat(3,minmax(0,1fr));display:grid}.script-library-legacy .showcase-copy,.script-library-legacy .showcase-card{padding:16px}.script-library-legacy .showcase-card{grid-template-columns:1fr}.script-library-legacy .carousel-slide{align-items:stretch}.script-library-legacy .carousel-stage{aspect-ratio:auto;min-height:0}.script-library-legacy .carousel-image{width:100%;height:clamp(240px,58vw,320px)}.script-library-legacy .carousel-copy{width:100%;padding:52px 18px 128px}.script-library-legacy .carousel-title{font-size:clamp(28px,10vw,40px)}.script-library-legacy .carousel-lead{-webkit-line-clamp:3}.script-library-legacy .carousel-action{bottom:88px;right:18px}.script-library-legacy .carousel-controls{padding:8px 10px 12px;position:static}.script-library-legacy .carousel-controls .icon-btn{width:38px;min-width:38px;height:38px;transform:none}.script-library-legacy #carouselPrev{left:auto}.script-library-legacy #carouselNext{left:auto;right:auto}.script-library-legacy .carousel-dots{bottom:auto;left:auto;right:auto;transform:none}.script-library-legacy .tab,.script-library-legacy .icon-btn{min-width:0;padding-left:8px;padding-right:8px}.script-library-legacy .book-row{min-height:0}.script-library-legacy .book-list{grid-template-columns:1fr}.script-library-legacy .cover{min-height:190px}.script-library-legacy .row-side{justify-content:space-between;justify-items:stretch;display:flex}.script-library-legacy .script-dialog{width:min(100vw - 20px,1060px);max-height:calc(100vh - 20px)}.script-library-legacy .dialog-shell{max-height:calc(100vh - 20px)}.script-library-legacy .dialog-body{padding:16px}.script-library-legacy .icp-record{font-size:11px;bottom:10px;right:12px}}.script-library-legacy{min-height:100vh;color:var(--text);text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;background:linear-gradient(#ffffff08,#0000 220px),linear-gradient(135deg,#63d6cf12,#0000 38%),linear-gradient(225deg,#7357ff14,#0000 30%),#05070a;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Microsoft YaHei,sans-serif;font-size:14px;line-height:1.6;overflow-x:hidden}.script-library-legacy .brand-mark{background-image:url(/script-library/logo.png)}.script-library-legacy .script-legacy-dialog-layer{z-index:10000;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#000000b8;place-items:center;padding:20px;display:grid;position:fixed;inset:0}.script-library-legacy .script-legacy-dialog-layer .script-dialog,.script-library-legacy .script-legacy-dialog-layer .unlock-dialog,.script-library-legacy .script-legacy-dialog-layer .unlocked-dialog,.script-library-legacy .script-legacy-dialog-layer .wallet-dialog{margin:0;display:block}.script-library-legacy .script-library-toast{z-index:12000;max-width:min(720px,100vw - 36px);min-height:42px;color:var(--danger);background:#18080af0;border:1px solid #f871716b;border-radius:999px;align-items:center;gap:10px;padding:8px 12px 8px 16px;display:inline-flex;position:fixed;top:84px;left:50%;transform:translate(-50%);box-shadow:0 14px 38px #7f1d1d40}.script-library-legacy .script-library-toast .icon-btn{width:28px;min-width:28px;height:28px;min-height:28px;padding:0}@media (width<=760px){.script-library-legacy .mobile-dev-notice{display:none}}.script-library-legacy{--script-cat-bg:#050505;--script-cat-panel:#090a0f;--script-cat-panel-soft:#0e1017;--script-cat-line:#7357ff57;--script-cat-line-soft:#ffffff1a;--script-cat-orange:#7357ff;--script-cat-orange-light:#846dff;--script-cat-paper:#f5f6fa;--script-cat-muted:#6f7891;background:radial-gradient(circle at 50% 20%, #7357ff1a, transparent 22%), radial-gradient(circle at 100% 46%, #7357ff0d, transparent 36%), var(--script-cat-bg);color:var(--script-cat-paper)}.script-library-legacy .page{width:min(1280px,100vw - 80px);padding-bottom:88px}.script-library-legacy .topbar{z-index:50;background:#050505f0;border:0;border-bottom:1px solid #ffffff14;border-radius:0;grid-template-columns:minmax(150px,1fr) auto minmax(210px,1fr);gap:32px;height:74px;min-height:74px;margin:0 calc(min(1280px,100vw - 80px)/2 - 50vw);padding:0 max(40px,50vw + min(1280px,100vw - 80px)/-2);position:sticky;top:0;box-shadow:0 8px 24px #0003}.script-library-legacy .brand{width:max-content;min-width:0;color:inherit;text-align:left;background:0 0;border:0;gap:10px;padding:0}.script-library-legacy .brand-mark{width:35px;height:35px;box-shadow:none;border:0;border-radius:0}.script-library-legacy .brand-copy{gap:0;line-height:1;display:grid}.script-library-legacy .brand-copy strong{color:var(--script-cat-orange-light);letter-spacing:.08em;font-family:STKaiti,KaiTi,Noto Serif SC,serif;font-size:21px;font-weight:800}.script-library-legacy .brand-copy small{color:#7357ffd1;letter-spacing:.18em;margin-top:6px;font-family:Georgia,serif;font-size:9px;font-weight:700}.script-library-legacy .script-cat-nav{white-space:nowrap;justify-content:center;align-items:stretch;gap:28px;height:100%;display:flex}.script-library-legacy .script-cat-nav>button,.script-library-legacy .script-cat-nav>span,.script-library-legacy .script-cat-nav>a{color:#9ca3b8;background:0 0;border:0;align-items:center;min-height:44px;padding:0;font-size:14px;font-weight:700;text-decoration:none;transition:color .18s,background .18s;display:inline-flex;position:relative}.script-library-legacy .script-cat-nav>button{cursor:pointer}.script-library-legacy .script-cat-nav>button:hover,.script-library-legacy .script-cat-nav>button.active,.script-library-legacy .script-cat-nav>a:hover,.script-library-legacy .script-cat-nav>a:focus-visible{color:var(--script-cat-orange-light)}.script-library-legacy .script-cat-nav>button.active:after{background:var(--script-cat-orange);content:"";border-radius:999px;height:2px;position:absolute;bottom:8px;left:0;right:0}.script-library-legacy .script-cat-nav>a:focus-visible{outline:2px solid var(--script-cat-orange-light);outline-offset:4px}.script-library-legacy .script-cat-nav .membership-nav{min-height:34px;color:var(--script-cat-orange-light);background:linear-gradient(#7357ff2e,#7357ff14);border:1px solid #7357ffbd;border-radius:5px;align-self:center;padding:0 14px}.script-library-legacy .script-cat-nav .membership-nav:hover{background:#7357ff2e}.script-library-legacy .top-actions{justify-self:end;gap:10px}.script-library-legacy .account-mark,.script-library-legacy .header-back,.script-library-legacy .header-logout{color:#f5f6fa;background:#ffffff05;border:1px solid #ffffff21;border-radius:50%;place-items:center;width:34px;min-width:34px;height:34px;min-height:34px;padding:0;transition:border-color .16s,color .16s,background .16s;display:inline-grid}.script-library-legacy .account-mark{color:#f5f6fa;background:radial-gradient(circle at 35% 28%,#7357ff,#1e2231 72%);border-color:#7357ffb8;font-family:STKaiti,KaiTi,serif;font-size:15px;font-weight:900}.script-library-legacy .header-back:hover,.script-library-legacy .header-logout:hover,.script-library-legacy .account-mark:hover{border-color:var(--script-cat-orange-light);color:var(--script-cat-orange-light);background-color:#7357ff29}.script-library-legacy .wallet-balance-entry{min-width:0;height:34px;min-height:34px;box-shadow:none;background:0 0;border:0;border-radius:0;padding:0 2px}.script-library-legacy .wallet-balance-entry span{display:none}.script-library-legacy .wallet-balance-entry strong{color:#9ca3b8;font-size:12px;font-weight:600}.script-library-legacy .script-cat-hero{text-align:center;place-items:center;min-height:390px;padding:76px 24px 50px;display:grid;position:relative;overflow:hidden}.script-library-legacy .script-cat-hero:before{content:"";filter:blur(2px);pointer-events:none;background:radial-gradient(#7357ff1a,#0000 49%),linear-gradient(90deg,#0000 0%,#7357ff17 50%,#0000 100%);position:absolute;inset:62px 5% 18px}.script-library-legacy .hero-aurora{filter:blur(18px);pointer-events:none;background:radial-gradient(#7357ff1a,#0000 64%);height:210px;position:absolute;inset:34px 14% auto}.script-library-legacy .hero-content{z-index:1;width:min(100%,780px);position:relative}.script-library-legacy .hero-eyebrow{color:#a996ff;letter-spacing:.14em;justify-content:center;align-items:center;gap:10px;margin:0 0 16px;font-size:13px;font-weight:800;display:flex}.script-library-legacy .hero-eyebrow span{background:#7357ff;width:26px;height:1px}.script-library-legacy .script-cat-hero h1{color:#f5f6fa;letter-spacing:.04em;margin:0;font-family:STSong,Songti SC,Noto Serif SC,SimSun,serif;font-size:clamp(38px,4.5vw,64px);font-weight:700;line-height:1.2}.script-library-legacy .script-cat-hero h1 em{color:#7357ff;font-style:normal}.script-library-legacy .hero-search{background:#090a0fe6;border:1px solid #7357ff8f;border-radius:8px;grid-template-columns:minmax(0,1fr) 98px;width:min(100%,650px);min-height:54px;margin:0 auto;display:grid;overflow:hidden;box-shadow:0 20px 40px #0000005c}.script-library-legacy .sr-only{clip:rect(0, 0, 0, 0);clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.script-library-legacy .hero-search .searchbox{background:0 0;border:0;border-radius:0;grid-template-columns:24px minmax(0,1fr);min-height:52px;padding:0 18px}.script-library-legacy .hero-search .searchbox:focus-within{box-shadow:none}.script-library-legacy .hero-search .searchbox svg{color:#7357ff}.script-library-legacy .hero-search .searchbox input{color:#f5f6fa}.script-library-legacy .hero-search>button{color:#0e1017;white-space:nowrap;background:linear-gradient(135deg,#a996ff,#7357ff);border:0;border-radius:0;min-width:98px;font-size:14px;font-weight:900}.script-library-legacy .hero-search>button:disabled{cursor:wait;opacity:.7}.script-library-legacy .hot-searches{color:#6f7891;flex-wrap:wrap;justify-content:center;gap:10px;margin-top:16px;font-size:12px;display:flex}.script-library-legacy .hot-searches button{color:#9ca3b8;background:0 0;border:0;padding:0;font-size:12px}.script-library-legacy .hot-searches button:hover{color:var(--script-cat-orange-light)}.script-library-legacy .brand:focus-visible,.script-library-legacy .script-cat-nav>button:focus-visible,.script-library-legacy .top-actions>button:focus-visible,.script-library-legacy .hot-searches button:focus-visible,.script-library-legacy .carousel-image:focus-visible{outline:2px solid var(--script-cat-orange-light);outline-offset:3px}.script-library-legacy .featured-layout{margin:4px 0 56px;display:block}.script-library-legacy .featured-layout .preview-panel,.script-library-legacy .showcase{display:none}.script-library-legacy .featured-layout .hero-carousel{border:1px solid var(--script-cat-line);background:linear-gradient(135deg,#7357ff24,#090a0ffa 45%,#1e22311a);border-radius:6px;height:auto;min-height:560px;margin:0;box-shadow:0 22px 52px #0000005c}.script-library-legacy .hero-carousel:before{background:radial-gradient(circle at 50% 20%,#7357ff14,#0000 40%)}.script-library-legacy .carousel-topline{z-index:2;align-items:baseline;gap:12px;padding:24px 26px 0;display:flex;position:relative}.script-library-legacy .carousel-topline h2{color:var(--script-cat-paper);margin:0;font-family:STSong,Songti SC,serif;font-size:22px;font-weight:800}.script-library-legacy .carousel-topline h2 span{color:var(--script-cat-orange);letter-spacing:.06em;font-family:Inter,sans-serif;font-size:13px}.script-library-legacy .carousel-topline p{color:#6f7891;margin:0;font-size:12px}.script-library-legacy .carousel-stage{z-index:1;padding:16px 16px 0}.script-library-legacy .carousel-slide{min-height:430px}.script-library-legacy .featured-layout .carousel-image{background:#090a0f;border:0;border-radius:3px;height:430px}.script-library-legacy .carousel-image img.carousel-main{z-index:1;object-fit:contain;position:relative}.script-library-legacy .carousel-image:before{z-index:2;content:"";background:linear-gradient(#00000005 53%,#010101e0);position:absolute;inset:0}.script-library-legacy .carousel-info-overlay{z-index:3;bottom:26px;left:30px;right:30px}.script-library-legacy .carousel-image-title{font-family:STSong,Songti SC,serif;font-size:clamp(28px,3vw,42px)}.script-library-legacy .carousel-copy{display:none}.script-library-legacy .carousel-controls{z-index:3;justify-content:flex-end;min-height:74px;padding:12px 18px 18px}.script-library-legacy .carousel-controls .icon-btn{color:#f5f6fa;background:0 0;border-color:#ffffff52;border-radius:2px;width:34px;min-width:34px;height:34px;min-height:34px}.script-library-legacy .carousel-controls .icon-btn:hover:not(:disabled){border-color:var(--script-cat-orange-light);color:var(--script-cat-orange-light);background:#7357ff29}.script-library-legacy .carousel-dots{display:none}.script-library-legacy .script-plaza{scroll-margin-top:88px}.script-library-legacy .script-library-back-to-plaza{z-index:80;color:#0e1017;background:var(--accent);border:1px solid #7357ff94;border-radius:999px;align-items:center;gap:8px;min-height:44px;padding:0 16px;font-size:13px;font-weight:850;transition:transform .16s,background .16s,box-shadow .16s;display:inline-flex;position:fixed;bottom:24px;right:24px;box-shadow:0 12px 28px #00000061,inset 0 0 0 1px #ffffff0f}.script-library-legacy .script-library-back-to-plaza:hover,.script-library-legacy .script-library-back-to-plaza:focus-visible{background:#a996ff;outline:none;transform:translateY(-2px);box-shadow:0 16px 34px #00000075,0 0 0 3px #7357ff2e}.script-library-legacy .script-library-back-to-plaza:active{transform:translateY(0)}.script-library-legacy .script-plaza-heading{justify-content:space-between;align-items:end;gap:20px;margin-bottom:22px;display:flex}.script-library-legacy .script-plaza-heading h2{color:#f5f6fa;margin:0;font-family:STSong,Songti SC,serif;font-size:clamp(28px,3vw,36px);font-weight:800}.script-library-legacy .script-plaza-heading p{color:#6f7891;margin:0 0 0 11px;font-size:13px;display:inline}.script-library-legacy .plaza-stat{color:#6f7891;align-items:baseline;gap:6px;font-size:11px;display:flex}.script-library-legacy .plaza-stat strong{color:var(--script-cat-orange);font-size:17px}.script-library-legacy .plaza-stat span+strong{margin-left:12px}.script-library-legacy .finder{box-shadow:none;background:0 0;border:0;border-radius:0;margin:0 0 22px;padding:0}.script-library-legacy .field{gap:0}.script-library-legacy .field label{display:none}.script-library-legacy .finder .searchbox{background:#ffffff05;border-color:#ffffff2e;border-radius:4px;min-height:42px;padding:0 14px}.script-library-legacy .finder .searchbox:focus-within{background:#7357ff0a;border-color:#7357ffc2;box-shadow:0 0 0 3px #7357ff1a}.script-library-legacy .finder .searchbox svg{color:#7357ff}.script-library-legacy .finder .actions{gap:8px}.script-library-legacy .finder .icon-btn{background:0 0;border-color:#ffffff29;border-radius:4px;min-width:42px;min-height:42px}.script-library-legacy .finder .icon-btn.primary{color:#0e1017;background:#7357ff;border-color:#7357ff}.script-library-legacy .channel-strip{box-shadow:none;background:0 0;border:0;border-radius:0;margin:0 0 22px;padding:0;display:block}.script-library-legacy .strip-head{border-bottom:1px solid #ffffff1a;align-items:center;padding-bottom:12px}.script-library-legacy .strip-title,.script-library-legacy .panel-title,.script-library-legacy .list-title{color:#f5f6fa;padding-left:10px;font-family:STSong,Songti SC,serif;font-size:19px;font-weight:800;position:relative}.script-library-legacy .strip-title:before,.script-library-legacy .panel-title:before,.script-library-legacy .list-title:before{content:"";background:#7357ff;width:3px;height:19px;position:absolute;top:50%;left:0;transform:translateY(-50%)}.script-library-legacy .tabs{gap:6px}.script-library-legacy .tab{color:#6f7891;background:0 0;border:0;border-radius:0;min-width:60px;min-height:32px;padding:0 10px;font-size:12px}.script-library-legacy .tab.active,.script-library-legacy .tab:hover{color:var(--script-cat-orange-light);background:#7357ff24;border:0}.script-library-legacy .genre-bar{max-height:none;margin-top:14px;overflow:visible}.script-library-legacy .genre-chip{background:#ffffff05;border-color:#ffffff1f;border-radius:3px;min-height:32px;padding:0 10px}.script-library-legacy .genre-chip strong{color:#9ca3b8;font-size:12px}.script-library-legacy .genre-chip span{color:#7357ff}.script-library-legacy .genre-chip.active{background:#7357ff24;border-color:#7357ffb3}.script-library-legacy .content-grid{grid-template-columns:238px minmax(0,1fr);gap:28px}.script-library-legacy .panel,.script-library-legacy .script-list-panel{box-shadow:none;background:0 0;border:0;border-radius:0}.script-library-legacy .panel-head,.script-library-legacy .list-head{border-bottom:1px solid #ffffff1c;min-height:48px;padding:0 0 12px}.script-library-legacy .rank-list{gap:0;max-height:450px;padding:10px 0;overflow:auto}.script-library-legacy .rank-item{background:0 0;border:0;border-bottom:1px solid #ffffff0f;border-radius:0;min-height:52px;padding:9px 6px}.script-library-legacy .rank-item:hover,.script-library-legacy .rank-item.active{background:linear-gradient(90deg,#7357ff1f,#0000)}.script-library-legacy .rank-no{color:#a996ff;background:#7357ff21;border-radius:3px}.script-library-legacy .rank-name{color:#f5f6fa}.script-library-legacy .list-head{padding-right:0}.script-library-legacy .list-title{font-size:20px}.script-library-legacy .book-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;max-height:none;padding:16px 0 0;overflow:visible}.script-library-legacy .book-row{background:linear-gradient(#ffffff09,#ffffff03);border-color:#ffffff1c;border-radius:4px;min-height:164px;padding:12px}.script-library-legacy .book-row:hover,.script-library-legacy .book-row.active{background:linear-gradient(135deg,#7357ff1a,#ffffff05);border-color:#7357ff9e}.script-library-legacy .book-row .cover{height:138px;min-height:138px}.script-library-legacy .book-title{color:#f5f6fa}.script-library-legacy .book-lead,.script-library-legacy .row-meta{color:#6f7891}.script-library-legacy .book-action,.script-library-legacy .book-lock{color:#7357ff}.script-library-legacy .book-lock.unlocked{color:#27d9c7}.script-library-legacy .list-load-more-note{background:#ffffff05;border-color:#ffffff14;border-radius:3px}@media (width<=1020px){.script-library-legacy .page{width:min(100% - 40px,880px)}.script-library-legacy .topbar{grid-template-columns:auto 1fr auto;gap:16px;margin:0 -20px;padding:0 20px}.script-library-legacy .script-cat-nav{justify-content:flex-start;gap:16px}.script-library-legacy .wallet-balance-entry,.script-library-legacy .header-back{display:none}.script-library-legacy .content-grid{grid-template-columns:210px minmax(0,1fr);gap:20px}}@media (width<=720px){.script-library-legacy .mobile-dev-notice{display:none}.script-library-legacy .page{width:min(100% - 28px,620px);padding-bottom:42px}.script-library-legacy .topbar{grid-template-columns:auto 1fr;height:62px;min-height:62px;margin:0 -14px;padding:0 14px}.script-library-legacy .brand-copy strong{font-size:18px}.script-library-legacy .brand-copy small,.script-library-legacy .account-mark,.script-library-legacy .header-back{display:none}.script-library-legacy .script-cat-hero{min-height:360px;padding:64px 4px 42px}.script-library-legacy .script-cat-hero h1{letter-spacing:.01em;font-size:clamp(32px,10vw,44px)}.script-library-legacy .hero-eyebrow{font-size:11px}.script-library-legacy .hero-search{grid-template-columns:minmax(0,1fr) 78px}.script-library-legacy .hot-searches{gap:8px}.script-library-legacy .featured-layout{margin-bottom:42px}.script-library-legacy .featured-layout .hero-carousel{min-height:400px}.script-library-legacy .carousel-topline{padding:18px 16px 0;display:block}.script-library-legacy .carousel-topline p{margin-top:4px}.script-library-legacy .carousel-stage{padding:12px 10px 0}.script-library-legacy .featured-layout .carousel-image{height:300px}.script-library-legacy .carousel-info-overlay{bottom:18px;left:18px;right:18px}.script-library-legacy .carousel-image-title{margin-top:8px;font-size:25px}.script-library-legacy .script-plaza-heading{align-items:start}.script-library-legacy .script-plaza-heading p{margin:7px 0 0;display:block}.script-library-legacy .plaza-stat{display:none}.script-library-legacy .strip-head{align-items:start;gap:10px}.script-library-legacy .tabs{width:auto}.script-library-legacy .content-grid{grid-template-columns:1fr;gap:26px}.script-library-legacy .rank-list{max-height:220px}.script-library-legacy .book-list{grid-template-columns:1fr}.script-library-legacy .list-head{flex-direction:column;align-items:start}.script-library-legacy .pager{justify-content:space-between}.script-library-legacy .pager-info{text-align:left;min-width:0}}.script-library-legacy .page{box-sizing:border-box;width:100%;max-width:none;margin:0;padding:0 clamp(24px,5vw,80px) 88px}.script-library-legacy .topbar{width:auto;margin:0 calc(-1*clamp(24px,5vw,80px));padding-left:clamp(24px,5vw,80px);padding-right:clamp(24px,5vw,80px)}@media (width<=1020px){.script-library-legacy .page{width:100%;max-width:none;padding-left:20px;padding-right:20px}.script-library-legacy .topbar{margin-left:-20px;margin-right:-20px;padding-left:20px;padding-right:20px}}@media (width<=720px){.script-library-legacy .page{width:100%;max-width:none;padding-bottom:42px;padding-left:14px;padding-right:14px}.script-library-legacy .topbar{margin-left:-14px;margin-right:-14px;padding-left:14px;padding-right:14px}}.script-library-legacy .page{padding-left:50px;padding-right:50px}.script-library-legacy .topbar{height:64px;min-height:64px;margin-left:-50px;margin-right:-50px;padding-left:clamp(24px,8vw,154px);padding-right:clamp(24px,8vw,154px)}.script-library-legacy .topbar .brand{width:125px;height:40px;min-height:0;box-shadow:none;background:0 0;border:0;border-radius:8px;gap:0;padding:0;display:inline-flex;overflow:hidden}.script-library-legacy .topbar .script-cat-brand-logo{border-radius:inherit;object-fit:contain;border:0;width:100%;height:100%;display:block}.script-library-legacy .script-cat-hero{z-index:20;min-height:310px;padding:38px 24px 30px;overflow:visible}.script-library-legacy .script-cat-hero:before{background:radial-gradient(#7357ff14,#0000 52%),linear-gradient(90deg,#0000 0%,#7357ff0d 50%,#0000 100%);inset:0 8% 10px}.script-library-legacy .hero-aurora{background:radial-gradient(#7357ff14,#0000 66%);height:230px;inset:0 20% auto}.script-library-legacy .hero-content{width:min(100%,780px)}.script-library-legacy .script-cat-hero h1{letter-spacing:0;font-family:Inter,Microsoft YaHei,PingFang SC,sans-serif;font-size:clamp(42px,4vw,60px);font-weight:900}.script-library-legacy .script-cat-hero h1 span{color:var(--script-cat-orange-light)}.script-library-legacy .script-cat-hero h1 em{color:#f5f6fa}.script-library-legacy .hero-subtitle{color:#6f7891;margin:14px 0 31px;font-size:13px}.script-library-legacy .hero-search{width:min(100%,675px);min-height:45px;box-shadow:none;background:#1c1b1aeb;border-color:#7357ffb3;border-radius:6px;grid-template-columns:minmax(0,1fr) 54px 36px;position:relative}.script-library-legacy .hero-search-shell{z-index:20;text-align:left;width:min(100%,675px);margin:0 auto;position:relative}.script-library-legacy .hero-search-shell .hero-search{width:100%}.script-library-legacy .hero-search-results{z-index:30;background:#090a0ffa;border:1px solid #7357ff7a;border-radius:6px;flex-direction:column;max-height:min(66vh,540px);display:flex;position:absolute;top:calc(100% + 8px);left:0;right:0;overflow:hidden;box-shadow:0 20px 44px #00000080}.script-library-legacy .hero-search-results-head{border-bottom:1px solid #ffffff17;justify-content:space-between;align-items:center;gap:16px;min-height:40px;padding:0 14px;display:flex}.script-library-legacy .hero-search-results-head strong{color:#f5f6fa;font-size:13px;font-weight:750}.script-library-legacy .hero-search-results-head span{color:#6f7891;font-size:11px}.script-library-legacy .hero-search-result-list{scrollbar-color:#7357ff73 transparent;flex:auto;min-height:0;margin:0;padding:4px 0;list-style:none;overflow-y:auto}.script-library-legacy .hero-search-categories{border-bottom:1px solid #ffffff16;flex:none;padding:10px 13px 12px}.script-library-legacy .hero-search-categories-title{color:#9ca3b8;align-items:center;gap:6px;margin-bottom:8px;font-size:11px;display:flex}.script-library-legacy .hero-search-categories-title svg{color:#7357ff}.script-library-legacy .hero-search-category-list{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;display:grid}.script-library-legacy .hero-search-category-list button{text-align:left;background:#7357ff0e;border:1px solid #7357ff47;border-radius:4px;align-content:center;gap:3px;min-width:0;min-height:48px;padding:6px 9px;display:grid}.script-library-legacy .hero-search-category-list button:hover,.script-library-legacy .hero-search-category-list button:focus-visible{background:#7357ff24;border-color:#7357ffa8;outline:0}.script-library-legacy .hero-search-category-list strong,.script-library-legacy .hero-search-category-list span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.script-library-legacy .hero-search-category-list strong{color:#a996ff;font-size:12px}.script-library-legacy .hero-search-category-list span{color:#6f7891;font-size:10px}.script-library-legacy .hero-search-result-list li+li{border-top:1px solid #fff1}.script-library-legacy .hero-search-result-list li>button{color:#f5f6fa;text-align:left;background:0 0;border:0;border-radius:0;grid-template-columns:42px minmax(0,1fr) 18px;align-items:center;gap:12px;width:100%;min-height:74px;padding:8px 13px;display:grid}.script-library-legacy .hero-search-result-list li>button:hover,.script-library-legacy .hero-search-result-list li>button:focus-visible{background:#7357ff1a;outline:0}.script-library-legacy .hero-search-result-list li>button:focus-visible{box-shadow:inset 3px 0 #a996ff}.script-library-legacy .hero-search-result-list li>button>svg{color:#9ca3b8}.script-library-legacy .hero-search-result-cover{color:#a996ff;background:#161925;border:1px solid #7357ff4d;border-radius:3px;place-items:center;width:42px;height:58px;display:grid;overflow:hidden}.script-library-legacy .hero-search-result-cover img{object-fit:cover;width:100%;height:100%}.script-library-legacy .hero-search-result-main{gap:4px;min-width:0;display:grid}.script-library-legacy .hero-search-result-main>strong{color:#f5f6fa;text-overflow:ellipsis;white-space:nowrap;font-size:14px;font-weight:750;line-height:1.3;overflow:hidden}.script-library-legacy .hero-search-result-meta{color:#9ca3b8;white-space:nowrap;gap:12px;min-width:0;font-size:11px;line-height:1.3;display:flex;overflow:hidden}.script-library-legacy .hero-search-result-meta .is-unlocked{color:#27d9c7}.script-library-legacy .hero-search-result-preview{color:#6f7891;text-overflow:ellipsis;white-space:nowrap;font-size:11px;line-height:1.35;overflow:hidden}.script-library-legacy .hero-search-results-state{color:#9ca3b8;text-align:center;justify-content:center;align-items:center;gap:12px;min-height:112px;padding:20px;font-size:12px;display:flex}.script-library-legacy .hero-search-results-state button,.script-library-legacy .hero-search-pagination button{color:#a996ff;background:#7357ff17;border:1px solid #7357ff70;border-radius:4px}.script-library-legacy .hero-search-results-state button{min-height:30px;padding:0 12px}.script-library-legacy .hero-search-pagination{border-top:1px solid #ffffff16;flex:none;grid-template-columns:34px minmax(0,1fr) 34px;align-items:center;gap:8px;min-height:48px;padding:7px 12px;display:grid}.script-library-legacy .hero-search-pagination button{place-items:center;width:34px;min-width:34px;height:32px;min-height:32px;padding:0;display:inline-grid}.script-library-legacy .hero-search-pagination button:disabled{cursor:not-allowed;opacity:.34}.script-library-legacy .hero-search-pagination>span{color:#6f7891;text-align:center;text-overflow:ellipsis;white-space:nowrap;font-size:11px;overflow:hidden}.script-library-legacy .hero-search-results-state button:hover,.script-library-legacy .hero-search-results-state button:focus-visible,.script-library-legacy .hero-search-pagination button:hover:not(:disabled),.script-library-legacy .hero-search-pagination button:focus-visible:not(:disabled){color:#a996ff;background:#7357ff2b;border-color:#7357ffbf}.script-library-legacy .hero-search .searchbox{grid-template-columns:22px minmax(0,1fr);min-height:43px;padding:0 12px}.script-library-legacy .hero-search .searchbox svg{color:#7357ff;width:18px;height:18px}.script-library-legacy .hero-search .searchbox input{color:#f5f6fa;font-size:13px}.script-library-legacy .hero-search .searchbox input::placeholder{color:#6f7891}.script-library-legacy .hero-search>button[type=submit]{background:linear-gradient(#a996ff,#7357ff);border-radius:5px;min-width:50px;min-height:31px;margin:6px 2px 6px 0;font-size:12px}.script-library-legacy .hero-search .hero-search-reset{color:#6f7891;pointer-events:auto;background:0 0;border:0;border-radius:50%;place-self:center;place-items:center;width:36px;min-width:36px;height:28px;min-height:28px;margin:0 1px 0 0;display:inline-grid}.script-library-legacy .hero-search .hero-search-reset:hover,.script-library-legacy .hero-search .hero-search-reset:focus-visible{color:var(--script-cat-orange-light);background:#7357ff1a}.script-library-legacy .hot-searches{color:#9ca3b8;gap:9px;margin-top:16px}.script-library-legacy .hot-searches>span{color:#a996ff;align-items:center;gap:4px;margin-right:4px;display:inline-flex}.script-library-legacy .hot-searches>span b{color:#a996ff;font-size:14px}.script-library-legacy .hot-searches button{color:#9ca3b8;background:#161925ad;border:1px solid #7357ff6b;border-radius:999px;min-height:24px;padding:0 11px;font-size:12px}.script-library-legacy .hot-searches button:hover,.script-library-legacy .hot-searches button:focus-visible{color:var(--script-cat-orange-light);background:#7357ff21;border-color:#7357ffcc}.script-library-legacy .featured-layout{margin:0 0 22px}.script-library-legacy .featured-heading{align-items:center;gap:10px;margin:0 0 30px;display:flex}.script-library-legacy .featured-heading-icon{color:#7357ff;background:#7357ff3d;border-radius:6px;place-items:center;width:49px;height:49px;display:inline-grid}.script-library-legacy .featured-heading h2{color:#f5f6fa;align-items:center;gap:2px;margin:0;font-family:STSong,Songti SC,Noto Serif SC,serif;font-size:23px;font-weight:800;line-height:1.12;display:flex}.script-library-legacy .featured-heading h2 b{color:#f24d53;font-family:Inter,ui-sans-serif,system-ui,sans-serif;font-size:23px;font-weight:900}.script-library-legacy .featured-heading h2 svg{color:#ed5157;fill:currentColor;margin-left:5px}.script-library-legacy .featured-heading p{color:#6f7891;margin:4px 0 0;font-size:12px;line-height:1.2}.script-library-legacy .featured-layout .hero-carousel{background:0 0;border:0;border-radius:5px;height:clamp(440px,28vw,536px);min-height:0;box-shadow:0 18px 48px #00000052}.script-library-legacy .hero-carousel:before{display:none}.script-library-legacy .carousel-stage{height:100%;padding:0}.script-library-legacy .carousel-slide{height:100%;min-height:0}.script-library-legacy .featured-layout .carousel-image{height:100%;box-shadow:none;background:#0e1017;border:1px solid #7357ff38;border-radius:5px}.script-library-legacy .carousel-image img.carousel-bg{filter:blur(20px)brightness(.35);object-fit:cover;display:block;transform:scale(1.04)}.script-library-legacy .carousel-image img.carousel-main{object-fit:cover;filter:brightness(1.04)contrast(1.02)saturate(1.04)}.script-library-legacy .carousel-image:before{z-index:2;background:linear-gradient(#00000005 46%,#00000026 63%,#070707bf 100%)}.script-library-legacy .carousel-info-overlay{-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);pointer-events:none;background:#2a2a2aad;border-top:1px solid #ffffff14;grid-template-columns:minmax(0,1fr) minmax(510px,38%);align-items:end;gap:20px;min-height:128px;padding:16px 26px 14px 22px;display:grid;bottom:0;left:0;right:0}.script-library-legacy .carousel-detail{text-align:left;pointer-events:none;align-self:end;min-width:0}.script-library-legacy .carousel-image-title{color:#a996ff;text-align:left;text-overflow:ellipsis;white-space:nowrap;margin:0 0 4px;font-family:STSong,Songti SC,Noto Serif SC,serif;font-size:clamp(22px,1.8vw,31px);font-weight:800;line-height:1.1;overflow:hidden}.script-library-legacy .carousel-rating{color:#7357ff;margin:0 0 7px;font-size:12px;line-height:1.2}.script-library-legacy .carousel-rating span{letter-spacing:.02em}.script-library-legacy .carousel-rating i{color:#ee5960;margin-left:8px;font-style:normal}.script-library-legacy .carousel-summary{color:#f5f6fa;text-align:left;text-overflow:ellipsis;-webkit-line-clamp:2;-webkit-box-orient:vertical;max-width:74ch;margin:0;font-size:13px;line-height:1.55;display:-webkit-box;overflow:hidden}.script-library-legacy .carousel-thumbnails{pointer-events:auto;grid-template-columns:28px minmax(0,1fr) 28px;align-items:end;gap:7px;min-width:0;display:grid}.script-library-legacy .carousel-thumb-list{grid-template-columns:repeat(7,minmax(0,1fr));gap:5px;min-width:0;display:grid}.script-library-legacy .carousel-thumb{color:#f1eee8;text-align:left;background:#ffffff0a;border:1px solid #ffffff1f;border-radius:4px;flex-direction:column;align-items:stretch;gap:4px;min-width:0;padding:4px 4px 5px;display:flex;overflow:hidden}.script-library-legacy .carousel-thumb img{object-fit:cover;opacity:.94;border:1px solid #ffffff21;border-radius:3px;width:100%;height:42px;transition:border-color .18s,opacity .18s,transform .18s;display:block}.script-library-legacy .carousel-thumb span{color:#f5f6fa;text-align:center;text-overflow:ellipsis;white-space:nowrap;font-size:10px;line-height:1.2;display:block;overflow:hidden}.script-library-legacy .carousel-thumb:hover img,.script-library-legacy .carousel-thumb:focus-visible img,.script-library-legacy .carousel-thumb.active img{opacity:1;border-color:#a996ff;transform:translateY(-2px)}.script-library-legacy .carousel-thumb:hover,.script-library-legacy .carousel-thumb:focus-visible,.script-library-legacy .carousel-thumb.active{background:#7357ff14;border-color:#7357ffd1}.script-library-legacy .carousel-thumb-arrow{color:#f5f6fa;background:#0000002e;border:0;border-radius:3px;place-items:center;width:28px;min-width:28px;height:51px;min-height:51px;padding:0;display:inline-grid}.script-library-legacy .carousel-thumb-arrow:hover,.script-library-legacy .carousel-thumb-arrow:focus-visible{color:#a996ff;background:#7357ff3d}.script-library-legacy .carousel-controls,.script-library-legacy .carousel-dots{display:none}@media (width<=1020px){.script-library-legacy .page{padding-left:24px;padding-right:24px}.script-library-legacy .topbar{margin-left:-24px;margin-right:-24px;padding-left:24px;padding-right:24px}.script-library-legacy .carousel-info-overlay{grid-template-columns:minmax(0,1fr) minmax(360px,45%);padding-left:18px;padding-right:18px}.script-library-legacy .carousel-thumb-list{grid-template-columns:repeat(5,minmax(0,1fr))}.script-library-legacy .carousel-thumb:nth-child(n+6){display:none}}@media (width<=720px){.script-library-legacy .page{padding-left:14px;padding-right:14px}.script-library-legacy .topbar{margin-left:-14px;margin-right:-14px;padding-left:14px;padding-right:14px}.script-library-legacy .topbar .brand{width:112px;height:36px}.script-library-legacy .script-cat-nav{justify-content:flex-end;gap:12px;min-width:0;display:flex}.script-library-legacy .script-cat-nav>button,.script-library-legacy .script-cat-nav>a{min-height:40px;font-size:12px}.script-library-legacy .script-cat-hero{min-height:310px;padding:34px 0 24px}.script-library-legacy .script-cat-hero h1{font-size:clamp(32px,9vw,46px)}.script-library-legacy .hero-subtitle{margin-bottom:24px;font-size:12px}.script-library-legacy .hero-search{grid-template-columns:minmax(0,1fr) 50px 34px;width:calc(100% - 34px)}.script-library-legacy .hero-search-shell{width:calc(100% - 34px)}.script-library-legacy .hero-search-shell .hero-search{width:100%}.script-library-legacy .hero-search-result-list li>button{grid-template-columns:38px minmax(0,1fr) 16px;gap:9px;padding-left:10px;padding-right:10px}.script-library-legacy .hero-search-result-cover{width:38px;height:52px}.script-library-legacy .hero-search-category-list{grid-template-columns:repeat(2,minmax(0,1fr))}.script-library-legacy .hero-search .hero-search-reset{width:34px;min-width:34px}.script-library-legacy .hot-searches{gap:6px}.script-library-legacy .hot-searches button{padding:0 8px}.script-library-legacy .featured-heading{margin-bottom:16px}.script-library-legacy .featured-heading-icon{width:40px;height:40px}.script-library-legacy .featured-heading h2,.script-library-legacy .featured-heading h2 b{font-size:19px}.script-library-legacy .featured-layout .hero-carousel{height:430px}.script-library-legacy .carousel-info-overlay{min-height:0;padding:12px 12px 10px;display:block}.script-library-legacy .carousel-detail{margin-bottom:10px}.script-library-legacy .carousel-image-title{font-size:22px}.script-library-legacy .carousel-summary{-webkit-line-clamp:1}.script-library-legacy .carousel-thumbnails{grid-template-columns:25px minmax(0,1fr) 25px}.script-library-legacy .carousel-thumb-list{grid-template-columns:repeat(4,minmax(0,1fr))}.script-library-legacy .carousel-thumb:nth-child(n+5){display:none}}.script-library-legacy .showcase{display:none}.script-library-legacy .script-plaza{margin-top:24px;padding-top:8px}.script-library-legacy .script-plaza-heading{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:24px;margin-bottom:18px;display:grid}.script-library-legacy .script-plaza-title-block{min-width:0}.script-library-legacy .script-plaza-heading h2{color:#f5f6fa;align-items:baseline;gap:8px;margin:0;font-family:STSong,Songti SC,Noto Serif SC,serif;font-size:clamp(25px,2vw,32px);font-weight:800;line-height:1.2;display:flex}.script-library-legacy .script-plaza-heading h2 span{color:#7357ff;font-family:Inter,system-ui,sans-serif;font-size:12px;font-weight:750}.script-library-legacy .script-plaza-heading p{color:#6f7891;margin:6px 0 0;font-size:12px}.script-library-legacy .script-plaza-tools{grid-template-columns:minmax(250px,360px) auto;align-items:center;gap:7px;width:min(420px,35vw);margin:0;display:grid}.script-library-legacy .script-plaza-tools .searchbox{background:#ffffff06;border-color:#7357ff42;border-radius:3px;min-height:38px;padding:0 11px}.script-library-legacy .script-plaza-tools .searchbox input{font-size:12px}.script-library-legacy .script-plaza-tools .icon-btn{width:38px;min-width:38px;height:38px;min-height:38px;padding:0}.script-library-legacy .channel-strip{display:none}.script-library-legacy .content-grid{grid-template-columns:260px minmax(0,1fr);align-items:start;gap:24px;display:grid}.script-library-legacy .content-grid>.panel{background:linear-gradient(#ffffff09,#ffffff03);border:1px solid #7357ff42;border-radius:4px;position:sticky;top:78px;overflow:hidden;box-shadow:inset 0 1px #7357ff0b}.script-library-legacy .content-grid>.panel .panel-head{border-bottom:1px solid #ffffff17;justify-content:space-between;align-items:center;gap:10px;min-height:48px;padding:0 13px;display:flex}.script-library-legacy .content-grid>.panel .panel-title,.script-library-legacy .script-list-panel .list-title{color:#f5f6fa;padding-left:9px;font-family:STSong,Songti SC,Noto Serif SC,serif;font-size:18px;font-weight:800}.script-library-legacy .content-grid>.panel .panel-title:before,.script-library-legacy .script-list-panel .list-title:before{background:#7357ff;width:2px;height:18px}.script-library-legacy .content-grid>.panel .note{color:#6f7891;white-space:nowrap;font-size:11px}.script-library-legacy .content-grid>.panel .tabs{border:1px solid #7357ff33;border-radius:3px;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;margin:12px 12px 8px;display:grid;overflow:hidden}.script-library-legacy .content-grid>.panel .tab{color:#6f7891;background:#ffffff05;border:0;border-right:1px solid #7357ff26;border-radius:0;min-width:0;min-height:34px;padding:0 5px;font-size:12px}.script-library-legacy .content-grid>.panel .tab:last-child{border-right:0}.script-library-legacy .content-grid>.panel .tab.active,.script-library-legacy .content-grid>.panel .tab:hover,.script-library-legacy .content-grid>.panel .tab:focus-visible{color:#a996ff;background:linear-gradient(#7357ff45,#7357ff33)}.script-library-legacy .content-grid>.panel .rank-list{scrollbar-color:#7357ff6b transparent;grid-template-columns:repeat(2,minmax(0,1fr));gap:1px;max-height:min(67vh,690px);padding:4px 6px 7px;display:grid;overflow:auto}.script-library-legacy .content-grid>.panel .rank-item{text-align:left;background:0 0;border:0;border-radius:2px;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:4px;min-height:39px;padding:5px 7px;display:grid}.script-library-legacy .content-grid>.panel .rank-item:first-child{background:#7357ff0e;border:1px solid #7357ff38;grid-column:1/-1}.script-library-legacy .content-grid>.panel .rank-item:hover,.script-library-legacy .content-grid>.panel .rank-item:focus-visible,.script-library-legacy .content-grid>.panel .rank-item.active{background:linear-gradient(90deg,#7357ff30,#7357ff09)}.script-library-legacy .content-grid>.panel .rank-item.active{box-shadow:inset 2px 0 #7357ff}.script-library-legacy .content-grid>.panel .rank-no,.script-library-legacy .content-grid>.panel .rank-keywords{display:none}.script-library-legacy .content-grid>.panel .rank-name{color:#f5f6fa;text-overflow:ellipsis;white-space:nowrap;font-size:12px;font-weight:650;line-height:1.35;display:block;overflow:hidden}.script-library-legacy .content-grid>.panel .rank-item.active .rank-name{color:#a996ff}.script-library-legacy .script-list-panel{min-width:0;position:relative}.script-library-legacy .script-list-loading{z-index:12;color:#a996ff;cursor:wait;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);background:#090a0fb8;justify-content:center;align-items:flex-start;gap:9px;min-height:220px;padding-top:clamp(72px,12vh,132px);font-size:14px;font-weight:700;display:flex;position:absolute;inset:48px 0 0}.script-library-legacy .script-list-loading-icon{flex:none;animation:.9s linear infinite script-library-list-spin}@keyframes script-library-list-spin{to{transform:rotate(360deg)}}@media (prefers-reduced-motion:reduce){.script-library-legacy .script-list-loading-icon{animation:none}}.script-library-legacy .script-list-panel .list-head{border-bottom:1px solid #ffffff1f;align-items:center;min-height:48px;padding:0 0 11px}.script-library-legacy .book-list{grid-template-columns:repeat(6,minmax(0,1fr));gap:12px;max-height:none;padding:12px 0 0;display:grid;overflow:visible}.script-library-legacy .book-row{aspect-ratio:2/3;color:#f5f6fa;text-align:left;isolation:isolate;background:#0e1017;border:1px solid #ffffff21;border-radius:3px;min-width:0;min-height:0;padding:0;transition:transform .18s,border-color .18s,box-shadow .18s;display:block;position:relative;overflow:hidden;box-shadow:0 7px 18px #0000002e}.script-library-legacy .book-row:hover,.script-library-legacy .book-row:focus-visible,.script-library-legacy .book-row.active{z-index:1;background:#0e1017;border-color:#7357ffe0;transform:translateY(-4px);box-shadow:0 13px 26px #00000061,0 0 0 2px #7357ff1f}.script-library-legacy .book-row.active{box-shadow:0 13px 26px #00000061,inset 0 0 0 1px #a996ff}.script-library-legacy .book-row:after{z-index:4;content:"";opacity:0;pointer-events:none;background:#090a0f61;transition:opacity .18s;position:absolute;inset:0}.script-library-legacy .book-row:hover:after,.script-library-legacy .book-row:focus-visible:after{opacity:1}.script-library-legacy .book-row .cover{background:radial-gradient(circle at 18% 12%,#7357ff57,#0000 38%),linear-gradient(145deg,#1e2231,#0e1017 63%,#050505);border-radius:0;width:100%;height:100%;min-height:0;padding:12px;position:absolute;inset:0}.script-library-legacy .book-row .cover:before{display:none}.script-library-legacy .book-row .cover-image{object-fit:cover;transition:transform .26s,filter .26s}.script-library-legacy .book-row:hover .cover-image,.script-library-legacy .book-row:focus-visible .cover-image,.script-library-legacy .book-row.active .cover-image{filter:saturate(1.08)contrast(1.04);transform:scale(1.045)}.script-library-legacy .book-row .cover:not(.has-image):after{content:"";background:linear-gradient(135deg,#0000 16%,#7357ff14,#0000 72%);position:absolute;inset:0}.script-library-legacy .book-row .cover-title{z-index:1;color:#7357fff0;text-align:center;align-items:center;min-height:100%;margin:0;padding:14px;font-family:STSong,Songti SC,serif;font-size:clamp(16px,1.35vw,23px);font-weight:800;line-height:1.35;display:grid;position:relative}.script-library-legacy .book-row .cover-exclusive-buy{z-index:5;color:#1e2231;letter-spacing:.05em;opacity:0;pointer-events:none;background:linear-gradient(#f5f6fafa 0%,#7357fffa 42% 100%);border:1px solid #f5f6faf5;border-radius:5px;justify-content:center;align-items:center;gap:6px;min-width:min(86%,190px);min-height:38px;font-family:STSong,Songti SC,Noto Serif SC,serif;font-size:clamp(14px,1.14vw,18px);font-weight:900;line-height:1;transition:opacity .18s,transform .18s,filter .18s;display:inline-flex;position:absolute;top:50%;left:50%;transform:translate(-50%,calc(9px - 50%))scale(.95);box-shadow:inset 0 1px #ffffffeb,inset 0 -2px #7357ff4d,0 8px 18px #0000006b,0 0 0 1px #7357ff7a}.script-library-legacy .book-row:hover .cover-exclusive-buy,.script-library-legacy .book-row:focus-visible .cover-exclusive-buy{opacity:1;transform:translate(-50%,-50%)scale(1)}.script-library-legacy .book-row:hover .cover-exclusive-buy{filter:brightness(1.04)}.script-library-legacy .book-row .cover-exclusive-buy svg{filter:drop-shadow(0 1px #f5f6fa99)}.script-library-legacy .book-row .book-region{z-index:3;color:#a996ff;text-overflow:ellipsis;white-space:nowrap;background:#0e1017b3;border:1px solid #7357ff85;border-radius:2px;max-width:calc(100% - 16px);padding:2px 5px;font-size:10px;font-weight:700;line-height:1.25;position:absolute;top:8px;left:8px;overflow:hidden}.script-library-legacy .book-row .book-main{z-index:2;background:linear-gradient(#0000 0%,#090a0f47 12%,#090a0ff0 57%,#090a0f 100%);min-width:0;padding:30px 10px 9px;display:block;position:absolute;bottom:0;left:0;right:0}.script-library-legacy .book-row .book-main-head{justify-content:space-between;align-items:flex-end;gap:5px;min-width:0;display:flex}.script-library-legacy .book-row .book-title{color:#f5f6fa;text-overflow:ellipsis;-webkit-line-clamp:2;-webkit-box-orient:vertical;min-width:0;margin:0;font-family:STSong,Songti SC,Noto Serif SC,serif;font-size:14px;font-weight:800;line-height:1.28;display:-webkit-box;overflow:hidden}.script-library-legacy .book-row .book-lock{color:#a996ff;white-space:nowrap;flex:none;font-size:10px;line-height:1.3}.script-library-legacy .book-row .book-lock.unlocked{color:#27d9c7}.script-library-legacy .book-row .book-card-meta{color:#f5f6faad;flex-wrap:wrap;gap:6px;margin-top:5px;font-size:10px;line-height:1.25;display:flex}.script-library-legacy .book-row .book-card-meta span+span:before{color:#7357ffb8;content:"?";margin-right:6px}.script-library-legacy .book-row .book-lead,.script-library-legacy .book-row .book-action,.script-library-legacy .book-row .meta-row{display:none}.script-library-legacy .book-list .state,.script-library-legacy .book-list .list-load-more-note,.script-library-legacy .book-list .list-load-more-sentinel{grid-column:1/-1}.script-library-legacy .list-load-more-sentinel{pointer-events:none;width:100%;min-height:1px}.script-library-legacy .list-load-more-note{color:#7357ff;background:#ffffff05;border-color:#7357ff2e;border-radius:3px;min-height:38px}.script-library-legacy .list-load-more-button:hover,.script-library-legacy .list-load-more-button:focus-visible{color:#a996ff;background:#7357ff1a;border-color:#7357ff9e}@media (width<=1280px){.script-library-legacy .book-list{grid-template-columns:repeat(5,minmax(0,1fr))}}@media (width<=1220px){.script-library-legacy .content-grid{grid-template-columns:238px minmax(0,1fr);gap:18px}.script-library-legacy .book-list{grid-template-columns:repeat(4,minmax(0,1fr))}}@media (width<=920px){.script-library-legacy .script-plaza-heading{align-items:end}.script-library-legacy .script-plaza-tools{width:min(390px,43vw)}.script-library-legacy .content-grid{grid-template-columns:208px minmax(0,1fr);gap:14px}.script-library-legacy .content-grid>.panel .rank-list{grid-template-columns:1fr}.script-library-legacy .book-list{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}}@media (width<=720px){.script-library-legacy .script-plaza{margin-top:18px}.script-library-legacy .script-plaza-heading{grid-template-columns:1fr;gap:12px;margin-bottom:14px;display:grid}.script-library-legacy .script-plaza-heading h2{font-size:25px}.script-library-legacy .script-plaza-tools{width:100%}.script-library-legacy .content-grid{grid-template-columns:1fr}.script-library-legacy .content-grid>.panel{position:static}.script-library-legacy .content-grid>.panel .rank-list{grid-template-columns:repeat(2,minmax(0,1fr));max-height:280px}.script-library-legacy .script-list-panel .list-head{min-height:39px}.script-library-legacy .script-list-panel .list-head .note,.script-library-legacy .script-list-panel .pager-info{display:none}.script-library-legacy .script-list-panel .pager{justify-content:flex-end}.script-library-legacy .book-list{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.script-library-legacy .book-row .book-title{font-size:13px}.script-library-legacy .book-row .book-region{top:6px;left:6px}}@media (width<=440px){.script-library-legacy .script-plaza-tools{grid-template-columns:minmax(0,1fr) auto}.script-library-legacy .script-plaza-tools .actions .icon-btn:not(.primary){display:none}.script-library-legacy .book-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}}.script-draft-tool{color:#17212f;--panel:#fff;--ink:#17212f;--muted:#687586;--line:#d9e1ea;--soft:#eef4f8;--accent:#7357ff;--accent-2:#1aa6a0;--danger:#ff5d73;--shadow:0 18px 42px #2030481f;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;background:linear-gradient(#4056a114,#0000 280px),linear-gradient(90deg,#1aa6a012,#0000 45%),#f4f7fb;min-height:100vh;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Microsoft YaHei,sans-serif;overflow-x:hidden}.script-draft-tool *,.script-draft-tool :before,.script-draft-tool :after{box-sizing:border-box}.script-draft-tool button,.script-draft-tool input,.script-draft-tool textarea{font:inherit}.script-draft-tool .page{width:min(1480px,100vw - 48px);margin:0 auto;padding:18px 0 40px}.script-draft-tool .topbar{z-index:20;min-height:60px;box-shadow:var(--shadow);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#ffffffe0;border:1px solid #d9e1eae6;border-radius:8px;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px;margin-bottom:14px;padding:8px 12px;display:grid;position:static}.script-draft-tool .brand{align-items:center;gap:12px;min-width:0;display:inline-flex}.script-draft-tool .brand-mark{background:url(/portal/kaitian-ai-studio-icon.png?v=20260723) 50%/contain no-repeat;border:1px solid #7357ff6b;border-radius:8px;flex:none;width:44px;height:44px;display:block;box-shadow:0 10px 22px #2030481f}.script-draft-tool .brand-copy{min-width:0}.script-draft-tool h1{color:#111827;letter-spacing:0;margin:0 0 2px;font-size:clamp(24px,2.4vw,34px);font-weight:850;line-height:1.1}.script-draft-tool .subtitle{color:#5f6f82;max-width:680px;margin:0;font-size:13px;line-height:1.6}.script-draft-tool .topbar-actions{align-items:center;gap:10px;display:flex}.script-draft-tool .library-link{border:1px solid var(--line);color:#243246;cursor:pointer;background:#fff;border-radius:8px;align-items:center;min-height:34px;padding:0 12px;font-size:14px;font-weight:800;text-decoration:none;display:inline-flex}.script-draft-tool .library-link:hover{color:#0f766e;border-color:#1aa6a06b}.script-draft-tool .selection-count{text-align:right;background:linear-gradient(135deg,#1aa6a029,#7357ff1f),#fff;border:1px solid #1aa6a040;border-radius:8px;min-width:126px;padding:10px 12px}.script-draft-tool .selection-count strong{color:#0f766e;font-size:28px;line-height:1;display:block}.script-draft-tool .selection-count span{color:var(--muted);font-size:13px}.script-draft-tool .layout{grid-template-columns:minmax(0,1fr) 370px;align-items:start;gap:18px;display:grid}.script-draft-tool .panel{box-shadow:var(--shadow);background:#fffffff0;border:1px solid #d9e1eaf2;border-radius:8px;overflow:hidden}.script-draft-tool .panel-header{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:16px;padding:18px 20px 16px;display:flex}.script-draft-tool .panel-title{color:#152033;margin:0;font-size:19px;font-weight:850}.script-draft-tool .panel-note{color:#657487;margin:4px 0 0;font-size:13px;line-height:1.6}.script-draft-tool .panel-actions{flex-shrink:0;gap:8px;display:flex}.script-draft-tool .ghost-btn,.script-draft-tool .primary-btn{cursor:pointer;border:0;border-radius:8px;transition:transform .15s,background .15s,color .15s,opacity .15s}.script-draft-tool .ghost-btn{border:1px solid var(--line);color:#263548;background:#fff;min-height:40px;padding:9px 12px;font-size:14px;box-shadow:0 8px 18px #20304814}.script-draft-tool .ghost-btn:hover{background:#f1f6fa}.script-draft-tool .ghost-btn:active,.script-draft-tool .primary-btn:active{transform:translateY(1px)}.script-draft-tool .section{padding:18px 20px}.script-draft-tool .section+.section{border-top:1px solid var(--line)}.script-draft-tool .section h2{color:#253246;letter-spacing:0;margin:0 0 12px;font-size:14px}.script-draft-tool .chips{flex-wrap:wrap;gap:10px;display:flex}.script-draft-tool .chip{position:relative}.script-draft-tool .chip input{opacity:0;pointer-events:none;position:absolute;inset:0}.script-draft-tool .chip span{color:#243246;white-space:nowrap;cursor:pointer;-webkit-user-select:none;user-select:none;background:#f8fafc;border:1px solid #d5dee8;border-radius:8px;justify-content:center;align-items:center;min-height:38px;padding:9px 12px;line-height:1.2;transition:background .16s,border-color .16s,color .16s,transform .14s;display:inline-flex;box-shadow:inset 0 -1px #1118270a}.script-draft-tool .chip input:focus-visible+span{outline-offset:2px;outline:3px solid #1aa6a02e}.script-draft-tool .chip input:checked+span{color:#0f5f5c;background:linear-gradient(#1aa6a029,#1aa6a014),#fff;border-color:#1aa6a08c;box-shadow:inset 0 0 0 1px #1aa6a014,0 10px 22px #1aa6a01f}.script-draft-tool .chip span:hover{background:#eef6f6}.script-draft-tool .chip span:active{transform:translateY(1px)}.script-draft-tool .category-groups{grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:12px;display:grid}.script-draft-tool .category-group{background:linear-gradient(#fffffffa,#f7fafcfa);border:1px solid #dce5ed;border-radius:8px;padding:13px}.script-draft-tool .category-group h3{color:#17212f;margin:0 0 10px;font-size:14px}.script-draft-tool .side{gap:14px;display:grid;position:sticky;top:18px}.script-draft-tool .models{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}.script-draft-tool .model-row{background:#f8fafc;border:1px solid #dce5ed;border-radius:8px;grid-template-columns:24px minmax(0,1fr);align-items:center;gap:8px;padding:7px;display:inline-grid}.script-draft-tool .drag-handle{color:#0f766e;background:#e8f5f4;border-radius:8px;place-items:center;width:24px;height:24px;font-size:12px;font-weight:700;display:grid}.script-draft-tool .model-name{color:#243246;align-items:center;gap:9px;min-width:0;font-size:12px;font-weight:700;display:flex}.script-draft-tool .form-row{gap:8px;margin-bottom:12px;display:grid}.script-draft-tool .form-row label{color:#344255;font-size:13px;font-weight:700}.script-draft-tool .text-input,.script-draft-tool .number-input{color:#162033;background:#f8fafc;border:1px solid #d4dee8;border-radius:8px;outline:none;width:100%;min-height:44px;padding:10px 11px}.script-draft-tool .text-input:focus,.script-draft-tool .number-input:focus,.script-draft-tool .result-text:focus{border-color:#1aa6a0b8;box-shadow:0 0 0 3px #1aa6a024}.script-draft-tool .suggestion-input{resize:vertical;min-height:132px;line-height:1.7}.script-draft-tool .number-pair{grid-template-columns:1fr 1fr;gap:10px;display:grid}.script-draft-tool .summary-list{flex-wrap:wrap;gap:8px;min-height:40px;display:flex}.script-draft-tool .summary-tag{color:#0f5f5c;background:#e8f5f4;border:1px solid #1aa6a047;border-radius:8px;padding:7px 9px;font-size:13px}.script-draft-tool .empty{color:#7a8797;line-height:1.7}.script-draft-tool .status-box{white-space:pre-line;color:#0f5f5c;background:#e8f5f4;border:1px solid #1aa6a040;border-radius:8px;padding:11px 12px;line-height:1.6;display:none}.script-draft-tool .status-box.active{display:block}.script-draft-tool .status-box.error{color:var(--danger);background:#ff5d7314;border-color:#ff5d7352}.script-draft-tool .primary-btn{color:#fff;background:linear-gradient(135deg,#152033,#0f766e);justify-content:center;align-items:center;width:100%;min-height:54px;padding:13px 16px;font-weight:850;display:inline-flex;box-shadow:0 16px 30px #0f766e38}.script-draft-tool .primary-btn:hover:not(:disabled){filter:brightness(1.08)}.script-draft-tool .primary-btn:disabled{cursor:not-allowed;opacity:.55}.script-draft-tool .results{gap:18px;margin-top:18px;display:grid}.script-draft-tool .result-grid{grid-template-columns:360px minmax(0,1fr);align-items:start;gap:18px;display:grid}.script-draft-tool .result-card{border:1px solid var(--line);box-shadow:var(--shadow);background:#fff;border-radius:8px;overflow:hidden}.script-draft-tool .result-card header{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:12px;padding:14px 16px;display:flex}.script-draft-tool .result-card h2{color:#17212f;margin:0;font-size:16px}.script-draft-tool .model-badge{color:#425064;white-space:nowrap;background:#f3f6fa;border:1px solid #dce5ed;border-radius:999px;padding:5px 9px;font-size:12px}.script-draft-tool .result-text{color:#17212f;resize:vertical;background:#f8fafc;border:0;outline:none;width:100%;min-height:260px;padding:15px 16px;line-height:1.8}.script-draft-tool .final-text{min-height:520px}.script-draft-tool .source-list{gap:8px;margin:0;padding:15px 16px 16px;list-style:none;display:grid}.script-draft-tool .source-list a{color:#0f766e;overflow-wrap:anywhere}@media (width<=1100px){.script-draft-tool .layout,.script-draft-tool .result-grid{grid-template-columns:1fr}.script-draft-tool .side{position:static}}@media (width<=680px){.script-draft-tool .page{width:min(100vw - 24px,1480px);padding-top:12px}.script-draft-tool .topbar{grid-template-columns:1fr}.script-draft-tool .topbar-actions{justify-content:space-between}.script-draft-tool .brand{align-items:flex-start}.script-draft-tool .panel-header{flex-direction:column;align-items:stretch}.script-draft-tool .selection-count{text-align:left;min-width:112px}.script-draft-tool .category-groups,.script-draft-tool .number-pair{grid-template-columns:1fr}.script-draft-tool .panel-actions{width:100%}.script-draft-tool .ghost-btn{flex:1}}.kaitian-home{--kaitian-sidebar-width:236px;--kaitian-orange:#7357ff;--kaitian-orange-deep:#5e46d7;color:#f5f6fa;background:radial-gradient(420px 520px at 0 100%,#7357ff6b,#1e223157 42%,#0000 74%),linear-gradient(90deg,#16192538 0,#03030300 18%),#000;min-height:100dvh;overflow-x:hidden}.page.kaitian-home,.page.kaitian-home:not(.pricing-page){color:#f5f6fa;background:radial-gradient(480px 640px at 0 100%,#7357ff8f,#0e10176b 44%,#0000 76%),linear-gradient(90deg,#16192547 0,#0000 18%),#000}.page.kaitian-home:before,.page.kaitian-home:after{display:none}.kaitian-home .kaitian-sidebar{z-index:50;width:var(--kaitian-sidebar-width);height:auto;min-height:100dvh;box-shadow:none;-webkit-backdrop-filter:none;backdrop-filter:none;background:radial-gradient(180px 430px at 0 92%,#7357ff5c,#1e223147 54%,#0000 100%),linear-gradient(90deg,#1e22315c,#090a0fb8 63%,#000000f0);border:0;border-right:1px solid #7357ff0a;flex-direction:column;justify-content:flex-start;align-items:stretch;padding:0;display:flex;position:fixed;top:0;bottom:0;left:0}.kaitian-home .kaitian-brand{width:180px;height:116px;margin:46px 0 52px 36px;padding:0}.kaitian-home .kaitian-brand .portal-brand-logo,.kaitian-home .topbar .portal-brand-logo{object-fit:contain;object-position:left center;width:178px;height:116px;box-shadow:none;border-radius:0;display:block}.kaitian-home .kaitian-side-nav{flex-direction:column;justify-content:flex-start;align-items:stretch;gap:17px;width:100%;padding:0 0 0 36px;display:flex}.kaitian-home .kaitian-side-nav a,.kaitian-home .kaitian-side-nav button{color:#7357ff;text-align:left;background:0 0;border:0;border-left:1px solid #0000;border-radius:0;justify-content:flex-start;align-items:center;width:200px;min-height:39px;padding:0 16px 0 51px;font-size:16px;font-weight:500;line-height:1;text-decoration:none;transition:color .18s,background .18s,border-color .18s,transform .18s;display:flex}.kaitian-home .kaitian-side-nav button.active{color:#f5f6fa;background:linear-gradient(90deg,#7357ffbd,#16192547 74%,#0000);border-left-color:#7357ffe0;font-weight:800}.kaitian-home .kaitian-side-nav a:hover,.kaitian-home .kaitian-side-nav a:focus-visible,.kaitian-home .kaitian-side-nav button:hover,.kaitian-home .kaitian-side-nav button:focus-visible{color:#f5f6fa;background:linear-gradient(90deg,#7357ff73,#16192529 74%,#0000);outline:none}.kaitian-home .kaitian-membership-identity{color:#f5f6fa;letter-spacing:.04em;background:#7357ff61;border:1px solid #7357ffa8;border-radius:999px;justify-content:center;align-items:center;gap:6px;min-height:28px;padding:5px 10px;font-size:12px;font-weight:850;line-height:1;display:inline-flex;box-shadow:0 0 18px #7357ff24}.kaitian-home .kaitian-side-cta,.kaitian-home .kaitian-side-login{color:#fff;background:#00000029;border:1px solid #7357ff;border-radius:8px;justify-content:center;align-items:center;min-height:43px;font-size:17px;font-weight:850;line-height:1;transition:color .18s,background .18s,box-shadow .18s,transform .18s;display:inline-flex;box-shadow:inset 0 0 0 1px #7357ff14}.kaitian-home .kaitian-side-cta:hover,.kaitian-home .kaitian-side-cta:focus-visible,.kaitian-home .kaitian-side-login:hover,.kaitian-home .kaitian-side-login:focus-visible{color:#0e1017;background:#7357ff;outline:none;transform:translateY(-1px);box-shadow:0 0 24px #7357ff52}.kaitian-home .stage.portal-hero{width:calc(100% - var(--kaitian-sidebar-width));min-height:100dvh;margin:0 0 0 var(--kaitian-sidebar-width);background:0 0;grid-template-columns:minmax(0,860px) minmax(0,1fr);align-items:flex-start;gap:0;padding:clamp(260px,43vh,466px) 64px 92px 84px;display:grid}.kaitian-home .portal-hero:before,.kaitian-home .hero-copy-block:before{display:none}.kaitian-home .hero-copy-block{max-width:940px;padding:0}.kaitian-home .hero-kicker{color:#7357ffe6;letter-spacing:.42em;gap:17px;margin-bottom:22px;font-family:Georgia,Times New Roman,serif;font-size:13px;font-weight:700}.kaitian-home .hero-kicker:before{background:linear-gradient(90deg,#7357ff00,#7357ffe6);width:37px}.kaitian-home .hero-copy-block h1{color:var(--kaitian-orange);letter-spacing:.02em;white-space:nowrap;text-shadow:0 0 24px #7357ff29;margin:0;font-family:Microsoft YaHei UI,Microsoft YaHei,PingFang SC,Noto Sans SC,sans-serif;font-size:clamp(62px,5.2vw,86px);font-weight:850;line-height:1.08}.kaitian-home .hero-subtitle{color:#f5f6fae6;letter-spacing:.02em;margin:24px 0 0;font-size:clamp(23px,1.65vw,30px);font-weight:400;line-height:1.42}.kaitian-home .portal-hero .stage-actions{justify-content:flex-start;gap:127px;margin-top:27px}.kaitian-home .portal-hero .outline-action{width:202px;height:65px;color:var(--kaitian-orange);letter-spacing:0;background:linear-gradient(#ffffff04,#fff0),#0000002e;border:1px solid #3d3d3df5;border-radius:8px;font-size:31px;font-weight:500;box-shadow:inset 0 0 0 1px #7357ff05}.kaitian-home .portal-hero .outline-action.primary,.kaitian-home .portal-hero .outline-action.secondary{color:var(--kaitian-orange);background:linear-gradient(#ffffff04,#fff0),#0000002e;border-color:#3d3d3df5;box-shadow:inset 0 0 0 1px #7357ff05}.kaitian-home .portal-hero .outline-action:hover,.kaitian-home .portal-hero .outline-action:focus-visible,.kaitian-home .portal-hero .outline-action.secondary:hover,.kaitian-home .portal-hero .outline-action.secondary:focus-visible{color:#a996ff;background:#7357ff12;border-color:#7357ffad;outline:none;transform:translateY(-1px)}.kaitian-home .hero-load-tip{color:#7357ff80}.kaitian-home .hero-visual{display:none}.kaitian-home .show-section{width:min(1480px, calc(100% - var(--kaitian-sidebar-width) - 96px));margin:0 48px 96px calc(var(--kaitian-sidebar-width) + 48px)}body:has(.kaitian-home) .icp-record{display:none}@media (width<=1180px){.kaitian-home .stage.portal-hero{padding-left:56px;padding-right:40px}.kaitian-home .hero-copy-block h1{white-space:normal}.kaitian-home .portal-hero .stage-actions{gap:32px}}@media (width<=820px){.kaitian-home{--kaitian-sidebar-width:0px}.kaitian-home .kaitian-sidebar{background:#000000eb;border-bottom:1px solid #7357ff14;width:100%;min-height:auto;padding:14px 16px 16px;position:static}.kaitian-home .kaitian-brand{width:162px;height:105px;margin:0 0 14px}.kaitian-home .kaitian-brand .portal-brand-logo,.kaitian-home .topbar .portal-brand-logo{width:162px;height:105px}.kaitian-home .kaitian-side-nav{flex-direction:row;gap:8px;padding:0 0 8px;overflow-x:auto}.kaitian-home .kaitian-side-nav a,.kaitian-home .kaitian-side-nav button{border:1px solid #7357ff24;border-radius:999px;width:auto;min-width:max-content;min-height:38px;padding:0 14px;font-size:14px}.kaitian-home .kaitian-side-actions{flex-wrap:wrap;gap:10px;width:100%;margin:4px 0 0;display:flex}.kaitian-home .kaitian-membership-identity{flex:0 0 100%}.kaitian-home .kaitian-side-cta,.kaitian-home .kaitian-side-login{flex:1;min-height:40px;font-size:15px}.kaitian-home .stage.portal-hero{grid-template-columns:1fr;width:100%;min-height:calc(100dvh - 170px);margin:0;padding:clamp(86px,19vh,150px) 22px 64px}.kaitian-home .hero-kicker{letter-spacing:.24em;font-size:11px}.kaitian-home .hero-copy-block h1{font-size:clamp(44px,13.2vw,68px)}.kaitian-home .hero-subtitle{font-size:clamp(20px,6vw,26px)}.kaitian-home .hero-desc{font-size:16px}.kaitian-home .portal-hero .stage-actions{gap:14px}.kaitian-home .portal-hero .outline-action{flex:1;width:auto;min-width:0;height:54px;font-size:22px}.kaitian-home .show-section{width:calc(100% - 28px);margin:0 auto 72px}}@media (width<=480px){.kaitian-home .portal-hero .stage-actions{flex-direction:column}.kaitian-home .portal-hero .outline-action{width:100%}}.kaitian-home{isolation:isolate;background:0 0;position:relative}.page.kaitian-home,.page.kaitian-home:not(.pricing-page){background:0 0}.kaitian-home .kaitian-background-video{z-index:-2;pointer-events:none;object-fit:cover;object-position:center;opacity:.64;background:#000;width:100%;height:100%;position:fixed;inset:0}.kaitian-home:before{z-index:-1;content:"";pointer-events:none;background:linear-gradient(90deg,#000000c7 0%,#00000080 35%,#00000094 100%),linear-gradient(#00000047,#000000ad);display:block;position:fixed;inset:0}@media (prefers-reduced-motion:reduce){.kaitian-home .kaitian-background-video{display:none}}.login-page.login-page-centered{color:#f5f6fa;background:radial-gradient(62% 64% at 0 100%,#1e22319e,#0000 72%),linear-gradient(145deg,#020202 0%,#050505 56%,#010101 100%);min-height:100dvh;padding:48px 24px;font-family:Microsoft YaHei UI,Microsoft YaHei,PingFang SC,Noto Sans SC,sans-serif}.login-page.login-page-centered:before{display:none}.login-page-centered .login-back-button{color:#a996ff;background:#050505c7;border-color:#7357ff6b;border-radius:8px;top:22px;left:24px;box-shadow:0 10px 28px #0000003d}.login-page-centered .login-back-button:hover,.login-page-centered .login-back-button:focus-visible{color:#a996ff;background:#0e1017eb;border-color:#7357ffe6;outline:none}.login-page.login-page-centered .login-card-centered{background:radial-gradient(90% 70% at 5% 100%,#1e2231d1,#0000 72%),linear-gradient(145deg,#080808fa,#010101fc);border:1px solid #7357ffe6;border-radius:22px;align-content:start;gap:24px;width:min(528px,100vw - 32px);min-height:520px;padding:40px 64px 32px;box-shadow:0 32px 84px #0000009e,inset 0 0 0 1px #7357ff14}.login-page-centered .login-card-head{text-align:center}.login-page-centered .login-card-logo{width:220px;height:58px}.login-page-centered .login-card-head h2{color:#a996ff;letter-spacing:.03em;text-shadow:0 2px 12px #7357ff29;margin-top:12px;font-family:Microsoft YaHei UI,Microsoft YaHei,PingFang SC,Noto Sans SC,sans-serif;font-size:34px;font-weight:850;line-height:1.25}.login-page-centered .login-card-head p{color:#6f7891;margin-top:8px;font-size:13px;display:none}.login-page-centered .login-tabs{background:#040404e0;border:1px solid #7357ffdb;border-radius:4px;align-self:start;gap:0;width:100%;padding:1px}.login-page-centered .login-tabs button{color:#f5f6fa;border-radius:3px;height:28px;font-family:inherit;font-size:15px}.login-page-centered .login-field{gap:0;position:relative}.login-page-centered .login-field>span{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.login-page-centered .login-field>div{background:#121212eb;border:1px solid #6f7891b8;border-radius:3px;gap:9px;min-height:36px;padding:0 11px;box-shadow:inset 0 1px #ffffff06}.login-page-centered .login-field>div:focus-within{background:#0e1017f5;border-color:#7357ffeb;box-shadow:0 0 0 3px #7357ff1f,inset 0 1px #ffffff0a}.login-page-centered .login-field svg{color:#7357ff}.login-page-centered .login-field input{color:#f5f6fa;height:34px;font-family:inherit;font-size:13px}.login-page-centered .login-field input::placeholder{color:#6f7891}.login-page-centered .password-toggle{color:#a996ff;background:#7357ff47;border:1px solid #7357ffb8;border-radius:4px;width:26px;height:26px}.login-page-centered .password-toggle:hover,.login-page-centered .code-button:hover:not(:disabled){color:#f5f6fa;background:#7357ff66}.login-page-centered .code-button{color:#a996ff;background:#7357ff33;border:1px solid #7357ff9e;border-radius:4px;min-height:28px}.login-page-centered .login-legal-consent{color:#9ca3b8;font-size:11px}.login-page-centered .login-legal-consent input,.login-page-centered .login-options input{accent-color:#a996ff}.login-page-centered .login-legal-consent a,.login-page-centered .login-legal-consent a:hover,.login-page-centered .login-legal-consent a:focus-visible{color:#a996ff}.login-page-centered .wechat-login-divider{color:#6f7891}.login-page-centered .wechat-login-divider:before,.login-page-centered .wechat-login-divider:after{background:#7357ff38}.login-page-centered .wechat-login-button{color:#a996ff;background:#7357ff2e;border-color:#7357ff94;border-radius:999px;min-height:34px;font-family:inherit}.login-page-centered .wechat-login-button:hover:not(:disabled),.login-page-centered .wechat-login-button:focus-visible{color:#f5f6fa;background:#7357ff4d;border-color:#7357ffdb}.login-page-centered .wechat-login-qr{background:#121212b8;border-color:#7357ff3d;border-radius:14px}.login-page-centered .wechat-login-qr p,.login-page-centered .wechat-login-message{color:#9ca3b8}.login-page-centered .login-submit{color:#1e2231;letter-spacing:.04em;background:linear-gradient(100deg,#a996ff 0% 54%,#7357ff 100%);border-radius:999px;height:38px;font-family:inherit;font-size:17px;font-weight:750;box-shadow:0 12px 28px #0000003d}.login-page-centered .login-submit:hover:not(:disabled),.login-page-centered .login-submit:focus-visible{color:#1e2231;background:linear-gradient(100deg,#f5f6fa 0%,#a996ff 52%,#7357ff 100%);outline:none;box-shadow:0 16px 34px #0000004d}.login-page-centered .login-submit:disabled{opacity:.9}.login-page-centered .login-seat-panel{background:linear-gradient(145deg,#0e1017,#050505);border-color:#7357ffc7;border-radius:20px}.login-page-centered .login-seat-actions button:last-child{color:#1e2231;background:linear-gradient(100deg,#a996ff,#7357ff)}@media (width<=760px){.login-page.login-page-centered{padding:32px 16px 24px}.login-page.login-page-centered .login-card-centered{border-radius:21px;gap:21px;width:calc(100% - 28px);min-height:422px;padding:30px clamp(24px,10.7vw,48px) 24px}.login-page-centered .login-card-logo{width:200px;height:52px}.login-page-centered .login-card-head h2{margin-top:10px;font-size:30px}.login-page-centered .login-tabs button{height:26px;font-size:14px}.login-page-centered .login-field input{font-size:13px}.login-page-centered .login-submit{height:37px}}.login-page.login-page-modal{z-index:120;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:radial-gradient(60% 48% at 50% 0,#7357ff1f,#0000 72%),#000000b3;place-items:center;min-height:100dvh;padding:20px;display:grid;position:fixed;inset:0;overflow:auto}.login-page.login-page-modal .login-modal-card{scrollbar-width:thin;scrollbar-color:#7357ff7a transparent;background:radial-gradient(100% 42% at 0 0,#27d9c775,#0000 66%),radial-gradient(80% 52% at 100% 0,#7357ff3d,#0000 72%),linear-gradient(145deg,#191b19fa,#0d0e0efc 62%,#090909fc);border:1px solid #7357ff80;border-radius:20px;align-content:start;gap:16px;width:min(400px,100vw - 32px);min-height:0;max-height:min(760px,100dvh - 32px);padding:22px 24px 24px;position:relative;overflow-y:auto;box-shadow:0 34px 100px #000000a3,inset 0 0 0 1px #7357ff0d}.login-page.login-page-modal .login-modal-card::-webkit-scrollbar{width:6px}.login-page.login-page-modal .login-modal-card::-webkit-scrollbar-thumb{background:#7357ff7a;border-radius:999px}.login-page.login-page-modal .login-modal-close{z-index:2;color:#9ca3b8;cursor:pointer;background:0 0;border:0;border-radius:999px;place-items:center;width:32px;height:32px;transition:color .18s,background .18s,transform .18s;display:grid;position:absolute;top:17px;right:17px}.login-page.login-page-modal .login-modal-close:hover,.login-page.login-page-modal .login-modal-close:focus-visible{color:#a996ff;background:#7357ff29;outline:none;transform:rotate(8deg)}.login-page.login-page-modal .login-card-head{text-align:left;align-items:flex-start}.login-page.login-page-modal .login-card-brand{display:none}.login-page.login-page-modal .login-card-head h2{color:#f5f6fa;letter-spacing:.02em;margin:0;font-size:20px;font-weight:800}.login-page.login-page-modal .login-card-head p{color:#6f7891;margin:6px 42px 0 0;font-size:12px;line-height:1.5;display:block}.login-page.login-page-modal .login-tabs{background:#070808a3;border:1px solid #ffffff0a;border-radius:12px;align-self:stretch;gap:4px;height:44px;padding:4px}.login-page.login-page-modal .login-tabs button{color:#6f7891;border-radius:9px;height:34px;font-size:14px;font-weight:700}.login-page.login-page-modal .login-tabs button.active{color:#f5f6fa;background:linear-gradient(#7357ff4d,#7357ff4d);box-shadow:inset 0 0 0 1px #7357ff33,0 4px 12px #0003}.login-page.login-page-modal .login-field{gap:7px}.login-page.login-page-modal .login-field>span{clip:auto;color:#f5f6fa;white-space:normal;width:auto;height:auto;margin:0;font-size:12px;font-weight:700;position:static;overflow:visible}.login-page.login-page-modal .login-field>div{background:#0b0b0b9e;border:1px solid #6f789133;border-radius:10px;gap:10px;min-height:44px;padding:0 13px}.login-page.login-page-modal .login-field>div:focus-within{background:#0e1017c2;border-color:#7357ffc7;box-shadow:0 0 0 3px #7357ff1c}.login-page.login-page-modal .login-field svg{color:#7357ff}.login-page.login-page-modal .login-field input{color:#f5f6fa;height:42px;font-size:14px}.login-page.login-page-modal .login-field input::placeholder{color:#77766f}.login-page.login-page-modal .login-phone-input{gap:10px}.login-page.login-page-modal .login-phone-prefix{color:#f5f6fa;font-variant-numeric:tabular-nums;flex:none;font-size:13px}.login-page.login-page-modal .login-phone-divider{background:#ffffff1f;flex:0 0 1px;width:1px;height:18px}.login-page.login-page-modal .password-toggle{color:#a996ff;background:#7357ff21;border:0;width:30px;height:30px}.login-page.login-page-modal .code-button{color:#a996ff;background:#7357ff29;border:1px solid #7357ff3d;border-radius:8px;min-height:36px}.login-page.login-page-modal .login-legal-consent{color:#9ca3b8;font-size:12px}.login-page.login-page-modal .login-phone-hint{display:none}.login-page.login-page-modal .login-legal-consent a{color:#a996ff}.login-page.login-page-modal .wechat-login-panel{gap:8px;margin:4px 0 0}.login-page.login-page-modal .wechat-login-qr{background:0 0;border:0;justify-items:center;gap:14px;padding:0;display:grid}.login-page.login-page-modal .wechat-login-qr img{box-sizing:border-box;border:8px solid #fff;border-radius:13px;width:190px;height:190px;box-shadow:0 10px 24px #00000042}.login-page.login-page-modal .wechat-login-qr-copy{text-align:center;gap:5px;display:grid}.login-page.login-page-modal .wechat-login-qr-title,.login-page.login-page-modal .wechat-login-qr-hint{text-align:center;margin:0}.login-page.login-page-modal .wechat-login-qr-title{color:#f5f6fa;font-size:14px;font-weight:750}.login-page.login-page-modal .wechat-login-qr-hint{color:#6f7891;font-size:12px}.login-page.login-page-modal .wechat-login-divider{color:#6f7891}.login-page.login-page-modal .wechat-login-divider:before,.login-page.login-page-modal .wechat-login-divider:after{background:#7357ff33}.login-page.login-page-modal .wechat-login-button{color:#a996ff;background:#7357ff1f;border:1px solid #7357ff47;border-radius:10px;min-height:38px}.login-page.login-page-modal .wechat-login-button:hover:not(:disabled),.login-page.login-page-modal .wechat-login-button:focus-visible{color:#f5f6fa;background:#7357ff38;border-color:#7357ffb8}.login-page.login-page-modal .wechat-login-qr{background:0 0;border:0;border-radius:0;padding:0}.login-page.login-page-modal .wechat-login-qr p,.login-page.login-page-modal .wechat-login-message{color:#9ca3b8}.login-page.login-page-modal .login-submit{color:#161925;background:linear-gradient(100deg,#a996ff 0% 55%,#7357ff 100%);border-radius:9px;height:46px;font-size:15px;font-weight:800;box-shadow:0 14px 28px #00000047}.login-page.login-page-modal .wechat-login-panel+.login-legal-consent{display:none}.login-page.login-page-modal .login-submit:hover:not(:disabled),.login-page.login-page-modal .login-submit:focus-visible{color:#161925;background:linear-gradient(100deg,#a996ff 0% 55%,#7357ff 100%);box-shadow:0 18px 34px #00000057}.login-page.login-page-modal .login-top-toast{z-index:3;top:18px}@media (width<=520px){.login-page.login-page-modal{padding:14px}.login-page.login-page-modal .login-modal-card{border-radius:17px;width:min(100%,438px);max-height:calc(100dvh - 28px);padding:23px 19px 20px}.login-page.login-page-modal .login-card-head h2{font-size:22px}.login-page.login-page-modal .wechat-login-qr img{width:178px;height:178px}}.kaitian-home .wallet-modal{-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);background:#03070dc7;padding:24px}.kaitian-home .wallet-panel{background:radial-gradient(circle at 100% 0,#7357ff1a,#0000 34%),linear-gradient(145deg,#0f1725 0%,#0b111d 56%,#080e18 100%);border:1px solid #7357ff6b;border-radius:20px;width:min(760px,100%);max-height:min(760px,100dvh - 40px);padding:28px;box-shadow:0 30px 90px #0009,inset 0 0 0 1px #ffffff06}.kaitian-home .wallet-head{border-bottom:1px solid #7357ff2e;align-items:flex-start;padding-bottom:22px}.kaitian-home .wallet-head span{color:#7357ff;letter-spacing:.08em;font-size:14px;font-weight:800}.kaitian-home .wallet-head h3{color:#f8fafc;letter-spacing:-.02em;margin-top:8px;font-size:34px;line-height:1.15}.kaitian-home .wallet-head-actions{gap:10px}.kaitian-home .wallet-head-actions .wallet-refresh,.kaitian-home .wallet-head-actions>button:last-child{color:#7357ff;background:#1a2230;border:1px solid #7357ff4d;border-radius:9px;min-height:38px;transition:border-color .18s,background .18s,color .18s,transform .18s}.kaitian-home .wallet-head-actions .wallet-refresh{min-width:76px;padding:0 14px;font-size:13px;font-weight:800}.kaitian-home .wallet-head-actions>button:last-child{place-items:center;width:38px;min-width:38px;padding:0;font-size:20px;line-height:1;display:grid}.kaitian-home .wallet-head-actions .wallet-refresh:hover:not(:disabled),.kaitian-home .wallet-head-actions>button:last-child:hover{color:#a996ff;background:#222d3d;border-color:#7357ffb8;transform:translateY(-1px)}.kaitian-home .wallet-head-actions .wallet-refresh:disabled{color:#778295;background:#141c29;border-color:#94a3b829}.kaitian-home .wallet-tabs{background:#111a29;border:1px solid #233044;border-radius:12px;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;margin:22px 0 18px;padding:5px;display:grid}.kaitian-home .wallet-tabs button{color:#9aa6b8;background:0 0;border:0;border-radius:8px;min-height:42px;font-size:14px;font-weight:800;transition:color .18s,background .18s,transform .18s}.kaitian-home .wallet-tabs button:hover{color:#f5f7fb;background:#ffffff0f}.kaitian-home .wallet-tabs button.active{color:#101721;background:#7357ff;box-shadow:0 5px 14px #7357ff33}.kaitian-home .wallet-list{scrollbar-color:#7357ff #ffffff14;gap:12px;padding:2px 3px 3px 1px}.kaitian-home .wallet-list::-webkit-scrollbar-thumb{background:#7357ff;border-color:#0000}.kaitian-home .wallet-list::-webkit-scrollbar-thumb:hover{background:#7357ff}.kaitian-home .studio-wallet-record{background:#f7f7f8;border:0;border-radius:14px;min-height:88px;padding:18px 20px 18px 24px;transition:box-shadow .18s,transform .18s;box-shadow:0 10px 24px #0003}.kaitian-home .studio-wallet-record:before{background:0 0}.kaitian-home .studio-wallet-record:after{background:#7357ff;width:5px}.kaitian-home .studio-wallet-record.income:after,.kaitian-home .studio-wallet-record.expense:after{background:linear-gradient(#a996ff,#7357ff)}.kaitian-home .studio-wallet-record:hover{transform:translateY(-1px);box-shadow:0 14px 28px #00000045}.kaitian-home .studio-wallet-record strong{color:#1d2735;font-size:19px;font-weight:850}.kaitian-home .studio-wallet-record span{color:#7f8490;font-size:12px}.kaitian-home .studio-wallet-record .wallet-status{color:#7357ff;background:#a996ff;border:1px solid #7357ff75}.kaitian-home .studio-wallet-record .wallet-status.pending{color:#7357ff;background:#f5f6fa;border-color:#7357ff59}.kaitian-home .studio-wallet-record .wallet-status.failed{color:#ff5d73;background:#fee2e2;border-color:#ff5d7342}.kaitian-home .wallet-record-side>span{color:#8b9099}.kaitian-home .wallet-empty{color:#9aa6b8;background:#ffffff09;border-color:#7357ff47;border-radius:14px;min-height:170px}.kaitian-home .wallet-empty strong{color:#f3f5f8}.kaitian-home .wallet-empty button{color:#7357ff;background:#7357ff1a;border-color:#7357ff75}.kaitian-home .wallet-empty button:hover{color:#101721;background:#7357ff}.kaitian-home .wallet-pagination{border-top-color:#7357ff2e;gap:14px;margin-top:18px;padding-top:18px}.kaitian-home .wallet-pagination button{color:#7357ff;background:#1a2230;border:1px solid #2c3a4e;border-radius:9px;min-width:88px;min-height:40px;font-size:13px;font-weight:800;transition:border-color .18s,background .18s,color .18s,transform .18s}.kaitian-home .wallet-pagination button:hover:not(:disabled){color:#a996ff;background:#222d3d;border-color:#7357ffb3;transform:translateY(-1px)}.kaitian-home .wallet-pagination button:disabled{color:#657185;background:#121a27;border-color:#202b3b}.kaitian-home .wallet-pagination span{color:#8994a5;font-variant-numeric:tabular-nums}@media (width<=640px){.kaitian-home .wallet-modal{padding:14px}.kaitian-home .wallet-panel{border-radius:16px;max-height:calc(100dvh - 28px);padding:20px 16px}.kaitian-home .wallet-head h3{font-size:28px}.kaitian-home .wallet-head-actions{gap:7px}.kaitian-home .wallet-head-actions .wallet-refresh{min-width:66px;padding:0 10px}.kaitian-home .wallet-tabs{margin-top:18px}.kaitian-home .studio-wallet-record{align-items:flex-start;gap:12px;padding:16px 14px 16px 19px}.kaitian-home .wallet-record-side{text-align:left;justify-items:start}.kaitian-home .wallet-record span{white-space:normal;max-width:100%}.kaitian-home .wallet-pagination{flex-wrap:wrap;justify-content:center}.kaitian-home .wallet-pagination span{flex-basis:100%;order:-1}}.studio-page .wallet-modal,.script-lab-page .wallet-modal{-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);background:#030810c7;padding:20px}.studio-page .wallet-panel,.script-lab-page .wallet-panel,.script-library-legacy .wallet-dialog{background:radial-gradient(circle at 100% 0,#7357ff1c,#0000 34%),linear-gradient(#192638fa,#0c1421fc);border:1px solid #7357ff6b;border-radius:22px;width:min(780px,100vw - 40px);max-height:min(760px,100dvh - 40px);box-shadow:0 32px 90px #00000085,inset 0 0 0 1px #ffffff06}.studio-page .wallet-panel,.script-lab-page .wallet-panel{padding:28px}.script-library-legacy .wallet-dialog{padding:0;overflow:hidden}.script-library-legacy .wallet-panel-like{box-sizing:border-box;width:100%;max-height:min(760px,100dvh - 40px);padding:28px}.studio-page .wallet-head,.script-lab-page .wallet-head,.script-library-legacy .wallet-panel-like>.wallet-head{border-bottom:1px solid #7357ff2e;padding-bottom:20px}.studio-page .wallet-head span,.script-lab-page .wallet-head span,.script-library-legacy .wallet-panel-like .wallet-head span{color:#7357ff;letter-spacing:.04em}.studio-page .wallet-head h3,.script-lab-page .wallet-head h3,.script-library-legacy .wallet-panel-like .wallet-head h3{color:#f5f6fa;font-variant-numeric:tabular-nums;letter-spacing:-.02em;margin-top:7px;font-size:clamp(28px,4vw,36px)}.studio-page .wallet-head-actions,.script-lab-page .wallet-head-actions,.script-library-legacy .wallet-panel-like .wallet-head-actions{gap:8px}.studio-page .wallet-head-actions>button,.script-lab-page .wallet-head-actions>button,.script-library-legacy .wallet-panel-like .wallet-head-actions>button{color:#7357ff;background:#7357ff14;border:1px solid #7357ff57;border-radius:10px;min-height:40px;transition:color .18s,border-color .18s,background .18s,transform .18s}.studio-page .wallet-head-actions>button:last-child,.script-lab-page .wallet-head-actions>button:last-child,.script-library-legacy .wallet-panel-like .wallet-head-actions>button:last-child{place-items:center;width:40px;min-width:40px;padding:0;font-size:19px;line-height:1;display:grid}.studio-page .wallet-head-actions>button:hover:not(:disabled),.script-lab-page .wallet-head-actions>button:hover:not(:disabled),.script-library-legacy .wallet-panel-like .wallet-head-actions>button:hover:not(:disabled){color:#f5f6fa;background:#7357ff2b;border-color:#7357ffc7;transform:translateY(-1px)}.studio-page .wallet-head-actions>button:focus-visible,.script-lab-page .wallet-head-actions>button:focus-visible,.script-library-legacy .wallet-panel-like .wallet-head-actions>button:focus-visible,.studio-page .wallet-tabs button:focus-visible,.script-lab-page .wallet-tabs button:focus-visible,.script-library-legacy .wallet-panel-like .wallet-tabs button:focus-visible,.studio-page .wallet-pagination button:focus-visible,.script-lab-page .wallet-pagination button:focus-visible,.script-library-legacy .wallet-panel-like .wallet-pagination button:focus-visible{outline-offset:2px;outline:2px solid #a996ff}.studio-page .wallet-head-actions .wallet-refresh:disabled,.script-lab-page .wallet-head-actions .wallet-refresh:disabled,.script-library-legacy .wallet-panel-like .wallet-refresh:disabled{color:#7d8491;background:#94a3b812;border-color:#94a3b82e}.studio-page .wallet-tabs,.script-lab-page .wallet-tabs,.script-library-legacy .wallet-panel-like .wallet-tabs{background:#111b2a;border:1px solid #29384d;border-radius:13px;gap:6px;margin:22px 0 18px;padding:5px}.studio-page .wallet-tabs button,.script-lab-page .wallet-tabs button,.script-library-legacy .wallet-panel-like .wallet-tabs button{color:#9da9ba;background:0 0;border-radius:9px;min-height:44px;transition:color .18s,background .18s,transform .18s}.studio-page .wallet-tabs button:hover,.script-lab-page .wallet-tabs button:hover,.script-library-legacy .wallet-panel-like .wallet-tabs button:hover{color:#f5f7fb;background:#ffffff0f}.studio-page .wallet-tabs button.active,.script-lab-page .wallet-tabs button.active,.script-library-legacy .wallet-panel-like .wallet-tabs button.active{color:#151b24;background:#7357ff;box-shadow:0 6px 16px #7357ff33}.studio-page .wallet-list,.script-lab-page .wallet-list,.script-library-legacy .wallet-panel-like .wallet-list{scrollbar-color:#7357ff #ffffff14;gap:12px;padding:2px 4px 3px 1px}.studio-page .wallet-list::-webkit-scrollbar-thumb{background:#7357ff;border-color:#0000}.script-lab-page .wallet-list::-webkit-scrollbar-thumb{background:#7357ff;border-color:#0000}.script-library-legacy .wallet-panel-like .wallet-list::-webkit-scrollbar-thumb{background:#7357ff;border-color:#0000}.studio-page .wallet-list::-webkit-scrollbar-thumb:hover{background:#7357ff}.script-lab-page .wallet-list::-webkit-scrollbar-thumb:hover{background:#7357ff}.script-library-legacy .wallet-panel-like .wallet-list::-webkit-scrollbar-thumb:hover{background:#7357ff}.studio-page .wallet-record,.script-lab-page .wallet-record,.script-library-legacy .wallet-panel-like .wallet-record{background:#f7f7f8;border:0;border-radius:14px;min-height:92px;padding:18px 20px 18px 24px;transition:box-shadow .18s,transform .18s;box-shadow:0 10px 24px #0003}.studio-page .studio-wallet-record:before,.script-lab-page .studio-wallet-record:before{background:0 0}.studio-page .studio-wallet-record:after,.script-lab-page .studio-wallet-record:after{background:linear-gradient(#a996ff,#7357ff);width:5px}.studio-page .wallet-record:hover,.script-lab-page .wallet-record:hover,.script-library-legacy .wallet-panel-like .wallet-record:hover{transform:translateY(-1px);box-shadow:0 14px 28px #00000045}.studio-page .wallet-record strong,.script-lab-page .wallet-record strong,.script-library-legacy .wallet-panel-like .wallet-record strong{color:#1d2735;font-size:19px;font-weight:850}.studio-page .wallet-record span,.script-lab-page .wallet-record span,.script-library-legacy .wallet-panel-like .wallet-record span{color:#7f8490}.studio-page .wallet-record .wallet-status,.script-lab-page .wallet-record .wallet-status,.script-library-legacy .wallet-panel-like .wallet-record .wallet-status{color:#7357ff;background:#a996ff;border:1px solid #7357ff75}.studio-page .wallet-record .wallet-status.pending,.script-lab-page .wallet-record .wallet-status.pending,.script-library-legacy .wallet-panel-like .wallet-record .wallet-status.pending{color:#7357ff;background:#f5f6fa;border-color:#7357ff59}.studio-page .wallet-record .wallet-status.failed,.script-lab-page .wallet-record .wallet-status.failed,.script-library-legacy .wallet-panel-like .wallet-record .wallet-status.failed{color:#ff5d73;background:#fee2e2;border-color:#ff5d7342}.studio-page .wallet-record-side>span,.script-lab-page .wallet-record-side>span,.script-library-legacy .wallet-panel-like .wallet-record-side>span{color:#8b9099}.studio-page .wallet-empty,.script-lab-page .wallet-empty,.script-library-legacy .wallet-panel-like .wallet-empty{color:#9aa6b8;background:#ffffff09;border-color:#7357ff47;border-radius:14px;min-height:170px}.studio-page .wallet-empty strong,.script-lab-page .wallet-empty strong,.script-library-legacy .wallet-panel-like .wallet-empty strong{color:#f3f5f8}.studio-page .wallet-empty button,.script-lab-page .wallet-empty button,.script-library-legacy .wallet-panel-like .wallet-empty button{color:#7357ff;background:#7357ff1a;border-color:#7357ff75}.studio-page .wallet-empty button:hover,.script-lab-page .wallet-empty button:hover,.script-library-legacy .wallet-panel-like .wallet-empty button:hover{color:#101721;background:#7357ff}.studio-page .wallet-pagination,.script-lab-page .wallet-pagination,.script-library-legacy .wallet-panel-like .wallet-pagination{border-top-color:#7357ff2e;gap:14px;margin-top:18px;padding-top:18px}.studio-page .wallet-pagination button,.script-lab-page .wallet-pagination button,.script-library-legacy .wallet-panel-like .wallet-pagination button{color:#7357ff;background:#1a2230;border:1px solid #2c3a4e;border-radius:9px;min-width:88px;min-height:40px;transition:border-color .18s,background .18s,color .18s,transform .18s}.studio-page .wallet-pagination button:hover:not(:disabled),.script-lab-page .wallet-pagination button:hover:not(:disabled),.script-library-legacy .wallet-panel-like .wallet-pagination button:hover:not(:disabled){color:#a996ff;background:#222d3d;border-color:#7357ffb3;transform:translateY(-1px)}.studio-page .wallet-pagination button:disabled,.script-lab-page .wallet-pagination button:disabled,.script-library-legacy .wallet-panel-like .wallet-pagination button:disabled{color:#657185;background:#121a27;border-color:#202b3b}.studio-page .wallet-pagination span,.script-lab-page .wallet-pagination span,.script-library-legacy .wallet-panel-like .wallet-pagination span{color:#8994a5;font-variant-numeric:tabular-nums}@media (width<=640px){.studio-page .wallet-modal,.script-lab-page .wallet-modal{padding:12px}.script-library-legacy .script-legacy-dialog-layer:has(>.wallet-dialog){padding:12px}.studio-page .wallet-panel,.script-lab-page .wallet-panel,.script-library-legacy .wallet-dialog{border-radius:18px;width:min(780px,100vw - 24px);max-height:calc(100dvh - 24px)}.studio-page .wallet-panel,.script-lab-page .wallet-panel,.script-library-legacy .wallet-panel-like{max-height:calc(100dvh - 24px);padding:20px 16px}.studio-page .wallet-head,.script-lab-page .wallet-head,.script-library-legacy .wallet-panel-like>.wallet-head{align-items:flex-start;gap:10px;padding-bottom:16px}.studio-page .wallet-head h3,.script-lab-page .wallet-head h3,.script-library-legacy .wallet-panel-like .wallet-head h3{font-size:28px}.studio-page .wallet-head-actions,.script-lab-page .wallet-head-actions,.script-library-legacy .wallet-panel-like .wallet-head-actions{gap:6px}.studio-page .wallet-head-actions .wallet-refresh,.script-lab-page .wallet-head-actions .wallet-refresh,.script-library-legacy .wallet-panel-like .wallet-refresh{min-width:62px;padding:0 9px}.studio-page .wallet-tabs,.script-lab-page .wallet-tabs,.script-library-legacy .wallet-panel-like .wallet-tabs{margin-top:18px}.studio-page .wallet-record,.script-lab-page .wallet-record,.script-library-legacy .wallet-panel-like .wallet-record{align-items:flex-start;gap:12px;padding:16px 14px 16px 19px}.studio-page .wallet-record span,.script-lab-page .wallet-record span,.script-library-legacy .wallet-panel-like .wallet-record span{white-space:normal;overflow-wrap:anywhere;max-width:100%}.studio-page .wallet-record-side,.script-lab-page .wallet-record-side,.script-library-legacy .wallet-panel-like .wallet-record-side{text-align:left;justify-items:start}.studio-page .wallet-pagination,.script-lab-page .wallet-pagination,.script-library-legacy .wallet-panel-like .wallet-pagination{flex-wrap:wrap;justify-content:center}.studio-page .wallet-pagination span,.script-lab-page .wallet-pagination span,.script-library-legacy .wallet-panel-like .wallet-pagination span{flex-basis:100%;order:-1}}.studio-page{--studio-orange:#7357ff;--studio-orange-bright:#846dff;--studio-ink:#090a0f;--studio-surface:#090a0fdb;isolation:isolate;color:#f5f6fa;background:#090a0f;font-family:PingFang SC,Microsoft YaHei,Segoe UI,sans-serif;position:relative;overflow:hidden}.studio-page .studio-topbar{z-index:200;background:linear-gradient(#111110fa,#0d0d0cf2);border-bottom:1px solid #7357ff1f;gap:18px;height:70px;min-height:70px;padding:0 22px;position:relative;box-shadow:0 1px #ffffff05}.studio-page .production-agent-panel{z-index:500}.studio-page .studio-left{gap:17px;min-width:0}.studio-page .workflow-name-shell{z-index:205;width:min(360px,30vw);display:block;top:50%;transform:translate(-50%,-50%)}.studio-page .workflow-name-button,.studio-page .workflow-name-input{color:#f5f6fa;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#090a0fad;border-color:#7357ff70;border-radius:999px;height:38px;box-shadow:0 8px 24px #0000002e,inset 0 1px #ffffff0f}.studio-page .workflow-name-button{text-overflow:ellipsis;white-space:nowrap;cursor:text;transition:color .18s,border-color .18s,background .18s,box-shadow .18s;display:block;overflow:hidden}.studio-page .workflow-name-button:hover,.studio-page .workflow-name-input:focus{border-color:var(--studio-orange-bright);color:#f5f6fa;background:#0e1017db;outline:none;box-shadow:0 0 0 3px #7357ff1f,0 10px 28px #0000003d}.studio-page .workflow-name-input{text-align:center}.studio-page .studio-left h1{color:#f5f6fa;letter-spacing:.02em;font-size:17px;font-weight:600}.studio-page .studio-left p{color:#f5f6fa8c;letter-spacing:.03em;margin-top:4px;font-size:12px}.studio-page .icon-text-button{color:#f5f6faeb;white-space:nowrap;background:0 0;border:0;gap:8px;height:36px;padding:0;font-size:14px}.studio-page .icon-text-button:hover{color:var(--studio-orange-bright);background:0 0;border:0}.studio-page .studio-actions{gap:10px;min-width:0}.studio-page .user-wallet-group{gap:8px}.studio-page .balance-chip,.studio-page .studio-user-button{height:34px;color:var(--studio-orange-bright);letter-spacing:.08em;background:#090a0f7a;border-color:#7357ffa8;border-radius:999px;font-size:12px}.studio-page .balance-chip{color:#f5f6fa;background:linear-gradient(#7357ffeb,#7357ffe0);border-color:#7357ffbf;padding:0 13px;box-shadow:inset 0 1px #ffffff52,0 4px 14px #0000002e}.studio-page .balance-chip:hover:not(:disabled){border-color:var(--studio-orange-bright);background:linear-gradient(#a996ff,#7357ff)}.studio-page .studio-user-button{min-width:101px;color:var(--studio-orange-bright);font-variant-numeric:tabular-nums;background:#090a0f4d;border:1px solid #7357ff99;padding:0 14px}.studio-page .studio-user-button:hover{border-color:var(--studio-orange-bright);color:#f5f6fa;background:#7357ff14}.studio-page .studio-ghost{color:#f5f6fa;background:linear-gradient(#a996ff,#7357ff);border:1px solid #7357ff59;border-radius:5px;min-width:86px;height:38px;padding:0 18px;box-shadow:inset 0 1px #ffffff40,0 5px 16px #00000038}.studio-page .studio-ghost svg{display:none}.studio-page .studio-ghost:hover:not(:disabled){border-color:var(--studio-orange-bright);color:#f5f6fa;background:linear-gradient(#a996ff,#7357ff);transform:translateY(-1px)}.studio-page .studio-primary{color:#161925;background:linear-gradient(#a996ff,#7357ff);border:1px solid #7357ffb3;border-radius:5px;min-width:86px;height:38px;padding:0 18px;display:inline-flex;box-shadow:inset 0 1px #ffffff6b,0 5px 16px #00000038}.studio-page .studio-primary:hover:not(:disabled){border-color:var(--studio-orange-bright);color:#0e1017;background:linear-gradient(#a996ff,#7357ff);transform:translateY(-1px)}.studio-page .studio-primary:active:not(:disabled){transform:translateY(0)scale(.98)}.studio-page .studio-workspace{background:#000;min-height:0}.studio-page .canvas-shell,.studio-page .flow-shell,.studio-page .flow-shell .react-flow{background:#000}.studio-page .flow-shell .react-flow__background{opacity:.25}.studio-page .flow-shell .react-flow__background-pattern path{stroke:#7357ff2e}.studio-page .flow-shell .react-flow__pane{cursor:default}.studio-page .floating-rail{z-index:120;background:0 0;border:0;align-items:center;gap:15px;padding:0;display:flex;top:34%;left:74px}.studio-page .floating-rail-node-tools{border:1px solid var(--studio-orange);background:#0e101752;border-radius:24px;flex-direction:column;gap:0;padding:4px 0;display:flex;box-shadow:0 10px 28px #0000002e,inset 0 0 0 1px #ffffff05}.studio-page .floating-rail-node-button{width:40px;height:40px;color:var(--studio-orange-bright);cursor:pointer;background:0 0;border:0;border-radius:50%;place-items:center;transition:color .18s,background .18s,transform .18s;display:grid}.studio-page .floating-rail-node-button:hover,.studio-page .floating-rail-node-button:focus-visible,.studio-page .floating-rail-node-button.active{color:#f5f6fa;background:#7357ff24;outline:none}.studio-page .floating-rail-node-button:active{transform:scale(.94)}.studio-page .floating-rail-sparkle{color:#f5f6fa;cursor:pointer;background:linear-gradient(145deg,#a996ff,#7357ff);border:1px solid #7357ffbf;border-radius:13px;place-items:center;width:44px;height:44px;padding:0;transition:transform .18s,filter .18s;display:grid;box-shadow:0 8px 22px #00000038,inset 0 1px #ffffff7a}.studio-page .floating-rail-sparkle:hover,.studio-page .floating-rail-sparkle:focus-visible,.studio-page .floating-rail-sparkle.active{filter:brightness(1.08);outline-offset:3px;outline:2px solid #7357ff5c}.studio-page .floating-rail-sparkle:active{transform:scale(.94)}.studio-page .floating-rail-secondary{flex-direction:column;align-items:center;gap:10px;display:flex}.studio-page .floating-rail-history{width:44px;height:44px;color:var(--studio-orange-bright);cursor:pointer;background:#0e1017b8;border:1px solid #7357ff94;border-radius:13px;place-items:center;padding:0;transition:color .18s,background .18s,border-color .18s,transform .18s;display:grid;box-shadow:0 8px 22px #0003,inset 0 1px #ffffff14}.studio-page .floating-rail-history:hover,.studio-page .floating-rail-history:focus-visible,.studio-page .floating-rail-history.active{border-color:var(--studio-orange-bright);color:#f5f6fa;outline-offset:3px;background:linear-gradient(145deg,#7357ffb8,#7357ffb8);outline:2px solid #7357ff47}.studio-page .floating-rail-history:active{transform:scale(.94)}.studio-page .floating-rail-legacy-add{display:none}.studio-page .floating-rail-legacy-tools{opacity:.52;flex-direction:column;gap:8px;display:flex;position:absolute;left:calc(100% + 15px)}.studio-page .floating-rail-legacy-tools>button:first-child{display:none}.studio-page .floating-rail-legacy-tools>button{width:28px;height:28px;color:var(--studio-orange);background:#090a0f57;border:1px solid #7357ff52;border-radius:50%;place-items:center;padding:0;display:grid}.studio-page .floating-rail-legacy-tools>button:hover,.studio-page .floating-rail-legacy-tools>button.active{opacity:1;color:#f5f6fa;border-color:var(--studio-orange);background:#7357ff1f}.studio-page .floating-rail-legacy-tools .support-avatar{width:22px;height:22px;box-shadow:none;color:#f5f6fa;background:0 0;border:0;font-size:8px}.studio-page .empty-hint{box-shadow:none;-webkit-backdrop-filter:none;backdrop-filter:none;background:0 0;border:0;border-radius:0;margin:0;padding:0;transform:translate(-50%,-50%);top:50%!important;left:50%!important}.studio-page .empty-hint-cta{border:1px solid var(--studio-orange);color:#f5f6fa;letter-spacing:.08em;cursor:pointer;background:#1619251a;border-radius:36px;justify-content:center;align-items:center;gap:14px;min-width:306px;height:70px;padding:0 30px;font-size:30px;font-weight:500;transition:color .18s,background .18s,border-color .18s,transform .18s;display:inline-flex;box-shadow:inset 0 0 0 1px #ffffff06,0 12px 34px #0000001f}.studio-page .empty-hint-cta svg{color:var(--studio-orange-bright)}.studio-page .empty-hint-cta:hover,.studio-page .empty-hint-cta:focus-visible{border-color:var(--studio-orange-bright);color:#f5f6fa;background:#7357ff1a;outline:none;transform:translateY(-2px)}.studio-page .empty-hint-cta:active{transform:translateY(0)scale(.98)}.studio-page .flow-shell .react-flow__controls{background:#0e1017c2;border-color:#7357ff59;border-radius:10px;box-shadow:0 8px 22px #00000038}.studio-page .flow-shell .react-flow__controls button{color:var(--studio-orange-bright);background:0 0;border-bottom-color:#7357ff26}.studio-page .flow-shell .react-flow__controls button:hover{color:#f5f6fa;background:#7357ff1f}.studio-page :is(button,input):focus-visible{outline-offset:2px;outline:2px solid #7357ffd6}@media (width<=760px){.studio-page .studio-topbar{flex-flow:wrap;align-items:center;height:auto;min-height:70px;padding:12px 14px}.studio-page .studio-left{flex:auto}.studio-page .studio-left p{text-overflow:ellipsis;white-space:nowrap;max-width:42vw;overflow:hidden}.studio-page .studio-actions{flex-wrap:wrap;justify-content:flex-end;width:100%}.studio-page .studio-actions .user-wallet-group{flex:auto;width:auto}.studio-page .studio-ghost{min-width:72px;padding:0 14px}.studio-page .floating-rail{gap:10px;top:auto;bottom:22px;left:14px}.studio-page .workflow-name-shell{width:min(300px,100% - 28px);top:12px;transform:translate(-50%)}.studio-page .floating-rail-node-button{width:38px;height:38px}.studio-page .floating-rail-sparkle,.studio-page .floating-rail-history{width:42px;height:42px}.studio-page .floating-rail-legacy-tools{left:calc(100% + 10px)}.studio-page .empty-hint-cta{min-width:min(290px,100vw - 42px);height:60px;font-size:24px}}@media (prefers-reduced-motion:reduce){.studio-page .floating-rail-node-button,.studio-page .floating-rail-sparkle,.studio-page .floating-rail-history,.studio-page .empty-hint-cta,.studio-page .studio-ghost,.studio-page .studio-primary{transition:none}}.script-lab-page{--script-orange:#7357ff;--script-orange-bright:#846dff;--script-orange-deep:#5e46d7;--script-ink:#090a0f;--script-surface:#090a0fe6;--script-surface-soft:#0e1017d1;--script-surface-raised:#0e1017f0;--script-border:#7357ff33;--script-border-strong:#7357ff75;--script-text:#f5f6fa;--script-muted:#f5f6fa9e;--script-muted-strong:#f5f6facc;color:var(--script-text);background:radial-gradient(circle at 72% -10%, #7357ff1a, transparent 34%), radial-gradient(circle at 8% 100%, #7357ff14, transparent 30%), var(--script-ink)}.script-lab-page :is(button,input,textarea,select){font-family:inherit}.script-lab-page button{-webkit-tap-highlight-color:transparent}.script-lab-page :is(button,input,textarea,select):focus-visible{outline-offset:2px;outline:2px solid #7357ffdb}.script-lab-page .script-subject-model-picker,.script-lab-page .script-subject-model-picker select[aria-label=主体图模型],.script-lab-page .script-subject-model-picker select[aria-label=主体图模型]:focus,.script-lab-page .script-subject-model-picker select[aria-label=主体图模型]:focus-visible{outline-offset:0;box-shadow:none;border:0;outline:0}.script-lab-page .script-lab-topbar{background:linear-gradient(180deg, #0e1017f5, #090a0ff5), var(--script-ink);border-bottom-color:#7357ff2e;height:58px;box-shadow:0 12px 34px #0003}.script-lab-page .script-lab-titlebar,.script-lab-page .script-lab-top-actions{gap:10px}.script-lab-page .script-lab-back,.script-lab-page .script-lab-top-actions button,.script-lab-page .script-lab-project-name button{border-color:var(--script-border);color:var(--script-muted-strong);background:#7357ff0b;transition:color .18s,border-color .18s,background .18s,transform .18s}.script-lab-page .script-lab-back:hover,.script-lab-page .script-lab-top-actions button:hover,.script-lab-page .script-lab-project-name button:hover{border-color:var(--script-border-strong);color:var(--script-orange-bright);background:#7357ff1c;transform:translateY(-1px)}.script-lab-page .script-lab-project-name strong{color:var(--script-text);letter-spacing:.02em;font-size:15px}.script-lab-page .script-lab-project-name input,.script-lab-page .script-lab-current-chapter input{border-color:var(--script-border-strong);color:var(--script-text);background:#090a0fc7;box-shadow:0 0 0 3px #7357ff14}.script-lab-page .script-lab-project-name button,.script-lab-page .script-lab-current-chapter button{color:var(--script-orange)}.script-lab-page .script-lab-top-actions>span{color:var(--script-muted)}.script-lab-page .script-lab-top-actions .script-lab-agent-button{color:#0e1017;background:linear-gradient(135deg, var(--script-orange-bright), var(--script-orange));border-color:#7357ff8f;box-shadow:0 9px 24px #7357ff24}.script-lab-page .script-lab-top-actions .script-lab-agent-button:hover{border-color:var(--script-orange-bright);color:#090a0f;background:linear-gradient(135deg, #846dff, var(--script-orange-bright));box-shadow:0 12px 28px #7357ff38}.script-lab-page .script-lab-top-actions .script-lab-balance-chip{color:var(--script-orange-bright);background:#7357ff14;border-color:#7357ff4d}.script-lab-page .script-lab-top-actions .script-lab-balance-chip:hover:not(:disabled){border-color:var(--script-border-strong);color:#f5f6fa;background:#7357ff24}.script-lab-page .script-lab-tabs{border-left:0;border-right:0;border-radius:0;gap:6px;height:100%}.script-lab-page .script-lab-tabs button{height:100%;color:var(--script-muted);background:0 0;border:0;padding:0 18px;font-size:13px;font-weight:800;transition:color .18s,background .18s;position:relative}.script-lab-page .script-lab-tabs button:hover{color:var(--script-text);background:#7357ff0f}.script-lab-page .script-lab-tabs button.active{color:var(--script-orange-bright);background:#7357ff14}.script-lab-page .script-lab-tabs button.active:after{background:linear-gradient(90deg, transparent, var(--script-orange-bright), transparent);border-radius:999px;height:2px;bottom:0;left:14px;right:14px;box-shadow:0 0 14px #7357ff61}.script-lab-page .script-lab-agent-shell{inset:58px 0 0}.script-lab-page .script-lab-body{--script-lab-sidebar-width:218px;grid-template-columns:var(--script-lab-sidebar-width) minmax(0, 1fr);background:0 0;height:calc(100% - 58px)}.script-lab-page .script-lab-sidebar{background:linear-gradient(180deg, #090a0ff0, #090a0ffa), var(--script-ink);border-right-color:#7357ff24;width:100%}.script-lab-page .script-lab-chapters{gap:8px;padding:18px 12px}.script-lab-page .script-lab-chapters button{min-height:44px;color:var(--script-muted);background:0 0;border:1px solid #0000;border-radius:10px;transition:color .18s,border-color .18s,background .18s,transform .18s}.script-lab-page .script-lab-chapters button:hover{color:var(--script-text);border-color:var(--script-border);background:#7357ff12;transform:translate(2px)}.script-lab-page .script-lab-chapters button.active{color:var(--script-orange-bright);background:linear-gradient(90deg,#7357ff29,#7357ff0b),#0e1017e6;border-color:#7357ff4d;box-shadow:inset 0 0 0 1px #7357ff0d}.script-lab-page .script-lab-sidebar-footer{background:#090a0f52;border-top-color:#7357ff21}.script-lab-page .script-lab-add-chapter{min-height:40px;color:var(--script-orange);background:#7357ff0e;border:1px dashed #7357ff6b;border-radius:10px;transition:border-color .18s,color .18s,background .18s,transform .18s}.script-lab-page .script-lab-add-chapter:hover{border-color:var(--script-orange-bright);color:#f5f6fa;background:#7357ff1f;transform:translateY(-1px)}.script-lab-page .script-lab-content{background:radial-gradient(circle at 50% 0,#7357ff0e,#0000 30%),#090a0fb8;min-width:0}.script-lab-page .script-lab-editor-layout{gap:18px;padding:18px}.script-lab-page .script-lab-editor,.script-lab-page .script-lab-console,.script-lab-page .script-subject-main,.script-lab-page .script-subject-detail,.script-lab-page .script-storyboard-preview-shell,.script-lab-page .script-storyboard-timeline{border-color:var(--script-border);background:linear-gradient(180deg, #0e1017e8, #090a0ff0), var(--script-surface);box-shadow:0 18px 54px #0003,inset 0 1px #ffffff06}.script-lab-page .script-lab-editor-head,.script-lab-page .script-lab-console-tabs,.script-lab-page .script-subject-toolbar,.script-lab-page .script-storyboard-head,.script-lab-page .script-storyboard-timeline-head,.script-lab-page .script-shot-head{border-color:#7357ff29}.script-lab-page .script-lab-current-chapter strong,.script-lab-page .script-lab-setting-block h3,.script-lab-page .script-subject-detail-body h3,.script-lab-page .script-subject-detail-body h4,.script-lab-page .script-storyboard-head h2,.script-lab-page .script-shot-head h2{color:var(--script-text)}.script-lab-page .script-lab-word-count b,.script-lab-page .script-lab-word-count span,.script-lab-page .script-lab-word-count.over-limit span{color:var(--script-orange-bright)}.script-lab-page .script-lab-word-count em,.script-lab-page .script-lab-setting-tip,.script-lab-page .script-storyboard-head p,.script-lab-page .script-shot-head p{color:var(--script-muted)}.script-lab-page .script-lab-analyze-button,.script-lab-page .script-subject-generate-button,.script-lab-page .script-storyboard-actions button.primary,.script-lab-page .script-storyboard-empty button.primary,.script-lab-page .script-shot-actions button.primary,.script-lab-page .script-shot-actions .script-shot-import-canvas-button,.script-lab-page .script-import-canvas-actions button.primary,.script-lab-page .script-subject-delete-actions button.primary{color:#0e1017;background:linear-gradient(135deg, var(--script-orange-bright), var(--script-orange));border-color:#7357ffd1;box-shadow:0 10px 25px #7357ff24}.script-lab-page .script-lab-analyze-button:hover:not(:disabled),.script-lab-page .script-subject-generate-button:hover:not(:disabled),.script-lab-page .script-storyboard-actions button.primary:hover,.script-lab-page .script-storyboard-empty button.primary:hover,.script-lab-page .script-shot-actions button.primary:hover,.script-lab-page .script-shot-actions .script-shot-import-canvas-button:hover,.script-lab-page .script-import-canvas-actions button.primary:hover,.script-lab-page .script-subject-delete-actions button.primary:hover:not(:disabled){color:#090a0f;background:linear-gradient(135deg, #846dff, var(--script-orange-bright));border-color:#846dff;box-shadow:0 13px 30px #7357ff3d}.script-lab-page .script-lab-analyze-button:disabled,.script-lab-page .script-subject-generate-button:disabled{color:#f5f6fa61;box-shadow:none;background:#7357ff14;border-color:#7357ff2e}.script-lab-page .script-lab-editor-main,.script-lab-page .script-lab-console-scroll,.script-lab-page .script-subject-detail-body{scrollbar-color:#7357ff5c transparent}.script-lab-page .script-lab-textarea,.script-lab-page .script-lab-director-textarea,.script-lab-page .script-subject-field input,.script-lab-page .script-subject-field textarea,.script-lab-page .script-subject-prompt-box,.script-lab-page .script-shot-scene-head input,.script-lab-page .script-shot-row textarea,.script-lab-page .script-shot-meta-grid input,.script-lab-page .script-shot-meta-grid select,.script-lab-page .script-shot-meta-grid textarea{color:var(--script-text);background:#090a0fb8;border-color:#7357ff21}.script-lab-page .script-lab-textarea:focus,.script-lab-page .script-lab-director-textarea:focus,.script-lab-page .script-subject-field input:focus,.script-lab-page .script-subject-field textarea:focus,.script-lab-page .script-subject-prompt-box:focus,.script-lab-page .script-shot-scene-head input:focus,.script-lab-page .script-shot-row textarea:focus,.script-lab-page .script-shot-meta-grid :is(input,select,textarea):focus{border-color:#7357ff94;box-shadow:0 0 0 3px #7357ff17}.script-lab-page .script-lab-textarea::placeholder,.script-lab-page .script-lab-director-textarea::placeholder,.script-lab-page .script-subject-field :is(input,textarea)::placeholder,.script-lab-page .script-subject-prompt-box::placeholder{color:#f5f6fa52}.script-lab-page .script-lab-console-tabs button,.script-lab-page .script-lab-style-switch button,.script-lab-page .script-subject-tabs button,.script-lab-page .script-subject-detail-tabs button{color:var(--script-muted);background:0 0}.script-lab-page .script-lab-console-tabs button:hover,.script-lab-page .script-lab-console-tabs button.active,.script-lab-page .script-lab-style-switch button:hover,.script-lab-page .script-lab-style-switch button.active,.script-lab-page .script-subject-tabs button:hover,.script-lab-page .script-subject-tabs button.active,.script-lab-page .script-subject-detail-tabs button.active{color:var(--script-orange-bright);background:0 0}.script-lab-page .script-lab-console-tabs button.active:after,.script-lab-page .script-subject-tabs button.active:after,.script-lab-page .script-subject-detail-tabs button.active:after{background:var(--script-orange-bright);box-shadow:0 0 12px #7357ff66}.script-lab-page .script-lab-style-switch{border-color:var(--script-border);background:#090a0f8a}.script-lab-page .script-lab-style-grid button{background:#090a0fad;border-color:#7357ff24}.script-lab-page .script-lab-style-grid button:hover,.script-lab-page .script-lab-style-grid button.active{border-color:var(--script-border-strong);background:#7357ff1a;box-shadow:inset 0 0 0 1px #7357ff1f}.script-lab-page .script-lab-style-grid button.active span,.script-lab-page .script-lab-style-grid button svg{color:var(--script-orange-bright)}.script-lab-page .script-lab-analysis-panel,.script-lab-page .script-lab-automation-status{background:#7357ff0f;border-color:#7357ff38}.script-lab-page .script-lab-analysis-panel-head strong,.script-lab-page .script-lab-automation-status-head strong{color:var(--script-orange-bright)}.script-lab-page .script-lab-analysis-panel-head span,.script-lab-page .script-lab-automation-status-head span,.script-lab-page .script-lab-automation-status p{color:var(--script-muted)}.script-lab-page .script-lab-automation-steps .current,.script-lab-page .script-lab-automation-steps .completed{color:var(--script-orange-bright)}.script-lab-page .script-lab-automation-steps .current:before,.script-lab-page .script-lab-automation-steps .completed:before{background:var(--script-orange)}.script-lab-page .script-subject-workbench{background:radial-gradient(circle at 36% 0,#7357ff0f,#0000 28%),0 0;gap:18px;padding:18px}.script-lab-page .script-subject-toolbar{padding-bottom:14px}.script-lab-page .script-subject-tabs button span{color:var(--script-orange);background:0 0}.script-lab-page .script-subject-main,.script-lab-page .script-subject-detail{border:1px solid var(--script-border);border-radius:16px}.script-lab-page .script-subject-grid>article,.script-lab-page .script-subject-scene-grid>article,.script-lab-page .script-subject-list-grid article,.script-lab-page .script-subject-create-card,.script-lab-page .script-subject-new-card{background:#090a0fbd;border-color:#7357ff26;box-shadow:0 12px 28px #00000029}.script-lab-page .script-subject-grid>article:hover,.script-lab-page .script-subject-grid>article.active,.script-lab-page .script-subject-scene-grid>article:hover,.script-lab-page .script-subject-scene-grid>article.active,.script-lab-page .script-subject-list-grid article:hover,.script-lab-page .script-subject-list-grid article.active,.script-lab-page .script-subject-create-card:hover{border-color:var(--script-border-strong);background:#0e1017db;box-shadow:inset 0 0 0 1px #7357ff1a,0 16px 32px #00000038}.script-lab-page .script-subject-card-head strong,.script-lab-page .script-subject-scene-card-head strong,.script-lab-page .script-subject-list-grid strong{color:var(--script-text)}.script-lab-page .script-subject-card-head svg,.script-lab-page .script-subject-create-inner span,.script-lab-page .script-subject-list-grid em,.script-lab-page .script-subject-detail-tabs button.active{color:var(--script-orange-bright)}.script-lab-page .script-subject-scene-upload,.script-lab-page .script-subject-reference-upload,.script-lab-page .script-subject-add-image{color:var(--script-orange);background:#7357ff12;border-color:#7357ff4d}.script-lab-page .script-subject-scene-upload:hover,.script-lab-page .script-subject-reference-upload:hover,.script-lab-page .script-subject-add-image:hover{border-color:var(--script-orange-bright);color:#f5f6fa;background:#7357ff21}.script-lab-page .script-subject-batch-image-button,.script-lab-page .script-subject-smart-shot-button,.script-lab-page .script-subject-model-button,.script-lab-page .script-subject-generate-scene-button{box-shadow:0 10px 25px #7357ff24;color:#0e1017!important;background:linear-gradient(135deg, var(--script-orange-bright), var(--script-orange))!important;border-color:#7357ffd1!important}.script-lab-page .script-subject-batch-image-button:hover:not(:disabled),.script-lab-page .script-subject-smart-shot-button:hover:not(:disabled),.script-lab-page .script-subject-model-button:hover,.script-lab-page .script-subject-generate-scene-button:hover{border-color:var(--script-orange-bright);box-shadow:0 13px 30px #7357ff3d;color:#090a0f!important;background:linear-gradient(135deg, #846dff, var(--script-orange-bright))!important}.script-lab-page .script-subject-batch-image-button:disabled,.script-lab-page .script-subject-smart-shot-button:disabled,.script-lab-page .script-subject-model-button:disabled,.script-lab-page .script-subject-generate-scene-button:disabled{box-shadow:none;color:#0e101785!important;background:#7357ff47!important;border-color:#7357ff38!important}.script-lab-page .script-subject-shot-error,.script-lab-page .script-subject-upload-error,.script-lab-page .script-subject-scene-error{color:#f5f6fa}.script-lab-page :is(.script-subject-empty,.script-shot-empty,.script-storyboard-empty){background:radial-gradient(circle at 50% 38%,#7357ff14,#0000 34%),linear-gradient(#090a0fb8,#090a0ffa);min-height:100%;padding:clamp(28px,5vw,64px)}.script-lab-page :is(.script-subject-empty,.script-shot-empty,.script-storyboard-empty)>div{text-align:center;background:linear-gradient(145deg,#0e1017b8,#090a0f85),#090a0f9e;border:1px solid #7357ff38;border-radius:22px;align-content:center;justify-items:center;gap:16px;width:min(560px,100%);min-height:286px;padding:clamp(34px,5vw,58px) clamp(24px,6vw,72px);display:grid;box-shadow:0 24px 80px #00000047,inset 0 1px #ffffff09}.script-lab-page :is(.script-subject-empty,.script-shot-empty,.script-storyboard-empty) svg{width:52px;height:52px;color:var(--script-orange-bright);filter:drop-shadow(0 0 16px #7357ff33)}.script-lab-page :is(.script-subject-empty,.script-shot-empty,.script-storyboard-empty) h2{color:var(--script-text);letter-spacing:.02em;margin:0;font-size:clamp(21px,2vw,26px);font-weight:800}.script-lab-page :is(.script-subject-empty,.script-shot-empty,.script-storyboard-empty) p{max-width:430px;color:var(--script-muted-strong);margin:0;font-size:14px;line-height:1.8}.script-lab-page .script-storyboard-empty>div>div{flex-wrap:wrap;justify-content:center;gap:12px;margin-top:4px;display:flex}.script-lab-page :is(.script-subject-empty,.script-shot-empty,.script-storyboard-empty) button{border:1px solid var(--script-border-strong);min-width:132px;min-height:42px;color:var(--script-orange-bright);background:#7357ff0e;border-radius:999px;padding:0 18px;font-weight:800;transition:color .18s,border-color .18s,background .18s,transform .18s}.script-lab-page :is(.script-subject-empty,.script-shot-empty,.script-storyboard-empty) button:hover,.script-lab-page :is(.script-subject-empty,.script-shot-empty,.script-storyboard-empty) button:focus-visible{border-color:var(--script-orange-bright);color:#f5f6fa;background:#7357ff24;transform:translateY(-1px)}.script-lab-page :is(.script-subject-empty,.script-shot-empty,.script-storyboard-empty) button.primary{color:#0e1017;background:linear-gradient(135deg, var(--script-orange-bright), var(--script-orange))}.script-lab-page .script-storyboard-page,.script-lab-page .script-shot-page,.script-lab-page .script-film-page{color:var(--script-text);background:radial-gradient(circle at 50% 0%, #7357ff0e, transparent 28%), var(--script-ink)}.script-lab-page .script-storyboard-actions button,.script-lab-page .script-shot-actions button,.script-lab-page .script-shot-actions label{border-color:var(--script-border);color:var(--script-muted-strong);background:#7357ff0b}.script-lab-page .script-storyboard-actions button:hover,.script-lab-page .script-shot-actions button:hover,.script-lab-page .script-shot-actions label:hover{border-color:var(--script-border-strong);color:var(--script-orange-bright);background:#7357ff1c}.script-lab-page .script-storyboard-summary article,.script-lab-page .script-storyboard-card,.script-lab-page .script-shot-row,.script-lab-page .script-film-shot{background:#090a0fc2;border-color:#7357ff24}.script-lab-page .script-storyboard-summary article:hover,.script-lab-page .script-storyboard-card:hover,.script-lab-page .script-shot-row:hover,.script-lab-page .script-film-shot:hover{border-color:#7357ff4d}.script-lab-page :is(.script-storyboard-summary strong,.script-storyboard-scene-head h3,.script-shot-scene-head strong){color:var(--script-orange-bright)}.script-lab-page .script-shot-scene-head strong:before{background:var(--script-orange)}.script-lab-page .script-storyboard-badges span,.script-lab-page .script-storyboard-shot-no,.script-lab-page .script-storyboard-duration{color:var(--script-orange);background:#7357ff14;border-color:#7357ff2e}.script-lab-page .script-storyboard-generate-overlay,.script-lab-page .script-analyze-progress-overlay{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#090a0fc7}.script-lab-page .script-storyboard-generate-overlay:before{background-image:radial-gradient(circle,#7357ff14,#0000 26%),linear-gradient(45deg,#ffffff09 25%,#0000 25%),linear-gradient(-45deg,#ffffff09 25%,#0000 25%),linear-gradient(45deg,#0000 75%,#ffffff09 75%),linear-gradient(-45deg,#0000 75%,#ffffff09 75%)}.script-lab-page .script-storyboard-generate-center svg,.script-lab-page .script-analyze-progress-icon{color:var(--script-orange-bright)}.script-lab-page .script-analyze-progress-card{background:linear-gradient(#0e1017 0%,#090a0f 100%);border-color:#7357ff75;box-shadow:0 24px 68px #00000094}.script-lab-page .script-analyze-progress-icon{color:#a996ff;box-shadow:none;background:#7357ff14;border-color:#7357ff8f}.script-lab-page .script-analyze-progress-card h2,.script-lab-page .script-storyboard-generate-center h2{color:#a996ff;text-shadow:none}.script-lab-page .script-analyze-progress-card p,.script-lab-page .script-storyboard-generate-center p,.script-lab-page .script-analyze-progress-meta,.script-lab-page .script-storyboard-generate-center span{color:#9ca3b8}.script-lab-page .script-analyze-progress-meta b,.script-lab-page .script-analyze-progress-meta strong,.script-lab-page .script-storyboard-generate-center em{color:#a996ff}.script-lab-page .script-storyboard-generate-progress,.script-lab-page .script-analyze-progress-bar-wrap{background:#7357ff0d;border-color:#7357ff3d}.script-lab-page .script-analyze-progress-bar{background:#7357ff14;border:1px solid #7357ff57}.script-lab-page :is(.script-storyboard-generate-progress i,.script-analyze-progress-bar span){box-shadow:none;background:linear-gradient(90deg,#7357ff,#a996ff)}.script-lab-page :is(.script-history-overlay,.script-import-canvas-overlay,.script-subject-preview-overlay,.script-subject-delete-overlay,.script-storyboard-balance-overlay){-webkit-backdrop-filter:blur(9px);backdrop-filter:blur(9px);background:#090a0fb3}.script-lab-page :is(.script-history-panel,.script-import-canvas-dialog,.script-subject-preview-panel,.script-subject-delete-dialog,.script-subject-batch-dialog,.script-storyboard-balance-dialog){background:linear-gradient(145deg, #0e1017fa, #090a0ffc), var(--script-surface);border-color:#7357ff42;box-shadow:0 30px 100px #00000085}.script-lab-page :is(.script-history-head,.script-import-canvas-dialog h3,.script-subject-delete-dialog h3,.script-subject-batch-dialog h3){color:var(--script-text)}.script-lab-page .script-history-head span,.script-lab-page .script-history-empty svg,.script-lab-page .script-history-record-actions button,.script-lab-page .script-import-canvas-icon,.script-lab-page .script-subject-delete-icon,.script-lab-page .script-subject-batch-icon{color:var(--script-orange-bright)}.script-lab-page .script-history-list article{background:#090a0fb8;border-color:#7357ff24}.script-lab-page .script-history-list article.active{border-color:var(--script-border-strong);box-shadow:inset 0 0 0 1px #7357ff1a}.script-lab-page .script-history-record-actions button{background:#7357ff14;border-color:#7357ff57}.script-lab-page .script-history-record-actions button:hover{border-color:var(--script-orange-bright);color:#f5f6fa;background:#7357ff24}.script-lab-page .script-history-record-actions button.danger,.script-lab-page .script-subject-delete-actions button.danger{color:#ff5d73;background:#7f1d1d38;border-color:#f871716b}@media (width<=900px){.script-lab-page .script-lab-topbar{height:auto;min-height:58px}.script-lab-page .script-lab-tabs{order:3;grid-column:1/-1;height:44px;overflow-x:auto}.script-lab-page .script-lab-body{--script-lab-sidebar-width:178px;grid-template-columns:var(--script-lab-sidebar-width) minmax(0, 1fr);height:calc(100% - 102px)}.script-lab-page .script-lab-sidebar{width:100%}.script-lab-page .script-subject-workbench{grid-template-columns:minmax(0,1fr)}.script-lab-page .script-subject-detail{max-height:52vh}}@media (width<=640px){.script-lab-page .script-lab-titlebar{padding-left:10px}.script-lab-page .script-lab-new-project{height:28px;padding:0 8px;font-size:12px}.script-lab-page .script-lab-top-actions{padding-right:10px}.script-lab-page .script-lab-top-actions>span,.script-lab-page .script-lab-top-actions .script-lab-balance-chip{display:none}.script-lab-page .script-lab-sidebar{width:100%}.script-lab-page .script-lab-body{--script-lab-sidebar-width:136px;grid-template-columns:var(--script-lab-sidebar-width) minmax(0, 1fr)}.script-lab-page .script-lab-chapters{padding:12px 8px}.script-lab-page .script-lab-editor-layout,.script-lab-page .script-subject-workbench{padding:10px}.script-lab-page :is(.script-subject-empty,.script-shot-empty,.script-storyboard-empty){padding:20px 14px}.script-lab-page :is(.script-subject-empty,.script-shot-empty,.script-storyboard-empty)>div{min-height:250px;padding:30px 20px}.script-lab-page .script-storyboard-empty>div>div{flex-direction:column;width:100%}.script-lab-page .script-storyboard-empty>div>div button{width:100%}}@media (prefers-reduced-motion:reduce){.script-lab-page :is(button,article,label,input,textarea,select){transition:none!important}}.script-lab-page .script-lab-content-film{background:0 0}.script-lab-page .script-film-page{min-height:100%;color:var(--script-text);background:0 0;place-items:center;padding:clamp(24px,4vw,48px);display:grid;overflow:auto}.script-lab-page .script-film-center-video{box-shadow:none;background:0 0;border:0;border-radius:0;padding:0}.script-lab-page .script-film-center-video video{box-shadow:none;background:0 0;border-radius:0}.script-lab-page .script-film-preview-empty{width:min(100%,300px);color:var(--script-muted);text-align:center;gap:16px;padding:28px 22px}.script-lab-page .script-film-preview-empty svg{color:var(--script-orange-bright);filter:drop-shadow(0 0 18px #7357ff4d)}.script-lab-page .script-film-preview-empty strong{color:var(--script-text);font-size:18px;font-weight:800;line-height:1.5}.script-lab-page .script-film-preview-empty>span{max-width:250px;color:var(--script-muted);font-size:13px;line-height:1.7}.script-lab-page .script-film-preview-empty-loading{width:min(100%,340px)}.script-lab-page .script-film-preview-empty-loading .lucide-refresh-cw{animation:1.1s linear infinite script-storyboard-spin}.script-lab-page .script-film-preview-empty-idle .script-film-empty-icon{background:radial-gradient(circle,#7357ff2b,#7357ff0a 68%),#090a0fb3;border:1px solid #7357ff61;border-radius:24px;place-items:center;width:82px;height:82px;display:grid;box-shadow:0 0 0 8px #7357ff09,0 0 30px #7357ff1f}.script-lab-page .script-film-empty-copy{justify-items:center;gap:6px;display:grid}.script-lab-page .script-film-empty-status{min-height:28px;color:var(--script-orange);background:#7357ff12;border:1px solid #7357ff38;border-radius:999px;align-items:center;gap:8px;padding:0 12px;font-size:12px;font-weight:800;display:inline-flex}.script-lab-page .script-film-empty-status i{background:var(--script-orange-bright);border-radius:50%;width:6px;height:6px;box-shadow:0 0 10px #7357ff99}.script-lab-page .script-film-preview-empty-error svg{color:#ff5d73}.script-lab-page .script-film-preview-empty-error span{color:#f5f6fa;overflow-wrap:anywhere;max-width:310px}@media (width<=640px){.script-lab-page .script-film-page{padding:20px 14px 32px}.script-lab-page .script-film-center-video{width:min(100%, calc((100dvh - 176px) * var(--media-preview-ratio-width,9) / var(--media-preview-ratio-height,16)));border-radius:18px;padding:6px 6px 14px}.script-lab-page .script-film-preview-empty{width:min(100%,260px);padding:24px 16px}.script-lab-page .script-film-preview-empty-idle .script-film-empty-icon{border-radius:20px;width:70px;height:70px}}@media (prefers-reduced-motion:reduce){.script-lab-page .script-film-preview-empty-loading .lucide-refresh-cw{animation:none}}.script-lab-page :is(.script-subject-empty,.script-shot-empty,.script-storyboard-empty){background:0 0}.script-lab-page :is(.script-subject-empty,.script-shot-empty,.script-storyboard-empty)>div{box-shadow:none;background:0 0;border:0;border-radius:0}.studio-page .node-popover{z-index:130;top:20px;left:196px}@media (width<=760px){.studio-page .node-popover{width:auto;max-height:min(430px,100% - 180px);inset:auto 14px 132px}}.canvas-director-overlay{z-index:2000;background:#05070fd1;position:fixed;inset:0}.canvas-director-frame{border:0;width:100%;height:100%;display:block}.director-node-card{color:#f5f6fa;background:linear-gradient(#161925fa,#090a0ffa);border:1px solid #7357ff5c;border-radius:18px;width:100%;height:100%;overflow:hidden;box-shadow:0 18px 40px #0000003d}.director-node-card.selected{box-shadow:0 0 0 2px #7357ff75,0 18px 40px #0000003d}.director-node-card .text-node-header{color:inherit;gap:8px}.director-node-content{text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:14px;height:calc(100% - 40px);padding:20px;display:flex}.director-node-content p{color:#f5f6fac7;margin:0;line-height:1.5}.director-node-content button{color:#f5f6fa;font:inherit;cursor:pointer;background:#7357ff29;border:1px solid #7357ff80;border-radius:999px;padding:10px 18px}.director-node-content button:hover{background:#7357ff3d}.creator-center-page{color:#f5f6fa;background:radial-gradient(circle at 82% 4%,#7357ff29,#0000 27%),radial-gradient(circle at 10% 34%,#7cb5cf0f,#0000 24%),linear-gradient(#090a0f 0% 52%,#090a0f 100%);min-height:100vh;padding:34px clamp(18px,4vw,72px) 72px}.creator-center-header{grid-template-columns:1fr auto 1fr;align-items:center;gap:18px;max-width:1380px;margin:0 auto 28px;display:grid}.creator-center-header>div{text-align:center}.creator-eyebrow,.creator-card-label{color:#7357ff;letter-spacing:.16em;text-transform:uppercase;font-size:11px;font-weight:800;display:block}.creator-center-header h1,.creator-panel h2,.creator-hero-card h2,.creator-empty h1{color:#f5f6fa;letter-spacing:-.02em;margin:6px 0 0}.creator-center-header h1{font-size:clamp(24px,3vw,38px)}.creator-center-banner{background:#090a0f;border:1px solid #7357ff38;border-radius:18px;max-width:1380px;margin:-8px auto 24px;overflow:hidden;box-shadow:0 18px 70px #0000004d}.creator-center-banner img{aspect-ratio:2048/292;object-fit:cover;width:100%;display:block}.creator-back-button,.creator-refresh-button,.creator-secondary-button,.creator-primary-button,.creator-small-button{min-height:42px;font:inherit;cursor:pointer;border-radius:10px;justify-content:center;align-items:center;gap:8px;padding:0 14px;transition:all .16s;display:inline-flex}.creator-back-button,.creator-refresh-button,.creator-secondary-button{color:#9ca3b8;background:#ffffff0b;border:1px solid #7357ff38}.creator-back-button{justify-self:start}.creator-refresh-button{justify-self:end}.creator-refresh-button:disabled{cursor:wait;opacity:.72}.creator-refresh-icon.is-spinning{animation:.9s linear infinite creator-center-spin}@keyframes creator-center-spin{to{transform:rotate(360deg)}}.creator-back-button:hover,.creator-refresh-button:hover,.creator-secondary-button:hover{color:#f5f6fa;background:#7357ff1f;border-color:#7357ff94}.creator-primary-button,.creator-small-button{color:#0e1017;background:linear-gradient(135deg,#a996ff,#7357ff);border:1px solid #7357ffb8;font-weight:800}.creator-primary-button:hover,.creator-small-button:hover{filter:brightness(1.08);transform:translateY(-1px)}.creator-primary-button:disabled,.creator-small-button:disabled,.creator-stat-card button:disabled{cursor:not-allowed;opacity:.42;transform:none}.creator-error{color:#ff5d73;background:#7f1d1d33;border:1px solid #f8717157;border-radius:10px;max-width:1380px;margin:0 auto 16px;padding:12px 14px;font-size:13px}.creator-overview-grid,.creator-main-grid,.creator-bottom-grid{gap:16px;max-width:1380px;margin:0 auto;display:grid}.creator-overview-grid{grid-template-columns:repeat(3,minmax(0,1fr));margin-bottom:16px}.creator-main-grid{grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);margin-bottom:16px}.creator-bottom-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.creator-hero-card,.creator-stat-card,.creator-panel{background:linear-gradient(145deg,#161925e6,#090a0fdb);border:1px solid #7357ff29;border-radius:16px;box-shadow:0 18px 70px #0000003d}.creator-hero-card{background:radial-gradient(circle at 86% 24%,#7357ff33,#0000 33%),linear-gradient(145deg,#161925f5,#090a0fe6);justify-content:space-between;align-items:flex-end;gap:16px;min-height:156px;padding:24px;display:flex}.creator-hero-card h2{font-size:25px}.creator-hero-card p{color:#9ca3b8;max-width:520px;margin:10px 0 0;font-size:13px;line-height:1.6}.creator-code-badge{color:#846dff;white-space:nowrap;background:#7357ff14;border:1px solid #7357ff45;border-radius:999px;align-items:center;gap:7px;min-height:32px;padding:0 11px;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:12px;display:inline-flex}.creator-stat-card{flex-direction:column;align-items:flex-start;min-height:156px;padding:20px;display:flex}.creator-stat-card>svg{color:#a996ff}.creator-stat-card span{color:#9ca3b8;margin-top:18px;font-size:13px}.creator-stat-card strong{color:#f5f6fa;font-variant-numeric:tabular-nums;margin-top:6px;font-size:clamp(22px,2vw,30px)}.creator-stat-card small{color:#7357ff;margin-top:4px;font-size:12px}.creator-stat-card.accent{background:linear-gradient(145deg,#1e2231cc,#0e1017eb);border-color:#7357ff57}.creator-stat-card button{color:#846dff;min-height:34px;font:inherit;cursor:pointer;background:#7357ff14;border:1px solid #7357ff70;border-radius:8px;margin-top:12px;padding:0 10px;font-size:12px}.creator-panel{min-width:0;padding:20px}.creator-panel-head{justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:16px;display:flex}.creator-panel-head h2{font-size:20px}.creator-panel-head>svg,.creator-panel-head>strong{color:#a996ff}.creator-poster-layout{grid-template-columns:minmax(180px,.72fr) minmax(0,1fr);align-items:start;gap:20px;display:grid}.creator-poster{background:#090a0f;border:1px solid #7357ff47;border-radius:12px;overflow:hidden;box-shadow:0 12px 38px #00000047}.creator-poster img,.creator-poster-placeholder{aspect-ratio:900/1358;object-fit:cover;width:100%;display:block}.creator-poster-placeholder{color:#7357ff;place-items:center;font-size:13px;display:grid}.creator-invite-tools{align-content:start;gap:8px;display:grid}.creator-invite-tools label{color:#9ca3b8;margin-top:4px;font-size:12px}.creator-copy-row{grid-template-columns:minmax(0,1fr) 40px;gap:8px;display:grid}.creator-copy-row input,.creator-form-grid input,.creator-form-grid select,.creator-form-grid textarea{color:#f5f6fa;width:100%;min-width:0;font:inherit;background:#0000003d;border:1px solid #7357ff2e;border-radius:9px;outline:0;padding:0 11px}.creator-copy-row input,.creator-form-grid input,.creator-form-grid select{height:42px}.creator-copy-row input:focus,.creator-form-grid input:focus,.creator-form-grid select:focus,.creator-form-grid textarea:focus{border-color:#7357ff9e;box-shadow:0 0 0 3px #7357ff1a}.creator-copy-row button{color:#846dff;cursor:pointer;background:#7357ff14;border:1px solid #7357ff3d;border-radius:9px;place-items:center;width:40px;height:42px;display:grid}.creator-rebate-row{background:#7357ff12;border:1px solid #7357ff33;border-radius:9px;justify-content:space-between;align-items:center;gap:12px;min-height:42px;margin-top:2px;padding:0 12px;display:flex}.creator-rebate-row span{color:#9ca3b8;font-size:12px}.creator-rebate-row strong{color:#846dff;font-variant-numeric:tabular-nums;font-size:18px}.creator-invite-tools p{color:#7357ff;margin:10px 0 0;font-size:12px;line-height:1.6}.creator-download-link{color:#846dff;align-items:center;gap:7px;width:fit-content;margin-top:6px;font-size:12px;text-decoration:none;display:inline-flex}.kaitian-home .kaitian-side-cta,.kaitian-home .kaitian-side-login{flex-direction:column;gap:2px;min-height:48px}.kaitian-home .kaitian-side-cta span,.kaitian-home .kaitian-side-login span{white-space:nowrap}.creator-download-link:hover{color:#f5f6fa}.creator-table-wrap{overflow-x:auto}.creator-table{border-collapse:collapse;width:100%;font-size:12px}.creator-table th,.creator-table td{text-align:left;white-space:nowrap;border-bottom:1px solid #7357ff1a;padding:12px 10px}.creator-table th{color:#7357ff;font-size:11px;font-weight:700}.creator-table td{color:#9ca3b8}.creator-table tbody tr:hover td{background:#7357ff0b}.creator-table-empty{color:#7357ff!important;text-align:center!important;padding:32px 10px!important}.creator-pagination{color:#7357ff;justify-content:flex-end;align-items:center;gap:10px;margin-top:14px;font-size:12px;display:flex}.creator-pagination button{color:#9ca3b8;min-height:30px;font:inherit;cursor:pointer;background:#ffffff0a;border:1px solid #7357ff33;border-radius:8px;padding:0 10px;font-size:12px}.creator-pagination button:hover:not(:disabled){color:#f5f6fa;background:#7357ff1f;border-color:#7357ff80}.creator-pagination button:disabled{cursor:not-allowed;opacity:.42}.creator-money-positive{font-variant-numeric:tabular-nums;color:#846dff!important}.creator-status{border-radius:999px;align-items:center;min-height:24px;padding:0 9px;font-size:11px;display:inline-flex}.creator-status.pending{color:#846dff;background:#7357ff1a}.creator-status.paid{color:#27d9c7;background:#27d9c71f}.creator-status.rejected{color:#f5b4b4;background:#b5444424}.creator-center-loading,.creator-empty{color:#9ca3b8;align-content:center;place-items:center;gap:12px;min-height:70vh;display:grid}.creator-center-loading{justify-content:center;align-items:center;min-height:calc(100vh - 68px);display:flex}.creator-empty{text-align:center}.creator-empty-icon{color:#a996ff;background:#7357ff14;border:1px solid #7357ff47;border-radius:18px;place-items:center;width:64px;height:64px;display:grid}.creator-empty p{color:#7357ff;max-width:420px;margin:0;font-size:13px;line-height:1.6}.creator-modal-backdrop{z-index:100;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:#000000b3;place-items:center;padding:20px;display:grid;position:fixed;inset:0}.creator-modal{background:#0e1017;border:1px solid #7357ff4d;border-radius:16px;width:min(560px,100%);padding:22px;box-shadow:0 30px 100px #0000008c}.creator-modal-head{justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:18px;display:flex}.creator-modal-head h2{color:#f5f6fa;margin:6px 0 0}.creator-modal-head button{color:#9ca3b8;cursor:pointer;background:0 0;border:1px solid #7357ff2e;border-radius:8px;width:34px;height:34px;font-size:22px}.creator-form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;display:grid}.creator-form-grid label{gap:7px;display:grid}.creator-form-grid label span{color:#9ca3b8;font-size:12px}.creator-form-grid textarea{resize:vertical;height:88px;padding-top:10px}.creator-form-wide{grid-column:1/-1}.creator-modal-actions{justify-content:flex-end;gap:9px;margin-top:20px;display:flex}@media (width<=1080px){.creator-overview-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (width<=760px){.creator-center-page{padding:20px 14px 48px}.creator-center-header{grid-template-columns:auto 1fr auto;gap:8px}.creator-center-header h1{font-size:22px}.creator-center-banner{border-radius:14px;margin:-2px auto 16px}.creator-center-banner img{min-height:74px}.creator-center-header .creator-eyebrow{display:none}.creator-back-button,.creator-refresh-button{min-height:38px;padding:0 9px;font-size:12px}.creator-overview-grid,.creator-main-grid,.creator-bottom-grid{grid-template-columns:1fr}.creator-hero-card{flex-direction:column;grid-column:auto;align-items:flex-start}.creator-poster-layout{grid-template-columns:1fr}.creator-poster{width:min(250px,100%)}}@media (prefers-reduced-motion:reduce){.creator-back-button,.creator-refresh-button,.creator-secondary-button,.creator-primary-button,.creator-small-button{transition:none}.creator-refresh-icon.is-spinning{animation:none}}.video-enhance-node-card{background:radial-gradient(circle at 18% 0,#7357ff2e,#0000 32%),linear-gradient(145deg,#090a0f 0%,#0b0d11 48%,#0e1017 100%);border-color:#7357ff9e;box-shadow:0 18px 46px #00000070,inset 0 0 0 1px #7357ff0f}.video-enhance-node-card.selected{border-color:#846dff;box-shadow:0 0 0 3px #7357ff3d,0 20px 56px #7357ff21}.video-enhance-node-card .text-node-header{color:#f5f6fa;background:linear-gradient(90deg,#7357ff24,#7357ff08)}.video-enhance-node-card .text-node-header svg{color:#846dff;filter:drop-shadow(0 0 10px #7357ff61)}.video-enhance-node-card .node-handle{box-shadow:none;background:0 0;border-color:#0000}.video-enhance-node-card .node-add-button{color:#0e1017;background:linear-gradient(135deg,#f5f6fa 0%,#7357ff 54%,#5e46d7 100%);border:1px solid #7357ffd1;box-shadow:0 12px 28px #7357ff4d,0 0 18px #7357ff33}.video-enhance-node-card .node-add-button:hover,.video-enhance-node-card .node-add-button:focus-visible{color:#090a0f;background:linear-gradient(135deg,#f5f6fa 0%,#a996ff 52%,#7357ff 100%);border-color:#f5f6faf5;box-shadow:0 16px 34px #7357ff61,0 0 24px #7357ff3d}.video-enhance-node-card>.node-handle:after{box-shadow:none;background:radial-gradient(circle,#ffffffc7 0 3px,#0000 4px),linear-gradient(#ffffff6b,#ffffff2e);border-color:#0000}.video-enhance-node-card:hover>.node-handle:after,.video-enhance-node-card.selected>.node-handle:after,.video-enhance-node-card>.node-handle:hover:after,.video-enhance-node-card>.node-handle.connectingfrom:after,.video-enhance-node-card>.node-handle.connectingto:after,.video-enhance-node-card>.node-handle.valid:after{box-shadow:none;border-color:#0000}.video-enhance-node-card .loading-spinner{border-color:#846dff #7357ff33 #7357ff33}.video-enhance-node-content{box-shadow:none;background:linear-gradient(135deg,#7357ff1a,#0000 34%),#08090c;border-color:#0000}.video-enhance-node-content:hover{background:linear-gradient(135deg,#7357ff29,#0000 38%),#0b0c10;border-color:#0000}.video-enhance-node-content .video-preview-frame,.video-enhance-node-content .video-preview-frame video{border-radius:8px}.video-enhance-empty-surface{border-radius:inherit;background:linear-gradient(135deg,#7357ff0b,#0000 42%);width:100%;height:100%}.video-enhance-input-panel{background:radial-gradient(circle at 18% 0,#7357ff24,#0000 28%),linear-gradient(#0e1017fa,#08090cfa);border-color:#7357ff5c;flex-direction:column;gap:12px;width:75%;padding:18px;display:flex;left:12.5%;overflow:hidden;box-shadow:0 24px 70px #00000094,inset 0 0 0 1px #7357ff14}.video-enhance-source-card{background:#ffffff09;border:1px solid #7357ff38;border-radius:16px;grid-template-columns:128px minmax(0,1fr);align-items:center;gap:14px;min-height:88px;padding:12px;display:grid}.video-enhance-source-card.empty{color:#7357ffb8;text-align:center;background:#7357ff0e;border-style:dashed;justify-content:center;gap:10px;min-height:76px;display:flex}.video-enhance-source-card.empty svg{color:#7357ff}.video-enhance-source-preview{aspect-ratio:16/9;background:#050507;border:1px solid #7357ff3d;border-radius:12px;width:128px;position:relative;overflow:hidden}.video-enhance-source-preview .video-preview-frame,.video-enhance-source-preview video{object-fit:cover;border-radius:12px;width:100%;height:100%}.video-enhance-source-copy{flex-direction:column;gap:5px;min-width:0;display:flex}.video-enhance-source-copy span{color:#7357ff94;letter-spacing:.12em;text-transform:uppercase;font-size:11px;font-weight:760}.video-enhance-source-copy strong{color:#f5f6fa;text-overflow:ellipsis;white-space:nowrap;font-size:14px;font-weight:800;overflow:hidden}.video-enhance-section{flex-direction:column;gap:9px;display:flex}.video-enhance-section h4{color:#f5f6fad6;letter-spacing:.08em;margin:0;font-size:12px;font-weight:820}.video-enhance-model-chip{color:#a996ff;background:#7357ff1a;border:1px solid #7357ff42;border-radius:999px;align-items:center;gap:8px;width:fit-content;padding:9px 12px;font-size:13px;font-weight:800;display:inline-flex}.video-enhance-model-chip svg{color:#846dff}.video-enhance-option-row{flex-wrap:wrap;gap:9px;display:flex}.video-enhance-option-row button{color:#7357ffc2;letter-spacing:.02em;cursor:pointer;background:#ffffff0b;border:1px solid #7357ff38;border-radius:999px;min-height:34px;padding:0 14px;font-size:12px;font-weight:820;transition:transform .18s,border-color .18s,color .18s,background .18s,box-shadow .18s}.video-enhance-option-row button:hover,.video-enhance-option-row button:focus-visible{color:#f5f6fa;background:#7357ff24;border-color:#7357ffb3;transform:translateY(-1px);box-shadow:0 0 0 3px #7357ff14}.video-enhance-option-row button.active{color:#0e1017;background:linear-gradient(135deg,#f5f6fa,#7357ff 48%,#5e46d7);border-color:#7357ffe6;box-shadow:0 10px 22px #7357ff38,0 0 18px #7357ff29}.video-enhance-controls{align-items:center;margin-top:4px}.video-enhance-controls .video-estimated-charge-panel{background:#7357ff14;border-color:#7357ff47}.video-enhance-controls .video-estimated-charge-panel strong,.video-enhance-controls .video-estimated-charge-panel span,.video-enhance-controls .video-estimated-charge-panel em{color:#a996ff}.video-enhance-generate-btn{color:#0e1017!important;background:linear-gradient(135deg,#f5f6fa 0%,#7357ff 54%,#5e46d7 100%)!important;border:1px solid #7357ffb8!important;box-shadow:0 12px 28px #7357ff42,0 0 20px #7357ff29!important}.video-enhance-generate-btn:hover:not(:disabled),.video-enhance-generate-btn:focus-visible:not(:disabled){transform:translateY(-1px)scale(1.02);box-shadow:0 16px 34px #7357ff57,0 0 24px #7357ff38!important}.video-enhance-generate-btn:disabled{cursor:not-allowed;filter:grayscale(.2);opacity:.52;transform:none}.script-library-legacy .book-row .cover-info{z-index:3;background:linear-gradient(#0000 0%,#04040414 18%,#040404c2 58%,#040404f5 100%);gap:5px;min-width:0;padding:42px 12px 11px;display:grid;position:absolute;bottom:0;left:0;right:0}.script-library-legacy .book-row .cover-info .cover-title{color:#f5f6fa;text-align:left;text-overflow:ellipsis;text-shadow:0 2px 8px #000000d1;-webkit-line-clamp:1;-webkit-box-orient:vertical;min-height:0;margin:0;padding:0;font-family:STSong,Songti SC,Noto Serif SC,serif;font-size:clamp(13px,1.08vw,18px);font-weight:850;line-height:1.25;display:-webkit-box;overflow:hidden}.script-library-legacy .book-row .cover-rating-row{color:#a996ff;align-items:center;gap:5px;min-width:0;font-family:Inter,ui-sans-serif,system-ui,sans-serif;font-size:clamp(10px,.82vw,13px);line-height:1;display:flex}.script-library-legacy .book-row .cover-stars{color:#ffffff6b;flex:none;align-items:center;gap:1px;display:inline-flex}.script-library-legacy .book-row .cover-stars svg{display:block}.script-library-legacy .book-row .cover-stars svg.is-filled{color:#a996ff;fill:currentColor;filter:drop-shadow(0 1px 3px #7357ff5c)}.script-library-legacy .book-row .cover-score{color:#a996ff;font-variant-numeric:tabular-nums;font-size:1.05em;font-weight:800}.script-library-legacy .book-row .cover-episodes{color:#f5f6fae6;text-overflow:ellipsis;white-space:nowrap;margin-left:auto;font-weight:700;overflow:hidden}.script-library-legacy .topbar{grid-template-columns:auto minmax(0,1fr) auto;column-gap:clamp(18px,3vw,46px)}.script-library-legacy .script-cat-nav{justify-self:center}.script-library-legacy .top-actions{justify-self:end;align-items:center;gap:12px;min-width:0;display:flex}.script-library-legacy .top-actions [hidden]{display:none!important}.script-library-legacy .wallet-balance-entry{color:#a996ff;min-width:0;min-height:38px;font:inherit;cursor:pointer;white-space:nowrap;background:linear-gradient(#7357ff1f,#7357ff0d),#090a0f85;border:1px solid #7357ff7a;border-radius:999px;align-items:center;gap:8px;padding:0 13px;display:inline-flex;box-shadow:inset 0 1px #7357ff24}.script-library-legacy .wallet-balance-entry span{color:#7357ffb8;font-size:12px;font-weight:700;display:inline}.script-library-legacy .wallet-balance-entry strong{color:#a996ff;font-variant-numeric:tabular-nums;font-size:13px;font-weight:850}.script-library-legacy .wallet-balance-entry:hover,.script-library-legacy .wallet-balance-entry:focus-visible{color:#a996ff;background:linear-gradient(#7357ff2e,#7357ff14),#090a0fb8;border-color:#7357ffd1}.script-library-legacy .my-scripts-entry{color:#f5f6fad1;min-height:38px;font:inherit;white-space:nowrap;cursor:pointer;background:#ffffff09;border:1px solid #ffffff29;border-radius:999px;justify-content:center;align-items:center;gap:7px;padding:0 13px;font-size:13px;font-weight:750;display:inline-flex}.script-library-legacy .my-scripts-entry:hover,.script-library-legacy .my-scripts-entry:focus-visible,.script-library-legacy .my-scripts-entry.active{color:#a996ff;background:#7357ff24;border-color:#7357ffb8}.script-library-legacy .my-scripts-entry svg{flex:none}.script-library-legacy .header-back.script-cat-home-back{color:#f5f6fa;width:auto;min-width:0;height:38px;min-height:38px;font:inherit;cursor:pointer;white-space:nowrap;background:#ffffff09;border:1px solid #ffffff24;border-radius:999px;justify-content:center;align-items:center;gap:5px;padding:0 14px 0 10px;font-size:13px;font-weight:750;display:inline-flex}.script-library-legacy .header-back.script-cat-home-back:hover,.script-library-legacy .header-back.script-cat-home-back:focus-visible{border-color:var(--script-cat-orange-light);color:var(--script-cat-orange-light);background:#7357ff29}.script-library-legacy .header-back.script-cat-home-back span{display:inline}@media (width<=1020px){.script-library-legacy .topbar{grid-template-columns:auto minmax(0,1fr) auto}.script-library-legacy .wallet-balance-entry,.script-library-legacy .header-back.script-cat-home-back{display:inline-flex}}@media (width<=760px){.script-library-legacy .topbar{grid-template-columns:auto auto;justify-content:space-between;gap:10px}.script-library-legacy .script-cat-nav{display:none}.script-library-legacy .top-actions{gap:8px}.script-library-legacy .wallet-balance-entry,.script-library-legacy .my-scripts-entry{min-height:34px;padding:0 10px}.script-library-legacy .my-scripts-entry span,.script-library-legacy .wallet-balance-entry span{display:none}.script-library-legacy .header-back.script-cat-home-back{height:34px;min-height:34px;padding:0 10px}.script-library-legacy .header-back.script-cat-home-back span{display:none}}.script-library-legacy .my-scripts-page{color:#f5f6fa;background:radial-gradient(circle at 82% 2%,#7357ff1f,#0000 28%),#080808;min-height:100vh}.script-library-legacy .my-scripts-page>.topbar{margin:0}.script-library-legacy .my-scripts-shell{width:min(1120px,100% - 48px);margin:0 auto;padding:42px 0 72px}.script-library-legacy .my-scripts-heading{border-bottom:1px solid #7357ff29;justify-content:space-between;align-items:flex-end;gap:28px;padding-bottom:24px;display:flex}.script-library-legacy .my-scripts-back{color:#f5f6fa94;min-height:36px;font:inherit;cursor:pointer;background:0 0;border:0;align-items:center;gap:4px;padding:0;font-size:13px;display:inline-flex}.script-library-legacy .my-scripts-back:hover,.script-library-legacy .my-scripts-back:focus-visible{color:#a996ff}.script-library-legacy .my-scripts-heading h1{color:#f5f6fa;letter-spacing:0;margin:12px 0 6px;font-size:34px;font-weight:800;line-height:1.2}.script-library-legacy .my-scripts-heading p{color:#f5f6fa85;margin:0;font-size:14px;line-height:1.6}.script-library-legacy .my-scripts-heading-actions{flex:none;align-items:center;gap:12px;display:flex}.script-library-legacy .my-scripts-heading-actions>span{color:#f5f6fa8f;font-size:13px}.script-library-legacy .my-scripts-heading-actions>span strong{color:#a996ff;font-variant-numeric:tabular-nums;font-size:18px}.script-library-legacy .my-scripts-heading-actions button,.script-library-legacy .my-scripts-state button,.script-library-legacy .my-scripts-pagination button{color:#a996ff;min-height:40px;font:inherit;cursor:pointer;background:#7357ff12;border:1px solid #7357ff4d;border-radius:5px;justify-content:center;align-items:center;gap:6px;padding:0 14px;font-size:13px;font-weight:750;display:inline-flex}.script-library-legacy .my-scripts-heading-actions button:hover:not(:disabled),.script-library-legacy .my-scripts-state button:hover,.script-library-legacy .my-scripts-pagination button:hover:not(:disabled){color:#846dff;background:#7357ff21;border-color:#7357ffb8}.script-library-legacy .my-scripts-heading-actions button:disabled,.script-library-legacy .my-scripts-pagination button:disabled{cursor:not-allowed;opacity:.48}.script-library-legacy .my-scripts-heading-actions .is-spinning,.script-library-legacy .my-scripts-state .is-spinning{animation:.8s linear infinite my-scripts-spin}@keyframes my-scripts-spin{to{transform:rotate(360deg)}}.script-library-legacy .my-scripts-list{gap:14px;padding-top:24px;display:grid}.script-library-legacy .my-script-item{background:#ffffff07;border:1px solid #7357ff29;border-radius:6px;grid-template-columns:104px minmax(0,1fr);gap:20px;min-height:154px;padding:16px;transition:border-color .16s,background .16s;display:grid}.script-library-legacy .my-script-item:hover{background:#7357ff0b;border-color:#7357ff61}.script-library-legacy .my-script-cover{aspect-ratio:3/4;background:#0e1017;border:1px solid #7357ff3d;border-radius:4px;width:104px;overflow:hidden}.script-library-legacy .my-script-cover .cover{border:0;border-radius:0;width:100%;height:100%;min-height:0}.script-library-legacy .my-script-cover .cover-image{object-fit:cover}.script-library-legacy .my-script-copy{flex-direction:column;min-width:0;display:flex}.script-library-legacy .my-script-title-row{justify-content:space-between;align-items:flex-start;gap:16px;display:flex}.script-library-legacy .my-script-title-row h2{overflow-wrap:anywhere;color:#f5f6fa;letter-spacing:0;margin:0;font-size:20px;line-height:1.35}.script-library-legacy .my-script-title-row span{color:#27d9c7;background:#27d9c71f;border:1px solid #27d9c752;border-radius:999px;flex:none;padding:4px 9px;font-size:11px;font-weight:750}.script-library-legacy .my-script-meta{color:#7357ffb8;margin:6px 0 0;font-size:12px}.script-library-legacy .my-script-preview{color:#f5f6fa94;-webkit-line-clamp:2;-webkit-box-orient:vertical;margin:10px 0 0;font-size:13px;line-height:1.65;display:-webkit-box;overflow:hidden}.script-library-legacy .my-script-footer{justify-content:space-between;align-items:center;gap:16px;margin-top:auto;padding-top:12px;display:flex}.script-library-legacy .my-script-footer>span{color:#f5f6fa61;font-size:11px}.script-library-legacy .my-script-footer button{color:#161925;min-height:40px;font:inherit;cursor:pointer;background:linear-gradient(#a996ff,#7357ff);border:1px solid #a996ff;border-radius:5px;justify-content:center;align-items:center;gap:7px;padding:0 16px;font-size:13px;font-weight:800;display:inline-flex}.script-library-legacy .my-script-footer button:hover,.script-library-legacy .my-script-footer button:focus-visible{filter:brightness(1.07)}.script-library-legacy .my-scripts-state{color:#f5f6fa85;text-align:center;background:#ffffff05;border:1px dashed #7357ff38;border-radius:6px;align-content:center;place-items:center;gap:12px;min-height:280px;padding:32px;display:grid}.script-library-legacy .my-scripts-state strong{color:#f5f6fa}.script-library-legacy .my-scripts-state.error{color:#ff5d73}.script-library-legacy .my-scripts-pagination{justify-content:center;align-items:center;gap:18px;margin-top:24px;display:flex}.script-library-legacy .my-scripts-pagination span{color:#f5f6fa85;font-variant-numeric:tabular-nums;font-size:13px}@media (width<=760px){.script-library-legacy .my-scripts-shell{width:min(100% - 24px,1120px);padding:28px 0 48px}.script-library-legacy .my-scripts-heading{flex-direction:column;align-items:flex-start;gap:16px}.script-library-legacy .my-scripts-heading h1{font-size:28px}.script-library-legacy .my-script-item{grid-template-columns:78px minmax(0,1fr);gap:13px;min-height:130px;padding:12px}.script-library-legacy .my-script-cover{width:78px}.script-library-legacy .my-script-title-row h2{font-size:16px}.script-library-legacy .my-script-preview{-webkit-line-clamp:1}.script-library-legacy .my-script-footer{align-items:flex-end}.script-library-legacy .my-script-footer>span{display:none}.script-library-legacy .my-script-footer button{min-height:36px;padding:0 11px}}.script-library-legacy .book-row .book-region,.script-library-legacy .book-row .book-main{display:none}.script-library-legacy .book-row .cover:not(.has-image){display:block}.script-library-legacy .book-row .cover:not(.has-image) .cover-info{background:linear-gradient(#0000 0%,#090a0f1a 24%,#090a0fe0 100%)}@media (width<=640px){.script-library-legacy .book-row .cover-info{padding:34px 9px 8px}.script-library-legacy .book-row .cover-rating-row{gap:3px}.script-library-legacy .book-row .cover-stars svg{width:11px;height:11px}}.script-library-legacy .featured-layout{z-index:1;margin:0 0 24px;display:block;position:relative}.script-library-legacy .featured-layout .hero-carousel{background:#07090c;border:1px solid #ffffff1f;border-radius:7px;height:clamp(300px,31vw,430px);min-height:300px;margin:0;overflow:hidden;box-shadow:0 22px 60px #0000006b,inset 0 1px #ffffff14}.script-library-legacy .featured-layout .carousel-stage,.script-library-legacy .featured-layout .carousel-slide,.script-library-legacy .featured-layout .carousel-image{height:100%}.script-library-legacy .featured-layout .carousel-stage{padding:0}.script-library-legacy .featured-layout .carousel-slide,.script-library-legacy .featured-layout .carousel-image{border-radius:6px}.script-library-legacy .featured-layout .carousel-image{box-shadow:none;background:#07090c;border:0}.script-library-legacy .featured-layout .carousel-image:before{z-index:2;background:linear-gradient(#00000005 42%,#00000014 59%,#000000b8 100%)}.script-library-legacy .featured-layout .carousel-image .carousel-bg{display:none}.script-library-legacy .featured-layout .carousel-main{z-index:1;object-fit:cover;object-position:center top;filter:brightness(1.04)contrast(1.03)saturate(1.04)}.script-library-legacy .featured-layout .carousel-info-overlay{-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);pointer-events:none;background:#7a7a7a61;border-top:1px solid #ffffff38;border-radius:0 0 6px 6px;grid-template-columns:minmax(0,1fr) minmax(360px,42%);align-items:end;gap:18px;min-height:82px;padding:10px 12px 8px 16px;display:grid;bottom:0;left:0;right:0}.script-library-legacy .carousel-overlay-copy{text-align:left;pointer-events:none;align-self:end;gap:3px;min-width:0;display:grid}.script-library-legacy .featured-layout .carousel-image-title{color:#f5f6fa;text-align:left;text-overflow:ellipsis;text-shadow:0 2px 3px #000000a3,0 7px 18px #0006;white-space:nowrap;margin:0;font-family:Songti SC,Noto Serif SC,STSong,SimSun,serif;font-size:clamp(20px,1.9vw,27px);font-weight:850;line-height:1.12;overflow:hidden}.script-library-legacy .carousel-overlay-lead{color:#ffffffe6;text-align:left;text-overflow:ellipsis;text-shadow:0 2px 8px #00000094;-webkit-line-clamp:1;-webkit-box-orient:vertical;max-width:72ch;margin:0;font-size:11px;line-height:1.35;display:-webkit-box;overflow:hidden}.script-library-legacy .carousel-thumbnail-rail{pointer-events:auto;justify-content:flex-end;align-items:flex-end;gap:5px;min-width:0;display:flex}.script-library-legacy .carousel-thumb-list{justify-content:flex-end;align-items:flex-end;gap:5px;min-width:0;display:flex;overflow:hidden}.script-library-legacy .carousel-thumb{cursor:pointer;opacity:.76;background:#05070a94;border:1px solid #ffffff2e;border-radius:3px;flex:0 0 clamp(52px,5.7vw,64px);width:clamp(52px,5.7vw,64px);height:43px;padding:0;transition:border-color .18s,opacity .18s,transform .18s;position:relative;overflow:hidden}.script-library-legacy .carousel-thumb img{object-fit:cover;object-position:center;opacity:.9;width:100%;height:100%;display:block}.script-library-legacy .carousel-thumb span{box-sizing:border-box;color:#fff;text-align:center;text-overflow:ellipsis;text-shadow:0 1px 2px #000c;white-space:nowrap;background:#00000085;min-height:15px;padding:1px 3px 0;font-size:9px;line-height:14px;display:block;position:absolute;bottom:0;left:0;right:0;overflow:hidden}.script-library-legacy .carousel-thumb:hover,.script-library-legacy .carousel-thumb:focus-visible{opacity:1;border-color:#ffffffc7;outline:none;transform:translateY(-2px)}.script-library-legacy .carousel-thumb:hover img,.script-library-legacy .carousel-thumb:focus-visible img,.script-library-legacy .carousel-thumb.active img{opacity:1}.script-library-legacy .carousel-thumb.active{opacity:1;border-color:#846dff;box-shadow:0 0 0 1px #7357ff61}.script-library-legacy .carousel-thumb.active span{color:#a996ff}.script-library-legacy .carousel-thumb-arrow{color:#ffffffe0;background:0 0;border:0;border-radius:2px;flex:0 0 22px;place-items:center;width:22px;min-width:22px;height:43px;min-height:43px;padding:0;display:inline-grid}.script-library-legacy .carousel-thumb-arrow:hover,.script-library-legacy .carousel-thumb-arrow:focus-visible{color:#f5f6fa;background:#ffffff1f;outline:none}@media (width<=1020px){.script-library-legacy .featured-layout .carousel-info-overlay{grid-template-columns:minmax(0,1fr) minmax(310px,43%)}}@media (width<=720px){.script-library-legacy .featured-layout .hero-carousel{aspect-ratio:16/9;height:auto;min-height:0}.script-library-legacy .featured-layout .carousel-info-overlay{grid-template-columns:minmax(0,1fr);gap:6px;min-height:0;padding:8px 8px 7px 12px}.script-library-legacy .carousel-overlay-lead{display:none}.script-library-legacy .featured-layout .carousel-image-title{font-size:clamp(18px,5vw,24px)}.script-library-legacy .carousel-thumbnail-rail{scrollbar-width:none;justify-content:flex-start;max-width:100%;overflow-x:auto}.script-library-legacy .carousel-thumbnail-rail::-webkit-scrollbar{display:none}.script-library-legacy .carousel-thumb-list{justify-content:flex-start;overflow:visible}.script-library-legacy .carousel-thumb{flex-basis:52px;width:52px;height:34px}.script-library-legacy .carousel-thumb-arrow{flex-basis:20px;width:20px;min-width:20px;height:34px;min-height:34px}}.exclusive-detail-page{color:#f5f6fa;background:radial-gradient(circle at 84% 8%,#7357ff24,#0000 28%),#070707;min-height:100vh;font-family:Inter,PingFang SC,Microsoft YaHei,sans-serif}.exclusive-detail-page button,.exclusive-detail-page a{-webkit-tap-highlight-color:transparent}.script-library-legacy .topbar.exclusive-detail-topbar{-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);margin:0}.exclusive-detail-shell{width:min(1160px,100% - 40px);margin:0 auto;padding:28px 0 72px}.exclusive-back-button{color:#f5f6faa3;cursor:pointer;background:0 0;border:0;align-items:center;gap:5px;min-height:44px;padding:0 4px;font-size:13px;display:inline-flex}.exclusive-back-button:hover,.exclusive-back-button:focus-visible{color:#a996ff;outline:none}.exclusive-detail-state{color:#f5f6fac2;background:#ffffff09;border:1px solid #7357ff33;border-radius:6px;margin-top:20px;padding:18px 20px}.exclusive-detail-state.error{color:#ff5d73;border-color:#7357ff70}.exclusive-detail-hero{grid-template-columns:248px minmax(0,1fr);align-items:start;gap:36px;margin-top:20px;display:grid}.exclusive-purchase-column{flex-direction:column;align-items:stretch;display:flex}.exclusive-cover-frame{aspect-ratio:3/4;background:#0e1017;border:1px solid #7357ff6b;border-radius:5px;position:relative;overflow:hidden;box-shadow:0 16px 34px #0000006b}.exclusive-cover-frame .cover{border-radius:0;width:100%;height:100%;min-height:0}.exclusive-cover-frame .cover-image{object-fit:cover}.exclusive-price-card{background:#ffffff0b;border:1px solid #7357ff33;border-radius:5px;justify-content:space-between;align-items:baseline;margin-top:12px;padding:14px 15px;display:flex}.exclusive-price-card span{color:#f5f6fa8f;font-size:12px}.exclusive-price-card strong{color:#a996ff;font-variant-numeric:tabular-nums;letter-spacing:0;font-family:inherit;font-size:24px;font-weight:700}.exclusive-buyout-button{color:#161925;background:linear-gradient(#f5f6fa,#7357ff);border:1px solid #a996ff;border-radius:5px;justify-content:center;align-items:center;gap:8px;min-height:48px;margin-top:12px;font-size:15px;font-weight:800;text-decoration:none;transition:transform .18s,filter .18s;display:inline-flex;box-shadow:0 10px 24px #7357ff33}.exclusive-buyout-button:disabled{cursor:not-allowed;filter:grayscale(.35);opacity:.58;transform:none}.exclusive-buyout-button:not(:disabled):hover,.exclusive-buyout-button:not(:disabled):focus-visible{filter:brightness(1.08);outline:none;transform:translateY(-2px)}.exclusive-popularity{color:#f5f6fa75;text-align:center;justify-content:center;align-items:center;gap:8px;margin:11px 0 0;font-size:12px;display:flex}.exclusive-popularity-separator{color:#f5f6fa3d}.script-library-legacy .buyout-dialog-layer{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#000000c7}.script-library-legacy .buyout-dialog{color:#f5f6fa;background:#202020;border:1px solid #7357ffb8;border-radius:7px;width:min(600px,100vw - 40px);max-height:calc(100dvh - 40px);margin:0;display:block;overflow:auto;box-shadow:0 26px 80px #000000b8,0 0 0 3px #7357ff0f}.script-library-legacy .buyout-shell{padding:26px 28px 28px}.script-library-legacy .buyout-head{justify-content:space-between;align-items:center;gap:18px;display:flex}.script-library-legacy .buyout-title{align-items:center;gap:10px;min-width:0;display:flex}.script-library-legacy .buyout-title svg{color:#7357ff;flex:none}.script-library-legacy .buyout-title h2{color:#f5f6fa;margin:0;font-size:24px;font-weight:800;line-height:1.25}.script-library-legacy .buyout-close{color:#ffffffa8;cursor:pointer;background:0 0;border:0;border-radius:4px;place-items:center;width:44px;min-width:44px;height:44px;padding:0;display:inline-grid}.script-library-legacy .buyout-close:hover,.script-library-legacy .buyout-close:focus-visible{color:#a996ff;background:#ffffff0d}.script-library-legacy .buyout-close:disabled{cursor:wait;opacity:.45}.script-library-legacy .buyout-subtitle{color:#ffffff7d;margin:5px 0 0 34px;font-size:14px;line-height:1.5}.script-library-legacy .buyout-script-summary{grid-template-columns:78px minmax(0,1fr);align-items:center;gap:16px;margin-top:20px;display:grid}.script-library-legacy .buyout-cover{aspect-ratio:3/4;background:#0e1017;border:1px solid #7357ff59;border-radius:7px;width:78px;overflow:hidden}.script-library-legacy .buyout-cover .cover{border:0;border-radius:0;width:100%;height:100%;min-height:0}.script-library-legacy .buyout-cover .cover-image{object-fit:cover}.script-library-legacy .buyout-script-info{gap:5px;min-width:0;display:grid}.script-library-legacy .buyout-script-info h3{overflow-wrap:anywhere;color:#f8f5ef;margin:0;font-size:19px;line-height:1.35}.script-library-legacy .buyout-script-info p{color:#ffffff7a;margin:0;font-size:14px}.script-library-legacy .buyout-script-info strong{color:#7357ff;font-variant-numeric:tabular-nums;letter-spacing:0;margin-top:2px;font-family:inherit;font-size:24px;font-weight:700;line-height:1.2}.script-library-legacy .buyout-script-info small{color:#7357ffad;font-variant-numeric:tabular-nums;font-size:12px}.script-library-legacy .buyout-benefits{gap:9px;margin-top:20px;display:grid}.script-library-legacy .buyout-benefits>div{color:#ffffff8c;grid-template-columns:22px minmax(0,1fr);align-items:center;gap:8px;font-size:13px;line-height:1.4;display:grid}.script-library-legacy .buyout-benefits svg{color:#7357ff;width:18px;height:18px}.script-library-legacy .buyout-error{color:#ff5d73;background:#ff5d731f;border:1px solid #7357ff6b;border-radius:4px;margin:20px 0 0;padding:10px 12px;font-size:13px;line-height:1.5}.script-library-legacy .buyout-actions{justify-content:flex-end;align-items:center;gap:10px;margin-top:24px;display:flex}.script-library-legacy .buyout-actions button{min-width:116px;min-height:44px;font:inherit;cursor:pointer;border-radius:6px;padding:0 20px;font-size:14px;font-weight:750}.script-library-legacy .buyout-secondary{color:#ffffffbd;background:0 0;border:1px solid #ffffff12}.script-library-legacy .buyout-primary{color:#161925;background:linear-gradient(#a996ff,#7357ff);border:1px solid #a996ff;box-shadow:inset 0 1px #ffffff75,0 8px 20px #7357ff33}.script-library-legacy .buyout-secondary:hover,.script-library-legacy .buyout-secondary:focus-visible{color:#a996ff;background:#ffffff09;border-color:#7357ff73}.script-library-legacy .buyout-primary:hover,.script-library-legacy .buyout-primary:focus-visible{filter:brightness(1.07)}.script-library-legacy .buyout-actions button:disabled{cursor:wait;opacity:.56}.exclusive-hero-main{min-width:0;padding-top:6px}.exclusive-title-row{flex-wrap:wrap;align-items:center;gap:10px;min-width:0;display:flex}.exclusive-title-row h1{color:#a996ff;letter-spacing:.02em;max-width:100%;margin:0;font-family:STSong,Songti SC,Noto Serif SC,serif;font-size:clamp(30px,4vw,52px);font-weight:800;line-height:1.16}.exclusive-level,.exclusive-badge{color:#a996ff;letter-spacing:.08em;background:#7357ff1a;border:1px solid #7357ff75;border-radius:3px;align-items:center;gap:4px;min-height:26px;padding:0 8px;font-size:11px;font-weight:800;display:inline-flex}.exclusive-badge{color:#a996ff;border-color:#7357ff4d}.exclusive-meta-row{color:#f5f6fa9e;flex-wrap:wrap;gap:10px 22px;margin-top:18px;font-size:13px;display:flex}.exclusive-meta-row span{align-items:center;gap:6px;display:inline-flex}.exclusive-meta-row svg{color:#a996ff}.exclusive-metrics{background:#ffffff14;border:1px solid #ffffff1a;border-radius:5px;grid-template-columns:minmax(190px,1.8fr) repeat(2,minmax(120px,1fr));gap:1px;margin-top:28px;display:grid;overflow:hidden}.exclusive-metrics>div{background:#111110f0;min-height:86px;padding:16px 18px}.exclusive-metrics>div:not(.exclusive-rating-metric){flex-direction:column;justify-content:center;display:flex}.exclusive-rating-metric{grid-template-columns:auto auto;align-items:center;column-gap:10px;display:grid}.exclusive-stars{color:#ffffff2e;grid-column:1/-1;gap:2px;display:inline-flex}.exclusive-stars .filled{fill:#a996ff;color:#a996ff}.exclusive-metrics strong{color:#a996ff;font-size:22px;line-height:1.1}.exclusive-metrics small{color:#f5f6fa75;margin-top:7px;font-size:11px;display:block}.exclusive-outline-card,.exclusive-info-card,.exclusive-world-card{background:linear-gradient(145deg,#161925e6,#121211e6);border:1px solid #7357ff29;border-radius:5px}.exclusive-outline-card{margin-top:18px;padding:20px 22px}.exclusive-outline-card h2,.exclusive-info-card h3{color:#a996ff;align-items:center;gap:8px;margin:0;font-size:16px;display:flex}.exclusive-outline-card h2 svg,.exclusive-info-card h3 svg{color:#a996ff}.exclusive-outline-card p,.exclusive-info-card p,.exclusive-world-card p{color:#f5f6fab3;margin:13px 0 0;font-size:14px;line-height:1.9}.exclusive-detail-tabs{scrollbar-width:none;border-bottom:1px solid #ffffff1f;gap:2px;margin-top:34px;display:flex;overflow-x:auto}.exclusive-detail-tabs::-webkit-scrollbar{display:none}.exclusive-detail-tabs button{color:#f5f6fa85;cursor:pointer;background:0 0;border:0;border-bottom:2px solid #0000;flex:none;align-items:center;gap:7px;min-height:48px;padding:0 18px;font-size:14px;display:inline-flex}.exclusive-detail-tabs button:hover,.exclusive-detail-tabs button:focus-visible,.exclusive-detail-tabs button.active{color:#a996ff;border-bottom-color:#a996ff;outline:none}.exclusive-tab-content{margin-top:18px}.exclusive-world-sections{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.exclusive-world-card{overflow:hidden}.exclusive-world-card summary{color:#a996ff;cursor:pointer;justify-content:space-between;align-items:center;gap:12px;min-height:56px;padding:0 18px;list-style:none;display:flex}.exclusive-world-card summary::-webkit-details-marker{display:none}.exclusive-world-card summary>span{align-items:center;gap:9px;font-size:15px;font-weight:700;display:inline-flex}.exclusive-world-card summary>svg{color:#f5f6fa7a;transition:transform .18s}.exclusive-world-card[open] summary>svg{transform:rotate(90deg)}.exclusive-world-card p{border-top:1px solid #ffffff12;margin:0;padding:14px 18px 18px}.exclusive-single-card{min-height:150px;padding:22px}.exclusive-detail-tags{flex-wrap:wrap;gap:8px;margin-top:18px;display:flex}.exclusive-detail-tags span{color:#a996ff;background:#7357ff14;border:1px solid #7357ff3d;border-radius:3px;padding:5px 9px;font-size:12px}.exclusive-author-card{align-items:flex-start;gap:16px;padding:24px;display:flex}.exclusive-author-avatar{color:#a996ff;background:#7357ff1a;border:1px solid #7357ff61;border-radius:50%;flex:0 0 64px;place-items:center;width:64px;height:64px;display:grid}.exclusive-character-setting{color:#f5f6fac2;white-space:pre-wrap;margin-top:13px;font-size:14px;line-height:1.9}.exclusive-excerpt-meta{color:#f5f6fa94;border-bottom:1px solid #7357ff24;flex-wrap:wrap;align-items:center;gap:7px;margin-top:14px;padding-bottom:12px;font-size:12px;display:flex}.exclusive-excerpt-meta svg,.exclusive-excerpt-meta strong{color:#a996ff}.exclusive-excerpt-meta strong{font-weight:700}.exclusive-excerpt{color:#f5f6fac2;white-space:pre-wrap;max-height:420px;margin-top:14px;font-size:14px;line-height:1.9;overflow:auto}.exclusive-detail-page :focus-visible{outline-offset:3px;outline:2px solid #a996ff}.script-library-legacy .book-row .cover-exclusive-buy{opacity:0;pointer-events:none}.script-library-legacy .book-row:hover .cover-exclusive-buy,.script-library-legacy .book-row:focus-within .cover-exclusive-buy,.script-library-legacy .book-row .cover-exclusive-buy:focus-visible{opacity:1;pointer-events:auto}.script-library-legacy .book-row .cover-exclusive-buy:focus-visible{outline-offset:3px;outline:2px solid #f5f6fa}@media (width<=760px){.script-library-legacy .buyout-dialog-layer{padding:12px}.script-library-legacy .buyout-dialog{width:min(100%,600px);max-height:calc(100dvh - 24px)}.script-library-legacy .buyout-shell{padding:20px 18px}.script-library-legacy .buyout-title h2{font-size:22px}.script-library-legacy .buyout-subtitle{margin-left:0}.script-library-legacy .buyout-script-summary{grid-template-columns:70px minmax(0,1fr);gap:14px}.script-library-legacy .buyout-cover{width:70px}.script-library-legacy .buyout-actions{grid-template-columns:repeat(2,minmax(0,1fr));display:grid}.script-library-legacy .buyout-actions button{min-width:0;padding:0 12px;font-size:14px}.exclusive-detail-shell{width:min(100% - 24px,1160px)}.exclusive-detail-hero{grid-template-columns:1fr;gap:22px}.exclusive-purchase-column{width:min(100%,260px);margin:0 auto}.exclusive-hero-main{padding-top:0}.exclusive-title-row h1{font-size:clamp(28px,9vw,42px)}.exclusive-metrics{grid-template-columns:1fr 1fr}.exclusive-rating-metric{grid-column:1/-1}.exclusive-world-sections{grid-template-columns:1fr}.exclusive-detail-tabs button{min-height:52px;padding:0 14px}}@media (width<=720px){.script-library-legacy .topbar.exclusive-detail-topbar{margin:0;padding-left:14px;padding-right:14px}}@media (prefers-reduced-motion:reduce){.exclusive-detail-page *,.script-library-legacy .book-row .cover-exclusive-buy{scroll-behavior:auto!important;transition-duration:.01ms!important}}html,body,#root{color:var(--kt-text);background-color:var(--kt-bg)!important}body{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}.page,.studio-page,.script-lab-page,.pricing-page,.creator-center-page,.exclusive-detail-page,.my-scripts-page{background:var(--kt-bg)!important;color:var(--kt-text)!important}.topbar,.studio-topbar,.pricing-topbar,.script-lab-topbar,.exclusive-detail-topbar,.script-cat-nav,.pricing-toolbar,.script-subject-toolbar,.script-subject-toolbar-actions{background-color:var(--kt-panel)!important;border-color:var(--kt-border)!important}.studio-workspace,.canvas-shell,.flow-shell,.script-lab-body,.script-lab-sidebar,.script-lab-content,.script-film-page,.script-storyboard-page,.script-shot-page,.my-scripts-shell,.script-content{background-color:var(--kt-canvas)!important}.portal-user-dropdown,.portal-user-button,.user-chip,.login-card,.login-seat-panel,.maintenance-card,.studio-confirm-panel,.history-panel,.history-header,.panel,.libtv-text-node,.node-popover,.canvas-node-menu,.floating-rail,.audio-voice-modal,.image-settings-panel,.image-settings-popover,.video-settings-panel,.video-settings-popover,.model-selector-menu,.reference-text-popover,.video-mention-menu,.wallet-panel,.wallet-dialog,.wallet-modal,.recharge-panel,.recharge-modal,.pay-modal-panel,.pricing-card,.creator-panel,.creator-poster-panel,.creator-stat-card,.creator-modal,.script-list-panel,.script-import-canvas-dialog,.script-dialog,.script-analyze-progress-card,.script-storyboard-side-panel,.script-storyboard-generate-panel,.script-storyboard-history-panel,.script-storyboard-history-card,.script-subject-preview-panel,.script-subject-material-card,.script-subject-material-error-card,.video-enhance-input-panel,.video-estimated-charge-panel,.exclusive-info-card,.exclusive-outline-card,.exclusive-price-card,.exclusive-world-card,.exclusive-single-card,.exclusive-author-card{color:var(--kt-text);background-color:var(--kt-card)!important;border-color:var(--kt-border)!important}.portal-user-button:hover,.studio-user-button:hover,.studio-user-button:focus-visible,.plain-button:hover,.seed-button:hover,.icon-text-button:hover,.studio-ghost:hover,.creator-secondary-button:hover,.creator-back-button:hover,.history-header button:hover,.node-template:hover{background-color:var(--kt-primary-soft)!important;border-color:#7357ff75!important}.login-card,.studio-confirm-panel,.history-panel,.creator-modal,.pay-modal-panel,.wallet-panel,.recharge-panel,.script-analyze-progress-card{box-shadow:0 24px 70px #00000075,inset 0 1px #ffffff0a!important}input,textarea,select,.workflow-name-button,.workflow-name-input{background-color:var(--kt-panel)!important;border-color:var(--kt-border)!important;color:var(--kt-text)!important}input::placeholder,textarea::placeholder{color:var(--kt-muted)!important}input:focus,textarea:focus,select:focus,.workflow-name-input:focus,.workflow-name-button:focus-visible{outline:none;border-color:var(--kt-primary)!important;box-shadow:0 0 0 3px var(--kt-primary-soft)!important}.create-button,.login-submit,.studio-primary,.btn-primary,.creator-primary-button,.script-lab-analyze-button,.script-subject-generate-button,.script-subject-smart-shot-button,.script-storyboard-generate-button,.script-shot-generate-button,.recharge-button:hover,.canvas-toolbar button.active,.studio-confirm-actions button.primary,.login-tabs button.active,.tabs button.active,.history-tabs button.active,.pricing-tabs button.active,.script-lab-tabs button.active,[aria-selected=true]{background:var(--kt-primary)!important;border-color:var(--kt-primary)!important;color:#fff!important}.create-button:hover,.login-submit:hover:not(:disabled),.studio-primary:hover,.btn-primary:hover,.creator-primary-button:hover,.script-lab-analyze-button:hover:not(:disabled),.script-subject-generate-button:hover:not(:disabled),.script-subject-smart-shot-button:hover:not(:disabled),.script-storyboard-generate-button:hover:not(:disabled),.script-shot-generate-button:hover:not(:disabled),.canvas-toolbar button.active:hover,.studio-confirm-actions button.primary:hover,.login-tabs button.active:hover,.tabs button.active:hover,.history-tabs button.active:hover,.pricing-tabs button.active:hover,.script-lab-tabs button.active:hover,[aria-selected=true]:hover{background:var(--kt-primary-hover)!important;border-color:var(--kt-primary-hover)!important;color:#fff!important}.plain-button,.seed-button,.icon-text-button,.studio-ghost,.creator-secondary-button,.creator-back-button,.script-lab-back,.pricing-back,.history-header button,.login-modal-close,.login-seat-close,.pay-modal-close,.wallet-panel button,.recharge-panel button{background-color:var(--kt-card)!important;border-color:var(--kt-border)!important;color:var(--kt-muted)!important}.login-tabs button,.tabs button,.history-tabs button,.pricing-tabs button,.script-lab-tabs button,.canvas-toolbar button{color:var(--kt-muted)}.login-tabs button.active,.tabs button.active,.history-tabs button.active,.pricing-tabs button.active,.script-lab-tabs button.active,.canvas-toolbar button.active{color:#fff!important}.login-card-head h2,.studio-left h1,.panel-heading h2,.history-header strong,.creator-center-header h1,.creator-panel h2,.pricing-card h2,.script-lab-titlebar strong,.script-storyboard-panel-title,.exclusive-title-row h1{color:var(--kt-text)!important}.login-card-head p,.studio-left p,.panel-heading span,.history-header small,.creator-card-label,.creator-eyebrow,.script-lab-top-actions span,.pricing-user,.exclusive-character-setting,.exclusive-excerpt-meta{color:var(--kt-muted)!important}.login-legal-links a,.login-footnote a,.creator-download-link,.script-lab-back:hover,.pricing-back,.topnav a:hover,.topnav button:hover{color:var(--kt-cyan)!important}.login-notice,.system-notice-item.notice,.script-import-toast,.script-lab-automation-status,.pricing-message.success,.pay-result.success,.recharge-result.success{background-color:var(--kt-cyan-soft)!important;color:var(--kt-cyan)!important;border-color:#27d9c775!important}.login-error,.system-notice-item.error,.script-lab-analysis-panel.error,.image-to-image-error,.video-frame-capture-error,.script-shot-error,.creator-error,.pay-result.error,.pricing-message.error{background-color:var(--kt-danger-soft)!important;color:var(--kt-danger)!important;border-color:#ff5d737a!important}.wallet-status.pending,.script-lab-balance-chip,.balance-chip,.credit-badge,.script-subject-charge-badge,.exclusive-badge{color:var(--kt-orange)!important;background-color:var(--kt-orange-soft)!important;border-color:#7357ff75!important}.portal-loading-spinner,.loading-spinner{border-top-color:var(--kt-primary)!important;box-shadow:0 0 24px #7357ff42!important}.wallet-status.paid{color:var(--kt-cyan)!important;background-color:var(--kt-cyan-soft)!important;border-color:#27d9c775!important}.script-analyze-progress-bar span,.script-storyboard-generate-progress i,.fake-progress span{background-color:var(--kt-primary)!important;box-shadow:0 0 24px #7357ff42!important}.meteor-edge-track,.meteor-edge-core,.login-link-line,.flow-shell .react-flow__edge-path,.flow-shell .react-flow__connection-path{stroke:var(--kt-cyan)!important}.script-lab-page{--script-orange:var(--kt-primary);--script-orange-bright:var(--kt-primary-hover);--script-orange-deep:#5e46d7;--script-ink:var(--kt-bg);--script-surface:var(--kt-panel);--script-surface-soft:#161925d6;--script-surface-raised:var(--kt-card);--script-border:#7357ff3d;--script-border-strong:#7357ff85;--script-text:var(--kt-text);--script-muted:#9ca3b8c7;--script-muted-strong:var(--kt-muted)}.script-library-legacy{--bg:var(--kt-bg);--surface:var(--kt-panel);--surface-2:var(--kt-card);--surface-3:#24293a;--ink:var(--kt-text);--text:var(--kt-text);--muted:var(--kt-muted);--line:var(--kt-border);--line-strong:#7357ff7a;--accent:var(--kt-primary);--cyan:var(--kt-cyan);--orange:var(--kt-orange);--rose:var(--kt-danger);--danger:var(--kt-danger);--accent-ink:#fff}.creator-center-page{background:var(--kt-bg)!important}.creator-eyebrow,.creator-card-label{color:var(--kt-cyan)!important}.exclusive-detail-page .exclusive-detail-topbar,.exclusive-detail-page .exclusive-detail-shell,.exclusive-detail-page .exclusive-world-card,.exclusive-detail-page .exclusive-info-card,.exclusive-detail-page .exclusive-outline-card,.exclusive-detail-page .exclusive-price-card{border-color:var(--kt-border)!important}.exclusive-detail-page .exclusive-detail-topbar,.exclusive-detail-page .exclusive-detail-shell{background-color:var(--kt-panel)!important}.exclusive-detail-page .exclusive-detail-tabs button.active,.exclusive-detail-page .exclusive-buyout-button{background:var(--kt-primary)!important;border-color:var(--kt-primary)!important;color:#fff!important}.kaitian-home,.page.kaitian-home,.page.kaitian-home:not(.pricing-page){--kaitian-orange:var(--kt-primary);--kaitian-orange-deep:#5e46d7;background:var(--kt-bg)!important;color:var(--kt-text)!important}.kaitian-home .kaitian-sidebar{background:var(--kt-panel)!important;border-right-color:var(--kt-border)!important}.kaitian-home .kaitian-side-nav a,.kaitian-home .kaitian-side-nav button{color:var(--kt-muted)!important}.kaitian-home .kaitian-side-nav button.active{border-left-color:var(--kt-primary)!important;color:var(--kt-text)!important;background:var(--kt-primary-soft)!important}.studio-page .studio-topbar :where(.icon-text-button,h1,p,.workflow-name-button,.workflow-name-input,.balance-chip,.studio-user-button,.studio-ghost,.studio-primary),.studio-page .studio-topbar :where(.icon-text-button,.workflow-name-button,.workflow-name-input,.balance-chip,.studio-user-button,.studio-ghost,.studio-primary):where(:hover,:focus,:focus-visible,:disabled),.studio-page .studio-topbar :where(button,input) svg{color:#fff!important}@media (width<=640px){.script-lab-page .script-lab-editor{grid-template-rows:auto minmax(0,1fr)}.script-lab-page .script-lab-editor-actions{width:100%;overflow:visible}.script-lab-page .script-lab-word-count{max-width:100%}.script-lab-page .script-lab-analyze-button{width:100%}.studio-page .workflow-name-shell{flex:1 0 100%;width:100%;position:static;top:auto;transform:none}}:where(.studio-page,.script-lab-page,.script-library-legacy,.pricing-page,.creator-center-page,.login-page,.login-page-centered,.kaitian-home){--brand:var(--kt-primary);--brand-strong:var(--kt-primary-hover);--accent:var(--kt-cyan);--orange:var(--kt-orange);--danger:var(--kt-danger);--surface-0:var(--kt-bg);--surface-1:var(--kt-canvas);--surface-2:var(--kt-panel);--surface-3:var(--kt-card);--line:var(--kt-border);--ink:var(--kt-text);--muted:var(--kt-muted)}:where(.studio-page,.script-lab-page,.script-library-legacy,.pricing-page,.creator-center-page){background:var(--kt-bg)!important;color:var(--kt-text)!important}:where(.studio-page,.script-lab-page,.script-library-legacy,.pricing-page,.creator-center-page) :where(button,input,textarea,select,article,section,aside){border-color:var(--kt-border)}:where(.studio-page,.script-lab-page,.script-library-legacy,.pricing-page,.creator-center-page) :where(button,a):hover,:where(.studio-page,.script-lab-page,.script-library-legacy,.pricing-page,.creator-center-page) :where(button,a):focus-visible{color:var(--kt-text)}:where(.studio-page,.script-lab-page,.script-library-legacy,.pricing-page,.creator-center-page) :where(.primary,.is-primary,.active,[aria-selected=true]){--local-accent:var(--kt-primary)}.kaitian-home .home-portal-shell{background:var(--kt-bg)}.kaitian-home .stage.portal-hero{background:var(--kt-canvas);min-height:min(700px,100dvh - 32px);padding-top:64px;padding-bottom:64px}.kaitian-home .home-hero-backdrop{opacity:.48;filter:saturate(.72)contrast(1.02);width:58%;-webkit-mask-image:linear-gradient(90deg,#0000 0%,#000 26% 100%);mask-image:linear-gradient(90deg,#0000 0%,#000 26% 100%)}.kaitian-home .hero-copy-block{width:min(700px,72%)}.kaitian-home .hero-copy-block h1{max-width:660px;font-size:clamp(42px,4.1vw,58px);line-height:1.08}.kaitian-home .hero-desc{max-width:600px;margin-top:16px;font-size:16px;line-height:1.65;color:var(--kt-muted)!important}.kaitian-home .home-mode-tabs{box-shadow:none;background:#161925c7;margin-top:28px}.kaitian-home .home-mode-tabs button.active{color:var(--kt-text)!important;background:var(--kt-primary-soft)!important;border-color:#7357ff85!important}.kaitian-home .home-creation-box{background:#161925e6!important;border-color:#7357ff61!important;box-shadow:0 16px 36px #0003!important}.kaitian-home .home-creation-box button{color:#fff!important;background:var(--kt-primary)!important}.kaitian-home .home-trend-link,.kaitian-home .hero-load-tip,.kaitian-home .home-flow-steps,.kaitian-home .home-hero-pagination{display:none!important}.kaitian-home .home-capabilities,.kaitian-home .home-showcase{max-width:1360px;margin-left:auto;margin-right:auto;padding-left:clamp(24px,4vw,64px);padding-right:clamp(24px,4vw,64px)}.kaitian-home .home-capabilities{padding-top:72px;padding-bottom:72px}.kaitian-home .home-showcase{padding-top:0;padding-bottom:72px}.kaitian-home .home-section-heading{margin-bottom:24px}.kaitian-home .home-section-heading>div>span,.kaitian-home .home-showcase-footer>span{color:var(--kt-cyan)!important}.kaitian-home .home-section-heading h2{letter-spacing:0;font-size:clamp(24px,2.4vw,34px);color:var(--kt-text)!important}.kaitian-home .home-section-heading>p{color:var(--kt-muted)!important}.kaitian-home .home-capability-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.kaitian-home .home-capability-item,.kaitian-home .home-capability-item.featured{border-radius:8px;min-height:220px;border:1px solid var(--kt-border)!important;background:var(--kt-panel)!important;box-shadow:none!important}.kaitian-home .home-capability-item:before{height:2px;background:linear-gradient(90deg, var(--kt-primary), var(--kt-cyan))!important;inset:0 0 auto!important}.kaitian-home .home-capability-item:hover,.kaitian-home .home-capability-item:focus-visible{transform:translateY(-2px);background:var(--kt-card)!important;border-color:#7357ff9e!important}.kaitian-home :is(.portal-brand-logo,.home-footer img),.login-page-centered .login-card-logo{filter:none!important}.kaitian-home .home-capability-icon{color:var(--kt-cyan)!important;background:var(--kt-cyan-soft)!important;border-color:#27d9c761!important}.kaitian-home .home-capability-copy small{color:var(--kt-cyan)!important}.kaitian-home .home-capability-copy h3,.kaitian-home .home-capability-copy p{color:var(--kt-text)!important}.kaitian-home .home-capability-copy p{color:var(--kt-muted)!important}.kaitian-home .home-capability-arrow{color:var(--kt-primary-hover)!important}.kaitian-home .home-showcase-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.kaitian-home .home-work-item,.kaitian-home .home-work-item.featured{border-radius:8px;min-height:260px;border:1px solid var(--kt-border)!important;background:var(--kt-panel)!important;box-shadow:none!important}.kaitian-home .home-work-item:after{background:linear-gradient(#0000 34%,#090a0ff0 100%)!important}.kaitian-home .home-work-copy h3,.kaitian-home .home-work-copy p{color:var(--kt-text)!important}.kaitian-home .home-work-copy p{color:#f5f6fab8!important}@media (width<=1100px){.kaitian-home .home-capability-grid,.kaitian-home .home-showcase-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=680px){.kaitian-home .stage.portal-hero{min-height:640px;padding:48px 20px 44px}.kaitian-home .home-hero-backdrop{opacity:.25;width:100%;-webkit-mask-image:linear-gradient(#000 0%,#0000 84%);mask-image:linear-gradient(#000 0%,#0000 84%)}.kaitian-home .hero-copy-block{width:100%}.kaitian-home .hero-copy-block h1{font-size:clamp(38px,11vw,48px)}.kaitian-home .home-mode-tabs{width:100%}.kaitian-home .home-mode-tabs button{min-width:0;padding-left:8px;padding-right:8px;font-size:12px}.kaitian-home .home-capabilities,.kaitian-home .home-showcase{padding-left:16px;padding-right:16px}.kaitian-home .home-portal-shell{padding-bottom:72px}.kaitian-home .home-capabilities{padding-top:48px;padding-bottom:48px}.kaitian-home .home-capability-grid,.kaitian-home .home-showcase-grid{grid-template-columns:1fr}.kaitian-home .home-capability-item,.kaitian-home .home-capability-item.featured{min-height:180px}}.kaitian-home,.page.kaitian-home,.page.kaitian-home:not(.pricing-page){--kaitian-sidebar-width:104px;min-height:100dvh;overflow-x:clip;background:var(--kt-bg)!important;color:var(--kt-text)!important}.kaitian-home:before,.kaitian-home .kaitian-background-video{display:none}.kaitian-home .kaitian-sidebar{z-index:50;width:var(--kaitian-sidebar-width);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);flex-direction:column;align-items:stretch;min-height:100dvh;padding:18px 12px 14px;display:flex;position:fixed;inset:0 auto 0 0;box-shadow:12px 0 34px #0003;border:0!important;border-right:1px solid var(--kt-border)!important;background:#0e1017f7!important}.kaitian-home .kaitian-brand .portal-brand-logo,.kaitian-home .topbar .portal-brand-logo{object-fit:contain;object-position:center;filter:none;width:100%;height:50px;display:block}.kaitian-home .kaitian-side-nav{gap:6px;width:100%;padding:0;display:grid}.kaitian-home .kaitian-side-nav a,.kaitian-home .kaitian-side-nav button{text-align:center;border:1px solid #0000;border-radius:7px;flex-direction:column;justify-content:center;align-items:center;gap:5px;width:100%;min-width:0;min-height:52px;padding:6px 3px;font-size:12px;font-weight:600;line-height:1.15;text-decoration:none;transition:color .18s,border-color .18s,background .18s;display:flex;color:var(--kt-muted)!important;background:0 0!important}.kaitian-home .kaitian-side-nav a svg,.kaitian-home .kaitian-side-nav button svg{flex:none}.kaitian-home .kaitian-side-nav button.active,.kaitian-home .kaitian-side-nav a:hover,.kaitian-home .kaitian-side-nav a:focus-visible,.kaitian-home .kaitian-side-nav button:hover,.kaitian-home .kaitian-side-nav button:focus-visible{outline:none;color:var(--kt-text)!important;background:var(--kt-primary-soft)!important;border-color:#7357ff57!important}.kaitian-home .kaitian-side-nav button.active svg{color:var(--kt-cyan)}.kaitian-home .kaitian-side-actions{gap:7px;width:100%;margin:auto 0 0;display:grid}.kaitian-home .kaitian-membership-identity{letter-spacing:0;border-radius:6px;width:100%;min-height:28px;padding:5px 4px;font-size:10px}.kaitian-home .kaitian-side-cta,.kaitian-home .kaitian-side-login{border-radius:7px;justify-content:center;align-items:center;gap:5px;width:100%;min-height:40px;padding:6px;font-size:12px;font-weight:700;line-height:1.2;text-decoration:none;display:inline-flex}.kaitian-home .kaitian-side-actions .language-switcher,.kaitian-home .kaitian-side-actions .language-switcher-trigger{width:100%}.kaitian-home .kaitian-side-actions .language-switcher-trigger{justify-content:center;min-height:36px}.kaitian-home .home-portal-shell{width:calc(100% - var(--kaitian-sidebar-width));min-height:100dvh;margin-left:var(--kaitian-sidebar-width)}.kaitian-home .stage.portal-hero{isolation:isolate;background:var(--kt-canvas);align-items:center;width:100%;min-height:min(780px,100dvh - 48px);margin:0;padding:72px max(54px,50% - 680px);display:flex;position:relative;overflow:hidden}.kaitian-home .stage.portal-hero:before{z-index:-1;content:"";background:linear-gradient(90deg, #090a0ffa 0%, #090a0feb 42%, #090a0f6b 70%, #090a0f94 100%), linear-gradient(0deg, var(--kt-canvas) 0%, transparent 26%);display:block;position:absolute;inset:0}.kaitian-home .stage.portal-hero:after{z-index:-1;content:"";background:linear-gradient(90deg, transparent, var(--kt-cyan), var(--kt-primary), transparent);opacity:.7;height:2px;position:absolute;bottom:0;left:42%;right:12%}.kaitian-home .home-hero-backdrop{z-index:-2;object-fit:cover;object-position:center 28%;opacity:.8;filter:saturate(.84)contrast(1.04);width:72%;height:100%;position:absolute;inset:0 0 0 auto}.kaitian-home .hero-copy-block{z-index:2;width:min(790px,65%);max-width:790px;padding:0;position:relative}.kaitian-home .hero-copy-block:before{display:none}.kaitian-home .hero-kicker{letter-spacing:.12em;align-items:center;gap:8px;margin:0 0 18px;font-family:inherit;font-size:12px;font-weight:750;display:inline-flex;color:var(--kt-cyan)!important}.kaitian-home .hero-kicker:before{display:none}.kaitian-home .hero-copy-block h1{letter-spacing:0;white-space:normal;text-shadow:0 12px 42px #0000006b;max-width:740px;margin:0;font-family:inherit;font-size:58px;font-weight:780;line-height:1.12;color:var(--kt-text)!important}.kaitian-home .hero-desc{letter-spacing:0;max-width:680px;margin:18px 0 0;font-size:17px;line-height:1.75;color:#f5f6fac7!important}.kaitian-home .home-mode-tabs{border:1px solid var(--kt-border);background:#161925e0;border-radius:8px;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;margin-top:34px;padding:4px;display:inline-grid;box-shadow:0 18px 44px #0000003d}.kaitian-home .home-mode-tabs button{min-width:142px;min-height:43px;color:var(--kt-muted);background:0 0;border:1px solid #0000;border-radius:6px;justify-content:center;align-items:center;gap:7px;font-size:14px;font-weight:650;transition:color .18s,border-color .18s,background .18s;display:inline-flex}.kaitian-home .home-mode-tabs button:hover,.kaitian-home .home-mode-tabs button:focus-visible{color:var(--kt-text);background:#7357ff1a;outline:none}.kaitian-home .home-mode-tabs button.active{color:#fff;background:var(--kt-primary);border-color:#7357ff85;box-shadow:0 8px 22px #7357ff3d}.kaitian-home .home-creation-box{color:#b3a6ff;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#0e1017f0;border:1px solid #7357ff94;border-radius:8px;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:14px;width:min(760px,100%);min-height:72px;margin-top:14px;padding:9px 10px 9px 20px;display:grid;box-shadow:0 22px 58px #00000061,0 0 0 3px #7357ff14}.kaitian-home .home-creation-box input{width:100%;min-width:0;color:var(--kt-text);font:inherit;background:0 0;border:0;outline:0;font-size:16px}.kaitian-home .home-creation-box input::placeholder{color:#7d8499}.kaitian-home .home-creation-box button{color:#fff;background:var(--kt-primary);border:0;border-radius:7px;justify-content:center;align-items:center;width:50px;height:50px;transition:background .18s,transform .18s;display:inline-flex;box-shadow:0 10px 26px #7357ff47}.kaitian-home .home-creation-box button:hover,.kaitian-home .home-creation-box button:focus-visible{background:var(--kt-primary-hover);outline:none;transform:translateY(-1px)}.kaitian-home .home-trend-link{width:fit-content;max-width:100%;min-height:36px;color:var(--kt-muted);align-items:center;gap:9px;margin-top:12px;font-size:13px;text-decoration:none;display:flex}.kaitian-home .home-trend-link span{color:#041b18;background:var(--kt-cyan);border-radius:4px;flex:none;padding:3px 7px;font-size:11px;font-weight:800}.kaitian-home .home-trend-link strong{text-overflow:ellipsis;white-space:nowrap;font-weight:500;overflow:hidden}.kaitian-home .home-trend-link svg{flex:none;transition:transform .18s}.kaitian-home .home-trend-link:hover,.kaitian-home .home-trend-link:focus-visible{color:var(--kt-text);outline:none}.kaitian-home .home-trend-link:hover svg{transform:translate(3px)}.kaitian-home .home-flow-steps{grid-template-columns:repeat(5,minmax(0,1fr));width:min(760px,100%);margin:34px 0 0;padding:0;list-style:none;display:grid}.kaitian-home .home-flow-steps li{gap:6px;min-width:0;display:grid;position:relative}.kaitian-home .home-flow-steps li:not(:last-child):after{content:"";background:var(--kt-border);height:1px;position:absolute;top:6px;left:30px;right:15px}.kaitian-home .home-flow-steps li span{z-index:1;color:var(--kt-cyan);font-variant-numeric:tabular-nums;font-size:10px;position:relative}.kaitian-home .home-flow-steps li strong{color:#b7bdcf;text-overflow:ellipsis;white-space:nowrap;font-size:12px;font-weight:600;overflow:hidden}.kaitian-home .home-hero-pagination{gap:7px;margin-top:20px;display:flex}.kaitian-home .home-hero-pagination button{background:#4b5061;border:0;border-radius:2px;width:24px;height:3px;min-height:3px;padding:0;transition:width .18s,background .18s}.kaitian-home .home-hero-pagination button.active{background:var(--kt-cyan);width:40px}.kaitian-home .hero-load-tip{margin-top:12px;font-size:12px;display:inline-flex;color:var(--kt-muted)!important}.kaitian-home .home-capabilities,.kaitian-home .home-showcase{padding:86px max(54px,50% - 680px)}.kaitian-home .home-capabilities{background:var(--kt-bg)}.kaitian-home .home-showcase{background:var(--kt-canvas);border-top:1px solid #2a2f42b8}.kaitian-home .home-section-heading{grid-template-columns:minmax(0,1.15fr) minmax(280px,.65fr);align-items:end;gap:48px;margin-bottom:32px;display:grid}.kaitian-home .home-section-heading>div>span{color:var(--kt-cyan);letter-spacing:.12em;margin-bottom:10px;font-size:11px;font-weight:800;display:block}.kaitian-home .home-section-heading h2{max-width:720px;color:var(--kt-text);letter-spacing:0;margin:0;font-size:34px;line-height:1.28}.kaitian-home .home-section-heading>p{max-width:520px;color:var(--kt-muted);margin:0 0 3px;font-size:14px;line-height:1.75}.kaitian-home .home-capability-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;display:grid}.kaitian-home .home-capability-item{isolation:isolate;border:1px solid var(--kt-border);min-width:0;min-height:190px;color:var(--kt-text);background:var(--kt-card);font:inherit;text-align:left;cursor:pointer;border-radius:8px;align-items:flex-end;padding:22px;text-decoration:none;transition:border-color .18s,transform .18s,box-shadow .18s;display:flex;position:relative;overflow:hidden}.kaitian-home .home-capability-item.featured{grid-column:span 2;min-height:250px}.kaitian-home .home-capability-item:before{z-index:-1;content:"";background:linear-gradient(#090a0f1a 5%,#090a0feb 82%);position:absolute;inset:0}.kaitian-home .home-capability-media{z-index:-2;object-fit:cover;opacity:.42;filter:saturate(.72);width:100%;height:100%;transition:opacity .22s,transform .3s;position:absolute;inset:0}.kaitian-home .home-capability-item:hover,.kaitian-home .home-capability-item:focus-visible{border-color:#7357ffb8;outline:none;transform:translateY(-2px);box-shadow:0 14px 32px #0000004d}.kaitian-home .home-capability-item:hover .home-capability-media,.kaitian-home .home-capability-item:focus-visible .home-capability-media{opacity:.55;transform:scale(1.025)}.kaitian-home .home-capability-icon{width:38px;height:38px;color:var(--kt-cyan);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#090a0f8f;border:1px solid #ffffff29;border-radius:7px;justify-content:center;align-items:center;display:inline-flex;position:absolute;top:17px;left:18px}.kaitian-home .home-capability-copy{z-index:1;max-width:calc(100% - 24px);position:relative}.kaitian-home .home-capability-copy small{color:#a89aff;letter-spacing:.08em;font-size:10px;font-weight:800}.kaitian-home .home-capability-copy h3{color:#fff;margin:7px 0 0;font-size:20px;line-height:1.25}.kaitian-home .home-capability-copy p{color:#f5f6fab8;-webkit-line-clamp:2;-webkit-box-orient:vertical;max-width:440px;margin:8px 0 0;font-size:13px;line-height:1.6;display:-webkit-box;overflow:hidden}.kaitian-home .home-capability-arrow{color:#f5f6fa9e;transition:color .18s,transform .18s;position:absolute;bottom:20px;right:18px}.kaitian-home .home-capability-item:hover .home-capability-arrow,.kaitian-home .home-capability-item:focus-visible .home-capability-arrow{color:var(--kt-cyan);transform:translate(3px)}.kaitian-home .home-showcase-heading{margin-bottom:22px}.kaitian-home .home-showcase-toolbar{gap:8px;margin-bottom:20px;padding-bottom:2px;display:flex;overflow-x:auto}.kaitian-home .home-showcase-toolbar button{min-width:78px;min-height:40px;color:var(--kt-muted);background:0 0;border:1px solid #0000;border-radius:7px;flex:none;padding:0 16px;font-size:13px;font-weight:650}.kaitian-home .home-showcase-toolbar button:hover,.kaitian-home .home-showcase-toolbar button:focus-visible{color:var(--kt-text);background:var(--kt-card);outline:none}.kaitian-home .home-showcase-toolbar button.active{color:#fff;background:var(--kt-primary-soft);border-color:#7357ff80}.kaitian-home .home-showcase-grid{grid-template-columns:repeat(4,minmax(0,1fr));grid-auto-rows:240px;gap:12px;min-height:500px;display:grid}.kaitian-home .home-work-item{isolation:isolate;border:1px solid var(--kt-border);background:var(--kt-card);border-radius:8px;min-width:0;position:relative;overflow:hidden}.kaitian-home .home-work-item.featured{grid-area:span 2/span 2}.kaitian-home .home-work-item img{object-fit:cover;width:100%;height:100%;transition:transform .35s,filter .22s}.kaitian-home .home-work-item:after{content:"";background:linear-gradient(#0000 35%,#05060af0 100%);position:absolute;inset:0}.kaitian-home .home-work-item:hover img{filter:saturate(1.08);transform:scale(1.025)}.kaitian-home .home-work-copy{z-index:1;padding:20px;position:absolute;bottom:0;left:0;right:0}.kaitian-home .home-work-copy span{color:var(--kt-cyan);background:#090a0f8f;border:1px solid #27d9c752;border-radius:4px;padding:3px 7px;font-size:10px;font-weight:750;display:inline-flex}.kaitian-home .home-work-copy h3{color:#fff;margin:8px 0 0;font-size:18px;line-height:1.25}.kaitian-home .home-work-item.featured .home-work-copy h3{font-size:28px}.kaitian-home .home-work-copy p{color:#f5f6fab8;max-width:520px;margin:8px 0 0;font-size:13px;line-height:1.6;display:none}.kaitian-home .home-work-item.featured .home-work-copy p{display:block}.kaitian-home .home-showcase-footer{justify-content:space-between;align-items:center;gap:20px;margin-top:22px;display:flex}.kaitian-home .home-showcase-footer>span,.kaitian-home .home-showcase-footer a{align-items:center;gap:7px;display:inline-flex}.kaitian-home .home-showcase-footer>span{color:var(--kt-muted);font-size:12px}.kaitian-home .home-showcase-footer>span svg{color:var(--kt-cyan)}.kaitian-home .home-showcase-footer a{border:1px solid var(--kt-primary);color:#fff;background:var(--kt-primary);border-radius:7px;min-height:42px;padding:0 16px;font-size:13px;font-weight:700;text-decoration:none}.kaitian-home .home-showcase-footer a:hover,.kaitian-home .home-showcase-footer a:focus-visible{background:var(--kt-primary-hover);outline:none}.kaitian-home .home-footer{border-top:1px solid var(--kt-border);background:var(--kt-bg);justify-content:space-between;align-items:center;gap:32px;padding:34px max(54px,50% - 680px);display:flex}.kaitian-home .home-footer>div{align-items:center;gap:20px;display:flex}.kaitian-home .home-footer img{object-fit:contain;width:112px;height:48px}.kaitian-home .home-footer p{color:var(--kt-muted);margin:0;font-size:12px}.kaitian-home .home-footer nav{align-items:center;gap:22px;display:flex}.kaitian-home .home-footer a,.kaitian-home .home-footer button{color:var(--kt-muted);font:inherit;background:0 0;border:0;padding:0;font-size:12px;text-decoration:none}.kaitian-home .home-footer a:hover,.kaitian-home .home-footer a:focus-visible,.kaitian-home .home-footer button:hover,.kaitian-home .home-footer button:focus-visible{color:var(--kt-text);outline:none}@media (width<=1180px){.kaitian-home .stage.portal-hero{padding-left:40px;padding-right:40px}.kaitian-home .hero-copy-block{width:min(760px,78%)}.kaitian-home .hero-copy-block h1{font-size:50px}.kaitian-home .home-capabilities,.kaitian-home .home-showcase,.kaitian-home .home-footer{padding-left:40px;padding-right:40px}.kaitian-home .home-capability-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.kaitian-home .home-capability-item.featured{grid-column:span 1}.kaitian-home .home-showcase-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=820px){.kaitian-home,.page.kaitian-home,.page.kaitian-home:not(.pricing-page){--kaitian-sidebar-width:0px;padding-bottom:76px}.kaitian-home .kaitian-sidebar{width:100%;height:68px;min-height:68px;padding:7px 10px calc(7px + env(safe-area-inset-bottom));flex-direction:row;align-items:center;position:fixed;inset:auto 0 0;border-top:1px solid var(--kt-border)!important;border-right:0!important}.kaitian-home .kaitian-brand,.kaitian-home .kaitian-side-nav>:nth-child(n+5),.kaitian-home .kaitian-side-actions>:not(.kaitian-side-login){display:none}.kaitian-home .kaitian-side-nav{grid-template-columns:repeat(4,minmax(0,1fr));gap:4px;width:80%;display:grid}.kaitian-home .kaitian-side-actions{width:20%;margin:0;display:block}.kaitian-home .kaitian-side-nav a,.kaitian-home .kaitian-side-nav button,.kaitian-home .kaitian-side-login{border-radius:6px;gap:3px;min-height:52px;padding:4px 2px;font-size:10px;color:var(--kt-muted)!important;box-shadow:none!important;background:0 0!important;border:1px solid #0000!important}.kaitian-home .kaitian-side-login{flex-direction:column}.kaitian-home .kaitian-side-login:hover,.kaitian-home .kaitian-side-login:focus-visible{color:var(--kt-text)!important;background:var(--kt-primary-soft)!important;border-color:#7357ff57!important}.kaitian-home .home-portal-shell{width:100%;margin:0}.kaitian-home .stage.portal-hero{align-items:flex-start;min-height:auto;padding:72px 22px 56px}.kaitian-home .stage.portal-hero:before{background:linear-gradient(180deg, #090a0fa8 0%, #090a0ff0 48%, var(--kt-canvas) 100%), linear-gradient(90deg, #090a0fe6, #090a0f5c)}.kaitian-home .home-hero-backdrop{object-position:center 22%;opacity:.54;width:100%;height:430px}.kaitian-home .hero-copy-block{width:100%;max-width:680px}.kaitian-home .hero-copy-block h1{max-width:560px;font-size:42px}.kaitian-home .hero-desc{font-size:16px}.kaitian-home .home-mode-tabs{width:100%;display:grid}.kaitian-home .home-mode-tabs button{min-width:0;padding:0 8px}.kaitian-home .home-section-heading{grid-template-columns:1fr;gap:12px}.kaitian-home .home-capabilities,.kaitian-home .home-showcase{padding:64px 22px}.kaitian-home .home-section-heading h2{font-size:30px}.kaitian-home .home-capability-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.kaitian-home .home-showcase-grid{grid-auto-rows:220px;min-height:0}.kaitian-home .home-work-item.featured{grid-row:span 1}.kaitian-home .home-work-item.featured .home-work-copy h3{font-size:20px}.kaitian-home .home-work-item.featured .home-work-copy p{display:none}.kaitian-home .home-footer{align-items:flex-start;padding:30px 22px}.kaitian-home .home-footer>div{flex-direction:column;align-items:flex-start;gap:8px}.kaitian-home .home-footer nav{flex-wrap:wrap;justify-content:flex-end;gap:16px}}@media (width<=560px){.kaitian-home .stage.portal-hero{padding:48px 16px 46px}.kaitian-home .hero-kicker{letter-spacing:.08em;margin-bottom:14px;font-size:10px}.kaitian-home .hero-copy-block h1{font-size:36px}.kaitian-home .hero-desc{margin-top:14px;font-size:15px;line-height:1.65}.kaitian-home .home-mode-tabs{margin-top:26px}.kaitian-home .home-mode-tabs button{flex-direction:column;gap:3px;min-height:48px;font-size:11px}.kaitian-home .home-creation-box{gap:9px;min-height:64px;padding-left:14px}.kaitian-home .home-creation-box input{font-size:16px}.kaitian-home .home-creation-box button{width:46px;height:46px}.kaitian-home .home-trend-link strong{white-space:normal}.kaitian-home .home-flow-steps{margin-top:28px}.kaitian-home .home-flow-steps li:not(:last-child):after{left:22px;right:8px}.kaitian-home .home-flow-steps li strong{white-space:normal;max-width:54px;font-size:10px}.kaitian-home .home-capabilities,.kaitian-home .home-showcase{padding:52px 16px}.kaitian-home .home-section-heading h2{font-size:26px}.kaitian-home .home-capability-grid,.kaitian-home .home-showcase-grid{grid-template-columns:1fr}.kaitian-home .home-capability-item,.kaitian-home .home-capability-item.featured{min-height:188px}.kaitian-home .home-showcase-grid{grid-auto-rows:260px}.kaitian-home .home-work-item.featured{grid-column:span 1}.kaitian-home .home-showcase-footer,.kaitian-home .home-footer{flex-direction:column;align-items:stretch}.kaitian-home .home-showcase-footer a{justify-content:center}.kaitian-home .home-footer{padding:28px 16px}.kaitian-home .home-footer nav{justify-content:flex-start}}@media (height<=760px) and (width>=821px){.kaitian-home .kaitian-sidebar{overflow-y:auto}.kaitian-home .kaitian-brand{margin-bottom:10px}.kaitian-home .kaitian-side-nav{gap:2px}.kaitian-home .kaitian-side-nav a,.kaitian-home .kaitian-side-nav button{min-height:45px}.kaitian-home .stage.portal-hero{min-height:720px}}.kaitian-home .kaitian-side-nav a:hover,.kaitian-home .kaitian-side-nav a:focus-visible,.kaitian-home .kaitian-side-nav button:hover,.kaitian-home .kaitian-side-nav button:focus-visible{color:var(--kt-text)!important;background:var(--kt-primary-soft)!important}.kaitian-home .kaitian-membership-identity{color:var(--kt-cyan)!important;background:var(--kt-cyan-soft)!important;box-shadow:none!important;border-color:#27d9c76b!important}.kaitian-home .kaitian-side-cta{border-color:var(--kt-primary)!important;color:#fff!important;background:var(--kt-primary)!important;box-shadow:0 10px 24px #7357ff3d!important}.kaitian-home .kaitian-side-login{border-color:var(--kt-border)!important;color:var(--kt-text)!important;background:var(--kt-card)!important;box-shadow:none!important}.kaitian-home .kaitian-side-cta:hover,.kaitian-home .kaitian-side-cta:focus-visible{border-color:var(--kt-primary-hover)!important;color:#fff!important;background:var(--kt-primary-hover)!important}.kaitian-home .kaitian-side-login:hover,.kaitian-home .kaitian-side-login:focus-visible{border-color:var(--kt-primary)!important;color:var(--kt-text)!important;background:var(--kt-primary-soft)!important}.kaitian-home .hero-kicker{color:var(--kt-cyan)!important}.kaitian-home .hero-kicker:before{background:linear-gradient(90deg, transparent, var(--kt-cyan))!important}.kaitian-home .hero-copy-block h1{color:var(--kt-primary)!important}.kaitian-home .hero-subtitle{color:var(--kt-text)!important}.kaitian-home .hero-desc{color:#f5f6facc!important}.kaitian-home .portal-hero .outline-action,.kaitian-home .portal-hero .outline-action.primary,.kaitian-home .portal-hero .outline-action.secondary{border-color:var(--kt-border)!important;color:var(--kt-primary)!important;background:#161925b8!important;box-shadow:inset 0 0 0 1px #7357ff1f!important}.kaitian-home .portal-hero .outline-action:hover,.kaitian-home .portal-hero .outline-action:focus-visible,.kaitian-home .portal-hero .outline-action.secondary:hover,.kaitian-home .portal-hero .outline-action.secondary:focus-visible{border-color:var(--kt-primary)!important;color:var(--kt-text)!important;background:var(--kt-primary-soft)!important}.login-page.login-page-centered{background:var(--kt-bg)!important;color:var(--kt-text)!important}.login-page.login-page-centered:before{background:radial-gradient(circle at 50% 18%,#7357ff29,#0000 38%),linear-gradient(#090a0fd6,#090a0ffa)!important}.login-page-centered .login-card{background:var(--kt-card)!important}.login-page-centered .login-card-head h2{color:var(--kt-text)!important}.login-page-centered .login-tabs{border-color:var(--kt-border)!important;background:var(--kt-panel)!important}.login-page-centered .login-tabs button{color:var(--kt-muted)!important}.login-page-centered .login-tabs button.active{color:#fff!important;background:var(--kt-primary)!important;box-shadow:none!important}.login-page-centered .login-field>div{border-color:var(--kt-border)!important;background:var(--kt-panel)!important}.login-page-centered .login-field>div:focus-within{border-color:var(--kt-primary)!important;background:var(--kt-panel)!important;box-shadow:0 0 0 3px var(--kt-primary-soft)!important}.login-page-centered .login-field svg,.login-page-centered .code-button{color:var(--kt-cyan)!important}.login-page-centered .code-button{background:var(--kt-cyan-soft)!important;border-color:#27d9c775!important}.login-page-centered .login-submit{color:#fff!important;background:var(--kt-primary)!important;box-shadow:0 12px 28px #7357ff47!important}.login-page-centered .login-submit:hover:not(:disabled),.login-page-centered .login-submit:focus-visible{color:#fff!important;background:var(--kt-primary-hover)!important}.login-page-centered .login-legal-consent a{color:var(--kt-cyan)!important}.login-page-centered .login-seat-panel{border-color:var(--kt-border)!important;background:var(--kt-card)!important}.kaitian-home .portal-hero .outline-action.primary{border-color:var(--kt-primary)!important;color:#fff!important;background:var(--kt-primary)!important;box-shadow:0 12px 28px #7357ff42!important}.kaitian-home .portal-hero .outline-action.primary:hover,.kaitian-home .portal-hero .outline-action.primary:focus-visible{border-color:var(--kt-primary-hover)!important;color:#fff!important;background:var(--kt-primary-hover)!important}.kaitian-home,.page.kaitian-home,.page.kaitian-home:not(.pricing-page){--kaitian-sidebar-width:80px;min-height:100dvh;overflow-x:clip;background:var(--kt-bg)!important}.kaitian-home .kaitian-sidebar{width:var(--kaitian-sidebar-width)!important;box-shadow:none!important;background:#090a0ff5!important;border-right:1px solid #2a2f42b8!important;padding:16px 8px 12px!important}.kaitian-home .kaitian-brand{width:72px!important;height:58px!important;min-height:58px!important;margin:0 auto 20px!important;padding:0!important}.kaitian-home .kaitian-brand .portal-brand-logo{filter:none!important;width:72px!important;height:58px!important}.kaitian-home .kaitian-side-nav{gap:8px!important}.kaitian-home .kaitian-side-nav a,.kaitian-home .kaitian-side-nav button{letter-spacing:0!important;border-radius:8px!important;gap:5px!important;min-height:58px!important;padding:7px 2px!important;font-size:11px!important;font-weight:550!important}.kaitian-home .kaitian-side-nav button.active,.kaitian-home .kaitian-side-nav a:hover,.kaitian-home .kaitian-side-nav a:focus-visible,.kaitian-home .kaitian-side-nav button:hover,.kaitian-home .kaitian-side-nav button:focus-visible{background:#7357ff24!important;border-color:#7357ff61!important}.kaitian-home .kaitian-nav-secondary,.kaitian-home .kaitian-side-actions{display:none!important}.kaitian-home .home-portal-shell{position:relative;width:calc(100% - var(--kaitian-sidebar-width))!important;margin-left:var(--kaitian-sidebar-width)!important;background:var(--kt-bg)!important;padding-bottom:0!important}.kaitian-home .home-account-bar{z-index:70;align-items:center;gap:8px;display:flex;position:absolute;top:16px;right:24px}.kaitian-home .home-account-bar>button,.kaitian-home .home-account-bar .language-switcher-trigger{min-height:36px;color:var(--kt-muted);box-shadow:none;font:inherit;letter-spacing:0;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:#161925b3;border:1px solid #9ca3b833;border-radius:8px;justify-content:center;align-items:center;gap:6px;padding:0 12px;font-size:12px;font-weight:600;display:inline-flex}.kaitian-home .home-account-bar>button:hover,.kaitian-home .home-account-bar>button:focus-visible,.kaitian-home .home-account-bar .language-switcher-trigger:hover,.kaitian-home .home-account-bar .language-switcher-trigger:focus-visible{color:var(--kt-text);background:#7357ff21;border-color:#7357ff85;outline:none}.kaitian-home .home-account-bar .home-account-login{border-color:var(--kt-primary);color:#fff;background:var(--kt-primary)}.kaitian-home .home-account-bar .home-account-login:hover,.kaitian-home .home-account-bar .home-account-login:focus-visible{color:#fff;background:var(--kt-primary-hover)}.kaitian-home .stage.portal-hero{justify-content:center;display:flex;position:relative;background:var(--kt-canvas)!important;align-items:center!important;min-height:100dvh!important;padding:96px 40px 190px!important}.kaitian-home .stage.portal-hero:before{z-index:-1!important;background:linear-gradient(#090a0f14 0%,#090a0f05 56%,#090a0fb3 100%),radial-gradient(at 50% 42%,#090a0f52 0%,#090a0f29 46%,#0000 76%)!important}.kaitian-home .stage.portal-hero:after{display:none!important}.kaitian-home .home-hero-backdrop{--hero-backdrop-opacity:.92;will-change:opacity, transform;animation:.9s both home-hero-backdrop-in;object-fit:cover!important;object-position:center center!important;width:100%!important;height:100%!important;opacity:var(--hero-backdrop-opacity)!important;filter:saturate(.94)contrast(1.04)!important;inset:0!important;-webkit-mask-image:none!important;mask-image:none!important}@keyframes home-hero-backdrop-in{0%{opacity:0;transform:scale(1.012)}to{opacity:var(--hero-backdrop-opacity);transform:scale(1)}}.kaitian-home .hero-copy-block{text-align:center;width:min(960px,100%)!important;max-width:960px!important;padding:0!important}.kaitian-home .hero-kicker{justify-content:center;color:var(--kt-cyan)!important;letter-spacing:0!important;margin:0 0 14px!important;font-size:11px!important}.kaitian-home .hero-copy-block h1{max-width:none!important;color:var(--kt-text)!important;letter-spacing:0!important;text-shadow:0 10px 36px #00000075!important;margin:0!important;font-size:52px!important;font-weight:760!important;line-height:1.14!important}.kaitian-home .hero-copy-block h1 span{color:var(--kt-primary-hover)!important}.kaitian-home .hero-desc{color:#f5f6fab3!important;letter-spacing:0!important;max-width:680px!important;margin:14px auto 0!important;font-size:15px!important;line-height:1.7!important}.kaitian-home .home-mode-tabs{grid-template-columns:repeat(3,minmax(0,1fr));width:390px;box-shadow:none!important;background:#161925bd!important;border:1px solid #9ca3b833!important;border-radius:8px!important;gap:3px!important;margin-top:26px!important;padding:3px!important;display:inline-grid!important}.kaitian-home .home-mode-tabs button{min-width:0!important;min-height:38px!important;color:var(--kt-muted)!important;letter-spacing:0!important;border-radius:6px!important;padding:0 10px!important;font-size:13px!important}.kaitian-home .home-mode-tabs button.active{color:var(--kt-text)!important;box-shadow:none!important;background:#7357ff42!important;border-color:#7357ff75!important}.kaitian-home .home-creation-box{text-align:left;background:#090a0fe0!important;border:1px solid #9ca3b838!important;border-radius:8px!important;width:min(880px,100%)!important;min-height:68px!important;margin:12px auto 0!important;padding:8px 9px 8px 18px!important;box-shadow:0 18px 50px #00000047!important}.kaitian-home .home-creation-box:focus-within{border-color:var(--kt-primary)!important;box-shadow:0 0 0 3px #7357ff29!important}.kaitian-home .home-creation-box>svg{color:var(--kt-cyan)!important}.kaitian-home .home-creation-box button{color:#fff!important;background:var(--kt-primary)!important;width:48px!important;height:48px!important;box-shadow:none!important;border-radius:50%!important}.kaitian-home .home-trend-link{justify-content:center;min-height:32px;color:var(--kt-muted)!important;margin:10px auto 0!important;font-size:12px!important;display:inline-flex!important}.kaitian-home .home-trend-link span{color:#061512!important;background:var(--kt-cyan)!important;padding:2px 7px!important}.kaitian-home .home-trend-link strong{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.kaitian-home .home-flow-steps,.kaitian-home .home-hero-pagination,.kaitian-home .hero-load-tip{display:none!important}.kaitian-home .home-capabilities{z-index:8;position:relative;background:0 0!important;width:min(1320px,100% - 48px)!important;max-width:1320px!important;margin:-150px auto 0!important;padding:0 0 64px!important}.kaitian-home .home-capabilities>.home-section-heading{clip:rect(0 0 0 0)!important;clip-path:inset(50%)!important;white-space:nowrap!important;width:1px!important;height:1px!important;position:absolute!important;overflow:hidden!important}.kaitian-home .home-capability-grid{-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);background:#0e1017e6;border:1px solid #2a2f42d6;border-radius:8px;grid-template-rows:repeat(2,1fr);grid-auto-flow:column;min-height:348px;padding:14px;box-shadow:0 22px 54px #00000047;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:10px!important;display:grid!important}.kaitian-home .home-capability-item,.kaitian-home .home-capability-item.featured{background:var(--kt-panel)!important;min-height:0!important;box-shadow:none!important;border:1px solid #9ca3b82e!important;border-radius:8px!important;grid-column:auto!important;padding:18px!important}.kaitian-home .home-capability-item.featured{grid-row:1/span 2!important;padding:22px!important}.kaitian-home .home-capability-item:before{background:#090a0fa3!important;height:auto!important;inset:0!important}.kaitian-home .home-capability-item.featured:before{background:#090a0f85!important}.kaitian-home .home-capability-media{opacity:.68!important;filter:saturate(.72)contrast(1.04)!important}.kaitian-home .home-capability-item:hover,.kaitian-home .home-capability-item:focus-visible{background:var(--kt-panel)!important;border-color:#7357ffb8!important;transform:translateY(-2px)!important}.kaitian-home .home-capability-icon{width:34px!important;height:34px!important;color:var(--kt-cyan)!important;background:#090a0f94!important;border-color:#27d9c757!important;top:16px!important;left:16px!important}.kaitian-home .home-capability-copy{gap:4px!important}.kaitian-home .home-capability-copy small{color:var(--kt-muted)!important;letter-spacing:0!important;font-size:10px!important}.kaitian-home .home-capability-copy h3{color:var(--kt-text)!important;letter-spacing:0!important;margin:0!important;font-size:18px!important;line-height:1.25!important}.kaitian-home .home-capability-item.featured .home-capability-copy h3{font-size:25px!important}.kaitian-home .home-capability-copy p{-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden;color:#f5f6faa3!important;margin:2px 26px 0 0!important;font-size:12px!important;line-height:1.55!important}.kaitian-home .home-capability-arrow{color:var(--kt-primary-hover)!important;bottom:16px!important;right:16px!important}.kaitian-home .home-showcase{background:var(--kt-bg)!important;border-top:0!important;width:min(1320px,100%)!important;max-width:1320px!important;margin:0 auto!important;padding:50px 24px 72px!important}.kaitian-home .home-section-heading{align-items:end!important;gap:32px!important;margin-bottom:22px!important}.kaitian-home .home-section-heading>div>span{color:var(--kt-cyan)!important;letter-spacing:0!important;margin-bottom:8px!important;font-size:10px!important}.kaitian-home .home-section-heading h2{color:var(--kt-text)!important;letter-spacing:0!important;font-size:30px!important}.kaitian-home .home-section-heading>p{color:var(--kt-muted)!important;font-size:13px!important}.kaitian-home .home-showcase-toolbar{margin-bottom:16px;gap:6px!important}.kaitian-home .home-showcase-toolbar button{letter-spacing:0!important;border-radius:7px!important;min-width:66px!important;min-height:36px!important;padding:0 14px!important}.kaitian-home .home-showcase-toolbar button.active{color:#fff!important;background:var(--kt-primary)!important}.kaitian-home .home-showcase-grid{gap:12px!important}.kaitian-home .home-work-item,.kaitian-home .home-work-item.featured{box-shadow:none!important;border-color:#2a2f42f0!important;border-radius:8px!important}.kaitian-home .home-work-copy span{color:var(--kt-cyan)!important}.kaitian-home .home-footer{padding:28px max(32px,50% - 620px)!important}@media (width<=1120px){.kaitian-home .home-account-bar>button span{display:none}.kaitian-home .home-account-bar>button{width:36px;padding:0}.kaitian-home .home-account-bar .home-account-login{width:auto;padding:0 12px}.kaitian-home .home-account-bar .home-account-login span{display:inline}.kaitian-home .home-capability-grid{grid-template-rows:repeat(3,150px);grid-auto-flow:row;grid-template-columns:repeat(3,minmax(0,1fr))!important}.kaitian-home .home-capability-item.featured{grid-row:1/span 2!important}}@media (width<=820px){.kaitian-home,.page.kaitian-home,.page.kaitian-home:not(.pricing-page){--kaitian-sidebar-width:0px;padding-bottom:72px}.kaitian-home .kaitian-sidebar{width:100%!important;padding:7px 10px calc(7px + env(safe-area-inset-bottom))!important}.kaitian-home .kaitian-nav-secondary{display:none!important}.kaitian-home .kaitian-side-actions{display:block!important}.kaitian-home .home-account-bar{display:none}.kaitian-home .home-portal-shell{width:100%!important;margin-left:0!important;padding-bottom:72px!important}.kaitian-home .stage.portal-hero{min-height:100svh!important;padding:72px 20px 110px!important}.kaitian-home .stage.portal-hero:before{background:linear-gradient(#090a0f2e 0%,#090a0f57 60%,#090a0fd1 100%),radial-gradient(at 50% 38%,#090a0f47,#090a0f14 72%)!important}.kaitian-home .home-hero-backdrop{--hero-backdrop-opacity:.88;object-position:center center!important;height:100%!important}.kaitian-home .hero-copy-block h1{font-size:40px!important}.kaitian-home .hero-desc{font-size:14px!important}.kaitian-home .home-capabilities{width:calc(100% - 28px)!important;margin-top:-54px!important;padding-bottom:48px!important}.kaitian-home .home-capability-grid{grid-template-rows:auto;grid-auto-flow:row;min-height:0;padding:10px;grid-template-columns:repeat(2,minmax(0,1fr))!important}.kaitian-home .home-capability-item,.kaitian-home .home-capability-item.featured{grid-area:auto!important;min-height:156px!important}.kaitian-home .home-capability-item.featured{grid-column:1/-1!important;min-height:220px!important}.kaitian-home .home-showcase{padding:40px 16px 56px!important}}@media (prefers-reduced-motion:reduce){.kaitian-home .home-hero-backdrop{will-change:auto;animation:none}}@media (width<=520px){.kaitian-home .stage.portal-hero{min-height:100svh!important;padding:64px 16px 104px!important}.kaitian-home .hero-kicker{margin-bottom:10px!important;font-size:10px!important}.kaitian-home .hero-copy-block h1{font-size:34px!important;line-height:1.2!important}.kaitian-home .hero-copy-block h1 span{margin-top:2px;display:block}.kaitian-home .hero-desc{max-width:340px!important;margin-top:10px!important}.kaitian-home .home-mode-tabs{width:100%;margin-top:20px!important}.kaitian-home .home-mode-tabs button{min-height:36px!important;padding:0 5px!important;font-size:11px!important}.kaitian-home .home-mode-tabs button svg{display:none}.kaitian-home .home-creation-box{grid-template-columns:minmax(0,1fr) auto!important;gap:8px!important;min-height:60px!important;padding:7px 7px 7px 14px!important}.kaitian-home .home-creation-box>svg{display:none}.kaitian-home .home-creation-box input{font-size:14px!important}.kaitian-home .home-creation-box button{width:44px!important;height:44px!important}.kaitian-home .home-trend-link{max-width:100%}.kaitian-home .home-trend-link strong{max-width:220px}.kaitian-home .home-capabilities{width:calc(100% - 24px)!important;margin-top:-38px!important}.kaitian-home .home-capability-grid{grid-template-columns:1fr!important;gap:8px!important}.kaitian-home .home-capability-item,.kaitian-home .home-capability-item.featured{grid-column:auto!important;min-height:144px!important}.kaitian-home .home-capability-item.featured{min-height:210px!important}.kaitian-home .home-section-heading{grid-template-columns:1fr!important;gap:8px!important}.kaitian-home .home-section-heading h2{font-size:26px!important}.kaitian-home .home-showcase-toolbar{grid-template-columns:repeat(4,minmax(0,1fr));display:grid!important}.kaitian-home .home-showcase-toolbar button{min-width:0!important;padding:0 7px!important;font-size:11px!important}}html:has(.kaitian-home){height:100%;overflow:hidden!important}body:has(.kaitian-home){height:100%;overflow:hidden!important}#root:has(.kaitian-home){height:100%;overflow:hidden!important}.kaitian-home,.page.kaitian-home,.page.kaitian-home:not(.pricing-page),.kaitian-home .home-portal-shell,.kaitian-home .stage.portal-hero{height:100dvh!important;min-height:0!important;overflow:hidden!important}@media (width>=821px){.kaitian-home .home-capabilities{bottom:16px;left:24px;right:24px;width:auto!important;max-width:none!important;margin:0!important;padding:0!important;position:absolute!important}.kaitian-home .home-capability-grid{height:188px;background:#0e1017d1!important;grid-template-rows:repeat(2,minmax(0,1fr))!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;grid-auto-flow:column!important;gap:7px!important;min-height:0!important;padding:8px!important}.kaitian-home .home-capability-item,.kaitian-home .home-capability-item.featured{min-height:0!important;padding:10px!important}.kaitian-home .home-capability-item.featured{grid-row:1/span 2!important;padding:12px!important}.kaitian-home .home-capability-icon{width:26px!important;height:26px!important;top:9px!important;left:9px!important}.kaitian-home .home-capability-icon svg{width:15px;height:15px}.kaitian-home .home-capability-copy h3,.kaitian-home .home-capability-item.featured .home-capability-copy h3{font-size:14px!important}.kaitian-home .home-capability-item.featured .home-capability-copy h3{font-size:17px!important}.kaitian-home .home-capability-copy p{-webkit-line-clamp:2!important;margin-top:1px!important;font-size:10px!important;line-height:1.35!important}.kaitian-home .home-capability-arrow{width:14px;height:14px;bottom:9px!important;right:9px!important}}@media (width<=820px){.kaitian-home,.page.kaitian-home,.page.kaitian-home:not(.pricing-page),.kaitian-home .home-portal-shell{height:calc(100svh - 68px)!important;min-height:0!important;padding-bottom:0!important}.kaitian-home .stage.portal-hero{height:calc(100svh - 68px)!important;min-height:0!important;padding:54px 18px 238px!important}.kaitian-home .home-capabilities{bottom:10px;left:12px;right:12px;width:auto!important;margin:0!important;padding:0!important;position:absolute!important}.kaitian-home .home-capability-grid{height:218px;grid-template-rows:repeat(2,minmax(0,1fr))!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;grid-auto-flow:column!important;gap:5px!important;min-height:0!important;padding:6px!important}.kaitian-home .home-capability-item,.kaitian-home .home-capability-item.featured{grid-area:auto!important;min-height:0!important;padding:7px!important}.kaitian-home .home-capability-item.featured{grid-row:1/span 2!important}.kaitian-home .home-capability-icon{width:23px!important;height:23px!important;top:6px!important;left:6px!important}.kaitian-home .home-capability-icon svg{width:13px;height:13px}.kaitian-home .home-capability-copy{max-width:100%!important}.kaitian-home .home-capability-copy small,.kaitian-home .home-capability-copy p{display:none!important}.kaitian-home .home-capability-copy h3,.kaitian-home .home-capability-item.featured .home-capability-copy h3{overflow-wrap:anywhere;font-size:12px!important;line-height:1.2!important}.kaitian-home .home-capability-item.featured .home-capability-copy h3{font-size:15px!important}.kaitian-home .home-capability-arrow{width:12px;height:12px;bottom:6px!important;right:6px!important}}@media (width<=820px) and (height<=720px){.kaitian-home .stage.portal-hero{padding:24px 16px 208px!important}.kaitian-home .hero-kicker{margin-bottom:6px!important;font-size:9px!important}.kaitian-home .hero-copy-block h1{font-size:30px!important;line-height:1.12!important}.kaitian-home .hero-desc{margin-top:6px!important;font-size:12px!important;line-height:1.45!important}.kaitian-home .home-mode-tabs{margin-top:10px!important}.kaitian-home .home-mode-tabs button{min-height:32px!important}.kaitian-home .home-creation-box{min-height:52px!important;margin-top:8px!important}.kaitian-home .home-creation-box button{width:38px!important;height:38px!important}.kaitian-home .home-trend-link{min-height:24px!important;margin-top:5px!important}.kaitian-home .home-capability-grid,.kaitian-home .home-capabilities{height:200px!important}}.react-flow{--xy-edge-stroke-default:#b1b1b7;--xy-edge-stroke-width-default:1;--xy-edge-stroke-selected-default:#555;--xy-connectionline-stroke-default:#b1b1b7;--xy-connectionline-stroke-width-default:1;--xy-attribution-background-color-default:#ffffff80;--xy-minimap-background-color-default:#fff;--xy-minimap-mask-background-color-default:#f0f0f099;--xy-minimap-mask-stroke-color-default:transparent;--xy-minimap-mask-stroke-width-default:1;--xy-minimap-node-background-color-default:#e2e2e2;--xy-minimap-node-stroke-color-default:transparent;--xy-minimap-node-stroke-width-default:2;--xy-background-color-default:transparent;--xy-background-pattern-dots-color-default:#91919a;--xy-background-pattern-lines-color-default:#eee;--xy-background-pattern-cross-color-default:#e2e2e2;background-color:var(--xy-background-color,var(--xy-background-color-default));--xy-node-color-default:inherit;--xy-node-border-default:1px solid #1a192b;--xy-node-background-color-default:#fff;--xy-node-group-background-color-default:#f0f0f040;--xy-node-boxshadow-hover-default:0 1px 4px 1px #00000014;--xy-node-boxshadow-selected-default:0 0 0 .5px #1a192b;--xy-node-border-radius-default:3px;--xy-handle-background-color-default:#1a192b;--xy-handle-border-color-default:#fff;--xy-selection-background-color-default:#0059dc14;--xy-selection-border-default:1px dotted #0059dccc;--xy-controls-button-background-color-default:#fefefe;--xy-controls-button-background-color-hover-default:#f4f4f4;--xy-controls-button-color-default:inherit;--xy-controls-button-color-hover-default:inherit;--xy-controls-button-border-color-default:#eee;--xy-controls-box-shadow-default:0 0 2px 1px #00000014;--xy-edge-label-background-color-default:#fff;--xy-edge-label-color-default:inherit;--xy-resize-background-color-default:#3367d9;direction:ltr}.react-flow.dark{--xy-edge-stroke-default:#3e3e3e;--xy-edge-stroke-width-default:1;--xy-edge-stroke-selected-default:#727272;--xy-connectionline-stroke-default:#b1b1b7;--xy-connectionline-stroke-width-default:1;--xy-attribution-background-color-default:#96969640;--xy-minimap-background-color-default:#141414;--xy-minimap-mask-background-color-default:#3c3c3c99;--xy-minimap-mask-stroke-color-default:transparent;--xy-minimap-mask-stroke-width-default:1;--xy-minimap-node-background-color-default:#2b2b2b;--xy-minimap-node-stroke-color-default:transparent;--xy-minimap-node-stroke-width-default:2;--xy-background-color-default:#141414;--xy-background-pattern-dots-color-default:#777;--xy-background-pattern-lines-color-default:#777;--xy-background-pattern-cross-color-default:#777;--xy-node-color-default:#f8f8f8;--xy-node-border-default:1px solid #3c3c3c;--xy-node-background-color-default:#1e1e1e;--xy-node-group-background-color-default:#f0f0f040;--xy-node-boxshadow-hover-default:0 1px 4px 1px #ffffff14;--xy-node-boxshadow-selected-default:0 0 0 .5px #999;--xy-handle-background-color-default:#bebebe;--xy-handle-border-color-default:#1e1e1e;--xy-selection-background-color-default:#c8c8dc14;--xy-selection-border-default:1px dotted #c8c8dccc;--xy-controls-button-background-color-default:#2b2b2b;--xy-controls-button-background-color-hover-default:#3e3e3e;--xy-controls-button-color-default:#f8f8f8;--xy-controls-button-color-hover-default:#fff;--xy-controls-button-border-color-default:#5b5b5b;--xy-controls-box-shadow-default:0 0 2px 1px #00000014;--xy-edge-label-background-color-default:#141414;--xy-edge-label-color-default:#f8f8f8}.react-flow__background{background-color:var(--xy-background-color-props,var(--xy-background-color,var(--xy-background-color-default)));pointer-events:none;z-index:-1}.react-flow__container{width:100%;height:100%;position:absolute;top:0;left:0}.react-flow__pane{z-index:1}.react-flow__pane.draggable{cursor:grab}.react-flow__pane.dragging{cursor:grabbing}.react-flow__pane.selection{cursor:pointer}.react-flow__viewport{transform-origin:0 0;z-index:2;pointer-events:none}.react-flow__renderer{z-index:4}.react-flow__selection{z-index:6}.react-flow__nodesselection-rect:focus,.react-flow__nodesselection-rect:focus-visible{outline:none}.react-flow__edge-path{stroke:var(--xy-edge-stroke,var(--xy-edge-stroke-default));stroke-width:var(--xy-edge-stroke-width,var(--xy-edge-stroke-width-default));fill:none}.react-flow__connection-path{stroke:var(--xy-connectionline-stroke,var(--xy-connectionline-stroke-default));stroke-width:var(--xy-connectionline-stroke-width,var(--xy-connectionline-stroke-width-default));fill:none}.react-flow .react-flow__edges{position:absolute}.react-flow .react-flow__edges svg{pointer-events:none;position:absolute;overflow:visible}.react-flow__edge{pointer-events:visibleStroke}.react-flow__edge.selectable{cursor:pointer}.react-flow__edge.animated path{stroke-dasharray:5;animation:.5s linear infinite dashdraw}.react-flow__edge.animated path.react-flow__edge-interaction{stroke-dasharray:none;animation:none}.react-flow__edge.inactive{pointer-events:none}.react-flow__edge.selected,.react-flow__edge:focus,.react-flow__edge:focus-visible{outline:none}.react-flow__edge.selected .react-flow__edge-path,.react-flow__edge.selectable:focus .react-flow__edge-path,.react-flow__edge.selectable:focus-visible .react-flow__edge-path{stroke:var(--xy-edge-stroke-selected,var(--xy-edge-stroke-selected-default))}.react-flow__edge-textwrapper{pointer-events:all}.react-flow__edge .react-flow__edge-text{pointer-events:none;-webkit-user-select:none;user-select:none}.react-flow__arrowhead polyline{stroke:var(--xy-edge-stroke,var(--xy-edge-stroke-default))}.react-flow__arrowhead polyline.arrowclosed{fill:var(--xy-edge-stroke,var(--xy-edge-stroke-default))}.react-flow__connection{pointer-events:none}.react-flow__connection .animated{stroke-dasharray:5;animation:.5s linear infinite dashdraw}svg.react-flow__connectionline{z-index:1001;position:absolute;overflow:visible}.react-flow__nodes{pointer-events:none;transform-origin:0 0}.react-flow__node{-webkit-user-select:none;user-select:none;pointer-events:all;transform-origin:0 0;box-sizing:border-box;cursor:default;position:absolute}.react-flow__node.selectable{cursor:pointer}.react-flow__node.draggable{cursor:grab;pointer-events:all}.react-flow__node.draggable.dragging{cursor:grabbing}.react-flow__nodesselection{z-index:3;transform-origin:0 0;pointer-events:none}.react-flow__nodesselection-rect{pointer-events:all;cursor:grab;position:absolute}.react-flow__handle{pointer-events:none;background-color:var(--xy-handle-background-color,var(--xy-handle-background-color-default));border:1px solid var(--xy-handle-border-color,var(--xy-handle-border-color-default));border-radius:100%;width:6px;min-width:5px;height:6px;min-height:5px;position:absolute}.react-flow__handle.connectingfrom{pointer-events:all}.react-flow__handle.connectionindicator{pointer-events:all;cursor:crosshair}.react-flow__handle-bottom{top:auto;bottom:0;left:50%;transform:translate(-50%,50%)}.react-flow__handle-top{top:0;left:50%;transform:translate(-50%,-50%)}.react-flow__handle-left{top:50%;left:0;transform:translate(-50%,-50%)}.react-flow__handle-right{top:50%;right:0;transform:translate(50%,-50%)}.react-flow__edgeupdater{cursor:move;pointer-events:all}.react-flow__pane.selection .react-flow__panel{pointer-events:none}.react-flow__panel{z-index:5;margin:15px;position:absolute}.react-flow__panel.top{top:0}.react-flow__panel.bottom{bottom:0}.react-flow__panel.top.center,.react-flow__panel.bottom.center{left:50%;transform:translate(-15px)translate(-50%)}.react-flow__panel.left{left:0}.react-flow__panel.right{right:0}.react-flow__panel.left.center,.react-flow__panel.right.center{top:50%;transform:translateY(-15px)translateY(-50%)}.react-flow__attribution{background:var(--xy-attribution-background-color,var(--xy-attribution-background-color-default));margin:0;padding:2px 3px;font-size:10px}.react-flow__attribution a{color:#999;text-decoration:none}@keyframes dashdraw{0%{stroke-dashoffset:10px}}.react-flow__edgelabel-renderer{pointer-events:none;-webkit-user-select:none;user-select:none;width:100%;height:100%;position:absolute;top:0;left:0}.react-flow__viewport-portal{-webkit-user-select:none;user-select:none;width:100%;height:100%;position:absolute;top:0;left:0}.react-flow__minimap{background:var(--xy-minimap-background-color-props,var(--xy-minimap-background-color,var(--xy-minimap-background-color-default)))}.react-flow__minimap-svg{display:block}.react-flow__minimap-mask{fill:var(--xy-minimap-mask-background-color-props,var(--xy-minimap-mask-background-color,var(--xy-minimap-mask-background-color-default)));stroke:var(--xy-minimap-mask-stroke-color-props,var(--xy-minimap-mask-stroke-color,var(--xy-minimap-mask-stroke-color-default)));stroke-width:var(--xy-minimap-mask-stroke-width-props,var(--xy-minimap-mask-stroke-width,var(--xy-minimap-mask-stroke-width-default)))}.react-flow__minimap-node{fill:var(--xy-minimap-node-background-color-props,var(--xy-minimap-node-background-color,var(--xy-minimap-node-background-color-default)));stroke:var(--xy-minimap-node-stroke-color-props,var(--xy-minimap-node-stroke-color,var(--xy-minimap-node-stroke-color-default)));stroke-width:var(--xy-minimap-node-stroke-width-props,var(--xy-minimap-node-stroke-width,var(--xy-minimap-node-stroke-width-default)))}.react-flow__background-pattern.dots{fill:var(--xy-background-pattern-color-props,var(--xy-background-pattern-color,var(--xy-background-pattern-dots-color-default)))}.react-flow__background-pattern.lines{stroke:var(--xy-background-pattern-color-props,var(--xy-background-pattern-color,var(--xy-background-pattern-lines-color-default)))}.react-flow__background-pattern.cross{stroke:var(--xy-background-pattern-color-props,var(--xy-background-pattern-color,var(--xy-background-pattern-cross-color-default)))}.react-flow__controls{box-shadow:var(--xy-controls-box-shadow,var(--xy-controls-box-shadow-default));flex-direction:column;display:flex}.react-flow__controls.horizontal{flex-direction:row}.react-flow__controls-button{background:var(--xy-controls-button-background-color,var(--xy-controls-button-background-color-default));border:none;border-bottom:1px solid var(--xy-controls-button-border-color-props,var(--xy-controls-button-border-color,var(--xy-controls-button-border-color-default)));width:26px;height:26px;color:var(--xy-controls-button-color-props,var(--xy-controls-button-color,var(--xy-controls-button-color-default)));cursor:pointer;-webkit-user-select:none;user-select:none;justify-content:center;align-items:center;padding:4px;display:flex}.react-flow__controls-button svg{fill:currentColor;width:100%;max-width:12px;max-height:12px}.react-flow__edge.updating .react-flow__edge-path{stroke:#777}.react-flow__edge-text{font-size:10px}.react-flow__node.selectable:focus,.react-flow__node.selectable:focus-visible{outline:none}.react-flow__node-input,.react-flow__node-default,.react-flow__node-output,.react-flow__node-group{border-radius:var(--xy-node-border-radius,var(--xy-node-border-radius-default));width:150px;color:var(--xy-node-color,var(--xy-node-color-default));text-align:center;border:var(--xy-node-border,var(--xy-node-border-default));background-color:var(--xy-node-background-color,var(--xy-node-background-color-default));padding:10px;font-size:12px}.react-flow__node-input.selectable:hover,.react-flow__node-default.selectable:hover,.react-flow__node-output.selectable:hover,.react-flow__node-group.selectable:hover{box-shadow:var(--xy-node-boxshadow-hover,var(--xy-node-boxshadow-hover-default))}.react-flow__node-input.selectable.selected,.react-flow__node-input.selectable:focus,.react-flow__node-input.selectable:focus-visible,.react-flow__node-default.selectable.selected,.react-flow__node-default.selectable:focus,.react-flow__node-default.selectable:focus-visible,.react-flow__node-output.selectable.selected,.react-flow__node-output.selectable:focus,.react-flow__node-output.selectable:focus-visible,.react-flow__node-group.selectable.selected,.react-flow__node-group.selectable:focus,.react-flow__node-group.selectable:focus-visible{box-shadow:var(--xy-node-boxshadow-selected,var(--xy-node-boxshadow-selected-default))}.react-flow__node-group{background-color:var(--xy-node-group-background-color,var(--xy-node-group-background-color-default))}.react-flow__nodesselection-rect,.react-flow__selection{background:var(--xy-selection-background-color,var(--xy-selection-background-color-default));border:var(--xy-selection-border,var(--xy-selection-border-default))}.react-flow__nodesselection-rect:focus,.react-flow__nodesselection-rect:focus-visible,.react-flow__selection:focus,.react-flow__selection:focus-visible{outline:none}.react-flow__controls-button:hover{background:var(--xy-controls-button-background-color-hover-props,var(--xy-controls-button-background-color-hover,var(--xy-controls-button-background-color-hover-default)));color:var(--xy-controls-button-color-hover-props,var(--xy-controls-button-color-hover,var(--xy-controls-button-color-hover-default)))}.react-flow__controls-button:disabled{pointer-events:none}.react-flow__controls-button:disabled svg{fill-opacity:.4}.react-flow__controls-button:last-child{border-bottom:none}.react-flow__controls.horizontal .react-flow__controls-button{border-bottom:none;border-right:1px solid var(--xy-controls-button-border-color-props,var(--xy-controls-button-border-color,var(--xy-controls-button-border-color-default)))}.react-flow__controls.horizontal .react-flow__controls-button:last-child{border-right:none}.react-flow__resize-control{position:absolute}.react-flow__resize-control.left,.react-flow__resize-control.right{cursor:ew-resize}.react-flow__resize-control.top,.react-flow__resize-control.bottom{cursor:ns-resize}.react-flow__resize-control.top.left,.react-flow__resize-control.bottom.right{cursor:nwse-resize}.react-flow__resize-control.bottom.left,.react-flow__resize-control.top.right{cursor:nesw-resize}.react-flow__resize-control.handle{background-color:var(--xy-resize-background-color,var(--xy-resize-background-color-default));border:1px solid #fff;border-radius:1px;width:5px;height:5px;translate:-50% -50%}.react-flow__resize-control.handle.left{top:50%;left:0}.react-flow__resize-control.handle.right{top:50%;left:100%}.react-flow__resize-control.handle.top{top:0;left:50%}.react-flow__resize-control.handle.bottom{top:100%;left:50%}.react-flow__resize-control.handle.top.left,.react-flow__resize-control.handle.bottom.left{left:0}.react-flow__resize-control.handle.top.right,.react-flow__resize-control.handle.bottom.right{left:100%}.react-flow__resize-control.line{border-color:var(--xy-resize-background-color,var(--xy-resize-background-color-default));border-style:solid;border-width:0}.react-flow__resize-control.line.left,.react-flow__resize-control.line.right{width:1px;height:100%;top:0;transform:translate(-50%)}.react-flow__resize-control.line.left{border-left-width:1px;left:0}.react-flow__resize-control.line.right{border-right-width:1px;left:100%}.react-flow__resize-control.line.top,.react-flow__resize-control.line.bottom{width:100%;height:1px;left:0;transform:translateY(-50%)}.react-flow__resize-control.line.top{border-top-width:1px;top:0}.react-flow__resize-control.line.bottom{border-bottom-width:1px;top:100%}.react-flow__edge-textbg{fill:var(--xy-edge-label-background-color,var(--xy-edge-label-background-color-default))}.react-flow__edge-text{fill:var(--xy-edge-label-color,var(--xy-edge-label-color-default))}.production-agent-panel{z-index:60;color:#e5ecff;-webkit-backdrop-filter:blur(22px);backdrop-filter:blur(22px);touch-action:none;-webkit-user-select:none;user-select:none;background:radial-gradient(circle at 20% 0,#7d5cff38,#0000 34%),linear-gradient(#0f172afa,#020617fa);border:1px solid #94a3b838;border-radius:28px;grid-template-rows:auto minmax(320px,1fr) auto;width:min(460px,100vw - 96px);max-height:calc(100dvh - 128px);display:grid;position:absolute;top:24px;right:24px;overflow:hidden;box-shadow:0 28px 80px #0206176b}.production-agent-panel.dragging,.production-agent-panel.resizing{transition:none}.production-agent-panel.dragging{cursor:grabbing}.production-agent-header,.production-agent-composer{padding:16px}.production-agent-header{cursor:grab;touch-action:none;-webkit-user-select:none;user-select:none;border-bottom:1px solid #94a3b824;justify-content:space-between;align-items:center;display:flex}.production-agent-header:active{cursor:grabbing}.production-agent-title{align-items:center;gap:12px;display:flex}.production-agent-title strong{color:#f8fafc;font-size:16px;display:block}.production-agent-title small,.production-agent-context span,.production-agent-progress-item small,.production-agent-card-heading span,.production-agent-plan-grid span,.production-agent-shot-list small,.production-agent-model-row span{color:#94a3b8;font-size:12px}.production-agent-fixed-model{text-align:center;background:#0f172ac7;border:1px solid #94a3b82e;border-radius:16px;flex:180px;justify-content:center;align-items:center;min-width:0;min-height:44px;padding:0 12px;display:flex}.production-agent-fixed-model strong{color:#e2e8f0;overflow-wrap:anywhere;font-size:13px;font-weight:600;line-height:1.35}.production-agent-logo,.production-agent-progress-item>span{color:#fff;background:linear-gradient(135deg,#7357ff,#06b6d4);border-radius:14px;flex:none;place-items:center;width:36px;height:36px;display:inline-grid;box-shadow:0 12px 28px #4f46e547}.production-agent-icon-button,.production-agent-model-row button,.production-agent-input-row button{color:#dbeafe;cursor:pointer;background:#0f172ac7;border:0;border-radius:16px;place-items:center;min-width:44px;min-height:44px;transition:transform .16s,background .16s,border-color .16s;display:inline-grid}.production-agent-icon-button:hover,.production-agent-model-row button:hover:not(:disabled),.production-agent-input-row button:hover:not(:disabled),.production-agent-quick-list button:hover{background:#1e293bf5;transform:translateY(-1px)}.production-agent-context{border-bottom:1px solid #94a3b824;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding:14px 16px;display:grid}.production-agent-context div{background:#0f172a8f;border:1px solid #94a3b824;border-radius:16px;min-width:0;padding:10px}.production-agent-context strong{color:#f8fafc;text-overflow:ellipsis;white-space:nowrap;margin-top:4px;font-size:13px;display:block;overflow:hidden}.production-agent-body{scrollbar-width:thin;scrollbar-color:#94a3b85c transparent;border-bottom:1px solid #94a3b824;min-height:320px;padding:16px;overflow-y:auto}.production-agent-intent-card,.production-agent-progress-card,.production-agent-plan-card,.production-agent-budget-card,.production-agent-script-card,.production-agent-shot-card{display:none}.production-agent-card,.production-agent-progress-card,.production-agent-error{background:#0f172aad;border:1px solid #94a3b824;border-radius:22px;box-shadow:inset 0 1px #ffffff0a}.production-agent-card,.production-agent-error{padding:14px}.production-agent-card+.production-agent-card,.production-agent-progress-card,.production-agent-messages,.production-agent-error{margin-top:12px}.production-agent-card-heading{color:#bfdbfe;align-items:center;gap:8px;margin-bottom:10px;display:flex}.production-agent-card-heading strong{color:#f8fafc;flex:1;font-size:14px}.production-agent-card p{color:#cbd5e1;margin:0;font-size:13px;line-height:1.65}.production-agent-quick-list{gap:8px;margin-top:12px;display:grid}.production-agent-quick-list button{color:#dbeafe;text-align:left;cursor:pointer;background:#082f4961;border:1px solid #7dd3fc2e;border-radius:16px;padding:10px 12px;font-size:12px;line-height:1.5}.production-agent-progress-card{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding:12px;display:grid}.production-agent-progress-item{grid-template-columns:30px 1fr;align-items:center;gap:2px 8px;display:grid}.production-agent-progress-item>span{color:#94a3b8;width:30px;height:30px;box-shadow:none;background:#334155e6;border-radius:12px;grid-row:span 2}.production-agent-progress-item.done>span{color:#27d9c7;background:#27d9c72e}.production-agent-progress-item.running>span{color:#93c5fd;background:#3b82f633}.production-agent-progress-item.running svg,.production-agent-input-row button:disabled svg,.production-agent-primary-action:disabled svg{animation:.9s linear infinite production-agent-spin}.production-agent-progress-item strong{color:#f8fafc;font-size:12px}.production-agent-messages{gap:10px;margin-top:0;display:grid}.production-agent-message{box-sizing:border-box;color:#e2e8f0;background:#1e293be0;border-radius:18px;justify-self:start;width:min(88%,360px);max-width:88%;padding:11px 13px}.production-agent-message.user{color:#fff;background:linear-gradient(135deg,#5e46d7,#5e46d7);justify-self:end}.production-agent-message p{white-space:pre-wrap;overflow-wrap:anywhere;word-break:break-word;margin:0;font-size:13px;line-height:1.6}.production-agent-message.pending{opacity:.82}.production-agent-plan-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-bottom:12px;display:grid}.production-agent-plan-grid div,.production-agent-character-list div,.production-agent-shot-list article{background:#02061742;border:1px solid #94a3b81f;border-radius:16px;min-width:0}.production-agent-plan-grid div{padding:9px}.production-agent-plan-grid strong{color:#f8fafc;text-overflow:ellipsis;white-space:nowrap;margin-top:3px;font-size:13px;display:block;overflow:hidden}.production-agent-tag-row{flex-wrap:wrap;gap:7px;margin:12px 0;display:flex}.production-agent-tag-row span{color:#99f6e4;background:#14b8a61a;border:1px solid #2dd4bf2e;border-radius:999px;padding:5px 9px;font-size:12px}.production-agent-character-list{gap:8px;display:grid}.production-agent-character-list div{padding:10px}.production-agent-character-list strong,.production-agent-shot-list strong{color:#f8fafc;font-size:13px;display:block}.production-agent-character-list span{color:#93c5fd;margin:3px 0 5px;font-size:12px;display:block}.production-agent-budget-row{background:#02061752;border-radius:16px;justify-content:space-between;align-items:center;margin:12px 0;padding:12px;display:flex}.production-agent-budget-row span{color:#94a3b8;font-size:13px}.production-agent-budget-row strong{color:#7357ff;font-size:18px}.production-agent-primary-action{color:#fff;cursor:pointer;background:linear-gradient(135deg,#14b8a6,#5e46d7);border:0;border-radius:16px;justify-content:center;align-items:center;gap:8px;width:100%;min-height:46px;font-weight:700;display:inline-flex}.production-agent-primary-action:disabled,.production-agent-input-row button:disabled,.production-agent-model-row button:disabled,.production-agent-input-row textarea:disabled,.production-agent-model-row select:disabled{cursor:not-allowed;opacity:.58}.production-agent-script-card pre{color:#dbeafe;white-space:pre-wrap;max-height:260px;margin:0;font-family:inherit;font-size:12px;line-height:1.7;overflow:auto}.production-agent-shot-list{gap:8px;display:grid}.production-agent-shot-list article{padding:10px}.production-agent-shot-list p{margin:5px 0}.production-agent-more{color:#94a3b8!important;margin-top:10px!important}.production-agent-error{color:#ff5d73;background:#7f1d1d3d;border-color:#f871713d;font-size:13px;line-height:1.55}.production-agent-composer{background:#02061785;border-top:1px solid #94a3b824}.production-agent-model-row{flex-wrap:wrap;align-items:center;gap:10px;margin-bottom:10px;display:flex}.production-agent-model-row label{flex:1;gap:5px;display:grid}.production-agent-model-row select,.production-agent-input-row textarea{color:#f8fafc;background:#0f172ae0;border:1px solid #94a3b82e;border-radius:14px;outline:none;width:100%}.production-agent-model-row select{min-height:38px;padding:0 10px}.production-agent-model-row button{color:#bfdbfe;padding:0 12px;font-size:13px}.production-agent-input-row{grid-template-columns:1fr 48px;align-items:stretch;gap:10px;display:grid}.production-agent-input-row textarea{resize:none;min-height:82px;padding:11px 12px;font-size:13px;line-height:1.55}.production-agent-input-row textarea,.production-agent-model-row select,.production-agent-auth-prompt p,.production-agent-body{-webkit-user-select:text;user-select:text;touch-action:auto}.production-agent-input-row textarea:focus,.production-agent-model-row select:focus,.production-agent-quick-list button:focus-visible,.production-agent-icon-button:focus-visible,.production-agent-primary-action:focus-visible,.production-agent-model-row button:focus-visible,.production-agent-input-row button:focus-visible{border-color:#60a5facc;box-shadow:0 0 0 3px #3b82f638}.production-agent-input-row button{color:#fff;background:linear-gradient(135deg,#5e46d7,#5e46d7)}.production-agent-auth-overlay{z-index:5;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#020617b8;place-items:center;padding:18px;display:grid;position:absolute;inset:0}.production-agent-auth-dialog{background:radial-gradient(circle at 20% 0,#7357ff2e,#0000 34%),linear-gradient(#0f172afa,#020617fa);border:1px solid #7357ff47;border-radius:24px;width:min(360px,100%);padding:16px;box-shadow:0 24px 80px #00000073}.production-agent-auth-field,.production-agent-auth-cost{background:#0f172ab8;border-radius:16px;justify-content:space-between;align-items:center;gap:12px;margin-bottom:10px;padding:12px;display:flex}.production-agent-auth-field span,.production-agent-auth-cost span,.production-agent-auth-list span{color:#27d9c7;font-size:12px}.production-agent-auth-field strong,.production-agent-auth-cost strong{color:#7357ff;text-align:right;font-size:14px}.production-agent-auth-prompt{background:#0f172ab8;border:1px solid #60a5fa2e;border-radius:16px;margin-bottom:10px;padding:12px}.production-agent-auth-prompt span{color:#93c5fd;margin-bottom:7px;font-size:12px;display:block}.production-agent-auth-prompt p{color:#e0f2fe;white-space:pre-wrap;max-height:180px;margin:0;font-size:12px;line-height:1.65;overflow-y:auto}.production-agent-auth-list{gap:8px;display:grid}.production-agent-auth-list article{background:#0f172aad;border:1px solid #7357ff29;border-radius:16px;padding:10px}.production-agent-auth-list strong{color:#f8fafc;font-size:13px;display:block}.production-agent-auth-list p{color:#cbd5e1;margin:5px 0 0;font-size:12px;line-height:1.55}.production-agent-auth-actions{grid-template-columns:1fr 1.4fr;gap:10px;margin-top:12px;display:grid}.production-agent-auth-actions button{color:#dbeafe;cursor:pointer;background:#1e293bf5;border:0;border-radius:14px;min-height:42px}.production-agent-auth-actions button.primary{color:#fff;background:linear-gradient(135deg,#7357ff,#ff5d73);font-weight:700}.production-agent-auth-actions button:disabled{cursor:not-allowed;opacity:.58}.production-agent-resize-handle{z-index:8;touch-action:none;background:0 0;display:block;position:absolute}.production-agent-resize-handle.n,.production-agent-resize-handle.s{cursor:ns-resize;height:12px;left:24px;right:24px}.production-agent-resize-handle.n{top:-6px}.production-agent-resize-handle.s{bottom:-6px}.production-agent-resize-handle.e,.production-agent-resize-handle.w{cursor:ew-resize;width:12px;top:24px;bottom:24px}.production-agent-resize-handle.e{right:-6px}.production-agent-resize-handle.w{left:-6px}.production-agent-resize-handle.ne,.production-agent-resize-handle.nw,.production-agent-resize-handle.se,.production-agent-resize-handle.sw{width:28px;height:28px}.production-agent-resize-handle.ne{cursor:nesw-resize;top:-8px;right:-8px}.production-agent-resize-handle.nw{cursor:nwse-resize;top:-8px;left:-8px}.production-agent-resize-handle.se{cursor:nwse-resize;bottom:-8px;right:-8px}.production-agent-resize-handle.sw{cursor:nesw-resize;bottom:-8px;left:-8px}.production-agent-resize-handle.se:after,.production-agent-resize-handle.sw:after{content:"";border-bottom:2px solid #93c5fd8c;border-right:2px solid #93c5fd8c;border-radius:1px;width:10px;height:10px;position:absolute;bottom:9px;right:9px}.production-agent-resize-handle.sw:after{border-left:2px solid #93c5fd8c;border-right:0;left:9px;right:auto}@keyframes production-agent-spin{to{transform:rotate(360deg)}}@media (width<=760px){.production-agent-panel{border-radius:24px;width:auto;max-height:calc(100dvh - 72px);inset:auto 12px 12px}.production-agent-context,.production-agent-progress-card,.production-agent-plan-grid{grid-template-columns:1fr}}@media (prefers-reduced-motion:reduce){.production-agent-panel *,.production-agent-panel :before,.production-agent-panel :after{transition-duration:.001ms!important;animation-duration:.001ms!important}}.production-agent-model-row{position:relative;overflow:visible}.production-agent-model-row label{flex:0 60%;max-width:60%}.production-agent-task-menu{flex:none;position:relative}.production-agent-task-trigger{color:#dbeafe;cursor:pointer;background:#0f172ac7;border:0;border-radius:16px;justify-content:center;align-items:center;gap:6px;min-width:86px;min-height:44px;padding:0 12px;font-size:13px;transition:transform .16s,background .16s,box-shadow .16s;display:inline-flex}.production-agent-task-trigger:hover{background:#1e293bf5;transform:translateY(-1px)}.production-agent-task-trigger:focus-visible,.production-agent-task-close:focus-visible,.production-agent-task-dialog-foot button:focus-visible{outline:none;box-shadow:0 0 0 3px #3b82f638}.production-agent-task-trigger em{color:#fff;background:linear-gradient(135deg,#27d9c7,#7357ff);border-radius:999px;place-items:center;min-width:18px;height:18px;padding:0 5px;font-size:11px;font-style:normal;font-weight:700;display:inline-grid}.production-agent-task-dialog{z-index:20;background:radial-gradient(circle at 12% 0,#38bdf82e,#0000 36%),linear-gradient(#0f172afa,#020617fa);border:1px solid #94a3b833;border-radius:22px;width:min(368px,100vw - 48px);position:absolute;bottom:calc(100% + 12px);right:0;overflow:hidden;box-shadow:0 28px 80px #0000007a}.production-agent-task-dialog:after{content:"";background:#020617fa;border-bottom:1px solid #94a3b833;border-right:1px solid #94a3b833;width:12px;height:12px;position:absolute;bottom:-6px;right:34px;transform:rotate(45deg)}.production-agent-task-dialog-head,.production-agent-task-dialog-foot{justify-content:space-between;align-items:center;gap:10px;padding:12px 14px;display:flex}.production-agent-task-dialog-head{border-bottom:1px solid #94a3b81f}.production-agent-task-dialog-head div{gap:3px;display:grid}.production-agent-task-dialog-head strong{color:#f8fafc;font-size:14px}.production-agent-task-dialog-head span,.production-agent-task-dialog-foot span{color:#94a3b8;font-size:12px}.production-agent-task-close,.production-agent-task-dialog-foot button{color:#bfdbfe;cursor:pointer;background:#0f172ab8;border:1px solid #60a5fa2e;border-radius:999px;flex:none;min-height:32px;padding:0 11px;font-size:12px}.production-agent-task-close:hover,.production-agent-task-dialog-foot button:hover:not(:disabled){background:#1e293bf5}.production-agent-task-dialog-foot button:disabled{cursor:not-allowed;opacity:.58}.production-agent-task-rows{scrollbar-width:thin;scrollbar-color:#60a5fa5c transparent;gap:0;max-height:260px;margin:0;padding:0;list-style:none;display:grid;overflow-y:auto}.production-agent-task-row{background:#0f172a6b;border-bottom:1px solid #94a3b81a;grid-template-columns:12px minmax(0,1fr) auto;align-items:center;gap:10px;min-width:0;padding:12px 14px;display:grid}.production-agent-task-row:last-child{border-bottom:0}.production-agent-task-row:hover{background:#1e293b99}.production-agent-task-state{background:#27d9c7;border-radius:999px;width:8px;height:8px;animation:1.2s ease-in-out infinite production-agent-task-pulse;box-shadow:0 0 0 5px #60a5fa24}.production-agent-task-state.completed{background:#27d9c7;animation:none;box-shadow:0 0 0 5px #27d9c724}.production-agent-task-state.failed{background:#ff5d73;animation:none;box-shadow:0 0 0 5px #fb718524}.production-agent-task-row.completed .production-agent-task-row-main span,.production-agent-task-row.completed em{color:#27d9c7}.production-agent-task-row.failed .production-agent-task-row-main span,.production-agent-task-row.failed em{color:#fda4af}.production-agent-task-row-main{gap:4px;min-width:0;display:grid}.production-agent-task-row-main strong{color:#e0f2fe;text-overflow:ellipsis;white-space:nowrap;font-size:13px;line-height:1.3;overflow:hidden}.production-agent-task-row-main span,.production-agent-task-row em{color:#93c5fd;font-size:12px;font-style:normal;line-height:1.35}.production-agent-task-row em{color:#bfdbfe;background:#2563eb24;border-radius:999px;padding:5px 8px;font-weight:700}.production-agent-task-progress{background:#1e293be6;border-radius:999px;height:4px;overflow:hidden}.production-agent-task-progress span{border-radius:inherit;background:linear-gradient(90deg,#27d9c7,#7357ff);height:100%;display:block}.production-agent-task-row.kind-shots .production-agent-task-state{background:#27d9c7;box-shadow:0 0 0 5px #27d9c724}.production-agent-task-row.kind-shots .production-agent-task-progress{background:#ffffff14;border:1px solid #27d9c73d;height:8px}.production-agent-task-row.kind-shots .production-agent-task-progress span{background:linear-gradient(90deg,#27d9c7,#27d9c7);transition:width .24s;box-shadow:0 0 16px #27d9c77a}.production-agent-task-row.kind-shots .production-agent-task-row-main strong{color:#f8fafc}.production-agent-task-row.kind-shots .production-agent-task-row-main span,.production-agent-task-row.kind-shots em{color:#27d9c7}.production-agent-task-row.kind-shots em{background:#27d9c71a}.production-agent-task-empty{color:#94a3b8;text-align:center;border:1px dashed #94a3b833;border-radius:16px;margin:12px 14px;padding:18px 12px;font-size:12px;line-height:1.5}.production-agent-task-dialog-foot{border-top:1px solid #94a3b81f}.production-agent-message-attachments{gap:8px;margin-top:10px;display:grid}.production-agent-message-attachment{background:#0206174d;border:1px solid #93c5fd2e;border-radius:14px;margin:0;overflow:hidden}.production-agent-message-attachment img,.production-agent-message-attachment video{object-fit:contain;background:#020617b3;width:100%;max-height:220px;display:block}.production-agent-message-attachment audio{width:100%;padding:8px;display:block}.production-agent-message-attachment figcaption{justify-content:space-between;align-items:center;gap:10px;padding:8px 10px;display:flex}.production-agent-message-attachment figcaption span{color:#dbeafe;text-overflow:ellipsis;white-space:nowrap;font-size:12px;overflow:hidden}.production-agent-message-attachment figcaption a{color:#93c5fd;flex:none;font-size:12px;text-decoration:none}.production-agent-message-attachment figcaption a:hover{color:#bfdbfe;text-decoration:underline}@keyframes production-agent-task-pulse{50%{opacity:.66;transform:scale(.72)}}@media (width<=760px){.production-agent-model-row label{flex-basis:100%;max-width:none}.production-agent-task-dialog{width:min(320px,100vw - 36px);right:-56px}}@media (prefers-reduced-motion:reduce){.production-agent-task-state{animation-duration:.001ms!important}}
