*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}

:root{
  --black:#000000;
  --bg:#000000;
  --bg2:#000000;
  --bg3:#111111;
  --red:#e50914;
  --red-dark:#b0060f;
  --gold:#c9a227;
  --gold-light:#e8c547;
  --green:#22c55e;
  --green-dark:#16a34a;
  --white:#ffffff;
  --grey:#888888;
  --grey-light:#bbbbbb;
  --border:rgba(255,255,255,.12);
  --icon-bar:88px;
  --col-ch:280px;
  --col-live-ch:min(320px,22vw);
  --col-cat:220px;
  --epg-h:148px;
  --tv-w:1920px;
  --tv-h:1080px;
  --tv-safe-x:48px;
  --tv-safe-top:36px;
  --tv-safe-bottom:52px;
  --tv-surround:#000000;
}

html,body{width:100%;height:100%;margin:0;font-family:'Roboto',system-ui,sans-serif;background:var(--tv-surround)!important;color:var(--white);overflow:hidden;font-size:15px}
body.app-open{overscroll-behavior:none;touch-action:manipulation}

/* PC / navegador — tamanho normal, centralizado (TV nao usa esta classe) */
html.z10-desktop body{font-size:15px}
html.z10-desktop #tv-viewport{background:#1a1a1a!important}

/* Simulação Smart TV — moldura cinza + tela preta 16:9 centralizada */
#tv-viewport{
  position:fixed;inset:0;z-index:0;
  display:flex;align-items:center;justify-content:center;
  background:var(--tv-surround)!important;
  box-sizing:border-box;overflow:hidden;
}
#tv-scaler{
  position:relative;flex:none;
  width:1920px;height:1080px;
  background:#000;overflow:hidden;
  box-shadow:none;
}
#tv-stage{
  position:absolute;left:0;top:0;
  width:1920px;height:1080px;
  transform-origin:0 0;background:#000;overflow:hidden;
}
#tv-safe{
  position:relative;width:100%;height:100%;
  padding:var(--tv-safe-top) var(--tv-safe-x) var(--tv-safe-bottom);
  box-sizing:border-box;overflow:hidden;
}
#tv-safe #loading-screen,
#tv-safe #login-screen,
#tv-safe #search-overlay,
#tv-safe #voice-overlay,
#tv-safe #voice-folder,
#tv-safe #player-overlay,
#tv-safe #series-modal{position:absolute;inset:0}
.hidden{display:none!important}

/* LOADING & LOGIN */
#loading-screen{position:absolute;inset:0;background:var(--black);z-index:300;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:16px}
.loader-logo{font-family:'Bebas Neue',sans-serif;font-size:52px;letter-spacing:2px}
.loader-logo span{color:var(--red)}
.brand-logo{
  display:block;object-fit:contain;user-select:none;-webkit-user-drag:none;
  image-rendering:auto;-webkit-backface-visibility:hidden;backface-visibility:hidden;
  transform:translateZ(0);position:relative;z-index:1;
}
.brand-logo-shine{
  position:relative;display:inline-block;line-height:0;margin:0 auto;
}
.brand-logo-shine::after{
  content:'';position:absolute;inset:0;
  background:linear-gradient(105deg,
    transparent 0%,transparent 38%,
    rgba(255,255,255,.08) 44%,
    rgba(255,248,220,.95) 50%,
    rgba(255,200,100,.75) 52%,
    rgba(255,255,255,.12) 58%,
    transparent 64%,transparent 100%);
  background-size:280% 100%;
  animation:cinematicLetterShine 4.5s ease-in-out infinite;
  -webkit-mask-image:url('img/logo-app.png');
  mask-image:url('img/logo-app.png');
  -webkit-mask-size:100% 100%;mask-size:100% 100%;
  -webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;
  -webkit-mask-position:center;mask-position:center;
  mix-blend-mode:screen;
  pointer-events:none;z-index:2;
}
.brand-logo-shine-lg{margin-bottom:8px}
.brand-logo-shine-login{display:block;width:100%;max-width:200px;margin:0 auto;line-height:0}
.brand-logo-shine-bar::after{animation-duration:5.8s;animation-delay:1.5s}
@keyframes cinematicLetterShine{
  0%,12%{background-position:130% 0;opacity:0}
  18%{opacity:1}
  42%{background-position:-40% 0;opacity:1}
  48%,100%{background-position:-40% 0;opacity:0}
}
@media (prefers-reduced-motion:reduce){
  .brand-logo-shine::after{animation:none;opacity:0}
}
.brand-logo-login{width:100%;max-width:520px;max-height:140px;height:auto;margin:0 auto;display:block;object-fit:contain}
.brand-logo-lg{width:min(520px,92vw);height:auto;margin-bottom:0}
.brand-logo-bar{width:100%;max-width:140px;height:auto;max-height:64px;object-fit:contain;display:block;margin:0 auto}
.loader-bar{width:260px;height:4px;background:var(--bg3);overflow:hidden;border-radius:2px}
.loader-fill{height:100%;width:30%;background:linear-gradient(90deg,var(--red),var(--gold));animation:load 1s infinite}
@keyframes load{0%{transform:translateX(-100%)}100%{transform:translateX(400%)}}

#login-screen{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;z-index:200;background:#000}
.login-bg{
  position:absolute;inset:0;
  background:#000;
}
.login-box{
  position:relative;background:rgba(17,17,17,.95);border:1px solid var(--border);
  padding:36px 32px 40px;width:440px;box-shadow:0 24px 80px rgba(0,0,0,.8);
}
.login-brand{text-align:center;margin-bottom:10px;background:transparent;line-height:0}
.tabs{display:flex;gap:6px;margin-bottom:18px}
.tab{flex:1;padding:11px;background:var(--bg3);border:1px solid var(--border);color:var(--grey);cursor:pointer;font-size:12px;font-weight:600;border-radius:4px}
.tab.active{background:var(--red);border-color:var(--red);color:#fff}
.tab-panel{display:none}.tab-panel.active{display:block}
input{width:100%;padding:13px 14px;margin-bottom:10px;background:var(--bg3);border:1px solid var(--border);color:#fff;font-size:14px;outline:none;border-radius:6px}
input:focus{border-color:var(--gold);box-shadow:0 0 0 1px rgba(201,162,39,.3)}
#login-screen .tab.login-focused,
#login-screen input.login-focused,
#login-screen button.login-focused,
#login-screen .login-legal-footer a.login-focused,
#store-legal-screen input.login-focused,
#store-legal-screen button.login-focused{
  border-color:var(--gold)!important;
  box-shadow:0 0 0 3px rgba(201,162,39,.45)!important;
  outline:none;
}
#login-screen .tab.login-focused{background:var(--red-dark);color:#fff}
.btn-red{
  width:100%;padding:14px;background:linear-gradient(135deg,var(--red),var(--red-dark));
  border:1px solid rgba(255,255,255,.08);color:#fff;font-size:15px;font-weight:800;
  cursor:pointer;margin-top:6px;border-radius:6px;letter-spacing:.5px;
}
.btn-red:hover{filter:brightness(1.08);box-shadow:0 4px 20px rgba(229,9,20,.35)}
.btn-grey{
  padding:14px 24px;background:#333;border:1px solid var(--border);color:#fff;
  font-size:15px;font-weight:700;cursor:pointer;border-radius:6px;
}
.btn-grey:hover{filter:brightness(1.1)}

#store-legal-screen{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;z-index:210;background:#000}
.store-legal-box{width:min(520px,92vw);max-height:92vh;overflow-y:auto}
.store-legal-title{font-size:1.05rem;margin:0 0 10px;text-align:center;color:#fff}
.store-legal-lead{font-size:12px;color:var(--grey);text-align:center;margin-bottom:14px;line-height:1.5}
.store-legal-links{text-align:center;margin-bottom:16px;font-size:12px}
.store-legal-links a{color:#6eb6ff;margin:0 8px;text-decoration:none}
.store-legal-links a:hover{text-decoration:underline}
.store-legal-row{display:flex;align-items:flex-start;gap:10px;margin:12px 0;font-size:12px;line-height:1.45;color:#ddd}
.store-legal-row input{width:auto;margin:2px 0 0;accent-color:var(--red);flex-shrink:0}
.store-legal-actions{display:flex;gap:10px;margin-top:18px}
.store-legal-actions .btn-red,.store-legal-actions .btn-grey{flex:1;margin:0}
.badge18{display:inline-block;background:var(--red);color:#fff;font-weight:800;padding:2px 8px;border-radius:4px;font-size:11px}
.login-legal-footer{text-align:center;margin-top:16px;font-size:11px;color:var(--grey)}
.login-legal-footer a{color:#6eb6ff;text-decoration:none}
.login-legal-footer a:hover{text-decoration:underline}
body.store-compliance .tab[data-tab="m3u"]{display:none!important}
.error{color:var(--red);font-size:12px;text-align:center;margin-top:10px;min-height:18px}
.code-hint{font-size:11px;text-align:center;margin:-4px 0 8px;min-height:16px;color:var(--grey-light)}
.code-hint.ok{color:var(--green)}
.code-hint.err{color:var(--red)}
.login-help{font-size:11px;color:var(--grey);text-align:center;margin-top:14px;line-height:1.5}
.login-help-tv{display:none}
html.native-tv .login-help:not(.login-help-tv){display:none}
html.native-tv .login-help-tv{display:block}
.login-kbd-hint{
  display:none;font-size:12px;color:var(--gold);text-align:center;margin-top:10px;
  padding:10px 14px;border:1px solid rgba(201,162,39,.45);border-radius:8px;
  background:rgba(201,162,39,.1);line-height:1.45;font-weight:600;
}
.login-kbd-hint:not(.hidden){display:block}
html.native-tv .login-kbd-hint{font-size:calc(13px * var(--tv-font-ui-mul,1))}

/* APP GRID */
#app{display:grid;grid-template-columns:var(--icon-bar) 1fr;height:100%;min-height:0}
#app.app-fs-mode{grid-template-columns:1fr}
#app.app-fs-mode .icon-bar{display:none!important}
#app.app-fs-mode .app-shell{grid-column:1}
.app-shell{display:flex;flex-direction:column;min-height:0;overflow:hidden;position:relative}
.app-shell > .view{flex:1;min-height:0}
.app-shell > .view.active{display:grid}
.icon-bar{grid-column:1;grid-row:1}
.view{grid-column:2;grid-row:1}

/* ICON BAR */
.icon-bar{
  background:linear-gradient(180deg,#0a0a0a,#000);
  border-right:1px solid var(--border);
  display:flex;flex-direction:column;align-items:center;padding:0;gap:0;z-index:10;
  overflow:hidden;min-height:0;height:100%;
}
.icon-bar-stack{
  display:flex;flex-direction:column;flex-shrink:0;min-height:0;width:100%;align-items:center;
}
.icon-bar-stack-spacer{display:none;flex:1;min-height:0}
.icon-bar-rail{
  display:flex;flex-direction:column;flex:1;min-height:0;overflow:hidden;width:100%;align-items:center;
}
.icon-bar-logo{
  flex-shrink:0;width:100%;order:1;
  padding:16px 6px 10px;
  display:flex;flex-direction:column;align-items:center;justify-content:center;
  gap:0;
  border-bottom:none;
  background:linear-gradient(180deg,rgba(229,9,20,.12),transparent);
  min-height:96px;max-height:120px;
  overflow:visible;position:relative;z-index:3;
}
.icon-bar-brand-name{
  display:none;
  font-family:'Bebas Neue',sans-serif;
  font-size:18px;line-height:1.15;letter-spacing:.5px;
  color:#fff;text-align:left;flex:1;min-width:0;
  word-break:break-word;
}
.icon-bar-nav{
  order:2;flex:1 1 auto;
  display:flex;flex-direction:column;align-items:center;
  width:100%;
  padding:14px 0 8px;gap:2px;min-height:0;overflow-y:auto;overflow-x:hidden;
  border-top:1px solid var(--border);
  margin-top:6px;
}
.icon-bar-lower{
  order:3;flex:0 0 auto;
  display:flex;flex-direction:column;align-items:center;
  gap:2px;padding:6px 0 8px;
  border-top:1px solid var(--border);
  background:linear-gradient(0deg,rgba(0,0,0,.5),transparent);
}
.icon-bar-mid{
  order:3;flex:1 1 auto;min-height:0;width:100%;
  display:flex;flex-direction:column;align-items:center;
  overflow:hidden;
}
.icon-bar-search{
  flex:0 0 auto;width:100%;
  display:flex;flex-direction:column;align-items:center;
  padding:4px 0 2px;
  border-top:1px solid var(--border);
}
.icon-bar-voice{
  flex:0 0 auto;width:100%;
  display:flex;flex-direction:column;align-items:center;
  padding:10px 0 6px;
  margin-top:4px;
  border-top:1px solid var(--border);
}
#btn-voice{color:#fff!important}
#btn-voice svg{width:30px;height:30px;fill:#fff}
#btn-voice .ib-label{color:#fff;opacity:.95;font-size:10px}
#btn-voice:hover,#btn-voice.nav-focused{color:#fff!important}
#btn-voice:hover .ib-label,#btn-voice.nav-focused .ib-label{color:#fff}
#btn-voice.voice-active{
  color:var(--green)!important;
  animation:voiceBtnPulse 1.1s ease-in-out infinite;
}
#btn-voice.voice-active svg{
  fill:var(--green);
  filter:drop-shadow(0 0 10px rgba(34,197,94,.85));
}
#btn-voice.voice-active .ib-label{color:var(--green)!important;opacity:1;font-weight:800}
@keyframes voiceBtnPulse{
  0%,100%{transform:scale(1);filter:brightness(1)}
  50%{transform:scale(1.06);filter:brightness(1.15)}
}
.icon-btn.voice-active{color:var(--green)!important}
.icon-btn.voice-active svg{filter:drop-shadow(0 0 10px rgba(34,197,94,.8))}
.icon-bar-voice .icon-btn.voice-active .ib-label{color:var(--green)!important}
.icon-bar-mid .ib-cinema-deco{
  order:2;flex:1 1 auto;min-height:72px;
  align-items:center;justify-content:center;
  padding:6px 6px 4px;
}
.icon-bar-mid .icon-bar-lower{
  order:3;flex:0 0 auto;margin-top:auto;
  width:100%;border-top:1px solid var(--border);
  padding:14px 0 max(14px,1.6vh);
  background:transparent;
}
.icon-bar-cats-panel{
  order:4;flex:0 0 auto;min-height:0;max-height:32%;
  display:none;flex-direction:column;
  border-top:1px solid rgba(201,162,39,.35);
  background:linear-gradient(0deg,rgba(0,0,0,.98),rgba(0,0,0,.75));
  padding-bottom:max(10px,1.2vh);
}
#app.live-sidebar-cats .icon-bar-cats-panel{display:flex}
.icon-bar-cats-title{padding:10px 12px 6px;flex-shrink:0}
.icon-bar-cats-scroll{flex:1;min-height:0;overflow-y:auto;overflow-x:hidden;padding:0 8px 10px}
.icon-bar-cats-scroll .live-cat-list,.icon-bar-cats-scroll .vod-cat-list{padding:0}
.brand-logo-shine-bar{display:block;width:100%;max-width:88px;margin:0 auto;line-height:0}
.brand-logo-bar{width:100%;max-width:88px;height:auto;max-height:72px;object-fit:contain;display:block;margin:0 auto}
.ib-spacer{flex:1}
.ib-cinema-deco{
  flex:1;display:flex;align-items:stretch;justify-content:center;
  width:100%;min-height:80px;padding:8px 6px 12px;
  pointer-events:none;overflow:hidden;position:relative;
}
.ib-cinema-deco::after{
  content:'';position:absolute;inset:8px 6px 12px;border-radius:10px;
  box-shadow:inset 0 0 24px rgba(0,0,0,.55),inset 0 -20px 30px rgba(0,0,0,.4);
  pointer-events:none;z-index:1;
}
.ib-cinema-carousel{
  position:relative;width:100%;height:100%;
  max-width:68px;max-height:min(48vh,280px);
  margin:0 auto;
}
.ib-cinema-art{
  display:block;width:100%;max-width:68px;height:100%;max-height:min(48vh,280px);
  object-fit:cover;object-position:center top;
  border-radius:10px;opacity:1;
  box-shadow:0 0 16px rgba(229,9,20,.25),0 4px 20px rgba(0,0,0,.6);
}
.icon-btn{
  width:56px;min-height:52px;background:transparent;border:none;color:var(--grey-light);
  cursor:pointer;display:flex;flex-direction:column;align-items:center;justify-content:center;
  gap:3px;border-radius:8px;transition:.15s;position:relative;padding:6px 4px;
}
.ib-label{font-size:9px;font-weight:700;letter-spacing:.3px;text-transform:uppercase;opacity:.85}
.ib-sublabel{font-size:8px;font-weight:800;color:var(--gold);letter-spacing:.4px;text-transform:uppercase;margin-top:1px}
.ib-badge{position:absolute;top:4px;right:4px;background:var(--green);color:#000;font-size:8px;font-weight:800;padding:1px 5px;border-radius:8px;line-height:1.2;min-width:14px;text-align:center}
.stats-mini{font-size:9px;color:var(--grey);padding:6px 4px;text-align:center;line-height:1.4;border-top:1px solid var(--border);margin-top:4px}
.icon-btn svg{width:22px;height:22px;fill:currentColor}
.icon-btn:hover{color:var(--gold-light)}
.icon-btn.active{
  background:linear-gradient(180deg,var(--red),var(--red-dark));
  color:#fff;box-shadow:0 0 0 1px rgba(201,162,39,.4),0 4px 12px rgba(229,9,20,.3);
}
.icon-btn.active .ib-label{color:#fff}
.icon-btn-dvr{color:#c9a227}
.icon-btn-dvr:hover{color:#e8c547}
.icon-btn-dvr.active{
  background:linear-gradient(180deg,#c9a227,#8a6d1a);
  color:#000;box-shadow:0 0 0 1px rgba(201,162,39,.6),0 4px 12px rgba(201,162,39,.35);
}
.icon-btn-dvr.active .ib-label{color:#000}
.icon-btn-dvr.hidden{display:none!important}

/* VIEWS */
.view{display:none;height:100%;min-height:0;overflow:hidden}
.view.active{display:grid}
.blessed-view{grid-template-columns:var(--col-ch) 1fr var(--col-date,72px)}

/* LIVE — tela cheia só vídeo (OK abre zapper) */
.live-view.live-fs-mode{
  grid-template-columns:1fr!important;
  position:relative;
  width:100%;height:100%;
}
.live-view.live-fs-mode .live-main{
  grid-column:1/-1;width:100%;height:100%;min-height:0;
}
.live-view.live-fs-mode .live-cat-sidebar,
.live-view.live-fs-mode .live-topbar,
.live-view.live-fs-mode .live-epg-wrap,
.live-view.live-fs-mode .live-ch-panel{
  display:none!important;
}
.live-view.live-fs-mode .live-body{
  grid-template-columns:1fr!important;
  flex:1;height:100%;min-height:0;
}
.live-view.live-fs-mode .live-center-col{
  height:100%;min-height:0;flex:1;
}
.live-view.live-fs-mode .live-player.player-frame{
  flex:1;min-height:0;height:100%;width:100%;
}
.live-view.live-fs-mode .live-player video{
  width:100%!important;height:100%!important;max-height:none!important;min-height:0!important;
  object-fit:cover;object-position:center center;
}
.live-fs-hint,.fav-fs-hint,.jogos-fs-hint{display:none!important;visibility:hidden!important}

/* FAVORITOS — tela cheia só vídeo */
.fav-view.fav-fs-mode{
  grid-template-columns:1fr!important;
  position:relative;
  width:100%;height:100%;
}
.fav-view.fav-fs-mode .fav-main{
  grid-column:1/-1;width:100%;height:100%;min-height:0;
}
.fav-view.fav-fs-mode .fav-sidebar,
.fav-view.fav-fs-mode .live-topbar,
.fav-view.fav-fs-mode .live-epg-fav,
.fav-view.fav-fs-mode .live-ch-panel{
  display:none!important;
}
.fav-view.fav-fs-mode .live-body{
  grid-template-columns:1fr!important;
  flex:1;height:100%;min-height:0;
}
.fav-view.fav-fs-mode .live-center-col{
  height:100%;min-height:0;flex:1;
}
.fav-view.fav-fs-mode .live-player.player-frame{
  flex:1;min-height:0;height:100%;width:100%;
}
.fav-view.fav-fs-mode .live-player video{
  width:100%!important;height:100%!important;max-height:none!important;min-height:0!important;
  object-fit:cover;object-position:center center;
}
.fav-view.fav-fs-mode .fav-fs-hint{display:none!important}

.live-fs-hint{
  position:absolute;bottom:16px;left:50%;transform:translateX(-50%);
  background:rgba(0,0,0,.75);color:#fff;padding:8px 16px;border-radius:8px;
  font-size:12px;z-index:20;pointer-events:none;opacity:0;
  transition:opacity .3s;border:1px solid rgba(201,162,39,.4);
}

/* JOGOS — tela cheia só vídeo */
.jogos-view.jogos-fs-mode{
  grid-template-columns:1fr!important;
  position:relative;
  width:100%;height:100%;
}
.jogos-view.jogos-fs-mode .jogos-main{
  grid-column:1/-1;width:100%;height:100%;min-height:0;
}
.jogos-view.jogos-fs-mode .jogos-sidebar,
.jogos-view.jogos-fs-mode .live-topbar,
.jogos-view.jogos-fs-mode .live-epg-jogos,
.jogos-view.jogos-fs-mode #jogos-list-head,
.jogos-view.jogos-fs-mode .jogos-list,
.jogos-view.jogos-fs-mode .jogos-ch-panel{
  display:none!important;
}
.jogos-view.jogos-fs-mode .live-body{
  grid-template-columns:1fr!important;
  flex:1;height:100%;min-height:0;
}
.jogos-view.jogos-fs-mode .live-center-col{
  height:100%;min-height:0;flex:1;
}
.jogos-view.jogos-fs-mode .live-player.player-frame{
  flex:1;min-height:0;height:100%;width:100%;
}
.jogos-view.jogos-fs-mode .live-player video{
  width:100%!important;height:100%!important;max-height:none!important;min-height:0!important;
  object-fit:cover;object-position:center center;
}
.jogos-view.jogos-fs-mode .jogos-fs-hint{display:none!important}

/* Tela cheia — vídeo edge-to-edge (sem barra lateral / bordas nos 4 cantos) */
html.z10-fs-video #tv-viewport,
html.z10-fs-video #tv-scaler,
html.z10-fs-video #tv-stage,
html.z10-fs-video #tv-safe{
  padding:0!important;margin:0!important;
  width:100%!important;height:100%!important;
  max-width:none!important;max-height:none!important;
  overflow:hidden!important;
}
html.z10-fs-video.native-fluid #tv-safe{
  padding:0!important;
}
html.native-tv #app.app-fs-mode{
  grid-template-columns:1fr!important;
  width:100%!important;height:100%!important;
}
html.native-tv #app.app-fs-mode .icon-bar{
  display:none!important;
  width:0!important;min-width:0!important;max-width:0!important;
  overflow:hidden!important;visibility:hidden!important;
  pointer-events:none!important;
}
html.native-tv #app.app-fs-mode .app-shell{
  grid-column:1/-1!important;
  width:100%!important;max-width:100%!important;
  height:100%!important;min-height:0!important;
}
html.z10-fs-video #app,
html.z10-fs-video .app-shell{
  position:relative!important;
  width:100%!important;height:100%!important;
  max-width:100%!important;overflow:hidden!important;
}
html.z10-fs-video .live-view.live-fs-mode.active,
html.z10-fs-video .fav-view.fav-fs-mode.active,
html.z10-fs-video .jogos-view.jogos-fs-mode.active{
  position:absolute!important;inset:0!important;
  width:100%!important;height:100%!important;
  grid-template-columns:1fr!important;
  margin:0!important;padding:0!important;
}
html.z10-fs-video .live-view.live-fs-mode .live-main,
html.z10-fs-video .fav-view.fav-fs-mode .fav-main,
html.z10-fs-video .jogos-view.jogos-fs-mode .jogos-main{
  width:100%!important;height:100%!important;min-height:0!important;
}
html.z10-fs-video .live-view.live-fs-mode .live-body,
html.z10-fs-video .fav-view.fav-fs-mode .live-body,
html.z10-fs-video .jogos-view.jogos-fs-mode .live-body{
  position:absolute!important;inset:0!important;
  width:100%!important;height:100%!important;
  grid-template-columns:1fr!important;
}
html.z10-fs-video .live-view.live-fs-mode .live-center-col,
html.z10-fs-video .fav-view.fav-fs-mode .live-center-col,
html.z10-fs-video .jogos-view.jogos-fs-mode .live-center-col{
  position:absolute!important;inset:0!important;
  width:100%!important;height:100%!important;
}
html.z10-fs-video .live-view.live-fs-mode .live-player.player-frame,
html.z10-fs-video .fav-view.fav-fs-mode .live-player.player-frame,
html.z10-fs-video .jogos-view.jogos-fs-mode .live-player.player-frame,
html.z10-fs-video #player-box,
html.z10-fs-video #fav-player-box,
html.z10-fs-video #jogos-player-box{
  position:absolute!important;inset:0!important;
  width:100%!important;height:100%!important;
  max-height:none!important;min-height:0!important;
  border:none!important;border-radius:0!important;
  margin:0!important;padding:0!important;
  background:#000!important;
}
html.z10-fs-video body.has-brand-bg .live-player.player-frame,
html.z10-fs-video body.has-brand-bg #player-box,
html.z10-fs-video body.has-brand-bg #fav-player-box,
html.z10-fs-video body.has-brand-bg #jogos-player-box{
  background:#000!important;
}

/* Camada invisível — 1 clique no vídeo abre zapper em tela cheia */
.fs-tap-layer{
  display:none;position:absolute;inset:0;z-index:12;
  cursor:pointer;background:transparent;
}
.live-view.live-fs-mode .fs-tap-layer,
.fav-view.fav-fs-mode .fs-tap-layer,
.jogos-view.jogos-fs-mode .fs-tap-layer{display:block}
.live-fs-mode .play-btn,.live-fs-mode .live-unmute-btn,
.fav-fs-mode .play-btn,.fav-fs-mode .live-unmute-btn,
.jogos-fs-mode .play-btn,.jogos-fs-mode .live-unmute-btn{z-index:20}

/* Zapper — categorias + canais sobre o vídeo (leve escurecida) */
.fs-zapper{
  position:fixed;inset:0;z-index:9500;
  display:flex;align-items:center;justify-content:center;
  padding:16px;
  pointer-events:none;background:transparent;
}
.fs-zapper:not(.hidden){pointer-events:auto}
.fs-zapper-panel{
  pointer-events:auto;
  width:min(720px,88vw);
  max-height:52vh;
  display:flex;flex-direction:column;gap:0;
  background:rgba(0,0,0,0.78);
  backdrop-filter:blur(8px);
  -webkit-backdrop-filter:blur(8px);
  border:1px solid rgba(201,162,39,0.22);
  border-radius:12px;
  box-shadow:0 8px 28px rgba(0,0,0,0.55);
  overflow:hidden;
}
.fs-zapper-head{
  display:flex;align-items:center;justify-content:space-between;gap:10px;
  padding:6px 12px 4px;
  background:rgba(0,0,0,0.45);
  flex-shrink:0;
}
.fs-zapper-head span:first-child{
  font-size:11px;font-weight:800;color:rgba(255,230,160,0.95);text-transform:uppercase;letter-spacing:.8px;
}
.fs-zapper-now{
  font-size:11px;color:rgba(255,255,255,0.9);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:58%;
  text-shadow:0 1px 4px rgba(0,0,0,0.8);
}
.fs-zapper-body{
  display:grid;
  grid-template-columns:minmax(168px,36%) 1fr;
  flex:1;min-height:0;overflow:hidden;
}
.fs-zapper-body:has(.fs-zapper-cats-wrap.hidden){
  grid-template-columns:1fr;
}
.fs-zapper-cats-wrap{
  display:flex;flex-direction:column;min-height:0;overflow:hidden;
  padding:8px 0 8px 8px;
  border-right:1px solid rgba(255,255,255,0.12);
  background:rgba(0,0,0,0.1);
}
.fs-zapper-cats-wrap.hidden{display:none!important}
.fs-zapper-cats{
  list-style:none;margin:0;
  padding:0 6px 4px 0;
  flex:1;min-height:0;overflow-y:auto;overflow-x:hidden;
  overscroll-behavior:contain;
}
.fs-zapper-cats.hidden{display:none!important}
.fs-zapper-cats li{
  display:block;box-sizing:border-box;flex-shrink:0;
  padding:10px 12px;margin-bottom:2px;border-radius:6px;cursor:pointer;
  background:transparent;border:1px solid transparent;border-left:3px solid transparent;
  font-size:12px;line-height:1.45;font-weight:600;color:rgba(255,255,255,0.92);transition:background .15s,border-color .15s;
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
}
.fs-zapper-cats li:hover{background:rgba(255,255,255,0.06)}
.fs-zapper-cats li.focused{
  background:rgba(229,9,20,0.75);color:#fff;border-left-color:var(--gold);
}
.fs-zapper-cats li.active{
  background:rgba(201,162,39,0.75);color:#111;border-left-color:var(--gold);
}
.fs-zapper-cats li.active.focused{
  background:rgba(201,162,39,0.85);color:#111;
}
.fs-zapper-channels-wrap{
  flex:1;min-height:0;min-width:0;
  padding:8px;
  background:rgba(0,0,0,0.08);
  display:flex;flex-direction:column;overflow:hidden;
}
.fs-zapper-channels{
  flex:1;min-height:0;
  margin:0;padding:0;
  overflow-y:auto;
  max-height:38vh;
}
.fs-zapper-channels li{
  min-height:36px;font-size:12px;padding:7px 10px;
  background:rgba(0,0,0,0.1);
  border-bottom:1px solid rgba(255,255,255,0.07);
  text-shadow:0 1px 4px rgba(0,0,0,0.85);
}
#fs-zapper-channels.ch-list-blessed li.playing{
  background:rgba(0,0,0,0.1);
  color:inherit;
  border-left:none;
}
#fs-zapper-channels.ch-list-blessed li.playing .ch-num{color:var(--gold)}
.fs-zapper-channels li:hover{background:rgba(0,0,0,0.22)}
.fs-zapper-channels li.focused,
.fs-zapper-channels li:focus{
  background:linear-gradient(90deg,var(--red),var(--red-dark));
  color:#fff;
  border-left:3px solid var(--gold);
  outline:none;
}
.fs-zapper-channels li.focused .ch-num,
.fs-zapper-channels li:focus .ch-num{color:rgba(255,255,255,0.95)}
.fs-zapper-empty{padding:14px;text-align:center;color:rgba(255,255,255,0.75);cursor:default;font-size:12px}
.fs-zapper-hint{
  flex-shrink:0;margin:0;padding:5px 12px 7px;
  font-size:10px;color:rgba(255,255,255,0.65);text-align:center;
  background:rgba(0,0,0,0.18);
  text-shadow:0 1px 3px rgba(0,0,0,0.8);
}

/* LIVE — layout TV fullscreen */
.live-view.active{display:grid;grid-template-columns:var(--col-cat) 1fr;height:100%;overflow:hidden}
.live-cat-sidebar{background:#000;border-right:1px solid var(--border);display:flex;flex-direction:column;min-height:0;overflow:hidden;padding:12px 0}
.vod-sidebar{display:flex;flex-direction:column;min-height:0;overflow:hidden}
.vod-cat-block{
  margin-top:0;flex:1 1 auto;min-height:0;
  display:flex;flex-direction:column;border-top:1px solid var(--border);
  padding-top:4px;background:transparent;
}
.vod-cat-block .vod-cat-list,.vod-cat-block .live-cat-list{flex:1;min-height:0;overflow-y:auto}
.fav-stats-top{margin-top:0;margin-bottom:auto;flex-shrink:0;border-top:none;border-bottom:1px solid var(--border)}
.live-main{background:var(--black);display:flex;flex-direction:column;min-height:0;overflow:hidden}
.live-topbar{display:flex;align-items:center;justify-content:space-between;padding:8px 20px;border-bottom:1px solid var(--border);flex-shrink:0;background:#000;gap:16px}
.live-now-block{min-width:0;flex:1}
.live-now-block h2{font-size:17px;font-weight:800;color:var(--gold-light);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-bottom:2px}
.live-epg-title{font-size:12px;color:var(--grey-light);display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.live-topbar-end{display:flex;align-items:center;gap:16px;flex-shrink:0}
.live-clock-block{
  display:flex;flex-direction:row;align-items:stretch;justify-content:flex-end;
  gap:10px;line-height:1.1;text-align:right;flex-shrink:0;
}
.live-clock-digital{
  font-family:'Roboto',sans-serif;
  padding:2px 0;
}
.live-clock-datecol{
  display:flex;flex-direction:column;align-items:flex-end;justify-content:center;
  gap:1px;padding:5px 10px;
  border:1px solid rgba(201,162,39,.75);
  border-radius:5px;
  min-height:100%;
}
.live-clock-weekday,
.live-clock-date{
  display:block;
  font-size:12px;
  font-weight:600;
  color:var(--gold-light);
  letter-spacing:.4px;
  font-variant-numeric:tabular-nums;
  white-space:nowrap;
  line-height:1.2;
  text-transform:uppercase;
}
.live-clock-date{font-size:11px;font-weight:700;color:#e8c547}
.live-clock-digital .live-clock-time{
  display:flex;align-items:center;
  font-size:26px;
  font-weight:700;
  color:#fff;
  letter-spacing:1px;
  font-variant-numeric:tabular-nums;
  white-space:nowrap;
  line-height:1;
  padding-left:2px;
  text-shadow:none;
}
.live-clock-day{
  display:inline;font-size:14px;color:var(--grey-light);text-transform:capitalize;
  font-weight:700;white-space:nowrap;
}
.live-clock-time{
  display:inline;font-size:24px;font-weight:800;color:var(--gold-light);
  letter-spacing:1px;font-variant-numeric:tabular-nums;white-space:nowrap;
}
.live-panel-title{
  text-align:center!important;
  width:100%;
  padding-left:12px!important;
  padding-right:12px!important;
}
.live-ch-head.live-panel-title{display:flex;align-items:center;justify-content:center}

/* Barra de stats — topo com ícones modernos */
.live-stats-bar{
  display:flex;align-items:center;justify-content:center;gap:14px;
  padding:10px 20px;flex-shrink:0;
  background:linear-gradient(180deg,rgba(17,17,17,.98),rgba(10,10,10,.95));
  border-bottom:1px solid var(--border);
}
.stat-chip{
  display:flex;align-items:center;gap:10px;
  padding:8px 16px;border-radius:10px;
  background:rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.08);
  min-width:130px;transition:border-color .2s,box-shadow .2s;
}
.stat-chip:hover{border-color:rgba(201,162,39,.35);box-shadow:0 4px 16px rgba(0,0,0,.4)}
.stat-icon{
  width:36px;height:36px;border-radius:9px;
  display:flex;align-items:center;justify-content:center;flex-shrink:0;
}
.stat-icon svg{width:20px;height:20px;fill:currentColor}
.stat-live .stat-icon{background:linear-gradient(135deg,rgba(229,9,20,.35),rgba(229,9,20,.12));color:#ff6b6b;box-shadow:0 0 12px rgba(229,9,20,.2)}
.stat-movies .stat-icon{background:linear-gradient(135deg,rgba(201,162,39,.35),rgba(201,162,39,.12));color:var(--gold-light);box-shadow:0 0 12px rgba(201,162,39,.15)}
.stat-series .stat-icon{background:linear-gradient(135deg,rgba(34,197,94,.35),rgba(34,197,94,.12));color:var(--green);box-shadow:0 0 12px rgba(34,197,94,.15)}
.stat-info{display:flex;flex-direction:column;line-height:1.15}
.stat-info strong{font-size:15px;font-weight:800;color:#fff;font-variant-numeric:tabular-nums;letter-spacing:.3px}
.stat-info small{font-size:10px;color:var(--grey);text-transform:uppercase;letter-spacing:.8px;font-weight:600}

.live-body{
  flex:1;display:grid;grid-template-columns:1fr var(--col-live-ch);
  min-height:0;overflow:hidden;position:relative;
}
.live-center-col{
  display:flex;flex-direction:column;min-height:0;overflow:hidden;
  background:#000;position:relative;z-index:1;
}
.live-player.player-frame{
  flex:1 1 auto;min-height:0;flex-shrink:1;
  border-bottom:none;display:block;
  overflow:hidden;position:relative;z-index:1;
  background:var(--bg,#0a0a0a);
}
.live-ch-panel{
  background:#000;border-left:1px solid var(--border);
  display:flex;flex-direction:column;min-height:0;overflow:hidden;
  position:relative;z-index:5;
  box-shadow:-6px 0 24px rgba(0,0,0,.55);
}
.live-ch-head{padding:12px 14px;font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:1px;color:var(--gold);border-bottom:1px solid var(--border);flex-shrink:0;background:#000;text-align:center}
.live-ch-hint{font-weight:500;text-transform:none;letter-spacing:0;color:var(--grey);font-size:10px}
.live-ch-scroll{flex:1;overflow-y:auto;min-height:0;overscroll-behavior:contain;background:#000}

.ch-list-blessed{list-style:none;margin:0;padding:0;width:100%}
.ch-list-blessed li{
  display:flex;align-items:center;gap:8px;width:100%;box-sizing:border-box;
  padding:10px 12px;cursor:pointer;border-bottom:1px solid rgba(255,255,255,.04);
  font-size:14px;transition:background .12s,border-color .12s;min-height:44px;flex-shrink:0;
}
.ch-list-blessed li:hover{background:rgba(201,162,39,.08)}
.ch-list-blessed li.playing{background:linear-gradient(90deg,var(--red),var(--red-dark));color:#fff;border-left:3px solid var(--gold)}
.ch-list-blessed li.focused:not(.playing){background:rgba(201,162,39,.14);color:#fff;border-left:3px solid var(--gold)}
.ch-list-blessed li.focused.playing{background:linear-gradient(90deg,var(--red),var(--red-dark))}
.ch-num{color:var(--gold);font-size:12px;min-width:36px;text-align:right;font-weight:700;font-variant-numeric:tabular-nums;flex-shrink:0}
.ch-list-blessed li.playing .ch-num,.ch-list-blessed li.focused .ch-num{color:rgba(255,255,255,.95)}
.ch-tv-icon{width:18px;height:18px;fill:currentColor;opacity:.7;flex-shrink:0}
.ch-list-blessed li.playing .ch-tv-icon,.ch-list-blessed li.focused .ch-tv-icon{opacity:1}
.ch-name-b{flex:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-weight:500}

/* EPG — faixa inferior só embaixo do player */
.live-epg-bottom{
  flex-shrink:0;height:var(--epg-h,148px);min-height:var(--epg-h,148px);
  border-top:1px solid var(--border);
  background:linear-gradient(180deg,var(--bg2),var(--black));
  display:flex;flex-direction:column;overflow:hidden;
  position:relative;z-index:2;
}
.live-epg-bottom .epg-header{
  display:flex;align-items:center;gap:8px;
  padding:8px 16px;font-size:11px;flex-shrink:0;
}
.epg-header-icon{width:18px;height:18px;display:flex;align-items:center;justify-content:center;color:var(--gold)}
.epg-header-icon svg{width:14px;height:14px;fill:currentColor}
.epg-timeline{
  display:flex;flex-direction:row;gap:0;overflow-x:auto;overflow-y:hidden;
  flex:1;list-style:none;padding:0 8px 8px;scroll-behavior:smooth;
}
.epg-timeline li{
  flex:0 0 auto;min-width:200px;max-width:280px;
  padding:10px 14px;margin-right:8px;
  background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.08);
  border-radius:8px;display:flex;flex-direction:column;gap:4px;
  transition:border-color .15s,background .15s;
}
.epg-timeline li.epg-now{border-color:var(--green);background:rgba(34,197,94,.08);box-shadow:0 0 0 1px rgba(34,197,94,.25)}
.epg-timeline li .epg-time{font-size:11px;color:var(--gold);font-weight:700}
.epg-timeline li .epg-title{font-size:12px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#fff}
.epg-timeline li .epg-sub{font-size:10px;color:var(--grey);display:flex;align-items:center;gap:6px}
.epg-timeline li.epg-now .epg-sub{color:var(--green)}
.epg-timeline li .epg-dot{width:6px;height:6px;border-radius:50%;background:var(--grey);flex-shrink:0}
.epg-timeline li.epg-now .epg-dot{background:var(--green);box-shadow:0 0 6px var(--green)}
.fav-view.active{display:grid;grid-template-columns:var(--col-cat) 1fr;height:100%;overflow:hidden}
.jogos-view.active{display:grid;grid-template-columns:var(--col-cat) 1fr;height:100%;overflow:hidden}
.jogos-refresh-btn{
  margin:12px 14px 16px;padding:10px 12px;width:calc(100% - 28px);
  background:var(--bg3);border:1px solid var(--border);color:var(--gold-light);
  border-radius:8px;cursor:pointer;font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.5px;
}
.jogos-refresh-btn:hover{border-color:var(--gold);background:rgba(201,162,39,.08)}
.jogos-filters li{
  display:flex;align-items:center;gap:10px;
}
.jogos-filter-icon{
  width:18px;height:18px;flex-shrink:0;
  fill:currentColor;opacity:.75;
}
.jogos-filters li:hover .jogos-filter-icon,
.jogos-filters li.active .jogos-filter-icon{opacity:1}
.jogos-filters li span:last-child{flex:1;min-width:0}
.jogos-list li.jogos-row{align-items:flex-start;padding:14px 16px;min-height:64px;gap:10px}
.jogos-ch-panel{display:flex;flex-direction:column;min-height:0}
.jogos-ch-panel .jogos-list{flex:1;min-height:0;max-height:none}
.jogos-empty-ch,.jogos-empty-row{padding:14px 16px;color:var(--grey);font-size:12px;cursor:default;line-height:1.45;text-align:center}
.jogos-row .jogos-time-col{min-width:58px;text-align:center;flex-shrink:0;padding-top:2px}
.jogos-row .jogos-date{font-size:11px;font-weight:700;color:var(--gold-light);display:block;line-height:1.25;margin-bottom:4px;text-transform:uppercase;letter-spacing:.5px}
.jogos-row .jogos-time{font-size:16px;font-weight:800;color:var(--gold);display:block;line-height:1.15;font-variant-numeric:tabular-nums}
.jogos-row .jogos-status-badge{font-size:9px;font-weight:800;padding:3px 6px;border-radius:4px;display:inline-block;margin-top:5px;letter-spacing:.35px}
.jogos-row .jogos-status-badge.live{background:rgba(229,9,20,.25);color:#ff6b6b}
.jogos-row .jogos-status-badge.upcoming{background:rgba(201,162,39,.2);color:var(--gold-light)}
.jogos-row .jogos-status-badge.finished{background:rgba(255,255,255,.08);color:var(--grey)}
.jogos-row .jogos-info{flex:1;min-width:0;display:flex;flex-direction:column;justify-content:center;gap:3px}
.jogos-row .jogos-match{font-size:15px;font-weight:800;color:#fff;line-height:1.25;white-space:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.jogos-row .jogos-meta{font-size:11px;color:var(--grey-light);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.jogos-row .jogos-channel{font-size:11px;color:var(--green);font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.jogos-row.no-channel .jogos-channel{color:var(--grey)}
.jogos-row .jogos-channel.missing{color:#ff9f43}
.jogos-section-hdr{
  padding:10px 14px 6px;font-size:11px;font-weight:800;color:var(--gold-light);
  text-transform:uppercase;letter-spacing:.6px;border-top:1px solid var(--border);
  margin-top:4px;list-style:none;pointer-events:none
}
.jogos-row.jogos-channel-row{border-left:3px solid var(--green)}
.live-epg-jogos{height:120px;min-height:120px}
.live-epg-fav{height:120px;min-height:120px}
.fav-stats{padding:10px 18px;font-size:11px;color:var(--grey);line-height:1.5;border-top:1px solid var(--border);margin-top:auto}
.fav-stats b{color:var(--green);font-weight:700}
.fav-count-badge{font-size:10px;background:rgba(34,197,94,.2);color:var(--green);padding:2px 8px;border-radius:10px;margin-left:6px;font-weight:700}
.ch-type-badge{font-size:9px;font-weight:800;padding:2px 6px;border-radius:4px;background:rgba(201,162,39,.2);color:var(--gold-light);flex-shrink:0;letter-spacing:.3px}
.ch-list-blessed li .ch-type-badge.live-badge{background:rgba(229,9,20,.25);color:#ff6b6b}
.ch-list-blessed li .ch-type-badge.movie-badge{background:rgba(201,162,39,.25);color:var(--gold-light)}
.ch-list-blessed li .ch-type-badge.series-badge{background:rgba(34,197,94,.2);color:var(--green)}

/* COLUNA CANAIS — Blessed Live (legado) */
.load-more-btn{width:calc(100% - 24px);margin:10px 12px;padding:10px;background:var(--bg3);border:1px solid var(--border);color:var(--grey-light);cursor:pointer;font-size:12px;border-radius:6px;display:block}
.load-more-btn:hover{border-color:var(--gold);color:var(--gold-light)}

/* COLUNA CENTRO — Player + EPG */
.col-center{background:var(--black);display:flex;flex-direction:column;min-height:0;overflow:hidden;border-right:1px solid var(--border)}
.action-hint{text-align:center;font-size:11px;color:var(--grey);padding:8px 16px;border-bottom:1px solid var(--border);flex-shrink:0}
.action-hint::before{content:'● ';color:var(--green);font-size:8px;vertical-align:middle}

.player-frame{position:relative;background:#000;flex-shrink:0;border-bottom:2px solid rgba(201,162,39,.25)}
.player-frame:not(.live-player) video{width:100%;height:min(42vh,380px);object-fit:contain;display:block;background:#000}
.player-frame.connecting video{outline:2px solid var(--gold)}
.player-frame.playing video{outline:2px solid var(--green)}

/* Live / Favoritos / Jogos — preview pequeno e tela cheia sem bordas pretas */
.live-player.player-frame,
#player-box.live-player,
#fav-player-box.live-player,
#jogos-player-box.live-player{
  flex:1 1 auto;min-height:0;flex-shrink:1;border-bottom:none;
  position:relative;overflow:hidden;display:block;
  background:var(--bg,#0a0a0a);
}
.live-player.player-frame video,
#player-box video,
#fav-player-box video,
#jogos-player-box video,
#main-player,
#fav-player,
#jogos-player{
  position:absolute!important;inset:0!important;
  width:100%!important;height:100%!important;
  max-width:none!important;max-height:none!important;min-height:0!important;
  object-fit:cover!important;object-position:center center!important;
  display:block!important;background:transparent!important;
}
.live-player.player-frame.connecting video,
.live-player.player-frame.playing video{outline:none!important}

.play-btn{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:64px;height:64px;border-radius:50%;background:var(--red);border:3px solid var(--gold);color:#fff;font-size:24px;cursor:pointer;box-shadow:0 8px 32px rgba(0,0,0,.6)}
html.native-tv #btn-play-live,
html.native-tv #btn-play-jogos{display:none!important}
.live-unmute-btn{position:absolute;bottom:12px;left:50%;transform:translateX(-50%);background:rgba(229,9,20,.95);border:1px solid var(--gold);color:#fff;padding:10px 18px;border-radius:8px;font-size:13px;font-weight:700;cursor:pointer;z-index:5}

.channel-info-bar{padding:10px 16px;border-bottom:1px solid var(--border);display:flex;align-items:center;justify-content:space-between;flex-shrink:0;background:#000}
.channel-info-bar span:first-child{font-size:15px;font-weight:700}
.now-status{font-size:11px;color:var(--grey);font-weight:600}
.now-status.ok{color:var(--green)}.now-status.err{color:var(--red)}
.btn-dvr-replay{background:linear-gradient(135deg,#c9a227,#8a6d1a);color:#000;border:none;border-radius:8px;padding:6px 12px;font-size:12px;font-weight:700;cursor:pointer;white-space:nowrap}
.btn-dvr-replay:hover{filter:brightness(1.08)}
.live-cat-list li.dvr-cat span{color:#c9a227;font-weight:700}
.live-cat-list li.dvr-cat.active{background:rgba(201,162,39,.15);border-color:rgba(201,162,39,.45)}
.dvr-badge{margin:0 4px;font-size:12px;vertical-align:middle;opacity:.95}

.epg-box{flex:1;overflow:hidden;display:flex;flex-direction:column;min-height:0}
.epg-header{padding:10px 16px;font-size:12px;font-weight:700;color:var(--gold);border-bottom:1px solid var(--border);flex-shrink:0;text-transform:uppercase;letter-spacing:1px}
.epg-list{list-style:none;overflow-y:auto;flex:1}
.epg-list li{display:flex;align-items:center;gap:10px;padding:11px 16px;border-bottom:1px solid rgba(255,255,255,.05);font-size:13px}
.epg-dot{width:8px;height:8px;border-radius:50%;flex-shrink:0;background:var(--grey)}
.epg-dot.live{background:var(--green);box-shadow:0 0 8px var(--green)}
.epg-title{flex:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.epg-time{color:var(--gold);font-size:12px;white-space:nowrap;font-weight:600}

/* COLUNA DATA/HORA */
.col-datetime{background:var(--bg);display:flex;flex-direction:column;align-items:center;padding:8px 0;min-height:0}
.clock-box{padding:10px 4px;border-bottom:1px solid var(--border);width:100%;text-align:center;margin-bottom:8px;background:linear-gradient(180deg,rgba(201,162,39,.1),transparent)}
.date-list{list-style:none;width:100%;flex:1;overflow-y:auto}
.date-list li{padding:10px 4px;text-align:center;font-size:12px;color:var(--grey);cursor:default;border-bottom:1px solid rgba(255,255,255,.04)}
.date-list li .day-num{font-size:17px;font-weight:800;display:block}
.date-list li .day-name{font-size:10px;text-transform:capitalize}
.date-list li.today{background:var(--red);color:#fff;border-radius:4px;margin:2px 4px;border:1px solid var(--gold)}
.user-mini{font-size:9px;color:var(--grey);padding:8px 4px;text-align:center;margin-top:auto}

/* SEARCH */
.search-hidden{position:absolute;opacity:0;pointer-events:none;width:0;height:0}
#search-overlay{position:absolute;inset:0;background:rgba(0,0,0,.9);z-index:400;display:flex;align-items:flex-start;justify-content:center;padding-top:80px}
.search-box{display:flex;gap:8px;width:520px}
.search-box input{flex:1;padding:14px 18px;background:var(--bg2);border:1px solid var(--gold);color:#fff;font-size:16px;border-radius:8px;margin:0}
#search-close{width:48px;background:var(--red);border:none;color:#fff;font-size:18px;border-radius:8px;cursor:pointer}

#voice-overlay{
  position:absolute;inset:0;background:rgba(0,0,0,.92);z-index:450;
  display:flex;align-items:center;justify-content:center;padding:24px;
}
#voice-overlay.hidden{display:none!important}
.voice-panel{
  text-align:center;max-width:520px;width:100%;
  padding:36px 28px 28px;border-radius:16px;
  background:linear-gradient(180deg,rgba(26,26,26,.98),rgba(0,0,0,.98));
  border:1px solid rgba(201,162,39,.35);
  box-shadow:0 0 48px rgba(229,9,20,.2);
}
.voice-mic-wrap{display:flex;justify-content:center;margin-bottom:20px}
.voice-mic-ring{
  width:96px;height:96px;border-radius:50%;
  display:flex;align-items:center;justify-content:center;
  background:linear-gradient(135deg,var(--red),#8a0610);
  border:3px solid var(--gold);
  box-shadow:0 0 24px rgba(229,9,20,.45);
}
.voice-mic-ring svg{width:44px;height:44px;fill:#fff}
.voice-mic-ring.pulse{animation:voicePulse 1.2s ease-in-out infinite}
@keyframes voicePulse{
  0%,100%{transform:scale(1);box-shadow:0 0 24px rgba(229,9,20,.45)}
  50%{transform:scale(1.08);box-shadow:0 0 40px rgba(229,9,20,.75),0 0 20px rgba(201,162,39,.35)}
}
#voice-overlay.voice-listening .voice-hint{opacity:1}
.voice-status{font-size:20px;font-weight:800;color:#fff;margin-bottom:8px}
.voice-heard{font-size:16px;color:var(--gold-light);min-height:24px;margin-bottom:12px;font-weight:600}
.voice-hint{font-size:13px;color:var(--grey);margin-bottom:20px;line-height:1.5}
.voice-quick{
  display:flex;gap:10px;align-items:stretch;margin:0 auto 20px;max-width:100%;width:100%;
}
.voice-quick.hidden{display:none!important}
.voice-quick input{
  flex:1;min-width:0;padding:14px 16px;background:var(--bg2);border:2px solid rgba(201,162,39,.45);
  color:#fff;font-size:17px;font-weight:700;border-radius:10px;margin:0;
}
.voice-quick input:focus{border-color:var(--gold);outline:none;box-shadow:0 0 0 2px rgba(201,162,39,.25)}
.voice-quick .btn-red{min-width:110px;padding:14px 18px;font-size:16px;font-weight:800;border-radius:10px}
html.native-tv .voice-quick input{font-size:calc(22px * var(--tv-font-ui-mul,1));padding:18px 20px}
html.native-tv .voice-quick .btn-red{font-size:calc(20px * var(--tv-font-ui-mul,1));min-width:140px;padding:18px 22px}
.voice-cancel-btn{min-width:140px;margin:0 auto}
html.native-tv .voice-panel{max-width:min(580px,90vw);padding:48px 36px 36px}
html.native-tv .voice-status{font-size:calc(24px * var(--tv-font-ui-mul,1))}
html.native-tv .voice-mic-ring{width:128px;height:128px;border-width:4px}
html.native-tv .voice-mic-ring svg{width:62px;height:62px}

/* Pasta de resultados — voz inteligente */
.voice-folder{
  position:absolute;inset:0;z-index:460;
  display:flex;flex-direction:column;
  background:linear-gradient(180deg,#0a0a0a 0%,#000 40%);
  border-left:3px solid var(--gold);
}
.voice-folder.hidden{display:none!important}
.voice-folder-head{
  display:flex;align-items:flex-start;justify-content:space-between;gap:16px;
  padding:20px 24px 14px;border-bottom:1px solid rgba(201,162,39,.35);
  background:linear-gradient(90deg,rgba(229,9,20,.12),transparent);
  flex-shrink:0;
}
.voice-folder-kicker{
  font-size:11px;text-transform:uppercase;letter-spacing:1.2px;
  color:var(--gold);font-weight:700;margin-bottom:4px;
}
.voice-folder-head h2{
  font-size:26px;font-weight:800;color:#fff;margin:0 0 6px;
  word-break:break-word;line-height:1.15;
}
.voice-folder-meta{font-size:14px;color:var(--grey-light);font-weight:600}
.voice-folder-close{
  flex-shrink:0;width:44px;height:44px;border-radius:10px;
  border:1px solid rgba(255,255,255,.2);background:rgba(255,255,255,.06);
  color:#fff;font-size:20px;cursor:pointer;
}
.voice-folder-close:hover{background:var(--red);border-color:var(--gold)}
.voice-folder-scroll{flex:1;min-height:0;overflow-y:auto;padding:12px 16px 8px}
.voice-folder-list{margin:0;padding:0;width:100%}
.voice-folder-list li.voice-folder-row{
  display:flex;align-items:center;gap:10px;
  min-height:52px;padding:12px 14px;margin-bottom:6px;
  border-radius:8px;border-left:3px solid transparent;
}
.voice-folder-list li.voice-folder-section-hdr{
  display:flex;align-items:center;justify-content:space-between;
  padding:14px 8px 8px;margin-top:8px;list-style:none;
  font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:1px;
  color:var(--gold);border-bottom:1px solid rgba(201,162,39,.25);
  cursor:default;min-height:auto;border-left:none;border-radius:0;
}
.voice-folder-list li.voice-folder-section-hdr:first-child{margin-top:0}
.voice-section-count{
  font-size:10px;color:var(--green);background:rgba(34,197,94,.12);
  padding:3px 8px;border-radius:10px;font-weight:700;
}
.voice-folder-list li .voice-row-name{flex:1;min-width:0}
.voice-folder-list li .voice-row-num{min-width:42px;text-align:center;flex-shrink:0}
.voice-folder-list li .voice-num-empty{opacity:.35;font-size:12px}
.voice-type-pill{
  flex-shrink:0;min-width:58px;text-align:center;
  font-size:9px;font-weight:800;letter-spacing:.5px;
  padding:6px 8px;border-radius:6px;text-transform:uppercase;
}
.voice-type-pill.live{background:rgba(229,9,20,.25);color:#ff8a8a;border:1px solid rgba(229,9,20,.45)}
.voice-type-pill.movie{background:rgba(201,162,39,.22);color:var(--gold-light);border:1px solid rgba(201,162,39,.45)}
.voice-type-pill.series{background:rgba(34,197,94,.18);color:var(--green);border:1px solid rgba(34,197,94,.4)}
.voice-folder-list li.focused:not(.playing){
  background:rgba(201,162,39,.14);color:#fff;border-left-color:var(--gold);
}
.voice-folder-hint{
  flex-shrink:0;text-align:center;padding:10px 16px 14px;
  font-size:12px;color:var(--grey);border-top:1px solid var(--border);
}
html.native-tv .voice-folder-head{padding:24px 28px 16px}
html.native-tv .voice-folder-head h2{font-size:calc(30px * var(--tv-font-ui-mul,1))}
html.native-tv .voice-folder-meta{font-size:calc(17px * var(--tv-font-ui-mul,1))}
html.native-tv .voice-folder-list li.voice-folder-row{
  font-size:calc(22px * var(--tv-font-ch-mul,1));
  min-height:58px;padding:14px 16px;
}
html.native-tv .voice-folder-list li.voice-folder-section-hdr{
  font-size:calc(14px * var(--tv-font-ui-mul,1));padding:16px 10px 10px;
}
html.native-tv .voice-type-pill{
  font-size:calc(11px * var(--tv-font-ui-mul,1));
  min-width:72px;padding:7px 10px;
}
html.native-tv .voice-folder-hint{font-size:calc(14px * var(--tv-font-ui-mul,1))}
html.native-tv .icon-bar-search,
html.native-tv .icon-bar-voice{
  flex:0 0 auto;order:1;width:100%;
  border-top:1px solid rgba(255,255,255,.08);
}
html.native-tv .icon-bar-voice{
  padding:12px 0 8px;
  margin-top:max(8px,0.8vh);
}
.vod-voice-box{border-color:rgba(201,162,39,.35)}
.vod-voice-box:hover{border-color:var(--gold);color:var(--gold-light)}

/* VOD — Netflix-style area */
.vod-view{display:none;height:100%;overflow:hidden}
.vod-view.active{display:grid;grid-template-columns:240px 1fr}

.vod-sidebar{background:#000;border-right:1px solid var(--border);display:flex;flex-direction:column;min-height:0;overflow:hidden;padding:12px 0}
.vod-search-box{display:flex;align-items:center;gap:10px;padding:11px 16px;margin:0 12px 12px;border:1px solid var(--border);border-radius:8px;color:var(--grey-light);font-size:13px;cursor:pointer}
.vod-search-box svg{width:18px;height:18px;fill:currentColor;flex-shrink:0}
.vod-search-box:hover{border-color:var(--gold);color:var(--gold-light)}

.vod-quick{list-style:none;padding:0 12px;margin-bottom:4px}
.vod-quick li{padding:11px 12px;font-size:13px;color:var(--grey-light);cursor:pointer;border-radius:6px;display:flex;align-items:center;gap:8px}
.vod-quick li:hover{background:rgba(255,255,255,.06);color:#fff}
.vod-quick li.active{background:var(--red);color:#fff;border-left:3px solid var(--gold)}
.vod-quick li.focused:not(.active){background:rgba(201,162,39,.14);color:#fff;border-left:3px solid var(--gold)}

.vod-cat-title{padding:8px 18px;font-size:10px;text-transform:uppercase;letter-spacing:1.5px;color:var(--gold);font-weight:700}
.vod-cat-list{list-style:none;overflow-y:auto;flex:1;min-height:0;padding:0 12px}
.vod-cat-list li{padding:12px 14px;font-size:13px;color:var(--grey-light);cursor:pointer;border-radius:6px;margin-bottom:3px;display:block;border-left:3px solid transparent}
.vod-cat-list li:hover{background:rgba(201,162,39,.08);color:#fff}
.vod-cat-list li.active{background:linear-gradient(90deg,var(--red),rgba(229,9,20,.7));color:#fff;font-weight:700;border-left-color:var(--gold)}
.vod-cat-list li .cnt{float:right;font-size:10px;opacity:.85;background:rgba(0,0,0,.3);padding:2px 8px;border-radius:10px;color:var(--green)}

.vod-main{background:var(--black);display:flex;flex-direction:column;min-height:0;overflow:hidden}
.vod-topbar{display:flex;align-items:center;justify-content:space-between;padding:10px 24px;border-bottom:1px solid var(--border);flex-shrink:0;background:#000}
.vod-topbar .action-hint{padding:0;border:none;font-size:11px;border:none}
.vod-clock{font-size:17px;font-weight:800;color:var(--gold-light);letter-spacing:1px}

/* Netflix hero banner */
.vod-hero{
  position:relative;flex-shrink:0;height:min(28vh,260px);margin:0 16px 0;border-radius:12px 12px 0 0;
  overflow:hidden;border:1px solid rgba(201,162,39,.25);border-bottom:none;
}
.vod-hero-media{position:absolute;inset:0;overflow:hidden}
.vod-hero-bg{
  position:absolute;inset:0;background:linear-gradient(135deg,#1a1a1a,#0d0d0d) center/cover;
  filter:brightness(.62);transition:opacity .55s ease, transform 10s ease, filter .45s ease;
  transform:scale(1.04);
}
.vod-hero-trailer{
  position:absolute;inset:0;z-index:1;pointer-events:none;overflow:hidden;
  background:#000;
}
.vod-hero-trailer iframe{
  position:absolute;left:50%;top:50%;width:180%;height:180%;
  transform:translate(-50%,-50%);border:0;
}
.vod-hero.has-trailer .vod-hero-bg.has-img{filter:brightness(.35);transform:scale(1.08)}
.vod-hero-bg.hero-fade{opacity:.15}
.vod-hero-bg.has-img{background-size:cover;background-position:center 20%}
.vod-hero.has-img:not(.has-trailer) .vod-hero-bg.has-img{animation:vodHeroKenBurns 14s ease-in-out infinite alternate}
@keyframes vodHeroKenBurns{
  from{transform:scale(1.04)}
  to{transform:scale(1.1)}
}
.vod-hero:hover .vod-hero-bg.has-img{transform:scale(1.08)}
.vod-hero-dots{
  position:absolute;bottom:10px;right:16px;z-index:4;display:flex;gap:6px;
}
.vod-hero-dots span{
  width:7px;height:7px;border-radius:50%;background:rgba(255,255,255,.35);transition:.25s;
}
.vod-hero-dots span.active{background:var(--gold);box-shadow:0 0 8px var(--gold);width:18px;border-radius:4px}
.vod-hero::after{
  content:'';position:absolute;inset:0;z-index:2;
  background:linear-gradient(90deg,rgba(0,0,0,.92) 0%,rgba(0,0,0,.45) 55%,rgba(0,0,0,.15) 100%);
  pointer-events:none;
}
.vod-hero-content{position:relative;z-index:3;height:100%;display:flex;flex-direction:column;justify-content:flex-end;padding:18px 24px;max-width:62%}
.vod-hero-tag{font-size:10px;text-transform:uppercase;letter-spacing:2px;color:var(--green);font-weight:800;margin-bottom:6px}
.vod-hero-tag.is-new{color:var(--gold-light)}
.vod-hero-content h2{font-family:'Bebas Neue',sans-serif;font-size:clamp(22px,3.2vw,36px);letter-spacing:1px;line-height:1.05;margin-bottom:6px;text-shadow:0 2px 12px rgba(0,0,0,.8)}
html.native-tv .vod-hero{height:min(32vh,300px);margin:0 14px 0;border-radius:14px 14px 0 0}
html.native-tv .vod-hero-content h2{font-size:clamp(26px,3.6vw,42px)}
html.native-tv .vod-hero-tag{font-size:calc(12px * var(--tv-font-ui-mul,1))}
html.native-tv .vod-hero-meta{font-size:calc(14px * var(--tv-font-ui-mul,1))}
.vod-hero-meta{font-size:12px;color:var(--grey-light);margin-bottom:10px}
.btn-hero-play{
  align-self:flex-start;padding:10px 24px;background:linear-gradient(135deg,var(--gold),var(--gold-light));
  border:none;color:#000;font-size:13px;font-weight:900;cursor:pointer;border-radius:6px;
  box-shadow:0 4px 16px rgba(201,162,39,.35);letter-spacing:.3px;
}
.btn-hero-play:hover{filter:brightness(1.08)}

.vod-content-panel{flex:1;min-height:0;display:flex;flex-direction:column;overflow:hidden;background:#000}
.vod-header{display:flex;align-items:baseline;gap:12px;padding:10px 20px 8px;flex-shrink:0;border-bottom:1px solid var(--border);background:#000}
.vod-header h2{font-size:18px;font-weight:800;color:var(--white)}
.vod-header h2::after{content:'';display:block;width:40px;height:2px;background:var(--gold);margin-top:4px}
.vod-count{font-size:12px;color:var(--green);font-weight:600}

.vod-body{flex:1;min-height:0;overflow-y:auto;overflow-x:hidden;scroll-behavior:smooth;background:#000}

.poster-grid{
  display:grid;
  grid-template-columns:repeat(6,minmax(0,1fr));
  grid-auto-rows:min-content;
  grid-auto-flow:row;
  gap:16px 14px;
  padding:14px 20px 28px;
  width:100%;
  outline:none;
  align-content:start;
  align-items:start;
  background:#000;
}
@media(min-width:1920px){.poster-grid{grid-template-columns:repeat(7,minmax(0,1fr))}}
@media(min-width:2560px){.poster-grid{grid-template-columns:repeat(8,minmax(0,1fr))}}
@media(min-width:3840px){.poster-grid{grid-template-columns:repeat(9,minmax(0,1fr));gap:18px 16px}}
@media(max-width:1500px){.poster-grid{grid-template-columns:repeat(5,minmax(0,1fr))}}
@media(max-width:1280px){.poster-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}

.poster-card{
  display:flex;flex-direction:column;width:100%;min-width:0;height:auto;
  border-radius:10px;overflow:hidden;cursor:pointer;
  transition:border-color .15s,box-shadow .15s;
  border:2px solid transparent;position:relative;background:#0a0a0a;
}
.poster-scroll-hint{text-align:center;padding:10px;color:var(--grey);font-size:12px;border-top:1px solid var(--border);flex-shrink:0;background:var(--bg2)}
.poster-scroll-hint b{color:var(--gold)}
.poster-card:hover,.poster-card.focused{border-color:var(--gold);box-shadow:0 0 0 2px var(--gold),0 6px 20px rgba(201,162,39,.2);transform:none}
.poster-card.playing{border-color:var(--gold);box-shadow:0 0 0 2px var(--gold),0 8px 24px rgba(201,162,39,.3)}

.poster-cover{
  position:relative;display:block;width:100%;flex:none;
  aspect-ratio:2/3;height:auto;background:var(--bg2);overflow:hidden;
}
.poster-cover img{
  position:absolute;inset:0;width:100%;height:100%;
  object-fit:cover;object-position:center top;display:block;
}
.poster-letter{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;font-size:clamp(28px,4vw,48px);font-weight:900;color:rgba(201,162,39,.15);background:linear-gradient(160deg,#1a1a1a,#0d0d0d);pointer-events:none}
.poster-cover.has-img .poster-letter{display:none}
.poster-name{
  flex:none;padding:10px 8px;font-size:12px;font-weight:700;line-height:1.3;
  text-align:center;color:var(--white);background:#000;
  border-top:1px solid rgba(255,255,255,.08);
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:42px;
}
.poster-ep-badge{position:absolute;top:6px;right:6px;background:rgba(34,197,94,.92);color:#000;font-size:9px;font-weight:800;padding:3px 7px;border-radius:5px;z-index:2}
.poster-new-badge{position:absolute;top:6px;left:6px;background:linear-gradient(135deg,var(--red),var(--gold));color:#fff;font-size:8px;font-weight:800;padding:3px 6px;border-radius:4px;z-index:2;text-transform:uppercase;letter-spacing:.5px}

#series-list-panel{flex:1;min-height:0;display:flex;flex-direction:column;overflow:hidden}
#movie-content-panel{flex:1;min-height:0;display:flex;flex-direction:column;overflow:hidden}

/* SÉRIE detail */
.series-detail{flex:1;min-height:0;display:flex;flex-direction:column;overflow:hidden}
.series-detail-bar{padding:10px 20px;border-bottom:1px solid var(--border);flex-shrink:0}
.btn-back{background:var(--bg3);border:1px solid var(--border);color:#fff;padding:10px 18px;border-radius:6px;cursor:pointer;font-size:13px;font-weight:600}
.btn-back:hover{border-color:var(--gold);background:var(--red)}
.series-hero{display:flex;gap:24px;padding:20px 24px;border-bottom:1px solid var(--border);flex-shrink:0;background:linear-gradient(180deg,var(--bg2),var(--black))}
.series-hero-poster{width:140px;flex-shrink:0;aspect-ratio:2/3;border-radius:10px;overflow:hidden;background:var(--bg3);position:relative;border:2px solid rgba(201,162,39,.3)}
.series-hero-poster img{width:100%;height:100%;object-fit:cover;display:block}
.series-hero-info{flex:1;min-width:0;display:flex;flex-direction:column;justify-content:center;gap:8px}
.series-hero-info h2{font-family:'Bebas Neue',sans-serif;font-size:28px;letter-spacing:1px}
.series-hero-info p{color:var(--grey-light);font-size:13px;line-height:1.5;max-height:60px;overflow:hidden;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical}
.sd-meta{font-size:12px;color:var(--green);font-weight:600}
.series-detail-body{flex:1;min-height:0;display:grid;grid-template-columns:200px 1fr;overflow:hidden}
.season-sidebar{background:var(--bg);border-right:1px solid var(--border);display:flex;flex-direction:column;min-height:0;overflow:hidden}
.season-sidebar-title{padding:14px 16px;font-size:10px;text-transform:uppercase;letter-spacing:1px;color:var(--gold);font-weight:700;flex-shrink:0}
.season-list{list-style:none;overflow-y:auto;flex:1;padding:0 10px 12px}
.season-list li{padding:12px 14px;margin-bottom:4px;border-radius:6px;cursor:pointer;font-size:13px;font-weight:600;color:var(--grey-light);display:flex;justify-content:space-between;align-items:center;border-left:3px solid transparent}
.season-list li:hover{background:rgba(201,162,39,.08);color:#fff}
.season-list li.active{background:var(--red);color:#fff;border-left:3px solid var(--gold)}
.season-list li.focused:not(.active){background:rgba(201,162,39,.14);color:#fff;border-left:3px solid var(--gold)}
.season-list li .s-cnt{font-size:11px;color:var(--green)}
.episodes-panel{display:flex;flex-direction:column;min-height:0;overflow:hidden;background:var(--black)}
.episodes-header{padding:14px 20px;font-size:14px;font-weight:700;border-bottom:1px solid var(--border);flex-shrink:0;color:var(--gold-light)}
.episodes-grid{flex:1;overflow-y:auto;padding:16px 20px 24px;display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:10px;align-content:start}
.ep-card{display:flex;align-items:center;gap:12px;padding:12px 14px;background:var(--bg3);border:1px solid var(--border);border-radius:8px;cursor:pointer;transition:.12s;border-left:3px solid transparent}
.ep-card:hover,.ep-card.focused{background:var(--red);border-color:var(--gold);border-left-color:var(--gold)}
.ep-num{width:44px;height:44px;flex-shrink:0;border-radius:8px;background:rgba(0,0,0,.35);display:flex;align-items:center;justify-content:center;font-size:13px;font-weight:800;color:var(--gold)}
.ep-info{flex:1;min-width:0}
.ep-info .ep-label{font-size:13px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ep-info .ep-sub{font-size:11px;color:var(--grey);margin-top:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ep-card:hover .ep-sub{color:rgba(255,255,255,.75)}
.ep-play{font-size:16px;opacity:.7;flex-shrink:0}

.focusable:focus,.poster-card.focused{outline:2px solid var(--gold);outline-offset:2px}
.live-cat-list li.focused:not(.active){background:rgba(201,162,39,.12);color:#fff;border-left-color:var(--gold)}
.vod-cat-list li.focused,.live-cat-list li.focused{background:var(--red);border-left-color:var(--gold)}
.icon-btn:focus{outline:2px solid var(--gold);outline-offset:2px}
.icon-btn.nav-focused{
  outline:3px solid var(--gold);
  outline-offset:2px;
  background:rgba(229,9,20,.35)!important;
  color:#fff!important;
  box-shadow:0 0 0 1px var(--gold),0 0 18px rgba(229,9,20,.45);
}
.icon-btn.nav-focused .ib-label{color:#fff!important}

.vod-empty{grid-column:1/-1;text-align:center;color:var(--grey);padding:48px;font-size:15px}
.poster-grid .load-more-btn{grid-column:1/-1}

#player-overlay{position:absolute;inset:0;background:#000;z-index:500}
#player-fs{width:100%;height:100%;object-fit:contain;background:#000;display:block}
html.native-tv #player-overlay:not(.hidden){
  position:fixed!important;
  inset:0!important;
  width:100%!important;
  height:100%!important;
  z-index:800!important;
  background:#000!important;
}
html.native-tv #player-fs{
  position:absolute!important;
  inset:0!important;
  width:100%!important;
  height:100%!important;
  max-width:100%!important;
  max-height:100%!important;
  object-fit:contain!important;
  background:#000!important;
  z-index:1!important;
}
#player-info{position:absolute;bottom:120px;left:24px;pointer-events:none;z-index:2}
#player-overlay.vod-playback #player-info{display:none!important}
#player-overlay.vod-playback #vod-controls{display:none!important}
.vod-controls{
  display:none!important;
  position:absolute;left:0;right:0;bottom:0;z-index:6;
  padding:14px 20px 18px;background:linear-gradient(transparent,rgba(0,0,0,.92));
  pointer-events:auto;
}
.vod-controls-row{display:flex;align-items:center;gap:10px;margin-bottom:10px;flex-wrap:wrap}
.vod-ctrl-btn{
  padding:10px 16px;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.2);
  color:#fff;font-size:14px;font-weight:700;border-radius:8px;cursor:pointer;
}
.vod-ctrl-btn:hover,.vod-ctrl-btn:focus{background:rgba(229,9,20,.85);border-color:var(--gold)}
.vod-time{margin-left:auto;font-size:14px;font-weight:600;color:#eee;font-variant-numeric:tabular-nums}
.vod-scrubber{
  width:100%;height:8px;cursor:pointer;accent-color:var(--red);
  -webkit-appearance:none;appearance:none;background:rgba(255,255,255,.15);border-radius:4px;
}
.vod-scrubber::-webkit-slider-thumb{
  -webkit-appearance:none;width:18px;height:18px;border-radius:50%;
  background:var(--red);border:2px solid var(--gold);margin-top:-5px;
}
html.native-tv #player-overlay.vod-playback #player-close,
html.native-tv #player-overlay.vod-playback #player-fav,
html.native-tv #player-overlay.vod-playback #btn-unmute{display:none!important}
html.native-tv .vod-controls{padding:18px 28px 24px}
html.native-tv .vod-ctrl-btn{font-size:17px;padding:12px 20px;min-width:88px}
html.native-tv .vod-time{font-size:17px}
html.native-tv .vod-scrubber{height:10px}
html.native-tv #player-info{bottom:140px}
#player-close{position:absolute;top:16px;right:16px;background:var(--red);border:1px solid var(--gold);color:#fff;width:44px;height:44px;border-radius:6px;font-size:16px;cursor:pointer}
#player-fav{position:absolute;top:16px;right:68px;background:var(--bg3);border:1px solid var(--border);color:#fff;width:44px;height:44px;border-radius:6px;font-size:20px;line-height:1;cursor:pointer;transition:color .15s,border-color .15s}
#btn-unmute{position:absolute;top:16px;right:120px;background:var(--bg3);border:1px solid var(--gold);color:#fff;width:44px;height:44px;border-radius:6px;font-size:16px;cursor:pointer}

#series-modal{position:absolute;inset:0;background:rgba(0,0,0,.92);z-index:450;display:flex;align-items:center;justify-content:center}
.modal-box{background:var(--bg2);border:1px solid rgba(201,162,39,.3);padding:28px;width:560px;max-height:80vh;overflow-y:auto;position:relative;border-radius:12px}
.modal-close{position:absolute;top:12px;right:12px;background:var(--red);border:none;color:#fff;width:32px;height:32px;border-radius:6px;cursor:pointer}
#series-title{font-family:'Bebas Neue',sans-serif;font-size:22px;letter-spacing:1px}
#series-plot{color:var(--grey);font-size:13px;margin-bottom:16px;line-height:1.5}
.ep-item{padding:11px 14px;background:var(--bg3);border:1px solid var(--border);margin-bottom:6px;cursor:pointer;display:flex;justify-content:space-between;font-size:13px;border-radius:6px}
.ep-item:hover{background:var(--red);border-color:var(--gold)}

::-webkit-scrollbar{width:5px}
::-webkit-scrollbar-thumb{background:linear-gradient(var(--red),var(--gold));border-radius:3px}

/* ── FEATURES PREMIUM ── */
.expire-banner{background:linear-gradient(90deg,var(--red),#900);color:#fff;text-align:center;padding:8px 16px;font-size:12px;font-weight:700;flex-shrink:0}
.profile-picker{display:none!important}
.sports-prog-view.active{display:grid;grid-template-columns:var(--col-cat) 1fr;height:100%;overflow:hidden}
.sports-prog-main{display:flex;flex-direction:column;min-height:0;overflow:hidden;background:var(--black);padding:0 16px 16px}
.sports-prog-head{display:flex;align-items:flex-start;justify-content:space-between;padding:14px 4px 10px;border-bottom:1px solid var(--border);flex-shrink:0}
.sports-prog-head h2{font-size:20px;font-weight:800;color:var(--gold-light);margin:0 0 4px}
.sports-prog-banners{flex-shrink:0;padding:12px 0 8px;overflow:hidden}
.sports-prog-banners-row{display:flex;gap:12px;overflow-x:auto;padding-bottom:6px;scroll-behavior:smooth}
.sports-prog-banner{
  flex:0 0 min(320px,78vw);height:168px;border:none;border-radius:12px;overflow:hidden;position:relative;
  cursor:pointer;background:var(--bg3);padding:0;text-align:left;
}
.sports-prog-banner.is-live{box-shadow:0 0 0 2px var(--green)}
.sports-prog-banner-img{width:100%;height:100%;object-fit:cover;display:block}
.sports-prog-banner-fallback{width:100%;height:100%;display:flex;align-items:center;justify-content:center;font-size:28px;color:var(--gold);background:linear-gradient(135deg,#1a1a1a,#0a0a0a)}
.sports-prog-banner-overlay{
  position:absolute;inset:0;background:linear-gradient(transparent 25%,rgba(0,0,0,.92));
  display:flex;flex-direction:column;justify-content:flex-end;padding:12px 14px;gap:3px;
}
.sports-prog-banner-cat{font-size:11px;color:var(--gold);font-weight:700;text-transform:uppercase}
.sports-prog-banner-title{font-size:15px;font-weight:800;color:#fff;line-height:1.2}
.sports-prog-banner-meta{font-size:11px;color:var(--grey-light)}
.sports-prog-list{flex:1;min-height:0;overflow-y:auto;padding:8px 0;display:flex;flex-direction:column;gap:8px}
.sports-prog-row{
  display:flex;gap:12px;width:100%;text-align:left;border:1px solid var(--border);border-radius:10px;
  background:var(--bg2);padding:12px 14px;cursor:pointer;color:#fff;transition:border-color .15s;
}
.sports-prog-row:hover,.sports-prog-row:focus{border-color:var(--gold);outline:none}
.sports-prog-row.no-channel{opacity:.72}
.sports-prog-row-time{flex:0 0 72px;display:flex;flex-direction:column;gap:3px}
.sports-prog-date{font-size:11px;color:var(--grey)}
.sports-prog-time{font-size:16px;font-weight:800;color:var(--gold-light)}
.sports-prog-status{font-size:10px;font-weight:700;text-transform:uppercase}
.sports-prog-status.live{color:var(--green)}
.sports-prog-status.upcoming{color:var(--gold)}
.sports-prog-row-body{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}
.sports-prog-row-cat{font-size:11px;color:var(--gold)}
.sports-prog-row-title{font-size:15px;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sports-prog-row-league,.sports-prog-row-ch{font-size:12px;color:var(--grey-light);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sports-prog-empty{text-align:center;color:var(--grey-light);padding:40px 16px;font-size:15px;line-height:1.5}
.sports-prog-error{
  padding:16px 18px;margin-bottom:12px;border:1px solid rgba(201,162,39,.45);
  border-radius:10px;background:rgba(201,162,39,.08);color:var(--gold-light);font-size:14px;line-height:1.45;
}
.sports-prog-error strong{color:#fff;font-weight:800}
html.native-tv .sports-prog-banner{flex:0 0 min(380px,42vw);height:200px}
html.native-tv .sports-prog-row{padding:16px 18px}
html.native-tv .sports-prog-row-title{font-size:18px}
html.native-tv .sports-prog-time{font-size:18px}

.continue-poster-card .continue-poster-pct{font-size:11px;color:var(--gold);margin-top:2px}
.continue-poster-progress{position:absolute;left:0;right:0;bottom:0;height:4px;background:rgba(255,255,255,.12)}
.continue-poster-fill{height:100%;background:var(--gold);border-radius:0 2px 2px 0}
.continue-view .vod-main{padding:0 16px 16px}
.continue-main .vod-content-panel{padding-top:8px}
.continue-view.active{grid-template-columns:1fr!important}
.ch-logo{width:22px;height:22px;object-fit:contain;border-radius:4px;flex-shrink:0}
.ch-logo-sm{width:32px;height:32px;object-fit:contain;border-radius:4px;flex-shrink:0}
.ch-fav-btn{background:transparent;border:none;color:#fff;cursor:pointer;font-size:21px;line-height:1;padding:2px 8px;margin-left:auto;flex-shrink:0;transition:color .15s,transform .15s}
.ch-fav-btn:hover{color:var(--gold-light)}
.ch-fav-btn.active{color:var(--gold);text-shadow:0 0 8px rgba(201,162,39,.45)}
.search-tabs{display:flex;gap:8px;padding:0 24px 12px;max-width:900px;margin:0 auto}
.search-tabs button{padding:8px 16px;border-radius:20px;border:1px solid var(--border);background:var(--bg3);color:var(--grey-light);cursor:pointer;font-size:12px;font-weight:600}
.search-tabs button.active{background:var(--red);border-color:var(--red);color:#fff}
.search-results{max-width:900px;margin:0 auto;padding:0 24px 24px;max-height:60vh;overflow-y:auto}
.search-section-title{font-size:13px;color:var(--gold);margin:16px 0 8px;text-transform:uppercase;letter-spacing:.8px}
.search-result-row{display:flex;align-items:center;gap:12px;width:100%;padding:12px 14px;background:var(--bg3);border:1px solid var(--border);border-radius:8px;margin-bottom:6px;cursor:pointer;color:#fff;text-align:left;transition:.12s}
.search-result-row:hover{border-color:var(--gold);background:rgba(201,162,39,.08)}
.search-result-row span{flex:1;font-size:14px;font-weight:500}
.search-result-row small{color:var(--grey);font-size:11px}
.search-empty{color:var(--grey);text-align:center;padding:32px}
.search-box-advanced{margin-bottom:12px}
.z10-toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%) translateY(80px);background:rgba(229,9,20,.95);color:#fff;padding:12px 24px;border-radius:10px;font-size:13px;font-weight:600;z-index:9999;opacity:0;transition:.3s;pointer-events:none;box-shadow:0 8px 32px rgba(0,0,0,.5)}
.z10-toast.show{opacity:1;transform:translateX(-50%) translateY(0)}
#btn-next-ep{position:absolute;top:16px;right:172px;background:var(--bg3);border:1px solid var(--gold);color:#fff;width:44px;height:44px;border-radius:6px;font-size:16px;cursor:pointer}
#player-fav.active{color:var(--gold);border-color:var(--gold)}
.brand-logo-shine.brand-custom::after{display:none}
.brand-logo-shine.brand-custom::before{display:none}

/* Fundo personalizado do revendedor — área principal (canais, filmes, player) */
body.has-brand-bg #login-screen::before{
  content:'';position:absolute;inset:0;z-index:0;pointer-events:none;
  background-image:linear-gradient(rgba(0,0,0,.55),rgba(0,0,0,.82)),var(--brand-bg-image);
  background-size:cover;background-position:center;
}
body.has-brand-bg #login-screen{position:relative;z-index:1}
body.has-brand-bg #login-screen .login-bg{background:transparent!important}

body.has-brand-bg #app{position:relative;z-index:1}
body.has-brand-bg .icon-bar{background:rgba(0,0,0,.94);z-index:5}

body.has-brand-bg .app-shell{position:relative}
body.has-brand-bg .app-shell::before{
  content:'';position:absolute;inset:0;z-index:0;pointer-events:none;
  background-image:linear-gradient(rgba(0,0,0,.45),rgba(0,0,0,.68)),var(--brand-bg-image);
  background-size:cover;background-position:center center;
  background-repeat:no-repeat;
}
body.has-brand-color.has-brand-bg .app-shell::before{
  background-image:linear-gradient(color-mix(in srgb,var(--brand-bg-color) 55%,transparent),color-mix(in srgb,var(--brand-bg-color) 78%,transparent)),var(--brand-bg-image);
}
body.has-brand-color #login-screen::before{
  background-image:linear-gradient(color-mix(in srgb,var(--brand-bg-color) 50%,transparent),color-mix(in srgb,var(--brand-bg-color) 82%,transparent)),var(--brand-bg-image);
}
body.has-brand-color:not(.has-brand-bg) #login-screen{
  background:var(--brand-bg-color);
}
body.has-brand-color:not(.has-brand-bg) .login-bg{
  background:linear-gradient(rgba(0,0,0,.35),rgba(0,0,0,.65)),var(--brand-bg-color)!important;
}

/* Cor de base do revendedor — substitui preto fixo (#000) */
body.has-brand-color{
  --tv-surround:var(--brand-bg-color);
}
body.has-brand-color #login-screen,
body.has-brand-color #store-legal-screen,
body.has-brand-color #loading-screen{
  background:var(--brand-bg-color)!important;
}
body.has-brand-color .app-shell{
  background:var(--bg);
}
body.has-brand-color .live-cat-sidebar,
body.has-brand-color .live-ch-panel,
body.has-brand-color .vod-sidebar,
body.has-brand-color .fav-sidebar,
body.has-brand-color .jogos-sidebar,
body.has-brand-color .live-main,
body.has-brand-color .vod-main,
body.has-brand-color .live-center-col,
body.has-brand-color .live-body,
body.has-brand-color .vod-body,
body.has-brand-color .vod-content-panel,
body.has-brand-color .poster-grid,
body.has-brand-color .live-topbar,
body.has-brand-color .live-ch-head,
body.has-brand-color .vod-topbar,
body.has-brand-color .vod-header,
body.has-brand-color .profile-picker,
body.has-brand-color .live-ch-scroll,
body.has-brand-color .col-center,
body.has-brand-color .channel-info-bar,
body.has-brand-color .episodes-panel,
body.has-brand-color .sports-prog-main,
body.has-brand-color .col-datetime,
body.has-brand-color .season-sidebar{
  background:var(--bg)!important;
}
body.has-brand-color.has-brand-bg .live-cat-sidebar,
body.has-brand-color.has-brand-bg .live-ch-panel,
body.has-brand-color.has-brand-bg .vod-sidebar,
body.has-brand-color.has-brand-bg .fav-sidebar,
body.has-brand-color.has-brand-bg .jogos-sidebar,
body.has-brand-color.has-brand-bg .live-main,
body.has-brand-color.has-brand-bg .vod-main,
body.has-brand-color.has-brand-bg .live-center-col,
body.has-brand-color.has-brand-bg .live-body,
body.has-brand-color.has-brand-bg .vod-body,
body.has-brand-color.has-brand-bg .vod-content-panel,
body.has-brand-color.has-brand-bg .poster-grid,
body.has-brand-color.has-brand-bg .live-topbar,
body.has-brand-color.has-brand-bg .live-ch-head,
body.has-brand-color.has-brand-bg .vod-topbar,
body.has-brand-color.has-brand-bg .vod-header,
body.has-brand-color.has-brand-bg .profile-picker{
  background:var(--bg)!important;
}
html.native-tv body.has-brand-color,
html.native-tv body.has-brand-color #tv-viewport,
html.native-tv body.has-brand-color #tv-scaler,
html.native-tv body.has-brand-color #tv-stage,
html.native-tv.edge-fill body.has-brand-color #tv-viewport,
html.native-tv.edge-fill body.has-brand-color #tv-scaler,
html.native-tv.edge-fill body.has-brand-color #tv-stage{
  background:var(--brand-bg-color)!important;
}
html.native-tv body.has-brand-color .live-cat-sidebar,
html.native-tv body.has-brand-color .vod-sidebar,
html.native-tv body.has-brand-color .live-ch-panel,
html.native-tv body.has-brand-color .live-body,
html.native-tv body.has-brand-color .live-main,
html.native-tv body.has-brand-color .vod-main,
html.native-tv body.has-brand-color .vod-body,
html.native-tv body.has-brand-color .poster-grid,
html.native-tv body.has-brand-color .live-topbar,
html.native-tv body.has-brand-color .vod-topbar,
html.native-tv body.has-brand-color .live-ch-head,
html.native-tv body.has-brand-color .vod-header,
html.native-tv body.has-brand-color .live-ch-scroll{
  background:var(--bg)!important;
}
body.has-brand-color .player-frame video,
body.has-brand-color #player-fs,
body.has-brand-color .live-player.player-frame,
body.has-brand-color #player-box,
body.has-brand-color #fav-player-box,
body.has-brand-color #jogos-player-box,
body.has-brand-color #player-overlay{
  background:#000!important;
}

body.has-brand-bg .app-shell > *{position:relative;z-index:1}

body.has-brand-bg .live-cat-sidebar,
body.has-brand-bg .live-ch-panel,
body.has-brand-bg .vod-sidebar,
body.has-brand-bg .fav-sidebar,
body.has-brand-bg .jogos-sidebar{
  background:#000!important;
  backdrop-filter:none;
}
body.has-brand-bg .live-main,
body.has-brand-bg .vod-main,
body.has-brand-bg .live-center-col,
body.has-brand-bg .live-body,
body.has-brand-bg .vod-body,
body.has-brand-bg .vod-content-panel,
body.has-brand-bg .poster-grid{
  background:#000!important;
}
body.has-brand-bg .live-topbar,
body.has-brand-bg .live-ch-head,
body.has-brand-bg .vod-topbar,
body.has-brand-bg .vod-header,
body.has-brand-bg .profile-picker{
  background:#000!important;
}
body.has-brand-bg .live-player.player-frame,
body.has-brand-bg #player-box,
body.has-brand-bg #fav-player-box,
body.has-brand-bg #jogos-player-box{
  background:rgba(0,0,0,.88)!important;
}
body.has-brand-bg .live-epg-bottom,
body.has-brand-bg .epg-box{
  background:rgba(10,10,10,.82)!important;
}

/* DVR Replay — barra discreta */
.live-epg-wrap{flex:0 0 auto;flex-shrink:0;min-height:0;display:flex;flex-direction:column}
.live-body.dvr-mode .live-center-col{min-height:0}
.dvr-replay-panel{
  flex:1;display:flex;flex-direction:column;min-height:0;
  background:linear-gradient(180deg,rgba(12,12,16,.98),rgba(8,8,10,.99));
  border-top:1px solid rgba(255,255,255,.06);
  padding:8px 12px 6px;gap:6px;overflow:hidden;
}
.dvr-bottom-bar{
  flex-shrink:0;margin-top:auto;padding:4px 0 2px;touch-action:none;
}
.dvr-replay-head{display:flex;align-items:center;justify-content:space-between;gap:8px}
.dvr-replay-title h3{font-size:13px;color:#ccc;font-weight:600;margin:0}
.dvr-replay-head-actions{display:flex;gap:4px}
.dvr-replay-status{font-size:10px;color:#888;padding:2px 6px;border-radius:4px}
.dvr-replay-status.ok{color:#22c55e}.dvr-replay-status.warn{color:#b8956a}
.dvr-day-tabs{display:flex;gap:4px}
.dvr-day-tab{
  padding:4px 10px;border-radius:14px;border:1px solid transparent;
  background:transparent;color:#666;font-size:10px;font-weight:600;cursor:pointer;
}
.dvr-day-tab.active{background:rgba(255,255,255,.06);border-color:rgba(255,255,255,.1);color:#aaa}
.dvr-time-display{display:flex;align-items:center;gap:10px;margin-bottom:6px;min-height:16px}
#dvr-cursor-time{font-family:ui-monospace,monospace;font-size:11px;color:#888;font-weight:600}
#dvr-cursor-prog{font-size:11px;color:#555;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.dvr-timeline-wrap{position:relative;padding-top:12px;touch-action:none}
.dvr-timeline-ruler{position:relative;height:10px;margin-bottom:2px;pointer-events:none}
.dvr-ruler-mark{position:absolute;top:0;font-size:8px;color:#444;transform:translateX(-50%)}
.dvr-timeline-track{
  position:relative;height:28px;background:rgba(255,255,255,.03);
  border-radius:6px;overflow:hidden;cursor:grab;touch-action:none;
}
.dvr-timeline-track.dragging{cursor:grabbing;background:rgba(255,255,255,.05)}
.dvr-timeline-blocks{position:absolute;inset:2px;border-radius:4px;overflow:hidden}
.dvr-block{
  position:absolute;top:0;bottom:0;min-width:2px;
  background:rgba(201,162,39,.22);border:none;border-radius:2px;cursor:pointer;padding:0;
  transition:background .15s;
}
.dvr-block:hover,.dvr-block:focus{background:rgba(201,162,39,.42);z-index:2}
.dvr-timeline-playhead{
  position:absolute;top:0;bottom:0;width:2px;background:#e50914;
  pointer-events:none;z-index:4;transform:translateX(-1px);opacity:.85;
}
.dvr-scrubber{
  width:100%;margin-top:6px;height:4px;cursor:pointer;
  -webkit-appearance:none;appearance:none;background:transparent;opacity:.7;
}
.dvr-scrubber::-webkit-slider-runnable-track{
  height:4px;border-radius:2px;background:rgba(255,255,255,.08);
}
.dvr-scrubber::-webkit-slider-thumb{
  -webkit-appearance:none;width:10px;height:10px;border-radius:50%;
  background:#888;border:none;margin-top:-3px;
}
.dvr-scrubber::-moz-range-track{height:4px;border-radius:2px;background:rgba(255,255,255,.08)}
.dvr-scrubber::-moz-range-thumb{width:10px;height:10px;border-radius:50%;background:#888;border:none}
.dvr-controls{display:flex;align-items:center;gap:6px;padding:0}
.dvr-btn{
  padding:4px 8px;border-radius:6px;border:1px solid rgba(255,255,255,.08);
  background:transparent;color:#666;font-size:11px;cursor:pointer;
}
.dvr-btn-icon{min-width:32px;padding:4px 6px;font-size:12px}
.dvr-btn-play{min-width:36px;background:rgba(201,162,39,.15);color:#c9a227;border-color:rgba(201,162,39,.25)}
.dvr-btn-ghost{border:none;color:#666;font-size:10px;padding:4px 6px}
.dvr-btn-ghost:hover{color:#aaa}
.dvr-datetime{
  margin-left:auto;padding:3px 6px;border-radius:4px;border:1px solid rgba(255,255,255,.08);
  background:transparent;color:#555;font-size:10px;
}
.dvr-datetime:focus{border-color:rgba(255,255,255,.15);color:#888;outline:none}

/* TV real — preenchimento total da tela (LG, Samsung, etc.) */
html.native-tv,
html.native-tv body{
  width:100vw!important;
  height:100vh!important;
  max-width:none!important;
  max-height:none!important;
  margin:0!important;
  padding:0!important;
  overflow:hidden!important;
  background:#000!important;
}
html.native-tv.edge-fill #tv-viewport{
  position:fixed!important;
  inset:0!important;
  display:block!important;
  padding:0!important;
  margin:0!important;
  width:100vw!important;
  height:100vh!important;
  background:#000!important;
  overflow:hidden!important;
}
html.native-tv.edge-fill #tv-scaler{
  position:relative!important;
  box-shadow:none!important;
  background:#000!important;
  overflow:hidden!important;
}
html.native-tv.edge-fill #tv-stage{
  position:absolute!important;
  width:100%!important;
  height:100%!important;
  transform:none!important;
  transform-origin:unset!important;
  background:#000!important;
  overflow:hidden!important;
}
html.native-tv.edge-fill #tv-safe{
  width:100%!important;
  height:100%!important;
  padding:0!important;
  margin:0!important;
  overflow:hidden!important;
  transform:none!important;
  box-sizing:border-box!important;
}
/* TV real — layout fluido (sem scale 1920×1080) */
html.native-tv.native-fluid #tv-viewport,
html.native-tv.native-fluid #tv-scaler,
html.native-tv.native-fluid #tv-stage{
  position:fixed!important;
  inset:0!important;
  left:0!important;
  top:0!important;
  width:100%!important;
  height:100%!important;
  max-width:none!important;
  max-height:none!important;
  transform:none!important;
  transform-origin:unset!important;
}
html.native-tv.native-fluid{
  --tv-safe-top:0;
  --tv-safe-bottom:max(16px,1.5vh);
  --tv-safe-x:0;
}
html.native-tv.native-fluid #tv-safe{
  padding:var(--tv-safe-top) var(--tv-safe-x) var(--tv-safe-bottom) var(--tv-safe-x)!important;
}
html.native-tv{
  --tv-surround:#000;
  --icon-bar-open:228px;
  --icon-bar:var(--icon-bar-open);
  --col-cat:300px;
  --col-ch:340px;
  --col-live-ch:400px;
  --tv-safe-x:0;
  --tv-safe-top:0;
  --tv-safe-bottom:0;
  --epg-h:172px;
  --tv-font-ch-mul:1.32;
  --tv-font-cat-mul:1.26;
  --tv-font-ui-mul:1.20;
  --tv-logo-scale:2.2;
}
html.native-tv #app{
  width:100%;
  height:100%;
  min-height:0;
  min-width:0;
  overflow:hidden;
  --icon-bar:var(--icon-bar-open);
  grid-template-columns:var(--icon-bar-open) minmax(0,1fr)!important;
  transition:none;
}
html.native-tv .icon-bar{
  grid-column:1;
  grid-row:1;
}
html.native-tv .app-shell{
  grid-column:2;
  grid-row:1;
  min-width:0;
  width:100%;
  max-width:100%;
  height:100%;
  overflow:hidden;
}
html.native-tv #app:not(.tv-menu-collapsed) .app-shell,
html.native-tv #app.tv-menu-collapsed .app-shell{
  transform:none;
  filter:none;
  grid-column:2;
  width:100%;
  max-width:100%;
}
html.native-tv #app.tv-menu-collapsed{
  --icon-bar:var(--icon-bar-open);
  grid-template-columns:var(--icon-bar-open) minmax(0,1fr)!important;
}
html.native-tv #app.tv-menu-collapsed .icon-bar{
  transform:none;
  opacity:1;
  visibility:visible;
  pointer-events:auto;
  box-shadow:4px 0 24px rgba(0,0,0,.45);
}
html.native-tv .icon-bar{
  display:flex;
  flex-direction:column;
  width:var(--icon-bar-open);
  min-width:var(--icon-bar-open);
  max-width:var(--icon-bar-open);
  transform:translateX(0);
  opacity:1;
  visibility:visible;
  height:100%;
  min-height:0;
  align-items:center;
  padding-left:0;
  margin-left:0;
  z-index:12;
  box-shadow:4px 0 24px rgba(0,0,0,.45);
}
html.native-tv .icon-bar-rail{
  display:flex!important;
  flex-direction:column;
  flex:1 1 auto;
  min-height:0;
  width:100%;
  overflow:hidden;
}
html.native-tv .icon-bar-stack,
html.native-tv .icon-bar-rail{
  display:flex;
  flex-direction:column;
}
html.native-tv .icon-bar-stack-spacer{display:none!important}
html.native-tv .icon-bar-stack{
  flex:0 0 auto;
  width:100%;
}
html.native-tv .icon-bar-logo{
  order:1;
  flex:0 0 auto;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:0;
  width:100%;
  min-height:calc(108px * var(--tv-logo-scale,2) / 2);
  max-height:none;
  padding:max(12px,1.2vh) 4px max(10px,1vh);
  margin:0;
  border-bottom:none;
  background:transparent;
  overflow:visible;
}
html.native-tv .icon-bar-brand-name{display:none}
html.native-tv .login-box .tv-build-tag{
  display:block!important;
  text-align:center;
  margin:6px 0 0;
  font-size:calc(14px * var(--tv-font-ui-mul,1));
  color:var(--gold);
  font-weight:700;
  letter-spacing:.5px;
  opacity:.9;
}
html.native-tv .icon-bar .tv-build-tag{display:none!important}
html.native-tv .brand-logo-shine-bar{
  width:calc(100% - 8px);
  max-width:calc(200px * var(--tv-logo-scale,2) / 2);
  margin:0 auto;
  display:block;
  line-height:0;
}
html.native-tv .brand-logo-bar{
  width:100%;
  max-width:100%;
  max-height:calc(190px * var(--tv-logo-scale,2.2) / 2);
  height:auto;
  object-fit:contain;
  margin:0 auto;
  display:block;
}
html.native-tv .icon-bar-nav{
  order:2;
  flex:0 1 auto;
  width:100%;
  min-height:0;
  max-height:none;
  overflow-y:auto;
  overflow-x:hidden;
  padding:max(14px,1.4vh) 0 2px;
  gap:2px;
  align-items:center;
  border-top:1px solid rgba(255,255,255,.1);
  margin-top:max(8px,0.8vh);
}
html.native-tv .icon-bar-mid{
  order:3;
  flex:1 1 auto;
  min-height:0;
  width:100%;
  display:flex;
  flex-direction:column;
  overflow:hidden;
}
html.native-tv .icon-bar-search{
  flex:0 0 auto;
  order:1;
  width:100%;
  padding:4px 0 2px;
  border-top:1px solid rgba(255,255,255,.08);
}
html.native-tv .icon-bar-voice{
  flex:0 0 auto;
  order:1;
  width:100%;
  padding:12px 0 8px;
  margin-top:max(8px,0.8vh);
  border-top:1px solid rgba(255,255,255,.08);
}
html.native-tv #btn-voice .ib-label{
  font-size:calc(15px * var(--tv-font-ui-mul,1));
  color:#fff;
  font-weight:800;
}
html.native-tv #btn-voice svg{
  width:calc(40px * var(--tv-font-ui-mul,1));
  height:calc(40px * var(--tv-font-ui-mul,1));
}
html.native-tv .icon-bar-voice .icon-btn{min-height:72px;padding:12px 6px}
html.native-tv #btn-voice.voice-active .ib-label{color:var(--green)!important}
html.native-tv .ib-cinema-deco{
  order:2;
  display:flex!important;
  flex:0 1 auto;
  align-items:center;
  justify-content:center;
  width:calc(100% - 10px);
  max-width:178px;
  height:auto;
  min-height:72px;
  max-height:min(28vh,220px);
  margin:6px auto;
  padding:0;
  pointer-events:none;
  overflow:hidden;
  flex-shrink:1;
}
html.native-tv .ib-cinema-deco::after{display:none}
html.native-tv .ib-cinema-carousel{
  width:calc(100% - 14px);
  max-width:154px;
  height:100%;
  min-height:100px;
  max-height:min(34vh,260px);
  margin:0 auto;
}
html.native-tv .ib-cinema-art{
  width:100%;
  height:100%;
  max-width:100%;
  max-height:100%;
  object-fit:cover;
  object-position:center center;
  border-radius:10px;
  opacity:1;
  box-shadow:0 0 22px rgba(229,9,20,.45),0 4px 28px rgba(0,0,0,.75);
  transition:none;
  transform:none;
}
html.native-tv .icon-bar-lower{
  order:3;
  flex:0 0 auto;
  width:100%;
  margin-top:auto;
  padding:14px 0 max(18px,2vh);
  border-top:1px solid rgba(255,255,255,.08);
  background:transparent;
  align-items:center;
}
html.native-tv .icon-bar-lower .ib-sublabel{display:none!important}
html.native-tv .icon-bar-cats-panel{display:none!important}
html.native-tv .live-view.active{grid-template-columns:var(--col-cat) minmax(0,1fr)!important;width:100%;min-width:0}
html.native-tv .live-main{min-width:0;overflow:hidden;width:100%}
html.native-tv .live-body{grid-template-columns:minmax(0,1fr) var(--col-live-ch)!important;min-width:0;width:100%}
html.native-tv .live-center-col{min-width:0}
html.native-tv .live-ch-panel{
  width:var(--col-live-ch);
  min-width:var(--col-live-ch);
  max-width:var(--col-live-ch);
  flex-shrink:0;
  overflow:hidden;
}
html.native-tv #live-channels{width:100%;box-sizing:border-box}
html.native-tv .fav-view.active,
html.native-tv .jogos-view.active{grid-template-columns:var(--col-cat) minmax(0,1fr)!important;width:100%;min-width:0}
html.native-tv .live-view.live-fs-mode.active{grid-template-columns:1fr!important}
html.native-tv .fav-view.fav-fs-mode.active{grid-template-columns:1fr!important}
html.native-tv .jogos-view.jogos-fs-mode.active{grid-template-columns:1fr!important}
html.native-tv .live-cat-sidebar{
  display:flex!important;
  flex-direction:column;
  min-height:0;
  overflow:hidden;
  padding:10px 0;
  background:#000!important;
  border-right:1px solid var(--border);
}
html.native-tv .vod-sidebar{background:#000!important}
html.native-tv .live-ch-panel{background:#000!important}
html.native-tv .live-body{background:#000}
html.native-tv .live-main{background:#000!important}
html.native-tv .vod-main{background:#000!important}
html.native-tv .vod-body{background:#000!important}
html.native-tv .poster-grid{background:#000!important}
html.native-tv .live-topbar{background:#000!important}
html.native-tv .vod-topbar{background:#000!important}
html.native-tv .live-ch-head{background:#000!important}
html.native-tv .vod-header{background:#000!important}
html.native-tv .live-ch-scroll{background:#000!important}
html.native-tv .live-cat-sidebar .vod-cat-title{
  padding:10px 16px 8px;
  font-size:calc(18px * var(--tv-font-ui-mul,1));
  font-weight:800;
  text-align:center;
}
html.native-tv .live-cat-sidebar .live-cat-list{
  flex:1;
  min-height:0;
  overflow-y:auto;
  padding:0 10px;
}
html.native-tv #tv-viewport{padding:0!important;background:#000!important}
html.native-tv #tv-scaler{box-shadow:none!important;border-radius:0;background:#000}
html.native-tv #tv-safe{
  padding:0!important;
  box-sizing:border-box!important;
}
html.native-tv body.app-open{font-size:calc(20px * var(--tv-ui-scale,1) * var(--tv-font-ui-mul,1))}
.icon-btn[data-view="favorites"] .ib-label{
  font-size:8px;letter-spacing:0;line-height:1.15;max-width:54px;
}
html.native-tv .icon-btn[data-view="favorites"] .ib-label{
  font-size:calc(15px * var(--tv-font-ui-mul,1));max-width:100%;letter-spacing:.2px;font-weight:800;
}
html.native-tv .ib-label{font-size:calc(20px * var(--tv-font-ui-mul,1));letter-spacing:.35px;font-weight:800}
html.native-tv .ib-badge{font-size:calc(13px * var(--tv-font-ui-mul,1))}
html.native-tv .stats-mini{font-size:calc(14px * var(--tv-font-ui-mul,1))}
html.native-tv .icon-btn{
  width:calc(100% - 10px);max-width:196px;min-height:78px;padding:10px 8px;gap:8px;border-radius:12px;
}
html.native-tv .icon-btn svg{width:46px;height:46px}
html.native-tv .icon-bar-lower .icon-btn{width:calc(100% - 10px);max-width:196px;min-height:72px}
html.native-tv .icon-bar-nav{padding:max(10px,1vh) 0 6px;gap:6px}
html.native-tv .icon-btn.nav-focused{
  outline:3px solid var(--gold);
  outline-offset:2px;
  background:rgba(229,9,20,.28);
  color:#fff;
}
html.native-tv .vod-cat-list li,
html.native-tv .live-cat-list li{
  font-size:calc(26px * var(--tv-font-cat-mul,1) * var(--tv-ui-scale,1));
  font-weight:800;
  padding:16px 18px;
}
html.native-tv .vod-cat-title,
html.native-tv .live-panel-title,
html.native-tv .live-cat-sidebar .vod-cat-title{
  font-size:calc(18px * var(--tv-font-ui-mul,1));
  font-weight:800;
  letter-spacing:1px;
}
html.native-tv .vod-cat-title{padding:10px 16px 8px;font-size:calc(18px * var(--tv-font-ui-mul,1))}
html.native-tv .vod-quick li{
  font-size:calc(20px * var(--tv-font-ch-mul,1) * var(--tv-ui-scale,1));
  padding:13px 16px;min-height:52px;
}
html.native-tv .vod-quick{margin-bottom:2px}
html.native-tv .vod-cat-block{
  margin-top:0;
  padding-top:2px;
  flex:1 1 auto;
  min-height:0;
  max-height:none;
}
html.native-tv .ch-list-blessed li{
  font-size:calc(28px * var(--tv-font-ch-mul,1) * var(--tv-ui-scale,1));
  font-weight:800;
  min-height:66px;
  padding:16px 18px;
}
html.native-tv .ch-name-b{font-weight:800}
html.native-tv .live-ch-head{
  font-size:calc(18px * var(--tv-font-ui-mul,1));
  font-weight:800;
  padding:14px 18px;
  text-align:center;
  letter-spacing:1px;
}
html.native-tv .season-sidebar-title{font-size:calc(16px * var(--tv-font-ui-mul,1));padding:16px 18px}
html.native-tv .season-list li{
  font-size:calc(22px * var(--tv-font-ch-mul,1) * var(--tv-ui-scale,1));
  min-height:58px;padding:14px 16px;margin-bottom:6px;
}
html.native-tv .season-list li .s-cnt{font-size:calc(16px * var(--tv-font-ch-mul,1))}
html.native-tv .episodes-header{font-size:calc(22px * var(--tv-font-ch-mul,1));padding:16px 22px}
html.native-tv .ep-card{
  min-height:58px;padding:14px 16px;gap:14px;
}
html.native-tv .ep-num{font-size:calc(20px * var(--tv-font-ch-mul,1));min-width:52px}
html.native-tv .ep-info .ep-label{
  font-size:calc(22px * var(--tv-font-ch-mul,1) * var(--tv-ui-scale,1));
  font-weight:600;
}
html.native-tv .ep-info .ep-sub{font-size:calc(16px * var(--tv-font-ch-mul,1))}
html.native-tv .ep-play{font-size:calc(22px * var(--tv-font-ch-mul,1))}
html.native-tv .ch-fav-btn{font-size:calc(26px * var(--tv-font-ch-mul,1));padding:2px 10px}
html.native-tv .ch-num{font-size:calc(17px * var(--tv-font-ch-mul,1));min-width:44px}
html.native-tv .live-now-block h2{font-size:24px}
html.native-tv .live-epg-title{font-size:16px}
html.native-tv .live-clock-block{gap:12px;align-items:stretch}
html.native-tv .live-clock-datecol{
  padding:6px 12px;
  border-width:2px;
  gap:2px;
}
html.native-tv .live-clock-weekday{
  font-size:calc(15px * var(--tv-font-ui-mul,1));
  color:var(--gold-light);
}
html.native-tv .live-clock-date{
  font-size:calc(14px * var(--tv-font-ui-mul,1));
  color:#e8c547;
}
html.native-tv .live-clock-digital .live-clock-time{
  font-size:calc(36px * var(--tv-font-ui-mul,1));
  color:#fff;
  letter-spacing:2px;
  align-self:stretch;
}
html.native-tv .stat-info strong{font-size:20px}
html.native-tv .stat-info small{font-size:13px}
html.native-tv .epg-timeline li .epg-title{font-size:16px}
html.native-tv .epg-timeline li .epg-time{font-size:14px}
html.native-tv .epg-timeline li .epg-sub{font-size:13px}
html.native-tv .live-fs-hint{font-size:15px;padding:11px 20px}
html.native-tv .fs-zapper-head span:first-child{font-size:15px}
html.native-tv .fs-zapper-now{font-size:15px}
html.native-tv .fs-zapper-cats li{font-size:18px;padding:13px 15px}
html.native-tv .fs-zapper-channels li{font-size:18px;min-height:48px;padding:11px 14px}
html.native-tv .live-player.player-frame video,
html.native-tv #main-player,
html.native-tv #fav-player,
html.native-tv #jogos-player{
  object-fit:cover!important;
  object-position:center center!important;
}
html.native-tv .channel-info-bar span:first-child{font-size:20px}
html.native-tv .now-status{font-size:14px}
html.native-tv .action-hint{font-size:14px}
html.native-tv .tab{font-size:17px;padding:14px 10px}
html.native-tv #login-screen input{font-size:20px;padding:16px 14px;margin-bottom:12px}
html.native-tv #login-screen .btn-red{font-size:20px;padding:16px}
html.native-tv #login-screen .login-legal-footer a{font-size:15px;padding:4px 8px}
html.native-tv .login-box{width:min(520px,88vw);padding-top:22px;padding-bottom:32px}
html.native-tv input{font-size:18px}
html.native-tv .login-brand{margin-bottom:8px;padding:0}
html.native-tv .brand-logo-shine-login{
  max-width:min(200px,40vw);
  width:100%;
  margin:0 auto;
}
html.native-tv .brand-logo-login{
  max-width:min(360px,74vw);
  max-height:120px;
  width:100%;
  height:auto;
  object-fit:contain;
  transform:scale(1.1);
  transform-origin:center center;
}
html.native-tv .loader-logo{font-size:62px}
html.native-tv .vod-header h2{font-size:21px}
html.native-tv .poster-name{font-size:calc(16px * var(--tv-font-ui-mul,1));font-weight:800}
html.native-tv .poster-cover img{opacity:1!important;visibility:visible!important;display:block!important}
html.native-tv .poster-cover{min-height:120px;background:#111}
html.native-tv .epg-header{font-size:14px}
html.native-tv .ch-list-blessed li.focused:not(.playing),
html.native-tv #jogos-list li.focused:not(.playing){
  background:rgba(201,162,39,.18)!important;
  color:#fff!important;
  border-left:5px solid var(--gold)!important;
  box-shadow:inset 0 0 0 1px rgba(201,162,39,.35);
}
html.native-tv .ch-list-blessed li.playing,
html.native-tv #live-channels li.playing{
  background:linear-gradient(90deg,rgba(229,9,20,.98),rgba(180,7,15,.92))!important;
  color:#fff!important;
  border-left:5px solid var(--gold)!important;
  box-shadow:inset 0 0 0 1px rgba(201,162,39,.55),0 0 18px rgba(229,9,20,.45);
}
html.native-tv #tv-safe #app{
  width:100%;
  height:100%;
  min-height:0;
}
html.native-tv .live-cat-list.vod-cat-list li.active{
  background:rgba(229,9,20,.18)!important;
  color:rgba(255,255,255,.88)!important;
  border-left:3px solid rgba(201,162,39,.45)!important;
  font-weight:600;
  box-shadow:none!important;
}
html.native-tv #fav-filters li.focused,
html.native-tv #jogos-filters li.focused,
html.native-tv .vod-sidebar .vod-cat-list li.focused,
html.native-tv .live-cat-list li.focused:not(.active){
  background:linear-gradient(90deg,var(--red),var(--red-dark))!important;
  color:#fff!important;
  border-left:4px solid var(--gold)!important;
  box-shadow:0 0 12px rgba(229,9,20,.35);
}
html.native-tv #app.live-nav-categories .live-cat-list li.focused,
html.native-tv #app.live-nav-categories .live-cat-list li.tv-focus{
  background:linear-gradient(90deg,var(--red),var(--red-dark))!important;
  color:#fff!important;
  border-left:5px solid var(--gold)!important;
  box-shadow:0 0 16px rgba(229,9,20,.5)!important;
}
html.native-tv #app.live-nav-categories .live-cat-list li.active.focused,
html.native-tv #app.live-nav-categories .live-cat-list li.focused.active{
  background:rgba(229,9,20,.3)!important;
  color:#fff!important;
  border-left:4px solid var(--gold)!important;
  box-shadow:none!important;
}
html.native-tv #app.live-nav-categories .live-cat-list li.active:not(.focused){
  background:rgba(229,9,20,.14)!important;
  color:rgba(255,255,255,.82)!important;
  border-left:3px solid rgba(201,162,39,.35)!important;
}
html.native-tv #app.live-nav-categories .vod-cat-list li.focused,
html.native-tv #app.live-nav-categories .vod-quick li.focused,
html.native-tv #app.live-nav-categories .vod-cat-list li.tv-focus,
html.native-tv #app.live-nav-categories .vod-quick li.tv-focus,
html.native-tv .vod-sidebar .vod-cat-list li.tv-focus,
html.native-tv .vod-sidebar .vod-quick li.tv-focus,
html.native-tv .vod-sidebar .vod-cat-list li.focused,
html.native-tv .vod-sidebar .vod-quick li.focused{
  background:linear-gradient(90deg,var(--red),var(--red-dark))!important;
  color:#fff!important;
  border-left:5px solid var(--gold)!important;
  box-shadow:0 0 16px rgba(229,9,20,.5),inset 0 0 0 1px rgba(201,162,39,.4)!important;
  font-weight:700!important;
}
html.native-tv #app.live-nav-categories .vod-cat-list li.active.focused,
html.native-tv #app.live-nav-categories .vod-cat-list li.focused.active,
html.native-tv #app.live-nav-categories .vod-quick li.active.focused,
html.native-tv #app.live-nav-categories .vod-quick li.focused.active,
html.native-tv #app.live-nav-categories .vod-cat-list li.active.tv-focus,
html.native-tv #app.live-nav-categories .vod-quick li.active.tv-focus{
  background:linear-gradient(90deg,#ff1a24,var(--red-dark))!important;
  color:#fff!important;
  border-left:5px solid var(--gold)!important;
  box-shadow:0 0 18px rgba(229,9,20,.55)!important;
}
html.native-tv #app.live-nav-categories .vod-cat-list li.active:not(.focused):not(.tv-focus),
html.native-tv #app.live-nav-categories .vod-quick li.active:not(.focused):not(.tv-focus){
  background:rgba(229,9,20,.18)!important;
  color:rgba(255,255,255,.88)!important;
  border-left:3px solid rgba(201,162,39,.45)!important;
  font-weight:600;
}
html.native-tv #app.live-nav-categories .icon-btn[data-view="live"].active,
html.native-tv #app.live-nav-categories .icon-btn[data-view="movies"].active,
html.native-tv #app.live-nav-categories .icon-btn[data-view="series"].active,
html.native-tv #app.live-nav-channels .icon-btn[data-view="live"].active,
html.native-tv #app.live-nav-channels .icon-btn[data-view="movies"].active,
html.native-tv #app.live-nav-channels .icon-btn[data-view="series"].active{
  background:linear-gradient(180deg,rgba(229,9,20,.38),rgba(180,7,15,.28))!important;
  color:#fff!important;
  box-shadow:0 0 0 1px rgba(201,162,39,.35),inset 0 0 12px rgba(229,9,20,.15)!important;
}
html.native-tv #app.live-nav-channels .live-cat-list li.active,
html.native-tv #app.live-nav-channels .vod-cat-list li.active,
html.native-tv #app.live-nav-channels .vod-quick li.active{
  background:rgba(229,9,20,.22)!important;
  color:rgba(255,255,255,.92)!important;
  border-left:4px solid rgba(201,162,39,.55)!important;
  box-shadow:none!important;
  font-weight:700;
}
html.native-tv #app.live-nav-channels .live-cat-list li.active.focused,
html.native-tv #app.live-nav-channels .live-cat-list li.focused.active,
html.native-tv #app.live-nav-channels .vod-cat-list li.active.focused,
html.native-tv #app.live-nav-channels .vod-cat-list li.focused.active,
html.native-tv #app.live-nav-channels .vod-quick li.active.focused,
html.native-tv #app.live-nav-channels .vod-quick li.focused.active{
  background:rgba(229,9,20,.28)!important;
  border-left-color:rgba(201,162,39,.65)!important;
}
html.native-tv #app.app-nav-sidebar .icon-btn.active:not(.nav-focused),
html.native-tv #app.app-nav-content .icon-btn.active:not(.nav-focused){
  background:linear-gradient(180deg,rgba(229,9,20,.38),rgba(180,7,15,.28))!important;
  color:#fff!important;
  box-shadow:0 0 0 1px rgba(201,162,39,.35),inset 0 0 12px rgba(229,9,20,.15)!important;
}
html.native-tv #app.app-nav-sidebar .vod-cat-list li.active:not(.focused),
html.native-tv #app.app-nav-sidebar .live-cat-list li.active:not(.focused),
html.native-tv #app.app-nav-sidebar #fav-filters li.active:not(.focused),
html.native-tv #app.app-nav-sidebar #jogos-filters li.active:not(.focused),
html.native-tv #app.app-nav-sidebar .vod-quick li.active:not(.focused){
  background:rgba(229,9,20,.14)!important;
  color:rgba(255,255,255,.82)!important;
  border-left:3px solid rgba(201,162,39,.35)!important;
  box-shadow:none!important;
}
html.native-tv #app.app-nav-content .vod-cat-list li.active,
html.native-tv #app.app-nav-content .live-cat-list li.active,
html.native-tv #app.app-nav-content #fav-filters li.active,
html.native-tv #app.app-nav-content #jogos-filters li.active,
html.native-tv #app.app-nav-content .vod-quick li.active{
  background:rgba(229,9,20,.22)!important;
  color:rgba(255,255,255,.92)!important;
  border-left:4px solid rgba(201,162,39,.55)!important;
  box-shadow:none!important;
  font-weight:700;
}
html.native-tv #app.live-nav-channels .vod-cat-list li.focused:not(.active),
html.native-tv #app.live-nav-channels .vod-cat-list li.tv-focus:not(.active),
html.native-tv #app.live-nav-channels .vod-quick li.focused:not(.active),
html.native-tv #app.live-nav-channels .vod-quick li.tv-focus:not(.active),
html.native-tv #app.app-nav-sidebar .vod-cat-list li.tv-focus,
html.native-tv #app.app-nav-sidebar .vod-quick li.tv-focus,
html.native-tv #app.app-nav-sidebar .vod-cat-list li.focused,
html.native-tv #app.app-nav-sidebar #fav-filters li.tv-focus,
html.native-tv #app.app-nav-sidebar #jogos-filters li.tv-focus,
html.native-tv #app.app-nav-sidebar #fav-filters li.focused,
html.native-tv #app.app-nav-sidebar #jogos-filters li.focused,
html.native-tv #app.app-nav-sidebar .vod-quick li.focused{
  background:linear-gradient(90deg,var(--red),var(--red-dark))!important;
  color:#fff!important;
  border-left:4px solid var(--gold)!important;
  box-shadow:0 0 12px rgba(229,9,20,.35);
}
html.native-tv .vod-sidebar li.tv-focus,
html.native-tv .live-cat-sidebar li.tv-focus,
html.native-tv #fav-filters li.tv-focus,
html.native-tv #jogos-filters li.tv-focus{
  background:linear-gradient(90deg,#ff1822,var(--red-dark))!important;
  color:#fff!important;
  border-left:5px solid var(--gold)!important;
  box-shadow:0 0 22px rgba(229,9,20,.65),inset 0 0 0 2px rgba(201,162,39,.45)!important;
  font-weight:700!important;
  outline:2px solid var(--gold)!important;
  outline-offset:-1px;
  position:relative;
  z-index:2;
}
html.native-tv .poster-card.focused{
  outline:4px solid var(--gold)!important;
  outline-offset:3px!important;
  box-shadow:0 0 0 2px var(--red),0 10px 32px rgba(229,9,20,.45)!important;
  border-color:var(--gold)!important;
  transform:scale(1.05);
  z-index:2;
  position:relative;
}
html.native-tv .fs-zapper-cats li.focused,
html.native-tv .fs-zapper-channels li.focused{
  background:linear-gradient(90deg,var(--red),var(--red-dark))!important;
  color:#fff!important;
  border-left:4px solid var(--gold)!important;
  box-shadow:0 0 14px rgba(229,9,20,.4);
}
html.native-tv .fs-zapper-cats li.focused .ch-num,
html.native-tv .fs-zapper-channels li.focused .ch-num{color:rgba(255,255,255,.95)!important}

/* Jogos — tipografia TV: times e horário em destaque */
html.native-tv .jogos-list li.jogos-row{
  min-height:78px;
  padding:16px 18px;
  gap:12px;
}
html.native-tv .jogos-row .jogos-time-col{
  min-width:76px;
  padding-top:4px;
}
html.native-tv .jogos-row .jogos-date{
  font-size:calc(15px * var(--tv-font-ui-mul,1));
  color:var(--gold-light);
  margin-bottom:6px;
  letter-spacing:.6px;
}
html.native-tv .jogos-row .jogos-time{
  font-size:calc(24px * var(--tv-font-ui-mul,1));
  color:#fff;
  text-shadow:0 0 12px rgba(201,162,39,.35);
}
html.native-tv .jogos-row .jogos-status-badge{
  font-size:calc(11px * var(--tv-font-ui-mul,1));
  padding:4px 7px;
  margin-top:6px;
}
html.native-tv .jogos-row .jogos-match{
  font-size:calc(22px * var(--tv-font-ch-mul,1) * var(--tv-ui-scale,1));
  font-weight:800;
  line-height:1.2;
  color:#fff;
  -webkit-line-clamp:2;
}
html.native-tv .jogos-row .jogos-meta{
  font-size:calc(13px * var(--tv-font-ui-mul,1));
  color:rgba(255,255,255,.72);
}
html.native-tv .jogos-row .jogos-channel{
  font-size:calc(12px * var(--tv-font-ui-mul,1));
}
html.native-tv .jogos-view .live-epg-title,
html.native-tv #jogos-now-name{
  font-size:calc(17px * var(--tv-font-ui-mul,1));
  color:#fff;
}
html.native-tv .jogos-view .live-now-block h2{
  font-size:calc(22px * var(--tv-font-ui-mul,1));
}
html.native-tv .jogos-view #jogos-stats{
  font-size:calc(12px * var(--tv-font-ui-mul,1));
  line-height:1.55;
}
html.native-tv .jogos-view .live-epg-jogos .epg-title{
  font-size:calc(17px * var(--tv-font-ui-mul,1));
}
html.native-tv .jogos-view .live-epg-jogos .epg-time{
  font-size:calc(14px * var(--tv-font-ui-mul,1));
}
html.native-tv .jogos-view .live-epg-jogos .epg-sub{
  font-size:calc(13px * var(--tv-font-ui-mul,1));
}
html.native-tv .jogos-refresh-btn{
  font-size:calc(14px * var(--tv-font-ui-mul,1));
  padding:12px 14px;
}

/* === TELA CHEIA REAL — sobrescreve grid TV (280px categoria + lista canais) === */
html.z10-fs-video,
html.z10-fs-video body{
  overflow:hidden!important;
  background:#000!important;
}
html.z10-fs-video #tv-viewport,
html.z10-fs-video #tv-scaler,
html.z10-fs-video #tv-stage,
html.z10-fs-video #tv-safe{
  position:fixed!important;
  inset:0!important;
  width:100vw!important;
  height:100vh!important;
  max-width:none!important;
  max-height:none!important;
  padding:0!important;
  margin:0!important;
  transform:none!important;
  overflow:hidden!important;
  background:#000!important;
}
html.native-tv.z10-fs-video #app{
  display:block!important;
  position:fixed!important;
  inset:0!important;
  width:100vw!important;
  height:100vh!important;
  grid-template-columns:unset!important;
  grid-template-rows:unset!important;
  overflow:hidden!important;
}
html.native-tv.z10-fs-video #app .icon-bar{
  display:none!important;
  width:0!important;height:0!important;
  min-width:0!important;max-width:0!important;
  overflow:hidden!important;
  position:absolute!important;
  pointer-events:none!important;
}
html.native-tv.z10-fs-video #app .app-shell{
  display:block!important;
  position:fixed!important;
  inset:0!important;
  width:100vw!important;
  height:100vh!important;
  grid-column:unset!important;
  overflow:hidden!important;
}
html.native-tv.z10-fs-video .live-view.active,
html.native-tv.z10-fs-video .fav-view.active,
html.native-tv.z10-fs-video .jogos-view.active{
  display:block!important;
  position:fixed!important;
  inset:0!important;
  width:100vw!important;
  height:100vh!important;
  grid-template-columns:unset!important;
  grid-template-rows:unset!important;
  overflow:hidden!important;
}
html.native-tv.z10-fs-video .live-cat-sidebar,
html.native-tv.z10-fs-video .fav-sidebar,
html.native-tv.z10-fs-video .jogos-sidebar,
html.native-tv.z10-fs-video .live-topbar,
html.native-tv.z10-fs-video .live-ch-panel,
html.native-tv.z10-fs-video .live-epg-wrap,
html.native-tv.z10-fs-video #live-epg-wrap,
html.native-tv.z10-fs-video .live-epg-bottom,
html.native-tv.z10-fs-video .jogos-list,
html.native-tv.z10-fs-video #jogos-list-head,
html.native-tv.z10-fs-video .jogos-ch-panel{
  display:none!important;
  width:0!important;height:0!important;
  overflow:hidden!important;
}
html.native-tv.z10-fs-video .live-main,
html.native-tv.z10-fs-video .fav-main,
html.native-tv.z10-fs-video .jogos-main,
html.native-tv.z10-fs-video .live-body,
html.native-tv.z10-fs-video .live-center-col{
  display:block!important;
  position:fixed!important;
  inset:0!important;
  width:100vw!important;
  height:100vh!important;
  grid-template-columns:unset!important;
  min-width:0!important;
  margin:0!important;
  padding:0!important;
}
html.native-tv.z10-fs-video #player-box,
html.native-tv.z10-fs-video #fav-player-box,
html.native-tv.z10-fs-video #jogos-player-box,
html.z10-fs-video .live-player.player-frame{
  position:fixed!important;
  top:0!important;left:0!important;right:0!important;bottom:0!important;
  width:100vw!important;height:100vh!important;
  max-width:none!important;max-height:none!important;
  z-index:9000!important;
  border:none!important;
  border-radius:0!important;
  margin:0!important;padding:0!important;
  background:#000!important;
}
html.native-tv.z10-fs-video #main-player,
html.native-tv.z10-fs-video #fav-player,
html.native-tv.z10-fs-video #jogos-player,
html.z10-fs-video .live-player.player-frame video{
  position:absolute!important;
  top:0!important;left:0!important;
  width:100%!important;height:100%!important;
  max-width:none!important;max-height:none!important;
  min-height:0!important;
  object-fit:cover!important;
  object-position:center center!important;
  background:#000!important;
}
html.z10-fs-video .fs-tap-layer{
  position:fixed!important;
  inset:0!important;
  width:100vw!important;height:100vh!important;
  z-index:9001!important;
}
