:root{color-scheme:dark;--bg:#070b14;--accent:#67e8f9;--text:#eaf4fa;--muted:#a8bdcb;--line:#294456;--nav-height:53px;--image-fit:contain;font-family:Inter,system-ui,sans-serif}
*{box-sizing:border-box}
html,body{margin:0;width:100%;height:100%;background:var(--bg);color:var(--text)}
button,input,select,textarea{font:inherit}
button,a,input,select,summary{touch-action:manipulation}
button,select{color:inherit;background:#142a39;border:1px solid var(--line);border-radius:8px}
button{cursor:pointer}
button:disabled{cursor:default;opacity:.5}
button:focus-visible,a:focus-visible,summary:focus-visible,input:focus-visible,select:focus-visible{outline:2px solid #67e8f9;outline-offset:2px}
a{color:inherit;text-decoration:none}
[hidden]{display:none!important}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
#tvSiteNav{height:var(--nav-height);position:relative;z-index:80;display:flex;align-items:center;gap:10px;padding:4px 12px;background:#0b1923;border-bottom:1px solid #244253}
#tvSiteNav [data-tv7-brand]{display:flex;flex:none}
#tvSiteNav [data-tv7-brand] img{width:160px;height:35px;object-fit:contain}
#tvNavRail{display:flex;align-items:center;gap:4px;min-width:0}
#tvNavRail>a{padding:12px;border:1px solid transparent;border-radius:7px;font-size:12px;font-weight:700;white-space:nowrap}
#tvNavRail>a[aria-current]{background:#163d4d;border-color:#337089}
#tvSiteNav [data-tv7-explore]{margin-left:auto}
#tvSiteNav summary{list-style:none;cursor:pointer;font-size:12px;font-weight:600;padding:12px 4px;white-space:nowrap}
#tvSiteNav summary::-webkit-details-marker{display:none}
#tvSiteNav summary::after{content:'⌄';margin-left:8px}
.tv7-explore-panel{position:absolute;z-index:1000;right:8px;top:calc(var(--nav-height) + 4px);width:min(620px,calc(100vw - 16px));max-height:calc(100dvh - var(--nav-height) - 12px);overflow:auto;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;padding:16px;margin:0;border:1px solid var(--line);border-radius:10px;background:#10212e;box-shadow:0 14px 35px #0007}
.tv7-explore-panel[popover]{position:fixed;left:var(--tv7-panel-left,auto);top:var(--tv7-panel-top,57px);right:auto;width:var(--tv7-panel-width,620px);max-height:var(--tv7-panel-max,80dvh)}
.tv7-explore-panel h2{font-size:11px;text-transform:uppercase;letter-spacing:.08em;color:#8fb2c7;margin:0 0 6px}
.tv7-explore-panel a{display:block;font-size:13px;padding:8px;border-radius:5px}
.tv7-explore-panel a:hover{background:#1a3748}
.tv7-display{display:flex;flex-wrap:wrap;gap:6px}
.tv7-display h2{width:100%}
.tv7-display button{padding:8px;font-size:12px}
#tvWhatsapp{display:flex;align-items:center;justify-content:center;color:#78dba1;width:32px;height:32px;margin-left:4px}
#tvWhatsapp svg{width:22px;height:22px}
#tv8Workspace{position:fixed;inset:var(--nav-height) 0 0;display:grid;grid-template-columns:minmax(0,1fr) minmax(260px,24%);gap:8px;padding:6px;min-width:0;min-height:0}
.player-section{display:flex;flex-direction:column;min-width:0;min-height:0;gap:0}
#playerWrapper{position:relative;display:flex;align-items:center;justify-content:center;flex:1 1 0;min-width:0;min-height:0;overflow:hidden;background:#000;border:0;border-radius:6px}
#playerWrapper>video,#playerWrapper>.plyr,#playerWrapper .plyr__video-wrapper{width:100%;height:100%;max-width:none;max-height:none}
#playerWrapper video{width:100%;height:100%;object-fit:var(--image-fit);background:#000}
#playerWrapper .plyr__poster{display:none}
#playerWrapper .plyr__controls:empty{display:none}
#playerWrapper .plyr--video{width:100%;height:100%;--plyr-color-main:#1b94ac;--plyr-video-background:#000}
.actions-bar{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:52px;padding:6px 2px}
.actions-group,#tvPrimaryActions{display:flex;align-items:center;gap:4px;min-width:0;flex-wrap:nowrap}
.action-btn,#tvGuideButton,#tvMore>summary,.tv-zap-inline button{height:42px;padding:0 10px;display:inline-flex;align-items:center;justify-content:center;gap:5px;font-size:11px;font-weight:650;white-space:nowrap}
.action-btn>div{font-size:11px}
.action-btn svg{width:16px;height:16px;stroke:currentColor;fill:none;stroke-width:1.7}
.tv-zap-inline{display:flex;gap:4px}
#tvMore{position:relative}
#tvMore>summary{cursor:pointer;border:1px solid var(--line);border-radius:8px;background:#142a39;list-style:none}
#tvMore>summary::-webkit-details-marker{display:none}
#tvMorePanel{position:absolute;right:0;bottom:calc(100% + 8px);width:min(340px,calc(100vw - 16px));max-height:min(70dvh,620px);overflow:auto;background:#10212e;border:1px solid var(--line);border-radius:10px;padding:12px;z-index:200;display:flex;flex-wrap:wrap;gap:8px}
#tvMorePanel>section{width:100%}
#tvMorePanel button{padding:9px;height:auto;min-height:38px}
#tvMorePanel h3{font-size:12px;color:#a8c5d6;margin:4px 0}
#tv8Image{display:grid;gap:7px}
#tv8Image label{font-size:12px}
#tv8Fit{width:100%;padding:8px}
#tv8FitHelp{font-size:11px;line-height:1.5;margin:0;color:var(--muted)}
#nowPlaying{display:flex;align-items:center;gap:6px;min-width:0;flex:1}
#nowPlaying small{display:none}
#tvCurrentLogo{width:30px;height:30px;object-fit:contain;flex:none}
#nowPlaying{flex-wrap:wrap;column-gap:8px;row-gap:2px}
#tvCurrentName{flex:1;min-width:0}
#tvPlaybackLabel{flex-basis:100%}
#nowPlaying h3{font-size:13px;margin:0;max-width:none;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#tvPlaybackLabel{font-size:10px;color:var(--muted);white-space:nowrap}
.tv-connection-details{font-size:11px;color:#9db5c5;overflow-wrap:anywhere}
.stream-status__dot{display:inline-block;width:6px;height:6px;border-radius:50%;background:#8298a5}
.stream-status__dot.active{background:#4ade80}
.stream-status__dot.error{background:#fb7185}
.stream-status__metrics{display:block;margin-top:5px}
#tvGuide{display:flex;flex-direction:column;min-width:0;min-height:0;overflow:hidden;background:#10202c;border:1px solid #2b4658;border-radius:7px;padding:4px;gap:4px}
#tvGuideToolbar{display:grid;grid-template-columns:minmax(0,1fr) auto 36px;gap:4px;flex:none;align-items:start}
#tvGuideSearch{width:100%;height:44px;min-width:0;color:var(--text);border:1px solid #365267;border-radius:8px;padding:0 10px;background:#142837;font-size:13px}
#tvGuideClose{height:44px;font-size:17px}
#tvCompactFilters{position:relative}
#tvCompactFilters>summary{height:44px;display:flex;align-items:center;justify-content:center;font-size:11px;padding:0 8px;border:1px solid var(--line);border-radius:8px;cursor:pointer;background:#142a39;list-style:none}
#tvCompactFilters .tv-compact-panel{position:absolute;right:0;top:48px;z-index:150;background:#122737;border:1px solid var(--line);border-radius:8px;width:240px;padding:10px;display:grid;gap:8px}
.tv-guide-filters{display:flex;gap:4px}
.tv-guide-filters button{padding:7px;font-size:12px}
.tv-guide-filters button[aria-pressed=true]{background:#155268}
#tvGuideCategory{padding:7px;width:100%;font-size:12px}
#tvGuideCount{font-size:11px;line-height:1.4;color:var(--muted);margin:3px 4px 5px;flex:none}
#tvTerminalHelp{display:none}
.tv-guide-category-label{font-size:11px}
#tvGuideList{flex:1;min-height:0;overflow:auto;scrollbar-width:thin;overscroll-behavior:contain;padding-right:2px;overflow-anchor:none}
.tv-guide-channel{display:flex;align-items:center;gap:7px;width:100%;min-height:44px;padding:4px 6px;margin:0 0 2px;border:1px solid transparent;border-radius:6px;background:#ffffff06;color:var(--text);text-align:left}
.tv-guide-channel:hover{background:#214052}
.tv-guide-channel[aria-current=true]{background:#163e50;border-color:#30778f}
.tv-guide-number{font-size:11px;color:#67d5e9;flex:0 0 28px}
.tv-guide-channel img{width:30px;height:30px;object-fit:contain;flex:0 0 30px;background:transparent}
.tv-guide-description{min-width:0;display:flex;flex-direction:column;gap:2px}
.tv-guide-description strong{font:600 12px/1.3 system-ui;white-space:normal;overflow-wrap:anywhere}
.tv-guide-description small{font:10px/1.2 system-ui;color:#afc4d0}
#tv7Empty{font-size:12px;color:var(--muted);padding:10px}
#tvChannelNotice{position:absolute;left:12px;right:12px;bottom:60px;display:flex;align-items:center;gap:10px;background:#102635eb;border:1px solid #315368;border-radius:8px;padding:10px;z-index:100}
#tvChannelNotice img{width:36px;height:36px;object-fit:contain}
#tvChannelNotice strong,#tvChannelNotice small{display:block;font-size:12px}
#tvChannelNotice small{color:var(--muted);margin-top:4px}
.tv-catalog-hidden{grid-template-columns:minmax(0,1fr)!important}
#tvPremiumTip{display:none}
.tv-seo h1{font-size:16px}
.tv-seo a{display:inline-block;padding:5px;font-size:12px}
.embed-modal,.pwa-modal{position:fixed;inset:0;z-index:2000;background:#000b;display:grid;place-items:center;padding:16px}
.embed-modal__dialog,.pwa-modal__dialog{width:min(640px,100%);max-height:90dvh;overflow:auto;background:#122432;border:1px solid #365568;border-radius:12px;padding:18px;position:relative}
.embed-modal__close,.pwa-modal__close{position:absolute;right:10px;top:10px;padding:6px 10px}
.embed-modal__dialog h2,.pwa-modal__dialog h2{font-size:18px;margin-top:0}
.embed-modal__description{font-size:13px;color:var(--muted)}
.embed-modal__preview{aspect-ratio:16/9;background:#000;margin:12px 0}
.embed-modal__preview iframe{width:100%;height:100%;border:0}
.embed-modal__code{width:100%;min-height:90px;color:var(--text);background:#07131d;padding:8px;border:1px solid var(--line);font-size:12px}
.embed-modal__sizes,.embed-modal__actions{display:flex;flex-wrap:wrap;gap:6px;margin-top:10px}
.embed-modal__sizes button,.embed-modal__actions button{padding:8px}
.embed-size-btn.active{background:#155268}
.tv7-icon{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
body.tv-large-text{font-size:115%}
body.tv-large-text .tv-guide-description strong{font-size:15px}
#playerWrapper:fullscreen{border:0;border-radius:0;width:100vw;height:100dvh}
#playerWrapper:fullscreen #tvGuide{position:absolute;top:12px;right:12px;bottom:68px;width:min(360px,85vw);z-index:150;background:#10212eeb}
#playerWrapper:fullscreen video{object-fit:var(--image-fit)}
html[data-embed] #tvSiteNav,html[data-embed] .actions-bar,html[data-embed] #tvGuide,html[data-embed] .tv-seo{display:none!important}
html[data-embed] #tv8Workspace{inset:0;padding:0;display:block}
html[data-embed] .player-section,html[data-embed] #playerWrapper{height:100%;width:100%;border:0;border-radius:0}
html[data-embed] .player-section{display:flex}

@media(max-width:900px){#tvSiteNav{padding:4px 10px;gap:6px}
#tvSiteNav [data-tv7-brand] img{width:96px;height:30px}
#tvNavRail>a{padding:12px 10px}
#tv8Workspace{display:flex;flex-direction:column;gap:4px}
.player-section{flex:none;min-height:0}
#playerWrapper{flex:none;aspect-ratio:16/9;width:100%;height:auto;min-height:0}
#tvGuide{flex:1;min-height:0}
#tvMorePanel{position:absolute;top:calc(100% + 8px);bottom:auto;right:0;max-height:calc(100dvh - var(--nav-height) - 56.25vw - 72px)}
.tv-guide-number{flex-basis:24px}
.tv7-explore-panel{grid-template-columns:1fr}
#nowPlaying h3{font-size:12px}
#tvCurrentLogo{width:26px;height:26px}
.actions-bar{gap:6px}
.action-btn,#tvGuideButton,#tvMore>summary{padding:0 8px}
}

html[data-view-mode=desktop] #tv8Workspace{display:grid;grid-template-columns:minmax(0,1fr) minmax(260px,24%)}
html[data-view-mode=desktop] .player-section{flex:1;min-height:0}
html[data-view-mode=desktop] #playerWrapper{flex:1;aspect-ratio:auto;height:100%;min-height:0}
html[data-view-mode=mobile] #tv8Workspace{display:flex;flex-direction:column}
html[data-view-mode=mobile] .player-section{flex:none}
html[data-view-mode=mobile] #playerWrapper{flex:none;aspect-ratio:16/9;height:auto;width:100%}
html[data-view-mode=mobile] #tvGuide{flex:1}
html[data-embed] #tv8Workspace{display:block!important}

#tvGuideToolbar>header{display:none}
#tvCompactFilters>div{position:absolute;right:0;top:48px;z-index:150;background:#122737;border:1px solid var(--line);border-radius:8px;width:240px;padding:10px;display:grid;gap:8px}
.tv-zap-inline button{font-size:0;width:40px;padding:0}
.tv-zap-inline button:first-child::after{content:'‹';font-size:24px}
.tv-zap-inline button:last-child::after{content:'›';font-size:24px}


/* Heading/description for assistive navigation; the complete directory has its own URL. */
.tv-seo{position:absolute;left:0;top:0;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}


@media(max-width:900px) and (orientation:landscape) and (max-height:500px){html:not([data-view-mode=mobile]) #tv8Workspace{display:grid;grid-template-columns:minmax(0,1fr) minmax(230px,32%)}html:not([data-view-mode=mobile]) .player-section{flex:1;min-height:0}html:not([data-view-mode=mobile]) #playerWrapper{flex:1;aspect-ratio:auto;height:100%;min-height:0}html:not([data-view-mode=mobile]) #tvMorePanel{top:auto;bottom:calc(100% + 8px);max-height:calc(100dvh - var(--nav-height) - 72px)}}

@media(max-width:480px){#tvSiteNav{padding:4px 6px;gap:4px}#tvSiteNav [data-tv7-brand]{flex:0 1 80px;min-width:32px}#tvSiteNav [data-tv7-brand] img{width:100%}#tvNavRail{flex:none}#tvNavRail>a{padding:12px 6px;font-size:11px}#tvSiteNav summary{font-size:11px;padding:12px 2px}#tvWhatsapp{flex:none;width:26px;margin-left:0}#tvWhatsapp svg{width:20px;height:20px}}@media(max-width:380px){#tvGuideButton{width:40px;padding:0}#tvGuideButton .tv-refine-label{display:none}}
