/* ==========================================================================
   DIREITAFLIX — DESIGN SYSTEM STREAMING & CRÍTICA v20
   Padrão: Rotten Tomatoes, Letterboxd, IMDb Parents Guide, Apple TV+
   ========================================================================== */

:root {
  --bg-black: #090a0f;
  --bg-deep: #0f1117;
  --bg-surface: #151821;
  --bg-elevated: #1c202b;
  --bg-hover: #252a38;

  --border-subtle: rgba(255, 255, 255, 0.07);
  --border-medium: rgba(255, 255, 255, 0.13);
  --border-strong: rgba(255, 255, 255, 0.24);

  --text-white: #f8fafc;
  --text-primary: #e2e8f0;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;

  --gold: #e5b842;
  --gold-light: #f3d77d;
  --gold-bg: rgba(229, 184, 66, 0.12);

  --green: #10b981;
  --green-light: #34d399;
  --green-bg: rgba(16, 185, 129, 0.14);

  --amber: #f59e0b;
  --amber-light: #fbbf24;
  --amber-bg: rgba(245, 158, 11, 0.14);

  --red: #ef4444;
  --red-light: #f87171;
  --red-bg: rgba(239, 68, 68, 0.15);

  --font-display: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --container-width: 1340px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  background-color: var(--bg-black);
  color: var(--text-primary);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background-color: var(--bg-black);
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.6;
}

/* ==========================================================================
   1. NAVBAR PADRÃO STREAMING (APPLE TV+ / MAX)
   ========================================================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(9, 10, 15, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  height: 66px;
  display: flex;
  align-items: center;
  padding: 0 32px;
}

.navbar-inner {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.navbar-left {
  display: flex;
  align-items: center;
  gap: 36px;
}

.brand-logo {
  display: flex;
  align-items: baseline;
  gap: 0.06em;
  font-family: var(--font-display);
  font-size: 1.5rem;
  line-height: 1;
  color: var(--text-white);
  cursor: pointer;
  text-decoration: none;
  user-select: none;
}

/* Ícone "D" com play: altura igual à das maiúsculas da Outfit */
.brand-d {
  height: 0.7em;
  width: auto;
  flex-shrink: 0;
}

.brand-name {
  font-weight: 800;
  letter-spacing: -0.01em;
}

.brand-name span {
  color: var(--gold);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-tab-btn {
  position: relative;
  border: none;
  background: transparent;
  color: var(--text-secondary);
  padding: 21px 2px;
  font-family: var(--font-sans);
  font-size: 0.86rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  transition: color 0.18s ease;
}

.nav-tab-btn:hover {
  color: var(--text-white);
}

.nav-tab-btn.active {
  color: var(--text-white);
  font-weight: 700;
}

.nav-tab-btn.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  border-radius: 2px;
  background: var(--gold);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.search-field {
  position: relative;
  width: 260px;
}

.search-field svg {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 14px;
  height: 14px;
  color: var(--text-muted);
  pointer-events: none;
}

.search-field input {
  width: 100%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-white);
  padding: 8px 30px 8px 34px;
  border-radius: 8px;
  font-family: var(--font-sans);
  font-size: 0.81rem;
  outline: none;
  transition: all 0.2s ease;
}

.search-field input::placeholder {
  color: var(--text-muted);
}

.search-field input:focus {
  border-color: var(--border-strong);
  background: var(--bg-surface);
}

.search-clear-btn {
  position: absolute;
  right: 7px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.14);
  color: var(--text-secondary);
  font-size: 0.72rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  transition: all 0.15s ease;
}

.search-clear-btn:hover {
  background: rgba(255, 255, 255, 0.26);
  color: var(--text-white);
}

.search-clear-btn[hidden] {
  display: none !important;
}

.btn-subtle {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
  border: 1px solid var(--border-medium);
  padding: 8px 14px;
  border-radius: 8px;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.16s ease;
  white-space: nowrap;
}

.btn-subtle:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--border-strong);
  color: var(--text-white);
}

.btn-primary-action {
  background: var(--text-white);
  color: var(--bg-black);
  border: none;
  padding: 11px 20px;
  border-radius: 8px;
  font-family: var(--font-sans);
  font-size: 0.84rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  transition: all 0.16s ease;
}

.btn-primary-action:hover {
  background: #e2e8f0;
  transform: translateY(-1px);
}

.btn-secondary-action {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  color: var(--text-white);
  border: 1px solid var(--border-medium);
  padding: 11px 18px;
  border-radius: 8px;
  font-family: var(--font-sans);
  font-size: 0.84rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  transition: all 0.16s ease;
}

.btn-secondary-action:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: var(--border-strong);
}

/* ==========================================================================
   2. BADGES DE CLASSIFICAÇÃO INDICATIVA OFICIAL & STREAMINGS COLORIDOS
   ========================================================================== */
.age-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 20px;
  padding: 0 5px;
  border-radius: 4px;
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1;
  letter-spacing: 0.01em;
  flex-shrink: 0;
}

.age-box.age-l { background: #0c9447; }
.age-box.age-10 { background: #0f7dc2; }
.age-box.age-12 { background: #f5b800; color: #090a0f; }
.age-box.age-14 { background: #e66c19; }
.age-box.age-16 { background: #d0191e; }
.age-box.age-18 { background: #18181b; border: 1px solid rgba(255,255,255,0.35); }

/* Badges de Streaming com Logos de App (Estilo Cinema DireitaFlix) */
.stream-brand-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 12px 4px 4px;
  border-radius: 999px;
  background: rgba(15, 18, 27, 0.92);
  backdrop-filter: blur(8px);
  color: #f8fafc;
  font-family: var(--font-sans);
  font-size: 0.81rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.16s ease, border-color 0.16s ease, background 0.16s ease, box-shadow 0.16s ease;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  white-space: nowrap;
}

.stream-logo-tile {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.24), 0 2px 6px rgba(0, 0, 0, 0.5);
  overflow: hidden;
}

.stream-logo-tile svg,
.stream-logo-tile img {
  width: 82%;
  height: 82%;
  object-fit: contain;
  display: block;
  shape-rendering: geometricPrecision;
}

.stream-brand-pill.netflix .stream-logo-tile svg,
.stream-chip.netflix .stream-logo-tile svg {
  width: 68%;
  height: 68%;
}

.stream-brand-pill.disney .stream-logo-tile svg,
.stream-chip.disney .stream-logo-tile svg {
  width: 90%;
  height: 90%;
}

.stream-pill-name {
  letter-spacing: -0.01em;
}

.stream-pill-play {
  font-size: 0.66rem;
  opacity: 0.65;
  margin-left: 1px;
  transition: transform 0.16s ease, opacity 0.16s ease;
}

.stream-brand-pill:hover {
  transform: translateY(-1px);
  color: #ffffff;
}

.stream-brand-pill:hover .stream-pill-play {
  opacity: 1;
  transform: translateX(2px);
}

/* Identidade visual dos ícones e bordas de cada plataforma */
.stream-brand-pill.netflix .stream-logo-tile,
.stream-chip.netflix .stream-logo-tile {
  background: linear-gradient(145deg, #18181f 0%, #09090c 100%);
  border: 1px solid rgba(229, 9, 20, 0.5);
}
.stream-brand-pill.netflix {
  border-color: rgba(229, 9, 20, 0.38);
}
.stream-brand-pill.netflix .stream-pill-play { color: #ff4d57; }
.stream-brand-pill.netflix:hover {
  background: rgba(229, 9, 20, 0.22);
  border-color: rgba(229, 9, 20, 0.85);
  box-shadow: 0 6px 18px rgba(229, 9, 20, 0.28);
}

.stream-brand-pill.prime .stream-logo-tile,
.stream-chip.prime .stream-logo-tile {
  background: linear-gradient(145deg, #1283ff 0%, #0066e6 100%);
}
.stream-brand-pill.prime {
  border-color: rgba(0, 168, 225, 0.38);
}
.stream-brand-pill.prime .stream-pill-play { color: #38bdf8; }
.stream-brand-pill.prime:hover {
  background: rgba(0, 168, 225, 0.22);
  border-color: rgba(0, 168, 225, 0.85);
  box-shadow: 0 6px 18px rgba(0, 168, 225, 0.28);
}

.stream-brand-pill.max .stream-logo-tile,
.stream-chip.max .stream-logo-tile {
  background: linear-gradient(145deg, #181822 0%, #060609 100%);
  border: 1px solid rgba(255, 255, 255, 0.28);
}
.stream-brand-pill.max {
  border-color: rgba(168, 85, 247, 0.42);
}
.stream-brand-pill.max .stream-pill-play { color: #c084fc; }
.stream-brand-pill.max:hover {
  background: rgba(139, 92, 246, 0.22);
  border-color: rgba(192, 132, 252, 0.85);
  box-shadow: 0 6px 18px rgba(139, 92, 246, 0.28);
}

.stream-brand-pill.disney .stream-logo-tile,
.stream-chip.disney .stream-logo-tile {
  background: linear-gradient(155deg, #2b6777 0%, #0f1829 100%);
  border: 1px solid rgba(108, 193, 215, 0.45);
}
.stream-brand-pill.disney {
  border-color: rgba(6, 182, 212, 0.38);
}
.stream-brand-pill.disney .stream-pill-play { color: #38bdf8; }
.stream-brand-pill.disney:hover {
  background: rgba(6, 182, 212, 0.22);
  border-color: rgba(56, 189, 248, 0.85);
  box-shadow: 0 6px 18px rgba(6, 182, 212, 0.28);
}

.stream-brand-pill.globoplay .stream-logo-tile,
.stream-chip.globoplay .stream-logo-tile {
  background: linear-gradient(145deg, #fe012f 0%, #fe8e04 100%);
}
.stream-brand-pill.globoplay {
  border-color: rgba(249, 115, 22, 0.38);
}
.stream-brand-pill.globoplay .stream-pill-play { color: #fb923c; }
.stream-brand-pill.globoplay:hover {
  background: rgba(249, 115, 22, 0.22);
  border-color: rgba(251, 146, 60, 0.85);
  box-shadow: 0 6px 18px rgba(249, 115, 22, 0.28);
}

.stream-brand-pill.paramount .stream-logo-tile,
.stream-chip.paramount .stream-logo-tile,
.where-watch-row.paramount .stream-logo-tile {
  background: linear-gradient(145deg, #0064ff 0%, #002b80 100%);
}
.stream-brand-pill.paramount {
  border-color: rgba(59, 130, 246, 0.38);
}
.stream-brand-pill.paramount .stream-pill-play { color: #60a5fa; }
.stream-brand-pill.paramount:hover {
  background: rgba(37, 99, 235, 0.22);
  border-color: rgba(96, 165, 250, 0.85);
  box-shadow: 0 6px 18px rgba(37, 99, 235, 0.28);
}

.stream-brand-pill.telecine .stream-logo-tile,
.stream-chip.telecine .stream-logo-tile,
.where-watch-row.telecine .stream-logo-tile {
  background: linear-gradient(145deg, #1b1b22 0%, #09090d 100%);
  border: 1px solid rgba(239, 68, 68, 0.45);
}
.stream-brand-pill.telecine {
  border-color: rgba(239, 68, 68, 0.38);
}
.stream-brand-pill.telecine .stream-pill-play { color: #f87171; }
.stream-brand-pill.telecine:hover {
  background: rgba(239, 68, 68, 0.2);
  border-color: rgba(248, 113, 113, 0.85);
  box-shadow: 0 6px 18px rgba(239, 68, 68, 0.25);
}

.stream-brand-pill.appletv .stream-logo-tile,
.stream-chip.appletv .stream-logo-tile,
.where-watch-row.appletv .stream-logo-tile {
  background: linear-gradient(145deg, #1f2026 0%, #070709 100%);
  border: 1px solid rgba(255, 255, 255, 0.32);
}
.stream-brand-pill.appletv {
  border-color: rgba(255, 255, 255, 0.28);
}
.stream-brand-pill.appletv .stream-pill-play { color: #e2e8f0; }
.stream-brand-pill.appletv:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.7);
  box-shadow: 0 6px 18px rgba(255, 255, 255, 0.15);
}

.stream-brand-pill.youtube .stream-logo-tile,
.stream-chip.youtube .stream-logo-tile,
.where-watch-row.youtube .stream-logo-tile {
  background: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.35);
}
.stream-brand-pill.youtube {
  border-color: rgba(239, 68, 68, 0.38);
}
.stream-brand-pill.youtube .stream-pill-play { color: #f87171; }
.stream-brand-pill.youtube:hover {
  background: rgba(239, 68, 68, 0.2);
  border-color: rgba(248, 113, 113, 0.85);
  box-shadow: 0 6px 18px rgba(239, 68, 68, 0.25);
}

.stream-brand-pill.googleplay .stream-logo-tile,
.stream-chip.googleplay .stream-logo-tile,
.where-watch-row.googleplay .stream-logo-tile {
  background: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.35);
}
.stream-brand-pill.googleplay {
  border-color: rgba(244, 63, 94, 0.38);
}
.stream-brand-pill.googleplay .stream-pill-play { color: #fb7185; }
.stream-brand-pill.googleplay:hover {
  background: rgba(244, 63, 94, 0.2);
  border-color: rgba(251, 113, 133, 0.85);
  box-shadow: 0 6px 18px rgba(244, 63, 94, 0.25);
}

.stream-brand-pill.clarotv .stream-logo-tile,
.stream-chip.clarotv .stream-logo-tile,
.where-watch-row.clarotv .stream-logo-tile {
  background: linear-gradient(145deg, #1b1b22 0%, #08080c 100%);
  border: 1px solid rgba(239, 68, 68, 0.45);
}
.stream-brand-pill.clarotv {
  border-color: rgba(239, 68, 68, 0.38);
}
.stream-brand-pill.clarotv .stream-pill-play { color: #f87171; }
.stream-brand-pill.clarotv:hover {
  background: rgba(239, 68, 68, 0.2);
  border-color: rgba(248, 113, 113, 0.85);
  box-shadow: 0 6px 18px rgba(239, 68, 68, 0.25);
}

/* Logos dentro dos botões de filtro da barra de streamings */
.stream-chip .stream-logo-tile {
  width: 27px;
  height: 27px;
  border-radius: 50%;
}
.stream-chip .stream-logo-tile svg,
.stream-chip .stream-logo-tile img {
  width: 82%;
  height: 82%;
}

/* Versão compacta para linha abaixo do pôster e cards de troca */
.stream-brand-pill.compact {
  padding: 2px 9px 2px 3px;
  font-size: 0.72rem;
  border-radius: 999px;
  gap: 5px;
}
.stream-brand-pill.compact .stream-logo-tile {
  width: 22px;
  height: 22px;
  border-radius: 50%;
}
.stream-brand-pill.compact .stream-logo-tile svg,
.stream-brand-pill.compact .stream-logo-tile img {
  width: 82%;
  height: 82%;
}

/* Versão larga para a barra lateral da ficha */
.stream-brand-pill.full {
  width: 100%;
  justify-content: space-between;
  padding: 8px 13px 8px 8px;
  font-size: 0.82rem;
  border-radius: 9px;
}
.stream-pill-cta {
  font-size: 0.73rem;
  opacity: 0.85;
}

/* ==========================================================================
   3. HERO CINEMATOGRÁFICO (SEM CAIXAS EMPILHADAS, COM SELETOR DE MINIATURAS)
   ========================================================================== */
#catalog-home-view {
  padding-top: 64px;
}

.hero-fullbleed {
  position: relative;
  width: 100%;
  padding-top: 0;
  background-color: var(--bg-black);
  overflow: hidden;
  border-bottom: 1px solid var(--border-subtle);
}

.hero-bg-media {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 18%;
  z-index: 0;
  opacity: 0.9;
  transition: background-image 0.4s ease;
}

.hero-bg-gradient {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(9, 10, 15, 0.96) 0%, rgba(9, 10, 15, 0.84) 42%, rgba(9, 10, 15, 0.35) 72%, rgba(9, 10, 15, 0.25) 100%),
    linear-gradient(180deg, rgba(9, 10, 15, 0.45) 0%, transparent 28%, rgba(9, 10, 15, 0.7) 78%, #090a0f 100%);
  z-index: 1;
}

.hero-container {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 42px 32px 34px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.hero-main-stage {
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr) 350px;
  gap: 36px;
  align-items: center;
}

.hero-raiox-card {
  background: rgba(15, 17, 23, 0.86);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-medium);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.55);
}

.hero-raiox-final {
  padding: 20px 22px 18px;
}

.hero-raiox-final.sim {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.26), rgba(16, 185, 129, 0.05));
}

.hero-raiox-final.nao {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.28), rgba(239, 68, 68, 0.05));
}

.hero-raiox-final-label {
  display: block;
  color: var(--text-primary);
  font-size: 0.82rem;
  font-weight: 600;
}

.hero-raiox-final-voto {
  display: block;
  font-family: var(--font-display);
  font-size: 3.4rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.05;
}

.hero-raiox-final.sim .hero-raiox-final-voto { color: var(--green-light); }
.hero-raiox-final.nao .hero-raiox-final-voto { color: var(--red-light); }

.hero-raiox-final-detalhe {
  display: block;
  color: var(--text-white);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.35;
}

.hero-raiox-pillars {
  display: flex;
  flex-direction: column;
  padding: 4px 22px 8px;
}

.hero-raiox-item {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 11px 0;
}

.hero-raiox-item + .hero-raiox-item {
  border-top: 1px solid var(--border-subtle);
}

.hero-raiox-pergunta {
  flex-shrink: 0;
  color: var(--text-secondary);
  font-size: 0.8rem;
  font-weight: 500;
}

.hero-raiox-resposta {
  color: var(--text-white);
  font-size: 0.86rem;
  font-weight: 700;
  line-height: 1.35;
  text-align: right;
}

.hero-raiox-resposta svg {
  color: var(--gold);
}

.ficha-veredito {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
  margin: 18px 0;
}

.ficha-veredito .hero-raiox-pillars {
  justify-content: center;
}

.hero-where-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
}

@media (min-width: 1081px) {
  .hero-where-row {
    flex-wrap: nowrap;
  }
}

.hero-where-row .stream-brand-pill:not(.compact) {
  padding: 4px 11px 4px 4px;
  gap: 7px;
}

.hero-where-label {
  color: var(--text-secondary);
  font-size: 0.8rem;
  font-weight: 500;
  margin-right: 2px;
  white-space: nowrap;
}

/* Botão "+3" limpo e popover alinhado sem colidir com botões ou card lateral */
.stream-more-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.stream-more-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: var(--text-white);
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.16s ease;
}

.stream-more-pill:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.55);
  transform: translateY(-1px);
}

.stream-more-popover {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  left: auto;
  transform: translateY(-4px);
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 11px;
  border-radius: 999px;
  background: rgba(12, 14, 22, 0.98);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.85);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  white-space: nowrap;
  transition: opacity 0.16s ease, transform 0.16s ease, visibility 0.16s ease;
  z-index: 60;
}

.stream-more-popover::before {
  content: "";
  position: absolute;
  top: -10px;
  left: 0;
  right: 0;
  height: 10px;
}

.stream-more-wrap:hover .stream-more-popover,
.stream-more-wrap:focus-within .stream-more-popover {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.stream-more-pop-label {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-secondary);
  padding-left: 2px;
  white-space: nowrap;
}

.hero-floating-poster {
  width: 100%;
  aspect-ratio: 2 / 3;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.9);
  cursor: pointer;
  transition: transform 0.25s ease;
  background: var(--bg-surface);
}

.hero-floating-poster:hover {
  transform: scale(1.025);
}

.hero-floating-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-content-col {
  position: relative;
  z-index: 6;
  max-width: 720px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* Selo Oficial Limpo (Com Ícone SVG, Sem Emoji) */
.selo-badge-clean {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--gold-light);
  background: rgba(229, 184, 66, 0.13);
  border: 1px solid rgba(229, 184, 66, 0.35);
  padding: 5px 11px;
  border-radius: 6px;
  width: fit-content;
}

.selo-badge-clean.warn {
  color: var(--amber-light);
  background: var(--amber-bg);
  border-color: rgba(245, 158, 11, 0.38);
}

.selo-badge-clean.danger {
  color: #fca5a5;
  background: var(--red-bg);
  border-color: rgba(239, 68, 68, 0.4);
}

.hero-main-title {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.04;
  color: var(--text-white);
}

/* Linha Unificada de Nota + Metadados no Hero (Estilo IMDb / Rotten Tomatoes) */
.hero-meta-strip {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.rt-score-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 6px;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 800;
  background: var(--green-bg);
  color: var(--green-light);
  border: 1px solid rgba(16, 185, 129, 0.35);
}

.rt-score-pill.warn {
  background: var(--amber-bg);
  color: var(--amber-light);
  border-color: rgba(245, 158, 11, 0.35);
}

.rt-score-pill.low {
  background: var(--red-bg);
  color: #fca5a5;
  border-color: rgba(239, 68, 68, 0.38);
}

.star-score-inline {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--gold-light);
}

.meta-dot {
  color: var(--text-muted);
}

.hero-synopsis-lead {
  font-size: 1.02rem;
  color: var(--text-primary);
  line-height: 1.58;
  max-width: 650px;
}

.hero-actions-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 4px;
}

.hero-actions-row .btn-trailer-action {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--border-medium);
  color: var(--text-white);
}

/* Barra Horizontal de Seleção Rápida do Hero (Substitui a caixa pesada lateral) */
.hero-carousel-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-strip-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  white-space: nowrap;
}

.hero-thumbs-row {
  display: flex;
  align-items: center;
  gap: 10px;
  overflow-x: auto;
  scrollbar-width: none;
}

.hero-thumbs-row::-webkit-scrollbar {
  display: none;
}

.hero-thumb-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 5px 11px 5px 6px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.18s ease;
  white-space: nowrap;
}

.hero-thumb-pill:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-white);
}

.hero-thumb-pill.active {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--border-strong);
  color: var(--text-white);
}

.hero-thumb-pill img {
  width: 30px;
  height: 44px;
  border-radius: 4px;
  object-fit: cover;
}

.hero-thumb-name {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 600;
}

.hero-thumb-score {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--green-light);
}

.hero-thumb-score.low {
  color: var(--red-light);
}

/* ==========================================================================
   4. BARRA DE FILTROS & PRATELEIRAS DE PÔSTERES (ESTILO LETTERBOXD / RT)
   ========================================================================== */
.main-content-wrap {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 32px 80px;
}

.filter-bar-clean {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 36px;
}

.filter-pills-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.filter-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-secondary);
  border: 1px solid var(--border-subtle);
  padding: 7px 14px;
  border-radius: 8px;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.16s ease;
}

.chip-btn:hover {
  color: var(--text-white);
  background: rgba(255, 255, 255, 0.07);
}

.chip-btn.active {
  background: var(--text-white);
  color: var(--bg-black);
  border-color: var(--text-white);
  font-weight: 700;
}

.chip-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
}
.chip-dot.gold { background: var(--gold); }
.chip-dot.cyan { background: #38bdf8; }
.chip-dot.green { background: var(--green); }
.chip-dot.amber { background: var(--amber); }
.chip-dot.red { background: var(--red); }

.chip-count {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  opacity: 0.7;
}

.sort-control-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}

.sort-label {
  font-size: 0.76rem;
  color: var(--text-muted);
  font-weight: 600;
}

.sort-select {
  background: var(--bg-surface);
  color: var(--text-primary);
  border: 1px solid var(--border-medium);
  border-radius: 8px;
  padding: 7px 12px;
  font-family: var(--font-sans);
  font-size: 0.79rem;
  font-weight: 600;
  cursor: pointer;
  outline: none;
}

.kids-filter-strip {
  display: none;
  align-items: center;
  gap: 8px;
  padding-top: 12px;
  border-top: 1px solid var(--border-subtle);
}

.kids-filter-strip.visible {
  display: flex;
}

.kids-filter-label {
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-right: 4px;
}

/* Prateleiras Limpas (Sem excesso de texto burocrático) */
.shelf-block {
  margin-bottom: 52px;
}

.shelf-header-clean {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
}

.shelf-title-group {
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
}

.shelf-heading {
  font-family: var(--font-display);
  font-size: 1.38rem;
  font-weight: 800;
  color: var(--text-white);
  letter-spacing: -0.01em;
}

.shelf-sub {
  font-size: 0.83rem;
  color: var(--text-muted);
}

/* Grids de Pôsteres */
.poster-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.poster-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* ==========================================================================
   5. CARD DE PÔSTER PURO (PADRÃO ROTTEN TOMATOES / LETTERBOXD)
   Zero caixa cinza pendurada embaixo, zero texto cortado com "..."
   ========================================================================== */
.poster-item {
  display: flex;
  flex-direction: column;
  gap: 9px;
  cursor: pointer;
}

.poster-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 2 / 3;
  border-radius: 10px;
  overflow: hidden;
  background: var(--bg-surface);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 12px 28px -8px rgba(0, 0, 0, 0.8);
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.poster-item:hover .poster-frame {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.32);
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.95);
}

.poster-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.poster-item:hover .poster-frame img {
  transform: scale(1.03);
}

/* Selo Discreto no Canto Inferior Esquerdo do Pôster (Sem Colidir com Botões do Topo) */
.poster-corner-tag {
  position: absolute;
  bottom: 9px;
  left: 9px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-sans);
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 4px 8px;
  border-radius: 5px;
  background: rgba(9, 10, 15, 0.88);
  backdrop-filter: blur(8px);
  color: var(--gold-light);
  border: 1px solid rgba(229, 184, 66, 0.4);
}

.poster-corner-tag.warn {
  color: var(--amber-light);
  border-color: rgba(245, 158, 11, 0.45);
}

.poster-corner-tag.danger {
  color: #fca5a5;
  border-color: rgba(239, 68, 68, 0.45);
}

.poster-watched-pill {
  position: absolute;
  top: 10px;
  right: 48px;
  z-index: 3;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  font-family: var(--font-sans);
  font-size: 0.64rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: rgba(9, 10, 15, 0.82);
  backdrop-filter: blur(8px);
  color: rgba(248, 250, 252, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.24);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.55);
  cursor: pointer;
  transition: transform 0.16s ease, border-color 0.16s ease, background 0.16s ease, color 0.16s ease;
}

.poster-watched-pill svg {
  width: 15px;
  height: 15px;
}

.poster-watched-pill:hover {
  transform: scale(1.06);
  border-color: rgba(16, 185, 129, 0.8);
  background: rgba(15, 18, 27, 0.94);
  color: var(--green-light);
}

.poster-watched-pill.watched {
  width: auto;
  height: 32px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(6, 78, 59, 0.92);
  border-color: #10b981;
  color: #6ee7b7;
}

.poster-overlay-bookmark {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 3;
  width: 32px !important;
  height: 32px !important;
  border-radius: 50% !important;
  padding: 0 !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(9, 10, 15, 0.82) !important;
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.24) !important;
  color: #f8fafc;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.55);
  transition: transform 0.16s ease, border-color 0.16s ease, background 0.16s ease;
}

.poster-overlay-bookmark:hover {
  transform: scale(1.06);
  border-color: rgba(229, 184, 66, 0.75) !important;
  background: rgba(15, 18, 27, 0.94) !important;
}

.poster-overlay-bookmark.saved {
  background: rgba(120, 53, 15, 0.92) !important;
  border-color: var(--gold) !important;
  color: var(--gold-light) !important;
}

.poster-overlay-bookmark svg {
  width: 15px;
  height: 15px;
}

/* Linha de Placar Limpa ABAIXO do Pôster (Estilo Rotten Tomatoes / IMDb) */
.card-clean-footer {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 2px 2px 0;
}

.card-rating-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}

.card-score-left {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  flex-shrink: 0;
  white-space: nowrap;
}

.card-pct-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--green-light);
}

.card-pct-badge.warn {
  color: var(--amber-light);
}

.card-pct-badge.low {
  color: var(--red-light);
}

.card-voto {
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 800;
  padding: 1px 8px;
  border-radius: 5px;
}

.card-voto.sim {
  background: var(--green-bg);
  color: var(--green-light);
}

.card-voto.nao {
  background: var(--red-bg);
  color: var(--red-light);
}

.card-star-text {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--gold-light);
  white-space: nowrap;
}

.card-right-actions .stream-brand-pill.compact {
  display: inline-flex;
  padding: 3px 10px 3px 3px;
  font-size: 0.74rem;
  gap: 6px;
}

.card-right-actions .stream-brand-pill.compact .stream-logo-tile {
  width: 22px;
  height: 22px;
}

.card-title-row {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.poster-title {
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--text-white);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.poster-year {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 500;
  flex-shrink: 0;
}

.card-subline {
  font-size: 0.77rem;
  color: var(--text-secondary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.card-season-trend {
  font-family: var(--font-mono);
  font-size: 0.69rem;
  color: var(--amber-light);
  font-weight: 600;
}

/* Prateleira de Livros na Home */
.books-shelf-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.book-home-card {
  display: grid;
  grid-template-columns: 68px 1fr;
  gap: 14px;
  align-items: center;
  padding: 14px;
  border-radius: 10px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  text-decoration: none;
  transition: all 0.2s ease;
}

.book-home-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-strong);
  background: var(--bg-elevated);
}

.book-home-cover {
  width: 68px;
  aspect-ratio: 2 / 3;
  border-radius: 5px;
  overflow: hidden;
  background: var(--bg-elevated);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.6);
}

.book-home-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ==========================================================================
   6. PÁGINA INTERNA DO FILME (PADRÃO IMDb / ROTTEN TOMATOES / COMMON SENSE)
   ========================================================================== */
.ficha-view {
  display: none;
  min-height: 100vh;
  padding-bottom: 90px;
}

.ficha-view.active {
  display: block;
}

.ficha-backdrop-header {
  position: relative;
  width: 100%;
  height: 360px;
  overflow: hidden;
}

.ficha-backdrop-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 20%;
  opacity: 0.34;
}

.ficha-backdrop-fade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(9, 10, 15, 0.7) 0%, rgba(9, 10, 15, 0.4) 40%, #090a0f 100%);
}

.ficha-editorial-shell {
  position: relative;
  z-index: 2;
  max-width: var(--container-width);
  margin: -210px auto 0;
  padding: 0 32px;
}

.ficha-back-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

/* Zona 1 da Ficha: Cabeçalho Cinematográfico de Largura Total */
.ficha-top-hero-card {
  display: grid;
  grid-template-columns: 230px 1fr;
  gap: 36px;
  align-items: start;
  margin-bottom: 24px;
}

.ficha-sidebar-poster {
  width: 100%;
  aspect-ratio: 2 / 3;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.9);
  background: var(--bg-surface);
}

.ficha-sidebar-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ficha-stream-strip {
  display: block;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--border-subtle);
}

.where-watch-section {
  width: 100%;
}

.where-watch-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.where-watch-title {
  font-family: var(--font-display);
  font-size: 0.96rem;
  font-weight: 700;
  color: var(--text-white);
  letter-spacing: -0.01em;
}

.where-watch-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.where-watch-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 4px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  text-decoration: none;
  color: var(--text-white);
  transition: background 0.16s ease;
}

.where-watch-row:hover {
  background: rgba(255, 255, 255, 0.035);
}

.where-watch-left {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.where-watch-logo.stream-logo-tile {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.where-watch-logo.stream-logo-tile svg {
  width: 76%;
  height: 76%;
}

.where-watch-row.netflix .stream-logo-tile {
  background: #0b0b0e;
  border: 1px solid rgba(229, 9, 20, 0.5);
}
.where-watch-row.prime .stream-logo-tile {
  background: linear-gradient(145deg, #00a8e1 0%, #0073a8 100%);
}
.where-watch-row.max .stream-logo-tile {
  background: linear-gradient(145deg, #181822 0%, #060609 100%);
  border: 1px solid rgba(255, 255, 255, 0.28);
}
.where-watch-row.disney .stream-logo-tile {
  background: linear-gradient(155deg, #2b6777 0%, #0f1829 100%);
  border: 1px solid rgba(108, 193, 215, 0.45);
}
.where-watch-row.globoplay .stream-logo-tile {
  background: linear-gradient(145deg, #fe012f 0%, #fe8e04 100%);
}

.where-watch-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.where-watch-name {
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-white);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.25;
}

.where-watch-sub {
  font-size: 0.76rem;
  color: var(--text-muted);
  line-height: 1.25;
}

.where-watch-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 13px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-white);
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 600;
  flex-shrink: 0;
  transition: all 0.16s ease;
}

.where-watch-row:hover .where-watch-btn {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.55);
}

.ficha-stream-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-right: 4px;
}

/* Zona 2 da Ficha: Grid Editorial Equilibrado (Esquerda: Abas | Direita: Guia da Família + Livro) */
.ficha-body-2col {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 36px;
  align-items: start;
}

.ficha-right-rail {
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: sticky;
  top: 84px;
}

/* Coluna Direita Principal */
.ficha-main-column {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Lado a lado, o bloco da direita começa e termina junto com o pôster */
@media (min-width: 1081px) {
  .ficha-top-hero-card {
    align-items: stretch;
  }
  .ficha-top-hero-card > .ficha-main-column {
    gap: 0;
  }
  .ficha-top-hero-card .ficha-badges-strip,
  .ficha-top-hero-card .ficha-meta-line {
    margin-bottom: 16px;
  }
  .ficha-top-hero-card .ficha-title-display {
    margin: auto 0 8px;
  }
  .ficha-top-hero-card .ficha-veredito {
    margin: auto 0 0;
  }
}

.ficha-header-block {
  margin-bottom: 28px;
}

.ficha-title-display {
  font-family: var(--font-display);
  font-size: 2.75rem;
  font-weight: 800;
  color: var(--text-white);
  letter-spacing: -0.025em;
  line-height: 1.08;
  margin: 10px 0;
}

.ficha-meta-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 22px;
}

/* Painel de Placar Oficial (Tomatometer / Metacritic Style) */
.score-summary-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  border-radius: 12px;
  padding: 22px 24px;
}

.score-top-grid {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 22px;
  align-items: center;
}

.radial-gauge-box {
  position: relative;
  width: 96px;
  height: 96px;
}

.radial-gauge-box svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.radial-gauge-center {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.radial-pct-num {
  font-family: var(--font-display);
  font-size: 1.38rem;
  font-weight: 800;
  color: var(--text-white);
  line-height: 1;
}

.radial-pct-sub {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: var(--text-muted);
  font-weight: 700;
  margin-top: 3px;
}

.score-numbers-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 8px;
}

.score-big-pct {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text-white);
}

.score-opposing-pct {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 600;
}

.thermo-track-thin {
  width: 100%;
  height: 7px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 99px;
  overflow: hidden;
}

.thermo-fill-thin {
  height: 100%;
  background: linear-gradient(90deg, var(--gold) 0%, var(--green) 100%);
  border-radius: 99px;
}

.thermo-fill-thin.low-score {
  background: var(--red);
}

.score-deduction-text {
  margin-top: 11px;
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.score-deduction-text strong {
  color: var(--text-white);
}

/* Grade de 4 Colunas do Raio-X Ideológico */
.raiox-4col-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--border-subtle);
}

.raiox-pillar-card {
  background: rgba(9, 10, 15, 0.6);
  border: 1px solid var(--border-subtle);
  border-left: 3px solid var(--border-medium);
  border-radius: 8px;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.raiox-pillar-card.ok {
  border-left-color: var(--green);
  background: linear-gradient(90deg, rgba(16, 185, 129, 0.08) 0%, rgba(9, 10, 15, 0.6) 100%);
}

.raiox-pillar-card.warn {
  border-left-color: var(--amber);
  background: linear-gradient(90deg, rgba(245, 158, 11, 0.08) 0%, rgba(9, 10, 15, 0.6) 100%);
}

.raiox-pillar-card.bad {
  border-left-color: var(--red);
  background: linear-gradient(90deg, rgba(239, 68, 68, 0.08) 0%, rgba(9, 10, 15, 0.6) 100%);
}

.raiox-pillar-top {
  display: flex;
  align-items: center;
  gap: 6px;
}

.raiox-pillar-top svg {
  flex-shrink: 0;
}

.raiox-pillar-card.ok .raiox-pillar-top svg { color: var(--green-light); }
.raiox-pillar-card.warn .raiox-pillar-top svg { color: var(--amber-light); }
.raiox-pillar-card.bad .raiox-pillar-top svg { color: var(--red-light); }

.raiox-pillar-label {
  font-family: var(--font-mono);
  font-size: 0.64rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.raiox-pillar-val {
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-white);
  line-height: 1.25;
}

/* Tags de Raio-X Limpas (Compatibilidade) */
.pillars-clean-row {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--border-subtle);
}

.pilar-item {
  display: flex;
  align-items: center;
  gap: 11px;
}

.pilar-icone {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
}

.pilar-icone svg {
  width: 13px;
  height: 13px;
}

.pilar-item.ok .pilar-icone { background: var(--green-bg); color: var(--green-light); }
.pilar-item.warn .pilar-icone { background: var(--amber-bg); color: var(--amber-light); }
.pilar-item.bad .pilar-icone { background: var(--red-bg); color: var(--red-light); }

.pilar-valor {
  color: var(--text-white);
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.35;
}

/* Gráfico de Evolução de Temporada */
.season-decay-box {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border-subtle);
}

.season-decay-title {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-secondary);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.season-decay-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 10px;
}

.season-decay-col {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: 9px 11px;
}

.season-decay-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 5px;
}

.season-decay-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.86rem;
  color: var(--text-white);
}

.season-decay-pct {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
}

.season-decay-rotulo {
  font-size: 0.71rem;
  color: var(--text-secondary);
  margin-top: 5px;
  display: block;
}

/* Abas de Navegação Limpas */
.editorial-tabs-bar {
  display: flex;
  gap: 6px;
  background: var(--bg-surface);
  padding: 5px;
  border-radius: 10px;
  border: 1px solid var(--border-subtle);
  margin-bottom: 32px;
}

.editorial-tab-link {
  flex: 1;
  border: none;
  background: transparent;
  color: var(--text-secondary);
  padding: 11px 16px;
  border-radius: 7px;
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.16s ease;
}

.editorial-tab-link:hover {
  color: var(--text-white);
}

.editorial-tab-link.active {
  background: var(--bg-elevated);
  color: var(--text-white);
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.tab-pill-tag {
  font-family: var(--font-mono);
  font-size: 0.64rem;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.07);
  color: var(--text-secondary);
}

.editorial-tab-link.active .tab-pill-tag {
  background: var(--gold-bg);
  color: var(--gold-light);
}

/* ==========================================================================
   7. CONTEÚDO DA CRÍTICA & TERMÔMETRO VISUAL DE PAIS (COMMON SENSE / IMDb)
   ========================================================================== */
.editorial-review-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-top: 2px solid var(--gold);
  border-radius: 12px;
  padding: 24px 26px;
}

.content-section {
  margin-bottom: 34px;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--border-subtle);
}

.content-heading {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.lead-highlight {
  font-size: 1.08rem;
  font-weight: 600;
  color: var(--text-white);
  line-height: 1.55;
  margin-bottom: 14px;
}

.editorial-body {
  font-size: 0.96rem;
  color: var(--text-primary);
  line-height: 1.72;
  white-space: pre-line;
}

/* Painel Visual de Conteúdo & Sala de Estar (IMDb Parents Guide Style) */
.parents-guide-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 22px 24px;
  margin-bottom: 34px;
}

.parents-guide-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.pg-meters-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px 24px;
  margin-bottom: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border-subtle);
}

.pg-meter-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.pg-meter-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.81rem;
}

.pg-meter-name {
  font-weight: 700;
  color: var(--text-white);
}

.pg-meter-status {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.pg-bars-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 5px;
}

.pg-bar-seg {
  height: 6px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.09);
}

.pg-bar-seg.on.ok { background: var(--green); }
.pg-bar-seg.on.warn { background: var(--amber); }
.pg-bar-seg.on.bad { background: var(--red); }

/* Lista Limpa de Cenas / Destaques (Substitui os números 01, 02, 03 de PowerPoint) */
.highlights-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.highlight-row {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 12px;
  align-items: start;
  padding: 14px 16px;
  border-radius: 10px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
}

.highlight-icon {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 700;
  margin-top: 1px;
}

/* Recomendações: Próxima Sessão + Livro */
.recommendations-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 20px;
  margin-bottom: 30px;
}

.rec-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.rec-tag {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.book-rec-layout {
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 16px;
  align-items: start;
}

.book-rec-cover {
  width: 76px;
  aspect-ratio: 2 / 3;
  border-radius: 6px;
  overflow: hidden;
  background: var(--bg-elevated);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.65);
}

.book-rec-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Aba 1 & 2: Elementos Editoriais Avançados, Raio-X 4 Eixos, Timeline .SRT e Munição */
.ficha-badges-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}

.subtipo-badge-pill {
  display: inline-flex;
  align-items: center;
  padding: 5px 10px;
  border-radius: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-medium);
}

.srt-audit-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 10px;
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--green-light);
  background: rgba(16, 185, 129, 0.09);
  border: 1px solid rgba(16, 185, 129, 0.28);
}

.section-kicker-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 6px;
}

.section-kicker {
  font-family: var(--font-mono);
  font-size: 0.69rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold-light);
}

.section-kicker-meta {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--text-muted);
}

.editorial-quote-box {
  margin: 0 0 18px 0;
  padding: 16px 20px;
  border-left: 3px solid var(--gold);
  background: linear-gradient(90deg, rgba(229, 184, 66, 0.09) 0%, rgba(19, 22, 31, 0.5) 100%);
  border-radius: 0 10px 10px 0;
  font-family: var(--font-display);
  font-size: 1.06rem;
  font-weight: 600;
  color: var(--text-white);
  line-height: 1.55;
}

.raiox-4grid-box {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 22px;
  margin-bottom: 22px;
}

.raiox-axis-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  padding: 13px 15px;
  border-top: 2px solid var(--border-medium);
}

.raiox-axis-card.ok {
  border-top-color: var(--green);
}

.raiox-axis-card.warn {
  border-top-color: var(--amber);
}

.raiox-axis-card.bad {
  border-top-color: var(--red);
}

.raiox-axis-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-bottom: 5px;
}

.raiox-axis-name {
  font-size: 0.73rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted);
}

.raiox-axis-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.67rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 4px;
}

.raiox-axis-badge.ok {
  color: var(--green-light);
  background: rgba(16, 185, 129, 0.12);
}

.raiox-axis-badge.warn {
  color: var(--amber-light);
  background: rgba(245, 158, 11, 0.12);
}

.raiox-axis-badge.bad {
  color: var(--red-light);
  background: rgba(239, 68, 68, 0.12);
}

.raiox-axis-val {
  font-family: var(--font-display);
  font-size: 0.94rem;
  font-weight: 700;
  color: var(--text-white);
}

.synopsis-surface-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  padding: 18px 20px;
  margin-top: 16px;
}

.synopsis-label {
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-white);
  margin-bottom: 8px;
}

.whatsapp-preview-card {
  background: linear-gradient(145deg, rgba(16, 185, 129, 0.08) 0%, rgba(19, 22, 31, 0.92) 100%);
  border: 1px solid rgba(16, 185, 129, 0.28);
  border-radius: 12px;
  padding: 18px 20px;
  margin-bottom: 22px;
}

.whatsapp-preview-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.whatsapp-kicker {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--green-light);
  margin-bottom: 2px;
}

.whatsapp-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-white);
}

.btn-whatsapp-copy {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px;
  border-radius: 8px;
  border: 1px solid rgba(16, 185, 129, 0.45);
  background: rgba(16, 185, 129, 0.16);
  color: #fff;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.16s ease;
}

.btn-whatsapp-copy:hover {
  background: rgba(16, 185, 129, 0.28);
  transform: translateY(-1px);
}

.whatsapp-preview-text {
  margin: 0;
  padding: 12px 14px;
  border-radius: 8px;
  background: rgba(9, 10, 15, 0.72);
  border: 1px solid var(--border-subtle);
  font-family: var(--font-sans);
  font-size: 0.84rem;
  color: var(--text-primary);
  line-height: 1.55;
  white-space: pre-wrap;
}

.srt-audit-banner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  padding: 14px 18px;
  border-radius: 10px;
  background: linear-gradient(90deg, rgba(229, 184, 66, 0.11) 0%, rgba(19, 22, 31, 0.9) 100%);
  border: 1px solid rgba(229, 184, 66, 0.3);
  margin-bottom: 28px;
}

.srt-audit-banner-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.srt-audit-icon {
  font-size: 1.35rem;
}

.srt-audit-title {
  font-family: var(--font-display);
  font-size: 0.94rem;
  font-weight: 700;
  color: var(--text-white);
}

.srt-audit-sub {
  font-size: 0.77rem;
  color: var(--text-secondary);
  margin-top: 2px;
}

.srt-audit-tag {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 5px;
  color: var(--gold-light);
  background: var(--gold-bg);
  border: 1px solid rgba(229, 184, 66, 0.32);
}

.meaning-grid-2col {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.meaning-grid-2col > :last-child:nth-child(odd),
.scenes-grid-2col > :last-child:nth-child(odd) {
  grid-column: 1 / -1;
}

.meaning-grid-3col {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.meaning-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-top: 2px solid var(--gold);
  border-radius: 10px;
  padding: 18px;
}

.meaning-title {
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 8px;
}

.meaning-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.62;
  margin: 0;
}

.aba1-full-observations {
  margin-top: 38px;
  padding-top: 32px;
  border-top: 1px solid var(--border-subtle);
}

.highlights-grid-3col {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.highlight-card-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-top: 2px solid var(--gold);
  border-radius: 10px;
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.highlight-card-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 2px;
}

.highlight-card-title {
  font-family: var(--font-display);
  font-size: 0.84rem;
  letter-spacing: -0.015em;
  font-weight: 700;
  color: var(--text-white);
  line-height: 1.3;
}

.highlight-card-label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
}

.ending-debate-2col {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 20px;
  align-items: stretch;
}

.ending-explained-card {
  background: linear-gradient(160deg, rgba(25, 29, 41, 0.92) 0%, rgba(19, 22, 31, 0.98) 100%);
  border: 1px solid var(--border-medium);
  border-left: 3px solid var(--gold);
  border-radius: 12px;
  padding: 22px 24px;
}

.scenes-grid-2col {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.scene-card-grid {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-top: 2px solid var(--gold);
  border-radius: 10px;
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  justify-content: flex-start;
  transition: border-color 0.16s ease, transform 0.16s ease;
}

.scene-card-grid:hover {
  border-color: var(--border-strong);
  transform: translateY(-2px);
}

.scene-card-head {
  display: flex;
  align-items: center;
  gap: 10px;
}

.scene-badge-pill {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--gold-light);
  background: var(--gold-bg);
  border: 1px solid rgba(229, 184, 66, 0.32);
  padding: 3px 8px;
  border-radius: 5px;
  flex-shrink: 0;
}

.scene-card-title {
  font-family: var(--font-display);
  font-size: 1.04rem;
  font-weight: 700;
  color: var(--text-white);
  line-height: 1.3;
  margin: 0;
}

.scene-box-onscreen {
  background: rgba(9, 10, 15, 0.65);
  border: 1px solid var(--border-subtle);
  border-left: 3px solid rgba(255, 255, 255, 0.25);
  border-radius: 8px;
  padding: 11px 14px;
}

.scene-box-truth {
  background: linear-gradient(135deg, rgba(229, 184, 66, 0.08) 0%, rgba(16, 185, 129, 0.05) 100%);
  border: 1px solid rgba(229, 184, 66, 0.24);
  border-left: 3px solid var(--gold);
  border-radius: 8px;
  padding: 12px 14px;
  flex: 1;
}

.scene-box-microtag {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.scene-box-microtag.gold {
  color: var(--gold-light);
}

.scene-context-text {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-primary);
  line-height: 1.52;
  margin: 0;
}

.scene-step-num {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.05);
  padding: 3px 7px;
  border-radius: 4px;
}

.scenes-timeline {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-left: 20px;
  border-left: 2px solid rgba(229, 184, 66, 0.28);
  margin-left: 6px;
}

.scene-card {
  position: relative;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  padding: 16px 20px;
  transition: border-color 0.16s ease;
}

.scene-card::before {
  content: "";
  position: absolute;
  left: -26px;
  top: 20px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(229, 184, 66, 0.18);
}

.scene-card:hover {
  border-color: var(--border-strong);
}

.scene-card-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 8px;
}

.scene-minute {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--gold-light);
  background: var(--gold-bg);
  padding: 3px 9px;
  border-radius: 4px;
}

.scene-theme-tag {
  display: inline-block;
  font-size: 0.71rem;
  font-weight: 700;
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-subtle);
  padding: 2px 9px;
  border-radius: 4px;
}

.scene-dialogue {
  font-family: var(--font-sans);
  font-size: 0.87rem;
  font-weight: 500;
  color: var(--text-secondary);
  line-height: 1.52;
  padding: 10px 14px;
  margin-bottom: 2px;
  background: rgba(9, 10, 15, 0.65);
  border-left: 2px solid var(--gold);
  border-radius: 0 6px 6px 0;
}

.scene-explanation {
  font-size: 0.9rem;
  color: var(--text-primary);
  line-height: 1.62;
  margin: 0;
}

.municao-debate-card {
  margin-top: 28px;
  background: linear-gradient(145deg, rgba(229, 184, 66, 0.1) 0%, rgba(19, 22, 31, 0.95) 100%);
  border: 1px solid rgba(229, 184, 66, 0.35);
  border-radius: 12px;
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
}

.municao-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.municao-kicker {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gold-light);
  margin-bottom: 3px;
}

.municao-title {
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--text-white);
}

.municao-body {
  font-size: 0.92rem;
  color: var(--text-primary);
  line-height: 1.68;
  padding: 16px 18px;
  background: rgba(9, 10, 15, 0.68);
  border-radius: 8px;
  border: 1px solid var(--border-subtle);
  margin: 0;
}

.related-titles-section {
  margin-top: 56px;
  padding-top: 38px;
  border-top: 1px solid var(--border-subtle);
}

/* ==========================================================================
   8. MODAL, TOAST & FOOTER
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(9, 10, 15, 0.84);
  backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-backdrop.open {
  display: flex;
}

.modal-box {
  position: relative;
  width: 100%;
  max-width: 460px;
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  border-radius: 14px;
  padding: 28px;
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.9);
}

.modal-close-btn {
  position: absolute;
  top: 18px;
  right: 18px;
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 1.1rem;
  cursor: pointer;
}

.ficha-segunda-linha {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
  align-items: start;
  margin-bottom: 36px;
}

.ficha-segunda-linha.com-trailer {
  grid-template-columns: minmax(0, 1fr) 480px;
}

.ficha-segunda-linha .score-top-grid {
  display: block;
}

.trailer-inline {
  aspect-ratio: 16 / 9;
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  overflow: hidden;
  background: #000;
}

.trailer-inline iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.trailer-inline-capa {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: #000;
  cursor: pointer;
}

.trailer-inline-capa img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.85;
  transition: opacity 0.2s ease;
}

.trailer-inline-capa:hover img {
  opacity: 1;
}

/* A capa menor do YouTube vem com faixas pretas; ampliar deixa só a imagem */
.trailer-inline-capa img.capa-com-faixas {
  transform: scale(1.34);
}

/* Lado a lado, o trailer acompanha a altura do placar */
@media (min-width: 1081px) {
  .ficha-segunda-linha.com-trailer {
    align-items: stretch;
  }
  .ficha-segunda-linha.com-trailer .trailer-inline {
    position: relative;
    aspect-ratio: auto;
    min-height: 270px;
  }
  /* Fora do fluxo, a capa não muda a altura e a página não pula ao apertar o play */
  .ficha-segunda-linha.com-trailer .trailer-inline-capa,
  .ficha-segunda-linha.com-trailer .trailer-inline iframe {
    position: absolute;
    inset: 0;
  }
}

.trailer-inline-play {
  position: absolute;
  top: 50%;
  left: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--text-white);
  color: var(--bg-black);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
  transform: translate(-50%, -50%);
  transition: transform 0.2s ease;
}

.trailer-inline-capa:hover .trailer-inline-play {
  transform: translate(-50%, -50%) scale(1.08);
}

.trailer-inline-play svg {
  width: 18px;
  height: 18px;
  margin-left: 2px;
}

#modal-trailer {
  z-index: 210;
}

.modal-trailer-box {
  max-width: 960px;
  padding: 0;
  overflow: hidden;
}

.modal-trailer-player {
  aspect-ratio: 16 / 9;
  background: #000;
}

.modal-trailer-player iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.modal-trailer-rodape {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 14px;
  padding: 12px 16px;
}

.modal-trailer-titulo {
  flex: 1;
  min-width: 0;
  color: var(--text-white);
  font-family: var(--font-display);
  font-weight: 700;
}

.modal-trailer-link {
  color: var(--text-secondary);
  font-size: 0.8rem;
}

.modal-title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 6px;
}

.modal-subtitle {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 18px;
}

.field-group {
  margin-bottom: 14px;
}

.field-group label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 6px;
}

.field-group input,
.field-group select,
.field-group textarea {
  width: 100%;
  background: var(--bg-deep);
  border: 1px solid var(--border-medium);
  border-radius: 8px;
  padding: 10px 12px;
  color: var(--text-white);
  font-family: var(--font-sans);
  font-size: 0.85rem;
  outline: none;
}

.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 300;
  background: var(--text-white);
  color: var(--bg-black);
  padding: 11px 18px;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 700;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.7);
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: all 0.2s ease;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

.site-footer {
  border-top: 1px solid var(--border-subtle);
  padding: 40px 32px;
  text-align: center;
  background: var(--bg-deep);
}

.footer-inner {
  max-width: 720px;
  margin: 0 auto;
}

.footer-brand {
  justify-content: center;
  font-size: 1.2rem;
  cursor: pointer;
}

.footer-quick-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 14px 0 12px;
}

.footer-copy {
  margin-top: 8px;
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ==========================================================================
   9. RESPONSIVIDADE MOBILE & TABLET
   ========================================================================== */
@media (max-width: 1080px) {
  .hero-main-stage {
    grid-template-columns: 170px 1fr;
  }
  .hero-raiox-card {
    grid-column: 1 / -1;
  }
  .poster-grid-4,
  .books-shelf-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .poster-grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .ficha-top-hero-card,
  .ficha-body-2col {
    grid-template-columns: 1fr;
  }
  .ficha-sidebar-poster {
    width: 180px;
  }
  .ficha-right-rail {
    position: static;
  }
  .recommendations-grid,
  .meaning-grid-2col,
  .meaning-grid-3col,
  .highlights-grid-3col,
  .ending-debate-2col,
  .scenes-grid-2col,
  .editorial-tabs-bar {
    grid-template-columns: 1fr;
  }
  .raiox-4col-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 680px) {
  .navbar {
    height: auto;
    padding: 10px 16px;
  }
  .navbar-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  .navbar-left {
    justify-content: space-between;
    gap: 12px;
  }
  .nav-tab-btn {
    padding: 8px 2px;
    font-size: 0.8rem;
  }
  .search-field {
    flex: 1;
    width: auto;
  }
  .lbl-long {
    display: none;
  }
  .hero-fullbleed {
    padding-top: 0;
  }
  .where-watch-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .hero-container,
  .main-content-wrap,
  .ficha-editorial-shell {
    padding-left: 16px;
    padding-right: 16px;
  }
  .hero-bg-gradient {
    background: linear-gradient(180deg, rgba(9, 10, 15, 0.5) 0%, rgba(9, 10, 15, 0.9) 280px, #090a0f 420px);
  }
  .ficha-veredito {
    grid-template-columns: minmax(0, 1fr);
  }
  /* Pôster ao lado do título para o veredito aparecer logo que a página abre */
  .ficha-editorial-shell .ficha-top-hero-card {
    grid-template-columns: 96px minmax(0, 1fr) !important;
    gap: 12px 14px;
  }
  .ficha-top-hero-card .ficha-sidebar-poster {
    width: 100%;
    grid-row: 1 / span 3;
  }
  .ficha-top-hero-card > .ficha-main-column {
    display: contents;
  }
  .ficha-top-hero-card > .ficha-main-column > * {
    grid-column: 1 / -1;
    min-width: 0;
    max-width: 100%;
  }
  .ficha-top-hero-card > .ficha-main-column > .ficha-badges-strip,
  .ficha-top-hero-card > .ficha-main-column > .ficha-title-display,
  .ficha-top-hero-card > .ficha-main-column > .ficha-meta-line {
    grid-column: 2;
    margin: 0;
  }
  .ficha-top-hero-card .ficha-meta-line {
    row-gap: 4px;
    column-gap: 8px;
  }
  .ficha-top-hero-card .ficha-meta-line .meta-dot-original,
  .ficha-top-hero-card .ficha-meta-line .meta-dot-generos {
    display: none;
  }
  .ficha-top-hero-card .ficha-meta-line .meta-original,
  .ficha-top-hero-card .ficha-meta-line .meta-generos {
    flex-basis: 100%;
  }
  .ficha-top-hero-card .ficha-title-display {
    font-size: 1.5rem;
  }
  .ficha-top-hero-card > .ficha-main-column > .ficha-veredito {
    margin: 4px 0;
  }
  .hero-main-stage {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }
  /* No celular o veredito sobe para logo abaixo do título */
  .hero-content-col {
    display: contents;
  }
  .hero-floating-poster {
    width: 150px;
    justify-self: center;
  }
  .hero-content-col .selo-badge-clean,
  .hero-content-col .ficha-badges-strip {
    justify-self: center;
    order: 1;
    text-align: center;
  }
  .hero-main-title {
    order: 2;
    text-align: center;
  }
  .hero-meta-strip {
    order: 3;
    justify-content: center;
  }
  .hero-main-stage > .hero-raiox-card {
    order: 4;
  }
  .hero-synopsis-lead {
    order: 5;
  }
  .hero-actions-row {
    order: 6;
  }
  .hero-actions-row > * {
    flex: 1 1 100%;
    justify-content: center;
  }
  .hero-where-row {
    order: 7;
  }
  .hero-main-title,
  .ficha-title-display {
    font-size: 2rem;
  }
  .poster-grid-4,
  .poster-grid-3 {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    margin: 0 -16px;
    padding: 0 16px 4px;
  }
  .poster-grid-4 > .poster-item,
  .poster-grid-3 > .poster-item {
    flex: 0 0 64%;
    min-width: 0;
    scroll-snap-align: start;
  }
  .books-shelf-grid,
  .pg-meters-grid,
  .raiox-4grid-box,
  .raiox-4col-grid,
  .ficha-sidebar,
  .score-top-grid {
    grid-template-columns: 1fr;
  }
  .ficha-sidebar-poster {
    width: 160px;
  }
}


@media (max-width: 1080px) {
  .ficha-segunda-linha.com-trailer {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (min-width: 681px) and (max-width: 1080px) {
  .ficha-editorial-shell .ficha-top-hero-card {
    grid-template-columns: 170px minmax(0, 1fr) !important;
    gap: 24px;
  }
  .ficha-top-hero-card .ficha-sidebar-poster {
    width: 100%;
  }
}

/* ==========================================================================
   10. CAMADA POPULAR & ESCANEABILIDADE EM 5 SEGUNDOS (PADRÃO 60M BRASILEIROS)
   ========================================================================== */

/* Faixa de Proposta Clara na Home */
.welcome-value-strip {
  margin-top: 64px;
  background: rgba(18, 21, 30, 0.96);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 10px 32px;
}

.welcome-value-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 12px;
  flex-wrap: wrap;
}

.welcome-value-text {
  font-size: 0.86rem;
  color: var(--text-primary);
  margin: 0;
  line-height: 1.45;
}

.welcome-value-text strong {
  color: var(--gold-light);
  font-weight: 700;
}

.welcome-value-strip + .hero-fullbleed {
  padding-top: 36px;
}

/* Botão Direto de WhatsApp (wa.me) */
.ficha-top-share-group,
.whatsapp-actions-row {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.btn-whatsapp-direct {
  background: #15803d;
  color: #ffffff;
  border: 1px solid rgba(74, 222, 128, 0.45);
  padding: 8px 14px;
  border-radius: 8px;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  text-decoration: none;
  transition: all 0.16s ease;
  white-space: nowrap;
  box-shadow: 0 2px 10px rgba(21, 128, 61, 0.3);
}

.btn-whatsapp-direct:hover {
  background: #16a34a;
  border-color: #4ade80;
  color: #ffffff;
  transform: translateY(-1px);
}

/* Bloco "Em 30 Segundos: Vale o Play?" no Topo da Aba 1 */
.quick-30s-strip {
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  border-radius: 12px;
  padding: 16px 22px;
  margin-bottom: 28px;
}

.quick-30s-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  cursor: pointer;
  list-style: none;
}

.quick-30s-header::-webkit-details-marker {
  display: none;
}

.quick-30s-strip[open] .quick-30s-header {
  padding-bottom: 14px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--border-subtle);
}

.quick-30s-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--text-white);
  letter-spacing: -0.01em;
}

.quick-30s-sub {
  font-size: 0.76rem;
  color: var(--text-muted);
  font-weight: 600;
  white-space: nowrap;
  flex-shrink: 0;
}

.quick-30s-strip[open] .quick-30s-sub::after {
  content: "Recolher ▴";
}

.quick-30s-strip:not([open]) .quick-30s-sub::after {
  content: "Expandir ▾";
}

.quick-30s-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.quick-30s-item {
  padding-right: 16px;
  border-right: 1px solid var(--border-subtle);
}

.quick-30s-item:last-child {
  padding-right: 0;
  border-right: none;
}

.quick-30s-label {
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 5px;
}

.quick-30s-text {
  font-size: 0.86rem;
  color: var(--text-secondary);
  line-height: 1.52;
  margin: 0;
}

/* Destaque de Resposta Direta no Guia da Sala de Estar */
.pg-family-verdict-box {
  background: rgba(255, 255, 255, 0.03);
  border-left: 3px solid var(--gold);
  border-radius: 0 8px 8px 0;
  padding: 11px 14px;
  font-size: 0.85rem;
  color: var(--text-primary);
  line-height: 1.55;
}

/* Subtítulo do Final Explicado */
.ending-subtitle-tag {
  font-family: var(--font-display);
  font-size: 0.94rem;
  font-weight: 700;
  color: var(--gold-light);
  margin-bottom: 14px;
}

.whatsapp-msg-bubble {
  white-space: pre-line;
  margin-top: 12px;
}

.ending-debate-2col .municao-header {
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

@media (max-width: 960px) {
  .quick-30s-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .quick-30s-item {
    padding-right: 0;
    border-right: none;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-subtle);
  }
  .quick-30s-item:last-child {
    padding-bottom: 0;
    border-bottom: none;
  }
}

@media (max-width: 680px) {
  .hide-on-mobile {
    display: none;
  }
  .season-decay-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  #catalog-home-view {
    padding-top: 96px;
  }
}

/* Abaixo disso as abas quebram linha e a navbar fixa cresce de 97px para 129px */
@media (max-width: 376px) {
  #catalog-home-view {
    padding-top: 129px;
  }
}


/* Card Horizontal de Alerta para os Pais na Vitrine Kids */
.kids-alert-banner-card {
  display: grid;
  grid-template-columns: 165px 1fr;
  gap: 24px;
  background: var(--bg-surface);
  border: 1px solid rgba(239, 68, 68, 0.35);
  border-left: 4px solid var(--red);
  border-radius: 12px;
  padding: 22px 24px;
  cursor: pointer;
  transition: all 0.18s ease;
  align-items: center;
}

.kids-alert-banner-card:hover {
  border-color: rgba(239, 68, 68, 0.65);
  transform: translateY(-2px);
}

.kids-alert-poster {
  width: 165px;
  aspect-ratio: 2 / 3;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border-medium);
}

.kids-alert-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.kids-alert-title {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--text-white);
  margin-bottom: 6px;
}

.kids-alert-title span {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-muted);
}

.kids-alert-desc {
  font-size: 0.94rem;
  color: var(--text-primary);
  line-height: 1.55;
  margin-bottom: 12px;
}

.kids-alert-30s {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  background: rgba(239, 68, 68, 0.06);
  border: 1px solid rgba(239, 68, 68, 0.2);
  border-radius: 8px;
  padding: 12px 14px;
  font-size: 0.84rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.kids-alert-30s strong {
  color: var(--text-white);
}

/* ==========================================================================
   11. GUIA DE SOFÁ, TOP 5 WHATSAPP, COMPARADOR DE CILADAS, TRAILER & VOTO
   ========================================================================== */

/* Painel de Escolha Rápida de Sofá (Streaming + Ocasião) */
.sofa-chooser-panel {
  padding: 0;
  border-bottom: none;
  margin-top: 28px;
  margin-bottom: 40px;
  gap: 14px;
}

.sofa-filter-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.sofa-filter-label {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-right: 4px;
  white-space: nowrap;
}

/* Etiqueta de Sala de Estar no Rodapé do Card (Visível no Celular e PC Sem Cobrir a Arte do Pôster) */
.card-livingroom-pill {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  max-width: 100%;
  padding: 2px 7px;
  border-radius: 5px;
  font-family: var(--font-sans);
  font-size: 0.69rem;
  font-weight: 700;
  line-height: 1.25;
  margin: 1px 0;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.32);
  color: var(--green-light);
}

.card-livingroom-pill.warn {
  background: rgba(245, 158, 11, 0.12);
  border-color: rgba(245, 158, 11, 0.35);
  color: var(--amber-light);
}

.card-livingroom-pill.bad {
  background: rgba(239, 68, 68, 0.14);
  border-color: rgba(239, 68, 68, 0.38);
  color: #fca5a5;
}

/* Ações Direitas e Frase-Gancho no Rodapé do Card */
.card-right-actions {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  flex-shrink: 0;
}

.card-zap-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 22px;
  border-radius: 5px;
  background: rgba(21, 128, 61, 0.25);
  border: 1px solid rgba(74, 222, 128, 0.4);
  color: #4ade80;
  text-decoration: none;
  transition: all 0.16s ease;
  flex-shrink: 0;
}

.card-zap-icon-btn svg {
  width: 12px;
  height: 12px;
}

.card-zap-icon-btn:hover {
  background: #16a34a;
  color: #ffffff;
  border-color: #4ade80;
  transform: scale(1.06);
}

.card-bookmark-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 22px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-medium);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.16s ease;
  flex-shrink: 0;
  padding: 0;
}

.card-bookmark-btn svg {
  width: 12px;
  height: 12px;
}

.card-bookmark-btn:hover,
.card-bookmark-btn.saved {
  background: rgba(229, 184, 66, 0.22);
  border-color: var(--gold);
  color: var(--gold-light);
}

.card-bookmark-btn.saved svg {
  fill: currentColor;
}

.btn-subtle.saved-bookmark {
  background: rgba(229, 184, 66, 0.18);
  border-color: var(--gold);
  color: var(--gold-light);
}

.btn-lucky-pick {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 13px;
  border-radius: 7px;
  background: linear-gradient(135deg, rgba(229, 184, 66, 0.2) 0%, rgba(229, 184, 66, 0.08) 100%);
  border: 1px solid rgba(229, 184, 66, 0.45);
  color: var(--gold-light);
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.16s ease;
  white-space: nowrap;
}

.btn-lucky-pick:hover {
  background: rgba(229, 184, 66, 0.3);
  border-color: var(--gold);
  color: #ffffff;
  transform: translateY(-1px);
}

.card-hook-line {
  font-size: 0.78rem;
  color: var(--text-secondary);
  line-height: 1.38;
  margin: 1px 0 0;
}

/* Botões de Trailer no Hero, Card Hover e Página do Filme */
.btn-trailer-action {
  background: rgba(229, 184, 66, 0.12);
  color: var(--gold-light);
  border: 1px solid rgba(229, 184, 66, 0.42);
  padding: 11px 16px;
  border-radius: 8px;
  font-family: var(--font-sans);
  font-size: 0.84rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  text-decoration: none;
  transition: all 0.16s ease;
}

.btn-trailer-action:hover {
  background: rgba(229, 184, 66, 0.22);
  border-color: var(--gold);
  color: var(--text-white);
  transform: translateY(-1px);
}

.btn-trailer-ficha {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-medium);
  color: var(--text-white);
  font-family: var(--font-sans);
  font-size: 0.76rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.16s ease;
  white-space: nowrap;
}

.btn-trailer-ficha:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

/* Top 5 da Semana nos Grupos de Família */
.top5-week-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}

.top5-rank-card {
  position: relative;
  display: grid;
  grid-template-columns: 16px 46px minmax(0, 1fr);
  gap: 8px;
  align-items: center;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  padding: 10px 10px;
  cursor: pointer;
  transition: all 0.18s ease;
}

.top5-rank-card .card-right-actions {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.top5-rank-card:hover {
  border-color: rgba(229, 184, 66, 0.45);
  background: var(--bg-elevated);
  transform: translateY(-2px);
}

.top5-big-num {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
  text-align: center;
}

.top5-poster-mini {
  width: 48px;
  aspect-ratio: 2 / 3;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  background: var(--bg-elevated);
}

.top5-poster-mini img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.top5-info-col {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.top5-score-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
  flex-wrap: nowrap;
}

.top5-score-line .card-pct-badge {
  font-size: 0.66rem;
}

.top5-plat-tag {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: var(--text-muted);
  font-weight: 600;
}

.top5-title {
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-white);
  line-height: 1.22;
}

.top5-etiqueta {
  font-size: 0.68rem;
  color: var(--text-secondary);
  line-height: 1.3;
  margin: 0;
}

/* Comparador "Troque a Cilada pelo Filmaço" */
.swap-comparison-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.swap-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 34px minmax(0, 1fr);
  gap: 10px;
  align-items: stretch;
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  border-radius: 12px;
  padding: 14px;
}

.swap-side {
  border-radius: 9px;
  padding: 12px;
  cursor: pointer;
  transition: all 0.16s ease;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.swap-side.bad {
  background: rgba(239, 68, 68, 0.06);
  border: 1px solid rgba(239, 68, 68, 0.22);
}

.swap-side.bad:hover {
  border-color: rgba(239, 68, 68, 0.5);
  background: rgba(239, 68, 68, 0.1);
}

.swap-side.good {
  background: rgba(16, 185, 129, 0.07);
  border: 1px solid rgba(16, 185, 129, 0.26);
}

.swap-side.good:hover {
  border-color: rgba(16, 185, 129, 0.55);
  background: rgba(16, 185, 129, 0.12);
}

.swap-kicker {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.swap-kicker.bad {
  color: #fca5a5;
}

.swap-kicker.good {
  color: var(--green-light);
}

.swap-media-row {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 10px;
  align-items: start;
}

.swap-thumb {
  width: 52px;
  aspect-ratio: 2 / 3;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  background: var(--bg-elevated);
}

.swap-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.swap-meta {
  min-width: 0;
}

.swap-title {
  font-family: var(--font-display);
  font-size: 0.94rem;
  font-weight: 700;
  color: var(--text-white);
  line-height: 1.2;
  margin-bottom: 2px;
}

.swap-pct {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.swap-pct.bad {
  color: var(--red-light);
}

.swap-pct.good {
  color: var(--green-light);
}

.swap-reason {
  font-size: 0.75rem;
  color: var(--text-secondary);
  line-height: 1.38;
  margin: 0;
}

.swap-arrow-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  align-self: center;
  margin: 0 auto;
  border-radius: 50%;
  background: rgba(229, 184, 66, 0.16);
  border: 1px solid rgba(229, 184, 66, 0.42);
  color: var(--gold-light);
}

/* Enquete Interativa de 1 Clique: A Voz do Público DireitaFlix */
.community-poll-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  background: linear-gradient(90deg, rgba(21, 24, 33, 0.96) 0%, rgba(28, 32, 43, 0.96) 100%);
  border: 1px solid var(--border-medium);
  border-left: 3px solid var(--gold);
  border-radius: 12px;
  padding: 18px 22px;
  margin-bottom: 28px;
}

.community-poll-left {
  flex: 1;
  min-width: 260px;
}

.community-poll-kicker {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--gold-light);
  margin-bottom: 3px;
}

.community-poll-title {
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 10px;
}

.community-poll-bar-wrap {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.community-poll-bar-track {
  width: 100%;
  max-width: 420px;
  height: 7px;
  background: rgba(239, 68, 68, 0.28);
  border-radius: 99px;
  overflow: hidden;
}

.community-poll-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--gold) 0%, var(--green) 100%);
  border-radius: 99px;
  transition: width 0.25s ease;
}

.community-poll-bar-fill.low {
  background: var(--red);
}

.community-poll-bar-label {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.community-poll-bar-label strong {
  color: var(--text-white);
}

.community-poll-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.poll-vote-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 9px;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.16s ease;
  border: 1px solid var(--border-medium);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-primary);
}

.poll-vote-btn.up:hover,
.poll-vote-btn.up.voted {
  background: rgba(16, 185, 129, 0.18);
  border-color: rgba(16, 185, 129, 0.55);
  color: #ffffff;
}

.poll-vote-btn.up svg {
  color: var(--green-light);
}

.poll-vote-btn.down:hover,
.poll-vote-btn.down.voted {
  background: rgba(239, 68, 68, 0.18);
  border-color: rgba(239, 68, 68, 0.55);
  color: #ffffff;
}

.poll-vote-btn.down svg {
  color: var(--red-light);
}

.poll-vote-count {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  padding: 2px 7px;
  border-radius: 5px;
  background: rgba(9, 10, 15, 0.55);
  color: var(--text-white);
}

/* Ajustes Finais de Responsividade Mobile & Tablet (Zero Overflow Horizontal em 390px) */
.hero-main-stage > *,
.ficha-top-hero-card > *,
.ficha-body-2col > *,
.score-top-grid > *,
.quick-30s-grid > *,
.meaning-grid-2col > *,
.ending-debate-2col > *,
.scenes-grid-2col > *,
.highlights-grid-3col > *,
.kids-alert-banner-card > *,
.books-shelf-grid > *,
.book-rec-layout > *,
.hero-carousel-strip > *,
.top5-week-grid > *,
.swap-comparison-grid > *,
.swap-card > * {
  min-width: 0;
  max-width: 100%;
}

@media (max-width: 1180px) {
  .top5-week-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .swap-comparison-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 1080px) {
  .ficha-top-hero-card,
  .ficha-body-2col,
  .recommendations-grid,
  .meaning-grid-2col,
  .meaning-grid-3col,
  .highlights-grid-3col,
  .ending-debate-2col,
  .scenes-grid-2col {
    grid-template-columns: minmax(0, 1fr) !important;
  }
  .hero-carousel-strip {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .hero-thumbs-row {
    width: 100%;
    max-width: 100%;
  }
}

@media (max-width: 680px) {
  html, body {
    overflow-x: hidden;
    max-width: 100vw;
  }
  .navbar-left {
    gap: 8px;
    flex-wrap: wrap;
  }
  .nav-links {
    gap: 12px;
  }
  .nav-tab-btn {
    font-size: 0.76rem;
  }
  .hero-main-stage,
  .books-shelf-grid,
  .pg-meters-grid,
  .raiox-4grid-box,
  .raiox-4col-grid,
  .ficha-sidebar,
  .score-top-grid,
  .kids-alert-30s,
  .top5-week-grid,
  .swap-comparison-grid,
  .swap-card {
    grid-template-columns: minmax(0, 1fr) !important;
  }
  .kids-alert-banner-card {
    grid-template-columns: 88px minmax(0, 1fr) !important;
    gap: 10px 14px;
    align-items: start;
  }
  .kids-alert-banner-card > .kids-alert-poster {
    width: 100%;
    grid-row: 1 / span 3;
  }
  .kids-alert-banner-card > .kids-alert-content {
    display: contents;
  }
  .kids-alert-banner-card > .kids-alert-content > * {
    grid-column: 1 / -1;
    min-width: 0;
    max-width: 100%;
  }
  .kids-alert-banner-card > .kids-alert-content > .ficha-badges-strip,
  .kids-alert-banner-card > .kids-alert-content > .kids-alert-title,
  .kids-alert-banner-card > .kids-alert-content > .kids-alert-desc {
    grid-column: 2;
    margin: 0;
  }
  .kids-alert-banner-card .kids-alert-title {
    font-size: 1.32rem;
  }
  .kids-alert-banner-card .kids-alert-desc {
    font-size: 0.84rem;
    line-height: 1.45;
  }
  .swap-arrow-divider {
    transform: rotate(90deg);
  }
  .editorial-tabs-bar {
    flex-direction: row;
    gap: 4px;
  }
  .editorial-tab-link {
    padding: 9px 8px;
    font-size: 0.78rem;
    gap: 5px;
    white-space: nowrap;
  }
  .tab-pill-tag {
    font-size: 0.58rem;
    padding: 2px 5px;
    white-space: nowrap;
  }
  .ficha-back-row {
    flex-wrap: wrap;
    gap: 6px;
  }
  .ficha-back-row > div {
    width: 100%;
    display: flex;
    gap: 6px;
  }
  .ficha-back-row > div > .btn-subtle {
    flex: 1 1 0;
    justify-content: center;
    padding: 7px 8px;
    font-size: 0.75rem;
  }
  .ficha-top-share-group {
    width: 100%;
    justify-content: flex-start;
  }
  .btn-trailer-ficha {
    margin-left: 0;
  }
  .ficha-badges-strip,
  .selo-badge-clean,
  .subtipo-badge-pill {
    white-space: normal !important;
    max-width: 100%;
    word-break: break-word;
  }
  .score-numbers-row {
    flex-wrap: wrap;
    gap: 6px;
  }
  .score-big-pct {
    font-size: 1.2rem;
  }
  .score-summary-card,
  .quick-30s-strip,
  .community-poll-card,
  .parents-guide-card,
  .rec-box,
  .whatsapp-preview-card,
  .meaning-card,
  .ending-explained-card,
  .municao-debate-card,
  .scene-card-grid,
  .highlight-card-box,
  .kids-alert-banner-card,
  .sofa-chooser-panel {
    padding: 16px;
    max-width: 100%;
    box-sizing: border-box;
  }
  .whatsapp-preview-header,
  .community-poll-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .community-poll-actions {
    width: 100%;
  }
  .poll-vote-btn {
    flex: 1;
    justify-content: center;
  }
  .hero-thumbs-row {
    flex-wrap: wrap !important;
    overflow: visible !important;
  }
  .poster-grid-4,
  .poster-grid-3 {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
  }
  .poster-grid-4 > .poster-item,
  .poster-grid-3 > .poster-item {
    flex: initial !important;
    width: 100% !important;
    min-width: 0 !important;
  }
}

/* ============================================================================
   GOAL #7 (v48): FILTRO DE FORMATO + MODAL 'ESPIAR EM 30 SEGUNDOS'
   ============================================================================ */
.formato-filter-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  flex-wrap: wrap;
}

@media (min-width: 681px) {
  .sort-control-wrap .sort-label {
    margin-left: auto;
  }
}

.card-livingroom-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  flex-wrap: wrap;
  margin: 1px 0;
}

.modal-30s-box {
  max-width: 820px;
  width: 94vw;
  max-height: 90vh;
  overflow-y: auto;
  padding: 20px 24px 24px;
}

.modal-30s-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-subtle);
}

.modal-30s-kicker {
  font-family: var(--font-mono);
  font-size: 0.69rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--gold-light);
}

.modal-30s-nav {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  margin-left: auto;
}

.modal-close-inline-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.16s ease;
}

.modal-close-inline-btn:hover {
  background: rgba(239, 68, 68, 0.2);
  border-color: rgba(239, 68, 68, 0.45);
  color: #ffffff;
}

.modal-30s-header {
  display: grid;
  grid-template-columns: 78px 1fr;
  gap: 16px;
  align-items: center;
  margin-bottom: 18px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-subtle);
}

.modal-30s-poster {
  width: 78px;
  aspect-ratio: 2 / 3;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border-medium);
  cursor: pointer;
}

.modal-30s-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.modal-30s-badges {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 6px;
}

.modal-30s-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-white);
  line-height: 1.15;
  margin: 0 0 4px 0;
}

.modal-30s-title span {
  font-weight: 500;
  font-size: 1rem;
  color: var(--text-muted);
}

.modal-30s-sub {
  font-size: 0.78rem;
  color: var(--text-secondary);
  margin: 0 0 8px 0;
}

.modal-30s-stream-row {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.modal-30s-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 16px;
}

.modal-30s-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: 9px;
  padding: 12px;
}

.modal-30s-q {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--gold-light);
  text-transform: uppercase;
  margin-bottom: 5px;
}

.modal-30s-a {
  font-size: 0.8rem;
  line-height: 1.42;
  color: var(--text-primary);
  margin: 0;
}

.modal-30s-pg-box {
  background: rgba(15, 17, 24, 0.85);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  padding: 14px 16px;
  margin-bottom: 18px;
}

.modal-30s-pg-title {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-secondary);
  margin-bottom: 10px;
}

.modal-30s-pg-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 18px;
}

.modal-30s-pg-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  font-size: 0.74rem;
  color: var(--text-secondary);
  margin-bottom: 4px;
}

.modal-30s-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.modal-30s-actions > * {
  padding: 8px 10px !important;
  font-size: 0.75rem !important;
}

@media (max-width: 680px) {
  .formato-filter-wrap {
    margin-left: 0;
    width: 100%;
  }
  .filter-pills-row,
  .sort-control-wrap,
  .sofa-filter-row,
  .filter-group {
    flex-wrap: wrap !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }
  .sort-control-wrap {
    width: 100%;
    justify-content: flex-start;
    gap: 8px;
  }
  .sort-control-wrap > button {
    padding: 7px 12px;
    font-size: 0.78rem;
  }
  .hero-content-col > * {
    min-width: 0;
    max-width: 100%;
  }
  .modal-30s-box {
    max-height: 92vh;
    padding: 14px 14px 12px;
  }
  .modal-30s-topbar {
    position: sticky;
    top: -14px;
    z-index: 4;
    background: rgba(15, 17, 24, 0.97);
    backdrop-filter: blur(8px);
    margin: -14px -14px 10px;
    padding: 10px 14px 8px;
  }
  .modal-30s-header {
    margin-bottom: 12px;
    padding-bottom: 12px;
    gap: 12px;
  }
  .modal-30s-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 6px;
    margin-bottom: 8px;
  }
  .modal-30s-pg-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 10px;
  }
  .modal-30s-pg-grid .pg-meter-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 1px;
    margin-bottom: 4px;
  }
  .modal-30s-pg-grid .pg-meter-name {
    font-size: 0.72rem;
  }
  .modal-30s-pg-grid .pg-meter-status {
    font-size: 0.68rem;
  }
  .modal-30s-item {
    padding: 8px 10px;
  }
  .modal-30s-pg-box {
    padding: 9px 11px;
    margin-bottom: 8px;
  }
  .modal-30s-actions {
    position: sticky;
    bottom: -12px;
    z-index: 4;
    background: rgba(15, 17, 24, 0.98);
    backdrop-filter: blur(8px);
    margin: 4px -14px -12px;
    padding: 9px 14px 10px;
    border-top: 1px solid var(--border-subtle);
  }
}

/* ============================================================================
   GOAL #8 (v49): QUADRO DE CONVERSA COM OS FILHOS NAS FICHAS PAIS & KIDS
   ============================================================================ */
.kids-talk-card {
  background: linear-gradient(135deg, rgba(21, 24, 33, 0.96) 0%, rgba(16, 185, 129, 0.06) 100%);
  border: 1px solid rgba(16, 185, 129, 0.32);
  border-left: 4px solid var(--green);
  border-radius: 12px;
  padding: 22px 24px;
  margin-bottom: 24px;
}

.kids-talk-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-subtle);
}

.kids-talk-kicker {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--green-light);
  margin-bottom: 4px;
}

.kids-talk-title {
  font-family: var(--font-display);
  font-size: 1.18rem;
  font-weight: 800;
  color: var(--text-white);
  margin: 0 0 4px 0;
}

.kids-talk-sub {
  font-size: 0.82rem;
  color: var(--text-secondary);
  margin: 0;
}

.kids-talk-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.kids-talk-item {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 12px;
  align-items: start;
  background: rgba(9, 10, 15, 0.55);
  border: 1px solid var(--border-subtle);
  border-radius: 9px;
  padding: 13px 15px;
}

.kids-talk-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.18);
  border: 1px solid rgba(16, 185, 129, 0.45);
  color: var(--green-light);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 800;
}

.kids-talk-q {
  font-family: var(--font-display);
  font-size: 0.94rem;
  font-weight: 700;
  color: var(--text-white);
  line-height: 1.4;
  margin-bottom: 5px;
}

.kids-talk-a {
  font-size: 0.83rem;
  color: var(--text-secondary);
  line-height: 1.48;
}

.kids-talk-a strong {
  color: var(--gold-light);
}

@media (max-width: 680px) {
  .kids-talk-card {
    padding: 16px;
  }
}

/* ============================================================================
   GOAL #9 (v58): SEMÁFORO DE TEMPORADAS NAS FICHAS DE SÉRIES
   ============================================================================ */
.seasons-traffic-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  border-radius: 12px;
  padding: 20px 22px;
  margin-bottom: 26px;
}

.seasons-traffic-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-subtle);
}

.seasons-traffic-kicker {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--gold-light);
  margin-bottom: 3px;
}

.seasons-traffic-title {
  font-family: var(--font-display);
  font-size: 1.14rem;
  font-weight: 800;
  color: var(--text-white);
  margin: 0;
}

.seasons-traffic-summary {
  font-size: 0.82rem;
  color: var(--text-secondary);
  margin: 4px 0 0 0;
  line-height: 1.45;
}

.seasons-traffic-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.seasons-traffic-grid.cols-1 {
  grid-template-columns: minmax(0, 1fr);
}

.seasons-traffic-grid.cols-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.season-traffic-box {
  border-radius: 10px;
  padding: 14px 16px;
  border: 1px solid var(--border-subtle);
  background: rgba(9, 10, 15, 0.55);
}

.season-traffic-box.ok {
  border-top: 3px solid var(--green);
}

.season-traffic-box.warn {
  border-top: 3px solid var(--amber);
}

.season-traffic-box.bad {
  border-top: 3px solid var(--red);
  background: rgba(239, 68, 68, 0.05);
}

.season-traffic-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
}

.season-traffic-name {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--text-white);
}

.season-traffic-score {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--gold-light);
}

.season-traffic-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 8px;
  border-radius: 5px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.season-traffic-pill.ok {
  background: rgba(16, 185, 129, 0.14);
  color: var(--green-light);
  border: 1px solid rgba(16, 185, 129, 0.35);
}

.season-traffic-pill.warn {
  background: rgba(245, 158, 11, 0.14);
  color: var(--amber-light);
  border: 1px solid rgba(245, 158, 11, 0.38);
}

.season-traffic-pill.bad {
  background: rgba(239, 68, 68, 0.16);
  color: #fca5a5;
  border: 1px solid rgba(239, 68, 68, 0.42);
}

.season-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
}

.season-dot.ok {
  background: var(--green-light);
}

.season-dot.warn {
  background: var(--amber-light);
}

.season-dot.bad {
  background: var(--red-light);
}

.season-traffic-desc {
  font-size: 0.82rem;
  line-height: 1.46;
  color: var(--text-secondary);
  margin: 0;
}

@media (max-width: 960px) {
  .seasons-traffic-grid,
  .seasons-traffic-grid.cols-2 {
    grid-template-columns: minmax(0, 1fr);
  }
}

.shelf-header-clean .whatsapp-actions-row {
  flex-shrink: 0;
  white-space: nowrap;
}

/* ============================================================================
   GOAL #11 (v60): DICA DO CONTROLE REMOTO + BOTÃO FLUTUANTE VOLTAR AO TOPO
   ============================================================================ */
.remote-tip-box {
  margin-top: 12px;
  padding: 11px 13px;
  border-radius: 9px;
  background: rgba(16, 185, 129, 0.07);
  border: 1px solid rgba(16, 185, 129, 0.28);
}

.remote-tip-box.warn {
  background: rgba(245, 158, 11, 0.08);
  border-color: rgba(245, 158, 11, 0.34);
}

.remote-tip-box.bad {
  background: rgba(239, 68, 68, 0.08);
  border-color: rgba(239, 68, 68, 0.35);
}

.remote-tip-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 5px;
}

.remote-tip-kicker {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-white);
}

.remote-tip-badge {
  font-family: var(--font-mono);
  font-size: 0.67rem;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 5px;
  background: rgba(16, 185, 129, 0.18);
  color: var(--green-light);
}

.remote-tip-badge.warn {
  background: rgba(245, 158, 11, 0.2);
  color: var(--amber-light);
}

.remote-tip-badge.bad {
  background: rgba(239, 68, 68, 0.2);
  color: #fca5a5;
}

.remote-tip-text {
  font-size: 0.79rem;
  line-height: 1.44;
  color: var(--text-secondary);
  margin: 0;
}

.back-to-top-fab {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 90;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 14px;
  border-radius: 99px;
  background: rgba(21, 24, 33, 0.94);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(229, 184, 66, 0.5);
  color: var(--gold-light);
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 700;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.5);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: all 0.2s ease;
}

.back-to-top-fab.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.back-to-top-fab:hover {
  background: var(--gold);
  color: #090a0f;
}

.btn-zap-poll {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 13px;
  border-radius: 7px;
  background: rgba(21, 128, 61, 0.22);
  border: 1px solid rgba(74, 222, 128, 0.45);
  color: #4ade80;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.16s ease;
  white-space: nowrap;
}

.btn-zap-poll:hover {
  background: #16a34a;
  border-color: #4ade80;
  color: #ffffff;
  transform: translateY(-1px);
}

/* WhatsApp desligado por enquanto: para religar, tire a classe sem-whatsapp do <body> */
body.sem-whatsapp .btn-whatsapp-direct,
body.sem-whatsapp .card-zap-icon-btn,
body.sem-whatsapp .btn-zap-poll,
body.sem-whatsapp .whatsapp-preview-card,
body.sem-whatsapp .municao-debate-card {
  display: none !important;
}

/* ==========================================================================
   HOME SIMPLIFICADA: FILTROS EM UMA LINHA, CARDS LIMPOS E DESTAQUE COMPACTO
   ========================================================================== */
.sofa-chooser-panel {
  gap: 12px;
  margin-top: 18px;
  margin-bottom: 24px;
}

.shelf-sub {
  display: none;
}

.filtro-linha-principal {
  display: flex;
  align-items: center;
  gap: 8px;
}

.filtro-chips-rolagem {
  flex: 1;
  min-width: 0;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
}

.filtro-chips-rolagem::-webkit-scrollbar {
  display: none;
}

.filtro-chips-rolagem .filter-group {
  flex-wrap: nowrap !important;
  flex-shrink: 0;
  max-width: none !important;
}

.filtro-linha-principal .chip-btn {
  flex-shrink: 0;
  white-space: nowrap;
  padding: 7px 11px;
}

.card-troca-pill {
  display: inline-flex;
  align-items: center;
  width: 100%;
  margin-top: 2px;
  padding: 5px 8px;
  border-radius: 6px;
  background: rgba(16, 185, 129, 0.11);
  border: 1px solid rgba(16, 185, 129, 0.34);
  color: #6ee7b7;
  font-family: var(--font-sans);
  font-size: 0.71rem;
  font-weight: 600;
  line-height: 1.25;
  text-align: left;
  cursor: pointer;
  transition: all 0.16s ease;
}

.card-troca-pill strong {
  color: #a7f3d0;
  font-weight: 700;
}

.card-troca-pill:hover {
  background: rgba(16, 185, 129, 0.2);
  border-color: rgba(16, 185, 129, 0.55);
}

.filtro-chips-rolagem .chip-count {
  display: none;
}

.painel-filtros {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
}

.painel-filtros[hidden] {
  display: none;
}

.kids-filter-strip.visible {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

.kids-age-chips-group {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.kids-age-guidance-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 16px 20px;
  margin-bottom: 22px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.1) 0%, rgba(21, 24, 33, 0.92) 100%);
  border: 1px solid rgba(16, 185, 129, 0.35);
}

.kids-age-guidance-text {
  flex: 1 1 380px;
}

.kids-age-guidance-kicker {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--green-light);
  margin-bottom: 4px;
}

.kids-age-guidance-text p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.52;
  color: var(--text-primary);
}

@media (hover: hover) and (min-width: 681px) {
  .card-right-actions {
    opacity: 0.92;
    transition: opacity 0.15s ease;
  }
  .poster-item:hover .card-right-actions,
  .top5-rank-card:hover .card-right-actions,
  .card-right-actions:focus-within {
    opacity: 1;
  }
}

@media (max-width: 680px) {
  .hide-on-mobile {
    display: none;
  }
  .season-decay-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .welcome-value-strip {
    padding: 7px 16px;
  }
  .hero-synopsis-lead,
  .card-right-actions .stream-brand-pill,
  .poster-year {
    display: none;
  }
  .poster-title {
    white-space: normal;
  }
  .hero-container {
    padding-top: 18px;
    padding-bottom: 18px;
  }
  .hero-main-stage {
    grid-template-columns: 104px minmax(0, 1fr) !important;
    gap: 10px 14px;
  }
  .hero-floating-poster {
    width: 100%;
    grid-row: 1 / span 3;
    justify-self: stretch;
  }
  .hero-content-col .selo-badge-clean,
  .hero-content-col .ficha-badges-strip,
  .hero-main-title,
  .hero-meta-strip {
    grid-column: 2;
    justify-self: start;
    justify-content: flex-start;
    text-align: left;
  }
  .hero-content-col .selo-badge-clean,
  .hero-content-col .subtipo-badge-pill {
    font-size: 0.62rem;
  }
  .hero-main-title {
    font-size: 1.6rem;
  }
  .hero-main-stage > .hero-raiox-card,
  .hero-actions-row,
  .hero-where-row {
    grid-column: 1 / -1;
    justify-content: flex-start;
  }
  .hero-main-stage .hero-raiox-final {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    column-gap: 14px;
    padding: 12px 16px;
  }
  .hero-main-stage .hero-raiox-final-label {
    grid-column: 1 / -1;
  }
  .hero-main-stage .hero-raiox-final-voto {
    font-size: 2.2rem;
  }
  .hero-main-stage .hero-raiox-pillars {
    padding: 0 16px 4px;
  }
  .hero-main-stage .hero-raiox-item {
    padding: 8px 0;
  }
  .hero-actions-row {
    flex-wrap: nowrap;
  }
  .kids-alert-actions {
    flex-wrap: wrap !important;
  }
  .hero-actions-row > * {
    flex: 0 1 auto;
    padding: 11px 14px;
  }
  .hero-actions-row .btn-primary-action {
    flex: 1 1 auto;
  }
  .shelf-header-clean {
    flex-wrap: wrap;
    gap: 10px;
  }
  .shelf-heading {
    font-size: 1.1rem;
  }
  .hero-thumbs-row {
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 4px;
  }
  .hero-thumbs-row::-webkit-scrollbar {
    display: none;
  }
  .hero-thumb-pill {
    flex-shrink: 0;
  }
  .sofa-stream-top-row {
    display: flex !important;
    align-items: center;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    gap: 6px;
    margin: 0 -16px;
    padding: 0 16px 4px;
  }
  .sofa-stream-top-row::-webkit-scrollbar {
    display: none;
  }
  .sofa-stream-top-row #streaming-filters {
    display: contents !important;
  }
  .sofa-stream-top-row .stream-chip,
  .sofa-stream-top-row .chip-btn {
    flex-shrink: 0 !important;
    white-space: nowrap !important;
    padding: 6px 10px;
    font-size: 0.74rem;
  }
  .sofa-stream-top-row .btn-lucky-pick {
    flex-shrink: 0 !important;
    padding: 6px 11px;
    font-size: 0.74rem;
  }
  .filtro-linha-principal {
    display: flex !important;
    align-items: center;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    gap: 6px;
    margin: 0 -16px;
    padding: 0 16px 4px;
  }
  .filtro-linha-principal::-webkit-scrollbar {
    display: none;
  }
  .filtro-chips-rolagem,
  .filtro-chips-rolagem .filter-group {
    display: contents !important;
  }
  .filtro-linha-principal .chip-btn {
    padding: 6px 10px;
    font-size: 0.74rem;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
  }
  #btn-painel-filtros {
    flex-shrink: 0 !important;
    padding: 6px 10px !important;
    font-size: 0.74rem !important;
  }
}

/* Prateleiras da home no celular: arrastar para o lado, como nos streamings.
   A lista de resultados de filtro e busca continua em grade. */
@media (max-width: 680px) {
  #shelves-container .poster-grid-4:not(.poster-grid-lista),
  #shelves-container .poster-grid-3:not(.poster-grid-lista) {
    display: flex !important;
    flex-wrap: nowrap;
    gap: 10px !important;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
    margin: 0 -16px !important;
    padding: 0 16px 4px !important;
    max-width: none !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    -webkit-overflow-scrolling: touch;
  }
  #shelves-container .poster-grid-4:not(.poster-grid-lista)::-webkit-scrollbar,
  #shelves-container .poster-grid-3:not(.poster-grid-lista)::-webkit-scrollbar {
    display: none;
  }
  #shelves-container .poster-grid-4:not(.poster-grid-lista) > .poster-item,
  #shelves-container .poster-grid-3:not(.poster-grid-lista) > .poster-item {
    flex: 0 0 42% !important;
    width: auto !important;
    min-width: 0;
    scroll-snap-align: start;
  }
  #shelves-container .poster-grid-4:not(.poster-grid-lista) .card-right-actions,
  #shelves-container .poster-grid-3:not(.poster-grid-lista) .card-right-actions {
    gap: 4px;
  }
  #shelves-container .poster-grid-4:not(.poster-grid-lista) .poster-title,
  #shelves-container .poster-grid-3:not(.poster-grid-lista) .poster-title {
    white-space: nowrap;
    font-size: 0.84rem;
  }
  .kids-filter-label {
    display: none;
  }
  .kids-age-chips-group {
    gap: 5px;
  }
  .kids-age-chips-group .chip-btn {
    padding: 6px 9px;
    font-size: 0.73rem;
  }
  #shelves-container .shelf-block {
    margin-bottom: 22px;
  }
  #shelves-container .shelf-header-clean,
  .related-titles-section .shelf-header-clean {
    margin-bottom: 10px;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 10px;
  }
  #shelves-container .shelf-header-clean:has(> .btn-subtle) {
    flex-wrap: nowrap;
    align-items: center;
  }
  #shelves-container .shelf-title-group,
  .related-titles-section .shelf-title-group {
    flex: 1 1 220px;
    min-width: 0;
  }
  #shelves-container .shelf-header-clean:has(> div:last-child > button + button) .shelf-title-group {
    flex: 1 1 100%;
  }
  .related-titles-section .shelf-header-clean > div:last-child {
    width: 100%;
    display: flex;
    gap: 6px;
  }
  .related-titles-section .shelf-header-clean > div:last-child > .btn-subtle {
    flex: 1 1 0;
    justify-content: center;
    padding: 7px 6px;
    font-size: 0.74rem;
    white-space: nowrap;
  }
  #shelves-container .shelf-header-clean > .btn-subtle {
    flex-shrink: 0;
    padding: 5px 10px;
    font-size: 0.74rem;
  }
  #shelves-container .shelf-header-clean .whatsapp-actions-row {
    white-space: normal;
    flex-wrap: wrap;
  }
  #shelves-container .top5-week-grid,
  #shelves-container .books-shelf-grid:has(> .book-home-card + .book-home-card) {
    display: flex !important;
    flex-wrap: nowrap;
    gap: 10px !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
    margin: 0 -16px !important;
    padding: 0 16px 4px !important;
    -webkit-overflow-scrolling: touch;
  }
  #shelves-container .top5-week-grid::-webkit-scrollbar,
  #shelves-container .books-shelf-grid:has(> .book-home-card + .book-home-card)::-webkit-scrollbar {
    display: none;
  }
  #shelves-container .top5-week-grid > .top5-rank-card {
    flex: 0 0 74% !important;
    min-width: 0;
    scroll-snap-align: start;
  }
  #shelves-container .books-shelf-grid:has(> .book-home-card + .book-home-card) > .book-home-card {
    flex: 0 0 82% !important;
    min-width: 0;
    scroll-snap-align: start;
  }
}

/* Aviso enquanto a ficha carrega ou quando o carregamento falha */
.ficha-carregando {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  align-content: center;
  justify-content: center;
  gap: 12px;
  min-height: 60vh;
  padding: 120px 20px 40px;
  text-align: center;
  color: var(--text-secondary);
}

.ficha-carregando p {
  flex-basis: 100%;
  margin: 0;
}

#shelves-container .ficha-carregando {
  min-height: 0;
  padding: 48px 20px;
}

.painel-filtros-footer {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.painel-filtros-status {
  font-size: 0.78rem;
  color: var(--text-secondary);
  line-height: 1.35;
}

.painel-filtros-status strong {
  color: var(--gold-light);
}

.painel-filtros-footer-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

/* ==========================================================================
   9. DUBLAGEM BRASILEIRA, TROCA DIRETA NA FICHA & ÍNDICE SEO DO RODAPÉ
   ========================================================================== */
.dubbing-tip-box {
  margin-top: 10px;
  padding: 12px 14px;
  border-radius: 9px;
  background: rgba(16, 185, 129, 0.05);
  border: 1px solid rgba(16, 185, 129, 0.24);
}

.dubbing-tip-box.warn {
  background: rgba(245, 158, 11, 0.05);
  border-color: rgba(245, 158, 11, 0.25);
}

.dubbing-tip-box.bad {
  background: rgba(239, 68, 68, 0.05);
  border-color: rgba(239, 68, 68, 0.25);
}

.ficha-smart-swap-card {
  margin: 0 0 28px;
  padding: 20px 22px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.06) 0%, rgba(16, 185, 129, 0.09) 100%);
  border: 1px solid rgba(16, 185, 129, 0.34);
}

.ficha-smart-swap-header {
  margin-bottom: 14px;
}

.ficha-smart-swap-kicker {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--green-light);
  margin-bottom: 4px;
}

.ficha-smart-swap-title {
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--text-white);
  margin: 0;
}

.ficha-smart-swap-grid {
  display: grid;
  grid-template-columns: minmax(250px, 0.9fr) minmax(320px, 1.35fr);
  gap: 16px;
  align-items: stretch;
}

.ficha-smart-swap-bad,
.ficha-smart-swap-good-col {
  padding: 14px 16px;
  border-radius: 10px;
  background: rgba(9, 10, 15, 0.65);
  border: 1px solid var(--border-subtle);
}

.ficha-smart-swap-bad {
  border-color: rgba(239, 68, 68, 0.28);
}

.ficha-smart-swap-good-col {
  border-color: rgba(16, 185, 129, 0.34);
}

.ficha-smart-swap-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 10px;
}

.ficha-smart-swap-tag.bad {
  color: var(--red-light);
}

.ficha-smart-swap-tag.good {
  color: var(--green-light);
}

.ficha-smart-swap-bad-body,
.ficha-smart-swap-good-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.ficha-smart-swap-good-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.ficha-smart-swap-good-item {
  padding: 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(16, 185, 129, 0.22);
  cursor: pointer;
  transition: border-color 0.18s ease, transform 0.18s ease;
}

.ficha-smart-swap-good-item:hover {
  border-color: rgba(16, 185, 129, 0.55);
  transform: translateY(-1px);
}

.ficha-smart-swap-thumb {
  width: 54px;
  aspect-ratio: 2 / 3;
  border-radius: 6px;
  overflow: hidden;
  flex-shrink: 0;
  background: #111;
}

.ficha-smart-swap-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ficha-smart-swap-good-info {
  flex: 1;
  min-width: 0;
}

.ficha-smart-swap-good-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  margin-bottom: 3px;
}

.ficha-smart-swap-name {
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-white);
  line-height: 1.25;
}

.ficha-smart-swap-score {
  font-size: 0.74rem;
  font-weight: 700;
}

.ficha-smart-swap-score.bad {
  color: var(--red-light);
  margin: 2px 0 5px;
}

.ficha-smart-swap-score.good {
  color: var(--green-light);
  flex-shrink: 0;
}

.ficha-smart-swap-desc {
  font-size: 0.78rem;
  color: var(--text-secondary);
  line-height: 1.42;
  margin: 0 0 8px;
}

.ficha-smart-swap-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.footer-seo-index {
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.footer-seo-title {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.footer-seo-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
}

.footer-seo-links a {
  font-size: 0.76rem;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.15s ease;
}

.footer-seo-links a:hover {
  color: var(--gold-light);
  text-decoration: underline;
}

@media (max-width: 960px) {
  .ficha-smart-swap-grid {
    grid-template-columns: 1fr;
  }
  .ficha-smart-swap-good-list {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   10. UX COMERCIAL: BARRA DE STREAMING DIRETA, ESPIAR 30S, AUTOCOMPLETE E ABAS STICKY
   ========================================================================== */
.sofa-stream-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.sofa-lucky-top-btn {
  flex-shrink: 0;
  padding: 7px 13px !important;
  font-size: 0.78rem !important;
  white-space: nowrap;
}

.card-peek-30s-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 2px 7px;
  border-radius: 5px;
  background: rgba(229, 184, 66, 0.14);
  border: 1px solid rgba(229, 184, 66, 0.38);
  color: var(--gold-light);
  font-family: var(--font-mono);
  font-size: 0.66rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s ease;
  white-space: nowrap;
}

.card-peek-30s-btn:hover {
  background: var(--gold);
  color: #090a0f;
  border-color: var(--gold);
}

.search-field {
  position: relative;
}

.search-autocomplete {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  min-width: 300px;
  background: rgba(15, 17, 24, 0.98);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-medium);
  border-radius: 12px;
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.85);
  z-index: 250;
  overflow: hidden;
  padding: 6px;
}

.search-autocomplete[hidden] {
  display: none !important;
}

.search-auto-item {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 9px;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: var(--text-white);
  text-align: left;
  cursor: pointer;
  transition: background 0.15s ease;
}

.search-auto-item:hover {
  background: rgba(255, 255, 255, 0.07);
}

.search-auto-thumb {
  width: 32px;
  height: 46px;
  border-radius: 4px;
  object-fit: cover;
  flex-shrink: 0;
  background: #111;
}

.search-auto-info {
  flex: 1;
  min-width: 0;
}

.search-auto-title {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-white);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.search-auto-title span {
  font-weight: 500;
  color: var(--text-muted);
  font-size: 0.76rem;
}

.search-auto-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.73rem;
  color: var(--text-secondary);
  margin-top: 3px;
}

.search-auto-empty {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.editorial-tabs-bar {
  position: sticky;
  top: 64px;
  z-index: 85;
  background: rgba(9, 10, 15, 0.94);
  backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 6px;
}

.editorial-tabs-left {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
}

.sticky-tab-back-btn {
  padding: 6px 12px !important;
  font-size: 0.76rem !important;
  margin-bottom: 6px;
  flex-shrink: 0;
}

@media (max-width: 680px) {
  .search-autocomplete {
    min-width: 260px;
    right: -40px;
  }
  .sticky-tab-back-btn {
    padding: 5px 9px !important;
    font-size: 0.72rem !important;
  }
}

.stream-chip.stream-extra[hidden],
.stream-more-toggle[hidden] {
  display: none !important;
}

.stream-more-toggle {
  min-width: 38px;
  justify-content: center;
  padding: 7px 12px;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.04);
  border: 1px dashed rgba(255, 255, 255, 0.2);
}

.stream-more-toggle:hover {
  color: var(--text-white);
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.35);
}

.stream-more-toggle.expanded {
  color: var(--text-white);
  background: rgba(255, 255, 255, 0.08);
  border-style: solid;
  border-color: rgba(255, 255, 255, 0.28);
}

/* ==========================================================================
   11. MODAL DE SORTEIO RÁPIDO ("FILMAÇO SORTEADO PARA HOJE")
   ========================================================================== */
.modal-box.lucky-modal-box {
  max-width: 600px;
  padding: 22px 24px;
}

.lucky-modal-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
  padding-bottom: 13px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.lucky-modal-kicker-group {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.lucky-modal-badge {
  background: rgba(229, 184, 66, 0.18);
  border: 1px solid rgba(229, 184, 66, 0.45);
  color: #fde047;
  font-family: var(--font-sans);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  padding: 4px 11px;
  border-radius: 999px;
}

.lucky-modal-subkicker {
  color: var(--text-secondary);
  font-size: 0.78rem;
  font-weight: 500;
}

.lucky-modal-body {
  display: grid;
  grid-template-columns: 145px minmax(0, 1fr);
  gap: 22px;
  align-items: center;
}

.lucky-modal-poster {
  width: 100%;
  aspect-ratio: 2 / 3;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.65);
  cursor: pointer;
  transition: transform 0.2s ease;
  background: var(--bg-surface);
}

.lucky-modal-poster:hover {
  transform: scale(1.02);
}

.lucky-modal-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.lucky-modal-meta-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

.lucky-sim-pill {
  background: rgba(16, 185, 129, 0.2);
  border: 1px solid rgba(16, 185, 129, 0.5);
  color: #34d399;
  font-weight: 800;
  font-size: 0.74rem;
  padding: 3px 9px;
  border-radius: 6px;
}

.lucky-sim-pill.nao {
  background: rgba(239, 68, 68, 0.2);
  border-color: rgba(239, 68, 68, 0.5);
  color: #f87171;
}

.lucky-score-text {
  font-family: var(--font-mono);
  color: #fde047;
  font-weight: 800;
  font-size: 0.9rem;
}

.lucky-meta-year {
  color: var(--text-secondary);
  font-size: 0.8rem;
}

.lucky-modal-title {
  font-family: var(--font-display);
  font-size: 1.62rem;
  font-weight: 800;
  color: var(--text-white);
  line-height: 1.15;
  margin: 0 0 8px;
}

.lucky-modal-desc {
  color: #cbd5e1;
  font-size: 0.88rem;
  line-height: 1.5;
  margin: 0 0 14px;
}

.lucky-modal-streams {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
}

.lucky-streams-label {
  color: var(--text-secondary);
  font-size: 0.76rem;
  margin-right: 2px;
}

.lucky-modal-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 20px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.lucky-reroll-btn {
  padding: 10px 16px !important;
  font-size: 0.84rem !important;
}

.lucky-modal-right-btns {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.lucky-modal-right-btns .btn-subtle {
  padding: 10px 14px;
}

.lucky-modal-right-btns .btn-primary-action {
  padding: 10px 18px;
}

@media (max-width: 600px) {
  .lucky-modal-body {
    grid-template-columns: 105px minmax(0, 1fr);
    gap: 14px;
  }
  .lucky-modal-title {
    font-size: 1.25rem;
  }
  .lucky-modal-footer {
    flex-direction: column;
    align-items: stretch;
  }
  .lucky-reroll-btn,
  .lucky-modal-right-btns,
  .lucky-modal-right-btns > * {
    width: 100%;
    justify-content: center;
  }
}

/* ==========================================================================
   REFINAMENTOS DE LEITURA LIMPA, EXPANSÃO INLINE & COMPARTILHAMENTO ZAP
   ========================================================================== */
.hero-raiox-resposta {
  white-space: nowrap;
}

.stream-more-pill.expanded {
  background: rgba(255, 255, 255, 0.14);
  border-color: var(--gold);
  color: var(--gold-light);
}

.btn-zap-share {
  border-color: rgba(16, 185, 129, 0.42) !important;
  background: rgba(16, 185, 129, 0.1) !important;
  color: #6ee7b7 !important;
}

.btn-zap-share:hover {
  border-color: rgba(16, 185, 129, 0.75) !important;
  background: rgba(16, 185, 129, 0.2) !important;
  color: #ffffff !important;
}

.modal-stream-extra {
  display: contents;
}

.modal-stream-extra[hidden] {
  display: none !important;
}

@media (max-width: 680px) {
  .card-right-actions .stream-brand-pill,
  .card-right-actions .stream-brand-pill.compact {
    display: none !important;
  }

  .kids-filter-strip.visible {
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    margin: 0 -16px;
    padding: 10px 16px 4px;
  }
  .kids-filter-strip.visible::-webkit-scrollbar {
    display: none;
  }
  .kids-age-chips-group {
    flex-wrap: nowrap !important;
    flex-shrink: 0;
    gap: 6px;
  }
  .kids-age-chips-group .chip-btn {
    flex-shrink: 0 !important;
    white-space: nowrap !important;
  }

  .modal-30s-header {
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 10px;
    margin-bottom: 9px;
    padding-bottom: 9px;
  }
  .modal-30s-poster {
    width: 64px;
  }
  .modal-30s-title {
    font-size: 1.14rem;
  }
  .modal-30s-sub {
    font-size: 0.73rem;
    margin-bottom: 5px;
  }
  .modal-30s-stream-row {
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 2px;
  }
  .modal-30s-stream-row::-webkit-scrollbar {
    display: none;
  }
  .modal-30s-stream-row .stream-brand-pill {
    flex-shrink: 0;
    padding: 3px 9px 3px 3px;
    font-size: 0.72rem;
  }
  .modal-30s-stream-row .stream-more-pill {
    flex-shrink: 0;
    height: 30px;
    padding: 0 10px;
    font-size: 0.74rem;
  }
  .modal-30s-item {
    padding: 7px 9px;
  }
  .modal-30s-q {
    font-size: 0.64rem;
    margin-bottom: 2px;
  }
  .modal-30s-a {
    font-size: 0.76rem;
    line-height: 1.35;
  }
  .modal-30s-actions {
    flex-wrap: nowrap !important;
    gap: 5px;
  }
  .modal-30s-actions > * {
    flex: 1 1 auto;
    justify-content: center;
    padding: 8px 6px !important;
    font-size: 0.72rem !important;
    white-space: nowrap;
  }

  .ficha-back-row {
    gap: 5px;
    margin-bottom: 14px;
  }
  .ficha-back-row > div > .btn-subtle {
    padding: 5px 6px;
    font-size: 0.71rem;
  }
}

/* ==========================================================================
   12. MINHA CONTA, BOTÃO JÁ ASSISTI & SINCRONIZAÇÃO ENTRE APARELHOS
   ========================================================================== */
.watched-btn-active {
  background: rgba(16, 185, 129, 0.2) !important;
  border-color: rgba(16, 185, 129, 0.75) !important;
  color: #6ee7b7 !important;
}

.btn-conta-nav {
  position: relative;
  border-color: rgba(229, 184, 66, 0.35);
}

.conta-nav-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 19px;
  height: 19px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--green);
  color: #090a0f;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 800;
  line-height: 1;
}

.conta-nav-badge[hidden] {
  display: none !important;
}

.modal-box.modal-conta-box {
  max-width: 540px;
  padding: 24px 26px;
}

.modal-conta-box .modal-title {
  padding-right: 28px;
}

.conta-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 18px;
}

.conta-stat-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  padding: 12px 10px;
  border-radius: 10px;
  background: rgba(9, 10, 15, 0.7);
  border: 1px solid var(--border-subtle);
  cursor: pointer;
  transition: border-color 0.16s ease, transform 0.16s ease, background 0.16s ease;
  text-align: center;
}

.conta-stat-card:hover {
  border-color: var(--gold);
  background: rgba(255, 255, 255, 0.04);
  transform: translateY(-1px);
}

.conta-stat-num {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--text-white);
  line-height: 1.1;
}

.conta-stat-num.green {
  color: var(--green-light);
}

.conta-stat-num.gold {
  color: var(--gold-light);
}

.conta-stat-label {
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--text-primary);
}

.conta-stat-action {
  font-size: 0.68rem;
  color: var(--text-muted);
}

.conta-profile-form {
  margin-bottom: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border-subtle);
}

.conta-form-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.conta-sync-box {
  padding: 14px 16px;
  border-radius: 10px;
  background: rgba(16, 185, 129, 0.06);
  border: 1px solid rgba(16, 185, 129, 0.26);
}

.conta-sync-title {
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 4px;
}

.conta-sync-desc {
  font-size: 0.78rem;
  color: var(--text-secondary);
  line-height: 1.45;
  margin-bottom: 10px;
}

.conta-sync-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.conta-import-row {
  display: flex;
  gap: 8px;
}

.conta-import-row input {
  flex: 1;
  min-width: 0;
  background: var(--bg-deep);
  border: 1px solid var(--border-medium);
  border-radius: 8px;
  padding: 8px 11px;
  color: var(--text-white);
  font-family: var(--font-sans);
  font-size: 0.78rem;
  outline: none;
}

@media (max-width: 680px) {
  .modal-box.modal-conta-box {
    padding: 20px 16px;
  }
  .modal-conta-box .modal-title {
    font-size: 1.12rem;
  }
  .conta-stats-grid {
    gap: 6px;
  }
  .conta-stat-card {
    padding: 10px 6px;
  }
  .conta-stat-label {
    font-size: 0.7rem;
    white-space: nowrap;
  }
  .conta-stat-action {
    font-size: 0.63rem;
    white-space: nowrap;
  }
  .conta-form-row {
    flex-direction: column;
  }
  .conta-sync-actions {
    flex-direction: column;
  }
  .hero-actions-row > * {
    padding: 10px 10px !important;
    font-size: 0.76rem !important;
  }
}








