/*
 * New TV HD — tela base 1920x1080. Medidas = dp do app Android x 2.
 * Cores da marca entram pelo build ({{ primary }} etc.).
 * Sem variáveis CSS nem gap em flex: Chrome 38 (Tizen 2.x / webOS 3) não tem.
 */

* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: "SamsungOne", "LG Smart UI", Roboto, "Segoe UI", Arial, sans-serif; color: #fff; background: #000; -webkit-font-smoothing: antialiased; }
img { display: block; }
.flex1 { -webkit-box-flex: 1; -webkit-flex: 1; flex: 1; }
.icon { display: block; -webkit-flex-shrink: 0; flex-shrink: 0; }

/* utilitário flex */
.header, .row-flex, .navbar, .nav-items, .nav-right, .nav-msg, .cols, .col, .home, .page, .act, .act-buttons, .profiles, .profiles-grid,
.profile-card, .edit-top, .edit-form, .checkbox, .edit-actions, .avatar-strip, .row-track, .destaques-track, .jogos-boxes, .jogo-box,
.jogo-escudos, .jogo-canal-row, .jogos-chips, .side-item, .dialog-buttons, .kb-row, .input, .btn, .mini-top, .header-right,
.jogos-head, .jogo-row, .jogo-row-escudos, .jogo-header, .epg-program, .top10-head, .top10-track, .top-item, .detail-info,
.detail-badges, .detail-buttons, .serie-content, .season-chips, .episode-row, .msg, .msg-head, .renew-plans, .renew-pix, .player-top,
.live-row, .player-controls, .next-buttons, .avisos-area, .nav-gear, .nav-avatar, .settings, .grid, .plan, .avatar {
  display: -webkit-box; display: -webkit-flex; display: flex;
}

/* ==================== Estrutura ==================== */
#app { background: #0a0a12; }
.screen { position: absolute; left: 0; top: 0; width: 1920px; height: 1080px; background: #0a0a12; overflow: hidden; }
.page { -webkit-box-orient: vertical; -webkit-flex-direction: column; flex-direction: column; width: 1920px; height: 1080px; }
.scroll-y { overflow-y: hidden; overflow-x: hidden; }
.scroll-x { overflow-x: hidden; overflow-y: hidden; }
/* no navegador com mouse deixa rolar na roda */
@media (hover: hover) { .scroll-y { overflow-y: auto; } .scroll-x { overflow-x: auto; } ::-webkit-scrollbar { width: 0; height: 0; } }

.img-fade { opacity: 0; -webkit-transition: opacity .25s; transition: opacity .25s; }
.img-fade.img-ok { opacity: 1; }
.empty { color: #888; font-size: 32px; text-align: center; padding: 56px; }
.empty-small { font-size: 28px; padding: 40px 24px; color: #777; }

/* ==================== Botões ==================== */
.btn { -webkit-box-align: center; -webkit-align-items: center; align-items: center; -webkit-box-pack: center; -webkit-justify-content: center; justify-content: center;
  color: #fff; font-size: 26px; white-space: nowrap; cursor: pointer; -webkit-flex-shrink: 0; flex-shrink: 0; }
.btn .icon + .btn-txt { margin-left: 14px; }
.btn-back { background: #2a2a35; border-radius: 32px; padding: 0 28px; height: 72px; }
.btn-back.focused { background: #FF3344; }
.btn-primary { background: #FF3344; border-radius: 12px; padding: 0 48px; height: 96px; font-weight: bold; font-size: 32px; border: 4px solid transparent; }
.btn-primary.focused { background: #FF5C6B; border-color: #fff; }
.btn-secondary { background: #3a3a45; border-radius: 12px; padding: 0 48px; height: 96px; font-size: 32px; border: 4px solid transparent; }
.btn-secondary.focused { background: #FF3344; border-color: #fff; }
.btn-chip, .chip { background: #2a2a35; border-radius: 32px; padding: 0 28px; height: 64px; font-size: 24px; color: #fff; border: 4px solid transparent;
  -webkit-box-align: center; -webkit-align-items: center; align-items: center; display: -webkit-box; display: -webkit-flex; display: flex; cursor: pointer; }
.btn-chip.focused, .chip.focused { background: #FF3344; }
.chip.selected { background: #3a2030; border-color: #FF3344; }
.chip.selected.focused { background: #FF3344; }
.btn-settings { background: #2a2a35; border-radius: 12px; height: 100px; width: 100%; font-size: 30px; margin-bottom: 16px; }
.btn-settings.focused { background: #FF3344; }
.btn-overlay { border: 4px solid transparent; border-radius: 8px; padding: 0 28px; height: 72px; font-size: 26px; }
.btn-overlay.focused { border-color: #FF3344; }
.btn-nav { background: #22222c; border-radius: 40px; padding: 0 40px; height: 88px; font-size: 30px; }
.btn-nav.focused { background: #FF3344; }
.btn-header { height: 72px; font-size: 26px; }
.btn-danger { color: #ef4444; }
.btn-danger.focused { color: #fff; }
.btn-block { width: 100%; }
.chip-header { height: 64px; margin-left: 12px; }

/* ==================== Cabeçalho ==================== */
.header { height: 104px; background: #0d0d18; padding: 0 32px; -webkit-box-align: center; -webkit-align-items: center; align-items: center; -webkit-flex-shrink: 0; flex-shrink: 0; }
.header-48 { height: 96px; }
.header-title { font-size: 40px; font-weight: bold; margin-left: 32px; margin-right: 28px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 1100px; }
.header-title-primary { color: #FF3344; }
.header-right { -webkit-box-align: center; -webkit-align-items: center; align-items: center; }
.header-right > * + * { margin-left: 12px; }
.status-dot { width: 12px; height: 12px; background: #22c55e; margin-left: 24px !important; }
.status-text { color: #22c55e; font-size: 22px; }

/* ==================== Campo de texto ==================== */
.input { height: 92px; background: #2a2a35; border-radius: 12px; border: 4px solid transparent; padding: 0 28px; -webkit-box-align: center; -webkit-align-items: center; align-items: center;
  font-size: 32px; cursor: pointer; overflow: hidden; }
.input.focused { border-color: #FF3344; }
.input-search { height: 72px; border-radius: 32px; padding: 0 24px; font-size: 26px; }
.input-search .icon { margin-right: 16px; }
.input-txt { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.input-ph { color: #5a5a68; }
.input-search .input-ph { color: #555; }
.field-label { color: #8a8a99; font-size: 20px; font-weight: bold; letter-spacing: 1.6px; margin: 24px 0 8px; }
.w720 { width: 720px; }

/* ==================== Modais ==================== */
.modal-layer { position: absolute; left: 0; top: 0; width: 1920px; height: 1080px; z-index: 100; background: rgba(0,0,0,.6);
  display: -webkit-box; display: -webkit-flex; display: flex; -webkit-box-align: center; -webkit-align-items: center; align-items: center;
  -webkit-box-pack: center; -webkit-justify-content: center; justify-content: center; }
.modal-bottom { -webkit-box-align: end; -webkit-align-items: flex-end; align-items: flex-end; background: rgba(0,0,0,.35); }
.modal-dark { background: rgba(0,0,0,.85); }
.dialog { background: #12121c; padding: 44px; border-radius: 16px; min-width: 760px; max-width: 1100px; border: 2px solid #22222e; }
.dialog-title { font-size: 38px; font-weight: bold; margin-bottom: 20px; }
.dialog-sub { color: #7b7b8a; font-size: 24px; margin: -12px 0 12px; }
.dialog-msg { color: #c8c8d0; font-size: 30px; line-height: 1.35; margin-bottom: 28px; }
.dialog-buttons { margin-top: 28px; }
.dialog-buttons .btn + .btn { margin-left: 20px; }
.dialog-buttons-end { -webkit-box-pack: end; -webkit-justify-content: flex-end; justify-content: flex-end; }
.dialog-login { width: 840px; }
.dialog-login .input { width: 100%; }
.row-flex { -webkit-box-align: center; -webkit-align-items: center; align-items: center; }
.row-flex .input { -webkit-box-flex: 1; -webkit-flex: 1; flex: 1; }
.btn-ver-senha { height: 92px; margin-left: 12px; font-size: 24px; color: #ddd; }
.btn-dialog { height: 96px; }
.login-code-status { font-size: 24px; margin-top: 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.login-status { font-size: 26px; margin-top: 24px; }

.toast { position: absolute; left: 50%; bottom: 80px; -webkit-transform: translate(-50%, 40px); transform: translate(-50%, 40px); opacity: 0;
  background: rgba(20,20,32,.96); border: 2px solid #33333f; color: #fff; font-size: 28px; padding: 22px 44px; border-radius: 40px; z-index: 300;
  -webkit-transition: all .25s; transition: all .25s; }
.toast-show { opacity: 1; -webkit-transform: translate(-50%, 0); transform: translate(-50%, 0); }

/* ==================== Teclado virtual ==================== */
.keyboard { background: #12121c; border: 2px solid #26262f; border-radius: 20px; padding: 36px 40px; width: 1240px; }
.modal-bottom .keyboard { border-radius: 24px 24px 0 0; margin-bottom: 0; }
.keyboard-num { width: 640px; }
.kb-title { color: #9aa0a6; font-size: 26px; margin-bottom: 16px; }
.kb-display { background: #0a0a12; border: 2px solid #2a2a35; border-radius: 12px; min-height: 88px; padding: 18px 24px; font-size: 38px; margin-bottom: 24px;
  white-space: nowrap; overflow: hidden; letter-spacing: 1px; }
.kb-cursor { color: #FF3344; -webkit-animation: piscar 1s step-end infinite; animation: piscar 1s step-end infinite; }
.kb-placeholder { color: #555; margin-left: 8px; }
@-webkit-keyframes piscar { 50% { opacity: 0; } }
@keyframes piscar { 50% { opacity: 0; } }
.kb-row { -webkit-box-pack: center; -webkit-justify-content: center; justify-content: center; margin-bottom: 12px; }
.kb-key { width: 104px; height: 84px; margin: 0 6px; background: #2a2a35; border-radius: 10px; font-size: 34px; color: #fff; cursor: pointer;
  display: -webkit-box; display: -webkit-flex; display: flex; -webkit-box-align: center; -webkit-align-items: center; align-items: center;
  -webkit-box-pack: center; -webkit-justify-content: center; justify-content: center; }
.kb-special { width: 200px; font-size: 26px; background: #3a3a45; }
.kb-espaco { width: 330px; }
.kb-ok { background: #DD2233; font-weight: bold; }
.keyboard-num .kb-key { width: 170px; height: 96px; }
.keyboard-num .kb-special { width: 170px; }
.kb-key.focused { background: #FF3344; -webkit-transform: scale(1.06); transform: scale(1.06); }
.kb-hint { color: #555; font-size: 20px; text-align: center; margin-top: 12px; }

/* ==================== Ativação ==================== */
.act { width: 1920px; height: 1080px; -webkit-box-orient: vertical; -webkit-flex-direction: column; flex-direction: column;
  -webkit-box-align: center; -webkit-align-items: center; align-items: center; -webkit-box-pack: center; -webkit-justify-content: center; justify-content: center; padding: 48px; }
.act-logo { max-width: 360px; max-height: 180px; margin-bottom: 32px; }
.act-name { font-size: 56px; font-weight: bold; margin-bottom: 32px; }
.act-label { color: #888; font-size: 32px; margin-bottom: 32px; }
.act-uid { background: #1a1a24; color: #FF3344; font-size: 64px; font-weight: bold; letter-spacing: 9.6px; padding: 32px 64px; margin-bottom: 32px; }
.act-status { color: #888; font-size: 28px; margin-bottom: 48px; }
.btn-act { height: 96px; padding: 0 64px; font-size: 30px; }
.act-buttons .btn + .btn { margin-left: 24px; }
.act-hint { color: #555; font-size: 24px; margin-top: 40px; }

/* ==================== Perfis ==================== */
.profiles { width: 1920px; height: 1080px; -webkit-box-orient: vertical; -webkit-flex-direction: column; flex-direction: column;
  -webkit-box-align: center; -webkit-align-items: center; align-items: center; -webkit-box-pack: center; -webkit-justify-content: center; justify-content: center; }
.profiles-title { font-size: 56px; font-weight: bold; margin-bottom: 64px; }
.profiles-loading { color: #888; font-size: 32px; }
.profiles-grid { padding: 24px 0; }
.profiles-hint { color: #555; font-size: 24px; margin-top: 64px; }
.profile-card { -webkit-box-orient: vertical; -webkit-flex-direction: column; flex-direction: column; -webkit-box-align: center; -webkit-align-items: center; align-items: center;
  margin: 0 28px; padding: 12px; cursor: pointer; -webkit-transition: -webkit-transform .14s; transition: transform .14s; }
.profile-card.focused { -webkit-transform: scale(1.12); transform: scale(1.12); }
.profile-ring { width: 264px; height: 264px; padding: 16px; border-radius: 50%; border: 10px solid transparent; }
.profile-card.selected .profile-ring { border: 6px solid rgba(255,51,68,.4); padding: 20px; }
.profile-card.focused .profile-ring { border: 10px solid #FF3344; padding: 16px; }
.profile-avatar { width: 100%; height: 100%; }
.profile-name { width: 264px; margin-top: 20px; text-align: center; font-size: 30px; color: #ccc; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.profile-card.focused .profile-name { color: #fff; }
.profile-badges { color: #4ade80; font-size: 22px; margin-top: 4px; display: -webkit-box; display: -webkit-flex; display: flex; -webkit-box-align: center; -webkit-align-items: center; align-items: center; }
.profile-badges > * + * { margin-left: 10px; }
.avatar { border-radius: 50%; overflow: hidden; background: #1a1a24; -webkit-box-align: center; -webkit-align-items: center; align-items: center;
  -webkit-box-pack: center; -webkit-justify-content: center; justify-content: center; -webkit-mask-image: -webkit-radial-gradient(white, black); }
.avatar-img { width: 100%; height: 100%; object-fit: cover; }
.avatar-new { background: #16161f; border: 4px dashed #3a3a48; }
.profile-new .profile-name { color: #888; }

/* Editar perfil */
.edit-top { -webkit-box-orient: vertical; -webkit-flex-direction: column; flex-direction: column; -webkit-box-align: center; -webkit-align-items: center; align-items: center; padding-top: 28px; -webkit-flex-shrink: 0; flex-shrink: 0; }
.edit-avatar { width: 192px; height: 192px; margin-bottom: 8px; }
.edit-avatar-img { width: 192px; height: 192px; }
.edit-hint { color: #7b7b8a; font-size: 24px; margin-bottom: 20px; }
.avatar-strip { width: 1920px; height: 216px; padding: 16px 40px; -webkit-flex-shrink: 0; flex-shrink: 0; }
.avatar-choice { width: 172px; height: 172px; -webkit-flex-shrink: 0; flex-shrink: 0; margin-right: 20px; padding: 12px; border-radius: 50%; border: 6px solid transparent; cursor: pointer;
  -webkit-transition: -webkit-transform .14s; transition: transform .14s; }
.avatar-choice.selected { border-color: rgba(255,51,68,.4); }
.avatar-choice.focused { border: 10px solid #FF3344; padding: 8px; -webkit-transform: scale(1.14); transform: scale(1.14); }
.avatar-choice-img, .avatar-choice .avatar { width: 100%; height: 100%; }
.edit-form { -webkit-box-flex: 1; -webkit-flex: 1; flex: 1; -webkit-box-orient: vertical; -webkit-flex-direction: column; flex-direction: column;
  -webkit-box-align: center; -webkit-align-items: center; align-items: center; padding: 8px 64px 48px; }
.edit-form > * { -webkit-flex-shrink: 0; flex-shrink: 0; }
.edit-form .input { width: 720px; }
.checkbox { width: 720px; height: 96px; background: #2a2a35; border-radius: 12px; border: 4px solid transparent; margin: 28px 0 44px; padding: 0 24px;
  -webkit-box-align: center; -webkit-align-items: center; align-items: center; font-size: 28px; cursor: pointer; }
.checkbox.focused { border-color: #FF3344; }
.checkbox-box { width: 40px; height: 40px; border: 4px solid #888; border-radius: 6px; margin-right: 20px; }
.checkbox.checked .checkbox-box { background: #FF3344; border-color: #FF3344; box-shadow: inset 0 0 0 6px #2a2a35; }
.edit-actions { width: 720px; }
.btn-form { -webkit-box-flex: 1; -webkit-flex: 1; flex: 1; height: 100px; border-radius: 12px; }
.edit-actions .btn + .btn { margin-left: 20px; }
.edit-status { width: 720px; text-align: center; font-size: 26px; margin-top: 24px; }

/* ==================== Home ==================== */
.home { -webkit-box-orient: vertical; -webkit-flex-direction: column; flex-direction: column; width: 1920px; height: 1080px; }
.navbar { height: 92px; padding: 0 28px; -webkit-box-align: center; -webkit-align-items: center; align-items: center; -webkit-flex-shrink: 0; flex-shrink: 0;
  background: -webkit-linear-gradient(top, #0d0d18, rgba(10,10,18,0)); background: linear-gradient(to bottom, #0d0d18, rgba(10,10,18,0)); }
.nav-logo { height: 56px; max-width: 240px; object-fit: contain; }
.nav-items { -webkit-box-flex: 1; -webkit-flex: 1; flex: 1; margin-left: 32px; -webkit-box-align: center; -webkit-align-items: center; align-items: center; }
.nav-item { font-size: 28px; color: #aaa; background: #22222c; border-radius: 40px; padding: 10px 28px; margin-right: 12px; cursor: pointer; }
.nav-item.focused { background: #FF3344; color: #fff; }
.nav-right { -webkit-box-align: center; -webkit-align-items: center; align-items: center; }
.nav-msg { height: 72px; min-width: 104px; padding: 0 26px; margin-right: 16px; background: #2a2a35; border-radius: 32px; -webkit-box-align: center; -webkit-align-items: center; align-items: center;
  -webkit-box-pack: center; -webkit-justify-content: center; justify-content: center; font-size: 28px; font-weight: bold; cursor: pointer; }
.nav-msg.focused { background: #FF3344; }
.nav-msg.focused .nav-msg-count { color: #fff !important; }
.nav-msg-count { margin-left: 14px; }
.nav-venc { height: 60px; line-height: 60px; padding: 0 24px; margin-right: 16px; background: #2a2a35; border-radius: 32px; font-size: 24px; white-space: nowrap; }
.nav-renovar { height: 60px; padding: 0 28px; margin-right: 24px; font-size: 24px; border-radius: 12px; border-width: 3px; }
.nav-gear { width: 80px; height: 80px; margin-right: 24px; border-radius: 50%; background: #2a2a35; -webkit-box-align: center; -webkit-align-items: center; align-items: center;
  -webkit-box-pack: center; -webkit-justify-content: center; justify-content: center; cursor: pointer; }
.nav-gear.focused { background: #FF3344; }
.nav-gear.focused path { fill: #fff; }
.nav-avatar { width: 88px; height: 88px; padding: 10px; border-radius: 50%; border: 6px solid transparent; cursor: pointer; }
.nav-avatar.focused { border: 10px solid #FF3344; padding: 6px; }
.nav-avatar .avatar, .nav-avatar-img { width: 100%; height: 100%; }
.nav-sep { height: 2px; background: #1a1a24; -webkit-flex-shrink: 0; flex-shrink: 0; }
.home-scroll { -webkit-box-flex: 1; -webkit-flex: 1; flex: 1; padding-bottom: 64px; }
.home-rows { padding-bottom: 64px; }
.home-loading { font-size: 28px; padding: 80px; }

.home-destaques { padding: 16px 32px 0; }
.destaques-track { padding: 8px 4px; }
.home-destaque, .side-destaque { position: relative; -webkit-flex-shrink: 0; flex-shrink: 0; background: #161622; overflow: hidden; cursor: pointer; border: 4px solid transparent; }
.home-destaque { width: 232px; height: 96px; margin-right: 16px; border-radius: 20px; }
.home-destaque.focused, .side-destaque.focused { border-color: #FF3344; }
.destaque-img { width: 100%; height: 100%; object-fit: cover; }
.destaque-name { position: absolute; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,.6); font-size: 24px; font-weight: bold; padding: 8px 20px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.home-jogos { padding: 16px 32px 0; }
.jogo-box { -webkit-box-flex: 1; -webkit-flex: 1; flex: 1; background: #101018; border: 2px solid #22222c; border-radius: 20px; padding: 16px 24px;
  -webkit-box-align: center; -webkit-align-items: center; align-items: center; }
.jogo-box + .jogo-box { margin-left: 16px; }
.jogo-escudos { -webkit-box-align: center; -webkit-align-items: center; align-items: center; -webkit-flex-shrink: 0; flex-shrink: 0; }
.jogo-escudo { width: 68px; height: 68px; object-fit: contain; }
.jogo-x { color: #8a8a99; font-size: 26px; margin: 0 12px; }
.jogo-info { -webkit-box-flex: 1; -webkit-flex: 1; flex: 1; margin-left: 24px; min-width: 0; }
.jogo-etiqueta { font-size: 20px; font-weight: bold; letter-spacing: 2.4px; }
.jogo-titulo { font-size: 26px; font-weight: bold; margin-top: 6px; max-height: 64px; overflow: hidden; }
.jogo-canal-row { margin-top: 10px; -webkit-box-align: center; -webkit-align-items: center; align-items: center; }
.jogo-canal-logo { width: 40px; height: 40px; object-fit: contain; margin-right: 12px; }
.jogo-canal { color: #9aa0a6; font-size: 24px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.jogo-assistir { height: 60px; padding: 0 32px; font-size: 26px; margin-top: 12px; display: -webkit-inline-box; display: -webkit-inline-flex; display: inline-flex; border-width: 3px; }
.jogos-chips { margin-top: 16px; padding: 4px; }
.jogo-chip { width: 276px; -webkit-flex-shrink: 0; flex-shrink: 0; margin-right: 16px; padding: 12px 20px; background: #14141c; border: 2px solid #26262f; border-radius: 12px; cursor: pointer; }
.jogo-chip.selected { background: #16161f; border: 4px solid #FF3344; padding: 10px 18px; }
.jogo-chip.focused { background: #1c1c2a; border: 4px solid #FF3344; padding: 10px 18px; }
.jogo-chip-hora { color: #FF3344; font-size: 22px; font-weight: bold; }
.jogo-chip-times { color: #e6e6e6; font-size: 22px; margin-top: 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.row { padding-top: 20px; }
.row-title { font-size: 30px; font-weight: bold; padding: 0 40px 8px; }
.row-track { padding: 8px 36px 8px; }

/* card de pôster (item_card) */
.card { width: 260px; -webkit-flex-shrink: 0; flex-shrink: 0; margin-right: 20px; background: #121218; border-radius: 24px; overflow: hidden; border: 6px solid transparent; cursor: pointer; }
.card.focused { background: #1a1a28; border-color: #FF3344; }
.card-cover { position: relative; background: #1a1a24; }
.card-img { width: 100%; height: 100%; object-fit: cover; }
.card-title { font-size: 24px; line-height: 1.2; color: #e0e0e0; padding: 10px 16px; min-height: 72px; max-height: 72px; overflow: hidden; }
.card-progress { position: absolute; left: 0; right: 0; bottom: 0; height: 8px; background: rgba(255,255,255,.25); }
.card-progress-fill { height: 100%; background: #FF3344; }

/* card largo (continuar assistindo) */
.row-track-wide { padding-bottom: 12px; }
.card-wide { width: 424px; -webkit-flex-shrink: 0; flex-shrink: 0; margin-right: 24px; cursor: pointer; }
.card-wide-cover { position: relative; height: 240px; border-radius: 24px; overflow: hidden; background: #161622; border: 6px solid transparent; }
.card-wide.focused .card-wide-cover { border-color: #FF3344; }
.card-wide-progress { position: absolute; left: 0; right: 0; bottom: 0; height: 8px; background: rgba(255,255,255,.25); }
.card-wide-name { font-size: 26px; color: #ddd; margin-top: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card-wide.focused .card-wide-name { color: #fff; }
.card-wide-ep { font-size: 22px; color: #8a8a99; margin-top: 4px; }

.avisos-area { position: absolute; right: 40px; bottom: 40px; -webkit-box-orient: vertical; -webkit-flex-direction: column; flex-direction: column;
  -webkit-box-align: end; -webkit-align-items: flex-end; align-items: flex-end; z-index: 10; }
.aviso-box { background: rgba(20,20,32,.93); border: 4px solid #FF3344; border-radius: 24px; padding: 24px 32px; max-width: 784px; }
.aviso-box + .aviso-box { margin-top: 20px; }
.aviso-title { color: #FF3344; font-size: 24px; font-weight: bold; letter-spacing: 2.4px; }
.aviso-title-user { color: #FFC53D; }
.aviso-text { font-size: 28px; margin-top: 8px; max-height: 152px; overflow: hidden; }

.aviso-overlay { width: 1040px; background: rgba(20,20,32,.95); border: 4px solid #FF3344; border-radius: 24px; padding: 52px; }
.aviso-overlay-title { color: #FF3344; font-size: 26px; font-weight: bold; letter-spacing: 2.6px; }
.aviso-overlay-text { font-size: 34px; line-height: 1.25; margin: 24px 0 44px; }
.aviso-overlay .btn { height: 104px; }

/* ==================== Colunas (TV, EPG, Filmes/Séries) ==================== */
.cols { -webkit-box-flex: 1; -webkit-flex: 1; flex: 1; min-height: 0; }
.col { -webkit-box-orient: vertical; -webkit-flex-direction: column; flex-direction: column; min-width: 0; background: #0f0f1a; }
.col-20 { width: 382px; } .col-25 { width: 478px; } .col-55 { -webkit-box-flex: 1; -webkit-flex: 1; flex: 1; }
.col-side { width: 496px; }
.col-fill { -webkit-box-flex: 1; -webkit-flex: 1; flex: 1; background: #0a0a12; }
.col-dark { background: #0a0a12; }
.col-black { background: #000; }
.col-sep { width: 2px; background: #1a1a24; -webkit-flex-shrink: 0; flex-shrink: 0; }
.col-head { background: #151520; color: #666; font-size: 22px; font-weight: bold; letter-spacing: 2.2px; padding: 24px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; -webkit-flex-shrink: 0; flex-shrink: 0; }
.col-list { -webkit-box-flex: 1; -webkit-flex: 1; flex: 1; padding-bottom: 40px; }

.side-list { -webkit-box-flex: 1; -webkit-flex: 1; flex: 1; padding-bottom: 40px; }
.side-section { color: #5a5a68; font-size: 20px; font-weight: bold; letter-spacing: 1.6px; text-transform: uppercase; padding: 28px 32px 12px; }
.side-item { padding: 20px 32px; -webkit-box-align: center; -webkit-align-items: center; align-items: center; cursor: pointer; }
.side-item .icon { margin-right: 16px; }
.side-item.focused { background: #FF3344; }
.side-logo { width: 60px; height: 60px; border-radius: 50%; overflow: hidden; background: #1a1a24; margin-right: 20px; -webkit-flex-shrink: 0; flex-shrink: 0; }
.side-logo-img { width: 100%; height: 100%; object-fit: cover; }
.side-text { -webkit-box-flex: 1; -webkit-flex: 1; flex: 1; color: #ccc; font-size: 30px; max-height: 72px; overflow: hidden; line-height: 1.2; }
.side-item.selected .side-text { color: #FF3344; font-weight: bold; }
.side-item.focused .side-text { color: #fff; }
.side-count { color: #6a6a78; font-size: 24px; margin-left: 16px; }
.side-item.focused .side-count { color: #fff; }
.side-destaque { width: 236px; height: 88px; margin: 0 0 12px 32px; border-radius: 16px; }

.channel-row { padding: 24px 32px; font-size: 30px; color: #ccc; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; cursor: pointer; }
.channel-row.selected { color: #FF3344; font-weight: bold; }
.channel-row.focused { background: #FF3344; color: #fff; }

.mini-player { position: relative; height: 62%; background: #000; }
.mini-video { width: 100%; height: 100%; background: #000; }
.mini-loading { position: absolute; left: 50%; top: 50%; -webkit-transform: translate(-50%, -50%); transform: translate(-50%, -50%); background: rgba(0,0,0,.8); font-size: 28px; padding: 16px 36px; }
.mini-info { -webkit-box-flex: 1; -webkit-flex: 1; flex: 1; background: #0f0f1a; padding: 32px; overflow: hidden; display: -webkit-box; display: -webkit-flex; display: flex;
  -webkit-box-orient: vertical; -webkit-flex-direction: column; flex-direction: column; }
.mini-top { -webkit-box-align: center; -webkit-align-items: center; align-items: center; }
.mini-name { -webkit-box-flex: 1; -webkit-flex: 1; flex: 1; font-size: 36px; font-weight: bold; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.badge-live { background: #22c55e; font-size: 20px; font-weight: bold; padding: 4px 16px; }
.mini-epg { -webkit-box-flex: 1; -webkit-flex: 1; flex: 1; margin-top: 20px; overflow: hidden; }
.epg-line { color: #888; font-size: 26px; line-height: 1.6; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.epg-line-now { color: #ef4444; font-weight: bold; }
.mini-hint { color: #444; font-size: 20px; margin-top: 12px; }

/* EPG */
.epg-right { padding: 32px; }
.epg-channel-name { font-size: 40px; font-weight: bold; }
.epg-divider { height: 2px; background: #1a1a24; margin: 24px 0; }
.epg-programs { -webkit-box-flex: 1; -webkit-flex: 1; flex: 1; }
.epg-program { padding: 16px 0; -webkit-box-align: center; -webkit-align-items: center; align-items: center; }
.epg-hora { width: 120px; color: #666; font-size: 28px; -webkit-flex-shrink: 0; flex-shrink: 0; }
.epg-titulo { color: #ccc; font-size: 30px; margin-left: 24px; }
.epg-program-now .epg-hora, .epg-program-now .epg-titulo { color: #FF3344; }

/* ==================== Jogos do dia ==================== */
.jogos-page { padding: 48px; }
.jogos-head { -webkit-box-align: center; -webkit-align-items: center; align-items: center; margin-bottom: 32px; -webkit-flex-shrink: 0; flex-shrink: 0; }
.btn-jogos-voltar { margin-right: 40px; }
.jogos-title { font-size: 48px; font-weight: bold; }
.jogos-sub { color: #FF3344; font-size: 28px; margin-left: 24px; }
.jogos-body { position: relative; -webkit-box-flex: 1; -webkit-flex: 1; flex: 1; min-height: 0; }
.jogos-list { height: 100%; padding-bottom: 48px; }
.jogos-empty { position: absolute; left: 0; right: 0; top: 40%; color: #aaa; }
.jogo-header { -webkit-box-align: center; -webkit-align-items: center; align-items: center; padding: 36px 0 16px; font-size: 34px; font-weight: bold; }
.jogo-header-bar { width: 8px; height: 36px; background: #FF3344; margin-right: 20px; }
.jogo-row { background: #14141a; border-radius: 16px; border: 4px solid transparent; padding: 20px 28px; margin-bottom: 8px; -webkit-box-align: center; -webkit-align-items: center; align-items: center; cursor: pointer; }
.jogo-row.focused { background: rgba(255,51,68,.2); border-color: #FF3344; }
.jogo-row-hora { width: 148px; -webkit-flex-shrink: 0; flex-shrink: 0; }
.jogo-row-hora-txt { font-size: 34px; font-weight: bold; }
.badge-ao-vivo { display: inline-block; background: #E11D2E; border-radius: 8px; font-size: 18px; font-weight: bold; padding: 4px 14px; margin-top: 8px; }
.jogo-row-escudos { -webkit-box-align: center; -webkit-align-items: center; align-items: center; margin-right: 28px; -webkit-flex-shrink: 0; flex-shrink: 0; }
.jogo-row-escudo { width: 60px; height: 60px; object-fit: contain; }
.jogo-row-info { -webkit-box-flex: 1; -webkit-flex: 1; flex: 1; min-width: 0; }
.jogo-row-nome { font-size: 30px; line-height: 1.15; max-height: 70px; overflow: hidden; }
.jogo-row-placar { color: #22c55e; font-size: 26px; font-weight: bold; margin-top: 4px; }
.jogo-row-canal-logo { width: 60px; height: 48px; object-fit: contain; margin-left: 24px; }
.jogo-row-canal { width: 256px; margin-left: 16px; color: #c8c8d0; font-size: 26px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.jogo-row-play { color: #FF3344; font-size: 30px; margin-left: 20px; }
.jogo-row.focused .jogo-row-play { color: #fff; }

/* ==================== Filmes / Séries ==================== */
.grid-scroll { height: 100%; padding: 24px 32px 48px; }
.grid { -webkit-flex-wrap: wrap; flex-wrap: wrap; margin-right: -20px; }
.grid .card { margin: 0 20px 20px 0; border-radius: 24px; }
.top10 { padding-bottom: 20px; }
.top10-head { -webkit-box-align: center; -webkit-align-items: center; align-items: center; padding-bottom: 8px; }
.top10-bar { width: 6px; height: 28px; background: #FF3344; margin-right: 16px; }
.top10-title { color: #ccc; font-size: 22px; font-weight: bold; letter-spacing: 1.8px; }
.top10-sub { color: #666; font-size: 22px; margin-left: 16px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.top10-track { padding: 4px 4px 8px; }
.top-item { -webkit-box-align: end; -webkit-align-items: flex-end; align-items: flex-end; margin-right: 12px; -webkit-flex-shrink: 0; flex-shrink: 0; cursor: pointer; }
.top-pos { font-size: 104px; font-weight: bold; line-height: 1; color: rgba(255,255,255,.3); margin: 0 -12px 12px 0; position: relative; z-index: 1; }
.top-item.focused .top-pos { color: #FF3344; }
.top-card { width: 192px; background: #121218; border-radius: 12px; overflow: hidden; border: 5px solid transparent; }
.top-item.focused .top-card { border-color: #FF3344; background: #1a1a28; }
.top-cover { height: 264px; background: #1a1a24; }
.top-title { color: #e0e0e0; font-size: 22px; padding: 8px 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ==================== Detalhe do filme ==================== */
.detail { width: 1920px; height: 1080px; }
.detail-hero { position: relative; height: 560px; }
.detail-backdrop { position: absolute; left: 0; top: 0; right: 0; bottom: 0; background-size: cover; background-position: center 20%; }
.detail-gradient { position: absolute; left: 0; top: 0; right: 0; bottom: 0;
  background: -webkit-linear-gradient(bottom, #0a0a12 0%, rgba(10,10,18,.5) 50%, rgba(10,10,18,0) 100%); background: linear-gradient(to top, #0a0a12 0%, rgba(10,10,18,.5) 50%, rgba(10,10,18,0) 100%); }
.detail-back { position: absolute; left: 32px; top: 32px; }
.detail-info { margin-top: -120px; padding: 0 64px 64px; position: relative; }
.detail-poster { width: 320px; height: 440px; background: #222; -webkit-flex-shrink: 0; flex-shrink: 0; border-radius: 12px; overflow: hidden; }
.detail-poster-img { width: 100%; height: 100%; object-fit: cover; }
.detail-meta-col { -webkit-box-flex: 1; -webkit-flex: 1; flex: 1; margin-left: 48px; padding-top: 100px; min-width: 0; }
.detail-title { font-size: 56px; font-weight: bold; }
.detail-badges { margin-top: 16px; -webkit-box-align: center; -webkit-align-items: center; align-items: center; }
.detail-rating { background: #eab308; color: #000; font-size: 26px; font-weight: bold; padding: 4px 16px; margin-right: 24px; }
.detail-meta { color: #888; font-size: 30px; margin-right: 24px; }
.detail-plot { color: #aaa; font-size: 28px; line-height: 1.35; margin-top: 32px; max-height: 190px; overflow: hidden; }
.detail-progress { height: 8px; background: #333; margin-top: 32px; max-width: 1200px; }
.progress { height: 6px; background: #333; }
.progress-fill { height: 100%; background: #FF3344; }
.detail-buttons { margin-top: 32px; }
.detail-buttons .btn + .btn { margin-left: 24px; }
.btn-detail-small { font-size: 28px; }

/* ==================== Detalhe da série ==================== */
.serie-loading { -webkit-box-flex: 1; -webkit-flex: 1; flex: 1; padding-top: 400px; }
.serie-content { -webkit-box-flex: 1; -webkit-flex: 1; flex: 1; min-height: 0; }
.serie-left { width: 574px; padding: 32px; -webkit-flex-shrink: 0; flex-shrink: 0; }
.serie-poster { height: 440px; background: #1a1a24; border-radius: 12px; overflow: hidden; }
.serie-poster-img { width: 100%; height: 100%; object-fit: cover; }
.serie-title { font-size: 36px; font-weight: bold; margin-top: 24px; }
.serie-rating { color: #eab308; font-size: 28px; margin-top: 12px; }
.serie-plot { color: #aaa; font-size: 26px; line-height: 1.3; margin-top: 20px; max-height: 204px; overflow: hidden; }
.btn-serie-fav { margin-top: 24px; height: 84px; padding: 0 40px; font-size: 28px; display: -webkit-inline-box; display: -webkit-inline-flex; display: inline-flex; }
.serie-seasons-title { font-size: 30px; font-weight: bold; margin-top: 32px; }
.season-chips { -webkit-flex-wrap: wrap; flex-wrap: wrap; margin-top: 16px; }
.season-chip { margin: 0 16px 16px 0; font-size: 26px; }
.episodes { -webkit-box-flex: 1; -webkit-flex: 1; flex: 1; padding: 16px 0 48px; }
.episode { margin: 0 24px 12px; background: #121218; border-radius: 12px; padding: 20px; border: 4px solid transparent; cursor: pointer; }
.episode.focused { background: #FF3344; }
.episode-row { -webkit-box-align: center; -webkit-align-items: center; align-items: center; }
.episode-thumb { width: 240px; height: 136px; background: #1a1a24; -webkit-flex-shrink: 0; flex-shrink: 0; overflow: hidden; }
.episode-info { -webkit-box-flex: 1; -webkit-flex: 1; flex: 1; margin-left: 24px; min-width: 0; }
.episode-num { color: #666; font-size: 22px; }
.episode.focused .episode-num { color: #fff; }
.episode-title { color: #e0e0e0; font-size: 28px; margin-top: 4px; max-height: 68px; overflow: hidden; }
.episode.focused .episode-title { color: #fff; }
.episode-dur { color: #555; font-size: 22px; margin-top: 8px; }
.episode.focused .episode-dur { color: #ffd6da; }
.episode-play { color: #FF3344; font-size: 36px; padding: 0 16px; }
.episode.focused .episode-play { color: #fff; }
.episode-progress { height: 6px; margin-top: 16px; }
.episode.focused .progress-fill { background: #fff; }

/* ==================== Configurações ==================== */
.settings-scroll { padding: 64px 96px; }
.settings { -webkit-box-orient: vertical; -webkit-flex-direction: column; flex-direction: column; -webkit-box-align: center; -webkit-align-items: center; align-items: center; }
.settings-logo { width: 144px; height: 144px; object-fit: contain; margin-bottom: 24px; }
.settings-name { font-size: 44px; font-weight: bold; margin-bottom: 32px; }
.settings-card { width: 100%; background: #121218; border-radius: 12px; padding: 40px; margin: 16px 0 40px; }
.settings-user { color: #e0e0e0; font-size: 32px; }
.settings-status { color: #888; font-size: 26px; margin-top: 8px; }
.settings-profile { color: #FF3344; font-size: 26px; margin-top: 8px; }
.settings-uid { color: #555; font-size: 22px; margin-top: 12px; }
.settings-version { color: #555; font-size: 22px; margin-top: 24px; }
.settings-support { color: #888; font-size: 24px; margin-top: 12px; }

/* ==================== Mensagens ==================== */
.msg-empty { text-align: left; color: #9aa0a6; font-size: 30px; padding: 56px; }
.msg-list { -webkit-box-flex: 1; -webkit-flex: 1; flex: 1; padding: 20px 40px 48px; }
.msg { background: #16161f; border: 2px solid #2a2a35; border-radius: 16px; padding: 28px; margin-bottom: 16px; cursor: pointer; }
.msg.focused { background: #3a2030; border: 6px solid #FF3344; padding: 24px; }
.msg-dot { width: 16px; height: 16px; border-radius: 50%; background: #FF3344; margin: 12px 20px 0 0; -webkit-flex-shrink: 0; flex-shrink: 0; }
.msg-body { -webkit-box-flex: 1; -webkit-flex: 1; flex: 1; min-width: 0; }
.msg-title { -webkit-box-flex: 1; -webkit-flex: 1; flex: 1; font-size: 30px; font-weight: bold; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.msg-date { color: #6a6a78; font-size: 24px; margin-left: 20px; }
.msg-text { color: #c8c8d0; font-size: 26px; line-height: 1.15; margin-top: 8px; }

/* ==================== Renovar ==================== */
.renew { -webkit-box-flex: 1; -webkit-flex: 1; flex: 1; padding: 36px 48px 56px; }
.renew-box { background: rgba(26,26,26,.9); border: 4px solid #333; border-radius: 24px; padding: 32px; }
.renew-client { font-size: 32px; font-weight: bold; }
.renew-due { color: #9aa0a6; font-size: 28px; margin-top: 8px; }
.renew-label { color: #666; font-size: 22px; font-weight: bold; letter-spacing: 1.8px; margin-top: 40px; }
.renew-plans { margin-top: 20px; }
.plan { width: 264px; -webkit-box-orient: vertical; -webkit-flex-direction: column; flex-direction: column; -webkit-box-align: center; -webkit-align-items: center; align-items: center;
  margin-right: 20px; padding: 28px 24px; background: #16161f; border: 2px solid #2a2a35; border-radius: 16px; cursor: pointer; }
.plan.focused { background: #3a2030; border: 6px solid #FF3344; padding: 24px 20px; }
.plan-period { color: #c8c8d0; font-size: 26px; }
.plan-value { font-size: 38px; font-weight: bold; margin-top: 12px; }
.renew-status { color: #9aa0a6; font-size: 28px; margin-top: 28px; }
.renew-pix { margin-top: 36px; background: rgba(26,26,26,.9); border: 4px solid #333; border-radius: 24px; padding: 36px; }
.renew-qr { width: 400px; height: 400px; background: #fff; padding: 16px; -webkit-flex-shrink: 0; flex-shrink: 0; }
.renew-pix-info { -webkit-box-flex: 1; -webkit-flex: 1; flex: 1; margin-left: 40px; min-width: 0; }
.renew-pix-title { font-size: 32px; font-weight: bold; }
.renew-value { color: #22c55e; font-size: 40px; font-weight: bold; margin-top: 12px; }
.renew-code { background: #151520; color: #c8c8d0; font-size: 22px; padding: 16px; margin-top: 10px; word-break: break-all; max-height: 100px; overflow: hidden; }
.btn-copy { height: 76px; padding: 0 40px; margin-top: 20px; font-size: 26px; display: -webkit-inline-box; display: -webkit-inline-flex; display: inline-flex; }
.renew-waiting { color: #FFB020; font-size: 28px; font-weight: bold; margin-top: 28px; }

/* ==================== Player ==================== */
.player { position: absolute; left: 0; top: 0; width: 1920px; height: 1080px; background: #000; }
.player-video { position: absolute; left: 0; top: 0; width: 1920px; height: 1080px; background: #000; }
.player-loading { position: absolute; left: 50%; top: 50%; -webkit-transform: translate(-50%, -50%); transform: translate(-50%, -50%);
  background: rgba(0,0,0,.8); font-size: 32px; padding: 24px 48px; }
.player-top { position: absolute; left: 0; top: 0; right: 0; background: rgba(0,0,0,.8); padding: 28px 48px; -webkit-box-align: center; -webkit-align-items: center; align-items: center; }
.player-top .btn + .btn { margin-left: 16px; }
.player-title { -webkit-box-flex: 1; -webkit-flex: 1; flex: 1; font-size: 40px; font-weight: bold; margin: 0 32px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dot-green { width: 16px; height: 16px; border-radius: 50%; background: #22c55e; margin-right: 12px; }
.live-label { color: #22c55e; font-size: 26px; font-weight: bold; margin-right: 8px; }
.player-bottom-live { position: absolute; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,.9); padding: 32px 48px; }
.live-row { -webkit-box-align: center; -webkit-align-items: center; align-items: center; }
.live-num { width: 88px; height: 88px; line-height: 88px; text-align: center; background: #FF3344; font-size: 40px; font-weight: bold; }
.live-name2 { -webkit-box-flex: 1; -webkit-flex: 1; flex: 1; margin-left: 28px; font-size: 36px; font-weight: bold; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.live-epg-bar { height: 8px; background: #333; margin-top: 16px; }
.live-epg-fill { height: 100%; width: 0; background: #ef4444; }
.live-epg-now { color: #ef4444; font-size: 30px; font-weight: bold; margin-top: 16px; }
.live-epg-next { color: #888; font-size: 26px; margin-top: 8px; }
.live-hint { color: #555; font-size: 22px; text-align: center; margin-top: 20px; }

.player-bottom-vod { position: absolute; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,.9); padding: 32px 80px 56px; }
.seek-area { position: relative; height: 80px; margin-bottom: 16px; cursor: pointer; }
.seek-track { position: absolute; left: 0; right: 0; top: 30px; height: 20px; background: #333; border-radius: 10px; overflow: hidden; border: 2px solid transparent; }
.seek-track.focused { background: #444; border-color: #FF3344; }
.seek-fill { height: 100%; width: 0; background: #FF3344; border-radius: 10px; }
.seek-thumb { position: absolute; top: 22px; left: -18px; width: 36px; height: 36px; border-radius: 50%; background: #FF3344; border: 4px solid #fff; }
.player-controls { -webkit-box-align: center; -webkit-align-items: center; align-items: center; }
.player-btn { height: 96px; line-height: 88px; padding: 0 40px; font-size: 32px; font-weight: bold; border-radius: 48px; background: rgba(255,255,255,.2); border: 2px solid rgba(255,255,255,.33); cursor: pointer; white-space: nowrap; }
.player-btn.selected { background: #FF5C6B; border: 6px solid #fff; line-height: 80px; }
.player-btn-play { width: 128px; height: 128px; line-height: 120px; margin: 0 40px; text-align: center; border-radius: 50%; background: #FF3344; border: 4px solid rgba(255,255,255,.4); font-size: 52px; font-weight: bold; cursor: pointer; }
.player-btn-play.selected { background: #FF5C6B; border: 6px solid #fff; line-height: 116px; }
.player-btn-text { padding: 32px; font-size: 32px; border-radius: 12px; cursor: pointer; }
.player-btn-text.selected { background: #FF3344; }
.player-time { text-align: center; font-size: 32px; margin-top: 16px; }

.next-modal { position: absolute; right: 48px; bottom: 330px; width: 600px; background: rgba(26,26,26,.95); border: 4px solid #333; border-radius: 24px; padding: 32px; }
.next-label { color: #888; font-size: 24px; }
.next-title { font-size: 32px; font-weight: bold; margin-top: 12px; }
.next-countdown { color: #FF3344; font-size: 26px; margin-top: 8px; }
.next-buttons { margin-top: 24px; }
.next-btn { -webkit-box-flex: 1; -webkit-flex: 1; flex: 1; text-align: center; padding: 20px; font-size: 26px; opacity: .5; cursor: pointer; }
.next-btn + .next-btn { margin-left: 12px; }
.next-btn.selected { opacity: 1; }
.next-btn-play { background: #FF3344; }
.next-btn-cancel { background: #333; }

.dialog-tracks { width: 920px; }
.track-list { max-height: 560px; margin-bottom: 32px; }
.track-option { padding: 24px 28px; margin-bottom: 12px; font-size: 30px; color: #ddd; white-space: pre; cursor: pointer; }
.track-option.track-active { color: #FF3344; }
.track-option.focused { background: #FF3344; color: #fff; }
