.player-shell{overflow-y:auto;overscroll-behavior:contain}.player-shell>.player-header{position:sticky;top:0;z-index:3;flex-shrink:0;background:var(--studio-surface, var(--surface-dialog, #151a12))}.player-shell>.clip-checked,.player-shell>.clip-report-receipt{flex-shrink:0}.video-stage .buffered-video{position:absolute;inset:0}.video-stage .buffered-video-visible{z-index:1}.video-stage .buffered-video-hidden{opacity:0;pointer-events:none}.video-stage .video-feed-tag,.video-stage .video-step-count,.video-stage .video-error{z-index:2}.clip-report{padding:.65rem 0;min-width:0;flex-shrink:0}.clip-report>button,.clip-checked{display:inline-flex;align-items:center;gap:.4rem}.clip-report form{display:grid;gap:.5rem;width:min(100%,34rem)}.clip-report textarea{width:100%;min-height:4.5rem;resize:vertical;box-sizing:border-box;padding:.65rem;border:1px solid var(--display-border, #46504b);border-radius:.5rem;background:var(--display-field, #171d1a);color:var(--display-text, #eef3ef);font:inherit}.clip-report-actions{display:flex;align-items:center;flex-wrap:wrap;gap:.7rem}.clip-report-actions>.button{flex-shrink:0}.clip-checked{color:var(--studio-green, #16713d);padding:.65rem 0;font-size:.9rem}.clip-report-receipt{padding:.65rem 0;font-size:.9rem}.player-shell>.clip-report,.player-shell>.clip-checked,.player-shell>.clip-report-receipt{margin:0 1rem}.compact-scene-dialog{max-width:860px}.compact-scene-header-actions{display:flex;align-items:center;gap:12px}.story-so-far{margin-bottom:16px}.story-so-far h3,.saved-path-details>h3{margin:0 0 8px;font-size:15px}.story-so-far p{margin:0;font-size:14px;line-height:1.65}.compact-assets-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:8px}.compact-assets-heading h3{margin:0;font-size:11px;color:var(--studio-muted,var(--display-muted))}.compact-details-button{min-height:28px;padding:4px 10px;font-size:11px}.compact-actor-thumbnails{display:flex;flex-wrap:wrap;gap:7px;align-items:center}.compact-actor{display:grid;place-items:center;width:35.2px;height:44.8px;border:1px solid var(--studio-line,var(--display-border));border-radius:5px;overflow:hidden;flex-shrink:0}.compact-actor a,.compact-actor img{display:block;width:100%;height:100%}.compact-actor img{object-fit:cover}.compact-actor.removed{opacity:.45}html[data-theme] .compact-history-row{padding:10px 0;gap:12px}.compact-history-main{display:flex;flex-wrap:wrap;align-items:center;gap:12px}.compact-history-row .scene-history-actions{flex-direction:row;flex-wrap:wrap}.compact-history-details{grid-column:1 / -1}.compact-history-details>p{margin-top:0}.saved-path-details{margin-top:18px}.compact-provenance{margin:16px 0 0;gap:12px}.compact-slot-list{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px}.compact-slot{display:inline-flex;align-items:center;gap:6px;border:1px solid var(--studio-line,var(--display-border));padding:5px 8px;border-radius:6px;font-size:11px}@media(max-width:650px){.compact-scene-header-actions{gap:6px;flex-wrap:wrap}.compact-history-main{gap:8px}}html[data-theme] .story-destination-nav{display:flex;align-items:center;justify-content:space-between;flex-wrap:nowrap;width:100%;max-width:1436px;min-height:62px;margin:0 auto;padding:12px 28px;gap:12px}html[data-theme] .story-destination-nav .story-view-switch{min-width:148px;justify-content:center}html[data-theme] main.story-page-main{width:100%;max-width:1436px;margin:0 auto;padding:24px 28px 28px}html[data-theme] .story-page-heading{align-items:center;gap:24px;margin:0 0 28px}.story-page-heading>div:first-child{min-width:0}html[data-theme] .story-page-heading .eyebrow{display:flex;align-items:center;gap:8px;font-size:10px;letter-spacing:1.6px}.story-page-heading .eyebrow>span{width:20px;height:4px;flex-shrink:0}html[data-theme] .story-page-heading .story-title-row{margin:12px 0 10px}html[data-theme] .story-page-heading h1{margin:0;font-size:40px;line-height:1.13;font-weight:600;letter-spacing:-1.6px;overflow-wrap:anywhere}html[data-theme] .story-page-heading p{margin:0;font-size:14px;line-height:1.7;color:var(--studio-muted)}@media(max-width:700px){html[data-theme] .story-destination-nav{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:stretch;padding:10px 18px;gap:10px}html[data-theme] .story-destination-nav .button{width:100%;min-width:0;min-height:40px;padding:10px 9px;white-space:normal;justify-content:center}html[data-theme] main.story-page-main{padding:24px 18px 28px}html[data-theme] .story-page-heading{margin-bottom:24px}html[data-theme] .story-page-heading h1{font-size:32px;letter-spacing:-1px}html[data-theme] .story-page-heading p{font-size:13px;line-height:1.6}}html[data-theme] .story-selector{max-width:1280px;margin:0 auto;padding-top:24px;padding-bottom:32px}.selector-heading{align-items:center;gap:16px}.selector-heading h1{margin:6px 0}.selector-heading p{overflow-wrap:anywhere}.selector-stats{display:flex;gap:12px;margin:0 0 16px;color:var(--studio-muted);font-size:11px;line-height:1.4;white-space:nowrap}.selector-stats>div{display:flex;align-items:baseline;gap:4px}.selector-stats dt,.selector-stats dd{margin:0;font-size:inherit}.selector-stats dd{font-weight:500}html[data-theme] .story-selector .selector-route{margin-bottom:18px;padding:16px}.selector-section-heading{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:12px}html[data-theme] .story-selector .selector-section-heading h2{margin:0;font-size:18px;color:var(--studio-ink)}.selector-section-heading p{margin:6px 0 0;font-size:13px;color:var(--studio-muted);line-height:1.6}.selector-trail{display:flex;overflow-x:auto;gap:6px;list-style:none;margin:10px 0 0;padding:3px 3px 5px}.selector-trail li{display:flex;align-items:center;gap:6px;flex-shrink:0;color:var(--studio-muted)}html[data-theme] .story-selector .selector-trail-button{display:flex;flex-direction:column;height:auto;width:64px;padding:3px;gap:3px;white-space:normal;font-size:10px}.selector-trail-button.is-current{outline:2px solid var(--studio-accent);outline-offset:1px}.selector-trail-image{width:100%;aspect-ratio:16/9;overflow:hidden;border-radius:4px}.selector-trail-image img,.selector-focus-image img,.selector-child-image img{display:block;width:100%;height:100%;object-fit:cover}.selector-focus{display:grid;grid-template-columns:200px minmax(0,1fr);align-items:center;gap:20px;margin-bottom:26px}.selector-focus-image{position:relative;align-self:start;aspect-ratio:16/9;overflow:hidden;border-radius:8px;background:var(--studio-soft)}.selector-focus-copy{min-width:0;display:flex;flex-direction:column;align-items:stretch;gap:10px}.selector-focus-copy p{margin:0}.selector-route-length{font-size:12px;color:var(--studio-muted)}.selector-play-actions{display:flex;align-items:center;flex-wrap:wrap;gap:8px}.selector-continuation{display:contents}.selector-continuation-status{font-size:13px;color:var(--studio-muted);line-height:1.5}.selector-child-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-top:16px}html[data-theme] .selector-child{display:flex;flex-direction:column;align-items:stretch;justify-content:start;min-width:0;height:auto;padding:6px;text-align:left;white-space:normal;border-radius:10px;overflow:hidden}.selector-child-image{display:block;position:relative;aspect-ratio:16/9;overflow:hidden;border-radius:6px;background:var(--studio-soft)}.selector-child-copy{display:flex;flex-direction:column;gap:7px;padding:12px 8px}.selector-child-copy strong{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:12px}.selector-child-copy strong svg{flex-shrink:0}.selector-child-copy>span{font-size:12px;line-height:1.5}.selector-child-summary{display:block;overflow-wrap:anywhere}.selector-end-badge{position:absolute;bottom:10px;left:10px;background:#101827e6;color:#fff;border:1px solid #ffffff65;border-radius:5px;padding:5px 8px;font-size:12px}.selector-no-thumbnail{display:flex;flex-direction:column;gap:8px;align-items:center;justify-content:center;height:100%;color:var(--studio-muted);background:var(--studio-soft);font-size:12px}.selector-trail-image .selector-no-thumbnail{font-size:9px;gap:3px}.selector-trail-image .selector-no-thumbnail svg{width:18px;height:18px}.selector-trail-image .selector-no-thumbnail span{display:none}.app-dialog.selector-info-dialog{width:min(560px,calc(100vw - 32px));padding:24px;overflow-y:auto;border:1px solid var(--studio-line);border-radius:14px;background:var(--studio-surface);color:var(--studio-ink)}.selector-info-dialog h2{margin:0;font-size:20px}.selector-info-dialog h3{margin:22px 0 8px;font-size:14px}.selector-info-dialog p{margin:0;font-size:14px;line-height:1.7;overflow-wrap:anywhere;white-space:pre-wrap}@media(max-width:700px){.selector-heading{flex-wrap:wrap}html[data-theme] .selector-focus{grid-template-columns:112px minmax(0,1fr);align-items:start;gap:12px;padding:14px}.selector-focus .selector-section-heading{align-items:start}html[data-theme] .story-selector .selector-focus h2{font-size:15px}.selector-focus .selector-play-actions{grid-column:1 / -1}.selector-focus-copy{display:contents}.selector-focus-copy>.selector-section-heading{align-self:center}.selector-route-length{grid-column:1 / -1}html[data-theme] .selector-route{padding:14px}.selector-child-grid{grid-template-columns:1fr;gap:12px}html[data-theme] .selector-child{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:center;gap:4px}.selector-end-badge{bottom:5px;left:5px;padding:4px 5px;font-size:10px}.selector-child-copy{padding:8px}.selector-play-actions .button{flex:1}}.claim-banner{display:grid;gap:12px;margin-bottom:24px;padding:20px;border:2px solid var(--composer-accent);border-radius:10px;background:var(--composer-soft)}.claim-banner-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.focused-editor .claim-banner h3{margin:0;font-size:18px;color:var(--composer-ink)}.focused-editor .claim-banner p{margin:0;font-size:14px;line-height:1.6;color:var(--composer-ink)}.claim-banner-actions{display:flex;flex-wrap:wrap;gap:8px}.claim-banner-title{display:flex;align-items:center;gap:8px}.claim-banner-status{display:flex;flex-direction:column;align-items:flex-end;gap:12px;margin-left:auto}.claim-reservation-actions{display:flex;justify-content:flex-end;flex-wrap:wrap;gap:12px}.claim-banner-understood{gap:10px;padding:14px}.claim-banner-understood .spot-countdown-prominent{font-size:26px}.claim-info{position:relative;display:inline-flex}.focused-editor .claim-info-button{display:inline-flex;align-items:center;padding:4px;min-height:0;border:0;background:transparent;color:var(--composer-accent);cursor:help}.claim-info-tooltip{display:none;position:absolute;z-index:5;top:100%;left:-130px;width:min(340px,75vw);padding:14px;border:1px solid var(--composer-line);border-radius:8px;background:var(--composer-paper);color:var(--composer-ink);box-shadow:0 6px 24px #0002;font-size:13px;line-height:1.6}.claim-info:hover .claim-info-tooltip,.claim-info:focus-within .claim-info-tooltip{display:block}.focused-editor .composer-tool-buttons{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin-bottom:14px}.focused-editor>.editor-shell .composer-draft-expiry{margin:0 0 16px}.focused-editor .composer-tool-toggle{display:inline-flex;align-items:center;gap:7px}.focused-editor>.editor-shell .composer-tool-toggle[aria-expanded=true]{background:var(--studio-selected, #e7edf6);border-color:var(--composer-accent)}.claim-banner-expired{border-color:#b3261e}.spot-countdown{display:inline-flex;align-items:center;gap:7px;font-size:13px;font-variant-numeric:tabular-nums;font-weight:600}.spot-countdown-prominent{font-size:clamp(24px,4vw,32px);line-height:1.2}.spot-countdown-warning{color:#b3261e;animation:claim-warning 1s ease-in-out infinite}@keyframes claim-warning{50%{opacity:.35}}@media(prefers-reduced-motion:reduce){.spot-countdown-warning{animation:none;text-decoration:underline}}.web-spot-locks{display:grid;gap:12px;margin:12px 0}.web-spot-locks>div{display:grid;gap:5px;padding:9px;border:1px solid var(--display-border);border-radius:6px}.branch-capacity small{display:block;margin-top:6px}.focused-editor .composer-location>label{display:grid;gap:8px;font-size:13px}.focused-editor .composer-location select{padding:10px;background:var(--composer-field);color:var(--composer-ink);border:1px solid var(--composer-line);border-radius:7px;width:100%}.focused-editor .composer-location-actions{margin-top:12px}.composer-location-preview{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin-top:12px}.composer-location-preview img{width:100px;border-radius:8px}.composer-location-preview>div{flex:1;min-width:0;overflow-wrap:anywhere}.scene-creator-page,.asset-creator-page{max-width:950px;margin:30px auto;padding:0 20px}.scene-creator-page .app-dialog,.asset-creator-page .app-dialog{width:100%;max-height:none;margin:20px 0;position:static}.scene-creator-page .editor-content,.asset-creator-page .editor-content{max-height:none;overflow:visible}.asset-creator-page .asset-builder-dialog{background:var(--studio-surface);color:var(--studio-ink);border:1px solid var(--studio-line);border-radius:16px}.focused-editor .composer-tool-panel{margin:0 0 14px;padding:14px;border:1px solid var(--composer-line);border-radius:9px;background:var(--composer-soft)}.focused-editor .composer-suggestion-result{display:grid;gap:10px;margin-top:12px}.focused-editor .composer-suggestion-result>p{margin:0;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.6}.focused-editor .composer-suggestion-result>small{color:var(--composer-muted)}.focused-editor .composer-suggestion-result>button{justify-self:start}.composer-suggestion-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px}.suggestion-controls{margin:10px 0 16px}.suggestion-controls>summary{cursor:pointer;font-size:13px;margin-bottom:14px}.suggestion-control-grid{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);gap:20px}.suggestion-control-grid>div>.suggestion-range:first-child{margin-top:0}.suggestion-pad-label,.suggestion-range{font-size:13px}.suggestion-pad-label{display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px;margin-bottom:10px}.suggestion-pad-label output,.suggestion-range output,.suggestion-maturity-axis output{color:var(--composer-accent);font-variant-numeric:tabular-nums}.suggestion-pad-layout{display:grid;grid-template-columns:90px 1fr;gap:12px}.suggestion-emotion-axis{display:flex;flex-direction:column;justify-content:space-between;padding:4px 0;font-size:11px;line-height:1.5;color:var(--composer-muted)}.suggestion-pad{position:relative;height:160px;margin:8px 12px 8px 0;border:1px solid var(--composer-line);border-radius:10px;touch-action:none;cursor:crosshair;background:linear-gradient(to top,transparent,#a78bfa35),linear-gradient(to right,#60a5fa20,#e879f935),var(--composer-field)}.suggestion-pad-crosshair{position:absolute;pointer-events:none;opacity:.6}.suggestion-pad-crosshair.horizontal{left:0;right:0;top:50%;border-top:1px dashed var(--composer-line)}.suggestion-pad-crosshair.vertical{top:0;bottom:0;left:50%;border-left:1px dashed var(--composer-line)}.focused-editor .suggestion-pad-thumb{position:absolute;transform:translate(-50%,-50%);width:24px;height:24px;min-height:0;padding:0;border:3px solid var(--composer-paper);border-radius:50%;background:var(--composer-accent);box-shadow:0 1px 5px #0004;cursor:grab}.suggestion-pad-thumb:active{cursor:grabbing}.suggestion-maturity-axis{display:flex;justify-content:space-between;margin:6px 12px 10px 102px;font-size:11px;color:var(--composer-muted)}.suggestion-range{display:grid;grid-template-columns:1fr auto;gap:8px;margin-top:16px}.suggestion-range input{grid-column:1 / -1;width:100%;padding:0;accent-color:var(--composer-accent);cursor:pointer}.suggestion-range-ends{grid-column:1 / -1;display:flex;justify-content:space-between;font-size:11px;color:var(--composer-muted)}@media(max-width:600px){.suggestion-control-grid{grid-template-columns:1fr;gap:10px}}.app-dialog.editor-dialog.focused-editor{--composer-paper: var(--studio-surface, #fbfaf7);--composer-field: var(--studio-field, #fff);--composer-soft: var(--studio-soft, #f0f1ee);--composer-ink: var(--studio-ink, #263139);--composer-muted: var(--studio-muted, #657077);--composer-line: var(--studio-line, #dfe3e1);--composer-accent: var(--studio-accent, #315fa0);width:min(700px,94vw);background:var(--composer-paper);color:var(--composer-ink);border:1px solid var(--composer-line);border-radius:16px;color-scheme:inherit}.focused-editor>.editor-shell{--display-text: var(--composer-ink);--display-muted: var(--composer-muted);--display-field: var(--composer-field);--display-border: var(--composer-line);--display-route: var(--composer-accent)}.focused-editor>.editor-shell .modal-header,.focused-editor>.editor-shell .modal-footer{background:var(--composer-paper);border-color:var(--composer-line);padding:22px 28px}.focused-editor>.editor-shell .modal-header{border-bottom:0}.composer-heading{min-width:0}.focused-editor>.editor-shell .composer-heading h2{overflow-wrap:anywhere}.focused-editor>.editor-shell .modal-header>.icon-button{flex-shrink:0}.composer-current-scene{display:flex;align-items:center;gap:14px;min-width:0}.composer-current-scene img{width:112px;aspect-ratio:16 / 9;object-fit:cover;flex-shrink:0;border:1px solid var(--composer-line);border-radius:8px}.composer-current-scene span{display:grid;gap:4px}.composer-current-scene-details{display:grid;gap:8px;justify-items:start}.focused-editor>.editor-shell .modal-heading h2{color:var(--composer-ink);font-size:26px;font-weight:500}.focused-editor>.editor-shell .modal-heading .eyebrow{color:var(--composer-muted);font-size:10px}.focused-editor>.editor-shell .icon-button{color:var(--composer-muted)}.focused-editor>.editor-shell .icon-button:hover:not(:disabled){background:var(--composer-soft);border-color:var(--composer-line)}.focused-editor>.editor-shell .editor-content{padding:0}.focused-editor>.editor-shell .composer-origin{padding:12px 28px;background:var(--composer-soft);color:var(--composer-muted);display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;font-size:12px}.focused-editor>.editor-shell strong{font-weight:500}.focused-editor>.editor-shell .composer-origin strong{color:var(--composer-ink)}.focused-editor>.editor-shell .composer-body{padding:24px 28px}.focused-editor>.editor-shell .button.secondary,.focused-editor>.editor-shell .composer-reference-chips button{background:var(--composer-soft);border:1px solid var(--composer-line);color:var(--composer-ink);border-radius:7px;font-size:12px;font-weight:500}.focused-editor>.editor-shell .button.primary{background:var(--composer-accent);color:var(--studio-on-accent, #fff);border-radius:8px;font-size:12px}.focused-editor>.editor-shell .button.primary:disabled{background:var(--studio-soft, #d7e0ec);color:var(--studio-muted, #52647e);opacity:.8}.focused-editor>.editor-shell .button:hover:not(:disabled),.focused-editor>.editor-shell .composer-reference-chips button:hover{filter:none;background:var(--studio-selected, #e7edf6)}.focused-editor>.editor-shell .button.primary:hover:not(:disabled){background:var(--studio-accent-hover, #274e86)}.focused-editor>.editor-shell .composer-tool-toggle.composer-ai-help{background:color-mix(in srgb,var(--composer-accent) 12%,var(--composer-soft));border-color:color-mix(in srgb,var(--composer-accent) 40%,var(--composer-line))}.focused-editor>.editor-shell .composer-tool-toggle.composer-ai-help:hover:not(:disabled),.focused-editor>.editor-shell .composer-tool-toggle.composer-ai-help[aria-expanded=true]{background:color-mix(in srgb,var(--composer-accent) 22%,var(--composer-soft));border-color:var(--composer-accent)}.focused-editor>.editor-shell .composer-tool-toggle.composer-collapse-tool{background:var(--studio-amber-soft, #faf1db);border-color:color-mix(in srgb,var(--studio-amber, #8c641c) 40%,var(--composer-line));color:var(--studio-amber, #8c641c)}.focused-editor>.editor-shell .composer-tool-toggle.composer-collapse-tool:hover:not(:disabled){background:color-mix(in srgb,var(--studio-amber, #8c641c) 14%,var(--studio-amber-soft, #faf1db));border-color:var(--studio-amber, #8c641c)}.focused-editor>.editor-shell .claim-reservation-actions .button{min-height:50px;padding:12px 20px;border:2px solid var(--composer-accent);border-radius:8px;font-size:16px;font-weight:700;line-height:1.3}.focused-editor>.editor-shell .claim-reservation-actions .claim-renew-button{background:var(--composer-accent);color:var(--studio-on-accent, #fff)}.focused-editor>.editor-shell .claim-reservation-actions .claim-renew-button:hover:not(:disabled){background:var(--studio-accent-hover, #274e86);border-color:var(--studio-accent-hover, #274e86)}.focused-editor>.editor-shell .claim-reservation-actions .claim-release-button{background:var(--composer-paper);color:var(--composer-accent)}.focused-editor>.editor-shell .claim-reservation-actions .claim-release-button:hover:not(:disabled){background:var(--studio-selected, #e7edf6)}.focused-editor>.editor-shell .claim-reservation-actions .button:disabled{opacity:.5;cursor:not-allowed}.focused-editor>.editor-shell :is(button,input,textarea,select,summary):focus-visible{outline:2px solid var(--composer-accent);outline-offset:3px}.focused-editor>.editor-shell .script-heading{flex-direction:row;align-items:center;flex-wrap:wrap}.focused-editor>.editor-shell .script-heading label{font-family:inherit;font-size:16px;font-weight:500;letter-spacing:0;color:var(--composer-ink)}.focused-editor>.editor-shell .composer-text-button{display:inline-flex;align-items:center;gap:6px;padding:5px 0;border:0;background:transparent;color:var(--composer-accent);font:inherit;font-size:12px;min-height:32px}.focused-editor>.editor-shell .script-input{min-height:170px;font-size:15px!important;line-height:1.7;color:var(--composer-ink);border-color:var(--composer-line);background:var(--composer-field);border-radius:9px}.focused-editor>.editor-shell .script-input::placeholder{color:var(--composer-muted)}.focused-editor>.editor-shell .script-help{font-size:11px;color:var(--composer-muted);margin:8px 0 10px;flex-wrap:wrap}.focused-editor>.editor-shell .script-help>span:last-child{font:inherit;font-variant-numeric:tabular-nums}.focused-editor>.editor-shell .script-help b{color:var(--composer-accent)}.focused-editor>.editor-shell .composer-section-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin-bottom:10px}.focused-editor>.editor-shell .composer-section-heading h3{display:flex;align-items:center;gap:7px;margin:0;font-size:13px;font-weight:500;color:var(--composer-ink)}.focused-editor>.editor-shell .composer-section-heading>span{font-size:11px;color:var(--composer-muted)}.focused-editor>.editor-shell .composer-tool-intro{margin:0 0 12px}.focused-editor>.editor-shell .composer-command-list{display:flex;flex-wrap:wrap;gap:7px}.focused-editor>.editor-shell .composer-command-list .button{height:30px;padding:0 10px;font-size:11px}.focused-editor>.editor-shell .composer-speed{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px;margin-top:12px;font-size:12px}.focused-editor>.editor-shell .composer-speed>span{display:flex;align-items:center;gap:6px;color:var(--composer-muted)}.focused-editor>.editor-shell .composer-speed strong{color:var(--composer-ink)}.focused-editor>.editor-shell .composer-reference-chips{display:flex;gap:7px;flex-wrap:wrap}.focused-editor>.editor-shell .composer-reference-chips button{display:inline-flex;align-items:center;gap:7px;padding:7px 10px;min-height:34px}.focused-editor>.editor-shell .composer-reference-chips p,.focused-editor>.editor-shell .composer-note{color:var(--composer-muted);font-size:11px;line-height:1.65;margin:8px 0 0}.focused-editor>.editor-shell .composer-prompt-references{margin-bottom:22px}.focused-editor>.editor-shell .composer-reference-manager{margin-top:0}.focused-editor>.editor-shell .entity-panels{gap:14px;margin-bottom:15px}.focused-editor>.editor-shell .entity-panel,.focused-editor>.editor-shell .location-reference-panel{background:var(--composer-soft);border-color:var(--composer-line);border-radius:8px}.focused-editor>.editor-shell .entity-heading h3,.focused-editor>.editor-shell .prop-panel .entity-heading h3,.focused-editor>.editor-shell .library-choice small,.focused-editor>.editor-shell .prop-panel .library-choice small{color:var(--composer-muted)}.focused-editor>.editor-shell .entity-heading>span,.focused-editor>.editor-shell .prop-panel .entity-heading>span{background:var(--studio-soft, #e3e8ed);color:var(--composer-muted)}.focused-editor>.editor-shell .entity-row{border-color:var(--composer-line)}.focused-editor>.editor-shell .entity-list{height:220px}.focused-editor>.editor-shell .entity-panel:only-child{grid-column:1 / -1}.focused-editor>.editor-shell .actor-panel .entity-list{height:auto;max-height:220px}.focused-editor>.editor-shell .library-choice span{min-width:0;overflow-wrap:anywhere}.focused-editor>.editor-shell .entity-select{appearance:auto;width:14px;height:14px;flex-shrink:0;margin:0;padding:0;accent-color:var(--composer-accent)}.focused-editor>.editor-shell .reference-thumbnail{display:grid;place-items:center;width:44px;height:56px;flex-shrink:0;min-height:0;padding:0;overflow:hidden;border:1px solid var(--composer-line);border-radius:6px;background:var(--composer-field);color:var(--composer-muted)}.reference-thumbnail img{width:100%;height:100%;object-fit:cover}.prop-panel .reference-thumbnail img{object-fit:contain}.focused-editor>.editor-shell .reference-thumbnail:hover{border-color:var(--composer-accent)}.focused-editor>.editor-shell .entity-row.picked,.focused-editor>.editor-shell .prop-panel .entity-row.picked{background:var(--studio-selected, #e7edf6)}.focused-editor>.editor-shell .library-choice strong{color:var(--composer-ink)}.focused-editor>.editor-shell .library-choice input,.focused-editor>.editor-shell .prop-panel .library-choice input{accent-color:var(--composer-accent)}.focused-editor>.editor-shell .library-create-button,.focused-editor>.editor-shell .insert-entity,.focused-editor>.editor-shell .prop-panel .library-create-button,.focused-editor>.editor-shell .prop-panel .insert-entity,.focused-editor>.editor-shell .entity-add button{background:var(--composer-field);border-color:var(--composer-line);color:var(--composer-accent)}.focused-editor>.editor-shell .library-create-button>span,.focused-editor>.editor-shell .library-fee-note{color:var(--composer-muted)}.focused-editor>.editor-shell .entity-add input,.focused-editor>.editor-shell .prop-panel .entity-add input{color:var(--composer-ink);border-color:var(--composer-line);background:var(--composer-field)}.focused-editor>.editor-shell .location-reference-panel{margin:0}.focused-editor>.editor-shell .composer-setup{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:14px}.focused-editor>.editor-shell .composer-setup label,.focused-editor>.editor-shell .composer-source{display:flex;flex-direction:column;gap:7px;color:var(--composer-muted);font-size:12px}.focused-editor>.editor-shell .composer-setup select,.focused-editor>.editor-shell .composer-source select{min-height:39px;width:100%;min-width:0;padding:9px;border:1px solid var(--composer-line);border-radius:7px;color:var(--composer-ink);background:var(--composer-field);font-size:12px}.focused-editor>.editor-shell .composer-video-settings{margin-top:20px;border-top:1px solid var(--composer-line);padding-top:14px}.focused-editor>.editor-shell .composer-video-settings[hidden]{display:none}.focused-editor>.editor-shell .video-model-picker{border-color:var(--composer-line);color:var(--composer-ink)}.video-model-options{display:grid;gap:6px}.video-model-options label{display:flex;align-items:center;gap:10px;cursor:pointer}.video-model-options input[type=radio]{width:14px;min-width:14px;margin:0;padding:0;accent-color:var(--composer-accent)}.video-model-options .image-model-name small{display:block;font-size:11px;font-weight:400}.video-model-options .video-model-unavailable{opacity:.65;cursor:default}.focused-editor>.editor-shell .composer-video-settings summary{color:var(--composer-ink);font-size:12px;cursor:pointer}.focused-editor>.editor-shell .composer-video-settings summary>span{color:var(--composer-muted);margin-left:12px}.focused-editor>.editor-shell .composer-source{margin-top:15px}.focused-editor>.editor-shell .script-preview{margin-top:12px;background:var(--composer-soft);border-color:var(--composer-line)}.focused-editor>.editor-shell .script-preview p{color:var(--composer-ink);margin:0}.focused-editor>.editor-shell .script-reference.actor,.focused-editor>.editor-shell .script-reference.prop,.focused-editor>.editor-shell .script-reference.location{background:var(--studio-selected, #e3ecf8);color:var(--composer-accent)}.focused-editor>.editor-shell .mention-suggestions{background:var(--composer-field);border-color:var(--composer-line)}.focused-editor>.editor-shell .mention-suggestions button,.focused-editor>.editor-shell .mention-suggestions p{color:var(--composer-ink)}.focused-editor>.editor-shell .mention-suggestions button.highlighted{background:var(--studio-selected, #e7edf6)}.focused-editor>.editor-shell .mention-suggestions strong{color:var(--composer-accent)}.focused-editor>.editor-shell .mention-suggestions small{color:var(--composer-muted)}.focused-editor>.editor-shell .modal-footer{justify-content:flex-end}.focused-editor>.editor-shell .modal-footer>div{flex-wrap:wrap}.focused-editor>.editor-shell .composer-path{padding:20px 28px;background:var(--composer-soft);border-bottom:1px solid var(--composer-line)}.focused-editor>.editor-shell .composer-path .scene-context{margin-bottom:16px}.focused-editor>.editor-shell .step-assets{background:var(--composer-paper);border-color:var(--composer-line)}.focused-editor>.editor-shell .step-assets h3,.focused-editor>.editor-shell .step-asset-group h4,.focused-editor>.editor-shell .step-provenance dt{color:var(--composer-muted)}.focused-editor>.editor-shell .step-asset-group li{background:var(--studio-selected, #e7edf6);border-color:var(--composer-line)}.focused-editor>.editor-shell .step-asset-group li strong,.focused-editor>.editor-shell .step-provenance dd{color:var(--composer-ink)}.focused-editor>.editor-shell .step-asset-group li small,.focused-editor>.editor-shell .step-asset-group li em{color:var(--composer-accent)}.focused-editor>.editor-shell .reference-warning{background:var(--studio-red-soft, #fbeae4);color:var(--studio-red, #963c2d);border-color:var(--studio-line, #e5bfb5)}.focused-editor>.editor-shell .creation-notice{background:var(--studio-amber-soft, #f3efdf);color:var(--studio-amber, #665420);border-color:var(--studio-line, #ddd4b4)}.focused-editor>.editor-shell .generation-section-heading h3{color:var(--composer-ink)}.focused-editor>.editor-shell .video-generation .muted,.focused-editor>.editor-shell .composer-video-settings .muted{color:var(--composer-muted)}@media(max-width:600px){.claim-banner-status{flex-basis:100%;align-items:stretch}.claim-banner-status>.spot-countdown{justify-content:flex-end}.claim-reservation-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.focused-editor>.editor-shell .claim-reservation-actions .button{padding:12px 10px}.focused-editor>.editor-shell .modal-header,.focused-editor>.editor-shell .modal-footer,.focused-editor>.editor-shell .composer-origin{padding:16px 20px}.focused-editor>.editor-shell .composer-body,.focused-editor>.editor-shell .composer-path{padding:20px}.focused-editor>.editor-shell .script-input{font-size:16px!important}.focused-editor>.editor-shell .entity-panels{grid-template-columns:1fr}.focused-editor>.editor-shell .modal-footer{flex-wrap:wrap}.focused-editor>.editor-shell .modal-footer>div{margin-left:0}}@media(pointer:coarse){.focused-editor>.editor-shell .composer-command-list .button,.focused-editor>.editor-shell .composer-reference-chips button,.focused-editor>.editor-shell .composer-text-button{min-height:44px}}.scene-creator-page .editor-shell,.asset-creator-page .editor-shell{max-height:none}.focused-editor .composer-discard-error{margin:0;padding:12px 28px}.focused-editor .scene-generate-actions{align-items:center;gap:12px 18px}.focused-editor>.editor-shell .claim-expiry-notice{display:grid;gap:12px;padding:16px;margin-top:16px;border:1px solid var(--studio-amber, #665420);border-radius:10px;background:var(--studio-amber-soft, #f3efdf);color:var(--studio-amber, #665420)}.focused-editor>.editor-shell .claim-expiry-notice p{margin:0;font-size:14px;line-height:1.6}.focused-editor>.editor-shell .claim-expiry-notice strong{font-weight:650}.focused-editor>.editor-shell .claim-expiry-notice .claim-reclaim-link{display:inline-flex;align-items:center;justify-self:start;gap:8px;min-height:44px;padding:10px 14px;background:var(--composer-paper);border-color:var(--composer-accent);color:var(--composer-accent);font-size:14px;font-weight:600}.focused-editor label.scene-auto-accept{display:flex;flex-direction:row;align-items:center;gap:8px;font-size:12px;cursor:pointer}.focused-editor .scene-auto-accept input[type=checkbox]{appearance:auto;width:16px;height:16px;min-width:16px;padding:0;margin:0;accent-color:var(--studio-accent, #b5a2ff)}.focused-editor>.editor-shell .composer-clear-prompt{margin-left:auto}.focused-editor .scene-take-settings{display:grid;gap:10px;margin-bottom:18px}.composer-duration-control{display:grid;gap:8px;font-size:13px}.composer-duration-buttons{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.focused-editor>.editor-shell .composer-duration-buttons .button{display:flex;flex-direction:column;gap:5px;min-width:0;min-height:64px;padding:12px 6px;white-space:normal}.composer-duration-buttons .button>span{font-size:16px;font-weight:600}.composer-duration-buttons .button>small{font-size:11px;line-height:1.4}.focused-editor .scene-take-settings .scene-video-price{display:grid;gap:16px;margin:0;padding:18px;background:var(--composer-field);border:1px solid var(--composer-line);border-radius:10px;color:var(--composer-ink)}.scene-credit-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:0}.scene-credit-summary>div{display:grid;align-content:start;gap:6px}.scene-credit-summary dt{font-size:13px;line-height:1.5;color:var(--composer-muted)}.scene-credit-summary dd{margin:0;font-size:22px;font-weight:600;line-height:1.4;font-variant-numeric:tabular-nums}.scene-credit-summary dd span{font-size:13px;font-weight:400}.scene-billing-notes{display:grid;gap:8px;padding-top:14px;border-top:1px solid var(--composer-line)}.focused-editor>.editor-shell .scene-billing-notes p{margin:0;font-size:14px;line-height:1.6;color:var(--composer-ink)}@media(max-width:480px){.composer-duration-buttons{grid-template-columns:repeat(2,minmax(0,1fr))}.composer-current-scene img{width:88px}.scene-credit-summary{grid-template-columns:1fr;gap:14px}}.generation-spinner{flex-shrink:0;animation:generation-spin 1s linear infinite}.candidate-status{display:inline-flex;align-items:center;gap:7px;white-space:nowrap}html[data-theme] .candidate-status.candidate-status-busy{padding:6px 10px;font:inherit;font-size:12px;font-weight:600;color:var(--studio-accent, var(--display-accent));border-color:currentColor;background:var(--studio-selected, var(--display-field))}.generation-activity{--progress-color: var(--studio-accent, var(--display-accent));margin:16px 0;padding:16px;border-radius:12px;background:var(--studio-selected, var(--display-field))}.generation-activity-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}.generation-activity-heading>p{display:flex;align-items:center;gap:8px;margin:0;font-size:14px;font-weight:600;color:var(--progress-color)}.generation-percent{flex-shrink:0;color:var(--progress-color);font-size:clamp(46px,7vw,68px);font-weight:750;line-height:1;font-variant-numeric:tabular-nums;letter-spacing:-2px;animation:generation-percent-glow 2s ease-in-out infinite}.generation-percent-value{display:inline-block;animation:generation-percent-arrive .35s ease-out}.generation-percent-unit{margin-left:3px;font-size:.45em;letter-spacing:0}.generation-progress{height:10px;overflow:hidden;border-radius:999px;background:var(--studio-surface, var(--display-field))}.generation-progress>span{position:relative;display:block;height:100%;border-radius:inherit;background:var(--progress-color);overflow:hidden;transition:width .7s ease-out}.generation-progress>span:after{content:"";position:absolute;inset:0;background:linear-gradient(100deg,transparent 20%,#fff6 50%,transparent 80%);animation:generation-progress-shine 2s linear infinite}.generation-progress-indeterminate>span{width:40%;animation:generation-progress 1.8s ease-in-out infinite}.generation-activity-complete{--progress-color: var(--studio-green, var(--display-accent))}.generation-activity-complete .generation-percent,.generation-activity-complete .generation-progress>span:after{animation:none}.video-generation>.generation-section-heading{justify-content:flex-start}.video-take>.generation-activity:first-child{margin-top:0}.video-take>.candidate-details{margin:12px 0 0;color:var(--studio-muted, var(--display-muted));font-size:12px}.scene-video-price{display:grid;gap:5px}.scene-video-price>small{font-size:12px;line-height:1.6}@keyframes generation-spin{to{transform:rotate(360deg)}}@keyframes generation-progress{0%{transform:translate(-100%)}to{transform:translate(250%)}}@keyframes generation-percent-glow{50%{text-shadow:0 0 18px color-mix(in srgb,var(--progress-color) 35%,transparent)}}@keyframes generation-percent-arrive{0%{opacity:.5;transform:translateY(6px) scale(.94)}to{opacity:1;transform:translateY(0) scale(1)}}@keyframes generation-progress-shine{0%{transform:translate(-100%)}to{transform:translate(100%)}}@media(prefers-reduced-motion:reduce){.generation-spinner,.generation-percent,.generation-percent-value,.generation-progress>span,.generation-progress>span:after{animation:none}.generation-progress>span{transition:none}.generation-progress-indeterminate>span{width:100%;background:repeating-linear-gradient(90deg,var(--progress-color) 0 12px,transparent 12px 20px)}}.asset-generation-progress{scroll-margin-top:20px}.asset-generation-progress>div{margin-bottom:16px}.asset-generation-progress .image-candidate{margin-top:12px}.image-batch-price{display:grid;gap:6px}.image-batch-price small{font-size:12px}.creation-disclaimer{display:flex;align-items:flex-start;gap:14px;margin:0 0 24px;padding:18px 20px;border:2px solid #b3261e;border-left-width:6px;border-radius:10px;background:#fff0ed;color:#7a1712}.creation-disclaimer>svg{flex-shrink:0;margin-top:2px}.creation-disclaimer>div{min-width:0}.creation-disclaimer h3{margin:0 0 8px;color:inherit;font-size:17px;font-weight:750;line-height:1.3}.creation-disclaimer p{margin:0;color:inherit;font-size:15px;line-height:1.6}.creation-disclaimer p strong{display:block;margin-top:8px;color:inherit;font-size:16px;font-weight:800}.focused-editor>.editor-shell .creation-disclaimer{margin:0 28px 24px}.focused-editor>.editor-shell .creation-disclaimer p strong{font-weight:800}@media(max-width:600px){.creation-disclaimer{gap:10px;padding:14px}.focused-editor>.editor-shell .creation-disclaimer{margin-inline:18px}}.content-tag-picker{display:grid;gap:10px;margin:12px 0;padding:14px;border:1px solid var(--display-border);border-radius:10px;min-width:0}.content-tag-picker legend{padding:0 5px;font-weight:600}.content-category-picker{margin:0}.content-tag-genres{display:flex;flex-wrap:wrap;gap:8px 14px}.content-tag-genres .checkbox-label{display:inline-flex;align-items:center;gap:5px;font-size:12px;text-transform:capitalize}.content-tag-picker:disabled{opacity:.75}html[data-theme] .studio-new-story>.content-tag-picker{grid-column:1 / -1;margin:0}html[data-theme] .studio-new-story .content-tag-genres .checkbox-label,html[data-theme] .studio-new-story .content-category-picker .image-style-option{flex-direction:row}html[data-theme] .studio-new-story .content-tag-genres input{width:auto}.app-dialog.scene-asset-picker-dialog{position:fixed;margin:auto;width:580px;max-height:calc(100dvh - 24px);color:var(--display-text)}.scene-asset-picker-dialog .asset-picker-content{max-height:min(65dvh,600px);overflow-y:auto}.asset-picker-content>p{margin:0 0 16px;font-size:13px;line-height:1.6;color:var(--display-muted)}.asset-picker-search{display:flex;align-items:center;gap:9px;padding:10px 12px;border:1px solid var(--display-border);border-radius:6px;color:var(--display-muted);background:var(--display-field)}.asset-picker-search input{width:100%;min-width:0;padding:0;border:0;background:transparent;color:var(--display-text);font:inherit}.asset-picker-search:focus-within{outline:2px solid var(--studio-accent, #225bff);outline-offset:2px}.asset-picker-search input:focus{outline:none}.asset-picker-list{display:grid;gap:9px;margin-top:16px}.asset-picker-choice{display:flex;align-items:center;gap:12px;padding:12px;border:1px solid var(--display-border);border-radius:8px;cursor:pointer}.asset-picker-choice.picked{background:var(--studio-selected, var(--display-field))}.asset-picker-choice input{appearance:auto;width:16px;height:16px;margin:0;flex:none;accent-color:var(--studio-accent, #225bff)}.asset-picker-portrait{display:grid;place-items:center;width:48px;height:64px;flex:none;border-radius:5px;overflow:hidden;background:var(--display-field);color:var(--display-muted)}.asset-picker-portrait img{width:100%;height:100%;object-fit:cover}.asset-picker-details{display:grid;gap:4px;min-width:0;overflow-wrap:anywhere;font-size:14px}.asset-picker-details small{color:var(--display-muted);font-size:11px}.asset-picker-status{margin-left:auto;color:var(--display-muted);font-size:11px;flex-shrink:0}.asset-picker-badge{display:inline-flex;align-items:center;width:fit-content;max-width:100%;padding:3px 7px;border:1px solid;border-radius:5px;font-size:11px;font-weight:650;line-height:1.4}.asset-picker-details .asset-picker-rented{color:var(--studio-accent);background:var(--studio-selected);border-color:color-mix(in srgb,var(--studio-accent) 45%,transparent)}.asset-picker-in-scene{color:var(--studio-green);background:var(--studio-green-soft);border-color:color-mix(in srgb,var(--studio-green) 45%,transparent);white-space:nowrap}.scene-asset-picker-dialog .modal-footer{justify-content:flex-end}@media(max-width:420px){.asset-picker-choice{gap:8px;padding:9px}.asset-picker-portrait{width:36px;height:48px}}.location-picker-dialog .asset-picker-portrait{width:76px;height:54px}.drafts-total{display:inline-flex;align-items:center;gap:8px;color:var(--studio-muted);font-size:13px}.drafts-page .scene-draft-policy{margin:0 0 24px;max-width:900px}.drafts-page .scene-draft-rows{margin:0;max-height:none;overflow:visible;gap:14px}.drafts-page .scene-draft-row{display:grid;grid-template-columns:140px minmax(0,1fr) auto;padding:16px;background:var(--studio-surface)}.scene-draft-thumbnail{display:grid;place-items:center;width:100%;aspect-ratio:16 / 9;overflow:hidden;border-radius:6px;background:var(--studio-soft);color:var(--studio-muted)}.scene-draft-thumbnail img{width:100%;height:100%;object-fit:cover}.scene-draft-story{font-size:16px;font-weight:600;color:var(--studio-ink)}.drafts-page .scene-draft-description [role=timer]{font-variant-numeric:tabular-nums}.drafts-page .scene-draft-description .error{margin:4px 0 0}.drafts-page .scene-draft-actions{flex-wrap:wrap}.drafts-empty{display:grid;justify-items:center;gap:10px;text-align:center;margin-top:24px}.drafts-empty h2,.drafts-empty p{margin:0}@media(max-width:900px){.drafts-page .scene-draft-row{grid-template-columns:110px minmax(0,1fr);align-items:start}.drafts-page .scene-draft-actions{grid-column:1 / -1}}@media(max-width:480px){.drafts-page .scene-draft-row{grid-template-columns:80px minmax(0,1fr);gap:12px}}.story-introduction{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.05fr);align-items:center;gap:40px;padding:24px 0 32px;margin-bottom:24px;border-bottom:1px solid var(--studio-line)}.story-intro-copy{min-width:0}html[data-theme] .story-intro-title{margin:14px 0 20px;font-size:clamp(30px,3.3vw,46px);font-weight:650;line-height:1.12;letter-spacing:-1.6px}html[data-theme] .story-intro-title em{color:var(--studio-accent);font-style:normal}.story-intro-description{max-width:480px;color:var(--studio-muted);font-size:14px;line-height:1.75;margin:0 0 12px}.story-intro-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:24px}.story-intro-free{font-size:11px;line-height:1.6;color:var(--studio-muted);margin:12px 0 0}.story-intro-dismiss{grid-column:1 / -1;display:flex;align-items:center;flex-wrap:wrap;gap:12px}.story-intro-dismiss p{margin:0;color:var(--studio-muted);font-size:11px;line-height:1.6}.branch-example{min-width:0;padding:22px;border:1px solid var(--studio-line);border-radius:18px;background:var(--studio-surface);box-shadow:0 12px 36px var(--studio-shadow)}.branch-example-heading{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:8px;margin-bottom:20px}.branch-example-label{color:var(--studio-muted);font-size:10px}.branch-example-opening{display:flex;align-items:center;justify-content:center;gap:12px;padding:16px;border:1px solid var(--studio-accent);border-radius:12px;background:var(--studio-selected);color:var(--studio-accent)}.branch-example-opening>svg{flex-shrink:0}.branch-example-opening span{font-size:10px;font-weight:600}.branch-example-opening h3{margin:5px 0 0;font-size:16px;line-height:1.4;color:var(--studio-ink)}.branch-example-prompt{margin:16px 0 0;text-align:center;font-size:12px;line-height:1.5;color:var(--studio-muted)}.branch-example-paths{display:block;width:100%;height:32px;overflow:visible}.branch-example-paths path{fill:none;stroke:var(--studio-line);stroke-width:2;vector-effect:non-scaling-stroke}.branch-example-paths path.is-selected{stroke:var(--studio-accent);stroke-width:3}.branch-example-choices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}html[data-theme] .button.branch-example-choice{position:relative;display:flex;flex-direction:column;justify-content:flex-start;gap:9px;padding:14px 8px;min-height:104px;text-align:center;line-height:1.4;white-space:normal}html[data-theme] .button.branch-example-choice[aria-pressed=true]{color:var(--studio-accent);background:var(--studio-selected);border-color:var(--studio-accent);box-shadow:0 0 0 1px var(--studio-accent)}.branch-example-check{position:absolute;top:5px;right:5px}.branch-example-result{margin-top:16px;padding:14px;min-height:100px;border-radius:10px;background:var(--studio-soft)}.branch-example-result-label{display:flex;align-items:center;gap:7px;font-size:11px;font-weight:600;color:var(--studio-accent)}.branch-example-result p{margin:9px 0 0;font-size:13px;line-height:1.6;color:var(--studio-ink)}.branch-example-note{margin:12px 0 0;font-size:11px;line-height:1.6;color:var(--studio-muted)}.story-intro-actions .button:focus-visible,.branch-example-choice:focus-visible,.how-it-works-button:focus-visible{outline:2px solid var(--studio-accent);outline-offset:4px}.explore-stories>h2{scroll-margin-top:24px}.explore-stories>h2:focus-visible{outline:2px solid var(--studio-accent);outline-offset:5px}html[data-theme] .app-dialog.how-it-works-dialog{width:min(1040px,calc(100vw - 24px));padding:24px;overflow-y:auto}.how-it-works-close{position:sticky;top:0;z-index:1;display:flex;justify-content:flex-end;background:var(--studio-surface)}.how-it-works-dialog .story-introduction{gap:28px;padding-top:8px;margin-bottom:0}.how-it-works-steps{padding-left:20px;margin:20px 0 0;font-size:13px;line-height:1.65;color:var(--studio-muted)}.how-it-works-steps li+li{margin-top:10px}.how-it-works-steps strong{color:var(--studio-ink)}.how-it-works-footer{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:16px;padding-top:18px;font-family:inherit;letter-spacing:normal}.how-it-works-footer p{flex:1 1 240px;max-width:520px;color:var(--studio-muted);font-size:11px;line-height:1.6;margin:0}@media(max-width:1000px){.story-introduction{gap:24px}}@media(max-width:800px){.story-introduction{grid-template-columns:1fr;gap:24px;padding-top:12px}.story-intro-description{max-width:620px}html[data-theme] .story-intro-title{font-size:36px}.how-it-works-dialog .story-introduction{padding-top:16px}}@media(max-width:500px){html[data-theme] .story-intro-title{font-size:32px;letter-spacing:-1px}.story-intro-description{font-size:13px}.branch-example{padding:16px;border-radius:14px}.branch-example-heading{margin-bottom:14px}.branch-example-opening{padding:13px 10px;gap:8px}.branch-example-opening h3{font-size:14px}.branch-example-choices{gap:6px}html[data-theme] .button.branch-example-choice{font-size:11px;padding:14px 5px}html[data-theme] .app-dialog.how-it-works-dialog{padding:16px}.how-it-works-footer .button{width:100%}}.profile-page .profile-form{max-width:760px}.profile-page .profile-form+.profile-form{margin-top:24px}.profile-page .profile-form>h2{margin:0;font-size:18px}.profile-page .profile-note{margin:0;color:var(--display-muted);font-size:12px;line-height:1.6}.profile-page input[readonly]{background:var(--studio-soft);color:var(--studio-muted);cursor:default}.profile-avatar-section{display:grid;gap:18px;padding:22px 0;border-top:1px solid var(--display-border);border-bottom:1px solid var(--display-border)}.profile-avatar-section h2{font-size:18px;margin:0}.profile-avatar-choice{display:flex;align-items:center;gap:20px}.profile-avatar-preview{display:grid;place-items:center;width:100px;height:100px;flex:none;border-radius:50%;background:var(--studio-soft);color:var(--display-muted);border:2px solid var(--display-border);overflow:hidden}.profile-avatar-preview img{width:100%;height:100%;object-fit:cover}.profile-avatar-choice>div{display:grid;gap:10px;justify-items:start}.profile-avatar-source{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px;font-size:12px}.profile-avatar-source p{margin:0}.app-dialog.profile-actor-dialog{width:min(680px,calc(100vw - 24px))}.profile-actor-dialog h2{margin:0;font-size:20px}.profile-actor-content{max-height:65dvh;overflow-y:auto}.profile-actor-content>p{margin:0 0 18px;font-size:13px;line-height:1.6;color:var(--display-muted)}.profile-actor-search{display:flex;align-items:center;gap:10px;padding:10px 12px;border:1px solid var(--display-border);border-radius:8px;color:var(--display-muted);background:var(--display-field)}.profile-actor-search input{width:100%;min-width:0;border:0;padding:0;font:inherit;background:transparent;color:var(--display-text)}.profile-actor-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(130px,1fr));gap:12px;margin-top:18px}html[data-theme] .button.profile-actor-option{display:flex;flex-direction:column;align-items:stretch;gap:7px;height:auto;padding:9px;text-align:left;white-space:normal;overflow-wrap:anywhere}.profile-actor-option img{width:100%;aspect-ratio:1;object-fit:cover;border-radius:7px}.profile-actor-option strong{font-size:13px}.profile-actor-option small{color:var(--display-muted);font-size:11px}.profile-actor-empty{grid-column:1 / -1;font-size:13px;line-height:1.6}@media(max-width:500px){.profile-avatar-choice{align-items:flex-start;flex-direction:column;gap:14px}.profile-avatar-preview{width:88px;height:88px}.profile-actor-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}html[data-theme] .profile-page .profile-form{display:grid;gap:18px}html[data-theme] .profile-page .profile-form input[readonly]{background:var(--studio-soft);color:var(--studio-muted)}html[data-theme] .profile-page .profile-avatar-section h2{margin:0;font-size:18px}.app-dialog.avatar-crop-dialog{width:min(560px,calc(100vw - 24px));overflow-y:auto}.avatar-crop-dialog h2{margin:0;font-size:20px}.avatar-crop-content{padding:20px 24px}.avatar-crop-content>p{font-size:13px;line-height:1.6;margin:0 0 16px;color:var(--studio-muted)}.avatar-crop-viewport{position:relative;display:grid;place-items:center;aspect-ratio:1;width:min(100%,320px);margin:0 auto 20px;overflow:hidden;background:var(--studio-soft);border-radius:10px;touch-action:none;cursor:grab}.avatar-crop-viewport:active{cursor:grabbing}.avatar-crop-viewport:focus-visible{outline:2px solid var(--studio-accent);outline-offset:3px}.avatar-crop-viewport img{position:absolute;max-width:none;pointer-events:none;-webkit-user-select:none;user-select:none}.avatar-crop-viewport:after{content:"";position:absolute;inset:2px;border:2px solid #fff;border-radius:50%;box-shadow:0 0 0 100px #10111d70;pointer-events:none}.avatar-crop-viewport>span{color:var(--studio-muted);font-size:13px}.avatar-crop-sliders{display:grid;gap:16px;margin:0 0 20px}.avatar-crop-sliders label{display:grid;gap:8px;font-size:13px;color:var(--studio-ink)}.avatar-crop-sliders label>span{display:flex;align-items:center;gap:8px}.avatar-crop-sliders output{margin-left:auto;color:var(--studio-muted)}.avatar-crop-sliders input{width:100%;accent-color:var(--studio-accent)}.avatar-crop-actions{display:flex;align-items:center;justify-content:space-between;gap:12px}.avatar-crop-actions>div{display:flex;gap:8px}@media(max-width:500px){.avatar-crop-content,.avatar-crop-dialog .modal-header{padding:16px}.avatar-crop-dialog h2{font-size:18px}.avatar-crop-dialog .modal-footer{padding:16px}}html[data-theme] .workspace-page.leaderboard-page{max-width:1120px}.leaderboard-heading{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:20px;margin-bottom:26px}.leaderboard-heading>div{max-width:650px}html[data-theme] .leaderboard-heading h1{margin:12px 0;font-size:clamp(30px,3.5vw,40px)}.leaderboard-heading p{margin:0;max-width:590px;font-size:14px;line-height:1.7;color:var(--studio-muted)}.leaderboard-heading>.button{flex-shrink:0}.leaderboard-filters{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:24px}html[data-theme] .leaderboard-filters .button{min-height:42px;padding:11px 18px}.leaderboard-filters .button:focus-visible,.leaderboard-view:focus-visible{outline:2px solid var(--studio-accent);outline-offset:3px}.leaderboard-board{overflow:hidden;border:1px solid var(--studio-line);border-radius:18px;background:var(--studio-surface);box-shadow:0 8px 28px var(--studio-shadow)}.leaderboard-board-heading{display:flex;align-items:center;gap:14px;padding:24px;border-bottom:1px solid var(--studio-line)}.leaderboard-trophy{display:grid;place-items:center;flex-shrink:0;width:46px;height:46px;border-radius:13px;background:var(--studio-selected);color:var(--studio-accent)}.leaderboard-board-heading h2{margin:0 0 5px;font-size:19px;line-height:1.3;color:var(--studio-ink)}.leaderboard-board-heading p{margin:0;color:var(--studio-muted);font-size:12px;line-height:1.6}.leaderboard-count{margin-left:auto;flex-shrink:0;padding:5px 9px;border-radius:6px;background:var(--studio-soft);color:var(--studio-muted);font-size:11px}.leaderboard-columns,.leaderboard-row{display:grid;grid-template-columns:44px minmax(0,1fr) 150px 128px;align-items:center;gap:18px;padding:12px 24px}.leaderboard-columns{color:var(--studio-muted);background:var(--studio-soft);font-size:10px;letter-spacing:.4px}.leaderboard-columns>span:nth-child(3){text-align:right}.leaderboard-list{list-style:none;padding:0;margin:0}.leaderboard-row{min-height:104px;border-bottom:1px solid var(--studio-line)}.leaderboard-row:last-child{border-bottom:0}.leaderboard-row.is-leading{background:linear-gradient(90deg,var(--studio-selected),var(--studio-surface) 70%)}.leaderboard-rank{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;width:36px;height:40px;border-radius:10px;color:var(--studio-muted);background:var(--studio-soft);font-size:13px;font-weight:650;font-variant-numeric:tabular-nums}.is-leading .leaderboard-rank{color:var(--studio-on-accent);background:var(--studio-accent)}.leaderboard-identity{display:flex;align-items:center;gap:14px;min-width:0}.leaderboard-identity>div{min-width:0}.leaderboard-identity h3{margin:0;color:var(--studio-ink);font-size:16px;line-height:1.4;overflow-wrap:anywhere}.leaderboard-avatar{display:grid;place-items:center;flex-shrink:0;width:56px;height:56px;overflow:hidden;border:2px solid var(--studio-surface);border-radius:50%;box-shadow:0 0 0 1px var(--studio-line);background:var(--studio-selected);color:var(--studio-accent);font-size:17px;font-weight:600}.leaderboard-avatar img{width:100%;height:100%;object-fit:cover}.leaderboard-leading-label{display:inline-block;margin-top:4px;color:var(--studio-accent);font-size:11px}.leaderboard-metric{display:flex;align-items:baseline;justify-content:flex-end;flex-wrap:wrap;gap:5px;min-width:0;color:var(--studio-ink);font-variant-numeric:tabular-nums;text-align:right}.leaderboard-metric strong{font-size:22px;font-weight:650;overflow-wrap:anywhere}.leaderboard-metric>span{font-size:11px;color:var(--studio-muted)}.leaderboard-metric small{flex-basis:100%;font-size:10px;line-height:1.5;color:var(--studio-muted)}.leaderboard-view{justify-self:end}.leaderboard-note{display:flex;align-items:center;gap:8px;padding:15px 24px;border-top:1px solid var(--studio-line);color:var(--studio-muted)}.leaderboard-note>svg{flex-shrink:0}.leaderboard-note p{margin:0;font-size:11px;line-height:1.5}.leaderboard-state{display:grid;justify-items:center;gap:12px;padding:44px 24px;text-align:center}.leaderboard-state>svg{color:var(--studio-accent)}.leaderboard-state h3{margin:0;max-width:470px;font-size:18px;color:var(--studio-ink);line-height:1.4}.leaderboard-state p{margin:0;max-width:440px;color:var(--studio-muted);font-size:13px;line-height:1.7}.leaderboard-state>div{display:flex;flex-wrap:wrap;justify-content:center;gap:10px;margin-top:6px}.leaderboard-loading{width:28px;height:28px;border:3px solid var(--studio-line);border-top-color:var(--studio-accent);border-radius:50%;animation:leaderboard-spin 1s linear infinite}@keyframes leaderboard-spin{to{transform:rotate(360deg)}}@media(prefers-reduced-motion:reduce){.leaderboard-loading{animation:none}}@media(max-width:700px){.leaderboard-heading{gap:16px}.leaderboard-columns,.leaderboard-row{grid-template-columns:36px minmax(0,1fr) 100px;gap:12px;padding:14px 18px}.leaderboard-columns>span:last-child{display:none}.leaderboard-row{min-height:128px}.leaderboard-avatar{width:44px;height:44px;font-size:14px}.leaderboard-identity{gap:10px}.leaderboard-identity h3{font-size:14px}.leaderboard-metric strong{font-size:20px}.leaderboard-view{grid-column:2 / -1;justify-self:start}.leaderboard-board-heading{padding:18px;flex-wrap:wrap}.leaderboard-board-heading>div{flex:1;min-width:140px}.leaderboard-count{margin-left:60px}.leaderboard-note{padding:14px 18px}}@media(max-width:420px){.leaderboard-filters{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}html[data-theme] .leaderboard-filters .button{padding:10px 12px}.leaderboard-columns,.leaderboard-row{grid-template-columns:28px minmax(0,1fr) 70px;gap:10px;padding-left:12px;padding-right:12px}.leaderboard-rank{width:28px;height:36px}.leaderboard-avatar{width:36px;height:36px;font-size:12px}.leaderboard-identity{gap:8px}.leaderboard-metric{gap:2px 4px}.leaderboard-metric strong{font-size:18px}}.rental-page .story-grid{align-items:stretch;grid-auto-rows:1fr}.rental-page .rental-asset-card .entity-art{flex:none}.rental-page .rental-asset-card .asset-card-body{display:flex;flex-direction:column;flex:1}.rental-page .rental-asset-card .asset-card-heading h2{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2;overflow:hidden;min-height:2.6em}.rental-page .rental-asset-card .rental-card-description{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;line-clamp:3;overflow:hidden;min-height:4.65em}.rental-card-actions{display:grid;gap:8px;margin-top:auto;padding-top:8px}.rental-card-actions .button{width:100%}.rental-notice{color:var(--studio-green, var(--display-text))}.app-dialog.rental-dialog{width:min(480px,94vw)}.rental-fields{display:grid;gap:16px}.rental-fields p{margin:0;font-size:13px;line-height:1.6}.rental-fields label{display:grid;gap:8px;font-size:12px;font-weight:600}.rental-fields input,.rental-fields select{width:100%;min-width:0;padding:10px 12px;border:1px solid var(--display-border);border-radius:6px;background:var(--display-field);color:var(--display-text);font:inherit}.rental-dialog .modal-header h2{margin:0;overflow-wrap:anywhere}.app-dialog.rental-info-dialog{width:min(760px,calc(100vw - 24px))}.rental-info-shell{display:flex;flex-direction:column;max-height:calc(100dvh - 26px)}.rental-info-shell>.modal-header,.rental-info-shell>.modal-footer{flex:none}.rental-info-shell>.modal-header h2{margin:0;overflow-wrap:anywhere}.rental-info-content{min-height:0;overflow:auto}.rental-info-meta{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px;font-size:13px;color:var(--display-muted)}.rental-info-gallery{margin:20px 0}.rental-info-image{display:block;width:100%;padding:0;border:1px solid var(--display-border);border-radius:9px;overflow:hidden;background:var(--display-field);cursor:zoom-in}.rental-info-image img{display:block;width:100%;height:260px;object-fit:contain}.rental-info-thumbnails{display:flex;gap:8px;margin-top:10px;overflow-x:auto;padding:3px}.rental-info-thumbnails .button{flex:none;padding:4px}.rental-info-thumbnails .button[aria-pressed=true]{outline:2px solid var(--display-accent)}.rental-info-thumbnails img{width:48px;height:60px;object-fit:contain}.rental-info-image-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}.rental-info-section{margin:22px 0}.rental-info-section h3{font-size:14px;margin:0 0 8px}.rental-info-section p{margin:0;white-space:pre-wrap;overflow-wrap:anywhere;font-size:13px;line-height:1.65}.rental-info-prompt{padding:14px;border:1px solid var(--display-border);border-radius:8px;background:var(--display-field)}.rental-info-tags{display:flex;flex-wrap:wrap;gap:6px;padding:0;margin:0;list-style:none}.rental-info-tags li{max-width:100%;overflow-wrap:anywhere;border-radius:5px;padding:4px 8px;font-size:11px;background:var(--studio-soft, var(--display-field))}.rental-info-terms{font-size:12px;line-height:1.6;color:var(--display-muted)}.rental-info-shell>.modal-footer{justify-content:flex-end}@media(max-width:760px){html[data-theme] .rental-page .rental-kind-filters{grid-template-columns:repeat(3,minmax(0,1fr))}.rental-dialog .rental-fields input,.rental-dialog .rental-fields select{font-size:16px}}.credit-summary strong{font-size:1.5rem}.credit-packages{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:16px}.credit-entry{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 0;border-bottom:1px solid var(--border, #ddd)}.credit-entry p{font-size:.85rem;margin:4px 0}.creator-avatar{width:48px;height:48px;border-radius:50%;object-fit:cover}.rental-image{max-height:220px;object-fit:contain}.public-video{display:block;width:100%;max-height:65vh;background:#111}.asset-state-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}.test-admin-page{max-width:1180px;margin:0 auto;width:100%;padding-bottom:32px}.test-admin-login{max-width:430px;margin:40px auto;display:grid;gap:18px}.test-admin-login h1{font-size:28px;margin:0}.test-admin-layout{display:grid;grid-template-columns:minmax(260px,360px) minmax(0,1fr);gap:20px;align-items:start}.test-admin-page label{display:grid;gap:8px;margin-bottom:14px}.test-admin-page input{width:100%;min-width:0}.test-admin-page h2,.test-admin-page strong{overflow-wrap:anywhere}.test-admin-users{display:grid;gap:8px;max-height:60vh;overflow:auto;margin-top:14px}.test-admin-user{display:grid;gap:5px;width:100%;text-align:left;padding:14px;border:1px solid var(--display-border);border-radius:6px;background:var(--display-field);color:var(--display-text)}.test-admin-user small,.test-admin-balance span{color:var(--display-muted)}.test-admin-user.is-selected{border-color:var(--display-route);box-shadow:0 0 0 1px var(--display-route)}.test-admin-user:disabled{cursor:default;opacity:.7}.test-admin-balance{display:grid;gap:8px;margin:20px 0;font-size:14px}.test-admin-balance strong{font-size:24px}.test-admin-grant,.test-admin-review{border-top:1px solid var(--display-border);border-bottom:1px solid var(--display-border);padding:20px 0;margin:20px 0}.test-admin-actions{display:flex;gap:10px;flex-wrap:wrap}.test-admin-receipt{padding:14px 18px;border:1px solid var(--display-route);border-radius:6px;background:var(--display-field);overflow-wrap:anywhere}@media(max-width:760px){.test-admin-layout{grid-template-columns:1fr}.test-admin-login{margin:20px auto}.test-admin-users{max-height:36vh}.test-admin-page .credit-entry{align-items:flex-start;flex-wrap:wrap}}.quarantine-queue{margin-bottom:1.5rem}.admin-invite-codes{margin-bottom:1.5rem;min-width:0}.admin-invite-codes>.test-admin-actions{align-items:center;justify-content:space-between}.admin-invite-form{display:flex;align-items:end;flex-wrap:wrap;gap:12px;margin:20px 0 10px}.admin-invite-form label{flex:1 1 250px;margin-bottom:0}.admin-invite-form input{font-family:monospace}.admin-invite-table-scroll{overflow-x:auto;margin-top:20px}.admin-invite-table{border-collapse:collapse;width:100%;min-width:680px;text-align:left;font-size:13px}.admin-invite-table th,.admin-invite-table td{padding:12px;vertical-align:top;border-bottom:1px solid var(--display-border)}.admin-invite-table td:first-child{min-width:160px;max-width:280px}.admin-invite-table code,.admin-invite-table td{overflow-wrap:anywhere}.admin-invite-code{display:flex;align-items:flex-start;gap:8px}.admin-invite-code>code{flex:1;min-width:0}.admin-invite-code>button{flex-shrink:0}.test-admin-user-id{font-size:11px;overflow-wrap:anywhere}.test-admin-account-state{display:grid;gap:10px;margin:16px 0}.test-admin-account-state .button{justify-self:start}.quarantine-scene{padding:1.25rem 0;border-top:1px solid var(--display-border, #46504b);overflow-wrap:anywhere}.quarantine-scene video{display:block;width:min(100%,38rem);max-height:22rem;margin:1rem 0;background:#000}.quarantine-scene>.test-admin-actions{margin-top:1rem}.quarantine-reports{display:grid;gap:.75rem;margin:.75rem 0}.quarantine-reports article{padding:.75rem;border:1px solid var(--display-border, #46504b);border-radius:.5rem}.simple-story-layout{display:grid;grid-template-columns:minmax(0,1fr) 250px;gap:20px}.simple-tree-panel{padding:12px;overflow:hidden}.simple-tree-tools{display:flex;align-items:center;justify-content:space-between}.simple-tree{display:block;width:100%;height:560px;touch-action:none;cursor:grab}.simple-tree .tree-edge{stroke:var(--display-connection, #777);stroke-width:2;fill:none}.simple-tree .selected-edge{stroke:var(--display-route, #5888ff);stroke-width:4;fill:none}.simple-tree-node{cursor:pointer}.simple-tree-node rect{fill:var(--studio-surface, var(--display-surface, #fff));stroke:#8290a3;stroke-width:2}.simple-tree-node.selected rect,.simple-tree-node:focus rect{stroke:var(--display-route, #5888ff);stroke-width:4}.simple-tree-node text{fill:var(--studio-ink, var(--display-ink, #252522));font-size:14px}.simple-path{display:flex;flex-direction:column;gap:14px;align-self:start}.simple-path h2,.simple-path h3,.simple-path p{margin:0}.simple-actor-portraits{display:flex;flex-wrap:wrap;gap:10px}.simple-actor-portraits img{width:55px;height:65px;object-fit:cover;border-radius:12px}.public-story-choice{text-align:left;color:inherit;font:inherit;text-decoration:none}@media(max-width:700px){.simple-story-layout{grid-template-columns:1fr;gap:12px}.simple-tree{height:clamp(180px,30dvh,280px)}.simple-path{padding:16px;gap:10px}.simple-path-endpoints,.simple-path-play{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.simple-path .button{min-width:0;white-space:normal;height:auto;min-height:42px}}html[data-theme] .public-explore{--story-card-height:196px;padding-top:24px;padding-bottom:12px}.public-story-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,310px),1fr));gap:12px;margin-top:18px}html[data-theme] .public-story-list .public-story-choice{position:relative;isolation:isolate;display:grid;grid-template-columns:minmax(0,1fr) 162px;grid-template-rows:auto 1fr auto;align-items:start;gap:6px 10px;min-width:0;min-height:var(--story-card-height,196px);padding:12px;overflow:hidden;border:1px solid #ffffff30;border-radius:12px;color:#fff;background:linear-gradient(135deg,#465364,#1b2734 75%);box-shadow:0 5px 18px #11182714;transition:border-color .18s,box-shadow .18s}html[data-theme] .public-story-list .public-story-choice:hover{border-color:var(--studio-accent);box-shadow:0 8px 24px #11182728}.public-story-choice:focus-visible{outline:2px solid var(--display-route, #5888ff);outline-offset:3px}.public-story-backdrop{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-2}.public-story-choice:before{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;background:linear-gradient(90deg,#101827e8,#101827a0 45%,#10182718),linear-gradient(0deg,#101827d9,transparent 55%)}.public-story-scene-count{grid-column:1;grid-row:1;justify-self:start;align-self:flex-start;display:inline-flex;align-items:center;gap:4px;padding:3px 6px;border:1px solid #ffffff35;border-radius:7px;background:#101827bc;color:#fff;font-size:10px;font-weight:650}.public-story-cast{grid-column:2;grid-row:1 / 3;position:relative;display:block;align-self:start;width:150px;height:144px;margin:0}.public-story-actor-card{position:absolute;top:0;left:0;display:block;width:96px;height:126px;border:3px solid #fff;border-radius:9px;overflow:hidden;background:#dce2ea;box-shadow:0 3px 12px #0006;transform:translate(calc(var(--card-index) * 15px),calc(var(--card-index) * 7px)) rotate(calc(var(--card-index) * 5deg));transform-origin:50% 85%}.public-story-actor-card img{display:block;width:100%;height:100%;object-fit:cover;object-position:center 25%}.public-story-actor-placeholder{display:grid;place-items:center;width:100%;height:100%;color:#536477;background:linear-gradient(135deg,#e8edf3,#bac8d8)}.public-story-more-actors{position:absolute;right:0;bottom:0;z-index:5;display:grid;place-items:center;min-width:30px;height:30px;padding:0 6px;border:2px solid #fff;border-radius:50%;background:#1b2734;color:#fff;font-size:12px;font-weight:750}.public-story-copy{grid-column:1;grid-row:2;align-self:end;min-width:0;margin:0}html[data-theme] .public-story-list .public-story-choice h2{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden;color:#fff;font-size:18px;line-height:1.2;margin:0 0 4px;overflow-wrap:anywhere;text-shadow:0 1px 8px #0006}.public-story-open{display:inline-flex;align-items:center;gap:3px;font-size:11px;font-weight:600;color:#e3eaf5}.public-story-tags{grid-column:1 / -1;grid-row:3;display:flex;flex-wrap:wrap;gap:4px;list-style:none;padding:0;margin:0}.public-story-tags li{max-width:100%;padding:2px 5px;border:1px solid #f8dda099;border-radius:4px;background:#ffe7b2;color:#362815;font-size:10px;line-height:1.3;font-weight:700;overflow-wrap:anywhere}.public-story-tags .public-story-more-tags{border-color:#ffffff65;background:#ffffff1f;color:#fff}@media(prefers-reduced-motion:reduce){html[data-theme] .public-story-list .public-story-choice{transition:none}}.story-destination-nav{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:16px;padding:12px 32px}html[data-theme] .simple-story{max-width:none}@media(min-width:701px){.story-destination .simple-tree{height:max(440px,calc(100dvh - 295px))}}html[data-theme] .simple-story{padding-top:12px}html[data-theme] .simple-story .page-heading{margin-bottom:18px}.simple-tree-tools>div{display:flex;align-items:center;gap:6px}.simple-path>.button{display:flex;align-items:center;justify-content:center;gap:8px}.simple-tree.dragging{cursor:grabbing}.simple-tree-panel .simple-tree-hint{margin:6px 0;color:var(--display-muted);font-size:11px}.simple-path-endpoints,.simple-path-play{display:grid;gap:8px}.watch-creator-invite{display:flex;flex-direction:column;gap:8px;border-top:1px solid var(--studio-line);padding-top:14px}.simple-path .watch-creator-invite h3{font-size:16px;color:var(--studio-ink)}.simple-path .watch-creator-invite p{font-size:12px;line-height:1.5;color:var(--studio-muted)}.watch-creator-invite .button{width:100%}.simple-story-recap{border-top:1px solid var(--studio-line, #8290a3);padding-top:14px}.simple-story-recap h3{font-size:15px}.simple-story-recap p{margin-top:8px;overflow-wrap:anywhere}.simple-path-endpoints [aria-pressed=true]{outline:2px solid var(--display-route, #5888ff);outline-offset:1px}.simple-tree-node.path-start rect{stroke:#61ad86;stroke-width:5}.simple-tree-node.path-end rect{stroke:var(--display-route, #5888ff);stroke-width:5}@media(max-width:700px){html[data-theme] .workspace-page.public-explore{padding:14px 18px 8px}html[data-theme] .public-explore>h1{font-size:26px;margin:0 0 6px}html[data-theme] .public-explore>p{font-size:12px;line-height:1.5;margin:0 0 8px}.public-story-list{grid-template-columns:1fr;margin-top:14px}.story-destination-nav{padding:10px 18px}html[data-theme] .workspace-page.simple-story{padding:8px 18px 28px}html[data-theme] .simple-story .page-heading{gap:8px;margin-bottom:10px}html[data-theme] .simple-story .page-heading h1{font-size:26px;margin:4px 0 6px}html[data-theme] .simple-story .page-heading p{font-size:12px;line-height:1.5}html[data-theme] .simple-story .page-heading>a{font-size:11px}html[data-theme] .simple-story .simple-tree-panel{padding:12px}html[data-theme] .simple-story .simple-path{padding:16px}html[data-theme] .simple-story .simple-path h2{margin:0;font-size:22px}html[data-theme] .simple-tree{height:clamp(160px,22dvh,220px)}html[data-theme] .simple-tree-panel .simple-tree-hint{font-size:11px;line-height:1.4}html[data-theme] .app-header:has(.header-actions>a[href^="/login"]) .header-actions{width:auto;order:2;margin-left:auto}html[data-theme] .app-header:has(.header-actions>a[href^="/login"]) .theme-picker{width:90px;flex:none;padding:0 6px}html[data-theme] .app-header:has(.header-actions>a[href^="/login"]) .brand small{letter-spacing:1px}html[data-theme] .app-header:has(.header-actions>a[href^="/login"]) .studio-navigation{order:3}}.public-tag-filter{margin:22px 0}.story-pager{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;margin:18px 0}.story-pager p{margin:0;color:var(--studio-muted);font-size:12px}.story-pager-controls{display:flex;align-items:center;flex-wrap:wrap;gap:10px}.story-pager-controls>span{color:var(--studio-muted);font-size:12px}@media(max-width:420px){.story-pager-controls{gap:8px}html[data-theme] .story-pager-controls .button{padding:9px 10px}}.public-tag-heading{display:flex;align-items:baseline;flex-wrap:wrap;gap:8px 14px}.public-explore .recent-scenes h2,.public-explore .explore-stories>h2{margin:0;color:var(--studio-accent);font-size:22px;font-weight:700;line-height:1.3;letter-spacing:-.3px}.public-tag-list{display:flex;flex-wrap:wrap;align-content:start;align-items:flex-start;gap:6px;padding:8px;border:1px solid var(--studio-line);border-radius:10px;background:var(--studio-surface)}.public-tag-list:empty{display:none}.public-tag-chip{display:inline-flex;align-items:center;gap:6px;height:30px;max-width:100%;padding:4px 9px;border:1px solid var(--studio-line);border-radius:6px;background:var(--studio-soft);color:var(--studio-ink);font-size:11px;line-height:1.4;font-weight:650;cursor:pointer}.public-tag-chip>span:first-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.public-tag-preview{position:relative}.public-tag-measure{position:absolute;inset:0 0 auto;max-height:0;overflow:hidden;visibility:hidden;pointer-events:none}.public-tag-shortlist{max-height:84px;overflow:hidden}.public-tag-more{display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin-top:10px;font-size:11px;color:var(--studio-muted)}html[data-theme] .public-tags-dialog{width:min(650px,94vw);max-height:85dvh;padding:18px}.public-tags-dialog-heading{display:flex;justify-content:space-between;align-items:center;gap:12px}.public-tags-dialog-heading h2{margin:0;font-size:20px}.public-tags-search{display:flex;flex-direction:column;gap:6px;margin:16px 0 10px;font-size:12px}.public-tags-dialog-summary{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:12px;margin-bottom:10px;font-size:11px;color:var(--studio-muted)}.public-tags-dialog-summary .button{flex-shrink:0}.public-tag-all{max-height:45dvh;overflow-y:auto;overscroll-behavior:contain}.public-tag-chip[aria-pressed=true]{background:var(--studio-selected);border-color:var(--studio-accent);color:var(--studio-accent)}.public-tag-chip:focus-visible,.recent-scene-card:focus-visible,.recent-scene-arrow:focus-visible{outline:2px solid var(--studio-accent);outline-offset:2px}.public-tag-chip:disabled{opacity:.5;cursor:not-allowed}.public-tag-filter-body{margin-top:10px}.recent-scenes{margin:18px 0}.recent-scene-browser{display:grid;grid-template-columns:30px minmax(0,1fr) 30px;align-items:center;gap:6px}.recent-scene-arrow{display:grid;place-items:center;width:30px;height:44px;padding:0;border:1px solid var(--studio-line);border-radius:7px;background:var(--studio-surface);color:var(--studio-accent);cursor:pointer}.recent-scene-arrow:disabled{opacity:.35;cursor:default}.recent-scene-list{display:grid;grid-auto-flow:column;grid-auto-columns:120px;gap:8px;overflow-x:auto;scrollbar-width:none;padding:8px 2px;scroll-snap-type:x proximity}.recent-scene-list::-webkit-scrollbar{display:none}.recent-scene-card{display:flex;flex-direction:column;gap:3px;padding:5px;min-width:0;color:var(--studio-ink);background:var(--studio-surface);border:1px solid var(--studio-line);border-radius:7px;text-decoration:none;scroll-snap-align:start}.recent-scene-card:hover{border-color:var(--studio-accent)}.recent-scene-screen{display:grid;place-items:center;aspect-ratio:16 / 9;overflow:hidden;border-radius:4px;background:var(--studio-soft);color:var(--studio-muted)}.recent-scene-screen img{width:100%;height:100%;object-fit:cover}.recent-scene-card strong{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;font-size:11px;line-height:1.3}.recent-scene-card>span:last-child{font-size:9px;color:var(--studio-muted)}.story-sort{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px}html[data-theme] .story-sort .button{min-height:36px;padding:8px 12px;font-size:12px}html[data-theme] .story-sort .button[aria-pressed=true]{background:var(--studio-selected);border-color:var(--studio-accent);color:var(--studio-accent)}@media(max-width:700px){html[data-theme] .story-sort .button{min-height:40px;padding:8px 10px;font-size:11px}}html[data-theme] main.age-gate,.age-gate{box-sizing:border-box;min-height:100dvh;max-width:none;display:grid;place-items:center;padding:32px 20px;background:var(--studio-page, #f5f5fb);color:var(--studio-ink, #23233b)}.age-gate-card{width:100%;max-width:560px;box-sizing:border-box;padding:clamp(24px,5vw,44px);border:1px solid var(--studio-line, #dfdfed);border-radius:24px;background:var(--studio-surface, #fdfdff);box-shadow:0 16px 60px var(--studio-shadow, #3430570a)}.age-gate-badge{display:grid;place-items:center;width:64px;height:64px;margin-bottom:24px;border-radius:18px;background:var(--studio-selected, #eeeafa);color:var(--studio-accent, #6550e8);font-size:24px;font-weight:700}.age-gate-eyebrow{color:var(--studio-accent, #6550e8);font-size:11px;font-weight:600;letter-spacing:1.6px}html[data-theme] .age-gate h1,.age-gate h1{margin:12px 0 20px;font-size:clamp(28px,5vw,36px);line-height:1.15;letter-spacing:-1px}.age-gate p{font-size:15px;line-height:1.7;margin:0 0 16px}.age-gate-actions{display:grid;gap:12px;margin:28px 0 20px}.age-gate-button{min-height:48px;padding:12px 18px;border:1px solid var(--studio-line, #dfdfed);border-radius:12px;font-size:14px;font-weight:600}.age-gate-enter{color:var(--studio-on-accent, #fff);background:var(--studio-accent, #6550e8);border-color:transparent}.age-gate-leave{color:var(--studio-ink, #23233b);background:var(--studio-surface, #fdfdff)}.age-gate .age-gate-note{color:var(--studio-muted, #71718a);font-size:12px;margin-bottom:0}html .sidebar.route-sidebar{display:flex;flex-direction:column;gap:14px}.sidebar.route-sidebar>*{flex-shrink:0}.sidebar.route-sidebar h3{margin:0 0 8px;font-size:12px;font-weight:550}.sidebar.route-sidebar .preview-scene{width:100%;height:auto;aspect-ratio:16 / 9;margin:0;filter:none}.sidebar.route-sidebar .route-scene-summary p,.sidebar.route-sidebar .route-full-prompt p,.sidebar.route-sidebar .path-story-recap p{margin:0;color:var(--display-muted);font-size:12px;line-height:1.65;overflow-wrap:anywhere}.route-full-prompt{display:flex;flex-direction:column;gap:12px}.sidebar.route-sidebar .route-full-prompt p{white-space:pre-wrap}.sidebar.route-sidebar .route-summary{margin:0;align-self:stretch;gap:8px}.sidebar.route-sidebar .edit-scene-button,.sidebar.route-sidebar .scene-activity-note{margin:0}.story-studio .route-play-button{flex-shrink:0}.story-studio .scene-route-menu{position:fixed;z-index:80;width:200px;padding:5px;border:1px solid var(--studio-line, var(--display-border));border-radius:10px;background:var(--studio-surface, var(--display-field));box-shadow:0 6px 24px #0003}.scene-route-menu>button{display:flex;align-items:center;gap:9px;width:100%;min-height:38px;padding:8px 10px;border:0;border-radius:6px;background:var(--studio-soft, var(--display-field));color:var(--studio-ink, var(--display-text));text-align:left;font-size:12px}html[data-theme] .story-studio .edit-scene-button.continue-scene-button{background:#d5eadd;border-color:#31825b;color:#1d583b}html[data-theme] .story-studio .edit-scene-button.continue-scene-button:hover:not(:disabled){background:#c3e0ce;border-color:#23603f}.story-studio .continue-scene-button{flex-wrap:wrap;gap:7px}.story-studio .continue-scene-button .spot-countdown{font-size:inherit;white-space:nowrap}.story-studio .continue-scene-button .spot-countdown:before{content:"·"}.story-studio .timeline-play-actions{display:flex;align-items:center;gap:8px;flex-shrink:0}@media(max-width:760px){.story-studio .timeline-play-actions{flex-basis:100%;justify-content:flex-end}}.scene-claim-controls{display:flex;flex-direction:column;gap:8px;min-width:0}.scene-claim-controls .button{white-space:normal;height:auto;min-height:38px;padding:8px 10px}.console.cinema-web{--cinema-panel: #20332f;--cinema-ink: #edf5ec;--cinema-muted: #b4c9bd;--cinema-line: #73938d;--cinema-route: #94e5f8;border-radius:16px}.console.cinema-web .toolbar{gap:14px;flex-wrap:wrap}.console.cinema-web .controls{flex-wrap:wrap;gap:12px}html[data-theme] main.story-page-main.story-web-main{padding-top:8px}html[data-theme] .console.cinema-web>.toolbar{padding:12px 16px}.console.cinema-web .toolbar-title{width:100%;min-width:0;flex-wrap:nowrap;gap:10px}.story-web-symbol{display:inline-flex;flex-shrink:0;color:var(--studio-accent)}.console.cinema-web .toolbar-title .story-title-row{flex:1;min-width:0;margin:0;gap:10px;flex-wrap:nowrap}html[data-theme] .console.cinema-web .toolbar-title .story-title-row h1{flex:1;min-width:0}html[data-theme] .console.cinema-web .toolbar-title h1{margin:0;font-size:21px;line-height:1.3;letter-spacing:-.4px}html[data-theme] .console.cinema-web .toolbar-title .button{min-height:32px;padding:6px 9px;font-size:11px}.story-web-footer{padding:12px 16px;border-top:1px solid var(--studio-line);background:var(--studio-surface);border-radius:0 0 16px 16px}html[data-theme] .console.cinema-web .story-web-footer .controls{width:100%;justify-content:flex-start;gap:8px}html[data-theme] .console.cinema-web .story-web-footer .controls .button{min-height:38px;padding:8px 11px;font-size:12px}.story-web-footer .history-picker{margin-left:auto}.console.cinema-web .viewport{background-color:#172723;background-image:radial-gradient(ellipse at 30% 40%,#34534644,transparent 70%),radial-gradient(#abc8bd22 .8px,transparent .8px);background-size:auto,24px 24px}.console.cinema-web .viewport:after{box-shadow:inset 0 0 100px #0b181744;pointer-events:none}.console.cinema-web .canvas-label{color:var(--cinema-ink);font-size:10px;letter-spacing:2px}.console.cinema-web .canvas-label small,.console.cinema-web .layer-count span{color:var(--cinema-muted)}.console.cinema-web .layer-count{color:var(--cinema-ink)}.console.cinema-web .step{width:248px;height:260px;padding:7px;border-radius:12px;background:var(--cinema-panel);border:1px solid #6b9b7f;box-shadow:0 8px 24px #0004;text-align:left}.console.cinema-web .step.full-step{background:var(--cinema-panel);border-color:#cf897a}.console.cinema-web .step .step-screen{height:128px;border-radius:7px;filter:none;overflow:hidden}.console.cinema-web .step .step-screen:after{content:"";position:absolute;inset:0;background:linear-gradient(#06141133,transparent 40%,#06141199);pointer-events:none}.console.cinema-web .step .camera-code{top:9px;left:9px;font-size:9px;z-index:4;letter-spacing:1px;color:#fff;text-shadow:0 1px 4px #000}.cinema-duration{position:absolute;right:8px;top:8px;z-index:4;background:#0b161bd9;border-radius:4px;padding:3px 5px;color:#fff;font:9px monospace}.console.cinema-web .step .record-dot{top:12px;bottom:auto;right:58px;width:6px;height:6px;z-index:5}.console.cinema-web .step .node-metrics{left:8px;bottom:8px;padding:3px 5px;font-size:9px;background:#0b161bb3;border-radius:3px}.console.cinema-web .step .step-slot-dots{right:9px;bottom:10px;z-index:6}.console.cinema-web .step .step-slot-dots i{width:6px;height:6px}.console.cinema-web .step .step-caption{height:25px;margin-top:4px;padding:0 3px;color:var(--cinema-ink);font-size:9px;letter-spacing:.4px}.console.cinema-web .step.continuing-step .step-caption span:last-child{color:#a4e5b3}.console.cinema-web .step.full-step .step-caption span:last-child{color:#efb0a1}.cinema-scene-summary{margin:0;font:11px/1.5 Inter,system-ui,sans-serif;color:var(--cinema-muted, var(--display-muted));display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere}.console.cinema-web .step .cinema-scene-summary{padding:0 3px;height:33px}.console.cinema-web .step .node-badge{top:-22px;left:9px;right:auto;padding:4px 8px;background:var(--cinema-panel);border:1px solid #8ea799;border-radius:5px;color:var(--cinema-ink);font-size:8px;letter-spacing:1px}.console.cinema-web .origin-step{outline:none}.console.cinema-web .step.in-path{border-color:var(--cinema-route);box-shadow:0 0 0 2px var(--cinema-route),0 8px 28px #0b192d33}.console.cinema-web .step:focus-visible{outline:3px solid var(--cinema-route);outline-offset:6px}.console.cinema-web .step .node-history{bottom:-1px;left:16px;right:16px;height:3px}.console.cinema-web .tree-connection{stroke:var(--cinema-line)}.console.cinema-web .tree-connection.route-connection{stroke:var(--cinema-route)}.console.cinema-web .connection-port{fill:var(--cinema-line);stroke:var(--cinema-panel)}.console.cinema-web .connection-port.selected{fill:var(--cinema-route)}.cinema-map-hint{position:absolute;bottom:105px;left:24px;right:24px;font-size:10px;color:var(--cinema-muted);pointer-events:none}.cinema-map-hint span{margin:0 7px;opacity:.6}.console.cinema-web .legend{color:var(--cinema-ink);background:var(--cinema-panel);border:1px solid var(--display-border);border-radius:10px;padding:12px 15px;font-size:12px;line-height:1.5;gap:10px 16px;max-width:650px}.console.cinema-web .zoom-controls{border-radius:8px}[data-theme=after-hours] .console.cinema-web{--cinema-panel: #fffefa;--cinema-ink: #273c43;--cinema-muted: #53666c;--cinema-line: #849b9e;--cinema-route: #185bd6}[data-theme=after-hours] .console.cinema-web .viewport{background-color:#e8edeb;background-image:radial-gradient(ellipse at 30% 40%,#fffefa99,transparent 70%),radial-gradient(#71918c38 .8px,transparent .8px)}[data-theme=after-hours] .console.cinema-web .step.continuing-step .step-caption span:last-child{color:#267044}[data-theme=after-hours] .console.cinema-web .step.full-step .step-caption span:last-child{color:#aa4939}.cinema-public-web .simple-tree-node rect{fill:var(--surface-panel, #20332f);rx:12px}.cinema-public-web .simple-tree-node text{font-size:12px}.cinema-public-web .tree-edge{stroke-width:1.5}.simple-tree-tools{flex-wrap:wrap;gap:12px}@media(max-width:760px){html[data-theme] main.story-page-main.story-web-main{padding:4px 10px 16px}html[data-theme] .console.cinema-web>.toolbar{padding:10px 12px}html[data-theme] .console.cinema-web .toolbar-title h1{font-size:18px}.console.cinema-web .toolbar-title .story-title-rename-label{display:none}.story-web-footer{padding:10px 12px}html[data-theme] .console.cinema-web .story-web-footer .controls .my-scenes-toggle,html[data-theme] .console.cinema-web .story-web-footer .controls .empty-spots-toggle{flex:1 1 0;min-width:0;min-height:40px;padding:7px 5px;gap:4px;font-size:11px;white-space:normal}.console.cinema-web .story-web-footer .empty-spots-toggle .my-scenes-count{min-width:16px;padding:0 3px}.story-web-footer .controls .button>svg{flex-shrink:0}.console.cinema-web .canvas-label{top:22px;left:18px;font-size:8px}.console.cinema-web .layer-count{right:18px;font-size:9px}.console.cinema-web .layer-count span{display:none}.cinema-map-hint{left:18px;top:48px;bottom:auto;font-size:10px;max-width:260px;line-height:1.6}.console.cinema-web .canvas-bottom{align-items:flex-end;gap:8px;flex-wrap:wrap}.console.cinema-web .legend{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:100%;max-width:none;font-size:11px;padding:10px 12px;gap:7px 10px}}html[data-theme] .cinema-public-web .simple-tree{height:560px;background:radial-gradient(#81988c33 .8px,transparent .8px) 0 0 / 24px 24px;border-radius:12px}@media(max-width:700px){html[data-theme] .cinema-public-web .simple-tree{height:460px}}html[data-theme] .console.cinema-web .step.viewed-step{border-color:#07879b;border-width:3px;padding:5px}html[data-theme] .console.cinema-web .step.my-scene-step{background:#56213f}html[data-theme] .console.cinema-web .step.my-scene-step .step-caption,html[data-theme] .console.cinema-web .step.my-scene-step .step-caption span:last-child,html[data-theme] .console.cinema-web .step.my-scene-step .cinema-scene-summary{color:#ffe3f2}html[data-theme] .console.cinema-web .step.generating-step{outline:3px solid #e1a01b;outline-offset:3px}.console.cinema-web .node-authorship{z-index:5;top:8px;left:8px;font-size:9px}@media(max-width:760px){html[data-theme] .cinema-web .viewport{height:560px;min-height:560px}.console.cinema-web .zoom-controls{margin-left:auto}}html[data-theme] .console.cinema-web .origin-step .node-badge{top:-40px;left:0;transform:none;padding:8px 15px;border-radius:7px;background:var(--display-accent);border-color:var(--display-accent);color:#fff;font:700 12px/1.2 Inter,system-ui,sans-serif;letter-spacing:1.5px}html[data-theme] .cinema-public-web .cinema-start-label rect{fill:var(--display-accent);stroke:none;stroke-width:0}html[data-theme] .cinema-public-web .cinema-start-label text{fill:#fff;font:700 12px Inter,system-ui,sans-serif;letter-spacing:1.5px}.console.cinema-web .legend span{gap:8px}.console.cinema-web .legend i{width:11px;height:11px;flex-shrink:0}.console.cinema-web .canvas-bottom{align-items:flex-end;flex-wrap:wrap}.console.cinema-web .zoom-controls{flex-shrink:0;margin-left:auto}@media(max-width:760px){html[data-theme] .console.cinema-web .controls .history-picker,html[data-theme] .console.cinema-web .controls .route-details-toggle{display:none}.console.cinema-web .controls .my-scenes-toggle,.console.cinema-web .controls .empty-spots-toggle{flex:1 1 100%;min-height:38px;white-space:nowrap}.console.cinema-web .controls .empty-spots-toggle>svg{flex-shrink:0}}html[data-theme] .console.cinema-web .empty-spots-toggle[aria-pressed=true]{background:#146c36;color:#fff;border-color:#146c36;box-shadow:0 0 0 3px #5eea9270}html[data-theme] .console.cinema-web .empty-spots-toggle[aria-pressed=true] .my-scenes-count{background:#fff;color:#146c36}html[data-theme] .console.cinema-web .showing-empty-spots .step:not(.empty-spots-step){opacity:.2;filter:grayscale(1)}html[data-theme] .console.cinema-web .showing-empty-spots .step:not(.empty-spots-step):is(:hover,:focus-visible){opacity:1;filter:none}html[data-theme] .console.cinema-web .step.empty-spots-step{background:#d9ffe4;border-color:#0a7737;box-shadow:0 0 0 5px #21c968,0 8px 35px #21c96866}html[data-theme] .console.cinema-web .step.empty-spots-step.in-path{box-shadow:0 0 0 5px #21c968,0 0 0 8px var(--cinema-route),0 8px 35px #21c96866}html[data-theme] .console.cinema-web .step.empty-spots-step .step-caption,html[data-theme] .console.cinema-web .step.empty-spots-step .step-caption span:last-child,html[data-theme] .console.cinema-web .step.empty-spots-step .cinema-scene-summary{color:#104a28}.empty-spot-banner{position:absolute;z-index:7;inset:auto 0 0;min-height:38px;display:flex;align-items:center;gap:6px;padding:8px;background:#0a7737;color:#fff;text-align:left}.empty-spot-banner strong{font:800 14px/1.2 Inter,system-ui,sans-serif;letter-spacing:.3px}.console.cinema-web .empty-spots-step .node-metrics{bottom:44px}.console.cinema-web .empty-spots-step .step-slot-dots{bottom:47px}.console.cinema-web .empty-spots-step .record-dot{display:none}.console.cinema-web .empty-spots-toggle .my-scenes-count{display:inline-flex;align-items:center;justify-content:center;min-width:21px;height:21px;padding:0 5px;border-radius:5px;font-size:11px;font-weight:700}html[data-theme] .console.cinema-web .console-body.route-details-closed{grid-template-columns:minmax(0,1fr)}html[data-theme] .console.cinema-web .sidebar.route-sidebar[hidden]{display:none}html[data-theme] .console.cinema-web .route-details-toggle{min-height:38px;gap:8px;white-space:nowrap}html[data-theme] .console.cinema-web .route-details-toggle[aria-expanded=true]{background:var(--studio-selected);border-color:var(--studio-accent);color:var(--studio-accent)}.console.cinema-web .route-details-heading{display:flex;justify-content:space-between;align-items:center}html[data-theme] .console.cinema-web .route-details-close{width:30px;min-height:30px;height:30px;padding:0;display:grid;place-items:center}.canvas-route-heading{position:absolute;z-index:5;top:20px;left:22px;right:22px;pointer-events:none}.canvas-route-summary{display:flex;align-items:baseline;flex-wrap:wrap;gap:8px 12px;color:var(--cinema-ink);font:500 16px/1.5 Inter,system-ui,sans-serif}.canvas-route-summary strong{font-weight:750}.route-endpoint-separator{opacity:.5}.canvas-route-status{width:fit-content;margin:8px 0 0;padding:5px 9px;border-radius:5px;background:var(--cinema-panel);color:var(--cinema-ink);font-size:12px}@media(max-width:760px){.canvas-route-heading{top:16px;left:16px;right:16px}.canvas-route-summary{width:100%;gap:3px;font-size:14px}.canvas-route-summary>span:not(.route-endpoint-separator){flex-basis:100%}.canvas-route-summary .route-endpoint-separator{display:none}.console.cinema-web .cinema-map-hint{top:104px}.console.cinema-web .viewport:is(.showing-empty-spots,.is-playing) .cinema-map-hint{display:none}.console.cinema-web .sidebar.route-sidebar{scroll-margin-top:16px}}.canvas-route-box{display:flex;align-items:center;flex-wrap:wrap;gap:14px 24px;width:fit-content;max-width:100%;padding:16px 18px;border:2px solid var(--studio-accent);border-left-width:6px;border-radius:13px;background:linear-gradient(120deg,color-mix(in srgb,var(--studio-accent) 12%,var(--cinema-panel)),var(--cinema-panel));box-shadow:0 0 0 4px color-mix(in srgb,var(--studio-accent) 13%,transparent),0 10px 28px #00000020;pointer-events:auto;cursor:default}.canvas-play-actions{display:flex;align-items:center;gap:9px;flex-shrink:0}html[data-theme] .console.cinema-web .canvas-play-actions .button{min-height:40px;padding:9px 15px;font-size:13px;font-weight:650;white-space:nowrap;gap:7px}html[data-theme] .console.cinema-web .canvas-play-actions .route-play-button{background:var(--studio-accent);color:var(--studio-on-accent);border:1px solid var(--studio-accent)}html[data-theme] .console.cinema-web .canvas-play-actions .route-play-button:hover:not(:disabled){background:var(--studio-accent-hover)}@media(max-width:760px){.canvas-route-box{width:100%;padding:12px;gap:12px}.canvas-play-actions{width:100%}html[data-theme] .console.cinema-web .canvas-play-actions .button{flex:1;min-width:0;padding:9px 8px;font-size:12px}html[data-theme] .console.cinema-web .viewport{height:640px;min-height:640px}.console.cinema-web .cinema-map-hint{display:none}}html[data-theme] .console.cinema-web .step .step-select{display:block;width:100%;margin:0;padding:0;border:0;border-radius:7px;background:transparent;color:inherit;text-align:left;font:inherit}html[data-theme] .console.cinema-web .step .step-select:hover{background:transparent;filter:none}html[data-theme] .console.cinema-web .step .step-select:focus-visible{outline:2px solid var(--cinema-route);outline-offset:3px}html[data-theme] .console.cinema-web .step .scene-continue-button{display:flex;align-items:center;justify-content:center;gap:7px;width:100%;min-height:44px;height:44px;margin-top:8px;padding:7px 10px;border-radius:7px;font-size:12px;font-weight:700;letter-spacing:0}html[data-theme] .console.cinema-web .step .scene-continue-button:disabled{opacity:.7;background:var(--studio-soft);color:var(--studio-muted);border:1px solid var(--studio-line);box-shadow:none;cursor:not-allowed}html[data-theme] .console.cinema-web .step.empty-spots-step .scene-continue-button{background:#0a7737;color:#fff;border-color:#0a7737}html[data-theme] .console.cinema-web .step.empty-spots-step .scene-continue-button:hover:not(:disabled){background:#085b2a}html[data-theme] .console.cinema-web.public-story-web .step:not(.empty-spots-step){background:var(--cinema-panel);border-color:var(--display-border)}html[data-theme] .console.cinema-web.public-story-web .step .step-slot-dots,html[data-theme] .console.cinema-web.public-story-web .step .record-dot{display:none}html[data-theme] .console.cinema-web.public-story-web .step:not(.empty-spots-step) .step-caption,html[data-theme] .console.cinema-web.public-story-web .step:not(.empty-spots-step) .step-caption span:last-child{color:var(--cinema-ink)}
