/* Scoped PM UI pass. No change to shared discovery rail/card dimensions. */
.pm-player-stage{position:relative;background:#000;border-radius:12px;overflow:hidden;width:100%;isolation:isolate}
.pm-player-stage video{display:block;width:100%;height:100%;object-fit:contain}
.pm-transport{display:grid;gap:2px;padding:0 12px 8px;background:linear-gradient(transparent,#050505f2 35%);min-height:68px}
.pm-transport-row{display:flex;align-items:center;gap:8px;min-height:44px}
.pm-transport-spacer{flex:1}
.pm-transport button{background:transparent;border:0;color:#fff;min-width:40px;min-height:40px;border-radius:8px;cursor:pointer}
.pm-transport button:hover,.pm-transport button:focus-visible,.pm-cc.active{background:#ffffff20}
.pm-transport [data-transport="play"]{display:grid;place-items:center}
.pm-transport [data-transport="play"] svg{display:block;width:20px;height:20px;fill:currentColor}
.pm-transport [data-transport="play"] svg[hidden]{display:none}
.pm-volume{display:flex;align-items:center;gap:4px}.pm-volume-range{width:clamp(72px,9vw,118px);height:28px;accent-color:#fff;cursor:pointer}.pm-volume-range:focus-visible{outline:2px solid #c1dcff;outline-offset:2px}
.pm-seek{width:100%;min-width:30px;height:18px;margin:0;accent-color:#ff1849}
.pm-time{font-variant-numeric:tabular-nums;white-space:nowrap;font-size:12px}
.pm-cc{font-weight:800;letter-spacing:-1px}
.pm-cues{position:absolute;left:5%;right:5%;bottom:78px;text-align:center;pointer-events:none;z-index:2;white-space:pre-line}
.pm-cues:has(span:empty){display:none}
.pm-cues[data-position=top]{top:6%;bottom:auto}
.pm-cues[data-position=middle]{top:42%;bottom:auto}
.pm-cues span{padding:3px 8px;box-decoration-break:clone;-webkit-box-decoration-break:clone;line-height:1.45;paint-order:stroke fill}
.pm-cc-menu{position:absolute;right:12px;bottom:66px;z-index:5;width:min(310px,calc(100% - 24px));max-height:calc(100% - 76px);overflow:auto;border-radius:12px;padding:12px;background:#17171ff5;box-shadow:0 12px 45px #0009;color:#fff}
.pm-cc-menu[hidden],.pm-cc-custom[hidden]{display:none}
.pm-cc-options{display:flex;gap:4px}
.pm-cc-menu button{min-height:40px;background:#282832;color:#fff;border:0;border-radius:8px;padding:8px 12px;cursor:pointer}
.pm-cc-menu button[aria-pressed=true]{background:#eeeeff;color:#16161a}
.pm-cc-menu button:disabled{opacity:.4;cursor:default}
.pm-cc-custom{display:grid;gap:10px}
.pm-cc-custom label{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:13px}
.pm-cc-custom input[type=range]{width:125px}
.pm-cc-custom input[type=color]{width:44px;height:32px}
.pm-cc-custom select,.decision-reason select,.decision-reason textarea{color:#fff;background:#22222a;border:1px solid #ffffff25;border-radius:8px;padding:9px}
.pm-cc-status{font-size:12px;line-height:1.4}
.pm-player-stage:fullscreen,.pm-player-stage.pm-expanded{display:flex;flex-direction:column;justify-content:center;border-radius:0;background:#000}
.pm-player-stage:fullscreen video,.pm-player-stage.pm-expanded video{flex:1;min-height:0;max-height:calc(100dvh - 64px);height:calc(100dvh - 64px)}
.pm-player-stage.pm-expanded{position:fixed;inset:0;z-index:100;width:100%;height:100dvh;padding-top:env(safe-area-inset-top)}
.pm-player-stage:fullscreen .pm-transport,.pm-expanded .pm-transport{padding-bottom:max(8px,env(safe-area-inset-bottom))}
.notification-button{position:relative;display:grid;place-items:center}
.notification-badge{position:absolute!important;top:-4px;right:-5px;display:grid;place-items:center;min-width:22px;height:18px;padding:0 5px;border:2px solid #080c14;border-radius:999px!important;background:#e83d50!important;color:#fff;font-size:10px!important;font-weight:750;line-height:14px;white-space:nowrap;box-sizing:border-box}
#details:has(.notification-center){width:min(460px,calc(100vw - 24px));background:#131317;border:1px solid #ffffff10;border-radius:18px}
.notification-center{padding:16px 6px}
.notification-center h2{font-size:24px}
.notification-list{display:grid;gap:8px}
.notification-item{border:0!important;background:#1b1b22!important;border-radius:10px!important;text-align:left;padding:16px!important;color:#eee}
.notification-item.unread{box-shadow:inset 3px 0 #d64d65}
.notification-item small{display:block;margin-top:8px;opacity:.6;font-size:11px}
.decision-reason{display:grid;gap:10px;flex-basis:100%;width:100%;margin-top:14px}
.decision-reason label{display:grid;gap:6px;font-size:13px}
.request-list article{flex-wrap:wrap}
.request-reason{color:#c7c7d1;font-size:13px;line-height:1.5;max-width:45ch}
.coming-soon-state{position:absolute;inset:0;z-index:1;background:linear-gradient(#0003,#000b);display:flex;flex-direction:column;justify-content:center;align-items:center;gap:8px;text-align:center;padding:8px}
.coming-soon-state strong{font-size:12px;letter-spacing:.08em}
.coming-soon-state small{font-size:11px}
.collection-tile[data-franchise=dc] img,.collection-banner[data-franchise=dc] img{filter:saturate(.55) brightness(.65) contrast(1.12)}
.collection-tile[data-franchise=dc]{background:#080e19;box-shadow:inset 0 0 60px #14274066}
.collection-order-note{font-size:13px;color:#a6a6b4;max-width:65ch}
@media(max-width:600px){.pm-transport{gap:2px;padding:4px;min-height:48px}.pm-transport button{min-width:36px}.pm-time{font-size:10px}.pm-cc-menu{right:6px;bottom:52px;max-height:calc(100% - 60px)}.pm-cues{bottom:65px}.notification-center{padding:8px 0}.pm-player-stage:fullscreen .pm-cc-menu,.pm-expanded .pm-cc-menu{max-height:70dvh}.pm-cc-custom{gap:8px}}

#details .pm-cc-custom input{min-height:24px;margin:0;padding:0;width:auto}
#details .pm-cc-custom input[type=range]{width:125px}
#details .pm-cc-custom input[type=color]{width:44px;height:30px}
#details .pm-cc-custom input[type=checkbox]{width:18px;height:18px}
.player-audio-note{font-size:12px;color:#c9c9d3}

/* Fullscreen and inline use overlay controls: hiding them never resizes the video. */
.pm-transport{position:absolute;left:0;right:0;bottom:0;z-index:3;background:linear-gradient(transparent,#111116ed 25%);padding-top:16px;transition:opacity .2s,visibility .2s}
.pm-controls-hidden .pm-transport{opacity:0;visibility:hidden;pointer-events:none}
.pm-controls-hidden{cursor:none}
.pm-player-stage:fullscreen,.pm-player-stage.pm-expanded{touch-action:manipulation}
.pm-skip-feedback{position:absolute;top:50%;z-index:4;transform:translateY(-50%);padding:12px 16px;border-radius:999px;background:#000a;color:#fff;font-size:16px;font-weight:750;pointer-events:none}
.pm-skip-feedback[data-side=left]{left:14%}.pm-skip-feedback[data-side=right]{right:14%}
.pm-skip-feedback[hidden]{display:none}
.pm-player-stage:fullscreen,.pm-player-stage.pm-expanded{display:block;padding:0;overflow:hidden;overscroll-behavior:none;width:var(--pm-viewport-width,100vw);height:var(--pm-viewport-height,100dvh);max-width:none;max-height:none}
.pm-player-stage:fullscreen video,.pm-player-stage.pm-expanded video{display:block;flex:none;aspect-ratio:auto;width:100%;height:100%;max-width:none;max-height:none;margin:0;object-fit:contain}
.pm-player-stage:fullscreen .pm-transport,.pm-expanded .pm-transport{padding-left:max(8px,env(safe-area-inset-left));padding-right:max(8px,env(safe-area-inset-right));padding-bottom:max(8px,env(safe-area-inset-bottom))}
html.pm-fullscreen-active,html.pm-fullscreen-active body{overflow:hidden!important;overscroll-behavior:none!important}
html.pm-fullscreen-active body{position:fixed;top:var(--pm-page-top,0);left:0;right:0;width:100%}
#details.pm-fullscreen-dialog{position:fixed!important;inset:0!important;width:var(--pm-viewport-width,100vw)!important;height:var(--pm-viewport-height,100dvh)!important;max-width:none!important;max-height:none!important;padding:0!important;margin:0!important;border:0!important;border-radius:0!important;overflow:hidden!important;overscroll-behavior:none!important;background:#000;scrollbar-width:none}
#details.pm-fullscreen-dialog::-webkit-scrollbar{display:none}
#details.pm-fullscreen-dialog>.detail-toolbar,#details.pm-fullscreen-dialog .player-copy{display:none}
#details.pm-fullscreen-dialog #detailContent,#details.pm-fullscreen-dialog .player{width:100%;height:100%;margin:0;padding:0;overflow:hidden}
#details.pm-fullscreen-dialog .player video{width:100%;height:100%;max-height:none;object-fit:contain;border-radius:0;background:#000}body.player-open{overflow:hidden;overscroll-behavior:none}
.pm-expanded .pm-cues,.pm-player-stage:fullscreen .pm-cues{bottom:calc(70px + env(safe-area-inset-bottom))}
.pm-controls-hidden .pm-cues[data-position=bottom]{bottom:max(20px,env(safe-area-inset-bottom))}
.pm-expanded .pm-cc-menu,.pm-player-stage:fullscreen .pm-cc-menu{right:max(12px,env(safe-area-inset-right));bottom:calc(64px + env(safe-area-inset-bottom));max-height:calc(100% - 100px - env(safe-area-inset-top) - env(safe-area-inset-bottom))}
@media(prefers-reduced-motion:reduce){.pm-transport{transition:none}}

.pm-native-video .pm-transport,.pm-native-video .pm-cc-menu,.pm-native-video .pm-cues{visibility:hidden!important;pointer-events:none}

/* Responsive Web watch page: YouTube-style layout with optional fullscreen. */
#details.pm-watch-page{position:fixed;inset:0;width:100%;height:100dvh;max-width:none;max-height:none;margin:0;padding:0;border:0;border-radius:0;overflow-x:hidden;overflow-y:auto;background:#08090c;color:#fff;scrollbar-color:#34343d transparent}
#details.pm-watch-page::backdrop{background:#08090c}
#details.pm-watch-page>.detail-toolbar{position:sticky;top:0;z-index:20;display:flex;justify-content:flex-end;height:58px;padding:8px clamp(14px,3vw,42px);background:linear-gradient(#08090cf5,#08090cbd 72%,transparent)}
#details.pm-watch-page>.detail-toolbar .close{position:static;display:inline-flex;align-items:center;justify-content:center;width:auto;min-width:92px;height:42px;padding:0 17px;border:1px solid #ffffff24;border-radius:999px;background:#17181e;color:#fff;font-size:15px;font-weight:650;line-height:1;white-space:nowrap;cursor:pointer}
#details.pm-watch-page #detailContent{width:min(1280px,calc(100% - 48px));max-width:100%;margin:0 auto;padding:8px 0 56px;overflow:hidden}
#details.pm-watch-page .watch-player{display:grid;grid-template-columns:minmax(0,1fr);gap:22px;width:100%;min-width:0;margin:0;overflow:hidden}
#details.pm-watch-page .watch-player>*{min-width:0;max-width:100%}
#details.pm-watch-page .pm-player-stage,#details.pm-watch-page .player-loading{aspect-ratio:16/9;width:min(100%,calc(177.777dvh - 266.667px));min-width:0;max-width:100%;margin-inline:auto;border-radius:14px;background:#000;box-shadow:0 24px 70px #0009}
#details.pm-watch-page .pm-player-stage video{position:absolute;inset:0;width:100%;height:100%;max-width:100%;max-height:100%;margin:0;object-fit:contain;object-position:center center;border-radius:inherit}
#details.pm-watch-page .player-loading{display:grid;place-items:center;color:#b8bbc5}
#details.pm-watch-page .player-copy{display:grid;gap:8px;padding:0 4px;max-width:920px}
#details.pm-watch-page .player-copy h1{margin:0;font-size:clamp(24px,3vw,38px);line-height:1.12}
#details.pm-watch-page .player-copy p{margin:0}
#details.pm-watch-page .watch-meta{color:#e2e3e8;font-size:14px}
#details.pm-watch-page .watch-overview{max-width:78ch;color:#b8bbc5;line-height:1.55}
#details.pm-watch-page #playerStatus{color:#898d99;font-size:13px}
#details.pm-watch-page #playerStatus{color:#c8cad2;font-size:12px;letter-spacing:.16em}
#details.pm-watch-page .watch-cast{max-width:100%;margin:8px 0 0;padding:4px 4px 0}
#details.pm-watch-page .watch-cast h2{margin-bottom:10px}
@media(max-width:900px){#details.pm-watch-page #detailContent{width:min(100% - 28px,960px)}#details.pm-watch-page .pm-player-stage,#details.pm-watch-page .player-loading{width:100%;border-radius:12px}}
@media(max-width:600px){#details.pm-watch-page>.detail-toolbar{height:50px;padding:5px 10px}#details.pm-watch-page>.detail-toolbar .close{min-width:84px;height:40px;padding-inline:14px;font-size:14px}#details.pm-watch-page #detailContent{width:100%;padding:0 0 38px}#details.pm-watch-page .pm-player-stage,#details.pm-watch-page .player-loading{border-radius:0;box-shadow:none}#details.pm-watch-page .player-copy{padding:18px 16px 0}#details.pm-watch-page .watch-overview{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:3}#details.pm-watch-page .watch-cast{padding:6px 16px 0}.pm-transport{padding-inline:6px}.pm-transport-row{gap:2px}.pm-volume-range{width:64px}}
.detail-cinematic .detail-backdrop{
 /* Fade at the image's own edge, not the bottom of the full episode page. */
 -webkit-mask-image:linear-gradient(to bottom,#000 0%,#000 62%,transparent 100%);
 mask-image:linear-gradient(to bottom,#000 0%,#000 62%,transparent 100%);
}
.hero{--hero-fade-color:#08090b}
.provider-hero{--hero-fade-color:var(--provider-deep,#08090c)}
.hero::after,.provider-hero::after{
 content:"";position:absolute;inset:auto 0 0;height:clamp(100px,24%,220px);
 background:linear-gradient(to bottom,transparent,var(--hero-fade-color));
 border-bottom-left-radius:inherit;border-bottom-right-radius:inherit;pointer-events:none;z-index:1;
}
.hero .hero-copy,.provider-hero .provider-hero-shade{z-index:2}
