/* Retained screens: only transforms move; navigating does not replace the library. */
.watch-library-travel__panel[hidden]{display:none!important}
.watch-library-travel__panel[data-watch-preparing]{visibility:hidden!important;pointer-events:none!important}
html.watch-library-embedded #watchMobileNav{display:none!important}
html.watch-library-embedded{background:#000!important}
@media(max-width:900px){
 /* The shared navigation is outside the frame, directly below its viewport. */
 html.watch-library-embedded{--watch-mobile-nav-height:0px;--watch-mobile-safe-bottom:0px;--watch-mobile-dock-offset:0px;overscroll-behavior-y:contain}
 html.watch-library-embedded body{overscroll-behavior-y:contain}
 /* Returning hides the material, but must not demote/rebuild the shared dock. */
 html.watch-library-travel-retained body>#watchMobileNav{z-index:2147483647!important}
 html.watch-library-travel-open:not(.watch-support-open) body:not(.watch-authmodal-open)>#watchMobileNav{display:grid!important;visibility:visible!important;pointer-events:auto!important;position:fixed!important;z-index:2147483647!important}
 html:has(#watchSearchModal.is-open) .watch-library-travel__panel,html:has(#watchAuthModal.is-open) .watch-library-travel__panel,html.watch-mobile-notifications-screen .watch-library-travel__panel{visibility:hidden}
 .watch-library-travel__panel{position:fixed;inset:0;z-index:2147482900;overflow:hidden;contain:layout paint;background:var(--w-bg,#000);color:var(--w-text,#ddd);isolation:isolate}
 .watch-library-travel__panel>iframe{display:block;width:100%;height:100%;border:0;background:var(--w-bg,#000)}
}
