/* A single original film, without the former journey reader or chapters. */
#tool-sheet[data-kind="journey"][data-journey-view="video"]{width:min(calc((100dvh - 32px)*.5625),calc(100vw - 32px));height:calc(100dvh - 32px);max-width:none;max-height:none;padding:0;border:0;border-radius:16px;background:#080706;color:#fff;overflow:hidden}
#tool-sheet[data-journey-view="video"]::backdrop{background:#080706ed;backdrop-filter:blur(8px)}
#tool-sheet[data-journey-view="video"]>header{position:absolute;inset:0 0 auto;height:0;min-height:0;margin:0;padding:0;border:0;background:none;pointer-events:none;z-index:2}
#tool-sheet[data-journey-view="video"]>header h2{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
#tool-sheet[data-journey-view="video"]>header [data-close]{position:absolute;top:max(10px,env(safe-area-inset-top));right:max(10px,env(safe-area-inset-right));width:44px;height:44px;border:1px solid #ffffff70;border-radius:50%;background:#080706a8;color:#fff;pointer-events:auto;font-size:28px;line-height:1}
#tool-sheet[data-journey-view="video"] #tool-sheet-content{height:100%;min-height:0;overflow:hidden}
.story-video-stage{position:relative;display:grid;place-items:center;width:100%;height:100%;min-height:0;background:#080706}
.story-direct-video{display:block;width:100%;height:100%;max-height:100%;object-fit:contain;background:#080706;outline-offset:-4px}
.story-video-status{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);display:flex;align-items:center;gap:10px;max-width:calc(100% - 40px);padding:12px 16px;margin:0;border-radius:30px;background:#080706bf;color:#fff;font:500 12px/1.5 Manrope,Arial,sans-serif;pointer-events:none;white-space:nowrap}
.story-video-status::before{content:'';width:16px;height:16px;flex:none;border:2px solid #ffffff50;border-top-color:#fff;border-radius:50%;animation:story-video-buffer 1s linear infinite}
.story-video-retry{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);max-width:calc(100% - 40px);min-height:48px;padding:14px 20px;border:1px solid #ffffff80;border-radius:30px;background:#080706d9;color:#fff;font:600 13px/1.4 Manrope,Arial,sans-serif;cursor:pointer}
.story-video-status[hidden],.story-video-retry[hidden]{display:none}
#tool-sheet[data-journey-view="video"] :is(video,button):focus-visible{outline:2px solid #ffd36a;outline-offset:-4px}
@keyframes story-video-buffer{to{transform:rotate(360deg)}}
@media(max-width:799px),(orientation:portrait){#tool-sheet[data-kind="journey"][data-journey-view="video"]{width:100vw;height:100dvh;max-width:none;max-height:none;margin:0;border-radius:0}}
@media(prefers-reduced-motion:reduce){.story-video-status::before{animation:none}}
.motion-off .story-video-status::before{animation:none}

/* Full-window playback: the original portrait film is fitted, never filled/cropped. */
html .phone-first #tool-sheet[data-kind="journey"][data-journey-view="video"]{
 position:fixed;inset:0;left:0;right:0;top:0;bottom:0;margin:0;
 width:100vw;height:100dvh;max-width:100vw;max-height:100dvh;
 padding:0;border:0;border-radius:0;box-sizing:border-box;overflow:hidden;background:#080706;
}
html .phone-first #tool-sheet[data-journey-view="video"] #tool-sheet-content{
 position:relative;display:block;width:100%;height:100%;max-height:100%;
 padding:0;margin:0;box-sizing:border-box;
}
html .phone-first #tool-sheet[data-journey-view="video"] .story-video-stage{
 position:relative;width:100%;height:100%;min-height:0;padding:0;margin:0;box-sizing:border-box;
}
html .phone-first #tool-sheet[data-journey-view="video"] video.story-direct-video{
 position:absolute;inset:0;display:block;width:100%;height:100%;
 min-width:0;min-height:0;max-width:100%;max-height:100%;margin:0;padding:0;
 object-fit:contain!important;object-position:50% 50%;aspect-ratio:auto;
 transform:none!important;clip-path:none;border-radius:0;background:#080706;
}
video.story-direct-video:fullscreen{
 width:100vw!important;height:100vh!important;max-width:100vw;max-height:100vh;
 object-fit:contain!important;object-position:50% 50%;transform:none!important;background:#080706;
}
video.story-direct-video:-webkit-full-screen{
 width:100vw!important;height:100vh!important;max-width:100vw;max-height:100vh;
 object-fit:contain!important;object-position:50% 50%;transform:none!important;background:#080706;
}

html .phone-first #tool-sheet[data-journey-view="video"]>header{z-index:20}html .phone-first #tool-sheet[data-journey-view="video"] #tool-sheet-content{z-index:0}
