/* Orbita Play — app web para TV (Media Station X / navegador da TV).
   Layout fixo de 960×540 (igual ao app Android em dp), ampliado para a tela inteira. */
@font-face { font-family: Inter; font-weight: 400; src: url(/assets/inter_regular.woff2) format("woff2"); }
@font-face { font-family: Inter; font-weight: 500; src: url(/assets/inter_medium.woff2) format("woff2"); }
@font-face { font-family: Inter; font-weight: 600; src: url(/assets/inter_semibold.woff2) format("woff2"); }
@font-face { font-family: Inter; font-weight: 700; src: url(/assets/inter_bold.woff2) format("woff2"); }
@font-face { font-family: Outfit; font-weight: 400; src: url(/assets/outfit_regular.woff2) format("woff2"); }
@font-face { font-family: Outfit; font-weight: 700; src: url(/assets/outfit_bold.woff2) format("woff2"); }

:root {
  --bg: #050409; --panel: rgba(12,10,22,.9); --panel-solid: #0d0b18; --border: #1c1830; --field: #08070f; --item: #15121f;
  --accent: #8c6dff; --accent-text: #a28cff; --accent-soft: #241a50; --focus-bg: #2c1f66;
  --live: #f43f5e; --red: #e5303a; --star: #fbbf24; --white: #fff; --text: #e7e5f7; --dim: #9d9abb; --faint: #6e6b8c; --chip: #1b1828;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { width: 100%; height: 100%; overflow: hidden; background: #000; }
body { font-family: Inter, Arial, sans-serif; color: var(--text); -webkit-font-smoothing: antialiased; cursor: default; }
#stage { position: absolute; left: 0; top: 0; width: 960px; height: 540px; transform-origin: 0 0; overflow: hidden; background: var(--bg); }
#app { position: absolute; top:0;right:0;bottom:0;left:0; width: 960px; height: 540px; }
.layer { position: absolute; left: 0; top: 0; width: 960px; height: 540px; }
.out { font-family: Outfit, Inter, sans-serif; }
.ell { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hide { display: none !important; }
svg.ic { display: inline-block; vertical-align: middle; fill: currentColor; flex: none; }

/* ---------- papéis de parede (iguais aos do Android) */
.wall { position: absolute; top:0;right:0;bottom:0;left:0; }
.w0 { background: #050409; }
.w1 { background: radial-gradient(ellipse 80% 120% at 12% 0%, #1a0e44, #09061a 55%, #040308); }
.w2 { background: radial-gradient(circle at 15% 0%, rgba(91,44,255,.4), transparent 62%), radial-gradient(circle at 92% 15%, rgba(34,166,255,.2), transparent 55%), #050409; }
.w3 { background: radial-gradient(circle at 78% 30%, rgba(184,60,255,.28), transparent 48%), radial-gradient(circle at 18% 85%, rgba(78,43,255,.2), transparent 55%), #040307; }
.w4 { background: linear-gradient(#0b1233, #05071a 50%, #030409); }
.w5 { background: linear-gradient(135deg, #1c0f3a, #07050e 50%, #130a28); }
.w6 { background: radial-gradient(ellipse 150% 75% at 50% 145%, transparent 78%, rgba(124,92,255,.44) 86%, rgba(58,123,255,.13) 93%, transparent 100%), #030207; }
.w7 { background: radial-gradient(circle at 82% 0%, rgba(15,107,138,.3), transparent 70%), radial-gradient(circle at 10% 100%, rgba(16,80,112,.13), transparent 50%), #03070b; }
.w8 { background: radial-gradient(circle at 15% 100%, rgba(138,42,18,.33), transparent 70%), radial-gradient(circle at 90% 10%, rgba(128,48,16,.13), transparent 40%), #080405; }
.w9 { background: radial-gradient(circle at 85% 95%, rgba(15,107,67,.28), transparent 70%), radial-gradient(circle at 10% 0%, rgba(30,138,85,.1), transparent 45%), #030805; }
.w10 { background: radial-gradient(circle at 10% 0%, rgba(255,255,255,.06), transparent 60%), linear-gradient(#17171e, #08080b); }
.stars { position: absolute; top:0;right:0;bottom:0;left:0; background-image:
  radial-gradient(1px 1px at 12% 18%, rgba(255,255,255,.3), transparent), radial-gradient(1px 1px at 33% 72%, rgba(255,255,255,.22), transparent),
  radial-gradient(1px 1px at 57% 12%, rgba(255,255,255,.18), transparent), radial-gradient(1.2px 1.2px at 74% 44%, rgba(255,255,255,.28), transparent),
  radial-gradient(1px 1px at 88% 82%, rgba(255,255,255,.2), transparent), radial-gradient(1px 1px at 22% 48%, rgba(255,255,255,.14), transparent),
  radial-gradient(1px 1px at 46% 90%, rgba(255,255,255,.2), transparent), radial-gradient(1.2px 1.2px at 64% 64%, rgba(255,255,255,.16), transparent),
  radial-gradient(1px 1px at 92% 22%, rgba(255,255,255,.25), transparent), radial-gradient(1px 1px at 6% 86%, rgba(255,255,255,.2), transparent);
  background-size: 480px 270px; }

/* ---------- base: painéis, botões, textos */
.panel { background: var(--panel); border: 1px solid var(--border); border-radius: 10px; overflow: hidden; }
.label { font-size: 8.5px; color: var(--dim); font-weight: 600; letter-spacing: 1.6px; text-transform: uppercase; }
.btn { display: inline-flex; align-items: center; gap: 6px; padding: 9px 18px; border-radius: 7px; font-weight: 700; font-size: 10.5px; color: #fff;
  background: rgba(21,18,31,.8); border: 1px solid var(--border); transition: transform .12s; white-space: nowrap; }
.btn.primary { background: var(--accent); border-color: var(--accent); }
.btn.focus { transform: scale(1.05); border: 2px solid #fff; padding: 8px 17px; }
.btn:not(.primary).focus { background: var(--focus-bg); }
.chip { display: inline-block; padding: 2.5px 6px; border-radius: 4px; background: rgba(255,255,255,.2); color: #fff; font-size: 7.5px; font-weight: 700; }
.chip.big { padding: 3.5px 8px; font-size: 9px; }
.rating { display: inline-flex; align-items: center; gap: 3px; padding: 2.5px 6px; border-radius: 4px; background: rgba(251,191,36,.2); color: var(--star); font-size: 7.5px; font-weight: 700; }
.rating.big { padding: 3.5px 8px; font-size: 9px; }
.spinner { width: 26px; height: 26px; border: 3px solid rgba(255,255,255,.2); border-top-color: #fff; border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.loading { position: absolute; top:0;right:0;bottom:0;left:0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; color: var(--dim); font-size: 10px; }
.empty { padding: 30px 12px; text-align: center; color: var(--dim); font-size: 9.5px; }
.empty b { display: block; color: #fff; font-size: 11.5px; margin-bottom: 4px; }
.progress { height: 2.5px; background: rgba(255,255,255,.2); border-radius: 2px; overflow: hidden; }
.progress > i { display: block; height: 100%; background: var(--accent); }

/* ---------- listas (categoria, canal) */
.vlist { position: absolute; overflow: hidden; }
.vrow { position: absolute; left: 0; right: 0; }
.cat { height: 44px; display: flex; align-items: center; border-radius: 7px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.08); overflow: hidden; }
.cat .bar { width: 3px; align-self: stretch; }
.cat.sel { background: rgba(140,109,255,.12); }
.cat.sel .bar { background: var(--accent); }
.cat .t { flex: 1; font-size: 11.5px; color: var(--text); font-weight: 500; margin-left: 12px; }
.cat.sel .t, .cat.focus .t { color: #fff; }
.cat.sel .t { font-weight: 600; }
.cat .ic { margin-left: 12px; color: var(--dim); display: flex; }
.cat .ic + .t { margin-left: 8px; }
.cat.sel .ic, .cat.focus .ic { color: #fff; }
.cat .n { margin-right: 12px; min-width: 20px; padding: 2px 6px; border-radius: 9px; background: rgba(255,255,255,.1); color: var(--dim); font-size: 8.5px; font-weight: 600; text-align: center; }
.cat.focus { background: var(--focus-bg); border: 1.5px solid var(--accent); }
.chrow { display: flex; gap: 4px; }
.ch { flex: 1; min-width: 0; height: 44px; display: flex; align-items: center; padding: 0 8px; border-radius: 8px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.08); }
.ch.focus { background: var(--focus-bg); border: 1.5px solid var(--accent); }
.ch .num { width: 36px; font-size: 10px; color: var(--dim); font-weight: 600; }
.ch.focus .num, .ch.playing .num { color: var(--accent-text); }
.ch .logo { width: 42px; height: 30px; border-radius: 4px; flex: none; margin-right: 8px; overflow: hidden; display: flex; align-items: center; justify-content: center;
  font-size: 7px; font-weight: 800; color: #fff; background: #1a1830; }
.ch .logo img { max-width: 100%; max-height: 100%; }
.ch .nm { font-size: 11.5px; color: #fff; font-weight: 600; }
.ch .sub { font-size: 9px; color: var(--dim); }
.ch.playing .sub { color: var(--accent-text); }
.fav { width: 44px; height: 44px; flex: none; border-radius: 8px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.08); display: flex; align-items: center; justify-content: center; color: var(--dim); }
.fav.on { color: var(--star); }
.fav.focus { background: var(--focus-bg); border: 1.5px solid var(--accent); color: #fff; }
.fav.on.focus { color: var(--star); }
.search { height: 30px; display: flex; align-items: center; gap: 8px; padding: 0 10px; border-radius: 8px; background: var(--field); border: 1px solid var(--border); color: var(--dim); font-size: 10.5px; }
.search.focus { border: 1.5px solid var(--accent); color: #fff; }
.search .v { color: #fff; }

/* ---------- teclado do app */
#kb { position: absolute; left: 0; right: 0; bottom: 0; background: rgba(6,5,16,.95); padding: 10px 0 14px; display: flex; flex-direction: column; align-items: center; }
#kb .top { width: 560px; display: flex; align-items: center; gap: 10px; padding-bottom: 8px; }
#kb .top .lb { font-size: 8px; color: var(--dim); font-weight: 600; letter-spacing: 1px; }
#kb .top .box { flex: 1; height: 28px; border-radius: 7px; background: #15131f; border: 1px solid rgba(255,255,255,.2); padding: 0 10px; display: flex; align-items: center; color: #fff; font-size: 11px; font-weight: 500; white-space: pre; overflow: hidden; }
#kb .row { width: 560px; display: flex; gap: 4px; padding: 2px 0; }
#kb .k { height: 28px; border-radius: 5px; background: #16141f; border: 1px solid rgba(255,255,255,.12); display: flex; align-items: center; justify-content: center; color: #fff; font-size: 11px; font-weight: 600; }
#kb .k.small { font-size: 9px; }
#kb .k.on { background: #3a3650; }
#kb .k.focus { background: #fff; color: #0b0a12; }

/* ---------- janelas */
.dim { position: absolute; top:0;right:0;bottom:0;left:0; background: rgba(0,0,0,.8); display: flex; align-items: center; justify-content: center; }
.dialog { width: 340px; border-radius: 16px; background: var(--panel-solid); border: 1px solid var(--border); padding: 24px; display: flex; flex-direction: column; align-items: center; text-align: center; }
.dialog .icn { width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.dialog h3 { font-family: Outfit; font-size: 14px; color: #fff; margin-top: 12px; }
.dialog p { font-size: 9px; color: var(--dim); margin-top: 5px; line-height: 1.4; }
.dialog .btns { display: flex; gap: 10px; margin-top: 18px; }
.toast { position: absolute; left: 50%; bottom: 36px; transform: translateX(-50%); background: rgba(21,18,31,.93); padding: 8px 14px; border-radius: 8px; color: #fff; font-size: 9px; font-weight: 500; }
.pin { display: flex; gap: 10px; margin-top: 14px; }
.pin i { width: 34px; height: 40px; border-radius: 8px; background: var(--field); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; font-style: normal; color: #fff; font-size: 18px; }
.pin i.cur { border-color: var(--accent); }
.pad { display: flex; flex-wrap: wrap; width: 156px; margin-top: 12px; }
.pad .k { width: 46px; margin: 0 6px 6px 0; }
.pad .k { height: 32px; border-radius: 7px; background: var(--item); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; color: #fff; font-size: 13px; font-weight: 700; }
.pad .k.small { font-size: 8.5px; }
.pad .k.focus { background: #fff; color: #0b0a12; }

/* ---------- tela inicial */
.clock { position: absolute; left: 30px; top: 22px; }
.clock b { display: block; font-family: Outfit; font-size: 17px; color: #fff; font-weight: 700; }
.clock span { font-size: 7.5px; color: var(--dim); }
.hlogo { position: absolute; top: 58px; left: 0; right: 0; text-align: center; }
.hlogo img { height: 36px; }
.rbtns { position: absolute; right: 30px; top: 22px; display: flex; gap: 10px; }
.rbtn { width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.1); display: flex; align-items: center; justify-content: center; color: #fff; }
.rbtn.focus { background: #fff; color: #0b0a12; border-color: #fff; }
.foot { position: absolute; left: 0; right: 0; bottom: 0; display: flex; align-items: flex-end; padding: 12px 32px; }
.foot .c { display: flex; flex-direction: column; gap: 2px; font-size: 9.5px; color: var(--dim); }
.foot .c b { color: var(--text); font-weight: 600; }
.foot .r { margin-left: auto; text-align: right; }
.cards { position: absolute; top: 152px; left: 0; right: 0; display: flex; justify-content: center; gap: 18px; }
.gcard { width: 196px; height: 176px; border-radius: 12px; position: relative; padding: 14px 16px; transition: transform .16s;
  background: linear-gradient(135deg, rgba(255,255,255,.12), rgba(255,255,255,.06), rgba(255,255,255,.08)); border: 1px solid rgba(255,255,255,.14); }
.gcard.focus { transform: scale(1.06); background: linear-gradient(135deg, rgba(162,140,255,.3), rgba(255,255,255,.15), rgba(140,109,255,.1)); border-color: rgba(201,188,255,.5); }
.gcard .t { font-family: Outfit; font-size: 15px; color: #fff; font-weight: 600; }
.gcard .b { position: absolute; left: 16px; bottom: 14px; }
.gcard .b b { display: block; font-size: 10.5px; color: #fff; font-weight: 600; }
.gcard .b span { font-size: 7.5px; color: var(--dim); }
.gcard.focus .b span { color: var(--text); }
.gcard .ring { position: absolute; right: 16px; top: 50%; margin-top: -37px; width: 86px; height: 86px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, rgba(255,255,255,.14), rgba(255,255,255,.07)); }
.gcard.focus .ring, .badge.focus .ring { background: linear-gradient(135deg, #a36bff, #8c6dff 50%, #3fa8f0); }
.gcard .ring i { width: 66px; height: 66px; border-radius: 50%; border: 1px solid rgba(255,255,255,.3); background: rgba(255,255,255,.06); display: flex; align-items: center; justify-content: center; }
.gcard.focus .ring i { border-color: rgba(255,255,255,.55); }
.badges { position: absolute; top: 150px; left: 0; right: 0; display: flex; justify-content: center; gap: 46px; }
.badge { width: 150px; text-align: center; }
.badge .ring { width: 150px; height: 150px; padding: 6px; border-radius: 50%; margin: 0 auto; transition: transform .16s; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, rgba(255,255,255,.14), rgba(255,255,255,.08)); }
.badge.sq .ring { border-radius: 34px; }
.badge.focus .ring { transform: scale(1.08); box-shadow: 0 0 40px rgba(140,109,255,.4); }
.badge .ring i { width: 108px; height: 108px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.3); background: rgba(255,255,255,.06); display: flex; align-items: center; justify-content: center; }
.badge.sq .ring i { border-radius: 26px; }
.badge .t { margin-top: 14px; font-size: 13px; color: #fff; font-weight: 600; }
.badge .s { margin-top: 2px; font-size: 8.5px; color: var(--dim); }
.tiles { position: absolute; top: 150px; left: 0; right: 0; display: flex; justify-content: center; gap: 14px; }
.tile { width: 200px; height: 150px; border-radius: 14px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.1); padding: 16px; position: relative; transition: transform .14s; }
.tile.big { width: 280px; }
.tile.focus { transform: scale(1.05); background: var(--accent); border-color: #fff; }
.tile .t { position: absolute; left: 16px; bottom: 30px; font-family: Outfit; font-size: 17px; color: #fff; font-weight: 700; }
.tile .s { position: absolute; left: 16px; bottom: 14px; font-size: 8.5px; color: var(--text); }
.tile.lite { width: 150px; height: 150px; background: transparent; border: 1.5px solid rgba(255,255,255,.3); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; }
.tile.lite .t, .tile.lite .s { position: static; }
.tile.lite.focus { background: rgba(140,109,255,.25); border-color: #fff; }

/* ---------- canais */
.chs .cats { position: absolute; left: 24px; top: 18px; width: 232px; bottom: 16px; }
.chs .list { position: absolute; left: 264px; top: 18px; width: 318px; bottom: 16px; }
.chs .epg { position: absolute; left: 590px; top: 18px; right: 24px; bottom: 16px; }
.phead { display: flex; align-items: center; padding: 12px 12px 8px; }
.phead .label:first-child { flex: 1; }
.preview { position: relative; height: 214px; border-radius: 12px; overflow: hidden; background: linear-gradient(135deg, #3b2a86, #120c2c); border: 1px solid var(--border); }
.preview .lg { position: absolute; top:0;right:0;bottom:50px;left:0; display: flex; align-items: center; justify-content: center; }
.preview .lg img { max-width: 90px; max-height: 60px; }
#vbox .vov { position: absolute; top:0;right:0;bottom:0;left:0; pointer-events: none; }
#vbox { position: absolute; z-index: 30; }
.preview .info, #vbox .info { position: absolute; left: 0; right: 0; bottom: 0; padding: 24px 13px 11px; background: linear-gradient(transparent, rgba(14,10,30,.9)); }
#vbox .info b, .preview .info b { font-family: Outfit; font-size: 15px; color: #fff; display: block; }
#vbox .info span, .preview .info span { font-size: 10px; color: var(--text); display: block; margin-top: 3px; }
#vbox .info small, .preview .info small { font-size: 9px; color: var(--dim); display: block; margin-top: 5px; }
.livebadge { position: absolute; left: 11px; top: 11px; background: var(--live); color: #fff; font-size: 7.5px; font-weight: 800; letter-spacing: 1px; padding: 3px 7px; border-radius: 5px; }
.prog { display: flex; align-items: center; height: 36px; border-radius: 8px; padding: 0 14px; gap: 14px; background: rgba(255,255,255,.04); margin: 0 6px 5px; }
.prog .dot { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,.85); flex: none; }
.prog.past .dot { background: rgba(255,255,255,.3); }
.prog.now { background: rgba(140,109,255,.18); }
.prog.now .dot { background: #22c55e; }
.prog .h { width: 70px; font-size: 9.5px; color: var(--dim); flex: none; }
.prog.now .h { color: var(--accent-text); }
.prog .t { flex: 1; font-size: 11px; color: #fff; font-weight: 500; }
.prog .agora { font-size: 7px; font-weight: 800; color: #0b0a12; background: var(--accent-text); padding: 2px 5px; border-radius: 3px; }

/* ---------- filmes e séries */
.vod .cats { position: absolute; left: 24px; top: 18px; width: 226px; bottom: 14px; }
.vod .hero { position: absolute; left: 268px; top: 18px; right: 28px; height: 186px; }
.vod .hero .lb { font-size: 9px; color: var(--accent-text); font-weight: 600; letter-spacing: 2px; }
.vod .hero h1 { font-family: Outfit; font-size: 25px; color: #fff; font-weight: 700; margin-top: 5px; line-height: 1.15; }
.vod .hero .meta { display: flex; align-items: center; gap: 7px; margin-top: 8px; font-size: 10.5px; color: var(--text); }
.vod .hero p { font-size: 11px; color: rgba(231,229,247,.95); margin-top: 8px; width: 560px; line-height: 1.38; max-height: 46px; overflow: hidden; }
.vod .ghead { position: absolute; left: 268px; right: 28px; top: 204px; display: flex; align-items: center; }
.vod .ghead b { flex: 1; font-size: 12px; color: #fff; font-weight: 600; }
.vod .ghead span { font-size: 9px; color: var(--dim); }
.vod .grid { position: absolute; left: 268px; right: 4px; top: 236px; bottom: 0; }
.vod .grid > div { margin-top: 8px; }
.backdrop { position: absolute; top:0;right:0;bottom:0;left:0; background-size: cover; background-position: center top; opacity: .45; transition: opacity .3s; }
.backdrop::after { content: ""; position: absolute; top:0;right:0;bottom:0;left:0; background: linear-gradient(90deg, #050409 0%, rgba(5,4,9,.85) 35%, rgba(5,4,9,.4) 70%, rgba(5,4,9,.6)), linear-gradient(transparent 40%, #050409); }
.poster { position: absolute; width: 146px; }
.poster .img { width: 146px; height: 219px; border-radius: 9px; overflow: hidden; position: relative; background: #15131f; transition: transform .14s; }
.poster.focus .img { transform: scale(1.07); box-shadow: 0 0 0 2.5px #fff; }
.poster .img img { width: 100%; height: 100%; object-fit: cover; }
.poster .gen { position: absolute; top:0;right:0;bottom:0;left:0; display: flex; align-items: flex-end; padding: 12px; font-family: Outfit; font-size: 16px; color: #fff; font-weight: 700; line-height: 1.1; }
.poster .rt { position: absolute; right: 5px; top: 5px; }
.poster .nm { margin-top: 14px; font-size: 8.5px; color: var(--dim); }
.poster.focus .nm { color: #fff; font-weight: 600; }
.poster .bar { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(255,255,255,.3); }
.poster .bar i { display: block; height: 100%; background: var(--red); }

/* ---------- detalhe */
.det .left { position: absolute; left: 24px; top: 40px; width: 380px; }
.det .lb { font-size: 8px; color: var(--accent-text); font-weight: 600; letter-spacing: 2px; }
.det h1 { font-family: Outfit; font-size: 28px; color: #fff; margin-top: 6px; line-height: 1.1; }
.det .meta { display: flex; align-items: center; gap: 6px; margin-top: 10px; font-size: 9px; color: var(--dim); }
.det p { font-size: 9.5px; color: var(--text); margin-top: 10px; line-height: 1.45; max-height: 70px; overflow: hidden; }
.det .acts { display: flex; gap: 10px; margin-top: 16px; }
.det .cast { margin-top: 22px; }
.det .cast .row { display: flex; gap: 10px; margin-top: 8px; }
.det .cast .p { width: 54px; text-align: center; font-size: 7px; color: #fff; }
.det .cast .p img, .det .cast .p i { display: block; width: 46px; height: 46px; border-radius: 50%; margin: 0 auto 4px; object-fit: cover; background: #221d3a; }
.det .cast .p small { display: block; color: var(--dim); font-size: 6.5px; }
.eps { position: absolute; left: 406px; top: 20px; right: 24px; bottom: 20px; }
.seasons { display: flex; gap: 5px; padding: 12px; align-items: center; }
.seasons .s { padding: 5px 10px; border-radius: 6px; background: var(--chip); color: var(--dim); font-size: 8.5px; font-weight: 600; }
.seasons .s.sel { background: var(--accent); color: #fff; }
.seasons .s.focus { border: 1.5px solid #fff; padding: 3.5px 8.5px; color: #fff; background: var(--focus-bg); }
.seasons .s.sel.focus { background: var(--accent); }
.ep { display: flex; align-items: center; padding: 7px; border-radius: 9px; border: 1.5px solid transparent; }
.ep.focus { background: var(--focus-bg); border-color: var(--accent); }
.ep .th { width: 120px; height: 67px; border-radius: 6px; overflow: hidden; position: relative; flex: none; background: radial-gradient(#3b2a86, #16142c); }
.ep .th img { width: 100%; height: 100%; object-fit: cover; }
.ep .th .no { position: absolute; left: 5px; top: 5px; background: rgba(0,0,0,.8); color: #fff; font-size: 7.5px; font-weight: 700; padding: 1px 4px; border-radius: 3px; }
.ep .th .pb { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(255,255,255,.33); }
.ep .th .pb i { display: block; height: 100%; background: var(--red); }
.ep .tx { flex: 1; min-width: 0; margin-left: 11px; }
.ep .tx small { font-size: 7.5px; color: var(--dim); font-weight: 600; }
.ep .tx small em { font-style: normal; color: var(--red); }
.ep .tx b { display: block; font-size: 11px; color: #fff; font-weight: 600; }
.ep .tx span { display: block; font-size: 8.5px; color: var(--dim); max-height: 22px; overflow: hidden; }

/* ---------- player */
#player { position: absolute; top:0;right:0;bottom:0;left:0; background: #000; }
#player.mini { background: transparent; }
#vbox { position: absolute; left: 0; top: 0; width: 960px; height: 540px; transform-origin: 0 0; overflow: hidden; background: #000; }
#vbox video { width: 100%; height: 100%; object-fit: contain; background: #000; }
#vbox.zoom video { transform: scale(1.22); }
#vbox.stretch video { transform: scaleY(1.3); }
.pov { position: absolute; top:0;right:0;bottom:0;left:0; transition: opacity .2s; }
.pov.off { opacity: 0; pointer-events: none; }
.ptop { position: absolute; right: 32px; top: 18px; font-family: Outfit; font-size: 19px; color: #fff; font-weight: 700; }
.live-ov { position: absolute; left: 0; right: 0; bottom: 0; padding: 70px 32px 26px; background: linear-gradient(transparent, rgba(5,4,9,.8) 35%, rgba(5,4,9,.98)); }
.live-ov .hd { display: flex; align-items: center; gap: 14px; }
.live-ov .lg { width: 52px; height: 52px; border-radius: 9px; background: #1a1830; border: 2px solid #2a2440; display: flex; align-items: center; justify-content: center; overflow: hidden; font-size: 7px; font-weight: 800; color: #fff; }
.live-ov .lg img { max-width: 90%; max-height: 90%; }
.live-ov .nm { font-family: Outfit; font-size: 22px; color: #fff; font-weight: 700; }
.live-ov .tg { display: flex; gap: 6px; align-items: center; font-size: 12px; color: var(--text); margin-bottom: 3px; }
.live-ov .lv { background: var(--live); color: #fff; font-size: 7.5px; font-weight: 800; padding: 3px 6px; border-radius: 4px; letter-spacing: 1px; }
.live-ov .now { display: flex; gap: 10px; align-items: baseline; margin-top: 12px; }
.live-ov .now span { color: var(--accent); font-size: 10.5px; font-weight: 600; }
.live-ov .now b { color: #fff; font-size: 12.5px; font-weight: 600; }
.live-ov .pr { display: flex; align-items: center; gap: 14px; margin-top: 8px; font-size: 9.5px; color: #fff; font-weight: 600; }
.live-ov .pr .progress { flex: 1; height: 3px; }
.live-ov .nx { margin-top: 9px; font-size: 9.5px; color: var(--dim); }
.live-ov .nx b { color: #fff; font-weight: 500; margin-left: 8px; }
.live-ov .ctl { display: flex; align-items: center; margin-top: 14px; }
.qbtn { width: 52px; height: 36px; border-radius: 8px; background: rgba(255,255,255,.13); border: 1px solid rgba(255,255,255,.25); display: flex; flex-direction: column; align-items: center; justify-content: center; margin-right: 7px; font-size: 10px; font-weight: 700; color: #fff; }
.qbtn.na { color: rgba(255,255,255,.4); }
.qbtn.sel { background: #fff; color: #14172b; }
.qbtn.focus { border: 2px solid #fff; background: rgba(255,255,255,.33); }
.qbtn.sel.focus { background: #fff; }
.qbtn i { width: 3.5px; height: 3.5px; border-radius: 50%; margin-top: 2px; }
.qbtn.sel i { background: var(--accent); }
.qbtn:not(.sel):not(.na) i { background: rgba(255,255,255,.6); }
.cbtn { height: 36px; border-radius: 8px; padding: 0 12px; display: flex; align-items: center; gap: 7px; background: rgba(255,255,255,.13); border: 1px solid rgba(255,255,255,.25); color: #fff; font-size: 10px; font-weight: 700; }
.cbtn.focus { background: #fff; color: #14172b; border: 2px solid #fff; }
.vod-ov { position: absolute; left: 0; right: 0; bottom: 0; padding: 70px 40px 26px; background: linear-gradient(transparent, rgba(5,4,9,.8) 35%, rgba(5,4,9,.98)); }
.vod-ov .kind { font-size: 8px; color: #e5303a; font-weight: 700; letter-spacing: 1.6px; }
.vod-ov h2 { font-family: Outfit; font-size: 22px; color: #fff; margin-top: 3px; }
.vod-ov .st { font-size: 10.5px; color: var(--text); font-weight: 500; margin-top: 2px; }
.vod-ov .end { position: absolute; right: 40px; top: 96px; text-align: right; font-size: 10px; color: var(--text); font-weight: 600; }
.vod-ov .end small { display: block; font-size: 8.5px; color: var(--dim); font-weight: 400; }
.seek { position: relative; height: 24px; margin-top: 18px; }
.seek .tr { position: absolute; left: 0; right: 0; top: 9.5px; height: 5px; border-radius: 3px; background: rgba(255,255,255,.25); }
.seek .fl { position: absolute; left: 0; top: 9.5px; height: 5px; border-radius: 3px; background: #fff; }
.seek .th { position: absolute; top: 6px; width: 12px; height: 12px; margin-left: -6px; border-radius: 50%; background: #fff; }
.seek.act .th { width: 15px; height: 15px; top: 4.5px; margin-left: -7.5px; background: #e5303a; border: 2px solid #fff; }
.times { display: flex; justify-content: space-between; font-size: 10px; color: #fff; font-weight: 600; }
.times span:last-child { color: var(--dim); font-weight: 500; }
.vctl { position: relative; height: 48px; margin-top: 8px; display: flex; align-items: center; }
.pill { display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px; border-radius: 20px; background: rgba(255,255,255,.15); border: 1px solid rgba(255,255,255,.2); color: #fff; font-size: 9.5px; font-weight: 600; margin-right: 10px; }
.pill.focus { background: #fff; color: #0b0a12; border-color: #fff; }
.vctl .mid { position: absolute; left: 50%; transform: translateX(-50%); display: flex; align-items: center; gap: 18px; }
.vctl .mid .c { width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,.15); display: flex; align-items: center; justify-content: center; color: #fff; }
.vctl .mid .pp { width: 48px; height: 48px; border-radius: 50%; background: #fff; color: #0b0a12; display: flex; align-items: center; justify-content: center; }
.vctl .right { margin-left: auto; }
.perr { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); max-width: 420px; border-radius: 10px; background: rgba(12,10,22,.9); padding: 18px; text-align: center; color: #fff; font-size: 10px; font-weight: 600; }
.perr small { display: block; margin-top: 5px; font-size: 8px; color: var(--dim); font-weight: 500; }
.notice { position: absolute; left: 50%; top: 22px; transform: translateX(-50%); padding: 8px 16px; border-radius: 20px; background: rgba(12,10,22,.9); border: 1px solid rgba(255,255,255,.2); color: #fff; font-size: 9.5px; font-weight: 600; }
.seekbadge { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); padding: 12px 22px; border-radius: 14px; background: rgba(11,10,20,.8); color: #fff; font-family: Outfit; font-size: 22px; font-weight: 700; display: flex; align-items: center; gap: 10px; }
.chpanel { position: absolute; left: 0; top: 0; bottom: 0; width: 650px; background: linear-gradient(90deg, rgba(5,4,9,.95), rgba(5,4,9,.88) 85%, transparent); }
.chpanel .pc { position: absolute; left: 18px; top: 16px; bottom: 16px; width: 222px; border-radius: 12px; background: rgba(12,10,22,.94); border: 1px solid var(--border); }
.chpanel .pl { position: absolute; left: 250px; top: 16px; bottom: 16px; right: 40px; border-radius: 12px; background: rgba(12,10,22,.94); border: 1px solid var(--border); }
.opts { position: absolute; right: 24px; top: 50%; transform: translateY(-50%); width: 250px; border-radius: 10px; background: rgba(12,10,22,.95); border: 1px solid var(--border); padding: 10px; }
.opt { display: flex; align-items: center; padding: 8px 10px; border-radius: 6px; margin-top: 4px; font-size: 9px; color: #fff; font-weight: 600; }
.opt span { margin-left: auto; color: var(--accent-text); font-size: 8.5px; font-weight: 500; }
.opt.focus { background: var(--focus-bg); border: 1.5px solid var(--accent); padding: 6.5px 8.5px; }

/* ---------- configurações */
.set .menu { position: absolute; left: 32px; top: 64px; width: 250px; bottom: 18px; border-radius: 14px; background: var(--panel); border: 1px solid var(--border); padding: 6px 8px; }
.set .menu .g { font-size: 7.5px; color: var(--faint); font-weight: 700; letter-spacing: 1.4px; padding: 6px 12px 2px; }
.set .menu .it { height: 33px; display: flex; align-items: center; border-radius: 9px; padding: 0 10px; color: var(--text); font-size: 11px; font-weight: 600; gap: 10px; }
.set .menu .it .bar { width: 3px; height: 16px; border-radius: 2px; margin-right: -3px; }
.set .menu .it.sel { background: var(--accent-soft); color: #fff; }
.set .menu .it.sel .bar { background: var(--accent); }
.set .menu .it.focus { background: var(--accent); color: #fff; }
.set .menu .it.focus .bar { background: transparent; }
.set .menu .it .ic { color: var(--dim); }
.set .menu .it.sel .ic, .set .menu .it.focus .ic { color: #fff; }
.set .menu .it.danger, .set .menu .it.danger .ic { color: var(--live); }
.set .menu .it.danger.focus, .set .menu .it.danger.focus .ic { color: #fff; }
.set .head { position: absolute; left: 32px; top: 22px; display: flex; align-items: center; gap: 14px; }
.set .head img { height: 22px; }
.set .head .sep { width: 1px; height: 18px; background: var(--border); }
.set .head b { font-family: Outfit; font-size: 18px; color: #fff; }
.set .content { position: absolute; left: 298px; top: 64px; right: 32px; bottom: 18px; }
.set .ctitle { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.set .ctitle .ib { width: 34px; height: 34px; border-radius: 10px; background: var(--accent-soft); display: flex; align-items: center; justify-content: center; color: var(--accent-text); }
.set .ctitle b { display: block; font-family: Outfit; font-size: 15px; color: #fff; }
.set .ctitle small { font-size: 8.5px; color: var(--dim); }
.set .msg { margin-left: auto; padding: 5px 10px; border-radius: 15px; background: #163a2a; color: #7ee2a8; font-size: 8.5px; font-weight: 600; }
.card { border-radius: 12px; background: var(--panel); border: 1px solid var(--border); padding: 14px; }
.card .ct { font-size: 7.5px; color: var(--faint); font-weight: 600; letter-spacing: 1.2px; margin-bottom: 9px; }
.card .hint { font-size: 8px; color: var(--faint); margin-top: 9px; }
.opn { display: flex; align-items: center; height: 42px; border-radius: 10px; background: var(--item); border: 1px solid var(--border); padding: 0 16px; margin-bottom: 6px; color: #fff; font-size: 11px; font-weight: 600; }
.opn.two { height: 50px; }
.opn .tx { flex: 1; min-width: 0; }
.opn .tx small { display: block; font-size: 8.5px; color: var(--dim); font-weight: 400; margin-top: 2px; }
.opn .val { color: var(--accent-text); font-size: 9.5px; font-weight: 500; }
.opn .radio { width: 17px; height: 17px; border-radius: 50%; border: 2px solid var(--dim); margin-right: 12px; display: flex; align-items: center; justify-content: center; flex: none; }
.opn .radio.on { border-color: var(--accent); }
.opn .radio.on i { width: 9px; height: 9px; border-radius: 50%; background: var(--accent); }
.opn .icb { width: 28px; height: 28px; border-radius: 8px; background: var(--accent-soft); color: var(--accent-text); display: flex; align-items: center; justify-content: center; margin-right: 12px; flex: none; }
.opn.danger .icb { background: rgba(244,63,94,.15); color: var(--live); }
.opn .sw { width: 30px; height: 17px; border-radius: 9px; background: #2a2640; position: relative; flex: none; }
.opn .sw.on { background: var(--accent); }
.opn .sw i { position: absolute; left: 2px; top: 2px; width: 13px; height: 13px; border-radius: 50%; background: #fff; transition: left .15s; }
.opn .sw.on i { left: 15px; }
.opn.focus { background: var(--focus-bg); border: 1.5px solid var(--accent); }
.infotiles { display: flex; gap: 10px; }
.infotiles .tl { flex: 1; border-radius: 12px; background: var(--item); border: 1px solid var(--border); padding: 14px; }
.infotiles .tl small { font-size: 7.5px; color: var(--faint); font-weight: 600; letter-spacing: 1px; }
.infotiles .tl b { display: block; font-family: Outfit; font-size: 15px; color: #fff; margin-top: 4px; }
.wgrid { display: flex; flex-wrap: wrap; gap: 12px; }
.wth { width: 188px; height: 106px; border-radius: 10px; overflow: hidden; position: relative; border: 1px solid var(--border); }
.wth.sel { border: 2px solid var(--accent); }
.wth.focus { border: 2.5px solid #fff; }
.wth .nm { position: absolute; left: 0; right: 0; bottom: 0; padding: 14px 10px 7px; background: linear-gradient(transparent, rgba(0,0,0,.8)); color: #fff; font-size: 10px; font-weight: 600; }
.wth .ck { position: absolute; right: 7px; top: 7px; width: 20px; height: 20px; border-radius: 50%; background: var(--accent); display: flex; align-items: center; justify-content: center; color: #fff; }
.lth { width: 196px; border-radius: 12px; background: var(--item); border: 1px solid var(--border); padding: 8px; }
.lth.sel { border: 1.5px solid var(--accent); }
.lth.focus { border: 2px solid #fff; background: var(--focus-bg); }
.lth .pv { height: 100px; border-radius: 8px; overflow: hidden; position: relative; }
.lth .nm { display: flex; align-items: center; margin-top: 7px; font-size: 11px; color: #fff; font-weight: 700; }
.lth .nm span { margin-left: auto; font-size: 8px; color: var(--accent-text); }
.lth small { font-size: 8.5px; color: var(--dim); }

/* ---------- ativação / login */
.actbox { position: absolute; left: 80px; top: 80px; width: 800px; border-radius: 20px; background: rgba(13,10,26,.95); border: 1px solid #2a2150; padding: 30px; display: flex; align-items: center; }
.actbox .l { flex: 1; }
.actbox h1 { font-family: Outfit; font-size: 21px; color: #fff; margin-top: 18px; }
.actbox p { font-size: 10.5px; color: var(--text); margin-top: 6px; }
.step { display: flex; align-items: center; margin-top: 9px; font-size: 11px; color: #fff; font-weight: 500; }
.step i { width: 26px; height: 26px; border-radius: 50%; background: var(--accent); display: flex; align-items: center; justify-content: center; font-style: normal; font-weight: 700; margin-right: 11px; flex: none; }
.note { display: flex; align-items: center; gap: 10px; margin-top: 18px; padding: 12px; border-radius: 12px; background: var(--accent-soft); border: 1px solid rgba(140,109,255,.45); font-size: 9px; color: var(--text); line-height: 1.4; }
.qrw { background: #fff; border-radius: 18px; padding: 10px; }
.qr { display: block; }
.ibox { border-radius: 8px; background: var(--field); border: 1px solid var(--border); padding: 7px 10px; width: 150px; }
.ibox small { display: block; font-size: 7px; color: var(--faint); font-weight: 600; letter-spacing: .8px; }
.ibox b { font-family: Outfit; font-size: 12px; color: #fff; }
.login .card2 { position: absolute; border-radius: 14px; background: rgba(12,10,22,.9); border: 1px solid var(--border); padding: 18px; }
.fld { margin-top: 10px; }
.fld small { display: block; font-size: 7.5px; color: var(--dim); font-weight: 600; letter-spacing: 1px; margin-bottom: 4px; }
.fld .bx { height: 34px; border-radius: 8px; background: var(--field); border: 1px solid var(--border); display: flex; align-items: center; padding: 0 12px; color: #fff; font-size: 11px; }
.fld .bx.ph { color: var(--faint); }
.fld.focus .bx { border: 1.5px solid var(--accent); }
.tabs2 { display: flex; gap: 6px; }
.tabs2 .t { padding: 7px 12px; border-radius: 8px; background: var(--chip); color: var(--dim); font-size: 9.5px; font-weight: 600; }
.tabs2 .t.sel { background: var(--accent); color: #fff; }
.tabs2 .t.focus { border: 1.5px solid #fff; padding: 5.5px 10.5px; color: #fff; }
.err { color: #ff8095; font-size: 9px; margin-top: 8px; }
.splash { position: absolute; top:0;right:0;bottom:0;left:0; display: flex; align-items: center; justify-content: center; background: #050409; transition: opacity .5s; }
.splash img { height: 60px; animation: pop 1.2s ease-out; }
@keyframes pop { from { opacity: 0; transform: scale(.85); } to { opacity: 1; transform: none; } }

/* TVs antigas */
.nogap .btn > * + *{margin-left:6px}
.nogap .rating > * + *{margin-left:3px}
.nogap .loading > * + *{margin-top:12px}
.nogap .chrow > * + *{margin-left:4px}
.nogap .search > * + *{margin-left:8px}
.nogap #kb .top > * + *{margin-left:10px}
.nogap #kb .row > * + *{margin-left:4px}
.nogap .dialog .btns > * + *{margin-left:10px}
.nogap .pin > * + *{margin-left:10px}
.nogap .rbtns > * + *{margin-left:10px}
.nogap .foot .c > * + *{margin-top:2px}
.nogap .cards > * + *{margin-left:18px}
.nogap .badges > * + *{margin-left:46px}
.nogap .tiles > * + *{margin-left:14px}
.nogap .tile.lite > * + *{margin-top:10px}
.nogap .prog > * + *{margin-left:14px}
.nogap .vod .hero .meta > * + *{margin-left:7px}
.nogap .det .meta > * + *{margin-left:6px}
.nogap .det .acts > * + *{margin-left:10px}
.nogap .det .cast .row > * + *{margin-left:10px}
.nogap .seasons > * + *{margin-left:5px}
.nogap .live-ov .hd > * + *{margin-left:14px}
.nogap .live-ov .tg > * + *{margin-left:6px}
.nogap .live-ov .now > * + *{margin-left:10px}
.nogap .live-ov .pr > * + *{margin-left:14px}
.nogap .cbtn > * + *{margin-left:7px}
.nogap .pill > * + *{margin-left:7px}
.nogap .vctl .mid > * + *{margin-left:18px}
.nogap .seekbadge > * + *{margin-left:10px}
.nogap .set .menu .it > * + *{margin-left:10px}
.nogap .set .head > * + *{margin-left:14px}
.nogap .set .ctitle > * + *{margin-left:12px}
.nogap .infotiles > * + *{margin-left:10px}
.nogap .wgrid > *{margin:0 12px 12px 0}
.nogap .note > * + *{margin-left:10px}
.nogap .tabs2 > * + *{margin-left:6px}
