/* doramais · tema novo
   Preto puro, superfícies #141414/#292929, texto branco em opacidades e uma cor de destaque (Configurações > Geral).
   Carregado só quando o tema novo está ativo, depois de style.css e site.css. */

:root {
  --tn-h: 80px;
  --tn-pad: 6vw;
  --tn-sup: #141414;
  --tn-sup2: #1f1f1f;
  --tn-sup3: #292929;
  --tn-txt: rgba(255, 255, 255, .9);
  --tn-txt2: rgba(255, 255, 255, .7);
  --tn-mut: rgba(255, 255, 255, .5);
  --tn-linha: rgba(255, 255, 255, .1);
  --tn-acc: #E52E2E;
  --tn-acc-rgb: 229, 46, 46;
  --tn-acc-esc: #BC2626;
  --tn-acc-clara: #F29191;
  --tn-dublado: #F26118;
  /* páginas antigas (conta, pagamento, login) dentro do tema novo */
  --preto: #000;
  --preto-2: #0b0b0b;
  --card: #141414;
  --card-2: #1f1f1f;
  --vinho: #2a2a2a;
  --marfim: #fff;
  --muted: rgba(255, 255, 255, .55);
  --linha: rgba(255, 255, 255, .1);
  --fonte: 'Noto Sans', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --fonte-titulo: var(--fonte);
}
@media (max-width: 767px) { :root { --tn-h: 52px; --tn-pad: 16px; } }

html { background: #000; scroll-padding-top: calc(var(--tn-h) + 12px); }
body.tn { background: #000; color: var(--tn-txt); font-family: var(--fonte); font-size: 14px; line-height: 1.45; padding-bottom: 0; -webkit-font-smoothing: antialiased; }
body.tn ::selection { background: rgba(var(--tn-acc-rgb), .45); color: #fff; }
.tn a:hover { color: inherit; }
.tn button { font-family: inherit; }
.tn-wrap { width: min(calc(100% - var(--tn-pad) * 2), 1680px); margin: 0 auto; }
.tn-acc { color: var(--tn-acc); }
.tn-vazio { margin: 40px 0; text-align: center; color: var(--tn-mut); font-size: 15px; }
.tn-so-cel { display: none !important; }
@media (max-width: 767px) { .tn-so-cel { display: flex !important; } .tn-so-pc { display: none !important; } }
.tn-pular { position: fixed; left: 12px; top: -60px; z-index: 300; padding: 10px 16px; border-radius: 999px; background: #fff; color: #000 !important; font-weight: 700; transition: top .2s; }
.tn-pular:focus { top: 12px; }
.tn :focus-visible { outline: 2px solid var(--tn-acc); outline-offset: 2px; }
.tn .tn-busca input:focus-visible, .tn-busca-grande input:focus-visible { outline: none; }

/* placeholder sem capa: cinza com um toque da cor de destaque */
.tn .pz { border-radius: 16px; background: linear-gradient(165deg, #2b2b2b, #0e0e0e); }
.tn .pz-2 { background: linear-gradient(165deg, rgba(var(--tn-acc-rgb), .45), #0e0e0e 70%); }
.tn .pz-3 { background: linear-gradient(165deg, #3a3a3a, #111); }
.tn .pz-4 { background: linear-gradient(165deg, rgba(var(--tn-acc-rgb), .3), #161616 60%); }
.tn .pz-5 { background: linear-gradient(200deg, #333, #0a0a0a); }
.tn .pz::after { background: radial-gradient(60% 45% at 50% 20%, rgba(255, 255, 255, .12), rgba(255, 255, 255, 0) 70%); }
.tn .pz-title { font-family: var(--fonte); font-weight: 700; text-shadow: 0 2px 12px rgba(0, 0, 0, .6); font-size: 15px; }

/* ---------- Barra de cima ---------- */
.tn-header { position: sticky; top: 0; z-index: 100; color: #fff; border-bottom: 1px solid transparent; transition: background-color .3s cubic-bezier(0, 0, .2, 1), border-color .3s, backdrop-filter .3s; }
.tn-header::before { content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 120px; pointer-events: none; background: linear-gradient(180deg, rgba(0, 0, 0, .3), rgba(0, 0, 0, 0)); transition: opacity .3s; }
body.tn-rolou .tn-header { background: rgba(0, 0, 0, .8); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); border-bottom-color: rgba(255, 255, 255, .1); }
body.tn-rolou .tn-header::before { opacity: 0; }
.tn-header-in { position: relative; z-index: 2; height: var(--tn-h); display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 0 2vw; }
.tn-esq { height: 100%; display: flex; align-items: center; gap: 32px; min-width: 0; }
.tn-logo { display: flex; align-items: center; flex: 0 0 auto; }
.tn-logo img { height: 40px; width: auto; }
.tn-menu { height: 100%; display: flex; align-items: center; gap: 24px; }
.tn-menu > a, .tn-menu-bt { height: 100%; display: flex; align-items: center; gap: 4px; padding: 0; border: 0; background: none; color: rgba(255, 255, 255, .95); font-size: 18px; font-weight: 700; line-height: normal; white-space: nowrap; cursor: pointer; transition: color .2s; }
.tn-menu > a:hover, .tn-menu > a.on, .tn-menu-bt:hover, .tn-menu-bt.on, .tn-cats.aberto .tn-menu-bt { color: var(--tn-acc); }
.tn-menu-bt svg { transition: transform .2s; }
.tn-cats { position: relative; height: 100%; display: flex; align-items: center; }
.tn-cats.aberto .tn-menu-bt svg { transform: rotate(180deg); }
.tn-cats-painel { position: absolute; top: calc(100% - 10px); left: -20px; width: min(660px, 86vw); padding: 18px; border-radius: 16px; background: rgba(22, 22, 22, .97); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); border: 1px solid rgba(255, 255, 255, .08); box-shadow: 0 24px 60px rgba(0, 0, 0, .65); opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .18s, transform .18s, visibility .18s; }
.tn-cats.aberto .tn-cats-painel { opacity: 1; visibility: visible; transform: none; }
.tn-cats-grade { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2px 10px; }
.tn-cats-grade a { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 9px 12px; border-radius: 10px; color: rgba(255, 255, 255, .8); font-size: 15px; font-weight: 500; }
.tn-cats-grade a:hover { background: rgba(255, 255, 255, .08); color: #fff; }
.tn-cats-grade small { color: rgba(255, 255, 255, .38); font-size: 12px; font-weight: 500; }
.tn-cats-pe { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, .08); }
.tn-cats-grade:empty + .tn-cats-pe { margin-top: 0; padding-top: 0; border-top: 0; }
.tn-cats-pe a { padding: 8px 14px; border-radius: 999px; background: rgba(255, 255, 255, .08); color: rgba(255, 255, 255, .85); font-size: 13px; font-weight: 600; }
.tn-cats-pe a:hover { background: rgba(255, 255, 255, .16); color: #fff; }
.tn-cats-pe .tn-cats-todas { margin-left: auto; background: var(--tn-acc); color: #fff; }
.tn-cats-pe .tn-cats-todas:hover { background: var(--tn-acc-esc); }

.tn-dir { display: flex; align-items: center; gap: 12px; flex: 0 0 auto; }
.tn .tn-busca { position: relative; flex: none; width: 240px; max-width: none; height: 40px; margin: 0; padding: 0 12px 0 14px; gap: 8px; border-radius: 999px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .08); transition: width .25s ease, background .2s, border-color .2s; }
.tn .tn-busca:focus-within { width: 320px; background: rgba(0, 0, 0, .55); border-color: rgba(255, 255, 255, .35); }
.tn .tn-busca svg { color: rgba(255, 255, 255, .6); }
.tn .tn-busca input { height: 38px; color: #fff; font-size: 14px; }
.tn .tn-busca input::placeholder { color: rgba(255, 255, 255, .5); }
.tn .tn-busca input::-webkit-search-cancel-button { display: none; }
.tn .tn-busca .nav-search-close { display: none; }
.tn-icobt { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: #fff; cursor: pointer; transition: background .2s, color .2s; }
.tn-icobt:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.tn .nav-search-toggle { display: none; }
.tn-vip { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 14px; border-radius: 999px; background: linear-gradient(135deg, #ffd88a, #e8a93a); color: #3a2300; font-size: 13px; font-weight: 800; white-space: nowrap; box-shadow: 0 4px 16px rgba(232, 169, 58, .25); transition: filter .2s; }
.tn-vip:hover { color: #3a2300; filter: brightness(1.08); }
.tn-vip.ativo { background: rgba(255, 216, 138, .14); color: #ffd88a; box-shadow: inset 0 0 0 1px rgba(255, 216, 138, .45); }
.tn-vip.ativo:hover { color: #ffe3a8; }
.tn-admin { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 12px; border-radius: 999px; background: rgba(255, 255, 255, .1); color: #fff; font-size: 13px; font-weight: 700; }
.tn-admin:hover { background: rgba(255, 255, 255, .18); color: #fff; }

/* sugestões da busca */
.tn .nav-sug { top: calc(100% + 10px); left: auto; right: 0; width: 380px; padding: 8px; border-radius: 16px; background: rgba(22, 22, 22, .98); border: 1px solid rgba(255, 255, 255, .08); box-shadow: 0 24px 60px rgba(0, 0, 0, .65); }
.tn .nav-sug-it { color: #fff; }
.tn .nav-sug-it:hover, .tn .nav-sug-it.sel { background: rgba(255, 255, 255, .08); color: #fff; }
.tn .nav-sug-capa { background: #222; }
.tn .nav-sug-t span { color: var(--tn-mut); }
.tn .nav-sug-todos { color: var(--tn-acc); }

/* atalhos de cima (celular, só na home) */
.tn-abas { display: none; }

@media (max-width: 1279px) {
  .tn-esq, .tn-menu { gap: 24px; }
  .tn-menu > a[href$="minha-lista"] { display: none; }
  .tn-admin { width: 36px; padding: 0; justify-content: center; }
  .tn-admin span { display: none; }
  .tn .tn-busca { width: 200px; }
  .tn .tn-busca:focus-within { width: 280px; }
}
@media (min-width: 1280px) { .tn-esq, .tn-menu { gap: 40px; } }
@media (max-width: 1023px) {
  .tn-menu > a, .tn-menu-bt { font-size: 16px; }
  .tn-esq, .tn-menu { gap: 18px; }
  .tn-menu > a[href$="minha-lista"] { display: none; }
  .tn-cats-painel { width: min(560px, calc(100vw - 190px)); }
  .tn-cats-grade { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tn .tn-busca { display: none; }
  .tn .nav-search-toggle { display: inline-flex; }
  .tn .tn-busca.open { display: flex; position: absolute; left: 2vw; right: 2vw; top: calc((var(--tn-h) - 44px) / 2); width: auto; height: 44px; z-index: 5; background: rgba(20, 20, 20, .98); border-color: rgba(255, 255, 255, .25); }
  .tn .tn-busca.open .nav-search-close { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border: 0; border-radius: 50%; background: transparent; color: #fff; cursor: pointer; position: static; clip: auto; overflow: visible; white-space: normal; }
  .tn .nav-sug { width: auto; left: 0; right: 0; }
  .tn-admin span { display: none; }
}
@media (max-width: 767px) {
  .tn-header-in { padding: 0 var(--tn-pad); gap: 10px; }
  .tn-menu { display: none; }
  .tn-logo img { height: 30px; }
  .tn-dir { gap: 6px; }
  .tn-vip { height: 32px; padding: 0 11px; font-size: 12px; }
  .tn-vip.ativo span { display: none; }
  .tn-vip.ativo { width: 32px; padding: 0; justify-content: center; }
  .tn-admin { width: 34px; height: 34px; padding: 0; justify-content: center; }
  .tn-icobt { width: 36px; height: 36px; }
  .tn .tn-busca.open { left: 10px; right: 10px; }
  .tn .nav-sug { position: fixed; left: 10px; right: 10px; top: calc(var(--tn-h) + 6px); }
  .tn-abas { position: relative; z-index: 1; display: flex; gap: 22px; height: 40px; padding: 0 var(--tn-pad); overflow-x: auto; scrollbar-width: none; }
  .tn-abas::-webkit-scrollbar { display: none; }
  .tn-abas a { flex: 0 0 auto; display: flex; align-items: center; height: 100%; color: rgba(255, 255, 255, .72); font-size: 15px; font-weight: 600; white-space: nowrap; border-bottom: 2px solid transparent; }
  .tn-abas a.on { color: #fff; font-weight: 700; border-bottom-color: var(--tn-acc); }
}

.tn-flashes { margin-top: 16px; position: relative; z-index: 2; }
.tn .flash { border-radius: 12px; background: var(--tn-sup); border-color: var(--tn-linha); color: #fff; }
.tn .flash-erro { border-color: var(--tn-acc); color: var(--tn-acc-clara); }

/* ---------- Banner do topo (hero) ---------- */
.tn-hero { position: relative; width: 100%; overflow: hidden; background: #000; margin-top: calc(var(--tn-htot, var(--tn-h)) * -1 - 1px); }
@media (max-width: 767px) { body.tn-com-abas { --tn-htot: calc(var(--tn-h) + 40px); } }
.tn-hero::before { content: ""; display: block; padding-top: max(33.333%, 480px); }
.tn-hero-palco { position: absolute; inset: 0; overflow: hidden; contain: paint; }
.tn-slide { position: absolute; inset: 0; display: block; color: #fff; opacity: 0; z-index: 0; pointer-events: none; transition: opacity .6s ease-out; background: #000; }
.tn-slide.on { opacity: 1; z-index: 1; pointer-events: auto; }
.tn-slide:hover { color: #fff; }
.tn-slide picture { display: contents; }
.tn-slide-arte, .tn-slide-fundo, .tn-slide-vazio { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tn-slide-vazio { border-radius: 0; }
/* sem banner horizontal: capa desfocada no fundo + capa nítida à direita, apagando para a esquerda */
.tn-slide:not(.com-banner) .tn-slide-fundo { transform: scale(1.2); filter: blur(34px) brightness(.5) saturate(1.2); }
.tn-slide:not(.com-banner) .tn-slide-arte { left: auto; right: 0; width: 64%; object-position: center 22%; -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 38%); mask-image: linear-gradient(90deg, transparent 0%, #000 38%); }
.tn-grad { position: absolute; pointer-events: none; }
.tn-grad-topo { left: 0; right: 0; top: 0; height: 170px; background: linear-gradient(180deg, rgba(0, 0, 0, .5), transparent); }
.tn-grad-base { left: 0; right: 0; bottom: 0; height: 40%; background: linear-gradient(180deg, transparent, #000); }
.tn-grad-esq { left: 0; top: 0; bottom: 0; width: 50%; background: linear-gradient(90deg, rgba(0, 0, 0, .8), transparent); }
.tn-slide-info { position: absolute; left: 6vw; bottom: max(15%, 84px); z-index: 2; width: 280px; display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.tn-slide-titulo { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; width: 100%; color: rgba(255, 255, 255, .92); font-size: 28px; font-weight: 700; line-height: 1.2; overflow-wrap: anywhere; text-shadow: 0 2px 18px rgba(0, 0, 0, .35); }
.tn-slide-tags { display: flex; flex-wrap: wrap; gap: 8px; max-width: 100%; margin-top: -8px; }
.tn-tag { max-width: 160px; padding: 5px 12px; border-radius: 20px; background: rgba(255, 255, 255, .15); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); color: rgba(255, 255, 255, .9); font-size: 14px; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tn-tag-acc { background: var(--tn-acc); color: #fff; font-weight: 600; }
.tn-slide-sinopse { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-top: -8px; color: rgba(255, 255, 255, .7); font-size: 14px; line-height: 1.5; }
.tn-play { display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: 200px; height: 48px; border-radius: 24px; background: #fff; color: #000; font-size: 18px; font-weight: 700; transition: background-color .2s ease-out, color .2s ease-out; }
.tn-slide:hover .tn-play, .tn-play:hover { background: var(--tn-acc); color: rgba(255, 255, 255, .92); }
.tn-play svg { width: 22px; height: 22px; }
@media (min-width: 1024px) {
  .tn-slide-info { width: 480px; gap: 22px; }
  .tn-slide-titulo { font-size: 32px; }
  .tn-play { width: 220px; height: 56px; border-radius: 28px; }
}
@media (min-width: 1280px) {
  .tn-slide-info { width: 544px; gap: 30px; }
  .tn-slide-titulo { font-size: 40px; }
  .tn-tag, .tn-slide-sinopse { font-size: 16px; }
  .tn-play { width: 260px; height: 64px; border-radius: 32px; font-size: 22px; }
  .tn-play svg { width: 26px; height: 26px; }
}
@media (min-width: 1680px) {
  .tn-slide-info { width: 730px; gap: 36px; }
  .tn-slide-titulo { font-size: 48px; }
  .tn-tag { padding: 6px 16px; border-radius: 26px; font-size: 18px; max-width: 220px; }
  .tn-slide-sinopse { font-size: 19px; }
  .tn-play { width: 320px; height: 76px; border-radius: 38px; font-size: 24px; }
}

.tn-hero-ctrl { position: absolute; inset: 0; z-index: 5; pointer-events: none; }
.tn-dots { display: none; }
.tn-minis { position: absolute; right: 6vw; bottom: 28px; display: flex; align-items: center; gap: 6px; pointer-events: auto; }
.tn-minis-janela { width: 362px; overflow: hidden; padding: 2px 0; }
.tn-minis-trilho { display: flex; gap: 8px; transition: transform .4s ease-out; }
.tn-mini { position: relative; flex: none; width: 66px; height: 88px; padding: 0; border: 0; border-radius: 8px; overflow: hidden; background: #111; cursor: pointer; }
.tn-mini img, .tn-mini .pz { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 0; transition: transform .3s ease-out; }
.tn-mini::after { content: ""; position: absolute; inset: 0; border: 2px solid transparent; border-radius: inherit; background: rgba(0, 0, 0, 0); transition: border-color .3s, background .3s; }
.tn-mini:hover img, .tn-mini.on img { transform: scale(1.05); }
.tn-mini:hover::after, .tn-mini.on::after { border-color: #fff; background: rgba(0, 0, 0, .4); }
.tn-mini.on::after { background: rgba(0, 0, 0, .15); }
.tn-minis-seta { display: flex; align-items: center; justify-content: center; width: 32px; height: 32px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: #fff; opacity: .7; cursor: pointer; transition: opacity .2s; }
.tn-minis-seta:hover { opacity: 1; }
.tn-minis-seta[hidden] { display: flex; visibility: hidden; }
@media (min-width: 1024px) {
  .tn-minis-janela { width: 468px; }
  .tn-minis-trilho { gap: 12px; }
  .tn-mini { width: 84px; height: 112px; }
}
@media (min-width: 1280px) {
  .tn-minis-janela { width: 528px; }
  .tn-mini { width: 96px; height: 128px; border-radius: 12px; }
}

@media (max-width: 767px) {
  .tn-hero::before { padding-top: 122.667%; }
  .tn-slide .tn-slide-fundo { display: none; }
  .tn-slide:not(.com-banner) .tn-slide-arte, .tn-slide .tn-slide-arte { left: 0; width: 100%; object-position: center top; -webkit-mask-image: none; mask-image: none; }
  .tn-grad-topo { height: 32vw; }
  .tn-grad-base { height: 50%; background: linear-gradient(180deg, transparent, rgba(0, 0, 0, .75) 55%, #000); }
  .tn-grad-esq { display: none; }
  .tn-slide-info { left: 0; right: 0; bottom: 8vw; width: auto; align-items: center; gap: 4.3vw; padding: 0 var(--tn-pad); text-align: center; }
  .tn-slide-titulo { font-size: 6.4vw; text-align: center; }
  .tn-slide-tags { justify-content: center; gap: 1.6vw; margin-top: -2vw; flex-wrap: nowrap; }
  .tn-tag { max-width: 40vw; padding: 1.07vw 2.13vw; border-radius: 3.2vw; font-size: 3.2vw; }
  .tn-slide-sinopse { display: none; }
  .tn-play { width: 44.8vw; height: 10.67vw; border-radius: 5.33vw; font-size: 4.27vw; gap: 1.07vw; }
  .tn-play svg { width: 4.27vw; height: 4.27vw; }
  .tn-minis { display: none; }
  .tn-dots { position: absolute; left: 0; right: 0; bottom: 2.67vw; display: flex; justify-content: center; align-items: center; gap: 1.6vw; height: 1.07vw; pointer-events: auto; }
  .tn-dots button { position: relative; width: 3.2vw; height: 1.07vw; padding: 0; border: 0; border-radius: 1.07vw; background: rgba(255, 255, 255, .3); overflow: hidden; cursor: pointer; transition: width .3s; }
  .tn-dots button.on { width: 8.53vw; }
  .tn-dots button i { position: absolute; inset: 0; background: #fff; border-radius: inherit; transform: scaleX(0); transform-origin: left; }
  .tn-dots button.on i { animation: tn-dot var(--tn-tempo, 5s) linear forwards; }
  .tn-hero.pausado .tn-dots button.on i { animation-play-state: paused; }
  .tn-dots button.feito i { transform: scaleX(1); }
}
@keyframes tn-dot { to { transform: scaleX(1); } }
@media (prefers-reduced-motion: reduce) { .tn-slide { transition: none; } .tn-dots button.on i { animation: none; transform: scaleX(1); } }

/* ---------- Prateleiras ---------- */
.tn-prateleiras { position: relative; z-index: 2; padding: 40px 0 24px; }
.tn-prateleiras.sem-hero { padding-top: 24px; }
.tn-shelf { --gut: .625vw; --cols: 6; position: relative; margin-bottom: 42px; }
.tn-shelf.hidden { display: none; }
.tn-shelf-topo { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 0 var(--tn-pad); margin-bottom: 24px; }
.tn-shelf-topo h2 { min-width: 0; color: rgba(255, 255, 255, .8); font-size: 24px; font-weight: 700; line-height: 1.25; }
.tn-shelf-topo h2 a { color: inherit; transition: color .2s; }
.tn-shelf-topo h2 a:hover { color: var(--tn-acc); }
.tn-ver { flex: 0 0 auto; align-self: flex-end; display: inline-flex; align-items: center; gap: 2px; color: var(--tn-mut); font-size: 16px; font-weight: 400; transition: color .2s; }
.tn-ver:hover { color: var(--tn-acc); }
.tn-trilho-wrap { position: relative; overflow: hidden; }
.tn-trilho { display: flex; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scroll-padding: 0 calc(var(--tn-pad) - var(--gut)); padding: 0 calc(var(--tn-pad) - var(--gut)) 6px; scrollbar-width: none; overscroll-behavior-x: contain; }
.tn-trilho::-webkit-scrollbar { display: none; }
.tn-trilho > * { flex: 0 0 calc(100% / var(--cols)); scroll-snap-align: start; padding: 0 var(--gut); }
.tn-seta { position: absolute; top: 0; bottom: 70px; z-index: 6; width: calc(var(--tn-pad) - var(--gut)); display: flex; align-items: center; justify-content: center; padding: 0; border: 0; background: transparent; color: #fff; cursor: pointer; opacity: 0; transition: opacity .2s; }
.tn-seta svg { width: 56px; height: 56px; padding: 15px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .7); background: rgba(0, 0, 0, .1); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); transition: background .2s, border-color .2s; flex: none; }
.tn-seta:hover svg { background: rgba(255, 255, 255, .2); border-color: rgba(255, 255, 255, .9); }
.tn-seta-esq { left: 0; }
.tn-seta-dir { right: 0; }
.tn-seta[hidden] { display: none; }
.tn-shelf:hover .tn-seta, .tn-seta:focus-visible { opacity: 1; }
@media (hover: none) { .tn-seta { display: none !important; } }
@media (max-width: 1679px) { .tn-shelf { --cols: 6; } }
@media (max-width: 1439px) { .tn-shelf { --cols: 5; } }
@media (max-width: 1023px) { .tn-shelf { --cols: 4; } .tn-seta svg { width: 44px; height: 44px; padding: 11px; } }
@media (max-width: 767px) {
  .tn-prateleiras { padding-top: 22px; }
  .tn-shelf { --cols: 3; --gut: 1.07vw; margin-bottom: 26px; }
  .tn-shelf-topo { margin-bottom: 12px; }
  .tn-shelf-topo h2 { font-size: 4.27vw; }
  .tn-ver { font-size: 3.2vw; }
  /* espia o próximo card no celular */
  .tn-trilho > * { flex-basis: calc(100% / 3.25); }
}
@media (min-width: 1280px) { .tn-shelf-topo h2 { font-size: 28px; } }

/* card de série */
.tn-item { position: relative; min-width: 0; }
.tn-poster { position: relative; display: block; aspect-ratio: 2 / 3; border-radius: 16px; overflow: hidden; background: #111; transition: transform .5s ease; }
.tn-poster img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.tn-item:hover .tn-poster img { transform: scale(1.04); }
.tn-selo { position: absolute; left: 6px; top: 6px; z-index: 2; padding: 2px 8px; border-radius: 10px; background: rgba(0, 0, 0, .62); color: #fff; font-size: 12px; font-weight: 500; line-height: 16px; white-space: nowrap; pointer-events: none; }
.tn-selo-dublado { background: var(--tn-dublado); }
.tn-selo-brasileira { background: #179a59; }
.tn-vistos { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; display: flex; align-items: center; justify-content: flex-end; gap: 3px; height: 30px; padding-right: 8px; background: linear-gradient(180deg, transparent, rgba(0, 0, 0, .55)); color: #fff; font-size: 12px; pointer-events: none; }
.tn-prog { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; height: 3px; background: rgba(255, 255, 255, .2); }
.tn-prog i { display: block; height: 100%; background: var(--tn-acc); }
.tn-prog ~ .tn-vistos, .tn-vistos:has(~ .tn-prog) { bottom: 3px; }
.tn-nome { margin-top: 12px; color: rgba(255, 255, 255, .8); font-size: 14px; font-weight: 400; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; }
.tn-nome a { color: inherit; transition: color .2s; }
.tn-nome a:hover { color: #fff; }
.tn-linha-tags-txt { margin: 8px 0 0; color: var(--tn-mut); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (min-width: 1280px) { .tn-nome { font-size: 16px; } .tn-linha-tags-txt { font-size: 14px; } }
@media (max-width: 767px) {
  .tn-poster { border-radius: 2.13vw; }
  .tn-selo { left: .53vw; top: .53vw; padding: 0 1.07vw; border-radius: 2.67vw; font-size: 2.67vw; line-height: 3.73vw; }
  .tn-vistos { height: 6.4vw; font-size: 2.67vw; padding-right: 1.6vw; }
  .tn-nome { margin-top: 2.13vw; font-size: 3.47vw; }
  .tn-linha-tags-txt { display: none; }
}

/* ranking (Em alta): número grande sobre o canto da capa */
.tn-shelf-rank .tn-item { container-type: inline-size; }
.tn-shelf-rank .tn-item:has(.tn-num) .tn-nome, .tn-shelf-rank .tn-item:has(.tn-num) .tn-linha-tags-txt { padding-left: 20%; }
.tn-num { position: absolute; left: calc(var(--gut) - 5cqw); top: 134cqw; z-index: 4; transform: translateY(-50%); color: #e0e0e0; font-family: 'Noto Sans', sans-serif; font-size: 37cqw; font-weight: 900; font-style: italic; line-height: 1; letter-spacing: -.02em; pointer-events: none; text-shadow: 0 6px 18px rgba(0, 0, 0, .55); }
.tn-num-1, .tn-num-2, .tn-num-3 { color: transparent; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; text-shadow: none; filter: drop-shadow(0 6px 14px rgba(0, 0, 0, .55)); }
.tn-num-1 { background-image: linear-gradient(180deg, #ffeac1 26%, #ffb629 74%); }
.tn-num-2 { background-image: linear-gradient(182deg, #fff 27%, #99adc4 73%); }
.tn-num-3 { background-image: linear-gradient(180deg, #fff 25%, #bb8f67 74%); }
.tn-num-4 { color: #e6e6e6; -webkit-text-stroke: 0; }

/* shorts nas prateleiras e na página */
.tn-shelf-shorts { --cols: 7; }
@media (max-width: 1439px) { .tn-shelf-shorts { --cols: 6; } }
@media (max-width: 1023px) { .tn-shelf-shorts { --cols: 5; } }

.tn .ams-card { display: block; position: relative; width: auto; height: auto; aspect-ratio: 9 / 16; border-radius: 16px; overflow: hidden; background: #111; box-shadow: none; }
.tn .tn-trilho > .ams-card { margin: 0 var(--gut); padding: 0; flex-basis: calc(100% / var(--cols) - var(--gut) * 2); }
@media (max-width: 767px) { .tn .tn-trilho > .ams-card { flex-basis: calc(100% / 3.25 - var(--gut) * 2); border-radius: 2.13vw; } }
.tn .ams-card img { transition: transform .5s ease; }
.tn .ams-card:hover img { transform: scale(1.04); }
.tn .ams-dur { background: rgba(0, 0, 0, .55); color: #fff; }
.tn .ams-info { background: linear-gradient(180deg, transparent, rgba(0, 0, 0, .85)); }
.tn .ams-info b { color: #fff; font-weight: 600; }
.tn .ams-badge { background: var(--tn-dublado); color: #fff; }
.tn-shorts-grade { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 24px 1.25vw; }
@media (max-width: 767px) { .tn-shorts-grade { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px 8px; } }

/* cartão que abre ao passar o mouse (computador) */
.tn-hc { position: absolute; z-index: 150; width: 260px; padding: 12px; border-radius: 18px; overflow: hidden; isolation: isolate; background: #17110f; color: #fff; box-shadow: 0 26px 64px rgba(0, 0, 0, .72); opacity: 0; transform: scale(.9); transform-origin: center 30%; transition: opacity .22s ease, transform .22s ease; pointer-events: none; }
.tn-hc.on { opacity: 1; transform: none; pointer-events: auto; }
/* fundo: a própria capa bem desfocada, escurecendo para baixo (como o cartão de referência) */
.tn-hc::before { content: ""; position: absolute; inset: -70px; z-index: -2; background: var(--hc-capa) center / cover no-repeat; filter: blur(48px) saturate(1.35); }
.tn-hc::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(16, 11, 9, .32) 0%, rgba(16, 11, 9, .6) 52%, rgba(12, 9, 8, .86) 100%); }
.tn-hc-capa { position: relative; display: block; aspect-ratio: 2 / 3; border-radius: 12px; overflow: hidden; background: rgba(255, 255, 255, .06); box-shadow: 0 10px 26px rgba(0, 0, 0, .35); }
.tn-hc-capa img { display: block; width: 100%; height: 100%; object-fit: cover; }
.tn-hc-capa .pz-title { font-size: 18px; }
.tn-hc-vistos { position: absolute; right: 10px; bottom: 9px; display: inline-flex; align-items: center; gap: 5px; color: #fff; font-size: 13px; font-weight: 600; text-shadow: 0 1px 6px rgba(0, 0, 0, .85); }
.tn-hc-vistos svg { filter: drop-shadow(0 1px 3px rgba(0, 0, 0, .7)); }
.tn-hc-corpo { padding: 12px 4px 2px; }
.tn-hc-titulo { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; color: #fff !important; font-size: 16px; font-weight: 700; line-height: 1.35; }
.tn-hc-titulo:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.tn-hc-tags { margin: 8px 0 0; overflow: hidden; color: rgba(255, 255, 255, .55); font-size: 13px; line-height: 1.4; white-space: nowrap; text-overflow: ellipsis; }
.tn-hc-tags i { padding: 0 6px; font-style: normal; color: rgba(255, 255, 255, .3); }
.tn-hc-sin { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; margin: 8px 0 0; color: rgba(255, 255, 255, .62); font-size: 13px; line-height: 1.5; }
.tn-hc-acoes { display: flex; align-items: center; gap: 14px; margin-top: 14px; }
.tn-hc-play, .tn-hc-bt { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; padding: 0; border: 0; border-radius: 50%; cursor: pointer; transition: background .2s, color .2s, transform .15s; }
.tn-hc-play { background: #fff; color: #111 !important; }
.tn-hc-play:hover { background: var(--tn-acc); color: #fff !important; }
.tn-hc-bt { background: rgba(255, 255, 255, .16); color: #fff; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.tn-hc-bt:hover { background: rgba(255, 255, 255, .28); }
.tn-hc-play:active, .tn-hc-bt:active { transform: scale(.94); }
.tn-hc-bt.on { color: var(--tn-acc); background: rgba(255, 255, 255, .92); }
.tn-hc-bt.on svg path { fill: currentColor; }

/* faixa VIP */
.tn-vip-slot { margin-bottom: 42px; }
.tn-vipfaixa { position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: center; gap: 24px; padding: 22px 28px; border-radius: 20px; background: radial-gradient(120% 140% at 100% 0%, rgba(var(--tn-acc-rgb), .38), transparent 55%), linear-gradient(120deg, #1b1b1b, #121212); border: 1px solid rgba(255, 255, 255, .08); color: #fff; }
.tn-vipfaixa:hover { color: #fff; border-color: rgba(255, 255, 255, .16); }
.tn-vipfaixa-coroa { flex: none; width: 96px; height: auto; filter: drop-shadow(0 10px 20px rgba(0, 0, 0, .5)); }
.tn-vipfaixa-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.tn-vipfaixa-txt b { font-size: clamp(18px, 1.8vw, 26px); font-weight: 700; line-height: 1.2; }
.tn-vipfaixa-txt span { color: var(--tn-txt2); font-size: 15px; }
.tn-vipfaixa-txt strong { color: #ffd88a; }
.tn-vipfaixa-cta { flex: none; display: inline-flex; align-items: center; justify-content: center; height: 52px; padding: 0 30px; border-radius: 26px; background: #fff; color: #000; font-size: 17px; font-weight: 700; transition: background .2s, color .2s; }
.tn-vipfaixa:hover .tn-vipfaixa-cta { background: var(--tn-acc); color: #fff; }
.tn-vipfaixa.vertical { flex-direction: column; align-items: stretch; text-align: center; gap: 12px; padding: 20px; }
.tn-vipfaixa.vertical .tn-vipfaixa-coroa { width: 72px; margin: 0 auto; }
.tn-vipfaixa.vertical .tn-vipfaixa-txt b { font-size: 18px; }
.tn-vipfaixa.vertical .tn-vipfaixa-txt span { font-size: 13px; }
.tn-vipfaixa.vertical .tn-vipfaixa-cta { height: 44px; font-size: 15px; }
@media (max-width: 767px) {
  .tn-vip-slot { margin-bottom: 26px; }
  .tn-vipfaixa { flex-wrap: wrap; gap: 14px; padding: 16px; border-radius: 16px; }
  .tn-vipfaixa-coroa { width: 60px; }
  .tn-vipfaixa-txt { flex-basis: 60%; }
  .tn-vipfaixa-txt b { font-size: 16px; }
  .tn-vipfaixa-txt span { font-size: 13px; }
  .tn-vipfaixa-cta { width: 100%; height: 44px; font-size: 15px; }
}

/* ---------- Páginas de lista (categoria, todos, minha lista, busca) ---------- */
.tn-pagina { padding: 24px 0 96px; }
.tn-migalhas { display: flex; align-items: center; flex-wrap: wrap; gap: 0; color: var(--tn-mut); font-size: 14px; line-height: 1.5; }
.tn-migalhas a { color: var(--tn-mut); transition: color .2s; }
.tn-migalhas a:hover { color: #fff; }
.tn-migalhas > span:not(.atual) { margin: 0 8px; }
.tn-migalhas .atual { max-width: 260px; color: rgba(255, 255, 255, .8); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tn-pagina-topo { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 12px; margin: 24px 0 16px; }
.tn-pagina-topo h1 { color: rgba(255, 255, 255, .9); font-size: 24px; font-weight: 700; line-height: 1.3; }
.tn-pagina-topo p { margin: 0; min-width: 0; color: var(--tn-mut); font-size: 13px; }
.tn-pagina-topo p a { color: var(--tn-acc); }
.tn-filtros { display: flex; gap: 8px; flex-wrap: wrap; margin: 0 0 24px; }
.tn-filtros a, .tn .tn-filtros .chip { display: inline-flex; align-items: center; height: 36px; padding: 0 16px; border-radius: 999px; border: 1px solid transparent; background: rgba(255, 255, 255, .1); color: rgba(255, 255, 255, .75); font-size: 14px; font-weight: 500; transition: background .2s, color .2s, border-color .2s; }
.tn-filtros a:hover { background: rgba(255, 255, 255, .18); color: #fff; }
.tn-filtros a.on, .tn .tn-filtros .chip.on { border-color: var(--tn-acc); background: rgba(var(--tn-acc-rgb), .2); color: var(--tn-acc); }
.tn .chips.tn-filtros { justify-content: flex-start; overflow: visible; padding: 0; width: auto; }

.tn-cards { display: flex; flex-direction: column; gap: 16px; }
@media (min-width: 1440px) { .tn-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; } }
.tn-card { display: flex; height: 288px; border-radius: 16px; overflow: hidden; background: var(--tn-sup); }
.tn-card-capa { position: relative; flex: 0 0 192px; height: 100%; border-radius: 16px; overflow: hidden; background: #111; }
.tn-card-capa img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.tn-card:hover .tn-card-capa img { transform: scale(1.04); }
.tn-card-corpo { flex: 1; min-width: 0; display: flex; flex-direction: column; justify-content: space-between; padding: 20px; }
.tn-card-titulo { color: rgba(255, 255, 255, .85); font-size: 18px; font-weight: 600; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.tn-card-titulo a { color: inherit; transition: color .2s; }
.tn-card-titulo a:hover { color: #fff; }
.tn-card-sinopse { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; margin: 12px 0 0; color: var(--tn-mut); font-size: 13px; line-height: 1.55; }
.tn-card-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.tn-card-tags span { padding: 4px 12px; border-radius: 999px; background: rgba(255, 255, 255, .1); color: rgba(255, 255, 255, .7); font-size: 12px; }
.tn-card-base { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
.tn-card-stats { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 22px; color: var(--tn-mut); font-size: 14px; }
.tn-stat { display: inline-flex; align-items: center; gap: 4px; }
.tn-btn-play { flex: none; display: inline-flex; align-items: center; justify-content: center; gap: 6px; width: 160px; height: 48px; border-radius: 32px; background: rgba(255, 255, 255, .9); color: rgba(0, 0, 0, .9) !important; font-size: 16px; font-weight: 700; transition: background .2s, color .2s; }
.tn-btn-play:hover { background: var(--tn-acc); color: rgba(255, 255, 255, .92) !important; }
@media (max-width: 767px) {
  .tn-pagina { padding: 16px 0 40px; }
  .tn-migalhas { font-size: 12px; }
  .tn-pagina-topo { margin: 16px 0 12px; }
  .tn-pagina-topo h1 { font-size: 18px; }
  .tn-filtros { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 calc(var(--tn-pad) * -1) 16px; padding: 0 var(--tn-pad); }
  .tn-filtros::-webkit-scrollbar { display: none; }
  .tn-filtros a, .tn .tn-filtros .chip { flex: none; height: 32px; padding: 0 14px; font-size: 13px; }
  .tn-card { height: 38.4vw; max-height: 210px; background: transparent; border-radius: 0; gap: 2.13vw; }
  .tn-card-capa { flex-basis: 25.6vw; max-width: 140px; border-radius: 2.13vw; }
  .tn-card-corpo { padding: 0; justify-content: flex-start; }
  .tn-card-titulo { -webkit-line-clamp: 2; font-size: 3.73vw; font-weight: 500; color: rgba(255, 255, 255, .9); }
  .tn-card-stats { gap: 4px 14px; margin-top: 2.13vw; font-size: 3.2vw; }
  .tn-card-stats svg { width: 3.2vw; height: 3.2vw; }
  .tn-card-sinopse { -webkit-line-clamp: 2; margin-top: 2.13vw; font-size: 3.2vw; }
  .tn-card-base { margin-top: auto; }
  .tn-btn-play { width: auto; height: 8vw; min-width: 28.5vw; padding: 0 2.67vw; border-radius: 4vw; font-size: 3.47vw; }
  .tn-btn-play svg { width: 3.47vw; height: 3.47vw; }
}

/* paginação */
.tn-pag { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 46px; color: #fff; }
.tn-pag-nums { display: flex; align-items: center; gap: 8px; }
.tn-pag-n, .tn-pag-reti, .tn-pag-seta { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; font-size: 14px; font-weight: 500; }
.tn-pag-n { border: .5px solid transparent; background: rgba(255, 255, 255, .1); color: rgba(255, 255, 255, .9); transition: background .2s, color .2s, border-color .2s; }
a.tn-pag-n:hover, .tn-pag-n.on { border-color: var(--tn-acc); background: rgba(var(--tn-acc-rgb), .2); color: var(--tn-acc); }
.tn-pag-n.on { cursor: default; }
.tn-pag-seta { color: #fff; transition: background .2s; }
a.tn-pag-seta:hover { background: rgba(255, 255, 255, .1); color: #fff; }
.tn-pag-seta.off { opacity: .35; }

/* grade de capas (busca) */
.tn-grade { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 30px 1.25vw; }
@media (max-width: 1439px) { .tn-grade { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
@media (max-width: 1023px) { .tn-grade { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 767px) { .tn-grade { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px 8px; } }

.tn-busca-grande { display: flex; align-items: center; gap: 12px; margin-top: 20px; height: 56px; padding: 0 8px 0 20px; border-radius: 28px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .12); max-width: 760px; }
.tn-busca-grande:focus-within { border-color: rgba(255, 255, 255, .4); }
.tn-busca-grande svg { flex: none; color: var(--tn-mut); }
.tn-busca-grande input { flex: 1; min-width: 0; height: 100%; border: 0; background: transparent; color: #fff; font: inherit; font-size: 16px; outline: none; }
.tn-busca-grande input::placeholder { color: var(--tn-mut); }
.tn-busca-grande button { flex: none; height: 42px; padding: 0 22px; border: 0; border-radius: 21px; background: #fff; color: #000; font-size: 15px; font-weight: 700; cursor: pointer; transition: background .2s, color .2s; }
.tn-busca-grande button:hover { background: var(--tn-acc); color: #fff; }
@media (max-width: 767px) { .tn-busca-grande { height: 48px; padding-left: 14px; } .tn-busca-grande button { height: 36px; padding: 0 14px; font-size: 14px; } }

/* categorias */
.tn-cat-grade { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.tn-cat { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 150px; padding: 0 0 0 24px; border-radius: 16px; overflow: hidden; background: var(--tn-sup); color: #fff; transition: background .2s; }
.tn-cat:hover { background: #1c1c1c; color: #fff; }
.tn-cat-txt { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.tn-cat-txt b { font-size: 20px; font-weight: 700; line-height: 1.25; }
.tn-cat-txt span { color: var(--tn-mut); font-size: 13px; }
.tn-cat:hover .tn-cat-txt b { color: var(--tn-acc); }
.tn-cat-capas { position: relative; flex: 0 0 150px; height: 100%; }
.tn-cat-capas img, .tn-cat-capas .pz { position: absolute; top: 18px; right: calc(16px + var(--k, 0) * 30px); width: 76px; height: 114px; object-fit: cover; border-radius: 10px; box-shadow: -8px 8px 20px rgba(0, 0, 0, .5); transform: rotate(calc((var(--k, 0) - 1) * -6deg)); transition: transform .3s ease; }
.tn-cat:hover .tn-cat-capas img { transform: rotate(calc((var(--k, 0) - 1) * -9deg)) translateY(-4px); }
.tn-cat-capas .pz { right: 24px; }
@media (max-width: 767px) { .tn-cat-grade { grid-template-columns: 1fr 1fr; gap: 10px; } .tn-cat { height: 120px; padding-left: 14px; } .tn-cat-txt b { font-size: 15px; } .tn-cat-capas { flex-basis: 70px; } .tn-cat-capas img, .tn-cat-capas .pz { width: 50px; height: 75px; top: 22px; right: calc(8px + var(--k, 0) * 14px); } }

/* ---------- Série ---------- */
.tn-serie { position: relative; overflow: hidden; margin-top: calc(var(--tn-h) * -1 - 1px); padding-top: var(--tn-h); }
.tn-serie-fundo { position: absolute; inset: 0; z-index: 0; overflow: hidden; contain: paint; }
.tn-serie-fundo img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.15); filter: blur(40px) brightness(.4) saturate(1.2); }
.tn-serie-fundo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .35), rgba(0, 0, 0, .55) 60%, #000), linear-gradient(90deg, rgba(0, 0, 0, .6), transparent 70%); }
.tn-serie-in { position: relative; z-index: 1; padding: 24px 0 48px; }
.tn-serie-grade { display: flex; gap: 40px; margin-top: 28px; align-items: flex-start; }
.tn-serie-capa { position: relative; flex: 0 0 280px; aspect-ratio: 2 / 3; border-radius: 16px; overflow: hidden; background: #111; box-shadow: 0 24px 60px rgba(0, 0, 0, .6); }
.tn-serie-capa img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tn-serie-capa-play { position: absolute; left: 50%; top: 50%; z-index: 2; display: flex; align-items: center; justify-content: center; width: 64px; height: 64px; border-radius: 50%; background: rgba(0, 0, 0, .45); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border: 1px solid rgba(255, 255, 255, .5); color: #fff; transform: translate(-50%, -50%) scale(.9); opacity: 0; transition: opacity .2s, transform .2s; }
.tn-serie-capa:hover .tn-serie-capa-play { opacity: 1; transform: translate(-50%, -50%); }
.tn-serie-info { flex: 1; min-width: 0; max-width: 820px; padding-top: 8px; }
.tn-serie-info h1 { color: #fff; font-size: clamp(26px, 2.6vw, 44px); font-weight: 700; line-height: 1.15; overflow-wrap: anywhere; }
.tn-serie-orig { margin: 6px 0 0; color: var(--tn-mut); font-size: 15px; }
.tn-serie-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 0; margin-top: 14px; color: var(--tn-txt2); font-size: 15px; }
.tn-serie-meta span + span::before { content: ""; display: inline-block; width: 3px; height: 3px; margin: 0 10px; border-radius: 50%; background: currentColor; vertical-align: middle; opacity: .6; }
.tn-classif { padding: 1px 6px; border: 1px solid rgba(255, 255, 255, .45); border-radius: 4px; font-size: 13px; }
.tn-pilulas { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.tn-pilula { display: inline-flex; align-items: center; max-width: 300px; height: 32px; padding: 0 16px; border-radius: 999px; background: rgba(255, 255, 255, .1); color: rgba(255, 255, 255, .7); font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: background .2s, color .2s; }
a.tn-pilula:hover { background: rgba(255, 255, 255, .2); color: rgba(255, 255, 255, .92); }
.tn-pilula-acc { background: rgba(var(--tn-acc-rgb), .9); color: #fff; }
.tn-recolhe { position: relative; margin-top: 16px; }
.tn-recolhe-txt { margin: 0; color: var(--tn-mut); font-size: 16px; line-height: 1.6; }
.tn-recolhe.fechado .tn-recolhe-txt { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.tn-recolhe-bt { margin-top: 4px; padding: 0; border: 0; background: none; color: rgba(255, 255, 255, .85); font-size: 14px; font-weight: 600; cursor: pointer; }
.tn-recolhe-bt:hover { color: #fff; text-decoration: underline; }
.tn-serie-acoes { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 26px; }
.tn-btn-branco, .tn-btn-vidro { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 52px; padding: 0 28px; border-radius: 26px; font-size: 16px; font-weight: 700; white-space: nowrap; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.tn-btn-branco { border: 0; background: #fff; color: #000 !important; }
.tn-btn-branco:hover { background: var(--tn-acc); color: #fff !important; }
.tn-btn-vidro { border: 1px solid rgba(255, 255, 255, .22); background: rgba(255, 255, 255, .08); color: #fff; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.tn-btn-vidro:hover { background: rgba(255, 255, 255, .16); color: #fff; }
.tn-btn-vidro.on { border-color: rgba(var(--tn-acc-rgb), .6); color: var(--tn-acc-clara); }
.tn-btn-vidro.on svg path { fill: var(--tn-acc); stroke: var(--tn-acc); }
.tn-btn-redondo { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 52px; height: 52px; padding: 0; border: 1px solid rgba(255, 255, 255, .22); border-radius: 50%; background: rgba(255, 255, 255, .08); color: #fff; cursor: pointer; transition: background .2s; }
.tn-btn-redondo:hover { background: rgba(255, 255, 255, .16); }
.tn-bloco { padding: 8px 0 40px; }
.tn-bloco-topo { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.tn-bloco-topo h2 { color: rgba(255, 255, 255, .85); font-size: 22px; font-weight: 700; }
.tn-bloco-topo span { color: var(--tn-mut); font-size: 13px; white-space: nowrap; }
.tn-dot-gratis { display: inline-block; width: 7px; height: 7px; margin: 0 3px 1px 0; border-radius: 50%; background: #3ddc97; vertical-align: middle; }
.tn-eps { display: grid; grid-template-columns: repeat(auto-fill, minmax(64px, 1fr)); gap: 10px; }
.tn-ep { position: relative; display: flex; align-items: center; justify-content: center; aspect-ratio: 1; border-radius: 12px; background: var(--tn-sup2); color: rgba(255, 255, 255, .85); font-size: 16px; font-weight: 600; overflow: hidden; transition: background .2s, color .2s; }
.tn-ep:hover { background: #2c2c2c; color: #fff; }
.tn-ep.atual, .tn-ep.on { background: rgba(var(--tn-acc-rgb), .2); color: var(--tn-acc); box-shadow: inset 0 0 0 1px var(--tn-acc); }
.tn-ep.visto { color: var(--tn-mut); }
.tn-ep.gratis::before { content: ""; position: absolute; right: 7px; top: 7px; width: 7px; height: 7px; border-radius: 50%; background: #3ddc97; }
.tn-ep-cad { position: absolute; right: 5px; top: 5px; display: flex; color: rgba(255, 255, 255, .45); }
.tn-ep-prog { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(255, 255, 255, .15); }
.tn-ep-prog i { display: block; height: 100%; background: var(--tn-acc); }
.tn-prateleiras-fim { padding-top: 8px; }
@media (max-width: 1023px) { .tn-serie-capa { flex-basis: 220px; } .tn-serie-grade { gap: 28px; } }
@media (max-width: 767px) {
  .tn-serie-in { padding: 12px 0 28px; }
  .tn-serie-grade { flex-direction: column; align-items: center; gap: 20px; margin-top: 16px; }
  .tn-serie-capa { flex: none; width: 52vw; max-width: 240px; }
  .tn-serie-info { padding: 0; text-align: center; }
  .tn-serie-meta, .tn-pilulas, .tn-serie-acoes { justify-content: center; }
  .tn-serie-meta { font-size: 13px; }
  .tn-recolhe { text-align: left; }
  .tn-recolhe-txt { font-size: 14px; }
  .tn-btn-branco { flex: 1 1 100%; height: 48px; }
  .tn-btn-vidro { flex: 1; height: 46px; padding: 0 16px; font-size: 15px; }
  .tn-btn-redondo { width: 46px; height: 46px; }
  .tn-bloco-topo h2 { font-size: 18px; }
  .tn-eps { grid-template-columns: repeat(auto-fill, minmax(52px, 1fr)); gap: 8px; }
  .tn-ep { font-size: 15px; border-radius: 10px; }
}

/* ---------- Episódio ---------- */
body.tn-watch { overflow-x: hidden; }
.tn .tn-ep-pagina { display: flex; flex-direction: row; align-items: stretch; gap: 0; padding: 0; height: calc(100vh - var(--tn-h)); height: calc(100dvh - var(--tn-h)); min-height: 520px; }
.tn-ep-palco { position: relative; flex: 1 1 auto; min-width: 0; display: flex; align-items: center; justify-content: center; padding: 16px 24px; background: #000; }
.tn-ep-fechar { position: absolute; left: 24px; top: 16px; z-index: 5; display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 50%; background: rgba(255, 255, 255, .08); color: rgba(255, 255, 255, .8); transition: background .2s, color .2s; }
.tn-ep-fechar:hover { background: rgba(255, 255, 255, .18); color: #fff; }
.tn-ep-player { height: 100%; display: flex; align-items: center; justify-content: center; width: auto; min-width: 0; max-width: 100%; }
.tn .tn-ep-player .vp { width: auto; height: 100%; max-height: 100%; max-width: 100%; aspect-ratio: 9 / 16; border-radius: 12px; box-shadow: none; }
.tn .watch.is-wide .tn-ep-player { width: 100%; height: auto; }
.tn .watch.is-wide .tn-ep-player .vp { width: 100%; height: auto; max-height: 100%; aspect-ratio: 16 / 9; }
.tn-ep-lado { flex: 0 0 480px; width: 480px; height: 100%; overflow-y: auto; padding: 32px; background: #000; border-left: 1px solid rgba(255, 255, 255, .08); scrollbar-width: thin; scrollbar-color: #333 transparent; display: block; }
.tn-ep-lado > * + * { margin-top: 0; }
.tn-ep-titulo { margin-top: 24px; color: var(--tn-txt); font-size: 20px; font-weight: 700; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; }
.tn-ep-serie { margin: 6px 0 0; font-size: 14px; }
.tn-ep-serie a { color: var(--tn-txt2); }
.tn-ep-serie a:hover { color: #fff; text-decoration: underline; }
.tn-ep-meta { display: flex; flex-wrap: wrap; gap: 4px 0; margin-top: 10px; color: var(--tn-mut); font-size: 13px; }
.tn-ep-meta span + span::before { content: "·"; margin: 0 8px; }
.tn-ep-acoes { display: flex; align-items: center; gap: 10px; margin-top: 18px; }
.tn-ep-acoes .tn-btn-vidro { flex: 1; height: 44px; padding: 0 16px; font-size: 14px; }
.tn-ep-acoes .tn-btn-redondo { width: 44px; height: 44px; }
.tn-ep-nav { display: flex; gap: 10px; margin-top: 12px; }
.tn-ep-nav a { flex: 1; height: 44px; padding: 0 14px; font-size: 14px; }
.tn-ep-nav [aria-disabled="true"] { opacity: .35; pointer-events: none; }
.tn-ep-sub { margin-top: 24px; color: var(--tn-txt); font-size: 16px; font-weight: 400; line-height: 1.375; }
.tn-ep-lado .tn-recolhe { margin-top: 8px; }
.tn-ep-lado .tn-recolhe-txt { font-size: 15px; line-height: 1.5; }
.tn-ep-lado .tn-pilulas { margin-top: 16px; }
.tn-ep-vip { margin-top: 24px; }
.tn-ep-lista, .tn-ep-rec { margin-top: 24px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .2); }
.tn-ep-lista .tn-bloco-topo h2, .tn-ep-rec .tn-bloco-topo h2 { font-size: 17px; }
.tn-eps-lado { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; max-height: 300px; overflow-y: auto; padding: 1px 4px 1px 1px; scrollbar-width: thin; scrollbar-color: #333 transparent; }
.tn-eps-lado .tn-ep { font-size: 14px; border-radius: 10px; }
.tn-ep-rec-grade { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px 10px; }
.tn-mini-card { display: block; min-width: 0; color: rgba(255, 255, 255, .8); }
.tn-mini-card:hover { color: #fff; }
.tn-mini-card .tn-poster { border-radius: 12px; }
.tn-mini-card .tn-poster img { transition: transform .5s ease; }
.tn-mini-card:hover .tn-poster img { transform: scale(1.04); }
.tn-mini-card .tn-selo { font-size: 10px; line-height: 14px; padding: 1px 6px; }
.tn-mini-card b { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-top: 8px; font-size: 13px; font-weight: 500; line-height: 1.35; }
.tn-ep-shorts { display: flex; align-items: center; gap: 12px; margin-top: 24px; padding: 14px 16px; border-radius: 16px; background: var(--tn-sup); color: #fff; transition: background .2s; }
.tn-ep-shorts:hover { background: #1c1c1c; color: #fff; }
.tn-ep-shorts-ico { flex: none; display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: var(--tn-acc); }
.tn-ep-shorts > span:nth-child(2) { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.tn-ep-shorts small { color: var(--tn-mut); font-size: 12px; }
.tn .tn-ep-player .vp-bloq .btn-primario, .tn .vp-paywall .btn-primario, .tn .vp-retomar .btn-primario { background: var(--tn-acc); color: #fff; }
.tn .vp-paywall .btn-secundario, .tn .vp-retomar .btn-secundario { color: #fff; }
.tn .vp-rb.on { color: var(--tn-acc); }
.tn .vp-prog, .tn .vp-knob { background: var(--tn-acc); }
@media (max-width: 1279px) { .tn-ep-lado { flex-basis: 400px; width: 400px; padding: 28px 24px; } }
@media (max-width: 1023px) {
  .tn .tn-ep-pagina { flex-direction: column; height: auto; min-height: 0; }
  .tn-ep-palco { padding: 12px 16px; }
  .tn-ep-player { height: auto; width: min(100%, calc((100vh - var(--tn-h) - 24px) * 9 / 16)); width: min(100%, calc((100dvh - var(--tn-h) - 24px) * 9 / 16)); }
  .tn .tn-ep-player .vp { width: 100%; height: auto; }
  .tn-ep-lado { flex: none; width: min(100%, 760px); height: auto; margin: 0 auto; padding: 8px 16px 32px; border-left: 0; overflow: visible; }
  .tn-ep-lado > .tn-migalhas { display: none; }
  .tn-ep-titulo { margin-top: 12px; }
  .tn-eps-lado { grid-template-columns: repeat(auto-fill, minmax(52px, 1fr)); }
}
@media (max-width: 767px) {
  body.tn-watch .tn-header { display: none; }
  body.tn-watch .tn-flashes { margin-top: 8px; }
  .tn-ep-palco { padding: 0; }
  .tn-ep-fechar { display: none; }
  .tn-ep-player { width: 100%; }
  .tn .tn-ep-player .vp { border-radius: 0; aspect-ratio: auto; height: min(calc(100vw * 16 / 9), calc(100vh - 64px)); height: min(calc(100vw * 16 / 9), calc(100dvh - 64px - env(safe-area-inset-bottom, 0px))); }
  .tn .watch.is-wide .tn-ep-player .vp { height: auto; aspect-ratio: 16 / 9; }
  .tn-ep-lado { padding: 4px var(--tn-pad) 28px; }
  .tn-ep-rec-grade { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* ---------- Rodapé ---------- */
.tn-footer { margin-top: 24px; padding: 48px 0 40px; background: #000; border-top: 1px solid rgba(255, 255, 255, .08); color: var(--tn-mut); }
.tn-footer-in { display: flex; justify-content: space-between; gap: 48px; }
.tn-footer-marca { flex: 0 1 380px; display: flex; flex-direction: column; gap: 14px; }
.tn-footer-marca .tn-logo img { height: 38px; }
.tn-footer-desc { margin: 0; font-size: 13px; line-height: 1.6; color: var(--tn-mut); }
.tn-sociais { display: flex; gap: 10px; }
.tn-sociais a { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 255, 255, .08); color: rgba(255, 255, 255, .8); transition: background .2s, color .2s; }
.tn-sociais a:hover { background: var(--tn-acc); color: #fff; }
.tn-copy { margin: 4px 0 0; font-size: 12px; color: rgba(255, 255, 255, .38); }
.tn-footer-cols { display: flex; gap: 64px; }
.tn-fcol summary { list-style: none; margin-bottom: 14px; color: rgba(255, 255, 255, .9); font-size: 14px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; cursor: default; }
.tn-fcol summary::-webkit-details-marker { display: none; }
.tn-fcol div { display: flex; flex-direction: column; gap: 10px; }
.tn-fcol a { color: var(--tn-mut); font-size: 14px; transition: color .2s; }
.tn-fcol a:hover { color: #fff; }
@media (max-width: 1023px) { .tn-footer-in { flex-direction: column; } .tn-footer-cols { gap: 40px; } }
@media (max-width: 767px) {
  .tn-footer { padding: 8px 0 24px; margin-top: 8px; }
  .tn-footer-in { flex-direction: column-reverse; gap: 20px; }
  .tn-footer-cols { flex-direction: column; gap: 0; }
  .tn-fcol { border-bottom: 1px solid rgba(255, 255, 255, .08); }
  .tn-fcol summary { display: flex; align-items: center; justify-content: space-between; margin: 0; padding: 16px 0; cursor: pointer; font-size: 14px; }
  .tn-fcol summary::after { content: ""; width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-3px); transition: transform .2s; opacity: .7; }
  .tn-fcol[open] summary::after { transform: rotate(-135deg) translateY(-2px); }
  .tn-fcol div { padding: 0 0 16px; gap: 14px; }
  .tn-footer-marca { flex: none; align-items: center; text-align: center; }
  .tn-footer-desc { display: none; }
}

/* ---------- Barra de baixo (celular) ---------- */
.tn-tabbar { display: none; }
@media (max-width: 767px) {
  body.tn { padding-bottom: calc(60px + env(safe-area-inset-bottom, 0px)); }
  .tn-tabbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; display: flex; height: calc(60px + env(safe-area-inset-bottom, 0px)); padding: 0 4px env(safe-area-inset-bottom, 0px); background: rgba(10, 10, 10, .92); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); border-top: 1px solid rgba(255, 255, 255, .08); }
  .tn-tabbar a { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; color: rgba(255, 255, 255, .55); font-size: 11px; font-weight: 600; }
  .tn-tabbar a svg { width: 23px; height: 23px; }
  .tn-tabbar a.on { color: #fff; }
  .tn-tabbar a.on svg { color: var(--tn-acc); }
  .tn .pwa-banner { left: 0; right: 0; bottom: calc(60px + env(safe-area-inset-bottom, 0px)); border-radius: 0; border: 0; border-top: 1px solid rgba(255, 255, 255, .06); background: #292929; padding: 2.13vw 3.2vw; box-shadow: 0 -10px 30px rgba(0, 0, 0, .4); }
  .tn .pwa-ico { width: 11.2vw; height: 11.2vw; max-width: 46px; max-height: 46px; border-radius: 10px; box-shadow: none; }
  .tn .pwa-txt b { font-size: 14px; }
  .tn .pwa-instalar { height: 10.67vw; max-height: 42px; padding: 0 6vw; border-radius: 999px; background: var(--tn-acc); box-shadow: none; font-weight: 700; }
}

/* planos dentro do tema novo */
@media (max-width: 640px) {
  body.tn.pagina-planos .tn-header, body.tn.pagina-planos .tn-tabbar, body.tn.pagina-planos .tn-footer { display: none; }
  body.tn.pagina-planos { padding-bottom: env(safe-area-inset-bottom, 0px); }
}
body.tn.pagina-planos .tn-main { padding-top: 8px; }

/* páginas antigas (conta, entrar, pagamento, indique...) com a cara do tema novo */
.tn .page-head h1, .tn .conta-box h2 { font-family: var(--fonte); }
.tn .btn-primario { background: var(--tn-acc); color: #fff; border-radius: 999px; }
.tn .btn-primario:hover { background: var(--tn-acc-esc); color: #fff; }
.tn .btn-secundario { border-radius: 999px; }
.tn .input:focus, .tn input:focus, .tn select:focus, .tn textarea:focus { border-color: rgba(var(--tn-acc-rgb), .7); }
.tn .shell { max-width: 1320px; }
.tn main > .shell:first-child, .tn main > .page-head:first-child { padding-top: 8px; }
.tn .drawer-box { background: #141414; }
.tn .short-modal .btn-primario { background: var(--tn-acc); }

/* painel de planos (página e janela) na cor do tema */
.tn .pm-op.on { border-color: var(--tn-acc); box-shadow: 0 0 0 1px rgba(var(--tn-acc-rgb), .4), 0 0 26px rgba(var(--tn-acc-rgb), .2); }
.tn .pm-op.on .pm-radio { background: var(--tn-acc); border-color: var(--tn-acc); }
.tn .pm-selo { background: linear-gradient(90deg, var(--tn-acc), var(--tn-acc-clara)); box-shadow: 0 4px 14px rgba(var(--tn-acc-rgb), .35); }
.tn .pm-cta { background: linear-gradient(180deg, var(--tn-acc-clara) -40%, var(--tn-acc) 55%, var(--tn-acc-esc)); box-shadow: 0 10px 28px rgba(var(--tn-acc-rgb), .35); }
.tn .pm-benef svg { color: var(--tn-acc); }
.tn .pm-aviso { border-color: rgba(var(--tn-acc-rgb), .35); background: rgba(var(--tn-acc-rgb), .08); color: #fff; }

/* Minha lista: atalho no topo, aviso, coração do player, botões e página */
.tn-lista-ico.on, .tn-lista-ico[aria-current] { color: var(--tn-acc); }
.tn-lista-ico.on svg path { fill: var(--tn-acc); }
.tn .vp-rb.on svg { color: var(--tn-acc); fill: var(--tn-acc); background: rgba(var(--tn-acc-rgb), .25); }
.tn-aviso-lista { position: fixed; left: 50%; bottom: 28px; z-index: 260; display: flex; align-items: center; gap: 10px; padding: 10px 10px 10px 16px; border-radius: 999px; background: rgba(28, 28, 28, .97); border: 1px solid rgba(255, 255, 255, .12); color: #fff; font-size: 14px; font-weight: 600; white-space: nowrap; box-shadow: 0 14px 40px rgba(0, 0, 0, .55); opacity: 0; transform: translate(-50%, 12px); transition: opacity .25s, transform .25s; }
.tn-aviso-lista.on { opacity: 1; transform: translate(-50%, 0); }
.tn-aviso-lista svg { flex: none; color: var(--tn-acc); }
.tn-aviso-lista a { padding: 6px 14px; border-radius: 999px; background: #fff; color: #000 !important; font-size: 13px; font-weight: 700; }
.tn-aviso-lista a:hover { background: var(--tn-acc); color: #fff !important; }
.tn-aviso-lista:not(:has(a)) { padding-right: 18px; }
@media (max-width: 767px) { .tn-aviso-lista { bottom: calc(72px + env(safe-area-inset-bottom, 0px)); font-size: 13px; } body.tn-watch .tn-aviso-lista { bottom: calc(76px + env(safe-area-inset-bottom, 0px)); } }
.tn-card-acoes { display: inline-flex; align-items: center; gap: 10px; flex: none; }
.tn-card-fav { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; padding: 0; border: 1px solid rgba(255, 255, 255, .22); border-radius: 50%; background: rgba(255, 255, 255, .06); color: #fff; cursor: pointer; transition: background .2s, border-color .2s, color .2s; }
.tn-card-fav svg path { fill: none; }
.tn-card-fav.on { color: var(--tn-acc); border-color: rgba(var(--tn-acc-rgb), .55); }
.tn-card-fav.on svg path { fill: currentColor; }
.tn-card-fav:hover { background: rgba(255, 255, 255, .14); }
.tn-card { transition: opacity .25s ease, transform .25s ease; }
.tn-card.saindo { opacity: 0; transform: scale(.97); }
.tn-lista-vazia { display: flex; flex-direction: column; align-items: center; gap: 10px; margin: 48px auto; max-width: 420px; text-align: center; color: var(--tn-mut); }
.tn-lista-vazia[hidden] { display: none; }
.tn-lista-vazia svg { color: var(--tn-acc); }
.tn-lista-vazia b { color: #fff; font-size: 18px; }
.tn-lista-vazia span { font-size: 14px; line-height: 1.5; }
.tn-lista-vazia .tn-btn-branco { margin-top: 8px; height: 46px; }
@media (max-width: 767px) {
  .tn-card-fav { width: 8vw; height: 8vw; min-width: 32px; min-height: 32px; }
  .tn-card-fav svg { width: 16px; height: 16px; }
  .tn-card-acoes { gap: 8px; }
}
/* celular estreito com o atalho de admin: selo VIP só com a coroa */
@media (max-width: 400px) {
  .tn-dir:has(.tn-admin) .tn-vip { width: 32px; padding: 0; justify-content: center; }
  .tn-dir:has(.tn-admin) .tn-vip span { display: none; }
}
/* dorama avulso */
.tn-avulso { display: flex; flex-direction: column; gap: 12px; margin-top: 20px; padding: 16px; border-radius: 16px; background: linear-gradient(135deg, rgba(var(--tn-acc-rgb), .2), rgba(255, 255, 255, .04)); border: 1px solid rgba(var(--tn-acc-rgb), .4); }
.tn-avulso div { display: flex; flex-direction: column; gap: 4px; }
.tn-avulso b { color: #fff; font-size: 16px; }
.tn-avulso span { color: var(--tn-txt2); font-size: 13px; line-height: 1.45; }
.tn-avulso .tn-btn-branco { height: 46px; font-size: 15px; }
.tn-avulso-ok { display: flex; align-items: center; gap: 8px; margin-top: 18px; padding: 10px 14px; border-radius: 12px; background: rgba(61, 220, 151, .12); border: 1px solid rgba(61, 220, 151, .35); color: #bdf7dd; font-size: 13px; font-weight: 600; }
.tn .vp-bloq { background: linear-gradient(165deg, rgba(20, 20, 20, .92), rgba(0, 0, 0, .96)); }
.tn .vp-bloq .btn-primario.vp-avulso, .tn .vp-paywall .btn-primario.vp-avulso { background: #fff; color: #000; }
.tn .vp-bloq .btn-primario.vp-avulso:hover, .tn .vp-paywall .btn-primario.vp-avulso:hover { background: var(--tn-acc); color: #fff; }

/* menu do perfil (boneco do topo e "Perfil" da barra de baixo) */
.tn-pf { position: relative; flex: 0 0 auto; }
.tn-perfil.tem-inicial { background: rgba(255, 255, 255, .12); }
.tn-pf-ini { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 50%; background: var(--tn-acc); color: #fff; font-size: 14px; font-weight: 700; }
.tn-pf.aberto .tn-perfil { background: rgba(255, 255, 255, .16); }
.tn-pf-painel { position: absolute; top: calc(100% + 10px); right: 0; z-index: 120; width: 360px; max-height: calc(100vh - var(--tn-h) - 24px); overflow: auto; padding: 20px; border-radius: 16px; background: #2a2a2a; color: #fff; box-shadow: 0 24px 60px rgba(0, 0, 0, .6); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .18s ease, transform .18s ease, visibility .18s; }
.tn-pf.aberto .tn-pf-painel { opacity: 1; visibility: visible; transform: none; }
.tn-pf-topo { display: flex; align-items: center; gap: 14px; padding-bottom: 18px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.tn-pf-avatar { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 50%; background: #d9d9d9; color: #8a8a8a; overflow: hidden; }
.tn-pf-avatar svg { width: 34px; height: 34px; margin-top: 8px; stroke-width: 0; fill: currentColor; }
.tn-pf-avatar.inicial { background: var(--tn-acc); color: #fff; font-size: 24px; font-weight: 700; }
.tn-pf-quem { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.tn-pf-quem b { overflow: hidden; font-size: 17px; font-weight: 600; white-space: nowrap; text-overflow: ellipsis; }
.tn-pf-quem small { color: rgba(255, 255, 255, .5); font-size: 12px; }
.tn-pf-login { flex: none; color: rgba(255, 255, 255, .6) !important; font-size: 15px; transition: color .2s; }
.tn-pf-login:hover { color: #fff !important; }
.tn-pf-stats { display: flex; align-items: center; padding: 18px 0; }
.tn-pf-stats a { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 4px; min-width: 0; color: #fff; border-radius: 10px; padding: 4px 2px; transition: background .2s; }
.tn-pf-stats a:hover { background: rgba(255, 255, 255, .05); color: #fff; }
.tn-pf-stats i { flex: none; width: 1px; height: 36px; background: rgba(255, 255, 255, .14); }
.tn-pf-num { display: inline-flex; align-items: center; gap: 6px; font-size: 20px; font-weight: 700; line-height: 1; }
.tn-pf-coroa { color: #f5c04a; }
.tn-pf-cor { color: var(--tn-acc); }
.tn-pf-stats small { color: rgba(255, 255, 255, .5); font-size: 12px; text-align: center; }
.tn-pf-cta { display: flex; align-items: center; justify-content: center; gap: 8px; height: 46px; border-radius: 23px; background: var(--tn-acc); color: #fff !important; font-size: 15px; font-weight: 700; transition: filter .2s; }
.tn-pf-cta:hover { filter: brightness(1.1); }
.tn-pf-cta-vip { background: rgba(245, 192, 74, .14); color: #f5c04a !important; font-size: 14px; }
.tn-pf-menu { display: flex; flex-direction: column; margin-top: 14px; padding-top: 8px; border-top: 1px solid rgba(255, 255, 255, .1); }
.tn-pf-menu a { display: flex; align-items: center; gap: 12px; min-height: 44px; padding: 0 10px; border-radius: 10px; color: rgba(255, 255, 255, .85) !important; font-size: 15px; transition: background .2s, color .2s; }
.tn-pf-menu a:hover, .tn-pf-menu a:focus-visible { background: rgba(255, 255, 255, .07); color: #fff !important; outline: none; }
.tn-pf-menu a svg { flex: none; color: rgba(255, 255, 255, .55); }
.tn-pf-sair { color: rgba(255, 255, 255, .6) !important; }
.tn-tabbar button { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; padding: 0; border: 0; background: none; color: rgba(255, 255, 255, .55); font-size: 11px; font-weight: 600; cursor: pointer; }
.tn-tabbar button svg { width: 23px; height: 23px; }
.tn-tabbar button.on, .tn-tabbar button[aria-expanded="true"] { color: #fff; }
@media (max-width: 767px) {
  /* celular: painel ocupa a largura da tela, logo abaixo da barra de cima, acima da barra de baixo */
  .tn-pf { position: static; }
  .tn-pf-painel { position: fixed; top: calc(var(--tn-h) + 8px); left: 12px; right: 12px; width: auto; max-height: calc(100vh - var(--tn-h) - 88px - env(safe-area-inset-bottom, 0px)); padding: 18px 16px; }
  .tn-pf-avatar { width: 50px; height: 50px; }
}

/* idioma do catálogo: seletor do topo (computador) e bloco no menu do perfil */
.tn-lang { position: relative; flex: 0 0 auto; }
.tn-lang-bt { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 10px; border: 0; border-radius: 20px; background: transparent; color: #fff; font-size: 15px; font-weight: 600; cursor: pointer; transition: background .2s; }
.tn-lang-bt:hover, .tn-lang.aberto .tn-lang-bt { background: rgba(255, 255, 255, .1); }
.tn-lang-painel { position: absolute; top: calc(100% + 10px); right: 0; z-index: 120; min-width: 220px; padding: 8px; border-radius: 14px; background: #2a2a2a; box-shadow: 0 24px 60px rgba(0, 0, 0, .6); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .18s, transform .18s, visibility .18s; }
.tn-lang.aberto .tn-lang-painel { opacity: 1; visibility: visible; transform: none; }
.tn-lang-painel a { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 10px 12px; border-radius: 10px; color: rgba(255, 255, 255, .85) !important; font-size: 15px; }
.tn-lang-painel a:hover { background: rgba(255, 255, 255, .08); color: #fff !important; }
.tn-lang-painel a.on { color: var(--tn-acc) !important; font-weight: 700; }
.tn-lang-painel small { color: rgba(255, 255, 255, .38); font-size: 12px; font-weight: 500; }
.tn-pf-idiomas { margin-top: 14px; padding-top: 12px; border-top: 1px solid rgba(255, 255, 255, .1); }
.tn-pf-idiomas > span { display: flex; align-items: center; gap: 8px; color: rgba(255, 255, 255, .5); font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.tn-pf-idiomas > div { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.tn-pf-idiomas a { padding: 7px 14px; border-radius: 999px; background: rgba(255, 255, 255, .08); color: rgba(255, 255, 255, .85) !important; font-size: 13px; font-weight: 600; }
.tn-pf-idiomas a:hover { background: rgba(255, 255, 255, .16); color: #fff !important; }
.tn-pf-idiomas a.on { background: var(--tn-acc); color: #fff !important; }
@media (max-width: 1279px) { .tn-lang-bt span { display: none; } .tn-lang-bt { width: 40px; padding: 0; justify-content: center; } }
@media (max-width: 767px) { .tn-lang { display: none; } }
