/* PrimeFlix Desktop App P90 — native shell playback surface */
.pfd-route-player{overflow:hidden;background:#050609}
.pfd-route-player .pfd-statusbar{display:none!important}
.pfd-route-player .pfd-app{grid-template-columns:var(--pfd-sidebar-width) minmax(0,1fr);grid-template-rows:76px minmax(0,1fr);height:100vh;min-width:980px}
.pfd-route-player .pfd-topbar{display:grid!important;grid-column:1/-1;grid-row:1}
.pfd-route-player .pfd-sidebar{display:flex!important;grid-column:1;grid-row:2;height:auto;min-height:0}
.pfd-route-player .pfd-scroll{grid-column:2;grid-row:2;height:auto;width:auto;min-width:0;min-height:0;overflow:hidden!important;padding:0!important;background:#050609;scrollbar-gutter:auto}
.pfd-route-player .pfd-workspace{display:contents}
.pfd-player-desktop{position:relative;isolation:isolate;width:100%;height:100%;min-height:0;overflow:hidden;background:#000;color:#f7f7fb}
.pfd-player-backdrop{display:none}
.pfd-player-desktop:after{display:none}
.pfd-player-toolbar{display:none!important}
.pfd-player-layout{position:relative;width:100%;height:100%;min-height:0;display:block}
.pfd-player-main{position:absolute;inset:0;min-width:0;min-height:0;padding:0;display:block;overflow:hidden}
.pfd-player-stage{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;overflow:hidden;border:0;border-radius:0;background:#000;box-shadow:none}
.pfd-player-engine,.pfd-player-engine .pfvjs-shell{width:100%;height:100%;max-width:none!important;max-height:none!important;border-radius:0!important}
.pfd-player-engine .pfvjs-shell{aspect-ratio:auto!important}
.pfd-player-engine video,.pfd-player-iframe{width:100%!important;height:100%!important;object-fit:contain;background:#000;border:0}
.pfd-player-empty{display:grid;place-items:center;text-align:center;gap:8px;color:#fff}.pfd-player-empty p{color:rgba(255,255,255,.55)}
.pfd-player-now{display:none!important}

/* Integrated player chrome: no second header; the real Desktop topbar remains above. */
.pfd-player-chrome{position:absolute;z-index:40;inset:0 0 auto;min-height:128px;padding:16px 20px 30px;background:linear-gradient(180deg,rgba(4,5,8,.92) 0%,rgba(4,5,8,.66) 54%,transparent 100%);pointer-events:none}
.pfd-player-chrome__top{display:flex;align-items:flex-start;justify-content:space-between;gap:24px}
.pfd-player-chrome__identity{display:flex;align-items:center;gap:12px;min-width:0;max-width:min(720px,55vw)}
.pfd-player-chrome__identity>div{min-width:0}.pfd-player-chrome__identity strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:16px;line-height:1.1}.pfd-player-chrome__identity span{display:block;margin-top:5px;color:rgba(255,255,255,.64);font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.pfd-player-chrome__back{pointer-events:auto;flex:0 0 40px;width:40px;height:40px;display:grid;place-items:center;border:1px solid rgba(255,255,255,.11);border-radius:12px;background:rgba(12,13,18,.58);backdrop-filter:blur(14px);color:#fff;text-decoration:none;transition:.16s ease}.pfd-player-chrome__back:hover{background:rgba(255,255,255,.14)}
.pfd-player-chrome__tools{pointer-events:auto;display:flex;align-items:center;justify-content:flex-end;gap:7px;min-width:0}
.pfd-player-tool{height:38px;border:1px solid rgba(255,255,255,.08);border-radius:11px;padding:0 12px;display:inline-flex;align-items:center;gap:7px;background:rgba(12,13,18,.56);backdrop-filter:blur(14px);color:rgba(255,255,255,.84);font:700 11px/1 var(--pf-font-body);cursor:pointer;text-decoration:none;white-space:nowrap}.pfd-player-tool:hover{background:rgba(255,255,255,.14);color:#fff}.pfd-player-tool svg{width:16px;height:16px}.pfd-player-tool--icon{width:38px;justify-content:center;padding:0;font-size:15px}
.pfd-player-quick-actions{pointer-events:auto;display:flex;align-items:center;gap:7px;max-width:100%;margin:10px 0 0 52px;overflow-x:auto;scrollbar-width:none}.pfd-player-quick-actions::-webkit-scrollbar{display:none}
.pfd-player-quick-btn{flex:0 0 auto;height:38px;min-height:38px;padding:0 12px;border-radius:11px;border-color:rgba(255,255,255,.09);background:rgba(12,13,18,.58);backdrop-filter:blur(14px);color:rgba(255,255,255,.86);font-size:10px;font-weight:760;box-shadow:none}
.pfd-player-quick-btn:hover{background:rgba(255,255,255,.14);color:#fff;transform:none}.pfd-player-quick-btn.is-active{border-color:rgba(168,85,247,.4);background:linear-gradient(145deg,rgba(124,58,237,.32),rgba(168,85,247,.16));color:#fff}.pfd-player-quick-btn svg{width:15px;height:15px}.pfd-player-quick-btn b{font-size:14px;letter-spacing:.06em}.pfd-player-social-emoji{font-size:15px;line-height:1}

/* Episode drawer overlays the full player instead of reducing its canvas. */
.pfd-player-episodes{position:absolute!important;z-index:52;top:0;right:0;bottom:0;width:min(410px,38%);min-width:320px;border-left:1px solid rgba(255,255,255,.08);background:rgba(10,11,15,.94);backdrop-filter:blur(22px);overflow:hidden;display:flex;flex-direction:column;opacity:0;pointer-events:none;transform:translateX(100%);transition:opacity .2s ease,transform .22s ease}
.pfd-player-desktop.is-episodes-open .pfd-player-episodes{opacity:1;pointer-events:auto;transform:none}
.pfd-player-episodes__head{height:58px;display:flex;align-items:center;justify-content:space-between;padding:0 16px;border-bottom:1px solid rgba(255,255,255,.07)}.pfd-player-episodes__head>div{display:flex;align-items:baseline;gap:7px}.pfd-player-episodes__head span{font-size:11px;color:rgba(255,255,255,.45)}.pfd-player-episodes__head strong{font-size:18px}.pfd-player-episodes__head button{width:31px;height:31px;border:0;border-radius:8px;background:rgba(255,255,255,.06);color:#fff;font-size:20px;cursor:pointer}.pfd-player-season-tabs{display:flex;gap:6px;overflow:auto;padding:11px 14px;border-bottom:1px solid rgba(255,255,255,.06);scrollbar-width:none}.pfd-player-season-tabs::-webkit-scrollbar{display:none}.pfd-player-season-tabs a{flex:0 0 auto;padding:7px 10px;border-radius:8px;color:rgba(255,255,255,.55);font-size:11px;font-weight:700;text-decoration:none;background:rgba(255,255,255,.04)}.pfd-player-season-tabs a.is-active,.pfd-player-season-tabs a:hover{color:#fff;background:rgba(124,58,237,.26);box-shadow:inset 0 0 0 1px rgba(168,85,247,.22)}.pfd-player-episode-list{flex:1;min-height:0;overflow:auto;padding:9px}.pfd-player-episode{display:grid;grid-template-columns:118px minmax(0,1fr);gap:11px;padding:8px;border-radius:11px;text-decoration:none;color:#fff;border:1px solid transparent}.pfd-player-episode:hover{background:rgba(255,255,255,.055)}.pfd-player-episode.is-active{background:rgba(124,58,237,.13);border-color:rgba(168,85,247,.24)}.pfd-player-episode__art{height:68px;border-radius:8px;overflow:hidden;background:#171820;display:grid;place-items:center;position:relative}.pfd-player-episode__art img{width:100%;height:100%;object-fit:cover}.pfd-player-episode__art>span{font-size:14px;font-weight:800;color:rgba(255,255,255,.38)}.pfd-player-episode__art i{position:absolute;inset:auto 7px 7px auto;width:25px;height:25px;border-radius:50%;display:grid;place-items:center;background:#fff;color:#08090d;font-style:normal;font-size:9px}.pfd-player-episode__copy{min-width:0;padding:2px 0}.pfd-player-episode__copy>div{display:flex;align-items:flex-start;justify-content:space-between;gap:6px}.pfd-player-episode__copy b{font-size:11px;line-height:1.3}.pfd-player-episode__copy small{font-size:9px;color:rgba(255,255,255,.4);white-space:nowrap}.pfd-player-episode__copy p{font-size:9.5px;line-height:1.45;color:rgba(255,255,255,.43);margin-top:5px}.pfd-player-episode-empty{padding:30px 16px;text-align:center;color:rgba(255,255,255,.45);font-size:12px}
.pfd-player-resume,.pfd-player-next{position:absolute;z-index:45;left:24px;bottom:24px;display:flex;align-items:center;gap:18px;max-width:520px;padding:13px 15px;border-radius:13px;background:rgba(12,13,18,.92);border:1px solid rgba(255,255,255,.12);box-shadow:0 16px 48px rgba(0,0,0,.45);backdrop-filter:blur(18px)}.pfd-player-resume[hidden],.pfd-player-next[hidden],.pfd-player-shortcuts[hidden]{display:none!important}.pfd-player-resume>div:first-child{display:flex;flex-direction:column}.pfd-player-resume strong{font-size:12px}.pfd-player-resume span{font-size:10px;color:rgba(255,255,255,.55);margin-top:2px}.pfd-player-resume button,.pfd-player-next button{border:0;border-radius:8px;padding:8px 10px;font-size:10px;font-weight:700;cursor:pointer}.pfd-player-resume [data-pfd-resume-yes]{background:#fff;color:#090a0e}.pfd-player-resume [data-pfd-resume-no],.pfd-player-next button{background:rgba(255,255,255,.09);color:#fff}.pfd-player-next{left:auto;right:24px}.pfd-player-next>div:first-child{display:flex;flex-direction:column}.pfd-player-next span{font-size:9px;color:rgba(255,255,255,.48);text-transform:uppercase;letter-spacing:.08em}.pfd-player-next strong{font-size:12px;margin-top:2px}.pfd-player-next__count{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;border:2px solid rgba(168,85,247,.55);font-size:12px;font-weight:800}
.pfd-player-shortcuts{position:absolute;z-index:55;inset:50% auto auto 50%;width:min(600px,calc(100% - 50px));transform:translate(-50%,-50%);padding:18px;border-radius:16px;background:rgba(13,14,20,.96);border:1px solid rgba(255,255,255,.12);box-shadow:0 22px 70px rgba(0,0,0,.56);backdrop-filter:blur(24px)}.pfd-player-shortcuts__head{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px}.pfd-player-shortcuts__head strong{font-size:14px}.pfd-player-shortcuts__head button{width:30px;height:30px;border:0;border-radius:8px;background:rgba(255,255,255,.07);color:#fff;font-size:18px;cursor:pointer}.pfd-player-shortcuts__grid{display:grid;grid-template-columns:1fr 1fr;gap:9px}.pfd-player-shortcuts__grid span{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 11px;border-radius:9px;background:rgba(255,255,255,.035);font-size:10px;color:rgba(255,255,255,.57)}.pfd-player-shortcuts kbd{font:700 9px/1 var(--pf-font-body);padding:6px 8px;border-radius:6px;background:rgba(255,255,255,.09);color:#fff;white-space:nowrap}
.pfd-player-desktop.is-theater .pfd-player-toolbar__center,.pfd-player-desktop.is-theater .pfd-player-now{display:none}.pfd-player-desktop.is-theater .pfd-player-main{padding-bottom:18px}.pfd-player-desktop.is-theater .pfd-player-stage{border-radius:12px}.pfd-player-desktop.is-theater.is-episodes-open .pfd-player-layout{grid-template-columns:minmax(0,1fr) 340px}
.pfd-player-gate--desktop{height:100vh;display:grid;place-items:center;padding:30px;background:radial-gradient(circle at 50% 15%,rgba(124,58,237,.18),transparent 34%),#06070a}.pfd-player-gate__card{width:min(520px,100%);padding:40px;border-radius:22px;background:rgba(16,17,23,.82);border:1px solid rgba(255,255,255,.09);text-align:center;box-shadow:0 24px 80px rgba(0,0,0,.4)}.pfd-player-gate__icon{width:68px;height:68px;margin:0 auto 20px;border-radius:18px;display:grid;place-items:center;background:rgba(124,58,237,.16);color:#c4a7ff}.pfd-player-gate__icon svg{width:31px;height:31px}.pfd-player-gate__card h1{font-size:25px}.pfd-player-gate__card p{margin:10px auto 22px;color:rgba(255,255,255,.55);line-height:1.55;max-width:400px}
/* Desktop Studio visibility settings */
.pfd-player-desktop.pfd-player-hide-subtitles .pfvjs-menu-wrap:has(button[data-menu$="-sm"]),.pfd-player-desktop.pfd-player-hide-speed .pfvjs-menu-wrap:has(button[data-menu$="-spm"]),.pfd-player-desktop.pfd-player-hide-pip [data-pfvjs-pip],.pfd-player-desktop.pfd-player-hide-fullscreen .pfvjs-fs,.pfd-player-desktop.pfd-player-hide-skip [data-skip],.pfd-player-desktop.pfd-player-hide-skip .pfvjs-ripple{display:none!important}
@media(max-width:1180px){.pfd-player-toolbar{grid-template-columns:minmax(260px,1fr) auto}.pfd-player-toolbar__center{display:none}.pfd-player-desktop.is-episodes-open .pfd-player-layout{grid-template-columns:minmax(0,1fr) 330px}.pfd-player-tool span{display:none}.pfd-player-episode{grid-template-columns:96px minmax(0,1fr)}.pfd-player-episode__art{height:58px}}
@media(max-height:760px){.pfd-player-toolbar{height:58px;flex-basis:58px}.pfd-player-main{padding-top:12px}.pfd-player-now{min-height:54px}.pfd-player-now h1{font-size:17px}.pfd-player-now__overview{display:none}}


/* P90 shell/social compatibility */
.pfd-route-player .pfd-social--state-host{position:fixed;inset:0 auto auto 0;width:0;height:0;overflow:visible;z-index:99960}
.pfd-route-player .pfd-social--state-host .pfd-social-popover{max-width:min(620px,calc(100vw - var(--pfd-sidebar-width,92px) - 70px))}
.pfd-player-desktop.is-theater .pfd-player-chrome{opacity:.55;transition:opacity .18s ease}.pfd-player-desktop.is-theater .pfd-player-chrome:hover{opacity:1}
@media(max-width:1380px){.pfd-player-chrome__identity{max-width:42vw}.pfd-player-quick-btn span{display:none}.pfd-player-quick-btn{width:38px;padding:0;justify-content:center}.pfd-player-tool span{display:none}.pfd-player-tool{width:38px;padding:0;justify-content:center}}
@media(max-width:1180px){.pfd-player-chrome{padding-inline:14px}.pfd-player-chrome__identity{max-width:38vw}.pfd-player-episodes{width:360px}.pfd-player-quick-actions{margin-left:52px}}
@media(max-height:720px){.pfd-player-chrome{min-height:110px;padding-top:10px}.pfd-player-quick-actions{margin-top:7px}.pfd-player-quick-btn,.pfd-player-tool{height:34px;min-height:34px}}
/* P90 final guards against legacy theater / compact-player rules. */
.pfd-route-player .pfd-player-desktop.is-theater .pfd-player-main{padding:0!important}
.pfd-route-player .pfd-player-desktop.is-theater .pfd-player-stage{border-radius:0!important}
.pfd-route-player .pfd-player-main{padding:0!important}
.pfd-route-player .pfd-player-stage{border-radius:0!important}
.pfd-route-player .pfd-player-layout{grid-template-columns:none!important}

/* P91 · Title + all external player actions live in one line below the video. */
.pfd-route-player .pfd-player-main{
  display:grid!important;
  grid-template-rows:minmax(0,1fr) 66px!important;
  overflow:hidden!important;
}
.pfd-route-player .pfd-player-stage{
  position:relative!important;
  inset:auto!important;
  grid-row:1;
  width:100%;
  height:100%;
  min-height:0;
  overflow:hidden;
}
.pfd-player-underbar{
  grid-row:2;
  min-width:0;
  height:66px;
  display:flex;
  align-items:center;
  gap:16px;
  padding:0 16px 0 18px;
  border-top:1px solid rgba(255,255,255,.08);
  background:linear-gradient(180deg,#0c0d12,#090a0e);
  box-shadow:0 -10px 30px rgba(0,0,0,.22);
  overflow:hidden;
}
.pfd-player-underbar__identity{
  flex:0 1 320px;
  min-width:190px;
  max-width:360px;
  overflow:hidden;
}
.pfd-player-underbar__identity>div{min-width:0}
.pfd-player-underbar__identity strong{
  display:block;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  color:#fff;
  font-size:15px;
  line-height:1.05;
  letter-spacing:-.01em;
}
.pfd-player-underbar__identity span{
  display:block;
  margin-top:4px;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  color:rgba(255,255,255,.5);
  font-size:10px;
}
.pfd-player-underbar__controls{
  flex:1 1 auto;
  min-width:0;
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:8px;
  overflow-x:auto;
  overflow-y:hidden;
  scrollbar-width:none;
  overscroll-behavior-inline:contain;
}
.pfd-player-underbar__controls::-webkit-scrollbar{display:none}
.pfd-player-underbar .pfd-player-quick-actions{
  flex:0 0 auto;
  display:flex;
  align-items:center;
  gap:7px;
  max-width:none;
  margin:0!important;
  overflow:visible;
}
.pfd-player-underbar__tools{
  flex:0 0 auto;
  display:flex;
  align-items:center;
  gap:7px;
  padding-left:8px;
  border-left:1px solid rgba(255,255,255,.08);
}
.pfd-player-underbar .pfd-player-quick-btn,
.pfd-player-underbar .pfd-player-tool{
  flex:0 0 auto;
  height:38px;
  min-height:38px;
  white-space:nowrap;
}
.pfd-player-underbar .pfd-player-quick-btn span,
.pfd-player-underbar .pfd-player-tool span{display:inline!important}
.pfd-player-underbar .pfd-player-tool--icon{width:38px;padding:0;justify-content:center}
/* The episode drawer belongs to the video canvas, not the information/action bar. */
.pfd-route-player .pfd-player-episodes{bottom:66px!important}
/* Legacy floating player chrome is no longer used in P91. */
.pfd-route-player .pfd-player-chrome{display:none!important}
.pfd-route-player .pfd-player-desktop.is-theater .pfd-player-main{padding:0!important}
.pfd-route-player .pfd-player-desktop.is-theater .pfd-player-stage{border-radius:0!important}
@media(max-width:1380px){
  .pfd-player-underbar{gap:12px;padding-inline:12px}
  .pfd-player-underbar__identity{flex-basis:250px;max-width:280px}
  .pfd-player-underbar .pfd-player-quick-btn{width:auto!important;padding:0 10px!important}
  .pfd-player-underbar .pfd-player-tool{width:auto!important;padding:0 10px!important}
  .pfd-player-underbar .pfd-player-tool--icon{width:38px!important;padding:0!important}
}
@media(max-width:1100px){
  .pfd-player-underbar__identity{flex-basis:210px;max-width:230px}
}


/* P92 · Series priority controls + true cinema focus mode. */
.pfd-player-underbar__lead{
  flex:0 1 auto;
  min-width:0;
  display:flex;
  align-items:center;
  gap:8px;
  overflow:hidden;
}
.pfd-player-underbar__identity{
  flex:0 1 auto;
  min-width:170px;
  max-width:440px;
  display:flex!important;
  align-items:center;
  gap:9px;
  overflow:hidden;
}
.pfd-player-underbar__identity strong{
  flex:0 1 auto;
  min-width:0;
  margin:0;
  font-size:15px;
  line-height:1;
}
.pfd-player-underbar__identity span{
  flex:0 0 auto;
  display:block!important;
  margin:0!important;
  font-size:10px;
  line-height:1;
}
.pfd-player-tool--episodes{
  border-color:rgba(99,102,241,.42)!important;
  background:linear-gradient(135deg,rgba(124,58,237,.34),rgba(6,182,212,.20))!important;
  color:#f3f0ff!important;
  box-shadow:inset 0 1px rgba(255,255,255,.06),0 0 18px rgba(99,102,241,.08);
}
.pfd-player-tool--episodes:hover,
.pfd-player-tool--episodes[aria-expanded="true"]{
  border-color:rgba(103,232,249,.56)!important;
  background:linear-gradient(135deg,rgba(124,58,237,.52),rgba(6,182,212,.30))!important;
  box-shadow:0 0 24px rgba(34,211,238,.12);
}
.pfd-player-tool--next{
  border-color:rgba(52,211,153,.40)!important;
  background:linear-gradient(135deg,rgba(16,185,129,.28),rgba(34,197,94,.15))!important;
  color:#d9ffed!important;
  box-shadow:inset 0 1px rgba(255,255,255,.05),0 0 18px rgba(16,185,129,.07);
}
.pfd-player-tool--next:hover{
  border-color:rgba(110,231,183,.58)!important;
  background:linear-gradient(135deg,rgba(16,185,129,.44),rgba(34,197,94,.24))!important;
}
.pfd-player-tool--theater[aria-pressed="true"]{
  border-color:rgba(251,191,36,.45)!important;
  background:linear-gradient(135deg,rgba(245,158,11,.30),rgba(217,119,6,.18))!important;
  color:#fff3c4!important;
}

/* Cinema mode: dim the whole app and float the player package at the visual center. */
.pfd-route-player .pfd-player-desktop.is-theater{
  z-index:10020!important;
  overflow:visible!important;
  background:transparent!important;
}
.pfd-route-player .pfd-player-desktop.is-theater::before{
  content:"";
  position:fixed;
  inset:0;
  z-index:10020;
  background:rgba(2,3,7,.90);
  backdrop-filter:blur(10px) saturate(.72);
  -webkit-backdrop-filter:blur(10px) saturate(.72);
}
.pfd-route-player .pfd-player-desktop.is-theater .pfd-player-main{
  position:fixed!important;
  inset:50% auto auto 50%!important;
  transform:translate(-50%,-50%)!important;
  z-index:10021!important;
  width:min(88vw,calc(156vh - 114px),1500px)!important;
  height:auto!important;
  min-height:0!important;
  display:grid!important;
  grid-template-rows:auto 64px!important;
  overflow:visible!important;
  border:1px solid rgba(255,255,255,.10);
  border-radius:18px!important;
  background:#000;
  box-shadow:0 38px 120px rgba(0,0,0,.78),0 0 0 1px rgba(255,255,255,.025);
}
.pfd-route-player .pfd-player-desktop.is-theater .pfd-player-stage{
  position:relative!important;
  inset:auto!important;
  width:100%!important;
  height:auto!important;
  aspect-ratio:16/9;
  min-height:0!important;
  border-radius:17px 17px 0 0!important;
  overflow:hidden!important;
  background:#000!important;
}
.pfd-route-player .pfd-player-desktop.is-theater .pfd-player-underbar{
  position:relative!important;
  z-index:2;
  height:64px!important;
  min-height:64px!important;
  border-radius:0 0 17px 17px;
  background:rgba(9,10,14,.98);
  box-shadow:none;
}
.pfd-route-player .pfd-player-desktop.is-theater .pfd-player-episodes{
  z-index:10022!important;
}
.pfd-route-player .pfd-player-desktop.is-theater .pfd-player-resume,
.pfd-route-player .pfd-player-desktop.is-theater .pfd-player-next,
.pfd-route-player .pfd-player-desktop.is-theater .pfd-player-shortcuts{
  z-index:10023!important;
}
@media(max-width:1280px){
  .pfd-player-underbar__identity{max-width:300px}
  .pfd-player-underbar__identity span{display:none!important}
}

/* P94 · Right-side controls share the vivid Episode/Next control language. */
.pfd-player-underbar__controls .pfd-player-quick-btn,
.pfd-player-underbar__controls .pfd-player-tool{
  min-height:38px;
  height:38px;
  padding:0 12px;
  border-width:1px;
  border-style:solid;
  border-radius:11px;
  gap:7px;
  font:700 11px/1 var(--pf-font-body);
  color:#f7f8ff;
  box-shadow:inset 0 1px rgba(255,255,255,.055),0 0 18px rgba(0,0,0,.08);
  transition:background .18s ease,border-color .18s ease,box-shadow .18s ease,transform .18s ease,color .18s ease;
}
.pfd-player-underbar__controls .pfd-player-quick-btn:hover,
.pfd-player-underbar__controls .pfd-player-tool:hover{
  transform:translateY(-1px);
  color:#fff;
}
.pfd-player-quick-btn--watchlist{
  border-color:rgba(56,189,248,.38)!important;
  background:linear-gradient(135deg,rgba(14,165,233,.27),rgba(37,99,235,.16))!important;
}
.pfd-player-quick-btn--watchlist:hover,.pfd-player-quick-btn--watchlist.is-active{
  border-color:rgba(125,211,252,.58)!important;
  background:linear-gradient(135deg,rgba(14,165,233,.43),rgba(37,99,235,.27))!important;
  box-shadow:0 0 22px rgba(14,165,233,.12)!important;
}
.pfd-player-quick-btn--favorite{
  border-color:rgba(244,114,182,.40)!important;
  background:linear-gradient(135deg,rgba(236,72,153,.28),rgba(225,29,72,.16))!important;
}
.pfd-player-quick-btn--favorite:hover,.pfd-player-quick-btn--favorite.is-active{
  border-color:rgba(251,113,133,.60)!important;
  background:linear-gradient(135deg,rgba(236,72,153,.44),rgba(225,29,72,.28))!important;
  box-shadow:0 0 22px rgba(236,72,153,.12)!important;
}
.pfd-player-quick-btn--collections{
  border-color:rgba(192,132,252,.40)!important;
  background:linear-gradient(135deg,rgba(147,51,234,.30),rgba(99,102,241,.17))!important;
}
.pfd-player-quick-btn--collections:hover,.pfd-player-quick-btn--collections.is-active{
  border-color:rgba(216,180,254,.58)!important;
  background:linear-gradient(135deg,rgba(147,51,234,.46),rgba(99,102,241,.28))!important;
}
.pfd-player-quick-btn--rating{
  border-color:rgba(251,191,36,.42)!important;
  background:linear-gradient(135deg,rgba(245,158,11,.28),rgba(217,119,6,.16))!important;
  color:#fff5cf!important;
}
.pfd-player-quick-btn--rating:hover,.pfd-player-quick-btn--rating.is-active{
  border-color:rgba(253,224,71,.60)!important;
  background:linear-gradient(135deg,rgba(245,158,11,.45),rgba(217,119,6,.27))!important;
}
.pfd-player-quick-btn--like,.pfd-player-quick-btn--watched{
  border-color:rgba(45,212,191,.40)!important;
  background:linear-gradient(135deg,rgba(20,184,166,.27),rgba(6,182,212,.16))!important;
}
.pfd-player-quick-btn--like:hover,.pfd-player-quick-btn--like.is-active,.pfd-player-quick-btn--watched:hover,.pfd-player-quick-btn--watched.is-active{
  border-color:rgba(94,234,212,.58)!important;
  background:linear-gradient(135deg,rgba(20,184,166,.43),rgba(6,182,212,.27))!important;
}
.pfd-player-quick-btn--report{
  border-color:rgba(248,113,113,.38)!important;
  background:linear-gradient(135deg,rgba(239,68,68,.27),rgba(249,115,22,.15))!important;
}
.pfd-player-quick-btn--report:hover{
  border-color:rgba(252,165,165,.60)!important;
  background:linear-gradient(135deg,rgba(239,68,68,.44),rgba(249,115,22,.26))!important;
}
.pfd-player-quick-btn--more{
  border-color:rgba(148,163,184,.34)!important;
  background:linear-gradient(135deg,rgba(71,85,105,.34),rgba(30,41,59,.24))!important;
}
.pfd-player-quick-btn--more:hover{
  border-color:rgba(203,213,225,.50)!important;
  background:linear-gradient(135deg,rgba(71,85,105,.52),rgba(30,41,59,.34))!important;
}
.pfd-player-tool--previous{
  border-color:rgba(96,165,250,.38)!important;
  background:linear-gradient(135deg,rgba(59,130,246,.27),rgba(79,70,229,.16))!important;
}
.pfd-player-tool--previous:hover{
  border-color:rgba(147,197,253,.58)!important;
  background:linear-gradient(135deg,rgba(59,130,246,.43),rgba(79,70,229,.27))!important;
}
.pfd-player-tool--theater{
  border-color:rgba(251,191,36,.40)!important;
  background:linear-gradient(135deg,rgba(245,158,11,.26),rgba(234,88,12,.15))!important;
  color:#fff1bf!important;
}
.pfd-player-tool--theater:hover,
.pfd-player-tool--theater[aria-pressed="true"]{
  border-color:rgba(253,224,71,.60)!important;
  background:linear-gradient(135deg,rgba(245,158,11,.43),rgba(234,88,12,.26))!important;
  box-shadow:0 0 22px rgba(245,158,11,.12)!important;
}
.pfd-player-tool--shortcuts{
  border-color:rgba(34,211,238,.38)!important;
  background:linear-gradient(135deg,rgba(6,182,212,.25),rgba(14,116,144,.18))!important;
  color:#dffbff!important;
}
.pfd-player-tool--shortcuts:hover{
  border-color:rgba(103,232,249,.58)!important;
  background:linear-gradient(135deg,rgba(6,182,212,.42),rgba(14,116,144,.28))!important;
}

/* P94 · Cinema is a fade-through-dark transition, not a geometry jump. */
.pfd-route-player .pfd-player-desktop::before{
  content:"";
  position:fixed;
  inset:0;
  z-index:10020;
  pointer-events:none;
  opacity:0;
  background:rgba(1,2,5,.97);
  backdrop-filter:blur(0) saturate(1);
  -webkit-backdrop-filter:blur(0) saturate(1);
  transition:opacity .42s cubic-bezier(.22,.61,.36,1),backdrop-filter .52s ease,-webkit-backdrop-filter .52s ease;
}
.pfd-route-player .pfd-player-desktop.is-theater-transition::before,
.pfd-route-player .pfd-player-desktop.is-theater::before{
  opacity:1;
  backdrop-filter:blur(11px) saturate(.72);
  -webkit-backdrop-filter:blur(11px) saturate(.72);
}
.pfd-route-player .pfd-player-desktop.is-theater .pfd-player-main{
  opacity:0;
  filter:brightness(.08) saturate(.72);
  transform:translate(-50%,-50%) scale(.965)!important;
  transform-origin:center center;
  transition:opacity .52s cubic-bezier(.22,.61,.36,1),filter .62s ease,transform .62s cubic-bezier(.16,1,.3,1)!important;
  will-change:opacity,filter,transform;
}
.pfd-route-player .pfd-player-desktop.is-theater.is-theater-visible .pfd-player-main{
  opacity:1;
  filter:brightness(1) saturate(1);
  transform:translate(-50%,-50%) scale(1)!important;
}
.pfd-route-player .pfd-player-desktop.is-theater.is-theater-exiting .pfd-player-main{
  opacity:0;
  filter:brightness(.06) saturate(.65);
  transform:translate(-50%,-50%) scale(.975)!important;
}
.pfd-route-player .pfd-player-desktop.is-theater-transition:not(.is-theater) .pfd-player-main{
  transition:none!important;
}
@media (prefers-reduced-motion:reduce){
  .pfd-route-player .pfd-player-desktop::before,
  .pfd-route-player .pfd-player-desktop.is-theater .pfd-player-main{transition-duration:.01ms!important}
}
.pfd-route-player .pfd-player-desktop.is-theater-transition{
  z-index:10020!important;
  overflow:visible!important;
  background:transparent!important;
}


/* P95 · Player actions: priority controls white/purple; social actions neutral liquid glass. */
.pfd-player-tool--episodes,.pfd-player-tool--next{
  border-color:rgba(196,181,253,.48)!important;
  background:linear-gradient(135deg,rgba(255,255,255,.18),rgba(124,58,237,.30))!important;
  color:#fff!important;
  box-shadow:inset 0 1px rgba(255,255,255,.20),0 8px 24px rgba(76,29,149,.12)!important;
  backdrop-filter:blur(16px) saturate(150%);-webkit-backdrop-filter:blur(16px) saturate(150%);
}
.pfd-player-tool--episodes:hover,.pfd-player-tool--episodes[aria-expanded="true"],.pfd-player-tool--next:hover{
  border-color:rgba(221,214,254,.78)!important;
  background:linear-gradient(135deg,rgba(255,255,255,.28),rgba(139,92,246,.47))!important;
  box-shadow:inset 0 1px rgba(255,255,255,.28),0 10px 30px rgba(124,58,237,.20)!important;
}
.pfd-player-quick-btn--watchlist,.pfd-player-quick-btn--favorite,.pfd-player-quick-btn--collections,.pfd-player-quick-btn--rating,.pfd-player-quick-btn--like,.pfd-player-quick-btn--watched,.pfd-player-quick-btn--report,.pfd-player-quick-btn--more{
  border-color:rgba(255,255,255,.16)!important;
  background:linear-gradient(145deg,rgba(255,255,255,.105),rgba(255,255,255,.035))!important;
  color:rgba(255,255,255,.88)!important;
  box-shadow:inset 0 1px rgba(255,255,255,.13),0 8px 22px rgba(0,0,0,.12)!important;
  backdrop-filter:blur(18px) saturate(145%);-webkit-backdrop-filter:blur(18px) saturate(145%);
}
.pfd-player-quick-btn--watchlist:hover,.pfd-player-quick-btn--favorite:hover,.pfd-player-quick-btn--collections:hover,.pfd-player-quick-btn--rating:hover,.pfd-player-quick-btn--like:hover,.pfd-player-quick-btn--watched:hover,.pfd-player-quick-btn--report:hover,.pfd-player-quick-btn--more:hover,
.pfd-player-quick-btn--watchlist.is-active,.pfd-player-quick-btn--favorite.is-active,.pfd-player-quick-btn--collections.is-active,.pfd-player-quick-btn--rating.is-active,.pfd-player-quick-btn--like.is-active,.pfd-player-quick-btn--watched.is-active{
  border-color:rgba(255,255,255,.28)!important;
  background:linear-gradient(145deg,rgba(255,255,255,.17),rgba(255,255,255,.065))!important;
  color:#fff!important;box-shadow:inset 0 1px rgba(255,255,255,.2),0 10px 28px rgba(0,0,0,.18)!important;
}
.pfd-player-tool--previous,.pfd-player-tool--theater,.pfd-player-tool--shortcuts{
  border-color:rgba(255,255,255,.15)!important;background:linear-gradient(145deg,rgba(255,255,255,.10),rgba(255,255,255,.035))!important;color:rgba(255,255,255,.86)!important;box-shadow:inset 0 1px rgba(255,255,255,.12)!important;backdrop-filter:blur(18px) saturate(140%);-webkit-backdrop-filter:blur(18px) saturate(140%)
}
.pfd-player-tool--previous:hover,.pfd-player-tool--theater:hover,.pfd-player-tool--theater[aria-pressed="true"],.pfd-player-tool--shortcuts:hover{border-color:rgba(255,255,255,.28)!important;background:linear-gradient(145deg,rgba(255,255,255,.17),rgba(255,255,255,.06))!important;color:#fff!important}

/* P95 · Cinema no longer centers the player. It fades the shell away and expands playback into it. */
.pfd-route-player .pfd-player-desktop::before{opacity:0!important;background:rgba(1,2,5,.98)!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;transition:opacity .30s ease!important;z-index:10120!important}
.pfd-route-player .pfd-player-desktop.is-theater-transition::before{opacity:1!important}
.pfd-route-player .pfd-player-desktop.is-theater.is-theater-visible::before{opacity:0!important}
.pfd-route-player .pfd-player-desktop.is-theater.is-theater-exiting::before{opacity:1!important}
.pfd-route-player.pfd-cinema-expanded .pfd-topbar{opacity:0;transform:translateY(-18px);pointer-events:none;transition:opacity .28s ease,transform .34s cubic-bezier(.2,.8,.2,1)}
.pfd-route-player.pfd-cinema-expanded .pfd-sidebar{opacity:0;transform:translateX(calc(var(--pfd-sidebar-width) * -.55));pointer-events:none;transition:opacity .28s ease,transform .34s cubic-bezier(.2,.8,.2,1)}
.pfd-route-player .pfd-topbar,.pfd-route-player .pfd-sidebar{transition:opacity .28s ease,transform .34s cubic-bezier(.2,.8,.2,1)}
.pfd-route-player.pfd-cinema-expanded .pfd-player-desktop.is-theater{
  position:fixed!important;inset:0!important;z-index:10110!important;width:100vw!important;height:100vh!important;overflow:hidden!important;background:#050609!important;
}
.pfd-route-player.pfd-cinema-expanded .pfd-player-desktop.is-theater .pfd-player-layout{position:relative!important;inset:auto!important;width:100%!important;height:100%!important;transform:none!important;max-width:none!important;border:0!important;border-radius:0!important;box-shadow:none!important;background:#050609!important;opacity:1!important;filter:none!important;display:block!important}
.pfd-route-player.pfd-cinema-expanded .pfd-player-desktop.is-theater .pfd-player-main{position:relative!important;inset:auto!important;width:100%!important;height:100%!important;transform:none!important;max-width:none!important;border:0!important;border-radius:0!important;box-shadow:none!important;background:#050609!important;opacity:1!important;filter:none!important;display:grid!important;grid-template-rows:minmax(0,1fr) 66px!important}
.pfd-route-player.pfd-cinema-expanded .pfd-player-desktop.is-theater .pfd-player-stage{width:100%!important;height:100%!important;aspect-ratio:auto!important;border-radius:0!important}
.pfd-route-player.pfd-cinema-expanded .pfd-player-desktop.is-theater .pfd-player-underbar{height:66px!important;min-height:66px!important;border-radius:0!important;background:rgba(7,8,12,.94)!important;backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px)}
.pfd-route-player.pfd-cinema-expanded .pfd-player-desktop.is-theater .pfd-player-episodes{bottom:66px!important;z-index:10130!important}
@media(prefers-reduced-motion:reduce){.pfd-route-player .pfd-player-desktop::before,.pfd-route-player .pfd-topbar,.pfd-route-player .pfd-sidebar{transition-duration:.01ms!important}}


/* P101 · Embed playback: source chooser lives top-left and native iframe controls stay clear. */
.pfd-player-engine .pfvjs-shell.pfvjs-embed-mode .pfvjs-ctrl{
  inset:0!important;
  top:0!important;
  right:0!important;
  bottom:0!important;
  left:0!important;
  padding:0!important;
  opacity:1!important;
  pointer-events:none!important;
  background:transparent!important;
  backdrop-filter:none!important;
  -webkit-backdrop-filter:none!important;
}
.pfd-player-engine .pfvjs-shell.pfvjs-embed-mode .pfvjs-row{
  position:absolute!important;
  inset:0!important;
  display:block!important;
  padding:0!important;
  pointer-events:none!important;
}
.pfd-player-engine .pfvjs-shell.pfvjs-embed-mode .pfvjs-right{
  position:absolute!important;
  top:18px!important;
  left:18px!important;
  right:auto!important;
  bottom:auto!important;
  margin:0!important;
  display:block!important;
  pointer-events:none!important;
  z-index:36!important;
}
.pfd-player-engine .pfvjs-shell.pfvjs-embed-mode .pfvjs-right>.pfvjs-menu-wrap:first-child{
  position:relative!important;
  display:block!important;
  pointer-events:auto!important;
}
.pfd-player-engine .pfvjs-shell.pfvjs-embed-mode .pfvjs-right>.pfvjs-menu-wrap:first-child>.pfvjs-menu-btn{
  min-width:132px!important;
  height:46px!important;
  padding:0 16px!important;
  gap:9px!important;
  border:1px solid rgba(216,180,254,.36)!important;
  border-radius:15px!important;
  background:linear-gradient(135deg,rgba(124,58,237,.48),rgba(6,182,212,.28))!important;
  color:#fff!important;
  box-shadow:0 12px 34px rgba(0,0,0,.26),inset 0 1px 0 rgba(255,255,255,.13)!important;
  backdrop-filter:blur(18px) saturate(145%)!important;
  -webkit-backdrop-filter:blur(18px) saturate(145%)!important;
  transform:none!important;
}
.pfd-player-engine .pfvjs-shell.pfvjs-embed-mode .pfvjs-right>.pfvjs-menu-wrap:first-child>.pfvjs-menu-btn:hover{
  background:linear-gradient(135deg,rgba(139,92,246,.62),rgba(6,182,212,.40))!important;
  border-color:rgba(255,255,255,.30)!important;
  transform:translateY(-1px)!important;
}
.pfd-player-engine .pfvjs-shell.pfvjs-embed-mode .pfvjs-source-label{
  display:inline!important;
  color:#fff!important;
  font-size:13px!important;
  font-weight:900!important;
  letter-spacing:.015em!important;
}
.pfd-player-engine .pfvjs-shell.pfvjs-embed-mode .pfvjs-right>.pfvjs-menu-wrap:first-child>.pfvjs-menu-btn svg{
  width:19px!important;
  height:19px!important;
  filter:drop-shadow(0 2px 7px rgba(124,58,237,.35));
}
.pfd-player-engine .pfvjs-shell.pfvjs-embed-mode .pfvjs-menu[id$="-qm"]{
  top:calc(100% + 10px)!important;
  bottom:auto!important;
  left:0!important;
  right:auto!important;
  min-width:250px!important;
  max-width:min(390px,calc(100vw - 48px))!important;
  transform:translateY(-5px) scale(.98)!important;
  transform-origin:top left!important;
  border:1px solid rgba(216,180,254,.18)!important;
  background:linear-gradient(155deg,rgba(20,14,35,.92),rgba(7,15,25,.88))!important;
  box-shadow:0 24px 60px rgba(0,0,0,.48)!important;
  backdrop-filter:blur(22px) saturate(140%)!important;
  -webkit-backdrop-filter:blur(22px) saturate(140%)!important;
}
.pfd-player-engine .pfvjs-shell.pfvjs-embed-mode .pfvjs-menu[id$="-qm"].open{
  transform:none!important;
}
/* The Desktop underbar already owns "Siguiente". Do not cover native embed controls. */
.pfd-player-engine .pfvjs-shell.pfvjs-embed-mode .pfvjs-next-video{
  display:none!important;
}
@media(max-width:900px){
  .pfd-player-engine .pfvjs-shell.pfvjs-embed-mode .pfvjs-right{top:12px!important;left:12px!important}
  .pfd-player-engine .pfvjs-shell.pfvjs-embed-mode .pfvjs-right>.pfvjs-menu-wrap:first-child>.pfvjs-menu-btn{min-width:118px!important;height:42px!important;padding:0 13px!important}
  .pfd-player-engine .pfvjs-shell.pfvjs-embed-mode .pfvjs-source-label{font-size:12px!important}
}


/* P127 · season dropdown + ordered playback controls */
.pfd-player-season-tabs{display:none!important}.pfd-player-season-picker{display:flex;align-items:center;gap:10px;padding:11px 14px;border-bottom:1px solid rgba(255,255,255,.06)}.pfd-player-season-picker>label{flex:0 0 auto;color:rgba(255,255,255,.48);font-size:9px;font-weight:850;text-transform:uppercase;letter-spacing:.10em}.pfd-player-season-picker>div{position:relative;min-width:0;flex:1}.pfd-player-season-picker select{width:100%;height:38px;appearance:none;-webkit-appearance:none;padding:0 37px 0 12px;border:1px solid rgba(255,255,255,.12);border-radius:10px;background:linear-gradient(145deg,rgba(255,255,255,.09),rgba(255,255,255,.035));color:#fff;font:800 10.5px/1 var(--pf-font-body);outline:none;cursor:pointer}.pfd-player-season-picker select option{background:#11131a;color:#fff}.pfd-player-season-picker>div>span{position:absolute;right:11px;top:50%;transform:translateY(-50%);display:grid;place-items:center;pointer-events:none;color:#bca9ff}.pfd-player-season-picker svg{width:14px;height:14px;transform:rotate(90deg)}
.pfd-player-underbar__lead{flex:0 1 auto!important;overflow-x:auto!important;scrollbar-width:none}.pfd-player-underbar__lead::-webkit-scrollbar{display:none}.pfd-player-tool--episodes{border-color:rgba(255,255,255,.90)!important;background:#fff!important;color:#0b0c11!important;box-shadow:0 8px 24px rgba(255,255,255,.08)!important}.pfd-player-tool--episodes:hover,.pfd-player-tool--episodes[aria-expanded="true"]{border-color:#fff!important;background:#f0f1f5!important;color:#090a0e!important;box-shadow:0 10px 28px rgba(255,255,255,.12)!important}.pfd-player-tool--previous{border-color:rgba(255,255,255,.14)!important;background:linear-gradient(145deg,rgba(148,163,184,.20),rgba(71,85,105,.22))!important;color:#d7dae1!important;box-shadow:inset 0 1px rgba(255,255,255,.09)!important}.pfd-player-tool--previous:hover{border-color:rgba(255,255,255,.24)!important;background:linear-gradient(145deg,rgba(148,163,184,.30),rgba(71,85,105,.32))!important;color:#fff!important}.pfd-player-tool--next{border-color:rgba(167,139,250,.58)!important;background:linear-gradient(135deg,#7c3aed,#9333ea)!important;color:#fff!important;box-shadow:0 9px 26px rgba(124,58,237,.28)!important}.pfd-player-tool--next:hover{border-color:#c4b5fd!important;background:linear-gradient(135deg,#8b5cf6,#a855f7)!important;box-shadow:0 12px 32px rgba(124,58,237,.38)!important}.pfd-player-tool--report{border-color:rgba(248,113,113,.34)!important;background:linear-gradient(145deg,rgba(239,68,68,.20),rgba(127,29,29,.18))!important;color:#fecaca!important}.pfd-player-tool--report:hover{border-color:rgba(252,165,165,.58)!important;background:linear-gradient(145deg,rgba(239,68,68,.34),rgba(153,27,27,.26))!important;color:#fff!important}.pfd-player-tool--report svg{width:15px;height:15px}

.pfd-player-underbar__controls>.pfd-player-underbar__tools{padding-left:0!important;border-left:0!important;padding-right:8px;border-right:1px solid rgba(255,255,255,.08)}


/* P128 · social actions first; Report / Cine / ? remain at the absolute end */
.pfd-player-underbar__controls>.pfd-player-quick-actions{order:1!important}.pfd-player-underbar__controls>.pfd-player-underbar__tools--last{order:2!important;padding-left:8px!important;padding-right:0!important;border-left:1px solid rgba(255,255,255,.08)!important;border-right:0!important;margin-left:0!important}


/* P130 · definitive colors for final player tools. */
.pfd-player-underbar__tools--last .pfd-player-tool--theater,.pfd-player-underbar__tools--last .pfd-player-tool--theater:hover,.pfd-player-underbar__tools--last .pfd-player-tool--theater[aria-pressed="true"]{border-color:rgba(240,171,252,.62)!important;background:linear-gradient(135deg,#c026d3,#e879f9)!important;color:#fff!important;box-shadow:0 10px 28px rgba(192,38,211,.30)!important}
.pfd-player-underbar__tools--last .pfd-player-tool--shortcuts,.pfd-player-underbar__tools--last .pfd-player-tool--shortcuts:hover{border-color:rgba(103,232,249,.66)!important;background:linear-gradient(135deg,#0891b2,#22d3ee)!important;color:#fff!important;box-shadow:0 10px 28px rgba(6,182,212,.28)!important}
