/* Only an explicitly active desktop player uses this end screen. */
.pm-cine-player-root.pm-postplay-active { --pm-postplay-left: 2.7%; --pm-postplay-width: 27%; --pm-postplay-top: 18%; }
.pm-postplay { position:absolute; inset:0; z-index:1010; color:#fff; background:#141414; font-family:inherit; }
.pm-postplay[hidden],.pm-postplay [hidden] { display:none!important; }
.pm-postplay-poster,.pm-postplay-trailer { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.pm-postplay-trailer { opacity:0; }
.pm-postplay-has-frame .pm-postplay-trailer { opacity:1; }
.pm-cine-player-root.pm-postplay-active > .pm-cine-video-layer { left:var(--pm-postplay-left); top:var(--pm-postplay-top); width:var(--pm-postplay-width); height:auto; aspect-ratio:16/9; right:auto; bottom:auto; z-index:1012; pointer-events:none; }
.pm-cine-player-root.pm-postplay-active #nativeVideo { object-fit:contain; background:#000; }
.pm-cine-player-root.pm-postplay-active :is(#cineTopBar,#cineBottomBar,#cineCenterFeedback,#cineResumeOverlay,#cineMobilePlayToggle,#pmSubtitleOverlay,.pm-player-moments) { visibility:hidden!important; pointer-events:none!important; }
.pm-cine-player-root.pm-postplay-active #cineLoadingOverlay { left:var(--pm-postplay-left); top:var(--pm-postplay-top); width:var(--pm-postplay-width); height:auto; aspect-ratio:16/9; right:auto; bottom:auto; pointer-events:none!important; }
.pm-postplay button { font:inherit; color:inherit; cursor:pointer; border:0; border-radius:0; transition:none; }
.pm-postplay button:focus-visible { outline:2px solid white; outline-offset:4px; }
.pm-postplay-back { position:absolute; z-index:3; top:4.5%; left:2.7%; display:flex; align-items:center; gap:18px; padding:8px 0; background:transparent; font-size:clamp(17px,1.6vw,30px)!important; }
.pm-postplay-back img { width:clamp(30px,3vw,52px); height:clamp(30px,3vw,52px); object-fit:contain; filter:brightness(0) invert(1); }
.pm-postplay-back:hover { opacity:.8; }
.pm-postplay-current { position:absolute; z-index:4; left:var(--pm-postplay-left); top:var(--pm-postplay-top); width:var(--pm-postplay-width); padding:0; background:transparent; text-align:left; }
.pm-postplay-current::before { content:""; display:block; aspect-ratio:16/9; }
.pm-postplay-current-title { display:block; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font-weight:700; font-size:clamp(17px,1.8vw,34px); padding:18px 16px 5px; background:rgba(0,0,0,.64); }
.pm-postplay-current-hint { display:block; padding:0 16px 16px; background:rgba(0,0,0,.64); font-size:clamp(12px,1vw,18px); color:#d2d2d2; }
.pm-postplay-current:hover :is(.pm-postplay-current-title,.pm-postplay-current-hint) { background:rgba(0,0,0,.84); }
.pm-postplay-details { position:absolute; z-index:3; left:52.3%; right:5%; bottom:6.5%; transition:left .75s ease-in-out .2s,right .75s ease-in-out .2s; }
.pm-postplay-details h2 { font-size:clamp(28px,3.4vw,64px); line-height:1.06; font-weight:750; margin:10px 0 24px; text-wrap:balance; }
.pm-postplay-eyebrow { display:none; }
.pm-postplay-logo { width:auto; max-width:min(80%,420px); height:auto; max-height:16vh; object-fit:contain; object-position:left bottom; margin-bottom:18px; }
.pm-postplay-description { font-size:clamp(15px,1.5vw,27px); line-height:1.4; max-width:44em; margin:0 0 22px; display:-webkit-box; -webkit-line-clamp:3; -webkit-box-orient:vertical; overflow:hidden; }
.pm-postplay-description:empty { display:none; }
.pm-postplay-status { font-size:clamp(13px,1.1vw,22px); margin:12px 0 0; }
.pm-postplay-status:empty { display:none; }
.pm-postplay-actions { display:flex; flex-wrap:wrap; align-items:center; gap:.75em; font-size:1vw; }
.pm-postplay .pm-postplay-actions :is(button,.pm-postplay-countdown) {
    display:inline-flex; align-items:center; justify-content:center; gap:.75em;
    box-sizing:content-box; height:1.2vw; padding:.75em 2.3em; border:0; border-radius:.2vw; font-size:1vw; line-height:1vw; white-space:nowrap;
    font-weight:500; color:#fff; background:rgba(51,51,51,.4);
    transition:font-size .75s ease-in-out .2s,padding .75s ease-in-out .2s,color .3s ease-in-out,background-color .3s ease-in-out,transform .35s cubic-bezier(.86,0,.07,1);
}
.pm-postplay .pm-postplay-actions .pm-postplay-play { box-shadow:none; }
/* Size the visible marks, excluding the transparent margins in our saved PNGs. */
.pm-postplay-icon { position:relative; display:inline-block; flex:0 0 auto; width:1.2em; height:1.2em; overflow:hidden; }
.pm-postplay-actions .pm-postplay-icon img { position:absolute; top:50%; left:50%; width:114.006515%; height:auto; max-width:none; filter:brightness(0) invert(1); transform:translate(-50%,-50%); }
.pm-postplay-play .pm-postplay-icon { width:.875em; }
.pm-postplay-actions .pm-postplay-play .pm-postplay-icon img { width:199.430199%; transform:translate(-56.5%,-49.785714%); }
.pm-postplay .pm-postplay-actions button:active { transform:scale(1.05); }
.pm-postplay .pm-postplay-trailer-toggle { background:rgba(51,51,51,.4); padding:10px 16px; margin-top:12px; border-radius:.2vw; }
.pm-postplay .pm-postplay-trailer-toggle:hover { background:#e6e6e6; color:#000; }
.pm-cine-player-root.pm-postplay-trailer-phase > .pm-cine-video-layer,
.pm-cine-player-root.pm-postplay-trailer-phase #cineLoadingOverlay { visibility:hidden!important; pointer-events:none!important; }
.pm-postplay-trailer-phase .pm-postplay-details { left:65.5%; right:9%; }
.pm-postplay-trailer-phase .pm-postplay-description { display:none; }
.pm-postplay-trailer-phase .pm-postplay-actions { font-size:.8vw; }
.pm-postplay-trailer-phase .pm-postplay-actions :is(button,.pm-postplay-countdown) { font-size:.8vw; }
/* Netflix returns to the larger poster composition after the trailer ends. */
.pm-postplay-complete .pm-postplay-details { left:52.3%; right:5%; }
.pm-postplay-complete .pm-postplay-description { display:-webkit-box; }
.pm-postplay-complete .pm-postplay-actions,
.pm-postplay-complete .pm-postplay-actions :is(button,.pm-postplay-countdown) { font-size:1vw; }
.pm-postplay .pm-postplay-actions button:is(:hover,:focus-visible) { transform:scale(1.05); color:#000; background:#e6e6e6; box-shadow:none; }
.pm-postplay .pm-postplay-actions button:is(:hover,:focus-visible) img { filter:brightness(0); }
@media (max-width:1100px) { .pm-postplay-trailer-phase:not(.pm-postplay-complete) .pm-postplay-details { left:53%; right:5%; } }
@media (prefers-reduced-motion:reduce) { .pm-postplay .pm-postplay-details,.pm-postplay .pm-postplay-actions button { transition:none; } }
@media (max-height:600px) { .pm-postplay-details { bottom:5%; } .pm-postplay-logo { max-height:14vh; margin-bottom:10px; } .pm-postplay-description { -webkit-line-clamp:2; margin-bottom:8px; } .pm-postplay-status { margin:10px 0; } }
