/* NadirFilm v3.0.30: PHONE ONLY improvements; never alters >=768px. */
@media (min-width:768px){
  /* New mobile CTA links must not change existing desktop discovery cards. */
  .nf-home-v300 .nf-home-atlas-all--mobile-only{display:none!important}
}
@media (max-width:767px){
  /* Make compact header comfortable while scrolling, never remove essential actions. */
  body.nf-phone-scrolled .nf2-header .nf2-wrap.nf2-header-main{min-height:54px}
  body.nf-phone-scrolled .nf2-header-main>.nf2-logo{transform:scale(.88);transform-origin:left center}
  body.nf-phone-scrolled .nf2-header-main>.nf-mobile-search-trigger,
  body.nf-phone-scrolled .nf2-header-main>.nf-mobile-notif-trigger,
  body.nf-phone-scrolled .nf2-header-main>.nf2-menu-toggle{height:40px;min-height:40px}
  .nf2-header .nf2-wrap.nf2-header-main{transition:min-height .17s ease}
  .nf2-header-main>.nf2-logo{transition:transform .17s ease}
  /* Two actor/director cards now have a real directory action. */
  .nf-home-v300 .nf-home-atlas-card--actors .nf-home-atlas-all--mobile-only,
  .nf-home-v300 .nf-home-atlas-card--directors .nf-home-atlas-all--mobile-only{
    display:inline-flex!important;align-items:center;gap:5px;color:var(--atlas,#b3a0eb);font-weight:750;
    font-size:10px!important;line-height:1.35;min-height:30px;max-width:100%;
  }
  .nf-home-v300 .nf-home-atlas-all--mobile-only:focus-visible{outline:2px solid #c7f53e;outline-offset:3px;border-radius:4px}
  /* Keep art and grid, tighten the excessive end-of-homepage gap. */
  .nf-home-v300{padding-bottom:22px!important}
  .nf-home-v300 .nf-home-atlas{margin-bottom:0!important;padding-bottom:0!important}
  body.home .nf-app-footer{margin-top:14px;padding-top:19px}
  /* Thin, low-contrast scrollbar; partially visible next card is the affordance. */
  .nf-home-v300 .nf-home-popular .nf2-film-grid--compact{scrollbar-width:thin;scrollbar-color:#675786 transparent;padding-bottom:9px}
  .nf-home-v300 .nf-home-popular .nf2-film-grid--compact::-webkit-scrollbar{height:2px}
  .nf-home-v300 .nf-home-popular .nf2-film-grid--compact::-webkit-scrollbar-thumb{background:#675786;border-radius:4px}
  .nf-home-v300 .nf-home-popular .nf2-film-grid--compact::-webkit-scrollbar-track{background:transparent}
  /* No repeated notification brand label; actual notifications and actions remain. */
  body>.nfu-notification-center.nfa-mounted .nfa-notif-footer,
  body>.nfu-notification-center.nfa-mounted .nfa-sheet-top .nfa-kicker{display:none!important}
}
@media (max-width:767px) and (prefers-reduced-motion:reduce){
  .nf2-header .nf2-wrap.nf2-header-main,.nf2-header-main>.nf2-logo{transition:none!important}
}
