/* Kyo Play Pro para LG. Tela desenhada em 1920x1080 (encolhida em TVs HD).
   Sem CSS grid nem "gap" no flex: o webOS 4 (Chromium 53) não entende. */

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { width: 100%; height: 100%; overflow: hidden; background: #050A14; }
body { font-family: "LG Smart UI", "Segoe UI", Roboto, Arial, sans-serif; color: #fff; -webkit-font-smoothing: antialiased; }
#stage { position: absolute; left: 0; top: 0; width: 1920px; height: 1080px; transform-origin: 0 0; overflow: hidden; }
.app, .screen { position: absolute; left: 0; top: 0; width: 1920px; height: 1080px; }
/* Navegador do computador: a tela acompanha o formato da janela. */
.web .app, .web .screen { width: 100%; height: 100%; }
.web .f:hover { filter: brightness(1.12); }
.f { outline: none; cursor: pointer; }
img { display: block; }

/* ---------- Botões e janelas ---------- */
.btn {
  display: inline-block; padding: 16px 40px; margin-right: 20px; border-radius: 40px;
  background: rgba(255,255,255,0.10); border: 3px solid transparent; font-size: 28px; font-weight: 700;
  transition: transform .12s;
}
.btn.primary { background: #5B5FEF; }
.btn:focus { border-color: #fff; transform: scale(1.06); background: #8F7BFF; }
.dialog-bg { position: absolute; left: 0; top: 0; width: 1920px; height: 1080px; background: rgba(0,0,0,0.7); z-index: 50;
  display: flex; align-items: center; justify-content: center; }
.dialog { background: #171A21; border-radius: 28px; padding: 50px 60px; min-width: 760px; text-align: center; }
.dialog-q { font-size: 38px; font-weight: 700; margin-bottom: 44px; }
.dialog-buttons .btn { min-width: 220px; margin: 0 14px; }
.toast { position: absolute; left: 50%; bottom: 70px; transform: translateX(-50%); background: rgba(20,24,34,0.95);
  border: 2px solid rgba(255,255,255,0.2); padding: 18px 36px; border-radius: 40px; font-size: 28px; z-index: 60; }

/* ---------- Carregamento ---------- */
.loading { display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: radial-gradient(ellipse at 50% 110%, #0E2E57, #050A14 60%); }
.loading-logo { width: 150px; height: 150px; margin-bottom: 26px; }
.loading-title { font-size: 56px; font-weight: 800; margin-bottom: 50px; }
.loading-title span, .home-pro { color: #8F7BFF; }
.loading-bar { width: 640px; height: 12px; border-radius: 6px; background: rgba(255,255,255,0.12); overflow: hidden; }
.loading-bar div { height: 100%; background: linear-gradient(90deg, #5B5FEF, #2EC5FF); transition: width .3s; }
.loading-text { margin-top: 24px; font-size: 28px; color: rgba(255,255,255,0.7); }

/* ---------- Início ---------- */
.home { background: radial-gradient(ellipse 1150px 650px at 45% 105%, #0E2E57, transparent),
  radial-gradient(ellipse 700px 400px at 85% 10%, rgba(14,46,87,0.7), transparent), #050A14; }
.home-logo { position: absolute; left: 48px; top: 30px; display: flex; align-items: center; }
.home-logo img { width: 64px; height: 64px; margin-right: 18px; }
.home-name { font-size: 40px; font-weight: 800; margin-right: 10px; }
.home-pro { font-size: 26px; font-weight: 800; }
.home-contact { position: absolute; right: 48px; top: 40px; font-size: 26px; padding: 10px 26px; border-radius: 40px;
  background: rgba(255,255,255,0.08); display: flex; align-items: center; }
.home-contact svg { margin-right: 10px; }
.home-grid { position: absolute; left: 115px; top: 295px; width: 1690px; height: 490px; display: flex; }
.col-live { flex: 4.9; margin-right: 35px; display: flex; }
.col-tiles { flex: 5.2; margin-right: 35px; display: flex; flex-direction: column; }
.col-tiles .row { flex: 1; display: flex; }
.col-tiles .row:first-child { margin-bottom: 35px; }
.col-tiles .tile:first-child { margin-right: 35px; }
.col-actions { flex: 3.95; display: flex; flex-direction: column; justify-content: space-between; }
.tile { position: relative; flex: 1; border-radius: 26px; overflow: hidden; transition: transform .15s; border: 4px solid transparent; }
.tile svg { position: absolute; right: 6%; top: 50%; margin-top: -60px; }
.tile.big svg { margin-top: -110px; }
.tile-shine { position: absolute; left: 0; top: 0; right: 0; height: 45%; background: linear-gradient(rgba(255,255,255,0.22), transparent); }
.tile-shine::after { content: ""; position: absolute; right: -15%; top: -40%; width: 70%; padding-bottom: 70%; border-radius: 50%; background: rgba(255,255,255,0.08); }
.tile-dim { position: absolute; left: 0; top: 0; right: 0; bottom: 0; background: rgba(0,0,0,0.28);
  box-shadow: inset 0 -160px 120px -60px rgba(0,0,0,0.55); transition: background .15s; }
.tile:focus { transform: scale(1.05); border-color: #fff; z-index: 2; }
.tile:focus .tile-dim { background: transparent; }
.tile-text { position: absolute; left: 22px; bottom: 18px; right: 22px; }
.tile.big .tile-text { left: 34px; bottom: 30px; }
.live-badge { display: inline-block; background: #E5002B; border-radius: 8px; padding: 4px 12px; font-size: 22px; font-weight: 800; margin-bottom: 12px; }
.tile-label { font-size: 36px; font-weight: 900; }
.tile.big .tile-label { font-size: 60px; }
.tile-sub { font-size: 22px; color: rgba(255,255,255,0.85); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tile.big .tile-sub { font-size: 30px; }
.action { height: 146px; border-radius: 26px; display: flex; align-items: center; padding: 0 26px;
  background: linear-gradient(90deg, rgba(91,95,239,0.25), rgba(143,123,255,0.1)); border: 3px solid rgba(255,255,255,0.18);
  transition: transform .15s; }
.action:focus { transform: scale(1.04); border-color: #fff; background: linear-gradient(90deg, var(--c0), var(--c1)); }
.action-icon { width: 66px; height: 66px; border-radius: 50%; background: var(--c0); display: flex; align-items: center; justify-content: center; margin-right: 22px; }
.action:focus .action-icon { background: rgba(255,255,255,0.25); }
.action-label { font-size: 32px; font-weight: 800; }
.home-demo { position: absolute; left: 0; right: 0; top: 860px; text-align: center; font-size: 28px; color: #2EC5FF; }
.home-expiry { position: absolute; left: 0; right: 0; bottom: 34px; text-align: center; font-size: 26px; color: rgba(255,255,255,0.7); }
.home-expired { position: absolute; left: 48px; bottom: 80px; background: #E5002B; border-radius: 16px; padding: 14px 24px; font-size: 26px; display: flex; align-items: center; }
.home-expired svg { margin-right: 10px; }
.home-notice { position: absolute; right: 48px; bottom: 26px; max-width: 580px; padding: 12px 28px; border-radius: 40px; font-size: 24px;
  background: rgba(46,197,255,0.14); border: 2px solid rgba(46,197,255,0.4); display: flex; align-items: center; }
.home-notice svg { margin-right: 12px; flex-shrink: 0; }

/* ---------- Entrar ---------- */
.login { display: flex; align-items: center; justify-content: center; background: radial-gradient(ellipse at 50% 110%, #0E2E57, #050A14 60%); }
.login-card { width: 960px; background: #171A21; border-radius: 32px; padding: 50px 64px; }
.login-title { font-size: 52px; font-weight: 800; }
.login-sub { font-size: 26px; color: rgba(255,255,255,0.65); margin: 6px 0 30px; }
.login-form label { display: block; font-size: 24px; color: rgba(255,255,255,0.75); margin: 18px 0 8px; }
.field { width: 100%; font-size: 30px; padding: 16px 24px; border-radius: 16px; color: #fff; font-family: inherit;
  background: rgba(255,255,255,0.08); border: 3px solid rgba(255,255,255,0.15); }
.field:focus { border-color: #8F7BFF; background: rgba(143,123,255,0.15); }
.login-error { margin-top: 20px; font-size: 26px; color: #FF6B81; }
.login-buttons { margin-top: 34px; }

/* ---------- Em breve ---------- */
.soon { display: flex; flex-direction: column; align-items: center; justify-content: center; background: #050A14; }
.soon-title { font-size: 60px; font-weight: 800; margin-bottom: 20px; }
.soon-text { font-size: 30px; color: rgba(255,255,255,0.7); margin-bottom: 50px; max-width: 1200px; text-align: center; }

/* ---------- Listas ---------- */
.vlist { position: relative; overflow: hidden; }
.vrow { position: absolute; left: 0; right: 0; }

/* ---------- TV ao vivo ---------- */
.live { background: #0B0E14; }
.live-header { position: absolute; left: 48px; top: 30px; right: 48px; height: 80px; display: flex; align-items: center; }
.live-title { font-size: 46px; font-weight: 800; flex: 1; }
.live-hint { font-size: 20px; color: rgba(255,255,255,0.55); flex-shrink: 0; margin-left: 20px; }
.back-arrow { width: 64px; height: 64px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.10); border: 3px solid transparent; flex-shrink: 0; margin-right: 24px; }
.back-arrow:focus, .back-arrow:hover { background: rgba(255,255,255,0.28); border-color: #fff; }
.back-arrow.floating { position: absolute; left: 40px; top: 30px; margin: 0; z-index: 45; background: rgba(0,0,0,0.45); }
.back-arrow.floating:focus, .back-arrow.floating:hover { background: rgba(255,255,255,0.28); }
.tabs { display: flex; align-items: center; flex: 1; }
.tab { font-size: 32px; font-weight: 700; padding: 10px 22px; border-radius: 14px; color: rgba(255,255,255,0.85);
  border: 3px solid transparent; white-space: nowrap; }
.tab.current { color: #FFC83D; }
.tab:focus { background: rgba(255,255,255,0.14); border-color: #fff; color: #FFC83D; }
.tab-sep { width: 2px; height: 30px; background: rgba(255,255,255,0.4); margin: 0 6px; }
.live-loading { position: absolute; left: 0; right: 0; top: 500px; text-align: center; font-size: 32px; color: rgba(255,255,255,0.7); }
.live-body { position: absolute; left: 48px; top: 140px; right: 48px; bottom: 40px; display: flex; }
.categories { width: 400px; margin-right: 24px; }
.cat { height: 58px; margin: 4px 0; border-radius: 14px; display: flex; align-items: center; padding: 0 20px; font-size: 26px;
  color: rgba(255,255,255,0.8); border: 3px solid transparent; }
.cat svg { margin-right: 10px; }
.cat-name { flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cat-count { font-size: 22px; color: rgba(255,255,255,0.5); margin-left: 10px; }
.cat.chosen { background: rgba(91,95,239,0.25); color: #fff; font-weight: 700; }
.vrow:focus .cat { background: #5B5FEF; border-color: #fff; color: #fff; }
.channels { width: 660px; margin-right: 24px; }
.channels.empty { display: flex; align-items: center; justify-content: center; text-align: center; padding: 40px; font-size: 28px; color: rgba(255,255,255,0.6); }
.chan { height: 80px; margin: 4px 0; border-radius: 16px; display: flex; align-items: center; padding: 0 20px;
  background: rgba(255,255,255,0.04); border: 3px solid transparent; }
.chan-num { width: 70px; font-size: 24px; color: rgba(255,255,255,0.55); }
.chan-logo { width: 96px; height: 60px; margin-right: 18px; border-radius: 10px; background: rgba(255,255,255,0.06); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.chan-logo img { max-width: 90px; max-height: 54px; }
.chan-name { flex: 1; font-size: 28px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chan.playing { background: rgba(229,0,43,0.18); }
.chan.playing .chan-name { color: #FF6B81; font-weight: 700; }
.vrow:focus .chan { background: #5B5FEF; border-color: #fff; }
.vrow:focus .chan .chan-name { color: #fff; }
.live-side { flex: 1; }
.player { position: relative; width: 740px; height: 416px; border-radius: 22px; overflow: hidden; background: #000; }
.player video { width: 100%; height: 100%; background: #000; }
.player.full { position: fixed; left: 0; top: 0; width: 1920px; height: 1080px; border-radius: 0; z-index: 40; }
.player-msg { position: absolute; left: 0; right: 0; top: 50%; margin-top: -20px; text-align: center; font-size: 28px; color: rgba(255,255,255,0.75); padding: 0 30px; }
.spinner { position: absolute; left: 50%; top: 50%; width: 70px; height: 70px; margin: -35px 0 0 -35px; border-radius: 50%;
  border: 7px solid rgba(255,255,255,0.2); border-top-color: #fff; animation: spin 0.9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.live-info { margin-top: 26px; }
.live-info-name { font-size: 36px; font-weight: 800; }
.live-info-cat { font-size: 26px; color: rgba(255,255,255,0.6); margin-top: 8px; }
/* Botão Favoritar embaixo do vídeo da TV ao vivo. */
.live-fav { display: inline-flex; align-items: center; gap: 12px; margin-top: 24px; }
.live-fav.on { background: rgba(255,200,61,0.18); }
.live-fav.on:focus { background: #8F7BFF; }
.full-controls { position: absolute; left: 0; top: 0; right: 0; bottom: 0; outline: none; }
.full-banner { position: absolute; left: 0; right: 0; bottom: 0; padding: 60px 70px 50px; display: flex; align-items: center;
  background: linear-gradient(transparent, rgba(0,0,0,0.85)); }
.full-num { font-size: 44px; font-weight: 800; color: #8F7BFF; margin-right: 26px; }
.full-name { font-size: 44px; font-weight: 800; flex: 1; }
.full-tip { font-size: 24px; color: rgba(255,255,255,0.7); }

/* ---------- Filmes e séries ---------- */
.vod-empty { flex: 1; display: flex; align-items: center; justify-content: center; text-align: center; font-size: 28px; color: rgba(255,255,255,0.6); }
.pgrid { position: relative; overflow: hidden; }
.gcell { position: absolute; padding: 10px; }
.poster { width: 100%; height: 100%; }
.poster-img { position: relative; width: 212px; height: 318px; border-radius: 16px; overflow: hidden; background: #1A2033;
  border: 4px solid transparent; transition: transform .12s; }
.poster-img img { position: absolute; left: 0; top: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
.poster-fallback { position: absolute; left: 0; right: 0; top: 0; bottom: 0; display: flex; align-items: center; justify-content: center;
  text-align: center; padding: 16px; font-size: 22px; font-weight: 700; color: rgba(255,255,255,0.6); }
.poster-fav { position: absolute; right: 8px; top: 8px; z-index: 2; background: rgba(0,0,0,0.55); border-radius: 50%; width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center; }
.poster-bar { position: absolute; left: 0; right: 0; bottom: 0; height: 8px; background: rgba(255,255,255,0.25); z-index: 2; }
.poster-bar div { height: 100%; background: #3D7BE8; }
.poster-name { margin-top: 12px; font-size: 22px; line-height: 28px; height: 56px; overflow: hidden; color: rgba(255,255,255,0.8); }
.gcell:focus .poster-img { border-color: #fff; transform: scale(1.06); }
.gcell:focus .poster-name { color: #fff; font-weight: 700; }

/* ---------- Detalhes e série ---------- */
.details { background: #0B0E14; overflow: hidden; }
.det-bg { position: absolute; left: 0; top: 0; right: 0; bottom: 0; background-image: var(--bg); background-size: cover; background-position: center;
  opacity: 0.18; -webkit-filter: blur(30px); filter: blur(30px); -webkit-transform: scale(1.2); transform: scale(1.2); }
.det-body { position: absolute; left: 110px; top: 120px; right: 110px; bottom: 100px; display: flex; align-items: center; }
.det-poster { width: 480px; height: 720px; border-radius: 24px; overflow: hidden; background: #1A2033; margin-right: 70px; flex-shrink: 0; }
.det-poster img, .ser-poster img { width: 100%; height: 100%; object-fit: cover; }
.det-info { flex: 1; }
.det-title { font-size: 64px; font-weight: 900; line-height: 1.1; }
.det-meta { font-size: 28px; color: rgba(255,255,255,0.7); margin-top: 18px; }
.det-plot { font-size: 28px; line-height: 1.5; color: rgba(255,255,255,0.85); margin-top: 26px; max-height: 255px; overflow: hidden; }
.det-plot.short { max-height: 128px; font-size: 26px; }
.det-buttons { margin-top: 40px; }
.det-buttons .btn { margin-bottom: 16px; }
.ser-top { position: absolute; left: 110px; top: 60px; right: 110px; height: 380px; display: flex; align-items: center; }
.ser-poster { width: 240px; height: 360px; border-radius: 20px; overflow: hidden; background: #1A2033; margin-right: 50px; flex-shrink: 0; }
.ser-top .det-title { font-size: 52px; }
.ser-top .det-buttons { margin-top: 24px; }
.ser-bottom { position: absolute; left: 110px; top: 470px; right: 110px; bottom: 40px; }
.ser-seasons { white-space: nowrap; overflow: hidden; height: 76px; margin-bottom: 14px; }
.season { display: inline-block; padding: 14px 30px; margin-right: 14px; border-radius: 40px; font-size: 26px; font-weight: 700;
  background: rgba(255,255,255,0.08); border: 3px solid transparent; }
.season.chosen { background: rgba(91,95,239,0.35); }
.season:focus { border-color: #fff; background: #5B5FEF; }
.episodes { width: 100%; }
.ep { position: relative; height: 96px; margin: 4px 0; border-radius: 16px; display: flex; align-items: center; padding: 0 24px;
  background: rgba(255,255,255,0.05); border: 3px solid transparent; overflow: hidden; }
.ep-num { width: 70px; font-size: 34px; font-weight: 800; color: #8F7BFF; }
.ep-text { flex: 1; min-width: 0; }
.ep-name { font-size: 28px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ep-sub { font-size: 22px; color: rgba(255,255,255,0.6); margin-top: 4px; }
.ep-bar { position: absolute; left: 0; right: 0; bottom: 0; height: 6px; background: rgba(255,255,255,0.15); }
.ep-bar div { height: 100%; background: #3D7BE8; }
.vrow:focus .ep { background: #5B5FEF; border-color: #fff; }

/* ---------- Player de filmes e episódios ---------- */
.vplayer { background: #000; outline: none; z-index: 30; }
.vplayer video { position: absolute; left: 0; top: 0; width: 1920px; height: 1080px; background: #000; }
.vp-overlay { position: absolute; left: 0; right: 0; bottom: 0; padding: 120px 80px 50px; background: linear-gradient(transparent, rgba(0,0,0,0.9)); }
.vp-title { font-size: 46px; font-weight: 800; }
.vp-sub { font-size: 28px; color: rgba(255,255,255,0.75); margin-top: 6px; }
.vp-row { display: flex; align-items: center; margin-top: 26px; }
.vp-state { width: 50px; font-size: 32px; }
.vp-time { font-size: 26px; width: 130px; text-align: center; }
/* Área de clique maior que a barra (mouse do navegador e ponteiro do Magic Remote). */
.vp-seek { flex: 1; position: relative; display: flex; align-items: center; height: 40px; cursor: pointer; touch-action: none; }
.vp-seek:hover .vp-bar { height: 14px; }
.vp-thumb { position: absolute; top: 50%; width: 22px; height: 22px; margin: -11px 0 0 -11px; border-radius: 50%; background: #fff;
  box-shadow: 0 0 0 4px rgba(91,95,239,0.6); pointer-events: none; opacity: 0; transition: opacity .15s; }
.vp-seek:hover .vp-thumb { opacity: 1; }
.vp-bar { flex: 1; transition: height .15s; height: 10px; border-radius: 5px; background: rgba(255,255,255,0.25); overflow: hidden; }
.vp-bar div { height: 100%; background: #5B5FEF; }
.vp-tip { font-size: 22px; color: rgba(255,255,255,0.6); margin-top: 18px; }

/* ---------- Configurações ---------- */
.settings { background: radial-gradient(ellipse at 50% 110%, #0E2E57, #050A14 60%); }
.set-body { position: absolute; left: 48px; top: 140px; right: 48px; bottom: 48px; display: flex; }
.set-menu { width: 560px; margin-right: 32px; padding: 14px; border-radius: 26px; background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08); align-self: flex-start; }
.set-item { display: flex; align-items: center; padding: 14px 16px; margin-bottom: 8px; border-radius: 18px; border: 3px solid transparent; }
.set-item:last-child { margin-bottom: 0; }
.set-item.chosen { background: linear-gradient(90deg, var(--c25), transparent); }
.set-item:focus { background: linear-gradient(90deg, var(--c45), var(--c12)); border-color: var(--c); }
.set-bar { width: 6px; height: 52px; border-radius: 3px; margin-right: 16px; flex-shrink: 0; }
.set-item.chosen .set-bar { background: var(--c); }
.set-icon { width: 60px; height: 60px; border-radius: 16px; display: flex; align-items: center; justify-content: center; margin-right: 20px; flex-shrink: 0; }
.set-item-text { min-width: 0; }
.set-label { font-size: 30px; font-weight: 600; }
.set-item.chosen .set-label, .set-item:focus .set-label { font-weight: 800; }
.set-sub { font-size: 21px; color: rgba(255,255,255,0.6); margin-top: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.set-panel { flex: 1; border-radius: 26px; padding: 40px 50px; border: 1px solid rgba(255,255,255,0.08); overflow: hidden; }
.set-head { display: flex; align-items: center; }
.set-head-icon { width: 84px; height: 84px; border-radius: 22px; display: flex; align-items: center; justify-content: center; margin-right: 24px; flex-shrink: 0; }
.set-title { font-size: 42px; font-weight: 800; }
.set-head-sub { font-size: 24px; color: rgba(255,255,255,0.65); margin-top: 4px; }
.set-brand { height: 3px; border-radius: 2px; margin: 24px 0 26px; background: linear-gradient(90deg, #2EC5FF, #B14BFF); }
.set-subtitle { font-size: 30px; font-weight: 800; margin: 22px 0 12px; }
.set-text { font-size: 27px; line-height: 1.5; color: rgba(255,255,255,0.75); max-width: 1050px; margin-bottom: 14px; }
.set-text.small { font-size: 23px; margin-top: 26px; }
.set-row { display: flex; font-size: 27px; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,0.08); max-width: 900px; }
.set-row span { width: 240px; color: rgba(255,255,255,0.6); }
.set-choice { display: flex; align-items: center; max-width: 900px; padding: 18px 24px; margin-bottom: 12px; border-radius: 18px;
  background: rgba(255,255,255,0.04); border: 3px solid rgba(255,255,255,0.08); }
.set-choice.chosen { background: rgba(91,141,239,0.16); border-color: rgba(91,141,239,0.7); }
.set-choice:focus { background: rgba(91,141,239,0.35); border-color: #fff; }
.set-choice-text { flex: 1; }
.set-choice-label { font-size: 28px; font-weight: 700; }
.set-choice-detail { font-size: 22px; color: rgba(255,255,255,0.6); margin-top: 4px; }
.set-choices-row { display: flex; }
.set-choices-row .set-choice { width: 300px; margin-right: 16px; }
.set-card { max-width: 900px; padding: 26px 30px; border-radius: 22px; border: 1px solid rgba(255,255,255,0.12);
  background: linear-gradient(90deg, rgba(255,158,87,0.18), rgba(177,75,255,0.12)); }
.set-card-top { display: flex; align-items: center; padding-bottom: 16px; margin-bottom: 6px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.set-avatar { width: 72px; height: 72px; border-radius: 50%; background: #FF9E57; display: flex; align-items: center; justify-content: center;
  font-size: 36px; font-weight: 800; margin-right: 20px; flex-shrink: 0; }
.set-card-name { flex: 1; min-width: 0; }
.set-card-label { font-size: 22px; color: rgba(255,255,255,0.6); }
.set-card-user { font-size: 34px; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.set-status { font-size: 24px; font-weight: 800; color: #3DDC97; padding: 6px 20px; border-radius: 30px;
  background: rgba(61,220,151,0.15); border: 2px solid rgba(61,220,151,0.5); }
.set-status.expired { color: #FF5C7A; background: rgba(255,92,122,0.15); border-color: rgba(255,92,122,0.5); }
.btn.danger { background: #D32F2F; }
.btn.danger:focus { background: #F0475A; }
.settings .login-form { max-width: 900px; }
.settings .login-form label { margin-top: 12px; }

/* ---------- Senha do controle dos pais ---------- */
.cat-lock { margin-left: 10px; font-size: 22px; }
.pin-dialog { min-width: 640px; }
.pin-dots { margin-bottom: 14px; }
.pin-dots span { display: inline-block; width: 30px; height: 30px; margin: 0 14px; border-radius: 50%; border: 3px solid rgba(255,255,255,0.6); }
.pin-dots span.on { background: #8F7BFF; border-color: #8F7BFF; }
.pin-error { height: 36px; font-size: 24px; color: #FF6B81; margin-bottom: 10px; }
.pin-row { display: flex; justify-content: center; margin-bottom: 14px; }
.pin-key { width: 130px; height: 84px; margin: 0 8px; border-radius: 18px; background: rgba(255,255,255,0.08); border: 3px solid transparent;
  display: flex; align-items: center; justify-content: center; font-size: 36px; font-weight: 700; }
.pin-key.wide { font-size: 24px; }
.pin-key:focus { border-color: #fff; background: #5B5FEF; }

/* ---------- Filme e série (visual cinema do app de TV) ---------- */
.cinema { background: #0F1115; overflow: hidden; }
.cin-bg { position: absolute; left: 0; top: 0; right: 0; bottom: 0; background-size: cover; background-position: top right; }
.cin-glow { position: absolute; left: 0; top: 0; right: 0; bottom: 0;
  background: radial-gradient(ellipse 1100px 800px at 78% 23%, rgba(14,46,87,0.9), transparent); }
.cin-poster { position: absolute; right: 110px; top: 70px; width: 360px; height: 540px; border-radius: 26px; overflow: hidden;
  background: rgba(255,255,255,0.06); border: 2px solid rgba(255,255,255,0.12); }
.cin-poster img { width: 100%; height: 100%; object-fit: cover; }
.cin-shade { position: absolute; left: 0; top: 0; right: 0; bottom: 0;
  background: linear-gradient(90deg, #0F1115 0%, rgba(15,17,21,0.88) 35%, transparent 70%),
              linear-gradient(180deg, transparent 50%, #0F1115 100%); }
.cin-top { position: absolute; left: 0; top: 0; right: 0; height: 690px; }
.series .cin-top { height: 640px; }
.cin-info { position: absolute; left: 110px; top: 100px; width: 1080px; }
/* Etiqueta + título numa linha de altura fixa: selos, sinopse e botões nunca mudam de lugar. */
.cin-head { height: 116px; display: flex; flex-direction: column; justify-content: flex-end; }
.cin-label { font-size: 24px; font-weight: 800; letter-spacing: 5px; color: #2EC5FF; }
.cin-title { font-size: 66px; line-height: 74px; height: 74px; font-weight: 900; margin-top: 8px; overflow: hidden;
  white-space: nowrap; text-overflow: ellipsis; }
.cin-title.m { font-size: 56px; }
.cin-title.s { font-size: 48px; }
.cin-title.xs { font-size: 42px; }
.cin-chips { margin-top: 18px; height: 46px; overflow: hidden; white-space: nowrap; }
.cin-chip, .cin-rating { display: inline-block; font-size: 24px; padding: 6px 16px; border-radius: 10px; margin-right: 12px; }
.cin-chip { background: rgba(255,255,255,0.12); color: rgba(255,255,255,0.9); }
.cin-rating { color: #FFC83D; font-weight: 800; border: 2px solid rgba(255,200,61,0.7); }
.cin-plot { font-size: 27px; line-height: 1.45; color: rgba(255,255,255,0.88); margin-top: 18px; height: 118px; overflow: hidden;
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.cin-resume { display: flex; align-items: center; margin-top: 20px; font-size: 24px; }
.cin-resume b { margin-right: 18px; }
.cin-resume-bar { width: 380px; height: 8px; border-radius: 4px; background: rgba(255,255,255,0.22); overflow: hidden; margin-right: 20px; }
.cin-resume-bar div { height: 100%; background: #2EC5FF; }
.cin-resume span { color: rgba(255,255,255,0.8); }
.cin-buttons { display: flex; align-items: center; margin-top: 26px; min-height: 84px; }
.cin-btn { font-size: 28px; font-weight: 800; letter-spacing: 1px; padding: 20px 50px; border-radius: 50px; margin-right: 20px;
  background: rgba(255,255,255,0.16); border: 3px solid transparent; white-space: nowrap; transition: transform .12s; }
.cin-btn:focus, .cin-round:focus { background: #fff; color: #000; transform: scale(1.06); }
.cin-round { width: 78px; height: 78px; border-radius: 50%; background: rgba(255,255,255,0.16); display: flex; align-items: center;
  justify-content: center; font-size: 40px; font-weight: 800; transition: transform .12s; }
/* Sugestões, Elenco, Detalhes (e Episódios): logo abaixo dos botões, na mesma altura em toda tela de detalhes. */
.cin-band { position: absolute; left: 110px; right: 50px; top: 600px; height: 360px; }
.series .cin-band { height: 420px; }
.cin-tabs { display: flex; border-bottom: 2px solid rgba(255,255,255,0.12); }
.cin-tab { font-size: 26px; font-weight: 700; letter-spacing: 2px; color: rgba(255,255,255,0.55); padding: 8px 14px 0; margin-right: 34px;
  border-radius: 10px 10px 0 0; }
.cin-tab.chosen { color: #fff; font-weight: 900; }
.cin-tab:focus { color: #fff; background: rgba(255,255,255,0.12); }
.cin-tab-line { width: 0; height: 5px; margin-top: 10px; border-radius: 3px; background: #2EC5FF; }
.cin-tab.chosen .cin-tab-line { width: 60px; }
.cin-band-body { padding-top: 18px; }
.cin-row { white-space: nowrap; overflow: hidden; padding: 8px 4px 10px; }
.cin-row > * { display: inline-block; vertical-align: top; white-space: normal; }
.cin-empty { font-size: 26px; color: rgba(255,255,255,0.6); padding-top: 10px; max-width: 1400px; }
.cin-sug { width: 170px; margin-right: 22px; transition: transform .12s; }
.cin-sug-img { position: relative; height: 255px; border-radius: 14px; overflow: hidden; background: rgba(255,255,255,0.08);
  border: 4px solid transparent; }
.cin-sug-img span { position: absolute; left: 10px; right: 10px; top: 40%; text-align: center; font-size: 20px; color: rgba(255,255,255,0.5); }
.cin-sug-img img { position: absolute; left: 0; top: 0; width: 100%; height: 100%; object-fit: cover; }
.cin-sug-name { font-size: 22px; margin-top: 10px; color: rgba(255,255,255,0.75); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cin-sug:focus { transform: scale(1.07); }
.cin-sug:focus .cin-sug-img { border-color: #fff; }
.cin-sug:focus .cin-sug-name { color: #fff; }
.cin-person { width: 150px; margin-right: 22px; text-align: center; }
.cin-avatar { width: 120px; height: 120px; margin: 0 auto; border-radius: 50%; background: rgba(255,255,255,0.1); display: flex;
  align-items: center; justify-content: center; font-size: 46px; color: rgba(255,255,255,0.6); }
.cin-person-name { font-size: 22px; margin-top: 12px; max-height: 58px; overflow: hidden; }
.cin-details { max-width: 1400px; }
.cin-detail { display: flex; font-size: 25px; padding: 7px 0; }
.cin-detail span { width: 200px; color: rgba(255,255,255,0.55); flex-shrink: 0; }
.cin-detail b { font-weight: 400; color: rgba(255,255,255,0.9); max-height: 64px; overflow: hidden; }
.cin-seasons { padding-top: 0; margin-bottom: 8px; }
.cin-season { font-size: 24px; font-weight: 700; padding: 10px 26px; border-radius: 40px; margin-right: 14px; background: rgba(255,255,255,0.1);
  border: 3px solid transparent; }
.cin-season.chosen { background: rgba(46,197,255,0.3); font-weight: 900; }
.cin-season:focus { background: #fff; color: #000; }
.cin-ep { width: 330px; margin-right: 22px; transition: transform .12s; }
.cin-ep-img { position: relative; height: 186px; border-radius: 14px; overflow: hidden; background: rgba(255,255,255,0.08); border: 4px solid transparent; }
.cin-ep-img img { position: absolute; left: 0; top: 0; width: 100%; height: 100%; object-fit: cover; }
.cin-ep-num { position: absolute; left: 8px; top: 8px; font-size: 20px; font-weight: 800; padding: 3px 10px; border-radius: 6px; background: rgba(0,0,0,0.65); }
.cin-badge { position: absolute; right: 8px; top: 8px; font-size: 18px; font-weight: 800; padding: 4px 10px; border-radius: 8px; border: 2px solid #fff; }
.cin-badge.watched { background: #1FAA4A; }
.cin-badge.resume { background: #FFC107; color: #000; }
.cin-ep-bar { position: absolute; left: 0; right: 0; bottom: 0; height: 6px; background: rgba(0,0,0,0.5); }
.cin-ep-bar div { height: 100%; background: #2EC5FF; }
.cin-ep-name { font-size: 23px; font-weight: 700; margin-top: 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: rgba(255,255,255,0.85); }
.cin-ep-dur { font-size: 20px; color: rgba(255,255,255,0.6); margin-top: 2px; }
.cin-ep:focus { transform: scale(1.06); }
.cin-ep:focus .cin-ep-img { border-color: #fff; }
.cin-ep:focus .cin-ep-name { color: #fff; }

/* ---------- Formato da imagem (Tela) ---------- */
video.aspect-fit { object-fit: contain; }
video.aspect-fill, video.aspect-16x9 { object-fit: fill; }
video.aspect-zoom { object-fit: cover; }
/* As áreas de vídeo são 16:9: 4:3 ocupa 75% da largura, no meio. */
video.aspect-4x3 { object-fit: fill; position: absolute; top: 0; left: 12.5%; width: 75% !important; height: 100% !important; }
.vp-aspect { display: inline-block; margin-top: 16px; font-size: 22px; padding: 8px 22px; border-radius: 30px;
  background: rgba(255,255,255,0.14); border: 3px solid transparent; }
.vp-aspect:focus, .vp-aspect:hover { border-color: #fff; background: rgba(255,255,255,0.28); }
.full-aspect { margin: 0 0 0 30px; }

/* ---------- Igual ao app de TV (Android): fundo de cada seção, busca, painéis, ordenar e capas ---------- */
.live { background: linear-gradient(180deg, #3A1D27 0%, #1A1220 40%, #0B0E14 100%); }
.vod-movie { background: linear-gradient(180deg, #2A1B52 0%, #171433 45%, #0B0E14 100%); }
.vod-series { background: linear-gradient(180deg, #14264E 0%, #111A33 45%, #0B0E14 100%); }
.tabs { flex: 0 0 auto; margin-right: 34px; }
.search { display: flex; align-items: center; width: 560px; height: 62px; padding: 0 22px; border-radius: 40px;
  border: 3px solid rgba(255,255,255,0.75); background: rgba(0,0,0,0.25); }
.search svg { flex-shrink: 0; margin-right: 14px; }
.search-input { flex: 1; height: 100%; background: transparent; border: none; outline: none; color: #fff; font-size: 26px; font-family: inherit; }
.search-input::placeholder { color: rgba(255,255,255,0.6); }
.search:focus-within { border-color: #fff; background: rgba(255,255,255,0.12); }
.cat-panel, .chan-panel, .grid-panel { background: rgba(20,24,36,0.92); border-radius: 26px; padding: 16px 14px; margin-right: 24px; }
.cat-panel { width: 440px; flex-shrink: 0; }
.cat-panel .categories { width: auto; margin-right: 0; }
.cat-title { font-size: 22px; font-weight: 700; color: rgba(255,255,255,0.65); padding: 8px 16px 12px; }
.chan-panel { width: 700px; flex-shrink: 0; }
.chan-panel .channels { width: auto; margin-right: 0; }
.grid-panel { flex: 1; background: transparent; padding: 0; margin-right: 0; }
.list-head { display: flex; align-items: center; height: 70px; padding: 0 12px 8px; }
.list-title { font-size: 30px; font-weight: 800; margin-right: 20px; max-width: 420px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.list-count { font-size: 22px; color: rgba(255,255,255,0.65); margin-left: 18px; }
.sort-btn { display: flex; align-items: center; height: 54px; padding: 0 22px; border-radius: 12px; background: #1F3A73;
  font-size: 22px; font-weight: 700; border: 3px solid transparent; }
.sort-caret { margin-left: 14px; font-size: 20px; }
.sort-btn:focus { border-color: #fff; background: #2E56A8; }
.poster-img { width: 260px; height: 390px; border-radius: 14px 14px 0 0; }
.poster-name { margin-top: 0; height: 60px; line-height: 60px; padding: 0 14px; font-size: 22px; white-space: nowrap; overflow: hidden;
  text-overflow: ellipsis; background: #2C2F38; border-radius: 0 0 14px 14px; color: #fff; width: 260px; box-sizing: border-box; }
.gcell:focus .poster-img { transform: none; border-color: #fff; }
.gcell:focus .poster { outline: 4px solid #5B8CFF; outline-offset: 2px; border-radius: 14px; }
/* Tela inicial: botões da direita com a borda na cor de cada um e o aviso da demonstração no canto. */
.action { border-color: var(--c0); background: linear-gradient(90deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02)); }
.home-demo { left: auto; right: 48px; top: auto; bottom: 26px; text-align: left; max-width: 560px; padding: 14px 28px; border-radius: 40px;
  font-size: 22px; color: #fff; background: rgba(15,40,70,0.8); border: 2px solid #2E7FB8; }
/* Prévia da TV ao vivo cabe ao lado dos painéis (só o tamanho da caixa; o player é o mesmo). */
.live-side { min-width: 0; }
.live-side .player:not(.full) { width: 100%; height: 358px; }
/* Capa igual à do app de TV: cartão inteiro arredondado, capa em cima, faixa cinza com o nome em negrito e a nota no canto. */
.poster { width: 260px; border-radius: 14px; overflow: hidden; background: #2C2F38; }
.poster-img { border: none; border-radius: 0; }
.poster-name { font-weight: 700; border-radius: 0; }
.poster-rating { position: absolute; left: 10px; top: 10px; z-index: 2; padding: 4px 12px; border-radius: 8px;
  background: rgba(0,0,0,0.6); font-size: 20px; font-weight: 700; }
.gcell:focus .poster { outline: 4px solid #fff; outline-offset: 0; }

/* Navegador do computador: tela inicial igual à do app de PC (fundo e blocos ilustrados). */
.web .home { background: #050A14 url(home/fundo.jpg) center / cover no-repeat; }
.tile-art-box { background: #111; border: 2px solid var(--edge); box-shadow: 0 0 34px -6px var(--glow); transition: transform .15s, box-shadow .15s; }
.tile-art-box:focus, .tile-art-box:hover { transform: scale(1.05); border: 4px solid #fff; box-shadow: 0 0 60px -4px var(--glow); }
.tile-art { position: absolute; left: 0; top: 0; width: 100%; height: 100%; object-fit: fill; }
.tile-art-box .tile-dim { background: rgba(0,0,0,0.10); box-shadow: none; }
.tile-art-box:focus .tile-dim, .tile-art-box:hover .tile-dim { background: transparent; }
.web .home-grid { top: 50%; margin-top: -245px; }
.web .action::after { content: "›"; margin-left: auto; font-size: 44px; opacity: .7; }
/* Navegador: tela cheia (TV ao vivo e filmes), escurecido dos avisos e vídeo ocupam a janela inteira, não só 1920x1080. */
.web .player.full, .web .dialog-bg, .web .vplayer video { width: 100%; height: 100%; }

/* Navegador: tela de entrada (antes de abrir o app). */
.welcome { display: flex; align-items: center; justify-content: center; gap: 140px; overflow: hidden; background: #050812; }
.wl-wall { position: absolute; left: -10%; top: -30%; width: 120%; height: 160%; display: flex; gap: 28px; justify-content: center;
  transform: rotate(-12deg); opacity: 0.55; }
.wl-col { width: 300px; display: flex; flex-direction: column; gap: 28px; animation: wl-up 70s linear infinite; }
.wl-col.down { animation-name: wl-down; animation-duration: 85s; }
.wl-tile { flex: none; height: 400px; border-radius: 22px; background-size: cover; background-position: center;
  box-shadow: 0 20px 50px rgba(0,0,0,0.5); }
@keyframes wl-up { from { transform: translateY(0); } to { transform: translateY(-50%); } }
@keyframes wl-down { from { transform: translateY(-50%); } to { transform: translateY(0); } }
.wl-shade { position: absolute; left: 0; top: 0; right: 0; bottom: 0;
  background: linear-gradient(90deg, rgba(5,8,18,0.96) 0%, rgba(5,8,18,0.82) 45%, rgba(5,8,18,0.7) 100%),
              linear-gradient(0deg, rgba(5,8,18,0.9), transparent 40%, transparent 70%, rgba(5,8,18,0.8)); }
.wl-orb { position: absolute; border-radius: 50%; filter: blur(90px); pointer-events: none; }
.wl-orb.a { width: 620px; height: 620px; left: 8%; top: 12%; background: rgba(91,95,239,0.35); animation: wl-float 14s ease-in-out infinite; }
.wl-orb.b { width: 520px; height: 520px; right: 10%; bottom: 6%; background: rgba(46,197,255,0.22); animation: wl-float 18s ease-in-out infinite reverse; }
@keyframes wl-float { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(40px, -30px); } }
@media (prefers-reduced-motion: reduce) { .wl-col, .wl-orb { animation: none; } }

.wl-side, .wl-card { position: relative; z-index: 1; }
.wl-side { width: 720px; }
.wl-brand { display: flex; align-items: center; gap: 18px; font-size: 40px; font-weight: 900; }
.wl-brand img { width: 84px; height: 84px; }
.wl-brand span { font-size: 22px; letter-spacing: 5px; color: #2EC5FF; vertical-align: middle; }
.wl-headline { font-size: 78px; line-height: 1.08; font-weight: 900; letter-spacing: -1.5px; margin: 48px 0 0; }
.wl-headline em { font-style: normal; background: linear-gradient(90deg, #8F7BFF, #2EC5FF 55%, #3DDC97);
  -webkit-background-clip: text; background-clip: text; color: transparent; }
.wl-tag { font-size: 30px; line-height: 1.45; color: rgba(255,255,255,0.72); margin: 26px 0 0; max-width: 640px; }
.wl-features { display: flex; gap: 16px; margin-top: 44px; }
.wl-features div { display: flex; align-items: center; gap: 12px; font-size: 24px; font-weight: 700; padding: 12px 22px 12px 12px;
  border-radius: 40px; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1); }
.wl-features span { width: 46px; height: 46px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.wl-features span svg { width: 26px; height: 26px; }
.wl-features .live { background: linear-gradient(135deg, #FF2E63, #FF8A3D); }
.wl-features .movies { background: linear-gradient(135deg, #6A2CFF, #D13DFF); }
.wl-features .series { background: linear-gradient(135deg, #0077FF, #00D4B8); }

.wl-card { width: 700px; padding: 60px 64px 50px; border-radius: 36px; background: rgba(18,22,36,0.72);
  border: 1px solid rgba(255,255,255,0.12); box-shadow: 0 40px 120px rgba(0,0,0,0.6), inset 0 1px 0 rgba(255,255,255,0.08);
  backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); }
.wl-title { font-size: 54px; font-weight: 900; }
.wl-sub { font-size: 25px; color: rgba(255,255,255,0.62); margin: 8px 0 38px; }
.wl-field { position: relative; display: flex; align-items: center; height: 86px; margin-bottom: 20px; border-radius: 20px;
  background: rgba(255,255,255,0.06); border: 2px solid rgba(255,255,255,0.12); transition: border-color .15s, background .15s, box-shadow .15s; }
.wl-field:focus-within { border-color: #8F7BFF; background: rgba(143,123,255,0.12); box-shadow: 0 0 0 6px rgba(143,123,255,0.18); }
.wl-ico { width: 74px; display: flex; justify-content: center; color: rgba(255,255,255,0.5); flex: none; }
.wl-field:focus-within .wl-ico, .wl-field.filled .wl-ico { color: #fff; }
.wl-ico svg, .wl-eye svg { width: 32px; height: 32px; }
.wl-field input { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: transparent; color: #fff;
  font-family: inherit; font-size: 30px; padding-right: 22px; }
.wl-field input::placeholder { color: rgba(255,255,255,0.42); }
.wl-eye { width: 70px; display: flex; justify-content: center; color: rgba(255,255,255,0.55); cursor: pointer; flex: none; }
.wl-eye:hover { color: #fff; }
.wl-error { margin: 4px 0 16px; padding: 14px 20px; border-radius: 14px; font-size: 24px;
  color: #FFB3BF; background: rgba(255,77,109,0.12); border: 1px solid rgba(255,77,109,0.35); }
.wl-go { display: flex; align-items: center; justify-content: center; gap: 14px; height: 86px; margin-top: 12px; border-radius: 20px;
  font-size: 30px; font-weight: 800; letter-spacing: 0.5px; cursor: pointer; color: #fff;
  background: linear-gradient(90deg, #5B5FEF, #8F7BFF 50%, #2EC5FF); background-size: 200% 100%;
  box-shadow: 0 16px 40px rgba(91,95,239,0.45); transition: background-position .4s, transform .12s, box-shadow .2s; }
.wl-go:hover, .wl-go:focus { background-position: 100% 0; transform: translateY(-2px); box-shadow: 0 20px 50px rgba(46,197,255,0.4); outline: 0; }
.wl-go.busy { opacity: 0.85; }
.wl-spin { width: 28px; height: 28px; border-radius: 50%; border: 4px solid rgba(255,255,255,0.35); border-top-color: #fff; animation: wl-rot .8s linear infinite; }
@keyframes wl-rot { to { transform: rotate(360deg); } }
.wl-or { display: flex; align-items: center; gap: 18px; margin: 30px 0 18px; font-size: 22px; color: rgba(255,255,255,0.4); }
.wl-or::before, .wl-or::after { content: ""; flex: 1; height: 1px; background: rgba(255,255,255,0.12); }
.wl-demo { display: flex; align-items: center; justify-content: center; height: 70px; border-radius: 18px; font-size: 26px; font-weight: 700;
  color: rgba(255,255,255,0.85); border: 2px solid rgba(255,255,255,0.14); cursor: pointer; transition: background .15s, border-color .15s; }
.wl-demo:hover, .wl-demo:focus { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.35); color: #fff; outline: 0; }
/* Campos preenchidos sozinhos pelo navegador (senha salva): sem o fundo azul-claro e o texto preto do Chrome. */
.wl-field input:-webkit-autofill,
.wl-field input:-webkit-autofill:hover,
.wl-field input:-webkit-autofill:focus {
  -webkit-text-fill-color: #fff; caret-color: #fff; font-size: 30px;
  -webkit-box-shadow: 0 0 0 200px #1a1d2e inset; box-shadow: 0 0 0 200px #1a1d2e inset;
  transition: background-color 9999s ease-out 0s;
}
.wl-field:focus-within input:-webkit-autofill { -webkit-box-shadow: 0 0 0 200px #25233f inset; box-shadow: 0 0 0 200px #25233f inset; }
.wl-field input { border-radius: 0 16px 16px 0; }
/* Navegador: botões do player (pausar, 10 s, volume, tela cheia). */
.wpc { display: flex; align-items: center; gap: 10px; margin-top: 22px; }
.wpc-btn { width: 64px; height: 64px; border-radius: 50%; border: 0; padding: 0; display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.1); color: #fff; cursor: pointer; transition: background .15s, transform .12s; }
.wpc-btn:hover { background: rgba(255,255,255,0.22); transform: scale(1.06); }
.wpc-btn svg { width: 32px; height: 32px; }
.wpc-btn.big { width: 78px; height: 78px; background: #fff; color: #000; }
.wpc-btn.big:hover { background: #e8e8ff; }
.wpc-btn.big svg { width: 38px; height: 38px; }
.wpc-vol { display: flex; align-items: center; gap: 8px; margin-left: 8px; }
.wpc-range { -webkit-appearance: none; appearance: none; width: 180px; height: 8px; border-radius: 4px; cursor: pointer; outline: 0;
  background: linear-gradient(90deg, #fff var(--fill, 100%), rgba(255,255,255,0.25) var(--fill, 100%)); }
.wpc-range::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 4px rgba(91,95,239,0.55); }
.wpc-range::-moz-range-thumb { width: 22px; height: 22px; border: 0; border-radius: 50%; background: #fff; }
.wpc-space { flex: 1; }
.full-banner { flex-wrap: wrap; }
.full-banner .wpc { flex-basis: 100%; order: 10; }

/* Player: botões de baixo (Tela, Áudio, Legendas, Próximo episódio), como no app de TV. */
/* Sem "gap" no flex: o navegador das TVs LG de 2018 (Chromium 53) não entende e os botões ficariam grudados. */
.vp-buttons { display: flex; flex-wrap: wrap; margin-top: 18px; }
.vp-buttons .vp-btn { margin: 0 16px 12px 0; }
.vp-btn { font-size: 24px; padding: 10px 26px; border-radius: 30px; background: rgba(255,255,255,0.14); border: 3px solid transparent; }
.vp-btn:focus, .vp-btn:hover { border-color: #fff; background: rgba(255,255,255,0.3); }
/* Janela de Áudio / Legendas. */
.track-dialog { min-width: 620px; text-align: left; }
.track-dialog .dialog-q { text-align: center; margin-bottom: 30px; }
.track-list { max-height: 640px; overflow-y: auto; }
.track-opt { display: flex; align-items: center; font-size: 30px; padding: 16px 24px; border-radius: 16px; border: 3px solid transparent; margin-bottom: 8px; }
.track-opt.on { color: #FFC83D; font-weight: 700; }
.track-opt:focus, .track-opt:hover { border-color: #fff; background: rgba(255,255,255,0.12); }
.track-check { width: 44px; flex: none; }
/* Próximo episódio em 10 s. */
.next-ep { position: absolute; right: 60px; bottom: 60px; z-index: 50; background: #171A21; border-radius: 24px; padding: 34px 40px;
  min-width: 560px; box-shadow: 0 10px 40px rgba(0,0,0,0.6); }
.next-ep-count { font-size: 28px; font-weight: 700; color: #FFC83D; }
.next-ep-title { font-size: 36px; font-weight: 700; margin: 8px 0 26px; max-width: 760px; }
.next-ep-buttons .btn { margin-right: 16px; }
/* TV ao vivo: número digitado no controle. */
.chan-digits { position: fixed; top: 50px; right: 60px; z-index: 70; background: rgba(0,0,0,0.75); color: #FFC83D; border-radius: 14px;
  padding: 12px 30px; font-weight: 800; font-size: 64px; }
.chan-digits.miss { font-size: 32px; }
.vp-aspect.lit { border-color: #fff; background: rgba(255,255,255,0.28); }
/* Vega: código do aparelho no canto da tela inicial (só na demonstração), como no Fire TV. */
.home-device { position: absolute; left: 48px; bottom: 26px; padding: 14px 28px; border-radius: 40px; font-size: 22px; color: #fff;
  background: rgba(15,40,70,0.8); border: 2px solid #2E7FB8; }
.home-device b { margin-left: 8px; letter-spacing: 1px; }
.set-device { margin-top: 26px; }

/* Esconde o botão de transmitir que o WebView (Vega/Fire TV) põe em cima do vídeo. */
video::-internal-media-controls-overlay-cast-button { display: none; }

/* Legenda online por cima do vídeo */
.vp-subs { position: absolute; left: 10%; right: 10%; bottom: 90px; text-align: center; font-size: 46px; line-height: 1.3; font-weight: 600;
  color: #fff; white-space: pre-line; text-shadow: 0 0 6px #000, 2px 2px 3px #000, -2px -2px 3px #000; pointer-events: none; z-index: 5; }
.vp-subs:empty { display: none; }
.vp-overlay ~ .vp-subs { bottom: 330px; }

/* Celular em pé (site): tela de entrada em coluna, com o formulário ocupando a largura */
body.portrait .welcome { flex-direction: column; justify-content: flex-start; gap: 40px; padding: 70px 30px 40px; overflow-y: auto; }
body.portrait .wl-side { width: 100%; text-align: center; }
body.portrait .wl-brand { justify-content: center; }
body.portrait .wl-headline { font-size: 58px; margin-top: 34px; }
body.portrait .wl-tag { margin: 20px auto 0; }
body.portrait .wl-features { justify-content: center; }
body.portrait .wl-card { width: 100%; box-sizing: border-box; padding: 46px 40px 40px; }
/* Site: a tela do app fica presa à janela (no celular não estica a página para 1920 de largura) */
body.web #stage { position: fixed; }

/* ---------- Celular em pé (site): cada tela em coluna, na largura de 760 ---------- */
/* Início: TV ao Vivo grande, Filmes/Séries e Esportes/Kids em pares, e os botões numa linha embaixo */
body.portrait .home { overflow-y: auto; }
body.portrait .home-logo { left: 30px; top: 30px; }
body.portrait .home-grid { position: relative; left: 0; top: 0; width: auto; height: auto; margin: 130px 30px 40px; flex-direction: column; }
body.portrait .col-live { flex: none; height: 380px; margin: 0 0 24px; }
body.portrait .col-tiles { flex: none; height: 520px; margin: 0 0 24px; }
body.portrait .col-tiles .row:first-child { margin-bottom: 24px; }
body.portrait .col-tiles .tile:first-child { margin-right: 24px; }
body.portrait .col-actions { flex: none; flex-direction: row; gap: 16px; }
body.portrait .action { flex: 1; height: 120px; flex-direction: column; justify-content: center; padding: 0 8px; }
body.portrait .action-icon { margin: 0 0 8px; width: 54px; height: 54px; }
body.portrait .action-label { font-size: 24px; }
body.portrait .action > :last-child:not(.action-label) { display: none; }
body.portrait .home-device, body.portrait .home-demo, body.portrait .home-expiry, body.portrait .home-expired { position: relative; left: auto; right: auto; top: auto; bottom: auto;
  display: block; margin: 0 30px 20px; max-width: none; text-align: center; }
body.portrait .action { height: 140px; }
body.portrait .action::after { display: none; }

/* Filmes e Séries: abas e busca em cima, categorias numa caixa baixa e as capas em 3 colunas embaixo */
body.portrait .live-header { left: 20px; right: 20px; top: 20px; height: 150px; flex-wrap: wrap; align-content: space-between; }
body.portrait .live-header .tabs { margin-right: 0; flex: 1; }
body.portrait .live-header .search { width: 100%; order: 3; }
body.portrait .vod .live-body { left: 20px; right: 20px; top: 190px; bottom: 20px; flex-direction: column; }
body.portrait .vod .cat-panel { width: auto; margin: 0 0 16px; padding: 8px 10px; }
body.portrait .vod .cat-title { display: none; }
body.portrait .poster { width: 224px; }
body.portrait .poster-img { width: 224px; height: 336px; }
body.portrait .live-header { height: 140px; }
body.portrait .live-header .back-arrow { width: 56px; height: 56px; margin-right: 6px; }
body.portrait .live-header .tab { font-size: 27px; padding: 8px 12px; }
body.portrait .live-header .tab-sep { margin: 0 2px; }
body.portrait .vod .live-body { top: 180px; }

/* Detalhes (filme e série): imagem de fundo em cima, informações embaixo dela, sugestões/episódios por último */
body.portrait .cin-bg { bottom: auto; height: 560px; background-position: top center;
  -webkit-mask-image: linear-gradient(#000 55%, transparent); mask-image: linear-gradient(#000 55%, transparent); }
body.portrait .cin-shade { display: none; }
body.portrait .cin-info { left: 30px; right: 30px; width: auto; top: 330px !important; transform: none !important; }
body.portrait .cin-title { height: auto; max-height: 148px; white-space: normal; }
body.portrait .cin-plot { height: auto; max-height: 160px; }
body.portrait .cin-band { left: 30px; right: 0; top: 860px !important; transform: none !important; height: auto; bottom: 20px; }
body.portrait .series .cin-band { top: 860px !important; }
body.portrait .cin-row { overflow-x: auto; scrollbar-width: none; }
body.portrait .cin-title { font-size: 50px; line-height: 58px; }
/* Player no celular: sem a dica de teclado e sem o volume (o celular usa os botões dele) */
body.portrait .vp-tip { display: none; }
body.portrait .vp-overlay { padding: 80px 30px 40px; }

/* TV ao Vivo: vídeo em cima, categorias numa caixa baixa e a lista de canais embaixo */
body.portrait .live:not(.vod) .live-body { left: 20px; right: 20px; top: 180px; bottom: 20px; flex-direction: column; }
body.portrait .live-side { order: -1; flex: none; margin-bottom: 16px; }
body.portrait .live-side .player:not(.full) { height: 405px; }
body.portrait .live-info { margin-top: 10px; }
body.portrait .live-info-name { font-size: 30px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
body.portrait .live-info-cat, body.portrait .live-fav { display: none; }
body.portrait .live:not(.vod) .cat-panel { width: auto; margin: 0 0 16px; padding: 8px 10px; }
body.portrait .live:not(.vod) .cat-title { display: none; }
body.portrait .chan-panel { width: auto; margin: 0; padding: 8px 10px; }
body.portrait .cin-head { height: auto; }
body.portrait .cin-title { max-height: 116px; }
body.web .vlist, body.web .pgrid { touch-action: none; }

/* Configurações: as seções numa faixa que rola para o lado em cima e o conteúdo embaixo, na largura toda */
body.portrait .set-body { left: 20px; right: 20px; top: 120px; bottom: 20px; flex-direction: column; }
body.portrait .set-menu { width: auto; margin: 0 0 16px; padding: 8px; display: flex; overflow-x: auto; scrollbar-width: none; flex-shrink: 0; }
body.portrait .set-item { flex-direction: column; flex-shrink: 0; padding: 10px 12px; margin: 0 6px 0 0; min-width: 120px; }
body.portrait .set-bar, body.portrait .set-sub { display: none; }
body.portrait .set-icon { margin: 0 0 6px; width: 52px; height: 52px; }
body.portrait .set-label { font-size: 22px; text-align: center; }
body.portrait .set-panel { padding: 28px 24px; overflow-y: auto; }
.vp-debug { position: absolute; left: 20px; top: 20px; z-index: 99; font: 22px/1.25 monospace; color: #0f0; background: rgba(0,0,0,0.7); padding: 10px; pointer-events: none; }

/* ---------- Player de filmes e séries no visual do app de TV (APK), como na Samsung: LG, Vega e Whale ---------- */
.vplayer.apk .vp-overlay { padding: 160px 80px 40px; background: linear-gradient(transparent, rgba(0,0,0,0.55) 30%, rgba(0,0,0,0.92)); }
.vplayer.apk .vp-title { font-size: 44px; }
.vplayer.apk .vp-seek-wide { margin-top: 30px; height: 30px; }
.vplayer.apk .vp-seek-wide .vp-bar { height: 8px; }
.vplayer.apk .vp-thumb.on { opacity: 1; width: 26px; height: 26px; margin: -13px 0 0 -13px; background: #3D8BFF; }
.vplayer.apk .vp-times { display: flex; justify-content: space-between; font-size: 26px; color: rgba(255,255,255,0.85); margin-top: 8px; }
.vplayer.apk .vp-buttons { display: block; margin-top: 4px; }
.vplayer.apk .vp-transport { display: flex; justify-content: center; align-items: center; }
.vplayer.apk .vp-round { width: 104px; height: 104px; margin: 0 60px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  color: #fff; border: 3px solid transparent; }
.vplayer.apk .vp-round.vp-main { width: 124px; height: 124px; }
.vplayer.apk .vp-round:focus, .vplayer.apk .vp-round:hover { background: rgba(255,255,255,0.18); border-color: #fff; }
.vplayer.apk .vp-icons { display: flex; justify-content: center; margin-top: 26px; }
.vplayer.apk .vp-icon { width: 84px; height: 84px; margin: 0 72px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  color: #fff; border: 3px solid transparent; }
.vplayer.apk .vp-icon:focus, .vplayer.apk .vp-icon:hover { background: rgba(255,255,255,0.18); border-color: #fff; }
.vplayer.apk .vp-overlay ~ .vp-subs { bottom: 470px; }

/* Site no celular em pé: player do APK mais compacto (botões e ícones cabem na largura) */
body.portrait .vplayer.apk .vp-overlay { padding: 80px 24px 30px; }
body.portrait .vplayer.apk .vp-round { margin: 0 22px; }
body.portrait .vplayer.apk .vp-icon { margin: 0 14px; }
body.portrait .vplayer.apk .vp-mute { display: none; }
.player-diag { margin-top: 10px; font-size: 18px; opacity: .7; }

/* Aviso embaixo da rodinha quando o filme demora para começar. */
.vp-slow { position: absolute; left: 50%; top: calc(50% + 70px); transform: translateX(-50%); max-width: 80%; text-align: center; color: rgba(255,255,255,.85); font-size: 26px; text-shadow: 0 2px 6px rgba(0,0,0,.8); pointer-events: none; }

/* Vega (igual ao APK): relógio e data no canto de cima; código do aparelho num quadro no canto de baixo. */
.home-clock { position: absolute; right: 48px; top: 26px; text-align: right; color: #fff; }
.hc-time { font-size: 50px; font-weight: 700; line-height: 1.1; }
.hc-date { font-size: 22px; color: rgba(255,255,255,0.72); }
.home-device { left: auto; right: 48px; bottom: 26px; border-radius: 14px; padding: 12px 24px; background: rgba(14,19,34,0.9);
  border: 2px solid #2a3352; }
.home-device .hd-cap { font-size: 15px; font-weight: 700; letter-spacing: 2px; color: #8A93A8; }
.home-device b { display: block; margin: 4px 0 0; font-size: 26px; letter-spacing: 1px; }
.home-device ~ .home-demo { right: auto; left: 48px; }

/* Igual ao APK (TV ao Vivo, Filmes e Séries): aba atual em pílula roxa, sem barrinhas entre as abas; categoria
   escolhida com um traço colorido à esquerda; canal em foco com borda laranja. */
body.tvlook .tab-sep { display: none; }
body.tvlook .tab { border-radius: 40px; padding: 8px 28px; margin-right: 6px; }
body.tvlook .tab.current { color: #fff; background: linear-gradient(90deg, #8B4DF5, #B04DFF); }
body.tvlook .tab:focus { color: #fff; background: rgba(124,140,255,0.22); border-color: #fff; }
body.tvlook .tab.current:focus { background: linear-gradient(90deg, #9B63FF, #C06BFF); }
body.tvlook .cat.chosen { position: relative; background: rgba(255,255,255,0.07); }
body.tvlook .cat.chosen::before { content: ''; position: absolute; left: 6px; top: 14px; bottom: 14px; width: 5px; border-radius: 3px; background: #E64EFF; }
body.tvlook .vrow:focus .cat { background: rgba(139,77,245,0.25); border-color: #C36BFF; }
body.tvlook .vrow:focus .chan { background: rgba(91,60,140,0.55); border-color: #FF9F43; }

/* Conta (igual ao APK): cartão da lista em uso e, ao lado, "Minhas listas". */
.set-account { display: flex; align-items: flex-start; gap: 28px; }
.set-account .set-card { flex: 1; min-width: 0; }
.set-saved { width: 420px; flex-shrink: 0; }
.set-saved .set-subtitle { margin-top: 0; }
.set-saved-row { display: flex; align-items: center; margin-bottom: 12px; }
.set-saved-item { flex: 1; display: flex; align-items: center; padding: 12px 16px; border-radius: 18px; background: rgba(255,255,255,0.05);
  border: 3px solid transparent; min-width: 0; }
.set-saved-item:focus { border-color: #fff; background: rgba(91,95,239,0.35); }
.set-avatar.small { width: 52px; height: 52px; font-size: 26px; margin-right: 14px; flex-shrink: 0; }
.set-saved-name { min-width: 0; }
.set-saved-name b { display: block; font-size: 26px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.set-saved-tag { display: inline-block; margin-top: 4px; padding: 2px 12px; border-radius: 20px; font-size: 18px; color: #34D399;
  border: 2px solid #34D399; background: rgba(16,60,44,0.6); }
.set-saved-sub { font-size: 20px; color: rgba(255,255,255,0.55); }
.set-saved-del { margin-left: 10px; width: 60px; height: 60px; border-radius: 30px; display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.06); border: 3px solid transparent; }
.set-saved-del:focus { border-color: #fff; background: rgba(220,38,38,0.6); }

/* Tela inicial em inglês: faixa escura cobre o nome desenhado (em português) na ilustração e o nome traduzido vai por cima. */
.tile-cap { position: absolute; left: 0; right: 0; bottom: 0; height: 47%; padding: 0 26px 22px; display: flex; flex-direction: column;
  justify-content: flex-end; background: linear-gradient(to top, #090912 0%, #090912 74%, rgba(9,9,18,0) 100%); }
.tile-cap .tile-label { font-size: 40px; font-weight: 800; color: #fff; line-height: 1.1; }
.tile-cap .tile-sub { font-size: 22px; color: rgba(255,255,255,0.85); margin-top: 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tile-cap .live-badge { align-self: flex-start; margin-bottom: 12px; }
.tile.big .tile-cap { padding: 0 36px 34px; }
.tile.big .tile-cap .tile-label { font-size: 64px; }
.tile.big .tile-cap .tile-sub { font-size: 30px; }
