/* Keep vertical videos and both supported player engines inside a portrait frame. */
#postDetailsPage #plyr-wrapper.shorts-player-frame{aspect-ratio:9/16!important;width:100%!important;max-width:480px!important;margin-inline:auto!important;height:auto!important;min-height:0!important;background:#000;overflow:hidden}
#plyr-wrapper.shorts-player-frame>video,#plyr-wrapper.shorts-player-frame .plyr,#plyr-wrapper.shorts-player-frame .fluid_video_wrapper{width:100%!important;height:100%!important;min-height:0!important;max-width:100%!important;aspect-ratio:9/16!important;background:#000;padding:0!important}
#plyr-wrapper.shorts-player-frame .plyr__video-wrapper{width:100%!important;height:100%!important;aspect-ratio:9/16!important;padding-bottom:0!important}
#plyr-wrapper.shorts-player-frame video{object-fit:contain!important;width:100%!important;height:100%!important}
#plyr-wrapper.shorts-player-frame .plyr__poster{background-size:contain!important}
.vp-embed-frame{position:relative;width:100%;height:auto!important;min-height:0!important;aspect-ratio:16/9!important;overflow:hidden;background:#000}.vp-embed-frame>iframe{position:absolute;inset:0;width:100%!important;height:100%!important;border:0}
#postDetailsPage .cp-channel-pill{padding:3px 8px!important;font-size:12px!important;font-weight:400!important;line-height:1.35!important}#postDetailsPage .cp-channel-pill span{font-size:12px!important;font-weight:400!important}#postDetailsPage .post-title{font-size:24px!important;line-height:1.25!important}#postDetailsPage .post-details-meta{column-gap:14px!important}@media(max-width:767px){#postDetailsPage .post-title{font-size:20px!important}}

/* A padding-based iframe box also works when mobile browsers cannot resolve percentage height from aspect-ratio. */
#postDetailsPage .post-video.vp-drive-host{display:block!important;width:100%!important;max-width:100%!important;height:auto!important;min-height:0!important;margin:0!important;padding:0!important;border:0!important;aspect-ratio:auto!important;overflow:visible!important;transform:none!important;box-sizing:border-box!important}
#postDetailsPage .vp-embed-frame.vp-drive-frame{display:block!important;position:relative!important;width:100%!important;height:0!important;min-height:0!important;max-height:none!important;padding:0 0 56.25%!important;margin:0!important;border:0!important;aspect-ratio:auto!important;box-sizing:content-box!important;overflow:hidden!important;background:#000;transform:none!important}
#postDetailsPage .vp-drive-frame>iframe{display:block!important;position:absolute!important;inset:0!important;top:0!important;left:0!important;width:100%!important;height:100%!important;max-width:none!important;max-height:none!important;min-height:0!important;padding:0!important;margin:0!important;border:0!important;transform:scale(var(--drive-embed-scale,1))!important;transform-origin:top left!important;translate:none!important;scale:none!important;clip-path:none!important;zoom:1!important}

#postDetailsPage .vp-drive-frame.drive-frame-ready>iframe{visibility:visible}

