/* PrimeFlix 3.65.16 · P274 · Web Mobile Hero strict single-line composition
 * Mobile web only. One visual authority. No post-paint DOM rearrangement.
 */
.pf-uhero-mobile-tags{display:none}

@media (max-width:820px){
  body.pf-web-p274{
    --p274-gutter:clamp(13px,4.2vw,20px);
    --p274-poster-w:clamp(64px,18vw,82px);
    --p274-poster-h:clamp(96px,27vw,123px);
    --p274-poster-top:calc(var(--pfm-header-total,58px) + 8px);
    --p274-gap:5px;
    --p274-tags-fs:9px;
    --p274-title-fs:38px;
    --p274-facts-fs:10.5px;
    --p274-ov-fs:12.5px;
    --p274-actions-fs:12px;
    --p274-play-fs:13px;
    --p274-watched-fs:9px;
    --p274-score-fs:10px;
  }

  body.pf-web-p274 :is(#pf-uhero-home,#pf-uhero-movies,#pf-uhero-series,#pf-uhero-anime){
    height:100svh!important;min-height:100svh!important;max-height:100svh!important;overflow:hidden!important;
  }
  body.pf-web-p274 :is(#pf-uhero-home,#pf-uhero-movies,#pf-uhero-series,#pf-uhero-anime) .pf-uhero-slide.pf-uhero-active{z-index:8!important}

  /* Kill every legacy mobile hero row. P274 owns the visible mobile hierarchy. */
  body.pf-web-p274 :is(#pf-uhero-home,#pf-uhero-movies,#pf-uhero-series,#pf-uhero-anime) :is(
    .pf-uhero-mobile-hero-label,.pf-uhero-mobile-info-label,.pf-uhero-kicker,.pf-uhero-pills,
    .pf-uhero-deck,.pf263-hero-facts,.p269-row-score,.pf-uhero-genres
  ){display:none!important}

  /* Small poster, fixed at the top-right. */
  body.pf-web-p274 :is(#pf-uhero-home,#pf-uhero-movies,#pf-uhero-series,#pf-uhero-anime) .pf-uhero-poster{
    display:block!important;position:absolute!important;top:var(--p274-poster-top)!important;right:var(--p274-gutter)!important;left:auto!important;bottom:auto!important;
    width:var(--p274-poster-w)!important;height:var(--p274-poster-h)!important;max-width:var(--p274-poster-w)!important;max-height:var(--p274-poster-h)!important;
    z-index:16!important;margin:0!important;padding:0!important;transform:none!important;opacity:1!important;visibility:visible!important;overflow:visible!important;
  }
  body.pf-web-p274 :is(#pf-uhero-home,#pf-uhero-movies,#pf-uhero-series,#pf-uhero-anime) .pf-uhero-poster>img{
    display:block!important;width:100%!important;height:100%!important;max-width:none!important;object-fit:cover!important;border-radius:9px!important;
    opacity:1!important;visibility:visible!important;transform:none!important;box-shadow:0 12px 26px rgba(0,0,0,.32)!important;
  }

  /* Visto: upper side of poster. Score: directly below poster. */
  body.pf-web-p274 .pf-uhero-mobile-poster-watched{
    position:absolute!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:.30em!important;
    top:0!important;right:calc(100% + 6px)!important;z-index:17!important;width:auto!important;max-width:min(44vw,180px)!important;
    height:24px!important;min-height:24px!important;margin:0!important;padding:0 .62em!important;
    border:1px solid rgba(255,255,255,.12)!important;border-radius:999px!important;background:rgba(8,8,12,.50)!important;
    backdrop-filter:blur(12px)!important;-webkit-backdrop-filter:blur(12px)!important;color:rgba(255,255,255,.86)!important;
    font-size:var(--p274-watched-fs)!important;font-weight:760!important;line-height:1!important;
    white-space:nowrap!important;word-break:keep-all!important;overflow-wrap:normal!important;hyphens:none!important;overflow:hidden!important;
  }
  body.pf-web-p274 .pf-uhero-mobile-poster-watched svg{width:1em!important;height:1em!important;flex:0 0 1em!important}
  body.pf-web-p274 .pf-uhero-mobile-poster-score{
    position:absolute!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:.28em!important;
    top:calc(100% + 6px)!important;right:0!important;z-index:17!important;width:var(--p274-poster-w)!important;max-width:var(--p274-poster-w)!important;
    height:23px!important;min-height:23px!important;margin:0!important;padding:0 4px!important;
    border:1px solid rgba(234,179,8,.28)!important;border-radius:999px!important;background:rgba(234,179,8,.13)!important;color:#fde68a!important;
    font-size:var(--p274-score-fs)!important;font-weight:850!important;line-height:1!important;white-space:nowrap!important;overflow:hidden!important;
  }
  body.pf-web-p274 .pf-uhero-mobile-poster-score svg{width:1em!important;height:1em!important;flex:0 0 1em!important}

  /* Content starts below the poster zone, so no row can collide with poster metadata. */
  body.pf-web-p274 :is(#pf-uhero-home,#pf-uhero-movies,#pf-uhero-series,#pf-uhero-anime) .pf-uhero-content{
    position:absolute!important;left:var(--p274-gutter)!important;right:var(--p274-gutter)!important;
    top:calc(var(--p274-poster-top) + var(--p274-poster-h) + 36px)!important;
    bottom:max(34px,calc(env(safe-area-inset-bottom,0px) + 26px))!important;
    width:auto!important;max-width:none!important;min-width:0!important;height:auto!important;max-height:none!important;
    margin:0!important;padding:0!important;transform:none!important;box-sizing:border-box!important;
    display:flex!important;flex-direction:column!important;align-items:stretch!important;justify-content:flex-end!important;gap:0!important;overflow:hidden!important;
  }
  body.pf-web-p274 :is(#pf-uhero-home,#pf-uhero-movies,#pf-uhero-series,#pf-uhero-anime) .pf-uhero-content > :is(.pf-uhero-mobile-tags,.pf-uhero-title,.pf-uhero-mobile-facts,.pf-uhero-ov,.pf-uhero-actions){
    position:relative!important;inset:auto!important;float:none!important;clear:both!important;flex:0 0 auto!important;width:100%!important;max-width:100%!important;min-width:0!important;box-sizing:border-box!important;
  }

  /* ALL editorial labels share ONE mandatory line. */
  body.pf-web-p274 .pf-uhero-mobile-tags{
    order:10!important;display:flex!important;flex-flow:row nowrap!important;align-items:center!important;justify-content:flex-start!important;gap:.42em!important;
    height:2.05em!important;min-height:2.05em!important;max-height:2.05em!important;margin:0 0 var(--p274-gap)!important;padding:0!important;
    font-size:var(--p274-tags-fs)!important;line-height:1!important;white-space:nowrap!important;overflow:hidden!important;
  }
  body.pf-web-p274 .pf-uhero-mobile-tag{
    flex:0 0 auto!important;display:inline-flex!important;align-items:center!important;height:100%!important;min-width:0!important;max-width:none!important;
    padding:0 .72em!important;border-radius:999px!important;border:1px solid rgba(255,255,255,.12)!important;background:rgba(255,255,255,.06)!important;
    color:rgba(255,255,255,.82)!important;font-weight:800!important;letter-spacing:.035em!important;text-transform:uppercase!important;
    white-space:nowrap!important;word-break:keep-all!important;overflow-wrap:normal!important;hyphens:none!important;
  }
  body.pf-web-p274 .pf-uhero-mobile-tag--hero{background:rgba(139,92,246,.16)!important;border-color:rgba(167,139,250,.26)!important;color:#e9ddff!important}

  /* Title: exactly ONE line, always. JS shrinks it until it fits. */
  body.pf-web-p274 :is(#pf-uhero-home,#pf-uhero-movies,#pf-uhero-series,#pf-uhero-anime) .pf-uhero-title{
    order:20!important;display:block!important;height:1.08em!important;min-height:1.08em!important;max-height:1.08em!important;margin:0 0 var(--p274-gap)!important;padding:0!important;
    font-size:var(--p274-title-fs)!important;line-height:1.08!important;letter-spacing:-.038em!important;
    white-space:nowrap!important;word-break:keep-all!important;overflow-wrap:normal!important;hyphens:none!important;overflow:hidden!important;text-overflow:clip!important;-webkit-line-clamp:unset!important;
  }

  /* Type · Genre · Year: one dedicated line, never duplicated, never wrapped. */
  body.pf-web-p274 .pf-uhero-mobile-facts{
    order:30!important;display:flex!important;flex-flow:row nowrap!important;align-items:center!important;justify-content:flex-start!important;gap:.48em!important;
    height:1.95em!important;min-height:1.95em!important;max-height:1.95em!important;margin:0 0 var(--p274-gap)!important;padding:0!important;
    color:rgba(255,255,255,.76)!important;font-size:var(--p274-facts-fs)!important;font-weight:720!important;line-height:1!important;
    white-space:nowrap!important;word-break:keep-all!important;overflow-wrap:normal!important;hyphens:none!important;overflow:hidden!important;
  }
  body.pf-web-p274 .pf-uhero-mobile-facts span{flex:0 0 auto!important;min-width:0!important;white-space:nowrap!important}
  body.pf-web-p274 .pf-uhero-mobile-facts i{flex:0 0 auto!important;font-style:normal!important;color:rgba(255,255,255,.30)!important}

  /* Synopsis keeps the previously approved two-line budget. */
  body.pf-web-p274 :is(#pf-uhero-home,#pf-uhero-movies,#pf-uhero-series,#pf-uhero-anime) .pf-uhero-ov{
    order:40!important;display:-webkit-box!important;-webkit-box-orient:vertical!important;-webkit-line-clamp:2!important;line-clamp:2!important;
    height:3em!important;min-height:3em!important;max-height:3em!important;margin:0 0 calc(var(--p274-gap) + 1px)!important;padding:0!important;
    font-size:var(--p274-ov-fs)!important;line-height:1.5!important;overflow:hidden!important;word-break:normal!important;overflow-wrap:break-word!important;hyphens:none!important;
  }
  body.pf-web-p274 .pf-uhero-ov:empty{display:block!important;position:relative!important;color:transparent!important}
  body.pf-web-p274 .pf-uhero-ov:empty::before,body.pf-web-p274 .pf-uhero-ov:empty::after{content:"";position:absolute;left:0;height:3px;border-radius:999px;background:rgba(255,255,255,.10)}
  body.pf-web-p274 .pf-uhero-ov:empty::before{top:.42em;width:84%}body.pf-web-p274 .pf-uhero-ov:empty::after{top:1.92em;width:61%}

  /* Ver ficha owns row 1. Trailer / Más info / Mi lista share row 2. Every label stays on one line. */
  body.pf-web-p274 :is(#pf-uhero-home,#pf-uhero-movies,#pf-uhero-series,#pf-uhero-anime) .pf-uhero-actions{
    order:50!important;position:relative!important;z-index:2!important;display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;grid-template-rows:auto auto!important;
    gap:var(--p274-gap)!important;height:auto!important;min-height:0!important;max-height:none!important;margin:0!important;padding:0!important;overflow:visible!important;
    font-size:var(--p274-actions-fs)!important;line-height:1!important;
  }
  body.pf-web-p274 :is(#pf-uhero-home,#pf-uhero-movies,#pf-uhero-series,#pf-uhero-anime) .pf-uhero-actions>:is(.pf-uhero-btn-play,.pf-uhero-btn-trailer,.pf-uhero-btn-info,.pf-uhero-btn-icon){
    position:relative!important;inset:auto!important;transform:none!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;flex-wrap:nowrap!important;gap:.34em!important;
    width:100%!important;min-width:0!important;max-width:100%!important;margin:0!important;padding:0 .42em!important;box-sizing:border-box!important;overflow:hidden!important;
    line-height:1!important;letter-spacing:0!important;white-space:nowrap!important;word-break:keep-all!important;overflow-wrap:normal!important;hyphens:none!important;
  }
  body.pf-web-p274 :is(#pf-uhero-home,#pf-uhero-movies,#pf-uhero-series,#pf-uhero-anime) .pf-uhero-actions>.pf-uhero-btn-play{
    grid-column:1/-1!important;grid-row:1!important;height:3.25em!important;min-height:0!important;font-size:var(--p274-play-fs)!important;
  }
  body.pf-web-p274 :is(#pf-uhero-home,#pf-uhero-movies,#pf-uhero-series,#pf-uhero-anime) .pf-uhero-actions>:is(.pf-uhero-btn-trailer,.pf-uhero-btn-info,.pf-uhero-btn-icon){grid-row:2!important;height:3em!important;min-height:0!important;font-size:1em!important}
  body.pf-web-p274 :is(#pf-uhero-home,#pf-uhero-movies,#pf-uhero-series,#pf-uhero-anime) .pf-uhero-actions svg{width:1.08em!important;height:1.08em!important;flex:0 0 1.08em!important;margin:0!important}
  body.pf-web-p274 :is(#pf-uhero-home,#pf-uhero-movies,#pf-uhero-series,#pf-uhero-anime) .pf-uhero-btn-trailer[style*="display:none"],
  body.pf-web-p274 :is(#pf-uhero-home,#pf-uhero-movies,#pf-uhero-series,#pf-uhero-anime) .pf-uhero-btn-trailer[style*="display: none"]{display:none!important}

  /* Community top: automatic vertical motion only; finger scroll always belongs to page. */
  body.pf-web-p274 .pfde-local-top__list{overflow:hidden!important;overflow-x:hidden!important;overflow-y:hidden!important;touch-action:pan-y!important;overscroll-behavior:auto!important;scroll-snap-type:none!important;-webkit-overflow-scrolling:auto!important;scrollbar-width:none!important;cursor:default!important}
  body.pf-web-p274 .pfde-local-top__list::-webkit-scrollbar{display:none!important}
  body.pf-web-p274 .pfde-local-top__list>a{scroll-snap-align:none!important}
}

@media (max-width:380px){
  body.pf-web-p274{--p274-poster-w:60px;--p274-poster-h:90px;--p274-poster-top:calc(var(--pfm-header-total,54px) + 7px);--p274-gap:4px}
  body.pf-web-p274 .pf-uhero-mobile-poster-watched{height:22px!important;min-height:22px!important}
  body.pf-web-p274 .pf-uhero-mobile-poster-score{height:21px!important;min-height:21px!important}
}
@media (min-width:600px) and (max-width:820px){
  body.pf-web-p274{--p274-poster-w:88px;--p274-poster-h:132px;--p274-poster-top:calc(var(--pfm-header-total,62px) + 13px)}
}
