/* Camargoflix — ajustes sobre o tema StreamIT */

/* Cards sem imagem: placeholder + título por cima */
.img-box { position: relative; }
.card-poster { aspect-ratio: 2 / 3; object-fit: cover; }
.card-poster-title {
  position: absolute; inset: auto 0 0 0; padding: 1rem .75rem;
  font-weight: 700; font-size: .95rem; line-height: 1.2; color: #fff; text-align: center;
  background: linear-gradient(transparent, rgba(0,0,0,.85)); border-radius: 0 0 .5rem .5rem; pointer-events: none;
}
.genre-cover { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }

/* Banner da página do título (imagem em vez do vídeo do template) */
.title-hero { min-height: 70vh; background: #111 center / cover no-repeat; }
.title-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.85) 0%, rgba(0,0,0,.35) 60%, transparent), linear-gradient(transparent 55%, var(--bs-body-bg)); }

/* Player */
.watch-player { background: #000; }
.watch-player .video-js { width: 100%; height: auto; aspect-ratio: 16 / 9; max-height: 85vh; }
.player-skip-intro, .player-next-episode { position: absolute; right: 3rem; bottom: 5rem; z-index: 5; }

/* Episódios */
.episode-block.is-current { outline: 2px solid var(--bs-primary); }
.episode-progress { position: absolute; left: 0; right: 0; bottom: 0; border-radius: 0; background: rgba(255,255,255,.25); z-index: 3; }

/* Avatar sem foto */
.avatar-letter, .profile-letter {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--bs-primary); color: #fff; font-weight: 700;
}
.avatar-letter { width: 40px; height: 40px; border-radius: 50%; }

/* Perfis */
.profiles-page { background: #141414; }
.profile-tile { display: inline-block; width: 140px; }
.profile-tile:hover .profile-avatar { outline: 3px solid #fff; }
.profile-avatar { width: 140px; height: 140px; border-radius: .5rem; object-fit: cover; font-size: 3.5rem; display: inline-flex; align-items: center; justify-content: center; }
.profile-add { border: 2px dashed rgba(255,255,255,.35); color: rgba(255,255,255,.6); font-size: 2.5rem; }

/* Login Google */
.btn-google { background: #fff; color: #1f1f1f; border: 0; }
.btn-google:hover { background: #f1f1f1; color: #1f1f1f; }
.btn-google.disabled { opacity: .55; }

.listing-filters .form-control, .listing-filters .form-select { background-color: rgba(255,255,255,.06); }

/* Página do player: informações abaixo do vídeo (não sobrepostas) */
.watch-player { padding-top: 80px; }
.watch-info .movie-detail-part { position: static !important; padding: 2rem 0 0; background: none; }
.watch-info .movie-detail-part .trending-info { padding: 0 !important; }
.navbar-brand.camargoflix-brand img.logo { padding: 0; height: 30px; width: auto; max-height: none; }
.watch-info .details-parts { position: static !important; padding: 0 0 2rem; }
.iq-card-geners .blog-description { flex-direction: column; gap: .15rem; }
.iq-card-geners .blog-description small { text-transform: none; opacity: .8; }

.demo-badge { font-size: .65rem; letter-spacing: .08em; margin-left: .6rem; align-self: center; }

/* Loader de navegação: um leve fade e sem travar a rolagem da página atual */
#page-loader.is-navigating { --animate-duration: .25s; }
#page-loader .loader-body img { max-width: 300px; }

.drive-blocked { aspect-ratio: 16 / 9; max-height: 85vh; width: 100%; padding: 2rem; background: #111 center / cover no-repeat; }

.drive-iframe-wrap { position: relative; width: 100%; aspect-ratio: 16 / 9; max-height: 80vh; background: #000; }
.drive-iframe-wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Player embutido na página da série */
.title-player { padding-top: 80px; background: #000; }
.title-player-stage .video-js { width: 100%; height: auto; aspect-ratio: 16 / 9; max-height: 78vh; }
.title-player-stage .drive-iframe-wrap, .title-player-stage .drive-blocked { max-height: 78vh; }
.title-player:not([hidden]) + .title-header .title-hero { min-height: 45vh; }

/* ==== Player do Camargoflix: interface própria (preto + vermelho) ==== */
.cf-player-mount, .title-player-stage { position: relative; }
.cf-player-mount .video-js, .title-player-stage .video-js { width: 100%; height: auto; aspect-ratio: 16 / 9; max-height: 82vh; }
.video-js.cf-player { --cf-red: #e50914; background: #000; font-family: Inter, system-ui, sans-serif; overflow: hidden; }
.video-js.cf-player .vjs-control-bar, .video-js.cf-player .vjs-big-play-button { display: none !important; }
.cf-player .vjs-poster { background-size: cover; }
.cf-player .vjs-tech { cursor: pointer; }
.cf-player.vjs-user-inactive.vjs-playing, .cf-player.vjs-user-inactive.vjs-playing .vjs-tech { cursor: none; }

.cf-ui { position: absolute; inset: 0; z-index: 4; pointer-events: none; color: #fff;
  opacity: 0; transition: opacity .25s ease; }
.cf-ui > * { pointer-events: auto; }
.cf-ui .cf-shade-top, .cf-ui .cf-shade-bottom { position: absolute; left: 0; right: 0; pointer-events: none; }
.cf-ui .cf-shade-top { top: 0; height: 28%; background: linear-gradient(rgba(0,0,0,.7), transparent); }
.cf-ui .cf-shade-bottom { bottom: 0; height: 42%; background: linear-gradient(transparent, rgba(0,0,0,.92)); }
/* aparece ao mexer o mouse, no pause e enquanto arrasta */
.cf-player.vjs-user-active .cf-ui, .cf-player.vjs-paused .cf-ui, .cf-player.cf-scrubbing .cf-ui, .cf-player:focus-within .cf-ui { opacity: 1; }
.cf-player.vjs-user-inactive.vjs-playing:not(.cf-scrubbing) .cf-ui { opacity: 0; }
.cf-player.vjs-user-inactive.vjs-playing:not(.cf-scrubbing) .cf-ui > * { pointer-events: none; }
.cf-ui svg { width: 100%; height: 100%; display: block; }
.cf-ui button { background: none; border: 0; padding: 0; color: inherit; cursor: pointer; font: inherit; }

/* botão central (play/pause grande) */
.cf-ui .cf-center { position: absolute; left: 50%; top: 50%; width: 84px; height: 84px; margin: -42px 0 0 -42px; border-radius: 50%;
  display: grid; place-items: center; background: rgba(0,0,0,.45); border: 2px solid rgba(255,255,255,.85);
  backdrop-filter: blur(4px); transition: transform .2s ease, background .2s ease, border-color .2s ease; }
.cf-ui .cf-center:hover { transform: scale(1.08); background: var(--cf-red); border-color: var(--cf-red); }
.cf-ui .cf-center > span { width: 36px; height: 36px; }
.cf-ui .cf-center .cf-ico-play { margin-left: 5px; }
.cf-player .cf-ico-pause, .cf-player.cf-is-playing .cf-ico-play { display: none; }
.cf-player.cf-is-playing .cf-ico-pause { display: block; }
.cf-player.cf-is-playing .cf-center { opacity: 0; transform: scale(.9); }
.cf-player.cf-is-playing.vjs-user-active .cf-center { opacity: 1; transform: none; }
.cf-player.cf-is-playing.vjs-user-active .cf-center:hover { transform: scale(1.08); }

/* ícone que pisca no centro (play/pause/±10s) */
.cf-flash { position: absolute; left: 50%; top: 50%; z-index: 6; width: 76px; height: 76px; margin: -38px 0 0 -38px; padding: 18px;
  border-radius: 50%; background: rgba(229,9,20,.85); color: #fff; pointer-events: none; animation: cf-flash .65s ease-out forwards; }
.cf-flash svg { width: 100%; height: 100%; }
@keyframes cf-flash { 0% { opacity: .95; transform: scale(.7); } 60% { opacity: .9; transform: scale(1.05); } 100% { opacity: 0; transform: scale(1.25); } }

/* voltar (sai da janela inteira / tela inteira) */
.cf-ui .cf-back { position: absolute; top: 1.1rem; left: 1.1rem; width: 44px; height: 44px; padding: 9px; border-radius: 50%; display: none; }
.cf-ui .cf-back:hover { background: rgba(255,255,255,.12); }
.cf-player.cf-immersive .cf-back, .cf-player.cf-real-fs .cf-back { display: block; }

/* barra inferior */
.cf-ui .cf-bottom { position: absolute; left: 0; right: 0; bottom: 0; padding: 0 clamp(14px, 2.2vw, 36px) clamp(10px, 1.6vw, 26px); }
.cf-progress-row { display: flex; align-items: center; gap: 16px; margin-bottom: clamp(6px, 1vw, 14px); }
.cf-progress { position: relative; flex: 1; height: 22px; display: flex; align-items: center; cursor: pointer; touch-action: none; outline: none; }
.cf-track { position: relative; width: 100%; height: 4px; background: rgba(255,255,255,.28); border-radius: 4px; overflow: hidden; transition: height .15s ease; }
.cf-progress:hover .cf-track, .cf-scrubbing .cf-track { height: 7px; }
.cf-buffer, .cf-played, .cf-hoverfill { position: absolute; left: 0; top: 0; bottom: 0; width: 0; }
.cf-buffer { background: rgba(255,255,255,.35); }
.cf-hoverfill { background: rgba(255,255,255,.25); opacity: 0; }
.cf-progress:hover .cf-hoverfill { opacity: 1; }
.cf-played { background: var(--cf-red); z-index: 1; }
.cf-thumb { position: absolute; top: 50%; left: 0; width: 15px; height: 15px; margin: -7.5px 0 0 -7.5px; border-radius: 50%;
  background: var(--cf-red); box-shadow: 0 0 0 4px rgba(229,9,20,.25); z-index: 2; transition: transform .15s ease; }
.cf-progress:hover .cf-thumb, .cf-scrubbing .cf-thumb { transform: scale(1.3); }
.cf-tip { position: absolute; bottom: 24px; transform: translateX(-50%); padding: 4px 8px; border-radius: 4px; background: rgba(20,20,20,.95);
  font-size: 12px; font-weight: 600; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity .15s; }
.cf-progress:hover .cf-tip, .cf-scrubbing .cf-tip { opacity: 1; }
.cf-remaining { font-size: 14px; font-variant-numeric: tabular-nums; min-width: 52px; text-align: right; }

.cf-controls { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; }
.cf-group { display: flex; align-items: center; gap: clamp(10px, 1.6vw, 26px); }
.cf-group-right { justify-content: flex-end; }
.cf-btn { width: clamp(28px, 2.6vw, 40px); height: clamp(28px, 2.6vw, 40px); display: grid; place-items: center; transition: transform .15s ease, color .15s ease; }
.cf-btn > span { width: 100%; height: 100%; }
.cf-player .cf-ico-fsx, .cf-player.cf-real-fs .cf-ico-fs { display: none; }
.cf-player.cf-real-fs .cf-ico-fsx { display: block; }
.cf-btn:hover { transform: scale(1.15); color: var(--cf-red); }
.cf-title { display: flex; align-items: baseline; gap: .5em; min-width: 0; max-width: 46vw; font-size: clamp(13px, 1.25vw, 18px); white-space: nowrap; }
.cf-title strong { font-weight: 800; text-transform: uppercase; letter-spacing: .02em; overflow: hidden; text-overflow: ellipsis; }
.cf-title .cf-tag { font-weight: 700; color: var(--cf-red); }
.cf-title .cf-ep { font-weight: 400; opacity: .9; overflow: hidden; text-overflow: ellipsis; }

/* volume: slider aparece ao passar o mouse */
.cf-volume { display: flex; align-items: center; gap: 8px; }
.cf-vol-range { --v: 100%; width: 0; opacity: 0; height: 4px; -webkit-appearance: none; appearance: none; border-radius: 4px; cursor: pointer;
  background: linear-gradient(to right, var(--cf-red) var(--v), rgba(255,255,255,.3) var(--v)); transition: width .2s ease, opacity .2s ease; }
.cf-volume:hover .cf-vol-range, .cf-vol-range:focus { width: 90px; opacity: 1; }
.cf-vol-range::-webkit-slider-thumb { -webkit-appearance: none; width: 13px; height: 13px; border-radius: 50%; background: #fff; border: 0; }
.cf-vol-range::-moz-range-thumb { width: 13px; height: 13px; border-radius: 50%; background: #fff; border: 0; }

/* velocidade */
.cf-speed { position: relative; }
.cf-menu { position: absolute; right: 50%; bottom: calc(100% + 14px); transform: translateX(50%); min-width: 120px; padding: 6px;
  background: rgba(18,18,18,.97); border: 1px solid rgba(255,255,255,.1); border-radius: 8px; box-shadow: 0 10px 30px rgba(0,0,0,.6); }
.cf-menu[hidden] { display: none; }
.cf-menu button { display: block; width: 100%; padding: 7px 12px !important; text-align: left; border-radius: 5px; font-size: 14px !important; }
.cf-menu button:hover { background: rgba(255,255,255,.08) !important; }
.cf-menu button.is-on { color: var(--cf-red) !important; font-weight: 700; }

/* próximo episódio em destaque (topo direito) */
.cf-player .cf-next-overlay { position: absolute; top: 1.25rem; right: 1.25rem; z-index: 5; display: flex; align-items: center; gap: .9rem;
  padding: .7rem .8rem .7rem 1.1rem; border: 1px solid rgba(255,255,255,.14); border-radius: .7rem; cursor: pointer; text-align: left;
  background: rgba(10,10,10,.82); color: #fff; font-family: inherit; backdrop-filter: blur(6px); box-shadow: 0 10px 30px rgba(0,0,0,.5);
  opacity: 0; transform: translateY(-8px); pointer-events: none; transition: opacity .25s, transform .25s, background .2s, border-color .2s; }
.cf-player .cf-next-overlay .cf-next-text { display: flex; flex-direction: column; }
.cf-player .cf-next-overlay .cf-next-kicker { font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--cf-red); font-weight: 700; }
.cf-player .cf-next-overlay .cf-next-title { font-weight: 700; font-size: .98rem; max-width: 300px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cf-player .cf-next-overlay .cf-next-ico { width: 42px; height: 42px; padding: 10px; border-radius: 50%; background: var(--cf-red); flex: none; }
.cf-player .cf-next-overlay .cf-next-ico svg { width: 100%; height: 100%; }
.cf-player .cf-next-overlay:hover { background: rgba(229,9,20,.95); border-color: transparent; }
.cf-player .cf-next-overlay:hover .cf-next-kicker { color: #fff; }
.cf-player .cf-next-overlay:hover .cf-next-ico { background: #fff; color: var(--cf-red); }
.cf-player.vjs-user-active .cf-next-overlay, .cf-player.vjs-paused .cf-next-overlay, .cf-player.cf-in-credits .cf-next-overlay { opacity: 1; transform: none; pointer-events: auto; }
.cf-player.vjs-user-inactive.vjs-playing:not(.cf-in-credits) .cf-next-overlay { opacity: 0; pointer-events: none; }
.cf-player.cf-immersive .cf-next-overlay, .cf-player.cf-real-fs .cf-next-overlay { top: 1.6rem; right: 1.8rem; }

/* pular abertura */
.cf-player .cf-skip-intro { position: absolute; right: clamp(14px, 2.2vw, 36px); bottom: clamp(96px, 10vw, 130px); z-index: 5; display: inline-flex; align-items: center; gap: .5rem;
  border: 1px solid rgba(255,255,255,.7); background: rgba(10,10,10,.75); color: #fff; padding: .6rem 1.1rem; border-radius: .4rem; font-weight: 700; cursor: pointer; }
.cf-player .cf-skip-intro svg { width: 18px; height: 18px; }
.cf-player .cf-skip-intro:hover { background: #fff; color: #000; }
.cf-player .cf-skip-intro[hidden] { display: none; }

/* janela inteira (maximizado no navegador) */
.video-js.cf-immersive { position: fixed !important; inset: 0 !important; width: 100vw !important; height: 100vh !important; height: 100dvh !important;
  max-height: none !important; aspect-ratio: auto !important; z-index: 3000 !important; background: #000; border-radius: 0; }
html.cf-immersive-on, html.cf-immersive-on body { overflow: hidden !important; }

/* autoplay mudo: botão para ativar o som */
.cf-player .cf-unmute { position: absolute; left: 50%; top: 1.25rem; transform: translateX(-50%); z-index: 6; display: inline-flex; align-items: center; gap: .5rem;
  padding: .6rem 1.1rem; border-radius: 2rem; border: 0; background: var(--cf-red); color: #fff; font-weight: 700; font-size: .95rem;
  box-shadow: 0 8px 24px rgba(0,0,0,.45); cursor: pointer; animation: cf-pulse 1.8s ease-in-out infinite; }
.cf-player .cf-unmute svg { width: 20px; height: 20px; }
.cf-player.cf-immersive .cf-unmute, .cf-player.cf-real-fs .cf-unmute { top: 1.6rem; }
@keyframes cf-pulse { 0%, 100% { transform: translateX(-50%) scale(1); } 50% { transform: translateX(-50%) scale(1.05); } }

@media (max-width: 640px) {
  .cf-title { display: none; } .cf-controls { grid-template-columns: 1fr 1fr; }
  .cf-ui .cf-center { width: 64px; height: 64px; margin: -32px 0 0 -32px; } .cf-ui .cf-center > span { width: 28px; height: 28px; }
  .cf-volume .cf-vol-range { display: none; }
  .cf-player .cf-next-overlay .cf-next-text { display: none; }
}

.title-logo { max-width: min(420px, 80%); max-height: 140px; object-fit: contain; object-position: left; display: block; }

/* transição de tela cheia */
.video-js { will-change: transform; }
.video-js.cf-fs-fade::after { content: ""; position: absolute; inset: 0; background: #000; z-index: 20; animation: cf-fade .18s ease-in forwards; pointer-events: none; }
@keyframes cf-fade { from { opacity: 0; } to { opacity: .85; } }
@media (prefers-reduced-motion: reduce) { .video-js { will-change: auto; } }

/* Página do episódio (modo assistindo): player no lugar do título/infos, só os próximos episódios */
body.cf-watching .title-header { display: none !important; }
body.cf-watching .title-player { padding-top: 76px; }
.cf-hidden-ep { display: none !important; }

/* ---------- Loadings ---------- */
/* GIF grande só no 1º carregamento da sessão */
html.cf-returning #page-loader { display: none !important; }

/* barra fina no topo (navegação e ações) */
#cf-topbar { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 5000; pointer-events: none;
  background: linear-gradient(90deg, #b20710, var(--bs-primary, #e50914) 60%, #ff4d57);
  box-shadow: 0 0 10px rgba(229, 9, 20, .7), 0 0 4px rgba(229, 9, 20, .9);
  transform-origin: left; transform: scaleX(0); opacity: 0; transition: transform .25s ease, opacity .3s ease; }
#cf-topbar.cf-active { opacity: 1; }
#cf-topbar.cf-done { opacity: 0; transition: transform .2s ease, opacity .35s ease .15s; }

/* spinner pequeno para botões e cards */
.cf-spin { display: inline-block; width: 1em; height: 1em; border-radius: 50%; vertical-align: -0.15em;
  border: 2px solid currentColor; border-right-color: transparent; animation: cf-rot .7s linear infinite; }
@keyframes cf-rot { to { transform: rotate(360deg); } }
.is-busy { cursor: progress !important; }
.btn.is-busy { opacity: .85; pointer-events: none; }
.btn.is-busy > .cf-spin { margin-right: .4em; }
/* botões só de ícone (Minha lista): o spinner substitui o ícone */
.add-to-wishlist-btn.is-busy > i, [data-my-list].is-busy i { display: none; }
.add-to-wishlist-btn.is-busy > .cf-spin, [data-my-list].is-busy > .cf-spin { margin: 0; }
/* card de episódio preparando o player */
.episode-block.is-busy { position: relative; }
.episode-block.is-busy::after { content: ""; position: absolute; inset: 0; z-index: 5; border-radius: inherit;
  background: rgba(0, 0, 0, .55) radial-gradient(circle, transparent 0 0) ; }
.episode-block.is-busy > .cf-spin { position: absolute; z-index: 6; left: 50%; top: 42%; width: 2.2rem; height: 2.2rem; margin: -1.1rem 0 0 -1.1rem;
  color: #fff; border-width: 3px; }

/* imagens dos cards: brilho "esqueleto" enquanto carregam */
.card-poster, .episode-block .img-zoom, .continue-image, .genre-cover, .iq-banner-thumb-slider .img-box img {
  background: linear-gradient(100deg, #1b1b1b 30%, #2c2c2c 50%, #1b1b1b 70%) 0 0 / 300% 100%;
  animation: cf-shimmer 1.3s ease-in-out infinite; }
@keyframes cf-shimmer { to { background-position: -100% 0; } }

/* spinner do próprio player (buffering) na cor do Camargoflix */
.video-js .vjs-loading-spinner { border-color: rgba(229, 9, 20, .35); }
.video-js .vjs-loading-spinner::before, .video-js .vjs-loading-spinner::after { border-top-color: #e50914 !important; }
@media (prefers-reduced-motion: reduce) { .cf-spin, .card-poster, .episode-block .img-zoom { animation: none; } }

/* Aviso discreto da sincronização automática */
.cf-toast { position: fixed; right: 20px; bottom: 20px; z-index: 1080; display: flex; align-items: center; gap: .5rem;
  background: rgba(20,20,20,.95); color: #fff; border: 1px solid rgba(255,255,255,.08); border-left: 3px solid var(--bs-primary, #e50914);
  padding: .6rem .9rem; border-radius: 6px; font-size: .875rem; box-shadow: 0 6px 24px rgba(0,0,0,.5);
  opacity: 0; transform: translateY(10px); transition: opacity .3s, transform .3s; }
.cf-toast.show { opacity: 1; transform: none; }
.cf-toast a { color: var(--bs-primary, #e50914); font-weight: 600; margin-left: .25rem; }

/* Footer sempre no fim da tela, mesmo quando a página tem pouco conteúdo */
html, body { min-height: 100%; }
body { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; }
body > .main-content { flex: 1 0 auto; }
body > .footer { flex-shrink: 0; margin-top: auto; }

/* ==== Prévia do card ao passar o mouse (estilo streaming) ==== */
.iq-card[data-preview] .card-description { display: none !important; }   /* substitui o hover do template */
.cf-preview { position: absolute; z-index: 1500; background: #181818; border-radius: 10px; overflow: hidden;
  box-shadow: 0 18px 50px rgba(0,0,0,.75), 0 0 0 1px rgba(255,255,255,.04); color: #fff;
  opacity: 0; transform: scale(.62); pointer-events: none; transition: opacity .22s ease, transform .28s cubic-bezier(.2,.8,.2,1); }
.cf-preview.is-open { opacity: 1; transform: none; pointer-events: auto; }
.cf-preview-media { position: relative; display: block; aspect-ratio: 16 / 9; background: #111 center / cover no-repeat; }
.cf-preview-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(0,0,0,.7)); }
.cf-preview-c { position: absolute; top: 12px; right: 14px; height: 30px; width: auto; z-index: 1; filter: drop-shadow(0 2px 6px rgba(0,0,0,.6)); }
.cf-preview-logo { position: absolute; left: 16px; bottom: 14px; z-index: 1; max-width: 62%; max-height: 42%; object-fit: contain; object-position: left bottom;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,.7)); }
.cf-preview-title { position: absolute; left: 16px; right: 16px; bottom: 12px; z-index: 1; color: #fff; font-size: 1.45rem; font-weight: 800; line-height: 1.1;
  text-transform: uppercase; letter-spacing: .01em; text-shadow: 0 2px 10px rgba(0,0,0,.8); }
.cf-preview-body { padding: 14px 16px 18px; }
.cf-preview-actions { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; }
.cf-round { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; flex: none; padding: 0;
  border: 2px solid rgba(255,255,255,.5); background: rgba(42,42,42,.6); color: #fff; transition: border-color .15s, background .15s, transform .15s; }
.cf-round:hover { border-color: #fff; color: #fff; transform: scale(1.06); }
.cf-round svg { width: 20px; height: 20px; }
.cf-round i { font-size: 20px; line-height: 1; }
.cf-round-play { background: #fff; border-color: #fff; color: #000; }
.cf-round-play:hover { background: var(--bs-primary, #e50914); border-color: var(--bs-primary, #e50914); color: #fff; }
.cf-round-play svg { margin-left: 3px; }
.cf-round-more { margin-left: auto; }
.cf-round.is-busy > .cf-spin { margin: 0; }
.cf-round.is-busy > i { display: none; }
.cf-preview-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; font-size: .92rem; color: #bcbcbc; margin-bottom: 10px; }
.cf-rating { display: inline-grid; place-items: center; min-width: 28px; height: 26px; padding: 0 6px; border-radius: 4px; color: #fff; font-weight: 800; font-size: .82rem; }
.cf-rating.r-l { background: #0c9447; } .cf-rating.r-6 { background: #6cb33f; } .cf-rating.r-10 { background: #0f7dc2; } .cf-rating.r-12 { background: #f8c411; color: #111; }
.cf-rating.r-14 { background: #e67824; } .cf-rating.r-16 { background: #db2827; } .cf-rating.r-18 { background: #1d1815; border: 1px solid #555; }
.cf-rating.r-x { background: #444; }
.cf-hd { border: 1px solid rgba(255,255,255,.45); border-radius: 3px; padding: 0 5px; font-size: .72rem; font-weight: 700; line-height: 1.5; color: #ddd; }
.cf-preview-genres { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: .95rem; }
.cf-preview-genres i { font-style: normal; color: #646464; font-size: .7rem; }

/* ==== Quem está assistindo? (capa do último lançamento ao fundo) ==== */
.cf-profiles { position: relative; min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; color: #fff; background: #000; overflow: hidden; }
.cf-profiles-bg { position: absolute; inset: 0; background: var(--hero, none) center 20% / cover no-repeat, #0b0b0b; transform: scale(1.03);
  animation: cf-hero-in 1.2s ease-out both; }
.cf-profiles-bg::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,.35) 30%, rgba(0,0,0,.72) 62%, rgba(0,0,0,.92) 100%); }
@keyframes cf-hero-in { from { opacity: 0; transform: scale(1.08); } to { opacity: 1; transform: scale(1.03); } }
.cf-profiles-top { position: relative; z-index: 1; padding: clamp(18px, 2.4vw, 34px) clamp(18px, 3vw, 46px); }
.cf-profiles-logo { height: clamp(26px, 2.6vw, 40px); width: auto; display: block; }
.cf-profiles-main { position: relative; z-index: 1; flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-end;
  padding: 0 20px clamp(36px, 6vh, 72px); text-align: center; }
.cf-profiles-hero { display: flex; flex-direction: column; align-items: center; gap: 10px; margin-bottom: clamp(20px, 3vh, 34px); color: #fff; text-decoration: none; }
.cf-profiles-hero:hover { color: #fff; }
.cf-profiles-hero-logo { max-width: min(460px, 70vw); max-height: 120px; object-fit: contain; filter: drop-shadow(0 4px 16px rgba(0,0,0,.6)); }
.cf-profiles-hero-title { font-size: clamp(2rem, 4.5vw, 3.4rem); font-weight: 900; text-transform: uppercase; letter-spacing: .02em; line-height: 1;
  text-shadow: 0 4px 24px rgba(0,0,0,.7); }
.cf-profiles-hero-date { font-size: clamp(.95rem, 1.3vw, 1.2rem); font-weight: 600; text-shadow: 0 2px 10px rgba(0,0,0,.8); }
.cf-profiles-question { font-size: clamp(1.9rem, 3.6vw, 3.1rem); font-weight: 800; margin: 0 0 clamp(22px, 3.5vh, 40px); color: #fff; text-shadow: 0 2px 16px rgba(0,0,0,.6); }
.cf-profiles-error { color: #ff8a8f; margin: -18px 0 18px; }

.cf-profiles-list { display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(8px, 1.4vw, 20px); margin-bottom: clamp(28px, 4.5vh, 52px); }
.cf-profile { display: flex; flex-direction: column; align-items: center; gap: 16px; width: clamp(128px, 12.5vw, 196px); padding: 18px 16px 20px;
  border: 0; border-radius: 18px; background: transparent; color: rgba(255,255,255,.75); text-decoration: none; cursor: pointer; font: inherit;
  transition: background .2s ease, color .2s ease, transform .2s ease; }
.cf-profile:hover, .cf-profile:focus-visible { background: rgba(255,255,255,.12); color: #fff; outline: none; backdrop-filter: blur(6px); }
.cf-profile:hover .cf-avatar, .cf-profile:focus-visible .cf-avatar { transform: scale(1.04); box-shadow: 0 0 0 3px #fff; }
.cf-avatar { position: relative; width: 100%; aspect-ratio: 1; border-radius: 12px; display: grid; place-items: center; overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease; }
.cf-avatar svg { width: 72%; height: 72%; }
.cf-avatar-blue   { background: linear-gradient(180deg, #2a6fe0, #5f9aef); }
.cf-avatar-red    { background: linear-gradient(180deg, #d81f26, #f05a5f); }
.cf-avatar-yellow { background: linear-gradient(180deg, #e8a91a, #f6cb53); }
.cf-avatar-green  { background: linear-gradient(180deg, #2e9e57, #5fc485); }
.cf-avatar-purple { background: linear-gradient(180deg, #7d3fd0, #a876ec); }
.cf-avatar-kids { background: linear-gradient(90deg, #3c8b3b 0 18%, #f1b84a 18% 43%, #ea5aa6 43% 76%, #b9a2f4 76% 100%); }
.cf-avatar-kids::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(80,40,200,.35)); }
.cf-kids-label { position: relative; z-index: 1; padding: 2px 10px 4px; border-radius: 10px; background: #fff; color: #e50914;
  font-weight: 900; font-size: clamp(1rem, 1.7vw, 1.7rem); letter-spacing: -.02em; box-shadow: 0 0 0 4px #e50914 inset; transform: rotate(-3deg); }
.cf-avatar-add { background: rgba(40,40,40,.85); color: #fff; font-size: clamp(2.6rem, 4vw, 3.6rem); }
.cf-profile-name { font-size: clamp(1rem, 1.35vw, 1.3rem); font-weight: 600; line-height: 1.2; }
.cf-avatar-edit { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(0,0,0,.5); font-size: 2.4rem; color: #fff; }
.is-managing .cf-profile { color: #fff; }

.cf-profiles-actions { display: flex; gap: 12px; }
.cf-pill { display: inline-flex; align-items: center; gap: .55rem; padding: .7rem 1.6rem; border-radius: 999px; border: 1.5px solid rgba(255,255,255,.75);
  background: rgba(0,0,0,.35); color: #fff; font-weight: 700; font-size: 1.05rem; text-decoration: none; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.cf-pill:hover { background: #fff; color: #000; border-color: #fff; }
.cf-pill i { font-size: 1.2rem; }
.cf-pill-solid { background: #fff; color: #000; border-color: #fff; }
.cf-pill-solid:hover { background: var(--bs-primary, #e50914); border-color: var(--bs-primary, #e50914); color: #fff; }
.cf-pill-danger { border-color: transparent; color: #ff8a8f; background: transparent; margin-left: auto; padding-inline: .6rem; }
.cf-pill-danger:hover { background: rgba(229,9,20,.15); color: #ff6b71; border-color: transparent; }
.cf-profiles-logout { margin-top: 18px; }
.cf-profiles-logout button { background: none; border: 0; color: rgba(255,255,255,.55); font-size: .95rem; cursor: pointer; }
.cf-profiles-logout button:hover { color: #fff; text-decoration: underline; }

.cf-dialog { border: 0; border-radius: 16px; padding: 28px; width: min(420px, 92vw); background: #181818; color: #fff; box-shadow: 0 30px 80px rgba(0,0,0,.7); }
.cf-dialog::backdrop { background: rgba(0,0,0,.7); backdrop-filter: blur(4px); }
.cf-dialog h2 { font-size: 1.5rem; font-weight: 800; margin: 0 0 6px; color: #fff; }
.cf-dialog p { color: #aaa; margin: 0 0 18px; font-size: .95rem; }
.cf-dialog input[type=text] { width: 100%; padding: .8rem 1rem; border-radius: 8px; border: 1px solid #444; background: #262626; color: #fff; font-size: 1rem; margin: 10px 0 14px; }
.cf-dialog input[type=text]:focus { outline: none; border-color: #fff; }
.cf-check { display: flex; align-items: center; gap: .6rem; color: #ddd; cursor: pointer; margin-bottom: 22px; }
.cf-check input { width: 18px; height: 18px; accent-color: var(--bs-primary, #e50914); }
.cf-dialog-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.cf-dialog-actions .cf-pill { font-size: .95rem; padding: .6rem 1.3rem; }
@media (prefers-reduced-motion: reduce) { .cf-profiles-bg { animation: none; } }

/* Título do banner principal: nunca corta com "…", quebra a linha */
.cf-banner-title { white-space: normal; overflow: visible; text-overflow: clip; display: block; -webkit-line-clamp: unset;
  line-height: 1.05; overflow-wrap: break-word; word-break: normal; hyphens: none; }

/* Gerenciar acessos */
.cf-access-add { display: grid; grid-template-columns: 1.4fr 1fr auto; gap: 10px; }
@media (max-width: 640px) { .cf-access-add { grid-template-columns: 1fr; } }
.cf-access-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.cf-access-list li { display: flex; align-items: center; gap: 14px; padding: 12px 14px; background: #141414; border: 1px solid #222; border-radius: 10px; }
.cf-access-avatar { width: 40px; height: 40px; border-radius: 8px; display: grid; place-items: center; font-weight: 800; color: #fff; background: linear-gradient(180deg, #d81f26, #f05a5f); flex: none; }
.cf-access-avatar-alt { background: linear-gradient(180deg, #2a6fe0, #5f9aef); }
.cf-access-tip { display: flex; gap: 14px; padding: 16px; border-radius: 10px; background: rgba(229,9,20,.08); border: 1px solid rgba(229,9,20,.25); }
.cf-access-tip > i { font-size: 1.8rem; color: var(--bs-primary, #e50914); }

.section-padding-top .alert-success { background: rgba(70,211,105,.12); border: 1px solid rgba(70,211,105,.35); color: #8be9a5; }
.section-padding-top .alert-danger  { background: rgba(229,9,20,.12); border: 1px solid rgba(229,9,20,.4); color: #ff8a8f; }
