body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  background: #0d0d0d;
  color: #f5f5f5;
  background-image: linear-gradient(rgba(5, 5, 5, 0.92), rgba(8, 8, 8, 0.96)), url("assets/fundo-site.jpg");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-shell {
  max-width: 1500px;
  margin: 0 auto;
  padding: 20px;
}

/* ===== TOPO ===== */
.topo-home {
  border-radius: 28px;
  overflow: hidden;
  padding: 24px 28px 20px;
  background: linear-gradient(rgba(10, 10, 10, 0.42), rgba(10, 10, 10, 0.72)), url("assets/banner-home.jpg");
  background-size: cover;
  background-position: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45);
}

.topbar {
  display: grid;
  grid-template-columns: 140px 1fr 140px;
  align-items: center;
  gap: 20px;
}

.logo-box {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.logo-box img {
  width: 180px;
  height: 180px;
  object-fit: contain;
}

.titulo-central-topo {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  min-height: 90px;
}

.titulo-central-topo-banner {
  width: 100%;
}

.banner-topo-img {
  display: block;
  max-width: 100%;
  width: auto;
  height: 180px;
  object-fit: contain;
  margin: 0 auto;
}

.botao-login {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 26px;
  border-radius: 12px;
  background: linear-gradient(180deg, #131414, #0c0c0c);
  color: white;
  font-weight: bold;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
  transition: all 0.2s ease;
}

.botao-login:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.menu-principal {
  margin-top: 24px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  padding: 12px 10px 4px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.menu-principal-botoes {
  align-items: center;
}

.menu-botao {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 122px;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02)),
    linear-gradient(180deg, #2a2a2a, #171717);
  border: 1px solid rgba(255,255,255,0.10);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.06),
    0 8px 18px rgba(0,0,0,0.22);
  color: #f2f2f2;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.2px;
  text-decoration: none;
  transition:
    transform 0.22s ease,
    filter 0.22s ease,
    box-shadow 0.22s ease,
    border-color 0.22s ease;
  overflow: hidden;
}

.menu-botao::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    transparent 0%,
    rgba(255,255,255,0.10) 18%,
    rgba(255,255,255,0.02) 36%,
    transparent 55%
  );
  transform: translateX(-120%);
  transition: transform 0.45s ease;
  pointer-events: none;
}

.menu-botao:hover {
  transform: translateY(-2px) scale(1.02);
  filter: brightness(1.08);
  border-color: rgba(255,255,255,0.18);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.08),
    0 12px 24px rgba(0,0,0,0.30);
  color: #ffffff;
}

.menu-botao:hover::before {
  transform: translateX(120%);
}

.menu-botao.ativo {
  color: #ffffff;
  border-color: rgba(255,255,255,0.22);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.10),
    0 0 0 1px rgba(255,255,255,0.04),
    0 12px 24px rgba(0,0,0,0.32);
}

.menu-botao.ativo::after {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 7px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255,255,255,0.25), rgba(255,255,255,0.95), rgba(255,255,255,0.25));
}

/* ===== HERO ===== */
.hero-home {
  margin-top: 22px;
  min-height: 300px;
  border-radius: 26px;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(rgba(8, 8, 8, 0.38), rgba(8, 8, 8, 0.72)), url("assets/banner-home.jpg");
  background-size: cover;
  background-position: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

.hero-overlay {
  padding: 50px 30px;
}

.hero-home h1 {
  margin: 0;
  font-size: 56px;
  line-height: 1.08;
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.45);
}

.hero-home p {
  margin-top: 16px;
  font-size: 22px;
  color: #ececec;
}

/* ===== BASE VISUAL ===== */
.card-padrao {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 18px;
  transition: all 0.25s ease;
}

.card-padrao:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

button,
.botao-palpite,
.botao-padrao {
  transition: all 0.2s ease;
}

button:hover,
.botao-palpite:hover,
.botao-padrao:hover {
  transform: translateY(-1px);
  opacity: 0.95;
}

/* ===== TIPOGRAFIA ===== */
h1 {
  font-size: 28px;
  font-weight: 700;
}

h2 {
  font-size: 22px;
  font-weight: 600;
}

h3 {
  font-size: 18px;
  font-weight: 600;
}

p {
  font-size: 14px;
  color: #cfcfcf;
}

.subtitulo-painel {
  font-size: 13px;
  color: #bdbdbd;
  opacity: 0.8;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.5;
}

/* ===== SEÇÕES ===== */
.secao-box {
  margin-top: 26px;
  padding: 24px;
  border-radius: 24px;
  background: rgba(8, 8, 8, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.32);
}

.cabecalho-secao {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
}

.cabecalho-secao h2 {
  margin: 0;
  font-size: 30px;
  color: white;
}

.link-secao {
  color: #dddddd;
  font-size: 16px;
}

.centralizado {
  justify-content: center;
  text-align: center;
}

.centralizado-coluna {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.secao-login {
  max-width: 700px;
  margin: 26px auto 0;
}

.logout-box {
  margin-top: 40px;
}

#usuarioLogado p {
  margin: 0;
  color: #d8d8d8;
  font-size: 18px;
}

/* ===== HOME ===== */
.faixa-prazo-home,
.faixa-posicao-home {
  margin-top: 16px;
  padding: 14px 20px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #e6e6e6;
}

.faixa-prazo-home {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 22px;
  align-items: stretch;
}

.faixa-posicao-home strong {
  color: #ffffff;
}

.botao-faixa {
  padding: 10px 18px;
  border-radius: 10px;
  background: linear-gradient(180deg, #f0f0f0, #bdbdbd);
  color: #111;
  font-weight: bold;
  text-decoration: none;
  font-size: 14px;
  transition: filter 0.2s ease, transform 0.2s ease;
}

.botao-faixa:hover {
  filter: brightness(1.05);
  transform: translateY(-1px);
}

.faixa-status-coluna {
  min-height: 150px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}

.faixa-status-coluna:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 14%;
  right: -11px;
  width: 1px;
  height: 72%;
  background: rgba(255, 255, 255, 0.08);
}

.faixa-status-contador {
  align-items: center;
  text-align: center;
}

.faixa-status-topo {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  width: 100%;
}

#prazoAtualHome {
  width: 100%;
  text-align: center;
}

.prazo-home-linha {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.prazo-home-fase {
  font-size: 16px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 0.4px;
}

.prazo-home-data {
  font-size: 16px;
  color: #e6e6e6;
}

.contador-box-home {
  width: 100%;
  max-width: 360px;
  margin: 0 auto;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.contador-linha-home {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex-wrap: nowrap;
}

.contador-titulo-home {
  font-size: 13px;
  font-weight: 700;
  color: #cfcfcf;
  letter-spacing: 1px;
  margin-bottom: 6px;
}

.contador-item-home {
  min-width: 40px;
  height: 34px;
  padding: 0 8px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
}

.contador-numero-home {
  font-size: 15px;
  font-weight: 800;
  color: #ffffff;
  line-height: 1;
}

.contador-unidade-home {
  font-size: 12px;
  font-weight: 700;
  color: #d8d8d8;
  margin-right: 2px;
}

.contador-separador-home {
  font-size: 16px;
  font-weight: 700;
  color: #bdbdbd;
}

.contador-rodape-home {
  margin-top: 10px;
  font-size: 13px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.4px;
}

.contador-box-home.contador-alerta {
  border-color: rgba(255, 193, 7, 0.45);
  box-shadow: 0 0 16px rgba(255, 193, 7, 0.10);
}

.contador-box-home.contador-urgente {
  border-color: rgba(255, 80, 80, 0.45);
  box-shadow: 0 0 18px rgba(255, 80, 80, 0.14);
}

.faixa-status-lider,
.faixa-status-resumo {
  align-items: flex-start;
  text-align: left;
}

.faixa-status-titulo {
  font-size: 15px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 14px;
  letter-spacing: 0.6px;
}

.status-item-home {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 16px;
  color: #f1f1f1;
  line-height: 1.35;
}

.status-item-home img {
  width: 20px;
  height: 20px;
  object-fit: contain;
  flex-shrink: 0;
}

.botao-faixa-resumo {
  margin-top: 8px;
  align-self: flex-start;
}

.ranking-resumo-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr 1fr;
  gap: 16px;
  align-items: end;
}

.ranking-mini-card {
  border-radius: 18px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.18);
  text-align: center;
  min-height: 210px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.ranking-mini-card img {
  width: 100%;
  max-height: 150px;
  object-fit: contain;
  border-radius: 12px;
}

.ranking-mini-card h3 {
  margin: 8px 0 4px;
  font-size: 18px;
}

.ranking-mini-card p {
  margin: 0;
  color: #eeeeee;
  font-weight: bold;
}

.ranking-mini-card.primeiro {
  transform: scale(1.02);
  border-color: rgba(255, 255, 255, 0.35);
  box-shadow: 0 0 16px rgba(255, 255, 255, 0.08);
}

.ranking-lista-inferior {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}

.ranking-mini-menor {
  border-radius: 14px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.14);
  text-align: center;
}

.ranking-mini-menor img {
  width: 100%;
  max-height: 90px;
  object-fit: contain;
  border-radius: 8px;
}

.ranking-mini-menor h4 {
  margin: 8px 0 3px;
  font-size: 15px;
}

.ranking-mini-menor p {
  margin: 0;
  color: #e8e8e8;
  font-weight: bold;
}

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

.home-jogo-card {
  background: rgba(16, 16, 16, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  padding: 16px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.28);
}

.home-jogo-card-resultado {
  padding: 16px 18px;
}

.home-jogo-fase {
  font-size: 13px;
  color: #cfcfcf;
  margin-bottom: 6px;
}

.home-jogo-linha-resultado {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 14px;
  margin-top: 8px;
}

/* ===== LOGIN ===== */
.login-box {
  max-width: 420px;
  margin: 30px auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: rgba(10, 10, 10, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.3);
}

.login-box input,
.login-box select {
  padding: 14px;
  border: none;
  border-radius: 12px;
  font-size: 16px;
}

.login-box button,
.botao-padrao {
  padding: 14px 20px;
  border: none;
  border-radius: 12px;
  background: linear-gradient(180deg, #f0f0f0, #bdbdbd);
  color: #111;
  font-size: 17px;
  font-weight: bold;
  cursor: pointer;
}

#mensagem {
  min-height: 24px;
  color: #ffbfbf;
  font-weight: bold;
}

#usuarioLogado {
  margin-top: 20px;
  text-align: center;
  font-size: 18px;
}

/* ===== PAINEL DE ESCOLHA ===== */
.painel-escolha-grid {
  max-width: 900px;
  margin: 30px auto 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.painel-escolha-grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.painel-escolha-card {
  background: rgba(16, 16, 16, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 22px;
  padding: 34px 28px;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.34);
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.painel-escolha-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.42);
}

.painel-escolha-card h3 {
  margin: 0 0 12px;
  font-size: 30px;
  color: #ffffff;
}

.painel-escolha-card p {
  margin: 0;
  color: #d8d8d8;
  font-size: 17px;
  line-height: 1.5;
}

/* ===== PALPITES ===== */
.bloco-grupo {
  max-width: 1300px;
  margin: 36px auto;
  padding: 0 20px;
}

.titulo-grupo {
  text-align: left;
  margin-bottom: 18px;
  color: #ffffff;
  font-size: 30px;
}

.bloco-grupo {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
}

.jogos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 360px));
  justify-content: center;
  gap: 24px;
  width: 100%;
  margin: 0 auto;
}

.jogo-card {
  background: rgba(16, 16, 16, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 20px;
  padding: 20px;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.34);
  min-height: 420px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  box-sizing: border-box;
}

.jogo-card p {
  margin: 0 0 12px;
}

.jogo-card p:first-of-type {
  font-weight: bold;
  letter-spacing: 0.5px;
}

.prazo-info {
  font-size: 14px;
  color: #dcdcdc;
  margin-bottom: 14px;
}

.placar-inputs {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin: 14px 0 16px;
}

.placar-inputs input {
  width: 90px;
  padding: 12px;
  text-align: center;
  font-size: 22px;
  border: none;
  border-radius: 10px;
}

.motm-area {
  margin: 12px 0 18px;
  text-align: left;
}

.motm-area label {
  display: block;
  margin-bottom: 8px;
  font-weight: bold;
  color: #f0f0f0;
}

.motm-area select {
  width: 100%;
  padding: 12px;
  border: none;
  border-radius: 10px;
  font-size: 16px;
}

.botao-palpite {
  margin-top: 20px;
  padding: 12px 20px;
  border: none;
  border-radius: 10px;
  background: linear-gradient(180deg, #f0f0f0, #bdbdbd);
  color: #111;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
}

.palpite-salvo {
  margin-top: 12px;
  color: #d8d8d8;
  font-weight: bold;
}

.fase-encerrada {
  background: #3a3a3a;
  color: #fff;
  padding: 12px;
  border-radius: 10px;
  font-weight: bold;
  margin-top: 10px;
}

.jogo-card.encerrado {
  opacity: 0.9;
  border-color: rgba(255, 255, 255, 0.12);
}

.palpites-confronto-vertical {
  margin: 14px 0 18px;
}

.palpites-times-topo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  align-items: start;
  margin-bottom: 14px;
}

.palpite-time-topo {
  min-height: 42px;
  display: flex;
  align-items: center;
}

.palpite-time-topo.esquerda {
  justify-content: flex-start;
  text-align: left;
}

.palpite-time-topo.direita {
  justify-content: flex-end;
  text-align: right;
}

.palpite-time-topo .time-com-bandeira {
  white-space: normal;
  line-height: 1.25;
}

.palpites-placar-centro {
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: unset;
}

.palpites-placar-centro .placar-inputs {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
}

.palpites-placar-centro .placar-inputs input {
  width: 92px;
  max-width: 92px;
}

/* ===== RANKING ===== */
.ranking-legenda-flip {
  max-width: 1200px;
  margin: 0 auto 24px;
  padding: 12px 16px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #d9d9d9;
  text-align: center;
  font-size: 14px;
}

.ranking-pagina-grid {
  width: 100%;
}

.ranking-podio {
  max-width: 1250px;
  margin: 10px auto 40px;
  display: grid;
  grid-template-columns: 1fr 1.12fr 1fr;
  gap: 24px;
  align-items: end;
}

.ranking-lista-completa {
  max-width: 1250px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.ranking-flip-card {
  perspective: 1200px;
  width: 100%;
}

.ranking-flip-card-inner {
  position: relative;
  width: 100%;
  min-height: 560px;
  transform-style: preserve-3d;
}

.ranking-flip-face {
  position: absolute;
  inset: 0;
  border-radius: 22px;
  padding: 18px;
  background: rgba(16, 16, 16, 0.98);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.34);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transition: transform 0.65s ease, opacity 0.25s ease, visibility 0.25s ease;
}

/* Frente visível por padrão */
.ranking-flip-front {
  z-index: 3;
  opacity: 1;
  visibility: visible;
  transform: rotateY(0deg);
}

/* Versos escondidos por padrão */
.ranking-flip-back-conquistas,
.ranking-flip-back-criterios {
  z-index: 2;
  opacity: 0;
  visibility: hidden;
}

.ranking-flip-back-conquistas {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
}

.ranking-flip-back-conquistas::-webkit-scrollbar {
  width: 8px;
}

.ranking-flip-back-conquistas::-webkit-scrollbar-track {
  background: transparent;
}

.ranking-flip-back-conquistas::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.18);
  border-radius: 999px;
}

.ranking-flip-back-conquistas::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.28);
}

.ranking-flip-back-conquistas {
  transform: rotateY(-180deg);
}

.ranking-flip-back-criterios {
  transform: rotateY(180deg);
}

/* Estado: CONQUISTAS */
.ranking-flip-card.mostrar-conquistas .ranking-flip-front {
  opacity: 0;
  visibility: hidden;
  transform: rotateY(180deg);
}

.ranking-flip-card.mostrar-conquistas .ranking-flip-back-conquistas {
  opacity: 1;
  visibility: visible;
  transform: rotateY(0deg);
  z-index: 4;
}

/* Estado: CRITÉRIOS */
.ranking-flip-card.mostrar-criterios .ranking-flip-front {
  opacity: 0;
  visibility: hidden;
  transform: rotateY(-180deg);
}

.ranking-flip-card.mostrar-criterios .ranking-flip-back-criterios {
  opacity: 1;
  visibility: visible;
  transform: rotateY(0deg);
  z-index: 4;
}

.ranking-podio-card.primeiro {
  transform: translateY(-18px);
}

.ranking-podio-card.segundo {
  transform: translateY(6px);
}

.ranking-podio-card.terceiro {
  transform: translateY(18px);
}

.ranking-card-topo,
.ranking-verso-topo {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 12px;
  min-height: 44px;
}

.ranking-card-topo-esquerda {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 72px;
  min-width: 72px;
  z-index: 2;
}

.ranking-nome-topo {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  margin: 0;
  font-size: 18px;
  font-weight: 800;
  color: #ffffff;
  text-align: center;
  width: calc(100% - 170px);
  max-width: 220px;
  line-height: 1.15;
  pointer-events: none;
  z-index: 1;
}

.posicao-ranking {
  margin: 0;
  font-size: 20px;
  font-weight: 800;
  color: #ffffff;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-height: 40px;
}

.ranking-card-pontos {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  min-width: 72px;
  height: 40px;
  padding: 0 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #ffffff;
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
  z-index: 2;
  box-sizing: border-box;
}

.ranking-card-info {
  display: none;
}

.ranking-verso-topo h3 {
  margin: 0;
  font-size: 18px;
  color: #ffffff;
}

.ranking-card-foto-wrap {
  width: 100%;
  max-width: 180px;
  aspect-ratio: 3 / 4;
  margin: 0 auto 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ranking-podio-card.primeiro .ranking-card-foto-wrap {
  height: 320px;
}

.ranking-podio-card.segundo .ranking-card-foto-wrap,
.ranking-podio-card.terceiro .ranking-card-foto-wrap {
  height: 300px;
}

.ranking-card-foto {
  width: 100%;
  height: 100%;
  object-fit: contain; /* 🔥 ESSENCIAL */
  display: block;
}

/* PÓDIO */
.ranking-podio-card .ranking-card-foto-wrap {
  max-width: 200px;
}

.ranking-podio-card.primeiro .ranking-card-foto-wrap {
  max-width: 220px;
}

/* RESTANTE */
.ranking-lista-completa .ranking-card-foto-wrap {
  max-width: 200px;
}

.ranking-card-foto-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #bfbfbf;
  font-size: 15px;
  background: rgba(255, 255, 255, 0.04);
}

.ranking-acoes-frente {
  display: grid;
  grid-template-columns: 156px 156px;
  justify-content: center;
  gap: 24px;
  margin-top: auto;
}

.ranking-acao-btn {
  width: 156px;
  height: 156px;
  padding: 0;
  border: none;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  overflow: visible;
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    transform 0.22s ease,
    filter 0.22s ease,
    opacity 0.22s ease;
}

.ranking-acao-btn:hover {
  transform: translateY(-4px) scale(1.1);
  filter: brightness(1.12);
  opacity: 0.98;
}

.ranking-acao-btn:active {
  transform: translateY(-1px) scale(1.04);
}

.ranking-acao-btn img {
  width: 156px;
  height: 156px;
  object-fit: contain;
  display: block;
  background: transparent;
  border: none;
  box-shadow: none;
  transition:
    transform 0.22s ease,
    filter 0.22s ease;
}

.ranking-acao-btn:hover img {
  transform: scale(1.03);
  filter: brightness(1.06);
}

.ranking-voltar-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  cursor: pointer;
  font-size: 14px;
  font-weight: 800;
  background: linear-gradient(180deg, #131414, #0c0c0c);
  color: #ffffff;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
  transition: all 0.2s ease;
}

.ranking-voltar-btn:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.ranking-badges-area {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 8px;

  flex: 1;
  overflow-y: auto;
  padding-right: 6px;
}
.ranking-badges-area::-webkit-scrollbar {
  width: 6px;
}

.ranking-badges-area::-webkit-scrollbar-thumb {
  background: rgba(255,255,255,0.18);
  border-radius: 999px;
}

.ranking-badges-area::-webkit-scrollbar-thumb:hover {
  background: rgba(255,255,255,0.28);
}

.ranking-badges-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.badge-card {
  min-height: 150px;
  border-radius: 16px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  flex-direction: column;
  gap: 10px;
  justify-content: flex-start;
  box-sizing: border-box;
  animation: badgeEntrada 0.45s ease both;
}

.badge-imagem-wrap {
  width: 100%;
  height: 76px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.badge-imagem {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
}

.badge-imagem-wrap.sem-imagem {
  border: 1px dashed rgba(255, 255, 255, 0.14);
}

.badge-imagem-fallback {
  font-size: 11px;
  color: #bdbdbd;
}

.badge-conteudo {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.badge-nome {
  font-size: 13px;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.25;
}

.badge-status {
  font-size: 12px;
  font-weight: 700;
  color: #ededed;
}

.badge-progresso {
  font-size: 11px;
  line-height: 1.35;
  color: #cfcfcf;
}

/* ===== BADGE BLOQUEADO (visual secreto) ===== */
.badge-bloqueado {
  filter: grayscale(100%) brightness(0.6) contrast(0.9);
  opacity: 0.75;
  position: relative;
}

/* Remove qualquer glow ou destaque */
.badge-bloqueado::before,
.badge-bloqueado::after {
  display: none !important;
}

/* Imagem mais “apagada” */
.badge-bloqueado .badge-imagem {
  opacity: 0.6;
  filter: grayscale(100%) brightness(0.7);
}

/* Texto mais discreto */
.badge-bloqueado .badge-nome {
  color: rgba(255, 255, 255, 0.6);
}

.badge-bloqueado .badge-status {
  color: rgba(200, 200, 200, 0.6);
}

.badge-bloqueado .badge-progresso {
  color: rgba(180, 255, 220, 0.7);
}

/* Efeito de “vidro fosco” por cima */
.badge-bloqueado::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.04),
    rgba(0, 0, 0, 0.25)
  );
  border-radius: inherit;
  pointer-events: none;
}

.badge-bronze {
  border-color: rgba(205, 127, 50, 0.45);
  box-shadow: inset 0 0 0 1px rgba(205, 127, 50, 0.08);
}

.badge-prata {
  border-color: rgba(192, 192, 192, 0.45);
  box-shadow: inset 0 0 0 1px rgba(192, 192, 192, 0.08);
}

.badge-ouro {
  border-color: rgba(255, 215, 0, 0.45);
  box-shadow: inset 0 0 0 1px rgba(255, 215, 0, 0.08);
}

.badge-diamante {
  border-color: rgba(135, 206, 235, 0.6);
  box-shadow:
    inset 0 0 0 1px rgba(135, 206, 235, 0.12),
    0 0 14px rgba(135, 206, 235, 0.10);
  animation: brilhoDiamante 2.2s ease-in-out infinite;
}

.ranking-badges-unicos {
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.ranking-badges-unicos-titulo {
  font-size: 12px;
  font-weight: 800;
  color: #d9d9d9;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.ranking-badges-unicos-lista {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.badge-unico {
  min-height: 150px;
  border-radius: 16px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  flex-direction: column;
  gap: 10px;
  justify-content: flex-start;
  box-sizing: border-box;
  animation: badgeEntrada 0.45s ease both;
}

.badge-unico-imagem-wrap {
  width: 100%;
  height: 76px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.badge-unico-imagem {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
}

.badge-unico-imagem-wrap.sem-imagem {
  border: 1px dashed rgba(255, 255, 255, 0.14);
}

.badge-unico-texto {
  font-size: 13px;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.25;
  text-align: center;
}

.ranking-verso-conteudo {
  display: flex;
  flex-direction: column;
  gap: 14px;
  height: 100%;
  background: transparent;
}

.ranking-verso-estat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.ranking-verso-estat-item {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 12px 14px;
}

.ranking-verso-estat-item span {
  display: block;
  font-size: 12px;
  color: #cfcfcf;
  margin-bottom: 6px;
}

.ranking-verso-estat-item strong {
  font-size: 20px;
  color: #ffffff;
}

.ranking-voltar-wrap {
  margin-top: auto;
  padding-top: 16px;
  padding-bottom: 6px;
  background: linear-gradient(to top, rgba(16,16,16,0.95), transparent);
}

.ranking-card-acao {
  margin-top: 16px;
  text-align: center;
  font-size: 12px;
  color: #bdbdbd;
  letter-spacing: 0.4px;
}

/* ===== PALPITES DA GALERA ===== */
.palpite-galera-bloco {
  background: rgba(16, 16, 16, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 20px;
  padding: 20px;
  margin-bottom: 22px;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.28);
}

.cabecalho-palpite-galera h3 {
  margin: 0 0 8px;
  font-size: 22px;
}

.cabecalho-palpite-galera p {
  margin: 0 0 10px;
  color: #d8d8d8;
}

.aviso-bloqueio-palpite {
  margin-top: 14px;
  padding: 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  color: #d6d6d6;
}

.palpite-galera-grid {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.palpite-galera-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  padding: 16px;
}

.palpite-galera-nome {
  font-weight: bold;
  font-size: 16px;
  margin-bottom: 12px;
}

.palpite-galera-placar {
  font-size: 26px;
  font-weight: bold;
  margin-bottom: 10px;
}

.palpite-galera-motm {
  color: #d8d8d8;
  line-height: 1.4;
}

.palpite-galera-confronto {
  margin-top: 8px;
}

/* ===== RESULTADOS ===== */
.resultados-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.resultado-card {
  background: rgba(16, 16, 16, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 20px;
  padding: 18px;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.28);
}

.resultado-fase {
  display: inline-block;
  margin-bottom: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  font-size: 12px;
  font-weight: bold;
  letter-spacing: 0.8px;
}

.resultado-card h3 {
  margin: 0 0 14px;
  font-size: 21px;
  line-height: 1.35;
  min-height: 58px;
}

.resultado-placar {
  font-size: 34px;
  font-weight: bold;
  margin-bottom: 14px;
  color: #ffffff;
}

.resultado-motm {
  color: #d8d8d8;
  line-height: 1.5;
}

.resultado-linha,
.home-jogo-linha-resultado {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 14px;
  margin: 10px 0 14px;
}

.resultado-confronto-vertical {
  margin: 12px 0 14px;
}

.resultado-times-topo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  align-items: start;
  margin-bottom: 12px;
}

.resultado-time-topo {
  min-height: 42px;
  display: flex;
  align-items: center;
}

.resultado-time-topo.esquerda {
  justify-content: flex-start;
  text-align: left;
}

.resultado-time-topo.direita {
  justify-content: flex-end;
  text-align: right;
}

.resultado-time-topo .time-com-bandeira {
  white-space: normal;
  line-height: 1.25;
}

.resultado-placar-centro {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 30px;
  font-weight: bold;
  min-width: unset;
}

/* ===== BANDEIRAS E LINHAS DE CONFRONTO ===== */
.time-com-bandeira {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  line-height: 1.2;
  white-space: nowrap;
}

.time-com-bandeira img {
  width: 22px;
  height: 16px;
  object-fit: cover;
  border-radius: 2px;
  flex-shrink: 0;
  display: block;
}

.time-lado {
  display: flex;
  align-items: center;
}

.time-lado:first-child {
  justify-content: flex-start;
}

.time-lado:last-child {
  justify-content: flex-end;
}

.placar-centro {
  font-size: 20px;
  font-weight: bold;
  color: #ffffff;
  text-align: center;
  min-width: 70px;
}

.palpite-centro-x {
  min-width: 40px;
}


/* ===== CLASSIFICADOS ===== */
.classificados-grid-geral {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-top: 20px;
}

.grupo-classificados-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 18px;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.24);
}

.grupo-card-topo {
  margin-bottom: 14px;
  text-align: center;
}

.grupo-classificados-card h2 {
  margin: 0;
  font-size: 20px;
  color: #ffffff;
}

.grupo-times-grade {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}

.grupo-time-slot {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  position: relative;
  min-height: 68px;
  border-radius: 14px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.10);
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  text-align: left;
  cursor: pointer;
  color: #f3f3f3;
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    background 0.2s ease,
    opacity 0.2s ease,
    box-shadow 0.2s ease,
    filter 0.2s ease;
}

.grupo-time-slot:disabled {
  cursor: not-allowed;
  opacity: 0.7;
}

.grupo-time-slot:focus-visible {
  outline: none;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.18),
    0 0 0 4px rgba(255, 255, 255, 0.06);
}

.grupo-time-slot:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.065);
  filter: brightness(1.03);
}

.grupo-time-slot-conteudo {
  width: 100%;
  display: flex;
  align-items: center;
}

.grupo-time-slot .time-com-bandeira {
  white-space: normal;
  line-height: 1.25;
  font-weight: 700;
  color: #f3f3f3;
}

.grupo-time-slot .time-com-bandeira img {
  width: 24px;
  height: 18px;
  border-radius: 3px;
}

.grupo-time-slot.selecionado {
  background: rgba(0, 0, 0, 0.55);
  border-color: rgba(255, 255, 255, 0.25);
  opacity: 0.88;
}

.grupo-time-slot.selecionado-primeiro {
  border-color: rgba(255, 255, 255, 0.28);
}

.grupo-time-slot.selecionado-segundo {
  border-color: rgba(255, 255, 255, 0.18);
}

.grupo-time-slot-selo {
  position: absolute;
  top: 8px;
  right: 8px;
  min-width: 28px;
  height: 22px;
  padding: 0 8px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.42);
  border: 1px solid rgba(255, 255, 255, 0.14);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
  color: #ffffff;
}

.classificados-selects {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 12px;
}

.select-bloco {
  display: flex;
  flex-direction: column;
}

.select-bloco label {
  font-size: 12px;
  margin-bottom: 6px;
  color: #ccc;
  font-weight: 700;
  letter-spacing: 0.3px;
}

.select-bloco select {
  padding: 10px 12px;
  min-height: 42px;
  border-radius: 10px;
  border: none;
  background: #1c1c1c;
  color: #fff;
  font-size: 14px;
  outline: none;
}

.select-bloco select:focus {
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.16);
}

.preview-classificados-box {
  margin: 12px 0 14px;
  padding: 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.preview-classificados-linha {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.preview-classificado-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 10px;
}

.preview-label {
  display: block;
  font-size: 11px;
  color: #cfcfcf;
  margin-bottom: 6px;
}

.preview-time {
  font-weight: bold;
  color: #fff;
  font-size: 14px;
}

.grupo-classificados-card > button:last-of-type {
  width: 100%;
  background: #ffffff;
  color: #000;
  border: none;
  padding: 12px 14px;
  border-radius: 10px;
  cursor: pointer;
  font-weight: bold;
  font-size: 14px;
}

.grupo-classificados-card > button:last-of-type:hover {
  opacity: 0.85;
}

.grupo-classificados-card button:disabled,
.select-bloco select:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* ===== ADMIN ===== */
.topo-admin {
  padding-bottom: 24px;
}

.topo-admin .titulo-central-topo h1 {
  font-size: 42px;
}

#adminStatus {
  margin-top: 10px;
  text-align: center;
  font-size: 16px;
}

.admin-menu-grid {
  max-width: 1100px;
  margin: 30px auto 10px;
  padding: 0 10px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.admin-menu-card {
  background: rgba(18, 18, 18, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 22px;
  padding: 28px 24px;
  color: white;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.34);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.admin-menu-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.4);
  border-color: rgba(255, 255, 255, 0.28);
}

.admin-menu-card h2 {
  margin: 0 0 12px;
  font-size: 26px;
  color: #ffffff;
}

.admin-menu-card p {
  margin: 0;
  color: #d6d6d6;
  line-height: 1.5;
  font-size: 16px;
}

.admin-top-actions {
  max-width: 1200px;
  margin: 10px auto 24px;
  padding: 0 10px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.botao-topo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  background: rgba(255, 255, 255, 0.08);
  color: white;
  font-weight: bold;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.botao-topo-btn {
  cursor: pointer;
}

.ok-admin {
  color: #d8d8d8;
}

.erro-admin {
  color: #ffb3b3;
}

.admin-card {
  min-height: 380px;
}

.painel-fases,
#listaResultadosGruposAdmin,
#listaJogosAdmin {
  max-width: 1250px;
  margin: 0 auto;
  padding: 0;
}

.fase-card {
  background: rgba(18, 18, 18, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 18px;
  padding: 20px;
  margin-bottom: 18px;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.28);
}

.fase-card h3 {
  margin-top: 0;
  margin-bottom: 16px;
  font-size: 22px;
  color: #ffffff;
}

.fase-card input,
.fase-card select {
  width: 100%;
  box-sizing: border-box;
  padding: 12px;
  border: none;
  border-radius: 10px;
  font-size: 16px;
}

.fase-card button {
  margin-top: 14px;
  padding: 12px 18px;
  border: none;
  border-radius: 10px;
  background: linear-gradient(180deg, #f0f0f0, #bdbdbd);
  color: #111;
  font-size: 15px;
  font-weight: bold;
  cursor: pointer;
}

.fairplay-area {
  margin: 14px 0 18px;
  text-align: left;
}

.fairplay-area label {
  display: block;
  margin-bottom: 10px;
  font-weight: bold;
  color: #f0f0f0;
}

.fairplay-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  width: 100%;
}

.fairplay-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.fairplay-item span {
  font-size: 13px;
  color: #d0d0d0;
}

.fairplay-item input {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  padding: 8px 10px;
  font-size: 14px;
}

.fairplay-ajuda {
  margin-top: 10px;
  font-size: 12px;
  color: #bdbdbd;
  line-height: 1.4;
}

.admin-confronto-vertical {
  margin: 14px 0 18px;
}

.admin-times-topo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  align-items: start;
  margin-bottom: 14px;
}

.admin-time-topo {
  min-height: 42px;
  display: flex;
  align-items: center;
}

.admin-time-topo.esquerda {
  justify-content: flex-start;
  text-align: left;
}

.admin-time-topo.direita {
  justify-content: flex-end;
  text-align: right;
}

.admin-time-topo .time-com-bandeira {
  white-space: normal;
  line-height: 1.25;
}

.admin-placar-centro {
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: unset;
}

.admin-placar-centro .placar-inputs {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
}

.admin-placar-centro .placar-inputs input {
  width: 92px;
  max-width: 92px;
}

/* ===== ADMIN CLASSIFICADOS REFINADO ===== */
.admin-top-actions-refinado {
  margin: 18px 0 26px;
  align-items: center;
}

#adminStatus {
  margin-top: 10px;
  width: 100%;
}

#adminStatus .ok-admin,
#adminStatus .erro-admin {
  display: inline-block;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 14px;
}

#adminStatus .ok-admin {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #f5f5f5;
}

#adminStatus .erro-admin {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #ffffff;
}

#listaResultadosGruposAdmin {
  margin-top: 10px;
}

#listaResultadosGruposAdmin .classificados-grid-geral {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  margin-top: 18px;
}

#listaResultadosGruposAdmin .grupo-classificados-card {
  padding: 18px;
  border-radius: 16px;
}

#listaResultadosGruposAdmin .grupo-classificados-card h2 {
  margin-bottom: 14px;
  font-size: 20px;
}

#listaResultadosGruposAdmin .grupo-classificados-card h3 {
  margin-bottom: 10px;
  font-size: 17px;
}

#listaResultadosGruposAdmin .ranking-linha-card {
  min-height: 58px;
}

#listaResultadosGruposAdmin .ranking-estatisticas-inline {
  gap: 12px;
  font-size: 13px;
}

#listaResultadosGruposAdmin select {
  width: 100%;
  padding: 12px;
  border-radius: 10px;
  border: none;
  background: #1b1b1b;
  color: #fff;
  font-size: 14px;
  outline: none;
}

#listaResultadosGruposAdmin select:focus {
  box-shadow: 0 0 0 1px rgba(255,255,255,0.18);
}

#listaResultadosGruposAdmin .botao-palpite {
  min-height: 44px;
}

#listaResultadosGruposAdmin .grupo-classificados-card p {
  margin-top: 0;
}

#listaResultadosGruposAdmin .grupo-classificados-card .ranking-nome span {
  font-size: 13px;
}

/* ===== PALPITES DA GALERA REFINADO ===== */
.filtros-palpite-galera {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 14px;
  align-items: end;
  margin: 18px 0 24px;
}

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

.filtro-item label {
  font-size: 13px;
  color: #cfcfcf;
}

.filtro-item select {
  width: 100%;
  padding: 12px;
  border-radius: 10px;
  border: none;
  background: #1b1b1b;
  color: #fff;
  font-size: 14px;
}

.filtro-botao-limpar {
  justify-content: end;
}

.palpites-galera-accordion {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.palpite-galera-jogo-card {
  padding: 0;
  overflow: hidden;
}

.palpite-galera-jogo-summary {
  list-style: none;
  cursor: pointer;
  padding: 16px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.palpite-galera-jogo-summary::-webkit-details-marker {
  display: none;
}

.palpite-galera-jogo-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.palpite-galera-jogo-fase {
  font-size: 12px;
  color: #cfcfcf;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.palpite-galera-jogo-confronto {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.time-lado-resumo {
  display: inline-flex;
  align-items: center;
}

.palpite-galera-jogo-x {
  font-size: 18px;
  font-weight: bold;
  color: #fff;
}

.palpite-galera-expandir {
  font-size: 13px;
  color: #dcdcdc;
  white-space: nowrap;
}

.palpite-galera-jogo-conteudo {
  padding: 0 18px 18px;
}

.palpites-galera-lista-interna {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}

.palpite-galera-card-compacto {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 12px 14px;
}

.palpite-galera-card-topo {
  margin-bottom: 8px;
}

.palpite-galera-card-placar {
  font-size: 18px;
  font-weight: bold;
  color: #fff;
  margin-bottom: 6px;
}

.palpite-galera-card-motm {
  font-size: 13px;
  color: #d4d4d4;
  line-height: 1.35;
}

.prazo-home-linha {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.prazo-home-fase {
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.4px;
}

.prazo-home-data {
  color: #d6d6d6;
}

.prazo-home-contador {
  margin-top: 8px;
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 1px;
  opacity: 0.95;
}

.contador-estadio {
  margin: 12px auto 0;
  padding: 14px 16px;
  border-radius: 12px;
  max-width: 520px;
  width: 100%;
  background: linear-gradient(rgba(10,10,10,0.88), rgba(16,16,16,0.95)), url("assets/banner-estadio.jpg") center/cover no-repeat;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.05), 0 6px 18px rgba(0,0,0,0.25);
  text-align: center;
}

.contador-estadio-topo {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 1px;
  color: #ffffff;
  margin-bottom: 12px;
}

.contador-estadio-placar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.contador-bloco {
  min-width: 70px;
  padding: 8px 8px 6px;
  border-radius: 8px;
  background: linear-gradient(180deg, #1a1d23, #0c0f14);
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: inset 0 2px 0 rgba(255,255,255,0.05), inset 0 -2px 6px rgba(0,0,0,0.6);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.contador-numero {
  font-size: 30px;
  font-weight: 800;
  line-height: 1;
  font-family: "Courier New", monospace;
  color: #eaf2ff;
  text-shadow: 0 0 6px rgba(120,180,255,0.25), 0 0 2px rgba(255,255,255,0.3);
}

.contador-legenda {
  margin-top: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  color: #cfcfcf;
}

.contador-separador {
  font-size: 24px;
  font-weight: 800;
  color: #ffffff;
  opacity: 0.9;
}

.contador-estadio.contador-alerta {
  border-color: rgba(255, 196, 0, 0.35);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.05), 0 0 18px rgba(255, 196, 0, 0.12);
}

.contador-estadio.contador-alerta .contador-numero {
  color: #ffd86a;
  text-shadow: 0 0 8px rgba(255, 196, 0, 0.22), 0 0 2px rgba(255,255,255,0.18);
}

.contador-estadio.contador-alerta .contador-estadio-topo,
.contador-estadio.contador-alerta .contador-estadio-rodape {
  color: #ffe7a3;
}

.contador-estadio.contador-urgente {
  border-color: rgba(255, 90, 90, 0.45);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.05), 0 0 22px rgba(255, 70, 70, 0.18);
  animation: contadorPisca 1s infinite;
}

.contador-estadio.contador-urgente .contador-numero {
  color: #ff9a9a;
  text-shadow: 0 0 10px rgba(255, 70, 70, 0.3), 0 0 2px rgba(255,255,255,0.15);
}

.contador-estadio.contador-urgente .contador-estadio-topo,
.contador-estadio.contador-urgente .contador-estadio-rodape {
  color: #ffd2d2;
}

@keyframes contadorPisca {
  0% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.82;
    transform: scale(1.01);
  }

  100% {
    opacity: 1;
    transform: scale(1);
  }
}

.contador-horizontal {
  margin: 12px auto 0;
  max-width: 540px;
  width: 100%;
  padding: 10px 14px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  background: linear-gradient(180deg, #131414, #0c0c0c);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.05), 0 6px 18px rgba(0,0,0,0.22);
  text-align: center;
}

.contador-horizontal-texto {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  color: #d8d8d8;
  white-space: nowrap;
}

.contador-horizontal-placar {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: center;
}

.contador-horizontal-numero {
  min-width: 34px;
  padding: 4px 6px;
  border-radius: 6px;
  background: linear-gradient(180deg, #131414, #0c0c0c);
  border: 1px solid rgba(255,255,255,0.10);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
  font-size: 22px;
  font-weight: 800;
  line-height: 1;
  font-family: "Courier New", monospace;
  color: #eaf2ff;
  text-shadow: 0 0 6px rgba(120,180,255,0.22), 0 0 2px rgba(255,255,255,0.2);
}

.contador-horizontal-label {
  font-size: 11px;
  font-weight: 700;
  color: #cfcfcf;
  margin-right: 2px;
}

.contador-horizontal-separador {
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  opacity: 0.6;
}

.contador-horizontal.contador-alerta {
  border-color: rgba(255, 196, 0, 0.35);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.05), 0 0 18px rgba(255, 196, 0, 0.12);
}

.contador-horizontal.contador-alerta .contador-horizontal-numero {
  color: #ffd86a;
  text-shadow: 0 0 8px rgba(255, 196, 0, 0.22), 0 0 2px rgba(255,255,255,0.18);
}

.contador-horizontal.contador-alerta .contador-horizontal-texto {
  color: #ffe7a3;
}

.contador-horizontal.contador-urgente {
  border-color: rgba(255, 90, 90, 0.45);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.05), 0 0 22px rgba(255, 70, 70, 0.18);
  animation: contadorPisca 1.5s infinite;
}

.contador-horizontal.contador-urgente .contador-horizontal-numero {
  color: #ff9a9a;
  text-shadow: 0 0 10px rgba(255, 70, 70, 0.3), 0 0 2px rgba(255,255,255,0.15);
}

.contador-horizontal.contador-urgente .contador-horizontal-texto {
  color: #ffd2d2;
}

.atalho-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  text-decoration: none;
  color: inherit;
  padding: 22px 18px;
  border-radius: 16px;
  background: linear-gradient(180deg, #131414, #0c0c0c);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.05), 0 8px 20px rgba(0,0,0,0.25);
  transition: all 0.25s ease;
}

.atalho-card:hover {
  transform: translateY(-6px) scale(1.01);
  border-color: rgba(255,255,255,0.2);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06), 0 12px 30px rgba(0,0,0,0.4), 0 0 18px rgba(255,255,255,0.08);
}

.atalho-icone {
  width: 54px;
  height: 54px;
  object-fit: contain;
  margin-bottom: 12px;
  transition: transform 0.25s ease, filter 0.25s ease;
}

.atalho-card:hover .atalho-icone {
  transform: scale(1.1) rotate(-2deg);
  filter: drop-shadow(0 0 6px rgba(255,255,255,0.15));
}

.atalho-card h3 {
  margin: 6px 0;
  font-size: 20px;
  font-weight: 700;
}

.atalho-card p {
  font-size: 14px;
  opacity: 0.85;
  line-height: 1.4;
}

.atalho-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 60%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.15), transparent);
  transform: skewX(-20deg);
  transition: 0.6s;
}

.atalho-card:hover::before {
  left: 140%;
}

/* ===== RESPONSIVIDADE ===== */
@media (max-width: 1200px) {
  .ranking-lista-completa {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1100px) {
  .ranking-resumo-grid {
    grid-template-columns: 1fr;
  }

  .ranking-lista-inferior {
    grid-template-columns: repeat(2, 1fr);
  }

  .topbar {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .botao-login {
    justify-self: center;
  }

  .titulo-central-topo h1 {
    font-size: 42px;
  }

  .jogos-grid,
  .home-lista-jogos,
  .resultados-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .admin-menu-grid {
    grid-template-columns: 1fr;
  }

  .faixa-prazo-home {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .faixa-status-coluna:not(:last-child)::after {
    display: none;
  }

  .faixa-status-coluna {
    min-height: auto;
  }

  .faixa-status-lider,
  .faixa-status-resumo {
    align-items: center;
    text-align: center;
  }

  .status-item-home {
    justify-content: center;
  }

  .botao-faixa-resumo {
    align-self: center;
  }
}

@media (max-width: 1000px) {
  .painel-escolha-grid-3,
  .classificados-grid-geral {
    grid-template-columns: 1fr;
  }

  .palpite-galera-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  #listaResultadosGruposAdmin .classificados-grid-geral {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .ranking-podio {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .ranking-podio-card.primeiro,
  .ranking-podio-card.segundo,
  .ranking-podio-card.terceiro {
    transform: none;
  }

  .ranking-lista-completa {
    grid-template-columns: 1fr;
  }

  .ranking-card-foto-wrap {
    height: 300px;
  }

  .filtros-palpite-galera {
    grid-template-columns: 1fr;
  }

  .filtro-botao-limpar {
    justify-content: stretch;
  }
}

@media (max-width: 700px) {
  .site-shell {
    padding: 12px;
  }

  .jogos-grid {
    grid-template-columns: 1fr;
    justify-content: stretch;
  }

  .home-lista-jogos,
  .resultados-grid,
  .palpite-galera-grid,
  .ranking-lista-inferior,
  .painel-escolha-grid {
    grid-template-columns: 1fr;
  }

  .ranking-flip-card-inner {
    min-height: 600px;
  }

  .ranking-flip-face {
    padding: 16px;
    border-radius: 20px;
  }

 .ranking-card-foto-wrap {
  height: 260px;
}

.ranking-acoes-frente {
  grid-template-columns: 118px 118px;
  gap: 16px;
}

.ranking-acao-btn {
  width: 118px;
  height: 118px;
}

.ranking-acao-btn img {
  width: 118px;
  height: 118px;
}

  .ranking-badges-grid {
    grid-template-columns: 1fr;
  }

  .ranking-verso-estat-grid {
    grid-template-columns: 1fr;
  }

  .ranking-card-info h3,
  .ranking-verso-topo h3 {
    font-size: 22px;
  }

  .ranking-card-pontos {
    font-size: 14px;
  }

  .ranking-acoes-frente {
    grid-template-columns: 1fr;
  }

  .botao-home-acao,
  .botao-home-secundario {
    min-width: unset;
    width: 100%;
  }

  .home-acoes {
    width: 100%;
  }

  .resultado-linha,
  .home-jogo-linha-resultado,
  .resultado-times-topo,
  .palpites-times-topo,
  .preview-classificados-linha {
    grid-template-columns: 1fr;
    gap: 8px;
    text-align: center;
  }

  .time-lado,
  .time-lado:first-child,
  .time-lado:last-child,
  .resultado-time-topo,
  .resultado-time-topo.esquerda,
  .resultado-time-topo.direita,
  .palpite-time-topo,
  .palpite-time-topo.esquerda,
  .palpite-time-topo.direita {
    justify-content: center;
    text-align: center;
    min-height: unset;
  }

  .placar-centro,
  .resultado-placar-centro,
  .palpite-centro-x,
  .palpites-placar-centro {
    min-width: unset;
  }

 .classificados-selects {
  grid-template-columns: 1fr;
}

.grupo-times-grade {
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.grupo-time-slot {
  min-height: 64px;
  padding: 10px 12px;
}

  .fairplay-grid {
    grid-template-columns: 1fr;
  }

  .admin-times-topo {
    grid-template-columns: 1fr;
    gap: 10px;
    text-align: center;
  }

  .admin-time-topo,
  .admin-time-topo.esquerda,
  .admin-time-topo.direita {
    justify-content: center;
    text-align: center;
    min-height: unset;
  }

  .admin-top-actions-refinado {
    flex-direction: column;
    gap: 10px;
    align-items: stretch;
  }

  .admin-top-actions-refinado .botao-topo,
  .admin-top-actions-refinado .botao-topo-btn {
    width: 100%;
    text-align: center;
  }

  #listaResultadosGruposAdmin .ranking-estatisticas-inline {
    gap: 8px 12px;
  }

  .palpite-galera-jogo-summary {
    flex-direction: column;
    align-items: flex-start;
  }

  .palpite-galera-jogo-confronto {
    gap: 10px;
  }

  .palpite-galera-expandir {
    align-self: flex-start;
  }

  .prazo-home-linha {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .prazo-home-contador {
    font-size: 13px;
  }

  .contador-estadio {
    padding: 14px 12px;
  }

  .contador-estadio-topo {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1.5px;
    opacity: 0.85;
    margin-bottom: 10px;
  }

  .contador-estadio-rodape {
    margin-top: 10px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    opacity: 0.8;
  }

  .contador-estadio-placar {
    gap: 8px;
  }

  .contador-bloco {
    min-width: 66px;
    padding: 8px 8px 6px;
  }

  .contador-numero {
    font-size: 26px;
  }

  .contador-legenda {
    font-size: 10px;
  }

  .contador-separador {
    font-size: 18px;
    font-weight: 700;
    opacity: 0.6;
  }

  .contador-horizontal {
    padding: 10px 12px;
    gap: 10px;
  }

  .contador-horizontal-texto {
    font-size: 11px;
  }

  .contador-horizontal-numero {
    font-size: 18px;
    min-width: 28px;
    padding: 3px 5px;
  }

  .contador-horizontal-label {
    font-size: 10px;
  }

  .contador-horizontal-separador {
    font-size: 14px;
  }
}

@media (max-width: 600px) {
  .titulo-central-topo h1 {
    font-size: 30px;
    line-height: 1.15;
  }

  .menu-principal {
  gap: 10px;
}

.menu-botao {
  min-width: 118px;
  min-height: 42px;
  padding: 0 16px;
  font-size: 15px;
}

  .logo-box img {
    width: 74px;
    height: 74px;
  }
}

@keyframes badgeEntrada {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.98);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes brilhoDiamante {
  0% {
    box-shadow:
      inset 0 0 0 1px rgba(135, 206, 235, 0.10),
      0 0 8px rgba(135, 206, 235, 0.06);
    filter: brightness(1);
  }

  50% {
    box-shadow:
      inset 0 0 0 1px rgba(135, 206, 235, 0.16),
      0 0 18px rgba(135, 206, 235, 0.18);
    filter: brightness(1.08);
  }

  100% {
    box-shadow:
      inset 0 0 0 1px rgba(135, 206, 235, 0.10),
      0 0 8px rgba(135, 206, 235, 0.06);
    filter: brightness(1);
  }
}

#modal-badge {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
}

#modal-badge.ativo {
  display: block;
}

.modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(6px);
}

.modal-box {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.95);
  width: 320px;
  background: #111;
  border-radius: 18px;
  padding: 20px;
  text-align: center;
  animation: modalEntrada 0.25s ease forwards;
}

.modal-conteudo img {
  width: 120px;
  height: 120px;
  object-fit: contain;
  margin-bottom: 12px;
}

.modal-fechar {
  position: absolute;
  top: 10px;
  right: 10px;
  background: none;
  border: none;
  color: white;
  font-size: 18px;
  cursor: pointer;
}

#modal-nome {
  font-size: 18px;
  margin-bottom: 6px;
}

#modal-nivel {
  font-weight: bold;
  margin-bottom: 4px;
}

#modal-progresso {
  font-size: 13px;
  opacity: 0.7;
}

@keyframes modalEntrada {
  to {
    transform: translate(-50%, -50%) scale(1);
  }
}

/* ===== MODAL ===== */
#modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
}

#modal.ativo {
  display: block;
}

.overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.8);
}

.modal-box {
  position: absolute;
  top:50%;
  left:50%;
  transform:translate(-50%,-50%);
  background:#111;
  padding:20px;
  border-radius:20px;
  text-align:center;
}

.fechar {
  position:absolute;
  top:10px;
  right:10px;
}

/* ===== HOLO ===== */
.holo-card {
  width:260px;
  height:340px;
  margin:auto;
  position:relative;
  transform:perspective(800px) rotateX(var(--rx,0)) rotateY(var(--ry,0));
}

.holo-card img {
  width:100%;
  height:100%;
  object-fit:contain;
}

/* brilho */
.glow {
  position:absolute;
  inset:0;
  background: radial-gradient(circle at var(--mx,50%) var(--my,50%), rgba(255,255,255,0.3), transparent 40%);
  mix-blend-mode: screen;
}

/* reflexo */
.shine {
  position:absolute;
  inset:0;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.3), transparent);
  mix-blend-mode: screen;
}

/* ===== RARIDADES ===== */
.raridade-bronze { box-shadow:0 0 20px #ac653f; }
.raridade-prata { box-shadow:0 0 20px #b5b5b5; }
.raridade-ouro { box-shadow:0 0 20px #ebac0f; }

.raridade-diamante {
  box-shadow:0 0 30px #4dd7d2;
  animation:pulse 2s infinite;
}

@keyframes pulse {
  0% { box-shadow:0 0 10px #4dd7d2; }
  50% { box-shadow:0 0 30px #4dd7d2; }
  100% { box-shadow:0 0 10px #4dd7d2; }
}

.no-holo .glow,
.no-holo .shine {
  display:none;
}

/* ===== PROGRESSO ===== */
.barra {
  height:10px;
  background:#333;
  margin-top:10px;
}

#barraFill {
  height:100%;
  background:white;
}
/* ===== MODAL HOLOGRÁFICO DOS BADGES ===== */
#modalBadgeHolo {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: none;
}

#modalBadgeHolo.ativo {
  display: block;
}

.modal-badge-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(8px);
}

.modal-badge-box {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(420px, calc(100vw - 28px));
  transform: translate(-50%, -50%);
  border-radius: 24px;
  padding: 18px 18px 22px;
  background: linear-gradient(180deg, rgba(16,16,16,0.98), rgba(8,8,8,0.98));
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 18px 40px rgba(0,0,0,0.45);
}

.modal-badge-fechar {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 34px;
  height: 34px;
  border: none;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  color: #fff;
  font-size: 18px;
  cursor: pointer;
}

.modal-badge-conteudo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.badge-holo-card {
  --mx: 50%;
  --my: 50%;
  --rotX: 0deg;
  --rotY: 0deg;
  position: relative;
  width: min(300px, 74vw);
  aspect-ratio: 3 / 4;
  border-radius: 22px;
  overflow: hidden;
  isolation: isolate;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.14);
  transform: perspective(900px) rotateX(var(--rotX)) rotateY(var(--rotY));
  transition: transform 0.18s ease, box-shadow 0.22s ease, filter 0.22s ease;
  box-shadow: 0 14px 32px rgba(0,0,0,0.36);
}

.badge-holo-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  z-index: 2;
}

.badge-holo-glow,
.badge-holo-shine,
.badge-holo-noise {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 3;
}

.badge-holo-glow {
  background:
    radial-gradient(circle at var(--mx) var(--my), rgba(255,255,255,0.26), transparent 34%),
    radial-gradient(circle at 20% 18%, rgba(255,255,255,0.14), transparent 28%);
  mix-blend-mode: screen;
  opacity: 0.85;
}

.badge-holo-shine {
  background:
    linear-gradient(
      115deg,
      transparent 0%,
      rgba(255,255,255,0.06) 18%,
      rgba(255,255,255,0.20) 34%,
      transparent 48%,
      rgba(255,255,255,0.08) 62%,
      transparent 100%
    );
  background-size: 220% 220%;
  background-position: var(--mx) var(--my);
  mix-blend-mode: screen;
  opacity: 0.82;
}

.badge-holo-noise {
  background:
    linear-gradient(
      130deg,
      rgba(255,255,255,0) 0%,
      rgba(255,255,255,0.05) 16%,
      rgba(255,255,255,0) 34%,
      rgba(255,255,255,0.08) 52%,
      rgba(255,255,255,0) 68%,
      rgba(255,255,255,0.05) 84%,
      rgba(255,255,255,0) 100%
    );
  mix-blend-mode: overlay;
  opacity: 0.42;
}

.badge-holo-card.sem-holo {
  transform: perspective(900px) rotateX(0deg) rotateY(0deg) !important;
}

.badge-holo-card.sem-holo .badge-holo-glow,
.badge-holo-card.sem-holo .badge-holo-shine,
.badge-holo-card.sem-holo .badge-holo-noise {
  display: none;
}

.badge-holo-card.raridade-bloqueado {
  filter: grayscale(1);
  box-shadow: 0 14px 32px rgba(0,0,0,0.36);
}

.badge-holo-card.raridade-bronze {
  box-shadow:
    0 0 0 1px rgba(172, 101, 63, 0.28),
    0 0 28px rgba(172, 101, 63, 0.18),
    0 14px 32px rgba(0,0,0,0.36);
}

.badge-holo-card.raridade-bronze .badge-holo-glow,
.badge-holo-card.raridade-bronze .badge-holo-shine {
  filter: drop-shadow(0 0 10px rgba(172, 101, 63, 0.32));
}

.badge-holo-card.raridade-prata {
  box-shadow:
    0 0 0 1px rgba(181, 181, 181, 0.28),
    0 0 28px rgba(181, 181, 181, 0.18),
    0 14px 32px rgba(0,0,0,0.36);
}

.badge-holo-card.raridade-prata .badge-holo-glow,
.badge-holo-card.raridade-prata .badge-holo-shine {
  filter: drop-shadow(0 0 10px rgba(181, 181, 181, 0.32));
}

.badge-holo-card.raridade-ouro {
  box-shadow:
    0 0 0 1px rgba(235, 172, 15, 0.32),
    0 0 32px rgba(235, 172, 15, 0.22),
    0 14px 32px rgba(0,0,0,0.36);
}

.badge-holo-card.raridade-ouro .badge-holo-glow,
.badge-holo-card.raridade-ouro .badge-holo-shine {
  filter: drop-shadow(0 0 12px rgba(235, 172, 15, 0.38));
}

.badge-holo-card.raridade-diamante {
  box-shadow:
    0 0 0 1px rgba(77, 215, 210, 0.34),
    0 0 36px rgba(77, 215, 210, 0.24),
    0 14px 32px rgba(0,0,0,0.36);
  animation: badgeDiamantePulse 2.4s ease-in-out infinite;
}

.badge-holo-card.raridade-diamante .badge-holo-glow,
.badge-holo-card.raridade-diamante .badge-holo-shine {
  filter: drop-shadow(0 0 16px rgba(77, 215, 210, 0.42));
}

.badge-holo-card.raridade-unico {
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.18),
    0 0 24px rgba(255,255,255,0.14),
    0 14px 32px rgba(0,0,0,0.36);
}

.modal-badge-aviso {
  min-height: 18px;
  font-size: 12px;
  font-weight: 800;
  color: #fff;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.modal-badge-barra {
  width: min(300px, 74vw);
  height: 12px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
}

.modal-badge-barra-fill {
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(255,255,255,0.45), rgba(255,255,255,0.95));
  transition: width 0.35s ease;
}

.modal-badge-texto {
  font-size: 14px;
  font-weight: 700;
  color: #ebebeb;
  text-align: center;
  line-height: 1.35;
  max-width: 300px;
}

@keyframes badgeDiamantePulse {
  0% {
    box-shadow:
      0 0 0 1px rgba(77, 215, 210, 0.24),
      0 0 20px rgba(77, 215, 210, 0.14),
      0 14px 32px rgba(0,0,0,0.36);
  }
  50% {
    box-shadow:
      0 0 0 1px rgba(77, 215, 210, 0.40),
      0 0 44px rgba(77, 215, 210, 0.30),
      0 14px 32px rgba(0,0,0,0.36);
  }
  100% {
    box-shadow:
      0 0 0 1px rgba(77, 215, 210, 0.24),
      0 0 20px rgba(77, 215, 210, 0.14),
      0 14px 32px rgba(0,0,0,0.36);
  }
}

@media (max-width: 700px) {
  .modal-badge-box {
    width: min(380px, calc(100vw - 20px));
    padding: 16px 14px 18px;
  }

  .badge-holo-card {
    width: min(250px, 76vw);
  }

  .modal-badge-barra {
    width: min(250px, 76vw);
  }

  .modal-badge-texto {
    font-size: 13px;
  }
}

/* ===== RAINBOW HOLO ===== */
.badge-holo-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;

  background:
    linear-gradient(
      120deg,
      rgba(255, 0, 150, 0.25),
      rgba(0, 200, 255, 0.25),
      rgba(0, 255, 150, 0.25),
      rgba(255, 255, 0, 0.25),
      rgba(255, 0, 150, 0.25)
    );

  background-size: 300% 300%;
  mix-blend-mode: color-dodge;

  opacity: 0;
  transition: opacity 0.3s ease;
}

/* ativa só quando desbloqueado */
.badge-holo-card:not(.sem-holo)::after {
  opacity: 0.6;
}

/* movimento do arco-íris */
.badge-holo-card {
  animation: rainbowMove 6s linear infinite;
}

@keyframes rainbowMove {
  0% { background-position: 0% 50%; }
  100% { background-position: 100% 50%; }
}
/* ===== ANIMAÇÃO DE ENTRADA ===== */
.badge-holo-card.animar-entrada {
  animation: badgeEntrada 0.6s ease;
}

@keyframes badgeEntrada {
  0% {
    transform: scale(0.6) rotateX(40deg);
    opacity: 0;
  }
  60% {
    transform: scale(1.05) rotateX(-10deg);
  }
  100% {
    transform: scale(1) rotateX(0deg);
    opacity: 1;
  }
}

/* ===== PARTÍCULAS DIAMANTE ===== */
.badge-holo-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 4;
  opacity: 0;
}

.badge-holo-card.diamante-particulas .badge-holo-particles {
  opacity: 1;
}

.badge-holo-card.diamante-particulas .badge-holo-particles::before,
.badge-holo-card.diamante-particulas .badge-holo-particles::after {
  content: "";
  position: absolute;
  inset: 0;
  background-repeat: repeat;
  animation: particulasDiamante 6s linear infinite;
}

.badge-holo-card.diamante-particulas .badge-holo-particles::before {
  background-image:
    radial-gradient(circle, rgba(255,255,255,0.75) 0 1px, transparent 2px),
    radial-gradient(circle, rgba(77,215,210,0.55) 0 1.5px, transparent 2.5px),
    radial-gradient(circle, rgba(210,255,255,0.65) 0 1px, transparent 2px);
  background-size: 90px 90px, 120px 120px, 150px 150px;
  background-position: 0 0, 20px 40px, 60px 10px;
  filter: drop-shadow(0 0 6px rgba(77,215,210,0.35));
}

.badge-holo-card.diamante-particulas .badge-holo-particles::after {
  background-image:
    radial-gradient(circle, rgba(255,255,255,0.45) 0 1px, transparent 2px),
    radial-gradient(circle, rgba(77,215,210,0.35) 0 1px, transparent 2px);
  background-size: 110px 110px, 160px 160px;
  background-position: 10px 20px, 70px 30px;
  animation-duration: 9s;
  opacity: 0.85;
}

@keyframes particulasDiamante {
  0% {
    transform: translateY(0);
    opacity: 0.55;
  }
  50% {
    transform: translateY(-12px);
    opacity: 1;
  }
  100% {
    transform: translateY(-24px);
    opacity: 0.55;
  }
}

/* ===== ANIMAÇÃO DE RANKING ===== */

.ranking-flip-card.subiu {
  animation: subirCard 0.6s ease;
}

.ranking-flip-card.desceu {
  animation: descerCard 0.6s ease;
}

.ranking-flip-card.novo-lider {
  animation: novoLider 1s ease;
}

/* SUBIU */
@keyframes subirCard {
  0% {
    transform: translateY(20px) scale(0.98);
    opacity: 0.6;
  }
  60% {
    transform: translateY(-6px) scale(1.02);
  }
  100% {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}

/* DESCEU */
@keyframes descerCard {
  0% {
    transform: translateY(-20px);
    opacity: 0.6;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

/* NOVO LÍDER */
@keyframes novoLider {
  0% {
    box-shadow: 0 0 0 rgba(255,255,255,0);
  }
  50% {
    box-shadow: 0 0 25px rgba(255,255,255,0.4);
  }
  100% {
    box-shadow: 0 0 0 rgba(255,255,255,0);
  }
}

/* ===== ANIMAÇÃO DE RANKING ===== */

.ranking-flip-card.subiu {
  animation: subirCard 0.6s ease;
}

.ranking-flip-card.desceu {
  animation: descerCard 0.6s ease;
}

.ranking-flip-card.novo-lider {
  animation: novoLider 1s ease;
}

@keyframes subirCard {
  0% {
    transform: translateY(20px) scale(0.98);
    opacity: 0.6;
  }
  60% {
    transform: translateY(-6px) scale(1.02);
  }
  100% {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}

@keyframes descerCard {
  0% {
    transform: translateY(-20px);
    opacity: 0.6;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes novoLider {
  0% {
    box-shadow: 0 0 0 rgba(255,255,255,0);
  }
  50% {
    box-shadow: 0 0 25px rgba(255,255,255,0.4);
  }
  100% {
    box-shadow: 0 0 0 rgba(255,255,255,0);
  }
}

/* ===== ALERTAS DO RANKING ===== */

.ranking-alertas {
  position: fixed;
  top: 22px;
  right: 22px;
  z-index: 999999;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}

.ranking-alerta {
  min-width: 280px;
  max-width: 360px;
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(18, 18, 18, 0.95);
  border: 1px solid rgba(255,255,255,0.12);
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
  box-shadow: 0 12px 24px rgba(0,0,0,0.28);
  transform: translateX(24px);
  opacity: 0;
  transition: transform 0.28s ease, opacity 0.28s ease;
}

.ranking-alerta.ativo {
  transform: translateX(0);
  opacity: 1;
}

.ranking-alerta.saindo {
  transform: translateX(24px);
  opacity: 0;
}

.ranking-alerta-subiu {
  border-color: rgba(120, 210, 255, 0.28);
  box-shadow: 0 12px 24px rgba(0,0,0,0.28), 0 0 18px rgba(120, 210, 255, 0.08);
}

.ranking-alerta-desceu {
  border-color: rgba(255, 190, 120, 0.28);
  box-shadow: 0 12px 24px rgba(0,0,0,0.28), 0 0 18px rgba(255, 190, 120, 0.08);
}

.ranking-alerta-lider {
  border-color: rgba(255, 255, 255, 0.30);
  box-shadow: 0 12px 24px rgba(0,0,0,0.28), 0 0 20px rgba(255, 255, 255, 0.12);
}

@media (max-width: 700px) {
  .ranking-alertas {
    top: 14px;
    right: 14px;
    left: 14px;
  }

  .ranking-alerta {
    min-width: auto;
    max-width: none;
    width: auto;
    font-size: 13px;
  }
}

.box-avisos-home {
  margin-top: 20px;
  padding: 18px;
  border-radius: 14px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
}

.box-avisos-home h3 {
  margin-bottom: 12px;
  font-size: 16px;
  font-weight: 800;
}

.aviso-item-home {
  padding: 10px 12px;
  border-radius: 10px;
  margin-bottom: 8px;
  background: rgba(255,255,255,0.03);
}

.aviso-item-home-texto {
  font-size: 14px;
  font-weight: 600;
}

.aviso-item-home-meta {
  font-size: 11px;
  opacity: 0.6;
  margin-top: 4px;
}

/* ===== VARIAÇÃO DE POSIÇÃO NO RANKING ===== */
.posicao-ranking {
  display: flex;
  align-items: center;
  gap: 6px;
}

.posicao-texto {
  display: inline-flex;
  align-items: center;
}

.variacao {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 26px;
  height: 22px;
  padding: 0 6px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
}

.variacao.subida {
  color: #7dd3fc;
  background: rgba(125, 211, 252, 0.14);
}

.variacao.descida {
  color: #f87171;
  background: rgba(248, 113, 113, 0.14);
}

/* ===== ALERTAS TOAST NO RANKING ===== */
.ranking-alertas {
  position: fixed;
  top: 22px;
  right: 22px;
  z-index: 999999;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}

.ranking-alerta {
  min-width: 280px;
  max-width: 360px;
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(18, 18, 18, 0.95);
  border: 1px solid rgba(255,255,255,0.12);
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
  box-shadow: 0 12px 24px rgba(0,0,0,0.28);
  transform: translateX(24px);
  opacity: 0;
  transition: transform 0.28s ease, opacity 0.28s ease;
}

.ranking-alerta.ativo {
  transform: translateX(0);
  opacity: 1;
}

.ranking-alerta.saindo {
  transform: translateX(24px);
  opacity: 0;
}

.ranking-alerta-subiu {
  border-color: rgba(120, 210, 255, 0.28);
  box-shadow: 0 12px 24px rgba(0,0,0,0.28), 0 0 18px rgba(120, 210, 255, 0.08);
}

.ranking-alerta-desceu {
  border-color: rgba(255, 190, 120, 0.28);
  box-shadow: 0 12px 24px rgba(0,0,0,0.28), 0 0 18px rgba(255, 190, 120, 0.08);
}

.ranking-alerta-lider {
  border-color: rgba(255, 255, 255, 0.30);
  box-shadow: 0 12px 24px rgba(0,0,0,0.28), 0 0 20px rgba(255, 255, 255, 0.12);
}

@media (max-width: 700px) {
  .ranking-alertas {
    top: 14px;
    right: 14px;
    left: 14px;
  }

  .ranking-alerta {
    min-width: auto;
    max-width: none;
    width: auto;
    font-size: 13px;
  }

  .variacao {
    min-width: 24px;
    height: 20px;
    font-size: 11px;
  }
}

/* ===== QUADRO DE AVISOS NA HOME ===== */
.avisos-ranking-home-lista {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.aviso-item-home {
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
}

.aviso-item-home-texto {
  font-size: 14px;
  font-weight: 700;
  color: #f3f3f3;
  line-height: 1.4;
}

.aviso-item-home-meta {
  margin-top: 6px;
  font-size: 11px;
  color: #a9a9a9;
}

/* ===== MOVIMENTAÇÕES DA HOME ===== */
.secao-movimentacoes-home {
  margin-top: 22px;
}

.avisos-ranking-home-lista {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.aviso-item-home {
  padding: 8px 10px;            /* ↓ mais fino */
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.08);
  min-height: 56px;             /* ↓ menor altura */
  display: flex;
  flex-direction: column;
  justify-content: center;      /* centraliza melhor */
  gap: 4px;                     /* ↓ menos espaço interno */
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.03);
}

.aviso-item-home-topo {
  display: flex;
  align-items: center;   /* antes era flex-start */
  gap: 6px;              /* ↓ menor */
}

.aviso-item-home-texto,
.aviso-texto {
  font-size: 13px;
  font-weight: 600;      /* ↓ menos “pesado” visualmente */
  line-height: 1.25;
}

.aviso-item-home-meta {
  margin-top: 2px;       /* ↓ quase zero */
  font-size: 10px;
  opacity: 0.7;
}

.aviso-icone {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
  margin-top: 1px;
}

.icone-subiu {
  color: #6ee7b7;
  background: rgba(110, 231, 183, 0.14);
}

.icone-desceu {
  color: #f87171;
  background: rgba(248, 113, 113, 0.14);
}

.icone-badge-bronze {
  color: #ac653f;
  background: rgba(172, 101, 63, 0.14);
}

.icone-badge-prata {
  color: #d1d5db;
  background: rgba(209, 213, 219, 0.14);
}

.icone-badge-ouro {
  color: #ebac0f;
  background: rgba(235, 172, 15, 0.14);
}

.icone-badge-diamante {
  color: #4dd7d2;
  background: rgba(77, 215, 210, 0.14);
}

.icone-unico {
  color: #7dd3fc;
  background: rgba(125, 211, 252, 0.14);
}

.icone-lider {
  color: #f8fafc;
  background: rgba(255, 255, 255, 0.10);
}

.icone-padrao {
  color: #d4d4d8;
  background: rgba(255, 255, 255, 0.08);
}

.aviso-subiu {
  border-color: rgba(110, 231, 183, 0.20);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.03), 0 0 16px rgba(110, 231, 183, 0.05);
}

.aviso-desceu {
  border-color: rgba(248, 113, 113, 0.20);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.03), 0 0 16px rgba(248, 113, 113, 0.05);
}

.aviso-lider {
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.03), 0 0 16px rgba(255, 255, 255, 0.05);
}

.aviso-unico {
  border-color: rgba(125, 211, 252, 0.35);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.03), 0 0 18px rgba(125, 211, 252, 0.08);
}

.aviso-badge-bronze {
  border-color: rgba(172, 101, 63, 0.34);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.03), 0 0 18px rgba(172, 101, 63, 0.08);
}

.aviso-badge-prata {
  border-color: rgba(213, 213, 213, 0.34);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.03), 0 0 18px rgba(213, 213, 213, 0.08);
}

.aviso-badge-ouro {
  border-color: rgba(235, 172, 15, 0.34);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.03), 0 0 18px rgba(235, 172, 15, 0.08);
}

.aviso-badge-diamante {
  border-color: rgba(77, 215, 210, 0.42);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.03), 0 0 20px rgba(77, 215, 210, 0.10);
}

.aviso-nivel {
  font-weight: 800;
}

.aviso-nivel.nivel-bronze {
  color: #ac653f;
}

.aviso-nivel.nivel-prata {
  color: #d1d5db;
}

.aviso-nivel.nivel-ouro {
  color: #ebac0f;
}

.aviso-nivel.nivel-diamante {
  color: #4dd7d2;
}

.aviso-conquista-unica {
  color: #7dd3fc;
  font-weight: 800;
}

@media (max-width: 900px) {
  .avisos-ranking-home-lista {
    grid-template-columns: 1fr;
  }
}

.ranking-alerta-badge {
  border-color: rgba(250, 204, 21, 0.28);
  box-shadow: 0 12px 24px rgba(0,0,0,0.28), 0 0 18px rgba(250, 204, 21, 0.10);
}

.ranking-alerta-unico {
  border-color: rgba(255, 255, 255, 0.28);
  box-shadow: 0 12px 24px rgba(0,0,0,0.28), 0 0 18px rgba(255, 255, 255, 0.10);
}

/* ===== MANUTENÇÃO / AUDITORIA ===== */
.admin-menu-card-alerta {
  border-color: rgba(255, 170, 170, 0.22);
  box-shadow: 0 0 0 1px rgba(255, 80, 80, 0.04), 0 12px 24px rgba(0,0,0,0.26);
}

.manutencao-grid {
  max-width: 1200px;
  margin: 28px auto 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.manutencao-card {
  background: rgba(16, 16, 16, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 22px;
  padding: 22px;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.34);
}

.manutencao-card h3 {
  margin: 0 0 10px;
  font-size: 24px;
  color: #ffffff;
}

.manutencao-card p {
  margin: 0;
  color: #d8d8d8;
  line-height: 1.55;
}

.manutencao-card-largo {
  max-width: 1200px;
  margin: 24px auto 0;
}

.botao-manutencao {
  margin-top: 18px;
  padding: 14px 18px;
  border: none;
  border-radius: 12px;
  background: linear-gradient(180deg, #f0f0f0, #bdbdbd);
  color: #111;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
}

.botao-manutencao-alerta {
  background: linear-gradient(180deg, #f3d1d1, #d59797);
  color: #1a0f0f;
}

.painel-resumo-manutencao {
  min-height: 120px;
  margin-top: 14px;
  padding: 18px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.10);
}

.auditoria-bloco {
  margin-bottom: 18px;
  padding: 16px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.auditoria-bloco:last-child {
  margin-bottom: 0;
}

.auditoria-bloco h4 {
  margin: 0 0 10px;
  font-size: 18px;
  color: #ffffff;
}

.auditoria-bloco.sucesso {
  border-color: rgba(170, 255, 190, 0.18);
}

.auditoria-bloco.erro {
  border-color: rgba(255, 120, 120, 0.22);
}

.auditoria-lista {
  margin: 0;
  padding-left: 18px;
  color: #d8d8d8;
}

.auditoria-lista li {
  margin-bottom: 6px;
}

.auditoria-ok {
  color: #d4ffd4;
  font-weight: 700;
  margin: 0;
}

@media (max-width: 900px) {
  .manutencao-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== FILTRO DE DATAS - ADMIN RESULTADOS ===== */
.admin-filtro-datas {
  max-width: 1200px;
  margin: 0 auto 22px;
  padding: 18px 20px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.10);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
}

.admin-filtro-datas-topo {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.admin-filtro-datas-topo h3 {
  margin: 0;
  font-size: 20px;
  color: #fff;
}

.admin-filtro-data-atual {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.74);
}

.admin-filtro-datas-scroll {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.admin-filtro-datas-scroll::-webkit-scrollbar {
  height: 8px;
}

.admin-filtro-datas-scroll::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.16);
  border-radius: 999px;
}

.admin-data-chip {
  flex: 0 0 auto;
  min-width: 84px;
  padding: 11px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: linear-gradient(180deg, rgba(255,255,255,0.07), rgba(255,255,255,0.02));
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.admin-data-chip:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.30);
}

.admin-data-chip.ativo {
  border-color: rgba(255, 214, 102, 0.88);
  background: linear-gradient(180deg, rgba(255,214,102,0.24), rgba(255,214,102,0.10));
  box-shadow: 0 0 0 1px rgba(255, 214, 102, 0.12), 0 6px 18px rgba(0,0,0,0.22);
}

.admin-sem-jogos-data {
  width: 100%;
  padding: 28px 22px;
  border-radius: 18px;
  text-align: center;
  color: rgba(255,255,255,0.80);
  background: rgba(255,255,255,0.03);
  border: 1px dashed rgba(255,255,255,0.14);
}

@media (max-width: 768px) {
  .admin-filtro-datas {
    padding: 16px;
  }

  .admin-data-chip {
    min-width: 76px;
    padding: 10px 14px;
    font-size: 13px;
  }
}

/* ===== SETAS DE NAVEGAÇÃO ===== */

.admin-filtro-datas-container {
  display: flex;
  align-items: center;
  gap: 10px;
}

.admin-seta-nav {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.05);
  color: #fff;
  font-size: 18px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.admin-seta-nav:hover {
  transform: scale(1.05);
  border-color: rgba(255,255,255,0.4);
}

.admin-seta-nav.disabled {
  opacity: 0.3;
  cursor: default;
  pointer-events: none;
}

/* ===== MOVIMENTAÇÕES + RADAR HOME ===== */
.movimentacoes-home-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(300px, 0.85fr);
  gap: 22px;
  align-items: start;
}

.movimentacoes-home-coluna,
.radar-home-coluna {
  min-width: 0;
}

.avisos-ranking-home-lista {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.aviso-item-home {
  border-radius: 18px;
  padding: 18px 18px 14px;
  background: rgba(16, 16, 16, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.10);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.26);
}

.aviso-item-home-topo {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
}

.aviso-item-home-meta {
  margin-top: 10px;
  font-size: 13px;
  color: rgba(255,255,255,0.62);
}

.aviso-lider-dourado {
  border-color: rgba(255, 208, 74, 0.75);
  box-shadow:
    0 0 0 1px rgba(255, 208, 74, 0.12),
    0 0 18px rgba(255, 208, 74, 0.18),
    0 8px 22px rgba(0, 0, 0, 0.28);
  animation: liderPulseGlow 1.7s ease-in-out infinite;
}

.aviso-texto-lider {
  color: #fff4c2;
}

.icone-lider {
  filter: drop-shadow(0 0 8px rgba(255, 210, 90, 0.65));
}

@keyframes liderPulseGlow {
  0% {
    box-shadow:
      0 0 0 1px rgba(255, 208, 74, 0.10),
      0 0 10px rgba(255, 208, 74, 0.10),
      0 8px 22px rgba(0, 0, 0, 0.24);
  }
  50% {
    box-shadow:
      0 0 0 1px rgba(255, 208, 74, 0.18),
      0 0 24px rgba(255, 208, 74, 0.28),
      0 8px 22px rgba(0, 0, 0, 0.30);
  }
  100% {
    box-shadow:
      0 0 0 1px rgba(255, 208, 74, 0.10),
      0 0 10px rgba(255, 208, 74, 0.10),
      0 8px 22px rgba(0, 0, 0, 0.24);
  }
}

.radar-home-box {
  border-radius: 20px;
  padding: 18px;
  background: rgba(16, 16, 16, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.10);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.26);
}

.radar-home-topo {
  margin-bottom: 14px;
}

.radar-home-topo h3 {
  margin: 0 0 6px;
  font-size: 24px;
  color: #ffffff;
}

.radar-home-topo span {
  font-size: 13px;
  color: rgba(255,255,255,0.68);
}

.radar-cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.radar-card {
  border-radius: 16px;
  padding: 14px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
}

.radar-card-destaque {
  border-color: rgba(255, 214, 102, 0.32);
  box-shadow: inset 0 0 0 1px rgba(255, 214, 102, 0.06);
}

.radar-card-label {
  font-size: 13px;
  font-weight: 700;
  color: rgba(255,255,255,0.72);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.radar-card-valor {
  font-size: 20px;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.25;
}

.radar-card-meta {
  margin-top: 6px;
  font-size: 14px;
  color: #d3d3d3;
  line-height: 1.4;
}

@media (max-width: 980px) {
  .movimentacoes-home-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== MOVIMENTAÇÕES + RADAR HOME ===== */
.movimentacoes-home-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(300px, 0.85fr);
  gap: 22px;
  align-items: start;
}

.movimentacoes-home-coluna,
.radar-home-coluna {
  min-width: 0;
}

.avisos-ranking-home-lista {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.aviso-item-home {
  border-radius: 18px;
  padding: 18px 18px 14px;
  background: rgba(16, 16, 16, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.10);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.26);
}

.aviso-item-home-topo {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
}

.aviso-item-home-meta {
  margin-top: 10px;
  font-size: 13px;
  color: rgba(255,255,255,0.62);
}

.aviso-lider-dourado {
  border-color: rgba(255, 208, 74, 0.75);
  box-shadow:
    0 0 0 1px rgba(255, 208, 74, 0.12),
    0 0 18px rgba(255, 208, 74, 0.18),
    0 8px 22px rgba(0, 0, 0, 0.28);
  animation: liderPulseGlow 1.7s ease-in-out infinite;
}

.aviso-texto-lider {
  color: #fff4c2;
}

.icone-lider {
  filter: drop-shadow(0 0 8px rgba(255, 210, 90, 0.65));
}

@keyframes liderPulseGlow {
  0% {
    box-shadow:
      0 0 0 1px rgba(255, 208, 74, 0.10),
      0 0 10px rgba(255, 208, 74, 0.10),
      0 8px 22px rgba(0, 0, 0, 0.24);
  }
  50% {
    box-shadow:
      0 0 0 1px rgba(255, 208, 74, 0.18),
      0 0 24px rgba(255, 208, 74, 0.28),
      0 8px 22px rgba(0, 0, 0, 0.30);
  }
  100% {
    box-shadow:
      0 0 0 1px rgba(255, 208, 74, 0.10),
      0 0 10px rgba(255, 208, 74, 0.10),
      0 8px 22px rgba(0, 0, 0, 0.24);
  }
}

.radar-home-box {
  border-radius: 20px;
  padding: 18px;
  background: rgba(16, 16, 16, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.10);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.26);
}

.radar-home-topo {
  margin-bottom: 14px;
}

.radar-home-topo h3 {
  margin: 0 0 6px;
  font-size: 24px;
  color: #ffffff;
}

.radar-home-topo span {
  font-size: 13px;
  color: rgba(255,255,255,0.68);
}

.radar-cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.radar-card {
  border-radius: 16px;
  padding: 14px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
}

.radar-card-destaque {
  border-color: rgba(255, 214, 102, 0.32);
  box-shadow: inset 0 0 0 1px rgba(255, 214, 102, 0.06);
}

.radar-card-label {
  font-size: 13px;
  font-weight: 700;
  color: rgba(255,255,255,0.72);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.radar-card-valor {
  font-size: 20px;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.25;
}

.radar-card-meta {
  margin-top: 6px;
  font-size: 14px;
  color: #d3d3d3;
  line-height: 1.4;
}

@media (max-width: 980px) {
  .movimentacoes-home-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== HOME: DUAS COLUNAS SEPARADAS ===== */
.home-duas-colunas-blocos {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(320px, 0.85fr);
  gap: 22px;
  align-items: start;
}

.home-duas-colunas-blocos > .secao-box {
  margin-top: 26px;
}

.secao-radar-home {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.cabecalho-radar-home {
  margin-bottom: 10px;
}

.radar-home-subtitulo {
  margin-top: -6px;
  margin-bottom: 18px;
  font-size: 13px;
  color: rgba(255,255,255,0.68);
}

/* ===== AVISOS ===== */
.avisos-ranking-home-lista {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.aviso-item-home {
  border-radius: 18px;
  padding: 18px 18px 14px;
  background: rgba(16, 16, 16, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.10);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.26);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.aviso-item-home:hover {
  transform: translateY(-1px);
}

.aviso-item-home-topo {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
}

.aviso-item-home-meta {
  margin-top: 10px;
  font-size: 13px;
  color: rgba(255,255,255,0.62);
}

.aviso-texto {
  color: #f4f4f4;
}

.aviso-conquista-unica {
  color: #67e8f9;
  font-weight: 800;
}

/* liderança */
.aviso-lider-dourado {
  border-color: rgba(255, 208, 74, 0.82);
  background:
    linear-gradient(180deg, rgba(255, 214, 102, 0.09), rgba(255, 214, 102, 0.03)),
    rgba(16, 16, 16, 0.94);
  box-shadow:
    0 0 0 1px rgba(255, 208, 74, 0.12),
    0 0 18px rgba(255, 208, 74, 0.18),
    0 8px 22px rgba(0, 0, 0, 0.28);
  animation: liderPulseGlow 1.7s ease-in-out infinite;
}

.aviso-texto-lider {
  color: #fff4c2;
}

.icone-lider {
  filter: drop-shadow(0 0 8px rgba(255, 210, 90, 0.65));
}

/* bordas por tipo */
.aviso-unico {
  border-color: rgba(103, 232, 249, 0.72);
  box-shadow:
    0 0 0 1px rgba(103, 232, 249, 0.10),
    0 8px 22px rgba(0, 0, 0, 0.24);
}

.aviso-badge-bronze {
  border-color: rgba(205, 127, 50, 0.72);
  box-shadow:
    0 0 0 1px rgba(205, 127, 50, 0.08),
    0 8px 22px rgba(0, 0, 0, 0.24);
}

.aviso-badge-prata {
  border-color: rgba(192, 192, 192, 0.68);
  box-shadow:
    0 0 0 1px rgba(192, 192, 192, 0.08),
    0 8px 22px rgba(0, 0, 0, 0.24);
}

.aviso-badge-ouro {
  border-color: rgba(255, 215, 0, 0.72);
  box-shadow:
    0 0 0 1px rgba(255, 215, 0, 0.08),
    0 8px 22px rgba(0, 0, 0, 0.24);
}

.aviso-badge-diamante {
  border-color: rgba(77, 215, 210, 0.78);
  box-shadow:
    0 0 0 1px rgba(77, 215, 210, 0.10),
    0 0 14px rgba(77, 215, 210, 0.10),
    0 8px 22px rgba(0, 0, 0, 0.24);
}

.aviso-subiu {
  border-color: rgba(76, 175, 80, 0.72);
}

.aviso-desceu {
  border-color: rgba(244, 67, 54, 0.72);
}

/* texto colorido dos níveis */
.aviso-nivel {
  font-weight: 800;
}

.nivel-bronze {
  color: #cd7f32;
}

.nivel-prata {
  color: #d5d5d5;
}

.nivel-ouro {
  color: #ffd54a;
}

.nivel-diamante {
  color: #4dd7d2;
}

@keyframes liderPulseGlow {
  0% {
    box-shadow:
      0 0 0 1px rgba(255, 208, 74, 0.10),
      0 0 10px rgba(255, 208, 74, 0.10),
      0 8px 22px rgba(0, 0, 0, 0.24);
  }
  50% {
    box-shadow:
      0 0 0 1px rgba(255, 208, 74, 0.18),
      0 0 26px rgba(255, 208, 74, 0.30),
      0 8px 22px rgba(0, 0, 0, 0.30);
  }
  100% {
    box-shadow:
      0 0 0 1px rgba(255, 208, 74, 0.10),
      0 0 10px rgba(255, 208, 74, 0.10),
      0 8px 22px rgba(0, 0, 0, 0.24);
  }
}

/* ===== RADAR TECH ===== */
.radar-painel-tech {
  position: relative;
  padding: 8px 0 2px;
  overflow: hidden;
}

.radar-fundo-circulo {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  opacity: 0.12;
  filter: blur(1px);
}

.radar-fundo-circulo-1 {
  width: 260px;
  height: 260px;
  right: -70px;
  top: -50px;
  background:
    radial-gradient(circle, rgba(0,255,170,0.22) 0%, rgba(0,255,170,0.08) 35%, transparent 70%);
  box-shadow: 0 0 40px rgba(0,255,170,0.15);
}

.radar-fundo-circulo-2 {
  width: 180px;
  height: 180px;
  left: -40px;
  bottom: -50px;
  background:
    radial-gradient(circle, rgba(0,190,255,0.18) 0%, rgba(0,190,255,0.06) 35%, transparent 70%);
}

.radar-cards-grid-2col {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.radar-card-tech {
  border-radius: 16px;
  padding: 14px;
  min-height: 104px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.015)),
    rgba(10, 14, 18, 0.92);
  border: 1px solid rgba(84, 255, 205, 0.18);
  box-shadow:
    inset 0 0 0 1px rgba(84, 255, 205, 0.04),
    0 0 14px rgba(84, 255, 205, 0.05);
  backdrop-filter: blur(2px);
}

.radar-card-tech::before {
  content: "";
  display: block;
  width: 38px;
  height: 2px;
  border-radius: 999px;
  background: rgba(84, 255, 205, 0.55);
  margin-bottom: 10px;
  animation: pulseRadarLine 2s infinite ease-in-out;
}

@keyframes pulseRadarLine {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 1; }
} 

.radar-card-lider {
  border-color: rgba(255, 214, 102, 0.34);
  box-shadow:
    inset 0 0 0 1px rgba(255, 214, 102, 0.05),
    0 0 16px rgba(255, 214, 102, 0.07);
}

.radar-card-pressao {
  border-color: rgba(86, 220, 255, 0.28);
}

.radar-card-kicker {
  font-size: 11px;
  font-weight: 800;
  color: rgba(255,255,255,0.78);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 10px;
  line-height: 1.3;
}

.radar-card-nome {
  font-size: 28px;
  font-weight: 900;
  line-height: 1.05;
  color: #ffffff;
  word-break: break-word;
}

.radar-card-dado {
  margin-top: 10px;
  font-size: 14px;
  font-weight: 700;
  color: #bdfcf0;
}

.radar-vazio {
  padding: 18px 0;
  color: rgba(255,255,255,0.70);
}

@media (max-width: 1100px) {
  .home-duas-colunas-blocos {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .radar-cards-grid-2col {
    grid-template-columns: 1fr;
  }

  .radar-card-nome {
    font-size: 22px;
  }
}
/* ===== RADAR SCAN ANIMATION ===== */
.radar-painel-tech {
  position: relative;
  overflow: visible;
  z-index: 2;
}

/* linha de varredura */
.radar-scan {
  display: none;
}


/* ===== AJUSTES DE TAMANHO ===== */
.radar-card-nome {
  font-size: 16px;
  font-weight: 800;
  line-height: 1.15;
}

/* suavizar cor verde geral */
.radar-card-tech {
  border: 1px solid rgba(84, 255, 205, 0.16);
  box-shadow:
    inset 0 0 0 1px rgba(84, 255, 205, 0.035),
    0 0 8px rgba(84, 255, 205, 0.04);
}

/* destaque pressão */
.radar-card-pressao {
  border-color: rgba(86, 220, 255, 0.35);
}

/* ===== RADAR BOX FULL AREA ===== */
.secao-radar-home::before {
  content: "";
  position: absolute;
  inset: -12%;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(0, 255, 170, 0.10) 0%, rgba(0, 255, 170, 0.05) 22%, transparent 52%),
    radial-gradient(circle, transparent 0 28%, rgba(0, 255, 170, 0.10) 28.5%, transparent 29.5%),
    radial-gradient(circle, transparent 0 42%, rgba(0, 255, 170, 0.08) 42.5%, transparent 43.5%),
    radial-gradient(circle, transparent 0 58%, rgba(0, 255, 170, 0.06) 58.5%, transparent 59.5%);
  opacity: 0.45;
  pointer-events: none;
  z-index: 0;
  transform: scale(1.15);
}

.secao-radar-home::after {
  content: "";
  position: absolute;
  inset: -30% -10%;
  background: conic-gradient(
    from 0deg,
    transparent 0deg,
    transparent 300deg,
    rgba(0, 255, 170, 0.04) 320deg,
    rgba(0, 255, 170, 0.22) 342deg,
    rgba(0, 255, 170, 0.08) 352deg,
    transparent 360deg
  );
  border-radius: 50%;
  animation: radarRotateSweep 4s linear infinite;
  transform-origin: center center;
  pointer-events: none;
  z-index: 0;
  filter: blur(1px);
}

@keyframes radarRotateSweep {
  from {
    transform: rotate(0deg) scale(1.12);
  }
  to {
    transform: rotate(360deg) scale(1.12);
  }
}

/* ===== HUD TEXT DO RADAR ===== */
.radar-hud-text {
  position: absolute;
  z-index: 1;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.2px;
  color: rgba(120, 255, 210, 0.20);
  text-transform: uppercase;
  pointer-events: none;
  text-shadow: 0 0 8px rgba(0, 255, 170, 0.08);
}

.radar-hud-1 { top: 18px; left: 18px; }
.radar-hud-2 { top: 26px; right: 26px; }
.radar-hud-3 { top: 110px; left: 42px; }
.radar-hud-4 { bottom: 32px; left: 24px; }
.radar-hud-5 { bottom: 20px; right: 38px; }

.radar-hud-6 {
  top: 58px;
  right: 70px;
  font-size: 18px;
  color: rgba(120, 255, 210, 0.14);
}

.radar-hud-7 {
  bottom: 78px;
  right: 20px;
  font-size: 16px;
  color: rgba(120, 255, 210, 0.14);
}

.radar-hud-8 {
  top: 152px;
  left: 24px;
  font-size: 18px;
  color: rgba(255, 214, 102, 0.18);
}

/* ===== RADAR FUTEBOL TOTAL ===== */
.radar-futebol-total {
  min-height: 320px;
}

.radar-hud-text {
  position: absolute;
  z-index: 1;
  font-weight: 800;
  letter-spacing: 1px;
  color: rgba(120, 255, 210, 0.20);
  text-transform: uppercase;
  pointer-events: none;
  text-shadow: 0 0 8px rgba(0, 255, 170, 0.08);
  line-height: 1;
}

.radar-hud-1  { top: 16px; left: 20px; font-size: 10px; }
.radar-hud-2  { top: 30px; left: 20px; font-size: 14px; color: rgba(120,255,210,0.34); }

.radar-hud-3  { top: 22px; right: 84px; font-size: 10px; }
.radar-hud-4  { top: 38px; right: 84px; font-size: 18px; color: rgba(120,255,210,0.16); }

.radar-hud-5  { top: 72px; right: 28px; font-size: 10px; }
.radar-hud-6  { top: 88px; right: 28px; font-size: 16px; color: rgba(120,255,210,0.14); }

.radar-hud-7  { bottom: 96px; left: 22px; font-size: 10px; }
.radar-hud-8  { bottom: 80px; left: 22px; font-size: 14px; color: rgba(120,255,210,0.26); }

.radar-hud-9  { bottom: 42px; left: 26px; font-size: 10px; }
.radar-hud-10 { bottom: 24px; left: 26px; font-size: 20px; color: rgba(255,214,102,0.18); }

.radar-hud-11 { bottom: 32px; right: 84px; font-size: 10px; }
.radar-hud-12 { bottom: 16px; right: 84px; font-size: 18px; color: rgba(120,255,210,0.16); }

.radar-hud-13 { top: 118px; left: 28px; font-size: 10px; }
.radar-hud-14 { top: 132px; left: 28px; font-size: 18px; color: rgba(120,255,210,0.14); }

.radar-hud-15 { top: 150px; right: 26px; font-size: 10px; }
.radar-hud-16 { top: 164px; right: 26px; font-size: 18px; color: rgba(120,255,210,0.14); }

.radar-card-nome {
  font-size: 16px;
  font-weight: 800;
  line-height: 1.15;
}

.radar-card-dado {
  margin-top: 10px;
  font-size: 14px;
  font-weight: 700;
  color: #bdfcf0;
}

.radar-card-largo {
  grid-column: 1 / -1;
}

.radar-cards-grid-2col {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

@media (max-width: 700px) {
  .radar-cards-grid-2col {
    grid-template-columns: 1fr;
  }

  .radar-card-largo {
    grid-column: auto;
  }

  .radar-futebol-total {
    min-height: 280px;
  }

  .radar-hud-text {
    opacity: 0.7;
  }

  .radar-card-nome {
    font-size: 15px;
  }
}

/* ===== RADAR FINAL HUD ===== */
.radar-card-tech {
  border-radius: 16px;
  padding: 14px;
  min-height: 104px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01)),
    rgba(10, 14, 18, 0.10);
  border: 1px solid rgba(84, 255, 205, 0.18);
  box-shadow:
    inset 0 0 0 1px rgba(84, 255, 205, 0.04),
    0 0 10px rgba(84, 255, 205, 0.05);
  backdrop-filter: blur(2px);
}

.radar-card-largo {
  grid-column: 1 / -1;
}

.radar-card-nome {
  font-size: 16px;
  font-weight: 800;
  line-height: 1.15;
}

.radar-card-dado {
  margin-top: 10px;
  font-size: 14px;
  font-weight: 700;
  color: #bdfcf0;
}

.radar-hud-text,
.radar-hud-palavra {
  position: absolute;
  z-index: 1;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  pointer-events: none;
  text-shadow: 0 0 8px rgba(0, 255, 170, 0.08);
  line-height: 1;
}

/* números e infos */
.radar-hud-text {
  color: rgba(120, 255, 210, 0.20);
}

/* palavras decorativas */
.radar-hud-palavra {
  color: rgba(120, 255, 210, 0.11);
  font-size: 10px;
}

/* posições HUD principal */
.radar-hud-1  { top: 16px; left: 20px; font-size: 10px; }
.radar-hud-2  { top: 30px; left: 20px; font-size: 14px; color: rgba(120,255,210,0.34); }

.radar-hud-3  { top: 22px; right: 84px; font-size: 10px; }
.radar-hud-4  { top: 38px; right: 84px; font-size: 18px; color: rgba(120,255,210,0.16); }

.radar-hud-5  { top: 72px; right: 28px; font-size: 10px; }
.radar-hud-6  { top: 88px; right: 28px; font-size: 16px; color: rgba(120,255,210,0.14); }

.radar-hud-7  { bottom: 96px; left: 22px; font-size: 10px; }
.radar-hud-8  { bottom: 80px; left: 22px; font-size: 14px; color: rgba(120,255,210,0.26); }

.radar-hud-9  { bottom: 42px; left: 26px; font-size: 10px; }
.radar-hud-10 { bottom: 24px; left: 26px; font-size: 20px; color: rgba(255,214,102,0.18); }

.radar-hud-11 { bottom: 32px; right: 84px; font-size: 10px; }
.radar-hud-12 { bottom: 16px; right: 84px; font-size: 18px; color: rgba(120,255,210,0.16); }

.radar-hud-13 { top: 118px; left: 28px; font-size: 10px; }
.radar-hud-14 { top: 132px; left: 28px; font-size: 18px; color: rgba(120,255,210,0.14); }

.radar-hud-15 { top: 150px; right: 26px; font-size: 10px; }
.radar-hud-16 { top: 164px; right: 26px; font-size: 18px; color: rgba(120,255,210,0.14); }

/* palavras flutuantes futebol */
.radar-palavra-1 { top: 58px; left: 120px; }
.radar-palavra-2 { top: 112px; left: 140px; }
.radar-palavra-3 { top: 182px; left: 38px; }
.radar-palavra-4 { top: 64px; right: 138px; }
.radar-palavra-5 { top: 198px; right: 42px; }
.radar-palavra-6 { bottom: 118px; right: 130px; }
.radar-palavra-7 { bottom: 64px; left: 138px; }
.radar-palavra-8 { bottom: 44px; right: 26px; }

/* efeito aparecer / sumir */
.radar-pulse-a {
  animation: radarFadeA 4.8s ease-in-out infinite;
}

.radar-pulse-b {
  animation: radarFadeB 5.6s ease-in-out infinite;
}

.radar-pulse-c {
  animation: radarFadeC 6.4s ease-in-out infinite;
}

@keyframes radarFadeA {
  0%   { opacity: 0.18; }
  25%  { opacity: 0.42; }
  50%  { opacity: 0.12; }
  75%  { opacity: 0.36; }
  100% { opacity: 0.18; }
}

@keyframes radarFadeB {
  0%   { opacity: 0.10; }
  20%  { opacity: 0.34; }
  45%  { opacity: 0.14; }
  70%  { opacity: 0.40; }
  100% { opacity: 0.10; }
}

@keyframes radarFadeC {
  0%   { opacity: 0.14; }
  30%  { opacity: 0.38; }
  55%  { opacity: 0.10; }
  80%  { opacity: 0.32; }
  100% { opacity: 0.14; }
}

@media (max-width: 700px) {
  .radar-hud-palavra {
    display: none;
  }

  .radar-card-largo {
    grid-column: auto;
  }
}

/* ===== RADAR CORES POR BLOCO ===== */

/* 🎯 Placares Exatos */
.radar-card-exatos {
  border-color: rgba(0, 255, 170, 0.7);
  box-shadow:
    inset 0 0 0 1px rgba(0, 255, 170, 0.05),
    0 0 12px rgba(0, 255, 170, 0.08);
}

/* ⭐ MOTM */
.radar-card-motm {
  border-color: rgba(255, 214, 102, 0.75);
  box-shadow:
    inset 0 0 0 1px rgba(255, 214, 102, 0.05),
    0 0 12px rgba(255, 214, 102, 0.08);
}

/* 🔥 Pressão */
.radar-card-pressao {
  border-color: rgba(255, 120, 80, 0.75);
  box-shadow:
    inset 0 0 0 1px rgba(255, 120, 80, 0.05),
    0 0 12px rgba(255, 120, 80, 0.08);
}

/* 📊 Progresso */
.radar-card-progresso {
  border-color: rgba(86, 220, 255, 0.75);
  box-shadow:
    inset 0 0 0 1px rgba(86, 220, 255, 0.05),
    0 0 12px rgba(86, 220, 255, 0.08);
}

/* 🕷️ Traiçoeiro */
.radar-card-traicoeiro {
  border-color: rgba(255, 90, 90, 0.75);
  box-shadow:
    inset 0 0 0 1px rgba(255, 90, 90, 0.05),
    0 0 12px rgba(255, 90, 90, 0.08);
}

/* ✅ Previsível */
.radar-card-previsivel {
  border-color: rgba(140, 255, 120, 0.75);
  box-shadow:
    inset 0 0 0 1px rgba(140, 255, 120, 0.05),
    0 0 12px rgba(140, 255, 120, 0.08);
}

/* ⚡ Pontos Rodada */
.radar-card-rodada {
  border-color: rgba(180, 120, 255, 0.75);
  box-shadow:
    inset 0 0 0 1px rgba(180, 120, 255, 0.05),
    0 0 12px rgba(180, 120, 255, 0.08);
}

/* 👀 Caça ao Líder */
.radar-card-caca {
  border-color: rgba(0, 220, 255, 0.75);
  box-shadow:
    inset 0 0 0 1px rgba(0, 220, 255, 0.05),
    0 0 12px rgba(0, 220, 255, 0.08);
}

/* ===== RADAR FINAL VISUAL ===== */

.radar-card-tech {
  border-radius: 16px;
  padding: 14px;
  min-height: 90px;

  background:
    linear-gradient(180deg, rgba(255,255,255,0.012), rgba(255,255,255,0.004)),
    rgba(10, 14, 18, 0.46);

  border: 1px solid rgba(84, 255, 205, 0.16);

  box-shadow:
    inset 0 0 0 1px rgba(84, 255, 205, 0.035),
    0 0 8px rgba(84, 255, 205, 0.04);

  backdrop-filter: blur(2px);
}

/* ===== LINHA SUPERIOR COLORIDA ===== */
.radar-card-tech::before {
  content: "";
  display: block;
  width: 38px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  margin-bottom: 10px;
  opacity: 0.7;
  box-shadow: 0 0 6px currentColor;
}

/* ===== TEXTOS (mantém branco para legibilidade) ===== */
.radar-card-nome,
.radar-card-dado {
  color: #ffffff;
}

/* ===== CORES POR BLOCO ===== */

/* 🎯 Placares Exatos */
.radar-card-exatos {
  color: rgba(0, 255, 170, 0.9);
  border-color: rgba(0, 255, 170, 0.7);
  box-shadow:
    inset 0 0 0 1px rgba(0, 255, 170, 0.05),
    0 0 12px rgba(0, 255, 170, 0.08);
}

/* ⭐ MOTM */
.radar-card-motm {
  color: rgba(255, 214, 102, 0.9);
  border-color: rgba(255, 214, 102, 0.75);
  box-shadow:
    inset 0 0 0 1px rgba(255, 214, 102, 0.05),
    0 0 12px rgba(255, 214, 102, 0.08);
}

/* 🔥 Pressão */
.radar-card-pressao {
  color: rgba(255, 120, 80, 0.9);
  border-color: rgba(255, 120, 80, 0.75);
  box-shadow:
    inset 0 0 0 1px rgba(255, 120, 80, 0.05),
    0 0 12px rgba(255, 120, 80, 0.08);
}

/* 📊 Progresso */
.radar-card-progresso {
  color: rgba(86, 220, 255, 0.9);
  border-color: rgba(86, 220, 255, 0.75);
  box-shadow:
    inset 0 0 0 1px rgba(86, 220, 255, 0.05),
    0 0 12px rgba(86, 220, 255, 0.08);
}

/* 🕷️ Traiçoeiro */
.radar-card-traicoeiro {
  color: rgba(255, 90, 90, 0.9);
  border-color: rgba(255, 90, 90, 0.75);
  box-shadow:
    inset 0 0 0 1px rgba(255, 90, 90, 0.05),
    0 0 12px rgba(255, 90, 90, 0.08);
}

/* ✅ Previsível */
.radar-card-previsivel {
  color: rgba(140, 255, 120, 0.9);
  border-color: rgba(140, 255, 120, 0.75);
  box-shadow:
    inset 0 0 0 1px rgba(140, 255, 120, 0.05),
    0 0 12px rgba(140, 255, 120, 0.08);
}

/* ⚡ Rodada */
.radar-card-rodada {
  color: rgba(180, 120, 255, 0.9);
  border-color: rgba(180, 120, 255, 0.75);
  box-shadow:
    inset 0 0 0 1px rgba(180, 120, 255, 0.05),
    0 0 12px rgba(180, 120, 255, 0.08);
}

/* 👀 Caça ao líder */
.radar-card-caca {
  color: rgba(0, 220, 255, 0.9);
  border-color: rgba(0, 220, 255, 0.75);
  box-shadow:
    inset 0 0 0 1px rgba(0, 220, 255, 0.05),
    0 0 12px rgba(0, 220, 255, 0.08);
}
/* ===== PÊNALTIS - ADMIN RESULTADOS ===== */
.penaltis-area {
  margin: 12px 0 18px;
  padding: 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.10);
}

.penaltis-check-linha {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  color: #f0f0f0;
  margin-bottom: 12px;
  cursor: pointer;
}

.penaltis-check-linha input[type="checkbox"] {
  transform: scale(1.1);
  cursor: pointer;
}

.penaltis-vencedor-box label {
  display: block;
  margin-bottom: 8px;
  font-weight: 700;
  color: #f0f0f0;
}

.penaltis-vencedor-box select {
  width: 100%;
  padding: 12px;
  border: none;
  border-radius: 10px;
  font-size: 16px;
}
/* ===== PALPITES POR FASE / ACCORDION ===== */
.palpites-fases-accordion {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.palpites-fase-bloco {
  padding: 0;
  overflow: hidden;
}

.palpites-fase-summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 20px;
}

.palpites-fase-summary::-webkit-details-marker {
  display: none;
}

.palpites-fase-summary-esquerda {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.palpites-fase-titulo {
  font-size: 22px;
  font-weight: 800;
  color: #ffffff;
}

.palpites-fase-subtitulo {
  font-size: 14px;
  color: #d2d2d2;
}

.palpites-fase-summary-direita {
  display: flex;
  align-items: center;
  gap: 12px;
}

.palpites-fase-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 96px;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
}

.palpites-fase-status.aberta {
  background: rgba(120, 255, 170, 0.12);
  border: 1px solid rgba(120, 255, 170, 0.32);
  color: #9effbe;
}

.palpites-fase-status.fechada {
  background: rgba(255, 120, 120, 0.12);
  border: 1px solid rgba(255, 120, 120, 0.28);
  color: #ffb0b0;
}

.palpites-fase-icone {
  font-size: 20px;
  font-weight: 900;
  color: #ffffff;
  transition: transform 0.2s ease;
}

.palpites-fase-bloco[open] .palpites-fase-icone {
  transform: rotate(45deg);
}

.palpites-fase-conteudo {
  padding: 0 20px 20px;
}

.palpite-pendente {
  margin-top: 12px;
  color: #ffd783;
  font-weight: 700;
}

/* ===== PAINEL DE PENDÊNCIAS ===== */
.painel-pendencias-wrap {
  margin-top: 28px;
}

.painel-pendencias-box {
  background: rgba(16, 16, 16, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 20px;
  padding: 22px;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.28);
}

.painel-pendencias-box h3 {
  margin: 0 0 18px;
  font-size: 24px;
  color: #ffffff;
}

.painel-pendencias-resumo {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 20px;
}

.painel-pendencias-badge {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 16px;
  padding: 16px;
  text-align: center;
}

.painel-pendencias-badge strong {
  display: block;
  font-size: 28px;
  color: #ffffff;
  margin-bottom: 6px;
}

.painel-pendencias-badge span {
  font-size: 14px;
  color: #d8d8d8;
}

.painel-pendencias-lista-bloco {
  margin-top: 18px;
}

.painel-pendencias-lista-bloco h4 {
  margin: 0 0 10px;
  font-size: 18px;
  color: #ffffff;
}

.painel-pendencias-lista {
  margin: 0;
  padding-left: 20px;
  color: #e2e2e2;
}

.painel-pendencias-lista li {
  margin-bottom: 8px;
}

.painel-pendencias-lista a {
  color: #eaeaea;
  text-decoration: none;
}

.painel-pendencias-lista a:hover {
  text-decoration: underline;
}

.painel-pendencias-ok {
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(120, 255, 170, 0.08);
  border: 1px solid rgba(120, 255, 170, 0.20);
  color: #cfffdb;
  font-weight: 700;
}

@media (max-width: 768px) {
  .palpites-fase-summary {
    flex-direction: column;
    align-items: flex-start;
  }

  .painel-pendencias-resumo {
    grid-template-columns: 1fr;
  }
}

.radar-overlay-dynamic {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.radar-overlay-dynamic span {
  position: absolute;
  font-size: 11px;
  color: rgba(80, 255, 200, 0.18);
  font-weight: 700;
  letter-spacing: 1px;
  animation: radarTextPulse 4s ease-in-out infinite;
}

@keyframes radarTextPulse {
  0% {
    opacity: 0;
    transform: scale(0.6);
  }
  50% {
    opacity: 0.7;
    transform: scale(1);
  }
  100% {
    opacity: 0;
    transform: scale(0.6);
  }
}

@keyframes radarTextPulse {
  0% {
    opacity: 0;
    transform: scale(0.6);
  }
  50% {
    opacity: 0.7;
    transform: scale(1);
  }
  100% {
    opacity: 0;
    transform: scale(0.6);
  }
}

.lista-disparo-whatsapp {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 16px;
}

.disparo-item {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 14px;
}

.disparo-texto {
  font-size: 14px;
  margin-bottom: 10px;
  color: #fff;
}

.disparo-acoes {
  display: flex;
  gap: 8px;
}

.btn-disparo {
  background: #111;
  border: 1px solid #333;
  padding: 6px 10px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 13px;
}

.btn-disparo:hover {
  background: #222;
}

/* ===== CENTRAL WHATSAPP PREMIUM ===== */
.secao-disparo-whatsapp {
  margin-top: 28px;
}

.cabecalho-disparo-whatsapp {
  align-items: center;
}

.subtitulo-disparo-whatsapp {
  margin: 6px 0 0;
  color: rgba(255,255,255,0.72);
  font-size: 14px;
}

.disparo-pill-status {
  min-width: 110px;
  padding: 12px 14px;
  border-radius: 16px;
  text-align: center;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.015)),
    rgba(12, 12, 12, 0.92);
  border: 1px solid rgba(255,255,255,0.10);
  box-shadow: 0 8px 20px rgba(0,0,0,0.22);
}

.disparo-pill-status span {
  display: block;
  font-size: 24px;
  font-weight: 900;
  color: #ffffff;
  line-height: 1;
}

.disparo-pill-status small {
  display: block;
  margin-top: 4px;
  color: rgba(255,255,255,0.68);
  font-size: 12px;
  letter-spacing: 0.4px;
}

.lista-disparo-whatsapp {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-top: 18px;
}

.disparo-item {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  padding: 16px 16px 14px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.035), rgba(255,255,255,0.01)),
    rgba(12, 12, 12, 0.94);
  border: 1px solid rgba(255,255,255,0.10);
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,0.02),
    0 10px 24px rgba(0,0,0,0.28);
}

.disparo-item::before {
  content: "";
  position: absolute;
  left: 16px;
  top: 0;
  width: 54px;
  height: 2px;
  border-radius: 999px;
  background: rgba(37, 211, 102, 0.85);
  box-shadow: 0 0 10px rgba(37, 211, 102, 0.35);
}

.disparo-topo {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.disparo-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.disparo-tag-lider {
  background: rgba(255, 214, 102, 0.10);
  border: 1px solid rgba(255, 214, 102, 0.26);
  color: #ffe49a;
}

.disparo-tag-subiu {
  background: rgba(120, 255, 170, 0.10);
  border: 1px solid rgba(120, 255, 170, 0.24);
  color: #bfffd4;
}

.disparo-tag-desceu {
  background: rgba(255, 120, 120, 0.10);
  border: 1px solid rgba(255, 120, 120, 0.24);
  color: #ffb9b9;
}

.disparo-tag-badge {
  background: rgba(140, 200, 255, 0.10);
  border: 1px solid rgba(140, 200, 255, 0.22);
  color: #cfe6ff;
}

.disparo-tag-unico {
  background: rgba(200, 160, 255, 0.10);
  border: 1px solid rgba(200, 160, 255, 0.22);
  color: #ead7ff;
}

.disparo-meta {
  color: rgba(255,255,255,0.56);
  font-size: 12px;
}

.disparo-texto {
  font-size: 15px;
  line-height: 1.55;
  color: #f5f5f5;
  white-space: pre-line;
  margin-bottom: 14px;
}

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

.btn-disparo {
  appearance: none;
  border: none;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 12px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 800;
  transition:
    transform 0.18s ease,
    filter 0.18s ease,
    box-shadow 0.18s ease,
    border-color 0.18s ease;
}

.btn-disparo:hover {
  transform: translateY(-1px);
}

.btn-disparo-whatsapp {
  background: linear-gradient(180deg, rgba(37,211,102,0.22), rgba(37,211,102,0.12));
  color: #dcffe8;
  border: 1px solid rgba(37,211,102,0.28);
  box-shadow: 0 8px 18px rgba(37,211,102,0.10);
}

.btn-disparo-whatsapp:hover {
  filter: brightness(1.06);
}

.btn-disparo-copiar {
  background: linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.03));
  color: #f2f2f2;
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 8px 18px rgba(0,0,0,0.18);
}

.btn-disparo-vazio {
  padding: 18px;
  border-radius: 16px;
  background: rgba(255,255,255,0.03);
  border: 1px dashed rgba(255,255,255,0.14);
  color: rgba(255,255,255,0.72);
  text-align: center;
}

@media (max-width: 720px) {
  .cabecalho-disparo-whatsapp {
    flex-direction: column;
    align-items: flex-start;
  }

  .disparo-pill-status {
    width: 100%;
  }

  .disparo-acoes {
    width: 100%;
  }

  .btn-disparo {
    flex: 1 1 180px;
  }
}
.disparo-status-enviado {
  display: inline-flex;
  align-items: center;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  color: #b7ffd3;
  background: rgba(37, 211, 102, 0.12);
  border: 1px solid rgba(37, 211, 102, 0.25);
}

.btn-disparo-marcar {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  color: #ddd;
}

.btn-disparo-marcar:hover {
  background: rgba(255,255,255,0.1);
}

.disparo-item.enviado {
  opacity: 0.65;
  filter: grayscale(0.3);
}

/* ===== PACOTE 1 - FEEDBACK AO SALVAR ===== */
.botao-palpite.salvo {
  background: linear-gradient(135deg, #00ffae, #00c98d);
  color: #000;
  box-shadow: 0 0 12px rgba(0, 255, 174, 0.6);
  transform: scale(1.03);
  transition: all 0.25s ease;
}

.jogo-card.salvo {
  box-shadow: 0 0 20px rgba(0, 255, 174, 0.4);
  border: 1px solid rgba(0, 255, 174, 0.6);
  transition: all 0.3s ease;
}

/* ===== PACOTE 1 - AVISOS ENTRANDO ===== */
@keyframes entrarAviso {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.aviso-item-home {
  animation: entrarAviso 0.4s ease;
}

/* ===== PACOTE 1 - WHATSAPP ENVIADO ===== */
.disparo-item.enviado {
  opacity: 0.6;
  filter: grayscale(0.4);
  transition: all 0.4s ease;
}

.disparo-status-enviado {
  display: inline-flex;
  align-items: center;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  color: #b7ffd3;
  background: rgba(37, 211, 102, 0.12);
  border: 1px solid rgba(37, 211, 102, 0.25);
  animation: pulseEnvio 1.5s infinite;
}

.btn-disparo-marcar {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  color: #ddd;
}

.btn-disparo-marcar:hover {
  background: rgba(255,255,255,0.1);
}

@keyframes pulseEnvio {
  0% { opacity: 1; }
  50% { opacity: 0.5; }
  100% { opacity: 1; }
}

/* ===== PACOTE 1 - SKELETON BASE ===== */
.skeleton {
  background: linear-gradient(
    90deg,
    rgba(255,255,255,0.05) 25%,
    rgba(255,255,255,0.12) 50%,
    rgba(255,255,255,0.05) 75%
  );
  background-size: 200% 100%;
  animation: shimmer 1.2s infinite;
  border-radius: 10px;
}

@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.grupo-classificados-card.salvo {
  box-shadow: 0 0 20px rgba(0, 255, 174, 0.4);
  border: 1px solid rgba(0, 255, 174, 0.6);
  transition: all 0.3s ease;
}

/* ===== MICRO INTERAÇÕES - PAINEL PALPITES ===== */
.painel-pendencias-animado {
  animation: entrarPainelPendencias 0.35s ease;
}

@keyframes entrarPainelPendencias {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.painel-pendencias-item {
  transition: transform 0.18s ease, opacity 0.18s ease;
}

.painel-pendencias-item:hover {
  transform: translateX(4px);
}

.painel-pendencias-badge {
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.painel-pendencias-badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(0,0,0,0.18);
  border-color: rgba(255,255,255,0.18);
}

/* ===== MICRO INTERAÇÕES - HOME ===== */
.home-bloco-animado {
  animation: entrarBlocoHome 0.38s ease;
}

@keyframes entrarBlocoHome {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.99);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.ranking-mini-card,
.home-jogo-card {
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.ranking-mini-card:hover,
.home-jogo-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.20);
}

.avisos-ranking-home-lista .aviso-item-home {
  animation: entrarAviso 0.4s ease;
}
/* ===== MICRO INTERAÇÕES - RANKING ===== */
.ranking-podio-card,
.ranking-flip-card {
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.ranking-podio-card:hover,
.ranking-flip-card:hover {
  transform: translateY(-2px);
}

.ranking-acoes-frente .ranking-acao-btn,
.ranking-voltar-btn {
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.ranking-acoes-frente .ranking-acao-btn:hover,
.ranking-voltar-btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.04);
}

.ranking-badges-grid .badge-card,
.ranking-badges-unicos-lista .badge-unico {
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.ranking-badges-grid .badge-card:hover,
.ranking-badges-unicos-lista .badge-unico:hover {
  transform: translateY(-2px);
}

.ranking-alerta {
  animation: entrarAviso 0.35s ease;
}

/* ===== PACOTE 2 - NÚMEROS / FLASH ===== */
.valor-atualizado {
  animation: flashValorAtualizado 0.75s ease;
}

@keyframes flashValorAtualizado {
  0% {
    box-shadow: 0 0 0 rgba(0,255,174,0);
    transform: scale(1);
  }
  35% {
    box-shadow: 0 0 18px rgba(0,255,174,0.35);
    transform: scale(1.02);
  }
  100% {
    box-shadow: 0 0 0 rgba(0,255,174,0);
    transform: scale(1);
  }
}

/* ===== PACOTE 2.2 - RADAR MAIS VIVO ===== */
.radar-card-tech {
  position: relative;
  overflow: hidden;
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    border-color 0.22s ease,
    filter 0.22s ease;
}

.radar-card-tech:hover {
  transform: translateY(-3px);
  filter: brightness(1.03);
}

.radar-card-tech::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(
    circle at 50% 50%,
    rgba(84, 255, 205, 0.08),
    transparent 60%
  );
  opacity: 0;
  transition: opacity 0.25s ease;
}

.radar-card-tech:hover::after {
  opacity: 1;
}

.radar-card-dado {
  transition: transform 0.2s ease, text-shadow 0.2s ease;
}

.radar-card-tech.valor-atualizado .radar-card-dado {
  text-shadow: 0 0 12px rgba(84, 255, 205, 0.45);
}

/* ===== PACOTE 2.2 - FLASH MAIS PREMIUM ===== */
.valor-atualizado {
  animation: flashValorAtualizadoPremium 0.9s ease;
}

@keyframes flashValorAtualizadoPremium {
  0% {
    box-shadow: 0 0 0 rgba(0,255,174,0);
    transform: scale(1);
  }
  25% {
    box-shadow:
      0 0 14px rgba(0,255,174,0.18),
      0 0 24px rgba(0,255,174,0.12);
    transform: scale(1.018);
  }
  55% {
    box-shadow:
      0 0 20px rgba(0,255,174,0.24),
      0 0 34px rgba(0,255,174,0.10);
    transform: scale(1.025);
  }
  100% {
    box-shadow: 0 0 0 rgba(0,255,174,0);
    transform: scale(1);
  }
}

/* ===== PACOTE 2.2 - PÓDIO MAIS PREMIUM ===== */
.ranking-podio-card {
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    filter 0.22s ease;
}

.ranking-podio-card:hover {
  transform: translateY(-4px);
  filter: brightness(1.03);
}

.ranking-podio-card.primeiro:hover {
  box-shadow:
    0 14px 30px rgba(0,0,0,0.26),
    0 0 24px rgba(255, 214, 102, 0.16);
}

.ranking-podio-card.segundo:hover {
  box-shadow:
    0 14px 30px rgba(0,0,0,0.26),
    0 0 22px rgba(200, 210, 230, 0.14);
}

.ranking-podio-card.terceiro:hover {
  box-shadow:
    0 14px 30px rgba(0,0,0,0.26),
    0 0 22px rgba(201, 140, 94, 0.15);
}

/* ===== PACOTE 2.2 - NOVO LÍDER MAIS CHAMATIVO ===== */
.ranking-podio-card.novo-lider {
  animation: pulsoNovoLider 1.6s ease-in-out 2;
}

@keyframes pulsoNovoLider {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 rgba(255, 214, 102, 0);
  }
  35% {
    transform: scale(1.018);
    box-shadow:
      0 0 18px rgba(255, 214, 102, 0.22),
      0 0 32px rgba(255, 214, 102, 0.12);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 rgba(255, 214, 102, 0);
  }
}

/* ===== PACOTE 2.2 - CARDS DO RANKING MAIS VIVOS ===== */
.ranking-flip-card .ranking-flip-face {
  transition:
    box-shadow 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease;
}

.ranking-flip-card:hover .ranking-flip-face {
  box-shadow: 0 14px 28px rgba(0,0,0,0.22);
}

.ranking-card-pontos {
  position: relative;
  overflow: hidden;
}

.ranking-card-pontos::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    transparent 0%,
    rgba(255,255,255,0.10) 45%,
    transparent 100%
  );
  transform: translateX(-130%);
  transition: transform 0.5s ease;
}

.ranking-flip-card:hover .ranking-card-pontos::after,
.ranking-podio-card:hover .ranking-card-pontos::after {
  transform: translateX(130%);
}

/* ===== PACOTE 2.2 - BADGES MAIS RESPONSIVOS ===== */
.badge-card,
.badge-unico {
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    filter 0.18s ease;
}

.badge-card:hover,
.badge-unico:hover {
  transform: translateY(-3px) scale(1.01);
  filter: brightness(1.04);
}

.badge-card.badge-diamante:hover {
  box-shadow:
    0 0 16px rgba(77, 215, 210, 0.18),
    0 0 28px rgba(77, 215, 210, 0.10);
}

/* ===== PACOTE 2.2 - ALERTAS MAIS FLUIDOS ===== */
.ranking-alerta {
  backdrop-filter: blur(8px);
  transition:
    transform 0.25s ease,
    opacity 0.25s ease,
    box-shadow 0.25s ease;
}

.ranking-alerta.ativo {
  box-shadow: 0 12px 24px rgba(0,0,0,0.24);
}

/* ===== PACOTE 2.2 - HOME BOXES MAIS VIVOS ===== */
.home-jogo-card,
.ranking-mini-card,
.painel-pendencias-badge {
  will-change: transform;
}

.home-jogo-card:hover,
.ranking-mini-card:hover,
.painel-pendencias-badge:hover {
  transform: translateY(-3px);
}
/* ===== PACOTE 2.3 - VARIAÇÕES DE IMPACTO ===== */
.ranking-podio-card.subiu,
.ranking-flip-card.subiu {
  animation: entradaSubida 0.7s ease;
}

.ranking-podio-card.desceu,
.ranking-flip-card.desceu {
  animation: entradaDescida 0.7s ease;
}

@keyframes entradaSubida {
  0% {
    transform: translateY(14px) scale(0.985);
    opacity: 0.72;
  }
  45% {
    transform: translateY(-4px) scale(1.015);
    opacity: 1;
  }
  100% {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}

@keyframes entradaDescida {
  0% {
    transform: translateY(-10px) scale(0.99);
    opacity: 0.78;
  }
  45% {
    transform: translateY(3px) scale(1.008);
    opacity: 1;
  }
  100% {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}

/* ===== PACOTE 2.3 - NOVO LÍDER CINEMÁTICO ===== */
.ranking-podio-card.novo-lider {
  position: relative;
  overflow: hidden;
}

.ranking-podio-card.novo-lider::after {
  content: "";
  position: absolute;
  inset: -30%;
  background:
    conic-gradient(
      from 180deg,
      transparent 0deg,
      rgba(255, 219, 120, 0.18) 40deg,
      transparent 95deg,
      transparent 360deg
    );
  animation: giroNovoLider 2.2s linear 1;
  pointer-events: none;
}

@keyframes giroNovoLider {
  from {
    transform: rotate(0deg);
    opacity: 0.2;
  }
  30% {
    opacity: 0.85;
  }
  to {
    transform: rotate(360deg);
    opacity: 0;
  }
}

/* ===== PACOTE 2.3 - PONTOS MAIS NOBRES ===== */
.ranking-card-pontos.valor-atualizado {
  animation: pulsoPontosRanking 0.85s ease;
}

@keyframes pulsoPontosRanking {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 rgba(255,255,255,0);
  }
  35% {
    transform: scale(1.06);
    box-shadow: 0 0 18px rgba(255,255,255,0.12);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 rgba(255,255,255,0);
  }
}

/* ===== PACOTE 2.3 - RADAR POR PERSONALIDADE ===== */
.radar-card-exatos.valor-atualizado,
.radar-card-motm.valor-atualizado,
.radar-card-caca.valor-atualizado {
  animation: flashRadarVerde 0.9s ease;
}

.radar-card-pressao.valor-atualizado {
  animation: flashRadarAmbar 0.95s ease;
}

.radar-card-rodada.valor-atualizado,
.radar-card-progresso.valor-atualizado {
  animation: flashRadarAzul 0.95s ease;
}

.radar-card-traicoeiro.valor-atualizado,
.radar-card-previsivel.valor-atualizado {
  animation: flashRadarRoxo 0.95s ease;
}

@keyframes flashRadarVerde {
  0% {
    box-shadow: 0 0 0 rgba(84,255,205,0);
    transform: scale(1);
  }
  45% {
    box-shadow:
      0 0 16px rgba(84,255,205,0.18),
      0 0 30px rgba(84,255,205,0.10);
    transform: scale(1.018);
  }
  100% {
    box-shadow: 0 0 0 rgba(84,255,205,0);
    transform: scale(1);
  }
}

@keyframes flashRadarAmbar {
  0% {
    box-shadow: 0 0 0 rgba(255,208,92,0);
    transform: scale(1);
  }
  45% {
    box-shadow:
      0 0 16px rgba(255,208,92,0.18),
      0 0 30px rgba(255,208,92,0.10);
    transform: scale(1.02);
  }
  100% {
    box-shadow: 0 0 0 rgba(255,208,92,0);
    transform: scale(1);
  }
}

@keyframes flashRadarAzul {
  0% {
    box-shadow: 0 0 0 rgba(100,170,255,0);
    transform: scale(1);
  }
  45% {
    box-shadow:
      0 0 16px rgba(100,170,255,0.18),
      0 0 30px rgba(100,170,255,0.10);
    transform: scale(1.018);
  }
  100% {
    box-shadow: 0 0 0 rgba(100,170,255,0);
    transform: scale(1);
  }
}

@keyframes flashRadarRoxo {
  0% {
    box-shadow: 0 0 0 rgba(183,120,255,0);
    transform: scale(1);
  }
  45% {
    box-shadow:
      0 0 16px rgba(183,120,255,0.18),
      0 0 30px rgba(183,120,255,0.10);
    transform: scale(1.018);
  }
  100% {
    box-shadow: 0 0 0 rgba(183,120,255,0);
    transform: scale(1);
  }
}

/* ===== PACOTE 2.3 - ALERTAS MAIS TEATRAIS ===== */
.ranking-alerta-lider {
  border-color: rgba(255, 214, 102, 0.26);
}

.ranking-alerta-badge {
  border-color: rgba(120, 220, 255, 0.22);
}

.ranking-alerta-subiu {
  border-color: rgba(120, 255, 170, 0.22);
}

.ranking-alerta-desceu {
  border-color: rgba(255, 120, 120, 0.22);
}

/* ===== CENTRAL DE BOTS DE TESTE - MANUTENÇÃO ===== */
.manutencao-card:nth-child(7),
.manutencao-card:nth-child(8),
.manutencao-card:nth-child(9),
.manutencao-card:nth-child(10) {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(84, 255, 205, 0.18);
  background:
    linear-gradient(180deg, rgba(84, 255, 205, 0.04), rgba(255, 255, 255, 0.02)),
    rgba(255, 255, 255, 0.02);
  box-shadow:
    0 8px 24px rgba(0, 0, 0, 0.18),
    inset 0 0 0 1px rgba(84, 255, 205, 0.05);
}

.manutencao-card:nth-child(7)::before,
.manutencao-card:nth-child(8)::before,
.manutencao-card:nth-child(9)::before,
.manutencao-card:nth-child(10)::before {
  content: "TESTE";
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 4px 8px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: rgba(170, 255, 232, 0.95);
  background: rgba(84, 255, 205, 0.10);
  border: 1px solid rgba(84, 255, 205, 0.18);
}

.manutencao-card:nth-child(7) h3,
.manutencao-card:nth-child(8) h3,
.manutencao-card:nth-child(9) h3,
.manutencao-card:nth-child(10) h3 {
  color: #baffef;
}

.manutencao-card:nth-child(7) p,
.manutencao-card:nth-child(8) p,
.manutencao-card:nth-child(9) p,
.manutencao-card:nth-child(10) p {
  color: rgba(230, 255, 249, 0.82);
}

.manutencao-card:nth-child(7) .botao-manutencao,
.manutencao-card:nth-child(8) .botao-manutencao,
.manutencao-card:nth-child(9) .botao-manutencao,
.manutencao-card:nth-child(10) .botao-manutencao {
  border-color: rgba(84, 255, 205, 0.24);
  color: #baffef;
  background: rgba(84, 255, 205, 0.06);
}

.manutencao-card:nth-child(7) .botao-manutencao:hover,
.manutencao-card:nth-child(8) .botao-manutencao:hover,
.manutencao-card:nth-child(9) .botao-manutencao:hover,
.manutencao-card:nth-child(10) .botao-manutencao:hover {
  background: rgba(84, 255, 205, 0.12);
  box-shadow: 0 0 16px rgba(84, 255, 205, 0.10);
  transform: translateY(-2px);
}

.manutencao-card:nth-child(10) {
  border-color: rgba(255, 120, 120, 0.18);
  background:
    linear-gradient(180deg, rgba(255, 120, 120, 0.04), rgba(255, 255, 255, 0.02)),
    rgba(255, 255, 255, 0.02);
  box-shadow:
    0 8px 24px rgba(0, 0, 0, 0.18),
    inset 0 0 0 1px rgba(255, 120, 120, 0.05);
}

.manutencao-card:nth-child(10)::before {
  content: "TESTE";
  color: rgba(255, 220, 220, 0.95);
  background: rgba(255, 120, 120, 0.10);
  border: 1px solid rgba(255, 120, 120, 0.18);
}

.manutencao-card:nth-child(10) h3 {
  color: #ffd3d3;
}

.manutencao-card:nth-child(10) p {
  color: rgba(255, 230, 230, 0.82);
}

.manutencao-card:nth-child(10) .botao-manutencao {
  border-color: rgba(255, 120, 120, 0.24);
  color: #ffd3d3;
  background: rgba(255, 120, 120, 0.06);
}

.manutencao-card:nth-child(10) .botao-manutencao:hover {
  background: rgba(255, 120, 120, 0.12);
  box-shadow: 0 0 16px rgba(255, 120, 120, 0.10);
  transform: translateY(-2px);
}

/* ===== PAINEL DE RESULTADO DA MANUTENÇÃO ===== */
.painel-resumo-manutencao {
  min-height: 90px;
}

.painel-resumo-manutencao .auditoria-bloco + .auditoria-bloco {
  margin-top: 14px;
}

/* ===== EFEITO HOLOGRÁFICO NAS FOTOS DO RANKING ===== */
.ranking-card-foto-wrap {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  transition: transform 0.16s ease, box-shadow 0.2s ease;
  transform-style: preserve-3d;
  will-change: transform;
  cursor: pointer;
  isolation: isolate;
}

.ranking-card-foto-wrap::before {
  content: "";
  position: absolute;
  inset: -45%;
  z-index: 2;
  pointer-events: none;
  border-radius: inherit;
  background:
    radial-gradient(
      circle at var(--mx, 50%) var(--my, 50%),
      rgba(255, 255, 255, 0.55),
      transparent 24%
    ),
    linear-gradient(
      115deg,
      transparent 0%,
      rgba(255, 255, 255, 0.12) 18%,
      rgba(84, 255, 205, 0.36) 34%,
      rgba(180, 120, 255, 0.34) 48%,
      rgba(255, 220, 120, 0.28) 62%,
      rgba(255, 255, 255, 0.14) 76%,
      transparent 100%
    );
  opacity: 0.78;
  mix-blend-mode: screen;
  transform: translateX(-35%) rotate(8deg);
  animation: fotoHoloSweep 4.2s ease-in-out infinite;
}

.ranking-card-foto-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  border-radius: inherit;
  background:
    linear-gradient(
      135deg,
      rgba(255, 0, 150, 0.18),
      rgba(0, 255, 255, 0.20),
      rgba(255, 255, 0, 0.16),
      rgba(0, 255, 150, 0.18),
      rgba(255, 0, 150, 0.16)
    ),
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.28), transparent 22%),
    radial-gradient(circle at 80% 30%, rgba(84, 255, 205, 0.22), transparent 20%),
    radial-gradient(circle at 45% 80%, rgba(180, 120, 255, 0.20), transparent 24%);
  background-size: 300% 300%, auto, auto, auto;
  opacity: 0.48;
  mix-blend-mode: color-dodge;
  animation: fotoHoloColor 5s linear infinite;
}

.ranking-card-foto-wrap:hover {
  box-shadow:
    0 0 22px rgba(84, 255, 205, 0.20),
    0 0 36px rgba(180, 120, 255, 0.14);
}

.ranking-card-foto-wrap:hover::before {
  opacity: 0.96;
  animation-duration: 2.6s;
}

.ranking-card-foto-wrap:hover::after {
  opacity: 0.68;
}

.ranking-card-foto,
.ranking-card-foto-placeholder {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
  display: block;
}

.ranking-card-foto {
  filter: contrast(1.08) saturate(1.16);
}

.ranking-card-foto-placeholder {
  background: rgba(255, 255, 255, 0.92);
  color: rgba(0, 0, 0, 0.60);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
}

@keyframes fotoHoloSweep {
  0% {
    transform: translateX(-45%) rotate(8deg);
  }

  50% {
    transform: translateX(45%) rotate(8deg);
  }

  100% {
    transform: translateX(-45%) rotate(8deg);
  }
}

@keyframes fotoHoloColor {
  0% {
    background-position: 0% 50%, center, center, center;
  }

  50% {
    background-position: 100% 50%, center, center, center;
  }

  100% {
    background-position: 0% 50%, center, center, center;
  }
}

/* ===== MODAL FOTO PERFIL RANKING ===== */
.modal-perfil-card {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.modal-perfil-card.ativo {
  display: flex;
}

.modal-perfil-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.86);
  backdrop-filter: blur(8px);
}

.modal-perfil-box {
  position: relative;
  z-index: 2;
  width: min(92vw, 520px);
  max-height: 90vh;
  overflow-y: auto;
  padding: 24px;
  border-radius: 24px;
  background: rgba(12, 12, 12, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.65);
  text-align: center;
}

.modal-perfil-fechar {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 5;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  cursor: pointer;
  font-weight: 800;
}

.modal-perfil-foto-wrap {
  position: relative;
  width: min(78vw, 340px);
  margin: 12px auto 18px;
  border-radius: 22px;
  overflow: hidden;
  isolation: isolate;
  transform:
    perspective(900px)
    rotateX(var(--rotX, 0deg))
    rotateY(var(--rotY, 0deg));
  transition: transform 0.16s ease, box-shadow 0.2s ease;
  box-shadow:
    0 0 26px rgba(84, 255, 205, 0.22),
    0 0 44px rgba(180, 120, 255, 0.16);
}

.modal-perfil-foto-wrap::before {
  content: "";
  position: absolute;
  inset: -45%;
  z-index: 2;
  pointer-events: none;
  border-radius: inherit;
  background:
    radial-gradient(
      circle at var(--mx, 50%) var(--my, 50%),
      rgba(255, 255, 255, 0.62),
      transparent 24%
    ),
    linear-gradient(
      115deg,
      transparent 0%,
      rgba(255, 255, 255, 0.16) 18%,
      rgba(84, 255, 205, 0.42) 34%,
      rgba(180, 120, 255, 0.38) 48%,
      rgba(255, 220, 120, 0.32) 62%,
      rgba(255, 255, 255, 0.16) 76%,
      transparent 100%
    );
  opacity: 0.92;
  mix-blend-mode: screen;
  transform: translateX(-35%) rotate(8deg);
  animation: fotoHoloSweep 3.6s ease-in-out infinite;
}

.modal-perfil-foto-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  border-radius: inherit;
  background:
    linear-gradient(
      135deg,
      rgba(255, 0, 150, 0.24),
      rgba(0, 255, 255, 0.26),
      rgba(255, 255, 0, 0.22),
      rgba(0, 255, 150, 0.24),
      rgba(255, 0, 150, 0.22)
    ),
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.34), transparent 22%),
    radial-gradient(circle at 80% 30%, rgba(84, 255, 205, 0.28), transparent 20%),
    radial-gradient(circle at 45% 80%, rgba(180, 120, 255, 0.26), transparent 24%);
  background-size: 300% 300%, auto, auto, auto;
  opacity: 0.62;
  mix-blend-mode: color-dodge;
  animation: fotoHoloColor 4.2s linear infinite;
}

#modalPerfilFoto {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  max-height: 560px;
  object-fit: contain;
  border-radius: inherit;
  filter: contrast(1.08) saturate(1.16);
}

.modal-perfil-nome {
  margin: 8px 0 16px;
  color: #fff;
  font-size: 24px;
}

.modal-perfil-badges-titulo {
  margin: 12px 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.modal-perfil-badges-lista {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(86px, 1fr));
  gap: 12px;
}

.modal-perfil-badge-item {
  padding: 10px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.10);
}

.modal-perfil-badge-item img {
  width: 54px;
  height: 54px;
  object-fit: contain;
  display: block;
  margin: 0 auto 6px;
}

.modal-perfil-badge-item span {
  display: block;
  color: #fff;
  font-size: 11px;
  line-height: 1.2;
}

.modal-perfil-sem-badges {
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  padding: 14px;
}