/*
 * PrimeFlix 3.64.93 · P253 · Web Mobile Rebuild · Phase 2/8
 * HEADER / WEB NAVIGATION / SEARCH
 *
 * Responsive Web only. The Mobile App and Desktop App do not use this contract.
 * This layer intentionally removes the app-like bottom navigation introduced by
 * P250 and restores Desktop Web information architecture in a mobile Web pattern:
 * top site header + navigation drawer + full-screen search.
 */

/* New Web-mobile controls are inert on Desktop and App surfaces by default. */
.pf-webmob-menu-btn,
.pf-webmob-menu-overlay{display:none}

@media (max-width:820px){
  body.pf-web-mobile-rebuild-p252{
    --pfm-header-h:64px;
    --pfm-header-total:calc(var(--pfm-header-h) + env(safe-area-inset-top,0px));
    --pfm-control:42px;
    --pfm-nav-panel:min(90vw,410px);
    padding-bottom:0!important;
  }

  /* ---------------------------------------------------------------------
     1. WEB HEADER — one clear row, no squeezed labels and no app bottom bar.
     --------------------------------------------------------------------- */
  body.pf-web-mobile-rebuild-p252 #pf-navbar{
    position:fixed!important;
    inset:0 0 auto!important;
    z-index:1200!important;
    width:100%!important;
    height:var(--pfm-header-total)!important;
    min-height:var(--pfm-header-total)!important;
    padding:env(safe-area-inset-top,0px) var(--pfm-gutter) 0!important;
    display:flex!important;
    flex-wrap:nowrap!important;
    align-items:center!important;
    justify-content:flex-start!important;
    gap:8px!important;
    border:0!important;
    border-bottom:1px solid rgba(255,255,255,.065)!important;
    background:linear-gradient(180deg,rgba(5,5,8,.96),rgba(5,5,8,.84))!important;
    box-shadow:0 9px 26px rgba(0,0,0,.18)!important;
    backdrop-filter:blur(20px) saturate(1.12)!important;
    -webkit-backdrop-filter:blur(20px) saturate(1.12)!important;
  }
  body.pf-web-mobile-rebuild-p252.pf-wmp-header-scrolled #pf-navbar,
  body.pf-web-mobile-rebuild-p252 #pf-navbar.scrolled{
    background:rgba(5,5,8,.97)!important;
    border-bottom-color:rgba(255,255,255,.10)!important;
    box-shadow:0 12px 34px rgba(0,0,0,.34)!important;
  }
  body.pf-web-mobile-rebuild-p252 #pf-navbar .pf-nav-links,
  body.pf-web-mobile-rebuild-p252 #pf-navbar .pf-hdr-srch,
  body.pf-web-mobile-rebuild-p252 #pf-navbar .pf-online-presence{
    display:none!important;
  }
  body.pf-web-mobile-rebuild-p252 #pf-navbar .pf-nav-logo{
    order:1!important;
    flex:0 1 auto!important;
    min-width:0!important;
    max-width:min(38vw,138px)!important;
    height:var(--pfm-control)!important;
    margin:0!important;
    padding:0!important;
    display:flex!important;
    align-items:center!important;
    gap:7px!important;
    overflow:hidden!important;
  }
  body.pf-web-mobile-rebuild-p252 #pf-navbar .pf-logo-img{
    width:auto!important;
    max-width:100%!important;
    height:30px!important;
    max-height:30px!important;
    object-fit:contain!important;
    object-position:left center!important;
  }
  body.pf-web-mobile-rebuild-p252 #pf-navbar .pf-logo-text{
    max-width:100%!important;
    overflow:hidden!important;
    white-space:nowrap!important;
    text-overflow:ellipsis!important;
    font-size:21px!important;
    line-height:1!important;
    font-weight:900!important;
    letter-spacing:-.035em!important;
  }

  /* Search is the primary utility and pushes the right actions to the edge. */
  body.pf-web-mobile-rebuild-p252 #pf-navbar .pf-mob-srch-btn{
    order:3!important;
    width:var(--pfm-control)!important;
    min-width:var(--pfm-control)!important;
    height:var(--pfm-control)!important;
    min-height:var(--pfm-control)!important;
    margin:0 0 0 auto!important;
    padding:0!important;
    display:grid!important;
    place-items:center!important;
    border:1px solid rgba(255,255,255,.095)!important;
    border-radius:13px!important;
    background:rgba(255,255,255,.045)!important;
    color:#fff!important;
    box-shadow:none!important;
  }
  body.pf-web-mobile-rebuild-p252 #pf-navbar .pf-mob-srch-btn svg{width:19px!important;height:19px!important}

  body.pf-web-mobile-rebuild-p252 #pf-navbar .pf-mob-notif-wrap{
    order:4!important;
    display:flex!important;
    position:relative!important;
    width:var(--pfm-control)!important;
    min-width:var(--pfm-control)!important;
    height:var(--pfm-control)!important;
    margin:0!important;
  }
  body.pf-web-mobile-rebuild-p252 #pf-navbar .pf-mob-top-notif{
    display:grid!important;
    place-items:center!important;
    width:100%!important;
    height:100%!important;
    border:1px solid rgba(255,255,255,.095)!important;
    border-radius:13px!important;
    background:rgba(255,255,255,.045)!important;
    color:#fff!important;
  }

  body.pf-web-mobile-rebuild-p252 #pf-navbar .pf-nav-right{
    order:5!important;
    display:flex!important;
    align-items:center!important;
    width:auto!important;
    min-width:0!important;
    margin:0!important;
    padding:0!important;
    gap:0!important;
  }
  body.pf-web-mobile-rebuild-p252 #pf-navbar .pf-nav-right .pf-online-presence,
  body.pf-web-mobile-rebuild-p252 #pf-navbar .pf-nav-right .pf-notif-wrap{display:none!important}
  body.pf-web-mobile-rebuild-p252 #pf-navbar .pf-user-btn{
    position:relative!important;
    width:var(--pfm-control)!important;
    min-width:var(--pfm-control)!important;
    height:var(--pfm-control)!important;
    min-height:var(--pfm-control)!important;
    padding:0!important;
    display:grid!important;
    place-items:center!important;
    border:1px solid rgba(255,255,255,.095)!important;
    border-radius:13px!important;
    background:rgba(255,255,255,.045)!important;
  }
  body.pf-web-mobile-rebuild-p252 #pf-navbar .pf-user-av{
    width:31px!important;
    height:31px!important;
    border-radius:10px!important;
    border:1px solid rgba(196,181,253,.42)!important;
    object-fit:cover!important;
  }
  body.pf-web-mobile-rebuild-p252 #pf-navbar .pf-user-nm,
  body.pf-web-mobile-rebuild-p252 #pf-navbar .pf-user-btn>svg{display:none!important}
  body.pf-web-mobile-rebuild-p252 #pf-navbar .pf-auth-btn{
    min-width:72px!important;
    width:auto!important;
    height:var(--pfm-control)!important;
    min-height:var(--pfm-control)!important;
    padding:0 14px!important;
    border-radius:13px!important;
    white-space:nowrap!important;
    font-size:0!important;
    line-height:1!important;
    font-weight:800!important;
    background:linear-gradient(135deg,var(--pfm-accent),#9b5cf5)!important;
    box-shadow:0 8px 24px rgba(124,58,237,.22)!important;
  }
  body.pf-web-mobile-rebuild-p252 #pf-navbar .pf-auth-btn::after{
    content:"Entrar";
    font-size:13px!important;
    line-height:1!important;
    letter-spacing:0!important;
  }

  /* Dedicated Web navigation trigger. */
  body.pf-web-mobile-rebuild-p252 #pf-navbar .pf-webmob-menu-btn{
    order:6!important;
    position:relative!important;
    width:var(--pfm-control)!important;
    min-width:var(--pfm-control)!important;
    height:var(--pfm-control)!important;
    min-height:var(--pfm-control)!important;
    margin:0!important;
    padding:0 11px!important;
    display:grid!important;
    align-content:center!important;
    gap:4px!important;
    border:1px solid rgba(255,255,255,.095)!important;
    border-radius:13px!important;
    background:rgba(255,255,255,.045)!important;
    color:#fff!important;
  }
  body.pf-web-mobile-rebuild-p252 #pf-navbar .pf-webmob-menu-btn span{
    display:block!important;
    width:100%!important;
    height:1.5px!important;
    border-radius:99px!important;
    background:currentColor!important;
    transform-origin:center!important;
    transition:transform .2s ease,opacity .2s ease!important;
  }
  body.pf-web-mobile-rebuild-p252.pf-webmob-nav-open #pf-navbar .pf-webmob-menu-btn span:nth-child(1){transform:translateY(5.5px) rotate(45deg)!important}
  body.pf-web-mobile-rebuild-p252.pf-webmob-nav-open #pf-navbar .pf-webmob-menu-btn span:nth-child(2){opacity:0!important}
  body.pf-web-mobile-rebuild-p252.pf-webmob-nav-open #pf-navbar .pf-webmob-menu-btn span:nth-child(3){transform:translateY(-5.5px) rotate(-45deg)!important}

  /* P250 / legacy bottom navigation belongs to an App pattern, not Web mobile. */
  body.pf-web-mobile-rebuild-p252 .pf-mobile-nav-discovery,
  body.pf-web-mobile-rebuild-p252 .pf-mobile-nav.pf-mobile-nav-discovery{
    display:none!important;
    visibility:hidden!important;
    pointer-events:none!important;
  }
  /* The floating app CTA also made the Web shell behave like the installed App.
     App handoff remains available in content/detail surfaces and footer links. */
  body.pf-web-mobile-rebuild-p252 .pfmw-app-fab{display:none!important}

  /* ---------------------------------------------------------------------
     2. MOBILE WEB NAVIGATION DRAWER — same IA as Desktop, mobile interaction.
     --------------------------------------------------------------------- */
  body.pf-web-mobile-rebuild-p252 .pf-webmob-menu-overlay{
    display:block!important;
    position:fixed!important;
    inset:0!important;
    z-index:1250!important;
    opacity:0!important;
    visibility:hidden!important;
    pointer-events:none!important;
    transition:opacity .22s ease,visibility .22s ease!important;
  }
  body.pf-web-mobile-rebuild-p252 .pf-webmob-menu-overlay.is-open{
    opacity:1!important;
    visibility:visible!important;
    pointer-events:auto!important;
  }
  body.pf-web-mobile-rebuild-p252 .pf-webmob-menu-backdrop{
    position:absolute!important;
    inset:0!important;
    width:100%!important;
    height:100%!important;
    border:0!important;
    border-radius:0!important;
    background:rgba(0,0,0,.62)!important;
    backdrop-filter:blur(5px)!important;
    -webkit-backdrop-filter:blur(5px)!important;
  }
  body.pf-web-mobile-rebuild-p252 .pf-webmob-menu-panel{
    position:absolute!important;
    top:0!important;
    right:0!important;
    width:var(--pfm-nav-panel)!important;
    max-width:100%!important;
    height:100dvh!important;
    min-height:100dvh!important;
    padding:calc(env(safe-area-inset-top,0px) + 14px) 16px calc(env(safe-area-inset-bottom,0px) + 22px)!important;
    overflow-y:auto!important;
    overscroll-behavior:contain!important;
    background:
      radial-gradient(360px 220px at 100% 0,rgba(124,58,237,.13),transparent 72%),
      #0a0a10!important;
    border-left:1px solid rgba(255,255,255,.09)!important;
    box-shadow:-24px 0 70px rgba(0,0,0,.5)!important;
    transform:translateX(104%)!important;
    transition:transform .28s cubic-bezier(.2,.78,.2,1)!important;
  }
  body.pf-web-mobile-rebuild-p252 .pf-webmob-menu-overlay.is-open .pf-webmob-menu-panel{transform:translateX(0)!important}
  body.pf-web-mobile-rebuild-p252.pf-webmob-nav-open{overflow:hidden!important}

  body.pf-web-mobile-rebuild-p252 .pf-webmob-menu-head{
    min-height:54px!important;
    display:flex!important;
    align-items:center!important;
    justify-content:space-between!important;
    gap:14px!important;
    padding:0 0 14px!important;
    border-bottom:1px solid rgba(255,255,255,.075)!important;
  }
  body.pf-web-mobile-rebuild-p252 .pf-webmob-menu-head>div{min-width:0!important}
  body.pf-web-mobile-rebuild-p252 .pf-webmob-menu-kicker{
    display:block!important;
    margin:0 0 3px!important;
    color:#a78bfa!important;
    font-size:11.5px!important;
    line-height:1.1!important;
    font-weight:900!important;
    letter-spacing:.12em!important;
    white-space:nowrap!important;
  }
  body.pf-web-mobile-rebuild-p252 .pf-webmob-menu-head h2{
    margin:0!important;
    font-size:23px!important;
    line-height:1.1!important;
    letter-spacing:-.025em!important;
  }
  body.pf-web-mobile-rebuild-p252 .pf-webmob-menu-close{
    flex:0 0 42px!important;
    width:42px!important;
    height:42px!important;
    display:grid!important;
    place-items:center!important;
    padding:0!important;
    border:1px solid rgba(255,255,255,.09)!important;
    border-radius:13px!important;
    background:rgba(255,255,255,.045)!important;
    color:#fff!important;
  }

  /* Presence is useful context in the menu, not clutter in the top bar. */
  body.pf-web-mobile-rebuild-p252 .pf-webmob-presence{
    margin:13px 0 8px!important;
    padding:10px 12px!important;
    border:1px solid rgba(255,255,255,.075)!important;
    border-radius:14px!important;
    background:rgba(255,255,255,.025)!important;
  }
  body.pf-web-mobile-rebuild-p252 .pf-webmob-presence .pf-online-presence{
    display:flex!important;
    align-items:center!important;
    flex-wrap:wrap!important;
    gap:8px 14px!important;
  }
  body.pf-web-mobile-rebuild-p252 .pf-webmob-presence .pf-online-wrap{
    display:flex!important;
    align-items:center!important;
    gap:6px!important;
    margin:0!important;
    padding:0!important;
    border:0!important;
    background:transparent!important;
  }
  body.pf-web-mobile-rebuild-p252 .pf-webmob-presence .pf-online-count{
    font-size:12px!important;
    line-height:1!important;
    font-weight:850!important;
  }
  body.pf-web-mobile-rebuild-p252 .pf-webmob-presence .pf-online-label{
    display:inline!important;
    font-size:11px!important;
    line-height:1!important;
    color:rgba(255,255,255,.56)!important;
    white-space:nowrap!important;
  }

  body.pf-web-mobile-rebuild-p252 .pf-webmob-primary{
    display:grid!important;
    gap:4px!important;
    margin:8px 0 0!important;
  }
  body.pf-web-mobile-rebuild-p252 .pf-webmob-menu-link{
    width:100%!important;
    min-height:62px!important;
    display:grid!important;
    grid-template-columns:42px minmax(0,1fr) 18px!important;
    align-items:center!important;
    gap:11px!important;
    padding:8px 9px!important;
    border:1px solid transparent!important;
    border-radius:15px!important;
    color:#fff!important;
    background:transparent!important;
    text-decoration:none!important;
  }
  body.pf-web-mobile-rebuild-p252 .pf-webmob-menu-link.is-current{
    border-color:rgba(167,139,250,.18)!important;
    background:linear-gradient(90deg,rgba(124,58,237,.15),rgba(124,58,237,.035))!important;
  }
  body.pf-web-mobile-rebuild-p252 .pf-webmob-menu-icon{
    width:42px!important;
    height:42px!important;
    display:grid!important;
    place-items:center!important;
    border-radius:13px!important;
    background:rgba(255,255,255,.05)!important;
    color:rgba(255,255,255,.78)!important;
  }
  body.pf-web-mobile-rebuild-p252 .pf-webmob-menu-link.is-current .pf-webmob-menu-icon{
    background:rgba(124,58,237,.20)!important;
    color:#c4b5fd!important;
  }
  body.pf-web-mobile-rebuild-p252 .pf-webmob-menu-icon svg{
    width:20px!important;
    height:20px!important;
    stroke-width:1.8!important;
  }
  body.pf-web-mobile-rebuild-p252 .pf-webmob-menu-link>span:nth-child(2){min-width:0!important}
  body.pf-web-mobile-rebuild-p252 .pf-webmob-menu-link strong{
    display:block!important;
    margin:0!important;
    font-size:14px!important;
    line-height:1.2!important;
    font-weight:850!important;
    letter-spacing:-.01em!important;
    white-space:normal!important;
    word-break:normal!important;
  }
  body.pf-web-mobile-rebuild-p252 .pf-webmob-menu-link small{
    display:block!important;
    margin-top:3px!important;
    color:rgba(255,255,255,.48)!important;
    font-size:11px!important;
    line-height:1.28!important;
    white-space:normal!important;
    word-break:normal!important;
    overflow-wrap:normal!important;
  }
  body.pf-web-mobile-rebuild-p252 .pf-webmob-chevron{
    width:17px!important;
    height:17px!important;
    stroke-width:1.8!important;
    color:rgba(255,255,255,.28)!important;
  }

  body.pf-web-mobile-rebuild-p252 .pf-webmob-menu-section{
    margin-top:18px!important;
    padding-top:17px!important;
    border-top:1px solid rgba(255,255,255,.075)!important;
  }
  body.pf-web-mobile-rebuild-p252 .pf-webmob-section-head{
    display:flex!important;
    align-items:baseline!important;
    justify-content:space-between!important;
    gap:12px!important;
    margin-bottom:10px!important;
  }
  body.pf-web-mobile-rebuild-p252 .pf-webmob-section-head h3{
    margin:0!important;
    font-size:13px!important;
    line-height:1.2!important;
    font-weight:850!important;
  }
  body.pf-web-mobile-rebuild-p252 .pf-webmob-section-head>a{
    color:#a78bfa!important;
    font-size:11px!important;
    line-height:1.2!important;
    font-weight:750!important;
    white-space:nowrap!important;
  }
  body.pf-web-mobile-rebuild-p252 .pf-webmob-quick-grid,
  body.pf-web-mobile-rebuild-p252 .pf-webmob-genre-grid{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:8px!important;
  }
  body.pf-web-mobile-rebuild-p252 :is(.pf-webmob-quick-grid,.pf-webmob-genre-grid)>*{
    min-width:0!important;
    min-height:42px!important;
    display:flex!important;
    align-items:center!important;
    justify-content:flex-start!important;
    padding:10px 12px!important;
    border:1px solid rgba(255,255,255,.075)!important;
    border-radius:12px!important;
    background:rgba(255,255,255,.035)!important;
    color:rgba(255,255,255,.78)!important;
    font-size:12px!important;
    line-height:1.2!important;
    font-weight:750!important;
    text-align:left!important;
    white-space:normal!important;
    word-break:normal!important;
  }

  body.pf-web-mobile-rebuild-p252 .pf-webmob-account{
    margin-top:18px!important;
    padding:16px!important;
    display:grid!important;
    gap:9px!important;
    border:1px solid rgba(255,255,255,.085)!important;
    border-radius:17px!important;
    background:linear-gradient(145deg,rgba(124,58,237,.09),rgba(255,255,255,.025))!important;
  }
  body.pf-web-mobile-rebuild-p252 .pf-webmob-account-card{
    display:grid!important;
    grid-template-columns:44px minmax(0,1fr) auto!important;
    align-items:center!important;
    gap:10px!important;
  }
  body.pf-web-mobile-rebuild-p252 .pf-webmob-account-card img{
    width:44px!important;
    height:44px!important;
    border-radius:13px!important;
    object-fit:cover!important;
  }
  body.pf-web-mobile-rebuild-p252 .pf-webmob-account-card>div{min-width:0!important}
  body.pf-web-mobile-rebuild-p252 .pf-webmob-account-card strong,
  body.pf-web-mobile-rebuild-p252 .pf-webmob-account-copy strong{
    display:block!important;
    font-size:13px!important;
    line-height:1.2!important;
    font-weight:850!important;
    word-break:normal!important;
  }
  body.pf-web-mobile-rebuild-p252 .pf-webmob-account-card small,
  body.pf-web-mobile-rebuild-p252 .pf-webmob-account-copy small{
    display:block!important;
    margin-top:3px!important;
    color:rgba(255,255,255,.48)!important;
    font-size:11px!important;
    line-height:1.35!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
    white-space:nowrap!important;
  }
  body.pf-web-mobile-rebuild-p252 .pf-webmob-account-card>a{
    min-height:36px!important;
    display:flex!important;
    align-items:center!important;
    padding:0 11px!important;
    border-radius:10px!important;
    background:rgba(255,255,255,.065)!important;
    color:#fff!important;
    font-size:11px!important;
    font-weight:800!important;
  }
  body.pf-web-mobile-rebuild-p252 .pf-webmob-login,
  body.pf-web-mobile-rebuild-p252 .pf-webmob-account-action{
    width:100%!important;
    min-height:43px!important;
    padding:0 13px!important;
    border:1px solid rgba(255,255,255,.085)!important;
    border-radius:12px!important;
    background:rgba(255,255,255,.045)!important;
    color:#fff!important;
    font-size:12px!important;
    line-height:1.2!important;
    font-weight:800!important;
    text-align:left!important;
  }
  body.pf-web-mobile-rebuild-p252 .pf-webmob-login{
    text-align:center!important;
    border-color:rgba(167,139,250,.24)!important;
    background:linear-gradient(135deg,rgba(124,58,237,.92),rgba(147,51,234,.92))!important;
  }
  body.pf-web-mobile-rebuild-p252 .pf-webmob-account-action.is-danger{color:#fda4af!important}

  /* ---------------------------------------------------------------------
     3. SEARCH — full-screen Web search, readable results and real spacing.
     --------------------------------------------------------------------- */
  body.pf-web-mobile-rebuild-p252 .pf-mob-srch-overlay{
    position:fixed!important;
    inset:0!important;
    z-index:1300!important;
    align-items:flex-start!important;
    justify-content:center!important;
    padding:calc(env(safe-area-inset-top,0px) + 13px) var(--pfm-gutter) calc(env(safe-area-inset-bottom,0px) + 18px)!important;
    background:rgba(5,5,8,.985)!important;
    backdrop-filter:blur(18px)!important;
    -webkit-backdrop-filter:blur(18px)!important;
    overflow-y:auto!important;
  }
  body.pf-web-mobile-rebuild-p252 .pf-mob-srch-inner{
    width:100%!important;
    max-width:680px!important;
    margin:0 auto!important;
    padding:0!important;
  }
  body.pf-web-mobile-rebuild-p252 .pf-webmob-search-head{
    min-height:51px!important;
    display:flex!important;
    align-items:center!important;
    justify-content:space-between!important;
    gap:14px!important;
    margin-bottom:12px!important;
  }
  body.pf-web-mobile-rebuild-p252 .pf-webmob-search-head>div{min-width:0!important}
  body.pf-web-mobile-rebuild-p252 .pf-webmob-search-head span{
    display:block!important;
    color:#a78bfa!important;
    font-size:11.5px!important;
    line-height:1.1!important;
    font-weight:900!important;
    letter-spacing:.12em!important;
    white-space:nowrap!important;
  }
  body.pf-web-mobile-rebuild-p252 .pf-webmob-search-head h2{
    margin:3px 0 0!important;
    font-size:25px!important;
    line-height:1!important;
    letter-spacing:-.03em!important;
  }
  body.pf-web-mobile-rebuild-p252 .pf-webmob-search-head .pf-mob-srch-close{
    flex:0 0 42px!important;
    width:42px!important;
    height:42px!important;
    padding:0!important;
    display:grid!important;
    place-items:center!important;
    border:1px solid rgba(255,255,255,.09)!important;
    border-radius:13px!important;
    background:rgba(255,255,255,.045)!important;
    color:#fff!important;
  }
  body.pf-web-mobile-rebuild-p252 .pf-mob-srch-bar{
    min-height:56px!important;
    display:grid!important;
    grid-template-columns:21px minmax(0,1fr)!important;
    align-items:center!important;
    gap:11px!important;
    padding:0 15px!important;
    border:1px solid rgba(255,255,255,.12)!important;
    border-radius:16px!important;
    background:#111118!important;
    box-shadow:0 12px 34px rgba(0,0,0,.22)!important;
  }
  body.pf-web-mobile-rebuild-p252 .pf-mob-srch-bar>svg{width:20px!important;height:20px!important;color:rgba(255,255,255,.48)!important}
  body.pf-web-mobile-rebuild-p252 #mob-search-input{
    width:100%!important;
    min-width:0!important;
    height:54px!important;
    padding:0!important;
    border:0!important;
    outline:0!important;
    background:transparent!important;
    color:#fff!important;
    font-size:16px!important;
    line-height:1.3!important;
    letter-spacing:0!important;
  }
  body.pf-web-mobile-rebuild-p252 #mob-search-input::placeholder{color:rgba(255,255,255,.36)!important}

  body.pf-web-mobile-rebuild-p252 .pf-webmob-search-hints{
    margin:16px 0 10px!important;
  }
  body.pf-web-mobile-rebuild-p252 .pf-webmob-search-hints>span{
    display:block!important;
    margin-bottom:8px!important;
    color:rgba(255,255,255,.46)!important;
    font-size:11px!important;
    line-height:1.2!important;
    font-weight:750!important;
  }
  body.pf-web-mobile-rebuild-p252 .pf-webmob-search-hints>div{
    display:flex!important;
    gap:7px!important;
    overflow-x:auto!important;
    overscroll-behavior-inline:contain!important;
    scrollbar-width:none!important;
  }
  body.pf-web-mobile-rebuild-p252 .pf-webmob-search-hints>div::-webkit-scrollbar{display:none!important}
  body.pf-web-mobile-rebuild-p252 .pf-webmob-search-hints a{
    flex:0 0 auto!important;
    min-height:38px!important;
    display:flex!important;
    align-items:center!important;
    padding:0 13px!important;
    border:1px solid rgba(255,255,255,.08)!important;
    border-radius:999px!important;
    background:rgba(255,255,255,.035)!important;
    color:rgba(255,255,255,.72)!important;
    font-size:12px!important;
    line-height:1!important;
    font-weight:750!important;
    white-space:nowrap!important;
  }
  body.pf-web-mobile-rebuild-p252 .pf-webmob-search-hints.is-hidden{display:none!important}

  body.pf-web-mobile-rebuild-p252 .pf-mob-srch-results{
    width:100%!important;
    max-height:none!important;
    margin:10px 0 0!important;
    padding:0!important;
    overflow:visible!important;
    border:0!important;
    border-radius:0!important;
    background:transparent!important;
  }
  body.pf-web-mobile-rebuild-p252 .pf-mob-srch-results:empty{display:none!important}
  body.pf-web-mobile-rebuild-p252 .pf-mob-srch-results .pf-drop-item{
    min-height:91px!important;
    display:grid!important;
    grid-template-columns:52px minmax(0,1fr)!important;
    align-items:center!important;
    gap:12px!important;
    padding:9px 6px!important;
    border:0!important;
    border-bottom:1px solid rgba(255,255,255,.065)!important;
    border-radius:0!important;
    background:transparent!important;
    color:#fff!important;
  }
  body.pf-web-mobile-rebuild-p252 .pf-mob-srch-results .pf-drop-item img{
    width:52px!important;
    height:74px!important;
    object-fit:cover!important;
    border-radius:9px!important;
    background:#17171f!important;
  }
  body.pf-web-mobile-rebuild-p252 .pf-mob-srch-results .pf-drop-item>div{min-width:0!important}
  body.pf-web-mobile-rebuild-p252 .pf-mob-srch-results .pf-drop-title{
    max-width:100%!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
    white-space:nowrap!important;
    font-size:14px!important;
    line-height:1.25!important;
    font-weight:800!important;
  }
  body.pf-web-mobile-rebuild-p252 .pf-mob-srch-results .pf-drop-meta{
    margin-top:5px!important;
    color:rgba(255,255,255,.48)!important;
    font-size:11px!important;
    line-height:1.25!important;
    white-space:normal!important;
  }
  body.pf-web-mobile-rebuild-p252 .pf-mob-srch-results .pf-drop-all{
    min-height:46px!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    margin-top:10px!important;
    padding:0 14px!important;
    border:1px solid rgba(167,139,250,.18)!important;
    border-radius:13px!important;
    background:rgba(124,58,237,.10)!important;
    color:#c4b5fd!important;
    font-size:12px!important;
    line-height:1.2!important;
    font-weight:850!important;
  }

  /* Account and notification popovers open below the Web header, never as app sheets. */
  body.pf-web-mobile-rebuild-p252 #pf-navbar .pf-user-drop,
  body.pf-web-mobile-rebuild-p252 .pf-mob-notif-drop{
    position:fixed!important;
    top:calc(var(--pfm-header-total) + 8px)!important;
    right:var(--pfm-gutter)!important;
    bottom:auto!important;
    left:auto!important;
    width:min(340px,calc(100vw - (var(--pfm-gutter) * 2)))!important;
    max-width:calc(100vw - (var(--pfm-gutter) * 2))!important;
    max-height:min(64dvh,520px)!important;
    overflow:auto!important;
    padding:8px!important;
    border:1px solid rgba(255,255,255,.10)!important;
    border-radius:17px!important;
    background:rgba(13,13,19,.985)!important;
    box-shadow:0 24px 70px rgba(0,0,0,.56)!important;
    backdrop-filter:blur(20px)!important;
    -webkit-backdrop-filter:blur(20px)!important;
  }

  /* Avoid header crowding on small phones. Notification remains in the menu. */
  @media (max-width:389px){
    body.pf-web-mobile-rebuild-p252 #pf-navbar{gap:6px!important}
    body.pf-web-mobile-rebuild-p252 #pf-navbar .pf-nav-logo{max-width:min(37vw,118px)!important}
    body.pf-web-mobile-rebuild-p252 #pf-navbar .pf-mob-notif-wrap{display:none!important}
  }
  @media (max-width:349px){
    body.pf-web-mobile-rebuild-p252 #pf-navbar .pf-auth-btn{display:none!important}
    body.pf-web-mobile-rebuild-p252 #pf-navbar .pf-nav-logo{max-width:min(43vw,120px)!important}
  }
}

@media (min-width:560px) and (max-width:820px){
  body.pf-web-mobile-rebuild-p252{
    --pfm-control:44px;
    --pfm-nav-panel:min(62vw,430px);
  }
  body.pf-web-mobile-rebuild-p252 #pf-navbar .pf-nav-logo{max-width:180px!important}
  body.pf-web-mobile-rebuild-p252 .pf-webmob-menu-panel{padding-inline:20px!important}
  body.pf-web-mobile-rebuild-p252 .pf-webmob-quick-grid,
  body.pf-web-mobile-rebuild-p252 .pf-webmob-genre-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}
}

@media (prefers-reduced-motion:reduce){
  body.pf-web-mobile-rebuild-p252 .pf-webmob-menu-overlay,
  body.pf-web-mobile-rebuild-p252 .pf-webmob-menu-panel,
  body.pf-web-mobile-rebuild-p252 #pf-navbar .pf-webmob-menu-btn span{transition:none!important}
}

/* P267 · restore a clear bridge from responsive Web to the installed Mobile App. */
@media (max-width:820px){
  body.pf-web-mobile-rebuild-p252 .pf-webmob-quick.pf-webmob-open-app{
    background:linear-gradient(135deg,rgba(124,58,237,.24),rgba(168,85,247,.14))!important;
    border-color:rgba(167,139,250,.34)!important;
    color:#f5f3ff!important;
    font-weight:900!important;
  }
  body.pf-web-mobile-rebuild-p252 .pf-webmob-quick.pf-webmob-open-app::before{
    content:"↗";
    display:inline-grid;
    place-items:center;
    width:18px;
    height:18px;
    margin-right:6px;
    border-radius:6px;
    background:rgba(255,255,255,.09);
    font-size:11px;
    line-height:1;
  }
}
