.pm-media-tabs{display:flex;gap:8px;background:#fff;padding:10px}.pm-media-tabs a{flex:1;min-width:0;text-align:center;text-decoration:none}.pm-weekly{padding:12px;margin-bottom:8px}.pm-weekly a{color:#a84000}.pm-media-gallery .postimg{object-fit:contain!important}
/* Keep the same page shell and tabs as photo/chat. Only the media panel scrolls. */
#feed[data-media=video] .pm-video-stream{height:clamp(360px,calc(100svh - 240px),800px);width:100%;border-radius:18px;overflow-x:hidden;overflow-y:auto;scroll-snap-type:y mandatory;overscroll-behavior-y:contain;background:#111;scrollbar-width:none;position:relative;touch-action:pan-y pinch-zoom}
.pm-video-stream::-webkit-scrollbar{display:none}
#feed[data-media=video] .pm-social-card{box-sizing:border-box;height:100%;min-height:0;width:100%;scroll-snap-align:start;scroll-snap-stop:always;display:flex;flex-direction:column;margin:0!important;border:0!important;border-radius:0!important;box-shadow:none!important;background:#111;color:#fff;overflow:hidden}
#feed[data-media=video] .cardhead{flex:0 0 auto;background:#fff;color:#252a32;padding:10px 14px}#feed[data-media=video] .byline{min-width:0;overflow-wrap:anywhere}#feed[data-media=video] .body:empty{display:none}
#feed[data-media=video] .pm-media-gallery{flex:1 1 0;min-height:0;position:relative;display:block;overflow:hidden;background:#111}
#feed[data-media=video] video{display:block;width:100%;height:100%;max-height:none;object-fit:contain;background:#111}
#feed[data-media=video] .pm-photo-link,#feed[data-media=video] .cm-block{display:none}
#feed[data-media=video] .pm-caption{flex:0 1 auto;max-height:64px;overflow:auto;padding:4px 14px;margin:0}#feed[data-media=video] .pm-caption p{color:#fff;margin:0}#feed[data-media=video] .pm-caption h3{font-size:15px;margin:0}
#feed[data-media=video] .actions{flex:0 0 auto;background:#fff;color:#252a32;padding:8px 14px;gap:12px}
.pm-video-sound{position:absolute;top:10px;right:10px;z-index:2;border:1px solid #ffffff50;border-radius:20px;background:#111b;color:#fff;padding:9px 12px;font:inherit;font-size:12px;cursor:pointer}

#feed[data-media=video] .pm-caption{background:#111;border-radius:0}#feed[data-media=video] .pm-caption .pm-posttitle{color:#fff}
