.studio.has-rail.is-conversation .stage{height:100dvh;min-height:0;overflow:hidden;padding:0}.conversation-workspace{--chat-text: #ececf0;--chat-muted: #878995;--chat-line: #ffffff12;--chat-accent: #d9edbc;display:grid;grid-template-columns:228px minmax(0,1fr);height:100%;min-height:0;color:var(--chat-text);background:#101113}.conversation-workspace button,.conversation-workspace select,.conversation-workspace input{font:inherit;color:inherit}.conversation-workspace button,.conversation-workspace a,.conversation-workspace select{-webkit-tap-highlight-color:transparent}.conversation-workspace button{cursor:pointer}.conversation-workspace button:disabled,.conversation-workspace select:disabled{opacity:.45;cursor:not-allowed}.conversation-workspace :is(button,a,select,input,textarea):focus-visible{outline:2px solid #c6dba7;outline-offset:3px}.conversation-history{min-height:0;display:flex;flex-direction:column;padding:30px 16px 18px;background:#151618;border-right:1px solid var(--chat-line)}.conversation-history-brand{display:flex;align-items:center;gap:10px;padding:0 10px 28px}.conversation-history-brand>span{font-size:32px;color:var(--chat-accent)}.conversation-history-brand strong{display:block;font-size:15px;font-weight:550;letter-spacing:.04em}.conversation-history-brand small{display:block;font-size:10px;color:var(--chat-muted);margin-top:5px;letter-spacing:.08em}.conversation-new{width:100%;padding:12px 16px;text-align:left;border:1px solid #ffffff20;border-radius:10px;background:#ffffff05;font-size:13px!important}.conversation-new:hover:not(:disabled){background:#ffffff0c;border-color:#ffffff40}.conversation-history-heading{display:flex;align-items:center;justify-content:space-between;color:var(--chat-muted);font-size:10px;letter-spacing:.08em;padding:28px 12px 12px}.conversation-history-heading button{display:none}.conversation-history-list{flex:1;min-height:0;overflow-y:auto;display:flex;flex-direction:column;gap:4px}.conversation-history-list button{display:flex;flex-direction:column;gap:6px;flex-shrink:0;text-align:left;padding:12px;border:1px solid transparent;border-radius:9px;background:transparent}.conversation-history-list button:hover{background:#ffffff05}.conversation-history-list button[aria-current=page]{background:#ffffff09;border-color:#ffffff0b}.conversation-history-list button span{font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.conversation-history-list button small{color:#757780;font-size:10px}.conversation-space-link{display:flex;justify-content:space-between;text-decoration:none;color:#9c9da6;font-size:12px;padding:16px 12px 0;margin-top:16px;border-top:1px solid var(--chat-line)}.conversation-main{display:flex;flex-direction:column;min-width:0;min-height:0;background:radial-gradient(ellipse at 50% 40%,#1c1e1920,transparent 65%)}.conversation-workspace-head{display:flex;align-items:center;gap:16px;min-height:76px;padding:16px 36px;border-bottom:1px solid #ffffff08;flex-shrink:0}.conversation-workspace-head>div{min-width:0}.conversation-workspace-head>div>span{font-size:10px;color:#74767f;letter-spacing:.1em}.conversation-workspace-head h1{font-size:14px;font-weight:500;margin:6px 0 0;max-width:550px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.conversation-save-state{margin-left:auto;white-space:nowrap;font-size:10px;color:#969d8e}.conversation-save-state.has-error{color:#efb28f}.conversation-history-toggle,.conversation-history-backdrop{display:none}.conversation-loading{margin:auto;color:var(--chat-muted)}.conversation-creator{display:flex;flex-direction:column;flex:1 1 0;min-height:0;width:100%;overflow:hidden;padding:0 36px 18px;box-sizing:border-box}.conversation-flow{flex:1 1 0;min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable both-edges;padding:24px max(0px,calc((100% - 960px)/2)) 40px;scrollbar-width:thin;scrollbar-color:#ffffff22 transparent}.conversation-empty{min-height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;box-sizing:border-box;padding:24px 0 40px}.conversation-empty-mark{display:grid;place-items:center;width:72px;height:72px;color:var(--chat-accent);font-size:58px;line-height:1;margin-bottom:24px}.conversation-empty-kicker{font-size:10px;letter-spacing:.18em;color:#949a89}.conversation-empty h2{margin:16px 0;font-size:clamp(26px,3vw,40px);line-height:1.3;font-weight:450;letter-spacing:-.05em;color:#f0f0ec}.conversation-empty>p{font-size:13px;color:var(--chat-muted);line-height:1.9;margin:0}.conversation-empty>div{display:flex;justify-content:center;gap:12px;margin-top:32px;flex-wrap:wrap}.conversation-empty button{max-width:270px;border:1px solid #ffffff13;border-radius:12px;background:#ffffff03;text-align:left;color:#a4a69f;font-size:11px;line-height:1.8;padding:13px 18px}.conversation-empty button:hover{border-color:#d9edbc50;background:#d9edbc05}.conversation-message{margin:0 0 30px;padding:0;overflow-wrap:anywhere;font-size:14px}.conversation-message>strong{display:block;font-weight:500;font-size:10px;letter-spacing:.06em;color:#8e9885;margin-bottom:10px}.conversation-message>p{margin:0 0 16px;white-space:pre-wrap;line-height:1.85;color:#c9cbc5}.conversation-message.is-user{max-width:80%;width:fit-content;margin-left:auto;background:#232527;border:1px solid #ffffff06;border-radius:16px 16px 4px;padding:14px 20px}.conversation-message.is-user>strong{color:#86888c}.conversation-message.is-user>p{margin:0;color:#e2e3e1}.conversation-message.is-user .conversation-results{margin-top:12px}.conversation-results{display:grid;gap:18px}.conversation-results figure{margin:0;min-width:0}.conversation-results img,.conversation-results video{display:block;max-width:100%;max-height:min(64dvh,760px);border-radius:14px;object-fit:contain;background:#090a0b}.conversation-results audio{max-width:100%}.conversation-results figcaption{display:flex;flex-wrap:wrap;align-items:center;gap:16px;margin-top:12px;font-size:10px;color:#777b78}.conversation-results figcaption>span{margin-right:auto}.conversation-results a{text-decoration:none;color:#a4ac9b}.conversation-results button,.conversation-message>button{border:1px solid #ffffff15;border-radius:7px;background:transparent;padding:6px 10px;font-size:10px;color:#b7c0ad}.conversation-composer{flex:0 0 auto;position:relative;width:min(100%,1000px);box-sizing:border-box;align-self:center;padding:14px 18px 10px;border-radius:18px;border:1px solid #ffffff20;background:#1c1d20;box-shadow:0 8px 40px #0002;max-height:55%;overflow-y:auto}.conversation-composer:focus-within{border-color:#a9bb8e70}.conversation-modes{display:inline-flex;gap:3px;padding:3px;border-radius:8px;background:#111214}.conversation-modes button{border:none;background:transparent;border-radius:6px;color:#7e8187;font-size:11px;padding:5px 16px}.conversation-modes button[aria-pressed=true]{color:#dfebcf;background:#30362a}.conversation-composer textarea{display:block;box-sizing:border-box;width:100%;border:0;background:transparent;color:#eee;outline:none;resize:none;min-height:64px;max-height:144px;padding:14px 2px 6px;font:inherit;font-size:14px;line-height:1.65}.conversation-composer textarea::placeholder{color:#74767f}.conversation-composer textarea:focus-visible{outline:none}.conversation-controls{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.conversation-options{display:flex;align-items:center;flex-wrap:wrap;gap:8px;flex:1}.conversation-options label{display:flex;align-items:center;gap:5px;font-size:10px;color:#7d8086}.conversation-options select,.conversation-options input,.conversation-settings-toggle{border:1px solid #ffffff09;background:#242629;border-radius:7px;padding:7px 9px;font-size:11px!important;color:#b7bab3;max-width:200px}.conversation-options input{width:48px}.conversation-video-settings{display:flex;flex-wrap:wrap;align-items:center;gap:12px;width:100%;padding:10px 0}.conversation-send{display:flex;align-items:center;gap:10px;margin-left:auto}.conversation-send>span{display:none}.conversation-send>button{background:transparent;color:#a4a89e;font-size:11px;padding:8px 10px;border:0;border-radius:8px;white-space:nowrap}.conversation-send>button:hover:not(:disabled){background:#ffffff08}.conversation-send .conversation-submit{background:var(--chat-accent);color:#26301a;font-weight:600;padding:10px 16px}.conversation-send .conversation-submit:hover:not(:disabled){background:#e7f7d1}.conversation-composer-caption{display:flex;gap:12px;justify-content:space-between;font-size:9px;color:#65696c;margin:10px 0 0}.conversation-reference-note{display:flex;align-items:center;gap:8px;font-size:10px;color:#a3ae97;margin-top:10px}.conversation-reference-note button{margin-left:auto;background:transparent;border:0;padding:0;font-size:10px;color:#7f837b}.conversation-attachments{display:flex;gap:8px;overflow-x:auto;margin-top:6px}.conversation-attachments>div{display:flex;align-items:center;flex-shrink:0;gap:8px;padding:5px 7px 5px 5px;background:#ffffff04;border:1px solid #ffffff0e;border-radius:8px}.conversation-attachments img{width:32px;height:32px;object-fit:cover;border-radius:5px}.conversation-attachments audio{max-width:150px;height:32px}.conversation-attachments>div>span{color:#a2a69e;font-size:10px;max-width:100px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.conversation-attachments button{border:none;color:#989c94;background:transparent;padding:4px;border-radius:4px}.conversation-attachments .conversation-video-preview{font-size:10px;padding:8px;color:#d0e2b6;background:#d9edbc10}.conversation-error{color:#edb0a3;background:#e69b7c0a;border:1px solid #edb0a325;border-radius:8px;padding:10px;font-size:12px;line-height:1.7}.conversation-error button{background:transparent;border:0;color:#f0c3b9;margin-left:8px;text-decoration:underline}.conversation-error a{color:#f0c3b9;margin-left:8px}.conversation-main>.conversation-error{margin:8px 24px;flex-shrink:0}.conversation-pending{color:#c0d3a5!important}.conversation-hint{color:#777e70;font-size:10px;line-height:1.6;width:100%;margin:4px 0}.conversation-preview-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1000;background:#08090bea;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);display:grid;place-items:center;padding:24px}.conversation-preview-overlay>div{display:flex;flex-direction:column;align-items:flex-end;gap:12px;width:min(1100px,95vw)}.conversation-preview-overlay video{display:block;width:100%;height:auto;max-height:80dvh;object-fit:contain;border-radius:12px}.conversation-preview-overlay button{font-size:12px;padding:8px 14px;color:#e4ebdb;background:#ffffff10}@media (min-width: 1700px){.conversation-workspace{grid-template-columns:256px minmax(0,1fr)}.conversation-flow{padding-top:40px}}@media (max-width: 1150px){.conversation-workspace{grid-template-columns:190px minmax(0,1fr)}.conversation-creator{padding:0 22px 14px}.conversation-workspace-head{padding:16px 22px}.conversation-controls{align-items:flex-end}.conversation-options select{max-width:160px}}@media (max-width: 900px){.conversation-workspace{grid-template-columns:minmax(0,1fr)}.conversation-history{display:none}.history-open .conversation-history{display:flex;position:fixed;top:0;bottom:0;left:72px;width:240px;box-sizing:border-box;z-index:80}.history-open .conversation-history-backdrop{display:block;position:fixed;top:0;right:0;bottom:0;left:0;background:#0008;border:0;z-index:70}.conversation-history-heading button{display:block;border:0;background:transparent;color:#aaa;font-size:20px}.conversation-history-toggle{display:block;background:transparent;border:1px solid #ffffff18;border-radius:7px;padding:8px;font-size:11px!important;color:#a6af9c!important}.conversation-workspace-head{min-height:65px;padding:12px 20px}}@media (max-width: 600px){.conversation-creator{padding:0 12px 12px}.conversation-workspace-head{padding:10px 14px;gap:10px}.conversation-workspace-head h1{font-size:12px;max-width:160px}.conversation-save-state{font-size:9px}.conversation-flow{padding-top:20px;padding-bottom:24px;scrollbar-gutter:auto}.conversation-empty h2{font-size:28px}.conversation-empty>div{margin-top:20px;gap:8px}.conversation-empty button{padding:10px 12px;max-width:250px}.conversation-empty-mark{margin-bottom:16px;font-size:44px;width:54px;height:54px}.conversation-composer{padding:10px 12px 8px;border-radius:14px;max-height:60%}.conversation-options label{font-size:0}.conversation-options select{max-width:150px}.conversation-video-settings label{font-size:10px}.conversation-composer-caption{font-size:8px}.conversation-composer-caption span{display:none}.conversation-message.is-user{max-width:90%;padding:12px 14px}}@media (max-height: 680px){.conversation-empty{padding:12px 0 20px}.conversation-empty-mark{display:none}.conversation-empty>div{margin-top:16px}.conversation-workspace-head{min-height:55px;padding-top:10px;padding-bottom:10px}.conversation-composer textarea{min-height:48px;padding-top:8px}}.conversation-space-list{padding:8px 24px 16px;border-bottom:1px solid #343846}.conversation-space-list h3{display:flex;justify-content:space-between;gap:12px;font-size:16px}.conversation-space-list a{color:#c7c3ed;text-decoration:none}.conversation-space-list h3 a{font-size:12px}.conversation-space-list ul{list-style:none;padding:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px}.conversation-space-list li a{display:flex;flex-direction:column;gap:8px;border:1px solid #343846;border-radius:10px;padding:14px}.conversation-space-list span,.conversation-space-list p{color:#969db1;font-size:12px}.conversation-history-toggle{display:block;flex-shrink:0;background:transparent;border:1px solid #ffffff18;border-radius:7px;padding:8px 10px;font-size:11px!important;color:#a6af9c!important}.conversation-mobile-toggle{display:none}@media (min-width: 901px){.conversation-workspace.history-collapsed{grid-template-columns:minmax(0,1fr)}.history-collapsed .conversation-history{display:none}}.conversation-results img,.conversation-results video{width:auto;height:auto;max-width:min(100%,480px);max-height:min(38dvh,340px)}.conversation-results figure{width:fit-content;max-width:100%}.conversation-results figcaption{max-width:480px;gap:10px}.conversation-message.is-user .conversation-results img,.conversation-message.is-user .conversation-results video{max-width:min(100%,280px);max-height:180px}@media (max-width: 900px){.conversation-desktop-toggle{display:none}.conversation-mobile-toggle{display:inline}}@media (max-width: 600px){.conversation-results img,.conversation-results video{max-width:min(100%,320px);max-height:260px}.conversation-workspace-head h1{max-width:120px}}.conversation-creator{display:grid;grid-template-rows:minmax(0,1fr) auto;gap:12px}.conversation-flow{height:100%;min-height:0;box-sizing:border-box;overflow:auto;overflow-anchor:auto;padding-bottom:24px;scroll-padding-bottom:24px;contain:paint}.conversation-composer{position:static;inset:auto;transform:none;margin:0;justify-self:center;align-self:end;max-height:min(42dvh,340px);box-shadow:none}@media (max-width: 600px){.conversation-composer{max-height:45dvh}}.conversation-model-status{display:flex;flex-wrap:wrap;gap:8px;justify-content:space-between;color:#a5b897;font-size:10px;margin:9px 0 0}.conversation-model-status span{color:#737972}.login-gate.login-gate-v2{--login-ink: #0a0806;--login-gold: #c8901e;--login-gold-light: #e8c173;--login-gold-pale: #f6e3be;--login-cream: #f4ecdd;--login-serif: "Songti SC", "STSong", "Source Han Serif SC", "Noto Serif SC", Georgia, "SimSun", serif;--login-sans: "PingFang SC", "MiSans", "HarmonyOS Sans SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;position:fixed;top:0;right:0;bottom:0;left:0;z-index:200;display:block;place-items:initial;width:100%;min-width:100%;min-height:100dvh;overflow-x:hidden;overflow-y:auto;padding:0;background:var(--login-ink);color:var(--login-cream);font-family:var(--login-sans);-webkit-backdrop-filter:none;backdrop-filter:none;-webkit-font-smoothing:antialiased}.login-gate-v2:before,.login-gate-v2:after{content:"";position:fixed;top:0;right:0;bottom:0;left:0;z-index:70;pointer-events:none}.login-gate-v2:before{opacity:.045;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='0.55'/%3E%3C/svg%3E");mix-blend-mode:overlay}.login-gate-v2:after{background:radial-gradient(560px 440px at 84% 14%,rgba(200,144,30,.075),transparent 72%),radial-gradient(820px 640px at 100% 100%,rgba(120,80,20,.07),transparent 72%)}.login-gate-v2 *{box-sizing:border-box}.login-gate-v2 button,.login-gate-v2 input{font:inherit}.login-gate-v2 button{cursor:pointer}.login-gate-v2 ::selection{background:#c8901e59;color:#fff}.login-stage{position:relative;z-index:1;display:flex;width:100%;min-height:100dvh;padding:14px;animation:login-stage-in 1.1s cubic-bezier(.2,.7,.2,1) both}.login-showcase{position:relative;flex:1 1 54%;min-width:0;overflow:hidden;border-radius:24px;background:#0d0a07;box-shadow:0 0 0 1px #ffffff12,0 40px 80px -40px #000;isolation:isolate;animation:login-hero-in 1.5s cubic-bezier(.2,.7,.2,1) both}.login-slides,.login-slide,.login-slide img,.login-veil{position:absolute;top:0;right:0;bottom:0;left:0}.login-slide{opacity:0;transition:opacity 1.15s cubic-bezier(.4,0,.2,1);will-change:opacity}.login-slide.is-active{opacity:1}.login-slide img{display:block;width:100%;height:100%;object-fit:cover;object-position:var(--login-pos, 50% 50%);transform:scale(1.02)}.login-slide.is-active img{animation:login-ken-burns 6.8s linear both}.login-veil{pointer-events:none;background:linear-gradient(0deg,rgba(10,8,6,.97) 0%,rgba(10,8,6,.72) 11%,rgba(10,8,6,.26) 30%,transparent 54%),radial-gradient(130% 80% at 12% 104%,rgba(10,8,6,.55),transparent 62%),linear-gradient(90deg,transparent 52%,rgba(10,8,6,.5) 82%,var(--login-ink) 100%),linear-gradient(180deg,rgba(10,8,6,.42),transparent 20%)}.login-frame span{position:absolute;z-index:3;width:20px;height:20px;border:0 solid rgba(232,193,115,.45);pointer-events:none}.login-frame span:nth-child(1){top:22px;left:22px;border-top-width:1px;border-left-width:1px;border-top-left-radius:4px}.login-frame span:nth-child(2){top:22px;right:22px;border-top-width:1px;border-right-width:1px;border-top-right-radius:4px}.login-frame span:nth-child(3){bottom:22px;left:22px;border-bottom-width:1px;border-left-width:1px;border-bottom-left-radius:4px}.login-frame span:nth-child(4){right:22px;bottom:22px;border-right-width:1px;border-bottom-width:1px;border-bottom-right-radius:4px}.login-showcase-bottom{position:absolute;right:0;bottom:0;left:0;z-index:4;display:flex;flex-direction:column;align-items:flex-start;gap:20px;padding:0 46px 38px}.login-caption{animation:login-caption-in .75s cubic-bezier(.2,.7,.2,1) both}.login-caption h3{margin:0;color:#fffbf2;font-family:var(--login-serif);font-size:clamp(25px,2.5vw,38px);font-weight:700;letter-spacing:.03em;line-height:1.24;text-shadow:0 4px 30px rgba(0,0,0,.85)}.login-caption p{margin:10px 0 0;color:#f4ecdda8;font-size:12.5px;letter-spacing:.12em;text-shadow:0 2px 12px rgba(0,0,0,.85)}.login-dots{display:flex;gap:9px}.login-dot{position:relative;width:27px;height:4px;padding:0;overflow:hidden;border:0;border-radius:2px;background:#f4ecdd3d;transition:background .3s}.login-dot:hover{background:#f4ecdd73}.login-dot span{position:absolute;inset:0 auto 0 0;width:0;border-radius:2px;background:linear-gradient(90deg,var(--login-gold),var(--login-gold-pale));box-shadow:0 0 10px #e8c17399}.login-dot.is-active span{animation:login-dot-fill 6.8s linear forwards}.login-showcase:hover .login-dot.is-active span{animation-play-state:paused}.login-gate-v2 .login-panel{position:relative;flex:0 0 46%;min-width:0;width:auto;max-width:none;max-height:none;overflow-x:hidden;overflow-y:auto;padding:38px 48px;border:0;border-radius:0;background:var(--login-ink);box-shadow:none;scrollbar-width:none;text-align:left}.login-panel::-webkit-scrollbar{display:none}.login-panel:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none;background:radial-gradient(420px 320px at var(--login-mx, 70%) var(--login-my, 20%),rgba(200,144,30,.13),transparent 70%),radial-gradient(700px 500px at 100% 100%,rgba(120,80,20,.1),transparent 70%)}.login-panel:after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none;opacity:.7;background-image:linear-gradient(90deg,rgba(255,255,255,.028) 1px,transparent 1px);background-size:78px 100%;-webkit-mask-image:linear-gradient(180deg,transparent,#000 30%,#000 70%,transparent);mask-image:linear-gradient(180deg,transparent,#000 30%,#000 70%,transparent)}.login-panel-inner{position:relative;z-index:2;width:100%;max-width:470px;margin:auto}.login-panel-top{display:flex;align-items:center;justify-content:space-between;min-height:36px;margin-bottom:32px}.login-brand{position:relative;display:flex;align-items:center}.login-brand:after{content:"";position:absolute;top:-10px;left:-6px;z-index:-1;width:48px;height:48px;border-radius:50%;background:radial-gradient(closest-side,rgba(200,144,30,.18),transparent);filter:blur(7px);pointer-events:none}.login-brand-logo{display:block;width:auto;height:25px;filter:drop-shadow(0 3px 14px rgba(0,0,0,.5))}.login-brand-mark{position:relative;z-index:2;align-self:flex-start;margin-top:-3px;margin-left:-2px;color:#f4ecddbf;font-family:Arial,sans-serif;font-size:11px;line-height:1}.login-brand-ant{display:block;width:auto;height:28px;margin-left:5px;filter:drop-shadow(0 4px 10px rgba(245,130,31,.3));transform-origin:50% 100%;animation:login-ant-float 3.6s ease-in-out infinite}.login-gate-v2 .login-close{position:static;display:grid;place-items:center;width:34px;height:34px;padding:0;border:1px solid rgba(244,236,221,.12);border-radius:50%;background:#ffffff06;color:#f4ecdd9e;font-size:21px;font-weight:300;line-height:1;transition:color .25s,border-color .25s,background .25s,transform .25s}.login-gate-v2 .login-close:hover{border-color:#e8c17361;background:#c8901e1a;color:var(--login-gold-pale);transform:rotate(4deg)}.login-kicker{margin:0 0 12px;color:#e8c1739e;font-family:Helvetica Neue,Arial,sans-serif;font-size:9.5px;font-weight:700;letter-spacing:.28em}.login-gate-v2 .login-title{margin:0;padding-bottom:4px;background:linear-gradient(100deg,#fff9ee,#f3dcae,#c8901e 52%,#f7e7c6 72%,#fff9ee);background-size:220% 100%;-webkit-background-clip:text;background-clip:text;color:transparent;font-family:var(--login-serif);font-size:clamp(34px,3vw,43px);font-weight:700;letter-spacing:.05em;line-height:1.2;text-align:left;animation:login-title-shine 9s linear infinite}.login-gate-v2 .login-sub{max-width:400px;margin:15px 0 0;color:#f4ecdd8f;font-size:12.5px;letter-spacing:.02em;line-height:1.9}.login-gate-v2 .login-tabs{position:relative;display:flex;margin-top:31px;padding:4px;border:1px solid rgba(255,255,255,.06);border-radius:11px;background:#ffffff09}.login-tab-pill{position:absolute;top:4px;bottom:4px;left:4px;width:calc(50% - 4px);border-radius:8px;background:linear-gradient(180deg,#f2deb2,#d5ae63);box-shadow:0 4px 14px -6px #e8c173cc;transition:transform .42s cubic-bezier(.4,0,.2,1)}.login-tab-pill.is-register{transform:translate(100%)}.login-gate-v2 .login-tab{position:relative;z-index:1;flex:1;height:auto;padding:9px 0;border:0;border-radius:8px;background:transparent;color:#f4ecdd7a;font-size:12.5px;letter-spacing:.08em;transition:color .35s}.login-gate-v2 .login-tab.is-active{background:transparent;color:#221703;font-weight:650}.login-gate-v2 .login-form{display:flex;flex-direction:column;gap:0;margin-top:3px;text-align:left}.login-gate-v2 .login-field{display:flex;flex-direction:column;gap:8px;margin-top:18px;color:#f4ecddc7;font-size:13px}.login-field-label{display:block;padding-left:2px;color:#f4ecdd85;font-size:10.5px;letter-spacing:.16em;line-height:1.35;transition:color .3s}.login-field-label em{margin-left:4px;color:#f4ecdd47;font-size:9.5px;font-style:normal;letter-spacing:.04em}.login-field:focus-within .login-field-label{color:var(--login-gold-light)}.login-gate-v2 .login-control{display:flex;align-items:center;gap:11px;width:100%;height:52px;padding:0 14px;border:1px solid rgba(255,255,255,.075);border-radius:11px;background:#ffffff0b;transition:border-color .3s,background .3s,box-shadow .35s}.login-gate-v2 .login-control:hover{border-color:#ffffff21;background:#ffffff0f}.login-gate-v2 .login-control:focus-within{border-color:#e8c17380;background:#ffffff12;box-shadow:0 0 0 3px #c8901e1a,0 12px 34px -18px #e8c173d9}.login-control-icon{display:flex;flex:0 0 auto;color:#f4ecdd4d;transition:color .3s}.login-control-icon svg{width:15px;height:15px}.login-control:focus-within .login-control-icon{color:var(--login-gold-light)}.login-gate-v2 .login-control input{flex:1;min-width:0;width:100%;height:100%;padding:0;border:0;border-radius:0;outline:0;background:transparent;color:#f7f1e4;font-size:14px;font-variant-numeric:tabular-nums;letter-spacing:.06em}.login-gate-v2 .login-control input:focus{border:0}.login-gate-v2 .login-control input::placeholder{color:#f4ecdd52;letter-spacing:.03em}.login-gate-v2 .login-eye{display:grid;flex:0 0 auto;place-items:center;width:30px;height:30px;padding:0;border:0;border-radius:7px;background:transparent;color:#f4ecdd57;transition:color .25s,background .25s}.login-gate-v2 .login-eye:hover{background:#ffffff0f;color:var(--login-gold-light)}.login-eye svg{width:16px;height:16px}.login-register-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.login-register-grid .login-field{min-width:0}.login-gate-v2 .login-code-row{display:flex;gap:8px;width:100%}.login-gate-v2 .login-code-row .login-control{flex:1;min-width:0}.login-gate-v2 .login-code-btn{flex:0 0 auto;height:52px;padding:0 13px;border:1px solid rgba(232,193,115,.3);border-radius:11px;background:#c8901e0f;color:var(--login-gold-light);font-size:11.5px;letter-spacing:.04em;cursor:pointer;transition:border-color .25s,background .25s,color .25s}.login-gate-v2 .login-code-btn:hover:not(:disabled){border-color:#e8c1738c;background:#c8901e29}.login-gate-v2 .login-code-btn:disabled{border-color:#ffffff14;background:transparent;color:#f4ecdd40;cursor:default}.login-gate-v2 .login-error{display:flex;align-items:flex-start;gap:8px;margin:14px 0 0;padding:10px 12px;border:1px solid rgba(214,96,80,.24);border-radius:9px;background:#d6605014;color:#f4b6ab;font-size:12px;line-height:1.55}.login-error>span{display:grid;flex:0 0 auto;place-items:center;width:15px;height:15px;margin-top:1px;border:1px solid rgba(244,182,171,.55);border-radius:50%;font-size:9px;font-weight:700}.login-gate-v2 .login-note{margin:12px 0 0;color:#f4ecdd7a;font-size:11.5px;line-height:1.65}.login-gate-v2 .login-submit{position:relative;display:flex;align-items:center;justify-content:center;gap:9px;width:100%;min-width:0;height:52px;margin-top:24px;padding:0 22px;overflow:hidden;border:0;border-radius:11px;background:linear-gradient(180deg,#f4e0b4,#d9b269 52%,#c8901e);color:#1c1204;font-size:14px;font-weight:700;letter-spacing:.14em;box-shadow:0 14px 34px -18px #e8c173f2,inset 0 1px #ffffff8c;transition:transform .2s,box-shadow .35s,filter .3s}.login-gate-v2 .login-submit:after{content:"";position:absolute;top:0;bottom:0;width:40%;background:linear-gradient(100deg,transparent,rgba(255,255,255,.55),transparent);transform:translate(-160%) skew(-16deg);transition:transform .9s cubic-bezier(.3,.7,.3,1)}.login-gate-v2 .login-submit:hover:not(:disabled){box-shadow:0 18px 42px -16px #e8c173,inset 0 1px #fff9;filter:brightness(1.04)}.login-gate-v2 .login-submit:hover:not(:disabled):after{transform:translate(320%) skew(-16deg)}.login-gate-v2 .login-submit:active:not(:disabled){transform:translateY(1px) scale(.997)}.login-gate-v2 .login-submit:disabled{cursor:default;filter:saturate(.7) brightness(.85)}.login-spinner{width:16px;height:16px;border:2px solid rgba(28,18,4,.25);border-top-color:#1c1204;border-radius:50%;animation:login-spin .7s linear infinite}.login-gate-v2 .login-forgot{display:block;margin-top:15px;color:#f4ecdd75;font-size:11.5px;letter-spacing:.04em;text-align:center;text-decoration:none;transition:color .25s}.login-gate-v2 .login-forgot:hover{color:var(--login-gold-light)}.login-panel-footer{display:flex;align-items:center;gap:12px;margin-top:34px;color:#f4ecdd40;font-size:9.5px;letter-spacing:.08em;text-align:center;white-space:nowrap}.login-panel-footer p{margin:0}.login-footer-line{flex:1;height:1px;background:linear-gradient(90deg,transparent,rgba(244,236,221,.11))}.login-footer-line:last-child{background:linear-gradient(90deg,rgba(244,236,221,.11),transparent)}@keyframes login-stage-in{0%{opacity:0}to{opacity:1}}@keyframes login-hero-in{0%{opacity:0;transform:scale(.975)}to{opacity:1;transform:none}}@keyframes login-ken-burns{0%{transform:scale(1.02)}to{transform:scale(1.092)}}@keyframes login-caption-in{0%{opacity:0;transform:translateY(13px);filter:blur(5px)}to{opacity:1;transform:none;filter:none}}@keyframes login-dot-fill{0%{width:0}to{width:100%}}@keyframes login-ant-float{0%,to{transform:translateY(0) rotate(-4deg)}50%{transform:translateY(-4px) rotate(4deg)}}@keyframes login-title-shine{0%{background-position:0 0}to{background-position:220% 0}}@keyframes login-spin{to{transform:rotate(360deg)}}@media (min-width: 1560px){.login-gate-v2 .login-panel{padding:44px 54px}.login-panel-inner{max-width:520px}.login-brand-logo{height:29px}.login-gate-v2 .login-title{font-size:46px}.login-gate-v2 .login-sub{max-width:100%;margin-top:18px;font-size:13.5px;line-height:2}.login-gate-v2 .login-tabs{margin-top:38px;padding:5px;border-radius:12px}.login-gate-v2 .login-tab{padding:11px 0;font-size:13.5px}.login-gate-v2 .login-field{margin-top:23px}.login-gate-v2 .login-control,.login-gate-v2 .login-code-btn{height:56px;border-radius:12px}.login-gate-v2 .login-control input{font-size:15px}.login-gate-v2 .login-submit{height:56px;margin-top:29px;border-radius:12px;font-size:15px}}@media (max-height: 850px) and (min-width: 901px){.login-gate-v2 .login-panel{padding:25px 44px}.login-panel-top{margin-bottom:22px}.login-gate-v2 .login-title{font-size:34px}.login-gate-v2 .login-sub{margin-top:10px;font-size:12px;line-height:1.7}.login-gate-v2 .login-tabs{margin-top:23px}.login-gate-v2 .login-field{margin-top:14px}.login-gate-v2 .login-control,.login-gate-v2 .login-code-btn{height:46px}.login-gate-v2 .login-submit{height:48px;margin-top:19px}.login-panel-footer{margin-top:22px}}@media (max-width: 1080px) and (min-width: 901px){.login-gate-v2 .login-panel{padding:30px}.login-panel-inner{max-width:410px}.login-showcase-bottom{padding:0 30px 30px}}@media (max-width: 900px){.login-gate-v2{overflow-y:auto}.login-stage{flex-direction:column;gap:10px;min-height:100dvh;padding:10px}.login-showcase{flex:0 0 min(32vh,270px);min-height:210px;border-radius:20px}.login-gate-v2 .login-panel{flex:1 0 auto;overflow:visible;padding:26px 26px 36px;border-radius:20px;background:radial-gradient(520px 360px at 84% 8%,rgba(200,144,30,.08),transparent 70%),var(--login-ink)}.login-panel-inner{max-width:540px}.login-panel-top{margin-bottom:25px}.login-gate-v2 .login-title{font-size:34px}.login-showcase-bottom{gap:14px;padding:0 23px 24px}.login-caption h3{font-size:23px}.login-caption p{margin-top:6px;font-size:11px;letter-spacing:.07em}.login-frame span{width:14px;height:14px}.login-frame span:nth-child(1),.login-frame span:nth-child(2){top:17px}.login-frame span:nth-child(3),.login-frame span:nth-child(4){bottom:17px}.login-frame span:nth-child(1),.login-frame span:nth-child(3){left:17px}.login-frame span:nth-child(2),.login-frame span:nth-child(4){right:17px}.login-dots{gap:6px}.login-dot{width:18px}}@media (max-width: 560px){.login-stage{padding:8px;gap:8px}.login-showcase{flex-basis:210px;min-height:190px;border-radius:17px}.login-gate-v2 .login-panel{padding:23px 18px 32px;border-radius:17px}.login-brand-logo{height:22px}.login-brand-ant{height:24px}.login-gate-v2 .login-title{font-size:31px}.login-gate-v2 .login-sub{margin-top:11px;font-size:11.5px;line-height:1.75}.login-gate-v2 .login-tabs{margin-top:24px}.login-register-grid{grid-template-columns:1fr;gap:0}.login-register-grid .login-field+.login-field{margin-top:15px}.login-panel-footer{margin-top:27px;font-size:8.5px;letter-spacing:.03em}}@media (prefers-reduced-motion: reduce){.login-gate-v2 *,.login-gate-v2 *:before,.login-gate-v2 *:after{animation-duration:.001ms!important;animation-iteration-count:1!important;transition-duration:.001ms!important}.login-gate-v2 .login-title{color:var(--login-gold-pale);background:none;-webkit-background-clip:initial;background-clip:initial}}.studio-boards{--sb-inspector: 400px;display:flex;flex-direction:column;height:100vh;max-height:100vh;overflow:hidden;background:#0d0e11;color:#f3f4f6}.studio-boards-top{display:flex;align-items:center;justify-content:space-between;gap:16px;height:56px;padding:0 20px;border-bottom:1px solid #26282f;background:#121316}.studio-boards-top h1{margin:0;font-size:16px;font-weight:650}.studio-boards-top p{margin:2px 0 0;color:#9ca3af;font-size:12px}.studio-boards-actions{display:flex;gap:10px}.studio-history{position:relative}.studio-history-panel{position:fixed;top:64px;right:20px;z-index:40;width:min(320px,calc(100vw - 32px));max-height:min(360px,calc(100vh - 96px));overflow:auto;padding:8px;background:#1a1c22;border:1px solid #343844;border-radius:12px;box-shadow:0 12px 40px #0006}.studio-history-empty{margin:0;padding:12px 8px;color:#9ca3af;font-size:12px}.studio-history-row{display:flex;align-items:center;gap:8px;padding:8px}.studio-history-row p,.studio-history-row .studio-history-pick{display:flex;flex-direction:column;align-items:flex-start;gap:2px;flex:1;min-width:0;margin:0;padding:4px 6px;border-radius:8px;background:transparent;color:inherit;font-size:13px;text-align:left}.studio-history-row .studio-history-pick:hover,.studio-history-row[data-on="1"] .studio-history-pick{background:#1c2438}.studio-history-row strong{font-weight:650}.studio-history-row small{color:#9ca3af;font-size:11px}.studio-history-row .studio-history-restore{flex:none;height:28px;padding:0 10px;background:#2563eb;color:#fff;font-size:12px}.studio-history-row .studio-history-restore:disabled{opacity:.45;cursor:default}.studio-boards-actions button,.studio-inspector button,.studio-card button,.studio-dock button{border:0;border-radius:10px;cursor:pointer;font:inherit}.studio-action-primary{min-width:132px;height:40px;padding:0 16px;background:#2563eb;color:#fff;font-weight:700}.studio-action-ghost{height:40px;padding:0 16px;background:#1c202e;color:#e5e7eb}.studio-boards-body{display:grid;grid-template-columns:var(--sb-inspector) minmax(0,1fr);min-height:0;flex:1}.studio-inspector{position:relative;width:400px;max-width:400px;min-width:400px;display:flex;flex-direction:column;gap:10px;padding:16px 14px 14px;border-right:1px solid #2a2f42;background:#101218;overflow:auto}.studio-inspector h2,.studio-inspector label,.studio-inspector p{margin:0}.studio-inspector h2{font-size:15px}.studio-inspector label{color:#9ca3af;font-size:12px}.studio-inspector textarea,.studio-inspector input{width:100%;margin:4px 0 8px;padding:8px;border:1px solid #2a2f42;border-radius:10px;background:#141721;color:#f3f4f6;resize:vertical}.studio-entity-chip{display:inline-flex;align-items:center;gap:6px;margin:0 6px 6px 0;padding:4px 8px;border-radius:999px;background:#1c202e;font-size:12px}.studio-entity-chip img{width:18px;height:18px;border-radius:50%;object-fit:cover}.studio-main{position:relative;min-width:0;display:flex;flex-direction:column;overflow:hidden}.studio-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:16px;padding:20px;overflow:auto;flex:1;align-content:start;align-items:start;grid-auto-rows:max-content;min-height:0}.studio-card{display:flex;flex-direction:column;min-height:220px;border:1px solid #2a2f42;border-radius:14px;background:#141721;overflow:hidden;text-align:left;color:inherit;padding:0}.studio-card[data-on="1"]{border-color:#3b82f6;box-shadow:0 0 0 1px #3b82f6 inset}.studio-card-media{position:relative;height:210px;background:linear-gradient(180deg,#1c202e,#0f1218)}.studio-card-media video,.studio-card-media img{width:100%;height:100%;object-fit:cover}.studio-card-empty,.studio-card-fail,.studio-card-wait{display:grid;place-items:center;height:100%;padding:12px;color:#d1d5db;font-size:13px;text-align:center}.studio-card-empty{background:repeating-linear-gradient(-45deg,#161a22,#161a22 8px,#1b2030 8px,#1b2030 16px)}.studio-card-fail{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;overflow:auto;padding:16px 14px;background:radial-gradient(ellipse 90% 70% at 50% 0%,rgba(248,113,113,.16),transparent 68%),#1a1214;color:#fecaca}.studio-card-fail strong{font-size:13px;font-weight:650;letter-spacing:.06em;color:#fda4af}.studio-card-fail p{margin:0;max-width:28em;font-size:13px;line-height:1.55;color:#fee2e2;word-break:break-word}.studio-card-wait{background:#151b2a}.studio-card-wait small,.studio-card-fail small{display:block;margin-top:6px;color:#93c5fd;font-size:11px}.studio-chip{align-self:flex-start;padding:2px 8px;border-radius:999px;background:#1c202e;color:#93c5fd;font-size:11px}.studio-boards-error{margin:0;padding:8px 20px;color:#fecaca;background:#2a1518}@media (max-width: 1100px){.studio-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (max-width: 800px){.studio-boards-body{grid-template-columns:1fr}.studio-inspector{width:100%;max-width:none;min-width:0;max-height:36vh}.studio-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}.studio-produce{display:flex;align-items:center;gap:12px;min-height:36px;padding:0 20px;border-bottom:1px solid #26282f;background:#14161c;font-size:12px;color:#cbd5e1}.studio-produce[data-state=attention]{background:#2a1d12}.studio-produce[data-state=done]{background:#10201a}.studio-produce-bar{flex:0 0 220px;height:6px;border-radius:999px;background:#262a35;overflow:hidden}.studio-produce-bar span{display:block;height:100%;background:#2563eb;transition:width .4s ease}.studio-produce-attention{color:#fbbf24;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}.studio-produce button{height:24px;padding:0 10px;border:0;border-radius:8px;background:#2563eb;color:#fff;cursor:pointer;font:inherit}.studio-produce a{color:#93c5fd}.studio-card-head{display:flex;align-items:center;gap:6px;padding:8px 8px 8px 10px;border-bottom:1px solid #222638}.studio-card-head strong{flex:0 0 auto;font-size:13px;white-space:nowrap}.studio-clock{flex:0 0 auto;margin-left:auto;padding:1px 6px;border-radius:6px;background:#0b0d12;color:#e5e7eb;font-size:11px;font-variant-numeric:tabular-nums}.studio-card-head .studio-chip{flex:0 1 auto;align-self:center;min-width:0;max-width:72px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.studio-card-icons{position:absolute;top:6px;right:6px;z-index:2;display:inline-flex;gap:2px;padding:2px;border-radius:8px;background:#0b0d12b8}.studio-card .studio-card-icons button{width:22px;height:22px;border-radius:6px;background:transparent;color:#9ca3af;font-size:13px;line-height:1}.studio-card .studio-card-icons button:hover:not(:disabled){background:#1f2937;color:#fff}.studio-card .studio-card-icons button:disabled{opacity:.35;cursor:not-allowed}.studio-card-empty{align-content:center;gap:10px}.studio-card-wait{align-content:center;gap:8px}.studio-ring{width:44px;height:44px;fill:none;stroke-width:3}.studio-ring circle{stroke:#26304a}.studio-ring .studio-ring-run{stroke:#3b82f6;stroke-linecap:round;stroke-dasharray:30 100;transform-origin:50% 50%;animation:studio-ring-spin 1.2s linear infinite}@keyframes studio-ring-spin{to{transform:rotate(360deg)}}.studio-card-prompt{display:flex;flex:1 1 auto;flex-direction:column;gap:6px;min-height:0;padding:10px 10px 12px}.studio-card-prompt p{display:-webkit-box;max-height:9.6em;margin:0;overflow:hidden;color:#cbd5e1;font-size:11.5px;line-height:1.6;white-space:pre-line;-webkit-box-orient:vertical;-webkit-line-clamp:6}.studio-mention{display:inline-flex;align-items:center;gap:4px;margin:0 1px;padding:1px 7px 1px 2px;border-radius:999px;background:#1d3b6b;color:#bfdbfe;font-size:11px;line-height:18px;vertical-align:middle}.studio-mention[data-kind=scene]{background:#14452f;color:#bbf7d0}.studio-mention[data-kind=prop]{background:#4a3410;color:#fde68a}.studio-mention img,.studio-mention i{width:16px;height:16px;border-radius:50%;background:#2f3b57;object-fit:cover;font-size:9px;font-style:normal;text-align:center;line-height:16px}.studio-card-foot{position:static;display:flex;flex:none;gap:6px;margin-top:auto;padding:8px 10px 10px;border-top:1px solid #232a3d;background:#141721}.studio-card .studio-card-foot button{flex:1;height:30px;background:#1f2937;color:#e5e7eb;font-size:12px}.studio-card .studio-card-foot .studio-card-go{background:#2563eb;color:#fff;font-weight:650}.studio-card .studio-card-foot button:disabled{opacity:.5;cursor:not-allowed}.studio-ref-picker{display:grid;gap:4px;max-height:180px;padding:6px;overflow-y:auto;border:1px solid #2a2f42;border-radius:10px;background:#0f1218}.studio-inspector .studio-ref-picker button{display:flex;align-items:center;gap:8px;padding:4px 6px;border-radius:8px;background:transparent;color:#e5e7eb;font-size:12px;text-align:left}.studio-ref-picker button[data-on="1"]{background:#14233f}.studio-ref-picker img,.studio-ref-picker i{width:22px;height:22px;border-radius:50%;background:#2f3b57;object-fit:cover;font-style:normal;font-size:10px;text-align:center;line-height:22px}.studio-ref-picker b{margin-left:auto;color:#60a5fa}.studio-episode-switch{display:flex;align-items:center;gap:12px;min-height:44px;padding:0 20px;border-bottom:1px solid #26282f;background:#101114;font-size:12px}.studio-episode-switch>span{color:#9ca3af;white-space:nowrap}.studio-episode-switch>div{display:flex;flex:1;gap:6px;min-width:0;overflow-x:auto;padding:8px 0}.studio-episode-switch button{height:28px;padding:0 12px;border:1px solid #343741;border-radius:14px;background:transparent;color:#9ca3af;font:inherit;white-space:nowrap;cursor:pointer}.studio-episode-switch button[data-on="1"]{border-color:#2563eb;background:#1d2a4a;color:#fff}.studio-episode-switch button:disabled{opacity:.6;cursor:progress}.studio-episode-switch small{color:#6b7280;white-space:nowrap}.studio-grid-empty{grid-column:1 / -1;padding:48px 16px;color:#9ca3af;text-align:center}.studio-boards-actions .studio-compose-redo{height:40px;padding:0 12px;background:transparent;color:#9ca3af;font-size:12px}.studio-boards-actions .studio-compose-redo:hover:not(:disabled){color:#e5e7eb;background:#1c202e}.studio-boards-actions .studio-compose-redo:disabled{opacity:.4;cursor:not-allowed}.studio-compose{display:flex;align-items:center;gap:14px;margin:12px 20px 0;padding:10px 14px;border:1px solid #1f3a6b;border-radius:10px;background:#121c33;color:#dbeafe;font-size:13px}.studio-compose strong{font-weight:600;white-space:nowrap}.studio-compose small{color:#93c5fd;white-space:nowrap}.studio-compose-bar{flex:1;height:6px;border-radius:999px;background:#1b2a4a;overflow:hidden}.studio-compose-bar span{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#3b82f6,#60a5fa);transition:width .5s ease;animation:studio-compose-pulse 1.4s ease-in-out infinite}@keyframes studio-compose-pulse{0%,to{opacity:1}50%{opacity:.6}}.studio-card-skeleton{pointer-events:none;padding:10px;display:grid;gap:10px}.studio-skeleton-line,.studio-skeleton-media{border-radius:8px;background:#23262e;animation:studio-compose-pulse 1.4s ease-in-out infinite}.studio-skeleton-line{height:12px}.studio-skeleton-line.short{width:38%}.studio-skeleton-media{height:150px}.studio-grid-empty .studio-action-primary{margin-top:14px}.studio-warn-banner{margin:12px 20px 0;padding:9px 14px;border:1px solid #5c4a1c;border-radius:10px;background:#2a2412;color:#f0d58a;font-size:12.5px;line-height:1.5}.studio-card-warn{display:block;margin-top:6px;color:#f0b44c;font-size:11.5px;line-height:1.4}.studio-inspector-top{flex:1;min-height:0;overflow:auto}.studio-composer{flex:0 0 auto;display:flex;flex-direction:column;gap:8px;padding:10px;border:1px solid #2a2f42;border-radius:16px;background:#151823}.studio-composer-hint{margin:0;padding:6px 4px;color:#6b7280;font-size:12px;line-height:1.6}.studio-composer-refs{display:flex;flex-wrap:wrap;align-items:center;gap:6px}.studio-inspector .studio-ref-thumb{width:36px;height:36px;padding:0;border:1px solid #2a2f42;border-radius:8px;background:#0f1218;overflow:hidden}.studio-ref-thumb img,.studio-ref-thumb i{display:grid;place-items:center;width:100%;height:100%;object-fit:cover;font-style:normal;color:#cbd5e1}.studio-inspector .studio-ref-add{width:36px;height:36px;border:1px dashed #3b4260;border-radius:8px;background:transparent;color:#9ca3af;font-size:18px}.studio-composer-box{position:relative}.studio-composer-box textarea{width:100%;margin:0;padding:6px 4px;border:0;background:transparent;color:#f3f4f6;font-size:12px;line-height:1.6;resize:none;outline:none}.studio-capsules{display:flex;flex-wrap:wrap;align-items:center;gap:6px}.studio-inspector .studio-capsules button{height:28px;padding:0 10px;border:1px solid #2a2f42;border-radius:999px;background:#1a1e2b;color:#cbd5e1;font-size:12px;white-space:nowrap}.studio-inspector .studio-capsules button[data-on="1"]{border-color:#3b82f6;color:#fff}.studio-inspector .studio-capsules button:disabled{opacity:.4;cursor:not-allowed}.studio-inspector .studio-capsules .studio-send{width:32px;height:32px;margin-left:auto;padding:0;border:0;background:#2563eb;color:#fff;font-size:15px}.studio-capsule-menu{position:absolute;left:24px;right:24px;bottom:66px;z-index:6;display:grid;align-content:start;gap:4px;max-height:calc(100% - 86px);overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#4b5568 transparent;padding:8px;border:1px solid #2a2f42;border-radius:12px;background:#0f1218;box-shadow:0 12px 32px #00000073}.studio-capsule-menu::-webkit-scrollbar{width:8px}.studio-capsule-menu::-webkit-scrollbar-thumb{border-radius:999px;background:#4b5568}.studio-capsule-menu small{color:#6b7280;font-size:11px}.studio-inspector .studio-capsule-menu button{position:relative;display:flex;justify-content:space-between;gap:8px;padding:7px 28px 7px 10px;background:transparent;color:#e5e7eb;font-size:12px;text-align:left}.studio-capsule-menu button[data-on="1"]{background:#1d2a4a;color:#fff}.studio-capsule-menu em{color:#6b7280;font-style:normal}.studio-capsule-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:4px}.studio-capsule-grid button{justify-content:center}.studio-card[data-playing="1"]{border-color:#22c55e;box-shadow:0 0 0 1px #22c55e inset}.studio-card-badge{flex:0 0 auto;padding:1px 6px;border-radius:6px;background:#3a2a10;color:#fbbf24;font-size:11px;cursor:pointer}.studio-dock{flex:0 0 auto;display:flex;align-items:center;gap:12px;height:56px;padding:0 20px;border-top:1px solid #26282f;background:#121316}.studio-boards .studio-dock-play{width:34px;height:34px;border:0;border-radius:50%;background:#2563eb;color:#fff;font-size:12px;cursor:pointer}.studio-boards .studio-dock-play:disabled{background:#262a35;color:#6b7280;cursor:not-allowed}.studio-dock-clock{flex:0 0 auto;min-width:96px;color:#e5e7eb;font-variant-numeric:tabular-nums;font-size:13px}.studio-dock-track{flex:1;display:flex;gap:3px;height:14px}.studio-boards .studio-dock-seg{position:relative;min-width:4px;padding:0;border:0;border-radius:4px;background:#3b82f6;overflow:hidden;cursor:pointer}.studio-boards .studio-dock-seg[data-ready="0"]{background:#2b2f3a}.studio-boards .studio-dock-seg[data-on="1"]{outline:2px solid #fff;outline-offset:1px}.studio-dock-seg i{position:absolute;inset:0 auto 0 0;background:#93c5fd}.studio-dock-count{flex:0 0 auto;color:#6b7280;font-size:12px}.studio-dock-video{flex:0 0 auto;width:32px;height:44px;border-radius:6px;object-fit:cover;background:#0b0d12}.studio-dock-video[data-hidden="1"]{visibility:hidden}@media (max-width: 800px){.studio-inspector{max-height:40vh}.studio-dock-count,.studio-dock-video{display:none}}.studio-card-empty{display:block;padding:0;overflow:hidden;text-align:left}.studio-card-script{height:100%;margin:0}.studio-mention{position:relative;cursor:default}.studio-mention-card{position:fixed;z-index:60;display:grid;gap:4px;width:220px;padding:8px;border:1px solid #2a2f42;border-radius:12px;background:#0f1218;box-shadow:0 12px 32px #0000008c;color:#e5e7eb;font-size:12px;line-height:1.4;pointer-events:none;white-space:normal}.studio-mention-card img,.studio-mention .studio-mention-card img{width:100%;height:200px;border-radius:8px;background:#1c202e;object-fit:cover}.studio-mention-card-empty{display:grid;place-items:center;height:120px;border-radius:8px;background:#1c202e;color:#6b7280}.studio-mention-card b{font-size:13px}.studio-mention-card em{color:#93c5fd;font-style:normal}.studio-stream{display:flex;flex-direction:column;height:100%;min-height:0;overflow-y:auto;scrollbar-width:thin;scrollbar-color:#3a4160 transparent}.studio-stream-inner{display:grid;gap:12px;margin-top:auto;padding-right:4px}.studio-stream-origin p,.studio-stream-empty{margin:0;color:#6b7280;font-size:12px}.studio-stream-list{display:grid;gap:10px;margin:0;padding:0;list-style:none}.studio-take{display:grid;gap:8px;padding:10px;border:1px solid #222638;border-radius:12px;background:#121520;color:#cbd5e1}.studio-take[data-latest="1"]{border-color:#2f4a80}.studio-take header{display:flex;flex-wrap:wrap;align-items:center;gap:6px 10px;font-size:11.5px}.studio-take header b{color:#e5e7eb}.studio-take header span{flex:1;color:#6b7280}.studio-take header em{padding:1px 8px;border-radius:999px;background:#1d3b6b;color:#bfdbfe;font-style:normal}.studio-take[data-phase=ready] header em{background:#14452f;color:#bbf7d0}.studio-take[data-phase=failed] header em{background:#4a1d22;color:#fecaca}.studio-take video{width:100%;max-height:200px;border-radius:8px;background:#000}.studio-take-fail,.studio-take-wait{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:0;padding:8px 10px;border-radius:8px;background:#151b2a;color:#93c5fd;font-size:12px}.studio-take-fail{align-items:flex-start;background:#1a1214;color:#fecaca;line-height:1.5}.studio-take-fail span{display:flex;flex-direction:column;gap:4px;min-width:0}.studio-take-fail strong{font-size:12px;font-weight:650;letter-spacing:.04em;color:#fda4af}.studio-take-fail em{font-style:normal;color:#fee2e2;word-break:break-word}.studio-take-fail button,.studio-inspector .studio-take-reuse{height:26px;padding:0 10px;background:#1f2a44;color:#bfdbfe;font-size:11.5px}.studio-inspector .studio-take-reuse{justify-self:start}.studio-take-prompt{display:-webkit-box;margin:0;overflow:hidden;color:#9ca3af;font-size:11.5px;line-height:1.6;white-space:pre-line;-webkit-box-orient:vertical;-webkit-line-clamp:4}.studio-mention-pop{position:absolute;left:-4px;right:-4px;bottom:calc(100% + 8px);z-index:20;display:grid;border:1px solid #2a2f42;border-radius:14px;background:#0f1218;box-shadow:0 -12px 32px #00000080;overflow:hidden}.studio-mention-tabs{display:flex;gap:4px;padding:8px 8px 0;border-bottom:1px solid #1f2433}.studio-inspector .studio-mention-tabs button{display:inline-flex;align-items:center;gap:6px;height:30px;padding:0 12px;border-radius:8px 8px 0 0;background:transparent;color:#6b7280;font-size:12.5px}.studio-inspector .studio-mention-tabs button[data-on="1"]{background:#1c202e;color:#f3f4f6}.studio-mention-tabs small{color:#6b7280;font-size:11px}.studio-mention-list{display:grid;max-height:260px;margin:0;padding:6px;overflow-y:auto;list-style:none;scrollbar-width:thin;scrollbar-color:#3a4160 transparent}.studio-inspector .studio-mention-list button{display:flex;align-items:center;gap:10px;width:100%;padding:6px 8px;border-radius:10px;background:transparent;color:#e5e7eb;font-size:13px;text-align:left}.studio-inspector .studio-mention-list button[data-active="1"]{background:#1c2233}.studio-mention-list img,.studio-mention-list i{flex:0 0 auto;width:34px;height:34px;border-radius:50%;background:#232a3d;object-fit:cover;font-style:normal;line-height:34px;text-align:center}.studio-mention-list span{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.studio-mention-list em{color:#6b7280;font-size:11px;font-style:normal}.studio-mention-list b{color:#86efac;font-size:11px}.studio-mention-empty{margin:0;padding:18px 14px;color:#6b7280;font-size:12.5px}.studio-editor-body,.studio-card-script,.studio-script-body{scrollbar-width:thin;scrollbar-color:#3a4160 transparent}.studio-grid[hidden]{display:none}.studio-layout-switch{display:inline-flex;padding:3px;border-radius:12px;background:#1c202e}.studio-layout-switch button{height:34px;padding:0 14px;background:transparent;color:#9ca3af}.studio-layout-switch button[data-on="1"]{background:#2b3350;color:#fff;font-weight:650}.studio-story{display:flex;flex-direction:column;flex:1;min-height:0;padding:16px 20px 10px;gap:12px}.studio-story-empty{display:grid;flex:1;place-items:center;color:#6b7280;font-size:13px}.studio-story-stage{display:grid;grid-template-columns:minmax(0,1fr) 320px;grid-template-rows:minmax(0,1fr);gap:16px;flex:1;min-height:0}.studio-story-player{position:relative;display:grid;place-items:center;min-height:0;border-radius:14px;background:#050608;overflow:hidden}.studio-story-player video{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;object-fit:contain;background:#000}.studio-story-note{display:grid;gap:6px;padding:24px;color:#9ca3af;font-size:14px;text-align:center}.studio-story-note small{color:#6b7280;font-size:12px}.studio-story-fail{place-items:center;max-width:36em;max-height:100%;margin:auto;overflow:auto;padding:28px 24px;border-radius:16px;background:radial-gradient(ellipse 90% 70% at 50% 0%,rgba(248,113,113,.16),transparent 68%),#1a1214;color:#fecaca}.studio-story-fail strong{font-size:15px;font-weight:650;letter-spacing:.08em;color:#fda4af}.studio-story-fail p{margin:0;font-size:14px;line-height:1.6;color:#fee2e2;word-break:break-word}.studio-story-fail small{color:#fca5a5}.studio-story-side{display:flex;flex-direction:column;gap:12px;min-height:0;overflow-y:auto;scrollbar-width:thin;scrollbar-color:#3a4160 transparent}.studio-story-side>header{display:grid;gap:2px}.studio-story-side>header span{color:#6b7280;font-size:12px}.studio-clip-tools{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.studio-clip-tools button{height:36px;border:1px solid #3b4670;border-radius:10px;background:#26304d;color:#f3f4f6;font-weight:600;cursor:pointer;font:inherit}.studio-clip-tools button[data-on="1"]{border-color:#3b82f6;background:#1d3b6b}.studio-clip-tools button:disabled{border-color:#2b3350;background:#1c202e;color:#6b7280;cursor:not-allowed}.studio-story-hint{margin:0}.studio-plugin-panel{display:grid;gap:10px;padding:12px;border:1px solid #2b3350;border-radius:12px;background:#121520;font-size:12px;color:#cbd5e1}.studio-plugin-panel header{display:flex;align-items:center;justify-content:space-between}.studio-plugin-close{width:26px;height:26px;border:0;border-radius:8px;background:transparent;color:#9ca3af;cursor:pointer;font-size:18px}.studio-plugin-note,.studio-plugin-msg{margin:0;color:#9ca3af;line-height:1.5}.studio-plugin-msg[data-state=error]{color:#fca5a5}.studio-plugin-stage{position:relative;max-height:190px;margin:0 auto;border-radius:8px;overflow:hidden;background:#000}.studio-plugin-stage video{display:block;width:100%;height:100%;object-fit:fill}.studio-plugin-box{position:absolute;border:2px solid #f59e0b;background:#f59e0b2e;pointer-events:none}.studio-plugin-sliders{display:grid;gap:6px}.studio-plugin-sliders label{display:grid;grid-template-columns:64px minmax(0,1fr);align-items:center;gap:8px}.studio-plugin-preview{width:100%;border-radius:8px;background:#000}.studio-plugin-progress{height:6px;border-radius:999px;background:#1c202e;overflow:hidden}.studio-plugin-progress span{display:block;height:100%;background:#3b82f6;transition:width .3s}.studio-plugin-panel footer{display:flex;flex-wrap:wrap;gap:8px}.studio-plugin-panel footer button{height:34px;min-width:0;padding:0 12px;border:0;border-radius:10px;cursor:pointer;font:inherit}.studio-plugin-panel footer .studio-action-primary{background:#2563eb;color:#fff}.studio-strip{display:flex;gap:10px;margin:0;padding:2px 2px 8px;list-style:none;overflow-x:auto;flex-shrink:0;scrollbar-width:thin;scrollbar-color:#3a4160 transparent}.studio-strip-item{position:relative;display:grid;flex:0 0 112px;gap:4px;padding:6px;border:1px solid #222638;border-radius:10px;background:#121520;color:#cbd5e1;cursor:grab;font-size:11.5px}.studio-strip-cut{cursor:pointer}.studio-strip-item[data-on="1"]{border-color:#3b82f6;background:#16223d}.studio-strip-item[data-drop="1"]{box-shadow:-3px 0 #f59e0b}.studio-strip-no{position:absolute;top:8px;left:8px;z-index:1;min-width:18px;padding:0 5px;border-radius:6px;background:#0009;font-size:10.5px;text-align:center}.studio-strip-thumb{display:grid;place-items:center;aspect-ratio:16 / 9;border-radius:6px;background:#050608;overflow:hidden;color:#6b7280}.studio-strip-thumb video{width:100%;height:100%;object-fit:cover;pointer-events:none}.studio-strip-thumb em{font-style:normal}.studio-strip-item b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:600}.studio-strip-item small{color:#6b7280}.studio-strip-move{display:flex;align-items:center;justify-content:center;gap:12px;color:#6b7280;font-size:12px}.studio-strip-move button{height:28px;padding:0 10px;border:0;border-radius:8px;background:#1c202e;color:#cbd5e1;cursor:pointer;font:inherit}.studio-strip-move button:disabled{color:#4b5563;cursor:not-allowed}.studio-inspector .studio-capsules .studio-send{display:inline-flex;align-items:center;justify-content:center;gap:4px;width:auto;min-width:32px;padding:0 10px;border-radius:16px}.studio-send-cost{font-size:12px;font-weight:650}.studio-plugin-sliders select{min-width:0;height:28px;padding:0 6px;border:1px solid #2b3350;border-radius:8px;background:#0d1019;color:#e2e8f0;font:inherit}.studio-continue{display:inline-flex;align-items:center;gap:6px;font-size:12px;color:#cbd5e1;cursor:pointer}.studio-continue input{accent-color:#6366f1}.studio-batch-continue{padding:6px 20px;border-bottom:1px solid #26282f;background:#14161c;font-size:12px;color:#cbd5e1}.studio-batch-continue summary{cursor:pointer;min-height:24px;line-height:24px}.studio-batch-continue-actions{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin:6px 0}.studio-batch-continue-actions button{border:1px solid #3b3f4a;background:#1c1f27;color:#e2e8f0;border-radius:6px;padding:3px 10px;font:inherit;cursor:pointer}.studio-batch-continue ul{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:4px 12px;margin:0;padding:0;list-style:none}.studio-batch-continue label{display:flex;align-items:center;gap:6px;cursor:pointer}.studio-batch-continue input{accent-color:#6366f1}.studio-batch-continue li small{color:#94a3b8}.studio-continue-mode{display:flex;flex-direction:column;gap:4px;font-size:12px}.studio-continue-mode span,.studio-batch-modes{display:inline-flex;flex-wrap:wrap;gap:4px}.studio-continue-mode button,.studio-batch-modes button{border-radius:999px;padding:2px 8px;font-size:12px;border:1px solid rgba(255,255,255,.18);background:transparent;color:inherit;cursor:pointer}.studio-continue-mode button[data-on="1"],.studio-batch-modes button[data-on="1"]{border-color:#c9a45c;background:#c9a45c2e}.studio-continue-mode button:disabled{opacity:.4;cursor:not-allowed}.studio-continue-mode small{opacity:.7}.studio-batch-continue li{display:flex;align-items:center;gap:8px}.studio-usage{margin:4px 16px;font-size:12px;opacity:.72}.studio-story-side .studio-card-go{display:inline-flex;align-items:center;justify-content:center;gap:6px;width:100%;min-height:40px;padding:0 14px;border:0;border-radius:10px;background:#2563eb;color:#fff;cursor:pointer;font:inherit;font-weight:650}.studio-story-side .studio-card-go:hover:not(:disabled){background:#1d4ed8}.studio-story-side .studio-card-go:disabled{background:#1f2a44;color:#6b7280;cursor:not-allowed}.studio-story-side .studio-card-go .studio-cost{background:#ffffff2e;color:#fff}.studio-editor{position:relative}.studio-editor-body{box-sizing:border-box;min-height:7.2em;max-height:14em;padding:6px 4px;overflow:auto;color:#f3f4f6;font-size:12px;line-height:1.9;white-space:pre-wrap;word-break:break-word;overflow-wrap:break-word;outline:none;cursor:text}.studio-editor-body[data-empty="1"]:before{content:attr(data-placeholder);color:#6b7280;pointer-events:none}.studio-card .studio-editor-body{min-height:5.6em;max-height:11em;padding:6px 8px;border-radius:10px;background:#0f1218;cursor:text}.studio-chip-inline{display:inline-flex;align-items:center;gap:4px;margin:0 2px;padding:1px 8px 1px 2px;border-radius:8px;background:#1d3b6b;color:#bfdbfe;font-size:11.5px;line-height:20px;vertical-align:middle;-webkit-user-select:all;user-select:all;cursor:default}.studio-chip-inline[data-kind=scene]{background:#14452f;color:#bbf7d0}.studio-chip-inline[data-kind=prop]{background:#4a3410;color:#fde68a}.studio-chip-inline img,.studio-chip-inline i{flex:0 0 auto;width:20px;height:20px;border-radius:6px;background:#2f3b57;object-fit:cover;font-size:10px;font-style:normal;line-height:20px;text-align:center}.studio-mention-pop[data-place=below]{top:calc(100% + 6px);bottom:auto;box-shadow:0 12px 32px #00000080}.studio-mention-pop{position:absolute}.studio-mention-pop[data-preview="1"] .studio-mention-list{padding-right:156px}.studio-mention-preview{position:absolute;top:46px;right:8px;bottom:8px;display:grid;grid-template-rows:minmax(0,1fr) auto;gap:6px;width:138px;padding:6px;border:1px solid #222638;border-radius:12px;background:#151823;pointer-events:none}.studio-mention-preview img{display:block;width:100%;height:100%;min-height:0;border-radius:8px;object-fit:contain;background:#0f1218}.studio-mention-preview b{color:#e5e7eb;font-size:12px;font-weight:600;text-align:center}.studio-inspector{min-height:0}.studio-mention-pop[data-floating="1"]{position:fixed;right:auto;bottom:auto;z-index:60}.studio-mention-pop[data-floating="1"] .studio-mention-tabs button{height:30px;padding:0 12px;background:transparent;color:#6b7280;font-size:12.5px}.studio-mention-pop[data-floating="1"] .studio-mention-tabs button[data-on="1"]{background:#1c202e;color:#f3f4f6}.studio-mention-pop[data-floating="1"] .studio-mention-list button{display:flex;align-items:center;gap:10px;width:100%;padding:6px 8px;border:0;border-radius:10px;background:transparent;color:#e5e7eb;font-size:13px;text-align:left}.studio-mention-pop[data-floating="1"] .studio-mention-list button[data-active="1"]{background:#1c2233}.studio-card-empty .studio-composer-box{align-self:stretch;width:100%}.studio-script{position:relative;min-width:0;min-height:0}.studio-script-body{overflow:hidden;max-height:clamp(4.8em,18vh,9.6em);color:#cbd5e1;font-size:12px;line-height:1.65;white-space:pre-line;word-break:break-word}.studio-script[data-overflow="1"] .studio-script-body{padding-right:52px}.studio-script[data-open="1"] .studio-script-body{max-height:min(70vh,28rem);overflow:auto}.studio-script-empty{color:#6b7280}.studio-card .studio-script-toggle,.studio-inspector .studio-script-toggle,.studio-script-toggle{position:absolute;top:4px;right:4px;z-index:1;height:22px;padding:0 8px;border-radius:6px;background:#0f1218e0;color:#e5e7eb;font-size:11px;line-height:22px}.studio-card-empty .studio-script .studio-script-body{height:100%;max-height:none;padding:10px 12px}.studio-card-empty .studio-script[data-overflow="1"] .studio-script-body{padding-right:52px}.studio-script-probe{position:absolute;z-index:-1;width:100%;height:auto;max-height:none;overflow:visible;visibility:hidden;pointer-events:none}.studio-card-empty .studio-script .studio-script-probe{height:auto;max-height:none}.studio-card-media:has(.studio-script[data-open="1"]){height:auto;min-height:210px}.studio-card-media:has(.studio-script[data-open="1"]) .studio-script-body{height:auto;max-height:min(62vh,32rem);overflow:auto}.studio-history-preview{display:flex;flex-direction:column;gap:12px;min-height:0}.studio-history-preview header{position:sticky;top:0;z-index:1;display:flex;align-items:flex-start;gap:8px;padding-bottom:8px;background:#101218}.studio-history-preview header div{display:flex;flex:1;flex-direction:column;gap:2px;min-width:0}.studio-history-preview header strong{font-size:13px}.studio-history-preview header small{color:#9ca3af;font-size:11px;line-height:1.4}.studio-history-preview header button{flex:none;height:28px;padding:0 10px;background:#1c202e;color:#e5e7eb;font-size:12px}.studio-history-preview article{display:grid;gap:6px;padding-bottom:10px;border-bottom:1px solid #232a3d}.studio-history-preview h3{margin:0;color:#e5e7eb;font-size:13px;font-weight:650}.studio-history-preview h3 span{margin-left:6px;color:#9ca3af;font-size:11px;font-weight:500}.studio-history-preview .studio-script[data-open="1"] .studio-script-body{max-height:min(48vh,22rem)}.studio-inspector .studio-composer-box[data-fold="1"]{display:flex;flex-direction:column;gap:4px}.studio-inspector:has(.studio-composer-box[data-open="1"]) .studio-inspector-top{flex:0 0 auto;max-height:30%}.studio-inspector:has(.studio-composer-box[data-open="1"]) .studio-composer{flex:1 1 auto;min-height:0}.studio-inspector .studio-composer-box[data-open="1"]{flex:1 1 auto;min-height:0}.studio-inspector .studio-composer-box[data-open="1"] .studio-editor{display:flex;flex:1 1 auto;flex-direction:column;min-height:0}.studio-inspector .studio-composer-box[data-open="1"] .studio-editor-body{flex:1 1 auto;min-height:12em;max-height:none}.studio-inspector .studio-composer-fold{align-self:flex-end;height:26px;margin:0;padding:0 10px;background:#1c2438;color:#e5e7eb;font-size:12px;line-height:26px}@media (max-width: 800px){.studio-script-body{max-height:clamp(3.2em,12vh,6.4em)}.studio-script[data-open="1"] .studio-script-body,.studio-history-preview .studio-script[data-open="1"] .studio-script-body,.studio-card-media:has(.studio-script[data-open="1"]) .studio-script-body{max-height:min(40vh,16rem)}.studio-card-media:has(.studio-script[data-open="1"]){min-height:160px}.studio-inspector:has(.studio-history-preview),.studio-inspector:has(.studio-composer-box[data-open="1"]){max-height:min(78vh,36rem)}.studio-inspector .studio-composer-box[data-open="1"] .studio-editor-body{max-height:min(50vh,calc(100vh - 220px))}}@media (max-width: 560px){.studio-grid{grid-template-columns:1fr;gap:12px;padding:12px}.studio-card-media{height:min(46vw,210px);min-height:140px}}.studio-shell{display:flex;flex-direction:column;height:100vh;max-height:100vh;overflow:hidden;background:#0d0e11;color:#f3f4f6}.studio-steps{display:flex;align-items:center;gap:20px;height:48px;padding:0 20px;border-bottom:1px solid #26282f;background:#101114;flex:none}.studio-steps-home{color:#9ca3af;font-size:13px;text-decoration:none}.studio-steps ol{display:flex;align-items:center;gap:10px;margin:0 auto;padding:0;list-style:none}.studio-steps li{display:flex;align-items:center;gap:10px}.studio-steps li i{color:#4b5563;font-style:normal}.studio-steps button{display:inline-flex;align-items:center;gap:8px;height:32px;padding:0 14px;border:0;border-radius:16px;background:transparent;color:#9ca3af;font:inherit;font-size:14px;cursor:pointer}.studio-steps button[data-locked="1"]{color:#4b5563;cursor:not-allowed}.studio-steps button span{display:inline-grid;place-items:center;width:20px;height:20px;border-radius:50%;background:#23252c;font-size:12px}.studio-steps li[data-state=done] button{color:#d1d5db}.studio-steps li[data-state=on] button{background:#1d2a4a;color:#fff;font-weight:650}.studio-steps li[data-state=on] button span{background:#2563eb}.studio-steps-title{max-width:220px;overflow:hidden;color:#9ca3af;font-size:12px;text-overflow:ellipsis;white-space:nowrap}.studio-shell-error,.studio-shell-notice{margin:0;padding:8px 20px;font-size:13px;flex:none}.studio-shell-error{background:#3b1519;color:#fecaca}.studio-shell-notice{background:#11271c;color:#a7f3d0}.studio-shell-loading{margin:0;padding:24px 20px;color:#9ca3af}.studio-shell-body{flex:1;min-height:0;display:flex;flex-direction:column}.studio-shell .studio-boards{flex:1;height:auto;max-height:none;min-height:0}.studio-desk{display:flex;flex-direction:column;flex:1;min-height:0}.studio-desk-top{display:flex;align-items:center;justify-content:space-between;gap:16px;height:56px;padding:0 20px;border-bottom:1px solid #26282f;background:#121316;flex:none}.studio-desk-top h1{margin:0;font-size:16px;font-weight:650}.studio-desk-top p{margin:2px 0 0;color:#9ca3af;font-size:12px}.studio-desk-actions{display:flex;gap:10px}.studio-make-assets{display:flex;align-items:center;gap:8px}.studio-story-episode{height:40px;padding:0 12px;border:1px solid #343741;border-radius:10px;background:#1b1d23;color:#e5e7eb;font:inherit;font-size:13px}.studio-btn-primary,.studio-btn-ghost{height:40px;padding:0 16px;border:0;border-radius:10px;font:inherit;cursor:pointer}.studio-btn-primary{min-width:132px;background:#2563eb;color:#fff;font-weight:700}.studio-btn-ghost{background:#1b1d23;border:1px solid #343741;color:#e5e7eb}.studio-btn-primary:disabled,.studio-btn-ghost:disabled{opacity:.5;cursor:not-allowed}.studio-empty{margin:0;color:#6b7280;font-size:13px}.studio-desk label{display:block;margin:14px 0 6px;color:#9ca3af;font-size:12px}.studio-desk input[type=text],.studio-desk input:not([type]),.studio-desk textarea,.studio-modal input,.studio-modal textarea{width:100%;box-sizing:border-box;padding:9px 12px;border:1px solid #343741;border-radius:8px;background:#15171c;color:#f3f4f6;font:inherit;font-size:14px;line-height:1.55}.studio-story-scroll{flex:1;min-height:0;padding:16px 24px 40px;overflow-y:auto}.studio-panel{max-width:1180px;margin:0 auto 16px;padding:16px 18px 18px;border:1px solid #26282f;border-radius:14px;background:#121316}.studio-panel h2{display:flex;align-items:center;justify-content:space-between;margin:0 0 12px;font-size:15px}.studio-field-grid{display:grid;gap:12px 16px;grid-template-columns:repeat(3,minmax(0,1fr))}.studio-field{display:flex;flex-direction:column;gap:6px;margin:0}.studio-field[data-wide="1"]{grid-column:1 / -1}.studio-field>span{color:#9ca3af;font-size:12px}.studio-panel select,.studio-bio select{width:100%;height:38px;padding:0 10px;border:1px solid #343741;border-radius:8px;background:#15171c;color:#f3f4f6;font:inherit;font-size:14px}.studio-panel textarea,.studio-panel input{width:100%;box-sizing:border-box;padding:9px 12px;border:1px solid #343741;border-radius:8px;background:#15171c;color:#f3f4f6;font:inherit;font-size:14px;line-height:1.55}.studio-panel input[readonly]{color:#9ca3af}.studio-link-btn{border:0;background:transparent;color:#60a5fa;font:inherit;font-size:13px;cursor:pointer}.studio-bio-grid{display:grid;gap:14px;grid-template-columns:repeat(auto-fill,minmax(320px,1fr))}.studio-bio{display:flex;flex-direction:column;gap:8px;padding:12px;border:1px solid #2a2d36;border-radius:12px;background:#15171c}.studio-bio label{display:flex;flex-direction:column;gap:4px;margin:0;color:#9ca3af;font-size:12px}.studio-bio-head{display:flex;gap:8px}.studio-bio-head .studio-bio-name{flex:1;font-weight:650}.studio-bio-head .studio-bio-role{width:96px}.studio-icon-btn{width:34px;border:0;border-radius:8px;background:transparent;color:#6b7280;cursor:pointer}.studio-bio-row{display:grid;grid-template-columns:90px 1fr;gap:8px}.studio-episode-tabs{display:flex;gap:8px;overflow-x:auto;padding-bottom:10px}.studio-episode-tabs button{height:32px;padding:0 14px;border:1px solid #343741;border-radius:16px;background:transparent;color:#9ca3af;font:inherit;white-space:nowrap;cursor:pointer}.studio-episode-tabs button[data-on="1"]{border-color:#2563eb;background:#1d2a4a;color:#fff}.studio-episode-editor{display:flex;flex-direction:column;gap:12px}.studio-episode-script{min-height:320px;resize:vertical}.studio-assets-body{flex:1;min-height:0;padding:8px 20px 20px;overflow-y:auto}.studio-asset-group h2{display:flex;align-items:baseline;gap:8px;margin:18px 0 10px;font-size:15px}.studio-asset-group h2 small{color:#6b7280;font-weight:400}.studio-asset-grid{display:grid;gap:14px;grid-template-columns:repeat(auto-fill,minmax(210px,1fr))}.studio-asset-card{display:flex;flex-direction:column;overflow:hidden;border:1px solid #26282f;border-radius:12px;background:#15171c}.studio-asset-media{position:relative;display:grid;place-items:center;aspect-ratio:3 / 4;overflow:hidden;padding:0;border:0;background:#1b1d23;color:#6b7280;font:inherit;cursor:pointer}.studio-asset-media img{width:100%;height:100%;object-fit:cover}.studio-asset-fail{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;width:100%;height:100%;padding:16px 14px;text-align:center;background:radial-gradient(ellipse 90% 70% at 50% 0%,rgba(248,113,113,.16),transparent 68%),#1a1214;color:#fecaca}.studio-asset-fail strong{font-size:13px;font-weight:650;letter-spacing:.06em;color:#fda4af}.studio-asset-fail p{margin:0;max-width:16em;font-size:12.5px;line-height:1.55;color:#fee2e2;word-break:break-word}.studio-asset-media em{position:absolute;inset:auto 8px 8px;padding:4px 8px;border-radius:6px;background:#000000b3;color:#fff;font-size:12px;font-style:normal}.studio-asset-media em.is-fail,.studio-panel-stage em.is-fail{right:8px;left:8px;line-height:1.45;text-align:left;background:#1a1214f0;color:#fecaca;white-space:normal}.studio-asset-meta{padding:10px 12px 4px}.studio-asset-meta strong{display:block;font-size:14px}.studio-asset-meta small{display:-webkit-box;overflow:hidden;color:#9ca3af;-webkit-box-orient:vertical;-webkit-line-clamp:2}.studio-asset-title{display:flex;align-items:center;gap:8px;min-width:0}.studio-asset-title strong{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.studio-asset-title .studio-tag{flex:none}.studio-tag-role{background:#60a5fa29;color:#bfdbfe}.studio-asset-line{display:-webkit-box;margin:6px 0 0;overflow:hidden;color:#9ca3af;font-size:12px;line-height:1.5;-webkit-box-orient:vertical;-webkit-line-clamp:1}.studio-asset-line-voice{color:#b7a9e6}.studio-asset-meta{padding-bottom:12px}.studio-asset-actions{display:flex;gap:6px;padding:8px 12px 12px}.studio-asset-actions button,.studio-asset-actions label{flex:1;margin:0;padding:6px 0;border:1px solid #343741;border-radius:8px;background:transparent;color:#d1d5db;font:inherit;font-size:12px;text-align:center;cursor:pointer}.studio-asset-actions button:disabled,.studio-asset-actions label[data-disabled="1"]{opacity:.45;cursor:not-allowed}.studio-assets-foot{display:flex;justify-content:flex-end;padding:12px 20px;border-top:1px solid #26282f;background:#121316;flex:none}.studio-modal{position:fixed;top:0;right:0;bottom:0;left:0;z-index:50;display:grid;place-items:center;background:#0009}.studio-modal-card{width:min(520px,calc(100vw - 32px));max-height:calc(100vh - 48px);padding:20px;overflow-y:auto;border:1px solid #343741;border-radius:14px;background:#121316}.studio-modal-card h2{margin:0;font-size:16px}.studio-modal-card label{display:block;margin:14px 0 6px;color:#9ca3af;font-size:12px}.studio-modal-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:18px}@media (max-width: 860px){.studio-field-grid{grid-template-columns:1fr}.studio-steps-title{display:none}}.studio-asset-tags{display:flex;flex-wrap:wrap;gap:4px;margin:4px 0}.studio-tag{padding:1px 8px;border-radius:999px;background:#1d2a4a;color:#bfdbfe;font-size:11px}.studio-tag-voice{background:#2a2140;color:#ddd6fe}.studio-style-lock{display:inline-flex;align-items:center;max-width:360px;padding:6px 12px;overflow:hidden;border:1px solid rgba(96,165,250,.4);border-radius:999px;background:#2563eb24;color:#cfe0ff;font-size:12px;text-overflow:ellipsis;white-space:nowrap}.studio-tag-muted{background:#94a3b829;color:#aab4c6}.studio-asset-rest{margin-top:16px}.studio-asset-rest>summary{margin-bottom:12px;color:#9aa6bd;font-size:13px;cursor:pointer}.studio-style-row{display:flex;flex-wrap:wrap;align-items:center;gap:10px}.studio-style-row small{flex:1 1 240px;color:#8f9bb3}@keyframes studio-pulse{0%,to{opacity:.45}50%{opacity:.9}}@keyframes studio-spin{to{transform:rotate(360deg)}}.studio-skeleton{display:block;width:100%;height:36px;border-radius:8px;background:#23262e;animation:studio-pulse 1.4s ease-in-out infinite}.studio-skeleton[data-rows="2"]{height:60px}.studio-skeleton[data-rows="6"]{height:150px}.studio-skeleton[data-rows="7"]{height:168px}.studio-analysis{display:flex;flex-wrap:wrap;align-items:center;gap:8px 16px;margin:0 auto 14px;max-width:960px;padding:12px 16px;border:1px solid #1f3a6b;border-radius:12px;background:#121c33;color:#dbeafe;font-size:13px}.studio-analysis strong{flex:1 1 100%;font-size:14px}.studio-analysis-bar{flex:1 1 100%;height:6px;overflow:hidden;border-radius:3px;background:#1f2a44}.studio-analysis-bar span{display:block;height:100%;border-radius:3px;background:linear-gradient(90deg,#2563eb,#60a5fa);transition:width .6s ease}.studio-analysis ol{display:flex;flex-wrap:wrap;gap:6px 18px;margin:0;padding:0;list-style:none;color:#93a4c4;font-size:12px}.studio-analysis li[data-state=done]{color:#86efac}.studio-analysis li[data-state=running]{color:#bfdbfe;animation:studio-pulse 1.4s ease-in-out infinite}.studio-analysis li[data-state=failed]{color:#fca5a5}.studio-reanalyze{display:inline-flex;align-items:center;gap:6px;width:auto;height:40px;padding:0 12px;border:1px solid #343741;border-radius:10px;background:#1b1d23;color:#e5e7eb;font-size:13px;white-space:nowrap}.studio-bio-head .studio-bio-role{width:108px;border-color:#3b4a73;border-radius:999px;background:#1d2a4a;color:#bfdbfe;text-align:center}.studio-bio-profile{min-height:150px;line-height:1.6}.studio-asset-media .studio-spinner{width:26px;height:26px;border:3px solid #2f3340;border-top-color:#60a5fa;border-radius:50%;animation:studio-spin .9s linear infinite}.studio-asset-wait{display:flex;flex-direction:column;align-items:center;gap:10px;color:#9ca3af;font-size:12px}.studio-asset-card[data-skeleton="1"]{pointer-events:none}.studio-asset-card[data-skeleton="1"] .studio-asset-media{animation:studio-pulse 1.4s ease-in-out infinite}.studio-asset-progress{display:flex;align-items:center;gap:12px;margin:0 0 14px;padding:10px 14px;border:1px solid #1f3a6b;border-radius:10px;background:#121c33;color:#dbeafe;font-size:13px}.studio-asset-progress .studio-analysis-bar{flex:1}.studio-panel .studio-bio-head .studio-bio-name{flex:1 1 0;width:auto;min-width:0}.studio-panel .studio-bio-head .studio-bio-role{flex:0 0 108px;width:108px;min-width:0;padding:9px 8px}.studio-panel .studio-bio-head .studio-icon-btn{flex:0 0 34px}.studio-style-conflict{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px;padding:10px 14px;border:1px solid rgba(251,191,36,.45);border-radius:10px;background:#fbbf241a;color:#fde68a;font-size:13px}.studio-cost{display:inline-block;margin-left:4px;padding:1px 6px;border-radius:999px;background:#facc1529;color:#facc15;font-size:11px;font-weight:500;line-height:1.5;white-space:nowrap}button:has(.studio-cost){position:relative;overflow:visible}.studio-cost-off{position:absolute;top:1px;right:8px;z-index:1;color:#fde68a;font-size:9px;font-style:normal;font-weight:650;line-height:1;letter-spacing:0;transform:translate(4px,-5px);pointer-events:none}.studio-asset-panel{display:flex;flex-direction:column;width:min(1040px,calc(100vw - 32px));height:min(760px,calc(100vh - 48px));overflow:hidden;border:1px solid #343741;border-radius:14px;background:#121316}.studio-panel-head,.studio-panel-foot{display:flex;flex:none;align-items:center;justify-content:space-between;gap:8px;padding:12px 18px}.studio-panel-head{border-bottom:1px solid #26282f}.studio-panel-head h2{margin:0;font-size:16px}.studio-panel-foot{justify-content:flex-end;border-top:1px solid #26282f}.studio-panel-foot-gap{flex:1}.studio-btn-danger{height:40px;padding:0 16px;border:1px solid #5b2a2f;border-radius:10px;background:transparent;color:#f87171;font:inherit;cursor:pointer}.studio-btn-danger:disabled{opacity:.5;cursor:not-allowed}.studio-asset-add{margin-left:auto;padding:4px 10px;border:1px dashed #4b5563;border-radius:8px;background:transparent;color:#9ca3af;font:inherit;font-size:12px;cursor:pointer}.studio-asset-add:hover:not(:disabled){border-color:#60a5fa;color:#bfdbfe}.studio-asset-new{display:flex;gap:8px;margin:0 0 12px}.studio-asset-new input{flex:1;max-width:320px;height:40px;padding:0 12px;border:1px solid #343741;border-radius:10px;background:#121316;color:#e5e7eb;font:inherit}.studio-panel-body{display:grid;flex:1;min-height:0;grid-template-columns:minmax(300px,400px) minmax(0,1fr)}.studio-panel-preview{display:flex;min-height:0;flex-direction:column;gap:10px;padding:14px 16px;overflow-y:auto;border-right:1px solid #26282f}.studio-panel-tabs{display:flex;gap:6px}.studio-panel-tabs button{padding:4px 12px;border:1px solid #343741;border-radius:999px;background:transparent;color:#9ca3af;font:inherit;font-size:12px;cursor:pointer}.studio-panel-tabs button[aria-selected=true]{border-color:#6366f1;background:#6366f12e;color:#e0e7ff}.studio-panel-stage{position:relative;display:grid;flex:none;place-items:center;height:clamp(240px,46vh,440px);overflow:hidden;border-radius:10px;background:#1b1d23;color:#6b7280;font-size:13px;text-align:center}.studio-panel-stage>span{padding:0 16px}.studio-panel-stage img,.studio-panel-zoom-open img{width:100%;height:100%;object-fit:contain}.studio-panel-zoom-open{display:block;width:100%;height:100%;padding:0;border:0;background:transparent;cursor:zoom-in}.studio-panel-zoom{position:fixed;top:0;right:0;bottom:0;left:0;z-index:80;display:grid;place-items:center;padding:64px 24px 24px;background:#000000e0}.studio-panel-zoom img{max-width:min(1200px,100%);max-height:calc(100vh - 96px);object-fit:contain;cursor:default}.studio-panel-zoom-close{position:absolute;top:16px;right:16px;padding:8px 16px;border:1px solid #4b5563;border-radius:999px;background:#111318;color:#f9fafb;font:inherit;cursor:pointer}.studio-panel-stage em{position:absolute;inset:auto 10px 10px;display:flex;align-items:center;gap:8px;padding:6px 10px;border-radius:8px;background:#000000bf;color:#fff;font-size:12px;font-style:normal}.studio-panel-history strong{font-size:12px;color:#9ca3af}.studio-panel-history p{margin:6px 0 0;color:#6b7280;font-size:12px}.studio-panel-history ul{display:grid;margin:8px 0 0;padding:0;gap:8px;list-style:none;grid-template-columns:repeat(auto-fill,minmax(72px,1fr))}.studio-panel-history li button{position:relative;width:100%;padding:0;overflow:hidden;aspect-ratio:3 / 4;border:2px solid transparent;border-radius:8px;background:#1b1d23;cursor:pointer}.studio-panel-history li button[data-current="1"]{border-color:#6366f1;cursor:default}.studio-panel-history li button:disabled:not([data-current="1"]){opacity:.5}.studio-panel-history li img{width:100%;height:100%;object-fit:cover}.studio-panel-history li span{position:absolute;inset:auto 0 0;padding:2px 0;background:#000000b3;color:#fff;font-size:11px;text-align:center}.studio-panel-form{min-height:0;padding:4px 18px 18px;overflow-y:auto}.studio-panel-form label{display:block;margin:14px 0 6px;color:#9ca3af;font-size:12px}.studio-panel-form input,.studio-panel-form textarea,.studio-panel-form select{width:100%;padding:8px 10px;border:1px solid #343741;border-radius:8px;background:#1b1d23;color:#e5e7eb;font:inherit;font-size:13px}.studio-panel-form textarea{resize:vertical}.studio-panel-form input[type=file]{display:none}.studio-panel-gen{margin-top:4px}.studio-model-pick-trigger,.studio-model-pick-menu button{display:flex;align-items:center;justify-content:space-between;gap:8px;width:100%;border:0;background:transparent;color:#e5e7eb;font:inherit;font-size:13px;text-align:left;cursor:pointer}.studio-model-pick-trigger{min-height:36px;padding:8px 10px;border:1px solid #343741;border-radius:8px;background:#1b1d23}.studio-model-pick-trigger span,.studio-model-pick-menu button span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.studio-model-discount{flex:none;color:#facc15;font-size:12px;font-style:normal;font-weight:650}.studio-model-pick-menu{display:grid;gap:2px;max-height:220px;overflow:auto;padding:6px;border:1px solid #2a2f42;border-radius:10px;background:#0f1218;box-shadow:0 12px 32px #00000073}.studio-model-pick-menu button{padding:7px 10px;border-radius:8px}.studio-model-pick-menu button[data-on="1"]{background:#1d2a4a;color:#fff}.studio-panel-buttons{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-top:10px}.studio-panel-buttons label.studio-btn-ghost{display:inline-flex;align-items:center;align-self:center;box-sizing:border-box;height:36px;margin:0;padding:0 14px;border:1px solid #343741;border-radius:8px;color:#d1d5db;font-size:13px;cursor:pointer}.studio-panel-buttons label[data-disabled="1"]{opacity:.45;cursor:not-allowed}.studio-panel-voice{margin-top:22px;padding-top:14px;border-top:1px solid #26282f}.studio-panel-voice h3{margin:0 0 6px;font-size:14px}.studio-panel-voice h4{margin:16px 0 6px;color:#9ca3af;font-size:12px;font-weight:500}.studio-panel-hint{margin:0 0 8px;color:#6b7280;font-size:12px;line-height:1.6}.studio-panel-lock{display:flex;align-items:center;gap:8px;margin:10px 0 4px;color:#cbd5e1;font-size:12px;line-height:1.5;cursor:pointer}.studio-variant-add{margin:8px 0;font-size:12px}.studio-variant-add summary{cursor:pointer;color:#9ca3af}.studio-variant-add input{display:block;width:100%;margin:6px 0}.studio-voice-current{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:8px}.studio-voice-list{display:grid;margin:0;padding:0;gap:6px;list-style:none}.studio-voice-list li{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:8px 10px;border:1px solid #26282f;border-radius:8px;background:#15171c}.studio-voice-list li[data-active="1"]{border-color:#6366f1}.studio-voice-list strong{display:block;font-size:13px}.studio-voice-list small{color:#9ca3af;font-size:12px}.studio-voice-list button{flex:none;padding:4px 12px;border:1px solid #343741;border-radius:8px;background:transparent;color:#d1d5db;font:inherit;font-size:12px;cursor:pointer}.studio-voice-list button:disabled{opacity:.5;cursor:default}.studio-link-btn{margin-top:8px;padding:0;border:0;background:none;color:#818cf8;font:inherit;font-size:12px;cursor:pointer}.studio-voice-audio{width:100%;margin-top:8px}.studio-voice-note{margin:8px 0 0;color:#a5b4fc;font-size:12px;line-height:1.6}@media (max-width: 860px){.studio-panel-body{grid-template-columns:1fr;overflow-y:auto}.studio-panel-preview{border-right:0;border-bottom:1px solid #26282f;overflow:visible}}.studio-voice-library{z-index:60}.studio-voice-library-card{width:min(640px,calc(100vw - 32px));max-height:calc(100vh - 48px);padding:20px;overflow-y:auto;border:1px solid #343741;border-radius:14px;background:#121316}.studio-voice-library-card header{display:flex;align-items:center;justify-content:space-between}.studio-voice-library-card h2{margin:0;font-size:16px}.studio-voice-library-filters{display:grid;gap:8px;margin-bottom:12px}.studio-voice-library-filters>div{display:flex;flex-wrap:wrap;gap:6px}.studio-voice-library-filters button{padding:3px 10px;border:1px solid #343741;border-radius:999px;background:#15171c;color:#cbd5e1;font-size:12px;cursor:pointer}.studio-voice-library-filters button[data-on="1"]{border-color:#6366f1;background:#252a5a}.studio-voice-library-list small{display:block;color:#9ca3af}.studio-style-picker{display:grid;gap:10px;margin-top:10px;padding:14px;border-radius:12px;border:1px solid rgba(150,196,255,.16);background:#080e1a8c}.studio-style-picker .pref-styles{max-height:420px}.studio-panel-actions{display:flex;flex-direction:column;gap:8px;margin-top:10px}.studio-panel-actions>button,.studio-panel-actions>label{display:inline-flex;align-items:center;justify-content:center;gap:8px;width:100%;min-width:0;height:40px;margin:0;padding:0 14px;font-size:13px;line-height:1.2;white-space:nowrap}.studio-panel-actions>button:has(.studio-cost){padding:0 46px 0 14px}.studio-panel-actions .studio-cost{margin-left:0}.studio-panel-actions .studio-cost-off{top:0;right:10px;padding:2px 5px 3px;border-radius:0 0 7px 7px;background:#080a10b8;color:#fde68a;transform:none}.studio-voice-more summary{cursor:pointer;color:#e2e8f2b3;font-size:12.5px;margin:6px 0}.studio-assets-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:10px 20px;border-bottom:1px solid #26282f;flex:none}.studio-assets-tabs{display:inline-flex;gap:6px;padding:3px;border-radius:12px;background:#1b1d23}.studio-assets-tabs button{display:inline-flex;align-items:center;gap:6px;height:34px;padding:0 16px;border:0;border-radius:10px;background:transparent;color:#9ca3af;font:inherit;cursor:pointer}.studio-assets-tabs button[data-on="1"]{background:#2b3350;color:#fff;font-weight:650}.studio-assets-tabs small{color:#6b7280;font-size:12px}.studio-assets-filters{display:flex;align-items:center;gap:10px}.studio-assets-episode,.studio-assets-search{height:36px;padding:0 12px;border:1px solid #343741;border-radius:10px;background:#1b1d23;color:#e5e7eb;font:inherit;font-size:13px}.studio-assets-search{width:200px}.studio-asset-forms{margin:4px 0 0;color:#9ca3af;font-size:12px}.studio-asset-variants{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px}.studio-asset-variants button{width:32px;height:32px;padding:0;overflow:hidden;border:1px solid #343741;border-radius:8px;background:#1b1d23;color:#cbd5e1;cursor:pointer}.studio-asset-variants img,.studio-asset-variants i{display:grid;place-items:center;width:100%;height:100%;object-fit:cover;font-style:normal;font-size:12px}.studio-assets-foot{align-items:center;justify-content:space-between;gap:16px}.studio-assets-foot p{margin:0;color:#9ca3af;font-size:12.5px}.studio-episodes-body{flex:1;min-height:0;padding:18px 20px 24px;overflow-y:auto}.studio-episode-grid{display:grid;gap:16px;grid-template-columns:repeat(auto-fill,minmax(230px,1fr))}.studio-episode-card{position:relative;display:flex;flex-direction:column;overflow:hidden;padding:0;border:1px solid #26282f;border-radius:14px;background:#15171c;color:inherit;font:inherit;text-align:left;cursor:pointer;transition:border-color .15s,transform .15s}.studio-episode-card:hover{border-color:#3b82f6;transform:translateY(-2px)}.studio-episode-card[data-state=locked]{cursor:pointer}.studio-episode-cover{position:relative;display:grid;place-items:center;aspect-ratio:9 / 12;overflow:hidden;background:linear-gradient(160deg,#1f2740,#151823 70%)}.studio-episode-cover video{width:100%;height:100%;object-fit:cover}.studio-episode-cover b{color:#3b4260;font-size:44px;font-weight:800}.studio-episode-badge{position:absolute;top:10px;left:10px;padding:3px 9px;border-radius:999px;background:#0000009e;color:#e5e7eb;font-size:12px}.studio-episode-card[data-state=done] .studio-episode-badge{background:#166534d9;color:#bbf7d0}.studio-episode-card[data-state=making] .studio-episode-badge{background:#1e40afd9;color:#bfdbfe}.studio-episode-card[data-state=locked] .studio-episode-badge{background:#78350fd9;color:#fde68a}.studio-episode-meta{display:grid;gap:6px;padding:12px 14px 14px}.studio-episode-meta strong{font-size:15px}.studio-episode-meta p{display:-webkit-box;margin:0;overflow:hidden;color:#9ca3af;font-size:12.5px;line-height:1.55;-webkit-box-orient:vertical;-webkit-line-clamp:2}.studio-episode-meta small{color:#6b7280;font-size:12px}.studio-episode-go{justify-self:start;margin-top:4px;padding:6px 14px;border-radius:999px;background:#2563eb;color:#fff;font-size:12.5px;font-weight:650}.studio-episode-card[data-state=locked] .studio-episode-go{background:#2b3350;color:#cbd5e1}:root{--yimi-bg: #0A0C10;--yimi-panel: #141721;--yimi-float: #1C202E;--yimi-line: #2A2F42;--yimi-title: #F3F4F6;--yimi-muted: #9CA3AF;--yimi-dim: #6B7280;--yimi-accent: #3B82F6;--yimi-violet: #8B5CF6;color:#f3f4f6;background:#0a0c10;font-family:PingFang SC,Hiragino Sans GB,Noto Sans CJK SC,Noto Sans SC,WenQuanYi Micro Hei,sans-serif;font-synthesis:none;text-rendering:optimizeLegibility}*{box-sizing:border-box}html,body,#root{margin:0;min-height:100%}body{background:#0a0c10}button,input,textarea{font:inherit;color:inherit}.login-gate{position:fixed;top:0;right:0;bottom:0;left:0;z-index:60;display:grid;place-items:center;padding:24px;background:#060a10b8;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.login-gate-card{position:relative;width:min(460px,100%);max-height:calc(100vh - 48px);overflow-x:hidden;overflow-y:auto;padding:36px 32px 28px;border-radius:24px;border:1px solid rgba(150,186,255,.28);background:radial-gradient(ellipse 80% 40% at 50% 0%,rgba(58,120,220,.22),transparent 70%),#0e1420f5;box-shadow:0 28px 80px #00000075;text-align:center}.login-gate-card h2{margin:0;font-size:30px;letter-spacing:.04em}.login-close{position:absolute;top:14px;right:14px;width:32px;height:32px;border:0;border-radius:999px;background:transparent;color:#e8eef8b8;font-size:22px;line-height:1;cursor:pointer}.login-tabs{display:grid;grid-template-columns:1fr 1fr;gap:6px;margin-top:22px;padding:4px;border-radius:999px;background:#060a12b8;border:1px solid rgba(150,186,255,.16)}.login-tab{height:36px;border:0;border-radius:999px;background:transparent;color:#d6deeab8;cursor:pointer}.login-tab.is-active{color:#f4f7fb;background:linear-gradient(90deg,#1b6fe6e6,#3aa4ffd9)}.login-form{display:flex;flex-direction:column;gap:14px;margin-top:22px;text-align:left}.login-field{display:flex;flex-direction:column;gap:8px;color:#d6deeac7;font-size:13px}.login-field input{height:44px;width:100%;padding:0 14px;border-radius:12px;border:1px solid rgba(150,186,255,.22);background:#060a12b8;color:#f4f7fb;outline:none}.login-field input:focus{border-color:#6ea2ffcc}.login-field input::placeholder{color:#9ca3af}.login-code-row{display:flex;gap:8px}.login-code-row input{flex:1;min-width:0}.login-code-btn{flex:0 0 auto;height:44px;padding:0 14px;border-radius:12px;border:1px solid rgba(150,186,255,.32);background:#121c30e6;color:#d7e6ff;cursor:pointer}.login-code-btn:disabled{cursor:default;color:#d6deea73}.login-error{margin:0;color:#ffb4b4;font-size:13px;line-height:1.6}.login-note{margin:0;color:#9ca3af;font-size:13px;line-height:1.6}.login-submit{width:100%;margin-top:4px}.login-forgot{display:block;margin-top:2px;text-align:center;color:#9ca3af;font-size:13px;text-decoration:none}.login-forgot:hover{color:#d7e6ff}.forgot-page{flex:1;display:grid;place-items:center;min-height:0;padding:24px 0}.forgot-card h1{margin:0;font-size:30px;font-weight:620;line-height:1.2;letter-spacing:.04em}a.login-submit{text-decoration:none}.feedback-page{max-width:720px;margin:0 auto;padding:28px 20px 64px}.feedback-kicker{margin:0 0 6px;font-size:12px;letter-spacing:.08em;color:#93c5fd}.feedback-page h1{margin:0 0 8px;font-size:28px;font-weight:620;letter-spacing:.04em}.feedback-lead,.feedback-page .login-note{margin:0}.feedback-form{display:flex;flex-direction:column;gap:14px;margin-top:18px;text-align:left}.feedback-home{color:#93c5fd;font-size:13px;text-decoration:none}.feedback-file-btn{align-self:flex-start;display:inline-flex;align-items:center}.feedback-file-input{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}.feedback-shots{display:flex;flex-wrap:wrap;gap:12px;margin:0;padding:0;list-style:none}.feedback-shots li{display:flex;flex-direction:column;gap:6px;width:148px;color:#d7e6ff;font-size:12px}.feedback-shots img{width:148px;height:110px;object-fit:cover;border:1px solid rgba(150,186,255,.28);border-radius:12px;background:#0b1220}.feedback-shots li span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.feedback-shots div{display:flex;gap:10px}.feedback-shots button,.feedback-preview button{border:0;padding:0;background:transparent;color:#93c5fd;cursor:pointer;font-size:12px}.feedback-preview{margin:0}.feedback-preview img{display:block;width:min(100%,560px);max-height:420px;object-fit:contain;border:1px solid rgba(150,186,255,.28);border-radius:12px;background:#0b1220}.login-field textarea{width:100%;min-height:128px;padding:12px 14px;border-radius:12px;border:1px solid rgba(150,186,255,.22);background:#060a12b8;color:#f4f7fb;outline:none;resize:vertical}.login-field textarea:focus{border-color:#6ea2ffcc}.login-field textarea::placeholder{color:#9ca3af}.studio{min-height:100vh;display:flex;flex-direction:column;background:radial-gradient(ellipse 70% 48% at 48% 18%,rgba(59,130,246,.16),transparent 68%),linear-gradient(180deg,#0b0d13,#0a0c10 46%,#08090d)}.studio.has-rail{padding-left:72px}.studio.has-rail:not(.is-home){height:100vh;overflow:hidden}.studio.has-rail:not(.is-home) .stage{height:100vh;overflow-y:auto;padding-top:8px}.studio.is-boards{height:100vh;overflow:hidden;padding:0}.app-rail{position:fixed;left:0;top:0;z-index:50;display:flex;flex-direction:column;align-items:center;width:72px;height:100vh;padding:14px 0 12px;background:#0a0c10e0;border-right:1px solid rgba(42,47,66,.88);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px)}.app-rail-logo{display:grid;place-items:center;width:36px;height:36px;border-radius:10px;background:linear-gradient(180deg,#8eb6ff,#3d6fd8);color:#fff;font-size:16px;font-weight:700;text-decoration:none}.app-rail-nav{display:grid;gap:10px;margin:22px 0 auto}.app-rail-foot{display:grid;justify-items:center;gap:10px}.app-rail-btn{position:relative;display:grid;justify-items:center;gap:4px;width:56px;padding:8px 4px;border:0;border-radius:12px;background:transparent;color:#9ca3af;font-size:10px;line-height:1.2;text-align:center;text-decoration:none;cursor:pointer}.app-rail-btn svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.7}.app-rail-btn.is-current,.app-rail-btn:hover{background:#3b82f629;color:#e5e7eb}.app-rail-btn .workspace-count{position:absolute;top:4px;right:6px}.app-rail-avatar,.app-rail-login{width:36px;height:36px;padding:0;border:0;border-radius:50%;background:#1c202e;color:#e5e7eb;cursor:pointer}.app-rail-avatar img,.app-rail-avatar i{display:grid;place-items:center;width:36px;height:36px;border-radius:50%;object-fit:cover;background:linear-gradient(180deg,#8eb6ff,#3d6fd8);font-style:normal;font-weight:700}.app-rail-account{position:relative}.app-rail-menu{position:absolute;left:48px;bottom:0;z-index:8;min-width:168px;padding:10px;border:1px solid #2A2F42;border-radius:12px;background:#141721;box-shadow:0 12px 28px #00000059}.app-rail-menu p{display:grid;gap:2px;margin:0 0 8px}.app-rail-menu strong{font-size:13px}.app-rail-menu span{color:#93c5fd;font-size:11px}.app-rail-menu button{width:100%;height:32px;border:0;border-radius:8px;background:transparent;color:#e5e7eb;text-align:left;cursor:pointer}.app-rail-login{width:auto;height:28px;padding:0 8px;border-radius:999px;font-size:11px}.master-header{position:sticky;top:0;z-index:30;display:flex;align-items:center;justify-content:space-between;height:56px;padding:0 20px;border-bottom:1px solid #2A2F42;background:#0a0c10eb;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px)}.master-brand{display:flex;align-items:center;gap:10px;min-width:0}.master-brand svg{width:16px;height:16px;fill:none;stroke:#9ca3af}.master-logo{margin:0;color:#f3f4f6;font-size:14px;font-weight:700;letter-spacing:.02em;white-space:nowrap;text-decoration:none}.master-logo:hover{color:#93c5fd}.workspace-chip{display:inline-flex;align-items:center;gap:6px;height:28px;padding:0 10px;border-radius:999px;border:1px solid rgba(59,130,246,.45);background:#141721;color:#93c5fd;font-size:12px;cursor:pointer;box-shadow:0 0 12px #3b82f62e}.workspace-count{min-width:16px;height:16px;padding:0 5px;border-radius:999px;background:#3b82f6;color:#fff;font-size:10px;line-height:16px;text-align:center}.workspace-chip svg{width:14px;height:14px;stroke:currentColor;fill:none}.workspace-chip:hover,.workspace-chip.is-open{border-color:#3b82f6;box-shadow:0 0 16px #3b82f659}.workspace-chip:focus-visible{outline:2px solid #93c5fd;outline-offset:2px}.master-project{overflow:hidden;color:#9ca3af;font-size:12px;text-overflow:ellipsis;white-space:nowrap}.pipeline-stepper{display:flex;align-items:center;justify-content:center;gap:0;min-width:0}.pipeline-step{display:inline-flex;align-items:center;gap:6px;height:32px;padding:0 8px;border:0;background:transparent;color:#6b7280;font-size:12px;white-space:nowrap;cursor:pointer}.pipeline-step[data-state=done]{color:#34d399}.pipeline-step[data-state=current]{color:#f3f4f6;text-shadow:0 0 12px rgba(59,130,246,.55)}.pipeline-step[data-state=current] .pipeline-index{border-color:#3b82f6;background:#3b82f6;color:#fff;box-shadow:0 0 12px #3b82f68c}.pipeline-index{display:inline-grid;place-items:center;width:18px;height:18px;border-radius:99px;border:1px solid #2A2F42;font-size:10px}.pipeline-join{width:22px;height:1px;background:#2a2f42}.master-tools{display:flex;align-items:center;justify-content:flex-end;gap:8px}.model-chip{height:28px;padding:0 10px;border-radius:999px;border:1px solid #2A2F42;background:#141721;color:#9ca3af;font-size:11px;cursor:pointer}.model-chip.is-video{border-color:#8b5cf673;color:#ddd6fe}.rail{display:flex;flex-direction:column;align-items:center;padding:18px 8px 16px;background:#060a12b8;border-right:1px solid rgba(255,255,255,.04)}.rail-brand{margin:0 0 22px;width:52px;text-align:center;font-size:13px;font-weight:650;line-height:1.25;letter-spacing:.04em}.rail-nav{display:flex;flex-direction:column;gap:8px;width:100%}.rail-item{display:flex;flex-direction:column;align-items:center;gap:6px;width:100%;padding:10px 4px;border:0;border-radius:12px;background:transparent;color:#e8eef8c7;cursor:default}.rail-item svg,.rail-points svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linejoin:round;stroke-linecap:round}.rail-points svg{width:14px;height:14px;fill:currentColor;stroke:none}.rail-item span{font-size:12px;line-height:1.2}.rail-item.is-active{background:#ffffff0f;color:#f7f9fc}.rail-foot{margin-top:auto;display:flex;flex-direction:column;align-items:center;gap:14px}.rail-points{display:flex;align-items:center;gap:4px;color:#e8eef8d1;font-size:13px}.rail-avatar{width:28px;height:28px;border-radius:50%;background:radial-gradient(circle at 50% 38%,#d7e4f8 0 28%,transparent 30%),linear-gradient(180deg,#8ea0b8,#5d6d84);box-shadow:inset 0 0 0 1px #ffffff2e}.rail-avatar.is-user{display:grid;place-items:center;background:linear-gradient(180deg,#8eb6ff,#3d6fd8);color:#f7fbff;font-size:12px;font-weight:700}.stage{position:relative;display:flex;flex-direction:column;min-width:0;padding:0 48px 40px}.studio.is-home .stage{height:calc(100vh - 56px);overflow:hidden;padding-bottom:0}.studio.is-home.has-rail .stage{height:100vh}.stage-tools{display:none}.admin-entry{display:inline-flex;align-items:center;gap:8px;height:36px;padding:0 14px 0 12px;border-radius:999px;border:1px solid rgba(150,186,255,.32);background:#0e1420c7;color:#e8eef8;font-size:13px;letter-spacing:.02em;text-decoration:none;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.admin-entry:hover{border-color:#6ea2ffbf;color:#fff}.account-chip{display:inline-flex;align-items:center;gap:8px;height:36px;padding:0 12px 0 6px;border-radius:999px;border:1px solid rgba(150,186,255,.28);background:#0e1420c7;color:#e8eef8;font-size:13px}.account-login{height:32px;padding:0 16px;border-radius:999px;border:1px solid rgba(150,186,255,.28);background:#0e1420c7;color:#e8eef8;font-size:13px;cursor:pointer}.account-team{color:#e8eef89e;font-size:12px}.account-chip img,.account-fallback{width:26px;height:26px;border-radius:50%;object-fit:cover}.account-fallback{display:grid;place-items:center;background:linear-gradient(180deg,#8eb6ff,#3d6fd8);color:#f7fbff;font-size:12px;font-weight:700}.hero{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;min-height:calc(100vh - 56px);box-sizing:border-box;padding:20px 0 28px}.hero.home-first-screen{height:calc(100vh - 56px);min-height:calc(100vh - 56px);overflow:hidden}.hero.home-first-screen:has(.pref-modal[data-tab=media]){overflow:visible}.eyebrow{margin:0 0 10px;color:#6ea2ff;font-size:13px;letter-spacing:.12em}h1{margin:0;font-size:clamp(32px,4vw,48px);font-weight:620;line-height:1.22;letter-spacing:.01em}.hero h1{margin:0 0 28px}.sub{margin:12px 0 0;max-width:640px;color:#d6deea9e;font-size:14px;line-height:1.6}.hero-actions{display:flex;gap:16px;margin-top:36px}.agent-shell{width:min(860px,100%);margin-top:18px;padding:14px 16px 12px;border-radius:28px;border:1px solid rgba(150,196,255,.38);background:radial-gradient(ellipse 80% 60% at 50% 0%,rgba(80,140,255,.16),transparent 70%),#0a101ce0;animation:agent-breathe 3.8s ease-in-out infinite}.home-entry-tabs{display:flex;width:fit-content;margin:0 0 12px;padding:4px;gap:4px;border-radius:999px;border:1px solid rgba(150,196,255,.16);background:#080e1a8c}.home-entry-tab{height:32px;padding:0 18px;border:0;border-radius:999px;background:transparent;color:#e2e8f2b8;font-size:14px;cursor:pointer}.home-entry-tab.is-active{color:#f7fbff;font-weight:650;background:linear-gradient(90deg,#1b6fe6f2,#3aa4ffe0)}.agent-drop-hint{margin:0 0 10px;padding:10px 12px;border-radius:12px;border:1px dashed rgba(150,196,255,.28);color:#d6deea9e;font-size:13px;text-align:left}.agent-shell.is-dragover{border-color:#bedcffe6}.agent-input{width:100%;min-height:92px;resize:vertical;border:0;outline:none;background:transparent;color:#f4f7fb;font-size:16px;line-height:1.7;text-align:left}.agent-input::placeholder{color:#d6deea75}.agent-file-stage{display:flex;align-items:center;justify-content:center;min-height:92px}.agent-file-card{display:flex;align-items:center;gap:14px;width:min(520px,100%);padding:16px 18px;border-radius:20px;border:1px solid rgba(150,196,255,.32);background:#080e1ab8;box-shadow:0 16px 40px #08143047}.agent-file-icon{font-size:28px;line-height:1}.agent-file-meta{display:flex;flex-direction:column;gap:4px;min-width:0;flex:1}.agent-file-name{overflow:hidden;color:#f4f7fb;font-size:15px;font-weight:600;text-overflow:ellipsis;white-space:nowrap}.agent-file-size{color:#d6deea9e;font-size:12px}.agent-file-remove{width:32px;height:32px;border:0;border-radius:999px;background:#ffffff14;color:#f4f7fbdb;cursor:pointer}.agent-file-remove:hover{background:#ff78782e}.creation-brief{position:relative;margin:0;padding:0;border:0;background:transparent}.creation-brief.is-dock{width:100%;margin-top:10px}.creation-brief>.creation-brief-head{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.creation-brief-head h2,.creation-brief-head h3{margin:0;color:#f4f7fb;font-size:15px;font-weight:650}.creation-brief-head p{margin:6px 0 12px;color:#d6deea9e;font-size:12px;line-height:1.5}.pref-capsules{display:flex;flex-wrap:wrap;gap:8px;align-items:center}.home-dock-chips{width:100%}.home-dock-chips .pref-capsule{max-width:none;flex:1;min-width:0;text-align:left}.pref-capsule{max-width:280px;height:34px;padding:0 12px;overflow:hidden;border-radius:999px;border:1px solid rgba(150,196,255,.22);background:#080e1ab8;color:#e8eef8e0;font-size:12px;line-height:34px;text-overflow:ellipsis;white-space:nowrap;cursor:pointer}.pref-capsule.is-open,.pref-capsule:hover{border-color:#bedcff8c}.pref-modal{position:absolute;left:0;bottom:calc(100% + 8px);z-index:20;width:min(560px,calc(100vw - 32px));max-height:85vh;overflow:visible;padding:20px;border-radius:18px;border:1px solid rgba(150,196,255,.18);background:#181b26f5;box-shadow:0 24px 60px #00000073;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);text-align:left}.creation-brief.is-dock .pref-modal{width:100%;max-width:none}.pref-pane{display:grid;gap:10px}.pref-label{margin:2px 0 0;color:#d6deea9e;font-size:12px}.pref-aspects,.pref-model-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.pref-aspects{grid-template-columns:repeat(3,minmax(0,1fr))}.pref-model-tabs{display:flex;gap:6px}.pref-model-tabs button{height:30px;padding:0 14px;border-radius:999px;border:1px solid rgba(150,196,255,.18);background:transparent;color:#e8eef8c7;font-size:12px;cursor:pointer}.pref-model-tabs button.is-active{border-color:#5aa0ffb3;background:#1b6fe647;color:#f4f7fb}.pref-model-split{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(210px,.9fr);gap:16px;align-items:start}.pref-model-split.is-text{grid-template-columns:minmax(0,1fr)}.pref-model-list{display:flex;flex-direction:column;gap:6px;max-height:360px;overflow:auto;padding-right:4px}.pref-model-side{display:flex;flex-direction:column;gap:8px;min-width:0;padding-left:14px;border-left:1px solid rgba(150,196,255,.14)}.pref-note{margin:0;color:#d6deea8c;font-size:12px;line-height:1.45}.creation-brief.is-dock .pref-modal[data-tab=media]{top:auto;bottom:calc(100% + 8px);width:100%;max-height:min(360px,calc(100vh - 88px));padding:12px 14px 10px;overflow:hidden}.pref-modal[data-tab=media] .pref-model-tabs{margin-bottom:8px}.pref-modal[data-tab=media] .pref-model-split,.pref-modal[data-tab=media] .pref-model-list{max-height:248px}.pref-modal[data-tab=media] .pref-model-side{gap:6px;max-height:248px;overflow:auto}.pref-modal[data-tab=media] .pref-aspects{gap:6px}.pref-modal[data-tab=media] .pref-model-list .pref-card:not(.is-auto-model){flex-direction:row;align-items:center;gap:8px;min-height:36px;height:36px;padding:0 56px 0 12px;overflow:hidden}.pref-modal[data-tab=media] .pref-model-list .pref-card:not(.is-auto-model) strong{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.pref-modal[data-tab=media] .pref-model-list .model-discount{top:50%;transform:translateY(-50%)}.model-mark{flex:none;padding:0 6px;border-radius:999px;font-size:10px;font-style:normal;line-height:16px;white-space:nowrap}.model-mark[data-state=available]{background:#86efac29;color:#86efac}.model-mark[data-state=unavailable]{background:#fca5a524;color:#fca5a5}.model-default{flex:none;max-width:8em;padding:0 6px;border-radius:999px;background:#5aa0ff29;color:#bfdbfe;font-size:10px;line-height:16px;letter-spacing:.04em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.pref-modal[data-tab=media] .pref-card.is-auto-model{min-height:48px;padding:6px 8px}.pref-modal[data-tab=media] .pref-card em{line-height:1.4;white-space:normal}.pref-modal[data-tab=media] .pref-foot{margin-top:8px}.pref-modal[data-tab=media] .pref-note{display:none}.pref-card.is-auto-model{width:100%}.pref-style-filters{display:flex;flex-wrap:wrap;gap:6px}.pref-style-filter{height:26px;padding:0 10px;border-radius:999px;border:1px solid rgba(150,196,255,.16);background:#080e1a8c;color:#e2e8f2b8;font-size:11px;cursor:pointer}.pref-style-filter.is-active{border-color:#5aa0ffb3;background:linear-gradient(180deg,#1b6fe647,#0c1628e6);color:#f4f7fb}.pref-styles.creation-styles,.pref-styles{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));grid-auto-rows:max-content;align-content:start;gap:14px;max-height:380px;overflow-y:auto;padding-right:2px;scrollbar-width:thin}.pref-modal[data-tab=style] .pref-styles{max-height:none;min-height:0;padding-right:6px}.pref-poster{position:relative;display:block;width:100%;min-height:0;aspect-ratio:16 / 10;overflow:hidden;padding:0;border-radius:10px;border:2px solid transparent;background:#141721 center/cover no-repeat;color:#fff;cursor:pointer;transition:transform .16s ease,box-shadow .16s ease,border-color .16s ease}.pref-poster-img{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;object-fit:cover}.pref-poster:hover{transform:scale(1.03)}.pref-poster.is-active{border-color:#3b82f6;box-shadow:0 0 0 1px #3b82f6,0 0 18px #3b82f673}.pref-poster.is-auto{background:radial-gradient(circle at 20% 20%,rgba(96,165,250,.35),transparent 45%),linear-gradient(135deg,#1e293b,#0f172a)}.pref-auto-pin{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:4px;padding:0 18px;text-align:left;background:radial-gradient(circle at 18% 30%,rgba(96,165,250,.42),transparent 52%),linear-gradient(135deg,#1e293b,#0f172a)}.pref-auto-icon{font-size:26px;line-height:1}.pref-auto-title{font-size:16px;font-weight:700}.pref-auto-hint{color:#e2e8f2b3;font-size:12px}.pref-modal[data-tab=style]{position:fixed;top:50%;left:50%;bottom:auto;display:flex;flex-direction:column;width:min(880px,calc(100vw - 32px));height:min(660px,calc(100vh - 48px));max-height:none;transform:translate(-50%,-50%)}.creation-brief.is-dock .pref-modal[data-tab=style]{width:min(880px,calc(100vw - 32px));max-width:none}.pref-modal[data-tab=style] .pref-pane{flex:1;min-height:0;grid-template-rows:auto auto minmax(0,1fr)}.pref-modal[data-tab=style] .pref-foot{position:static;flex:none}.pref-modal[data-tab=style] .pref-styles{scrollbar-color:rgba(150,196,255,.35) transparent}.pref-poster-name{position:absolute;inset:auto 0 0 0;padding:16px 8px 6px;background:linear-gradient(transparent,#000000c7);color:#fff;font-size:13px;font-weight:650;text-align:left;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.pref-poster-check{position:absolute;top:6px;right:6px;width:18px;height:18px;border-radius:50%;background:#3b82f6;color:#fff;font-size:11px;line-height:18px;text-align:center}.model-discount{position:absolute;top:2px;right:6px;z-index:1;color:#facc15;font-size:9px;font-style:normal;font-weight:650;line-height:1;transform:translate(3px,-4px);pointer-events:none}.pref-card{position:relative;display:flex;flex-direction:column;align-items:flex-start;gap:2px;min-height:40px;height:auto;padding:8px 10px;border-radius:12px;border:1px solid rgba(150,196,255,.18);background:#080e1ab8;color:#e8eef8e0;text-align:left;cursor:pointer}.pref-card strong{font-size:12px;font-weight:650}.pref-card em{color:#d6deea80;font-size:11px;font-style:normal}.pref-card.is-active{border-color:#5aa0ffb3;background:linear-gradient(180deg,#1b6fe647,#0c1628e6)}.pref-styles .creation-style{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}.pref-swatch{display:inline-block;width:8px;height:8px;margin-right:6px;border-radius:50%}.pref-foot{position:sticky;bottom:0;display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:12px;padding-top:10px;background:#181b26f5;color:#d6deea9e;font-size:12px}.pref-apply{height:34px;padding:0 14px;border:0;border-radius:999px;background:linear-gradient(90deg,#1b6fe6,#3aa4ff);color:#fff;cursor:pointer}.creation-advanced-toggle{display:flex;align-items:center;width:auto;max-width:280px;margin-top:0;padding:0 12px;border-radius:999px;border:1px solid rgba(150,196,255,.22);background:#080e1ab8;color:#e8eef8e0;font-size:12px;line-height:34px;text-align:left;cursor:pointer;transition:border-color .18s ease,background .18s ease}.creation-advanced-toggle:hover,.creation-advanced-toggle.is-open{border-color:#bedcff8c;background:#0c1628e0}.creation-advanced-toggle:disabled{cursor:progress;opacity:.7}.creation-styles{display:flex;flex-wrap:wrap;gap:8px}.creation-style{height:34px;padding:0 14px;border-radius:999px;border:1px solid rgba(150,186,255,.28);background:#080c168c;color:#e8eef8d1;cursor:pointer}.creation-style.is-active{border-color:transparent;color:#f7fbff;background:linear-gradient(90deg,#1b6fe6f2,#3aa4ffe0)}.creation-prompt,.creation-grid label{display:flex;flex-direction:column;gap:6px;margin:12px 0 0;color:#d6deeab8;font-size:12px}.creation-prompt textarea,.creation-grid select{width:100%;border-radius:12px;border:1px solid rgba(150,196,255,.18);background:#080e1ab8;color:#f4f7fb;font:inherit}.creation-prompt textarea{min-height:72px;resize:vertical;padding:10px 12px;line-height:1.55}.creation-style-upload{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin-top:10px}.creation-upload{height:34px;padding:0 14px;border-radius:999px;border:1px solid rgba(150,186,255,.28);background:#080c168c;color:#e8eef8db;cursor:pointer}.creation-style-preview{display:flex;align-items:center;gap:8px}.creation-style-preview img{width:40px;height:40px;object-fit:cover;border-radius:10px;border:1px solid rgba(150,196,255,.22)}.creation-style-clear,.creation-upload:disabled{border:0;background:transparent;color:#d6deeab3;cursor:pointer}.creation-upload:disabled{cursor:progress;opacity:.7}.creation-style-status{margin:8px 0 0;color:#9ec4ff;font-size:12px}.catalog-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:40;display:flex;align-items:flex-start;justify-content:center;padding:48px 16px 24px;background:#0408109e}.catalog-dialog{position:relative;width:min(760px,100%);max-height:calc(100vh - 72px);overflow:auto;margin:0;padding:28px 24px 24px;border-radius:18px;border:1px solid #2A2F42;background:#1c202e;box-shadow:0 24px 80px #00000073}.catalog-apply{width:100%;margin-top:18px;height:44px;border:0;border-radius:12px;background:#3b82f6;color:#fff;cursor:pointer}.catalog-close{position:absolute;top:12px;right:12px;width:36px;height:36px;border:0;border-radius:999px;background:#ffffff14;color:inherit;cursor:pointer}.admin-catalog{max-width:760px;margin:72px auto 0;padding:8px 0 48px}.admin-catalog-group{margin-top:22px}.admin-catalog-group h3{margin:0 0 10px;font-size:15px}.admin-catalog-group ul{list-style:none;margin:0;padding:0;display:grid;gap:8px}.admin-catalog-row{display:flex;gap:12px;align-items:flex-start;padding:10px 12px;border-radius:12px;border:1px solid rgba(150,186,255,.16);background:#080c1673}.admin-catalog-row.is-locked{opacity:.78}.admin-catalog-row span{display:grid;gap:2px}.admin-catalog-row em,.admin-catalog-row small{font-style:normal;color:#d6deea9e;font-size:12px}.creation-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px 12px}.creation-grid select{height:36px;padding:0 10px}.creation-style:disabled,.creation-prompt textarea:disabled,.creation-grid select:disabled{cursor:progress;opacity:.7}.agent-composer-box{position:relative}.agent-toolbar{display:flex;flex-wrap:wrap;gap:10px;align-items:center;justify-content:space-between;margin-top:8px;padding-top:8px;border-top:1px solid rgba(150,196,255,.12)}.agent-toolbar-left,.agent-toolbar-right{display:flex;flex-wrap:wrap;gap:8px;align-items:center}.agent-unified{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}.agent-bar{display:flex;flex-wrap:wrap;gap:12px;align-items:center;justify-content:space-between;margin-top:8px}.agent-actions{display:flex;flex-wrap:wrap;gap:8px}.agent-upload,.agent-send{border-radius:999px;cursor:pointer}.agent-upload{height:34px;padding:0 12px;border:1px solid rgba(150,186,255,.28);background:#080c168c;color:#e8eef8d1;font-size:12px}.agent-send{height:42px;padding:0 18px;border:0;color:#f7fbff;font-weight:700;background:linear-gradient(90deg,#1b6fe6,#3aa4ff);box-shadow:0 10px 24px #2878e659}.agent-send:disabled,.agent-upload:disabled,.agent-input:disabled{cursor:progress;opacity:.7}.agent-file{display:none}.agent-error{margin:10px 4px 0;color:#ffb4b4;font-size:13px}.credit-shortage{display:flex;align-items:center;gap:12px;margin:14px 4px 0;padding:12px 12px 12px 14px;border-radius:16px;border:1px solid rgba(251,191,36,.38);background:radial-gradient(ellipse 80% 120% at 0% 50%,rgba(217,119,6,.22),transparent 70%),#1c1810eb;color:#fde68a}.credit-shortage-mark{display:grid;place-items:center;width:32px;height:32px;flex:none;border-radius:50%;background:linear-gradient(180deg,#fbbf24,#d97706);color:#1c1408;font-size:14px;font-weight:700}.credit-shortage p{margin:0;flex:1;font-size:14px;line-height:1.5}.credit-shortage a{display:inline-flex;align-items:center;height:34px;padding:0 14px;flex:none;border-radius:999px;background:linear-gradient(90deg,#d97706,#fbbf24);color:#1c1408;font-size:13px;font-weight:700;text-decoration:none}.credit-shortage a:hover{filter:brightness(1.06)}.studio-shell>.credit-shortage{margin:8px 16px}.agent-composer-box .credit-shortage,.agent-composer-box .agent-error{margin:12px 0 0}@keyframes agent-breathe{0%,to{box-shadow:0 0 0 1px #78aaff47,0 18px 50px #285ab42e}50%{box-shadow:0 0 0 1px #b4d6ffb8,0 22px 64px #5096ff52}}@media (prefers-reduced-motion: reduce){.agent-shell{animation:none}}.btn{min-width:148px;height:46px;padding:0 26px;border-radius:999px;cursor:pointer}.btn-primary{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:0;color:#fff;background:linear-gradient(90deg,#1b6fe6,#3aa4ff 58%,#67d0ff);box-shadow:0 10px 28px #247ae652}.btn-ghost{border:1px solid rgba(190,206,226,.38);background:#080c1440;color:#e7eef8}.workspace-empty{margin:72px 0 0;text-align:center;color:#d6deea6b;font-size:14px}.confirm-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:120;display:grid;place-items:center;padding:24px;background:#040810a3}.confirm-dialog{width:min(420px,calc(100% - 32px));padding:20px;border-radius:16px;border:1px solid #2A2F42;background:#1c202e}.confirm-dialog h3{margin:0 0 8px}.confirm-dialog p{margin:0 0 16px;color:#9ca3af}.confirm-actions{display:flex;justify-content:flex-end;gap:8px}.confirm-actions button,.confirm-dialog .is-ghost,.confirm-dialog .is-danger{height:36px;padding:0 14px;border:0;border-radius:10px;cursor:pointer}.confirm-dialog .is-ghost{background:#141721;color:#f3f4f6}.confirm-dialog .is-danger{background:#7f1d1d;color:#fff}.confirm-dialog .is-primary{background:#3b82f6;color:#fff}.confirm-dialog .is-ghost:disabled,.confirm-dialog .is-danger:disabled,.confirm-dialog .is-primary:disabled{cursor:default;opacity:.55}.confirm-dialog :focus-visible{outline:2px solid #93c5fd;outline-offset:2px}.rename-field{display:grid;gap:8px;margin-bottom:12px;color:#9ca3af;font-size:13px}.rename-field input{height:40px;padding:0 12px;border-radius:10px;border:1px solid #2A2F42;background:#141721;color:#f3f4f6}.rename-field input:focus{border-color:#3b82f6;outline:none}.rename-error,.rename-note{margin:-4px 0 14px;font-size:12px;line-height:1.5}.rename-error{color:#fca5a5}.rename-note{color:#6b7280}.story-review [data-gate],.story-review .producer-desk{display:none!important}.story-review{max-width:1100px;margin:24px auto 96px;padding:8px 4px 32px;color:#f4f7fb}.writers-room-progress{position:sticky;top:56px;z-index:20;display:flex;align-items:center;gap:12px;margin:0 0 18px;padding:10px 14px;border:1px solid rgba(212,175,88,.22);border-radius:999px;background:#0c0a08e0;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.writers-room-progress p{margin:0;color:#f3e2b6;font-size:13px;letter-spacing:.02em}.writers-room-breath{width:72px;height:4px;border-radius:999px;background:linear-gradient(90deg,#d4af5833,#d4af56,#d4af5833);background-size:200% 100%}.writers-room-progress.is-breathing .writers-room-breath{animation:writers-breath 1.4s ease-in-out infinite}@keyframes writers-breath{0%{background-position:0% 50%;opacity:.45}50%{background-position:100% 50%;opacity:1}to{background-position:0% 50%;opacity:.45}}.script-header,.script-masthead{display:grid;justify-items:center;text-align:center}.script-title{margin:8px 0 12px;font-size:42px;font-weight:720;letter-spacing:.04em;color:#f8f1d8}.notion-inline{border:none;outline:none;background:transparent;box-shadow:none;cursor:text}.notion-inline:hover{box-shadow:inset 0 -1px #93c5fd8c}.script-title.notion-inline:hover:after,.script-logline.notion-inline:hover:after{content:" ✏️";font-size:.45em;color:#93c5fdcc}.notion-inline:focus{box-shadow:inset 0 -1px #93c5fde6}.notion-editor{width:100%;min-height:220px;resize:vertical;border:none;outline:none;background:#060a108c}.episode-count-presets{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 16px}.episode-count-presets button{padding:6px 12px;border:1px solid rgba(196,179,122,.28);border-radius:999px;background:transparent;color:#d8c48a;font-size:12px}.episode-count-presets button.is-current{border-color:#93c5fd;color:#dbeafe;background:#3b82f629}.story-episode{position:relative}.episode-remove{float:right;opacity:0;margin-left:12px;padding:0 8px;border:none;background:transparent;color:#fca5a5;font-size:12px}.story-episode:hover .episode-remove,.story-episode summary:hover .episode-remove{opacity:1}.story-episode-add{display:block;width:100%;margin:12px 0 4px;padding:10px 12px;border:1px dashed rgba(147,197,253,.35);border-radius:12px;background:transparent;color:#93c5fd}.script-logline{max-width:42em;margin:0 auto 16px;font-size:18px;line-height:1.7;color:#e8dec4c7;font-style:italic;white-space:pre-wrap}.script-logline.notion-inline,.story-prose.notion-inline{display:block;min-height:3em;white-space:pre-wrap}.script-capsules{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;margin-bottom:8px}.script-capsules span{padding:4px 12px;border:1px solid rgba(196,179,122,.28);border-radius:999px;color:#d8c48a;font-size:12px}.character-gallery{display:grid;grid-template-columns:repeat(auto-fill,260px);justify-content:center;gap:16px;margin:16px 0 8px}.character-card{width:260px;min-height:220px;padding:18px 16px 16px;border:1px solid rgba(212,175,88,.16);border-radius:18px;background:linear-gradient(180deg,#1c160eeb,#0a0c10e0);box-shadow:inset 0 0 0 1px #ffd6780a}.character-card h3{margin:0 0 10px;font-size:16px;color:#f3e2b6}.character-arc,.character-costume,.character-identity,.character-relations{margin:0 0 8px;font-size:13px;line-height:1.6;color:#e8dec4d1}.character-field-label{margin:10px 0 2px;font-size:11px;color:#d6deea8f}.voice-pill{display:inline-block;margin-top:8px;padding:2px 8px;border-radius:999px;background:#9ec4ff1f;color:#9ec4ff;font-size:11px}.writers-room .story-edit-grid,.writers-room .story-episode input{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}.writers-room .story-review input,.writers-room .story-review textarea:not(.notion-editor):not(.story-screenplay),.story-review.writers-room .story-accordion textarea:not(.notion-editor):not(.story-screenplay),.story-review.writers-room .story-accordion input:not([hidden]){border:0;background:transparent;padding:0;min-height:0;box-shadow:none}.story-review.writers-room.story-bible-reader .episode-canvas textarea.notion-editor,.story-review.writers-room textarea.story-screenplay{min-height:160px;padding:14px 16px;white-space:pre-wrap;field-sizing:content;overflow:auto;resize:vertical;line-height:1.7}.story-episode-hint{margin:0 0 12px;color:#f3f4f69e;font-size:13px}.episode-canvas .story-episode{border-bottom:1px solid rgba(255,255,255,.06)}.episode-canvas .story-episode.is-canvas{animation:episode-fade .45s ease both}@keyframes episode-fade{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}.story-briefing{position:relative;margin:8px 0 20px}.story-review .seko-desk-guide,.seko-desk-guide{position:relative;display:block;width:fit-content;margin:0 0 8px auto;padding:0;border:0;background:transparent}.seko-desk-guide-chip{display:inline-flex;align-items:center;height:32px;padding:0 12px;border:1px solid #2a2f42;border-radius:999px;background:#1c202e;color:#d1d5db;font-size:13px;font-weight:550;cursor:pointer;list-style:none}.seko-desk-guide-chip:after{content:" ▾"}.seko-desk-guide[open] .seko-desk-guide-chip:after{content:" ▴"}.seko-desk-guide-chip::-webkit-details-marker{display:none}.seko-desk-guide-body{display:none}.seko-desk-guide[open] .seko-desk-guide-body{display:block;position:absolute;right:0;top:38px;z-index:6;width:min(420px,86vw);margin-top:0;padding:14px 16px;border:1px solid rgba(42,47,66,.9);border-radius:14px;background:#141721;box-shadow:0 16px 40px #00000073}.seko-desk-guide h4{margin:0 0 6px;font-size:14px}.seko-desk-guide p,.seko-desk-guide li{margin:0;color:#d1d5db;font-size:13px;line-height:1.5}.seko-desk-guide ol{margin:8px 0;padding-left:18px}.seko-desk-guide-note{color:#9ca3af}.seko-desk-guide-actions{display:flex;flex-wrap:wrap;gap:8px;margin:10px 0 0}.seko-desk-guide-actions button{min-height:32px;padding:0 12px;border:1px solid #2a2f42;border-radius:999px;background:#1c202e;color:#f3f4f6;cursor:pointer}.story-briefing .story-accordion{padding:4px 0 10px}.story-briefing .story-meta-grid.is-quad{grid-template-columns:repeat(4,minmax(0,1fr))}.story-actions .story-review-next,.story-review-next.is-ready{border-color:#d4af588c;background:linear-gradient(180deg,#d4af56,#9a7420);color:#1a1408;font-weight:700}.story-actions .story-review-next:disabled{opacity:.55}.writers-room-skeleton{min-height:52vh;margin:8px 0 28px}.story-parse-skeleton{display:grid;justify-items:center;gap:16px;padding:28px 0 12px}.story-parse-title-bar{width:240px;height:32px;border-radius:8px;background:linear-gradient(90deg,#1a1f2c,#2a3144,#1a1f2c);background-size:200% 100%;animation:parse-shimmer 1.4s ease-in-out infinite}.story-parse-copy{max-width:28em;margin:0;color:#9ca3af;font-size:14px;line-height:1.6;text-align:center}.story-parse-pulse{display:grid;grid-template-columns:repeat(4,minmax(72px,140px));gap:10px;width:min(720px,100%)}.story-parse-pulse span{height:64px;border-radius:12px;background:linear-gradient(90deg,#141721,#1c2433 48%,#141721);background-size:200% 100%;animation:parse-shimmer 1.4s ease-in-out infinite}.story-parse-fade{animation:parse-fade-in .42s ease}@keyframes parse-shimmer{0%{background-position:100% 0}to{background-position:-100% 0}}@keyframes parse-fade-in{0%{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}.script-title.is-skeleton,.script-logline.is-skeleton,.character-gallery.is-skeleton .character-card,.story-episode.is-skeleton summary,.story-episode.is-skeleton p{opacity:.45;animation:writers-breath 1.6s ease-in-out infinite}.writers-room-skeleton .story-episode.is-skeleton,.story-episode.is-skeleton{margin:0 0 10px;padding:12px 14px;border:1px solid rgba(212,175,88,.16);border-radius:12px;background:#14120e8c}.story-bible-reader .story-kicker{margin:0 0 4px;font-size:12px;letter-spacing:.08em;text-transform:uppercase;color:#c4b37adb}.story-review .story-desk-row{position:sticky;top:0;z-index:30;display:flex!important;flex-wrap:wrap;justify-content:center;gap:8px;margin:8px 0 12px;padding:10px 0;list-style:none;background:#0d0e11}.story-desk-row li{margin:0;padding:6px 14px;border:1px solid rgba(255,255,255,.08);border-radius:999px;background:#14100a73;color:#f3f4f66b;font-size:13px;letter-spacing:.04em}.story-desk-row li.is-current{border-color:#d4af588c;background:linear-gradient(180deg,#d4af56,#9a7420);color:#1a1408;font-weight:700}.story-desk-row li.is-later{cursor:default}.story-canvas-contrast{display:inline-block;margin:0 0 10px;color:#93c5fd;font-size:13px}.canvas-contrast{max-width:960px;margin:0 auto;padding:28px 20px 48px}.canvas-contrast-kicker{margin:0 0 6px;font-size:12px;letter-spacing:.08em;color:#93c5fd}.canvas-contrast h1{margin:0 0 8px;font-size:28px}.canvas-contrast-hint{margin:0 0 20px;color:#9ca3af}.canvas-contrast-desks{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:0 0 24px;padding:0;list-style:none}.canvas-contrast-desks li{min-height:140px;padding:16px;border:1px solid #2A2F42;border-radius:12px;background:#141721}.canvas-contrast-desks strong{display:block;margin-bottom:8px;font-size:16px}.canvas-contrast-desks span{color:#9ca3af;font-size:13px;line-height:1.5}.canvas-contrast-nav{display:flex;gap:16px}.canvas-contrast-nav a{color:#93c5fd}.operator-handbook{max-width:880px;margin:0 auto;padding:28px 20px 48px}.operator-handbook-kicker{margin:0 0 6px;font-size:12px;letter-spacing:.08em;color:#93c5fd}.operator-handbook h1{margin:0 0 8px;font-size:28px}.operator-handbook-lead{margin:0 0 16px;color:#9ca3af;line-height:1.6}.operator-handbook-video{display:flex;justify-content:center;margin:0 0 18px}.operator-handbook-video video{display:block;width:min(100%,720px);border:1px solid rgba(243,226,182,.22);border-radius:12px;background:#0b1220}.operator-handbook-toc{display:flex;flex-wrap:wrap;gap:8px 14px;margin:0 0 22px}.operator-handbook-toc a{color:#93c5fd;font-size:13px}.operator-handbook-table{width:100%;margin:0 0 28px;border-collapse:collapse;font-size:13px;line-height:1.55}.operator-handbook-table caption{margin:0 0 8px;text-align:left;font-size:18px;color:#f3e2b6}.operator-handbook-table th,.operator-handbook-table td{padding:8px 10px;border-bottom:1px solid rgba(243,226,182,.16);text-align:left;vertical-align:top}.operator-handbook-table thead th{color:#f3e2b6;font-weight:600}.operator-handbook-table tbody th{width:7.5em;color:#e8dec4;font-weight:600;white-space:nowrap}.operator-handbook-section p{margin:0 0 8px;color:#e8dec4e0;line-height:1.7}.operator-handbook-figure{margin:12px 0 16px}.operator-handbook-figure img{display:block;width:100%;border:1px solid rgba(243,226,182,.22);border-radius:12px;background:#0b1220}.operator-handbook-figure figcaption{margin-top:6px;color:#9ca3af;font-size:13px;line-height:1.5}.operator-handbook-note{margin-top:10px;padding:8px 12px;border-left:3px solid #f3e2b6;color:#f3e2b6}.operator-handbook-section{margin:0 0 22px}.operator-handbook-section h2{margin:0 0 8px;font-size:18px;color:#f3e2b6}.operator-handbook-section ol{margin:0;padding-left:1.2em;color:#e8dec4e0;line-height:1.7}.operator-handbook-section li+li{margin-top:6px}.operator-handbook-nav{display:flex;gap:16px}.operator-handbook-nav a{color:#93c5fd}@media (max-width: 800px){.canvas-contrast-desks{grid-template-columns:1fr 1fr}}.story-bible-chips{display:flex;flex-wrap:nowrap;align-items:flex-start;justify-content:flex-end;gap:8px}.story-review-dock{position:fixed;top:68px;right:20px;z-index:45;padding:6px;border-radius:18px;background:#0a0c10d1;box-shadow:0 10px 28px #00000047;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px)}.story-chip-stack{display:flex;flex-wrap:nowrap;align-items:stretch;justify-content:flex-end;gap:8px;max-width:none}.story-chip{position:relative;min-width:188px;margin:0;padding:6px 10px 8px;border:1px solid rgba(196,179,122,.28);border-radius:14px;background:#14100ab8}.story-chip.is-style{border-color:#e8c45cb8;background:linear-gradient(180deg,#3e2e0ef2,#181208eb);box-shadow:inset 0 0 0 1px #ffd6781f}.story-chip.is-aspect{border-color:#78b0ffb3;background:linear-gradient(180deg,#12203af2,#0a101ceb);box-shadow:inset 0 0 0 1px #93c5fd1f}.story-chip.is-style span{color:#f3d57a}.story-chip.is-aspect span{color:#9ec4ff}.story-chip span{display:block;margin-bottom:2px;font-size:11px;color:#d8c48a}.story-chip select,.story-chip-trigger{display:block;width:100%;min-height:28px;padding:0;border:0;background:transparent;color:#fff8e8;font-size:14px;font-weight:650;line-height:1.35;text-align:left;cursor:pointer}.story-chip-trigger{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.story-chip-menu{position:absolute;top:calc(100% + 6px);right:0;z-index:46;width:min(320px,calc(100vw - 32px));max-height:min(420px,70vh);overflow:auto;padding:6px;border:1px solid #d7c39a;border-radius:12px;background:#fff8e8;box-shadow:0 16px 40px #0006}.story-chip-option{display:block;width:100%;padding:8px 10px;border:0;border-radius:8px;background:#fff8e8;color:#1a1408;font-size:14px;line-height:1.4;text-align:left;cursor:pointer}.story-chip-option:hover,.story-chip-option.is-active{background:#1d4ed8;color:#fff}.story-gate-a{margin:0 0 16px;padding:14px 16px;border:1px solid rgba(59,130,246,.35);border-radius:16px;background:#101828b8}.story-gate-a[data-ok="0"]{border-color:#f3c16b66;background:#2a23168c}.story-gate-a-kicker{margin:0 0 6px;color:#93c5fd;font-size:12px;letter-spacing:.04em}.story-gate-a[data-ok="0"] .story-gate-a-kicker{color:#f3c16b}.story-gate-a p+p{margin:0;color:#e5e7eb;line-height:1.55}.story-director{margin:16px 0 8px;padding:14px 16px 16px;border:1px solid rgba(196,179,122,.22);border-radius:16px;background:#100e0a8c}.story-review [hidden],.workspace-hint [hidden],.rename-note [hidden]{display:none!important}.story-crew-strip{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:0 0 12px;padding:0;list-style:none}@media (max-width: 720px){.story-crew-strip{grid-template-columns:repeat(2,minmax(0,1fr))}.story-director-form{grid-template-columns:1fr}}.story-crew-strip li{padding:8px 10px;border:1px solid rgba(255,255,255,.08);border-radius:12px;background:#0a0c1073}.story-crew-strip li[data-current="1"]{border-color:#d4af588c;box-shadow:0 0 16px #d4af581f}.story-crew-strip strong,.story-crew-strip span{display:block}.story-crew-strip strong{font-size:13px;color:#f8f1d8}.story-crew-strip span{margin-top:2px;font-size:11px;color:#9ca3af}.story-director-form{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:end}.story-director-form label{display:grid;gap:4px;margin:0;font-size:12px;color:#d8c48a}.story-director-form input{min-height:40px;padding:0 12px;border:1px solid rgba(196,179,122,.28);border-radius:10px;background:#141721;color:#f3f4f6}.story-director-form button{height:40px;padding:0 14px;border:0;border-radius:10px;background:#d4af56;color:#1a1408;font-weight:700}.story-director-log{margin:10px 0 0;padding:0;list-style:none}.story-director-log li,.story-director-hint{margin:6px 0 0;font-size:13px;line-height:1.5;color:#d1d5db}.story-director-log strong{display:block;color:#d8c48a}.story-episode-count{margin:18px 0 4px;font-size:32px;font-weight:720;letter-spacing:.02em}.story-accordion{border-bottom:1px solid rgba(255,255,255,.08)}.story-accordion>summary{display:flex;align-items:center;justify-content:space-between;gap:12px}.story-accordion-tools{display:flex;gap:8px}.story-accordion-tools button{padding:4px 10px;font-size:12px}.story-meta-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:12px 0}.story-meta-grid article{padding:10px 12px;border:1px solid rgba(150,186,255,.14);border-radius:12px;background:#080e1873}.story-meta-grid span{display:block;margin-bottom:4px;font-size:11px;color:#d6deea8f}.story-meta-grid strong{font-size:14px;font-weight:650}.story-field-label{display:inline-block;min-width:5.5em;margin-right:8px;color:#d6deea8f}.story-prose,.story-style-hint{line-height:1.75}.story-screenplay{margin:10px 0 0;padding:14px 16px;border:1px solid rgba(150,186,255,.12);border-radius:12px;background:#060a10b3;color:#e8edf6;font-family:Iowan Old Style,Palatino Linotype,Palatino,Songti SC,serif;font-size:14px;line-height:1.7;white-space:pre-wrap}.story-review h1{margin:0 0 8px;font-size:28px}.story-review-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:8px}.story-review-head h1{margin:0}.story-settings{position:relative;margin-top:0;min-width:44px;max-width:none;padding:0;border:1px solid rgba(196,179,122,.28);border-radius:999px;background:#14100ab8}.story-settings>summary{list-style:none;padding:8px 14px;font-size:13px;color:#f8f1d8;cursor:pointer}.story-settings>summary::-webkit-details-marker{display:none}.story-settings[open]{max-width:none}.story-settings[open]>:not(summary){position:absolute;top:calc(100% + 8px);right:0;z-index:30;width:min(440px,calc(100vw - 32px));padding:16px;border:1px solid #2A2F42;border-radius:14px;background:#12151f;box-shadow:0 18px 40px #00000073}.story-settings .story-grid{grid-template-columns:1fr 1fr}.story-settings>p{margin:0 0 8px;font-size:13px;line-height:1.5;color:#c9d2e0}.story-settings label,.story-settings select,.story-settings textarea{min-width:0;width:100%;box-sizing:border-box}.story-analyst-status{margin:0 0 12px;font-size:13px;color:#9ec4ff}.story-script-kind{margin:-4px 0 12px;padding:8px 12px;font-size:13px;line-height:1.5;color:#c9b37a;background:#c4b37a14;border:1px solid rgba(196,179,122,.24);border-radius:8px}.story-job-bar{margin:0 0 10px;font-size:13px;color:#9aa8b8}.story-job-bar[data-job=generating]{color:#c48a2a}.story-job-bar[data-job=compiled]{color:#8a9a6a}.story-job-bar[data-job=failed]{color:#a33}.story-home-brief{margin:-4px 0 12px;color:#9ec4ff;font-size:13px}.story-intent-banner{margin:0 0 14px;padding:12px 14px;border:1px solid rgba(212,175,88,.28);border-radius:12px;background:linear-gradient(180deg,#18140ceb,#0a0c10e0);color:#f3e2b6;font-size:14px;line-height:1.55;box-shadow:inset 0 0 0 1px #ffd6780f}.story-patch-list{display:none;margin:0 0 14px;padding:12px 14px;border:1px solid rgba(150,186,255,.2);border-radius:12px;background:#080e188c}.story-patch-list p{margin:0 0 8px;color:#9ec4ff;font-size:13px}.story-patch-list ul{margin:0;padding:0;list-style:none;display:grid;gap:8px}.story-patch-list li{display:grid;gap:4px;font-size:12px;line-height:1.5}.story-patch-jump{display:grid;gap:4px;width:100%;margin:0;padding:8px 10px;border:1px solid rgba(150,186,255,.16);border-radius:8px;background:#0c121c8c;color:inherit;text-align:left;cursor:pointer}.story-patch-list strong{color:#f3e2b6}.story-patch-before,.story-patch-after{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2;white-space:normal}.story-patch-before{color:#c98a8a;text-decoration:line-through}.story-patch-after{color:#9dcea8}.story-edit-grid{display:grid;gap:8px}.story-character-card.is-editable label{margin:6px 0}.story-character-card.is-editable textarea{min-height:56px}.story-home-set{margin-left:8px;padding:1px 8px;border-radius:999px;background:#508cff33;color:#9ec4ff;font-size:11px;font-weight:650}.story-review p,.story-review summary{color:#e2e8f2db}.story-review a{color:#9ec4ff}.story-review details{margin-top:14px;padding:12px 0;border-bottom:1px solid rgba(255,255,255,.08)}.story-review summary{cursor:pointer;font-weight:650}.story-review label{display:flex;flex-direction:column;gap:6px;margin:10px 0;font-size:13px;color:#d6deeac7}.story-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.model-basics{margin-top:12px;padding:12px 14px;border:1px solid rgba(150,186,255,.18);border-radius:12px;background:#080e188c}.model-basics h3{margin:0 0 8px;font-size:15px}.model-basics p,.model-basics td,.model-basics th{font-size:12px;line-height:1.55;color:#e2e8f2d1}.model-basics-table{overflow-x:auto}.model-basics table{width:100%;min-width:640px;border-collapse:collapse;margin:8px 0}.model-basics th,.model-basics td{text-align:left;padding:6px 10px 6px 0;vertical-align:top}.model-task-list{display:grid;gap:6px;margin-top:8px}.story-review input,.story-review textarea{width:100%;border:1px solid rgba(150,186,255,.22);border-radius:10px;padding:8px 10px;background:#060a12b8;color:#f4f7fb}.story-review input:read-only,.story-review textarea:read-only{cursor:default;opacity:.88;background:#060a126b}.story-review textarea,.story-review select{min-height:88px;resize:vertical}.story-review select{min-height:38px;resize:none}.story-episode textarea{min-height:160px}.story-bible-reader .story-episode input,.story-bible-reader .story-job-bar,.story-bible-reader .story-home-brief{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}.story-character-list{display:grid;gap:10px;margin:8px 0 12px}.story-character-card{padding:10px 12px;border:1px solid rgba(150,186,255,.16);border-radius:12px;background:#080e1873}.story-character-card strong{display:block;margin-bottom:6px}.story-character-card p{margin:4px 0;font-size:13px;line-height:1.55}.story-scene{margin:8px 0 8px 4px;padding:6px 0 6px 12px;border-left:2px solid rgba(150,186,255,.24);font-size:13px}.story-scene p{margin:2px 0}.story-review button{border:1px solid rgba(150,186,255,.32);background:#121c30e6;color:#f4f7fb;border-radius:999px;padding:8px 16px;cursor:pointer}.story-review button:disabled{cursor:default;opacity:.6}.producer-desk{margin:0 0 20px;padding:16px 18px;border-radius:16px;border:1px solid rgba(150,186,255,.22);background:#101828b8}.producer-desk h2{margin:0 0 8px;font-size:18px}.producer-desk p,.producer-desk-gate{margin:0 0 10px;color:#e8eef8c7;font-size:14px}.producer-commands{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:8px}.producer-commands button{border-color:#96baff66}.story-actions{position:sticky;bottom:0;display:flex;align-items:center;justify-content:center;gap:12px;padding:16px 0 12px;background:linear-gradient(#0c101800,#0c1018e0 28%);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px)}.story-actions button{border-color:#2563eb;background:#2563eb}.story-review [role=alert]{margin:0;color:#ffb4b4}@media (max-width: 860px){.master-header{height:auto;min-height:56px;padding:8px 12px;gap:8px}.stage{padding:0 20px 32px}.stage-tools{display:none}.hero{min-height:calc(100vh - 56px);padding:20px 0 24px}.story-grid,.creation-grid{grid-template-columns:1fr}.story-meta-grid,.story-briefing .story-meta-grid.is-quad{grid-template-columns:1fr 1fr}.story-bible-chips,.story-review-dock{justify-content:stretch}.story-review-dock{top:64px;right:12px;left:auto;max-width:calc(100vw - 24px)}.story-chip-stack{flex-wrap:nowrap}.story-chip{min-width:0;flex:1}.story-review{margin-top:56px}.story-review-head{flex-direction:column}.story-settings{max-width:none;min-width:44px}.story-settings[open]>:not(summary){left:0;right:auto;width:min(440px,calc(100vw - 24px))}}.workspace-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:40;background:#0a0c10}.workspace-overlay.is-grid{left:72px;padding:20px 28px 32px;overflow:auto}.workspace-grid{display:flex;flex-direction:column;min-height:100%}.workspace-drawer{display:none}@keyframes workspace-slide{0%{transform:translate(-16px);opacity:.6}to{transform:translate(0);opacity:1}}.workspace-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.workspace-toolbar{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:12px;min-width:0}.workspace-head h2{margin:0;font-size:18px}.workspace-sub{margin:4px 0 0;color:#6b7280;font-size:12px}.workspace-close{display:grid;place-items:center;width:32px;height:32px;border:1px solid #2A2F42;border-radius:8px;background:#1c202e;color:#e5e7eb;cursor:pointer}.workspace-close svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round}.workspace-close:hover,.workspace-menu-trigger:hover,.workspace-reset:hover{border-color:#3b82f6;color:#f3f4f6}.workspace-search-label{position:relative;display:block;width:min(320px,100%);margin:0}.workspace-search{width:100%;height:36px;margin:0;padding:0 64px 0 12px;border-radius:10px;border:1px solid #2A2F42;background:#141721;color:#f3f4f6}.workspace-search:focus{border-color:#3b82f6;outline:none}.workspace-search::-webkit-search-cancel-button{display:none}.workspace-search-clear{position:absolute;top:6px;right:6px;height:24px;padding:0 8px;border:0;border-radius:7px;background:#1c202e;color:#9ca3af;font-size:12px;cursor:pointer}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.workspace-filters{display:flex;gap:8px}.workspace-filter{height:28px;padding:0 10px;border-radius:999px;border:1px solid #2A2F42;background:transparent;color:#9ca3af;font-size:12px;cursor:pointer}.workspace-filter.is-active{border-color:#3b82f6;background:#3b82f629;color:#e5e7eb}.workspace-filter-count{margin-left:6px;color:#6b7280;font-variant-numeric:tabular-nums}.workspace-filter.is-active .workspace-filter-count{color:#93c5fd}.workspace-hint{margin:10px 0 12px;color:#9ca3af;font-size:12px;line-height:1.5}.workspace-results{flex:1;min-height:0;overflow:auto;padding-bottom:8px}.workspace-state{display:grid;justify-items:center;gap:8px;padding:28px 12px 12px}.workspace-state .workspace-empty{margin:0}.workspace-state-note{margin:0;max-width:28em;color:#6b7280;font-size:12px;line-height:1.6;text-align:center}.workspace-reset{height:32px;margin-top:4px;padding:0 12px;border-radius:999px;border:1px solid #2A2F42;background:#141721;color:#e5e7eb;font-size:12px;cursor:pointer}.workspace-skeletons{display:grid;gap:10px;width:100%}.workspace-skeletons span{display:block;height:90px;border-radius:12px;background:linear-gradient(90deg,#141721,#1c2433 48%,#141721);background-size:200% 100%;animation:workspace-shimmer 1.2s ease infinite}@keyframes workspace-shimmer{0%{background-position:100% 0}to{background-position:-100% 0}}.workspace-item{position:relative}.workspace-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;margin:0;padding:0;list-style:none}@media (min-width: 768px){.workspace-list{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (min-width: 1024px){.workspace-list{grid-template-columns:repeat(4,minmax(0,1fr))}}@media (min-width: 1280px){.workspace-list{grid-template-columns:repeat(5,minmax(0,1fr))}}.workspace-card{display:grid;gap:10px;min-width:0;padding:0 0 10px;border:1px solid #2A2F42;border-radius:16px;background:#141721;color:inherit;text-decoration:none;overflow:hidden}.workspace-card:hover{border-color:#3b82f6b3}.workspace-card:focus-visible{outline:2px solid #93c5fd;outline-offset:2px}.workspace-menu{position:absolute;top:8px;right:8px}.workspace-menu-trigger{display:grid;place-items:center;width:28px;height:28px;padding:0;border:1px solid transparent;border-radius:8px;background:#1c202e;color:#e5e7eb;cursor:pointer}.workspace-menu-trigger svg{width:16px;height:16px;fill:currentColor}.workspace-menu-trigger[aria-expanded=true]{border-color:#3b82f6;color:#93c5fd}.workspace-item:has(.workspace-menu-trigger[aria-expanded=true]){z-index:3}.workspace-menu-list{position:absolute;top:calc(100% + 4px);right:0;z-index:2;display:grid;min-width:132px;padding:6px;border-radius:10px;border:1px solid #2A2F42;background:#141721;box-shadow:0 12px 28px #00000059}.workspace-menu-list a,.workspace-menu-list button{height:32px;padding:0 8px;border:0;border-radius:7px;background:transparent;color:#e5e7eb;font-size:12px;line-height:32px;text-align:left;text-decoration:none;cursor:pointer}.workspace-menu-list a:hover,.workspace-menu-list button:hover,.workspace-menu-list a:focus-visible,.workspace-menu-list button:focus-visible{background:#1c202e;outline:none}.workspace-menu-list .is-danger{color:#fca5a5}.workspace-cover{position:relative;display:block;width:100%;aspect-ratio:16 / 9;border-bottom:1px solid #2A2F42;background:radial-gradient(circle at 30% 20%,rgba(59,130,246,.28),transparent 55%),linear-gradient(160deg,#1c202e,#0f1320 62%,#141721);color:#93c5fd;overflow:hidden}.workspace-cover.is-fallback{display:grid;align-content:end;padding:14px}.workspace-badges{position:absolute;top:8px;left:8px;z-index:1;display:flex;flex-wrap:wrap;gap:6px}.workspace-status.is-mode{border-color:#93c5fd59;color:#dbeafe}.workspace-fallback-copy{display:grid;gap:6px}.workspace-fallback-copy em{color:#f3f4f6c7;font-size:13px;font-style:normal;line-height:1.45}.workspace-meta{padding:0 12px}.workspace-menu{position:absolute;top:auto;right:8px;bottom:8px}.workspace-cover img{width:100%;height:100%;object-fit:cover;border-radius:inherit}.workspace-cover em{font-style:normal}.workspace-cover.has-image em{display:none}.workspace-meta{display:grid;gap:4px;min-width:0}.workspace-meta strong{overflow:hidden;font-size:13px;text-overflow:ellipsis;white-space:nowrap}.workspace-meta-row{display:flex;align-items:center;gap:6px;min-width:0}.workspace-meta-row em{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.workspace-status{flex:0 0 auto;height:18px;padding:0 6px;border-radius:999px;border:1px solid #2A2F42;color:#9ca3af;font-size:10px;line-height:16px}.workspace-status.is-making{border-color:#3b82f673;color:#93c5fd}.workspace-status.is-done{border-color:#34d39966;color:#34d399}.workspace-progress{display:block;height:3px;border-radius:999px;background:#1c202e;overflow:hidden}.workspace-progress>span{display:block;height:100%;border-radius:inherit;background:#3b82f6}.workspace-item:has(.workspace-status.is-done) .workspace-progress>span{background:#34d399}.workspace-meta em,.workspace-meta small{color:#9ca3af;font-size:11px;font-style:normal}.workspace-close:focus-visible,.workspace-filter:focus-visible,.workspace-search:focus-visible,.workspace-search-clear:focus-visible,.workspace-menu-trigger:focus-visible,.workspace-reset:focus-visible{outline:2px solid #93c5fd;outline-offset:2px}@media (prefers-reduced-motion: reduce){.workspace-drawer,.workspace-skeletons span{animation:none}}.credit-dialog{width:min(980px,100%)}.credit-readonly{color:#fcd34d}.credit-section{margin-top:22px}.credit-section h3{margin:0 0 10px;font-size:15px}.credit-table-wrap{overflow-x:auto;border:1px solid rgba(150,186,255,.16);border-radius:12px}.credit-table{width:100%;border-collapse:collapse;font-size:13px}.credit-table th,.credit-table td{padding:8px 10px;border-bottom:1px solid rgba(150,186,255,.1);text-align:left;vertical-align:middle}.credit-table thead th{background:#080c168c;color:#d6deeabf;font-weight:500;white-space:nowrap}.credit-table tbody tr:last-child th,.credit-table tbody tr:last-child td{border-bottom:0}.credit-table tbody th{min-width:260px;font-weight:400}.credit-table tbody th strong{display:block}.credit-table tbody th small{display:block;margin-top:2px;color:#d6deea8c;font-size:11.5px;line-height:1.4}.credit-table td{white-space:nowrap}.credit-table input,.credit-rule input,.credit-other input,.credit-calc input{width:72px;height:32px;padding:0 8px;border:1px solid #2A2F42;border-radius:8px;background:#11141f;color:inherit;font:inherit}.credit-table input:disabled,.credit-rule input:disabled,.credit-other input:disabled{opacity:.6}.credit-table td em{margin-left:4px;padding:0 5px;border-radius:6px;background:#facc1529;color:#facc15;font-size:11px;font-style:normal}.credit-na{color:#d6deea59}.credit-rule{margin:10px 0 0;color:#d6deeab3;font-size:12.5px;line-height:2}.credit-rule input{margin:0 4px}.credit-rule input[data-testid=credit-ref-factor]{width:96px}.credit-other{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 14px}.credit-other label{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 12px;border:1px solid rgba(150,186,255,.16);border-radius:12px;background:#080c1673}.credit-other label span{display:grid;gap:2px}.credit-other small{color:#d6deea8c;font-size:11.5px}.credit-calc>div{display:flex;flex-wrap:wrap;align-items:center;gap:10px 14px;font-size:13px}.credit-calc select{height:32px;padding:0 8px;border:1px solid #2A2F42;border-radius:8px;background:#11141f;color:inherit;font:inherit}.credit-calc input{width:64px;margin:0 4px}.credit-calc output{color:#facc15;font-weight:650}.credit-actions{display:flex;gap:12px;margin-top:18px}.credit-actions .catalog-apply{flex:1;width:auto;margin-top:0}.credit-reset{height:44px;padding:0 18px;border:1px solid #2A2F42;border-radius:12px;background:transparent;color:inherit;cursor:pointer}.credit-reset:disabled{opacity:.5;cursor:not-allowed}.pref-custom-pin{background:radial-gradient(circle at 18% 30%,rgba(244,114,182,.32),transparent 52%),linear-gradient(135deg,#1e293b,#0f172a)}.pref-custom-card{grid-column:1 / -1;display:grid;grid-template-columns:120px minmax(0,1fr);gap:14px;padding:12px;border-radius:12px;border:1px solid rgba(90,160,255,.45);background:#0a1222d9}.pref-custom-card img,.pref-custom-thumb-empty{width:120px;height:120px;object-fit:cover;border-radius:8px;background:#141721}.pref-custom-thumb-empty{display:grid;place-items:center;color:#e2e8f280;font-size:12px}.pref-custom-body{display:flex;flex-direction:column;gap:6px;min-width:0}.pref-custom-body textarea{width:100%;resize:vertical;padding:8px 10px;border-radius:8px;border:1px solid rgba(150,196,255,.2);background:#040810b3;color:#f1f5fb;font:inherit;font-size:13px;line-height:1.5}.pref-custom-body small{color:#e2e8f299;font-size:11.5px}.pref-custom-error{grid-column:1 / -1;margin:0;color:#fca5a5;font-size:12.5px}.studio.is-wallet .stage{height:100vh;overflow:auto;padding:0 32px 56px}.wallet-page{width:min(1080px,100%);margin:0 auto;padding:28px 0 12px;color:#f3f4f6}.wallet-top,.wallet-card-head,.wallet-buy-row,.wallet-pager,.wallet-agree,.wallet-pay-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.wallet-top{justify-content:space-between}.wallet-back{display:inline-flex;align-items:center;gap:8px;height:38px;padding:0 16px 0 14px;border:1px solid rgba(150,186,255,.28);border-radius:999px;background:#141721db;color:#f3f4f6;cursor:pointer}.wallet-back:hover,.wallet-pkg:hover,.wallet-card-head button:hover,.wallet-filters button:hover,.wallet-table button:hover,.wallet-pager button:hover,.wallet-pay button:hover{border-color:#7aa2ffb8}.wallet-identity{display:flex;align-items:center;gap:10px;min-height:44px;padding:6px 16px 6px 6px;border-radius:999px;border:1px solid rgba(150,186,255,.24);background:#141721db}.wallet-identity i{display:grid;place-items:center;width:32px;height:32px;border-radius:50%;background:linear-gradient(180deg,#8eb6ff,#3d6fd8);color:#f7fbff;font-style:normal;font-size:14px;font-weight:700}.wallet-identity small,.wallet-identity strong{display:block}.wallet-identity small{color:#9ca3af;font-size:11px;letter-spacing:.04em}.wallet-identity strong{font-size:14px;font-weight:650}.wallet-hero-card{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin-top:22px;padding:28px 28px 24px;border-radius:22px;border:1px solid rgba(122,162,255,.22);background:radial-gradient(ellipse 55% 90% at 100% 0%,rgba(59,130,246,.24),transparent 62%),linear-gradient(180deg,#1c202ef5,#10131cf5)}.wallet-hero-card h1{margin:0;font-size:36px;letter-spacing:.02em}.wallet-lead{margin:8px 0 0;max-width:420px;color:#9ca3af;font-size:14px;line-height:1.6}.wallet-balance{margin:0;text-align:right}.wallet-balance span{display:block;color:#9ca3af;font-size:13px}.wallet-balance strong{display:block;margin-top:2px;font-size:40px;font-weight:650;letter-spacing:-.03em;font-variant-numeric:tabular-nums;line-height:1.1}.wallet-card{margin-top:16px;padding:20px 20px 18px;border-radius:18px;border:1px solid rgba(150,186,255,.16);background:#141721b8}.wallet-card h3{margin:0;font-size:18px;font-weight:650}.wallet-card-head{justify-content:space-between}.wallet-muted,.wallet-card small,.wallet-table small{display:block;color:#e2e8f29e;font-size:12px}.wallet-card>.wallet-muted{margin:6px 0 0}.wallet-pkgs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:16px 0 4px}.wallet-channels,.wallet-filters{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin:14px 0}.wallet-pkg{min-height:132px;padding:14px 14px 12px;border-radius:16px;border:1px solid rgba(150,186,255,.2);background:#080a1059;color:inherit;text-align:left;cursor:pointer}.wallet-pkg.is-on{border-color:#7aa2ff;background:linear-gradient(180deg,#3b82f638,#3b82f614);box-shadow:inset 0 0 0 1px #7aa2ff59}.wallet-pkg strong,.wallet-pkg span,.wallet-pkg em,.wallet-pkg small{display:block}.wallet-pkg strong{font-size:15px}.wallet-pkg span{margin-top:6px;color:#9ec4ff;font-size:13px}.wallet-pkg em{margin-top:14px;font-style:normal;font-size:22px;font-weight:650;letter-spacing:-.02em}.wallet-pkg small{margin-top:6px}.wallet-buy-row{margin-top:8px;padding-top:12px}.wallet-buy-row strong{margin-left:auto;font-variant-numeric:tabular-nums}.wallet-qty{display:inline-flex;align-items:center;border:1px solid rgba(150,186,255,.28);border-radius:10px;overflow:hidden}.wallet-qty button,.wallet-pager button,.wallet-card-head button,.wallet-filters button,.wallet-table button,.wallet-pay button,.wallet-agree button{border:1px solid rgba(150,186,255,.28);border-radius:8px;background:transparent;color:inherit;padding:6px 12px;cursor:pointer}.wallet-qty button{width:36px;height:36px;border:0;border-radius:0;padding:0}.wallet-date-btn{display:inline-flex;align-items:center;justify-content:space-between;gap:10px;min-width:176px;height:36px;padding:0 10px 0 12px;border:1px solid rgba(150,186,255,.28);border-radius:8px;background:#040810b3;color:inherit;cursor:pointer}.wallet-date-btn[data-empty="1"]{color:#e2e8f273}.wallet-date-btn svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.6;flex:none}.wallet-date-pop{position:fixed;z-index:70;width:288px;padding:12px;border-radius:16px;border:1px solid rgba(150,186,255,.28);background:#161923;box-shadow:0 18px 50px #00000080;color:#f3f4f6}.wallet-date-head,.wallet-date-time,.wallet-date-actions{display:flex;align-items:center;justify-content:space-between;gap:8px}.wallet-date-head strong{font-size:14px;font-weight:650}.wallet-date-head button,.wallet-date-actions button,.wallet-date-day{border:0;background:transparent;color:inherit;cursor:pointer}.wallet-date-head button{width:28px;height:28px;border-radius:8px;font-size:18px}.wallet-date-head button:hover,.wallet-date-day:hover,.wallet-date-actions button:hover{background:#7aa2ff29}.wallet-date-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:2px;margin-top:8px;text-align:center}.wallet-date-grid span{height:28px;color:#9ca3af;font-size:12px;line-height:28px}.wallet-date-day{height:32px;border-radius:8px;font-size:13px}.wallet-date-day.is-today{box-shadow:inset 0 0 0 1px #7aa2ffb3}.wallet-date-day.is-on{background:#3b82f6;color:#fff}.wallet-date-time{margin-top:10px;padding-top:10px;border-top:1px solid rgba(150,186,255,.14)}.wallet-date-time label{display:flex;align-items:center;gap:6px;color:#9ca3af;font-size:12px}.wallet-date-time select{height:32px;padding:0 8px;border:1px solid rgba(150,186,255,.28);border-radius:8px;background:#040810b3;color:#f3f4f6}.wallet-date-actions{margin-top:10px}.wallet-date-actions button{height:32px;padding:0 12px;border-radius:8px}.wallet-date-actions .is-primary{background:#3b82f6;color:#fff}.wallet-qty input,.wallet-filters input,.wallet-filters select{border:1px solid rgba(150,186,255,.28);border-radius:8px;background:#040810b3;color:inherit;padding:8px 10px}.wallet-qty input{width:56px;height:36px;border:0;border-radius:0;border-left:1px solid rgba(150,186,255,.18);border-right:1px solid rgba(150,186,255,.18);background:transparent;text-align:center}.wallet-channels label{display:inline-flex;align-items:center;gap:6px}.wallet-agree button{border:0;padding:0;color:#9ec4ff}.wallet-card .btn{margin-top:4px}.wallet-table-wrap{margin-top:12px;overflow-x:auto}.wallet-table{width:100%;border-collapse:collapse;font-size:13px}.wallet-table th{color:#9ca3af;font-weight:500}.wallet-table th,.wallet-table td{padding:10px 8px;border-bottom:1px solid rgba(150,186,255,.12);text-align:left;vertical-align:top}.wallet-table td[data-sign=out]{color:#fca5a5;font-variant-numeric:tabular-nums}.wallet-table td[data-sign=in]{color:#86efac;font-variant-numeric:tabular-nums}.wallet-stats{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;margin:16px 0 4px;padding:0;list-style:none}.wallet-stats li{padding:12px 14px;border-radius:14px;background:#ffffff0a}.wallet-stats strong,.wallet-stats span{display:block}.wallet-stats strong{font-size:18px;font-variant-numeric:tabular-nums}.wallet-stats span{margin-top:4px;color:#9ca3af;font-size:12px}.wallet-pager{margin-top:12px}.wallet-error,.wallet-notice,.wallet-empty{margin:14px 0 0}.wallet-empty{padding:28px;border-radius:18px;border:1px solid rgba(150,186,255,.16);background:#141721b8}.wallet-empty .btn{margin-left:12px}.wallet-error{color:#fca5a5}.wallet-notice{color:#86efac}.wallet-detail{margin-top:12px;padding:12px 14px;border-radius:12px;background:#0408108c}.wallet-detail p{margin:4px 0}.wallet-modal{position:fixed;top:0;right:0;bottom:0;left:0;z-index:55;display:grid;place-items:center;padding:24px;background:#06080eb8;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.wallet-pay{width:min(420px,100%);padding:22px 22px 18px;border-radius:20px;border:1px solid rgba(150,186,255,.24);background:#161923;box-shadow:0 24px 70px #00000073}.wallet-pay h3{margin:0 0 8px}.wallet-pay-ok{color:#86efac}.wallet-pay p{margin:6px 0}.wallet-pay img{display:block;margin:14px auto;border-radius:12px;background:#fff}.wallet-pay-actions{margin-top:16px}@media (max-width: 900px){.wallet-pkgs,.wallet-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.wallet-hero-card,.wallet-top{align-items:flex-start;flex-direction:column}.wallet-balance{text-align:left}}@media (max-width: 560px){.studio.is-wallet .stage{padding:0 16px 40px}.wallet-pkgs,.wallet-stats{grid-template-columns:1fr}.wallet-balance strong{font-size:32px}}.studio-steps-home{background:transparent;border:0;cursor:pointer}
