@font-face{font-family:Luckiest Guy;font-style:normal;font-display:swap;font-weight:400;src:url(./luckiest-guy-latin-ext-400-normal-Dzj4o2hI.woff2)format("woff2"),url(./luckiest-guy-latin-ext-400-normal-Dplr6uOI.woff)format("woff");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Luckiest Guy;font-style:normal;font-display:swap;font-weight:400;src:url(./luckiest-guy-latin-400-normal-dJClyBWO.woff2)format("woff2"),url(./luckiest-guy-latin-400-normal-f5b8-b44.woff)format("woff");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Nunito;font-style:normal;font-display:swap;font-weight:600;src:url(./nunito-cyrillic-ext-600-normal-CWPPjBOD.woff2)format("woff2"),url(./nunito-cyrillic-ext-600-normal-vnfu4DTE.woff)format("woff");unicode-range:U+460-52F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Nunito;font-style:normal;font-display:swap;font-weight:600;src:url(./nunito-cyrillic-600-normal-DJGQ2h05.woff2)format("woff2"),url(./nunito-cyrillic-600-normal-BUjmtIuu.woff)format("woff");unicode-range:U+301,U+400-45F,U+490-491,U+4B0-4B1,U+2116}@font-face{font-family:Nunito;font-style:normal;font-display:swap;font-weight:600;src:url(./nunito-vietnamese-600-normal-BY8O6Cug.woff2)format("woff2"),url(./nunito-vietnamese-600-normal-DO1RqFw5.woff)format("woff");unicode-range:U+102-103,U+110-111,U+128-129,U+168-169,U+1A0-1A1,U+1AF-1B0,U+300-301,U+303-304,U+308-309,U+323,U+329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Nunito;font-style:normal;font-display:swap;font-weight:600;src:url(./nunito-latin-ext-600-normal-Dd9Zuxh1.woff2)format("woff2"),url(./nunito-latin-ext-600-normal-BKUpuB78.woff)format("woff");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Nunito;font-style:normal;font-display:swap;font-weight:600;src:url(./nunito-latin-600-normal-Br8yIETf.woff2)format("woff2"),url(./nunito-latin-600-normal-Cd0eNu1l.woff)format("woff");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Nunito;font-style:normal;font-display:swap;font-weight:800;src:url(./nunito-cyrillic-ext-800-normal-B-cvGohL.woff2)format("woff2"),url(./nunito-cyrillic-ext-800-normal-pjRatrRO.woff)format("woff");unicode-range:U+460-52F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Nunito;font-style:normal;font-display:swap;font-weight:800;src:url(./nunito-cyrillic-800-normal-D3igD7Kl.woff2)format("woff2"),url(./nunito-cyrillic-800-normal-DymMgApb.woff)format("woff");unicode-range:U+301,U+400-45F,U+490-491,U+4B0-4B1,U+2116}@font-face{font-family:Nunito;font-style:normal;font-display:swap;font-weight:800;src:url(./nunito-vietnamese-800-normal-D_CZYdm9.woff2)format("woff2"),url(./nunito-vietnamese-800-normal-Dz0hZPb5.woff)format("woff");unicode-range:U+102-103,U+110-111,U+128-129,U+168-169,U+1A0-1A1,U+1AF-1B0,U+300-301,U+303-304,U+308-309,U+323,U+329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Nunito;font-style:normal;font-display:swap;font-weight:800;src:url(./nunito-latin-ext-800-normal-CtU8tJOV.woff2)format("woff2"),url(./nunito-latin-ext-800-normal-CDcxIxx8.woff)format("woff");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Nunito;font-style:normal;font-display:swap;font-weight:800;src:url(./nunito-latin-800-normal-Dz8SOQK_.woff2)format("woff2"),url(./nunito-latin-800-normal-D-J0wlBY.woff)format("woff");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Nunito;font-style:normal;font-display:swap;font-weight:900;src:url(./nunito-cyrillic-ext-900-normal-BLeVovcl.woff2)format("woff2"),url(./nunito-cyrillic-ext-900-normal-DKFql_-q.woff)format("woff");unicode-range:U+460-52F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Nunito;font-style:normal;font-display:swap;font-weight:900;src:url(./nunito-cyrillic-900-normal-CWPcV0_V.woff2)format("woff2"),url(./nunito-cyrillic-900-normal-Dr1fjxoU.woff)format("woff");unicode-range:U+301,U+400-45F,U+490-491,U+4B0-4B1,U+2116}@font-face{font-family:Nunito;font-style:normal;font-display:swap;font-weight:900;src:url(./nunito-vietnamese-900-normal-D6LWQAy_.woff2)format("woff2"),url(./nunito-vietnamese-900-normal-WV2-fBew.woff)format("woff");unicode-range:U+102-103,U+110-111,U+128-129,U+168-169,U+1A0-1A1,U+1AF-1B0,U+300-301,U+303-304,U+308-309,U+323,U+329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Nunito;font-style:normal;font-display:swap;font-weight:900;src:url(./nunito-latin-ext-900-normal-Dllsvgjo.woff2)format("woff2"),url(./nunito-latin-ext-900-normal-CTBZd6bf.woff)format("woff");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Nunito;font-style:normal;font-display:swap;font-weight:900;src:url(./nunito-latin-900-normal-BVB1fGs6.woff2)format("woff2"),url(./nunito-latin-900-normal-CVn49sIn.woff)format("woff");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}:root{--ink:#1d1d1d;--paper:#fffdf6;--paper-2:#f4efe1;--paper-3:#e9e2cf;--sky:#7ec8ff;--sky-2:#cdeeff;--red:#d33b2c;--blue:#3b6fd8;--yellow:#f2c230;--green:#2e9d58;--orange:#e08a16;--muted:#5d5a52;--shadow:4px 5px 0 #1d1d1dd9;--shadow-sm:2px 3px 0 #1d1d1dd9;--radius:14px;--display:"Luckiest Guy", "Arial Black", Impact, sans-serif;--body:"Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;--top:62px;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light}*{box-sizing:border-box}html,body{margin:0;padding:0}body{font-family:var(--body);color:var(--ink);background:linear-gradient(180deg, var(--sky) 0%, var(--sky-2) 60%, #eef7ff 100%) fixed;min-height:100vh;font-weight:600;overflow-x:hidden}body:before{content:"";pointer-events:none;z-index:0;opacity:.16;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.3 0 0 0 0 0.25 0 0 0 0 0.2 0 0 0 0.55 0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");position:fixed;inset:0}#root{z-index:1;position:relative}button,input,select,textarea{font:inherit;color:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.5}:focus-visible{outline:3px solid var(--blue);outline-offset:2px}a{color:var(--blue)}code{background:var(--paper-3);border-radius:5px;padding:0 5px;font-size:.92em}input:not([type=checkbox]):not([type=range]):not([type=color]),select,textarea{border:2px solid var(--ink);background:#fff;border-radius:9px;width:100%;min-width:0;padding:6px 9px}select{cursor:pointer;padding-right:4px}textarea{resize:vertical;line-height:1.4}input[type=color]{border:2px solid var(--ink);cursor:pointer;background:0 0;border-radius:8px;flex:none;width:36px;height:32px;padding:0}input[type=range]{width:100%;accent-color:var(--red)}input[type=checkbox]{accent-color:var(--red);width:17px;height:17px}.muted{color:var(--muted)}.small{font-size:.86rem}.tiny-text{font-size:.74rem}.spacer{flex:1}.row{align-items:center;gap:8px;display:flex}.row.wrap{flex-wrap:wrap}.row.tight{gap:4px}.btn{border:2.5px solid var(--ink);background:var(--paper);box-shadow:var(--shadow-sm);color:var(--ink);white-space:nowrap;border-radius:11px;justify-content:center;align-items:center;gap:6px;padding:6px 14px;font-weight:800;text-decoration:none;transition:transform 80ms;display:inline-flex}.btn:not(:disabled):hover{transform:translate(-1px,-1px)rotate(-.5deg)}.btn:not(:disabled):active{box-shadow:none;transform:translate(2px,3px)}.btn.small{padding:4px 11px;font-size:.9rem}.btn.tiny{border-width:2px;border-radius:8px;padding:2px 8px;font-size:.8rem;box-shadow:1px 2px #1d1d1dd9}.btn.big{font-family:var(--display);letter-spacing:.5px;padding:9px 20px;font-size:1.15rem;font-weight:400}.btn.red{background:var(--red);color:#fff}.btn.blue{background:var(--blue);color:#fff}.btn.ghost{box-shadow:none;background:0 0}.btn.danger{color:var(--red)}.icon-btn{background:0 0;border:2px solid #0000;border-radius:8px;padding:5px 8px;font-size:1.15rem;font-weight:900;line-height:1}.icon-btn:not(:disabled):hover{border-color:var(--ink);background:var(--paper)}.icon-btn.tiny{padding:3px 6px;font-size:.85rem}.chip{border:2px solid var(--ink);background:var(--paper);white-space:nowrap;border-radius:999px;padding:2px 10px;font-size:.8rem;font-weight:800}.chip[aria-pressed=true]{background:var(--ink);color:#fff}.chip.ok{background:#d9f2df}.chip.warn{background:#fff1c4}.chip.live{background:#d8e6ff;animation:1.2s ease-in-out infinite pulse}@keyframes pulse{50%{opacity:.6}}.chips{flex-wrap:wrap;gap:5px;display:flex}.chip-btn{border:2px solid var(--ink);background:#fff;border-radius:999px;padding:2px 9px;font-size:.8rem;font-weight:800}.chip-btn:hover{background:var(--paper-2)}.chip-btn[aria-pressed=true]{background:var(--yellow)}.panel{background:var(--paper);border:3px solid var(--ink);border-radius:var(--radius);box-shadow:var(--shadow)}.side-title{font-family:var(--display);letter-spacing:.4px;margin:0 0 6px;font-size:1.2rem;font-weight:400}h4{font-family:var(--display);letter-spacing:.4px;margin:14px 0 6px;font-size:1rem;font-weight:400}.field{flex-direction:column;gap:4px;margin:10px 0;display:flex}.lbl{text-transform:uppercase;letter-spacing:.5px;color:var(--muted);font-size:.8rem;font-weight:800}.field-grid{grid-template-columns:1fr 1fr;gap:8px 10px;margin:8px 0 12px;display:grid}.field-grid>label,.voice-grid>label,.more-grid>label{color:var(--muted);flex-direction:column;gap:3px;font-size:.78rem;font-weight:800;display:flex}.field-grid .span2,.more-grid .span2{grid-column:span 2}label.check{color:var(--ink);cursor:pointer;align-items:center;gap:6px;font-size:.85rem;font-weight:700;flex-direction:row!important}label.inline{align-items:center;gap:4px;display:inline-flex}label.inline input{width:80px}.empty-note{color:var(--muted);padding:8px 0;font-style:italic}.error-box,.warn-box{border:2.5px solid var(--red);background:#ffe9e5;border-radius:10px;flex-direction:column;gap:8px;margin:10px 0;padding:10px 12px;display:flex}.warn-box{border-color:var(--orange);background:#fff4dc}.ok-note{color:var(--green);font-weight:800}.seg-toggle{border:2.5px solid var(--ink);border-radius:11px;margin:8px 0 12px;display:flex;overflow:hidden}.seg-toggle button{background:#fff;border:0;flex:1;padding:6px 8px;font-size:.88rem;font-weight:800}.seg-toggle button+button{border-left:2.5px solid var(--ink)}.seg-toggle button[aria-selected=true]{background:var(--yellow)}.seg-toggle.small button{padding:4px 6px;font-size:.8rem}.app{flex-direction:column;min-height:100vh;display:flex}.topbar{height:var(--top);z-index:20;border-bottom:3px solid var(--ink);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);background:#fffdf6eb;align-items:center;gap:8px;padding:8px 16px;display:flex;position:sticky;top:0}.logo{background:0 0;border:0;align-items:center;gap:8px;padding:0;display:flex;transform:rotate(-2deg)}.logo-mark{font-size:1.7rem}.logo-text{font-family:var(--display);letter-spacing:.5px;white-space:nowrap;font-size:1.35rem}.logo-text b{color:var(--red);font-weight:400}.ep-title{max-width:360px;margin-left:10px;font-weight:800;background:0 0!important;border-color:#0000!important}.ep-title:hover,.ep-title:focus{border-color:var(--ink)!important;background:#fff!important}.script-view{grid-template-columns:minmax(0,1fr) 340px;gap:18px;width:100%;max-width:1400px;margin:0 auto;padding:18px;display:grid}.script-panel{min-height:calc(100vh - var(--top) - 36px);flex-direction:column;gap:12px;padding:18px 20px;display:flex}.script-head h1{font-family:var(--display);letter-spacing:.5px;margin:0 0 4px;font-size:2.2rem;font-weight:400;transform:rotate(-1deg)}.script-head h1 span{color:var(--red)}.script-head p{color:var(--muted);max-width:820px;margin:0}.script-input{flex:1;min-height:380px;font-size:.98rem;font-weight:700;line-height:1.5;background:#fffef9 repeating-linear-gradient(#0000 0 23px,#e9eef7 23px 24px) local!important;padding:14px 16px!important;font-family:Courier New,Courier,monospace!important}.ai-write{border:2px dashed var(--ink);color:var(--muted);border-radius:10px;align-items:center;gap:12px;padding:8px 12px;font-size:.9rem;display:flex}.ai-write b{color:var(--ink)}.ai-write .btn{flex:none}@media (width<=640px){.ai-write{flex-direction:column;align-items:stretch}}.script-actions{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.script-side{flex-direction:column;gap:18px;display:flex}.script-side .panel{padding:14px 16px}.crew-grid{grid-template-columns:repeat(3,1fr);gap:8px;margin:8px 0 10px;display:grid}.crew-chip{border:2px solid var(--ink);background:var(--sky-2);text-align:center;border-radius:10px;padding:2px 2px 4px;font-size:.75rem;font-weight:800;position:relative}.crew-chip span{text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.crew-chip .icon-btn{position:absolute;top:0;right:0}.crew-svg{width:100%;height:74px}.how ol{flex-direction:column;gap:6px;margin:0;padding-left:20px;font-size:.9rem;display:flex}.directing{text-align:center;max-width:460px;padding:26px 30px}.directing h2{font-family:var(--display);margin:6px 0 12px;font-weight:400}.directing ul{text-align:left;flex-direction:column;gap:6px;margin:0 0 10px;padding:0;list-style:none;display:flex}.directing li:before{content:"⏳ "}.directing li.live:before{content:"✏️ "}.clapper{font-size:3rem;animation:.9s ease-in-out infinite clap;display:inline-block}@keyframes clap{50%{transform:rotate(-12deg)scale(1.08)}}.studio{height:calc(100vh - var(--top));grid-template-columns:210px minmax(0,1fr) 410px;gap:14px;min-height:560px;padding:14px;display:grid}.scenes-rail{flex-direction:column;gap:8px;min-height:0;padding:10px;display:flex}.rail-head{justify-content:space-between;align-items:center;display:flex}.rail-head .side-title{margin:0}.scene-list{flex-direction:column;flex:1;gap:8px;margin:0;padding:2px 4px 2px 0;list-style:none;display:flex;overflow-y:auto}.scene-card{text-align:left;border:2.5px solid var(--ink);background:#fff;border-radius:10px;flex-direction:column;align-items:stretch;width:100%;padding:0 0 5px;display:flex;position:relative;overflow:hidden}.scene-card.cur{outline:3px solid var(--red);outline-offset:1px}.thumb-svg{aspect-ratio:16/9;border-bottom:2px solid var(--ink);pointer-events:none;width:100%;display:block}.scene-num{background:var(--ink);color:#fff;border-radius:6px;padding:0 6px;font-size:.72rem;font-weight:900;position:absolute;top:4px;left:4px}.scene-name{text-overflow:ellipsis;white-space:nowrap;padding:3px 7px 0;font-size:.85rem;font-weight:800;overflow:hidden}.scene-card .tiny-text{text-overflow:ellipsis;white-space:nowrap;padding:0 7px;overflow:hidden}.rail-tools{flex-wrap:wrap;justify-content:space-between}.stage-col{flex-direction:column;gap:10px;min-width:0;min-height:0;display:flex}.player{flex-direction:column;gap:8px;display:flex}.stage-frame{aspect-ratio:16/9;width:100%;max-height:calc(100vh - var(--top) - 150px);border:3px solid var(--ink);box-shadow:var(--shadow);background:#1d1d1d;border-radius:12px;margin:0 auto;position:relative;overflow:hidden}.stage-frame.set-edit{outline:3px dashed var(--orange);outline-offset:3px}.stage-svg{touch-action:none;-webkit-user-select:none;user-select:none;width:100%;height:100%;display:block}.actor-hit.editable{cursor:grab}.actor-hit.editable:active{cursor:grabbing}.actor-ring{fill:#f2c2308c;stroke:var(--ink);stroke-width:3px;stroke-dasharray:10 6}.piece-handle{fill:#e08a1614;stroke:var(--orange);stroke-width:4px;stroke-dasharray:12 8;cursor:move}.piece-handle:hover{fill:#e08a1638}.big-play{border:4px solid var(--ink);background:var(--red);color:#fff;width:96px;height:96px;box-shadow:var(--shadow);border-radius:50%;padding-left:8px;font-size:2.4rem;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)rotate(-4deg)}.big-play:hover{transform:translate(-50%,-50%)rotate(2deg)scale(1.05)}.transport{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.play-btn{background:var(--yellow);width:46px;height:38px;padding:0;font-size:1rem}.time{font-variant-numeric:tabular-nums;min-width:86px;font-size:.9rem;font-weight:800}.scrub{border:2.5px solid var(--ink);cursor:pointer;touch-action:none;background:#fff;border-radius:8px;flex:1;min-width:200px;height:30px;position:relative;overflow:hidden}.scrub .seg{background:var(--sky-2);border-right:2px solid var(--ink);position:absolute;top:0;bottom:0}.scrub .seg:nth-child(2n){background:#e3f3d8}.scrub .seg.cur{background:#ffe8a3}.scrub .seg.title-seg{background:var(--paper-3)}.scrub .seg i{background:#1d1d1d59;width:2px;height:8px;position:absolute;bottom:3px}.scrub .head{background:var(--red);pointer-events:none;width:4px;margin-left:-2px;position:absolute;top:-2px;bottom:-2px}.hint{text-align:center;margin:0}.actor-bar{box-shadow:var(--shadow-sm);flex-wrap:wrap;align-items:center;gap:8px;padding:8px 10px;display:flex}.inspector{flex-direction:column;min-height:0;display:flex;overflow:hidden}.tabs{border-bottom:3px solid var(--ink);background:var(--paper-2);display:flex}.tabs button{font-family:var(--display);letter-spacing:.4px;background:0 0;border:0;border-bottom:4px solid #0000;flex:1;padding:9px 4px 7px;font-size:1rem}.tabs button[aria-selected=true]{background:var(--paper);border-bottom-color:var(--red)}.tab-body{flex:1;min-height:0;padding:12px;overflow-y:auto}.scene-meta{margin-bottom:10px}.scene-title{font-family:var(--display);letter-spacing:.3px;background:0 0!important;border-color:#0000!important;padding-left:2px!important;font-size:1.15rem!important}.scene-title:hover,.scene-title:focus{border-color:var(--ink)!important;background:#fff!important}.scene-meta p{margin:2px 0 0 2px}.beat{border:2px solid var(--ink);background:#fff;border-left-width:7px;border-radius:10px;flex-direction:column;gap:6px;margin-bottom:8px;padding:7px 8px;display:flex}.beat.cur{box-shadow:var(--shadow-sm);background:#fff6d6}.beat.silent{background:var(--paper-2)}.beat.silent.cur{background:#fff1c0}.beat-top{align-items:center;gap:4px;display:flex}.beat-top select{border-width:1.5px;border-radius:7px;width:auto;max-width:34%;padding:2px 4px;font-size:.8rem}.beat-top select:first-child{font-weight:900}.beat-text{font-size:.95rem;padding:5px 8px!important}.beat-row{flex-wrap:wrap;align-items:flex-start;gap:6px;display:flex}.beat-row .delivery{flex:140px;font-size:.82rem;font-style:italic;padding:3px 7px!important}.shot-edit{flex-direction:column;flex:120px;gap:4px;display:flex}.shot-edit select{padding:2px 4px;font-size:.8rem}.silent-row{align-items:center;gap:10px;display:flex}.voice-dot.ok{color:var(--green)}.voice-dot.err{color:var(--red)}.voice-dot.wait{animation:1s infinite pulse}.more summary{cursor:pointer;color:var(--muted);flex-wrap:wrap;align-items:center;gap:5px;font-size:.78rem;font-weight:800;display:flex}.tag{background:var(--paper-3);color:var(--ink);border-radius:6px;padding:0 6px;font-size:.72rem}.more-grid{grid-template-columns:1fr 1fr;gap:6px 8px;margin-top:6px;display:grid}.more-grid select,.more-grid input{font-size:.82rem;padding:3px 6px!important}.moves{flex-direction:column;gap:4px;margin-top:3px;display:flex}.move-row{align-items:center;gap:4px;display:flex}.move-row select,.move-row input{font-size:.78rem;padding:2px 4px!important}.move-row input[type=number]{flex:none;width:70px}.add-row{margin-top:6px}.cast-card{border:2px solid var(--ink);background:#fff;border-radius:11px;margin-bottom:8px;overflow:hidden}.cast-head{text-align:left;background:0 0;border:0;align-items:center;gap:10px;width:100%;padding:6px 10px 6px 6px;display:flex}.cast-face{background:var(--sky-2);border:2px solid var(--ink);border-radius:9px;flex:none;width:54px;height:54px}.cast-name{flex-direction:column;flex:1;min-width:0;display:flex}.cast-name span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.chev{font-size:.9rem}.cast-body{border-top:2px dashed var(--paper-3);flex-direction:column;gap:6px;padding:4px 12px 12px;display:flex}.cast-preview{background:linear-gradient(#cdeeff,#fff 80%);border-radius:10px;justify-content:center;margin-top:6px;display:flex}.cast-full{width:100%;height:190px}.cast-body .field{margin:4px 0}.voice-grid{grid-template-columns:1.2fr 1fr 1fr;gap:8px;display:grid}.preset-grid{grid-template-columns:1fr 1fr;gap:8px;display:grid}.preset-btn{border:2.5px solid var(--ink);background:#fff;border-radius:10px;flex-direction:column;gap:3px;padding:0 0 4px;font-size:.8rem;font-weight:800;display:flex;overflow:hidden}.preset-btn[aria-pressed=true]{outline:3px solid var(--red);outline-offset:1px}.preset-svg{aspect-ratio:16/9;border-bottom:2px solid var(--ink);width:100%;display:block}.pieces{flex-direction:column;gap:6px;margin-top:8px;display:flex}.piece-row{border:2px solid var(--ink);background:#fff;border-radius:9px;flex-direction:column;gap:4px;padding:6px 8px;display:flex}.piece-top{align-items:center;gap:8px;font-size:.88rem;display:flex}.piece-controls{align-items:center;gap:8px;display:flex}.piece-controls label{color:var(--muted);flex:1;align-items:center;gap:4px;font-size:.75rem;font-weight:800;display:flex}.piece-controls input[type=color]{width:30px;height:26px}.chat-panel{flex-direction:column;height:100%;min-height:420px;display:flex}.chat-list{flex-direction:column;flex:1;gap:8px;padding:2px 2px 8px;display:flex;overflow-y:auto}.chat-hello p{margin:4px 0 10px}.msg{border:2px solid var(--ink);border-radius:12px;flex-direction:column;align-items:flex-start;gap:4px;max-width:92%;padding:6px 10px;display:flex}.msg p{white-space:pre-wrap;margin:0}.msg.user{background:var(--sky-2);border-bottom-right-radius:3px;align-self:flex-end}.msg.assistant{background:#fff;border-bottom-left-radius:3px;align-self:flex-start}.msg.error{border-color:var(--red);background:#ffe9e5}.msg.thinking p{animation:1.2s infinite pulse}.msg-scope{color:var(--muted);text-transform:uppercase;letter-spacing:.4px;font-size:.7rem;font-weight:800}.chat-input{border-top:2px dashed var(--paper-3);align-items:flex-end;gap:6px;padding-top:8px;display:flex}.chat-input textarea{resize:none}.modal-back{z-index:50;background:#1d1d1d73;place-items:center;padding:16px;animation:.15s fade;display:grid;position:fixed;inset:0}@keyframes fade{0%{opacity:0}}.modal{flex-direction:column;width:min(560px,100%);max-height:calc(100vh - 32px);animation:.18s modal-in;display:flex}.modal.wide{width:min(860px,100%)}@keyframes modal-in{0%{opacity:0;transform:scale(.9)rotate(-1.5deg)}}.modal-head{border-bottom:3px solid var(--ink);justify-content:space-between;align-items:center;padding:10px 14px 6px 18px;display:flex}.modal-head h2{font-family:var(--display);letter-spacing:.5px;margin:0;font-weight:400}.modal-body{padding:12px 18px 18px;overflow-y:auto}.filter{max-width:110px}.episode-list{flex-direction:column;gap:8px;margin:14px 0 0;padding:0;list-style:none;display:flex}.episode-list li{border:2px solid var(--ink);background:#fff;border-radius:10px;align-items:center;gap:6px;padding:6px 8px;display:flex}.episode-list li.cur{background:#fff6d6}.ep-open{text-align:left;background:0 0;border:0;flex-direction:column;flex:1;min-width:0;padding:0;display:flex}.export-setup,.export-run,.export-done{flex-direction:column;gap:10px;display:flex}.export-video{border:3px solid var(--ink);background:#000;border-radius:10px;width:100%}.bar{border:2.5px solid var(--ink);background:#fff;border-radius:8px;height:22px;overflow:hidden}.bar div{background:repeating-linear-gradient(-45deg, var(--red) 0 14px, #e5584a 14px 28px);height:100%;transition:width .2s}.toasts{z-index:80;pointer-events:none;flex-direction:column;gap:8px;display:flex;position:fixed;bottom:18px;left:50%;transform:translate(-50%)}.toast{background:var(--ink);color:#fff;box-shadow:var(--shadow-sm);border-radius:10px;max-width:90vw;padding:8px 16px;font-weight:800;animation:.15s modal-in}.toast.error{background:var(--red)}@media (width<=1280px){.studio{grid-template-columns:180px minmax(0,1fr) 360px}}@media (width<=1020px){.studio{grid-template-columns:1fr;height:auto}.stage-col{order:1}.inspector{order:2;max-height:80vh}.scenes-rail{order:3}.scene-list{flex-direction:row;overflow-x:auto}.scene-list li{flex:0 0 160px}.script-view{grid-template-columns:1fr}}@media (width<=640px){.topbar{flex-wrap:wrap;height:auto;padding:8px 12px}.logo-text{font-size:1.1rem}.ep-title{order:10;max-width:none;margin:0}.studio,.script-view{padding:10px}.script-head h1{font-size:1.6rem}.voice-grid,.field-grid,.more-grid{grid-template-columns:1fr}.field-grid .span2,.more-grid .span2{grid-column:auto}}
