/** PrimeFlix 3.64.71 · P231 · Home desktop deep refinement */
@media (min-width:901px){
  body.pf-home-premium-p231{--pf231-pad:clamp(28px,3.2vw,64px)}

  /* =========================================================
     HERO · smaller poster, delayed reveal, one-line title.
     ========================================================= */
  body.pf-home-premium-p231 #pf-uhero-home.pf-hero-web-desktop-contract .pf-uhero-poster{
    right:clamp(52px,5.1vw,98px)!important;
    bottom:clamp(154px,18.5vh,210px)!important;
    width:clamp(178px,13.1vw,248px)!important;
    min-width:0!important;
    display:grid!important;
    place-items:center!important;
  }
  body.pf-home-premium-p231 #pf-uhero-home .pf-uhero-poster::before{
    width:138%!important;height:106%!important;
    background:radial-gradient(circle,rgba(124,58,237,.115) 0%,rgba(124,58,237,.025) 46%,transparent 72%)!important;
    filter:blur(22px)!important;
  }
  body.pf-home-premium-p231 #pf-uhero-home .pf-uhero-poster::after{
    content:"";
    position:absolute;
    left:50%;top:50%;
    width:34px;height:34px;
    margin:-17px 0 0 -17px;
    border-radius:50%;
    border:2px solid rgba(255,255,255,.16);
    border-top-color:rgba(196,181,253,.95);
    box-shadow:0 0 24px rgba(124,58,237,.20);
    animation:pf231PosterSpin .78s linear infinite;
    opacity:1;
    transition:opacity .22s ease;
    pointer-events:none;
    z-index:4;
  }
  body.pf-home-premium-p231 #pf-uhero-home .pf-uhero-poster.pfh-poster-ready::after{opacity:0!important}
  @keyframes pf231PosterSpin{to{transform:rotate(360deg)}}

  body.pf-home-premium-p231 #pf-uhero-home .pf-uhero-poster img{
    width:clamp(178px,13.1vw,248px)!important;
    opacity:0!important;
    filter:blur(7px) saturate(.9)!important;
    transform:perspective(1200px) rotateY(var(--pfh-poster-ry,-2deg)) rotateX(var(--pfh-poster-rx,0deg)) translate3d(0,calc(var(--pfh-poster-y,0px) + 8px),0) scale(.965)!important;
    transition:opacity .46s ease,filter .48s ease,transform .52s cubic-bezier(.2,.78,.2,1),box-shadow .22s ease,border-color .22s ease!important;
  }
  body.pf-home-premium-p231 #pf-uhero-home .pf-uhero-poster.pfh-poster-ready img{
    opacity:1!important;
    filter:saturate(.98) contrast(1.02)!important;
    transform:perspective(1200px) rotateY(var(--pfh-poster-ry,-2deg)) rotateX(var(--pfh-poster-rx,0deg)) translate3d(0,var(--pfh-poster-y,0px),0) scale(1)!important;
  }
  body.pf-home-premium-p231 #pf-uhero-home .pfh-poster-meta{display:none!important}

  body.pf-home-premium-p231 #pf-uhero-home .pf-uhero-title{
    width:min(100%,980px)!important;
    max-width:none!important;
    white-space:nowrap!important;
    overflow:visible!important;
    text-wrap:nowrap!important;
    font-size:var(--pf231-title-size,clamp(54px,5vw,92px))!important;
    line-height:.96!important;
    letter-spacing:-.048em!important;
  }
  body.pf-home-premium-p231 #pf-uhero-home .pf-uhero-btn-play svg{display:none!important}
  body.pf-home-premium-p231 #pf-uhero-home .pf-uhero-btn-play{
    min-width:132px!important;
    padding:12px 27px!important;
    font-size:15px!important;
    letter-spacing:.01em!important;
    justify-content:center!important;
  }

  /* =========================================================
     POSTER RAILS · safe edge expansion + smoother crossfade.
     ========================================================= */
  body.pf-home-premium-p231 .pf-home-flow-block,
  body.pf-home-premium-p231 .pf-sect,
  body.pf-home-premium-p231 .pf10-sect,
  body.pf-home-premium-p231 .pf10-top10-sect,
  body.pf-home-premium-p231 .pf10c-slider,
  body.pf-home-premium-p231 .pf10c-slider .swiper-wrapper,
  body.pf-home-premium-p231 .pf10c-slide{overflow:visible!important}

  body.pf-home-premium-p231 .swiper-slide.pf10c-slide{
    transition:width .42s cubic-bezier(.22,.78,.2,1)!important;
    will-change:width;
  }
  body.pf-home-premium-p231 .pf10c-card{
    transform:translate3d(var(--pf231-edge-shift,0px),0,0)!important;
    transition:transform .42s cubic-bezier(.22,.78,.2,1),border-color .24s ease,box-shadow .28s ease!important;
    will-change:transform;
  }
  body.pf-home-premium-p231 .pf10c-poster{
    opacity:1!important;
    transform:scale(1)!important;
    transition:opacity .34s cubic-bezier(.22,.78,.2,1),transform .44s cubic-bezier(.22,.78,.2,1)!important;
  }
  body.pf-home-premium-p231 .pf10c-back{
    opacity:0!important;
    transition:opacity .36s ease!important;
  }
  body.pf-home-premium-p231 .pf10c-back-img{
    transform:scale(1.035)!important;
    transition:transform .58s cubic-bezier(.22,.78,.2,1),filter .32s ease,opacity .28s ease!important;
  }
  body.pf-home-premium-p231 .pf10c-slide:hover .pf10c-poster,
  body.pf-home-premium-p231 .pf10c-slide:focus-within .pf10c-poster{
    opacity:0!important;
    transform:scale(1.025)!important;
  }
  body.pf-home-premium-p231 .pf10c-slide:hover .pf10c-back,
  body.pf-home-premium-p231 .pf10c-slide:focus-within .pf10c-back{opacity:1!important}
  body.pf-home-premium-p231 .pf10c-slide:hover .pf10c-back-img,
  body.pf-home-premium-p231 .pf10c-slide:focus-within .pf10c-back-img{transform:scale(1)!important}
  body.pf-home-premium-p231 .pf10c-slide.is-pf231-edge-right .pf10c-card{transform-origin:right center!important}
  body.pf-home-premium-p231 .pf10c-slide.is-pf231-edge-left .pf10c-card{transform-origin:left center!important}

  /* =========================================================
     PRIMEFLIX PULSE · one adapted dashboard, ten real signals.
     ========================================================= */
  body.pf-home-premium-p231 .pfde-pulse{
    background:linear-gradient(180deg,rgba(255,255,255,.012),transparent)!important;
  }
  body.pf-home-premium-p231 .pfde-pulse__grid{
    display:grid!important;
    grid-template-columns:minmax(0,1.62fr) minmax(300px,.58fr)!important;
    gap:14px!important;
    align-items:stretch!important;
  }
  body.pf-home-premium-p231 .pfde-metrics{
    display:grid!important;
    grid-template-columns:repeat(5,minmax(0,1fr))!important;
    gap:0!important;
    padding:0!important;
    border:1px solid rgba(255,255,255,.085)!important;
    border-radius:15px!important;
    overflow:hidden!important;
    background:linear-gradient(145deg,rgba(18,18,25,.72),rgba(7,7,11,.78))!important;
    box-shadow:inset 0 1px rgba(255,255,255,.03),0 18px 46px rgba(0,0,0,.18)!important;
  }
  body.pf-home-premium-p231 .pfde-metrics article{
    min-height:76px!important;
    padding:13px 12px 12px 42px!important;
    border:0!important;
    border-radius:0!important;
    background:transparent!important;
    box-shadow:none!important;
    display:flex!important;
    flex-direction:column!important;
    justify-content:center!important;
    position:relative!important;
  }
  body.pf-home-premium-p231 .pfde-metrics article:not(:nth-child(5n+1)){border-left:1px solid rgba(255,255,255,.055)!important}
  body.pf-home-premium-p231 .pfde-metrics article:nth-child(n+6){border-top:1px solid rgba(255,255,255,.055)!important}
  body.pf-home-premium-p231 .pfde-metrics article::after{
    content:"";position:absolute;left:0;top:14px;bottom:14px;width:2px;border-radius:2px;
    background:linear-gradient(180deg,rgba(168,85,247,.05),rgba(168,85,247,.52),rgba(168,85,247,.05));opacity:.72;
  }
  body.pf-home-premium-p231 .pfde-metrics article>i{
    left:12px!important;top:50%!important;transform:translateY(-50%)!important;
    width:22px!important;height:22px!important;border-radius:7px!important;
    background:rgba(124,58,237,.10)!important;border:1px solid rgba(168,85,247,.14)!important;
    font-size:10px!important;
  }
  body.pf-home-premium-p231 .pfde-metrics article>strong{
    font-size:20px!important;line-height:1!important;margin:0 0 5px!important;letter-spacing:-.025em!important;
  }
  body.pf-home-premium-p231 .pfde-metrics article>span{
    font-size:10.5px!important;line-height:1.16!important;margin:0!important;color:rgba(255,255,255,.54)!important;
  }
  body.pf-home-premium-p231 .pfde-local-top{
    padding:13px!important;border-radius:15px!important;background:rgba(255,255,255,.022)!important;
  }
  body.pf-home-premium-p231 .pfde-local-top h3{font-size:15px!important;margin-bottom:8px!important}
  body.pf-home-premium-p231 .pfde-local-top__list{gap:4px!important}
  body.pf-home-premium-p231 .pfde-local-top__list a{grid-template-columns:24px 34px 1fr auto!important;gap:8px!important;padding:5px 6px!important;border-radius:9px!important}
  body.pf-home-premium-p231 .pfde-local-top__list img{width:34px!important;height:44px!important;border-radius:6px!important}
  body.pf-home-premium-p231 .pfde-local-top__list strong{font-size:12px!important}
  body.pf-home-premium-p231 .pfde-local-top__list small{font-size:9.5px!important;margin-top:2px!important}

  /* =========================================================
     COMMUNITY ACTIVITY · poster + content side by side, icon actions.
     ========================================================= */
  body.pf-home-premium-p231 .pfde-social-activity .pfde-activity-grid{
    grid-template-columns:repeat(3,minmax(300px,420px))!important;
    align-items:start!important;
  }
  body.pf-home-premium-p231 .pfde-social-activity .pfsf-event{
    display:grid!important;
    grid-template-columns:38px 54px minmax(0,1fr)!important;
    grid-template-areas:"avatar poster body"!important;
    gap:10px!important;
    align-items:start!important;
    min-height:104px!important;
    padding:12px!important;
  }
  body.pf-home-premium-p231 .pfde-social-activity .pfsf-event:not(.has-content){
    grid-template-columns:38px minmax(0,1fr)!important;
    grid-template-areas:"avatar body"!important;
  }
  body.pf-home-premium-p231 .pfde-social-activity .pfsf-avatar{grid-area:avatar!important}
  body.pf-home-premium-p231 .pfde-social-activity .pfsf-event__body{grid-area:body!important;min-width:0!important}
  body.pf-home-premium-p231 .pfde-social-activity .pfsf-poster{
    grid-area:poster!important;width:54px!important;min-width:54px!important;margin:0!important;align-self:start!important;
  }
  body.pf-home-premium-p231 .pfde-social-activity .pfsf-poster img{width:54px!important;height:80px!important;object-fit:cover!important}
  body.pf-home-premium-p231 .pfde-social-activity .pfsf-event__line{
    display:block!important;font-size:12px!important;line-height:1.32!important;margin:0!important;
  }
  body.pf-home-premium-p231 .pfde-social-activity .pfsf-event__line>a:first-child{display:inline-flex!important;gap:4px!important;align-items:center!important;margin-right:4px!important}
  body.pf-home-premium-p231 .pfde-social-activity .pfsf-title-inline{display:block!important;margin-top:4px!important;font-size:13px!important;font-weight:900!important;color:#fff!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
  body.pf-home-premium-p231 .pfde-social-activity .pfsf-meta{font-size:9.5px!important;margin-top:4px!important;color:rgba(255,255,255,.43)!important}
  body.pf-home-premium-p231 .pfde-social-activity .pfsf-review-snippet{
    margin:6px 0 0!important;padding:0!important;border:0!important;background:transparent!important;border-radius:0!important;
    font-size:11.5px!important;line-height:1.38!important;color:rgba(255,255,255,.68)!important;
  }
  body.pf-home-premium-p231 .pfde-social-activity .pfsf-review-snippet strong{font-size:11.5px!important}
  body.pf-home-premium-p231 .pfde-social-activity .pfsf-review-snippet p{margin:3px 0 0!important;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden!important}
  body.pf-home-premium-p231 .pfsf-event__actions{margin-top:8px!important}
  body.pf-home-premium-p231 .pfsf-event__actions .pfso{padding:0!important}
  body.pf-home-premium-p231 .pfsf-event__actions .pfso-actions{display:flex!important;gap:5px!important;flex-wrap:nowrap!important}
  body.pf-home-premium-p231 .pfsf-event__actions .pf-social-label{display:none!important}
  body.pf-home-premium-p231 .pfsf-event__actions .pf-social-action{
    width:29px!important;height:29px!important;min-width:29px!important;padding:0!important;border-radius:50%!important;
    display:grid!important;place-items:center!important;background:rgba(255,255,255,.045)!important;border:1px solid rgba(255,255,255,.075)!important;
  }
  body.pf-home-premium-p231 .pfsf-event__actions .pf-social-icon{width:14px!important;height:14px!important}
  body.pf-home-premium-p231 .pfsf-event__actions .pf-social-action b{position:absolute!important;left:-9999px!important}

  /* =========================================================
     USERS · share is icon-only.
     ========================================================= */
  body.pf-home-premium-p231 .pfde-user-card__actions [data-pfde-share] .pf-social-label{display:none!important}
  body.pf-home-premium-p231 .pfde-user-card__actions [data-pfde-share]{
    width:34px!important;min-width:34px!important;height:34px!important;padding:0!important;border-radius:50%!important;display:grid!important;place-items:center!important;
  }
  body.pf-home-premium-p231 .pfde-user-card__actions [data-pfde-share] .pf-social-icon{width:16px!important;height:16px!important}

  /* =========================================================
     RECENT HISTORY · compact, poster-led and useful.
     ========================================================= */
  body.pf-home-premium-p231 .pfde-recent{
    grid-auto-columns:clamp(350px,30vw,455px)!important;gap:11px!important;overflow-x:auto!important;
  }
  body.pf-home-premium-p231 .pfde-recent-card{
    display:grid!important;grid-template-columns:92px minmax(0,1fr)!important;
    min-height:138px!important;height:138px!important;padding:8px!important;gap:12px!important;
    border-radius:14px!important;background:linear-gradient(145deg,rgba(17,17,24,.82),rgba(7,7,11,.78))!important;
    overflow:hidden!important;
  }
  body.pf-home-premium-p231 .pfde-recent-card::after{display:none!important}
  body.pf-home-premium-p231 .pfde-recent-card__visual{position:relative!important;min-height:0!important;width:92px!important;height:122px!important;border-radius:10px!important;overflow:hidden!important;align-self:center!important}
  body.pf-home-premium-p231 .pfde-recent-card__visual img{position:static!important;width:100%!important;height:100%!important;min-height:0!important;object-fit:cover!important;border-radius:10px!important}
  body.pf-home-premium-p231 .pfde-recent-card__visual::after{background:linear-gradient(180deg,transparent 58%,rgba(0,0,0,.36))!important}
  body.pf-home-premium-p231 .pfde-recent-card__type{left:6px!important;top:6px!important;font-size:7.5px!important;padding:3px 5px!important;border-radius:6px!important}
  body.pf-home-premium-p231 .pfde-recent-card__body{padding:5px 8px 5px 0!important;display:flex!important;justify-content:center!important;align-items:flex-start!important}
  body.pf-home-premium-p231 .pfde-recent-card__when{font-size:8.5px!important;letter-spacing:.09em!important;color:#b9a3ff!important;margin:0 0 5px!important}
  body.pf-home-premium-p231 .pfde-recent-card__body>strong{font-size:16px!important;line-height:1.15!important;margin:0!important;max-width:100%!important}
  body.pf-home-premium-p231 .pfde-recent-card__body>strong a{color:#fff!important;text-decoration:none!important}
  body.pf-home-premium-p231 .pfde-recent-card__meta{display:flex!important;gap:7px!important;margin-top:5px!important}
  body.pf-home-premium-p231 .pfde-recent-card__meta span{font-size:9.5px!important;color:rgba(255,255,255,.46)!important;margin:0!important}
  body.pf-home-premium-p231 .pfde-recent-card__meta span+span::before{content:"•";margin-right:7px;color:rgba(255,255,255,.24)}
  body.pf-home-premium-p231 .pfde-recent-card__body>p{margin:6px 0 0!important;font-size:10.5px!important;line-height:1.35!important;color:rgba(255,255,255,.52)!important;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden!important}
  body.pf-home-premium-p231 .pfde-recent-card__cta{margin-top:auto!important;min-height:27px!important;padding:5px 9px!important;border-radius:8px!important;font-size:10px!important;background:rgba(124,58,237,.12)!important;border-color:rgba(168,85,247,.18)!important}
  body.pf-home-premium-p231 .pfde-history-section.is-solo .pfde-recent{display:block!important}
  body.pf-home-premium-p231 .pfde-history-section.is-solo .pfde-recent-card{width:min(455px,100%)!important;grid-template-columns:92px minmax(0,1fr)!important}

  /* =========================================================
     PUBLICACIONES · cinema-board language, tighter corners.
     ========================================================= */
  body.pf-home-premium-p231 #pfsp-home{
    position:relative!important;
    padding:24px var(--pf231-pad) 27px!important;
    border-top:1px solid rgba(245,194,91,.085)!important;
    border-bottom:1px solid rgba(245,194,91,.075)!important;
    background:linear-gradient(90deg,rgba(122,24,30,.035),transparent 26%,transparent 74%,rgba(181,128,24,.025))!important;
  }
  body.pf-home-premium-p231 #pfsp-home::before{
    content:"SALA SOCIAL  ·  FUNCIÓN ABIERTA";
    display:block!important;
    width:max-content;max-width:100%;
    margin:0 0 13px!important;padding:6px 9px!important;
    border-radius:7px!important;background:#17100b!important;border:1px solid rgba(245,194,91,.17)!important;
    color:#f5d995!important;font-size:8.5px!important;font-weight:950!important;letter-spacing:.12em!important;
  }
  body.pf-home-premium-p231 #pfsp-home .pfsp-section-head{margin-bottom:14px!important}
  body.pf-home-premium-p231 #pfsp-home .pfsp-section-head h2{font-size:clamp(24px,2vw,34px)!important}
  body.pf-home-premium-p231 #pfsp-home .pfsp-section-head p{font-size:13px!important;line-height:1.5!important;margin-top:7px!important}
  body.pf-home-premium-p231 #pfsp-home .pfsp-composer{border-radius:12px!important;padding:13px!important;margin-bottom:12px!important;background:linear-gradient(180deg,rgba(25,20,16,.62),rgba(9,9,12,.72))!important;border-color:rgba(245,194,91,.10)!important;box-shadow:none!important}
  body.pf-home-premium-p231 #pfsp-home .pfsp-composer__top>button{border-radius:9px!important;padding:11px 13px!important;font-size:13px!important}
  body.pf-home-premium-p231 #pfsp-home .pfsp-home__feed{gap:11px!important}
  body.pf-home-premium-p231 #pfsp-home .pfsp-card--home{
    border-radius:12px!important;padding:13px!important;background:linear-gradient(180deg,rgba(23,18,15,.72),rgba(9,9,12,.80))!important;border-color:rgba(245,194,91,.10)!important;box-shadow:inset 0 1px rgba(255,255,255,.025)!important;
  }
  body.pf-home-premium-p231 #pfsp-home .pfsp-type{border-radius:7px!important}
  body.pf-home-premium-p231 #pfsp-home .pfsp-content,
  body.pf-home-premium-p231 #pfsp-home .pfsp-image,
  body.pf-home-premium-p231 #pfsp-home .pfsp-link,
  body.pf-home-premium-p231 #pfsp-home .pfsp-source,
  body.pf-home-premium-p231 #pfsp-home .pfsp-poll button{border-radius:9px!important}
  body.pf-home-premium-p231 #pfsp-home .pfsp-actions .pf-social-action{border-radius:8px!important}

  /* =========================================================
     CURRENT PEOPLE · icon-only actions.
     ========================================================= */
  body.pf-home-premium-p231 .pfcp-home .pfso-actions{gap:6px!important}
  body.pf-home-premium-p231 .pfcp-home .pfso-actions .pf-social-label{display:none!important}
  body.pf-home-premium-p231 .pfcp-home .pfso-actions .pf-social-action{
    width:33px!important;height:33px!important;min-width:33px!important;padding:0!important;border-radius:50%!important;display:grid!important;place-items:center!important;
  }
  body.pf-home-premium-p231 .pfcp-home .pfso-actions .pf-social-icon{width:15px!important;height:15px!important}
  body.pf-home-premium-p231 .pfcp-home .pfso-actions .pf-social-action b{display:none!important}

}

@media (min-width:901px) and (prefers-reduced-motion:reduce){
  body.pf-home-premium-p231 #pf-uhero-home .pf-uhero-poster::after{animation:none!important}
  body.pf-home-premium-p231 #pf-uhero-home .pf-uhero-poster img,
  body.pf-home-premium-p231 .swiper-slide.pf10c-slide,
  body.pf-home-premium-p231 .pf10c-card,
  body.pf-home-premium-p231 .pf10c-poster,
  body.pf-home-premium-p231 .pf10c-back,
  body.pf-home-premium-p231 .pf10c-back-img{transition:none!important}
}

@media (min-width:901px) and (max-width:1180px){
  body.pf-home-premium-p231 #pf-uhero-home.pf-hero-web-desktop-contract .pf-uhero-poster{right:34px!important;width:clamp(166px,15vw,202px)!important}
  body.pf-home-premium-p231 #pf-uhero-home .pf-uhero-poster img{width:clamp(166px,15vw,202px)!important}
  body.pf-home-premium-p231 .pfde-pulse__grid{grid-template-columns:1fr!important}
  body.pf-home-premium-p231 .pfde-metrics{grid-template-columns:repeat(5,minmax(112px,1fr))!important}
  body.pf-home-premium-p231 .pfde-social-activity .pfde-activity-grid{grid-template-columns:repeat(2,minmax(300px,1fr))!important}
}
