/* PLAY-VIBE V133 - focused playback and Live TV refinements.
   Override legacy layout styles without replacing any existing components. */
:root{--pv133-ink:#edf6ff;--pv133-deep:#101926;--pv133-edge:rgba(173,206,235,.22)}
html{scroll-behavior:auto!important;overscroll-behavior-x:none}
body{overflow-x:hidden;overscroll-behavior-x:none}
#content,.app-column{min-width:0}
/* Native, responsive vertical touch scrolling; avoid forcing smooth animation for rapid flicks. */
#content .mv-scroll-track32,#content .horizontal-list,#content .mv-resume-track34,
#content .mv46-search-track,#content .mv59-provider-track,#content .pv109-recent-list{
 -webkit-overflow-scrolling:touch;overscroll-behavior-x:contain;scroll-snap-type:x proximity;
}
#content .mv-scroll-track32>*,#content .horizontal-list>*,#content .mv-resume-track34>*,
#content .mv46-search-track>*,#content .mv59-provider-track>*{scroll-snap-align:start}
@media(hover:hover){#content .mv-scroll-track32,#content .mv46-search-track{scroll-behavior:smooth}}
@media(prefers-reduced-motion:reduce){#content *{scroll-behavior:auto!important;animation-duration:.01ms!important}}
/* Content detail: the header is removed entirely, while the device status bar is untouched. */
body.pv133-content-page .app-column>.topbar,body.pv133-live-viewing .app-column>.topbar{display:none!important}
body.pv133-content-page.inline-player #player-root,
body.pv133-content-page.inline-player #player-root>.player-shell.expanded:not(.cinema-fullview){
 top:env(safe-area-inset-top,0px)!important;margin-top:0!important;border-top:0!important;
}
body.pv133-content-page.inline-player #player-root{padding-top:0!important;margin-top:0!important;scroll-margin-top:0!important}
body.pv133-content-page .app-column>#content{scroll-margin-top:0!important}
/* Portrait movie player tap opens landscape fullscreen; mini and landscape iframe remain interactive. */
#pv133-portrait-tap{display:none;position:absolute;inset:0;border:0;background:transparent;color:transparent;z-index:52;cursor:pointer;touch-action:manipulation}
#player-root .pv133-portrait-bar{display:none;align-items:center;gap:8px;background:#0b1420;color:#f3f8ff;padding:8px 10px;min-height:54px;box-sizing:border-box;overflow:hidden;border:0}
#player-root .pv133-portrait-bar .pv133-portrait-brand{display:inline-flex;flex:none;max-width:105px;overflow:hidden;font-size:10px}
#player-root .pv133-portrait-bar .pv133-portrait-title{font-size:12px;font-weight:650;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;min-width:0;flex:1}
#player-root .pv133-portrait-bar button{display:grid;place-items:center;background:rgba(218,234,255,.08);border:1px solid rgba(212,228,255,.19);color:#f3f7ff;min-width:36px;min-height:37px;border-radius:11px;padding:7px;flex:0 0 auto}
#player-root .pv133-portrait-bar button:active{transform:scale(.94)}
@media(orientation:portrait){
 body.pv133-content-page.inline-player #player-root>.player-shell.expanded:not(.cinema-fullview) .player-top,
 body.pv133-content-page.inline-player #player-root>.player-shell.expanded:not(.cinema-fullview) .player-foot,
 body.pv133-content-page.inline-player #player-root>.player-shell.expanded:not(.cinema-fullview) .player-quick35,
 body.pv133-content-page.inline-player #player-root>.player-shell.expanded:not(.cinema-fullview) .player-corner-expand,
 body.pv133-content-page.inline-player #player-root>.player-shell.expanded:not(.cinema-fullview) .player-bottom-handle30{display:none!important}
 body.pv133-content-page.inline-player #player-root>.player-shell.expanded:not(.cinema-fullview) .pv133-portrait-bar{display:flex!important}
 body.pv133-content-page.inline-player #player-root>.player-shell.expanded:not(.cinema-fullview) #pv133-portrait-tap{display:block;pointer-events:auto}
 body.pv133-content-page.inline-player #player-root>.player-shell.expanded:not(.cinema-fullview) #media-target{pointer-events:none!important}
 body.pv133-content-page.inline-player #player-root>.player-shell.expanded:not(.cinema-fullview){gap:0!important;padding:0!important;border-radius:0!important;box-shadow:none!important}
 body.pv133-content-page.inline-player #player-root>.player-shell.expanded:not(.cinema-fullview) .player-media{margin:0!important;padding:0!important;border:0!important;border-radius:0!important;outline:0!important}
 body.pv133-content-page.inline-player #player-root>.player-shell.expanded:not(.cinema-fullview).player-locked12 .pv133-portrait-bar,
 body.pv133-content-page.inline-player #player-root>.player-shell.expanded:not(.cinema-fullview).pv133-controls-disguised .pv133-portrait-bar{display:none!important}
}
/* A single low-contrast lock or show-control affordance stays at left centre. */
#player-root .player-shell.player-locked12 .player-touch-lock13{justify-content:flex-start!important;align-items:center!important}
#player-root .player-shell.player-locked12 .player-touch-lock13 button,
body.inline-player #player-root .player-shell.player-locked12 .player-touch-lock13 button{
 position:absolute!important;top:50%!important;bottom:auto!important;left:9px!important;right:auto!important;
 transform:translateY(-50%)!important;width:43px!important;height:43px!important;border-radius:14px!important;
 background:rgba(12,24,35,.30)!important;border:1px solid rgba(240,250,255,.24)!important;
 box-shadow:none!important;backdrop-filter:none!important;opacity:.42!important;z-index:152!important
}
#player-root #pv133-reveal{position:absolute;top:50%;left:9px;transform:translateY(-50%);z-index:154;width:43px;height:43px;display:grid;place-items:center;border-radius:14px;background:rgba(10,20,30,.28);border:1px solid rgba(240,250,255,.21);color:#e8f6ff;opacity:.34;touch-action:manipulation}
#player-root #pv133-reveal[hidden]{display:none!important}
#player-root #pv133-reveal:focus-visible,#player-root .player-touch-lock13 button:focus-visible{opacity:1!important;outline:2px solid #b4ddfc}
#player-root .player-shell.pv133-controls-disguised .player-top,
#player-root .player-shell.pv133-controls-disguised .player-foot,
#player-root .player-shell.pv133-controls-disguised .player-controls12,
#player-root .player-shell.pv133-controls-disguised .player-more-pop35,
#player-root .player-shell.pv133-controls-disguised .player-corner-expand,
#player-root .player-shell.pv133-controls-disguised .player-bottom-handle30,
#player-root .player-shell.pv133-controls-disguised .pv133-portrait-bar,
#player-root .player-shell.pv133-controls-disguised #player-reenter12{display:none!important}
#player-root .player-shell.pv133-controls-disguised #media-target{pointer-events:auto!important}
#player-root .player-shell.pv133-controls-disguised #pv133-portrait-tap{display:none!important}
#player-root .player-shell.player-locked12 .pv133-portrait-bar{display:none!important}
/* Live TV main view: no extraneous starter-channel notice or second toolbar. */
#pv104-catalog-notice{display:none!important}
body.pv133-live-viewing #content{padding-top:0!important;margin-top:0!important}
body.pv133-live-viewing #content .pv108-live-app{padding-top:0!important}
body.pv133-live-viewing #content .pv108-live-app>.pv108-player{scroll-margin-top:0!important}
#content .pv108-live-app.pv113-now-playing>.pv109-recent,
#content .pv108-live-app.pv113-now-playing>.pv133-saved-access,
#content .pv108-live-app.pv113-now-playing>.pv108-library{display:none!important}
#content .pv108-live-app.pv113-now-playing>.pv108-player:not(:fullscreen):not(.pv103-pseudo-full):not(.pv133-live-mini){
 position:sticky!important;top:env(safe-area-inset-top,0px)!important;z-index:70;scroll-margin-top:0!important;border:0!important;margin-top:0!important;
 border-radius:0!important;box-shadow:none!important;max-width:100%!important
}
#content .pv108-live-app .pv133-live-player-toolbar{display:flex;gap:8px;align-items:center;min-height:48px;background:#0c1521;color:#f4f9ff;border:0!important}
#content .pv133-live-player-toolbar button{min-width:38px;min-height:38px;display:grid;place-items:center;color:inherit;background:rgba(240,249,255,.07);border:1px solid var(--pv133-edge);border-radius:11px;cursor:pointer}
#content .pv133-live-player-toolbar strong{flex:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#content .pv108-player:fullscreen .pv133-live-player-toolbar,
#content .pv108-player.pv103-pseudo-full .pv133-live-player-toolbar{display:none!important}
#content .pv108-player .pv103-watermark{display:flex;align-items:center;gap:7px;z-index:30!important;pointer-events:none}
#content .pv108-player .pv103-watermark span{display:inline-flex;align-items:center;gap:6px}
#content .pv133-brand-dot{display:inline-block;width:7px;height:7px;border-radius:50%;background:#ff3f47;box-shadow:0 0 0 2px #ff3f472b;flex:none}
#content .pv133-live-return{padding:14px 12px 4px;text-align:center}
#content .pv133-live-return button,#content .pv133-explore-others{display:inline-flex;justify-content:center;align-items:center;gap:8px;min-height:41px;padding:9px 15px;background:#172638;color:var(--pv133-ink);border:1px solid var(--pv133-edge);border-radius:12px;font-weight:650;cursor:pointer}
#content .pv133-explore-others{margin:0 0 16px}
#content .pv109-related .pv109-related-head{display:none!important}
#content .pv109-related .pv109-related-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
/* Mini player: pinned to bottom-left; media node is preserved when resizing. */
#content .pv108-live-app .pv108-player.pv133-live-mini:not(:fullscreen){
 position:fixed!important;top:auto!important;left:12px!important;right:auto!important;
 bottom:calc(64px + env(safe-area-inset-bottom,0px))!important;width:min(300px,calc(100vw - 24px))!important;
 max-height:none!important;z-index:8800!important;background:#000!important;
 border-radius:13px!important;box-shadow:0 16px 45px rgba(0,0,0,.6)!important;
 overflow:hidden!important;border:1px solid rgba(219,237,255,.25)!important;margin:0!important
}
#content .pv108-live-app .pv108-player.pv133-live-mini .pv103-stage{aspect-ratio:16/9!important;height:auto!important;max-height:none!important;min-height:0!important}
#content .pv108-player .pv133-live-mini-buttons{display:none}
#content .pv108-player.pv133-live-mini .pv133-live-mini-buttons{display:flex;justify-content:flex-end;gap:7px;padding:6px 8px;background:#0c1825}
#content .pv133-live-mini-buttons button{display:grid;place-items:center;border:1px solid rgba(232,243,255,.21);background:#ffffff14;border-radius:9px;color:#fff;min-width:32px;min-height:31px}
#content .pv108-player.pv133-live-mini .pv133-live-player-toolbar{display:none!important}
#content .pv108-player.pv133-live-mini .pv103-controls{display:none!important}
#content .pv108-player.pv133-live-mini .pv103-watermark{font-size:9px!important;transform:scale(.83);transform-origin:top left}
/* Circular Live TV and history cards, responsive at all sizes. */
#content .pv133-round-card{position:relative;min-width:0!important;display:flex;flex-direction:column;align-items:center;overflow:visible;text-align:center;background:transparent;border:0;box-shadow:none;padding:4px 2px 10px}
#content .pv133-round-card .pv109-suggestion-open{display:flex;flex-direction:column;align-items:center;gap:9px;max-width:100%;min-width:0}
#content .pv133-round-card .pv109-suggestion-art{border-radius:50%!important;width:clamp(86px,13vw,145px);height:clamp(86px,13vw,145px);aspect-ratio:1;border:2px solid rgba(160,218,246,.27);overflow:hidden;background:#152435;box-shadow:0 7px 25px #0005}
#content .pv133-round-card .pv109-suggestion-art img{width:100%;height:100%;object-fit:contain;display:block;max-height:none!important}
#content .pv133-round-card strong{font-size:12px;line-height:1.25;font-weight:700;max-width:150px;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
#content .pv133-round-card small{display:none!important}
#content .pv133-suggestion-save{display:grid;place-items:center;position:absolute;right:0;top:10px;background:rgba(17,30,43,.87);color:#eaf7ff;border:1px solid #ffffff25;border-radius:50%;width:31px;height:31px}
#content .pv133-suggestion-save.on,#content .pv133-save-icon.on{color:#8cece0;border-color:#63caca}
#content .pv133-recent{padding:12px 14px;border:0!important;box-shadow:none!important;background:transparent!important}
#content .pv133-recent .pv109-related-head{display:flex;align-items:center;gap:12px;margin:0 0 10px}
#content .pv133-recent .pv109-related-head h2{flex:1;font-size:17px}
#content .pv133-recent .pv109-related-head button{display:inline-flex;align-items:center;gap:6px;color:#aadfef;background:transparent;border:0;font-weight:700}
#content .pv133-recent #pv109-recent-list{display:flex!important;flex-direction:row;overflow-x:auto;gap:12px;scrollbar-width:none}
#content .pv133-recent #pv109-recent-list .pv133-round-card{flex:0 0 140px;max-width:140px}
#content .pv133-saved-access{margin:10px 0 18px;padding:0 6px}
#content .pv133-saved-access button{display:flex;align-items:center;justify-content:space-between;gap:13px;width:100%;max-width:460px;min-height:48px;padding:11px 15px;border:1px solid var(--pv133-edge);border-radius:13px;background:linear-gradient(110deg,#182838,#15202f);color:#f0f7ff;font-weight:750;text-align:left}
#content .pv108-live-app .pv102-grid{grid-template-columns:repeat(auto-fill,minmax(128px,1fr));gap:12px}
#content .pv108-live-app .pv133-channel{border-radius:14px;overflow:hidden}
#content .pv108-live-app .pv133-channel .pv102-channel-art{border-radius:14px 14px 4px 4px}
#content .pv133-channel .pv102-channel-open strong{font-size:12px;line-height:1.4}
#content .pv133-channel .pv102-channel-open small{display:none!important}
#content .pv133-save-icon{border-radius:50%!important;display:grid!important;place-items:center!important}
#content .pv102-more-wrap .pv133-load-mini,#content .pv102-loading .pv133-load-mini,.pv133-library-page .pv133-load-mini{display:inline-block;width:23px;height:23px;border:2px solid rgba(107,204,224,.22);border-top-color:#91e5e5;border-radius:50%;animation:pv133-spin .65s linear infinite}
#content .pv102-more-wrap .pv133-load-mini{display:none}
#content .pv102-more-wrap.pv133-is-loading .pv133-load-mini{display:inline-block}
#content .pv102-more-wrap.pv133-is-loading .pv102-more{display:none}
@keyframes pv133-spin{to{transform:rotate(360deg)}}
#content .pv133-no-more{padding:20px 10px 25px;text-align:center;color:#afc4d6;font-size:13px;font-weight:650}
#content .pv133-no-more[hidden]{display:none!important}
/* Separate Live TV History and Watch Later pages. */
#content .pv133-library-page{max-width:1160px;margin:0 auto;padding:12px clamp(12px,2.6vw,28px) 40px;min-height:65vh;color:var(--pv133-ink)}
#content .pv133-library-header{display:flex;align-items:center;gap:9px;padding:12px 0 24px}
#content .pv133-library-header h1{flex:1;min-width:0;font-size:clamp(21px,3.3vw,31px);margin:0;letter-spacing:-.035em}
#content .pv133-library-header button{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:42px;border-radius:12px;border:1px solid var(--pv133-edge);background:#182737;color:#f1f9ff;padding:8px 12px}
#content .pv133-library-header button:disabled{opacity:.35;cursor:not-allowed}
#content .pv133-library-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:16px 12px;align-items:start}
#content .pv133-library-card{position:relative;min-width:0;text-align:center}
#content .pv133-library-open{display:flex;flex-direction:column;align-items:center;gap:10px;width:100%;background:transparent;border:0;color:#edf5ff;min-width:0}
#content .pv133-library-art{display:grid;place-items:center;aspect-ratio:1/1;width:100%;max-width:155px;background:#132334;border:1px solid #8ecddb34;border-radius:50%;overflow:hidden}
#content .pv133-library-art img{width:100%;height:100%;object-fit:contain}
#content .pv133-library-open strong{font-size:12px;line-height:1.3;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
#content .pv133-library-delete{position:absolute;right:4px;top:4px;display:grid;place-items:center;border-radius:50%;width:34px;height:34px;color:#fcecf1;border:1px solid rgba(248,214,218,.25);background:rgba(22,30,42,.84)}
#content .pv133-library-empty{grid-column:1/-1;display:flex;flex-direction:column;align-items:center;gap:10px;padding:60px 20px;color:#b8cad8}
#content .pv133-library-loadmore{text-align:center;padding:28px 8px}
#content .pv133-library-loadmore button{border-radius:13px;min-height:43px;background:#203548;border:1px solid var(--pv133-edge);color:#f3f7ff;padding:10px 22px;font-weight:750}
#content .pv133-library-loadmore button[hidden]{display:none!important}
@media(max-width:900px){#content .pv133-library-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:550px){
 #content .pv108-live-app .pv102-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
 #content .pv108-live-app .pv133-channel .pv102-channel-art{aspect-ratio:1/1}
 #content .pv109-related .pv109-related-list{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
 #content .pv133-round-card .pv109-suggestion-art{width:clamp(76px,24vw,112px);height:clamp(76px,24vw,112px)}
 #content .pv133-recent #pv109-recent-list .pv133-round-card{flex-basis:116px;max-width:116px}
 #content .pv133-library-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px 9px}
 #content .pv133-library-delete{width:29px;height:29px;top:0;right:0}
 #content .pv133-library-header button{padding:8px}
 #content .pv133-library-header button span{display:none}
 #content .pv133-live-player-toolbar{padding-inline:12px!important}
}
@media(max-width:380px){#content .pv108-live-app .pv102-grid,#content .pv133-library-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
/* The return shortcut belongs to a channel detail, never the directory landing page. */
#content .pv108-live-app>.pv133-live-return{display:none}
#content .pv108-live-app.pv113-now-playing>.pv133-live-return{display:block}
