.story-film{position:relative;isolation:isolate;width:100%;height:100%;min-width:0;min-height:1px;overflow:hidden;pointer-events:none;background:var(--story-film-background,#17394b);--story-film-fit:cover;--story-film-position:50% 50%}
.story-film-poster,.story-film-video,.story-film-frame{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:var(--story-film-fit);object-position:var(--story-film-position);pointer-events:none;border:0;transition:opacity .22s ease}
.story-film-poster{z-index:1;opacity:1}.story-film-frame{z-index:2;opacity:0}.story-film-video{z-index:3;opacity:0}
.story-film[data-state=playing] .story-film-video,.story-film[data-state=paused][data-has-frame=true] .story-film-video{opacity:1}
.story-film[data-state=playing] .story-film-poster,.story-film[data-state=paused][data-has-frame=true] .story-film-poster{opacity:0}
.story-film[data-state=resting][data-has-snapshot=true] .story-film-frame,.story-film[data-state=loading][data-has-snapshot=true] .story-film-frame{opacity:1}
.story-film[data-state=resting][data-has-snapshot=true] .story-film-poster,.story-film[data-state=loading][data-has-snapshot=true] .story-film-poster{opacity:0}
.story-film-compact{--story-film-fit:contain}
.story-film-reduced .story-film-poster,.story-film-reduced .story-film-frame,.story-film-reduced .story-film-video{transition:none}
.reduce-motion .story-film-poster,.reduce-motion .story-film-frame,.reduce-motion .story-film-video{transition:none}
@media(prefers-reduced-motion:reduce){.story-film-poster,.story-film-frame,.story-film-video{transition:none}}
/* Motion preference always shows the deliberate book still, even mid-film. */
.story-film.story-film-reduced[data-state] .story-film-poster{opacity:1}
.story-film.story-film-reduced[data-state] .story-film-video,.story-film.story-film-reduced[data-state] .story-film-frame{opacity:0}
