/* TVAbierta excelencia v1: consolidated presentation overrides. */
html body.tv-premium.tv-excelencia{--tv-glass:#101f2c;--tv-border:#a5cde526;background:#09131e!important;padding:env(safe-area-inset-top,0px) env(safe-area-inset-right,0px) env(safe-area-inset-bottom,0px) env(safe-area-inset-left,0px)!important;box-sizing:border-box!important}
html body.tv-premium.tv-excelencia>header{padding:2px 8px!important;min-height:44px!important;gap:4px!important}
html body.tv-premium.tv-excelencia>header .tv-brand-wordmark{width:170px!important;height:32px!important;max-height:32px!important}
html body.tv-premium.tv-excelencia #tvSiteNav{display:flex!important;flex-wrap:nowrap!important;gap:2px!important;padding:2px 6px!important;overflow:visible!important;align-items:center!important}
html body.tv-premium.tv-excelencia #tvNavRail{display:flex;align-items:center;gap:2px;min-width:0;flex:1;overflow-x:auto;scrollbar-width:none;overscroll-behavior-x:contain}
#tvNavRail::-webkit-scrollbar{display:none}
html body.tv-premium.tv-excelencia #tvNavRail>a,html body.tv-premium.tv-excelencia #tvNavRail>details{flex:0 0 auto!important}
html body.tv-premium.tv-excelencia #tvSiteNav a,html body.tv-premium.tv-excelencia #tvSiteNav summary{box-sizing:border-box!important;min-height:44px!important;padding:10px 9px!important;font:550 13px/22px system-ui!important;white-space:nowrap!important;border-radius:7px!important}
html body.tv-premium.tv-excelencia #nowPlaying{width:100%!important;max-width:100%!important;min-width:0!important;margin:0!important;padding:4px 6px!important;min-height:36px!important;border:0!important;background:transparent!important;gap:7px!important}
html body.tv-premium.tv-excelencia #nowPlaying .channel-logo,html body.tv-premium.tv-excelencia #nowPlaying .channel-logo img{width:26px!important;height:26px!important;min-width:26px!important}
html body.tv-premium.tv-excelencia #nowPlaying h3{font:650 13px/1.35 system-ui!important;margin:0!important}
html body.tv-premium.tv-excelencia>.main-content{margin:5px!important;gap:6px!important}
html body.tv-premium.tv-excelencia .actions-bar{padding:3px 0 0!important;gap:3px!important}
html body.tv-premium.tv-excelencia .actions-group{display:flex!important;flex-wrap:wrap!important;gap:4px!important;align-items:center!important;padding:0!important}
html body.tv-premium.tv-excelencia #tvPrimaryActions.actions-group>.action-btn,html body.tv-premium.tv-excelencia .tv-zap-inline button,html body.tv-premium.tv-excelencia #tvMore>summary{flex:0 1 auto!important;min-width:44px!important;min-height:44px!important;height:auto!important;padding:6px 9px!important;box-sizing:border-box!important;gap:5px!important;font:550 12px/1.3 system-ui!important;border:1px solid var(--tv-border)!important;border-radius:8px!important;background:#132737!important;color:#edf7fc!important;cursor:pointer}
html body.tv-premium.tv-excelencia .actions-group [hidden]{display:none!important}
html body.tv-premium.tv-excelencia .tv-zap-inline{flex:0 0 auto!important;gap:4px!important}
html body.tv-premium.tv-excelencia #tvMore{position:relative;margin-left:auto}
#tvMore>summary{list-style:none;display:flex;align-items:center;justify-content:center}
#tvMore>summary::-webkit-details-marker{display:none}
#tvMorePanel{position:absolute;right:0;bottom:calc(100% + 6px);width:min(300px,calc(100vw - 32px));display:grid;grid-template-columns:1fr 1fr;gap:5px;padding:8px;background:#122536;border:1px solid #59798d;border-radius:12px;box-shadow:0 12px 32px #0007;z-index:100}
#tvMorePanel>.action-btn{min-height:44px;padding:8px;display:flex;align-items:center;justify-content:center;gap:6px;background:#1b3446;color:#edf7fc;border:1px solid #a5cde526;border-radius:7px;font:13px system-ui}
html body.tv-premium.tv-excelencia #playerWrapper video#video,html body.tv-premium.tv-excelencia #playerWrapper video{object-fit:contain!important}
html body.tv-premium.tv-excelencia[data-tv-fit="cover"] #playerWrapper video#video,html body.tv-premium.tv-excelencia[data-tv-fit="cover"] #playerWrapper video{object-fit:cover!important}
html body.tv-premium.tv-excelencia #playerWrapper{border-radius:10px!important}
html body.tv-premium.tv-excelencia #tvGuide:not([hidden]){padding:7px!important;gap:5px!important;border-radius:10px!important}
html body.tv-premium.tv-excelencia #tvGuideSearch{font-size:16px!important;padding:0 10px!important}
html body.tv-premium.tv-excelencia #tvGuideList .tv-guide-channel{min-height:48px!important;padding:5px 6px!important;margin-bottom:2px!important;gap:7px!important}
html body.tv-premium.tv-excelencia #tvGuideList img{width:30px!important;height:30px!important;object-fit:contain!important}
html body.tv-premium.tv-excelencia #tvWhatsapp{position:static!important;inset:auto!important;margin-left:auto!important;width:44px!important;height:44px!important;box-shadow:none!important;flex:0 0 44px!important}
html body.tv-premium.tv-excelencia #tvWhatsapp[hidden]{display:none!important}
html body.tv-premium.tv-excelencia.tv-has-whatsapp #tvGuide:not([hidden]):not(.tv-premium-overlay){padding-bottom:7px!important}
@media(max-width:900px){
 html body.tv-premium.tv-excelencia #tvTerminalHelp{display:none!important}
 html body.tv-premium.tv-excelencia.tv-premium-mobile #playerWrapper{aspect-ratio:var(--tv-media-ratio,1.777778)!important;max-height:70dvh!important}
 html body.tv-premium.tv-excelencia #nowPlaying .tv-connection-details{margin-left:auto!important}
}
@media(orientation:landscape) and (max-height:600px) and (pointer:coarse){
 html body.tv-premium.tv-excelencia>header{min-height:38px!important}
 html body.tv-premium.tv-excelencia>header .tv-brand-wordmark{height:28px!important;width:148px!important}
 html body.tv-premium.tv-excelencia>.main-content{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(240px,30%)!important;height:auto!important;min-height:0!important;align-items:start!important}
 html body.tv-premium.tv-excelencia>.main-content.tv-catalog-hidden{grid-template-columns:minmax(0,1fr)!important}
 html body.tv-premium.tv-excelencia>.main-content>.player-section{height:auto!important}
 html body.tv-premium.tv-excelencia #playerWrapper{height:auto!important;flex:none!important;aspect-ratio:var(--tv-media-ratio,1.777778)!important;max-height:65dvh!important;min-height:0!important}
 html body.tv-premium.tv-excelencia #tvGuide:not([hidden]):not(.tv-premium-overlay){height:75dvh!important;min-height:220px!important}
}
html body.tv-premium.tv-excelencia #playerWrapper:fullscreen{height:100dvh!important;max-height:none!important;aspect-ratio:auto!important}
html body.tv-premium.tv-excelencia :is(button,a,input,select,summary):focus-visible{outline:2px solid #85e7f5!important;outline-offset:2px!important}
@media(prefers-reduced-motion:reduce){.tv-excelencia *{scroll-behavior:auto!important;transition:none!important}}

#tvMorePanel .action-btn svg{width:20px;height:20px;fill:currentColor} html body.tv-premium.tv-excelencia #tvMorePanel [hidden]{display:none!important}
/* v2: all recommendations from the two iPhone screenshots. */
html body.tv-premium.tv-excelencia .actions-bar:has(#nowPlaying){align-items:stretch!important;padding:2px 0 0!important;gap:2px!important;border:0!important}
html body.tv-premium.tv-excelencia #nowPlaying{display:flex!important;align-items:center!important;min-height:34px!important;height:auto!important;padding:3px 5px!important;margin:0!important;gap:6px!important;flex:0 0 auto!important;box-sizing:border-box!important}
html body.tv-premium.tv-excelencia #nowPlaying>div:last-child{display:flex!important;flex-wrap:wrap!important;align-items:center!important;gap:2px 7px!important;min-width:0!important}
html body.tv-premium.tv-excelencia #nowPlaying h3{font:650 13px/1.25 system-ui!important;margin:0!important}
html body.tv-premium.tv-excelencia #nowPlaying small,html body.tv-premium.tv-excelencia #nowPlaying .tv-playback-status{font:12px/1.3 system-ui!important;margin:0!important}
html body.tv-premium.tv-excelencia #nowPlaying .tv-connection-details{margin:0 0 0 auto!important;font:12px/1.3 system-ui!important;max-width:100%!important}
html body.tv-premium.tv-excelencia #nowPlaying .tv-connection-details summary{min-height:28px!important;padding:4px 2px!important;font:12px/1.4 system-ui!important}
html body.tv-premium.tv-excelencia #nowPlaying .tv-connection-details[open]{flex-basis:100%!important;margin:0!important}
html body.tv-premium.tv-excelencia #nowPlaying .channel-logo,
html body.tv-premium.tv-excelencia #nowPlaying .channel-logo img,
html body.tv-premium.tv-excelencia #tvGuideList .tv-guide-channel img,
html body.tv-premium.tv-excelencia #sidebar .thumb,
html body.tv-premium.tv-excelencia #sidebar .thumb img{background:transparent!important;border:0!important;box-shadow:none!important;filter:none!important;border-radius:0!important}
html body.tv-premium.tv-excelencia #nowPlaying h3,html body.tv-premium.tv-excelencia #tvGuideList strong{text-shadow:none!important}
html body.tv-premium.tv-excelencia #tvGuide:not([hidden]){overflow:hidden!important;scroll-padding:0!important}
html body.tv-premium.tv-excelencia #tvGuideToolbar{display:flex!important;flex-direction:column!important;flex:0 0 auto!important;gap:4px!important;min-height:0!important;visibility:visible!important}
html body.tv-premium.tv-excelencia #tvGuideToolbar>header{display:flex!important;align-items:center!important;justify-content:space-between!important;position:static!important;margin:0!important;padding:0!important;height:auto!important;min-height:36px!important;background:transparent!important;border:0!important}
html body.tv-premium.tv-excelencia #tvGuideToolbar #tvGuideSearch,
html body.tv-premium.tv-excelencia #tvGuideToolbar #tvGuideCategory{display:block!important;visibility:visible!important;position:static!important;width:100%!important;margin:0!important;box-sizing:border-box!important;height:40px!important;min-height:40px!important;font:16px system-ui!important;padding:6px 9px!important;flex:none!important}
html body.tv-premium.tv-excelencia #tvGuideToolbar .tv-guide-filters{display:flex!important;flex:none!important;gap:4px!important;padding:0!important;margin:0!important}
html body.tv-premium.tv-excelencia #tvGuideToolbar .tv-guide-filters button{min-height:40px!important;padding:5px 9px!important;flex:1!important}
html body.tv-premium.tv-excelencia #tvGuideToolbar .tv-guide-category-label{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip-path:inset(50%)!important}
html body.tv-premium.tv-excelencia #tvGuideToolbar #tvGuideCount{margin:0!important;font:12px/1.3 system-ui!important}
html body.tv-premium.tv-excelencia #tvGuideList{overflow-y:auto!important;flex:1 1 0!important;min-height:0!important;height:0!important}
html body.tv-premium.tv-excelencia #tvPrimaryActions.actions-group{overflow:visible!important;gap:4px!important;flex:0 0 auto!important}
html body.tv-premium.tv-excelencia #tvPrimaryActions.actions-group>#tvGuideButton{flex:0 0 auto!important;width:auto!important;min-width:0!important}
html body.tv-premium.tv-excelencia #tvPrimaryActions.actions-group>#tvMore{margin:0!important;order:9!important}
@media(max-width:900px){
 html body.tv-premium.tv-excelencia #tvPrimaryActions.actions-group{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;align-items:stretch!important}
 html body.tv-premium.tv-excelencia #tvPrimaryActions.actions-group>.tv-zap-inline{display:contents!important;border:0!important;padding:0!important;margin:0!important}
 html body.tv-premium.tv-excelencia #tvPrimaryActions.actions-group>.action-btn,
 html body.tv-premium.tv-excelencia #tvPrimaryActions.actions-group .tv-zap-inline button,
 html body.tv-premium.tv-excelencia #tvPrimaryActions.actions-group>#tvMore>summary{width:100%!important;min-width:0!important;min-height:44px!important;margin:0!important;padding:5px 6px!important;font:550 12px/1.25 system-ui!important;gap:4px!important;white-space:nowrap!important}
 html body.tv-premium.tv-excelencia #tvPrimaryActions.actions-group>.action-btn{order:0!important}
 html body.tv-premium.tv-excelencia #tvPrimaryActions.actions-group>#tvGuideButton{order:-2!important}
 html body.tv-premium.tv-excelencia #tvPrimaryActions.actions-group .tv-zap-inline button{order:-1!important;font-size:12px!important}
 html body.tv-premium.tv-excelencia #tvPrimaryActions.actions-group>#tvMore{min-width:0!important}
 html body.tv-premium.tv-excelencia #tvGuide:not([hidden]):not(.tv-premium-overlay){height:clamp(420px,70dvh,740px)!important;max-height:none!important}
}
@media(orientation:landscape) and (max-height:600px) and (pointer:coarse){
 html body.tv-premium.tv-excelencia #playerWrapper{height:var(--tv-v2-player-height,45dvh)!important;max-height:none!important;aspect-ratio:auto!important;min-height:100px!important}
 html body.tv-premium.tv-excelencia #tvGuide:not([hidden]):not(.tv-premium-overlay){height:var(--tv-v2-workspace-height,78dvh)!important;min-height:240px!important}
 html body.tv-premium.tv-excelencia #tvPrimaryActions.actions-group{display:flex!important;flex-wrap:wrap!important;gap:3px!important}
 html body.tv-premium.tv-excelencia #tvPrimaryActions.actions-group>.action-btn,
 html body.tv-premium.tv-excelencia #tvPrimaryActions.actions-group .tv-zap-inline button,
 html body.tv-premium.tv-excelencia #tvPrimaryActions.actions-group>#tvMore>summary{width:auto!important;flex:1 1 auto!important;padding-inline:7px!important}
 html body.tv-premium.tv-excelencia #nowPlaying .tv-playback-status{font-size:11px!important}
}
html body.tv-premium.tv-excelencia #playerWrapper:fullscreen{height:100dvh!important;max-height:none!important}
/* v3: short landscape viewport. Six fixed tracks prevent a lone More row. */
@media(orientation:landscape) and (max-height:600px) and (pointer:coarse){
 html body.tv-premium.tv-excelencia #tvPrimaryActions.actions-group{display:grid!important;grid-template-columns:repeat(6,minmax(0,1fr))!important;gap:3px!important;align-items:stretch!important}
 html body.tv-premium.tv-excelencia #tvPrimaryActions.actions-group>.tv-zap-inline{display:contents!important;border:0!important;padding:0!important;margin:0!important}
 html body.tv-premium.tv-excelencia #tvPrimaryActions.actions-group>.action-btn,
 html body.tv-premium.tv-excelencia #tvPrimaryActions.actions-group .tv-zap-inline button,
 html body.tv-premium.tv-excelencia #tvPrimaryActions.actions-group>#tvMore>summary{width:100%!important;min-width:0!important;height:44px!important;min-height:44px!important;box-sizing:border-box!important;padding:4px 2px!important;gap:3px!important;font:550 11px/1.2 system-ui!important;white-space:nowrap!important}
 html body.tv-premium.tv-excelencia #tvPrimaryActions.actions-group>.action-btn{order:0!important}
 html body.tv-premium.tv-excelencia #tvPrimaryActions.actions-group>#tvGuideButton{order:-2!important;width:100%!important}
 html body.tv-premium.tv-excelencia #tvPrimaryActions.actions-group .tv-zap-inline button{order:-1!important}
 html body.tv-premium.tv-excelencia #tvPrimaryActions.actions-group>#tvMore{min-width:0!important;width:100%!important;margin:0!important;order:9!important}
 html body.tv-premium.tv-excelencia #tvPrimaryActions.actions-group>.action-btn>span{font-size:15px!important}
 html body.tv-premium.tv-excelencia #tvGuideToolbar{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;gap:4px!important;align-items:center!important}
 html body.tv-premium.tv-excelencia #tvGuideToolbar>header,
 html body.tv-premium.tv-excelencia #tvGuideToolbar #tvGuideSearch,
 html body.tv-premium.tv-excelencia #tvGuideToolbar #tvGuideCount{grid-column:1/-1!important}
 html body.tv-premium.tv-excelencia #tvGuideToolbar>header{min-height:44px!important;gap:4px!important}
 html body.tv-premium.tv-excelencia #tvGuideToolbar>header :is(small,p){display:none!important}
 html body.tv-premium.tv-excelencia #tvGuideToolbar>header strong{font:650 14px/1.3 system-ui!important}
 html body.tv-premium.tv-excelencia #tvGuideToolbar #tvGuideClose{min-height:44px!important;padding:5px 8px!important;font:12px system-ui!important}
 html body.tv-premium.tv-excelencia #tvGuideToolbar #tvGuideSearch{height:44px!important;min-height:44px!important;font-size:16px!important}
 html body.tv-premium.tv-excelencia #tvGuideToolbar .tv-guide-filters{grid-column:1!important;min-width:0!important;gap:2px!important}
 html body.tv-premium.tv-excelencia #tvGuideToolbar .tv-guide-filters button{min-width:0!important;min-height:44px!important;padding:4px 2px!important;font:11px/1.2 system-ui!important;white-space:nowrap!important}
 html body.tv-premium.tv-excelencia #tvGuideToolbar #tvGuideCategory{grid-column:2!important;min-width:0!important;min-height:44px!important;height:44px!important;padding:3px!important;font-size:16px!important;text-overflow:ellipsis!important}
 html body.tv-premium.tv-excelencia #tvGuideToolbar #tvGuideCount{font:11px/1.2 system-ui!important}
 html body.tv-premium.tv-excelencia #tvGuide:not([hidden]):not(.tv-premium-overlay){gap:3px!important;padding:5px!important}
}
