/* NoirPlay V48 — Mobile Turbo. Desktop remains unchanged. */
@media (max-width:760px), (hover:none) and (pointer:coarse){
  html{scroll-behavior:auto!important}
  body{background-attachment:scroll!important}

  /* Remove decorative layers that cost GPU time on phones. */
  .np36-hero-aurora,.np47-shell-glow,.np43-scroll-progress,.np43-page-curtain,
  .home-hero::after,.category-hero::before,.np36-stage-ambient{display:none!important}

  /* Glass is expensive on mid/low-range mobile GPUs. Keep opaque surfaces. */
  .site-header,.theme-dropdown,.theme-studio-panel,.home-overview-card,.home-featured-section,
  .home-catalog-panel,.category-tools,.np47-category-toolbar,.video-info-card,.comments-card,
  .watch-related-panel,.source-dock,.player-topline,.np-ad-slot,.age-card{
    -webkit-backdrop-filter:none!important;backdrop-filter:none!important;
  }

  /* Flatten huge layered shadows without changing geometry. */
  .home-hero,.home-overview-card,.home-featured-section,.home-catalog-panel,.category-hero,
  .category-visual-card,.player-shell,.video-info-card,.comments-card,.watch-related-panel,
  .video-thumb,.np-ad-slot{box-shadow:0 8px 24px rgba(0,0,0,.14)!important}

  /* No ornamental motion while scrolling. */
  .np38-float,.home-badge>span,.status-dot{animation:none!important}
  .np36-reveal,.np36-visible,.np45-enter,.video-card,.category-card,.category-visual-card,
  .home-overview-card,.home-featured-section,.home-catalog-panel{
    transition:none!important;transform:none!important;
  }
  .video-card:hover,.category-visual-card:hover,.home-overview-card:hover{transform:none!important}

  /* Off-screen sections are skipped by the rendering engine until needed. */
  .home-featured-section,.home-discovery-layout,.home-catalog-panel,.category-directory,
  .category-related-section,.comments-card,.site-footer,.account-main{
    content-visibility:auto;contain-intrinsic-size:1px 650px;
  }
  .video-card{contain:layout paint style}
  .video-thumb{contain:paint}
  .video-thumb img{filter:none!important}

  /* Faster card preview presentation; decoding remains one-at-a-time in JS. */
  .video-thumb-preview{transition:none!important;animation:none!important}
  .preview-status,.touch-preview-hint,.np46-preview-badge{backdrop-filter:none!important;-webkit-backdrop-filter:none!important}

  /* Player: prioritize the actual video instead of ambient effects. */
  .watch-page::before,.player-shell::after{display:none!important}
  .player-shell{box-shadow:0 6px 20px rgba(0,0,0,.22)!important}
  .noir-custom-player .np-controls{backdrop-filter:none!important;-webkit-backdrop-filter:none!important}
  .np36-watermark{backdrop-filter:none!important;-webkit-backdrop-filter:none!important}

  /* Touch responsiveness. */
  button,.btn,a,.video-thumb,.source-button,.action-button{touch-action:manipulation}
  .video-grid{gap:12px 9px!important}
}

@media (max-width:430px){
  .home-hero{box-shadow:0 5px 18px rgba(0,0,0,.13)!important}
  .home-featured-section,.home-catalog-panel{padding:12px!important}
}
