/* Common finish across the existing TVAbierta pages. */
html body.tv-review{color-scheme:dark}
html body.tv-review :is(button,input,select,summary){box-sizing:border-box}
html body.tv-review :is(a,button,input,select,summary):focus-visible{outline:2px solid #80e1ed!important;outline-offset:3px!important}
html body.tv-review :is(#tvSiteNav,nav.mainnav) [data-tv-guide]{white-space:nowrap;color:#a5e7ef!important}
html body.tv-review #tvMorePanel :is(#tvFindQuick,#tvLargeToggle){min-height:44px;padding:7px;background:#193649;color:#edf8fc;border:1px solid #7eb5ca55;border-radius:8px;font:13px system-ui}
html body.tv-review #tvGuide:not([hidden]){display:flex!important;flex-direction:column!important;overflow:hidden!important;scroll-behavior:auto!important}
html body.tv-review #tvGuideToolbar{position:relative!important;top:auto!important;flex-shrink:0!important;z-index:2;background:#101f2c!important}
html body.tv-review #tvGuideList{position:relative!important;flex:1 1 0!important;min-height:100px!important;overflow-y:auto!important;overscroll-behavior-y:contain;scroll-padding-top:4px}
html body.tv-review #tvGuideToolbar #tvGuideSearch{display:block!important;visibility:visible!important;opacity:1!important;font-size:16px!important;scroll-margin-top:calc(var(--tv-nav-height,50px) + 8px)}
html body.tv-review #tvFindQuick,html body.tv-review #tvLargeToggle{cursor:pointer}
html body.tv-review #tvTouchDock[hidden],html body.tv-review.tv-review-fullscreen #tvTouchDock{display:none!important}
html body.tv-review #tvTouchDock{position:fixed;bottom:0;left:0;right:0;z-index:75;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;padding:5px max(8px,env(safe-area-inset-right)) max(5px,env(safe-area-inset-bottom)) max(8px,env(safe-area-inset-left));background:#0b1c2af5;border-top:1px solid #7eb5ca55;box-sizing:border-box}
html body.tv-review #tvTouchDock button{min-height:52px;padding:8px 5px;border:1px solid #6bb8ca66;border-radius:9px;background:#153b4d;color:#effaff;font:650 16px/1.2 system-ui;cursor:pointer}
html body.tv-review #tvTouchDock button:disabled{opacity:.45;cursor:default}
html body.tv-review #tvTouchState{grid-column:1/-1;font:11px/1.2 system-ui;color:#b6d0df}
html body.tv-review.tv-large-controls{padding-bottom:calc(92px + env(safe-area-inset-bottom))!important}
html body.tv-review.tv-section-streaming .container{box-sizing:border-box;max-width:1120px!important;margin-inline:auto!important}
html body.tv-review.tv-section-radio #stations{gap:7px!important}
html body.tv-review.tv-section-radio .station{padding:10px!important}
html body.tv-review.tv-section-radio #controls{gap:6px!important}
@media(max-width:900px){
 /* The previously sticky video could cover the guide search while scrolling. */
 html body.tv-review.tv-persistent.tv-premium.tv-premium-mobile>.main-content>.player-section{position:relative!important;top:auto!important;z-index:auto!important;padding-bottom:0!important}
 html body.tv-review.tv-persistent.tv-premium.tv-premium-mobile>.main-content{position:relative!important;top:auto!important}
 html body.tv-review.tv-persistent.tv-premium.tv-section-radio #radioConsole{position:relative!important;top:auto!important}
 html body.tv-review.tv-persistent.tv-premium:is(.tv-section-tv,.tv-section-tv2) .player{position:relative!important;top:auto!important;z-index:auto!important}
 html body.tv-review.tv-premium.tv-section-live #sidebar{overflow:hidden!important;display:flex!important;flex-direction:column!important}
 html body.tv-review.tv-premium.tv-section-live.sidebar-hidden #sidebar{display:none!important}
 html body.tv-review.tv-premium.tv-section-live #sidebar .top-panel{flex:0 0 auto!important;padding:7px!important}
 html body.tv-review.tv-premium.tv-section-live #sidebar #channels{min-height:140px!important;overflow-y:auto!important}
 html body.tv-review.tv-premium:is(.tv-section-tv,.tv-section-tv2) .sidebar{display:flex!important;flex-direction:column!important;overflow:hidden!important;max-height:75dvh!important}
 html body.tv-review.tv-premium:is(.tv-section-tv,.tv-section-tv2) :is(.search,.search-box){flex:0 0 auto!important;padding:7px!important;background:#102333!important}
 html body.tv-review.tv-premium:is(.tv-section-tv,.tv-section-tv2) :is(#list,#channels){flex:1 1 auto!important;min-height:160px!important;overflow-y:auto!important}
 html body.tv-review :is(#searchInput,#search){font-size:16px!important;min-height:44px!important;max-width:100%!important}
 html body.tv-review nav.mainnav{max-width:100%;overflow-x:auto;flex-wrap:nowrap!important}
 html body.tv-review nav.mainnav a{flex-shrink:0;min-height:44px;display:inline-flex;align-items:center}
}
@media(orientation:landscape) and (max-height:600px) and (pointer:coarse){
 html body.tv-review #tvGuideToolbar{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important}
 html body.tv-review #tvGuideToolbar>header,html body.tv-review #tvGuideToolbar #tvGuideSearch,html body.tv-review #tvGuideToolbar #tvGuideCount{grid-column:1/-1!important}
 html body.tv-review #tvGuideToolbar .tv-guide-filters{grid-column:1!important}
 html body.tv-review #tvGuideToolbar #tvGuideCategory{grid-column:2!important;min-width:0!important}
}
@media(prefers-reduced-motion:reduce){html body.tv-review *{scroll-behavior:auto!important;transition:none!important}}
html body.tv-review{box-sizing:border-box;padding-left:env(safe-area-inset-left,0px)!important;padding-right:env(safe-area-inset-right,0px)!important}
html body.tv-review #tvGuideToolbar>header{max-width:100%!important;box-sizing:border-box}
html body.tv-review #tvGuideToolbar #tvGuideSearch{max-width:100%!important;box-sizing:border-box!important}
/* Keep the channel identity above its controls even if an older relocation script is absent. */
html body.tv-review.tv-premium .actions-bar:has(#nowPlaying){display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:3px!important;padding:3px 0 0!important;width:100%!important;min-width:0!important;box-sizing:border-box!important}
html body.tv-review.tv-premium .actions-bar #nowPlaying{flex:0 0 auto!important;width:100%!important;margin:0!important;min-width:0!important;box-sizing:border-box!important}
html body.tv-review.tv-persistent.tv-premium>.main-content{position:relative!important;top:auto!important}
