/* Native gestures and momentum. No wheel/touch interception, no card resizing. */
html.nova-web-shell {scroll-behavior:auto;}
html.nova-web-shell body:not(.sg-player-open) {touch-action:auto!important;}
html.nova-web-shell body #nova-app .nx2-rail-scroll {overflow-x:auto!important;overscroll-behavior-x:contain;overscroll-behavior-y:auto;touch-action:pan-x pan-y!important;-webkit-overflow-scrolling:touch;scroll-snap-type:x proximity!important;scrollbar-width:none;}
html.nova-web-shell body #nova-app .nova-native-loop {scroll-behavior:auto!important;overflow-anchor:none!important;}
html.nova-web-shell body #nova-app .nova-loop-rebasing {scroll-behavior:auto!important;scroll-snap-type:none!important;}
[data-nova-continue-watching][hidden],[data-nova-because-watched][hidden] {display:none!important;}
@media(max-width:899px){
  html.nova-web-shell body #nova-bottom-nav-host .oscar-bottom-nav {backdrop-filter:none!important;-webkit-backdrop-filter:none!important;background-color:rgba(0,5,13,.96)!important;box-shadow:none!important;}
  html.nova-web-shell body #nova-app .nx2-rail-section {scroll-margin-top:72px;}
}
@media(prefers-reduced-motion:no-preference){
  [data-nova-continue-watching]:not([hidden]),[data-nova-because-watched]:not([hidden]) {animation:nova-personal-reveal .18s ease-out;}
  @keyframes nova-personal-reveal {from{opacity:0}to{opacity:1}}
}
@media(prefers-reduced-motion:reduce){html.nova-web-shell body #nova-app .nx2-rail-scroll {scroll-behavior:auto!important;}}

/* Free touch momentum: do not pull phone rails back to a snap point. */
@media(hover:none),(pointer:coarse){html.nova-web-shell body #nova-app .nx2-rail-scroll {scroll-snap-type:none!important;}}

/* Restore the reactive header; keep icons fully opaque and geometry unchanged. */
@media(max-width:899px){
  html.nova-web-shell body #nova-app #nova-global-header,
  html.nova-web-shell body #nova-app .nx2-catalog-header {
    background:transparent!important;
    backdrop-filter:none!important;
    -webkit-backdrop-filter:none!important;
    box-shadow:none!important;
    transition:background-color .26s var(--nova-header-ease,cubic-bezier(.2,.78,.2,1))!important;
  }
  html.nova-web-shell.sg-header-scrolled body #nova-app #nova-global-header,
  html.nova-web-shell.sg-header-scrolled body #nova-app .nx2-catalog-header {
    background:rgba(2,3,7,.84)!important;
  }
}
