/* British Social Reels mobile caption and viewport repair. */
@media (max-width: 700px) {
 body.reels-mode .mobile-nav { display: none !important; }
 body.reels-mode .bs-reels-page .reel-info { bottom: calc(96px + env(safe-area-inset-bottom, 0px)) !important; max-height: calc(100dvh - 190px - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px)); overflow: visible; z-index: 2; }
 body.reels-mode .bs-reels-page .reel-caption { max-height: min(35dvh, 220px); overflow-y: auto; overscroll-behavior: contain; touch-action: pan-y; padding-bottom: 8px; }
 body.reels-mode .bs-reels-page .reel-actions { bottom: calc(70px + env(safe-area-inset-bottom, 0px)) !important; z-index: 3; }
 body.reels-mode .topbar { display: none !important; }
 body.reels-mode .bs-reels-page { padding-top: env(safe-area-inset-top, 0px) !important; }
 body.reels-mode .bs-reels-page .reels-header { top: env(safe-area-inset-top, 0px) !important; padding-top: calc(10px + env(safe-area-inset-top, 0px)) !important; }
}

