html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

.welcome-bonus-aviso {
  margin: 8px 0 10px;
  padding: 9px 11px;
  border: 1px solid rgba(255, 214, 0, 0.34);
  border-radius: 8px;
  background: rgba(255, 214, 0, 0.09);
  color: #ffe680;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.3;
}

.welcome-bonus-home {
  width: 100%;
  box-sizing: border-box;
}

.dica-multipla-aposta {
  display: block;
  margin: 4px 0 8px;
  font-size: 12px;
  color: #9fb3c8;
}

.chips-selecoes-aposta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 10px;
  min-height: 10px;
}

.aposta-etapa {
  width: min(100%, 320px);
  margin: 8px auto;
  padding: 8px;
  border: 1px solid #274260;
  border-radius: 12px;
  background: linear-gradient(180deg, #101b29 0%, #0d1622 100%);
  transition: opacity 0.24s ease, transform 0.24s ease, max-height 0.28s ease, padding 0.22s ease, margin 0.22s ease;
}

.aposta-etapa-titulo {
  font-size: 12px;
  font-weight: 800;
  color: #9fc3e9;
  margin: 0 0 7px;
  letter-spacing: 0.25px;
}

.aposta-etapa-oculta {
  opacity: 0;
  transform: translateY(-3px);
  max-height: 0;
  overflow: hidden;
  margin-top: 0;
  margin-bottom: 0;
  padding-top: 0;
  padding-bottom: 0;
  border-width: 0;
  pointer-events: none;
}

.tipo-aposta-select-oculto {
  display: none !important;
}

.modalidades-grid-aposta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
}

.modalidade-card-aposta {
  border: 1px solid #335980;
  background: #132339;
  color: #e7f2ff;
  border-radius: 10px;
  min-height: 74px;
  margin: 0;
  padding: 8px 7px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  transition: border-color 0.18s ease, background 0.18s ease, transform 0.12s ease;
}

.modalidade-card-aposta-icone {
  font-size: 15px;
  line-height: 1;
  margin-bottom: 4px;
}

.modalidade-card-aposta-texto {
  display: block;
  font-size: 12px;
  line-height: 1.2;
  font-weight: 700;
}

.modalidade-card-aposta:hover {
  border-color: #5b8fc2;
  transform: translateY(-1px);
}

.modalidade-card-aposta.ativa {
  border-color: #00e676;
  background: #1d3c27;
  color: #dfffe9;
  box-shadow: 0 0 0 1px #00e67633 inset;
}

.modalidades-grid-aposta.modo-foco-modalidade {
  grid-template-columns: 1fr;
}

.modalidade-card-aposta.oculta-modalidade {
  display: none;
}

.modalidades-grid-aposta.modo-foco-modalidade .modalidade-card-aposta.ativa {
  min-height: 60px;
  padding: 7px 8px;
}

.acoes-modalidade-aposta {
  display: none;
  margin-top: 8px;
  text-align: center;
}

.acoes-modalidade-aposta.visivel {
  display: block;
}

.btn-trocar-modalidade-aposta {
  width: auto;
  margin: 0;
  padding: 6px 10px;
  min-height: 30px;
  font-size: 11px;
  border-radius: 8px;
}

#cardApostas .chips-selecoes-aposta {
  width: min(100%, 320px);
  margin: 8px auto 10px auto;
  justify-content: center;
  align-items: center;
}

.acoes-selecao-numerica {
  width: min(100%, 320px);
  margin: 6px auto 8px auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.acoes-selecao-numerica button {
  margin: 0;
  min-height: 28px;
  padding: 4px 8px;
  font-size: 11px;
}

.chip-selecao-aposta {
  display: inline-flex;
  align-items: center;
  width: auto;
  border-radius: 999px;
  border: 1px solid #2f4269;
  background: #182743;
  color: #eaf2ff;
  padding: 5px 10px;
  font-size: 12px;
  font-weight: 600;
  margin: 0;
}

.chip-selecao-aposta b {
  margin-left: 6px;
  font-size: 11px;
}

.chip-selecao-aposta-removivel {
  cursor: pointer;
  border-color: #395e8f;
  background: #15283f;
  padding: 4px 9px;
  font-size: 11px;
  line-height: 1.15;
  gap: 4px;
}

.chip-selecao-aposta-clicavel {
  cursor: pointer;
  border: 1px solid #36598a;
  background: #15263f;
  transition: transform 0.14s ease, border-color 0.14s ease, background 0.14s ease;
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 84px;
}

.chip-selecao-aposta-clicavel small {
  color: #a9c2de;
  font-size: 10px;
  font-weight: 500;
  margin-top: 1px;
}

.chip-selecao-aposta-clicavel:hover {
  transform: translateY(-1px);
  border-color: #6ea4e1;
}

.chip-selecao-aposta-clicavel.ativo {
  background: #1f3b63;
  border-color: #5ec18a;
  box-shadow: 0 0 0 1px rgba(94, 193, 138, 0.35) inset;
}

.tipo-valor-aposta {
  display: none;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 5px;
  margin: 6px 0 10px;
  background: rgba(16, 34, 61, 0.42);
  border: 1px solid #21406d;
  border-radius: 10px;
  padding: 6px;
  max-width: 100%;
  width: 100%;
}

#cardApostas .tipo-valor-aposta {
  width: min(100%, 320px);
  margin: 8px auto 10px auto;
  box-sizing: border-box;
}

.tipo-valor-aposta.ativo {
  display: grid;
}

.tipo-valor-aposta-opcao {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: #dce9ff;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  border: 1px solid #355986;
  border-radius: 8px;
  min-height: 28px;
  padding: 4px 7px;
  background: #15283f;
}

.tipo-valor-aposta-opcao input[type="radio"] {
  accent-color: #39b16f;
  margin: 0;
  width: 13px;
  height: 13px;
  flex: 0 0 auto;
}

.resumo-calculo-aposta-multipla {
  margin: 6px 0 8px;
  color: #d2def1;
  font-size: 12px;
  line-height: 1.35;
}

#cardApostas #resumoCalculoApostaMultipla,
#cardApostas #blocoPremiacaoAposta {
  display: none !important;
}

.resumo-fixo-aposta-mobile {
  position: sticky;
  bottom: 6px;
  z-index: 8;
  margin-top: 10px;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  background: rgba(10, 20, 38, 0.95);
  border: 1px solid #294671;
  border-radius: 10px;
  padding: 8px 10px;
}

.resumo-fixo-aposta-mobile button {
  margin: 0;
  padding: 7px 10px;
  font-size: 12px;
  white-space: nowrap;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

img,
svg,
video,
canvas {
  max-width: 100%;
  height: auto;
}

body {
  margin: 0;
  font-family: Arial;
  background: #0c141c;
  color: white;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}


.toast-aposta-confirmacao {
  position: fixed;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%) translateY(8px);
  background: #00c853;
  color: #062510;
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 800;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.35);
  opacity: 0;
  pointer-events: none;
  z-index: 9999;
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.toast-aposta-confirmacao.sucesso {
  background: #00c853;
  color: #062510;
}

.toast-aposta-confirmacao.erro {
  background: #d32f2f;
  color: #fff3f3;
}

.toast-aposta-confirmacao.visivel {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

a {
  color: inherit;
}

.banner-topo {
  width: 100%;
  background: #081018;
  border-bottom: 1px solid #ffffff1a;
}

.banner-topo-conteudo {
  width: min(100%, 920px);
  margin: 0 auto;
  padding: 10px 20px;
  box-sizing: border-box;
}

.banner-topo picture,
.banner-topo-img {
  width: 100%;
  display: block;
}

.banner-topo-img {
  border-radius: 10px;
  height: auto;
}

.recarga-home-wrap {
  width: 100%;
  background: #081018;
  padding: 0 20px 10px;
  box-sizing: border-box;
}

.recarga-home-conteudo {
  width: min(100%, 920px);
  margin: 0 auto;
}

.melhores-cotacoes-wrap {
  width: 100%;
  background: #081018;
}

.melhores-cotacoes-conteudo {
  width: min(100%, 920px);
  margin: 0 auto;
  padding: 0 20px 12px;
  box-sizing: border-box;
}

.melhores-cotacoes-titulo {
  margin: 2px 0 8px;
  color: #9fd5ff;
  font-size: 15px;
  font-weight: 800;
  text-align: center;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}

.melhores-cotacoes-topo {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.btn-cotacoes-atualizar {
  width: auto;
  margin: 0;
  padding: 6px 10px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
}

.melhores-cotacoes-card {
  border: 1px solid #00e67644;
  border-radius: 10px;
  background: linear-gradient(90deg, #102030 0%, #0f1a24 100%);
  padding: 10px 12px;
  overflow: hidden;
  display: grid;
  gap: 0;
}

.melhores-cotacoes-janela {
  display: flex;
  overflow: hidden;
  gap: 0;
  width: max-content;
  min-width: 200%;
  animation: cotacoesRolando 28s linear infinite;
  will-change: transform;
}

.melhores-cotacoes-faixa {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  min-width: max-content;
  white-space: nowrap;
  color: #e8f3ff;
  font-size: 13px;
  padding-right: 18px;
}

.melhores-cotacoes-sep {
  color: #00e676;
  font-weight: 700;
}

@keyframes cotacoesRolando {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.topo {
  width: 100%;
  box-sizing: border-box;
  padding: 20px;
  font-size: 22px;
  text-align: center;
  background: #081018;
}

.cabecalho-usuario {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 20px;
  background: linear-gradient(180deg, rgba(13, 24, 39, 0.96), rgba(10, 19, 31, 0.98));
  border-bottom: 1px solid rgba(92, 119, 153, 0.34);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.24);
  margin: 0;
  box-sizing: border-box;
}

.btn-cabecalho-home {
  width: auto;
  margin-top: 0;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  flex-shrink: 0;
}

.btn-cabecalho-perfil {
  width: auto;
  margin-top: 0;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  flex-shrink: 0;
}

.cabecalho-usuario-nome {
  flex: 1 1 auto;
  min-width: 0;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 17px;
  color: #d8e8f7;
}

.cabecalho-usuario-acoes {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.cabecalho-usuario-publico {
  display: none;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  margin-left: auto;
  flex: 0 0 auto;
}

.btn-cabecalho-auth {
  width: auto;
  min-height: 34px;
  margin: 0;
  padding: 0 12px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  flex: 0 0 auto;
}

.btn-cabecalho-cadastro {
  background: #16a34a;
  border-color: #22c55e;
  color: #ffffff;
  box-shadow: 0 8px 18px rgba(22, 163, 74, 0.22);
}

.btn-cabecalho-cadastro:hover {
  background: #15803d;
  border-color: #4ade80;
}

.cabecalho-unidade {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 8px;
  border-radius: 999px;
  background: #0f2a44;
  border: 1px solid #1f4f75;
  color: #d4e7ff;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}

.cabecalho-saldo {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  color: #b9d7ef;
  white-space: nowrap;
}

.cabecalho-saldo strong {
  color: #00e676;
}

.btn-cabecalho-sair {
  width: auto;
  margin-top: 0;
  padding: 0 12px;
  min-height: 36px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  flex: 0 0 auto;
  border-radius: 10px;
  background: #dc2626;
  border-color: #ef4444;
  color: #fff;
  box-shadow: 0 8px 18px rgba(220, 38, 38, 0.24);
}

.btn-cabecalho-sair:hover {
  background: #b91c1c;
  border-color: #f87171;
}

.btn-cabecalho-saldo-toggle {
  width: auto;
  min-width: 36px;
  min-height: 36px;
  margin: 0;
  padding: 6px;
  font-size: 10px;
  line-height: 1;
  border-radius: 999px;
  border: 1px solid #2d4762;
  background: transparent;
  color: #cde2f7;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.btn-cabecalho-saldo-toggle:hover {
  border-color: #4a6987;
  background: #1a2a3a;
}

.btn-cabecalho-saldo-toggle:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px #7fb3e84d;
}

.saldo-toggle-icone {
  width: 16px;
  height: 16px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.saldo-icone {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.saldo-icone-visivel {
  display: inline-block;
}

.saldo-icone-visivel circle {
  fill: currentColor;
}

.saldo-icone-oculto {
  display: none;
}

.saldo-toggle-label {
  display: none;
}

.btn-cabecalho-saldo-toggle.is-hidden {
  color: #9fb4c8;
}

.btn-cabecalho-saldo-toggle.is-hidden .saldo-icone-visivel {
  display: none;
}

.btn-cabecalho-saldo-toggle.is-hidden .saldo-icone-oculto {
  display: inline-block;
}

.btn-cabecalho-atualizar {
  width: 36px;
  height: 36px;
  margin: 0;
  padding: 0;
  border-radius: 999px;
  border: 1px solid #2d4762;
  background: transparent;
  color: #cde2f7;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  cursor: pointer;
  transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.btn-cabecalho-atualizar:hover {
  border-color: #4a6987;
  background: #1a2a3a;
  color: #ffffff;
}

.btn-cabecalho-atualizar:active {
  transform: rotate(35deg);
}

.btn-cabecalho-atualizar:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px #7fb3e84d;
}

.btn-cabecalho-atualizar svg {
  width: 17px;
  height: 17px;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.cabecalho-usuario .btn-cabecalho-atualizar {
  width: 36px !important;
  max-width: 36px !important;
  min-width: 36px !important;
  height: 36px !important;
  min-height: 36px !important;
  margin: 0 !important;
  padding: 0 !important;
  flex: 0 0 36px !important;
  display: inline-flex !important;
}

.container {
  width: min(100%, 1100px);
  padding: 20px;
  margin: 0 auto;
  box-sizing: border-box;
}

.container-usuario-topo {
  padding-bottom: 8px;
}

.container-usuario-topo .card-usuario {
  margin-bottom: 0;
}

.card {
  background: linear-gradient(180deg, rgba(19, 31, 47, 0.94), rgba(14, 24, 36, 0.97));
  border: 1px solid rgba(86, 114, 149, 0.42);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
  padding: 15px;
  border-radius: 14px;
  margin-bottom: 20px;
  text-align: left;
}

.card-home-vitrine {
  padding: 12px;
}

.home-vitrine-titulo {
  margin: 0 0 10px;
  font-size: 14px;
  font-weight: 700;
  color: #d3e4ff;
  letter-spacing: 0.2px;
}

.home-cards-layout {
  display: grid;
  gap: 12px;
}

.home-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.home-card {
  margin: 0 !important;
  padding: 0;
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box;
  min-width: 0;
  border: 1px solid #2f4a6d;
  border-radius: 18px;
  background: linear-gradient(180deg, #0f1b2d 0%, #0b1422 100%);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.24);
  overflow: hidden;
  cursor: pointer;
  position: relative;
  display: block;
  min-width: 0;
  transition: transform 0.14s ease, border-color 0.18s ease, box-shadow 0.18s ease;
  opacity: 0;
  transform: translateY(8px) scale(0.99);
  animation: homeCardEntrada 0.42s ease forwards;
}

.home-card-featured {
  aspect-ratio: 16 / 10;
}

.home-card-small {
  aspect-ratio: 4 / 5;
}

.home-card:hover {
  transform: translateY(-1px);
  border-color: #4e76a6;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.28);
}

.home-card:active {
  transform: translateY(0) scale(0.985);
}

.home-card:focus-visible {
  outline: 2px solid #6ea4e1;
  outline-offset: 2px;
}

.home-card picture,
.home-card img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  box-sizing: border-box;
  display: block;
}

.home-card img {
  object-fit: cover;
  object-position: center;
  background: radial-gradient(circle at 24% 20%, #1b2d45 0%, #0f1b2d 100%);
  transition: transform 0.28s ease;
}

.home-card:hover img {
  transform: scale(1.02);
}

.home-card-featured img {
  object-fit: contain;
  object-position: center;
  background: radial-gradient(circle at 24% 20%, #1b2d45 0%, #0f1b2d 100%);
}

.home-vitrine-placeholder {
  position: absolute;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 12px;
  font-size: 14px;
  font-weight: 700;
  color: #bfd5f3;
  background: linear-gradient(180deg, rgba(16, 27, 43, 0.92), rgba(11, 20, 34, 0.92));
}

.home-card.sem-imagem .home-vitrine-placeholder {
  display: flex;
}

.home-cards-layout > .home-card:nth-child(1) {
  animation-delay: 0.03s;
}

.home-cards-grid > .home-card:nth-child(1) {
  animation-delay: 0.07s;
}

.home-cards-grid > .home-card:nth-child(2) {
  animation-delay: 0.11s;
}

.home-cards-grid > .home-card:nth-child(3) {
  animation-delay: 0.15s;
}

.home-cards-grid > .home-card:nth-child(4) {
  animation-delay: 0.19s;
}

.card-recarga-home {
  margin: 0;
  padding: 14px;
  border: 1px solid rgba(69, 180, 122, 0.42);
  border-radius: 12px;
  background:
    linear-gradient(135deg, rgba(32, 101, 70, 0.94), rgba(12, 31, 41, 0.96));
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.26);
  display: grid;
  gap: 12px;
}

.card-recarga-home span,
.recarga-pix-saldo span {
  display: block;
  color: #aee6c2;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.card-recarga-home strong {
  display: block;
  color: #ffffff;
  font-size: 24px;
  line-height: 1.08;
  margin-top: 3px;
}

.card-recarga-home small {
  display: block;
  margin-top: 7px;
  color: #d9f6e4;
  font-size: 13px;
}

.card-recarga-home button,
.btn-gerar-pix-asaas,
.btn-copiar-pix {
  width: 100%;
  min-height: 50px;
  border: 0;
  border-radius: 10px;
  background: linear-gradient(180deg, #1fd075, #129453);
  color: #06130c;
  font-weight: 900;
  font-size: 16px;
  cursor: pointer;
  box-shadow: 0 10px 20px rgba(18, 148, 83, 0.28);
}

.card-recarga-home button:disabled,
.btn-gerar-pix-asaas:disabled,
.btn-copiar-pix:disabled {
  opacity: 0.62;
  cursor: not-allowed;
  box-shadow: none;
}

.recarga-pix-screen {
  border-color: rgba(72, 184, 123, 0.42);
}

.recarga-pix-topo {
  display: grid;
  gap: 12px;
}

.recarga-pix-topo h3 {
  margin: 0;
  color: #f3fff7;
  font-size: 22px;
}

.recarga-pix-topo p,
.pix-resumo-usuario,
.recarga-pix-minimo,
.pix-resultado-box small {
  color: #aecadd;
  line-height: 1.45;
}

.recarga-pix-topo p {
  margin: 6px 0 0;
}

.recarga-pix-saldo {
  border: 1px solid rgba(107, 151, 119, 0.34);
  border-radius: 10px;
  background: rgba(7, 18, 15, 0.48);
  padding: 12px;
}

.recarga-pix-saldo strong {
  display: block;
  margin-top: 4px;
  color: #ffffff;
  font-size: 22px;
}

.pix-valores-rapidos {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin: 14px 0;
}

.btn-pix-valor-rapido {
  min-height: 50px;
  border: 1px solid #315f45;
  border-radius: 10px;
  background: #112a22;
  color: #e9fff0;
  font-weight: 900;
  font-size: 16px;
  cursor: pointer;
}

.btn-pix-valor-rapido.ativo,
.btn-pix-valor-rapido:hover {
  border-color: #1fd075;
  background: #184d32;
}

.btn-pix-valor-rapido:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.recarga-pix-label {
  display: block;
  margin: 8px 0 6px;
  color: #dcecff;
  font-weight: 800;
}

.recarga-pix-input {
  width: 100%;
  box-sizing: border-box;
  min-height: 52px;
  border: 1px solid #345a7a;
  border-radius: 10px;
  background: #07131f;
  color: #ffffff;
  font-size: 20px;
  font-weight: 800;
  padding: 0 12px;
}

.recarga-pix-minimo {
  display: block;
  margin: 7px 0 14px;
}

.pix-status-mensagem {
  min-height: 20px;
  margin: 12px 0 0;
  font-weight: 700;
}

.pix-resultado-box,
.pix-historico-bloco {
  margin-top: 16px;
  padding: 12px;
  border: 1px solid rgba(86, 114, 149, 0.42);
  border-radius: 10px;
  background: rgba(7, 18, 31, 0.72);
}

.pix-resultado-box h4,
.pix-historico-bloco h4 {
  margin: 0 0 10px;
  color: #eaf4ff;
}

.pix-resultado-box p {
  color: #bfd5ea;
}

#pixQrImage {
  width: min(260px, 100%);
  height: auto;
  margin: 10px auto;
  border-radius: 10px;
  background: #fff;
  padding: 8px;
}

.pix-resultado-box textarea {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #355a7a;
  border-radius: 10px;
  background: #081521;
  color: #f6fbff;
  padding: 10px;
  resize: vertical;
}

.btn-copiar-pix {
  margin-top: 10px;
  background: linear-gradient(180deg, #63a4ff, #2d6fbf);
  color: #061120;
}

.pix-historico-lista {
  display: grid;
  gap: 8px;
}

.pix-historico-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 6px 10px;
  align-items: center;
  padding: 10px;
  border: 1px solid rgba(86, 114, 149, 0.28);
  border-radius: 9px;
  background: rgba(12, 25, 38, 0.78);
}

.pix-historico-item strong {
  color: #ffffff;
}

.pix-historico-item small {
  color: #9fb6ca;
}

.pix-historico-status {
  padding: 5px 8px;
  border-radius: 999px;
  background: #24364a;
  color: #dfeeff;
  font-size: 12px;
  font-weight: 900;
}

.pix-historico-status.pago {
  background: #0f5f38;
  color: #d9ffe8;
}

.pix-historico-status.pendente {
  background: #5e4d16;
  color: #fff3ba;
}

.pix-historico-status.expirado,
.pix-historico-status.cancelado {
  background: #51303b;
  color: #ffd7df;
}

@keyframes homeCardEntrada {
  0% {
    opacity: 0;
    transform: translateY(8px) scale(0.99);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-card {
    opacity: 1;
    transform: none;
    animation: none;
    transition: none;
  }
}

@media (min-width: 720px) {
  .recarga-pix-topo {
    grid-template-columns: 1fr auto;
    align-items: center;
  }

  .card-recarga-home button {
    width: 100%;
  }

  .pix-valores-rapidos {
    grid-template-columns: repeat(4, 1fr);
  }
}

.home-jogo-header {
  padding: 10px 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.home-jogo-header-voltar {
  width: 40px;
  min-width: 40px;
  max-width: 40px !important;
  min-height: 40px;
  margin: 0 !important;
  padding: 0;
  border-radius: 10px;
  border: 1px solid #33567f;
  background: #143050;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.home-jogo-header strong {
  color: #e4f0ff;
  font-size: 15px;
  letter-spacing: 0.2px;
}

.home-vitrine-oculto {
  display: none !important;
}

body.app-modo-aposta-interna .banner-topo,
body.app-modo-aposta-interna .melhores-cotacoes-wrap,
body.app-modo-aposta-interna .recarga-home-wrap,
body.app-modo-aposta-interna .aviso-bingo-breve,
body.app-modo-aposta-interna .rodape-site,
body.app-modo-aposta-interna #homeApostadorVitrine,
body.app-modo-aposta-interna #cardResultadosHome,
body.app-modo-aposta-interna #cardIndicacaoHome {
  display: none !important;
}

body.app-modo-aposta-interna .container {
  padding-top: 10px;
}

body.app-modo-aposta-interna .home-jogo-header {
  width: min(100%, 760px);
  margin: 0 auto 10px;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

body.app-modo-aposta-interna .home-jogo-header strong {
  font-size: 16px;
  line-height: 1.15;
}

body.app-modo-aposta-interna #cardApostas,
body.app-modo-aposta-interna #cardRoletinhaSorte,
body.app-modo-aposta-interna #cardRaspadinhaSorte,
body.app-modo-aposta-interna #cardPalpitesDia,
body.app-modo-aposta-interna #cardPixAsaas,
body.app-modo-aposta-interna #avisoApostasEncerradas {
  width: min(100%, 760px);
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 12px;
}

body.app-modo-aposta-interna #cardApostas,
body.app-modo-aposta-interna #cardRoletinhaSorte,
body.app-modo-aposta-interna #cardRaspadinhaSorte,
body.app-modo-aposta-interna #cardPixAsaas {
  padding: 12px;
}

body.app-modo-aposta-interna #cardApostas .topo-card-apostas,
body.app-modo-aposta-interna .roletinha-topo,
body.app-modo-aposta-interna .raspadinha-topo,
body.app-modo-aposta-interna .recarga-pix-topo {
  margin-bottom: 10px;
}

@media (max-width: 760px) {
  body.app-modo-aposta-interna {
    padding-bottom: 82px;
  }

  body.app-modo-aposta-interna .container {
    padding: 8px 10px 88px;
  }

  body.app-modo-aposta-interna .home-jogo-header {
    margin-bottom: 8px;
    padding: 8px 10px;
  }

  body.app-modo-aposta-interna #cardApostas,
  body.app-modo-aposta-interna #cardRoletinhaSorte,
  body.app-modo-aposta-interna #cardRaspadinhaSorte,
  body.app-modo-aposta-interna #cardPalpitesDia,
  body.app-modo-aposta-interna #cardPixAsaas {
    margin-bottom: 10px;
    padding: 10px;
  }

  body.app-modo-aposta-interna #cardApostas > button[onclick="salvarAposta()"],
  body.app-modo-aposta-interna #btnGirarRoletinha,
  body.app-modo-aposta-interna #btnComprarRaspadinha,
  body.app-modo-aposta-interna #btnGerarPixAsaas {
    position: sticky;
    bottom: 78px;
    z-index: 40;
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.36);
  }

  body.app-modo-aposta-interna .raspadinha-historico-bloco,
  body.app-modo-aposta-interna .roletinha-historico,
  body.app-modo-aposta-interna .pix-historico-bloco {
    margin-top: 10px;
  }
}

.card-palpites-dia h3 {
  margin: 0 0 10px;
}

.palpites-dia-conteudo {
  display: grid;
  gap: 10px;
}

.palpite-dia-card {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  border: 1px solid rgba(86, 114, 149, 0.45);
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(16, 28, 43, 0.94), rgba(12, 21, 33, 0.96));
  padding: 10px;
}

.palpite-dia-titulo {
  margin: 0 0 8px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #e6f1ff;
}

.palpite-dia-titulo-img {
  width: 24px;
  height: 24px;
  border-radius: 8px;
  object-fit: cover;
  background: rgba(4, 10, 18, 0.7);
  border: 1px solid rgba(125, 161, 206, 0.38);
}

.palpite-dia-destaque {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  color: #f2f8ff;
}

.palpite-dia-subtitulo {
  margin: 0 0 6px;
  color: #9fb3c8;
  font-size: 12px;
}

.palpite-dia-linhas {
  display: grid;
  gap: 7px;
}

.palpite-dia-linha {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  padding: 8px;
  border: 1px solid rgba(86, 114, 149, 0.36);
  border-radius: 10px;
  background: rgba(11, 21, 33, 0.82);
}

.palpite-dia-linha-info {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.palpite-dia-linha-img {
  width: 38px;
  height: 38px;
  min-width: 38px;
  border-radius: 10px;
  object-fit: cover;
  background: rgba(5, 10, 16, 0.78);
  border: 1px solid rgba(123, 161, 211, 0.4);
}

.palpite-dia-linha-texto {
  min-width: 0;
  display: block;
  color: #e7f1ff;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.25;
}

.palpite-dia-dezenas {
  margin: 0;
  color: #ffe08a;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.4px;
}

.btn-usar-palpite {
  width: auto;
  max-width: 100%;
  margin: 0;
  min-height: 32px;
  padding: 6px 10px;
  font-size: 12px;
  border-radius: 9px;
  border: 1px solid rgba(94, 157, 255, 0.45);
  background: linear-gradient(180deg, #17365b, #122b49);
  color: #eaf3ff;
  white-space: nowrap;
}

.palpite-dia-aviso {
  margin: 0;
  color: #9fb3c8;
  font-size: 12px;
  text-align: left;
}

.palpite-dia-atrasados {
  display: grid;
  gap: 7px;
}

.palpite-dia-atrasado-linha {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  display: grid;
  grid-template-columns: auto auto minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  padding: 8px;
  border-radius: 10px;
  border: 1px solid rgba(89, 118, 151, 0.35);
  background: rgba(8, 17, 28, 0.86);
}

.palpite-dia-atrasado-posicao {
  min-width: 24px;
  height: 24px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
  color: #d9e8ff;
  background: rgba(28, 49, 75, 0.9);
  border: 1px solid rgba(102, 138, 182, 0.45);
}

.palpite-dia-atrasado-img {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  object-fit: cover;
  background: rgba(4, 10, 18, 0.75);
  border: 1px solid rgba(123, 161, 211, 0.38);
}

.palpite-dia-atrasado-texto {
  min-width: 0;
  display: grid;
  gap: 2px;
  color: #e6f1ff;
  line-height: 1.25;
}

.palpite-dia-atrasado-texto b {
  font-size: 13px;
  font-weight: 700;
}

.palpite-dia-atrasado-texto small {
  color: #a7bfd9;
  font-size: 12px;
}

.palpite-dia-atrasado-carregando {
  margin: 0;
  color: #9fb3c8;
  font-size: 12px;
}

.card-usuario.compacto {
  padding: 10px;
  margin-bottom: 12px;
}

.card-usuario.compacto h3 {
  display: none;
}

.card-roletinha-sorte {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 198, 88, 0.58);
  background:
    radial-gradient(120% 130% at 0% 0%, rgba(255, 202, 94, 0.28), transparent 52%),
    linear-gradient(180deg, rgba(34, 24, 10, 0.95), rgba(20, 14, 8, 0.98));
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.34);
}

.card-roletinha-sorte::before {
  content: "";
  position: absolute;
  top: -40%;
  right: -16%;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 208, 95, 0.26), rgba(255, 208, 95, 0));
  pointer-events: none;
  animation: roletinhaGlowPulse 4.2s ease-in-out infinite;
}

.card-roletinha-sorte::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(125deg, rgba(255, 255, 255, 0.06), transparent 24%, transparent 76%, rgba(255, 199, 73, 0.08));
  pointer-events: none;
}

.roletinha-topo {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.roletinha-topo-acoes {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

.roletinha-topo h3 {
  margin: 0;
  color: #ffefc6;
  font-size: 20px;
}

.roletinha-topo p {
  margin: 5px 0 0;
  color: #e4d4b0;
  font-size: 13px;
}

.btn-roletinha-jogar {
  width: auto;
  min-width: 122px;
  margin: 0;
  padding: 10px 14px;
  border-radius: 10px;
  background: linear-gradient(180deg, #ffe08a, #d79a2d);
  color: #2a1600;
  font-weight: 800;
  font-size: 13px;
  box-shadow: 0 10px 18px rgba(245, 158, 11, 0.3);
}

.btn-roletinha-som-toggle {
  margin: 0;
  min-height: 40px;
  width: auto;
  min-width: 118px;
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid rgba(255, 209, 118, 0.5);
  background: rgba(48, 31, 16, 0.85);
  color: #f9e8c4;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  font-size: 12px;
  font-weight: 700;
  transition: background-color 0.18s ease, border-color 0.18s ease, transform 0.14s ease;
}

.btn-roletinha-som-toggle:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 216, 136, 0.78);
  background: rgba(68, 44, 22, 0.9);
}

.btn-roletinha-som-toggle:active {
  transform: translateY(0);
}

.roletinha-som-icone {
  width: 16px;
  height: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.som-icone {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.som-icone-off {
  display: none;
}

.btn-roletinha-som-toggle.desativado {
  color: #dfcca8;
  border-color: rgba(160, 132, 86, 0.56);
  background: rgba(32, 21, 11, 0.8);
}

.btn-roletinha-som-toggle.desativado .som-icone-on {
  display: none;
}

.btn-roletinha-som-toggle.desativado .som-icone-off {
  display: inline-block;
}

.btn-roletinha-jogar:hover {
  filter: brightness(1.04);
  transform: translateY(-1px);
}

.roletinha-conteudo {
  position: relative;
  margin-top: 12px;
  display: grid;
  gap: 10px;
  z-index: 1;
}

.roletinha-aviso-visitante {
  margin: 0;
  padding: 9px 10px;
  border-radius: 10px;
  border: 1px solid rgba(255, 201, 98, 0.48);
  background: rgba(255, 201, 98, 0.14);
  color: #fff0d2;
  font-size: 12px;
}

.roletinha-palco {
  width: min(100%, 330px);
  aspect-ratio: 1 / 1;
  margin: 0 auto;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.roletinha-palco::before {
  content: "";
  position: absolute;
  inset: 7px;
  border-radius: 50%;
  border: 1px solid rgba(255, 236, 184, 0.22);
  box-shadow: 0 0 22px rgba(251, 191, 36, 0.2);
  pointer-events: none;
}

.roletinha-wheel {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 6px solid #e1ad44;
  background: var(--roletinha-gradient, conic-gradient(#f59e0b 0deg, #1f2937 360deg));
  position: relative;
  overflow: hidden;
  box-shadow:
    inset 0 0 0 3px rgba(255, 236, 184, 0.35),
    0 16px 30px rgba(0, 0, 0, 0.35);
  transform: rotate(0deg);
  transition: transform 4.2s cubic-bezier(0.18, 0.94, 0.24, 1);
}

.roletinha-wheel::before {
  content: "";
  position: absolute;
  inset: 2.5%;
  border-radius: 50%;
  background: radial-gradient(circle at 22% 18%, rgba(255, 255, 255, 0.25), transparent 26%);
  pointer-events: none;
}

.roletinha-wheel::after {
  content: "";
  position: absolute;
  inset: 14%;
  border-radius: 50%;
  border: 1px solid rgba(255, 236, 184, 0.44);
}

.roletinha-wheel-label {
  position: absolute;
  top: 50%;
  left: 50%;
  transform-origin: 0 0;
  color: #fff6dc;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.15px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
  pointer-events: none;
  white-space: nowrap;
}

.roletinha-ponteiro {
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-top: 17px solid #ffe7ab;
  filter: drop-shadow(0 5px 8px rgba(0, 0, 0, 0.45));
  z-index: 3;
}

.roletinha-centro {
  position: absolute;
  width: 92px;
  height: 92px;
  border-radius: 50%;
  border: 4px solid #ffd184;
  background: radial-gradient(circle at 35% 30%, #5c3b11, #201208);
  color: #ffe29e;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  white-space: pre-line;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.4px;
  z-index: 2;
  box-shadow: inset 0 0 0 2px rgba(255, 232, 180, 0.28), 0 12px 18px rgba(0, 0, 0, 0.32);
  animation: roletinhaCentroFlutuar 3s ease-in-out infinite;
}

.roletinha-escolhas {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.roletinha-escolha-item {
  margin: 0;
  padding: 10px 8px;
  min-height: 44px;
  border-radius: 10px;
  border: 1px solid #6e5530;
  background: linear-gradient(180deg, #2d1e10, #22160d);
  color: #f6e7c8;
  font-size: 12px;
  font-weight: 700;
  transition: transform 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease, background-color 0.16s ease;
}

.roletinha-escolha-item:hover {
  border-color: #b98e43;
  transform: translateY(-1px);
}

.roletinha-escolha-item.ativo {
  border-color: #f6c15a;
  background: linear-gradient(180deg, #4f3215, #3a2410);
  color: #fff2cd;
  box-shadow: inset 0 0 0 1px rgba(246, 193, 90, 0.44);
}

.roletinha-escolha-item.destaque-patrao {
  border-color: rgba(255, 210, 124, 0.72);
}

.roletinha-label-valor {
  color: #f5e6c7;
  font-size: 12px;
  font-weight: 700;
}

#roletinhaValorAposta {
  margin: 0;
}

.btn-roletinha-girar {
  margin: 0;
  min-height: 48px;
  border-radius: 12px;
  background: linear-gradient(180deg, #f2c15b, #c4891f);
  color: #2b1700;
  font-size: 16px;
  font-weight: 900;
  letter-spacing: 0.5px;
  box-shadow: 0 10px 22px rgba(196, 137, 31, 0.34);
  transition: transform 0.14s ease, filter 0.14s ease;
}

.btn-roletinha-girar:hover {
  transform: translateY(-1px);
  filter: brightness(1.04);
}

.btn-roletinha-girar:disabled {
  opacity: 0.58;
}

.roletinha-status {
  margin: 0;
  min-height: 18px;
  color: #d8c7a3;
  font-size: 12px;
  text-align: center;
}

.roletinha-resultado-atual {
  min-height: 42px;
  border-radius: 10px;
  border: 1px solid #6f5630;
  background: #24180e;
  padding: 9px 10px;
  color: #f5e7cc;
  font-size: 13px;
  line-height: 1.35;
  text-align: center;
}

.roletinha-resultado-atual.ganhou {
  border-color: rgba(87, 221, 156, 0.7);
  background: rgba(24, 77, 50, 0.52);
  color: #e3ffef;
}

.roletinha-resultado-atual.perdeu {
  border-color: rgba(245, 129, 129, 0.58);
  background: rgba(90, 27, 27, 0.46);
  color: #ffe3e3;
}

.roletinha-historico {
  display: grid;
  gap: 7px;
}

.roletinha-historico-vazio {
  margin: 0;
  color: #ceb98e;
  font-size: 12px;
  text-align: center;
}

.roletinha-historico-item {
  border: 1px solid #6d5431;
  border-radius: 10px;
  background: #20150d;
  padding: 8px 10px;
  font-size: 12px;
  color: #f3e3c4;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  transition: border-color 0.16s ease, background-color 0.16s ease;
}

.roletinha-historico-item:hover {
  border-color: #bf9347;
  background: #2b1c11;
}

.roletinha-historico-item strong {
  color: #ffebb9;
  font-size: 12px;
}

.roletinha-historico-item .ganho {
  color: #34d399;
  font-weight: 800;
}

.roletinha-historico-item .perda {
  color: #fca5a5;
  font-weight: 800;
}

.card-raspadinha-sorte {
  width: min(100%, 420px);
  margin-left: auto;
  margin-right: auto;
  border: 1px solid rgba(76, 199, 130, 0.45);
  background:
    radial-gradient(130% 140% at 0% 0%, rgba(27, 153, 85, 0.22), transparent 52%),
    linear-gradient(180deg, rgba(10, 22, 18, 0.96), rgba(8, 18, 14, 0.98));
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.35);
  overflow: hidden;
}

.raspadinha-topo {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.raspadinha-topo h3 {
  margin: 0;
  color: #e6ffee;
  font-size: 19px;
}

#raspadinhaSaldoInfo {
  color: #b8f5ca;
  font-size: 13px;
}

.raspadinha-aviso-visitante {
  margin: 10px 0 0;
  padding: 9px 10px;
  border-radius: 10px;
  border: 1px solid rgba(120, 223, 160, 0.38);
  background: rgba(40, 113, 69, 0.23);
  color: #dfffe8;
  font-size: 12px;
}

.raspadinha-controles {
  display: grid;
  gap: 9px;
  margin-top: 10px;
}

.raspadinha-controles label {
  color: #d9ffe5;
  font-size: 12px;
  font-weight: 700;
}

.raspadinha-quantidades {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.raspadinha-qtd-btn {
  margin: 0;
  min-height: 40px;
  border-radius: 10px;
  border: 1px solid #2f6448;
  background: #13241c;
  color: #c7f8d8;
  font-size: 13px;
  font-weight: 800;
}

.raspadinha-qtd-btn.ativo {
  border-color: #56d08a;
  background: #1f3d2f;
  color: #ecfff4;
}

#raspadinhaQuantidadeInput {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  margin: 0;
}

.raspadinha-resumo-compra {
  margin: 0;
  color: #bde7cb;
  font-size: 12px;
}

.btn-raspadinha-comprar,
.btn-raspadinha-raspar-todas {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  min-height: 44px;
  margin: 0;
}

.btn-raspadinha-comprar {
  border: 1px solid #5ad893;
  background: linear-gradient(180deg, #1d7f4f, #16633e);
  color: #effff5;
  font-weight: 800;
}

.btn-raspadinha-raspar-todas {
  border: 1px solid #3b7f5d;
  background: #173026;
  color: #d8ffe8;
  font-weight: 700;
}

.raspadinha-status {
  margin: 0;
  min-height: 18px;
  font-size: 12px;
  color: #d4ffe3;
  text-align: center;
}

.raspadinha-tickets {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 7px;
  width: 100%;
}

.raspadinha-tickets-cartela-grande {
  gap: 6px;
}

.raspadinha-ticket {
  position: relative;
  overflow: hidden;
  min-height: 76px;
  margin: 0;
  border-radius: 10px;
  border: 1px solid rgba(80, 143, 107, 0.58);
  background:
    linear-gradient(180deg, rgba(27, 53, 38, 0.98), rgba(10, 23, 17, 0.98));
  color: #e5fff0;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 4px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  padding: 5px 3px;
  transition: transform 0.16s ease, border-color 0.16s ease, filter 0.16s ease;
}

.raspadinha-ticket:hover {
  transform: translateY(-1px);
  border-color: #4fb67d;
}

.raspadinha-ticket-topo {
  font-size: 10px;
  color: #a5d7ba;
  font-weight: 800;
}

.raspadinha-ticket-centro {
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 3px;
  font-size: 10px;
  font-weight: 800;
  text-align: center;
  padding: 0 2px;
  min-width: 0;
}

.raspadinha-simbolo {
  width: 30px;
  height: 30px;
  object-fit: contain;
  display: block;
}

.raspadinha-interrogacao {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(226, 239, 226, 0.14);
  color: #e8fff0;
  font-size: 20px;
  line-height: 1;
}

.raspadinha-ticket-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background:
    repeating-linear-gradient(135deg, rgba(230, 236, 239, 0.96) 0 7px, rgba(171, 183, 195, 0.96) 7px 14px);
  color: #1a2433;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0;
  transition: transform 0.22s ease, opacity 0.22s ease;
}

.raspadinha-ticket.pendente:active .raspadinha-ticket-overlay {
  transform: translateX(-100%);
  opacity: 0;
}

.raspadinha-ticket.ganhou {
  border-color: rgba(99, 244, 157, 0.75);
  background: linear-gradient(180deg, rgba(20, 76, 49, 0.95), rgba(13, 52, 33, 0.95));
}

.raspadinha-ticket.ganhou .raspadinha-ticket-centro {
  color: #c8ffde;
}

.raspadinha-ticket.perdeu {
  border-color: rgba(126, 148, 173, 0.66);
  background: linear-gradient(180deg, rgba(25, 36, 47, 0.95), rgba(17, 25, 35, 0.95));
}

.raspadinha-ticket.revelada-final {
  filter: saturate(0.82);
  opacity: 0.86;
}

.raspadinha-ticket.bonus {
  border-color: rgba(253, 224, 71, 0.42);
}

.raspadinha-ticket.bonus .raspadinha-ticket-overlay {
  background:
    repeating-linear-gradient(135deg, rgba(250, 204, 21, 0.92) 0 7px, rgba(234, 179, 8, 0.92) 7px 14px);
  color: #2b2100;
}

.raspadinha-ticket.ganhou .raspadinha-ticket-overlay,
.raspadinha-ticket.perdeu .raspadinha-ticket-overlay,
.raspadinha-ticket.revelada-final .raspadinha-ticket-overlay {
  transform: translateX(-100%);
  opacity: 0;
}

.raspadinha-historico-bloco {
  margin-top: 12px;
  border-top: 1px solid rgba(98, 171, 128, 0.34);
  padding-top: 10px;
}

.raspadinha-historico-bloco h4 {
  margin: 0 0 8px;
  color: #dcffe9;
  font-size: 14px;
}

.raspadinha-historico-lista {
  display: grid;
  gap: 8px;
}

.raspadinha-historico-item {
  border: 1px solid #2a503b;
  border-radius: 10px;
  background: #11221a;
  padding: 8px 10px;
  display: grid;
  gap: 4px;
}

.raspadinha-historico-item strong {
  font-size: 13px;
  color: #effff4;
}

.raspadinha-historico-item small {
  color: #a6d2b8;
  font-size: 11px;
}

.raspadinha-vazio {
  margin: 0;
  grid-column: 1 / -1;
  text-align: center;
  color: #9ec7b0;
  font-size: 12px;
}

/* Roletinha integrada ao tema escuro do app */
.card-roletinha-sorte {
  border: 1px solid #2a3f5f;
  background: linear-gradient(180deg, #0f1927 0%, #0b1420 100%);
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.35);
  width: min(100%, 420px);
  margin-left: auto;
  margin-right: auto;
}

.card-roletinha-sorte::before,
.card-roletinha-sorte::after {
  display: none;
}

.roletinha-topo {
  justify-content: center;
  text-align: center;
}

.roletinha-topo h3 {
  color: #e8f1ff;
  text-align: center;
}

.roletinha-topo-acoes {
  margin-left: 0;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-roletinha-jogar,
.btn-roletinha-som-toggle,
.btn-roletinha-tabela {
  min-height: 40px;
  width: auto;
  margin: 0;
}

.btn-roletinha-jogar {
  background: linear-gradient(180deg, #2f6af7, #1f4fcc);
  color: #f8fbff;
  box-shadow: 0 10px 20px rgba(47, 106, 247, 0.28);
}

.btn-roletinha-som-toggle {
  border-color: #30507b;
  background: #13243a;
  color: #cde1ff;
}

.btn-roletinha-som-toggle:hover {
  border-color: #4a77b4;
  background: #17304f;
}

.btn-roletinha-som-toggle.desativado {
  color: #9aaac4;
  border-color: #314760;
  background: #132033;
}

.btn-roletinha-tabela {
  padding: 8px 12px;
  border-radius: 10px;
  border: 1px solid #3a5579;
  background: #15253a;
  color: #d4e4ff;
  font-size: 12px;
  font-weight: 700;
}

.btn-roletinha-tabela:hover {
  border-color: #5f82b8;
  background: #1b3351;
}

.roletinha-conteudo {
  width: min(100%, 340px);
  margin: 10px auto 0;
}

.roletinha-aviso-visitante {
  border-color: #6a4f27;
  background: #2d220f;
  color: #f4dfb0;
}

.roletinha-slot-palco {
  border: 1px solid #2c4565;
  background: linear-gradient(180deg, #102035 0%, #0d1a2a 100%);
  border-radius: 16px;
  padding: 10px;
}

.roletinha-slot-topo {
  display: none;
}

.roletinha-slot-viewport-wrap {
  position: relative;
}

.roletinha-slot-viewport {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid #36557d;
  background: #0d1726;
  min-height: 176px;
}

.roletinha-slot-track {
  display: flex;
  align-items: stretch;
  gap: 10px;
  padding: 12px 10px;
  transform: translate3d(0, 0, 0);
}

.roletinha-slot-card {
  flex: 0 0 clamp(132px, 36vw, 168px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  border: 1px solid #2e4a6e;
  border-radius: 14px;
  padding: 10px 8px;
  background: linear-gradient(180deg, #142438 0%, #101d2f 100%);
  box-shadow: 0 7px 16px rgba(0, 0, 0, 0.26);
}

.roletinha-slot-card img {
  width: 74px;
  height: 74px;
  object-fit: contain;
  display: block;
}

.roletinha-slot-card .slot-card-grupo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 22px;
  padding: 0 9px;
  border-radius: 999px;
  background: #203756;
  color: #cfe3ff;
  font-size: 11px;
  font-weight: 800;
}

.roletinha-slot-card .slot-card-nome {
  display: none;
}

.roletinha-slot-card.slot-tipo-zebra .slot-card-grupo {
  background: #4d3508;
  color: #ffd58a;
}

.roletinha-slot-card.slot-tipo-patrao .slot-card-grupo {
  background: #54222f;
  color: #ffc8d6;
}

.roletinha-slot-card.roletinha-slot-vencedor {
  border-color: #5e9dff;
  box-shadow: 0 0 0 2px rgba(94, 157, 255, 0.28), 0 8px 18px rgba(27, 65, 134, 0.24);
}

.roletinha-slot-ponteiro {
  position: absolute;
  left: 50%;
  top: 6px;
  bottom: 6px;
  transform: translateX(-50%);
  width: 4px;
  border-radius: 999px;
  background: linear-gradient(180deg, #ffd166, #f59e0b);
  box-shadow: 0 0 0 2px rgba(21, 32, 47, 0.95), 0 8px 16px rgba(245, 158, 11, 0.35);
  z-index: 2;
  pointer-events: none;
}

.roletinha-slot-destaque {
  margin-top: 8px;
  min-height: 24px;
  border: 1px dashed #375479;
  border-radius: 10px;
  padding: 7px 8px;
  color: #d9e8ff;
  font-size: 12px;
  font-weight: 700;
  text-align: center;
}

.roletinha-escolhas {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  width: min(100%, 320px);
  margin: 0 auto;
  justify-items: center;
}

.roletinha-escolha-item {
  margin: 0;
  width: 100%;
  max-width: 160px;
  min-height: 58px;
  padding: 8px 10px;
  box-sizing: border-box;
  border: 1px solid #345176;
  background: #14263b;
  color: #d6e7ff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  text-align: center;
  white-space: normal;
  border-radius: 12px;
}

.roletinha-escolha-item span {
  font-size: clamp(15px, 4.4vw, 18px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.3px;
}

.roletinha-escolha-item small {
  font-size: clamp(13px, 3.8vw, 17px);
  font-weight: 800;
  color: #a7c3ea;
  line-height: 1;
}

.roletinha-escolha-item:hover {
  border-color: #4f78a8;
}

.roletinha-escolha-item.ativo {
  border-color: #5e9dff;
  background: #1a3454;
  color: #eaf3ff;
  box-shadow: inset 0 0 0 1px rgba(94, 157, 255, 0.25), 0 0 10px rgba(94, 157, 255, 0.18);
}

.roletinha-escolha-item.ativo small {
  color: #d0e5ff;
}

.roletinha-escolha-item.destaque-patrao {
  border-color: #6d3e63;
}

.roletinha-label-valor {
  color: #d3e5ff;
  font-size: 12px;
}

.roletinha-valores-titulo {
  margin: 2px 0 0;
  color: #a9c1e2;
  font-size: 12px;
  text-align: center;
}

.roletinha-valores-rapidos {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  width: 100%;
}

.roletinha-valor-rapido-item {
  margin: 0;
  min-height: 42px;
  border-radius: 10px;
  border: 1px solid #35557c;
  background: #15273d;
  color: #d8e9ff;
  font-size: 12px;
  font-weight: 700;
}

.roletinha-valor-rapido-item.ativo {
  border-color: #5e9dff;
  background: #1f3b5f;
  color: #f4f9ff;
}

#roletinhaValorAposta {
  text-align: center;
}

.btn-roletinha-girar {
  min-height: 54px;
  border-radius: 14px;
  background: linear-gradient(180deg, #f4b840, #df8f12);
  color: #291a00;
  font-size: 17px;
  font-weight: 900;
  box-shadow: 0 12px 22px rgba(223, 143, 18, 0.28);
}

.btn-roletinha-girar:hover {
  filter: brightness(1.03);
}

.roletinha-status {
  color: #b7d2f6;
}

.roletinha-resultado-atual {
  border-color: #38567a;
  background: #101e31;
  color: #e4efff;
}

.roletinha-resultado-atual.ganhou {
  border-color: rgba(52, 211, 153, 0.5);
  background: rgba(7, 54, 39, 0.86);
  color: #ddffee;
}

.roletinha-resultado-atual.perdeu {
  border-color: rgba(252, 165, 165, 0.44);
  background: rgba(73, 21, 21, 0.84);
  color: #ffe5e5;
}

.roletinha-historico-item {
  border-color: #35557b;
  background: #101d2f;
}

.roletinha-historico-item:hover {
  border-color: #4f78a8;
  background: #13243a;
}

.roletinha-historico-item strong {
  color: #e3efff;
}

.roletinha-historico-item .ganho {
  color: #6ee7b7;
}

.roletinha-historico-item .perda {
  color: #fca5a5;
}

.roletinha-tabela-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
}

.roletinha-tabela-overlay {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(0, 0, 0, 0.62);
}

.roletinha-tabela-card {
  position: relative;
  width: min(92vw, 360px);
  max-height: 78vh;
  margin: 9vh auto 0;
  border-radius: 14px;
  border: 1px solid #37547a;
  background: #0f1a29;
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.44);
  padding: 12px;
  overflow: hidden;
}

.roletinha-tabela-topo {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
}

.roletinha-tabela-topo h4 {
  margin: 0;
  color: #e5f0ff;
  font-size: 16px;
}

.roletinha-tabela-fechar {
  width: auto;
  margin: 0;
  min-height: 34px;
  padding: 6px 10px;
  border-radius: 8px;
  border: 1px solid #4a678f;
  background: #15283f;
  color: #d2e5ff;
  font-size: 12px;
  font-weight: 700;
}

.roletinha-tabela-lista {
  max-height: calc(78vh - 78px);
  overflow: auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
}

.roletinha-tabela-item {
  border: 1px solid #314d72;
  border-radius: 8px;
  padding: 7px;
  background: #112236;
  color: #dceaff;
  font-size: 12px;
}

.roletinha-tabela-item strong {
  color: #ffd88f;
}

@keyframes roletinhaGlowPulse {
  0% {
    opacity: 0.72;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.08);
  }
  100% {
    opacity: 0.72;
    transform: scale(1);
  }
}

@keyframes roletinhaCentroFlutuar {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-2px);
  }
  100% {
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .card-roletinha-sorte::before,
  .roletinha-centro {
    animation: none;
  }
}

@media (max-width: 560px) {
  .roletinha-topo-acoes {
    width: 100%;
    justify-content: center;
  }

  .btn-roletinha-som-toggle,
  .btn-roletinha-jogar,
  .btn-roletinha-tabela {
    min-width: 0;
  }

  .roletinha-conteudo {
    width: 100%;
  }
}

@media (max-width: 430px) {
  #cardRoletinhaSorte {
    width: 100%;
    max-width: 420px;
    margin: 0 auto 20px;
    overflow: hidden;
    box-sizing: border-box;
    padding: 12px;
  }

  #cardRoletinhaSorte button,
  #cardRoletinhaSorte input,
  #cardRoletinhaSorte .roletinha-slot-palco,
  #cardRoletinhaSorte .roletinha-slot-viewport,
  #cardRoletinhaSorte .roletinha-escolhas,
  #cardRoletinhaSorte .roletinha-valores-rapidos,
  #cardRoletinhaSorte .roletinha-historico-item,
  #cardRoletinhaSorte .roletinha-resultado-atual {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  #cardRoletinhaSorte button,
  #cardRoletinhaSorte input {
    min-width: 0;
  }

  .roletinha-topo {
    gap: 8px;
  }

  .roletinha-topo-acoes {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    width: 100%;
    margin-left: 0;
  }

  .btn-roletinha-tabela {
    grid-column: 1 / -1;
  }

  .roletinha-conteudo {
    width: 100%;
    max-width: 100%;
    margin: 8px auto 0;
    gap: 8px;
  }

  .roletinha-conteudo > * {
    min-width: 0;
  }

  .roletinha-slot-palco {
    padding: 6px;
    border-radius: 12px;
  }

  .roletinha-slot-viewport {
    min-height: 112px;
  }

  .roletinha-slot-track {
    width: auto;
    max-width: none;
    gap: 10px;
    padding: 6px;
  }

  .roletinha-slot-card {
    width: auto;
    flex: 0 0 clamp(116px, 38vw, 146px);
    max-width: clamp(116px, 38vw, 146px);
    margin: 0;
  }

  .roletinha-slot-card img {
    width: 56px;
    height: 56px;
  }

  .roletinha-slot-destaque {
    margin-top: 6px;
    min-height: 18px;
    padding: 5px 8px;
  }

  .roletinha-escolhas {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    width: 100%;
    margin: 0;
    justify-items: stretch;
  }

  .roletinha-escolha-item {
    min-height: 54px;
    padding: 8px 6px;
  }

  #roletinhaValorAposta {
    width: 100%;
    max-width: 100%;
    border-radius: 12px;
    margin: 0;
  }

  .roletinha-valores-rapidos {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    width: 100%;
  }

  .btn-roletinha-girar {
    width: 100%;
    max-width: 100%;
    margin: 0;
  }

  .roletinha-historico-item {
    min-width: 0;
    flex-wrap: wrap;
  }

  .roletinha-tabela-lista {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    width: 100%;
  }
}

@media (max-width: 360px) {
  .roletinha-escolha-item span {
    font-size: 14px;
  }

  .roletinha-escolha-item small {
    font-size: 12px;
  }
}

.usuario-entrada-inicial button {
  margin-top: 0;
}

.usuario-acoes-publicas {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 8px;
}

.btn-link {
  margin-top: 0;
  background: transparent;
  color: #9fd5ff;
  border: 1px solid #2a4155;
}

.btn-link:hover {
  background: #162534;
}

input,
select {
  display: block;
  width: 100%;
  max-width: none;
  margin: 5px 0;
  padding: 10px;
  border-radius: 6px;
  border: none;
  box-sizing: border-box;
}

#dataResultado {
  width: min(100%, 240px);
  margin: 5px auto 8px auto;
  text-align: center;
}

input[readonly] {
  background: #20303f;
  color: #d1e7ff;
}

button {
  display: block;
  width: 100%;
  max-width: none;
  padding: 10px;
  background: #00c853;
  border: none;
  color: white;
  border-radius: 6px;
  margin: 10px 0 0 0;
  cursor: pointer;
  box-sizing: border-box;
  touch-action: manipulation;
}

.resultados-controles-compactos {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 8px;
  min-width: 0;
}

.filtro-data {
  position: relative;
  display: inline-grid;
  grid-template-columns: 30px minmax(116px, auto) 30px;
  gap: 4px;
  align-items: center;
  flex: 0 0 auto;
  margin: 0;
  padding: 3px;
  border-radius: 8px;
  border: 1px solid #2a4155;
  background: #0f1a24;
}

.controle-resultados-oculto,
.filtro-data-nativo {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

#btnDiaAnterior,
#btnDiaHoje,
#btnDiaProximo {
  height: 30px;
  min-width: 30px;
  margin: 0;
  padding: 0;
  border-radius: 7px;
  font-size: 13px;
  line-height: 1;
}

#btnDiaHoje {
  min-width: 1px;
  font-weight: 700;
}

#filtroPracaResultados {
  margin-bottom: 0;
}

.palpite-grupo-container {
  display: grid;
  gap: 6px;
  margin-top: 5px;
}

.palpite-grupo-selects {
  display: none;
}

.palpite-grupo-slots {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
}

.palpite-grupo-slots.palpite-grupo-slots-qtd-1 {
  grid-template-columns: minmax(0, 1fr);
  max-width: 120px;
  margin: 0 auto;
}

.palpite-grupo-slots.palpite-grupo-slots-qtd-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 240px;
  margin: 0 auto;
}

.palpite-grupo-slots.palpite-grupo-slots-qtd-3 {
  max-width: none;
  margin: 0;
}

.palpite-grupo-slots.palpite-grupo-slots-qtd-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  max-width: none;
  margin: 0;
}

.palpite-grupo-slot {
  margin: 0;
  padding: 6px 6px 8px;
  border-radius: 8px;
  border: 1px solid #00c85344;
  background: #0f1a24;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
}

.palpite-grupo-slot img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  opacity: 0.38;
}

.palpite-grupo-slot.ativo {
  border-color: #00e676;
  box-shadow: 0 0 0 1px #00e67655;
}

.palpite-grupo-slot:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.palpite-grupo-slot-titulo {
  font-size: 11px;
  color: #9fb3c8;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.palpite-grupo-slot-nome {
  font-size: 12px;
  color: #d6e4f2;
  text-align: center;
  min-height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.palpite-grupo-dica {
  margin: 0;
  font-size: 12px;
  color: #9fb3c8;
  text-align: center;
}

.btn-palpite-grupo-editar {
  display: none;
  margin: 0;
  max-width: 220px;
  justify-self: center;
}

.palpite-grupo-editor {
  display: grid;
  gap: 6px;
}

.palpite-grupo-nav {
  display: flex;
  gap: 6px;
}

.btn-palpite-grupo-nav {
  margin: 0;
  padding: 7px 8px;
}

.palpite-grupo-carrossel {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 2px 2px 8px;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 10px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}

.palpite-bicho-card {
  flex: 0 0 86px;
  margin: 0;
  padding: 5px 3px 6px;
  border-radius: 8px;
  border: 1px solid #00c85333;
  background: #13202d;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
  scroll-snap-align: center;
  transition: transform 0.14s ease, border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.palpite-bicho-card img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.palpite-bicho-card-nome {
  font-size: 10px;
  line-height: 1.15;
  text-align: center;
  color: #d8e8f7;
}

.palpite-bicho-card-grupo {
  font-size: 10px;
  color: #9fb3c8;
}

.palpite-bicho-card.selecionado {
  border-color: #ffd60099;
  background: #1f2c18;
}

.palpite-bicho-card.selecionado-ativo {
  border-color: #ffd600;
  box-shadow: 0 0 0 1px #ffd60055;
}

.palpite-bicho-card.toque {
  transform: scale(0.94);
}

.btn-palpite-grupo-limpar {
  margin: 0;
  max-width: 210px;
  justify-self: center;
}

#listaApostas {
  margin-top: 8px;
  display: grid;
  gap: 8px;
}

#listaApostas > p {
  margin: 0;
  font-size: 13px;
  color: #9fb3c8;
  text-align: center;
}

#listaApostasHistorico {
  margin-top: 8px;
  display: grid;
  gap: 8px;
}

#listaApostasHistorico > p {
  margin: 0;
  font-size: 13px;
  color: #9fb3c8;
  text-align: center;
}

#listaApostasHistorico.apostas-unico {
  justify-items: center;
}

#listaApostasHistorico.apostas-unico .aposta-item {
  width: min(100%, 360px);
}

#listaApostas.apostas-unico {
  justify-items: center;
}

#listaApostas.apostas-unico .aposta-item {
  width: min(100%, 360px);
}

.aposta-item {
  background: #0f1a24;
  border: 1px solid #00c85333;
  border-radius: 8px;
  padding: 8px;
  font-size: 14px;
}

.minhas-apostas-bloco {
  margin-top: 14px;
  padding: 10px 10px 8px 10px;
  border-radius: 10px;
  border: 1px solid #00c8533d;
  background: #0c1721;
}

.minhas-apostas-topo {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.minhas-apostas-topo h4 {
  margin: 0;
  font-size: 15px;
  color: #e8fff1;
}

#minhasApostasData {
  font-size: 12px;
  color: #9fb3c8;
  font-weight: 700;
}

.minhas-apostas-resumo {
  margin: 6px 0 2px 0;
  font-size: 12px;
  color: #9fb3c8;
  text-align: left;
}

.historico-apostas-bloco {
  margin-top: 12px;
  padding: 10px 10px 8px 10px;
  border-radius: 10px;
  border: 1px solid #2b4254;
  background: #0a1520;
}

.historico-apostas-topo {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.historico-apostas-topo h4 {
  margin: 0;
  font-size: 15px;
  color: #d9ebff;
}

.historico-apostas-filtros {
  display: flex;
  align-items: center;
  gap: 6px;
}

.historico-apostas-filtros input {
  width: 150px;
  margin: 0;
  padding: 8px 10px;
}

.btn-historico-hoje {
  margin: 0;
  width: auto;
  min-width: 72px;
  padding: 8px 12px;
}

.status-aposta {
  font-weight: bold;
}

.status-pendente {
  color: #fbc02d;
}

.status-verificado {
  color: #00e676;
}

.status-bloqueado {
  color: #ff6b6b;
}

.status-ganhou {
  color: #00e676;
}

.status-perdeu {
  color: #ff6b6b;
}

.box-confirmacao-manual {
  margin-top: 10px;
  padding: 12px;
  border: 1px solid #2b4254;
  border-radius: 10px;
  background: #0f1b27;
}

.box-confirmacao-manual p {
  margin: 0 0 10px 0;
}

.btn-whatsapp-confirmacao {
  margin-top: 0;
  background: #25d366;
  color: #04210f;
  font-weight: 700;
}

.bloco-milhar-brinde {
  margin-top: 10px;
  padding: 11px 12px;
  border: 1px solid #00e676aa;
  border-radius: 12px;
  background: linear-gradient(180deg, #133226 0%, #0f251d 100%);
  box-shadow: 0 0 0 1px #00e67633 inset, 0 0 18px #00e67626;
  animation: milharBrindePulse 1.35s ease-in-out infinite;
}

#cardApostas .bloco-milhar-brinde {
  width: min(100%, 320px);
  margin: 10px auto 0 auto;
  box-sizing: border-box;
}

#cardApostas .bloco-milhar-brinde input,
#cardApostas .bloco-milhar-brinde select {
  width: 100%;
  margin-top: 6px;
}

.loterias-milhar-brinde-lista {
  margin-top: 6px;
}

.bloco-milhar-brinde strong {
  display: block;
  color: #ccffe0;
  margin-bottom: 4px;
  font-weight: 800;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

.bloco-milhar-brinde p {
  margin: 0 0 8px 0;
  color: #e9fff2;
  font-size: 13px;
  font-weight: 700;
}

@keyframes milharBrindePulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 1px #00e67633 inset, 0 0 14px #00e67624;
  }
  50% {
    transform: scale(1.01);
    box-shadow: 0 0 0 1px #00e67666 inset, 0 0 24px #00e6764a;
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 1px #00e67633 inset, 0 0 14px #00e67624;
  }
}

.btn-nav {
  width: auto;
  min-width: 50px;
  margin-top: 0;
}

.btn-hoje {
  min-width: 68px;
}

button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.btn-danger {
  background: #d32f2f;
}

.btn-secondary {
  background: #455a64;
}

.bloco-premiacao-aposta {
  display: grid;
  gap: 4px;
  min-height: 44px;
  align-items: center;
  justify-items: center;
  border-radius: 8px;
  border: 1px solid #2a4155;
  background: #101b26;
  padding: 8px 10px;
}

#cardApostas #blocoPremiacaoAposta {
  width: min(100%, 320px);
  margin: 4px auto 0 auto;
}

.bloco-premiacao-aposta.ativa {
  border-color: #ffd60088;
  background: linear-gradient(160deg, #18231a 0%, #203128 100%);
  box-shadow: 0 0 0 1px #ffd60033;
}

.acoes-bilhete-aposta {
  margin-top: 8px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

.acoes-bilhete-aposta button {
  margin: 0;
  width: 100%;
}

#cardApostas .acoes-bilhete-aposta {
  width: min(100%, 320px);
  margin: 8px auto 0 auto;
}

.bilhete-rascunho-aposta {
  margin-top: 8px;
  padding: 8px;
  border-radius: 8px;
  border: 1px solid #00c85344;
  background: #0f1a24;
}

#cardApostas .bilhete-rascunho-aposta {
  width: min(100%, 320px);
  margin: 8px auto 0 auto;
  box-sizing: border-box;
}

.resumo-bilhete-rascunho {
  margin: 6px 0 0 0;
  font-size: 13px;
  color: #9fd5ff;
}

.lista-bilhete-rascunho {
  display: grid;
  gap: 6px;
}

.item-bilhete-rascunho {
  background: #13202d;
  border: 1px solid #2a4155;
  border-radius: 6px;
  padding: 6px;
  font-size: 12px;
  line-height: 1.35;
  display: grid;
  gap: 4px;
}

.item-bilhete-rascunho-topo {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.acoes-item-bilhete-rascunho {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.item-bilhete-rascunho strong {
  color: #e8f3ff;
}

.valor-aposta-bilhete-criacao {
  display: inline-block;
  padding: 1px 8px;
  border-radius: 999px;
  background: #ffd54f;
  color: #1d1400;
  font-weight: 900;
}

.bilhete-linha-palpite-grupo {
  text-align: center;
}

.btn-remover-rascunho {
  margin: 0;
  width: auto;
  min-width: auto;
  min-height: 28px;
  padding: 4px 9px;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-editar-rascunho {
  margin: 0;
  width: auto;
  min-width: auto;
  min-height: 28px;
  padding: 4px 9px;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

#destaquePremiacaoAposta {
  margin: 0;
  min-height: 24px;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.25;
  color: #ffd600;
  text-align: center;
  opacity: 0;
  transform: translateY(2px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

#destaquePremiacaoAposta.ativo {
  opacity: 1;
  transform: translateY(0);
  animation: destaque-premio-pulse 1.4s ease-in-out infinite;
}

@keyframes destaque-premio-pulse {
  0%,
  100% {
    text-shadow: 0 0 0 rgba(255, 214, 0, 0);
  }
  50% {
    text-shadow: 0 0 10px rgba(255, 214, 0, 0.42);
  }
}

#multiplicadoresStatus {
  margin: 8px 0 0;
  color: #9fb3c8;
  font-size: 13px;
}

#usuarioStatus {
  margin: 8px 0 0;
  color: #9fb3c8;
  font-size: 13px;
}

#statusDepositoUsuario {
  margin: 6px 0 0;
  color: #9fb3c8;
  font-size: 13px;
}

#limitesApostaStatus {
  margin: 8px 0 0;
  color: #9fb3c8;
  font-size: 13px;
}

.resumo-painel-admin {
  margin: 8px 0 10px;
  color: #9fb3c8;
  font-size: 13px;
}

.painel-admin-listas {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.painel-admin-bloco {
  background: linear-gradient(180deg, rgba(18, 30, 47, 0.92), rgba(14, 24, 36, 0.94));
  border: 1px solid rgba(86, 114, 149, 0.45);
  border-radius: 12px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.16);
  padding: 12px;
}

.painel-admin-bloco h4 {
  margin: 0 0 8px;
  color: #d9e8fb;
  font-size: 14px;
}

.lista-admin-scroll {
  max-height: 240px;
  overflow: auto;
  display: grid;
  gap: 6px;
}

.item-admin-linha {
  background: rgba(20, 33, 50, 0.92);
  border: 1px solid rgba(86, 114, 149, 0.42);
  border-radius: 10px;
  padding: 8px;
  font-size: 12px;
  line-height: 1.4;
}

.item-admin-linha b {
  color: #e8f3ff;
}

#infoLimitesAposta,
#cronometroAposta {
  margin: 6px 0 0;
  color: #9fb3c8;
  font-size: 13px;
}

.resumo-saldo-aposta {
  width: min(100%, 320px);
  margin: 8px auto 0;
  padding: 10px;
  border-radius: 12px;
  border: 1px solid rgba(86, 114, 149, 0.52);
  background: linear-gradient(180deg, rgba(18, 30, 47, 0.94), rgba(14, 24, 36, 0.96));
  color: #d8e8f7;
  font-size: 12px;
  line-height: 1.35;
}

.resumo-saldo-aposta div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 3px 0;
}

.resumo-saldo-aposta span {
  color: #9fb3c8;
}

.resumo-saldo-aposta strong {
  color: #eefff6;
  font-size: 13px;
}

.resumo-saldo-aposta p {
  margin: 8px 0 0;
  color: #ffe082;
  font-weight: 800;
}

.resumo-saldo-aposta.saldo-suficiente {
  border-color: rgba(0, 230, 118, 0.32);
}

.resumo-saldo-aposta.saldo-insuficiente {
  border-color: rgba(255, 193, 7, 0.58);
  background: linear-gradient(180deg, rgba(58, 42, 11, 0.94), rgba(35, 27, 12, 0.96));
}

.resumo-saldo-aposta.saldo-insuficiente strong {
  color: #ffd54f;
}

.aviso-simulacao-visitante {
  width: min(100%, 320px);
  margin: 6px auto 10px;
  padding: 9px 10px;
  border-radius: 10px;
  border: 1px solid rgba(86, 114, 149, 0.46);
  background: rgba(18, 30, 47, 0.8);
  color: #cfe1f7;
  font-size: 12px;
  line-height: 1.4;
  text-align: center;
}

.painel-bloqueio-confirmacao-aposta {
  width: min(100%, 320px);
  margin: 8px auto 0;
  padding: 10px;
  border-radius: 12px;
  border: 1px solid rgba(86, 114, 149, 0.52);
  background: linear-gradient(180deg, rgba(18, 30, 47, 0.94), rgba(14, 24, 36, 0.96));
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.16);
  text-align: left;
}

.painel-bloqueio-confirmacao-aposta p {
  margin: 0;
  color: #e7f0ff;
  font-size: 13px;
  line-height: 1.35;
}

.painel-bloqueio-confirmacao-aposta-acoes {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.painel-bloqueio-confirmacao-aposta-acoes button {
  width: auto;
  flex: 1 1 132px;
  margin: 0;
}

.linha-carteira-aposta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 6px 0 8px 0;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid #00c85366;
  background: #0f1a24;
}

.rotulo-carteira-aposta {
  font-size: 13px;
  color: #9fb3c8;
}

#saldoUsuarioAposta {
  display: inline-block;
  min-width: 96px;
  text-align: center;
  font-size: 16px;
  letter-spacing: 0.2px;
  color: #ffd600;
}

.loterias-aposta-bloco {
  width: min(100%, 360px);
  margin: 6px auto 4px auto;
  padding: 8px;
  border-radius: 8px;
  border: 1px solid #00c85333;
  background: #0f1a24;
}

.loterias-aposta-bloco.loterias-aposta-bloco-destaque {
  border-color: #00e67688;
  box-shadow: 0 0 0 1px #00e67633, 0 0 14px #00e6762e;
  animation: passoLoteriaPulso 1.8s ease-in-out infinite;
}

.loterias-aposta-topo {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 6px;
}

.rotulo-loterias-aposta {
  font-size: 13px;
  color: #9fb3c8;
  font-weight: 700;
}

.loterias-aposta-lista {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
}

.loterias-aposta-lista.loterias-aposta-lista-pracas {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  justify-content: stretch;
}

.loterias-praca-grupo {
  width: 100%;
}

.loterias-praca-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  width: 100%;
  min-height: 52px;
  gap: 8px;
  margin: 0;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid #2a4155;
  background: #13202d;
  color: #d6e4f2;
  cursor: pointer;
  text-align: left;
}

.loterias-praca-card.ativa {
  border-color: #00e67688;
  background: #142c25;
}

.loterias-praca-card:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.loterias-praca-card-titulo {
  min-width: 0;
  font-size: 14px;
  font-weight: 800;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.loterias-praca-card-meta {
  font-size: 11px;
  font-weight: 800;
  color: #9fb3c8;
  white-space: nowrap;
}

.loterias-praca-painel {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
  margin-top: 7px;
  padding: 8px;
  border: 1px solid #22384b;
  border-radius: 8px;
  background: #0b151f;
}

.loterias-aposta-horario {
  flex: 0 0 100%;
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 5px 0 0;
  color: #9fb3c8;
  font-size: 11px;
  font-weight: 800;
}

.loterias-aposta-horario::before,
.loterias-aposta-horario::after {
  content: "";
  flex: 1;
  height: 1px;
  background: #24384a;
}

.loterias-aposta-horario span {
  padding: 2px 7px;
  border-radius: 999px;
  border: 1px solid #2a4155;
  background: #101c27;
}

.loteria-aposta-opcao {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  max-width: none;
  margin: 0;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid #2a4155;
  background: #13202d;
  color: #d6e4f2;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  min-height: 38px;
}

.loterias-praca-painel .loteria-aposta-opcao {
  flex-direction: column;
}

.loteria-aposta-opcao-nome {
  line-height: 1.15;
}

.loteria-aposta-opcao-detalhe {
  margin-top: 2px;
  color: #9fb3c8;
  font-size: 10px;
  font-weight: 800;
  line-height: 1.15;
}

.loterias-aposta-lista-destaque .loteria-aposta-opcao.sugerida-passo {
  animation: loteriaOpcaoPulso 1.6s ease-in-out infinite;
  animation-delay: var(--loteria-step-delay, 0s);
}

.loterias-aposta-lista-destaque .loterias-praca-card.sugerida-passo {
  animation: loteriaOpcaoPulso 1.6s ease-in-out infinite;
  animation-delay: var(--loteria-step-delay, 0s);
}

.loteria-aposta-opcao.ativa {
  border-color: #00e676;
  background: #00c853;
  color: #062312;
}

.loteria-aposta-opcao.ativa .loteria-aposta-opcao-detalhe {
  color: #07391b;
}

.loteria-aposta-opcao:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.loteria-aposta-vazia {
  font-size: 12px;
  color: #9fb3c8;
}

.loterias-aposta-resumo {
  margin: 6px 0 0;
  font-size: 12px;
  color: #9fb3c8;
  text-align: center;
}

.loterias-aposta-resumo.passo-loteria-destaque {
  color: #00e676;
  font-weight: 700;
}

#cardApostas .etapa-aposta-ativa {
  position: relative;
  box-shadow: 0 0 0 1px #ffd54f55, 0 0 14px #ffd54f2d;
  animation: etapaApostaPulso 1.45s ease-in-out infinite;
}

#cardApostas #tipoAposta.etapa-aposta-ativa,
#cardApostas #palpiteAposta.etapa-aposta-ativa,
#cardApostas #valorAposta.etapa-aposta-ativa,
#cardApostas .acoes-bilhete-aposta button.etapa-aposta-ativa,
#cardApostas > button[onclick="salvarAposta()"].etapa-aposta-ativa {
  border-color: #ffd54f;
}

#cardApostas > button[onclick="salvarAposta()"].botao-salvar-aposta-pronto {
  box-shadow: 0 0 0 1px #00e67666;
  animation: salvarBilhetePronto 1.4s ease-in-out 2;
}

@keyframes passoLoteriaPulso {
  0%,
  100% {
    box-shadow: 0 0 0 1px #00e67622, 0 0 0 #00e67600;
  }
  50% {
    box-shadow: 0 0 0 1px #00e67666, 0 0 16px #00e6763d;
  }
}

@keyframes loteriaOpcaoPulso {
  0%,
  100% {
    transform: translateY(0);
    border-color: #2a4155;
  }
  50% {
    transform: translateY(-1px);
    border-color: #00e67688;
  }
}

@keyframes etapaApostaPulso {
  0%,
  100% {
    box-shadow: 0 0 0 1px #ffd54f33, 0 0 0 #ffd54f00;
  }
  50% {
    box-shadow: 0 0 0 1px #ffd54faa, 0 0 16px #ffd54f42;
  }
}

@keyframes salvarBilhetePronto {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.01);
  }
}

@media (prefers-reduced-motion: reduce) {
  .loterias-aposta-bloco.loterias-aposta-bloco-destaque,
  .loterias-aposta-lista-destaque .loteria-aposta-opcao.sugerida-passo,
  .loterias-aposta-lista-destaque .loterias-praca-card.sugerida-passo,
  .btn-aposte-agora-cta,
  #cardApostas .etapa-aposta-ativa,
  #cardApostas > button[onclick="salvarAposta()"].botao-salvar-aposta-pronto {
    animation: none;
  }
}

#cardApostas #tipoAposta,
#cardApostas #subtipoDuplaGrupo,
#cardApostas #subtipoTernoGrupo,
#cardApostas #subtipoNumericoAposta,
#cardApostas #palpiteAposta,
#cardApostas #valorAposta {
  width: min(100%, 320px);
  margin: 4px auto;
  text-align: center;
}

#cardApostas #palpiteGrupoContainer,
#cardApostas #blocoPremiacaoAposta,
#cardApostas .acoes-bilhete-aposta,
#cardApostas #bilheteRascunhoAposta,
#cardApostas .loterias-aposta-bloco,
#cardApostas .linha-praca-fixa,
#cardApostas #painelBloqueioConfirmacaoAposta,
#cardApostas #infoLimitesAposta,
#cardApostas #cronometroAposta,
#cardApostas > button[onclick="salvarAposta()"] {
  width: min(100%, 320px);
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}

#cardApostas #etapaModalidadeAposta,
#cardApostas #etapaOpcoesAposta,
#cardApostas #etapaValorAposta,
#cardApostas #etapaTipoValorAposta,
#cardApostas #etapaMontagemAposta,
#cardApostas #etapaLoteriasAposta,
#cardApostas #etapaResumoAposta {
  width: min(100%, 320px);
  box-sizing: border-box;
}

#cardApostas .aposta-campo-titulo {
  width: min(100%, 320px);
  margin: 10px auto 6px;
  color: #d6e7fb;
  font-size: 13px;
  font-weight: 800;
  text-align: left;
}

#cardApostas .aposta-campo-titulo-palpite-numerico {
  display: none;
}

.btn-aposte-agora-cta {
  display: none;
  width: min(100%, 320px);
  margin: 10px auto 8px;
  padding: 11px 14px;
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 0.2px;
  color: #052312;
  background: linear-gradient(180deg, #00f07a 0%, #00c853 100%);
  border: 1px solid #00e676;
  box-shadow: 0 8px 20px #00e67644;
  animation: ctaApostaPulso 1.8s ease-in-out infinite;
}

.botao-bloqueado-saldo {
  opacity: 0.58;
  cursor: not-allowed;
}

#cardApostas.modo-aposta-cta .btn-aposte-agora-cta {
  display: block;
}

#cardApostas.modo-aposta-cta #etapaModalidadeAposta,
#cardApostas.modo-aposta-cta #etapaOpcoesAposta,
#cardApostas.modo-aposta-cta #etapaValorAposta,
#cardApostas.modo-aposta-cta #etapaTipoValorAposta,
#cardApostas.modo-aposta-cta #etapaMontagemAposta,
#cardApostas.modo-aposta-cta #etapaLoteriasAposta,
#cardApostas.modo-aposta-cta #etapaResumoAposta,
#cardApostas.modo-aposta-cta .linha-praca-fixa,
#cardApostas.modo-aposta-cta #tipoAposta,
#cardApostas.modo-aposta-cta #subtipoDuplaGrupo,
#cardApostas.modo-aposta-cta #subtipoTernoGrupo,
#cardApostas.modo-aposta-cta #subtipoNumericoAposta,
#cardApostas.modo-aposta-cta #palpiteGrupoContainer,
#cardApostas.modo-aposta-cta #palpiteAposta,
#cardApostas.modo-aposta-cta #valorAposta,
#cardApostas.modo-aposta-cta #blocoPremiacaoAposta,
#cardApostas.modo-aposta-cta .acoes-bilhete-aposta,
#cardApostas.modo-aposta-cta #bilheteRascunhoAposta,
#cardApostas.modo-aposta-cta .loterias-aposta-bloco,
#cardApostas.modo-aposta-cta #infoLimitesAposta,
#cardApostas.modo-aposta-cta #cronometroAposta,
#cardApostas.modo-aposta-cta > button[onclick="salvarAposta()"] {
  display: none !important;
}

@keyframes ctaApostaPulso {
  0%,
  100% {
    transform: translateY(0);
    box-shadow: 0 8px 20px #00e67633;
  }
  50% {
    transform: translateY(-1px);
    box-shadow: 0 10px 24px #00e67666;
  }
}

#cardApostas .linha-praca-fixa {
  margin: 6px auto 8px auto;
  padding: 8px 10px;
}

#cronometroAposta.cronometro-encerrado {
  color: #ff6b6b;
}

#cronometroAposta.cronometro-aberto {
  color: #00e676;
}

.aviso-apostas-encerradas {
  width: min(100%, 920px);
  margin: 16px auto 8px auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid #ff6b6b88;
  background: #2a1318;
  color: #ff9ea9;
  font-size: 17px;
  font-weight: 800;
  text-align: center;
  letter-spacing: 0.2px;
  text-transform: uppercase;
}

.cronometro-resultado {
  margin: 6px 0 2px;
  font-size: 12px;
  font-weight: 700;
  color: #9fb3c8;
  text-align: center;
  letter-spacing: 0.2px;
}

.cronometro-resultado.cronometro-sorteio-aberto {
  color: #00e676;
}

.cronometro-resultado.cronometro-sorteio-encerrado {
  color: #ffd54f;
}

#listaApostas .acoes-aposta {
  margin-top: 8px;
}

.linha-cronometro {
  margin-top: 4px;
  font-size: 13px;
  color: #9fb3c8;
}

.linha-horario-aposta {
  margin-top: 2px;
  font-size: 12px;
  color: #9fb3c8;
}

.valor-potencial-destaque {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 999px;
  background: #00e676;
  color: #062312;
  font-weight: 700;
}

.palpite-premiado {
  color: #00e676;
  font-weight: 800;
  text-shadow: 0 0 10px #00e67666;
}

.valor-aposta-premiada {
  color: #00e676;
  font-weight: 800;
}

.btn-inline {
  width: auto;
  margin-top: 0;
  padding: 6px 10px;
  font-size: 12px;
}

.acao-admin {
  display: none !important;
}

body.admin-logado .acao-admin {
  display: block !important;
}

#resumoData {
  margin: 0;
  min-height: 30px;
  min-width: 132px;
  padding: 0 8px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #e8f3ff;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.1;
  text-align: center;
  white-space: nowrap;
}

.navegacao-resultados {
  display: none;
  justify-content: space-between;
  gap: 8px;
  margin: 0 0 10px 0;
}

.btn-nav-horizontal {
  width: 100%;
  flex: 1;
  margin: 0;
  min-height: 42px;
  padding: 9px 10px;
  border-radius: 9px;
}

.linha-praca-fixa-filtro {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  display: flex;
  align-items: center;
  gap: 0;
  flex: 1 1 auto;
}

.linha-praca-fixa-filtro label {
  margin: 0;
}

.linha-praca-fixa-filtro select {
  margin: 0;
  width: 100%;
}

.chips-praca-resultados {
  display: flex;
  align-items: center;
  gap: 5px;
  min-width: 0;
  width: 100%;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
}

.chips-praca-resultados::-webkit-scrollbar {
  display: none;
}

.chip-praca-resultado {
  flex: 0 0 auto;
  width: auto;
  min-height: 28px;
  min-width: 0;
  margin: 0;
  padding: 5px 9px;
  border-radius: 999px;
  border: 1px solid #2f4a62;
  background: #101d29;
  color: #b8cce0;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
}

.chip-praca-resultado.ativo {
  border-color: #00e676;
  background: #113323;
  color: #dfffe9;
}

@keyframes aviso-bingo-pulso {
  0%,
  100% {
    transform: translateY(0);
    box-shadow: 0 0 0 rgba(0, 200, 83, 0);
  }
  50% {
    transform: translateY(-1px);
    box-shadow: 0 0 18px rgba(0, 230, 118, 0.2);
  }
}

.aviso-bingo-breve {
  width: min(100%, 920px);
  margin: 16px auto 8px auto;
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid #00e67688;
  background: linear-gradient(120deg, #112233 0%, #0f1a24 45%, #153d22 100%);
  text-align: center;
  animation: aviso-bingo-pulso 1.8s ease-in-out infinite;
}

.aviso-bingo-breve p {
  margin: 0;
  color: #e8fff1;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 0.2px;
  text-transform: uppercase;
}

.card-apostas > button {
  width: 220px;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.topo-card-apostas {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(100%, 320px);
  gap: 6px;
  margin: 6px auto 8px auto;
}

.topo-card-apostas h3 {
  margin: 0;
}

.linha-praca-fixa {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 6px 0 8px 0;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(86, 114, 149, 0.45);
  background: linear-gradient(180deg, rgba(18, 30, 47, 0.92), rgba(14, 24, 36, 0.94));
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.16);
}

.rotulo-praca-fixa {
  font-size: 13px;
  color: #9fb3c8;
}

.linha-praca-fixa-filtro {
  margin-top: 0;
}

.select-praca-oculta {
  display: none !important;
}

#dataApostaAtual {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 86px;
  padding: 3px 9px;
  text-align: center;
  font-size: 14px;
  border-radius: 999px;
  border: 1px solid #00c85355;
  background: #0f1a24;
  letter-spacing: 0.4px;
  color: #00e676;
}

/* RESULTADOS */

#resultados {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 8px;
  align-items: stretch;
  overflow: visible;
  padding: 2px 2px 8px;
}

#resultados.resultados-por-praca {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 8px;
  align-items: stretch;
  overflow: visible;
  padding: 2px 2px 8px;
}

.resultados-praca-secao {
  display: contents;
}

.resultados-praca-titulo {
  display: none;
}

.resultados-praca-grid {
  display: contents;
}

#resultados.resultados-por-praca .resultado-card {
  min-width: auto;
  width: auto;
}

#resultados.resultados-unico {
  grid-template-columns: minmax(0, 320px);
  justify-content: center;
}

#resultados > p {
  min-width: 100%;
}

.resultado-card {
  background: linear-gradient(180deg, rgba(18, 30, 47, 0.94), rgba(14, 24, 36, 0.96));
  border-radius: 14px;
  padding: 10px 9px 9px;
  border: 1px solid rgba(92, 126, 166, 0.5);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
  scroll-snap-align: start;
  text-align: center;
  display: flex;
  flex-direction: column;
}

.resultado-card ol {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
}

.resultado-card ol li {
  min-height: 30px;
  padding: 6px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
  color: #e6f0fb;
  font-size: 12px;
  line-height: 1.25;
}

.resultado-card-maluquinha {
  margin-top: -4px;
  border-color: rgba(255, 214, 102, 0.44);
  background: linear-gradient(180deg, rgba(42, 35, 19, 0.94), rgba(20, 24, 34, 0.96));
}

.resultado-card-maluquinha h4::before {
  content: "Maluquinha";
  display: block;
  margin-bottom: 3px;
  color: #ffd166;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.resultado-card.resultado-card-grupo,
.resultado-card.resultado-card-comparativo,
.resultado-card.resultado-card-loteria {
  text-align: left;
  gap: 0;
}

.resultado-card.resultado-card-loteria {
  padding: 7px;
  border-radius: 10px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);
}

.resultado-card-comparativo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.coluna-loteria {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.resultado-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 4px;
  padding-bottom: 7px;
  border-bottom: 1px solid rgba(0, 230, 118, 0.2);
}

.resultado-card-header-data {
  color: #e8f3ff;
  font-weight: 700;
  font-size: 13px;
}

.resultado-card-header-praca {
  color: #9fb6ca;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.mini-resultado {
  padding: 9px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.resultado-card-comparativo .mini-resultado {
  border-bottom: none;
  border: 1px solid rgba(119, 152, 187, 0.4);
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(17, 29, 45, 0.96), rgba(13, 23, 35, 0.96));
  padding: 8px;
}

.resultado-card-loteria .mini-resultado {
  padding: 0;
  border: 0;
  background: transparent;
}

.mini-resultado:last-child {
  border-bottom: none;
  padding-bottom: 2px;
}

.resultado-card-loteria .mini-resultado:last-child {
  padding-bottom: 0;
}

.resultado-card-comparativo .mini-resultado:last-child {
  padding-bottom: 8px;
}

.mini-resultado-maluquinha {
  opacity: 0.96;
  font-size: 0.92em;
}

.resultado-card-loteria .mini-resultado-maluquinha {
  margin-top: 6px;
  padding-top: 6px;
  border-top: 1px dashed rgba(255, 209, 102, 0.34);
}

.mini-resultado-maluquinha .mini-resultado-loteria {
  color: #c4d8f1;
}

.resultado-card-comparativo .mini-resultado-proxima-aposta {
  border-color: rgba(255, 211, 93, 0.72);
  box-shadow: 0 0 0 1px rgba(255, 211, 93, 0.18), 0 8px 18px rgba(0, 0, 0, 0.22);
}

.resultado-card-loteria.resultado-card-ativo {
  border-color: rgba(255, 211, 93, 0.78);
  box-shadow: 0 0 0 1px rgba(255, 211, 93, 0.2), 0 10px 22px rgba(0, 0, 0, 0.24);
}

.resultado-card-loteria-disponivel {
  border-color: rgba(0, 230, 118, 0.48);
}

.resultado-card-loteria-disponivel .resultado-pendente {
  color: #00e676;
  font-weight: 800;
}

.resultado-card-loteria-aguardando {
  border-color: rgba(255, 213, 79, 0.32);
}

.resultado-card-loteria-aguardando .resultado-pendente {
  color: #ffd54f;
  font-weight: 800;
}

.resultado-card-loteria .mini-resultado-proxima-aposta .mini-resultado-loteria::before {
  content: "Próxima aposta";
  display: block;
  margin-bottom: 2px;
  color: #ffd35d;
  font-size: 9.5px;
  font-weight: 800;
  text-transform: uppercase;
}

.mini-resultado-proxima-aposta .mini-resultado-horario {
  color: #ffd35d;
  background: rgba(255, 211, 93, 0.13);
  border: 1px solid rgba(255, 211, 93, 0.42);
  border-radius: 999px;
  padding: 2px 7px;
}

.mini-resultado-topo {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 6px;
  margin-bottom: 5px;
}

.mini-resultado-loteria {
  min-width: 0;
  color: #d6e7fb;
  font-size: 12.5px;
  font-weight: 800;
  line-height: 1.15;
}

.mini-resultado-topo-direita {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}

.mini-resultado-selo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1px 6px;
  border-radius: 999px;
  border: 1px solid rgba(151, 184, 228, 0.45);
  background: rgba(67, 100, 143, 0.22);
  color: #d7e9ff;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.2px;
  white-space: nowrap;
}

.mini-resultado-horario {
  color: #8fd0ff;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}

.mini-resultado-data {
  color: #9fb6ca;
  font-size: 10.5px;
  font-weight: 700;
  white-space: nowrap;
}

.mini-resultado-status {
  margin: 4px 0 6px;
  color: #9fb6ca;
  font-size: 11px;
}

.mini-resultado-premios {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2px;
}

.linha-premio {
  display: grid;
  grid-template-columns: 24px minmax(0, 58px) minmax(0, 1fr) 26px;
  align-items: center;
  column-gap: 5px;
  color: #e6f1ff;
  font-size: 12.5px;
  line-height: 1.15;
  min-height: 27px;
  padding: 2px 4px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.035);
}

.linha-premio-posicao {
  color: #8fb2d8;
  font-weight: 700;
  min-width: 0;
  white-space: nowrap;
}

.linha-premio-numero {
  font-weight: 700;
  letter-spacing: 0.3px;
  white-space: nowrap;
}

.linha-premio-bicho {
  min-width: 0;
  text-align: left;
  overflow: visible;
  white-space: nowrap;
  text-overflow: unset;
}

.linha-premio-img {
  width: 24px;
  height: 24px;
  object-fit: contain;
  border-radius: 6px;
  justify-self: end;
  flex-shrink: 0;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.25));
}

@media (min-width: 768px) {
  .linha-premio {
    grid-template-columns: 24px minmax(0, 62px) minmax(0, 1fr) 28px;
  }

  .linha-premio-img {
    width: 26px;
    height: 26px;
  }
}

.mini-resultado-toggle {
  margin-top: 5px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #ffd76a;
  font-size: 11.5px;
  font-weight: 700;
  cursor: pointer;
}

.mini-resultado-extra {
  display: none;
  margin-top: 4px;
  padding-top: 4px;
  border-top: 1px dashed rgba(143, 176, 214, 0.35);
}

.mini-resultado-extra.aberto {
  display: grid;
  gap: 3px;
}

.resultado-card-grupo .resultado-pendente-bloco,
.resultado-card-comparativo .resultado-pendente-bloco,
.resultado-card-loteria .resultado-pendente-bloco {
  min-height: auto;
  align-items: flex-start;
}

.resultado-card-grupo .resultado-chamada-aposta,
.resultado-card-comparativo .resultado-chamada-aposta,
.resultado-card-loteria .resultado-chamada-aposta {
  margin-left: 0;
}

.acao-admin-mini {
  align-self: flex-start;
  margin-top: 6px;
}

@media (max-width: 380px) {
  .resultado-card-comparativo-grid {
    grid-template-columns: 1fr;
  }
}

.resultado-titulo {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(0, 230, 118, 0.2);
  color: #00e676;
  font-weight: 700;
  font-size: 13px;
  line-height: 1.2;
  text-align: left;
}

.resultado-loteria {
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.resultado-data {
  flex-shrink: 0;
  white-space: nowrap;
  color: #c8d6e3;
  font-size: 12px;
  font-weight: 600;
}

.resultado-pendente {
  margin: 4px 0 2px;
  color: #9fb3c8;
  font-size: 12px;
}

.resultado-pendente-bloco {
  min-height: 108px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.resultado-chamada-aposta {
  margin: 2px 0 4px;
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 2px 8px;
  border: 0;
  background: transparent;
  color: #ffd600;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  animation: aposta-agora-pulse 1.15s ease-in-out infinite;
  cursor: pointer;
}

@keyframes aposta-agora-pulse {
  0% {
    transform: translateY(0) scale(1);
    text-shadow: 0 0 0 rgba(255, 214, 0, 0);
  }
  50% {
    transform: translateY(-2px) scale(1.06);
    text-shadow: 0 0 10px rgba(255, 214, 0, 0.4);
  }
  100% {
    transform: translateY(0) scale(1);
    text-shadow: 0 0 0 rgba(255, 214, 0, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .resultado-chamada-aposta {
    animation: none;
  }
}

.premio {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) 28px;
  align-items: center;
  gap: 8px;
  background: linear-gradient(180deg, rgba(18, 33, 48, 0.98), rgba(14, 26, 38, 0.98));
  margin-bottom: 6px;
  padding: 8px 6px;
  border-radius: 11px;
  border: 1px solid rgba(92, 126, 166, 0.35);
  min-height: 116px;
}

.premio::after {
  content: "";
  width: 28px;
}

.premio img {
  width: 112px;
  height: 112px;
  display: block;
  object-fit: contain;
  object-position: center;
  border-radius: 9px;
  filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.25));
}

.premio-bicho {
  grid-column: 2;
  justify-self: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.premio-numero {
  font-size: 24px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.3px;
}

.posicao {
  grid-column: 1;
  min-width: 28px;
  text-align: center;
  font-size: 14px;
  font-weight: 700;
  color: #00e676;
  opacity: 1;
}

.rodape-site {
  margin-top: 8px;
  background: linear-gradient(180deg, #081018 0%, #09131f 100%);
  border-top: 1px solid #00c85355;
  border-bottom: 1px solid #00c85333;
}

.rodape-conteudo {
  width: min(100%, 1100px);
  margin: 0 auto;
  padding: 32px 20px 26px 20px;
  box-sizing: border-box;
}

.rodape-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.rodape-coluna {
  display: grid;
  gap: 10px;
}

.rodape-coluna h4 {
  margin: 0 0 6px 0;
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 14px;
  color: #00e6a8;
}

.rodape-coluna a {
  color: #d9e8dc;
  text-decoration: none;
  font-size: 18px;
  line-height: 1.35;
}

.rodape-coluna a:hover {
  color: #00e676;
}

.rodape-divisor {
  height: 1px;
  background: #00c85355;
  margin: 26px 0;
}

.rodape-selos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.rodape-selo-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: linear-gradient(160deg, #161c38 0%, #131c32 100%);
  border: 1px solid #3f4fcf66;
  border-radius: 16px;
  padding: 14px 16px;
}

.rodape-selo-card strong {
  display: block;
  font-size: 30px;
  line-height: 1.1;
  margin-bottom: 4px;
}

.rodape-selo-card p {
  margin: 0;
  color: #d2deff;
  font-size: 14px;
  line-height: 1.35;
}

.selo-idade,
.selo-certificado {
  width: 62px;
  height: 62px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  flex-shrink: 0;
}

.selo-idade {
  border: 5px solid #f44336;
  color: #ffffff;
  font-size: 22px;
}

.selo-certificado {
  border: 4px solid #ffd54f;
  color: #ffd54f;
  font-size: 17px;
}

.rodape-base {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
}

.rodape-texto p {
  margin: 0;
  color: #d9e8dc;
  font-size: 16px;
  line-height: 1.45;
}

.rodape-redes {
  display: flex;
  align-items: center;
  gap: 12px;
}

.rodape-redes a {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid #00c85388;
  color: #e7fff2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  background: #122230;
}

.rodape-redes a:hover {
  border-color: #00e676;
  color: #00e676;
}

@media (max-width: 1024px) {
  #resultados {
    grid-auto-columns: calc((100% - 18px) / 4);
    gap: 6px;
  }
}

@media (max-width: 820px) {
  .modalidades-grid-aposta {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .modalidade-card-aposta {
    min-height: 72px;
    font-size: 12px;
  }

  .modalidades-grid-aposta.modo-foco-modalidade .modalidade-card-aposta.ativa {
    min-height: 56px;
  }

  .btn-trocar-modalidade-aposta {
    font-size: 10px;
    padding: 5px 9px;
  }

  #btnConfirmarApostaPrincipal {
    display: none;
  }

  .resumo-fixo-aposta-mobile {
    display: flex;
  }

  input,
  select,
  textarea,
  button {
    font-size: 16px;
  }

  #resultados {
    grid-auto-columns: 100%;
    gap: 6px;
    padding: 2px 2px 8px 2px;
    scroll-padding-inline: 4px;
  }

  #resultados.resultados-por-praca {
    grid-auto-columns: 100%;
    gap: 6px;
    padding: 2px 2px 8px 2px;
    scroll-padding-inline: 4px;
  }

  #resultados.tem-carrossel {
    scroll-padding-inline: 14px;
  }

  #resultados.tem-carrossel .resultado-card {
    scroll-snap-align: center;
    opacity: 0.72;
    transform: scale(0.95);
    transition: transform 0.22s ease, opacity 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
  }

  #resultados.tem-carrossel .resultado-card.resultado-card-ativo {
    opacity: 1;
    transform: scale(1);
    border-color: #00e67699;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.24);
  }

  .banner-topo-conteudo {
    width: min(100%, 460px);
    padding: 6px 12px;
  }

  .banner-topo-img {
    border-radius: 6px;
  }

  .melhores-cotacoes-conteudo {
    width: min(100%, 460px);
    padding: 0 12px 10px;
  }

  .melhores-cotacoes-card {
    border-radius: 8px;
    padding: 8px 10px;
  }

  .melhores-cotacoes-titulo {
    font-size: 13px;
    margin: 0 0 7px;
  }

  .melhores-cotacoes-faixa {
    font-size: 12px;
    gap: 8px;
    padding-right: 14px;
  }

  .melhores-cotacoes-janela {
    animation-duration: 22s;
  }

  .aviso-bingo-breve {
    width: min(100%, 460px);
    margin-top: 12px;
    padding: 9px 10px;
    border-radius: 8px;
  }

  .aviso-bingo-breve p {
    font-size: 15px;
  }

  .aviso-apostas-encerradas {
    width: min(100%, 460px);
    margin-top: 12px;
    padding: 9px 10px;
    border-radius: 8px;
    font-size: 15px;
  }

  .cabecalho-usuario {
    width: min(100%, 560px);
    margin: 0 auto;
    padding: 6px 8px;
    flex-wrap: nowrap;
    gap: 4px;
  }

  .cabecalho-usuario-nome {
    order: 0;
    flex: 1 1 auto;
    min-width: 0;
    text-align: center;
    font-size: 13px;
    line-height: 1.15;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .cabecalho-usuario-acoes {
    order: 0;
    margin-left: 0;
    gap: 3px;
    width: auto;
    flex-wrap: nowrap;
    justify-content: flex-end;
    flex-shrink: 0;
  }

  .cabecalho-usuario-publico {
    gap: 6px;
    flex-wrap: nowrap;
  }

  .btn-cabecalho-auth {
    min-height: 32px;
    padding: 0 9px;
    font-size: 10px;
  }

  .cabecalho-unidade {
    display: inline-flex;
    padding: 3px 6px;
    font-size: 9px;
    flex-shrink: 0;
  }

  .cabecalho-saldo {
    font-size: 0;
    margin-right: 0;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
  }

  .cabecalho-saldo strong {
    font-size: 10px;
    line-height: 1;
  }

  .btn-cabecalho-home,
  .btn-cabecalho-perfil,
  .btn-cabecalho-sair,
  .btn-cabecalho-saldo-toggle {
    padding: 4px 6px;
    font-size: 9px;
    min-height: 32px;
    line-height: 1;
  }

  .saldo-toggle-label {
    display: none;
  }

  .saldo-toggle-icone {
    width: 16px;
    height: 16px;
  }

  .btn-inline,
  .btn-nav,
  .btn-nav-horizontal,
  .btn-historico-hoje {
    min-height: 44px;
  }

  .container {
    width: min(100%, 560px);
    padding: 16px;
  }

  .container-usuario-topo {
    padding-bottom: 6px;
  }

  .card {
    text-align: center;
  }

  input,
  select {
    max-width: 520px;
    margin: 5px auto;
  }

  .palpite-grupo-container {
    max-width: 520px;
    margin: 5px auto 0 auto;
  }

  .palpite-grupo-carrossel {
    scroll-padding-inline: 20px;
  }

  .usuario-acoes-publicas {
    max-width: 520px;
    margin: 8px auto 0 auto;
  }

  button {
    max-width: 520px;
    margin: 10px auto 0 auto;
  }

  .resultados-controles-compactos {
    display: grid;
    grid-template-columns: 1fr;
    gap: 6px;
    margin-bottom: 7px;
  }

  .filtro-data {
    justify-self: center;
    grid-template-columns: 28px minmax(104px, auto) 28px;
    gap: 3px;
    padding: 3px;
  }

  #btnDiaAnterior,
  #btnDiaProximo {
    min-width: 28px;
    height: 28px;
  }

  #resumoData {
    min-width: 106px;
    min-height: 28px;
    padding: 0 5px;
    font-size: 12px;
  }

  .linha-praca-fixa-filtro {
    width: 100%;
  }

  .chip-praca-resultado {
    min-height: 26px;
    padding: 4px 8px;
    font-size: 11px;
  }

  .resultado-card {
    text-align: center;
    padding: 9px 8px 8px;
  }

  .premio {
    gap: 6px;
    padding: 7px 5px;
  }

  .premio img {
    width: 108px;
    height: 108px;
  }

  .premio-numero {
    font-size: 23px;
  }

  .resultado-pendente {
    font-size: 11px;
  }

  .resultado-chamada-aposta {
    font-size: 13px;
  }

  .cronometro-resultado {
    font-size: 11px;
  }

  .topo-card-apostas {
    max-width: 320px;
    margin: 6px auto 8px auto;
  }

  .linha-carteira-aposta {
    max-width: 520px;
    margin: 6px auto 8px auto;
  }

  .loterias-aposta-bloco {
    max-width: 320px;
    margin: 8px auto 4px auto;
  }

  #cardApostas .chips-selecoes-aposta {
    display: grid;
    grid-template-columns: 1fr;
    gap: 6px;
  }

  #cardApostas .chip-selecao-aposta {
    width: 100%;
    border-radius: 10px;
    justify-content: space-between;
    text-align: left;
    padding: 7px 10px;
  }

  .acoes-bilhete-aposta {
    max-width: 520px;
    margin: 8px auto 0 auto;
    grid-template-columns: 1fr;
  }

  .minhas-apostas-bloco {
    max-width: 520px;
    margin: 12px auto 0 auto;
    padding: 9px 8px 7px 8px;
  }

  .minhas-apostas-topo h4 {
    font-size: 14px;
  }

  .historico-apostas-bloco {
    max-width: 520px;
    margin: 10px auto 0 auto;
    padding: 9px 8px 7px 8px;
  }

  .historico-apostas-topo h4 {
    font-size: 14px;
  }

  .historico-apostas-filtros {
    width: 100%;
    flex-wrap: wrap;
  }

  .historico-apostas-filtros input {
    width: 100%;
    flex: 1 1 100%;
    max-width: 380px;
  }

  .linha-praca-fixa {
    max-width: 520px;
    margin: 6px auto 8px auto;
  }

  #cardApostas .linha-praca-fixa {
    max-width: 320px;
  }

  .rodape-conteudo {
    width: min(100%, 560px);
    padding: 28px 16px 24px 16px;
  }

  .rodape-links {
    grid-template-columns: 1fr;
    gap: 24px;
    text-align: left;
  }

  .rodape-coluna a {
    font-size: 16px;
  }

  .rodape-selos {
    grid-template-columns: 1fr;
  }

  .rodape-selo-card strong {
    font-size: 20px;
  }

  .rodape-base {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .rodape-texto p {
    font-size: 15px;
  }

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

  .aposta-item,
  .item-admin-linha,
  .resultado-card,
  .minhas-apostas-resumo,
  .historico-apostas-resumo {
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .loteria-aposta-opcao {
    min-height: 42px;
    padding: 8px 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  #destaquePremiacaoAposta.ativo {
    animation: none !important;
  }

  .toast-aposta-confirmacao {
    transition: none !important;
  }
}

@media (max-width: 430px) {
  .resultado-card-comparativo-grid {
    gap: 8px;
  }

  .resultado-card-comparativo .mini-resultado {
    padding: 7px;
    border-radius: 10px;
  }

  .mini-resultado-loteria {
    font-size: 11.5px;
    line-height: 1.25;
    white-space: normal;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .mini-resultado-status {
    margin: 3px 0 5px;
    font-size: 10.5px;
  }

  .mini-resultado-selo {
    padding: 1px 5px;
    font-size: 9px;
  }

  .linha-premio {
    grid-template-columns: auto auto minmax(0, 1fr) auto;
    column-gap: 4px;
    font-size: 12px;
    line-height: 1.2;
  }

  .linha-premio-posicao {
    min-width: 0;
    font-size: 11.5px;
  }

  .linha-premio-numero {
    font-size: 12px;
  }

  .linha-premio-bicho {
    font-size: 11.5px;
    white-space: normal;
    overflow: visible;
    text-overflow: unset;
    line-height: 1.2;
  }

  .linha-premio-img {
    width: 24px;
    height: 24px;
    border-radius: 5px;
  }

  .mini-resultado-toggle {
    font-size: 11.5px;
    margin-top: 5px;
  }

  .usuario-acoes-publicas {
    grid-template-columns: 1fr;
  }

  .palpite-grupo-slots {
    grid-template-columns: 1fr;
  }

  .palpite-grupo-slot {
    min-height: 112px;
  }

  .palpite-grupo-nav {
    gap: 5px;
  }

  .btn-palpite-grupo-nav {
    padding: 7px 6px;
    font-size: 12px;
  }

  #destaquePremiacaoAposta {
    font-size: 16px;
  }

  .palpite-bicho-card {
    flex-basis: 82px;
  }

  .palpite-bicho-card img {
    width: 38px;
    height: 38px;
  }

  .palpite-grupo-carrossel {
    scroll-padding-inline: 8px;
  }

  #resultados {
    grid-auto-columns: 100%;
    gap: 6px;
    padding: 2px 2px 8px 2px;
  }

  #resultados.resultados-por-praca {
    grid-auto-columns: 100%;
    gap: 6px;
    padding: 2px 2px 8px 2px;
  }

  #resultados.tem-carrossel {
    scroll-padding-inline: 12px;
  }

  #resultados.tem-carrossel .resultado-card {
    transform: scale(0.96);
  }

  .resultado-titulo {
    font-size: 12.5px;
    margin-bottom: 8px;
  }

  .resultado-data {
    font-size: 11px;
  }

  .premio img {
    width: 100px;
    height: 100px;
  }

  .premio-numero {
    font-size: 21px;
  }

  .premio {
    min-height: 108px;
  }

  .rodape-coluna h4 {
    font-size: 12px;
  }

  .rodape-coluna a {
    font-size: 14px;
  }

  .rodape-selo-card {
    padding: 12px;
  }

  .rodape-selo-card strong {
    font-size: 17px;
  }

  .rodape-texto p {
    font-size: 14px;
  }
}

@media (max-width: 390px) {
  .resultado-card-comparativo-grid {
    gap: 7px;
  }

  .resultado-card-comparativo .mini-resultado {
    padding: 6px;
  }

  .linha-premio {
    grid-template-columns: auto auto minmax(0, 1fr) auto;
    column-gap: 3px;
    font-size: 11.5px;
  }

  .mini-resultado-selo {
    font-size: 8.5px;
  }

  .linha-premio-posicao {
    min-width: 0;
    font-size: 11px;
  }

  .linha-premio-numero {
    font-size: 11.5px;
  }

  .linha-premio-bicho {
    font-size: 10.8px;
    white-space: normal;
    line-height: 1.15;
  }

  .linha-premio-img {
    width: 22px;
    height: 22px;
  }

  #resultados {
    grid-auto-columns: 100%;
    gap: 5px;
    padding: 2px 1px 7px 1px;
  }

  #resultados.resultados-por-praca {
    grid-auto-columns: 100%;
    gap: 5px;
    padding: 2px 1px 7px 1px;
  }

  .resultado-card {
    padding: 8px 7px 7px;
  }

  .resultado-titulo {
    font-size: 12px;
    gap: 6px;
    margin-bottom: 7px;
    padding-bottom: 5px;
  }

  .resultado-data {
    font-size: 10.5px;
  }

  .premio {
    gap: 5px;
    padding: 6px 4px;
    margin-bottom: 5px;
    grid-template-columns: 24px minmax(0, 1fr) 24px;
    min-height: 102px;
  }

  .premio::after {
    width: 24px;
  }

  .posicao {
    min-width: 24px;
    font-size: 13px;
  }

  .premio img {
    width: 92px;
    height: 92px;
  }

  .premio-numero {
    font-size: 20px;
  }

}

@media (max-width: 360px) {
  .resultado-card-comparativo .mini-resultado {
    padding: 6px 5px;
  }

  .linha-premio {
    grid-template-columns: auto auto minmax(0, 1fr) auto;
    column-gap: 3px;
    font-size: 11px;
    line-height: 1.15;
  }

  .linha-premio-posicao {
    min-width: 0;
    font-size: 10.5px;
  }

  .linha-premio-numero {
    font-size: 11px;
  }

  .linha-premio-bicho {
    font-size: 10.3px;
    white-space: normal;
    line-height: 1.1;
  }

  .linha-premio-img {
    width: 21px;
    height: 21px;
  }

  #resultados {
    grid-auto-columns: 100%;
  }

  .resultado-card {
    padding: 8px 6px 6px;
  }

  .resultado-titulo {
    font-size: 11.5px;
  }

  .premio img {
    width: 86px;
    height: 86px;
  }

  .premio-numero {
    font-size: 19px;
  }

  .premio {
    min-height: 96px;
  }
}

/* Menu lateral sobreposto (apostador/promotor) */
:root {
  --menu-app-bg-1: rgba(8, 15, 26, 0.98);
  --menu-app-bg-2: rgba(11, 19, 31, 0.98);
  --menu-app-border: rgba(92, 119, 153, 0.34);
  --menu-app-item-border: rgba(86, 114, 149, 0.48);
  --menu-app-item-bg: rgba(18, 30, 47, 0.9);
  --menu-app-text: #eaf2ff;
  --menu-app-muted: #9fb4cb;
  --menu-app-accent: #3fd686;
  --menu-app-danger: #ff9d9d;
  --menu-app-overlay: rgba(3, 9, 18, 0.64);
  --menu-app-shadow: 16px 0 40px rgba(0, 0, 0, 0.44);
}

.btn-menu-lateral-toggle {
  width: 38px;
  min-width: 38px;
  min-height: 38px;
  margin: 0;
  padding: 0;
  border-radius: 12px;
  border: 1px solid var(--menu-app-border);
  background: linear-gradient(180deg, rgba(20, 33, 52, 0.94), rgba(13, 24, 39, 0.96));
  color: var(--menu-app-text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.28);
  transition: transform 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease;
}

.btn-menu-lateral-toggle:hover {
  border-color: rgba(130, 170, 218, 0.74);
  transform: translateY(-1px);
}

.btn-menu-lateral-toggle:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px rgba(127, 179, 232, 0.35), 0 8px 18px rgba(0, 0, 0, 0.3);
}

.btn-menu-lateral-toggle svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.menu-lateral-overlay {
  position: fixed;
  inset: 0;
  z-index: 169;
  border: 0;
  margin: 0;
  padding: 0;
  opacity: 0;
  pointer-events: none;
  background: var(--menu-app-overlay);
  backdrop-filter: blur(2px);
  transition: opacity 0.2s ease;
}

.menu-lateral-app {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 170;
  width: min(75vw, 360px);
  max-width: 100%;
  height: 100vh;
  display: none;
  flex-direction: column;
  gap: 10px;
  padding: 16px 14px;
  border-right: 1px solid var(--menu-app-border);
  background: linear-gradient(180deg, var(--menu-app-bg-1), var(--menu-app-bg-2));
  box-shadow: var(--menu-app-shadow);
  transform: translateX(-104%);
  transition: transform 0.22s cubic-bezier(0.22, 1, 0.36, 1);
  overflow-y: auto;
  border-radius: 0 18px 18px 0;
}

.menu-lateral-app::-webkit-scrollbar {
  width: 8px;
}

.menu-lateral-app::-webkit-scrollbar-thumb {
  background: rgba(138, 168, 202, 0.4);
  border-radius: 999px;
}

.menu-lateral-cabecalho {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.menu-lateral-cabecalho strong {
  display: block;
  color: var(--menu-app-text);
  font-size: 1.16rem;
  font-weight: 800;
  letter-spacing: 0.2px;
}

.menu-lateral-cabecalho p {
  margin: 6px 0 14px;
  color: var(--menu-app-muted);
  font-size: 0.86rem;
}

.btn-fechar-menu-lateral {
  width: 36px;
  min-width: 36px;
  min-height: 36px;
  margin: 0;
  padding: 0;
  border-radius: 12px;
  border: 1px solid var(--menu-app-border);
  background: linear-gradient(180deg, rgba(20, 34, 52, 0.96), rgba(12, 23, 38, 0.96));
  color: var(--menu-app-text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.16s ease, border-color 0.16s ease;
}

.btn-fechar-menu-lateral:hover {
  border-color: rgba(129, 170, 219, 0.74);
  transform: translateY(-1px);
}

.btn-fechar-menu-lateral:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px rgba(127, 179, 232, 0.35), 0 8px 18px rgba(0, 0, 0, 0.3);
}

.btn-fechar-menu-lateral svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.menu-apostador-identidade {
  display: block;
  padding: 8px 10px;
  border-radius: 12px;
  border: 1px solid rgba(63, 214, 134, 0.35);
  background: rgba(24, 146, 87, 0.18);
  color: #e8fff1;
  font-size: 12px;
  font-weight: 800;
  text-align: left;
  line-height: 1.2;
}

.menu-lateral-secao-titulo {
  margin: 8px 6px 8px;
  color: #87a4c4;
  font-size: 0.73rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.menu-lateral-lista {
  display: grid;
  gap: 0;
}

.menu-apostador-item {
  width: 100%;
  margin: 0 0 8px;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid var(--menu-app-item-border);
  background: var(--menu-app-item-bg);
  color: var(--menu-app-text);
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 11px;
  min-height: 44px;
  font-weight: 700;
  transition: border-color 0.18s ease, background-color 0.18s ease, transform 0.12s ease, box-shadow 0.18s ease;
}

.menu-apostador-item:hover {
  border-color: rgba(122, 166, 214, 0.8);
  box-shadow: 0 7px 16px rgba(0, 0, 0, 0.18);
  transform: translateY(-1px);
}

.menu-apostador-item:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px rgba(127, 179, 232, 0.35), 0 8px 18px rgba(0, 0, 0, 0.3);
}

.menu-lateral-icone {
  width: 21px;
  min-width: 21px;
  height: 21px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.menu-lateral-icone svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.menu-apostador-item small {
  font-size: 0.94rem;
  font-weight: 700;
  line-height: 1.1;
}

.menu-apostador-item.ativo {
  border-color: rgba(63, 214, 134, 0.72);
  background: rgba(24, 146, 87, 0.25);
  color: #eefff6;
  box-shadow: inset 0 0 0 1px rgba(63, 214, 134, 0.42);
}

.menu-apostador-item-whatsapp {
  border-color: rgba(59, 193, 126, 0.58);
  background: linear-gradient(180deg, rgba(18, 91, 57, 0.34), rgba(14, 66, 43, 0.3));
  color: #dcffeb;
}

.menu-apostador-item-whatsapp:hover {
  border-color: rgba(103, 229, 168, 0.8);
}

.menu-apostador-item-sair {
  border-color: rgba(255, 110, 110, 0.45);
  color: var(--menu-app-danger);
  background: linear-gradient(180deg, rgba(58, 27, 35, 0.42), rgba(35, 19, 24, 0.35));
}

body.app-menu-open .menu-lateral-overlay {
  opacity: 1;
  pointer-events: auto;
}

body.app-menu-open .menu-lateral-app {
  transform: translateX(0);
}

body.app-menu-open {
  overflow: hidden;
}

.card-cotacoes-apostador {
  border: 1px solid rgba(86, 114, 149, 0.45);
  background: linear-gradient(180deg, rgba(18, 30, 47, 0.92), rgba(14, 24, 36, 0.94));
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.16);
}

.cotacoes-apostador-descricao {
  margin: 4px 0 12px;
  color: #b8cbe0;
  font-size: 13px;
}

.cotacoes-apostador-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.cotacoes-apostador-item {
  border: 1px solid #2f4668;
  border-radius: 10px;
  background: #152235;
  padding: 10px;
}

.cotacoes-apostador-item strong {
  display: block;
  color: #e7f1ff;
  font-size: 13px;
  margin-bottom: 4px;
}

.cotacoes-apostador-item span {
  color: #94b1cd;
  font-size: 12px;
}

.cotacoes-apostador-vazio {
  grid-column: 1 / -1;
  color: #8ea7c3;
  font-size: 12px;
}

.cotacoes-calculadora {
  margin-top: 12px;
  border: 1px solid #2d4668;
  border-radius: 10px;
  padding: 10px;
  background: #101a2b;
}

.cotacoes-calculadora h4 {
  margin: 0 0 8px;
  color: #eaf3ff;
  font-size: 16px;
}

.cotacoes-calculadora label {
  display: block;
  margin: 8px 0 4px;
  color: #b6cae2;
  font-size: 12px;
  font-weight: 700;
}

.cotacoes-calculadora select,
.cotacoes-calculadora input {
  width: 100%;
  margin: 0;
}

.cotacoes-calculadora button {
  width: 100%;
  margin-top: 10px;
}

.cotacoes-calculadora-resultado {
  margin: 10px 0 0;
  color: #e7f3ff;
  font-size: 14px;
  font-weight: 700;
}

.calc-cotacao-aviso {
  margin: 8px 0 0;
  color: #91a9c4;
  font-size: 11px;
  line-height: 1.35;
}

.pwa-install-area {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
  padding: 8px 0 0;
}

.btn-pwa-instalar {
  width: 100%;
  min-height: 44px;
  border: 1px solid rgba(86, 129, 179, 0.65);
  border-radius: 12px;
  background: rgba(11, 21, 33, 0.92);
  color: #eef4ff;
  font-size: 14px;
  font-weight: 700;
  padding: 11px 14px;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.btn-pwa-instalar:hover {
  border-color: rgba(129, 177, 233, 0.88);
  background: rgba(14, 27, 42, 0.96);
}

.btn-pwa-instalar:active {
  transform: scale(0.98);
}

.btn-pwa-abrir {
  border-color: rgba(41, 181, 112, 0.72);
  background: rgba(9, 35, 24, 0.94);
}

.btn-pwa-abrir:hover {
  border-color: rgba(71, 218, 143, 0.92);
  background: rgba(10, 42, 29, 0.98);
}

.pwa-install-ios {
  margin: 0;
  max-width: 100%;
  border: 1px solid rgba(71, 104, 143, 0.6);
  border-radius: 12px;
  background: rgba(11, 20, 31, 0.95);
  color: #d7e6fb;
  font-size: 12px;
  line-height: 1.35;
  padding: 8px 10px;
  text-align: left;
}

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

  .cotacoes-apostador-item strong {
    font-size: 15px;
  }

  .cotacoes-apostador-item span {
    font-size: 13px;
  }

  .cotacoes-calculadora h4 {
    font-size: 17px;
  }

  .cotacoes-calculadora label {
    font-size: 13px;
  }

  .cotacoes-calculadora-resultado {
    font-size: 15px;
  }

  .calc-cotacao-aviso {
    font-size: 12px;
  }

  .cabecalho-usuario .btn-cabecalho-home {
    display: none;
  }

  .cabecalho-usuario .cabecalho-usuario-acoes {
    gap: 2px;
  }

  .cabecalho-usuario .btn-cabecalho-sair {
    display: inline-flex;
    min-width: 48px;
    padding: 0 8px;
    font-size: 10px;
  }
}

@media (min-width: 901px) {
  .menu-lateral-app {
    width: min(340px, 32vw);
  }

  .cabecalho-usuario .btn-cabecalho-home {
    display: none;
  }

  .cabecalho-usuario .btn-cabecalho-sair {
    display: inline-flex;
  }
}
.painel-indicacao-usuario {
  margin: 10px 0;
  padding: 10px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  border-radius: 8px;
  background: rgba(15, 23, 42, 0.72);
  color: #e5eef8;
}

.painel-indicacao-usuario strong {
  display: block;
  margin-bottom: 6px;
}

.card-indicacao-home {
  margin-top: 10px;
  margin-bottom: 18px;
}

.painel-indicacao-subtitulo {
  margin: 0 0 8px;
  color: #b8c7da;
  font-size: 13px;
}

.painel-indicacao-usuario input {
  width: 100%;
  margin: 6px 0;
  font-size: 12px;
}

.painel-indicacao-acoes {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 6px 0;
}

.painel-indicacao-acoes button {
  flex: 1 1 120px;
}

.painel-indicacao-saldos {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  margin-top: 8px;
  font-size: 12px;
}

.painel-indicacao-aviso {
  margin: 8px 0 0;
  color: #ffd166;
  font-size: 12px;
}

.aviso-referral-cadastro {
  margin: 8px 0;
  color: #ffd166;
  font-size: 13px;
}

@media (max-width: 640px) {
  .card,
  .home-card,
  .melhores-cotacoes-card,
  .card-recarga-home,
  .resultado-card,
  .mini-resultado-card {
    box-shadow: none !important;
  }

  .home-card {
    animation: none;
    opacity: 1;
    transform: none;
    transition: border-color 0.12s ease;
  }

  .home-card img,
  .melhores-cotacoes-faixa {
    transition: none;
  }

  .home-card:hover img {
    transform: none;
  }

  .melhores-cotacoes-janela {
    mask-image: none;
    -webkit-mask-image: none;
  }
}

/* Ajustes de UX/performance da Home: cards leves, banner compacto e navegacao mobile. */
.home-extra-promocoes[hidden] {
  display: none !important;
}

.banner-topo {
  background: #081018;
}

.banner-topo-conteudo {
  width: min(100%, 760px);
  padding: 8px 16px;
}

.banner-topo picture {
  display: block;
  overflow: hidden;
  border: 1px solid rgba(88, 120, 154, 0.24);
  border-radius: 12px;
  background: #0c1726;
}

.banner-topo-img {
  width: 100%;
  max-height: 220px;
  object-fit: cover;
  object-position: center;
  border-radius: 0;
}

.card-home-vitrine {
  padding: 12px;
}

.home-cards-layout {
  gap: 10px;
}

.home-cards-grid {
  gap: 10px;
}

.home-card {
  min-height: 92px;
  padding: 14px;
  border-radius: 12px;
  display: grid;
  align-content: center;
  justify-items: start;
  gap: 6px;
  aspect-ratio: auto;
  overflow: hidden;
  opacity: 1;
  transform: none;
  animation: none;
  background:
    linear-gradient(135deg, rgba(42, 72, 108, 0.58), rgba(12, 23, 38, 0.96)),
    #0e1929;
  border-color: rgba(107, 142, 180, 0.42);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.18);
}

.home-card-featured {
  min-height: 104px;
  aspect-ratio: auto;
  justify-items: center;
  text-align: center;
}

.home-card-featured .home-card-icone,
.home-card-featured .home-card-titulo,
.home-card-featured small {
  justify-self: center;
}

.home-card-small {
  aspect-ratio: auto;
}

.home-card picture,
.home-card img {
  display: none;
}

.home-card-icone {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #f4d35e;
  font-size: 20px;
  line-height: 1;
}

.home-card-titulo {
  color: #f2f7ff;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.15;
}

.home-card small {
  color: #aebfd4;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.2;
}

.home-card:hover {
  border-color: rgba(122, 176, 224, 0.72);
}

.home-card:active {
  transform: scale(0.985);
}

.cabecalho-usuario {
  position: sticky;
  top: 0;
  z-index: 60;
}

.nav-inferior-app {
  display: none;
}

body.admin-logado .nav-inferior-app {
  display: none !important;
}

@media (max-width: 760px) {
  body {
    padding-bottom: 72px;
  }

  .banner-topo-conteudo {
    width: min(100%, 460px);
    padding: 6px 12px;
  }

  .banner-topo picture {
    border-radius: 10px;
  }

  .banner-topo-img {
    max-height: 168px;
  }

  .recarga-home-wrap {
    padding: 0 12px 8px;
  }

  .home-cards-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-card {
    min-height: 88px;
    padding: 12px;
    box-shadow: none;
  }

  .home-card-featured {
    min-height: 98px;
  }

  .home-card-icone {
    width: 30px;
    height: 30px;
    font-size: 18px;
  }

  .home-card-titulo {
    font-size: 15px;
  }

  .home-card small {
    font-size: 11px;
  }

  .cabecalho-usuario {
    width: 100%;
    border-radius: 0;
  }

  .nav-inferior-app {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 90;
    display: flex;
    align-items: stretch;
    justify-content: space-around;
    gap: 4px;
    padding: 7px 8px max(7px, env(safe-area-inset-bottom));
    background: rgba(7, 14, 24, 0.97);
    border-top: 1px solid rgba(118, 154, 190, 0.28);
    box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.28);
    backdrop-filter: blur(10px);
  }

  .nav-inferior-app button {
    appearance: none;
    min-width: 0;
    flex: 1 1 0;
    min-height: 48px;
    margin: 0;
    padding: 5px 4px;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    border: 1px solid transparent;
    border-radius: 10px;
    background: transparent;
    color: #bfd0e5;
    font: inherit;
    cursor: pointer;
  }

  .nav-inferior-app button span {
    font-size: 18px;
    line-height: 1;
  }

  .nav-inferior-app button small {
    font-size: 10px;
    font-weight: 800;
    line-height: 1;
  }

  .nav-inferior-app button.ativo {
    color: #ffffff;
    border-color: rgba(98, 160, 220, 0.36);
    background: rgba(35, 69, 106, 0.72);
  }

  .nav-inferior-app .nav-inferior-destaque {
    color: #ffe68a;
  }
}

@media (max-width: 640px) {
  #resultados,
  #resultados.resultados-por-praca,
  #resultados.resultados-unico {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(163px, 51vw);
    grid-template-columns: none;
    gap: 7px;
    justify-content: start;
    align-items: start;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 3px 3px 14px;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 6px;
    -webkit-overflow-scrolling: touch;
  }

  #resultados .resultado-card-loteria {
    width: 100%;
    min-width: 0;
    scroll-snap-align: start;
    padding: 6px;
    border-radius: 10px;
    min-height: clamp(300px, 48vh, 390px);
  }

  #resultados .mini-resultado-topo {
    align-items: flex-start;
    gap: 5px;
    margin-bottom: 5px;
  }

  #resultados .mini-resultado-loteria {
    font-size: 11.9px;
    line-height: 1.18;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  #resultados .mini-resultado-topo-direita {
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
  }

  #resultados .mini-resultado-selo {
    padding: 2px 5px;
    font-size: 8.8px;
  }

  #resultados .mini-resultado-horario,
  #resultados .mini-resultado-data {
    font-size: 10.4px;
    line-height: 1.15;
  }

  #resultados .mini-resultado-premios,
  #resultados .mini-resultado-extra.aberto {
    gap: 3px;
  }

  #resultados .linha-premio {
    grid-template-columns: 22px minmax(0, 47px) minmax(0, 1fr);
    min-height: 24px;
    padding: 3px 4px;
    column-gap: 4px;
    font-size: 11.5px;
    line-height: 1.15;
  }

  #resultados .linha-premio-posicao,
  #resultados .linha-premio-numero,
  #resultados .linha-premio-bicho {
    font-size: 11.5px;
  }

  #resultados .linha-premio-bicho {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  #resultados .linha-premio-img {
    display: none;
  }

  #resultados .mini-resultado-toggle {
    margin-top: 5px;
    font-size: 11.5px;
    line-height: 1.2;
  }

  #resultados .mini-resultado-extra {
    margin-top: 4px;
    padding-top: 4px;
  }

  #resultados .mini-resultado-maluquinha {
    font-size: 0.95em;
  }

  #resultados .resultado-card-loteria .mini-resultado-maluquinha {
    margin-top: 6px;
    padding-top: 6px;
  }
}
