:root{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;color:#e2e8f0;background:#020617;font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}*{box-sizing:border-box}body{background:radial-gradient(circle at top,#5b21b63d,#0000 40%),linear-gradient(#020617 0%,#0f172a 100%);max-width:100%;min-height:100vh;margin:0;overflow-x:clip}button,input,select,textarea{font:inherit}button{border:0}code{font-family:SFMono-Regular,Consolas,monospace}h1,h2,h3,h4,p{margin:0}h1{margin-bottom:10px;font-size:40px}h2{margin-bottom:4px;font-size:24px}h3{font-size:18px}h4{font-size:16px}.page-shell{box-sizing:border-box;width:100%;max-width:1440px;margin:0 auto;padding:32px;overflow-x:clip}.admin-shell{max-width:100%;padding-bottom:48px;overflow-x:clip}.topbar,.topbar-actions,.section-header,.list-card-title-row,.button-row,.video-preview-grid,.title-pill-row,.checkbox-row,.two-up,.grid,.group-name-row,.modal-header,.modal-footer,.summary-row,.locale-tabs,.segmented-control{display:flex}.topbar,.section-header,.modal-header{flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:16px}.section-header>*{min-width:0;max-width:100%}.card,.admin-main{max-width:100%;overflow-x:clip}.grid.two-columns>.checkbox-row,.grid.two-columns>.field-span-full{grid-column:1/-1}.inline-row{flex-wrap:wrap;align-items:center;gap:12px;min-width:0;max-width:100%;display:flex}.inline-row input[type=text],.inline-row input:not([type=color]):not([type=checkbox]){flex:160px;min-width:0}.topbar-elevated{margin-bottom:12px}.topbar-actions{flex-wrap:wrap;justify-content:flex-end;gap:12px}.sr-only{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.inline-locale-switcher{align-items:center;margin:0;display:inline-flex}.inline-locale-switcher select{min-width:11rem;max-width:16rem}.grid{gap:24px}.grid.single-column{display:block}.grid.two-columns{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:24px;display:grid}.grid.two-columns>*{min-width:0;max-width:100%}.grid.three-columns{grid-template-columns:repeat(3,minmax(0,1fr));align-items:start;gap:1rem 1.25rem;display:grid}@media (width<=900px){.grid.three-columns{grid-template-columns:1fr}}.eyebrow{color:#c4b5fd;letter-spacing:.12em;text-transform:uppercase;margin:0 0 8px;font-size:13px;font-weight:800}.build-stamp-bar{color:#475569;text-align:right;margin-bottom:8px;font-size:11px}.build-stamp-bar code{color:#64748b;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;font-size:12px}.subtle,.list-card p,.section-header span,.workspace-nav-description,.stat-card p,.stat-label,.toolbar-summary,.helper-copy,.summary-row span{color:#94a3b8}.card,.list-card,.locale-card,.status-banner,.poster-preview.empty,.stat-card,.workspace-nav-button,.modal-panel,.empty-state,.summary-row,.group-section{-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);background:#0f172ac7;border:1px solid #94a3b829;border-radius:24px}.card{max-width:100%;padding:24px;overflow-x:clip}.auth-card{max-width:480px;margin:48px auto 0}.stack,.stat-card,.list-card-condensed,.list-card-spacious,.list-card-main,.compact-stack,.empty-state{display:grid}.stack{gap:16px}.compact-stack,.list-card-condensed{gap:12px}.list-card-spacious,.list-card-main,.stat-card,.empty-state{gap:10px}.admin-main,.group-list,.group-sections{margin-top:24px}label,fieldset{gap:8px;display:grid}input,select,textarea{color:#f8fafc;background:#0f172aeb;border:1px solid #94a3b83d;border-radius:14px;padding:12px 14px}input[type=color]{min-height:52px;padding:6px}textarea{resize:vertical;min-height:88px}.checkbox-row{align-items:center;gap:10px}.checkbox-row input{block-size:18px;inline-size:18px;margin:0}.two-up{gap:16px}.two-up>*{flex:1}.align-end{align-items:end}.primary-button,.ghost-button,.danger-button,.link-button,.segment-button,.locale-tab,.workspace-nav-button{cursor:pointer;border-radius:999px;transition:transform .16s,opacity .16s,background .16s,border-color .16s}.primary-button,.ghost-button,.danger-button,.link-button{min-height:44px;padding:0 18px}.primary-button:hover,.ghost-button:hover,.danger-button:hover,.link-button:hover,.segment-button:hover,.locale-tab:hover,.workspace-nav-button:hover{transform:translateY(-1px)}.primary-button:disabled,.ghost-button:disabled,.danger-button:disabled,.link-button:disabled,.segment-button:disabled,.locale-tab:disabled,.workspace-nav-button:disabled{cursor:not-allowed;opacity:.55;transform:none}.primary-button{color:#fff;background:linear-gradient(135deg,#8b5cf6,#06b6d4);font-weight:800}.ghost-button,.link-button,.segment-button,.locale-tab{color:#e2e8f0;background:#94a3b81f}.link-button{justify-self:start}.danger-button{color:#fecaca;background:#f8717129}.button-row{flex-wrap:wrap;gap:12px}.button-row.compact{margin-top:14px}.button-spacer{flex:1}.status-banner{z-index:40;margin:20px 0 24px;padding:16px 18px;position:sticky;top:0}.status-banner.info{border-color:#3b82f65c}.status-banner.success{border-color:#22c55e5c}.status-banner.error{border-color:#f871715c}.workspace-nav{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-top:18px;display:grid}.workspace-nav-button{text-align:left;border:1px solid #94a3b829;align-items:flex-start;gap:8px;min-height:120px;padding:18px 20px;display:grid}.workspace-nav-button.active{background:linear-gradient(135deg,#5b21b657,#0891b252);border-color:#c4b5fd6b}.workspace-nav-title{color:#f8fafc;font-size:18px;font-weight:800}.stats-grid{grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:16px;display:grid}.stat-card{padding:20px}.stat-card strong{font-size:32px;line-height:1}.stat-label{letter-spacing:.12em;text-transform:uppercase;font-size:12px;font-weight:800}.list-card,.locale-card,.group-section{padding:18px}.list-card-title-row{justify-content:space-between;align-items:center;gap:12px}.title-pill-row{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:8px}.group-name-row{align-items:center;gap:12px;min-width:0}.color-swatch{border-radius:999px;flex-shrink:0;block-size:12px;inline-size:12px;box-shadow:0 0 0 3px #ffffff14}.color-swatch-large{block-size:18px;inline-size:18px}.pill{border-radius:999px;padding:6px 10px;font-size:12px;font-weight:800}.pill.success{color:#86efac;background:#22c55e29}.pill.muted{color:#cbd5e1;background:#94a3b829}.pill.video{color:#bfdbfe;background:#3b82f629}.pill.game{color:#fde68a;background:#f59e0b2e}.pill.quiz{color:#e9d5ff;background:#a855f72e}.video-preview-grid{gap:16px}.poster-preview{aspect-ratio:9/16;object-fit:cover;border-radius:18px;inline-size:120px;display:block}.editor-poster-preview{inline-size:min(220px,100%)}.poster-preview.empty{color:#94a3b8;justify-content:center;align-items:center;padding:12px;display:flex}.poster-preview.game-preview{color:#fef3c7;background:radial-gradient(circle at top,#facc153d,#0000 42%),linear-gradient(#0e7490f0 0%,#0f172afa 100%);border-color:#facc152e}.poster-preview-copy{text-align:center;gap:6px;display:grid}.poster-preview-copy strong{font-size:15px}.poster-preview-copy span,.helper-copy{color:#cbd5e1;font-size:13px;line-height:1.5}.helper-copy code{color:#fde68a}.group-section{border-color:#94a3b81f;border-radius:20px}.section-header.compact{align-items:center}.toolbar-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;display:grid}.toolbar-summary{margin-top:14px;font-size:14px;line-height:1.6}.summary-row{justify-content:space-between;align-items:center;padding:14px 16px}.summary-row strong{color:#f8fafc}.empty-state{justify-items:start;gap:12px;padding:22px}.inline-empty-state{margin-top:8px}.modal-backdrop{-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);z-index:40;background:#020617b3;justify-content:center;align-items:center;padding:24px;display:flex;position:fixed;inset:0}.modal-panel{width:min(720px,100%);max-height:calc(100vh - 48px);padding:24px;overflow:auto}.modal-panel-wide{width:min(1040px,100%)}.modal-form{gap:20px}.modal-footer{align-items:center;margin-top:8px}.segmented-control{background:#0f172ae6;border:1px solid #94a3b82e;border-radius:20px;flex-wrap:wrap;gap:10px;padding:6px}.segment-button,.locale-tab{min-height:40px;padding:0 16px}.segment-button.active,.locale-tab.active{color:#fff;background:linear-gradient(135deg,#8b5cf6,#06b6d4)}.locale-tabs{flex-wrap:wrap;gap:10px}.locale-translation-toolbar{justify-content:space-between;align-items:center;gap:16px;display:flex}.locale-translation-toolbar .helper-copy{flex:1}.story-translate-panel{background:#0f172a73;border:1px solid #94a3b82e;border-radius:16px;gap:14px;padding:16px;display:grid}.story-translate-panel h4{color:#f8fafc;margin:0 0 6px;font-size:15px}.story-translate-controls{grid-template-columns:minmax(160px,220px) 1fr auto;align-items:end;gap:14px;display:grid}.story-translate-targets{border:1px solid #94a3b833;border-radius:12px;flex-wrap:wrap;gap:10px 16px;margin:0;padding:10px 12px;display:flex}.story-translate-targets legend{color:#94a3b8;padding:0 6px;font-size:12px}.story-translate-target-actions{flex-wrap:wrap;flex:1 0 100%;gap:8px;margin-bottom:2px;display:flex}.story-translate-target-actions .ghost-button{padding:.35rem .75rem;font-size:12px}.responsive-grid-two-up{flex-wrap:wrap}.responsive-grid-two-up>*{min-width:min(260px,100%)}fieldset{border:1px solid #94a3b829;border-radius:18px;padding:16px}legend{color:#c4b5fd;text-transform:uppercase;padding:0 8px;font-size:13px;font-weight:800}@media (width<=1080px){.grid.two-columns,.workspace-nav,.toolbar-grid{grid-template-columns:1fr}}@media (width<=720px){.page-shell{padding:18px}.topbar,.topbar-actions,.section-header,.video-preview-grid,.title-pill-row,.two-up,.locale-translation-toolbar,.story-translate-controls,.modal-header,.modal-footer{flex-direction:column}.story-translate-controls{grid-template-columns:1fr}.workspace-nav-button{min-height:unset}.modal-backdrop{padding:12px}.poster-preview{inline-size:100%}}.story-video-stage{isolation:isolate;background:#000;border-radius:16px;place-items:center;width:100%;display:grid;position:relative;overflow:hidden;container-type:size}.story-media-frame{--media-ar:1.77778;aspect-ratio:var(--media-ar);background:#071018;width:100%;max-width:100%;height:auto;max-height:560px;position:relative;overflow:hidden}.story-video-stage-workspace .story-media-frame{width:min(100cqw, calc(100cqh * var(--media-ar)));max-width:100cqw;height:auto;max-height:100cqh}.story-timeline-video{vertical-align:top;object-fit:contain;z-index:1;background:#000;border-radius:0;width:100%;height:100%;max-height:none;display:block;position:absolute;inset:0}.story-video-overlay-toolbar-external{flex-wrap:wrap;align-items:center;gap:8px;max-width:100%;display:flex}.story-video-overlay-toolbar-external .muted-text{flex:200px;min-width:0}.story-video-overlay-toolbar-external .ghost-button.active{color:#fef3c7;background:#fbbf2447}.story-video-overlay{z-index:2;pointer-events:none;background:0 0;flex-direction:column;gap:0;padding:0;display:flex;position:absolute;inset:auto 4% 5%}.story-video-overlay[data-active=true] .story-video-overlay-input,.story-video-overlay[data-active=true] .story-video-overlay-preview{box-shadow:0 0 0 2px #22c55e8c}.story-video-overlay.is-title-cue{width:max-content;max-width:none;font-family:var(--hero-title-font);font-weight:var(--hero-title-weight);letter-spacing:var(--hero-title-tracking);line-height:var(--hero-title-leading);color:var(--hero-title-color);overflow:visible}.story-title-cue-face{width:max-content;max-width:none;filter:var(--hero-title-filter,none);animation:hero-title-float var(--hero-float-speed,3s) ease-in-out infinite, hero-title-pulse var(--hero-pulse-speed,2.8s) ease-in-out infinite;display:inline-block;position:relative}.story-title-cue-ink{box-sizing:border-box;white-space:pre;width:max-content;max-width:none;color:inherit;-webkit-text-fill-color:var(--hero-title-color);-webkit-text-stroke-width:var(--hero-title-stroke-width);-webkit-text-stroke-color:var(--hero-title-stroke-color);paint-order:stroke fill;text-shadow:var(--hero-title-shadow);pointer-events:none;padding:.15em .25em;display:block;position:relative}.story-title-cue-ink:after{content:attr(data-shine);z-index:1;font:inherit;letter-spacing:inherit;line-height:inherit;white-space:inherit;-webkit-text-stroke-width:0;-webkit-text-stroke-color:transparent;text-shadow:none;paint-order:normal;background-image:linear-gradient(var(--hero-shine-angle,25deg), transparent 0%, transparent calc(50% - var(--hero-shine-width,28%) / 2), color-mix(in srgb, var(--hero-shine-color,#fff) 95%, transparent) 50%, transparent calc(50% + var(--hero-shine-width,28%) / 2), transparent 100%);-webkit-text-fill-color:transparent;color:#0000;opacity:var(--hero-shine-opacity,0);pointer-events:none;animation:hero-title-shine var(--hero-shine-speed,4.5s) linear infinite;background-size:220% 220%;-webkit-background-clip:text;background-clip:text;position:absolute;top:.15em;left:.25em}.story-video-overlay.is-title-cue[data-active=true] .story-video-overlay-input.is-title-cue{background:0 0;border-color:#0000;box-shadow:0 0 0 1px #ec489973}.story-video-overlay-input,.story-video-overlay-preview{pointer-events:auto}.story-video-overlay-input{resize:vertical;color:#fffef7;text-align:center;white-space:pre-wrap;text-shadow:0 0 4px #000000f2,0 1px 2px #000,0 0 18px #000c;caret-color:#fbbf24;-webkit-backdrop-filter:none;backdrop-filter:none;background:#0000001f;border:1px solid #f8fafc59;border-radius:12px;width:100%;min-height:72px;max-height:160px;padding:10px 12px;font-size:22px;font-weight:600;line-height:1.35}.story-video-overlay-input.is-title-cue{resize:none;white-space:pre;field-sizing:content;width:max-content;min-width:4rem;max-width:none;height:auto;min-height:0;max-height:none;color:inherit;font-size:inherit;font-weight:inherit;line-height:inherit;letter-spacing:inherit;text-shadow:none;background:0 0;border:0;padding:.15em .25em;display:block;overflow:visible}.story-video-overlay-input::placeholder{color:#f8fafcb3;text-shadow:0 1px 2px #000c;font-weight:500}.story-video-overlay-input:focus{background:#00000029;outline:2px solid #fbbf24bf}.story-video-overlay-preview{color:#fffef7;text-align:center;white-space:pre-wrap;text-shadow:0 0 4px #000000f2,0 1px 2px #000,0 0 18px #000c;background:0 0;border-radius:12px;min-height:48px;padding:10px 12px;font-size:24px;font-weight:600;line-height:1.35}.story-video-overlay-placeholder{color:#f8fafccc;font-size:16px;font-weight:500}.story-video-scrubber{gap:8px}.story-video-scrubber-header{flex-wrap:wrap;align-items:center;gap:12px;display:flex}.story-video-scrubber-bar{cursor:pointer;touch-action:none;-webkit-user-select:none;user-select:none;height:28px;position:relative}.story-video-scrubber-track,.story-video-scrubber-fill{pointer-events:none;border-radius:999px;height:8px;margin-top:-4px;position:absolute;top:50%;left:0;right:0}.story-video-scrubber-track{background:#94a3b847}.story-video-scrubber-fill{background:linear-gradient(90deg,#fbbf24,#f59e0b);right:auto}.story-video-scrubber-thumb{pointer-events:none;z-index:2;background:#fbbf24;border-radius:50%;width:16px;height:16px;margin-top:-8px;position:absolute;top:50%;transform:translate(-50%);box-shadow:0 0 0 2px #0f172abf}.story-timeline-track{-webkit-user-select:none;user-select:none;touch-action:none;cursor:pointer;background:#94a3b82e;border-radius:14px;height:44px;position:relative;overflow:visible}.story-timeline-track.is-dragging{cursor:grabbing}.story-timeline-playhead{z-index:4;pointer-events:none;background:#f8fafc;width:2px;position:absolute;top:-2px;bottom:-2px;transform:translate(-50%)}.story-timeline-cue{opacity:.85;cursor:default;box-sizing:border-box;z-index:1;background:linear-gradient(90deg,#22c55e,#3b82f6);border-radius:8px;min-width:48px;height:28px;padding:0;display:block;position:absolute;top:8px;overflow:hidden}.story-timeline-cue.is-title-cue{background:linear-gradient(90deg,#a855f7,#ec4899)}.story-timeline-cue.active{opacity:1;z-index:2;outline:2px solid #fbbf24}.story-timeline-cue.dragging{opacity:1;z-index:3;box-shadow:0 6px 16px #00000059}.story-timeline-cue-label{text-overflow:ellipsis;white-space:nowrap;color:#f8fafc;pointer-events:none;max-width:100%;padding:0 4px;font-size:11px;font-weight:600;overflow:hidden}.story-timeline-cue-resize{cursor:ew-resize;z-index:5;background:#0f172a59;width:4px;position:absolute;top:0;bottom:0}.story-timeline-cue-resize.start{border-radius:8px 0 0 8px;left:0}.story-timeline-cue-resize.end{border-radius:0 8px 8px 0;right:0}.story-timeline-cue-resize:hover{background:#f8fafc73}.story-timeline-cue-pause{cursor:pointer;z-index:4;width:11px;transition:filter .12s,background-color .12s;position:absolute;top:0;bottom:0}.story-timeline-cue-pause.start{left:4px}.story-timeline-cue-pause.end{right:4px}.story-timeline-cue-pause.is-pause-on{background:#ef4444;box-shadow:inset 0 0 0 1px #7f1d1d73}.story-timeline-cue-pause.is-pause-off{background:#22c55e;box-shadow:inset 0 0 0 1px #14532d59}.story-timeline-cue-pause:hover{filter:brightness(1.14)}.story-timeline-cue-body{z-index:3;align-items:stretch;display:flex;position:absolute;inset:0 15px}.story-timeline-cue-seek{cursor:pointer;background:0 0;flex:1 1 0;min-width:6px}.story-timeline-cue-seek:hover{background:#f8fafc1f}.story-timeline-cue-drag{cursor:grab;background:#02061738;flex:1.35 1 0;justify-content:center;align-items:center;min-width:16px;display:flex;box-shadow:inset 0 0 0 1px #f8fafc1f}.story-timeline-cue-drag:active{cursor:grabbing}.story-timeline-cue-drag{flex-direction:column;overflow:hidden}.story-timeline-cue-len{color:#f8fafcbf;white-space:nowrap;pointer-events:none;font-size:9px;font-weight:700;line-height:1}.story-cue-length{color:#e2e8f0d9;align-items:center;gap:4px;font-size:12px;display:inline-flex}.story-cue-length input{color:#f8fafc;width:52px;font:inherit;text-align:right;background:#0f172a99;border:1px solid #94a3b873;border-radius:6px;padding:4px 6px}.story-timeline-cue-handle{cursor:ew-resize;z-index:2;background:#f8fafc38;width:6px;position:absolute;top:0;bottom:0}.story-timeline-cue-handle.start{border-radius:8px 0 0 8px;left:0}.story-timeline-cue-handle.end{border-radius:0 8px 8px 0;right:0}.story-timeline-cue-handle:hover,.story-timeline-cue-handle:active{background:#f8fafc66}.page-shell.story-timing-shell{box-sizing:border-box;width:100%;max-width:none;height:100dvh;margin:0;padding:0;overflow:hidden}.page-shell.story-timing-shell .build-stamp-bar{flex:none;padding:4px 10px;font-size:11px}.story-timing-shell,.story-timing-page{background:#0b1220;flex-direction:column;min-height:100dvh;display:flex}.story-timing-page{box-sizing:border-box;flex-direction:column;flex:1;width:100%;height:100dvh;min-height:0;display:flex;overflow:hidden}.story-timing-page.is-fullscreen{height:100%}.story-timing-page .story-workspace-body{flex:auto;width:100%;height:auto;min-height:0}.story-rich-preview{background:#0f172ab3;border:1px solid #94a3b833;border-radius:12px;min-height:48px;padding:12px 14px;line-height:1.5}.muted-text{color:#94a3b8;font-size:13px}.save-unsynced-badge{color:#fbbf24;font-size:13px;font-weight:600}.save-synced-badge{color:#86efac;font-size:13px}.media-file-name{color:#cbd5e1;word-break:break-all;margin:4px 0 8px;font-size:13px;display:block}.media-upload-panel{background:#0f172ad9;border:1px solid #94a3b840;border-radius:12px;margin-top:16px;padding:12px 14px}.media-upload-panel--uploading,.media-upload-panel--encoding{border-color:#60a5fa8c}.media-upload-panel--encoding .media-upload-fill{background:linear-gradient(90deg,#8b5cf6,#a78bfa)}.media-upload-panel--done{border-color:#86efac8c}.media-upload-panel--error{border-color:#f871718c}.media-web-hint{color:#94a3b8;margin:0 0 12px;font-size:13px;line-height:1.45}.media-upload-panel-header{justify-content:space-between;align-items:baseline;gap:12px;margin-bottom:10px;display:flex}.media-upload-track{background:#334155e6;border-radius:999px;height:8px;overflow:hidden}.media-upload-fill{border-radius:inherit;background:linear-gradient(90deg,#3b82f6,#60a5fa);height:100%;transition:width .18s}.media-upload-panel--done .media-upload-fill{background:linear-gradient(90deg,#22c55e,#86efac)}.media-upload-panel--error .media-upload-fill{background:linear-gradient(90deg,#ef4444,#f87171)}.media-upload-percent{color:#93c5fd;font-variant-numeric:tabular-nums;margin-top:8px;font-size:12px;display:inline-block}.list-card.active{outline:2px solid #60a5facc}.story-workspace-backdrop{z-index:80;justify-content:stretch;align-items:stretch;padding:0}.story-workspace-panel{background:#0b1220;border-radius:0;flex-direction:column;gap:0;width:100%;max-width:none;height:100dvh;max-height:none;margin:0;display:flex;overflow:hidden}.story-workspace-panel.is-fullscreen{border-radius:0;width:100%;max-width:none;height:100%}.story-workspace-header{flex:none}.story-workspace-body{flex-direction:column;flex:auto;gap:12px;min-height:0;padding:0 4px 8px;display:flex;overflow:hidden}.story-workspace-stage-row{flex:auto;grid-template-columns:minmax(240px,.9fr) minmax(0,1.4fr);gap:12px;min-height:0;display:grid}.story-workspace-tools-column{flex-direction:column;gap:10px;min-width:0;min-height:0;display:flex}.story-workspace-tools{flex:auto;grid-template-columns:repeat(auto-fill,minmax(108px,1fr));align-content:start;align-items:stretch;gap:8px;padding-right:4px;display:grid;overflow:auto}.story-workspace-tools-footer{border-top:1px solid #94a3b833;flex:none;grid-template-columns:repeat(auto-fill,minmax(108px,1fr));gap:8px;padding-top:8px;display:grid}.story-switch{color:#e2e8f0;cursor:pointer;-webkit-user-select:none;user-select:none;background:#0f172a8c;border:1px solid #94a3b847;border-radius:999px;justify-content:space-between;align-items:center;gap:8px;min-height:40px;padding:0 10px;font-size:12px;font-weight:600;display:flex}.story-switch:disabled{opacity:.45;cursor:not-allowed}.story-switch-track{background:#94a3b859;border-radius:999px;flex:0 0 32px;width:32px;height:18px;position:relative}.story-switch[data-on=true] .story-switch-track{background:#86efac}.story-switch-knob{background:#0f172a;border-radius:50%;width:14px;height:14px;transition:transform .16s;position:absolute;top:2px;left:2px}.story-switch[data-on=true] .story-switch-knob{transform:translate(14px)}.story-workspace-tools .story-switch{grid-column:span 2;width:100%}.story-workspace-tools .ghost-button,.story-workspace-tools .primary-button,.story-workspace-tools-footer .ghost-button,.story-workspace-tools-footer .primary-button{white-space:normal;text-align:center;justify-content:center;width:100%;min-height:40px;line-height:1.2}.story-workspace-help,.story-workspace-timecode{grid-column:1/-1}.story-workspace-track-inspector,.story-workspace-title-inspector{background:#0e749029;border:1px solid #38bdf873;border-radius:12px;flex:none;gap:8px;padding:10px 12px;display:grid}.story-workspace-title-inspector{background:#7e226e38;border-color:#ec489980}.story-workspace-title-hint{margin:0;font-size:11px;line-height:1.35}.story-workspace-track-inspector-head{justify-content:space-between;align-items:center;gap:8px;display:flex}.story-workspace-track-inspector-head strong{text-overflow:ellipsis;white-space:nowrap;min-width:0;font-size:13px;overflow:hidden}.story-workspace-track-inspector-head .danger-button{flex:none;min-height:30px;padding:0 10px}.story-workspace-track-volume input[type=range]{width:100%}.story-workspace-track-fields{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;display:grid}.story-workspace-track-fields .field span,.story-workspace-track-volume span{font-size:11px}.story-workspace-track-fields input{width:100%;min-width:0}.story-workspace-fade-fields{border-top:1px solid #94a3b833;grid-column:1/-1;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:8px;margin-top:4px;padding-top:8px;display:grid}.story-workspace-video-column{min-width:0;height:100%;min-height:0;display:flex}.story-video-stage-workspace{background:#000;flex:auto;place-items:center;width:100%;height:100%;min-height:0;display:grid}.story-timeline-video-workspace{object-fit:contain;width:100%;max-width:none;height:100%;max-height:none}.story-image-stage-layers{z-index:1;width:100%;height:100%;min-height:0;position:absolute;inset:0}.story-video-stage.has-title-image .story-image-stage-layers,.story-media-frame .story-image-stage-layers{z-index:1;pointer-events:none;background:#071018;min-height:0;position:absolute;inset:0}.story-video-stage.has-title-image .story-image-stage-layer{object-fit:contain;width:100%;height:100%;position:absolute;inset:0}.story-image-stage .story-image-stage-layer{object-fit:contain;background:0 0;width:100%;height:100%;max-height:none;position:absolute;inset:0}.story-timeline-slides-track{background:#10b98114}.story-timeline-video-track{background:#2563eb14}.story-timeline-video-block{box-sizing:border-box;color:#eff6ff;white-space:nowrap;pointer-events:none;background:linear-gradient(90deg,#2563eb73,#3b82f647);border-left:2px solid #60a5faf2;border-radius:4px;align-items:center;padding:0 8px;font-size:11px;display:flex;position:absolute;top:18px;bottom:6px;overflow:hidden}.story-timeline-video-block.is-alt{background:linear-gradient(90deg,#1d4ed866,#2563eb38)}.story-timeline-slide{box-sizing:border-box;color:#ecfdf5;white-space:nowrap;pointer-events:none;background:#10b98152;border-left:2px solid #34d399f2;border-radius:4px;align-items:center;padding:0 8px;font-size:11px;display:flex;position:absolute;top:18px;bottom:6px;overflow:hidden}.story-timeline-slide.is-alt{background:#14b8a633}.story-timeline-slide.is-dragging{outline:1px solid #6ee7b7e6}.story-timeline-slide-handle{z-index:3;cursor:ew-resize;pointer-events:auto;touch-action:none;border-right:3px solid #6ee7b7f2;width:8px;position:absolute;top:0;bottom:0;right:0}.story-timeline-slide-handle:hover,.story-timeline-slide.is-dragging .story-timeline-slide-handle{background:#6ee7b759}.story-timeline-slide-fade{z-index:1;pointer-events:auto;background:repeating-linear-gradient(135deg,#ffffff47 0 4px,#ffffff0f 4px 8px);border-radius:4px;position:absolute;top:18px;bottom:6px}.story-timeline-slide-boundaries{z-index:4;pointer-events:none;position:absolute;inset:0}.story-timeline-slide-boundary{border-left:1px dashed #34d3998c;width:0;position:absolute;top:0;bottom:0}.story-zoom-timeline{contain:inline-size;flex-direction:column;flex:none;gap:8px;width:100%;min-width:0;max-width:100%;min-height:140px;display:flex}.story-zoom-overview{box-sizing:border-box;cursor:pointer;touch-action:none;-webkit-user-select:none;user-select:none;background:#0f172af2;border:1px solid #94a3b859;border-radius:10px;flex:none;width:100%;min-width:0;height:32px;position:relative;overflow:hidden}.story-zoom-overview-ticks{pointer-events:none;will-change:transform;position:absolute;top:0;bottom:0;left:0}.story-zoom-overview .story-timeline-tick{top:0;bottom:0}.story-zoom-overview .story-timeline-tick.is-frame,.story-zoom-overview .story-timeline-tick.is-second,.story-zoom-overview .story-timeline-tick.is-minute{width:1px}.story-zoom-overview .story-timeline-tick.is-frame{background:#f8fafc2e}.story-zoom-overview .story-timeline-tick.is-second{background:#f8fafc6b}.story-zoom-overview .story-timeline-tick.is-minute{background:#f8fafcc7}.story-zoom-window{box-sizing:border-box;cursor:grab;z-index:2;background:#fbbf248c;border:2px solid #fbbf24;border-radius:6px;min-width:18px;position:absolute;top:4px;bottom:4px;box-shadow:0 0 0 1px #0f172a99}.story-zoom-window:active{cursor:grabbing}.story-zoom-window-handle{cursor:ew-resize;z-index:3;width:10px;position:absolute;top:0;bottom:0}.story-zoom-window-handle.start{left:0}.story-zoom-window-handle.end{right:0}.story-zoom-overview-playhead{z-index:5;pointer-events:none;background:#38bdf8;width:2px;margin-left:-1px;position:absolute;top:0;bottom:0;box-shadow:0 0 0 1px #0f172abf,0 0 8px #38bdf8d9}.story-zoom-overview-playhead:before{content:"";border-top:7px solid #38bdf8;border-left:5px solid #0000;border-right:5px solid #0000;position:absolute;top:0;left:50%;transform:translate(-50%)}.story-zoom-viewport{scrollbar-width:none;background:#0f172aa6;border:1px solid #94a3b82e;border-radius:14px;flex:auto;width:100%;min-width:0;max-height:220px;overflow:hidden}.story-zoom-viewport::-webkit-scrollbar{display:none}.story-zoom-content{min-height:120px;padding:8px 0 12px;position:relative}.story-zoom-lanes{position:relative}.story-timeline-ruler{height:16px;margin:0 0 4px;position:relative}.story-timeline-tick{pointer-events:none;background:#94a3b859;width:1px;position:absolute;top:4px;bottom:0}.story-timeline-tick.is-second{background:#e2e8f08c;top:0}.story-timeline-tick-span{z-index:1;height:auto;top:0;bottom:0}.story-timeline-track-zoom{height:48px;margin:0}.story-timeline-playhead-gutter{height:16px;position:relative}.story-timeline-playhead-gutter-line{top:0;bottom:0}.story-timeline-playhead-knob{z-index:7;cursor:grab;pointer-events:auto;background:#f8fafc;border:0;border-radius:50%;width:14px;height:14px;padding:0;position:absolute;top:50%;transform:translate(-50%,-50%);box-shadow:0 0 0 1px #0f172a73}.story-timeline-playhead-knob:active{cursor:grabbing}.story-timeline-lane-label{z-index:5;letter-spacing:.04em;text-transform:uppercase;color:#e2e8f0b3;pointer-events:none;font-size:10px;font-weight:700;position:absolute;top:4px;left:8px}.story-timeline-bgm-track{background:#6366f124}.story-timeline-bgm{opacity:.85;cursor:grab;box-sizing:border-box;z-index:1;background:linear-gradient(90deg,#a855f7,#6366f1);border-radius:8px;justify-content:center;align-items:center;min-width:18px;height:28px;padding:0 10px;display:flex;position:absolute;top:8px}.story-timeline-bgm.is-silence{background:linear-gradient(90deg,#64748b,#475569)}.story-timeline-bgm.is-legacy{outline:1px dashed #fbbf24b3}.story-timeline-bgm.active{opacity:1;z-index:2;outline:2px solid #fbbf24}.story-timeline-bgm.dragging{opacity:1;cursor:grabbing;z-index:3;box-shadow:0 6px 16px #00000059}@media (width<=1200px){.story-workspace-stage-row{grid-template-columns:minmax(220px,.85fr) minmax(0,1.35fr);gap:10px}.story-workspace-tools,.story-workspace-tools-footer{grid-template-columns:repeat(auto-fill,minmax(96px,1fr))}.story-workspace-track-fields{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=900px){.story-workspace-backdrop{padding:0}.story-workspace-panel{border-radius:0;width:100%;height:100vh}.story-workspace-body{gap:8px;padding:0 6px 6px}.story-workspace-stage-row{flex:auto;grid-template-rows:minmax(140px,38vh) auto;grid-template-columns:1fr;min-height:0}.story-workspace-video-column{order:-1;height:auto;min-height:140px;max-height:38vh}.story-video-stage-workspace{min-height:140px;max-height:38vh}.story-workspace-tools-column{overscroll-behavior:contain;-webkit-overflow-scrolling:touch;min-height:0;max-height:min(42vh,320px);padding-bottom:2px;overflow:auto}.story-workspace-tools{flex:none;grid-template-columns:repeat(auto-fill,minmax(92px,1fr));gap:6px;max-height:none;overflow:visible}.story-workspace-tools-footer{z-index:2;background:linear-gradient(#0b122000 0%,#0b1220eb 28%,#0b1220 100%);grid-template-columns:repeat(auto-fill,minmax(92px,1fr));gap:6px;padding-top:10px;position:sticky;bottom:0}.story-workspace-tools .ghost-button,.story-workspace-tools .primary-button,.story-workspace-tools-footer .ghost-button,.story-workspace-tools-footer .primary-button,.story-workspace-tools .story-switch{min-height:36px;padding:6px 8px;font-size:12px}.story-workspace-tools .story-switch{grid-column:span 2}.story-workspace-help{display:none}.story-workspace-timecode{font-variant-numeric:tabular-nums;font-size:12px}.story-workspace-track-fields{grid-template-columns:1fr}.story-zoom-timeline{flex:auto;min-height:160px;max-height:46vh}.story-zoom-viewport{flex:auto;min-height:120px;max-height:none}.story-video-overlay:not(.is-title-cue){bottom:5%;left:4%;right:4%}.story-video-overlay-input{min-height:56px;max-height:120px;font-size:16px}.story-timeline-cue{min-width:36px}.story-timeline-cue-handle{width:14px}}@media (width<=720px){.story-workspace-stage-row{grid-template-rows:minmax(120px,32vh) auto}.story-workspace-video-column,.story-video-stage-workspace{min-height:120px;max-height:32vh}.story-workspace-tools-column{max-height:min(36vh,260px)}.story-workspace-tools,.story-workspace-tools-footer{grid-template-columns:repeat(auto-fill,minmax(84px,1fr))}.story-zoom-timeline{min-height:150px;max-height:50vh}.story-timeline-lane-label{font-size:9px}.story-timeline-track-zoom{height:44px}}@media (height<=700px){.story-workspace-body{gap:6px}.story-workspace-stage-row{flex:42%;min-height:120px}.story-zoom-timeline{flex:52%;min-height:140px;max-height:none}.story-zoom-viewport{max-height:none}.story-workspace-help{display:none}}@media (width<=900px) and (height<=620px),(width<=720px) and (height<=740px){.story-timing-page,.story-workspace-panel{-webkit-overflow-scrolling:touch;height:auto;min-height:100dvh;overflow:auto}.story-timing-page .story-workspace-body,.story-workspace-panel .story-workspace-body{height:auto;min-height:calc(100dvh - 8px);overflow:visible}.story-workspace-stage-row{flex:none;grid-template-rows:minmax(140px,36vh) auto}.story-workspace-tools-column,.story-workspace-video-column,.story-video-stage-workspace{max-height:none}.story-workspace-tools-column{overflow:visible}.story-zoom-timeline{flex:none;min-height:180px;max-height:none}}.readme-kids-footer{border-top:1px solid #0f172a14;justify-content:center;margin-top:48px;padding-top:24px;display:flex}.readme-kids-footer .link-button{opacity:.55;font-size:.85rem}.readme-kids-footer .link-button:hover{opacity:1}.story-library-card-main{flex:1;align-items:center;gap:16px;min-width:0;display:flex}.story-library-cover{object-fit:cover;background:#0f172a0f;border-radius:12px;flex-shrink:0;width:72px;height:72px}.story-library-cover--empty{border:1px dashed #0f172a26}.story-meta-editor .cue-text-pair{align-items:start}.visually-hidden{clip:rect(0 0 0 0);white-space:nowrap;width:1px;height:1px;overflow:hidden;position:absolute!important}.story-meta-editor{gap:20px;display:grid}.story-editor-header{z-index:30;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);background:#0a1123f0;border:1px solid #94a3b82e;border-radius:20px;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:14px 18px;padding:14px 18px 0;display:grid;position:sticky;top:0;box-shadow:0 12px 32px #02061773}.story-back-button{min-height:38px;padding:0 14px}.story-editor-identity{align-items:center;gap:14px;min-width:0;display:flex}.story-editor-thumb{object-fit:cover;background:#94a3b81f;border-radius:14px;flex-shrink:0;width:56px;height:56px}.story-editor-thumb--empty{color:#64748b;border:1px dashed #94a3b859;place-items:center;font-weight:800;display:grid}.story-editor-titles{min-width:0}.story-editor-titles h2{text-overflow:ellipsis;white-space:nowrap;margin:0;font-size:22px;overflow:hidden}.story-editor-crumb{color:#a78bfa;letter-spacing:.1em;text-transform:uppercase;font-size:11px;font-weight:800}.story-editor-sub{color:#94a3b8;flex-wrap:wrap;align-items:center;gap:6px;margin-top:2px;font-size:13px;display:flex}.story-editor-slug-field{align-items:center;gap:6px;margin:0;display:inline-flex}.story-editor-slug-label{letter-spacing:.08em;text-transform:uppercase;color:#64748b;font-size:11px;font-weight:800}.story-editor-slug-input{color:#e2e8f0;background:#0f172a8c;border:1px solid #94a3b859;border-radius:8px;min-width:10rem;max-width:min(28rem,55vw);padding:3px 8px;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:13px;line-height:1.3}.story-editor-slug-input:focus{border-color:#a78bfab3;outline:none;box-shadow:0 0 0 2px #a78bfa33}.story-editor-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:10px;display:flex}.publish-toggle{cursor:pointer;color:#cbd5e1;background:#94a3b824;border:1px solid #94a3b84d;border-radius:999px;min-height:34px;padding:0 14px;font-size:13px;font-weight:700}.publish-toggle.is-on{color:#86efac;background:#22c55e29;border-color:#22c55e73}.publish-toggle.is-soon{color:#fde68a;background:#eab30829;border-color:#eab30873}.save-pill{white-space:nowrap;color:#cbd5e1;background:#94a3b81f;border-radius:999px;align-items:center;gap:8px;min-height:34px;padding:0 14px;font-size:13px;font-weight:700;display:inline-flex}.save-pill-dot{background:currentColor;border-radius:50%;width:8px;height:8px}.save-pill--saved{color:#86efac;background:#22c55e24}.save-pill--saving{color:#93c5fd;background:#3b82f629}.save-pill--saving .save-pill-dot{animation:1s ease-in-out infinite save-pulse}.save-pill--dirty{color:#fcd34d;background:#fbbf2424}.save-pill--error{color:#fca5a5;background:#f8717129}@keyframes save-pulse{50%{opacity:.25}}.story-section-nav,.story-editor-tabs{border-top:1px solid #94a3b824;grid-column:1/-1;gap:4px;padding:6px 0;display:flex;overflow-x:auto}.story-section-link,.story-editor-tab{color:#cbd5e1;font:inherit;white-space:nowrap;cursor:pointer;background:0 0;border:1px solid #0000;border-radius:10px;align-items:center;gap:6px;padding:8px 12px;font-size:14px;font-weight:600;text-decoration:none;display:inline-flex}.story-section-link:hover,.story-editor-tab:hover{background:#94a3b81f}.story-editor-tab.is-active{color:#e0f2fe;background:#38bdf829;border-color:#38bdf873}.story-section[hidden]{display:none!important}.story-ai-tools{background:linear-gradient(#16653447,#0f172a59);border:1px solid #4ade8059;border-radius:16px;padding:1rem 1.1rem 1.15rem}.story-ai-tools .section-header{align-items:flex-start}.story-ai-simplify-btn{white-space:nowrap;min-height:2.6rem;padding-inline:1.15rem;font-size:.95rem}.story-section-check{color:#64748b;font-size:12px}.story-section-link.is-done .story-section-check{color:#4ade80}.story-section{scroll-margin-top:150px}.section-count{color:#c4b5fd;vertical-align:middle;background:#8b5cf62e;border-radius:999px;margin-left:6px;padding:2px 10px;font-size:13px;font-weight:700}.inline-notice{color:#bfdbfe;background:#3b82f61a;border:1px solid #3b82f666;border-radius:14px;padding:12px 16px;font-size:14px}.media-clips-dropzone{color:#e2e8f0;background:#0f172a59;border:1.5px dashed #94a3b873;border-radius:14px;gap:.35rem;padding:1rem 1.1rem;transition:border-color .15s,background .15s;display:grid}.media-clips-dropzone.is-active{background:#2563eb2e;border-color:#60a5fae6}.media-clips-dropzone.is-disabled{opacity:.55;pointer-events:none}.media-clips-panel .media-clip-card{padding:.75rem}.media-clip-row{grid-template-columns:auto minmax(0,1fr);align-items:stretch;gap:.85rem;display:grid}.media-clip-preview{background:#0f172a;border-radius:8px;place-items:center;width:160px;max-width:45vw;min-height:100px;display:grid;position:relative;overflow:hidden}.media-clip-preview img,.media-clip-preview video{object-fit:contain;width:100%;height:100%;position:absolute;inset:0}.media-clip-fields{min-width:0}.media-clip-title{flex-wrap:wrap;align-items:center;gap:.5rem;display:inline-flex}.media-clip-order{width:4.2rem;color:inherit;font:inherit;text-align:center;background:#0f172a99;border:1px solid #94a3b866;border-radius:8px;padding:.3rem .45rem;font-weight:800}.media-clip-order:focus{border-color:#60a5fae6;outline:2px solid #60a5facc}.media-card-grid{grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:16px;display:grid}.media-card{background:#02061780;border:1px solid #94a3b82e;border-radius:18px;grid-template-rows:auto 1fr;display:grid;overflow:hidden}.media-card--missing{border-style:dashed}.media-card-preview{aspect-ratio:16/9;background:#020617;place-items:center;max-height:260px;display:grid;overflow:hidden}.media-card-video,.media-card-image{object-fit:contain;width:100%;height:100%;display:block}.media-card-empty{color:#64748b;font-size:14px}.media-card-body{gap:8px;padding:14px 16px 16px;display:grid}.media-card-title-row{justify-content:space-between;align-items:center;gap:10px;display:flex}.media-card-file{color:#e2e8f0;text-overflow:ellipsis;white-space:nowrap;font-size:14px;overflow:hidden}.media-card-meta{color:#94a3b8;font-size:13px}.status-badge{white-space:nowrap;border-radius:999px;align-items:center;padding:3px 10px;font-size:12px;font-weight:700;display:inline-flex}.status-badge--ready{color:#86efac;background:#22c55e26}.status-badge--pending{color:#fcd34d;background:#fbbf2426}.status-badge--uploading{color:#93c5fd;background:#3b82f62e}.status-badge--encoding{color:#c4b5fd;background:#8b5cf62e}.status-badge--missing{color:#fca5a5;background:#f8717124}.locale-chips{flex-wrap:wrap;gap:8px;display:flex}.locale-chip{cursor:pointer;color:#cbd5e1;background:#94a3b81a;border:1px solid #0000;border-radius:999px;align-items:center;gap:7px;min-height:34px;padding:0 12px;font-size:13px;font-weight:600;display:inline-flex}.locale-chip-dot{background:#475569;border-radius:50%;width:8px;height:8px}.locale-chip--complete .locale-chip-dot{background:#4ade80}.locale-chip--partial .locale-chip-dot{background:#fbbf24}.locale-chip.is-active{color:#f5f3ff;background:#8b5cf638;border-color:#a78bfab3}.story-translate-panel>summary,.settings-advanced>summary,.cue-advanced>summary{cursor:pointer;padding:6px 0}.story-translate-panel[open]>summary,.settings-advanced[open]>summary{margin-bottom:12px}.settings-advanced{border-top:1px solid #94a3b824;gap:16px;padding-top:8px;display:grid}.cue-editor-layout{grid-template-columns:minmax(260px,380px) minmax(0,1fr);align-items:start;gap:18px;display:grid}.cue-list-column{gap:10px;display:grid}.cue-search{width:100%}.cue-list{gap:4px;max-height:560px;padding-right:4px;display:grid;overflow-y:auto}.cue-list-empty{padding:12px}.cue-row{text-align:left;cursor:pointer;color:#e2e8f0;background:0 0;border:1px solid #0000;border-radius:12px;grid-template-columns:36px minmax(0,1fr);align-items:start;gap:10px;padding:10px 12px;display:grid}.cue-row:hover{background:#94a3b814}.cue-row.is-active{background:#8b5cf62e;border-color:#a78bfa8c}.cue-row-index{color:#94a3b8;font-variant-numeric:tabular-nums;padding-top:1px;font-size:13px;font-weight:700}.cue-row-body{gap:2px;min-width:0;display:grid}.cue-row-time{color:#64748b;font-variant-numeric:tabular-nums;font-size:12px}.cue-row-text{text-overflow:ellipsis;white-space:nowrap;font-size:14px;overflow:hidden}.cue-row.is-empty .cue-row-text{color:#fbbf24;font-style:italic}.cue-detail{background:#02061773;border:1px solid #94a3b824;border-radius:16px;padding:16px;position:sticky;top:160px}.cue-detail-header{flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:8px;display:flex}.cue-advanced,.music-track-list{gap:12px;display:grid}.music-track{background:#02061773;border:1px solid #94a3b829;border-radius:16px;gap:12px;padding:14px 16px;display:grid}.music-track.is-active{border-color:#a78bfa8c}.music-track-head{justify-content:space-between;align-items:center;gap:12px;display:flex}.music-track-name{gap:2px;min-width:0;display:grid}.music-track-name strong{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.music-track-audio{width:100%;height:36px}.music-track-controls{flex-wrap:wrap;align-items:end;gap:12px;display:flex}.music-volume{flex:200px}.music-number{flex:0 140px}.library-header{flex-wrap:wrap;justify-content:space-between;align-items:flex-end;gap:16px;margin-bottom:18px;display:flex}.library-search{min-width:220px}.story-grid{grid-template-columns:repeat(auto-fill,minmax(330px,1fr));gap:18px;display:grid}.story-tile{cursor:pointer;background:#0f172ad1;border:1px solid #94a3b829;border-radius:20px;grid-template-rows:auto 1fr;transition:transform .16s,border-color .16s,box-shadow .16s;display:grid;overflow:hidden}.story-tile:hover,.story-tile:focus-visible{border-color:#a78bfa99;outline:none;transform:translateY(-2px);box-shadow:0 14px 36px #02061780}.story-tile-cover{aspect-ratio:16/10;background:#020617;position:relative}.story-tile-cover img{object-fit:cover;width:100%;height:100%;display:block}.story-tile-cover-empty{color:#64748b;place-items:center;height:100%;font-size:14px;display:grid}.story-tile-status{color:#cbd5e1;background:#0f172ad9;border-radius:999px;padding:4px 10px;font-size:12px;font-weight:800;position:absolute;top:10px;left:10px}.story-tile-status.is-published{color:#dcfce7;background:#166534e6}.story-tile-status.is-soon{color:#fef3c7;background:#854d0eeb}.story-tile-body{align-content:start;gap:10px;padding:14px 16px 16px;display:grid}.story-tile-body h3{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.story-tile-stats{flex-wrap:wrap;gap:6px;display:flex}.stat-chip{color:#cbd5e1;background:#94a3b81f;border-radius:999px;padding:3px 9px;font-size:12px;font-weight:600}.stat-chip.is-ok{color:#86efac;background:#22c55e24}.stat-chip.is-missing{color:#fca5a5;background:#f8717124}.story-tile-actions{flex-wrap:nowrap;gap:8px;margin-top:4px;display:flex}.story-tile-actions .primary-button,.story-tile-actions .ghost-button,.story-tile-actions .danger-button{white-space:nowrap;min-height:38px;padding:0 12px}.story-tile-delete{margin-left:auto}.status-toast{z-index:90;background:#0f172af5;border:1px solid #94a3b84d;border-radius:14px;align-items:flex-start;gap:12px;max-width:min(420px,100vw - 40px);padding:12px 16px;font-size:14px;display:flex;position:fixed;bottom:20px;right:20px;box-shadow:0 16px 40px #02061799}.status-toast.success{border-color:#22c55e80}.status-toast.error{border-color:#f8717199}.status-toast.info{border-color:#3b82f680}.status-toast-close{color:#94a3b8;cursor:pointer;background:0 0;margin-left:auto;font-size:16px;line-height:1}@media (width<=900px){.story-editor-header{grid-template-columns:1fr;position:static}.story-editor-actions{justify-content:flex-start}.cue-editor-layout{grid-template-columns:1fr}.cue-detail{position:static}}.admin-shell>.topbar h1{margin-bottom:2px;font-size:28px}.hero-fx-layout{grid-template-columns:minmax(280px,1.05fr) minmax(320px,1fr);align-items:start;gap:18px;display:grid}.hero-fx-layout--compact .hero-fx-preview-stage{min-height:220px}.hero-fx-layout--compact .hero-fx-preview-stage--script{min-height:200px}@media (width<=980px){.hero-fx-layout{grid-template-columns:1fr}.hero-fx-controls{max-height:none}}.hero-fx-preview-card{z-index:2;align-self:start;position:sticky;top:12px}.hero-fx-controls{overscroll-behavior:contain;scrollbar-gutter:stable;max-height:min(75vh,860px);padding-right:8px;overflow-y:auto}.hero-fx-preview-stage{isolation:isolate;background:#0d2133;border-radius:18px;flex-direction:column;justify-content:flex-end;gap:10px;min-height:280px;padding:36px 28px 28px;display:flex;position:relative;overflow:visible}.hero-fx-preview-sky{border-radius:inherit;pointer-events:none;z-index:0;background:radial-gradient(70% 50% at 70% 30%,#2a8fad59,#0000 60%),linear-gradient(145deg,#143149 0%,#0d2133 55%,#0a1a28 100%);position:absolute;inset:0;overflow:hidden}.hero-fx-preview-title{z-index:1;max-width:min(100%, calc(14ch / var(--hero-title-scale,1)));font-family:var(--hero-title-font);font-weight:var(--hero-title-weight);font-size:calc(2.4rem * var(--hero-title-scale,1));letter-spacing:var(--hero-title-tracking);line-height:var(--hero-title-leading);color:var(--hero-title-color);filter:var(--hero-title-filter,none);animation:hero-title-float var(--hero-float-speed,3s) ease-in-out infinite, hero-title-pulse var(--hero-pulse-speed,2.8s) ease-in-out infinite;margin:0;position:relative}.hero-fx-preview-ink{max-width:100%;color:inherit;-webkit-text-stroke-width:var(--hero-title-stroke-width);-webkit-text-stroke-color:var(--hero-title-stroke-color);paint-order:stroke fill;text-shadow:var(--hero-title-shadow);display:inline-block;position:relative}.hero-fx-preview-ink:after{content:attr(data-shine);z-index:1;font:inherit;letter-spacing:inherit;line-height:inherit;white-space:inherit;-webkit-text-stroke-width:0;-webkit-text-stroke-color:transparent;text-shadow:none;paint-order:normal;background-image:linear-gradient(var(--hero-shine-angle,25deg), transparent 0%, transparent calc(50% - var(--hero-shine-width,28%) / 2), color-mix(in srgb, var(--hero-shine-color,#fff) 95%, transparent) 50%, transparent calc(50% + var(--hero-shine-width,28%) / 2), transparent 100%);-webkit-text-fill-color:transparent;color:#0000;opacity:var(--hero-shine-opacity,0);pointer-events:none;animation:hero-title-shine var(--hero-shine-speed,4.5s) linear infinite;background-size:220% 220%;-webkit-background-clip:text;background-clip:text;position:absolute;top:0;left:0}.hero-fx-preview-desc{z-index:1;color:#c5d4e2;max-width:36ch;margin:0;line-height:1.45;position:relative}.hero-fx-preview-stage--script{justify-content:center;gap:6px;min-height:240px}.hero-fx-preview-script-label{z-index:1;letter-spacing:.08em;text-transform:uppercase;color:#94a3b8;margin:4px 0 0;font-size:11px;position:relative}.hero-fx-preview-title--script{max-width:18ch;font-size:calc(2rem * var(--hero-title-scale,1))}@keyframes hero-title-shine{0%{background-position:120% 0}to{background-position:-40% 100%}}@keyframes hero-title-pulse{0%,to{transform:scale(1)}50%{transform:scale(calc(1 + var(--hero-pulse-amount,0)))}}@keyframes hero-title-float{0%,to{translate:0}50%{translate:0 calc(var(--hero-float-amount,0px) * -1)}}.hero-fx-controls h3{margin:0 0 10px;font-size:15px}.hero-fx-font-hint{color:#94a3b8;margin:-4px 0 12px;font-size:13px;line-height:1.4}.hero-fx-font-active{color:#7dd3fc;margin:-6px 0 14px;font-size:12px}.hero-fx-font-search{width:100%;color:inherit;background:#0f172a73;border:1px solid #94a3b859;border-radius:10px;margin-bottom:10px;padding:9px 12px;font-size:14px}.hero-fx-font-grid{flex-wrap:wrap;gap:8px;max-height:160px;margin-bottom:14px;padding:2px;display:flex;overflow:auto}.hero-fx-font-chip{color:inherit;cursor:pointer;background:#0f172a59;border:1px solid #94a3b859;border-radius:999px;padding:8px 12px;font-size:14px}.hero-fx-font-chip.active{background:#2a8fad33;border-color:#2a8fad}.hero-fx-grid{grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:12px;margin-bottom:8px;display:grid}.hero-fx-field{gap:6px;display:grid}.hero-fx-label{color:#94a3b8;justify-content:space-between;gap:8px;font-size:12px;display:flex}.hero-fx-label strong{color:#e2e8f0;font-weight:700}.hero-fx-color-row{grid-template-columns:42px 1fr;gap:8px;display:grid}.hero-fx-color-row input[type=color]{background:0 0;border:0;width:42px;height:36px;padding:0}.hero-fx-section{border-top:1px solid #94a3b833;margin-top:16px;padding-top:14px}.hero-fx-section-head{justify-content:space-between;align-items:center;gap:12px;margin-bottom:10px;display:flex}.hero-fx-section-head h3{margin:0}.hero-fx-toggle{color:#cbd5e1;cursor:pointer;align-items:center;gap:6px;font-size:13px;display:inline-flex}.hero-clips-panel{gap:1rem}.hero-clips-toolbar{flex-wrap:wrap;align-items:center;gap:.75rem;display:flex}.hero-clips-trim.card-inset,.hero-clip-card{background:#0f172a59;border:1px solid #94a3b838;border-radius:14px;padding:1rem}.story-traits-panel h4{margin:0 0 .35rem}.story-trait-scale{background:#0f172a59;border:1px solid #94a3b838;border-radius:12px;padding:.75rem .9rem}.story-trait-scale-head{flex-direction:column;gap:.2rem;margin-bottom:.55rem;display:flex}.story-trait-scale-row{flex-wrap:wrap;align-items:center;gap:.55rem .75rem;display:flex}.story-trait-scale-edge{min-width:5.5rem;font-size:.78rem}.story-trait-pips{gap:.35rem;display:inline-flex}.story-trait-pip{width:2.1rem;height:2.1rem;color:inherit;cursor:pointer;background:#0f172a8c;border:1px solid #94a3b866;border-radius:999px;padding:0;font-weight:700}.story-trait-pip.is-active{background:#0ea5e959;border-color:#38bdf8e6;box-shadow:0 0 0 2px #38bdf840}.story-trait-block{margin-top:.35rem}.story-trait-chips{flex-wrap:wrap;gap:.45rem;margin-top:.55rem;display:flex}.story-trait-chip{color:inherit;cursor:pointer;background:#0f172a73;border:1px solid #94a3b859;border-radius:999px;padding:.4rem .75rem;font-size:.88rem}.story-trait-chip.is-active{background:#38bdf838;border-color:#7dd3fcbf}.story-trait-chip.is-keyword.is-active{background:#fbbf242e;border-color:#fbbf24b3}.story-trait-numbers{margin-top:.5rem}.story-trait-derived{grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem 1.25rem;margin-top:.35rem;display:grid}@media (width<=720px){.story-trait-derived{grid-template-columns:1fr}}.story-trait-derived-item{background:#0f172a59;border:1px solid #94a3b838;border-radius:12px;padding:.75rem .9rem}.story-trait-derived-item p{margin:.35rem 0 0}.story-trait-derived-value{font-size:1.15rem;font-weight:800}.hero-clips-preview-wrap{background:#0206178c;border-radius:12px;flex-direction:column;align-items:center;gap:.4rem;padding:.5rem;display:flex}.hero-clips-preview-stage{justify-content:center;width:100%;display:flex}.hero-clips-source-video{object-fit:contain;background:#020617;border-radius:10px;width:min(320px,100%);max-height:200px}.hero-clips-scrub-status-row{justify-content:center;width:100%;display:flex}.hero-clips-scrub-status{text-align:center;margin:0;font-size:.8rem}.hero-clip-focus-stage{aspect-ratio:21/8;background:#020617;border-radius:10px;width:min(33vw,420px,100%);position:relative;overflow:hidden}.hero-clip-focus-video{object-fit:cover;object-position:center center;background:#020617;border-radius:0;width:100%;height:114%;position:absolute;top:-7%;left:0}.hero-clips-meta{flex-wrap:wrap;align-items:center;gap:.75rem 1.25rem;margin:.75rem 0 .5rem;display:flex}.hero-clips-length-field{align-items:center;gap:.45rem;font-size:.92rem;display:inline-flex}.hero-clips-length-field input{width:5.5rem;color:inherit;background:#0f172a8c;border:1px solid #94a3b859;border-radius:8px;padding:.35rem .5rem}.hero-clips-zoom-row{flex-wrap:wrap;align-items:center;gap:.45rem;margin-bottom:.45rem;display:flex}.hero-clips-overview-track{touch-action:none;-webkit-user-select:none;user-select:none;cursor:grab;background:#94a3b81f;border-radius:10px;height:22px;margin:.2rem 0 .55rem;position:relative}.hero-clips-overview-selection{pointer-events:none;background:#38bdf88c;border-radius:999px;height:8px;margin-top:-4px;position:absolute;top:50%}.hero-clips-overview-window{pointer-events:none;box-sizing:border-box;background:#fbbf241f;border:1.5px solid #fbbf24e6;border-radius:8px;position:absolute;inset:2px auto}.hero-clips-range-track{touch-action:none;-webkit-user-select:none;user-select:none;cursor:pointer;background:#94a3b824;border-radius:14px;height:44px;margin:.35rem 0 .75rem;position:relative}.hero-clips-range-base{pointer-events:none;background:#94a3b847;border-radius:999px;height:10px;margin-top:-5px;position:absolute;top:50%;left:0;right:0}.hero-clips-range-selection{pointer-events:none;background:linear-gradient(90deg,#38bdf8,#818cf8);border-radius:999px;height:10px;margin-top:-5px;position:absolute;top:50%}.hero-clips-range-handle{cursor:ew-resize;z-index:3;background:#f8fafc;border:0;border-radius:6px;width:16px;height:28px;margin:-14px 0 0 -8px;padding:0;position:absolute;top:50%;box-shadow:0 0 0 2px #0f172ab3}.hero-clips-range-handle.is-start{background:#67e8f9}.hero-clips-range-handle.is-end{background:#c4b5fd}.hero-clips-range-handle.is-video-preview{z-index:6;box-shadow:0 0 0 3px #ef4444,0 0 0 6px #ef444459}.hero-clips-range-playhead{pointer-events:none;z-index:2;background:#fbbf24;width:2px;margin-left:-1px;position:absolute;top:4px;bottom:4px;box-shadow:0 0 0 1px #0f172a8c}.hero-clips-range-playhead.is-video-preview{z-index:6;background:#ef4444;width:3px;box-shadow:0 0 0 2px #ef444473}.hero-clips-transport{flex-wrap:wrap;gap:.45rem;display:flex}.hero-clips-list h4,.hero-clips-trim h4{margin:0 0 .65rem}.hero-clip-card{gap:.75rem;display:grid}.hero-clip-card.is-selected{border-color:#7dd3fc8c}.hero-clip-select{width:100%;color:inherit;text-align:left;cursor:pointer;background:0 0;border:0;align-items:center;gap:.65rem;padding:0;display:flex}.hero-clip-index{background:#94a3b82e;border-radius:999px;justify-content:center;min-width:2.2rem;padding:.2rem .45rem;font-size:.8rem;font-weight:700;display:inline-flex}.hero-clip-actions{flex-wrap:wrap;gap:.45rem;display:flex}.hero-clip-focus-block{flex-direction:column;gap:.5rem;width:min(33vw,420px,100%);display:flex}.hero-clip-focus-stage{cursor:crosshair;border:1px solid #94a3b847;width:100%}.hero-clip-focus-marker{pointer-events:none;border:2px solid #fff;border-radius:50%;width:16px;height:16px;margin:-8px 0 0 -8px;position:absolute;box-shadow:0 0 0 1px #0000008c}.row.gap{flex-wrap:wrap;gap:.6rem;margin-top:.75rem;display:flex}
