/* Space TV Web — tema escuro cinematográfico (mesma identidade dos apps Android/Samsung). Menu: ícone em cima, nome embaixo.
   Responsivo: PC (menu lateral) e celular (menu embaixo). Sem build. */
:root {
  --ouro: #FFB347; --ouro2: #FFD34D; --fundo: #0a0a0f; --sup: #141420; --card: #1a1a2e; --card2: #1e1e2e; --card3: #262a3b;
  --txt: #f0f0f0; --sec: #b0b0c0; --mudo: #666680; --verm: #ff6b6b; --ciano: #00d4d4; --ok: #4cd38b;
  --linha: rgba(255,255,255,.07); --raio: 12px; --menu-l: 92px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; background: var(--fundo); color: var(--txt); font: 15px/1.45 "Segoe UI", Roboto, system-ui, Arial, sans-serif; -webkit-font-smoothing: antialiased; }
body { overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
input, select { font: inherit; color: var(--txt); }
img { display: block; }
:focus-visible { outline: 2px solid var(--ouro); outline-offset: 2px; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-thumb { background: #2c3044; border-radius: 8px; border: 2px solid transparent; background-clip: padding-box; }
::-webkit-scrollbar-thumb:hover { background: #3a4058; background-clip: padding-box; border: 2px solid transparent; }
::-webkit-scrollbar-track { background: transparent; }

/* ── Shimmer / esqueleto ── */
.skel { background: linear-gradient(100deg, #191b2b 30%, #262a3f 50%, #191b2b 70%); background-size: 300% 100%; animation: brilho 1.4s ease-in-out infinite; border-radius: 10px; }
@keyframes brilho { from { background-position: 100% 0; } to { background-position: -100% 0; } }
.skel.linha { height: 14px; } .skel.titulo { height: 30px; width: min(420px, 70%); } .skel.btn { height: 46px; width: 150px; border-radius: 12px; }
.skel-card { aspect-ratio: 2/3; border-radius: var(--raio); }

/* ── Estrutura ── */
.shell { display: grid; grid-template-columns: var(--menu-l) 1fr; min-height: 100vh; }
.menu { position: sticky; top: 0; height: 100vh; background: var(--sup); padding: 14px 8px; display: flex; flex-direction: column; align-items: stretch; gap: 4px; border-right: 1px solid var(--linha); overflow-y: auto; scrollbar-width: none; }
.menu::-webkit-scrollbar { display: none; }
.marca { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 4px 0 14px; font-weight: 700; font-size: 11.5px; color: var(--sec); }
.marca i { width: 46px; height: 46px; border-radius: 16px; background: #0e1018; position: relative; flex: none; display: block; }
.marca i:before { content: ""; position: absolute; inset: 9px; border-radius: 50%; background: var(--ouro); }
.marca i:after { content: ""; position: absolute; left: 20px; top: 15px; border-left: 12px solid #111; border-top: 8px solid transparent; border-bottom: 8px solid transparent; }
.mitem { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; padding: 10px 4px; border-radius: 14px; color: var(--sec); text-align: center; font-size: 11.5px; font-weight: 500; transition: background .15s, color .15s; }
.mitem svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.mitem:hover { background: var(--card2); color: var(--txt); }
.mitem.ativo { background: rgba(255,179,71,.14); color: var(--ouro); font-weight: 700; }
.menu .espaco { flex: 1; }
.conteudo { position: relative; min-width: 0; padding: 0 30px 60px; animation: entra .25s ease both; }
@keyframes entra { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.barra-sup { position: sticky; top: 0; z-index: 15; display: flex; align-items: center; gap: 14px; padding: 14px 0; margin: 0 -30px 6px; padding-left: 30px; padding-right: 30px; background: linear-gradient(var(--fundo) 70%, rgba(10,10,15,0)); }
.barra-sup h1 { font-size: 22px; font-weight: 700; white-space: nowrap; }
.barra-sup .sub { color: var(--sec); white-space: nowrap; }
.barra-sup .esp { flex: 1; }
.pesq { display: flex; align-items: center; gap: 8px; background: var(--card2); border: 1px solid var(--linha); border-radius: 24px; padding: 0 14px; height: 40px; width: min(340px, 40vw); }
.pesq:focus-within { border-color: var(--ouro); }
.pesq svg { width: 18px; height: 18px; flex: none; fill: none; stroke: var(--sec); stroke-width: 2; stroke-linecap: round; }
.pesq input { flex: 1; min-width: 0; background: none; border: 0; outline: none; }
.pesq-ic { display: none; width: 40px; height: 40px; border-radius: 50%; background: var(--card2); place-items: center; flex: none; }
.pesq-ic svg { width: 20px; height: 20px; fill: none; stroke: var(--txt); stroke-width: 2; stroke-linecap: round; }

/* ── Botões e campos ── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 0 20px; height: 46px; border-radius: 12px; background: var(--card); color: var(--txt); font-weight: 700; transition: background .15s, transform .08s, box-shadow .15s; }
.btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.btn:hover { background: var(--card3); }
.btn:active { transform: scale(.97); }
.btn.prim { background: var(--ouro); color: #1b1305; }
.btn.prim:hover { background: var(--ouro2); box-shadow: 0 6px 24px rgba(255,179,71,.28); }
.btn.perigo { background: rgba(255,107,107,.15); color: var(--verm); }
.btn.peq { height: 34px; padding: 0 14px; font-size: 13px; border-radius: 10px; }
.btn[disabled] { opacity: .5; pointer-events: none; }
.campo { display: grid; gap: 6px; }
.campo > span { color: var(--sec); font-size: 13px; }
.campo input, .campo select { background: var(--card2); border: 1px solid var(--linha); border-radius: 10px; padding: 10px 14px; width: 100%; }
.campo input:focus { border-color: var(--ouro); outline: none; }

/* ── Telas de estado ── */
.centro { max-width: 640px; margin: 8vh auto 0; padding: 0 20px; text-align: center; display: grid; gap: 14px; justify-items: center; }
.centro h1 { font-size: 28px; }
.centro p { color: var(--sec); }
.centro .logo { width: 84px; height: 84px; border-radius: 24px; background: #0e1018; display: grid; place-items: center; }
.centro .logo i { width: 54px; height: 54px; border-radius: 50%; background: var(--ouro); position: relative; display: block; }
.centro .logo i:after { content: ""; position: absolute; left: 21px; top: 14px; border-left: 19px solid #111; border-top: 13px solid transparent; border-bottom: 13px solid transparent; }
.mac { font: 700 30px/1.2 ui-monospace, Consolas, monospace; letter-spacing: 2px; background: var(--card); padding: 12px 20px; border-radius: 14px; user-select: all; }
.aviso-t { color: var(--ouro); } .erro-t { color: var(--verm); }
.nota { font-size: 12px; color: #6f7389; margin-top: 12px; }
.vazio { color: var(--sec); padding: 30px 4px; }
.giro { width: 46px; height: 46px; border-radius: 50%; border: 4px solid var(--card3); border-top-color: var(--ouro); animation: gira .9s linear infinite; }
@keyframes gira { to { transform: rotate(360deg); } }
.barra { width: min(420px, 80vw); height: 8px; border-radius: 6px; background: var(--card3); overflow: hidden; }
.barra i { display: block; height: 100%; background: var(--ouro); transition: width .3s; }
.listas { display: grid; gap: 10px; width: 100%; }
.lista-card { text-align: left; background: var(--card); border: 1px solid var(--linha); border-radius: var(--raio); padding: 14px 16px; display: grid; gap: 2px; }
.lista-card:hover { border-color: var(--ouro); }
.lista-card small { color: var(--sec); } .em-uso { color: var(--ok); }
.sync-flutua { position: fixed; left: 50%; bottom: 36px; transform: translateX(-50%); z-index: 30; background: var(--sup); border: 1px solid var(--linha); border-radius: 18px; padding: 16px 26px; display: grid; gap: 10px; justify-items: center; box-shadow: 0 12px 40px #000a; text-align: center; }
.sync-flutua b { font-size: 15px; } .sync-flutua small { color: var(--sec); }

/* ── Seções, carrosséis e cards ── */
.secao { margin: 0 0 26px; }
.secao-topo { display: flex; align-items: baseline; justify-content: space-between; margin: 0 0 12px; gap: 12px; }
.secao-topo h2 { font-size: 19px; font-weight: 700; }
.secao-topo a { color: var(--ouro); font-size: 13px; font-weight: 600; }
.carr { position: relative; }
.trilho { display: grid; grid-auto-flow: column; grid-auto-columns: var(--cw, 156px); gap: 14px; overflow-x: auto; overflow-y: hidden; padding: 8px 4px 14px; margin: -8px -4px -6px; scrollbar-width: none; scroll-behavior: auto; cursor: grab; overscroll-behavior-x: contain; }
.trilho::-webkit-scrollbar { display: none; }
.trilho.arrastando { cursor: grabbing; scroll-snap-type: none; }
.trilho.arrastando * { pointer-events: none; }
.trilho.chips { grid-auto-columns: max-content; gap: 8px; padding-top: 2px; padding-bottom: 6px; }
.seta { position: absolute; top: calc(50% - 22px); z-index: 4; width: 44px; height: 44px; border-radius: 50%; background: rgba(12,12,20,.86); border: 1px solid var(--linha); display: grid; place-items: center; opacity: 0; transition: opacity .15s, background .15s, transform .1s; box-shadow: 0 6px 20px #000a; }
.seta svg { width: 22px; height: 22px; fill: none; stroke: #fff; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.seta.e { left: -14px; } .seta.d { right: -14px; }
.seta:hover { background: var(--ouro); } .seta:hover svg { stroke: #111; }
.seta:active { transform: scale(.94); }
.carr:hover .seta.ok { opacity: 1; }
.carr .seta[hidden] { display: none; }
@media (hover: none) { .seta { display: none; } }

.card { position: relative; display: block; min-width: 0; border-radius: var(--raio); overflow: hidden; background: var(--card); aspect-ratio: 2/3; text-align: left; transition: transform .18s ease, box-shadow .18s ease; user-select: none; -webkit-user-drag: none; }
.card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .3s; -webkit-user-drag: none; }
.card img.pronta { opacity: 1; }
.card .fundo { position: absolute; inset: 0; }
.card .grad { position: absolute; left: 0; right: 0; bottom: 0; height: 58%; background: linear-gradient(transparent, rgba(0,0,0,.86)); pointer-events: none; }
.card .tx { position: absolute; left: 0; right: 0; bottom: 0; padding: 9px 10px 10px; display: grid; gap: 2px; }
.card .tx b { font-size: 13px; font-weight: 700; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; text-shadow: 0 1px 4px #000; }
.card .tx small { color: rgba(255,255,255,.72); font-size: 11.5px; }
.card .nota-b { position: absolute; top: 8px; right: 8px; background: rgba(0,0,0,.62); backdrop-filter: blur(4px); color: var(--ouro); font-size: 11.5px; font-weight: 700; padding: 2px 7px; border-radius: 8px; }
.card .sem { position: absolute; inset: 0; display: grid; place-items: center; padding: 10px; text-align: center; color: #50566e; font-size: 12px; background: linear-gradient(160deg, #20233a, #14141f); }
.card .jogar { position: absolute; inset: 0; display: grid; place-items: center; opacity: 0; transition: opacity .18s; background: rgba(0,0,0,.32); }
.card .jogar svg { width: 46px; height: 46px; fill: var(--ouro); stroke: none; filter: drop-shadow(0 4px 10px #000a); }
.card .prog { position: absolute; left: 0; right: 0; bottom: 0; height: 5px; background: rgba(0,0,0,.6); }
.card .prog i { display: block; height: 100%; background: var(--ouro); }
.card .pct { position: absolute; right: 8px; top: 8px; font-size: 11px; font-weight: 700; background: rgba(0,0,0,.62); color: var(--ouro); padding: 2px 7px; border-radius: 8px; }
.card .x { position: absolute; top: 6px; left: 6px; width: 26px; height: 26px; border-radius: 50%; background: rgba(0,0,0,.65); display: grid; place-items: center; opacity: 0; transition: opacity .15s; font-size: 12px; z-index: 2; }
.card:hover .x, .card:focus-within .x { opacity: 1; }
.card:hover, .card:focus-visible { transform: translateY(-4px) scale(1.03); box-shadow: 0 0 0 2px var(--ouro), 0 14px 34px rgba(0,0,0,.6); z-index: 3; }
.card:hover .jogar { opacity: 1; }
.card.canal { aspect-ratio: 16/11; background: #11121c; }
.card.canal img { object-fit: contain; padding: 16% 16% 34%; }
.card.canal .tx { padding-top: 6px; text-align: center; }
.card.canal .grad { height: 46%; }
.card.canal .tx b { -webkit-line-clamp: 1; text-align: center; }
.card.ver-mais { display: grid; place-items: center; gap: 8px; align-content: center; justify-items: center; background: linear-gradient(160deg, #20233a, #14141f); color: var(--ouro); font-weight: 700; border: 1px dashed rgba(255,179,71,.4); }
.card.ver-mais svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.grade { display: grid; grid-template-columns: repeat(auto-fill, minmax(var(--cw, 156px), 1fr)); gap: 18px 16px; padding: 8px 4px; }
.grade.canais { --cw: 170px; }
.grade:not(.canais) .card.canal { aspect-ratio: 2/3; }
.grade:not(.canais) .card.canal img { padding: 22% 16% 46%; }
.mais { display: flex; justify-content: center; padding: 26px 0; }

/* ── Banner / destaques ── */
.banner { position: relative; border-radius: 20px; overflow: hidden; min-height: 280px; height: clamp(240px, 32vw, 380px); background: var(--card); margin: 4px 0 26px; cursor: pointer; display: block; }
.banner .slide { position: absolute; inset: 0; opacity: 0; transition: opacity .6s; display: flex; align-items: flex-end; }
.banner .slide.on { opacity: 1; z-index: 1; }
.banner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.banner .sombra { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.82), rgba(0,0,0,.05) 62%, rgba(0,0,0,.3)), linear-gradient(0deg, rgba(10,10,15,.7), transparent 45%); }
.banner .txt { position: relative; padding: 32px 36px; max-width: 680px; display: grid; gap: 10px; justify-items: start; }
.banner .sel { color: var(--ouro); font-weight: 700; font-size: 13px; letter-spacing: .3px; }
.banner h2 { font-size: clamp(24px, 3vw, 38px); line-height: 1.1; text-shadow: 0 2px 14px #000; }
.banner p { color: #e0e0ea; max-width: 520px; }
.banner .pontos { position: absolute; right: 22px; bottom: 18px; z-index: 3; display: flex; gap: 7px; }
.banner .pontos button { width: 8px; height: 8px; border-radius: 8px; background: rgba(255,255,255,.4); transition: width .2s, background .2s; }
.banner .pontos button.on { width: 24px; background: var(--ouro); }
.banner.skel { cursor: default; }

/* ── Catálogo: painel de categorias + grade com rolagens independentes ── */
.cat-pagina { height: 100vh; display: flex; flex-direction: column; margin: 0 -30px -60px; padding: 0 30px; overflow: hidden; }
.cat-pagina .barra-sup { position: static; flex: none; background: none; }
.cat-layout { flex: 1; min-height: 0; display: grid; grid-template-columns: 250px 1fr; gap: 22px; }
.cats { min-height: 0; display: flex; flex-direction: column; background: var(--sup); border-radius: 16px; border: 1px solid var(--linha); overflow: hidden; }
.cats .busca-cat { padding: 10px; flex: none; }
.cats .busca-cat input { width: 100%; background: var(--card2); border: 1px solid var(--linha); border-radius: 10px; padding: 8px 12px; font-size: 13px; outline: none; }
.cats .busca-cat input:focus { border-color: var(--ouro); }
.cats .lista { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 0 6px 40px; display: grid; gap: 2px; align-content: start; }
.cats button { text-align: left; padding: 9px 12px; border-radius: 10px; color: var(--sec); display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 13.5px; }
.cats button span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cats button:hover { background: var(--card2); color: var(--txt); }
.cats button.ativo { background: rgba(255,179,71,.15); color: var(--ouro); font-weight: 700; }
.cats button small { opacity: .65; font-size: 11.5px; flex: none; }
.rola { min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 4px 6px 60px 2px; }
.cats-mov { display: none; }

/* ── Detalhe (igual ao app: capa à esquerda, informação à direita) ── */
.det-fundo { position: absolute; left: 0; right: 0; top: 0; height: 520px; z-index: 0; pointer-events: none; overflow: hidden; }
.det-fundo img { width: 100%; height: 100%; object-fit: cover; opacity: .22; filter: blur(14px) saturate(1.2); transform: scale(1.08); }
.det-fundo:after { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(10,10,15,.2), var(--fundo) 96%); }
.det { position: relative; z-index: 1; padding-top: 28px; }
.det-topo { display: grid; grid-template-columns: minmax(200px, 300px) 1fr; gap: 34px; align-items: start; }
.det .capa { aspect-ratio: 2/3; border-radius: 18px; overflow: hidden; background: var(--card); box-shadow: 0 18px 50px rgba(0,0,0,.6); position: relative; }
.det .capa img { width: 100%; height: 100%; object-fit: cover; }
.voltar { display: inline-flex; align-items: center; gap: 4px; height: 40px; padding: 0 16px 0 8px; border-radius: 22px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); font-weight: 600; margin-bottom: 18px; }
.voltar svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.voltar:hover { background: var(--ouro); color: #111; }
.det h1 { font-size: clamp(26px, 3vw, 38px); line-height: 1.12; font-weight: 800; }
.meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 18px; margin: 12px 0 0; font-weight: 500; }
.meta .est { display: inline-flex; align-items: center; gap: 4px; } .meta .est svg { width: 18px; height: 18px; fill: var(--ouro); }
.generos { color: var(--ciano); font-weight: 600; margin-top: 8px; }
.cont { margin-top: 16px; max-width: 520px; } .cont small { color: var(--sec); display: block; margin-bottom: 6px; }
.cont .pb { height: 5px; background: var(--card); border-radius: 3px; overflow: hidden; } .cont .pb i { display: block; height: 100%; background: var(--ouro); }
.cont em { display: block; margin-top: 4px; font-size: 12px; color: var(--ouro); font-style: normal; }
.acoes { display: flex; flex-wrap: wrap; gap: 12px; margin: 22px 0 6px; }
.det h3 { font-size: 17px; font-weight: 700; margin: 26px 0 8px; }
.sinopse { color: var(--sec); max-width: 820px; line-height: 1.6; }
.ficha { color: var(--sec); font-size: 14px; margin-top: 8px; } .ficha b { color: var(--sec); font-weight: 700; } .ficha span { color: var(--txt); }
.temp { background: var(--card); border-radius: 14px; margin-bottom: 8px; overflow: hidden; border: 1px solid transparent; }
.temp.on { border-color: rgba(255,179,71,.25); }
.temp > button { width: 100%; display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; font-weight: 700; text-align: left; }
.temp > button small { color: var(--sec); font-weight: 500; margin-left: 10px; }
.temp > button svg { width: 20px; height: 20px; fill: none; stroke: var(--sec); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s; }
.temp.on > button svg { transform: rotate(180deg); }
.eps { display: grid; padding: 0 8px 8px; }
.ep { display: grid; grid-template-columns: 30px 128px 1fr; gap: 14px; align-items: center; padding: 8px 10px; border-radius: 12px; text-align: left; width: 100%; position: relative; }
.ep:hover { background: var(--card3); }
.ep.atual { background: rgba(255,179,71,.1); box-shadow: inset 3px 0 0 var(--ouro); }
.ep .n { color: var(--sec); font-weight: 700; text-align: center; }
.ep .mini { aspect-ratio: 16/9; border-radius: 8px; overflow: hidden; background: var(--card2); position: relative; }
.ep .mini img { width: 100%; height: 100%; object-fit: cover; }
.ep .mini .prog { position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: rgba(0,0,0,.6); } .ep .mini .prog i { display: block; height: 100%; background: var(--ouro); }
.ep b { font-size: 14px; display: block; } .ep small { color: var(--sec); font-size: 12.5px; }
.ep .ok { color: var(--ok); }
.rel { margin-top: 32px; }

/* ── Ao vivo ── */
.canais-lista { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 8px; padding: 4px; }
.canal-linha { display: grid; grid-template-columns: 64px 1fr; gap: 12px; align-items: center; background: var(--card); border-radius: 12px; padding: 8px 12px; text-align: left; width: 100%; transition: background .15s, transform .15s; }
.canal-linha:hover { background: var(--card3); transform: translateX(3px); box-shadow: inset 3px 0 0 var(--ouro); }
.canal-linha .lg { width: 64px; height: 44px; border-radius: 8px; background: #11121c; display: grid; place-items: center; overflow: hidden; }
.canal-linha .lg img { max-width: 100%; max-height: 100%; object-fit: contain; }
.canal-linha b { font-size: 14px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.canal-linha small { color: var(--ok); font-size: 11px; font-weight: 700; letter-spacing: .5px; }

/* ── Busca / filtros / config ── */
.busca { display: flex; gap: 10px; margin: 4px 0 20px; max-width: 640px; }
.busca .pesq { width: 100%; height: 46px; }
.filtros { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; }
.chip, .filtros button { padding: 7px 16px; border-radius: 20px; background: var(--card); color: var(--sec); font-weight: 600; font-size: 13.5px; }
.chip.ativo, .filtros button.ativo { background: var(--ouro); color: #1b1305; }
.chip:hover, .filtros button:hover { color: var(--txt); } .chip.ativo:hover, .filtros button.ativo:hover { color: #1b1305; }
.chip { white-space: nowrap; }
.linhas { display: grid; gap: 8px; max-width: 760px; }
.linha { display: flex; justify-content: space-between; gap: 16px; align-items: center; background: var(--card); border-radius: 14px; padding: 14px 18px; flex-wrap: wrap; }
.linha span { color: var(--sec); } .linha b { font-weight: 600; word-break: break-all; text-align: right; }
.linha.botao { cursor: pointer; } .linha.botao:hover { background: var(--card3); }

/* ── Avisos, modais, faixas ── */
.faixa-aviso { display: flex; gap: 12px; align-items: center; justify-content: space-between; flex-wrap: wrap; background: rgba(255,179,71,.12); border: 1px solid rgba(255,179,71,.35); color: #ffe2b3; padding: 10px 16px; border-radius: 12px; margin: 6px 0 12px; }
.fundo-modal { position: fixed; inset: 0; background: rgba(0,0,0,.72); z-index: 50; display: grid; place-items: center; padding: 16px; animation: entra .2s both; }
.modal { background: var(--sup); border: 1px solid var(--linha); border-radius: 18px; padding: 26px; max-width: 520px; width: 100%; display: grid; gap: 12px; }
.modal h3 { font-size: 20px; } .modal p { color: #c8cadb; }
.modal .bt { display: flex; gap: 10px; justify-content: flex-end; flex-wrap: wrap; margin-top: 6px; }
.pin { letter-spacing: 12px; text-align: center; font-size: 28px; background: var(--card2); border: 1px solid var(--linha); border-radius: 10px; padding: 10px; width: 100%; }

/* ── Player próprio ── */
.player { position: fixed; inset: 0; z-index: 60; background: #000; overflow: hidden; user-select: none; -webkit-tap-highlight-color: transparent; }
.player video { position: absolute; inset: 0; width: 100%; height: 100%; background: #000; object-fit: contain; }
.player.sem-ui { cursor: none; }
.pl-toque { position: absolute; inset: 0; z-index: 1; }
.pl-topo, .pl-baixo { position: absolute; left: 0; right: 0; z-index: 3; transition: opacity .25s, transform .25s; }
.player.sem-ui .pl-topo, .player.sem-ui .pl-baixo, .player.sem-ui .pl-epg { opacity: 0; pointer-events: none; }
.player.sem-ui .pl-topo { transform: translateY(-8px); } .player.sem-ui .pl-baixo { transform: translateY(8px); }
.pl-topo { top: 0; display: flex; align-items: center; gap: 12px; padding: 14px 18px 40px; background: linear-gradient(rgba(0,0,0,.75), transparent); }
.pl-topo .tit { flex: 1; min-width: 0; }
.pl-topo .tit b { display: block; font-size: 17px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-shadow: 0 1px 6px #000; }
.pl-topo .tit small { color: #d4d6e4; }
.pl-aovivo { flex: none; background: var(--verm); color: #fff; font-weight: 800; font-size: 12px; padding: 4px 10px; border-radius: 6px; letter-spacing: .5px; }
.pl-baixo { bottom: 0; padding: 40px 18px 12px; background: linear-gradient(transparent, rgba(0,0,0,.82)); }
.pl-linha { display: flex; align-items: center; gap: 4px; }
.pl-linha .esp { flex: 1; }
.pl-bt { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; color: #fff; flex: none; transition: background .15s, color .15s; }
.pl-bt svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.pl-bt:hover, .pl-bt.on { background: rgba(255,255,255,.14); color: var(--ouro); }
.pl-bt.texto { width: auto; border-radius: 22px; padding: 0 14px; display: inline-flex; gap: 6px; font-weight: 700; font-size: 13px; }
.pl-bt.texto svg { width: 20px; height: 20px; }
.pl-tempo { font-variant-numeric: tabular-nums; font-size: 13.5px; margin-left: 8px; white-space: nowrap; }
.pl-tempo i { font-style: normal; color: #b9bccb; }
.pl-som { display: flex; align-items: center; }
.pl-som input { width: 96px; margin-right: 8px; -webkit-appearance: none; appearance: none; height: 4px; border-radius: 4px; background: linear-gradient(90deg, #fff var(--v), rgba(255,255,255,.3) var(--v)); cursor: pointer; }
.pl-som input::-webkit-slider-thumb { -webkit-appearance: none; width: 13px; height: 13px; border-radius: 50%; background: #fff; }
.pl-som input::-moz-range-thumb { width: 13px; height: 13px; border-radius: 50%; background: #fff; border: 0; }
.pl-barra { position: relative; height: 22px; display: flex; align-items: center; cursor: pointer; touch-action: none; margin: 0 4px 2px; }
.pl-barra .trilha { position: relative; width: 100%; height: 4px; border-radius: 4px; background: rgba(255,255,255,.22); transition: height .12s; }
.pl-barra:hover .trilha { height: 6px; }
.pl-barra .trilha i { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 4px; }
.pl-barra .carregado { background: rgba(255,255,255,.35); }
.pl-barra .feito { background: var(--ouro); }
.pl-barra .bola { position: absolute; top: 50%; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: var(--ouro); box-shadow: 0 0 0 4px rgba(255,179,71,.25); transform: scale(0); transition: transform .12s; }
.pl-barra:hover .bola, .player:not(.sem-ui) .pl-barra .bola { transform: scale(1); }
.pl-previa { position: absolute; bottom: 24px; transform: translateX(-50%); background: rgba(0,0,0,.85); padding: 3px 8px; border-radius: 6px; font-size: 12px; font-variant-numeric: tabular-nums; pointer-events: none; }
.pl-centro { position: absolute; inset: 0; display: grid; place-items: center; z-index: 2; pointer-events: none; }
.pl-grande { position: absolute; left: 50%; top: 50%; width: 76px; height: 76px; margin: -38px 0 0 -38px; border-radius: 50%; background: rgba(255,179,71,.92); display: grid; place-items: center; z-index: 2; box-shadow: 0 10px 40px rgba(0,0,0,.5); transition: transform .12s; }
.pl-grande:hover { transform: scale(1.06); }
.pl-grande svg { width: 34px; height: 34px; fill: #111; stroke: none; margin-left: 4px; }
.pl-dica { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 4; background: rgba(0,0,0,.7); padding: 10px 18px; border-radius: 12px; font-weight: 800; font-size: 18px; pointer-events: none; }
.pl-epg { position: absolute; left: 18px; bottom: 104px; z-index: 3; background: rgba(0,0,0,.66); padding: 8px 12px; border-radius: 10px; font-size: 13px; max-width: min(520px, 70vw); transition: opacity .25s; }
.pl-epg b { color: var(--ouro); }
.pl-canais { position: absolute; top: 0; right: 0; bottom: 0; width: min(340px, 86vw); z-index: 5; background: rgba(14,14,22,.96); border-left: 1px solid var(--linha); display: flex; flex-direction: column; animation: entraDir .2s both; }
@keyframes entraDir { from { transform: translateX(30px); opacity: 0; } to { transform: none; opacity: 1; } }
.pl-canais header { display: flex; align-items: center; gap: 8px; padding: 10px 8px 10px 16px; border-bottom: 1px solid var(--linha); }
.pl-canais header b { flex: 1; } .pl-canais header small { color: var(--sec); }
.pl-canais .lista { flex: 1; overflow-y: auto; overscroll-behavior: contain; }
.pl-canal { position: absolute; left: 6px; right: 6px; height: 54px; display: grid; grid-template-columns: 54px 1fr; gap: 10px; align-items: center; padding: 0 10px; border-radius: 10px; text-align: left; }
.pl-canal:hover { background: rgba(255,255,255,.08); }
.pl-canal.atual { background: rgba(255,179,71,.16); color: var(--ouro); font-weight: 700; }
.pl-canal .lg { width: 54px; height: 38px; display: grid; place-items: center; background: #0a0b12; border-radius: 6px; overflow: hidden; }
.pl-canal .lg img { max-width: 100%; max-height: 100%; object-fit: contain; }
.pl-canal .nm { font-size: 13.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pl-prox { position: absolute; right: 22px; bottom: 96px; z-index: 6; background: rgba(14,14,22,.95); border: 1px solid var(--linha); border-radius: 14px; padding: 14px 16px; display: grid; gap: 6px; max-width: 320px; animation: entraDir .2s both; }
.pl-prox small { color: var(--ouro); font-weight: 700; } .pl-prox .bt { display: flex; gap: 8px; margin-top: 6px; }
.pl-msg { position: absolute; inset: 0; z-index: 7; display: grid; place-items: center; text-align: center; padding: 24px; background: rgba(0,0,0,.45); }
.pl-msg > div { background: rgba(14,14,22,.95); padding: 22px 26px; border-radius: 16px; max-width: 520px; display: grid; gap: 10px; justify-items: center; border: 1px solid var(--linha); }

/* ── Menu "Mais" (celular) ── */
.mais-fundo { position: fixed; inset: 0; z-index: 40; background: rgba(0,0,0,.55); animation: entra .15s both; }
.mais-folha { position: fixed; left: 8px; right: 8px; bottom: 70px; z-index: 41; background: var(--sup); border: 1px solid var(--linha); border-radius: 18px; padding: 10px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; box-shadow: 0 -10px 40px #000a; animation: entra .18s both; }
.mitem-mais { display: none; }

/* ── Celular / janela estreita: menu embaixo (ícone em cima, nome embaixo) ── */
@media (max-width: 860px) {
  .shell { grid-template-columns: 1fr; padding-bottom: 66px; }
  .menu { position: fixed; z-index: 20; top: auto; bottom: 0; left: 0; right: 0; height: 62px; flex-direction: row; padding: 4px 4px; border-right: 0; border-top: 1px solid var(--linha); justify-content: space-around; gap: 0; overflow-x: auto; }
  .menu .marca, .menu .espaco, .menu .mitem.extra { display: none; }
  .mitem-mais { display: flex; }
  .barra-sup { flex-wrap: wrap; row-gap: 8px; }
  .barra-sup .pesq { display: none; }
  .pesq-ic { display: grid; }
  .barra-sup .sub { font-size: 13px; }
  .faixa-aviso { font-size: 13px; }
  .filtros { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-right: -14px; padding-right: 14px; }
  .filtros::-webkit-scrollbar { display: none; }
  .filtros button { flex: none; }
  .linha { padding: 12px 14px; } .linha b { text-align: left; }
  .det h1 { font-size: 24px; } .acoes .btn { flex: 1 1 auto; }
  .secao-topo h2 { font-size: 17px; }
  .mitem { padding: 4px 6px; font-size: 10.5px; gap: 3px; min-width: 52px; flex: 1; }
  .mitem svg { width: 22px; height: 22px; }
  .conteudo { padding: 0 14px 24px; }
  .barra-sup { margin: 0 -14px 4px; padding-left: 14px; padding-right: 14px; }
  .pesq { width: auto; flex: 1; }
  .barra-sup h1 { font-size: 19px; }
  .cat-pagina { height: auto; overflow: visible; margin: 0 -14px; padding: 0 14px; }
  .cat-layout { display: block; }
  .cats { display: none; }
  .cats-mov { display: block; margin: 0 0 12px; }
  .rola { overflow: visible; padding: 0; }
  .grade { --cw: 100px; gap: 12px 10px; }
  .trilho { --cw: 118px; gap: 10px; }
  .det-topo { grid-template-columns: 1fr; gap: 18px; }
  .det .capa { max-width: 200px; margin: 0 auto; }
  .ep { grid-template-columns: 24px 96px 1fr; gap: 10px; }
  .banner { min-height: 220px; border-radius: 16px; } .banner .txt { padding: 20px; }
  .pl-topo { padding: 10px 10px 30px; } .pl-baixo { padding: 30px 8px 6px; } .pl-bt { width: 40px; height: 40px; }
  .pl-bt.texto span { display: none; } .pl-bt.texto { width: 40px; padding: 0; justify-content: center; }
  .pl-epg { bottom: 92px; left: 10px; } .pl-prox { right: 10px; left: 10px; bottom: 92px; max-width: none; }
  .pl-grande { width: 64px; height: 64px; margin: -32px 0 0 -32px; }
  .seta { display: none; }
}
