.stu-root{display:flex;flex-direction:column;height:calc(100vh - 0px);min-height:0;background:var(--pf-bg,#0a0f1a)}.stu-top{gap:.75rem;padding:.65rem 1rem;border-bottom:1px solid var(--pf-border,#1e293b);background:var(--pf-surface,#0f172a);flex-wrap:wrap}.stu-top,.stu-top__left{display:flex;align-items:center}.stu-top__left{gap:.5rem;min-width:0;flex:0 1 auto}.stu-top__actions{display:flex;align-items:center;gap:.5rem;flex-wrap:wrap;justify-content:flex-end}.stu-top__history{display:flex;align-items:center;gap:.2rem;background:#0b1220;border-radius:9px;padding:3px}.stu-top__icon-btn{display:inline-flex;align-items:center;justify-content:center;width:2rem;height:2rem;border:none;border-radius:7px;background:transparent;color:#94a3b8;cursor:pointer;font-family:inherit}.stu-top__icon-btn:hover:not(:disabled){background:hsla(0,0%,100%,.06);color:#e2e8f0}.stu-top__icon-btn:disabled{opacity:.35;cursor:not-allowed}.stu-top__crumb{display:flex;align-items:center;gap:.35rem;font-size:.82rem;font-weight:600;color:var(--pf-text,#e2e8f0)}.stu-top__crumb span{color:var(--pf-text-faint,#64748b);font-weight:500}.stu-top__tabs{display:flex;gap:.25rem;background:#0b1220;border-radius:9px;padding:3px}.stu-top__tab{padding:.38rem .85rem;border-radius:7px;border:none;background:transparent;color:#64748b;font-size:.76rem;font-weight:600;cursor:pointer;font-family:inherit}.stu-top__tab.on{background:#2a2166;color:#c7d2fe}.stu-top__spacer{flex:1 1;min-width:.5rem}.stu-top__orient{display:flex;gap:.2rem;background:#0b1220;border-radius:9px;padding:3px;border:1px solid var(--pf-border,#334155)}.stu-top__orient-btn{width:30px;height:28px;border:none;border-radius:7px;background:transparent;color:#64748b;cursor:pointer;display:flex;align-items:center;justify-content:center;font-family:inherit}.stu-top__orient-btn.on{background:#2a2166;color:#c7d2fe}.stu-top__badge{flex:none;font-size:.58rem;font-weight:700;text-transform:uppercase;letter-spacing:.04em;padding:.15rem .4rem;border-radius:5px;background:rgba(109,98,244,.18);color:#c7d2fe;border:1px solid rgba(109,98,244,.35);margin-left:.35rem}.stu-top__badge--qa{cursor:pointer;display:inline-flex;align-items:center;gap:.25rem;font-family:inherit}.stu-top__badge--qa.clean{background:rgba(74,222,128,.16);color:#86efac;border-color:rgba(74,222,128,.35)}.stu-top__badge--qa.flagged{background:rgba(251,191,36,.16);color:#fbbf24;border-color:rgba(251,191,36,.4)}.stu-top__badge--qa.stale{background:rgba(148,163,184,.14);color:#94a3b8;border-color:rgba(148,163,184,.3)}.stu-top__badge--qa:disabled{opacity:.6;cursor:default}.stu-top__episode{flex:none;font-size:.68rem;padding:.2rem .35rem;border-radius:6px;border:1px solid var(--pf-border,#334155);background:var(--pf-surface-2,#0b1220);color:var(--pf-text-dim,#94a3b8);max-width:9rem;margin-left:.25rem}.stu-shows__group{margin-bottom:.15rem}.stu-shows__group--active .stu-shows__item--root strong{color:#c7d2fe}.stu-shows__item--root{display:grid;grid-template-columns:auto 1fr auto auto;grid-gap:.15rem;gap:.15rem;align-items:start}.stu-shows__expand{padding:.35rem .15rem;display:flex;align-items:center}.stu-shows__add-ep,.stu-shows__expand{border:none;background:transparent;color:var(--pf-text-faint,#64748b);cursor:pointer}.stu-shows__add-ep{padding:.35rem;opacity:.6}.stu-shows__add-ep:hover{color:#c7d2fe;opacity:1}.stu-shows__episodes{padding-left:1.25rem;border-left:1px solid var(--pf-border-soft,#1e293b);margin-left:.65rem}.stu-shows__item--ep .stu-shows__btn strong{font-size:.72rem;font-weight:600}.stu-shows__empty--ep{padding:.35rem .5rem;font-size:.65rem}.stu-top__select{font-size:.76rem;padding:.35rem .6rem;border-radius:8px;border:1px solid var(--pf-border,#334155);background:var(--pf-surface-2,#0b1220);color:var(--pf-text,#e2e8f0)}.stu-body{flex:1 1;display:flex;flex-direction:column;min-height:0;position:relative}.stu-body__row{flex:1 1;display:flex;min-height:0;position:relative}.stu-story-ai{gap:.5rem;padding:.55rem .85rem;border-top:1px solid var(--pf-border,#1e293b);background:rgba(109,98,244,.06)}.stu-story-ai,.stu-story-ai__label{flex:none;display:flex;align-items:center}.stu-story-ai__label{gap:.35rem;font-size:.72rem;font-weight:600;color:#a5b4fc;white-space:nowrap}.stu-story-ai__input{flex:1 1;min-width:0}.stu-rail{width:44px;flex:none;flex-direction:column;gap:.35rem;padding:.75rem 0;border-right:1px solid var(--pf-border,#1e293b);background:var(--pf-surface,#0f172a)}.stu-rail,.stu-rail__btn{display:flex;align-items:center}.stu-rail__btn{width:32px;height:32px;border-radius:8px;border:1px solid var(--pf-border,#334155);background:transparent;color:var(--pf-text-faint,#94a3b8);cursor:pointer;justify-content:center}.stu-canvas{flex:1 1;overflow:auto;cursor:-webkit-grab;cursor:grab;padding:1.25rem 1rem 2.5rem;background:radial-gradient(circle at 1px 1px,rgba(94,107,133,.35) 1px,transparent 0);background-size:20px 20px;background-color:#0d1424;min-height:0}.stu-canvas--panning{cursor:-webkit-grabbing;cursor:grabbing;-webkit-user-select:none;-moz-user-select:none;user-select:none}.stu-canvas__grid,.stu-canvas__row{display:flex;flex-direction:row;align-items:flex-start;gap:1rem;width:max-content;min-width:min(100%,max-content);transform-origin:top left;transition:transform .12s ease-out;padding-right:1.5rem}.stu-canvas__grid{display:grid;grid-template-columns:repeat(4,minmax(168px,188px));grid-gap:1rem .85rem;gap:1rem .85rem}@media (max-width:1100px){.stu-canvas__grid{grid-template-columns:repeat(3,minmax(160px,180px))}}@media (max-width:820px){.stu-canvas__grid{grid-template-columns:repeat(2,minmax(150px,170px))}}.stu-canvas__add-cell{display:flex;align-items:center;justify-content:center;align-self:center;flex:0 0 auto;min-height:auto;padding:0 .25rem}.stu-zoom{position:absolute;bottom:1rem;left:3.5rem;z-index:5;display:flex;flex-direction:column;gap:.25rem;background:var(--pf-surface,#0f172a);border:1px solid var(--pf-border,#334155);border-radius:10px;padding:.3rem;box-shadow:0 4px 16px rgba(0,0,0,.3)}.stu-zoom button{width:30px;height:30px;border:none;border-radius:7px;background:transparent;color:var(--pf-text,#e2e8f0);cursor:pointer;display:flex;align-items:center;justify-content:center}.stu-zoom button:hover{background:hsla(0,0%,100%,.06)}.stu-card-wrap{display:flex;flex-direction:column;gap:.35rem;flex:0 0 188px;width:188px}.stu-card-wrap--on .stu-card{border-color:var(--pf-accent,#6d62f4);box-shadow:0 0 0 2px rgba(109,98,244,.25),0 8px 28px rgba(0,0,0,.35)}.stu-card__caption{font-size:.72rem;font-weight:600;color:var(--pf-text,#e2e8f0);margin:0;padding:.15rem .25rem;line-height:1.3;outline:none;border-radius:4px;max-height:2.6em;overflow:hidden;cursor:text;border:1px solid transparent}.stu-card__caption:focus,.stu-card__dialogue:focus{border-color:rgba(109,98,244,.5);background:rgba(109,98,244,.08)}.stu-card__caption:empty:before,.stu-card__dialogue:empty:before{content:attr(data-placeholder);color:var(--pf-text-faint,#64748b);font-weight:500;pointer-events:none}.stu-card{position:relative;background:var(--pf-surface,#0f172a);border:1px solid var(--pf-border,#334155);border-radius:12px;padding:.55rem;cursor:pointer;box-shadow:0 4px 20px rgba(0,0,0,.25);transition:border-color .15s,box-shadow .15s}.stu-card__section{margin-bottom:.45rem}.stu-card__section:last-child{margin-bottom:0}.stu-card__label{display:block;font-size:.65rem;font-weight:700;color:var(--pf-text,#e2e8f0);margin-bottom:.25rem}.stu-card__thumb{position:relative;border-radius:8px;overflow:hidden;background:var(--pf-surface-2,#0b1220);border:1px solid var(--pf-border-soft,#1e293b)}.stu-card__thumb--vert{aspect-ratio:9/12;max-height:210px}.stu-card__thumb--horiz{aspect-ratio:16/10;max-height:140px}.stu-card__thumb img,.stu-card__thumb video{width:100%;height:100%;object-fit:cover;display:block}.stu-card__empty{width:100%;height:100%;min-height:100px;display:flex;align-items:center;justify-content:center;color:var(--pf-text-faint,#475569);background:linear-gradient(160deg,var(--pf-surface-2,#0b1220),var(--pf-surface-3,#111827))}.stu-card__badge{position:absolute;top:.35rem;left:.35rem;font-size:.58rem;font-weight:700;letter-spacing:.03em;color:hsla(0,0%,100%,.9);background:rgba(0,0,0,.5);-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);padding:.12rem .35rem;border-radius:4px}.stu-card__narration{display:flex;align-items:center;gap:.35rem;background:var(--pf-surface-2,#0b1220);border:1px solid var(--pf-border-soft,#1e293b);border-radius:7px;padding:.3rem .45rem}.stu-card__play{width:22px;height:22px;border-radius:50%;flex:none;border:none;background:#3b82f6;color:#fff;display:flex;align-items:center;justify-content:center;cursor:pointer}.stu-card__time{font-family:var(--pf-font-mono,monospace);font-size:.55rem;color:var(--pf-text-faint,#64748b);white-space:nowrap}.stu-card__dialogue{font-size:.62rem;color:var(--pf-text-dim,#94a3b8);margin:.25rem 0 0;line-height:1.3;outline:none;max-height:2.6em;overflow:hidden;cursor:text;padding:.15rem .25rem;border-radius:4px;border:1px solid transparent;min-height:1.2em}.stu-card__toggle{display:flex;border-top:1px solid var(--pf-border-soft,#1e293b);margin:0 -.55rem -.55rem;border-radius:0 0 11px 11px;overflow:hidden}.stu-card__toggle button{flex:1 1;border:none;background:transparent;color:var(--pf-text-faint,#64748b);font-size:.62rem;font-weight:700;padding:.35rem;cursor:pointer;font-family:inherit}.stu-card__toggle button.on{background:rgba(109,98,244,.15);color:#c7d2fe}.stu-card__del{position:absolute;top:-.35rem;right:-.35rem;width:20px;height:20px;border-radius:50%;border:1px solid var(--pf-border,#334155);background:var(--pf-surface,#0f172a);color:var(--pf-text-faint,#64748b);cursor:pointer;display:none;align-items:center;justify-content:center;z-index:2}.stu-card-wrap--on .stu-card__del,.stu-card-wrap:hover .stu-card__del{display:flex}.stu-card-wrap--drag{opacity:.45}.stu-card-wrap--drop{box-shadow:0 0 0 2px #60a5fa;border-radius:12px}.stu-card__head{display:flex;align-items:flex-start;gap:.2rem}.stu-card__drag{flex:none;color:var(--pf-text-faint,#64748b);cursor:-webkit-grab;cursor:grab;padding-top:.15rem;opacity:.5}.stu-card__edit{flex:none;display:flex;align-items:center;justify-content:center;width:26px;height:26px;margin-top:.05rem;border:1px solid var(--pf-border-soft,#334155);border-radius:6px;background:hsla(0,0%,100%,.04);color:#94a3b8;cursor:pointer}.stu-card__edit:hover{color:#e2e8f0;background:rgba(109,98,244,.15);border-color:rgba(109,98,244,.35)}.stu-card-wrap:hover .stu-card__drag{opacity:1}.stu-card__generating{position:absolute;inset:0;z-index:2;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.35rem;background:rgba(0,0,0,.65);color:#fff;font-size:.62rem;font-weight:600}.stu-card__gen-actions{display:flex;gap:.25rem;margin-top:.35rem}.stu-card__gen-btn{flex:1 1;display:flex;align-items:center;justify-content:center;gap:.2rem;padding:.28rem .35rem;border-radius:6px;border:1px solid var(--pf-border-soft,#1e293b);background:rgba(109,98,244,.1);color:#c7d2fe;font-size:.58rem;font-weight:700;cursor:pointer;font-family:inherit}.stu-card__gen-btn:disabled{opacity:.4;cursor:not-allowed}.stu-card__gen-btn:not(:disabled):hover{background:rgba(109,98,244,.2)}.stu-prompt-panel{border:1px solid var(--pf-border,#1e293b);border-radius:8px;overflow:hidden;background:rgba(15,23,42,.5);margin-top:.35rem}.stu-prompt-panel--compact{margin-top:.25rem}.stu-prompt-panel__toggle{width:100%;display:flex;align-items:center;justify-content:space-between;gap:.5rem;padding:.45rem .55rem;background:transparent;border:none;cursor:pointer;color:#94a3b8;font-size:.62rem;font-weight:600;text-transform:uppercase;letter-spacing:.04em}.stu-prompt-panel__toggle:hover{background:hsla(0,0%,100%,.04);color:#cbd5e1}.stu-prompt-panel__chevron{transition:transform .15s ease;opacity:.75}.stu-prompt-panel.open .stu-prompt-panel__chevron{transform:rotate(180deg)}.stu-prompt-panel__body{padding:.5rem .55rem .55rem;display:flex;flex-direction:column;gap:.45rem;border-top:1px solid var(--pf-border-soft,#1e293b)}.stu-prompt-panel__field{display:flex;flex-direction:column;gap:.25rem}.stu-prompt-panel__field>span{font-size:.6rem;font-weight:600;text-transform:uppercase;letter-spacing:.04em;color:var(--pf-text-faint,#64748b)}.stu-prompt-panel__slot{font-weight:500;text-transform:none;letter-spacing:0;color:#93c5fd}.stu-prompt-panel__json{font-family:var(--pf-font-mono,monospace);font-size:.68rem;min-height:4rem}.stu-prompt-panel__pre{margin:0;padding:.45rem .5rem;font-family:var(--pf-font-mono,monospace);font-size:.65rem;line-height:1.35;color:#cbd5e1;background:rgba(0,0,0,.35);border-radius:6px;max-height:5.5rem;overflow:auto;white-space:pre-wrap;word-break:break-word}.stu-prompt-panel__err{font-size:.65rem;color:#f87171}.stu-prompt-panel--compact .stu-prompt-panel__pre{max-height:4rem}.stu-editor__inspector .stu-prompt-panel{margin-top:0}.stu-card-add{width:52px;height:52px;border-radius:50%;border:2px dashed var(--pf-border,#334155);background:rgba(15,23,42,.6);color:var(--pf-text-faint,#94a3b8);cursor:pointer;display:flex;align-items:center;justify-content:center;transition:border-color .15s,color .15s,background .15s}.stu-card-add:hover{border-color:var(--pf-accent,#6d62f4);color:#c7d2fe;background:rgba(109,98,244,.12)}.stu-editor{flex:1 1;padding:1rem 1.25rem;overflow:auto;min-height:0;display:flex;flex-direction:column;gap:.75rem}.stu-editor__head{display:flex;align-items:baseline;gap:.75rem;font-size:.75rem;color:var(--pf-text-faint,#94a3b8);flex-wrap:wrap}.stu-editor__head-actions{margin-left:auto;display:flex;align-items:center;gap:.5rem;flex-wrap:wrap}.stu-editor__export-link{font-size:.72rem;color:#93c5fd;text-decoration:none}.stu-editor__export-link:hover{text-decoration:underline}.stu-top__export-link{font-size:.72rem;color:#93c5fd;text-decoration:none;padding:.25rem .35rem}.stu-top__export-link:hover{text-decoration:underline}.stu-editor__ruler-track{flex:1 1;position:relative;height:14px;background:hsla(0,0%,100%,.06);border-radius:7px;cursor:pointer;touch-action:none}.stu-editor__ruler-track.scrubbing{background:rgba(244,114,182,.12)}.stu-editor__layout{display:grid;grid-template-columns:1fr minmax(220px,280px);grid-gap:1rem;gap:1rem;align-items:start}@media (max-width:900px){.stu-editor__layout{grid-template-columns:1fr}}.stu-editor__player{display:flex;flex-direction:column;align-items:center;gap:.35rem;position:-webkit-sticky;position:sticky;top:0;z-index:2;align-self:start;padding-bottom:.35rem;background:linear-gradient(180deg,#0b1220 88%,transparent)}.stu-editor__screen{position:relative;width:100%;max-width:320px;margin:0 auto;aspect-ratio:9/16;border-radius:14px;overflow:hidden;background:#000;border:1px solid var(--pf-border,#334155)}.stu-editor__screen--wide{max-width:480px;aspect-ratio:16/9}.stu-editor__screen img,.stu-editor__screen video{width:100%;height:100%;object-fit:cover;display:block}.stu-editor__preview-toggle{position:absolute;top:8px;left:8px;z-index:3;display:inline-flex;align-items:center;gap:.3rem;padding:.3rem .55rem;border-radius:999px;background:rgba(15,23,42,.72);border:1px solid hsla(0,0%,100%,.14);color:#e2e8f0;font-size:.66rem;font-weight:600;cursor:pointer;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px)}.stu-editor__preview-toggle:hover{background:rgba(15,23,42,.9);border-color:hsla(0,0%,100%,.28)}.stu-editor__play-btn{flex:none;display:flex;align-items:center;justify-content:center;width:22px;height:22px;border-radius:50%;background:#f472b6;color:#0b1220;border:none;cursor:pointer}.stu-editor__play-btn:hover:not(:disabled){background:#f9a8d4}.stu-editor__play-btn:disabled{opacity:.4;cursor:not-allowed}.stu-editor__placeholder{width:100%;height:100%;display:flex;align-items:center;justify-content:center;color:var(--pf-text-faint,#64748b);font-size:.82rem;padding:1rem;text-align:center}.stu-editor__subtitle{font-size:.85rem;font-weight:600;color:#f8fafc;text-align:center;max-width:420px;padding:.35rem .75rem;background:rgba(0,0,0,.45);border-radius:8px;margin:0}.stu-editor__inspector{background:var(--pf-surface,#0f172a);border:1px solid var(--pf-border,#1e293b);border-radius:12px;padding:.85rem;display:flex;flex-direction:column;gap:.65rem}.stu-editor__inspector .stu-inp{width:100%;box-sizing:border-box}.stu-editor__inspector-title{margin:0;font-size:.8rem;font-weight:700;color:var(--pf-text,#e2e8f0)}.stu-editor__field{display:flex;flex-direction:column;gap:.25rem}.stu-editor__field>span{font-size:.65rem;font-weight:600;text-transform:uppercase;letter-spacing:.04em;color:var(--pf-text-faint,#64748b)}.stu-editor__media-status{display:flex;gap:.75rem;font-size:.7rem;color:var(--pf-text-faint,#64748b);padding-top:.25rem;border-top:1px solid var(--pf-border-soft,#1e293b)}.stu-editor__media-status .ok{color:#86efac}.stu-editor__qa-fail{color:#fbbf24}.stu-editor__clip-qa{position:absolute;top:4px;right:4px;width:7px;height:7px;border-radius:50%;box-shadow:0 0 0 1px rgba(0,0,0,.35)}.stu-editor__clip-qa.pass{background:#4ade80}.stu-editor__clip-qa.fail{background:#fbbf24}.stu-editor__field-action{align-self:flex-start}.stu-editor__field-action--icon{display:inline-flex;align-items:center;justify-content:center;width:26px;height:26px;padding:0;flex:none;border:1px solid var(--pf-border,#1e293b);border-radius:6px;background:transparent;color:var(--pf-text-dim,#94a3b8);cursor:pointer}.stu-editor__field-action--icon:hover{border-color:var(--pf-accent,#6d62f4);color:var(--pf-text,#e2e8f0)}.stu-editor__field-action--icon:disabled{opacity:.5;cursor:default}.stu-editor__speaker-lines{gap:.4rem;display:flex;flex-direction:column}.stu-editor__speaker-line{display:flex;align-items:flex-start;gap:.4rem}.stu-editor__speaker-line .stu-inp--ta{flex:1 1;min-height:2rem}.stu-editor__speaker-name{flex:none;width:5.5rem;padding-top:.4rem;font-size:.72rem;font-weight:600;color:var(--pf-accent-2,#a78bfa);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.stu-editor__ai-panel{border:1px solid var(--pf-border,#1e293b);border-radius:8px;overflow:hidden;background:rgba(109,98,244,.04)}.stu-editor__ai-toggle{width:100%;display:flex;align-items:center;justify-content:space-between;gap:.5rem;padding:.55rem .65rem;background:transparent;border:none;cursor:pointer;color:#a5b4fc;font-size:.68rem;font-weight:600;text-transform:uppercase;letter-spacing:.04em}.stu-editor__ai-toggle>span{display:flex;align-items:center;gap:.35rem}.stu-editor__ai-toggle:hover{background:rgba(109,98,244,.08)}.stu-editor__ai-chevron{transition:transform .15s ease;opacity:.8}.stu-editor__ai-panel.open .stu-editor__ai-chevron{transform:rotate(180deg)}.stu-editor__ai-body{padding:.65rem;display:flex;flex-direction:column;gap:.5rem;border-top:1px solid var(--pf-border-soft,#1e293b)}.stu-editor__ai-input{width:100%;min-height:5.5rem;resize:vertical}.stu-editor__ai-foot{display:flex;justify-content:flex-end}.stu-editor__sfx-status{display:flex;align-items:center;justify-content:space-between;gap:.5rem;font-size:.7rem;margin-bottom:.25rem}.stu-editor__sfx-status .ok{color:#86efac;display:flex;align-items:center;gap:.25rem}.stu-editor__btn-row{display:flex;gap:.35rem;flex-wrap:wrap;align-items:center}.stu-editor__media-footer{display:flex;flex-direction:column;gap:.5rem;padding-top:.35rem;border-top:1px solid var(--pf-border-soft,#1e293b)}.stu-editor__media-footer .stu-editor__media-status{border:none;padding:0}.stu-field--checks{margin-top:.25rem}.stu-field--checks>span{display:block;font-size:.65rem;font-weight:600;text-transform:uppercase;letter-spacing:.04em;color:var(--pf-text-faint,#64748b);margin-bottom:.35rem}.stu-field--checks .stu-check{margin-bottom:.35rem}.stu-btn--sm{padding:.3rem .55rem;gap:.35rem}.stu-editor__timeline-wrap{flex:1 1;min-height:200px;background:#0b1220;border:1px solid var(--pf-border,#1e293b);border-radius:12px;padding:.75rem;display:flex;flex-direction:column;gap:.5rem}.stu-editor__ruler{display:flex;align-items:center;gap:.5rem;font-size:.62rem;font-family:var(--pf-font-mono,monospace);color:var(--pf-text-faint,#64748b);padding-bottom:.35rem;border-bottom:1px solid var(--pf-border-soft,#1e293b)}.stu-editor__episode{font-weight:700;color:var(--pf-text,#e2e8f0)}.stu-editor__runtime{font-family:var(--pf-font-mono,monospace)}.stu-editor__playhead{position:absolute;top:0;bottom:0;width:2px;background:#f472b6;transform:translateX(-50%);pointer-events:none;z-index:2}.stu-editor__playhead-knob{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:12px;height:12px;border-radius:50%;background:#f472b6;border:2px solid #fce7f3;box-shadow:0 0 0 1px rgba(0,0,0,.35),0 2px 6px rgba(0,0,0,.35)}.stu-editor__tracks{flex:1 1;display:flex;flex-direction:column;gap:.4rem}.stu-editor__track-row{display:grid;grid-template-columns:72px 1fr;grid-gap:.5rem;gap:.5rem;align-items:center}.stu-editor__track-label{font-size:.62rem;font-weight:700;text-transform:uppercase;letter-spacing:.04em;color:var(--pf-text-faint,#64748b);display:flex;align-items:center;gap:.25rem}.stu-editor__bgm-mute{border:none;background:transparent;color:inherit;cursor:pointer;padding:.1rem;border-radius:4px;display:inline-flex}.stu-editor__bgm-mute:hover{color:var(--pf-text,#e2e8f0)}.stu-editor__track{position:relative;height:38px;background:hsla(0,0%,100%,.02);border-radius:6px;border:1px solid var(--pf-border-soft,#1e293b)}.stu-editor__clip{position:absolute;top:3px;bottom:3px;border:none;border-radius:4px;cursor:pointer;font-size:.62rem;font-weight:600;padding:0 .35rem;overflow:hidden;background:rgba(59,130,246,.35);color:#dbeafe;font-family:inherit;display:flex;align-items:center;gap:.2rem;min-width:0}.stu-editor__clip.has-media{background:rgba(59,130,246,.5)}.stu-editor__clip.on{box-shadow:0 0 0 2px #60a5fa;z-index:1}.stu-editor__clip-title{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex:1 1;min-width:0}.stu-editor__clip-dur{font-size:.58rem;opacity:.75;flex:none}.stu-editor__clip--narr{background:rgba(52,199,89,.2);color:#bbf7d0;padding:0}.stu-editor__clip--narr.empty{background:hsla(0,0%,100%,.04);color:#64748b;font-style:italic}.stu-editor__clip--sfx{background:rgba(251,191,36,.2);color:#fde68a;padding:0}.stu-editor__clip--sfx.empty{background:hsla(0,0%,100%,.03);color:#64748b}.stu-editor__clip-body{flex:1 1;min-width:0;border:none;background:transparent;color:inherit;font:inherit;text-align:left;padding:0 .35rem;cursor:pointer;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.stu-editor__clip-play{flex:none;border:none;background:rgba(0,0,0,.25);color:inherit;width:22px;height:100%;cursor:pointer;display:flex;align-items:center;justify-content:center;border-radius:0 4px 4px 0}.stu-editor__clip--bgm{position:relative;left:0!important;width:100%!important;background:rgba(168,85,247,.2);color:#e9d5ff;cursor:default;padding:0 .5rem;gap:.4rem}.stu-editor__clip--bgm-empty{display:flex;align-items:center;gap:.5rem;padding:0 .5rem;flex-wrap:wrap;background:hsla(0,0%,100%,.03);color:var(--pf-text-faint,#64748b)}.stu-editor__bgm-prompt{flex:1 1;min-width:140px;border:1px solid var(--pf-border-soft,#334155);background:rgba(0,0,0,.25);color:var(--pf-text,#e2e8f0);border-radius:6px;padding:.25rem .45rem;font-size:.68rem;font-family:inherit}.stu-editor__bgm-add--ai{border-color:rgba(168,85,247,.55);color:#e9d5ff}.stu-editor__bgm-add{display:inline-flex;align-items:center;gap:.35rem;border:1px dashed rgba(168,85,247,.45);background:transparent;color:#d8b4fe;border-radius:6px;padding:.25rem .55rem;font-size:.68rem;font-weight:600;cursor:pointer;font-family:inherit}.stu-editor__bgm-add:hover:not(:disabled){background:rgba(168,85,247,.12)}.stu-editor__bgm-add:disabled{opacity:.6;cursor:wait}.stu-editor__bgm-hint{font-size:.62rem;color:var(--pf-text-faint,#64748b)}.stu-editor__bgm-slider{flex:1 1;min-width:60px;max-width:120px;accent-color:#a855f7;height:4px}.stu-editor__clip-del{border:none;background:transparent;color:#fca5a5;cursor:pointer;padding:.15rem;border-radius:4px;display:inline-flex}.stu-editor__clip-del:hover{background:rgba(239,68,68,.15)}.stu-empty{flex:1 1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.5rem;color:var(--pf-text-faint,#64748b);padding:2rem}.stu-main{flex:1 1;display:flex;min-height:0;overflow:hidden}.stu-top__persona{display:flex;align-items:center;gap:.5rem}.stu-top__ava{width:28px;height:28px;border-radius:8px;object-fit:cover;border:1px solid var(--pf-border,#334155)}.stu-top__ava--empty{background:var(--pf-surface-2,#1e293b);display:inline-block}.stu-top__sep{color:var(--pf-text-faint,#64748b)}.stu-top__show{display:inline-flex;align-items:center;gap:0;min-width:0;max-width:min(42vw,420px)}.stu-top__title{background:transparent;color:var(--pf-text,#e2e8f0);font-size:.9rem;font-weight:700;font-family:inherit;min-width:0;width:auto;flex:0 1 auto;field-sizing:content;border:none;border-bottom:1px dashed transparent;padding-right:0}.stu-top__title:focus{outline:none;border-bottom-color:var(--pf-accent,#6d62f4)}.stu-top__icon{border:none;background:transparent;color:var(--pf-text-faint,#94a3b8);cursor:pointer;padding:.15rem;border-radius:6px;flex:none}.stu-top__icon--gear{margin-left:.05rem;color:var(--pf-text-faint,#64748b)}.stu-top__icon:hover{background:hsla(0,0%,100%,.06);color:var(--pf-text,#e2e8f0)}.stu-banner{padding:.5rem 1rem;font-size:.78rem;background:rgba(129,140,248,.1);border-bottom:1px solid rgba(129,140,248,.25)}.stu-banner--err{background:rgba(239,68,68,.12);border-color:rgba(239,68,68,.3);color:#fca5a5}.stu-shows{width:220px;flex:none;border-right:1px solid var(--pf-border,#1e293b);background:var(--pf-surface,#0f172a);display:flex;flex-direction:column;min-height:0}.stu-shows__head{display:flex;align-items:center;gap:.4rem;padding:.65rem .75rem;font-size:.72rem;font-weight:700;text-transform:uppercase;letter-spacing:.04em;color:var(--pf-text-faint,#94a3b8);border-bottom:1px solid var(--pf-border,#1e293b)}.stu-shows__new{margin-left:auto;border:none;background:transparent;color:var(--pf-accent,#818cf8);cursor:pointer;padding:.15rem;border-radius:4px}.stu-shows__list{flex:1 1;overflow-y:auto;padding:.35rem}.stu-shows__empty{font-size:.72rem;color:var(--pf-text-faint,#64748b);padding:.75rem;line-height:1.4}.stu-shows__item{display:flex;align-items:stretch;gap:.15rem;margin-bottom:.25rem;border-radius:8px}.stu-shows__item.on{background:rgba(109,98,244,.12)}.stu-shows__btn{flex:1 1;text-align:left;border:none;background:transparent;cursor:pointer;padding:.45rem .5rem;color:inherit;font-family:inherit}.stu-shows__btn strong{display:block;font-size:.78rem;margin-bottom:.15rem}.stu-shows__btn span{font-size:.62rem;color:var(--pf-text-faint,#64748b)}.stu-shows__del{border:none;background:transparent;color:var(--pf-text-faint,#64748b);cursor:pointer;padding:0 .35rem;opacity:0;border-radius:4px}.stu-shows__item:hover .stu-shows__del{opacity:1}.stu-canvas__empty{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.75rem;min-height:280px;color:var(--pf-text-faint,#94a3b8);font-size:.85rem}.stu-cadis-fab{position:absolute;right:1.25rem;bottom:1.25rem;z-index:6;display:flex;align-items:center;gap:.4rem;padding:.55rem .9rem;border:none;border-radius:999px;cursor:pointer;font-weight:700;font-size:.76rem;background:linear-gradient(135deg,#6d62f4,#4f46e5);color:#fff;box-shadow:0 8px 24px rgba(79,70,229,.45)}.stu-cadis-fab:disabled{opacity:.6;cursor:wait}.stu-rail__btn--on{background:rgba(109,98,244,.2);color:#c7d2fe;border-color:rgba(109,98,244,.35)}.stu-rail__btn:disabled{opacity:.35;cursor:not-allowed}.stu-history{width:300px;flex:none;display:flex;flex-direction:column;min-height:0;border-left:1px solid var(--pf-border,#1e293b);background:var(--pf-surface,#0f172a)}.stu-history--compact{width:100%;border-left:none;background:transparent}.stu-history__head,.stu-history__toolbar{display:flex;align-items:flex-start;justify-content:space-between;gap:.5rem;padding:.75rem .85rem;border-bottom:1px solid var(--pf-border-soft,#1e293b);flex:none}.stu-history__head h3{margin:0;font-size:.82rem;font-weight:700;color:var(--pf-text,#e2e8f0)}.stu-history__scene{margin:.2rem 0 0;font-size:.68rem;color:var(--pf-text-faint,#64748b)}.stu-history__scene-select{margin-top:.35rem;width:100%;max-width:220px;font-size:.72rem;padding:.35rem .45rem;border-radius:6px;border:1px solid var(--pf-border,#334155);background:var(--pf-surface-2,#1e293b);color:var(--pf-text,#e2e8f0)}.stu-canvas--with-history{min-width:0}.stu-history__empty{align-items:center;justify-content:center;padding:1.5rem 1rem;text-align:center;color:var(--pf-text-faint,#64748b);font-size:.76rem}.stu-history__empty,.stu-history__list{flex:1 1;display:flex;flex-direction:column;gap:.5rem}.stu-history__list{list-style:none;margin:0;padding:.5rem;overflow-y:auto}.stu-history--compact .stu-history__list{padding:0;max-height:280px}.stu-history__item{padding:.6rem .65rem;border-radius:8px;border:1px solid var(--pf-border-soft,#1e293b);background:hsla(0,0%,100%,.02)}.stu-history__item.latest{border-color:rgba(109,98,244,.25)}.stu-history__item.active{box-shadow:inset 0 0 0 1px rgba(109,98,244,.35)}.stu-history__item-head{display:flex;align-items:center;gap:.35rem;flex-wrap:wrap}.stu-history__time{font-size:.68rem;font-family:var(--pf-font-mono,monospace);color:var(--pf-text-dim,#94a3b8)}.stu-history__badge{font-size:.58rem;font-weight:700;text-transform:uppercase;letter-spacing:.04em;padding:.1rem .35rem;border-radius:4px;background:rgba(148,163,184,.15);color:#94a3b8}.stu-history__badge--on{background:rgba(109,98,244,.2);color:#a5b4fc}.stu-history__label{margin:.25rem 0 .35rem;font-size:.72rem;color:var(--pf-text,#e2e8f0)}.stu-history__chips{display:flex;flex-wrap:wrap;gap:.25rem;margin-bottom:.45rem}.stu-history__chip{font-size:.58rem;font-weight:600;text-transform:uppercase;letter-spacing:.03em;padding:.12rem .35rem;border-radius:4px;border:1px solid var(--pf-border-soft,#1e293b);color:var(--pf-text-faint,#475569)}.stu-history__chip.has{border-color:rgba(134,239,172,.25);color:#86efac;background:rgba(34,197,94,.08)}.stu-history__actions{display:flex;flex-direction:column;gap:.35rem}.stu-history__field-btns{display:flex;flex-wrap:wrap;gap:.25rem}.stu-history__field-btn{font-size:.62rem;font-weight:600;padding:.2rem .4rem;border-radius:5px;border:1px solid var(--pf-border,#334155);background:transparent;color:var(--pf-text-dim,#94a3b8);cursor:pointer}.stu-history__field-btn:hover:not(:disabled){border-color:rgba(109,98,244,.4);color:#c7d2fe}.stu-history__field-btn:disabled{opacity:.35;cursor:not-allowed}.stu-editor__history-body{padding:.5rem .65rem .65rem}.stu-btn{display:inline-flex;align-items:center;gap:.35rem;padding:.45rem .85rem;border-radius:8px;border:1px solid var(--pf-border,#334155);background:var(--pf-surface-2,#0b1220);color:var(--pf-text,#e2e8f0);font-size:.78rem;font-weight:600;cursor:pointer;font-family:inherit}.stu-btn--accent{background:#4f46e5;border-color:#4f46e5;color:#fff}.stu-btn--preview{background:rgba(59,130,246,.15);border-color:rgba(59,130,246,.35);color:#93c5fd}.stu-btn--preview:hover{background:rgba(59,130,246,.25)}.stu-inp{width:100%;padding:.5rem .65rem;border-radius:8px;border:1px solid var(--pf-border,#334155);background:#0b1220;color:var(--pf-text,#e2e8f0);font-family:inherit;font-size:.82rem}.stu-inp--ta{resize:vertical;min-height:4.5rem}.stu-field{display:flex;flex-direction:column;gap:.35rem;margin-bottom:.85rem}.stu-field span{font-size:.72rem;font-weight:600;color:var(--pf-text-dim,#94a3b8)}.stu-field-row{display:grid;grid-template-columns:1fr 1fr;grid-gap:.75rem;gap:.75rem}.stu-muted{font-weight:400;opacity:.7}.stu-orient-toggle{display:flex;gap:.35rem;background:#0b1220;border-radius:9px;padding:3px}.stu-orient-toggle button{flex:1 1;display:flex;align-items:center;justify-content:center;gap:.3rem;padding:.38rem;border:none;border-radius:7px;background:transparent;color:#64748b;font-size:.74rem;font-weight:600;cursor:pointer;font-family:inherit}.stu-orient-toggle button.on{background:#2a2166;color:#c7d2fe}.stu-drawer-backdrop,.stu-modal-backdrop{position:fixed;inset:0;z-index:50;background:rgba(0,0,0,.55);display:flex;align-items:center;justify-content:center}.stu-drawer-backdrop{justify-content:flex-end}.stu-modal{width:min(520px,94vw);border:1px solid var(--pf-border,#334155);border-radius:14px;box-shadow:0 20px 60px rgba(0,0,0,.5)}.stu-drawer,.stu-modal{background:var(--pf-surface,#0f172a)}.stu-drawer{width:min(400px,94vw);height:100%;border-left:1px solid var(--pf-border,#334155);display:flex;flex-direction:column}.stu-drawer__head,.stu-modal__head{display:flex;align-items:center;justify-content:space-between;padding:.85rem 1rem;border-bottom:1px solid var(--pf-border,#1e293b)}.stu-drawer__head h3,.stu-modal__head h2{margin:0;font-size:.95rem}.stu-modal__sub{margin:.25rem 0 0;font-size:.76rem;color:var(--pf-text-faint,#94a3b8);font-weight:400}.stu-inp--hero{font-size:.9rem;line-height:1.45;min-height:6rem}.stu-hint{font-size:.68rem;color:var(--pf-text-faint,#64748b);font-style:normal;line-height:1.35}.stu-check{display:flex;align-items:center;gap:.5rem;margin-bottom:.5rem;font-size:.78rem;color:var(--pf-text-dim,#94a3b8);cursor:pointer}.stu-check input{accent-color:#4f46e5}.stu-check span{display:flex;align-items:center;gap:.35rem}.stu-drawer__head button,.stu-modal__close{border:none;background:transparent;color:var(--pf-text-faint,#94a3b8);cursor:pointer}.stu-drawer__body,.stu-modal__body{padding:1rem;overflow-y:auto}.stu-drawer__foot,.stu-modal__foot{display:flex;justify-content:flex-end;gap:.5rem;padding:.85rem 1rem;border-top:1px solid var(--pf-border,#1e293b)}.stu-modal--create{width:min(640px,94vw);max-height:92vh;display:flex;flex-direction:column}.stu-modal--create .stu-modal__body{flex:1 1;min-height:0}.stu-lock{border:1px solid var(--pf-border,#334155);border-radius:10px;padding:.75rem;margin:0 0 .85rem;background:rgba(79,70,229,.06)}.stu-lock legend{font-size:.68rem;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:#a5b4fc;padding:0 .35rem}.stu-prop-row{flex-wrap:wrap;gap:.45rem}.stu-prop-chip,.stu-prop-row{display:flex;align-items:center}.stu-prop-chip{gap:.35rem;padding:.2rem .35rem .2rem .2rem;border:1px solid var(--pf-border,#334155);border-radius:8px;background:#0b1220;font-size:.7rem;color:#e2e8f0}.stu-prop-chip img{width:28px;height:28px;object-fit:cover;border-radius:5px}.stu-prop-chip button{border:none;background:transparent;color:#94a3b8;cursor:pointer;display:flex}.stu-dir{border-bottom:1px solid var(--pf-border,#1e293b);background:#0b1220;padding:.65rem 1rem .75rem}.stu-dir__stages{list-style:none;margin:0 0 .65rem;padding:0;display:flex;gap:.35rem;flex-wrap:wrap}.stu-dir__stage{display:flex;align-items:center;gap:.35rem;font-size:.72rem;font-weight:600;color:#64748b;padding:.25rem .5rem;border-radius:999px}.stu-dir__stage.on{color:#c7d2fe;background:rgba(109,98,244,.16)}.stu-dir__stage.done{color:#86efac}.stu-dir__num{width:1.15rem;height:1.15rem;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;font-size:.62rem;background:#1e293b}.stu-dir__stage.on .stu-dir__num{background:#4f46e5;color:#fff}.stu-dir__panel h3{margin:0 0 .4rem;font-size:.85rem}.stu-dir__panel h4{margin:0 0 .4rem;font-size:.72rem;color:#94a3b8;text-transform:uppercase;letter-spacing:.04em}.stu-dir__copy{margin:0 0 .65rem;font-size:.78rem;color:#94a3b8;line-height:1.4}.stu-dir__copy--ok{color:#86efac}.stu-dir__concept{margin:0 0 .65rem;font-size:.82rem;color:#e2e8f0;line-height:1.45}.stu-dir__chars,.stu-dir__scenes,.stu-dir__segs{list-style:none;margin:0 0 .75rem;padding:0;display:flex;flex-direction:column;gap:.35rem}.stu-dir__chars li,.stu-dir__scenes li,.stu-dir__segs li{display:flex;flex-wrap:wrap;align-items:baseline;gap:.4rem;font-size:.75rem;color:#cbd5e1}.stu-dir__chars em,.stu-dir__scenes em,.stu-dir__scenes span,.stu-dir__segs em{font-style:normal;color:#64748b;font-size:.7rem}.stu-dir__actions{display:flex;gap:.45rem;flex-wrap:wrap}.stu-dir__anchors{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));grid-gap:.75rem;gap:.75rem;margin-bottom:.75rem}.stu-dir__thumbs{display:flex;flex-wrap:wrap;gap:.45rem}.stu-dir__thumb{width:88px;display:flex;flex-direction:column;gap:.15rem;font-size:.65rem;color:#94a3b8}.stu-dir__ph,.stu-dir__thumb img{width:88px;height:88px;object-fit:cover;border-radius:8px;background:#1e293b;border:1px solid #334155}.stu-dir__ph{display:flex;align-items:center;justify-content:center;color:#64748b}.stu-dir__thumb label{color:#e2e8f0;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.stu-modal--scene-edit{width:min(920px,96vw);max-height:92vh;display:flex;flex-direction:column}.stu-modal--scene-edit .stu-modal__body{flex:1 1;min-height:0}.stu-scene-edit{display:grid;grid-template-columns:1fr minmax(260px,340px);grid-gap:1rem;gap:1rem;align-items:start}@media (max-width:800px){.stu-scene-edit{grid-template-columns:1fr}}.stu-scene-edit__prompts-stack{display:flex;flex-direction:column;gap:.65rem}.stu-scene-acc{border:1px solid var(--pf-border-soft,#1e293b);border-radius:10px;overflow:hidden;background:rgba(15,23,42,.45)}.stu-scene-acc__toggle{width:100%;display:flex;align-items:center;justify-content:space-between;gap:.5rem;padding:.6rem .75rem;background:transparent;border:none;cursor:pointer;color:#c7d2fe;font-size:.72rem;font-weight:700;text-transform:uppercase;letter-spacing:.05em}.stu-scene-acc__toggle:hover{background:rgba(109,98,244,.08)}.stu-scene-acc__chev{transition:transform .15s ease;opacity:.85}.stu-scene-acc.open .stu-scene-acc__chev{transform:rotate(180deg)}.stu-scene-acc__body{padding:.75rem;border-top:1px solid var(--pf-border-soft,#1e293b)}.stu-scene-acc__body,.stu-scene-config-form{display:flex;flex-direction:column;gap:.65rem}.stu-scene-config-form__json-toggle{display:flex;align-items:center;gap:.35rem;font-size:.72rem;color:#94a3b8;background:none;border:none;cursor:pointer;padding:.25rem 0}.stu-scene-config-form__json-toggle:hover{color:#e2e8f0}.stu-field__hint{font-size:.65rem;color:var(--pf-text-faint,#64748b);line-height:1.35}.stu-inp--duration{max-width:120px}.stu-shot-picker__grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(88px,1fr));grid-gap:.45rem;gap:.45rem}.stu-shot-picker__opt{display:flex;flex-direction:column;align-items:center;gap:.25rem;padding:.4rem .35rem;border:1px solid var(--pf-border-soft,#334155);border-radius:8px;background:rgba(0,0,0,.2);cursor:pointer;color:#94a3b8;text-align:center}.stu-shot-picker__opt.on{border-color:#6d62f4;background:rgba(109,98,244,.12);color:#e2e8f0;box-shadow:0 0 0 1px rgba(109,98,244,.35)}.stu-shot-thumb__svg{width:100%;height:auto;display:block;border-radius:4px}.stu-shot-picker__label{font-size:.62rem;font-weight:600;line-height:1.2}.stu-shot-picker__code{font-size:.55rem;opacity:.65;font-family:var(--pf-font-mono,monospace)}.stu-shot-picker__hint{margin:.35rem 0 0;font-size:.65rem;color:var(--pf-text-faint,#64748b);line-height:1.35}.stu-prompt-block{border:1px solid var(--pf-border-soft,#1e293b);border-radius:8px;background:rgba(0,0,0,.25);overflow:hidden}.stu-prompt-block__head{display:flex;align-items:center;gap:.5rem;flex-wrap:wrap;padding:.45rem .6rem;background:hsla(0,0%,100%,.03);border-bottom:1px solid var(--pf-border-soft,#1e293b);font-size:.62rem;font-weight:700;text-transform:uppercase;letter-spacing:.04em;color:#94a3b8}.stu-prompt-block__head .stu-btn{margin-left:auto}.stu-prompt-block__slot{font-weight:500;text-transform:none;letter-spacing:0;color:#93c5fd;font-size:.6rem}.stu-prompt-block__text{margin:0;padding:.6rem .65rem;font-size:.72rem;line-height:1.45;color:#cbd5e1;max-height:7rem;overflow:auto;white-space:pre-wrap;word-break:break-word}.stu-scene-edit__form{display:flex;flex-direction:column;gap:.55rem;min-width:0}.stu-scene-edit__preview{display:flex;flex-direction:column;gap:.65rem;padding:.65rem;border-radius:10px;border:1px solid var(--pf-border-soft,#1e293b);background:rgba(0,0,0,.25)}.stu-scene-edit__preview-col{display:flex;flex-direction:column;gap:.35rem}.stu-scene-edit__preview-col--new .stu-scene-edit__frame{box-shadow:0 0 0 2px rgba(109,98,244,.45)}.stu-scene-edit__preview-label{font-size:.65rem;font-weight:700;text-transform:uppercase;letter-spacing:.05em;color:#94a3b8}.stu-scene-edit__frame{border-radius:10px;overflow:hidden;background:#000;border:1px solid var(--pf-border,#334155)}.stu-scene-edit__frame.vert{aspect-ratio:9/16;max-height:280px}.stu-scene-edit__frame.wide{aspect-ratio:16/9;max-height:200px}.stu-scene-edit__frame img,.stu-scene-edit__frame video{width:100%;height:100%;object-fit:cover;display:block}.stu-scene-edit__empty{height:100%;min-height:120px;justify-content:center;color:#64748b}.stu-scene-edit__empty,.stu-scene-edit__wait{display:flex;align-items:center;font-size:.78rem}.stu-scene-edit__wait{flex-direction:column;gap:.5rem;padding:.75rem;text-align:center;color:#a5b4fc;background:rgba(109,98,244,.08);border-radius:8px}.stu-scene-edit__wait p{margin:0;line-height:1.4}.stu-scene-edit__err{margin:0;font-size:.75rem;color:#f87171}.stu-scene-edit__gen-row{display:flex;gap:.5rem;flex-wrap:wrap}.stu-preview-backdrop{position:fixed;inset:0;z-index:60;background:rgba(0,0,0,.88);display:flex;align-items:center;justify-content:center;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);padding:1rem}.stu-preview{background:#0a0f1a;border:1px solid var(--pf-border,#334155);border-radius:18px;overflow:hidden;box-shadow:0 32px 100px rgba(0,0,0,.65);max-height:96vh;display:flex;flex-direction:column}.stu-preview--vert{width:min(340px,96vw)}.stu-preview--wide{width:min(780px,96vw)}.stu-preview__head{display:flex;align-items:center;justify-content:space-between;padding:.7rem .85rem;border-bottom:1px solid var(--pf-border,#1e293b);flex-shrink:0}.stu-preview__head-text{min-width:0}.stu-preview__head h2{margin:0;font-size:.88rem;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.stu-preview__scene{font-size:.65rem;color:var(--pf-text-faint,#94a3b8);display:block;margin-top:.1rem}.stu-preview__close{border:none;background:hsla(0,0%,100%,.06);color:var(--pf-text-faint,#94a3b8);cursor:pointer;padding:.35rem;border-radius:8px;flex-shrink:0}.stu-preview__close:hover{background:hsla(0,0%,100%,.1);color:#e2e8f0}.stu-preview__body{display:flex;flex-direction:column;min-height:0;overflow:hidden}.stu-preview--wide .stu-preview__body{flex-direction:row;align-items:stretch}.stu-preview__stage{flex-shrink:0;padding:.85rem .85rem 0;display:flex;flex-direction:column;align-items:center;background:radial-gradient(ellipse at 50% 0,rgba(109,98,244,.08),transparent 70%)}.stu-preview--wide .stu-preview__stage{flex:1.4 1;padding:.85rem;min-width:0}.stu-preview__frame{width:100%;max-width:280px;padding:6px;border-radius:20px;background:linear-gradient(160deg,#1e293b,#0f172a);border:1px solid #334155;box-shadow:0 16px 48px rgba(0,0,0,.45),inset 0 1px 0 hsla(0,0%,100%,.06)}.stu-preview__frame--wide{max-width:none;padding:4px;border-radius:14px}.stu-preview__screen{position:relative;width:100%;aspect-ratio:9/16;border-radius:15px;overflow:hidden;background:#000}.stu-preview__frame--wide .stu-preview__screen{aspect-ratio:16/9;border-radius:11px}.stu-preview__screen img,.stu-preview__screen video{width:100%;height:100%;object-fit:cover;display:block;cursor:pointer}.stu-preview__overlay-play{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;border:none;background:rgba(0,0,0,.25);color:#fff;cursor:pointer;transition:background .15s}.stu-preview__overlay-play:hover{background:rgba(0,0,0,.35)}.stu-preview__placeholder{width:100%;height:100%;display:flex;align-items:center;justify-content:center;padding:1.25rem;text-align:center;color:var(--pf-text-faint,#94a3b8);font-size:.8rem}.stu-preview__subtitle{position:absolute;bottom:0;left:0;right:0;padding:2rem .75rem .75rem;background:linear-gradient(transparent,rgba(0,0,0,.88));color:#fff;font-size:.78rem;font-weight:600;text-align:center;line-height:1.35;pointer-events:none}.stu-preview__scene-progress{width:100%;max-width:280px;height:3px;margin-top:.5rem;background:hsla(0,0%,100%,.08);border-radius:2px;overflow:hidden}.stu-preview--wide .stu-preview__scene-progress{max-width:none}.stu-preview__scene-progress-bar{height:100%;background:linear-gradient(90deg,#6d62f4,#3b82f6);border-radius:2px;transition:width .1s linear}.stu-preview__panel{display:flex;flex-direction:column;gap:.65rem;padding:.75rem .85rem .85rem;min-height:0;overflow-y:auto}.stu-preview--wide .stu-preview__panel{flex:0.85 1;border-left:1px solid var(--pf-border,#1e293b);justify-content:center}.stu-preview__direction{margin:0;font-size:.72rem;color:var(--pf-text-dim,#94a3b8);line-height:1.45;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.stu-preview__transport{display:flex;flex-direction:column;gap:.45rem}.stu-preview__progress{height:3px;background:hsla(0,0%,100%,.08);border-radius:2px}.stu-preview__progress-bar{height:100%;background:linear-gradient(90deg,#6d62f4,#3b82f6);border-radius:2px;transition:width .1s linear}.stu-preview__controls{display:flex;align-items:center;justify-content:center;gap:.35rem}.stu-preview__controls button{border:none;background:transparent;color:var(--pf-text,#e2e8f0);cursor:pointer;padding:.35rem;border-radius:8px}.stu-preview__controls button:disabled{opacity:.25;cursor:default}.stu-preview__controls button:not(:disabled):hover{background:hsla(0,0%,100%,.06)}.stu-preview__play{width:42px!important;height:42px!important;border-radius:50%!important;background:linear-gradient(135deg,#6d62f4,#4f46e5)!important;color:#fff!important;display:flex;align-items:center;justify-content:center;margin:0 .25rem;box-shadow:0 4px 16px rgba(79,70,229,.45)}.stu-preview__time{font-family:var(--pf-font-mono,monospace);font-size:.65rem;color:var(--pf-text-faint,#64748b);margin-left:.35rem;white-space:nowrap}.stu-preview__filmstrip{display:flex;gap:.4rem;overflow-x:auto;padding-bottom:.15rem;scrollbar-width:thin}.stu-preview--wide .stu-preview__filmstrip{flex-direction:column;overflow-x:hidden;overflow-y:auto;max-height:200px}.stu-preview__film{flex:0 0 auto;display:flex;flex-direction:column;align-items:center;gap:.2rem;width:56px;border:2px solid transparent;border-radius:8px;padding:0;background:transparent;cursor:pointer;position:relative}.stu-preview--wide .stu-preview__film{flex-direction:row;width:100%;padding:.35rem;gap:.5rem;border-radius:10px;background:hsla(0,0%,100%,.02)}.stu-preview__film.on{border-color:#6d62f4;box-shadow:0 0 0 1px rgba(109,98,244,.3)}.stu-preview__film.done{opacity:.55}.stu-preview__film.done.on{opacity:1}.stu-preview__film-num{position:absolute;top:3px;left:3px;font-size:.55rem;font-weight:800;background:rgba(0,0,0,.65);color:#fff;padding:1px 4px;border-radius:3px;z-index:1;line-height:1.2}.stu-preview--wide .stu-preview__film-num{position:static;background:transparent;color:#64748b;padding:0}.stu-preview__film img,.stu-preview__film-empty{width:52px;height:52px;border-radius:6px;object-fit:cover;display:block;background:#0b1220}.stu-preview--wide .stu-preview__film img,.stu-preview--wide .stu-preview__film-empty{width:40px;height:40px;flex-shrink:0}.stu-preview__film-label{font-size:.58rem;color:var(--pf-text-faint,#94a3b8);text-align:center;max-width:56px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.stu-preview--wide .stu-preview__film-label{max-width:none;flex:1 1;text-align:left;font-size:.72rem;color:var(--pf-text,#e2e8f0)}@media (max-width:900px){.stu-shows{width:180px}.stu-field-row{grid-template-columns:1fr}}.stu-drawer--wide{width:min(480px,94vw)}.stu-drawer__tabs{display:flex;gap:.25rem;padding:.5rem 1rem 0;border-bottom:1px solid var(--pf-border,#1e293b)}.stu-drawer__tabs button{padding:.45rem .75rem;border:none;background:transparent;color:var(--pf-text-faint,#94a3b8);font-size:.78rem;cursor:pointer;border-radius:6px 6px 0 0}.stu-drawer__tabs button.on{color:var(--pf-text,#e2e8f0);background:rgba(79,70,229,.12)}.stu-cast__intro{font-size:.78rem;color:var(--pf-text-dim,#94a3b8);margin:0 0 1rem;line-height:1.45}.stu-cast__empty{font-size:.78rem;color:var(--pf-text-faint,#64748b);margin:0 0 1rem}.stu-cast__list{list-style:none;margin:0 0 1rem;padding:0;display:flex;flex-direction:column;gap:.65rem}.stu-cast__card{display:flex;gap:.65rem;padding:.65rem;border:1px solid var(--pf-border,#334155);border-radius:10px;background:rgba(15,23,42,.5)}.stu-cast__thumb{width:72px;height:72px;flex-shrink:0;border-radius:8px;overflow:hidden;background:#1e293b;cursor:pointer;border:none;padding:0;transition:opacity .15s}.stu-cast__thumb:hover{opacity:.9}.stu-cast__thumb-ph{display:flex;align-items:center;justify-content:center;width:100%;height:100%;color:#64748b}.stu-cast__meta{flex:1 1;min-width:0}.stu-cast__title-row{display:flex;align-items:center;gap:.4rem;flex-wrap:wrap;margin-bottom:.25rem}.stu-cast__title-row strong{font-size:.85rem}.stu-cast__role{font-size:.65rem;color:#94a3b8;text-transform:uppercase;letter-spacing:.04em}.stu-cast__badge{font-size:.62rem;padding:.1rem .35rem;border-radius:4px;background:rgba(34,197,94,.15);color:#4ade80}.stu-cast__desc{font-size:.72rem;color:#94a3b8;margin:0 0 .5rem;line-height:1.35}.stu-cast__actions{display:flex;gap:.35rem;flex-wrap:wrap}.stu-cast__form h4{margin:0 0 .65rem;font-size:.82rem}.stu-btn--sm{font-size:.72rem;padding:.35rem .55rem}.stu-btn--ghost{background:transparent;border:1px solid var(--pf-border,#334155)}.stu-cast-pick{display:flex;flex-direction:column;gap:.35rem}.stu-cast-pick__item{display:flex;align-items:center;gap:.45rem;font-size:.78rem;cursor:pointer}.stu-cast-pick__tag{font-size:.62rem;padding:.05rem .3rem;border-radius:3px;background:rgba(148,163,184,.15);color:#94a3b8}.stu-cast__thumb img{width:100%;height:100%;object-fit:cover}.stu-cast-viewer{margin-bottom:1rem;padding:.75rem;border:1px solid rgba(79,70,229,.35);border-radius:10px;background:rgba(79,70,229,.06)}.stu-cast-viewer__head{display:flex;align-items:center;justify-content:space-between;margin-bottom:.65rem}.stu-cast-viewer__head h4{margin:0;font-size:.82rem}.stu-cast-viewer__head button{border:none;background:transparent;color:#94a3b8;cursor:pointer}.stu-cast-viewer__grid{display:grid;grid-template-columns:repeat(2,1fr);grid-gap:.5rem;gap:.5rem}.stu-cast-viewer__cell{position:relative;display:block;border-radius:8px;overflow:hidden;border:1px solid var(--pf-border,#334155);background:#0f172a;text-decoration:none;color:inherit}.stu-cast-viewer__cell img{width:100%;aspect-ratio:1;object-fit:contain;display:block;background:#1e293b}.stu-cast-viewer__cell span{display:block;padding:.35rem .45rem;font-size:.68rem;color:#94a3b8;border-top:1px solid var(--pf-border,#334155)}.stu-cast-viewer__link-ico{position:absolute;top:6px;right:6px;color:#e2e8f0;background:rgba(0,0,0,.45);border-radius:4px;padding:2px}.stu-cast-viewer__hint{margin:.65rem 0 0;font-size:.65rem;color:#64748b;line-height:1.4}.stu-cast-viewer__hint code{font-size:.62rem;background:rgba(15,23,42,.8);padding:.1rem .25rem;border-radius:3px}.stu-cast-outfit{margin-top:.75rem;padding-top:.75rem;border-top:1px solid var(--pf-border,#334155);display:flex;flex-direction:column;gap:.5rem}.stu-shows-backdrop,.stu-shows__close,.stu-top__shows-btn{display:none}@media (max-width:768px){.stu-top{flex-wrap:wrap;gap:.4rem;padding:.5rem .65rem}.stu-top__left{flex:1 1;min-width:0;flex-wrap:wrap;gap:.35rem}.stu-top__show{max-width:100%;flex-wrap:wrap}.stu-top__actions{width:100%;overflow-x:auto;flex-wrap:nowrap;-webkit-overflow-scrolling:touch;scrollbar-width:none}.stu-top__actions::-webkit-scrollbar{display:none}.stu-top__history,.stu-top__orient{display:none}.stu-top__shows-btn{display:inline-flex;align-items:center;gap:.25rem;border:1px solid var(--pf-border,#334155);background:var(--pf-surface-2,#1e293b);color:var(--pf-text-dim,#94a3b8);border-radius:8px;padding:.35rem .5rem;font-size:.68rem;font-weight:700;cursor:pointer;flex:none}.stu-shows{position:fixed;left:0;top:0;bottom:0;width:min(280px,88vw);z-index:60;transform:translateX(-100%);transition:transform .2s ease;box-shadow:8px 0 24px rgba(0,0,0,.35)}.stu-main--shows-open .stu-shows{transform:translateX(0)}.stu-shows-backdrop{display:block;position:fixed;inset:0;z-index:55;border:none;cursor:pointer;background:rgba(4,7,15,.55)}.stu-shows__close{display:inline-flex;margin-left:.25rem;border:none;background:transparent;color:var(--pf-text-faint,#64748b);cursor:pointer;padding:.15rem;border-radius:4px}.stu-shows__close:hover{color:var(--pf-text,#e2e8f0)}}