:root {
  --fundo: #141414;
  --fundo-2: #181818;
  --fundo-3: #232323;
  --texto: #e5e5e5;
  --texto-forte: #fff;
  --texto-suave: #a3a3a3;
  --vermelho: #e50914;
  --verde: #46d369;
  --borda: rgba(255, 255, 255, 0.14);
  --lado: clamp(16px, 4vw, 60px);
  --card-w: calc((100vw - var(--lado) * 2 - 8px * 5) / 6.2);
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  color-scheme: dark;
}
@media (max-width: 1100px) { :root { --card-w: calc((100vw - var(--lado) * 2 - 8px * 3) / 4.2); } }
@media (max-width: 760px)  { :root { --card-w: calc((100vw - var(--lado) * 2 - 8px * 2) / 2.3); } }

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--fundo);
  color: var(--texto);
  font-family: 'Figtree', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  min-height: 100vh;
}
body.travado { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
img { display: block; }
svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
[hidden] { display: none !important; }

/* ---------- Topo ---------- */
.topo {
  position: fixed; inset: 0 0 auto; z-index: 50;
  display: flex; align-items: center; gap: 28px;
  height: 68px; padding: 0 var(--lado);
  background: linear-gradient(180deg, rgba(0,0,0,.72) 10%, transparent);
  transition: background-color .4s ease;
}
.topo.solido { background-color: var(--fundo); }
.marca {
  font-family: 'Anton', sans-serif; font-size: 30px; letter-spacing: .5px;
  color: var(--vermelho); line-height: 1;
  text-shadow: 0 2px 12px rgba(229, 9, 20, .35);
}
.menu { display: flex; gap: 20px; font-size: 14px; }
.menu a { color: #e5e5e5; transition: color .3s; white-space: nowrap; }
.menu a:hover { color: #b3b3b3; }
.menu a.ativo { color: #fff; font-weight: 700; }
.menu-mobile { display: none; align-items: center; gap: 2px; font-size: 14px; font-weight: 600; }
.menu-mobile svg { width: 18px; fill: #fff; stroke: none; }
.acoes { margin-left: auto; display: flex; align-items: center; gap: 18px; }
.icone svg { width: 22px; }
.busca {
  display: flex; align-items: center; gap: 8px; height: 36px; padding: 0 6px;
  border: 1px solid transparent; transition: all .35s var(--ease); cursor: pointer;
}
.busca svg { width: 22px; flex: none; }
.busca input {
  width: 0; background: none; border: 0; outline: 0; color: #fff; font: inherit; font-size: 14px;
  transition: width .35s var(--ease);
}
.busca.aberta { border-color: #fff; background: rgba(0,0,0,.75); }
.busca.aberta input { width: 220px; }
.busca input::-webkit-search-cancel-button { filter: invert(1); }
.avatar {
  width: 32px; height: 32px; border-radius: 4px; position: relative; overflow: hidden;
  background: linear-gradient(135deg, #2f7cf6, #0a4fd6);
}
.avatar span::before, .avatar span::after { content: ''; position: absolute; background: #fff; border-radius: 50%; }
.avatar span::before { width: 4px; height: 4px; top: 11px; left: 9px; box-shadow: 10px 0 0 #fff; }
.avatar span::after { width: 14px; height: 7px; top: 18px; left: 9px; background: none; border: 2px solid #fff; border-top: 0; border-radius: 0 0 10px 10px; }

@media (max-width: 900px) {
  .menu {
    display: none; position: absolute; top: 60px; left: var(--lado);
    flex-direction: column; gap: 0; background: rgba(0,0,0,.92); border: 1px solid var(--borda);
    border-top: 2px solid #fff; min-width: 200px; padding: 8px 0;
  }
  .menu.aberto { display: flex; }
  .menu a { padding: 12px 20px; text-align: center; }
  .menu-mobile { display: flex; }
  .topo { gap: 16px; }
  .busca.aberta input { width: 130px; }
  .acoes .icone { display: none; }
}

/* ---------- Destaque ---------- */
.destaque {
  position: relative; height: min(56.25vw, 92vh); min-height: 520px;
  display: flex; align-items: flex-end; padding: 0 var(--lado) clamp(110px, 15vw, 210px);
  overflow: hidden;
}
.destaque-img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 20%;
  animation: respira 30s ease-in-out infinite alternate;
}
@keyframes respira { from { transform: scale(1); } to { transform: scale(1.07); } }
.destaque::after {
  content: ''; position: absolute; inset: 0;
  background:
    linear-gradient(77deg, rgba(0,0,0,.72) 0%, rgba(0,0,0,.25) 45%, transparent 70%),
    linear-gradient(180deg, transparent 60%, rgba(20,20,20,.6) 80%, var(--fundo) 100%);
}
.destaque-info { position: relative; z-index: 2; width: min(40%, 560px); min-width: 300px; }
.destaque-logo { max-width: 100%; max-height: 180px; object-fit: contain; object-position: left bottom; margin-bottom: 22px; filter: drop-shadow(0 4px 18px rgba(0,0,0,.5)); }
.destaque-titulo {
  font-family: 'Anton', sans-serif; font-size: clamp(42px, 6vw, 92px); line-height: .95;
  color: #fff; margin-bottom: 20px; text-transform: uppercase; letter-spacing: .5px;
  text-shadow: 0 4px 24px rgba(0,0,0,.6);
}
.destaque-sinopse {
  font-size: clamp(14px, 1.25vw, 19px); line-height: 1.4; color: #fff; margin-bottom: 22px;
  text-shadow: 1px 1px 4px rgba(0,0,0,.6);
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.destaque-info > * { animation: sobe .9s var(--ease) both; }
.destaque-info > *:nth-child(2) { animation-delay: .12s; }
.destaque-info > *:nth-child(3) { animation-delay: .24s; }
@keyframes sobe { from { opacity: 0; transform: translateY(18px); } }
.botoes { display: flex; gap: 10px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 10px; height: 44px; padding: 0 26px 0 20px;
  border-radius: 4px; font-size: 17px; font-weight: 700; transition: background-color .2s, transform .15s;
}
.btn:active { transform: scale(.97); }
.btn svg { width: 26px; height: 26px; }
.btn-play { background: #fff; color: #000; }
.btn-play svg { fill: #000; stroke: none; }
.btn-play:hover { background: rgba(255,255,255,.75); }
.btn-info { background: rgba(109,109,110,.7); color: #fff; }
.btn-info:hover { background: rgba(109,109,110,.4); }
.classif {
  position: absolute; right: 0; bottom: clamp(140px, 18vw, 250px); z-index: 2;
  display: flex; align-items: center; gap: 14px;
}
.classif .refazer {
  width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,.7);
  display: grid; place-items: center; transition: background .2s;
}
.classif .refazer:hover { background: rgba(255,255,255,.12); }
.classif .refazer svg { width: 20px; }
.classif .selo {
  background: rgba(51,51,51,.6); border-left: 3px solid #dcdcdc; padding: 6px 60px 6px 12px;
  font-size: 15px; color: #fff;
}
@media (max-width: 760px) {
  .destaque { min-height: 72vh; height: auto; padding-bottom: 70px; }
  .destaque-info { width: 100%; min-width: 0; }
  .destaque-logo { max-height: 110px; }
  .classif { display: none; }
  .btn { height: 40px; font-size: 15px; padding: 0 20px 0 14px; }
}

/* ---------- Fileiras ---------- */
.fileiras { position: relative; z-index: 3; margin-top: clamp(-150px, -9vw, -60px); padding-bottom: 60px; }
.fileiras.sem-destaque { margin-top: 0; padding-top: 100px; }
.fileira { margin-bottom: 3vw; position: relative; }
.fileira-cab { display: flex; align-items: baseline; justify-content: space-between; padding: 0 var(--lado); margin-bottom: 10px; }
.fileira h2 { font-size: clamp(15px, 1.4vw, 21px); font-weight: 700; color: #e5e5e5; }
.pontos { display: flex; gap: 2px; opacity: 0; transition: opacity .3s; }
.fileira:hover .pontos { opacity: 1; }
.pontos i { width: 12px; height: 2px; background: #4d4d4d; }
.pontos i.on { background: #aaa; }
.trilho-wrap { position: relative; }
.trilho {
  display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  padding: 0 var(--lado); scroll-padding: 0 var(--lado); scrollbar-width: none;
}
.trilho::-webkit-scrollbar { display: none; }
.seta {
  position: absolute; top: 0; bottom: 0; width: calc(var(--lado) - 6px); z-index: 6;
  background: rgba(20,20,20,.55); display: grid; place-items: center;
  opacity: 0; transition: opacity .25s, background .2s;
}
.seta svg { width: 34px; height: 34px; transition: transform .2s; }
.seta:hover { background: rgba(20,20,20,.8); }
.seta:hover svg { transform: scale(1.25); }
.seta.esq { left: 0; border-radius: 0 4px 4px 0; }
.seta.dir { right: 0; border-radius: 4px 0 0 4px; }
.fileira:hover .seta { opacity: 1; }
.seta[disabled] { visibility: hidden; }

.card {
  flex: 0 0 var(--card-w); scroll-snap-align: start; position: relative; aspect-ratio: 16 / 9;
  border-radius: 4px; overflow: hidden; background: var(--fundo-3); cursor: pointer;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
  opacity: 0; animation: aparece .5s var(--ease) forwards;
}
@keyframes aparece { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.card img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.card::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(0,0,0,.78) 0%, rgba(0,0,0,.2) 38%, transparent 60%);
}
.card-titulo {
  position: absolute; left: 10px; right: 10px; bottom: 8px; z-index: 2;
  font-family: 'Anton', sans-serif; font-size: clamp(14px, 1.25vw, 20px); line-height: 1.02;
  color: #fff; text-transform: uppercase; letter-spacing: .3px;
  text-shadow: 0 2px 8px rgba(0,0,0,.8);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.card-selo {
  position: absolute; top: 8px; left: 8px; z-index: 2;
  font-family: 'Anton', sans-serif; color: var(--vermelho); font-size: 18px; line-height: 1;
  text-shadow: 0 1px 4px rgba(0,0,0,.6);
}
.card-tag {
  position: absolute; left: 50%; transform: translateX(-50%); bottom: 0; z-index: 3;
  background: var(--vermelho); color: #fff; font-size: 10px; font-weight: 800; padding: 3px 8px 2px;
  border-radius: 2px 2px 0 0; white-space: nowrap; letter-spacing: .2px;
}
.card-hover {
  position: absolute; inset: auto 0 0; z-index: 4; padding: 10px; display: flex; align-items: center; gap: 6px;
  background: linear-gradient(0deg, rgba(0,0,0,.95), rgba(0,0,0,.6)); transform: translateY(100%);
  transition: transform .3s var(--ease);
}
.card-hover .redondo { width: 30px; height: 30px; }
.card-hover .meta { margin-left: auto; font-size: 12px; color: var(--texto-suave); display: flex; gap: 6px; align-items: center; }
.card-progresso { position: absolute; left: 10px; right: 10px; bottom: 4px; height: 3px; background: rgba(255,255,255,.3); z-index: 3; border-radius: 2px; }
.card-progresso i { display: block; height: 100%; background: var(--vermelho); border-radius: 2px; }
@media (hover: hover) {
  .card:hover { transform: scale(1.06); box-shadow: 0 14px 30px rgba(0,0,0,.6); z-index: 5; }
  .card:hover img { transform: scale(1.04); }
  .card:hover .card-hover { transform: none; }
  .card:hover .card-titulo { opacity: 0; }
}
.card:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }

.redondo {
  width: 40px; height: 40px; border-radius: 50%; border: 2px solid rgba(255,255,255,.55);
  background: rgba(42,42,42,.6); display: grid; place-items: center; flex: none;
  transition: border-color .2s, background .2s, transform .15s;
}
.redondo:hover { border-color: #fff; }
.redondo:active { transform: scale(.92); }
.redondo svg { width: 55%; height: 55%; }
.redondo.branco { background: #fff; border-color: #fff; color: #000; }
.redondo.branco svg { fill: #000; stroke: none; }
.redondo.branco:hover { background: #e2e2e2; }

/* esqueleto */
.esqueleto { flex: 0 0 var(--card-w); aspect-ratio: 16/9; border-radius: 4px; background: linear-gradient(90deg, #1c1c1c 0%, #262626 50%, #1c1c1c 100%); background-size: 200% 100%; animation: brilho 1.4s infinite; }
.esq-titulo { width: 180px; height: 18px; border-radius: 3px; margin: 0 var(--lado) 10px; background: #222; }
@keyframes brilho { to { background-position: -200% 0; } }

/* grade (busca e minha lista) */
.pagina-grade { padding: 110px var(--lado) 60px; min-height: 80vh; }
.pagina-grade h1 { font-size: clamp(22px, 2.6vw, 36px); font-weight: 800; margin-bottom: 22px; color: #fff; }
.pagina-grade h1 small { font-weight: 500; color: var(--texto-suave); font-size: .55em; margin-left: 8px; }
.grade { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(240px, 44vw), 1fr)); gap: 30px 8px; }
.grade .card { flex: none; width: 100%; }
.vazio { color: var(--texto-suave); font-size: 17px; padding: 60px 0; text-align: center; line-height: 1.6; }

/* ---------- Ficha ---------- */
.ficha-fundo {
  position: fixed; inset: 0; z-index: 80; background: rgba(0,0,0,.7); overflow-y: auto;
  display: flex; justify-content: center; padding: 32px 12px; animation: esmaece .25s ease;
}
@keyframes esmaece { from { opacity: 0; } }
.ficha {
  width: min(880px, 100%); height: fit-content; background: var(--fundo-2); border-radius: 8px; overflow: hidden;
  box-shadow: 0 24px 80px rgba(0,0,0,.75); position: relative;
  animation: abre .38s var(--ease);
}
@keyframes abre { from { opacity: 0; transform: translateY(40px) scale(.96); } }
.ficha-capa { position: relative; aspect-ratio: 16/9; }
.ficha-capa img.fundo { width: 100%; height: 100%; object-fit: cover; }
.ficha-capa::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, var(--fundo-2) 0%, transparent 55%); }
.ficha-capa-info { position: absolute; left: 48px; right: 48px; bottom: 7%; z-index: 2; }
.ficha-capa-info .destaque-logo { max-height: 120px; max-width: 60%; margin-bottom: 18px; }
.ficha-capa-info .destaque-titulo { font-size: clamp(30px, 5vw, 56px); margin-bottom: 18px; max-width: 80%; }
.ficha-fechar {
  position: absolute; top: 14px; right: 14px; z-index: 5; width: 36px; height: 36px; border-radius: 50%;
  background: #181818; display: grid; place-items: center;
}
.ficha-fechar svg { width: 22px; }
.ficha-corpo { padding: 6px 48px 40px; display: grid; grid-template-columns: 2fr 1fr; gap: 30px; }
.ficha-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 15px; color: #bcbcbc; margin-bottom: 14px; }
.ficha-meta .nota { color: var(--verde); font-weight: 700; }
.ficha-meta .faixa { border: 1px solid rgba(255,255,255,.4); padding: 0 6px; font-size: 13px; }
.ficha-meta .hd { border: 1px solid rgba(255,255,255,.4); border-radius: 3px; padding: 0 4px; font-size: 10px; font-weight: 700; }
.ficha-sinopse { font-size: 15px; line-height: 1.6; color: #fff; }
.ficha-lado { font-size: 14px; line-height: 1.6; color: #ddd; }
.ficha-lado p { margin-bottom: 10px; }
.ficha-lado b { color: #777; font-weight: 500; }
.ficha h3 { font-size: 22px; font-weight: 700; color: #fff; }
.secao { padding: 0 48px 30px; }
.secao-cab { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; gap: 12px; }
.temporada-sel {
  background: #242424; border: 1px solid #4d4d4d; border-radius: 4px; color: #fff; font: inherit;
  font-weight: 700; padding: 8px 14px; position: relative; display: flex; align-items: center; gap: 8px;
}
.temporada-sel svg { width: 18px; fill: #fff; stroke: none; }
.temporada-lista {
  position: absolute; right: 0; top: calc(100% + 4px); z-index: 10; min-width: 190px; max-height: 300px; overflow-y: auto;
  background: #242424; border: 1px solid #4d4d4d; border-radius: 4px;
}
.temporada-lista button { display: block; width: 100%; text-align: left; padding: 10px 14px; font-size: 15px; }
.temporada-lista button:hover { background: #3a3a3a; }
.temporada-lista button span { color: #999; font-size: 13px; margin-left: 6px; }
.episodio {
  display: grid; grid-template-columns: 30px 150px 1fr; gap: 16px; align-items: center;
  padding: 16px 14px; border-bottom: 1px solid #404040; border-radius: 4px; cursor: pointer;
  transition: background .2s;
}
.episodio:first-child { background: #333; }
.episodio:hover { background: #333; }
.episodio .num { font-size: 22px; color: #d2d2d2; text-align: center; }
.episodio .thumb { position: relative; aspect-ratio: 16/9; border-radius: 4px; overflow: hidden; background: #2a2a2a; }
.episodio .thumb img { width: 100%; height: 100%; object-fit: cover; }
.episodio .thumb .play-sobre {
  position: absolute; inset: 0; display: grid; place-items: center; opacity: 0; transition: opacity .2s;
  background: rgba(0,0,0,.35);
}
.episodio:hover .play-sobre { opacity: 1; }
.episodio .play-sobre span { width: 38px; height: 38px; border-radius: 50%; border: 1px solid #fff; display: grid; place-items: center; background: rgba(30,30,30,.5); }
.episodio .play-sobre svg { fill: #fff; stroke: none; width: 18px; }
.episodio .ep-topo { display: flex; justify-content: space-between; gap: 10px; font-weight: 700; color: #fff; margin-bottom: 6px; font-size: 15px; }
.episodio .ep-topo span { font-weight: 500; flex: none; }
.episodio p { font-size: 13.5px; color: #d2d2d2; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.similares { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.similar { background: #2f2f2f; border-radius: 4px; overflow: hidden; cursor: pointer; transition: transform .25s var(--ease); }
.similar:hover { transform: translateY(-3px); }
.similar .img { aspect-ratio: 16/9; position: relative; background: #222; }
.similar .img img { width: 100%; height: 100%; object-fit: cover; }
.similar .img b { position: absolute; top: 6px; right: 8px; font-size: 13px; text-shadow: 0 1px 4px #000; }
.similar .txt { padding: 12px 14px 16px; }
.similar .txt div { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; font-size: 13px; color: #bcbcbc; }
.similar .txt strong { color: #fff; font-size: 14px; display: block; margin-bottom: 6px; }
.similar .txt p { font-size: 13px; line-height: 1.4; color: #d2d2d2; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
@media (max-width: 760px) {
  .ficha-fundo { padding: 0; }
  .ficha { border-radius: 0; min-height: 100%; }
  .ficha-capa-info { left: 18px; right: 18px; }
  .ficha-corpo { grid-template-columns: 1fr; padding: 6px 18px 26px; gap: 16px; }
  .secao { padding: 0 18px 26px; }
  .episodio { grid-template-columns: 110px 1fr; gap: 12px; padding: 12px 6px; }
  .episodio .num { display: none; }
  .similares { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- Player ---------- */
.player { position: fixed; inset: 0; z-index: 100; background: #000; animation: esmaece .3s ease; }
.player iframe { width: 100%; height: 100%; border: 0; }
.player-voltar {
  position: absolute; top: 14px; left: 14px; z-index: 2; display: flex; align-items: center; gap: 10px;
  padding: 8px 16px 8px 8px; border-radius: 999px; background: rgba(0,0,0,.55); backdrop-filter: blur(10px);
  font-weight: 700; font-size: 15px; opacity: .35; transition: opacity .25s;
}
.player:hover .player-voltar, .player-voltar:focus-visible { opacity: 1; }
.player-voltar svg { width: 28px; height: 28px; }

/* ---------- Configuração inicial ---------- */
.config {
  min-height: 100vh; display: grid; place-items: center; padding: 100px 16px 40px;
  background:
    radial-gradient(ellipse at 20% 10%, rgba(229,9,20,.22), transparent 55%),
    radial-gradient(ellipse at 90% 90%, rgba(229,9,20,.12), transparent 50%), var(--fundo);
}
.config-caixa { width: min(460px, 100%); background: rgba(0,0,0,.72); border-radius: 8px; padding: 44px 40px; border: 1px solid #2a2a2a; }
.config-caixa h1 { font-size: 30px; font-weight: 800; color: #fff; margin-bottom: 10px; }
.config-caixa p { color: var(--texto-suave); line-height: 1.55; font-size: 15px; margin-bottom: 22px; }
.config-caixa ol { color: #cfcfcf; font-size: 14px; line-height: 1.7; margin: 0 0 22px 18px; }
.config-caixa a { color: #fff; text-decoration: underline; }
.config-caixa input {
  width: 100%; height: 52px; border-radius: 4px; background: #333; border: 1px solid #333; color: #fff;
  font: inherit; padding: 0 16px; margin-bottom: 14px; outline: 0;
}
.config-caixa input:focus { border-color: #fff; }
.config-caixa .btn { width: 100%; justify-content: center; background: var(--vermelho); color: #fff; padding: 0 20px; }
.config-caixa .btn:hover { background: #c11119; }
.config-erro { color: #e87c03; font-size: 14px; margin-top: 12px; min-height: 20px; }

/* ---------- Portão: conta, e-mail e ativação (versão web) ----------
   Sala escura, o feixe do projetor desce do alto e o cartão é a tela. */
body.no-portao .menu, body.no-portao .menu-mobile, body.no-portao .acoes { visibility: hidden; }
.portao {
  position: relative; min-height: 100vh; display: grid; place-items: center; overflow: hidden;
  padding: 96px 16px 48px; background: #0b0b0b; isolation: isolate;
}
.portao-luz {
  position: absolute; inset: -10% -20% 0; z-index: -2; pointer-events: none;
  background:
    conic-gradient(from 180deg at 50% -6%, transparent 154deg, rgba(255,238,215,.10) 166deg, rgba(255,238,215,.22) 180deg, rgba(255,238,215,.10) 194deg, transparent 206deg),
    radial-gradient(ellipse 60% 40% at 50% 100%, rgba(229,9,20,.22), transparent 70%);
  animation: portao-feixe 7s ease-in-out infinite alternate;
}
.portao-luz::after {
  /* poeira no feixe e granulação de película */
  content: ''; position: absolute; inset: 0; opacity: .18; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
}
@keyframes portao-feixe { from { opacity: .75; } to { opacity: 1; } }
.portao-marca {
  position: absolute; z-index: -1; left: 50%; bottom: -0.18em; transform: translateX(-50%);
  font-family: 'Anton', sans-serif; font-size: clamp(120px, 26vw, 420px); line-height: 1; letter-spacing: .02em;
  color: transparent; -webkit-text-stroke: 1px rgba(229,9,20,.4); white-space: nowrap; user-select: none;
}
.portao-caixa {
  width: min(440px, 100%); padding: 36px 36px 30px; border-radius: 6px;
  background: linear-gradient(180deg, rgba(24,24,24,.94), rgba(10,10,10,.96));
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 0 0 1px rgba(0,0,0,.6), 0 40px 120px -20px rgba(255,235,210,.10), 0 30px 60px rgba(0,0,0,.6);
  animation: portao-entra .6s var(--ease) both;
}
@keyframes portao-entra { from { opacity: 0; transform: translateY(14px) scale(.985); } }
.portao-passos { display: flex; gap: 6px; list-style: none; margin: 0 0 28px; padding: 0; }
.portao-passos li {
  flex: 1; display: flex; align-items: center; gap: 8px; padding-top: 10px;
  border-top: 2px solid #333; color: #6d6d6d; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
}
.portao-passos b {
  display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; flex: none;
  border: 1px solid currentColor; font-size: 11px; letter-spacing: 0;
}
.portao-passos b svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 3; }
.portao-passos .feito { border-color: #5c5c5c; color: #a3a3a3; }
.portao-passos .agora { border-color: var(--vermelho); color: #fff; }
.portao-passos .agora b { background: var(--vermelho); border-color: var(--vermelho); }
.portao-caixa h1 { font-size: 30px; font-weight: 800; color: #fff; line-height: 1.15; margin-bottom: 8px; }
.portao-sub { color: var(--texto-suave); line-height: 1.55; font-size: 15px; margin-bottom: 22px; }
.portao-sub b { color: #fff; font-weight: 600; word-break: break-all; }
.portao-caixa input {
  width: 100%; height: 50px; border-radius: 4px; background: #2b2b2b; border: 1px solid #3a3a3a; color: #fff;
  font: inherit; font-size: 16px; padding: 0 16px; margin-bottom: 12px; outline: 0; transition: border-color .2s, background .2s;
}
.portao-caixa input::placeholder { color: #8c8c8c; }
.portao-caixa input:focus { border-color: #fff; background: #333; }
.portao-caixa input.portao-codigo {
  height: 72px; text-align: center; font-family: 'Anton', sans-serif; font-size: 40px; letter-spacing: .45em;
  padding: 0 0 0 .45em; background: #141414;
}
.portao-codigo::placeholder { color: #3d3d3d; }
.portao-caixa .btn { width: 100%; justify-content: center; background: var(--vermelho); color: #fff; padding: 0 20px; margin-top: 4px; }
.portao-caixa .btn:hover:not(:disabled) { background: #c11119; }
.portao-caixa .btn:disabled { background: #5a1a1d; color: rgba(255,255,255,.55); cursor: not-allowed; }
.portao-caixa .btn:focus-visible, .portao-caixa .link:focus-visible, .avatar:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.portao-troca { margin-top: 22px; color: #8c8c8c; font-size: 15px; }
.portao-troca a { color: #fff; font-weight: 600; }
.portao-troca a:hover { text-decoration: underline; }
.portao-links { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 18px; }
.portao-caixa .link { background: none; border: 0; padding: 4px 0; color: #b3b3b3; font: inherit; font-size: 14px; cursor: pointer; }
.portao-caixa .link:hover:not(:disabled) { color: #fff; text-decoration: underline; }
.portao-caixa .link:disabled { color: #5f5f5f; cursor: default; }
.portao-erro { color: #e87c03; font-size: 14px; line-height: 1.45; margin-top: 12px; min-height: 20px; }
.portao-erro:empty { min-height: 0; margin: 0; }
.portao-preco {
  display: flex; align-items: flex-start; gap: 8px; margin: 4px 0 18px;
  font-family: 'Anton', sans-serif; font-size: 96px; line-height: .9; color: #fff;
}
.portao-preco span { font-size: 22px; line-height: 1.4; color: var(--vermelho); letter-spacing: .04em; }
.portao-inclui { list-style: none; margin: 0 0 22px; padding: 16px 0 0; border-top: 1px solid #2a2a2a; display: grid; gap: 10px; }
.portao-inclui li { display: flex; align-items: center; gap: 10px; color: #d6d6d6; font-size: 15px; }
.portao-inclui svg { width: 18px; height: 18px; flex: none; fill: none; stroke: var(--verde); stroke-width: 2.5; }
.portao-nota { margin-top: 12px; color: #8c8c8c; font-size: 13px; line-height: 1.5; }
.portao-preco small { font-size: 32px; line-height: 1.25; color: #fff; letter-spacing: 0; margin-left: -6px; }
/* Pix */
.portao-caixa .btn-pix { background: #32bcad; color: #04211e; gap: 10px; }
.portao-caixa .btn-pix:hover:not(:disabled) { background: #3fd3c3; }
.portao-caixa .btn-pix.copiado { background: var(--verde); }
.btn-pix svg { width: 20px; height: 20px; stroke-width: 2.2; }
.pix-qr {
  width: 216px; margin: 2px auto 16px; padding: 8px; border-radius: 10px; background: #fff;
  box-shadow: 0 0 0 1px rgba(255,255,255,.1), 0 18px 40px -10px rgba(50,188,173,.35);
}
.pix-qr img { width: 200px; height: 200px; image-rendering: pixelated; }
.portao-caixa .btn-pix + .pix-qr { margin-top: 18px; }
.portao-caixa input.pix-codigo {
  height: 38px; margin: 12px 0 0; font-size: 12px; font-family: ui-monospace, Consolas, monospace;
  color: #8c8c8c; background: #141414; border-color: #262626; text-overflow: ellipsis;
}
.pix-espera { display: flex; align-items: center; gap: 10px; margin-top: 16px; font-size: 14px; color: #d6d6d6; }
.pix-espera i { width: 9px; height: 9px; border-radius: 50%; background: #32bcad; flex: none; animation: pix-pulso 1.4s ease-in-out infinite; }
.pix-espera b { margin-left: auto; font-variant-numeric: tabular-nums; color: #8c8c8c; font-weight: 600; }
@keyframes pix-pulso { 0%, 100% { box-shadow: 0 0 0 0 rgba(50,188,173,.55); } 60% { box-shadow: 0 0 0 7px rgba(50,188,173,0); } }
@media (prefers-reduced-motion: reduce) { .pix-espera i { animation: none; } }
@media (max-width: 520px) {
  .portao { padding-top: 84px; align-items: start; }
  .portao-caixa { padding: 28px 20px 24px; }
  .portao-caixa h1 { font-size: 26px; }
  .portao-preco { font-size: 80px; }
  .portao-passos li { font-size: 11px; letter-spacing: .04em; }
}
@media (prefers-reduced-motion: reduce) { .portao-luz, .portao-caixa { animation: none; } }

/* Menu da conta (avatar) */
.acoes { position: relative; }
.avatar[role=button] { cursor: pointer; }
.perfil-menu {
  position: absolute; top: calc(100% + 14px); right: 0; min-width: 230px; z-index: 60;
  background: rgba(0,0,0,.92); border: 1px solid #333; border-radius: 4px; padding: 6px 0;
  box-shadow: 0 16px 40px rgba(0,0,0,.6); animation: portao-entra .2s var(--ease) both;
}
.perfil-quem { padding: 10px 16px 12px; border-bottom: 1px solid #2a2a2a; margin-bottom: 4px; }
.perfil-quem b { display: block; color: #fff; font-size: 14px; }
.perfil-quem small { display: block; color: #8c8c8c; font-size: 12px; margin-top: 2px; word-break: break-all; }
.perfil-menu a, .perfil-menu button {
  display: block; width: 100%; text-align: left; padding: 9px 16px; background: none; border: 0;
  color: #e5e5e5; font: inherit; font-size: 14px; cursor: pointer;
}
.perfil-menu a:hover, .perfil-menu button:hover { background: #1f1f1f; text-decoration: underline; }

/* ---------- Aviso ---------- */
.aviso {
  position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 30px); z-index: 120;
  background: #fff; color: #000; font-weight: 700; padding: 12px 20px; border-radius: 6px; font-size: 14px;
  opacity: 0; pointer-events: none; transition: all .3s var(--ease);
}
.aviso.on { opacity: 1; transform: translate(-50%, 0); }

/* rodapé */
.rodape { padding: 30px var(--lado) 50px; color: #777; font-size: 13px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.rodape b { font-family: 'Anton', sans-serif; color: var(--vermelho); font-weight: 400; font-size: 18px; margin-right: 6px; }

/* Etiqueta embaixo não cobre o nome */
.card:has(.card-tag) .card-titulo { bottom: 24px; }
.card-tag { font-size: 9px; padding: 2px 7px 1px; }

/* Episódio ainda não lançado e último visto */
.episodio.futuro { opacity: .5; cursor: default; }
.episodio.futuro:hover { background: none; }
.episodio .ep-marca {
  position: absolute; left: 6px; bottom: 6px; background: var(--vermelho); color: #fff;
  font-size: 10px; font-weight: 800; padding: 2px 6px; border-radius: 2px;
}
.episodio.ultimo .num { color: var(--vermelho); }
#tentarDeNovo { margin-top: 6px; padding: 0 26px; }

/* Legenda embaixo do card e número do Top 10: só no layout da TV */
.card-legenda, .top-num, .ep-rotulo { display: none; }

/* Elenco */
.elenco { display: flex; gap: 18px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: none; }
.elenco::-webkit-scrollbar { display: none; }
.pessoa { flex: 0 0 96px; text-align: center; outline: 0; }
.pessoa .foto {
  width: 84px; height: 84px; margin: 0 auto 8px; border-radius: 50%; overflow: hidden; background: #2a2a2a;
  display: grid; place-items: center; color: #aaa; font-weight: 700; font-size: 22px;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.pessoa .foto img { width: 100%; height: 100%; object-fit: cover; }
.pessoa b { display: block; font-size: 13px; color: #fff; line-height: 1.25; }
.pessoa small { display: block; font-size: 12px; color: #999; line-height: 1.25; margin-top: 2px; }

.similar .txt strong { display: none; }

/* ---------- Streamings: lista lateral (PC) ---------- */
.servicos { display: grid; grid-template-columns: 230px 1fr; min-height: 100vh; padding-top: 68px; }
.servicos-lista {
  position: sticky; top: 68px; align-self: start; height: calc(100vh - 68px); overflow-y: auto;
  display: flex; flex-direction: column; gap: 4px; padding: 26px 14px 26px var(--lado); border-right: 1px solid #222;
}
.servico { display: flex; align-items: center; gap: 12px; padding: 9px 10px; border-radius: 10px; color: #b3b3b3; font-weight: 600; text-align: left; transition: background .2s, color .2s; }
.servico img { width: 32px; height: 32px; border-radius: 8px; }
.servico:hover { background: #1f1f1f; color: #fff; }
.servico.ativo { background: #2a2a2a; color: #fff; }
.servicos-conteudo { min-width: 0; --card-w: calc((100vw - 230px - var(--lado) * 2 - 8px * 4) / 4.3); }
.servico-cab { display: flex; align-items: center; gap: 16px; padding: 30px var(--lado) 6px; }
.servico-cab img { width: 56px; height: 56px; border-radius: 14px; }
.servico-cab h1 { font-size: 28px; font-weight: 800; color: #fff; }
.servico-cab p { color: #999; font-size: 14px; }
.servicos-conteudo .fileiras.sem-destaque { padding-top: 12px; }
@media (max-width: 760px) {
  .servicos { grid-template-columns: 1fr; }
  .servicos-lista { position: static; height: auto; flex-direction: row; overflow-x: auto; border: 0; padding: 12px var(--lado); }
  .servico span { display: none; }
  .servicos-conteudo { --card-w: calc((100vw - var(--lado) * 2 - 8px * 2) / 2.3); }
}

/* Próximo episódio (player do PC) */
.player-proximo {
  position: absolute; z-index: 2; right: 18px; bottom: 74px; display: flex; align-items: center; gap: 10px;
  padding: 12px 18px 12px 22px; border-radius: 8px; background: #fff; color: #000; font-weight: 800; font-size: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,.5); opacity: .35; transition: opacity .25s, transform .2s;
}
.player:hover .player-proximo, .player-proximo:focus-visible { opacity: 1; }
.player-proximo:hover { transform: scale(1.04); }
.player-proximo svg { width: 20px; height: 20px; fill: #000; stroke: #000; }

/* =====================================================================
   Celular (até 760px): app de streaming de bolso.
   Topo "Para você" com chips, destaque em cartão tingido pela cor do
   cartaz, Top 10 com números, cartazes em pé, abas embaixo e ficha
   em tela cheia com abas. No computador nada disto aparece.
   ===================================================================== */
.so-m { display: none; }

@media (max-width: 760px) {
  :root {
    --lado: 16px;
    --poster-w: calc((100vw - 32px - 16px) / 3.15);
    --abas-h: calc(58px + env(safe-area-inset-bottom));
    --tinta: #1d2a2c;
  }
  body {
    background:
      linear-gradient(180deg, var(--tinta) 0, color-mix(in srgb, var(--tinta) 55%, var(--fundo)) 340px, var(--fundo) 760px) no-repeat,
      var(--fundo);
    transition: background-color .6s ease;
    padding-bottom: var(--abas-h);
  }
  body.no-portao { padding-bottom: 0; }
  body.no-portao .m-ola, body.no-portao .m-buscar, body.no-portao .m-chips { display: none; }
  body.no-portao .topo .marca { display: block !important; }

  /* ---------- Topo ---------- */
  .topo {
    flex-wrap: wrap; height: auto; gap: 0; row-gap: 12px; align-items: center;
    padding: calc(12px + env(safe-area-inset-top)) var(--lado) 12px;
    background: linear-gradient(180deg, color-mix(in srgb, var(--tinta) 92%, transparent) 0%, transparent 100%);
    transition: background-color .3s ease, padding .3s var(--ease);
  }
  .topo.solido {
    background-color: color-mix(in srgb, var(--tinta) 55%, rgba(12,12,12,.9));
    -webkit-backdrop-filter: blur(18px) saturate(1.3); backdrop-filter: blur(18px) saturate(1.3);
  }
  .marca, .menu-mobile, .busca, .acoes .icone, .acoes .avatar, .perfil-menu { display: none !important; }
  .acoes { margin-left: 0; gap: 0; }
  .m-ola {
    display: block; flex: 1; min-width: 0; font-size: 22px; font-weight: 800; color: #fff; letter-spacing: -.01em;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  }
  .m-buscar { display: grid; place-items: center; width: 40px; height: 40px; margin-right: -8px; color: #fff; }
  .m-buscar svg { width: 25px; height: 25px; stroke-width: 2.2; }
  body[data-rota="busca"] .m-buscar { visibility: hidden; }

  .m-chips {
    display: flex; gap: 8px; width: 100%; overflow-x: auto; scrollbar-width: none;
    max-height: 40px; transition: max-height .3s var(--ease), opacity .25s ease, margin .3s var(--ease);
  }
  .m-chips::-webkit-scrollbar { display: none; }
  .topo.solido .m-chips, body[data-rota="busca"] .m-chips, body[data-rota="lista"] .m-chips {
    max-height: 0; opacity: 0; margin-top: -12px; pointer-events: none;
  }
  .chip {
    flex: none; display: inline-flex; align-items: center; gap: 4px; height: 34px; padding: 0 15px;
    border: 1px solid rgba(255,255,255,.5); border-radius: 999px; color: #fff; font-size: 14px; font-weight: 600;
    background: rgba(0,0,0,.08); transition: background .2s, border-color .2s;
  }
  .chip svg { width: 15px; height: 15px; stroke-width: 2.4; }
  .chip[data-chip] svg { display: none; }
  .chip[data-chip].ativo { background: rgba(255,255,255,.18); border-color: rgba(255,255,255,.75); padding-left: 10px; }
  .chip[data-chip].ativo svg { display: block; }
  .chip.ativo { background: rgba(255,255,255,.18); }
  .chip:active { background: rgba(255,255,255,.25); }

  /* Categorias: menu em tela cheia, lista centralizada */
  .menu, .menu.aberto { border: 0; }
  .menu.aberto {
    display: flex; position: fixed; inset: 0; z-index: 90; min-width: 0; padding: 72px 16px 120px;
    flex-direction: column; justify-content: center; align-items: center; gap: 2px; overflow-y: auto;
    background: rgba(8,8,8,.86); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
    animation: esmaece .2s ease;
  }
  .menu.aberto a { font-size: 19px; color: #a3a3a3; padding: 13px 20px; font-weight: 500; }
  .menu.aberto a.ativo { color: #fff; font-weight: 800; font-size: 22px; }
  .menu-fechar {
    display: grid; place-items: center; position: fixed; left: 50%; bottom: calc(34px + env(safe-area-inset-bottom));
    transform: translateX(-50%); width: 60px; height: 60px; border-radius: 50%; background: #fff; color: #000;
  }
  .menu-fechar svg { width: 26px; height: 26px; stroke-width: 2.4; }

  /* ---------- Abas de baixo ---------- */
  .m-abas {
    display: grid; grid-template-columns: repeat(3, 1fr); position: fixed; inset: auto 0 0; z-index: 70;
    height: var(--abas-h); padding-bottom: env(safe-area-inset-bottom);
    background: rgba(16,16,16,.88); -webkit-backdrop-filter: blur(20px) saturate(1.4); backdrop-filter: blur(20px) saturate(1.4);
    border-top: 1px solid rgba(255,255,255,.06);
  }
  body.no-portao .m-abas, body.travado .m-abas { display: none; }
  .m-abas a {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
    color: #8c8c8c; font-size: 10.5px; font-weight: 600; letter-spacing: .01em; transition: color .2s;
  }
  .m-abas svg { width: 24px; height: 24px; stroke-width: 1.8; }
  .m-abas a.ativo { color: #fff; }
  .m-abas a.ativo svg { fill: #fff; stroke: #fff; }
  .m-abas a[data-aba="busca"].ativo svg { fill: none; stroke-width: 2.6; }
  .m-avatar {
    display: block; width: 24px; height: 24px; border-radius: 4px; position: relative; flex: none;
    background: linear-gradient(135deg, #2f7cf6, #0a4fd6);
  }
  .m-avatar::before { content: ''; position: absolute; width: 3px; height: 3px; top: 8px; left: 7px; border-radius: 50%; background: #fff; box-shadow: 7px 0 0 #fff; }
  .m-avatar::after { content: ''; position: absolute; width: 10px; height: 5px; top: 13px; left: 7px; border: 1.6px solid #fff; border-top: 0; border-radius: 0 0 8px 8px; }
  .m-abas a:not(.ativo) .m-avatar { opacity: .7; }
  .m-abas a.ativo .m-avatar { box-shadow: 0 0 0 1.5px #fff; }

  /* ---------- Destaque em cartão ---------- */
  .destaque {
    display: block; height: auto; min-height: 0; aspect-ratio: 5 / 7; overflow: hidden;
    margin: calc(116px + env(safe-area-inset-top)) var(--lado) 0; padding: 0; border-radius: 12px;
    border: 1px solid rgba(255,255,255,.16);
    box-shadow: 0 24px 50px -12px rgba(0,0,0,.65), inset 0 1px 0 rgba(255,255,255,.08);
    animation: sobe .7s var(--ease) both;
  }
  .destaque-img, .destaque-sinopse, .btn-info, .classif { display: none !important; }
  .destaque-poster { display: block; position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center top; }
  .destaque::after {
    background: linear-gradient(180deg, transparent 42%, rgba(0,0,0,.35) 62%, rgba(0,0,0,.88) 100%);
    pointer-events: none;
  }
  .destaque-info {
    position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; width: auto; min-width: 0;
    padding: 0 14px 14px; display: flex; flex-direction: column; align-items: center; text-align: center;
  }
  .destaque-logo { max-width: 72%; max-height: 92px; object-position: center bottom; margin-bottom: 10px; }
  .destaque-titulo { font-size: 38px; margin-bottom: 8px; text-align: center; }
  .destaque-generos {
    display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 6px;
    font-size: 13.5px; font-weight: 500; color: #fff; margin-bottom: 14px; text-shadow: 0 1px 6px rgba(0,0,0,.6);
  }
  .destaque-generos i { font-style: normal; opacity: .65; font-size: 10px; }
  .destaque .botoes { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; width: 100%; }
  .destaque .btn { height: 42px; padding: 0 10px; justify-content: center; font-size: clamp(13.5px, 4.1vw, 15.5px); gap: 6px; border-radius: 5px; white-space: nowrap; }
  .destaque .btn svg { width: 22px; height: 22px; }
  .destaque .btn-lista { display: inline-flex; background: rgba(110,110,110,.55); color: #fff; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
  .destaque .btn-lista svg { stroke-width: 2.4; }

  /* ---------- Fileiras ---------- */
  .fileiras { margin-top: 26px; padding-bottom: 24px; }
  .fileiras.sem-destaque { padding-top: calc(124px + env(safe-area-inset-top)); }
  body[data-rota="lista"] .fileiras.sem-destaque, body[data-rota="busca"] .fileiras.sem-destaque { padding-top: 84px; }
  .fileira { margin-bottom: 22px; }
  .fileira-cab { margin-bottom: 8px; }
  .fileira h2 { font-size: 17.5px; font-weight: 800; color: #fff; letter-spacing: -.005em; }
  .pontos, .seta { display: none !important; }
  .trilho { gap: 8px; padding: 0 var(--lado); scroll-padding: 0 var(--lado); }

  .card { border-radius: 5px; }
  .card--poster { flex: 0 0 var(--poster-w); aspect-ratio: 2 / 3; }
  .card--poster .card-titulo, .card--top10 .card-titulo { display: none; }
  .card--poster::after { background: linear-gradient(0deg, rgba(0,0,0,.35) 0%, transparent 30%); }
  .card-hover { display: none; }
  .card:active { transform: scale(.97); }
  .card-tag { font-size: 9.5px; padding: 3px 7px 2px; }
  .card-selo { font-size: 15px; top: 6px; left: 6px; }

  /* Top 10: número grande vazado atrás do cartaz */
  .card--top10 {
    flex: 0 0 calc(var(--poster-w) * 1.62); aspect-ratio: auto; display: grid; grid-template-columns: 42% 1fr;
    align-items: end; background: none; overflow: visible; border-radius: 0;
  }
  .card--top10::after { display: none; }
  .card--top10 img { grid-column: 2; grid-row: 1; aspect-ratio: 2 / 3; height: auto; border-radius: 5px; position: relative; z-index: 1; }
  .card--top10 .card-selo { left: calc(42% + 6px); }
  .card--top10 .card-tag { left: calc(42% + (58% / 2)); }
  .top-num {
    display: block; grid-column: 1 / 3; grid-row: 1; align-self: end; justify-self: start; z-index: 0;
    font-family: 'Figtree', sans-serif; font-weight: 900; font-size: calc(var(--poster-w) * 1.32);
    line-height: .74; letter-spacing: -.09em; margin-left: -4px; margin-bottom: -2px;
    color: var(--fundo); -webkit-text-stroke: 2px rgba(255,255,255,.62);
  }

  /* Cartaz em pé também na grade (busca e Minha lista) */
  .grade { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .grade .card--poster { flex: none; width: 100%; }
  .esqueleto.esq-poster { aspect-ratio: 2 / 3; }
  .pagina-grade { padding: calc(76px + env(safe-area-inset-top)) var(--lado) 30px; }
  .pagina-grade h1 { font-size: 20px; margin-bottom: 14px; }
  .pagina-grade h1 small { display: block; margin: 4px 0 0; font-size: 13px; }

  /* Busca: campo grande no topo */
  .busca-campo {
    display: flex; align-items: center; gap: 10px; height: 46px; padding: 0 14px; margin-bottom: 22px;
    border-radius: 6px; background: #2a2a2a; color: #a3a3a3;
  }
  .busca-campo:focus-within { background: #333; color: #fff; }
  .busca-campo svg { width: 20px; height: 20px; flex: none; }
  .busca-campo input { flex: 1; min-width: 0; height: 100%; background: none; border: 0; outline: 0; color: #fff; font: inherit; font-size: 16px; }
  .busca-campo input::placeholder { color: #8c8c8c; }
  .busca-campo input::-webkit-search-cancel-button { filter: invert(1); }
  .pagina-busca .vazio { padding-top: 30px; font-size: 15px; }

  /* Meu Telão: conta no topo da Minha lista */
  .m-perfil {
    display: flex; align-items: center; gap: 12px; padding: 14px; margin-bottom: 26px;
    border-radius: 8px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.06);
  }
  .m-perfil .m-avatar { width: 46px; height: 46px; border-radius: 6px; }
  .m-perfil .m-avatar::before { width: 5px; height: 5px; top: 15px; left: 13px; box-shadow: 15px 0 0 #fff; }
  .m-perfil .m-avatar::after { width: 20px; height: 10px; top: 24px; left: 13px; border-width: 2.5px; }
  .m-perfil div { flex: 1; min-width: 0; }
  .m-perfil b { display: block; color: #fff; font-size: 16px; }
  .m-perfil small { display: block; color: #8c8c8c; font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .m-sair { padding: 8px 14px; border-radius: 4px; border: 1px solid rgba(255,255,255,.3); font-size: 14px; font-weight: 600; color: #fff; }

  .rodape { padding: 30px var(--lado) 26px; flex-direction: column; gap: 4px; font-size: 12px; }

  /* ---------- Ficha em tela cheia ---------- */
  .ficha-fundo { padding: 0; background: #000; }
  .ficha { background: #000; width: 100%; max-width: none; min-height: 100%; margin: 0; border-radius: 0; box-shadow: none; padding-bottom: calc(30px + env(safe-area-inset-bottom)); }
  .ficha-capa { aspect-ratio: 16 / 9; }
  .ficha-capa::after { background: linear-gradient(0deg, rgba(0,0,0,.35) 0%, transparent 35%); }
  .ficha-capa-info, .ficha-corpo { display: none; }
  .ficha-fechar {
    position: fixed; top: calc(10px + env(safe-area-inset-top)); right: 10px; z-index: 5;
    width: 34px; height: 34px; border-radius: 50%; background: rgba(28,28,28,.82); display: grid; place-items: center;
  }
  .ficha-fechar svg { width: 18px; height: 18px; }

  .m-ficha { display: block; padding: 14px var(--lado) 4px; }
  .m-ficha h2 { font-size: 23px; font-weight: 800; color: #fff; line-height: 1.15; margin-bottom: 8px; }
  .m-ficha .ficha-meta { font-size: 13.5px; gap: 8px; margin-bottom: 12px; color: #a3a3a3; }
  .m-ficha .ficha-meta .faixa { background: #4d4d4d; border: 0; color: #fff; border-radius: 2px; font-size: 11.5px; font-weight: 700; padding: 1px 5px; }
  .m-ficha .btn { display: flex; width: 100%; height: 42px; justify-content: center; border-radius: 4px; font-size: 16px; padding: 0 14px; margin-bottom: 8px; }
  .m-btn-play { background: #fff; color: #000; }
  .m-btn-play svg { fill: #000; stroke: none; width: 22px; height: 22px; }
  .m-btn-cinza { background: #2b2b2b; color: #fff; }
  .m-btn-cinza svg { width: 22px; height: 22px; }
  .m-sinopse { margin-top: 8px; font-size: 14.5px; line-height: 1.5; color: #fff; }
  .m-cred {
    margin-top: 8px; font-size: 12.5px; color: #a3a3a3; line-height: 1.45;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  }
  .m-acoes { display: flex; gap: 6px; margin: 16px -4px 0; }
  .m-acoes button {
    flex: 0 0 auto; min-width: 82px; display: flex; flex-direction: column; align-items: center; gap: 6px;
    padding: 6px 4px; font-size: 11.5px; color: #a3a3a3; font-weight: 500;
  }
  .m-acoes svg, .m-acoes .ic svg { width: 26px; height: 26px; stroke: #fff; stroke-width: 1.8; }
  .m-acoes .ic { display: grid; place-items: center; height: 26px; }
  .m-acoes button:active svg { transform: scale(.88); }

  .m-abas-ficha {
    display: flex; gap: 22px; margin: 14px 0 0; padding: 0 var(--lado); border-top: 1px solid #262626;
    overflow-x: auto; scrollbar-width: none;
  }
  .m-abas-ficha button {
    position: relative; padding: 14px 0 12px; font-size: 15.5px; font-weight: 700; color: #a3a3a3; white-space: nowrap;
  }
  .m-abas-ficha button::before {
    content: ''; position: absolute; left: 0; right: 0; top: -1px; height: 4px; background: var(--vermelho);
    transform: scaleX(0); transition: transform .25s var(--ease);
  }
  .ficha[data-aba="episodios"] [data-aba-ficha="episodios"],
  .ficha[data-aba="parecidos"] [data-aba-ficha="parecidos"],
  .ficha[data-aba="elenco"] [data-aba-ficha="elenco"] { color: #fff; }
  .ficha[data-aba="episodios"] [data-aba-ficha="episodios"]::before,
  .ficha[data-aba="parecidos"] [data-aba-ficha="parecidos"]::before,
  .ficha[data-aba="elenco"] [data-aba-ficha="elenco"]::before { transform: none; }
  .ficha[data-aba="episodios"] .secao[data-secao]:not([data-secao="episodios"]),
  .ficha[data-aba="parecidos"] .secao[data-secao]:not([data-secao="parecidos"]),
  .ficha[data-aba="elenco"] .secao[data-secao]:not([data-secao="elenco"]) { display: none; }
  .secao { padding: 6px var(--lado) 22px; }
  .secao-cab h3 { display: none; }
  .secao-cab { justify-content: flex-start; margin-bottom: 6px; }
  .temporada-sel { background: #2b2b2b; border: 0; padding: 9px 12px 9px 14px; font-size: 15px; }
  .temporada-lista { left: 0; right: auto; }

  /* Episódios: miniatura + título lado a lado, descrição embaixo */
  .episodio {
    grid-template-columns: 128px 1fr; gap: 6px 12px; padding: 12px 0; border: 0; border-radius: 0;
  }
  .episodio:first-child, .episodio:hover { background: none; }
  .episodio .num, .episodio .ep-rotulo { display: none; }
  .episodio > div:last-child { display: contents; }
  .episodio .thumb { grid-column: 1; grid-row: 1; border-radius: 4px; }
  .episodio .thumb .play-sobre { opacity: 1; background: none; }
  .episodio .play-sobre span { width: 34px; height: 34px; background: rgba(0,0,0,.45); border-width: 1.5px; }
  .episodio .ep-topo { grid-column: 2; grid-row: 1; align-self: center; flex-direction: column; gap: 2px; margin: 0; font-size: 14.5px; }
  .episodio .ep-topo span { font-size: 12.5px; color: #a3a3a3; font-weight: 500; }
  .episodio p { grid-column: 1 / -1; font-size: 13px; color: #a3a3a3; -webkit-line-clamp: 3; }
  .episodio.ultimo .thumb { box-shadow: 0 0 0 2px var(--vermelho); }

  /* Parecidos: grade de cartazes */
  .similares { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .similar { background: none; border-radius: 4px; }
  .similar:hover { transform: none; }
  .similar:has(.sim-poster) .img, .similar:has(.sim-poster) .txt { display: none; }
  .sim-poster { display: block; width: 100%; aspect-ratio: 2 / 3; object-fit: cover; border-radius: 4px; background: #1f1f1f; }

  .elenco { flex-wrap: wrap; justify-content: space-between; row-gap: 16px; }
  .pessoa { flex: 0 0 calc(33.33% - 12px); }
  .pessoa .foto { width: 76px; height: 76px; }

  /* Player em tela cheia por cima das abas */
  .player { z-index: 95; }
  .player-voltar { opacity: 1; top: calc(8px + env(safe-area-inset-top)); }
}

@media (max-width: 760px) and (prefers-reduced-motion: reduce) {
  .destaque, .menu.aberto { animation: none; }
}
