.storyboard-view{margin:22px 0 14px;font:14px/1.5 system-ui,sans-serif}.storyboard-view [hidden],#story-read-view[hidden]{display:none!important}.storyboard-modebar{display:flex;align-items:center;gap:15px;justify-content:space-between;margin-bottom:15px}.storyboard-modebuttons{display:flex;gap:5px;background:var(--pale,#edf2f0);padding:4px;border-radius:10px}.storyboard-view .storyboard-modebuttons button{border:0;border-radius:7px;padding:10px 19px;font-size:15px}.storyboard-view .storyboard-modebuttons button[aria-pressed=true]{background:var(--ink,#203b43);color:var(--paper,#faf7ef)}.storyboard-hint{font-size:12px;color:var(--muted);margin:0;max-width:250px}.storyboard-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:9px}.storyboard-heading p{font-weight:650;margin:0}.storyboard-view .storyboard-heading button{font-size:12px;padding:8px 10px}.storyboard-stage{position:relative;aspect-ratio:3/2;overflow:hidden;isolation:isolate;background:#10191e;border-radius:10px;border:1px solid #263c43}.storyboard-stage img{display:block;width:100%;height:100%;object-fit:cover;transform-origin:50% 50%;transition:opacity 180ms linear;will-change:transform}.storyboard-stage img.is-loading{opacity:.45}.storyboard-scene-number{position:absolute;top:10px;left:10px;background:#0d151ddd;color:#f7f4eb;padding:5px 8px;border-radius:5px;font-size:11px;letter-spacing:.25px;pointer-events:none}.storyboard-words{padding:13px 3px 8px;min-height:105px}.storyboard-caption{font-weight:700;font-size:13px;color:var(--teal,#467b80);margin:0 0 6px}.storyboard-transcript{font:17px/1.55 Georgia,serif;margin:0;max-height:132px;overflow-y:auto;scrollbar-width:thin}.storyboard-navigation{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:12px 0}.storyboard-navigation p{font-size:12px;color:var(--muted);margin:0;white-space:nowrap}.storyboard-view .storyboard-navigation button{padding:9px 11px;font-size:12px}.storyboard-view button:disabled{opacity:.45;cursor:default}.storyboard-filmstrip{display:flex;gap:8px;overflow-x:auto;overscroll-behavior-x:contain;padding:4px 2px 10px;scrollbar-width:thin;scroll-snap-type:x proximity}.storyboard-view .storyboard-shot{position:relative;flex:0 0 100px;border:2px solid transparent;padding:0;border-radius:6px;overflow:hidden;background:#142127;color:white;scroll-snap-align:start;opacity:.7}.storyboard-view .storyboard-shot img{display:block;width:100%;height:64px;object-fit:cover}.storyboard-view .storyboard-shot span{display:block;font-size:10px;padding:4px 5px;text-align:left;font-variant-numeric:tabular-nums}.storyboard-view .storyboard-shot[aria-current=true]{border-color:var(--blue,#2276bb);opacity:1;box-shadow:0 0 0 1px var(--blue,#2276bb)}.storyboard-view .storyboard-shot:hover{opacity:1}.storyboard-unavailable{background:var(--pale,#edf2f0);padding:20px;border-radius:9px;margin-bottom:14px}.storyboard-unavailable p{margin:0 0 14px}.storyboard-view :focus-visible{outline:3px solid var(--blue,#2276bb);outline-offset:3px}
@media(max-width:560px){.storyboard-modebar{align-items:flex-start;gap:10px}.storyboard-hint{font-size:11px;max-width:150px}.storyboard-view .storyboard-modebuttons button{padding:9px 15px}.storyboard-heading p{font-size:13px}.storyboard-words{min-height:120px}.storyboard-transcript{font-size:16px;max-height:150px}.storyboard-navigation{gap:6px}.storyboard-view .storyboard-navigation button{font-size:11px;padding:9px 8px}.storyboard-navigation p{font-size:11px}.storyboard-view .storyboard-shot{flex-basis:88px}.storyboard-view .storyboard-shot img{height:57px}}
@media(prefers-reduced-motion:reduce){.storyboard-stage img{transition:none!important;transform:none!important;will-change:auto}.storyboard-filmstrip{scroll-behavior:auto}}
.storyboard-stage .storyboard-video{position:absolute;inset:0;z-index:1;display:block;width:100%;height:100%;object-fit:cover;pointer-events:none;background:#10191e}
.storyboard-stage .storyboard-scene-number{z-index:2}
@media print{.storyboard-view{display:none!important}#story-read-view[hidden]{display:block!important}}

.storyboard-options{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:0 0 10px}.storyboard-view .storyboard-options button{font-size:12px;padding:7px 10px}.storyboard-options button[aria-pressed=true]{background:var(--pale,#edf2f0);border-color:var(--teal,#467b80)}.storyboard-options label{display:flex;align-items:center;gap:8px;font-size:11px;color:var(--muted);margin-left:auto}.storyboard-options input{width:95px;accent-color:var(--teal,#467b80)}

/* Fullscreen is a picture player, with the same overlay layout in the mobile
   fallback when a browser cannot grant native element fullscreen. */
body.storyboard-lockscroll{overflow:hidden!important}
#story-audio.storyboard-fullscreen{position:fixed;inset:0;z-index:10000;width:100%;height:100dvh;max-width:none;margin:0;padding:0;border:0;border-radius:0;background:#090e12;overflow:hidden;color:#fff}
#story-audio.storyboard-fullscreen>:not(#audio-transport-slot):not(#storyboard-view){display:none!important}
#story-audio.storyboard-fullscreen .storyboard-view{position:absolute;inset:0;left:50%;right:auto;max-width:233.333333dvh;margin:0;width:100%;height:100%;transform:translateX(-50%)}
#story-audio.storyboard-fullscreen .storyboard-modebar,#story-audio.storyboard-fullscreen .storyboard-words,#story-audio.storyboard-fullscreen .storyboard-navigation,#story-audio.storyboard-fullscreen .storyboard-filmstrip,#story-audio.storyboard-fullscreen .storyboard-scene-number{display:none!important}
#story-audio.storyboard-fullscreen .storyboard-stage{position:absolute;inset:0;width:100%;height:100%;aspect-ratio:auto;border:0;border-radius:0;background:#090e12}
#story-audio.storyboard-fullscreen .storyboard-stage:after{content:"";position:absolute;inset:0;z-index:2;pointer-events:none;background:linear-gradient(#0009,transparent 23%,transparent 70%,#0009);opacity:1}
#story-audio.storyboard-fullscreen .storyboard-heading{position:absolute;z-index:3;top:max(10px,env(safe-area-inset-top));left:max(16px,env(safe-area-inset-left));right:max(16px,env(safe-area-inset-right));margin:0;color:#fff}
#story-audio.storyboard-fullscreen .storyboard-heading p{font-size:14px;text-shadow:0 1px 5px #000}
#story-audio.storyboard-fullscreen .storyboard-heading button,#story-audio.storyboard-fullscreen .storyboard-options button{background:#10191ed9;color:#fff;border:1px solid #ffffff65;min-height:44px}
#story-audio.storyboard-fullscreen .storyboard-options{position:absolute;z-index:3;top:calc(max(10px,env(safe-area-inset-top)) + 47px);left:max(16px,env(safe-area-inset-left));right:max(16px,env(safe-area-inset-right));justify-content:flex-start}
#story-audio.storyboard-fullscreen .storyboard-options label{color:#fff;margin-left:6px;text-shadow:0 1px 5px #000}
#story-audio.storyboard-fullscreen #audio-transport-slot{position:absolute;z-index:4;bottom:max(12px,env(safe-area-inset-bottom));left:max(12px,env(safe-area-inset-left));right:max(12px,env(safe-area-inset-right));max-width:1040px;margin:0 auto;min-height:0!important}
#story-audio.storyboard-fullscreen #audio-transport{position:static;transform:none;width:100%;margin:0;background:#0b151cdd;color:#fff;border-color:#ffffff40;box-shadow:none;padding:10px 14px;backdrop-filter:blur(8px)}
#story-audio.storyboard-fullscreen .audio-now-playing{display:none}
#story-audio.storyboard-fullscreen .audio-toggle{background:#fff;color:#10191e;border-color:#fff}
#story-audio.storyboard-fullscreen .audio-timeline input{accent-color:#70c9ff}
#story-audio.storyboard-fullscreen.storyboard-controls-hidden .storyboard-heading,#story-audio.storyboard-fullscreen.storyboard-controls-hidden .storyboard-options,#story-audio.storyboard-fullscreen.storyboard-controls-hidden #audio-transport-slot{opacity:0;pointer-events:none}
#story-audio.storyboard-fullscreen.storyboard-controls-hidden .storyboard-stage:after{opacity:0}
@media(max-height:450px){#story-audio.storyboard-fullscreen .storyboard-options{top:max(10px,env(safe-area-inset-top));left:40%;right:125px}#story-audio.storyboard-fullscreen .storyboard-options label{display:none}#story-audio.storyboard-fullscreen .storyboard-heading p{font-size:12px;max-width:35%;line-height:1.2}}
@media(max-width:560px){#story-audio.storyboard-fullscreen .storyboard-heading p{font-size:12px;max-width:65%}#story-audio.storyboard-fullscreen .storyboard-options input{width:70px}#story-audio.storyboard-fullscreen #audio-transport{padding:9px}}
