/* =====================================================================
   Aprendendo IA Play — identidade visual
   Preto (#07060A) + rosa (#F2367B) + coral (#FF6A55) + naval (#080238)
   Display: Anton · Texto: system UI
   ===================================================================== */

@font-face {
  font-family: 'Anton';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('brand/anton-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --preto: #07060a;
  --preto-2: #0c0a10;
  --painel: #121016;
  --painel-2: #1a1620;
  --borda: rgba(255, 255, 255, .07);
  --borda-forte: rgba(242, 54, 123, .35);
  --texto: #f6f2f5;
  --fraco: #a2919c;
  --rosa: #f2367b;
  --rosa-claro: #ff4e8c;
  --coral: #ff6a55;
  --naval: #080238;
  --raio: 14px;
  --sombra: 0 18px 50px rgba(0, 0, 0, .55);
  --grad: linear-gradient(135deg, #f2367b 0%, #ff4e8c 45%, #ff6a55 100%);
}

* { box-sizing: border-box; }

/* Sem isto, `hidden` perde para os display:grid/flex dos componentes
   e o elemento continua capturando cliques. */
[hidden] { display: none !important; }

html, body {
  margin: 0;
  min-height: 100%;
  background: var(--preto);
  color: var(--texto);
  font: 15px/1.5 "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(900px 500px at 12% -10%, rgba(242, 54, 123, .16), transparent 70%),
    radial-gradient(700px 420px at 88% 0%, rgba(8, 2, 56, .55), transparent 72%);
  z-index: 0;
}

.display {
  font-family: 'Anton', Impact, 'Arial Black', sans-serif;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: .4px;
  line-height: .96;
  margin: 0;
}

a { color: var(--rosa-claro); text-decoration: none; }
a:hover { text-decoration: underline; }
button { font: inherit; }

/* ---------------------------------------------------------------------
   Botões e ícones
   --------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  font-size: 13.5px;
  letter-spacing: .02em;
  cursor: pointer;
  transition: transform .12s, box-shadow .18s, background .18s, border-color .18s;
  white-space: nowrap;
}
.btn:active { transform: scale(.98); }

.btn.primario {
  background: var(--grad);
  color: #1a0510;
  box-shadow: 0 8px 24px rgba(242, 54, 123, .28);
}
.btn.primario:hover { box-shadow: 0 10px 32px rgba(242, 54, 123, .45); }

.btn.fantasma {
  background: rgba(255, 255, 255, .06);
  border-color: rgba(255, 255, 255, .18);
  color: var(--texto);
  backdrop-filter: blur(8px);
}
.btn.fantasma:hover { border-color: var(--rosa); color: #fff; }

.btn.grande { width: 100%; justify-content: center; padding: 13px 18px; font-size: 15px; }

.icone {
  width: 38px;
  height: 38px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--borda);
  background: rgba(255, 255, 255, .04);
  color: var(--texto);
  cursor: pointer;
  font-size: 15px;
  transition: border-color .15s, color .15s, background .15s;
}
.icone:hover { border-color: var(--rosa); color: var(--rosa); background: rgba(242, 54, 123, .1); }

/* ---------------------------------------------------------------------
   Topo
   --------------------------------------------------------------------- */

.topo {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 22px;
  height: 70px;
  padding: 0 26px;
  background: linear-gradient(180deg, rgba(7, 6, 10, .96), rgba(7, 6, 10, .78));
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--borda);
}

.marca img { height: 26px; display: block; opacity: .95; }

.abas { display: flex; gap: 4px; }
.abas button {
  position: relative;
  background: none;
  border: 0;
  color: var(--fraco);
  padding: 8px 12px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 8px;
}
.abas button:hover { color: var(--texto); }
.abas button.ativa { color: #fff; }
.abas button.ativa::after {
  content: '';
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: -1px;
  height: 2px;
  border-radius: 2px;
  background: var(--grad);
}

.busca { margin-left: auto; flex: 0 1 340px; }
.busca input {
  width: 100%;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid var(--borda);
  background: rgba(255, 255, 255, .05);
  color: var(--texto);
  font: inherit;
  font-size: 13.5px;
  outline: none;
}
.busca input:focus { border-color: var(--rosa); background: rgba(242, 54, 123, .08); }
.busca input::placeholder { color: #7d6f78; }

/* ---------------------------------------------------------------------
   Hero
   --------------------------------------------------------------------- */

main { position: relative; z-index: 1; padding-bottom: 40px; }

.hero {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  border-bottom: 1px solid var(--borda);
}

.hero-fundo {
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
  transform: scale(1.02);
  filter: saturate(.85);
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 6, 10, .97) 0%, rgba(7, 6, 10, .72) 42%, rgba(7, 6, 10, .12) 72%),
    linear-gradient(0deg, var(--preto) 2%, transparent 55%);
}

.hero-conteudo {
  position: relative;
  z-index: 2;
  padding: 90px 40px 44px;
  max-width: 680px;
}

.hero-olho {
  margin: 0 0 10px;
  color: var(--rosa-claro);
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: .22em;
  text-transform: uppercase;
}

.hero h1 { font-size: clamp(38px, 5.2vw, 68px); text-shadow: 0 6px 30px rgba(0, 0, 0, .6); }

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 16px 0 12px;
  font-size: 12.5px;
  color: var(--fraco);
}
.hero-meta .selo {
  padding: 2px 9px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .16);
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--texto);
}
.hero-meta .nota { color: #ffd166; font-weight: 800; }

.hero-desc {
  margin: 0 0 22px;
  color: #cdbfc6;
  font-size: 14.5px;
  max-width: 58ch;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hero-acoes { display: flex; gap: 10px; flex-wrap: wrap; }

.hero-pontos {
  position: absolute;
  right: 30px;
  bottom: 26px;
  display: flex;
  gap: 7px;
  z-index: 3;
}
.hero-pontos button {
  width: 26px;
  height: 4px;
  border-radius: 3px;
  border: 0;
  background: rgba(255, 255, 255, .22);
  cursor: pointer;
}
.hero-pontos button.ativo { background: var(--rosa); }

/* ---------------------------------------------------------------------
   Chips de filtro / letras
   --------------------------------------------------------------------- */

.chips {
  display: flex;
  gap: 8px;
  padding: 22px 40px 4px;
  overflow-x: auto;
  scrollbar-width: none;
}
.chips::-webkit-scrollbar { display: none; }

.chip {
  border: 1px solid var(--borda);
  background: rgba(255, 255, 255, .04);
  color: var(--fraco);
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
}
.chip:hover { color: var(--texto); border-color: rgba(255, 255, 255, .2); }
.chip.ativa { background: var(--grad); border-color: transparent; color: #1a0510; }

.letras {
  display: flex;
  gap: 5px;
  padding: 18px 40px 0;
  overflow-x: auto;
  scrollbar-width: none;
}
.letras::-webkit-scrollbar { display: none; }
.letras button {
  min-width: 30px;
  height: 30px;
  border-radius: 8px;
  border: 1px solid var(--borda);
  background: transparent;
  color: var(--fraco);
  font-size: 12.5px;
  font-weight: 800;
  cursor: pointer;
}
.letras button.ativa { background: var(--grad); color: #1a0510; border-color: transparent; }
.letras button:disabled { opacity: .25; cursor: default; }

.status { padding: 26px 40px; color: var(--fraco); font-size: 13.5px; }
.status.erro { color: #ff7b8a; }

/* ---------------------------------------------------------------------
   EPG (ao vivo)
   --------------------------------------------------------------------- */

.epg { padding: 18px 40px 10px; }

.epg-cab {
  display: grid;
  grid-template-columns: 300px 1fr 300px;
  gap: 20px;
  padding: 0 16px 10px;
  border-bottom: 1px solid var(--borda);
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #7d6f78;
}

.epg-linha {
  display: grid;
  grid-template-columns: 300px 1fr 300px;
  gap: 20px;
  align-items: center;
  width: 100%;
  padding: 12px 16px;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, .045);
  border-left: 3px solid transparent;
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: pointer;
  transition: background .15s, border-color .15s;
}
.epg-linha:hover { background: rgba(242, 54, 123, .07); border-left-color: var(--rosa); }

.epg-canal { display: flex; align-items: center; gap: 14px; min-width: 0; }
.epg-numero { width: 34px; text-align: right; font-variant-numeric: tabular-nums; color: #6e616a; font-weight: 800; font-size: 12.5px; }
.epg-logo {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  background: #17131b center/contain no-repeat;
  flex: none;
  border: 1px solid var(--borda);
}
.epg-nomes { min-width: 0; display: flex; flex-direction: column; }
.epg-nome { display: block; font-weight: 700; font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.epg-cat { display: block; color: var(--fraco); font-size: 10.5px; text-transform: uppercase; letter-spacing: .1em; }

.epg-agora { min-width: 0; }
.epg-titulo { font-size: 14px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.epg-horario { color: var(--fraco); font-size: 11.5px; display: flex; gap: 8px; align-items: center; }
.epg-progresso { height: 3px; border-radius: 2px; background: rgba(255, 255, 255, .09); margin-top: 7px; overflow: hidden; }
.epg-progresso i { display: block; height: 100%; background: var(--grad); }

.epg-proximo { color: var(--fraco); font-size: 12.5px; min-width: 0; }
.epg-proximo strong { display: block; color: #cfc3c9; font-weight: 600; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ---------------------------------------------------------------------
   Fileiras horizontais
   --------------------------------------------------------------------- */

.fileiras { padding: 6px 0 0; }

.fileira { margin: 26px 0 4px; }
.fileira-titulo {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 40px 12px;
  font-family: Anton, Impact, sans-serif;
  font-size: 19px;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.fileira-titulo::before {
  content: '';
  width: 22px;
  height: 3px;
  border-radius: 2px;
  background: var(--grad);
}

.fileira-trilho {
  display: flex;
  gap: 14px;
  padding: 2px 40px 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: rgba(242, 54, 123, .5) transparent;
}
.fileira-trilho::-webkit-scrollbar { height: 8px; }
.fileira-trilho::-webkit-scrollbar-thumb { background: rgba(242, 54, 123, .45); border-radius: 4px; }

/* ---------------------------------------------------------------------
   Cartões / pôsteres
   --------------------------------------------------------------------- */

.grade {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 18px;
  padding: 10px 40px 30px;
}
.grade.lista { grid-template-columns: 1fr; gap: 8px; }

.poster {
  position: relative;
  border: 0;
  padding: 0;
  background: none;
  cursor: pointer;
  color: inherit;
  text-align: left;
  scroll-snap-align: start;
  flex: 0 0 auto;
}

.poster-arte {
  position: relative;
  aspect-ratio: 2 / 3;
  border-radius: 12px;
  overflow: hidden;
  background: #17131b;
  border: 1px solid var(--borda);
  box-shadow: 0 10px 26px rgba(0, 0, 0, .45);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s;
}
.poster-arte img { width: 100%; height: 100%; object-fit: cover; display: block; }

.poster:hover .poster-arte,
.poster:focus-visible .poster-arte {
  transform: translateY(-4px) scale(1.02);
  border-color: var(--borda-forte);
  box-shadow: 0 16px 40px rgba(242, 54, 123, .28);
}

.poster-nota {
  position: absolute;
  top: 8px;
  right: 8px;
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(7, 6, 10, .82);
  color: #ffd166;
  font-size: 11px;
  font-weight: 800;
  border: 1px solid rgba(255, 255, 255, .1);
}

.poster-play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: linear-gradient(0deg, rgba(7, 6, 10, .78), rgba(7, 6, 10, .1));
  opacity: 0;
  transition: opacity .16s;
}
.poster:hover .poster-play { opacity: 1; }
.poster-play span {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--grad);
  color: #1a0510;
  font-size: 16px;
  box-shadow: 0 8px 22px rgba(242, 54, 123, .5);
}

.poster-info { padding: 9px 2px 0; }
.poster-nome {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.25;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.poster-sub { color: var(--fraco); font-size: 11.5px; margin-top: 2px; }

/* lista (séries/filmes por letra) */
.grade.lista .poster { display: flex; align-items: center; gap: 14px; padding: 10px 14px; border-radius: 10px; border: 1px solid transparent; }
.grade.lista .poster:hover { background: rgba(242, 54, 123, .07); border-color: var(--borda); }
.grade.lista .poster-arte { width: 54px; aspect-ratio: 2 / 3; flex: none; border-radius: 8px; }
.grade.lista .poster-info { padding: 0; }
.grade.lista .poster-play, .grade.lista .poster-nota { display: none; }

/* ---------------------------------------------------------------------
   Rodapé
   --------------------------------------------------------------------- */

.rodape {
  display: flex;
  gap: 18px;
  align-items: center;
  padding: 16px 40px 26px;
  border-top: 1px solid var(--borda);
  color: #6e616a;
  font-size: 11.5px;
}
.rodape-marca { margin-left: auto; letter-spacing: .16em; text-transform: uppercase; font-weight: 800; color: #7d6f78; }

/* ---------------------------------------------------------------------
   Player
   --------------------------------------------------------------------- */

.player {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: #000;
  display: flex;
  flex-direction: column;
}
.player video { flex: 1; width: 100%; min-height: 0; object-fit: contain; background: #000; }

.player-topo {
  position: absolute;
  inset: 0 0 auto 0;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  padding: 16px 20px 40px;
  background: linear-gradient(rgba(7, 6, 10, .92), transparent);
  pointer-events: none;
}
.player-topo > * { pointer-events: auto; }
.player-titulo strong { display: block; font-family: Anton, Impact, sans-serif; font-size: 20px; letter-spacing: .05em; text-transform: uppercase; }
.player-titulo span { color: #cbbcc3; font-size: 12.5px; }
.player-acoes { display: flex; gap: 8px; }

.player-barra {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
  padding: 12px 20px;
  background: var(--painel);
  border-top: 1px solid var(--borda);
}

.fonte-botao {
  border: 1px solid var(--borda);
  background: rgba(255, 255, 255, .05);
  color: var(--texto);
  border-radius: 999px;
  padding: 7px 14px;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
}
.fonte-botao.ativa { background: var(--grad); color: #1a0510; border-color: transparent; font-weight: 800; }
.fonte-botao:disabled { opacity: .4; }

.player-erro {
  position: absolute;
  left: 50%;
  top: 48%;
  transform: translate(-50%, -50%);
  max-width: 520px;
  text-align: center;
  padding: 14px 20px;
  border-radius: 12px;
  background: rgba(7, 6, 10, .86);
  border: 1px solid rgba(255, 107, 107, .4);
  color: #ffb3ba;
  font-size: 13.5px;
}

/* ---------------------------------------------------------------------
   Detalhe
   --------------------------------------------------------------------- */

.detalhe { position: fixed; inset: 0; z-index: 55; display: grid; place-items: center; padding: 40px; }
.detalhe-fundo { position: absolute; inset: 0; background: #000 center/cover no-repeat; filter: blur(2px) brightness(.35); }
.detalhe-caixa {
  position: relative;
  width: min(980px, 100%);
  max-height: 88vh;
  overflow: auto;
  border-radius: 18px;
  border: 1px solid var(--borda);
  background: linear-gradient(180deg, rgba(18, 16, 22, .97), rgba(10, 8, 13, .99));
  box-shadow: var(--sombra);
}
.detalhe-corpo { display: flex; gap: 26px; padding: 30px; }
.detalhe-corpo img { width: 190px; border-radius: 12px; flex: none; box-shadow: 0 14px 40px rgba(0, 0, 0, .6); }
.detalhe-texto { min-width: 0; }
.detalhe-texto h2 { font-size: clamp(26px, 3.4vw, 42px); margin-bottom: 10px; }
.detalhe-texto p { color: #c4b6bd; font-size: 14px; }
.detalhe-acoes { display: flex; gap: 10px; margin: 18px 0 8px; flex-wrap: wrap; }
.detalhe-eps { margin-top: 16px; display: grid; gap: 6px; max-height: 240px; overflow: auto; }
.detalhe-eps button {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 9px;
  border: 1px solid var(--borda);
  background: rgba(255, 255, 255, .03);
  color: var(--texto);
  font-size: 13px;
  cursor: pointer;
  text-align: left;
}
.detalhe-eps button:hover { border-color: var(--rosa); color: #fff; }

.fechar { position: absolute; top: 14px; right: 14px; z-index: 5; }

/* ---------------------------------------------------------------------
   Modal
   --------------------------------------------------------------------- */

.modal { position: fixed; inset: 0; z-index: 70; display: grid; place-items: center; padding: 30px; background: rgba(4, 3, 6, .78); backdrop-filter: blur(6px); }
.modal-caixa {
  position: relative;
  width: min(760px, 100%);
  max-height: 86vh;
  overflow: auto;
  padding: 30px;
  border-radius: 18px;
  border: 1px solid var(--borda);
  background: var(--painel);
  box-shadow: var(--sombra);
}
.modal-caixa h2 { font-size: 26px; margin-bottom: 18px; }

.campo { display: block; margin-bottom: 14px; font-size: 12.5px; color: var(--fraco); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.campo input, .campo select {
  display: block;
  width: 100%;
  margin-top: 6px;
  padding: 11px 13px;
  border-radius: 10px;
  border: 1px solid var(--borda);
  background: var(--painel-2);
  color: var(--texto);
  font: inherit;
  font-size: 14px;
  letter-spacing: normal;
  text-transform: none;
}
.campo input:focus, .campo select:focus { outline: none; border-color: var(--rosa); }

.linha-info { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; border-bottom: 1px solid rgba(255, 255, 255, .05); font-size: 13px; }
.linha-info span:first-child { color: var(--fraco); }
.linha-info strong { font-variant-numeric: tabular-nums; }

.tabela { width: 100%; border-collapse: collapse; font-size: 12.5px; margin-top: 8px; }
.tabela th { text-align: left; color: #7d6f78; font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; padding: 8px 6px; border-bottom: 1px solid var(--borda); }
.tabela td { padding: 8px 6px; border-bottom: 1px solid rgba(255, 255, 255, .04); vertical-align: middle; }
.tabela .tag { font-size: 10px; padding: 2px 7px; border-radius: 999px; background: rgba(242, 54, 123, .16); color: var(--rosa-claro); font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }

.codigo-convite {
  font-family: ui-monospace, Consolas, monospace;
  font-size: 22px;
  letter-spacing: .18em;
  color: #fff;
  background: rgba(242, 54, 123, .12);
  border: 1px dashed var(--borda-forte);
  padding: 12px 18px;
  border-radius: 12px;
  display: inline-block;
  margin: 6px 0 14px;
  user-select: all;
}

/* ---------------------------------------------------------------------
   Login
   --------------------------------------------------------------------- */

body.tela-login { min-height: 100vh; display: grid; }

.login-wrap { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr .9fr; min-height: 100vh; }

.login-marca {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 22px;
  padding: 70px clamp(30px, 6vw, 96px);
  overflow: hidden;
  border-right: 1px solid var(--borda);
}
.login-marca .logo { height: 34px; align-self: flex-start; }
.login-marca h1 { font-size: clamp(38px, 4.6vw, 68px); }
.login-marca h1 span { color: transparent; background: var(--grad); -webkit-background-clip: text; background-clip: text; }
.login-sub { color: #c4b6bd; max-width: 44ch; font-size: 15px; margin: 0; }

.login-bullets { list-style: none; padding: 0; margin: 6px 0 0; display: grid; gap: 10px; }
.login-bullets li { color: var(--fraco); font-size: 13.5px; padding-left: 22px; position: relative; }
.login-bullets li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--grad);
}
.login-bullets strong { color: var(--texto); }

.glow {
  position: absolute;
  width: 620px;
  height: 620px;
  right: -220px;
  bottom: -260px;
  background: radial-gradient(circle, rgba(242, 54, 123, .38), transparent 62%);
  filter: blur(30px);
  pointer-events: none;
}

.login-painel { display: grid; place-items: center; padding: 40px 24px; }
.cartao-login {
  width: min(420px, 100%);
  padding: 28px;
  border-radius: 18px;
  border: 1px solid var(--borda);
  background: linear-gradient(180deg, rgba(20, 17, 24, .96), rgba(12, 10, 16, .98));
  box-shadow: var(--sombra);
}

.abas-login { display: flex; gap: 6px; margin-bottom: 20px; }
.abas-login button {
  flex: 1;
  padding: 9px 10px;
  border-radius: 10px;
  border: 1px solid var(--borda);
  background: transparent;
  color: var(--fraco);
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
}
.abas-login button.ativa { background: rgba(242, 54, 123, .14); border-color: var(--borda-forte); color: #fff; }

.cartao-login label { display: block; margin-bottom: 13px; font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--fraco); }
.cartao-login label small { text-transform: none; letter-spacing: 0; font-weight: 400; }
.cartao-login input {
  display: block;
  width: 100%;
  margin-top: 6px;
  padding: 11px 13px;
  border-radius: 10px;
  border: 1px solid var(--borda);
  background: var(--painel-2);
  color: var(--texto);
  font: inherit;
  font-size: 14.5px;
  letter-spacing: normal;
  text-transform: none;
}
.cartao-login input:focus { outline: none; border-color: var(--rosa); box-shadow: 0 0 0 3px rgba(242, 54, 123, .16); }

.aviso-login { min-height: 18px; margin: 12px 0 0; font-size: 13px; color: #ff9aa8; }
.aviso-login.ok { color: #7ee0c0; }
.login-pe { margin: 18px 0 0; font-size: 11.5px; color: #6e616a; text-align: center; }

/* ---------------------------------------------------------------------
   Toast
   --------------------------------------------------------------------- */

.toast {
  position: fixed;
  left: 50%;
  bottom: 26px;
  transform: translate(-50%, 20px);
  z-index: 90;
  padding: 11px 18px;
  border-radius: 999px;
  background: var(--grad);
  color: #1a0510;
  font-weight: 800;
  font-size: 13px;
  box-shadow: 0 12px 34px rgba(242, 54, 123, .4);
  opacity: 0;
  transition: opacity .2s, transform .2s;
  pointer-events: none;
}
.toast.visivel { opacity: 1; transform: translate(-50%, 0); }

/* ---------------------------------------------------------------------
   Responsivo
   --------------------------------------------------------------------- */

@media (max-width: 1080px) {
  .epg-cab, .epg-linha { grid-template-columns: 240px 1fr; }
  .epg-cab span:last-child, .epg-proximo { display: none; }
}

@media (max-width: 860px) {
  .login-wrap { grid-template-columns: 1fr; }
  .login-marca { padding: 48px 26px 20px; border-right: 0; border-bottom: 1px solid var(--borda); }
  .login-bullets { display: none; }
  .topo { gap: 12px; padding: 0 16px; height: auto; flex-wrap: wrap; padding-block: 10px; }
  .abas { order: 3; width: 100%; overflow-x: auto; }
  .busca { flex: 1 1 160px; }
  .hero-conteudo { padding: 70px 20px 30px; }
  .chips, .letras, .epg, .grade, .rodape, .fileira-titulo, .fileira-trilho { padding-left: 20px; padding-right: 20px; }
  .grade { grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 12px; }
  .detalhe-corpo { flex-direction: column; }
  .detalhe-corpo img { width: 130px; }
}
