/* The root page already rotates portrait phones into the landscape layout. */
body.intro-video-active>:not(#introVideoScreen):not(script){visibility:hidden}
#introVideoScreen{position:fixed;inset:0;z-index:10001;overflow:hidden;background:#50adf0;color:#fff;isolation:isolate}
#introVideo{display:block;width:100%;height:100%;object-fit:contain;background:#000}
#introVideoCover{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center;background:#50adf0;pointer-events:none}
#introVideoScreen.has-video #introVideoCover{visibility:hidden}
#introVideoScreen:not(.has-video):not(.video-failed) #introVideoSkip{visibility:hidden}
#introVideoScreen:not(.has-video) #introVideoStatus{display:none}
#introVideoScreen.video-failed #introVideoStatus{display:block}
#introVideoScreen:not(.has-video) .intro-video-message{top:84%;width:max-content;max-width:calc(100% - 32px);gap:8px}
#introVideoScreen button[hidden]{display:none}
#introVideoSkip{position:absolute;top:max(18px,env(safe-area-inset-top));min-height:44px;padding:10px 18px;border:0;border-radius:0;background:none;color:#fff;font-size:14px;line-height:22px;white-space:nowrap;text-shadow:0 1px 6px #000b;touch-action:manipulation}
#introVideoSkip{right:max(22px,env(safe-area-inset-right));min-width:132px}
#introVideoSkip:disabled{cursor:default;color:#ffffffe6}
#introVideoScreen button:focus-visible{outline:2px solid #f3d490;outline-offset:4px}
.intro-video-message{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);display:grid;justify-items:center;gap:16px;text-align:center;pointer-events:none}
#introVideoStatus{margin:0;padding:10px 18px;border-radius:20px;background:#0009;font-size:14px;line-height:1.6}
#introVideoPlay{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:9px 18px;border:1px solid #fff9;border-radius:24px;background:#f8f1dc;color:#294f40;font-size:14px;line-height:22px;pointer-events:auto;touch-action:manipulation}
@media(max-height:450px){#introVideoSkip{top:max(12px,env(safe-area-inset-top));font-size:12px;padding:8px 14px;min-width:118px}}

#introVideoScreen.video-started:not(.has-video) #introVideoStatus{display:block}
#introVideoScreen:not(.has-video) #introVideoPlay{border:1px solid #fff5cf;background:linear-gradient(135deg,#fff9df,#efd28b);box-shadow:0 5px 18px #173e3538;color:#294f40}
#introVideoScreen:not(.has-video) #introVideoPlay:before{content:'';width:0;height:0;border-left:8px solid currentColor;border-top:5px solid transparent;border-bottom:5px solid transparent}
#introVideoScreen:not(.has-video) #introVideoPlay[hidden]{display:none}
