/* SPACE · app web próprio. Segue o visual do app Android Space Orbit (paleta azul-noturno + roxo). Tudo em vh/vw: de 720p a 4K. */
:root {
  --bg: #010D44; --sf: #0B1558; --sf2: #15226F; --pri: #7B4DFF; --pri2: #4A2BC2; --acc: #9DB6FF; --hi: #B07CFF;
  --tx: #F2F4FF; --tx2: #A9B2DE; --ring: #A9C6FF; --org: #F5A623;
  /* quadro do player pequeno (16:9): a mesma conta do Orbit — 55 % da altura da tela */
  --ph: 55vh; --pw: 97.78vh; --pt: 24vh; --pr: 3vw;
}
html, body { margin: 0; padding: 0; width: 100%; height: 100%; overflow: hidden; background: var(--bg); color: var(--tx);
  font-family: Roboto, "Helvetica Neue", Arial, sans-serif; font-size: 2.3vh; -webkit-user-select: none; user-select: none; }
* { box-sizing: border-box; }
#bg { position: fixed; left: 0; top: 0; right: 0; bottom: 0; z-index: 0; background: linear-gradient(155deg, #010D44 0%, #0d1160 45%, #2a1a7c 100%); }
html.side #bg { background: var(--bg, #3D2F2A); }   /* Duna GO: fundo liso marrom do app Android (o fundo ilustrado só aparece nas telas de entrada) */
html.wall #bg { background-size: cover; background-position: center bottom; background-repeat: no-repeat; }   /* imagem de fundo da marca (assets/bg.jpg, trocável no painel) */
html.mob.wall #bg { background-position: left bottom; }   /* tela em pé: aparecem os pinheiros do canto */
#screen { position: fixed; left: 0; top: 0; right: 0; bottom: 0; z-index: 2; }
.scr { position: absolute; left: 0; top: 0; right: 0; bottom: 0; }

/* foco: anel claro, igual ao do Orbit */
.f { transition: background-color .12s, box-shadow .12s; }
.f.on { box-shadow: 0 0 0 .4vh var(--ring); background-color: var(--focus, rgba(123, 77, 255, .38)) !important; }
svg.i { width: 1em; height: 1em; fill: currentColor; vertical-align: -.14em; }

/* ---------- entrada ---------- */
.login { display: flex; flex-direction: column; align-items: center; justify-content: center; }
.login img.logo { height: 13vh; max-width: 46vw; object-fit: contain; margin-bottom: 4vh; }
.login h1 { margin: 0 0 .6vh; font-size: 4vh; font-weight: 500; }
.login p { margin: 0 0 4vh; color: var(--tx2); }
.login p b { color: var(--tx); }
.field { width: 46vh; height: 8.4vh; margin: 1.2vh 0; border-radius: 1.2vh; background: rgba(255,255,255,.10); display: flex; align-items: center; padding: 0 2.4vh; }
.field input { width: 100%; background: transparent; border: 0; outline: 0; color: #fff; font-size: 3vh; font-family: inherit; }
.field input::placeholder { color: rgba(255,255,255,.45); }
.btn { display: inline-flex; align-items: center; justify-content: center; min-width: 22vh; height: 8vh; padding: 0 3.4vh; border-radius: 1.2vh; background: rgba(255,255,255,.12); font-size: 2.8vh; margin: 1.2vh; }
.btn.pri { background: var(--pri2); }
.btn .i { margin-right: 1.2vh; }
.err { height: 4vh; color: #ff8a8a; font-size: 2.4vh; margin-top: 1vh; }

/* ---------- topo: logo, ícones e relógio; abaixo, as abas ---------- */
.hdr { position: absolute; left: 3.4vw; right: 3.4vw; top: 2.6vh; height: 11.5vh; display: flex; align-items: center; }
.hdr .brand { display: flex; align-items: center; flex: 1; min-width: 0; }
.hdr .brand img { height: 8.6vh; max-width: 24vw; object-fit: contain; }
.hdr .brand b { margin-left: 2vh; font-size: 4vh; font-weight: 600; white-space: nowrap; }
.hdr .ico { width: 7.4vh; height: 7.4vh; margin-left: 1.9vh; border-radius: 50%; background: rgba(255,255,255,.10); display: flex; align-items: center; justify-content: center; font-size: 3.6vh; }
.hdr .clock { margin-left: 3vh; font-size: 3.6vh; color: var(--tx); min-width: 9vh; }
.tabs { position: absolute; left: 3.4vw; right: 3.4vw; top: 15vh; height: 8vh; display: flex; align-items: center; overflow: hidden; white-space: nowrap; }
.tab { padding: .8vh 2vh; margin-right: .8vh; border-radius: 4vh; font-size: 3.9vh; font-weight: 500; color: var(--tx2); letter-spacing: .1vh; }
.tab img { height: 5.6vh; display: block; }
.tab.cur { color: var(--hi); font-weight: 700; }
.tab.f.on { color: #fff; }
#tabbody { position: absolute; left: 0; right: 0; top: 23vh; bottom: 0; }

/* ---------- aba TV: lista à esquerda, player pequeno à direita ---------- */
.lcol { position: absolute; left: 4vw; top: 1vh; width: calc(100vw - var(--pw) - var(--pr) - 8.5vw); min-width: 26vw; bottom: 2vh; }
.ltitle { height: 6vh; font-size: 3.4vh; font-weight: 700; display: flex; align-items: center; padding-left: 1vh; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.back { height: 6.4vh; font-size: 2.7vh; color: var(--tx2); display: flex; align-items: center; padding-left: 1.6vh; border-radius: 1vh; margin-bottom: .6vh; }
.back .i { margin-right: 1.6vh; font-size: 2.4vh; }
.list { position: absolute; left: 0; right: 0; top: 7vh; bottom: 6vh; overflow: hidden; padding: .5vh .6vh; }
.list.withback { top: 14.6vh; }
.row { display: flex; align-items: center; height: 8.6vh; margin: 0 0 .5vh; border-radius: 1vh; padding: 0 1.2vh; background: rgba(255,255,255,0); overflow: hidden; }
.row .num { width: 5vh; flex: none; text-align: right; color: var(--tx2); font-size: 2.5vh; }
.row .lg { width: 8vh; height: 6.4vh; flex: none; margin: 0 1.6vh 0 1.6vh; display: flex; align-items: center; justify-content: center; }
.row .lg img { max-width: 100%; max-height: 100%; }
.row .tx { min-width: 0; flex: 1; }
.row .nm { font-size: 3vh; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row .sub { font-size: 2.3vh; color: var(--tx2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: .2vh; }
.row .bd { flex: none; margin-left: 1vh; padding: .3vh 1.2vh; border-radius: 1.4vh; background: var(--pri); font-size: 2.1vh; font-weight: 700; }
.row.cur .nm { color: var(--hi); }
.row.cat { height: 8vh; }
.row.cat .nm { font-size: 3.1vh; }
.row.cat .arr { margin-left: auto; color: var(--tx2); font-size: 3vh; }
.hintb { position: absolute; left: 1vh; bottom: .6vh; font-size: 2.3vh; color: var(--tx2); }

.rcol { position: absolute; right: var(--pr); top: 1vh; width: var(--pw); }
.ph { width: var(--pw); height: var(--ph); position: relative; background: #000; border-radius: 1.6vh; border: .35vh solid rgba(169, 198, 255, .55); }
.ph .in { position: absolute; left: 0; top: 0; right: 0; bottom: 0; display: flex; align-items: center; justify-content: center; text-align: center; color: var(--tx2); font-size: 2.8vh; padding: 0 4vh; line-height: 1.5; }
.rinfo { display: flex; margin-top: 1.4vh; }
.rinfo .l { flex: 1; min-width: 0; }
.rinfo h2 { margin: 0 0 .6vh; font-size: 4.2vh; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rinfo p { margin: .3vh 0; font-size: 3vh; color: var(--tx); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rinfo p b { color: var(--acc); font-weight: 700; margin-right: 1.6vh; }
.rinfo p span { color: var(--tx2); margin-left: 1.4vh; }
.rinfo .hud { font-size: 1.9vh; line-height: 1.5; color: var(--tx); margin-top: .8vh; white-space: normal; }
.qs { flex: none; margin-left: 2vh; display: flex; align-items: flex-start; }
.q { margin-left: 1vh; padding: .8vh 2vh; border-radius: 1.2vh; border: .3vh solid var(--acc); color: var(--acc); font-size: 2.6vh; font-weight: 600; }
.q.on { background: var(--pri); border-color: var(--pri); color: #fff; }

.soon { position: absolute; left: 0; right: 0; top: 14vh; text-align: center; color: var(--tx2); font-size: 3.4vh; line-height: 1.6; }
.soon b { display: block; color: var(--tx); font-size: 4.6vh; margin-bottom: 1.4vh; }

/* ---------- perfil ---------- */
.card { position: absolute; left: 12vw; right: 12vw; top: 18vh; padding: 4vh 5vh; border-radius: 2vh; background: rgba(11, 21, 88, .75); }
.card h1 { margin: 0 0 3vh; font-size: 4.6vh; }
.kv { display: flex; margin: 1.2vh 0; font-size: 3vh; }
.kv small { width: 24vh; color: var(--tx2); font-size: 2.6vh; text-transform: uppercase; letter-spacing: .1vh; padding-top: .4vh; }
.card .btns { margin-top: 3vh; display: flex; }

/* ---------- vídeo: o MESMO elemento muda de tamanho (pequeno ↔ tela cheia), então a transmissão não é interrompida ---------- */
video.pv { position: fixed; z-index: 1; background: #000; visibility: hidden; display: none; right: var(--pr); top: 24vh; width: var(--pw); height: var(--ph); margin-top: 1vh; border-radius: 1.6vh; }
video.pv.on { visibility: visible; }
body.live:not(.full) video.pv, body.live:not(.full) #vload { clip-path: inset(var(--vct, 0px) 0 var(--vcb, 0px) 0); }
/* posição/tamanho do vídeo pequeno vêm do quadro .ph (alignVideo no app.js); sem medida usa a conta antiga em vh */
body.live video.pv { display: block; z-index: 3; right: auto; margin: 0; left: var(--vx, calc(100vw - var(--pr) - var(--pw))); top: var(--vy, calc(var(--pt) + 1vh)); width: var(--vw, var(--pw)); height: var(--vh, var(--ph)); border-radius: 1.2vh; }
/* sem nada a cortar, o recorte nem entra; na TV Samsung (Tizen) o vídeo pequeno também fica sem cantos arredondados (a camada de vídeo do hardware ignora/some com eles) */
html.noclip body.live:not(.full) video.pv, html.noclip body.live:not(.full) #vload { -webkit-clip-path: none; clip-path: none; }
html.tizen body.live video.pv { border-radius: 0; -webkit-clip-path: none; clip-path: none; }
/* Samsung: a TV só liga a camada de vídeo do hardware se o <video> já está VISÍVEL quando a transmissão começa (escondido, o som toca mas a imagem fica preta na janela pequena).
   Os dois <video> ficam sempre desenhados e transparentes; quem não tem imagem não cobre nada. */
html.tizen video.pv { display: block; visibility: visible; background: transparent; pointer-events: none; }
html.tizen body.full video.pv.on, html.tizen body.vod video.pv.on { background: #000; }   /* tela cheia: faixas pretas, SÓ no vídeo que está no ar (o outro, vazio, não pode tapar a imagem) */
/* troca de canal: o que está saindo (.old) continua desenhado por baixo; o que entrou (.on) fica por cima e cobre assim que tem imagem */
video.pv.old { visibility: visible; }
body.live video.pv.on { z-index: 4; }
body.full video.pv.on { z-index: 9; }
body.full video.pv { left: 0; top: 0; right: auto; margin: 0; width: 100%; height: 100%; border-radius: 0; z-index: 8; }
#vload { position: fixed; z-index: 9; right: auto; left: var(--vx, calc(100vw - var(--pr) - var(--pw))); top: var(--vy, calc(var(--pt) + 1vh)); width: var(--vw, var(--pw)); height: var(--vh, var(--ph)); display: none; text-align: center; pointer-events: none; }
body.full #vload { left: 0; top: 0; right: auto; margin: 0; width: 100%; height: 100%; }
#vload i { position: absolute; left: 50%; top: 42%; width: 7vh; height: 7vh; margin: -3.5vh 0 0 -3.5vh; border-radius: 50%; border: .8vh solid rgba(255,255,255,.18); border-top-color: #fff; -webkit-animation: sp .9s linear infinite; animation: sp .9s linear infinite; }
#vload b { position: absolute; left: 0; right: 0; top: 54%; font-weight: normal; font-size: 2.6vh; color: rgba(255,255,255,.85); padding: 0 4vh; }
#vload.err i { display: none; }
#vload.err b { top: 44%; color: #fff; }
@-webkit-keyframes sp { to { -webkit-transform: rotate(360deg); } }
@keyframes sp { to { transform: rotate(360deg); } }

/* barra de informações em tela cheia: número, nome, programa, qualidades */
#ovl { position: fixed; z-index: 10; left: 0; right: 0; bottom: 0; padding: 9vh 5vw 4.5vh; display: none; background: linear-gradient(to top, rgba(1,13,68,.92), rgba(1,13,68,0)); }
body.full #ovl.show { display: block; }
#ovl .r1 { display: flex; align-items: flex-end; }
#ovl .r1 .l { flex: 1; min-width: 0; }
#ovlNum { display: inline-block; font-size: 4.6vh; font-weight: 700; color: var(--acc); margin-right: 2.4vh; vertical-align: baseline; }
#ovlTitle { display: inline; font-size: 4.6vh; font-weight: 700; }
#ovlNow, #ovlNext { font-size: 3vh; color: var(--tx); margin: .8vh 0 0; }
#ovlNext { color: var(--tx2); }
#ovl .qs { margin-bottom: .6vh; }
#ovlHud { margin-top: 1.8vh; }
#ovlKeys { font-size: 2.1vh; color: var(--tx2); margin-top: .8vh; opacity: .8; }

#toast { position: fixed; z-index: 20; left: 50%; bottom: 7vh; transform: translateX(-50%); padding: 1.6vh 3.4vh; border-radius: 1.2vh; background: rgba(0,0,0,.85); font-size: 2.5vh; display: none; max-width: 80vw; text-align: center; }

/* ---------- abas com fileiras (Destaques, Filmes, Séries, Kids, Anime, Explorar) ---------- */
.pg { position: absolute; left: 0; right: 0; top: 0; bottom: 0; overflow: hidden; padding: 0 4vw; }
.hero { display: flex; height: 31vh; margin-top: .4vh; }
.bn { position: relative; width: 54vw; height: 31vh; border-radius: 1.6vh; background-size: cover; background-position: center top; background-color: rgba(255,255,255,.08); overflow: hidden; }
.bn .bt { position: absolute; left: 0; right: 0; bottom: 0; padding: 7vh 2.4vh 2.2vh; background: linear-gradient(to top, rgba(1,13,68,.95), rgba(1,13,68,0)); }
.bn .bt b { display: block; font-size: 4vh; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bn .bt span { font-size: 2.4vh; color: var(--tx2); }
.bn .dots { position: absolute; right: 2vh; bottom: 2vh; }
.bn .dots i { display: inline-block; width: 1.2vh; height: 1.2vh; margin-left: .8vh; border-radius: 50%; background: rgba(255,255,255,.4); }
.bn .dots i.on { background: #fff; }
.sct { flex: 1; margin-left: 2vw; display: flex; flex-wrap: wrap; align-content: space-between; justify-content: space-between; }
.sc { width: calc(50% - .8vh); height: 14.6vh; border-radius: 1.4vh; display: flex; align-items: center; justify-content: center; font-size: 3.4vh; font-weight: 700; text-align: center; }
.rail { margin-top: 3vh; }
.rtt { font-size: 3.2vh; font-weight: 700; margin: 0 0 1.2vh 1vh; }
.strip { white-space: nowrap; overflow: hidden; padding: .8vh 1vh 1.6vh; }
.pc { display: inline-block; width: 16vh; margin-right: 1.6vh; vertical-align: top; white-space: normal; border-radius: 1.2vh; padding: .6vh; }
.pc .im { height: 24vh; position: relative; background-size: cover; background-position: center; background-color: rgba(255,255,255,.08); border-radius: 1vh; overflow: hidden; }
.pc .rt { position: absolute; left: 0; bottom: 0; padding: .2vh 1vh; font-size: 2.1vh; font-weight: 700; color: var(--org); background: rgba(0,0,0,.7); border-top-right-radius: 1vh; }
.pc .pn { font-size: 2.2vh; margin-top: .8vh; height: 6.4vh; overflow: hidden; line-height: 3.1vh; }
.pc.more .im { display: flex; align-items: center; justify-content: center; text-align: center; font-size: 2.8vh; font-weight: 600; color: var(--acc); }

/* ---------- categorias + grade ---------- */
.bhead { position: absolute; left: 3.4vw; top: 3vh; height: 7vh; display: flex; align-items: center; font-size: 4vh; font-weight: 700; }
.bhead .i { margin-right: 1.6vh; font-size: 4vh; opacity: .8; }
.bcol { position: absolute; left: 3vw; top: 12vh; width: 27vw; bottom: 3vh; }
.bcol .list { top: 0; bottom: 0; }
.bgrid { position: absolute; left: 31.5vw; right: 2vw; top: 11vh; bottom: 2vh; overflow: hidden; padding: .8vh 1vh; }
.bgrid .pc { margin-bottom: 1.2vh; }

/* ---------- ficha ---------- */
.dbg { position: absolute; left: 0; right: 0; top: 0; bottom: 0; background-size: cover; background-position: center top; opacity: .5; }
.dsh { position: absolute; left: 0; right: 0; top: 0; bottom: 0; background: linear-gradient(90deg, rgba(1,13,68,.97) 28%, rgba(1,13,68,.6) 100%); }
.dpost { position: absolute; left: 5vw; top: 9vh; width: 27vh; height: 40.5vh; background-size: cover; background-position: center; background-color: rgba(255,255,255,.08); border-radius: 1.2vh; box-shadow: 0 1.4vh 4vh rgba(0,0,0,.6); }
.dinfo { position: absolute; left: calc(5vw + 31vh); right: 5vw; top: 8vh; }
.dinfo h1 { margin: 0 0 1vh; font-size: 5.4vh; line-height: 1.15; }
.dmeta { font-size: 2.6vh; color: var(--tx2); margin-bottom: 1.8vh; }
.dmeta .or { color: var(--org); font-weight: 700; }
.dplot { margin: 0 0 1.6vh; font-size: 2.5vh; line-height: 1.45; max-height: 10.6vh; overflow: hidden; color: var(--tx); }
.dsm { font-size: 2.3vh; color: var(--tx2); margin-bottom: .6vh; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dsm b { color: var(--acc); margin-right: 1.2vh; }
.dbtns { display: flex; margin-top: 2vh; }
.dbtns .btn { margin: 0 1.6vh 0 0; height: 7.6vh; font-size: 2.7vh; }
.scr.ser .dsm { display: none; }
.scr.ser .dpost { height: 36vh; width: 24vh; top: 8vh; }
.scr.ser .dinfo { left: calc(5vw + 28vh); top: 7vh; }
.scr.ser .dplot { max-height: 7.2vh; }
.dseas { position: absolute; left: 5vw; right: 4vw; top: 49vh; height: 8vh; white-space: nowrap; overflow: hidden; }
.chip { display: inline-block; padding: 1vh 2.4vh; margin-right: 1.4vh; border-radius: 4vh; border: .3vh solid var(--acc); color: var(--acc); font-size: 2.6vh; }
.chip.cur { background: var(--pri); border-color: var(--pri); color: #fff; }
.deps { position: absolute; left: 4.4vw; right: 3vw; top: 58vh; bottom: 2vh; padding: .5vh .6vh; overflow: hidden; }
.ep .num { width: 5vh; }
.pbar { height: .7vh; background: rgba(255,255,255,.2); border-radius: .4vh; margin-top: .8vh; width: 60%; }
.pbar i { display: block; height: 100%; background: var(--pri); border-radius: .4vh; }
.row.bad { opacity: .55; }
.row .bd.off { background: #8b2f3a; }
#vloadText { white-space: pre-line; }

/* ---------- player de filme/episódio ---------- */
body.vod video.pv { display: block; z-index: 8; left: 0; top: 0; right: auto; margin: 0; width: 100%; height: 100%; border-radius: 0; }
body.vod #vload { left: 0; top: 0; right: auto; margin: 0; width: 100%; height: 100%; }
.vctl { position: fixed; z-index: 10; left: 0; right: 0; bottom: 0; padding: 9vh 5vw 4.5vh; display: none; background: linear-gradient(to top, rgba(1,13,68,.95), rgba(1,13,68,0)); }
.vctl.show { display: block; }
#vtitle { font-size: 3.8vh; font-weight: 600; margin-bottom: 2vh; }
.vbar { display: flex; align-items: center; font-size: 2.7vh; }
.vtrack { flex: 1; height: 1vh; margin: 0 2vh; background: rgba(255,255,255,.25); border-radius: .5vh; overflow: hidden; }
.vtrack i { display: block; height: 100%; width: 0; background: var(--pri); }
.vkeys { margin-top: 1.6vh; font-size: 2.1vh; color: var(--tx2); }

.ep { height: auto; min-height: 8.6vh; padding: 1vh 1.2vh; }
.ep .num { align-self: flex-start; padding-top: .6vh; }
.ep .sub { white-space: normal; max-height: 6.4vh; overflow: hidden; }

/* ---------- mosaicos (Destaques, Anime, Explorar, Kids) e Filmes/Séries — mesma estrutura do app Android ---------- */
.pgw { position: absolute; left: 0; right: 0; top: 0; bottom: 0; }
.mz { position: absolute; left: 2.5vw; right: 2.5vw; top: .6vh; bottom: 2.4vh; display: flex; }
.mz > .mc { flex: 1; margin-left: .8vh; }
.mz > .mc:first-child { margin-left: 0; }
.mz > .col { flex: 1; margin-left: .8vh; display: flex; flex-direction: column; }
.mz > .col > .mc { flex: 1; margin: 0 0 .8vh 0; }
.mz > .col > .mc:last-child { margin-bottom: 0; }
.mc { position: relative; border-radius: 1.2vh; overflow: hidden; background: rgba(255,255,255,.06); transition: transform .12s; }
.mc .mi { position: absolute; left: 0; top: 0; right: 0; bottom: 0; background-size: cover; background-position: center; }
.mc .mt { display: none; position: absolute; left: 0; right: 0; bottom: 0; padding: 5vh 1.6vh 1.6vh; font-size: 2.6vh; font-weight: 700; background: linear-gradient(to top, rgba(1,13,68,.95), rgba(1,13,68,0)); }
.mc.on { transform: scale(1.035); z-index: 4; background: rgba(255,255,255,.06) !important; }
.mc.on .mt { display: block; }
.mc .band { position: absolute; left: 1.4vh; right: 1.4vh; top: 50%; margin-top: -2.6vh; height: 5.2vh; line-height: 5.2vh; text-align: center; font-size: 2.8vh; font-weight: 700; background: rgba(0,0,0,.7); border-radius: 1vh; }
.mc.door .mi { filter: brightness(.9); }

/* Filmes / Séries */
.ft { position: absolute; left: 2.5vw; right: 2.5vw; top: .6vh; height: 40vh; display: flex; }
.fl { width: 53%; display: flex; flex-direction: column; }
.fl .bn { flex: 2; width: auto; height: auto; }
.fl .tiles { flex: 1; display: flex; margin-top: .8vh; }
.fl .tiles .sc { flex: 1; width: auto; height: auto; margin-left: .8vh; font-size: 3vh; border-radius: 1.2vh; }
.fl .tiles .sc:first-child { margin-left: 0; }
.fr { flex: 1; display: flex; margin-left: .8vh; }
.fr .mc { flex: 1; margin-left: .8vh; }
.fr .mc:first-child { margin-left: 0; }
.frail { position: absolute; left: 2.5vw; right: 2.5vw; top: 42vh; bottom: 0; }
.frail .rtt { margin-left: 0; }
.frail .strip { padding-left: 0; }
.frail .pc { width: 14vh; }
.frail .pc .im { height: 21vh; }
.frail .pc .pn { height: 5.6vh; font-size: 2vh; line-height: 2.8vh; }

/* Kids */
.kz { display: flex; }
.kl { width: 69%; display: flex; flex-direction: column; }
.kt { flex: 66; display: flex; }
.kt .bn { flex: 68; width: auto; height: auto; }
.kc { flex: 32; margin-left: .8vh; display: flex; flex-direction: column; }
.kc .mc { flex: 1; margin: 0 0 .8vh 0; }
.kc .mc:last-child { margin-bottom: 0; }
.kb { flex: 34; margin-top: .8vh; display: flex; }
.kb .mc { flex: 1; margin-left: .8vh; }
.kb .mc:first-child { margin-left: 0; }
.kr { width: 31%; margin-left: .8vh; display: flex; flex-direction: column; }
.kr .mc { flex: 1; margin: 0 0 .8vh 0; }
.kr .mc:last-child { margin-bottom: 0; }
.kz .bn { border-radius: 1.2vh; }

/* ---------- acesso por aparelho ---------- */
.acc .btn { width: 52vh; margin: 1vh 0; }
.cdisp { font-size: 6vh; letter-spacing: .6vh; height: 9vh; line-height: 9vh; color: var(--tx); white-space: pre; }
.kpad { display: flex; flex-wrap: wrap; width: 44vh; margin: 1vh 0 2vh; }
.kp { width: calc(33.33% - 1.2vh); height: 8.4vh; margin: .6vh; border-radius: 1.2vh; background: rgba(255,255,255,.10); display: flex; align-items: center; justify-content: center; font-size: 3.6vh; }
.kp.okk { background: var(--pri2); }
.pinbox { margin: 2vh 0 0; padding: 2vh 3vh; border-radius: 1.4vh; background: rgba(123,77,255,.25); font-size: 3vh; }
.pinbox b { font-size: 4.6vh; letter-spacing: .8vh; margin-left: 1vh; }

/* ---------- página Kids ("Mais") ---------- */
@font-face { font-family: 'AmazingKids'; src: url('kids/amazing_kids.otf'); }
.kids { background: #4DB6D2; font-family: 'AmazingKids', Roboto, sans-serif; }
.kbg { position: absolute; left: 0; top: 0; right: 0; bottom: 0; background: url('kids/kids_bg.jpg') center/cover no-repeat; }
.kpanel { position: absolute; left: 7.4vh; top: -.2vh; width: 37vh; height: 94.6vh; background: url('kids/kids_panel.png') 0 0/100% 100% no-repeat; }
.kinner { position: absolute; left: 2.6vh; right: 2.6vh; top: 22.4vh; bottom: 6.3vh; display: flex; flex-direction: column; }
.kb { flex: none; height: 7.4vh; margin-bottom: 3.5vh; background: url('kids/kids_btn.png') 0 0/100% 100% no-repeat; color: #0A6638; font-size: 3vh; padding-left: 3.6vh; display: flex; align-items: center; white-space: nowrap; overflow: hidden; }
.kb img { height: 2.6vh; margin-right: 1.4vh; }
.kb.sel, .kids .kb.f.on { background-image: url('kids/kids_btn_focus.png'); color: #8D5429; }
.kids .f.on { box-shadow: none; background-color: transparent !important; }
.krail { flex: 1; margin-top: 3.2vh; overflow: hidden; }
.ktitle { position: absolute; left: 53.7vh; top: 3.8vh; font-size: 3.9vh; color: #fff; text-shadow: 0 .3vh .6vh rgba(0,0,0,.35); }
.kgrid { position: absolute; left: 50.4vh; top: 8.7vh; right: 2vw; bottom: 0; overflow: hidden; padding-top: .4vh; }
.kcard { display: inline-block; width: 24.8vh; height: 38.5vh; margin: 2.4vh 2.2vh; border-radius: 1.7vh; padding: .4vh; background: transparent; vertical-align: top; }
.kcard .ki { width: 100%; height: 100%; background-size: cover; background-position: center; border-radius: 1.4vh; background-color: rgba(255,255,255,.25); }
.kids .kcard.f.on { background-color: #FFD400 !important; transform: scale(1.04); }
.row.sp .nm { color: var(--tx); }

/* ---------- atalhos com a arte do app Android, portas e faixas de seta ---------- */
.tl { background-size: cover; background-position: center; position: relative; overflow: hidden; }
.tbw { position: absolute; left: 1.1vh; right: 1.1vh; bottom: 1.8vh; height: 6.4vh; filter: drop-shadow(0 0 .12vh rgba(255,255,255,.7)); pointer-events: none; }
.tbw.low { bottom: 2.2vh; left: 1.8vh; right: 1.8vh; }
.tband { height: 100%; display: flex; align-items: center; justify-content: center; font-size: 3.2vh; color: #fff; background: rgba(0,0,0,.72); white-space: nowrap; overflow: hidden;
  -webkit-clip-path: polygon(2.9vh 0, calc(100% - 2.9vh) 0, 100% 50%, calc(100% - 2.9vh) 100%, 2.9vh 100%, 0 50%); clip-path: polygon(2.9vh 0, calc(100% - 2.9vh) 0, 100% 50%, calc(100% - 2.9vh) 100%, 2.9vh 100%, 0 50%); }
.fl .tiles .sc.tl { font-size: 0; }
.dic { position: absolute; left: 50%; top: 50%; width: 10.4vh; height: 10.4vh; margin: -9vh 0 0 -5.2vh; }
.dic svg { width: 100%; height: 100%; }
.mc.always .mt { display: block; }

/* ---------- Filmes/Séries: bloco do alto com a altura do Android (372 de 540) e "Adicionados recentemente" abaixo, só ao rolar ---------- */
.pgw.scroll { overflow: hidden; }
.pgw.scroll .ft { position: relative; left: auto; right: auto; top: auto; margin: .6vh 3.3vw 0; height: 68.9vh; }
.pgw.scroll .frail { position: relative; left: auto; right: auto; top: auto; bottom: auto; margin: 2.2vh 3.3vw 0; padding-bottom: 14vh; }
.pgw.scroll .frail .rtt { font-size: 3.2vh; margin: 0 0 1vh 1vh; }
.pgw.scroll .frail .pc { width: 21.5vh; padding: .9vh; margin-right: 0; }
.pgw.scroll .frail .pc .im { height: 30.7vh; }
.pgw.scroll .frail .pc .pn { height: 6vh; font-size: 2.3vh; line-height: 3vh; }
.mz { left: 3.3vw; right: 3.3vw; }
.tbw { height: 7vh; bottom: 1.85vh; }
.tband { font-size: 3.7vh; -webkit-clip-path: polygon(3.15vh 0, calc(100% - 3.15vh) 0, 100% 50%, calc(100% - 3.15vh) 100%, 3.15vh 100%, 0 50%); clip-path: polygon(3.15vh 0, calc(100% - 3.15vh) 0, 100% 50%, calc(100% - 3.15vh) 100%, 3.15vh 100%, 0 50%); }

/* ---------- categorias + grade: menu estreito e grade larga (sem o vazio no meio; 6 colunas como no Android) ---------- */
.bhead { left: 2vw; }
.bcol { left: 1.6vw; width: 17.6vw; top: 12vh; }
.bcol .list { padding: .5vh .3vw; }
.bcol .row.cat { padding: 0 1.6vh; }
.bcol .row .nm, .bcol .row.cat .nm { font-size: 3vh; }
.bgrid { left: 20vw; right: 1.4vw; top: 10.5vh; padding: .8vh 0 0; }
.bgrid .pc { width: 15.1%; margin: 0 .7% 1.2vh; padding: .5vh; }
.bgrid .pc .im { height: 0; padding-top: 150%; }
.bgrid .pc .pn { height: 6vh; font-size: 2.2vh; line-height: 3vh; }

/* ---------- Jogos: mesmas medidas do app Android (1dp = 1/540 da altura) ---------- */
:root { --dp: .185185vh; }
.jg { position: absolute; left: 3.4vw; right: 3.4vw; top: 0; bottom: 0; }
.jgh { height: calc(var(--dp) * 40); display: flex; align-items: center; font-size: calc(var(--dp) * 22); color: var(--tx); }
.jgh svg { width: calc(var(--dp) * 26); height: calc(var(--dp) * 26); margin-right: calc(var(--dp) * 14); color: #fff; }
.jgb { position: absolute; left: 0; right: 0; top: calc(var(--dp) * 46); bottom: 1vh; }
.jgt { position: absolute; left: 0; top: 0; bottom: 0; width: calc(var(--dp) * 120); display: flex; flex-direction: column; }
.jt { position: relative; flex: 1; margin-bottom: calc(var(--dp) * 5); border-radius: calc(var(--dp) * 6); overflow: hidden; }
.jt:last-child { margin-bottom: 0; }
.jt.on { -webkit-transform: scale(1.03); transform: scale(1.03); box-shadow: 0 0 0 calc(var(--dp) * 3) #C9A24B; }
.jti { position: absolute; left: 0; right: 0; top: 50%; height: calc(var(--dp) * 52); margin-top: calc(var(--dp) * -42); font-size: calc(var(--dp) * 52); text-align: center; color: #fff; }
.jti svg { width: calc(var(--dp) * 52); height: calc(var(--dp) * 52); vertical-align: top; }
.jtl { position: absolute; left: 0; right: 0; bottom: calc(var(--dp) * 6); height: calc(var(--dp) * 34); line-height: calc(var(--dp) * 34); text-align: center; font-size: calc(var(--dp) * 20); color: #fff; white-space: nowrap; }
.jtl.sm { font-size: calc(var(--dp) * 16); }
.jgl { position: absolute; left: calc(var(--dp) * 132); right: 0; top: 0; bottom: 0; overflow: hidden; padding: 0 0 calc(var(--dp) * 12); }
.jmsg { text-align: center; color: var(--tx2); font-size: calc(var(--dp) * 15); padding: calc(var(--dp) * 90) calc(var(--dp) * 20) 0; margin: 0; }
.f.jmsg.on { background: none !important; box-shadow: none; color: #fff; }

/* linha de jogo */
.gm { display: flex; align-items: center; height: calc(var(--dp) * 76); margin-bottom: calc(var(--dp) * 3); background: rgba(60,60,60,.75); border: calc(var(--dp) * 2) solid transparent; overflow: hidden; }
.gm.on { background: rgba(80,80,80,.9) !important; border-color: #C9A24B; box-shadow: none; }
.gm .gl { width: calc(var(--dp) * 125); align-self: stretch; flex: none; background: rgba(144,144,144,.235); display: flex; flex-direction: column; align-items: center; justify-content: center; font-size: calc(var(--dp) * 14); text-align: center; padding: 0 calc(var(--dp) * 4); }
.gm .gl img { width: calc(var(--dp) * 38); height: calc(var(--dp) * 38); object-fit: contain; }
.gm .gl svg { width: calc(var(--dp) * 34); height: calc(var(--dp) * 34); color: #fff; }
.gm .gl .sm { font-size: calc(var(--dp) * 11); line-height: 1.15; max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gm .n1, .gm .n2 { flex: 1; min-width: 0; font-size: calc(var(--dp) * 17); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gm .n1 { text-align: right; margin-right: calc(var(--dp) * 10); }
.gm .n2 { text-align: left; margin-left: calc(var(--dp) * 10); }
.gm .cr { width: calc(var(--dp) * 44); height: calc(var(--dp) * 44); flex: none; object-fit: contain; }
.gm .gcn { width: calc(var(--dp) * 110); flex: none; text-align: center; }
.gm .gcn b { display: block; font-size: calc(var(--dp) * 22); font-weight: 700; line-height: 1.15; }
.gm .gcn i { display: block; font-style: normal; font-size: calc(var(--dp) * 12); color: rgba(255,255,255,.8); line-height: 1.2; white-space: nowrap; }
.gm .gcn i.hot { color: #FF6B6B; font-weight: 700; }
.gcalp .gm .gcn b { font-size: calc(var(--dp) * 24); }
.gm .al { width: calc(var(--dp) * 44); flex: none; align-self: stretch; position: relative; }
.gm .al span { position: absolute; right: calc(var(--dp) * 8); top: calc(var(--dp) * 6); width: calc(var(--dp) * 20); height: calc(var(--dp) * 20); opacity: .55; color: #fff; }
.gm .al span.on { opacity: 1; color: #FFC857; }
.gm .al svg { width: 100%; height: 100%; }

/* telas cheias (Calendário, Classificação, ficha) */
.gpage { position: absolute; left: 0; top: 0; right: 0; bottom: 0; background: linear-gradient(to top, #0B3D2E, #041638 50%, #010D44); }
.glm { position: absolute; left: 0; top: 0; bottom: 0; width: calc(var(--dp) * 190); background: rgba(0,10,34,.7); padding: calc(var(--dp) * 24) 0 calc(var(--dp) * 12); overflow: hidden; }
.gstp .glm { width: calc(var(--dp) * 210); }
.lgi { display: flex; align-items: center; height: calc(var(--dp) * 52); padding: 0 calc(var(--dp) * 8) 0 calc(var(--dp) * 18); font-size: calc(var(--dp) * 16); color: #fff; }
.lgi.sel { background: rgba(34,211,238,.2); }
.lgi.on { background: #22D3EE !important; box-shadow: none; }
.lgi img, .lgi .lgs { width: calc(var(--dp) * 28); height: calc(var(--dp) * 28); flex: none; object-fit: contain; }
.lgi .lgs svg { width: calc(var(--dp) * 28); height: calc(var(--dp) * 28); color: #fff; }
.lgi b { font-weight: 400; margin-left: calc(var(--dp) * 10); flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gcr { position: absolute; left: calc(var(--dp) * 198); right: calc(var(--dp) * 24); top: 0; bottom: 0; }
.ghint { position: absolute; left: 0; right: 0; top: 0; padding: calc(var(--dp) * 16) 0 calc(var(--dp) * 4) calc(var(--dp) * 14); font-size: calc(var(--dp) * 13); color: rgba(255,255,255,.8); }
.gcl { position: absolute; left: 0; right: 0; top: calc(var(--dp) * 40); bottom: 0; overflow: hidden; padding: calc(var(--dp) * 8) 0 calc(var(--dp) * 12); }
.gmsg { display: none; position: absolute; left: 0; right: 0; top: 45%; text-align: center; font-size: calc(var(--dp) * 15); color: #fff; }
.gsr { position: absolute; left: calc(var(--dp) * 230); right: calc(var(--dp) * 30); top: calc(var(--dp) * 18); bottom: 0; }
.gst { height: calc(var(--dp) * 34); font-size: calc(var(--dp) * 22); color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gsn { font-size: calc(var(--dp) * 13); color: rgba(255,255,255,.8); margin-bottom: calc(var(--dp) * 6); min-height: calc(var(--dp) * 16); }
.gtb { position: absolute; left: 0; right: 0; top: calc(var(--dp) * 90); bottom: 0; overflow: hidden; padding-bottom: calc(var(--dp) * 12); }
.gtr { display: flex; align-items: center; height: calc(var(--dp) * 40); margin-bottom: calc(var(--dp) * 2); background: rgba(255,255,255,.1); font-size: calc(var(--dp) * 14); color: #fff; }
.gtr.gth { height: calc(var(--dp) * 34); background: rgba(0,0,0,.2); font-weight: 700; color: rgba(255,255,255,.8); margin-bottom: 0; }
.gtr.on { background: rgba(34,211,238,.3) !important; box-shadow: none; }
.gtr b { width: calc(var(--dp) * 36); text-align: center; font-weight: 400; flex: none; }
.gtr b:first-child { width: calc(var(--dp) * 34); }
.gtr b.tn { flex: 1; width: auto; text-align: left; font-size: calc(var(--dp) * 15); padding-left: calc(var(--dp) * 8); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gtr .cr, .gtr span.cr { width: calc(var(--dp) * 26); height: calc(var(--dp) * 26); flex: none; object-fit: contain; }
.gtr b:nth-last-child(2) { width: calc(var(--dp) * 44); }
.gtr b.pt, .gtr.gth b:last-child { width: calc(var(--dp) * 48); }
.gtr b.pt { font-weight: 700; }

/* ficha do jogo */
.gfp { padding: calc(var(--dp) * 34) calc(var(--dp) * 44) calc(var(--dp) * 20); display: flex; flex-direction: column; }
.gtop { display: flex; height: calc(var(--dp) * 225); flex: none; }
.gbox { position: relative; width: calc(var(--dp) * 400); height: calc(var(--dp) * 225); flex: none; border-radius: calc(var(--dp) * 6); border: calc(var(--dp) * 2) solid transparent; background: linear-gradient(to bottom, #3A0E16, #140509); overflow: hidden; }
.gbox.on { box-shadow: none; border-color: #FFD27A; background-color: #000 !important; }
.gcard { position: absolute; left: 0; top: 0; right: 0; bottom: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: calc(var(--dp) * 10) calc(var(--dp) * 20); color: #fff; }
.gc1 { font-size: calc(var(--dp) * 20); }
.gc1.up { font-size: calc(var(--dp) * 18); padding-bottom: calc(var(--dp) * 14); }
.gc2 { font-size: calc(var(--dp) * 30); font-weight: 700; margin-top: calc(var(--dp) * 4); }
.gc3 { font-size: calc(var(--dp) * 13); color: rgba(255,255,255,.8); margin-top: calc(var(--dp) * 2); }
.gc3.up { margin-top: calc(var(--dp) * 6); }
.gc3.dim { font-size: calc(var(--dp) * 12); color: rgba(255,255,255,.6); }
.cdr { display: flex; justify-content: center; }
.cu { margin: 0 calc(var(--dp) * 6); text-align: center; }
.cu span { font-size: calc(var(--dp) * 12); color: rgba(255,255,255,.8); }
.cd { display: flex; }
.cd em { display: block; width: calc(var(--dp) * 38); height: calc(var(--dp) * 56); line-height: calc(var(--dp) * 56); margin-right: calc(var(--dp) * 3); font-style: normal; font-size: calc(var(--dp) * 34); font-weight: 700; color: #E0262F; background: #10131C; border: 1px solid #3A4152; }
.gr { flex: 1; min-width: 0; margin: calc(var(--dp) * 8) 0 0 calc(var(--dp) * 34); }
.glg { height: calc(var(--dp) * 36); line-height: calc(var(--dp) * 36); text-align: center; font-size: calc(var(--dp) * 22); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gline { height: 1px; background: rgba(255,255,255,.2); }
.gteams { display: flex; align-items: flex-start; margin-top: calc(var(--dp) * 14); }
.gtm { flex: 1; min-width: 0; text-align: center; }
.gcrest { display: block; width: calc(var(--dp) * 56); height: calc(var(--dp) * 56); margin: 0 auto; object-fit: contain; }
.gtn { font-size: calc(var(--dp) * 17); margin-top: calc(var(--dp) * 4); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gmid { width: calc(var(--dp) * 150); flex: none; text-align: center; }
.gmid b { display: block; font-size: calc(var(--dp) * 34); font-weight: 700; line-height: 1.2; }
.gmid i { display: block; font-style: normal; font-size: calc(var(--dp) * 13); color: rgba(255,255,255,.8); }
.gmid i.hot { color: #FF6B6B; font-weight: 700; }
.gbtns { display: flex; margin-top: calc(var(--dp) * 18); }
.gbc { width: calc(var(--dp) * 100); text-align: center; }
.gbc:last-child { width: calc(var(--dp) * 120); }
.gbtn { width: calc(var(--dp) * 50); height: calc(var(--dp) * 50); margin: 0 auto; border-radius: calc(var(--dp) * 3); border: calc(var(--dp) * 2) solid transparent; background: rgba(255,255,255,.27); display: flex; align-items: center; justify-content: center; }
.gbtn.acc { background: #9E0F1C; }
.gbtn svg { width: calc(var(--dp) * 30); height: calc(var(--dp) * 30); color: #fff; }
.gbtn.on { background: #D01426 !important; border-color: #FFD27A; box-shadow: none; }
.gcap { margin-top: calc(var(--dp) * 4); font-size: calc(var(--dp) * 13); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gtabs { display: flex; margin-top: calc(var(--dp) * 14); flex: none; }
.gtab { padding: calc(var(--dp) * 6) calc(var(--dp) * 14); font-size: calc(var(--dp) * 17); border: calc(var(--dp) * 2) solid transparent; border-radius: calc(var(--dp) * 8); color: #fff; }
.gtab.cur { color: #FF5A5F; font-weight: 700; }
.gtab.on { border-color: #22D3EE; background: none !important; box-shadow: none; }
.gcont { flex: 1; min-height: 0; margin-top: calc(var(--dp) * 8); border-radius: calc(var(--dp) * 4); background: rgba(11,90,42,.78); padding: calc(var(--dp) * 14) calc(var(--dp) * 18); overflow-y: auto; border: calc(var(--dp) * 2) solid transparent; box-sizing: border-box; scrollbar-width: none; -ms-overflow-style: none; }
.gcont::-webkit-scrollbar { display: none; }
.gcont.on { border-color: #22D3EE; box-shadow: none; background-color: rgba(11,90,42,.78) !important; }
.gkv { display: flex; margin-bottom: calc(var(--dp) * 6); font-size: calc(var(--dp) * 16); }
.gkv span { width: calc(var(--dp) * 170); flex: none; color: rgba(255,255,255,.8); }
.gkv b { flex: 1; min-width: 0; font-weight: 400; }
.gsec { margin: calc(var(--dp) * 10) 0 calc(var(--dp) * 6); font-size: calc(var(--dp) * 17); font-weight: 700; color: #FFD27A; }
.gsec.big { margin-top: 0; margin-bottom: 0; }
.gupd { font-size: calc(var(--dp) * 13); color: rgba(255,255,255,.8); margin-bottom: calc(var(--dp) * 8); }
.gnone { text-align: center; padding: calc(var(--dp) * 50) 0; font-size: calc(var(--dp) * 16); color: rgba(255,255,255,.8); line-height: 1.4; }
.gload { font-size: calc(var(--dp) * 15); color: rgba(255,255,255,.8); margin-top: calc(var(--dp) * 8); }
.gwarn { font-size: calc(var(--dp) * 14); color: #FFD27A; margin-bottom: calc(var(--dp) * 8); }
.ginc { display: flex; font-size: calc(var(--dp) * 15); margin-bottom: calc(var(--dp) * 4); }
.ginc b { width: calc(var(--dp) * 58); flex: none; color: #FFD27A; }
.ginc span { flex: 1; min-width: 0; }
.gun { font-size: calc(var(--dp) * 14); margin-bottom: calc(var(--dp) * 3); }
.gcols { display: flex; }
.gcol { flex: 1; min-width: 0; }
.gcol:first-child { margin-right: calc(var(--dp) * 12); }
.gcol:last-child { margin-left: calc(var(--dp) * 12); }
.gct { font-size: calc(var(--dp) * 17); font-weight: 700; color: #FFD27A; margin-bottom: calc(var(--dp) * 6); }
.gcl2 { font-size: calc(var(--dp) * 12); color: rgba(255,255,255,.6); margin-top: calc(var(--dp) * 4); }
.gcl2.sp { margin-top: calc(var(--dp) * 10); }
.gcn0 { font-size: calc(var(--dp) * 15); color: rgba(255,255,255,.8); }
.gpl { display: flex; font-size: calc(var(--dp) * 15); }
.gpl b { width: calc(var(--dp) * 30); flex: none; text-align: right; color: #A9C6FF; }
.gpl span { flex: 1; min-width: 0; margin-left: calc(var(--dp) * 10); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gchips { display: flex; margin-bottom: calc(var(--dp) * 10); }
.gchip { padding: calc(var(--dp) * 5) calc(var(--dp) * 14); margin-right: calc(var(--dp) * 8); border-radius: calc(var(--dp) * 14); font-size: calc(var(--dp) * 15); color: rgba(255,255,255,.8); }
.gchip.cur { background: #0E7A3A; color: #fff; font-weight: 700; }
.gchip.on { background: rgba(255,255,255,.4) !important; box-shadow: none; }
.gsh { display: flex; justify-content: space-between; font-size: calc(var(--dp) * 16); margin-bottom: calc(var(--dp) * 6); }
.gsr2 { margin-bottom: calc(var(--dp) * 8); }
.gsv { display: flex; align-items: baseline; font-size: calc(var(--dp) * 16); }
.gsv b { flex: 1; font-weight: 400; }
.gsv b:last-child { text-align: right; }
.gsv b.w { font-weight: 700; }
.gsv span { flex: 1.6; text-align: center; font-size: calc(var(--dp) * 14); color: rgba(255,255,255,.8); }
.gbar { display: flex; height: calc(var(--dp) * 5); margin-top: calc(var(--dp) * 3); }
.gbar i { display: block; }
.gbar u { width: calc(var(--dp) * 4); }
.gtr2 { display: flex; align-items: center; height: calc(var(--dp) * 30); font-size: calc(var(--dp) * 14); }
.gtr2 b { width: calc(var(--dp) * 38); flex: none; text-align: center; font-weight: 400; }
.gtr2 b:first-child { width: calc(var(--dp) * 34); }
.gtr2 b.tn { flex: 1; width: auto; text-align: left; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gtr2 span { width: calc(var(--dp) * 30); flex: none; text-align: center; }
.gtr2 .cr { width: calc(var(--dp) * 22); height: calc(var(--dp) * 22); vertical-align: middle; object-fit: contain; }
.gtr2 b.pp { width: calc(var(--dp) * 46); color: #FFD27A; font-weight: 700; }
.gtr2.th { height: calc(var(--dp) * 26); color: rgba(255,255,255,.8); }
.gtr2.th b.pp { color: rgba(255,255,255,.8); }
.gtr2.me { background: rgba(255,255,255,.33); border-radius: calc(var(--dp) * 4); }
.gtr2.me b { font-weight: 700; }
.gdlg { position: absolute; left: calc(var(--dp) * 500); top: calc(var(--dp) * 70); width: calc(var(--dp) * 400); padding: calc(var(--dp) * 18) calc(var(--dp) * 20); border-radius: calc(var(--dp) * 8); background: #0B1558; border: calc(var(--dp) * 2) solid rgba(169,198,255,.55); z-index: 5; }
.gdt { font-size: calc(var(--dp) * 20); margin-bottom: calc(var(--dp) * 4); }
.gds { font-size: calc(var(--dp) * 13); color: rgba(255,255,255,.7); margin-bottom: calc(var(--dp) * 10); }
/* telas abertas pelos ícones do topo (layout de abas): Histórico, Filtro, Ajuda e Avisos */
.xh { display: flex; align-items: center; justify-content: space-between; margin: 0 3.4vw; font-size: 3.6vh; font-weight: 700; }
.xh .btn { height: 6vh; min-width: 16vh; margin: .4vh 0; font-size: 2.4vh; font-weight: 400; }
html:not(.side) .hc.f.on { background-color: transparent !important; box-shadow: none; transform: scale(1.05); }
html:not(.side) .hc.f.on .hf { box-shadow: 0 0 0 .5vh var(--ring); }
html:not(.side) .dcard { top: .5vh; max-height: 74vh; }
html:not(.side) .mv-cat.cur { background-color: rgba(123, 77, 255, .22); color: var(--hi); }
html:not(.side) .mv-chip.sel { background-color: rgba(123, 77, 255, .22); box-shadow: inset 0 0 0 .2vh var(--hi); color: var(--tx); }
html:not(.side) .mv-panel { background: var(--sf2); }
html:not(.side) .fs-tab.cur { color: var(--hi); box-shadow: inset 0 -.5vh 0 var(--hi); }
html:not(.side) .fs-tab.f.on { color: #fff; border-radius: 1vh; box-shadow: 0 0 0 .4vh var(--ring); }
.nth { margin: 3vh 0 1vh; font-size: 2.3vh; letter-spacing: .15vh; text-transform: uppercase; color: var(--tx2); }
.nt { display: flex; align-items: center; margin-bottom: .8vh; padding: 1.2vh 1.6vh; border-radius: 1vh; background: rgba(255,255,255,.08); font-size: 2.6vh; }
.nt b { flex: none; width: 24vh; color: var(--acc); font-weight: 500; }
.nt span { flex: 1; min-width: 0; }
.nt small { display: block; font-size: 2vh; color: var(--tx2); }
.gdl { position: relative; max-height: calc(var(--dp) * 330); overflow: hidden; }
.gdo { display: flex; justify-content: space-between; height: calc(var(--dp) * 44); line-height: calc(var(--dp) * 44); padding: 0 calc(var(--dp) * 14); font-size: calc(var(--dp) * 17); border-radius: calc(var(--dp) * 6); margin-bottom: calc(var(--dp) * 4); background: rgba(255,255,255,.08); }
.gdo span { color: #6EE7B7; }
.gdo.on { background: var(--pri2) !important; }

/* o vídeo do canal fica por cima da caixa da esquerda (ou da tela toda) */
body.game:not(.full) video.pv { display: block; z-index: 3; right: auto; margin: 0; left: calc(var(--dp) * 46); top: calc(var(--dp) * 36); width: calc(var(--dp) * 396); height: calc(var(--dp) * 221); border-radius: 0; object-fit: cover; }
body.game.full video.pv { display: block; object-fit: contain; }
body.game:not(.full) #vload { right: auto; margin: 0; left: calc(var(--dp) * 46); top: calc(var(--dp) * 36); width: calc(var(--dp) * 396); height: calc(var(--dp) * 221); }
body.game:not(.full) #vload i { width: calc(var(--dp) * 30); height: calc(var(--dp) * 30); margin: calc(var(--dp) * -15) 0 0 calc(var(--dp) * -15); border-width: calc(var(--dp) * 3); }
body.game:not(.full) #vload b { font-size: calc(var(--dp) * 13); top: 58%; padding: 0 calc(var(--dp) * 10); }
body.game:not(.full) #vload.err b { top: 40%; }
#gft { display: none; position: fixed; z-index: 11; left: 3vw; top: 2.4vh; font-size: 3vh; color: #fff; text-shadow: 0 .3vh 1vh #000; }

/* ---------- aparelhos da conta / PIN ---------- */
.pinbig { font-size: 11vh; font-weight: 700; letter-spacing: .6vh; color: var(--hi); text-align: center; margin: 1vh 0 2vh; }
.pinhow { font-size: 2.5vh; line-height: 1.5; color: var(--tx); text-align: left; max-width: 90vh; margin: 0 auto 1vh; }
.pinhow ol { margin: 1vh 0 1.4vh; padding-left: 4vh; }
.pinhow b { color: #fff; }
.dvrow { display: flex; align-items: center; background: rgba(255,255,255,.1); border-radius: 1vh; padding: 1.2vh 2vh; margin: 0 0 1.2vh; }
.dvt { flex: 1; min-width: 0; }
.dvt span { display: block; font-size: 2.8vh; }
.dvt small { display: block; font-size: 2.1vh; color: var(--tx2); }
.btn.sm { min-width: 0; height: 6vh; font-size: 2.4vh; margin: 0 0 0 2vh; }
/* quadro do P2P (recebido/enviado) sobre o vídeo em tela cheia e na ficha do jogo */
#phud { display: none; position: fixed; z-index: 12; right: 2vw; top: 2vh; max-width: 62vw; padding: 1.2vh 1.8vh; border-radius: 1vh; background: rgba(0,0,0,.62); color: #fff; font-size: 2.1vh; line-height: 1.55; text-align: left; }
#phud b, .hud b { color: #7CFFB2; font-weight: 700; }
body.game:not(.full) #phud { top: auto; bottom: 1.2vh; right: 1.2vw; font-size: 1.7vh; max-width: 70vw; }

/* ---------- janela "Sair do aplicativo?" ---------- */
#xdlg { position: fixed; z-index: 40; left: 0; top: 0; right: 0; bottom: 0; display: none; align-items: center; justify-content: center; background: rgba(1,6,30,.78); }
#xdlg .xbox { background: #141C5E; border-radius: 2vh; padding: 4vh 6vh 3vh; text-align: center; min-width: 52vh; box-shadow: 0 0 0 .3vh rgba(255,255,255,.18); }
#xdlg h1 { font-size: 4vh; margin: 0 0 1.2vh; }
#xdlg p { font-size: 2.6vh; color: var(--tx2); margin: 0 0 2.4vh; }
#xdlg .btn { min-width: 20vh; margin: 0 1.2vh; }
#xdlg .btn.on { box-shadow: 0 0 0 .4vh var(--ring); background-color: rgba(123, 77, 255, .55); }

/* ---------- quadro do P2P no overlay (tela cheia) ---------- */
#ovlHud .hs { font-size: 2.1vh; color: var(--tx2); margin-bottom: 1vh; display: flex; align-items: center; }
#ovlHud .hs .dot { width: 1.3vh; height: 1.3vh; border-radius: 50%; background: #8A93C8; margin-right: 1.1vh; }
#ovlHud .hs.ok { color: #fff; }
#ovlHud .hs.ok .dot { background: #5CFFA8; }
#ovlHud .hs em { font-style: normal; color: var(--tx2); margin-left: 2.2vh; }
#ovlHud .hg { display: flex; }
#ovlHud .hb { flex: 1; background: rgba(255,255,255,.09); border-radius: 1vh; padding: 1.1vh 1.8vh; margin-right: 1.4vh; }
#ovlHud .hb:last-child { margin-right: 0; }
#ovlHud .hb small { display: block; font-size: 1.8vh; color: var(--tx2); }
#ovlHud .hb b { display: block; font-size: 3.4vh; color: #fff; line-height: 1.25; }
#ovlHud .hb i { display: block; font-style: normal; font-size: 1.9vh; color: #7CFFB2; }
#ovlHud .hn { font-size: 1.9vh; color: #fff; margin-top: .9vh; }
#ovlHud .hn b { color: #7CFFB2; }
#ovlHud .hn.dim { color: var(--tx2); }

/* ---------- busca: botão no alto de Filmes/Séries e rótulo da pesquisa de dentro delas ---------- */
.fsearch { display: flex; align-items: center; margin: .6vh 3.3vw 0; height: 6.6vh; padding: 0 2.4vh; border-radius: 3.3vh; background: rgba(255, 255, 255, .12); font-size: 2.7vh; color: var(--tx2); }
.fsearch .i { margin-right: 1.6vh; font-size: 3vh; }
.sr-sc { margin: 0 0 1vh 1vh; font-size: 2.3vh; color: var(--tx2); }

/* ---------- Cronologia (chrono.js): banner nos Destaques e a tela dos títulos em ordem ---------- */
.cdw { display: flex; }
.cdw i { display: block; width: 9.4vh; margin-right: 1.2vh; padding: .8vh 0; text-align: center; font-style: normal; border-radius: 1.2vh; background: rgba(11,21,88,.8); border: .2vh solid rgba(176,124,255,.4); }
.cdw b { display: block; font-size: 4.2vh; line-height: 1.15; }
.cdw small { display: block; font-size: 1.6vh; color: var(--tx2); letter-spacing: .1vh; }
.mz > .crb { flex: 3; position: relative; overflow: hidden; border-radius: 1.2vh; background: linear-gradient(135deg, var(--pri2), var(--sf)); transition: transform .12s; }
.crb + .mc { margin-left: .8vh; }
.crb.f.on { transform: scale(1.012); z-index: 4; background: linear-gradient(135deg, var(--pri2), var(--sf)) !important; }
.crbi { position: absolute; left: 0; top: 0; right: 0; bottom: 0; background-size: cover; background-position: center; }
.crbt { position: absolute; left: 0; right: 0; bottom: 0; padding: 12vh 2.8vh 2.6vh; background: linear-gradient(to top, rgba(1,13,68,.96), rgba(1,13,68,.72) 55%, rgba(1,13,68,0)); text-shadow: 0 .2vh .8vh #000; }
.crbl { display: block; margin-bottom: 1vh; font-size: 2.5vh; font-weight: 700; color: var(--hi); letter-spacing: .1vh; }
.crbh { display: block; margin-top: 1.4vh; font-size: 4.3vh; line-height: 1.15; max-height: 10vh; overflow: hidden; }
.crbm { margin: .8vh 0 0; font-size: 2.6vh; line-height: 1.35; max-height: 7.1vh; overflow: hidden; }
.crbt small { display: block; margin-top: .9vh; font-size: 2.2vh; color: var(--tx2); }
.crbd { position: absolute; left: 0; top: 0; right: 0; bottom: 0; background-size: cover; background-position: center; opacity: .28; }
.crin { position: absolute; left: 3.4vw; right: 3.4vw; top: 3vh; bottom: 1vh; }
.crin h1 { margin: 0; font-size: 4.8vh; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.crmsg { margin: .4vh 0 0; font-size: 2.6vh; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.crwhen { margin: 1.1vh 0 1vh; font-size: 2.4vh; color: var(--tx2); }
.crprog { margin: 1.6vh 0 .4vh; font-size: 2.7vh; font-weight: 700; color: var(--hi); }
.crload { padding: 14vh 0; font-size: 2.8vh; color: var(--tx2); }
.crrow { display: flex; align-items: flex-start; }
.crlist { flex: 1; min-width: 0; overflow: hidden; white-space: nowrap; padding: 1.6vh 1.2vh .8vh; margin-left: -1.2vh; }
.crsep { flex: none; width: .2vh; height: 31vh; margin: 4vh 2vh 0 .8vh; background: rgba(255,255,255,.35); }
.crpr { flex: none; padding: 1.6vh 1vh .8vh; }
.crc { display: inline-block; vertical-align: top; width: 23vh; margin-right: 1.8vh; white-space: normal; border-radius: 1.2vh; transition: transform .12s; }
.crpr .crc { margin-right: 0; }
.crc.f.on { box-shadow: none; background: transparent !important; transform: scale(1.06); }
.crim { position: relative; height: 33vh; border-radius: 1.2vh; overflow: hidden; background: var(--sf2); }
.crc.on .crim { box-shadow: 0 0 0 .5vh var(--ring); }
.crpic { position: absolute; left: 0; top: 0; right: 0; bottom: 0; background-size: cover; background-position: center; }
.crpic.dim { opacity: .55; }
.crn { position: absolute; left: .9vh; top: .9vh; width: 4.8vh; height: 4.8vh; line-height: 4.8vh; text-align: center; border-radius: 50%; background: var(--pri); font-size: 2.6vh; font-weight: 700; }
.crst { position: absolute; left: 0; right: 0; bottom: 0; padding: .8vh .4vh; text-align: center; font-size: 2.2vh; font-weight: 700; }
.crst.gray { background: rgba(69,75,107,.9); }
.crst.green { background: rgba(30,122,70,.9); }
.crst.pur { background: rgba(106,61,240,.9); }
.crst.gold { background: #FFC247; color: var(--bg); }
.crc.gold .crn { background: #FFC247; color: var(--bg); }
.crtt { margin-top: 1vh; font-size: 2.2vh; line-height: 1.3; height: 5.8vh; overflow: hidden; }
.crlb { font-size: 1.9vh; line-height: 1.35; height: 5.2vh; overflow: hidden; color: var(--tx2); }
.crc.gold .crlb { color: #FFC247; }
.crbtns { display: flex; margin-top: 1.4vh; }
.crbtns .btn { margin: 0 1.6vh 0 0; height: 7vh; font-size: 2.6vh; }
