/* Hide only the page's scrollbar in actual fullscreen; keep all scrolling available.
   Separate prefixed selectors so older WebKit does not discard the standard rule. */
html:fullscreen { scrollbar-width: none !important; scrollbar-gutter: auto !important; }
html:fullscreen::-webkit-scrollbar { display: none !important; width: 0 !important; height: 0 !important; }
html:-webkit-full-screen { scrollbar-width: none !important; scrollbar-gutter: auto !important; }
html:-webkit-full-screen::-webkit-scrollbar { display: none !important; width: 0 !important; height: 0 !important; }

/* Covers manifest fullscreen and browser fullscreen, including pages with no widget. */
@media (display-mode: fullscreen) {
    html { scrollbar-width: none !important; scrollbar-gutter: auto !important; }
    html::-webkit-scrollbar { display: none !important; width: 0 !important; height: 0 !important; }
}
