/* Modal de venda e de resultado. Super Sete usa a grade de 7 colunas. */

.lotery-bg--supersete { background-color: #a8cf45 !important; }
.lotery-color--supersete { color: #5a7320 !important; }

/* O card de resultado pinta o miolo de azul ($blue). O verde claro não segura texto branco. */
.result-sidebar .sidebar-header.lotery-bg--supersete,
.result-box .box-label.lotery-bg--supersete {
  color: #24300f !important;
}

.result-sidebar .sidebar-header.lotery-bg--supersete img {
  filter: brightness(0);
  opacity: 0.8;
}

#ln_modal_boloes.mds-bolao-modal {
  font-family: Figtree, system-ui, sans-serif;
  /* Acima dos flutuantes (WhatsApp e carrinho em 99999, atalho da roleta em 99998); o style.css deixava 9999. */
  z-index: 100000;
}

#ln_modal_boloes.mds-bolao-modal .modal-dialog {
  max-width: 1180px;
  width: calc(100% - 48px);
  height: min(820px, calc(100vh - 48px));
  margin: 24px auto;
}

#ln_modal_boloes.mds-bolao-modal .modal-content {
  height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 0;
  border-radius: 0 16px 16px 16px;
  background: #fff;
  box-shadow: 0 30px 70px -34px rgba(12, 18, 44, 0.55), 0 2px 6px rgba(12, 18, 44, 0.12);
}

/* O modal antigo punha um degradê branco de 30px a 50px do fundo (style.css); no novo ele cobria o topo do rodapé. */
#ln_modal_boloes.mds-bolao-modal .modal-content::after {
  content: none;
}

#ln_modal_boloes.mds-bolao-modal .mds-bolao-head {
  flex: 0 0 auto;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 28px 36px 20px;
  border-bottom: 1px solid #edf2f6;
}

#ln_modal_boloes.mds-bolao-modal .mds-bolao-head-main {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

#ln_modal_boloes.mds-bolao-modal .mds-bolao-badges {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

#ln_modal_boloes.mds-bolao-modal .mds-bolao-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 9px 4px 7px;
  border-radius: 4px;
  background: var(--mds-lot, #209869);
  color: var(--mds-fg, #fff);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Trevo do selo: SVG (não o PNG colorido) para acompanhar a cor do nome da loteria. */
#ln_modal_boloes.mds-bolao-modal .mds-bolao-badge .mds-trevo {
  flex: 0 0 auto;
  width: 12px;
  height: 13px;
}

#ln_modal_boloes.mds-bolao-modal .mds-bolao-chip {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 8px;
  border-radius: 4px;
}

#ln_modal_boloes.mds-bolao-modal .mds-bolao-chip--novo {
  color: #2f3bb3;
  background: #eef0fb;
}

#ln_modal_boloes.mds-bolao-modal .mds-bolao-chip--sorteado {
  color: #34506b;
  background: #edf2f6;
}

#ln_modal_boloes.mds-bolao-modal .mds-bolao-premio-linha {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
}

#ln_modal_boloes.mds-bolao-modal .mds-bolao-premio {
  margin: 0;
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: var(--mds-tinta, var(--mds-lot, #16263a));
}

/* Enquanto o bolão carrega o título fica vazio, só reservando a altura (antes dizia
   "Estimativa em breve" porque con_premio ainda era 0). */
#ln_modal_boloes.mds-bolao-modal .mds-bolao-premio.is-carregando {
  width: 220px;
  max-width: 100%;
  border-radius: 8px;
  background: color-mix(in srgb, var(--mds-lot, #209869) 10%, #eef3f6);
  color: transparent;
}

#ln_modal_boloes.mds-bolao-modal .mds-bolao-acum {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--mds-tinta, var(--mds-lot, #16263a));
}

#ln_modal_boloes.mds-bolao-modal .mds-bolao-sub {
  font-size: 12.5px;
  color: #5c7387;
}

#ln_modal_boloes.mds-bolao-modal .mds-bolao-fechar {
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid #d9e6ee;
  background: #fff;
  color: #34506b;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

#ln_modal_boloes.mds-bolao-modal .mds-bolao-fechar:hover {
  border-color: #2f3bb3;
  color: #2f3bb3;
}

#ln_modal_boloes.mds-bolao-modal .mds-bolao-grid {
  flex: 1 1 auto;
  min-height: 0;
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
}

#ln_modal_boloes.mds-bolao-modal .mds-bolao-info,
#ln_modal_boloes.mds-bolao-modal .mds-bolao-apostas {
  min-height: 0;
  overflow-y: auto;
  padding: 26px 36px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

#ln_modal_boloes.mds-bolao-modal .mds-bolao-apostas {
  background: #f8fbfd;
  border-left: 1px solid #edf2f6;
  gap: 14px;
}

#ln_modal_boloes.mds-bolao-modal .mds-bolao-infos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

#ln_modal_boloes.mds-bolao-modal .mds-bolao-infos li {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

#ln_modal_boloes.mds-bolao-modal .mds-bolao-k {
  font-size: 11.5px;
  font-weight: 500;
  color: #5c7387;
}

#ln_modal_boloes.mds-bolao-modal .mds-bolao-v {
  font-size: 15px;
  font-weight: 700;
  color: #16263a;
  font-variant-numeric: tabular-nums;
}

#ln_modal_boloes.mds-bolao-modal .mds-bolao-cotas-txt {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 2px;
  font-size: 12.5px;
}

#ln_modal_boloes.mds-bolao-modal .mds-bolao-cotas-txt strong {
  color: #16263a;
}

#ln_modal_boloes.mds-bolao-modal .mds-bolao-cotas-txt span {
  color: #5c7387;
}

#ln_modal_boloes.mds-bolao-modal .mds-bolao-barra {
  height: 5px;
  border-radius: 999px;
  background: #e8eff4;
  overflow: hidden;
}

#ln_modal_boloes.mds-bolao-modal .mds-bolao-barra i {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: #24bb88;
}

#ln_modal_boloes.mds-bolao-modal .mds-bolao-barra.is-urgente i {
  background: #d64550;
}

#ln_modal_boloes.mds-bolao-modal .mds-bolao-box,
#ln_modal_boloes.mds-bolao-modal .mds-bolao-sorteio {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 14px 16px;
  border-radius: 0 10px 10px 10px;
  background: #fff;
  border: 1px solid #e8eff4;
}

#ln_modal_boloes.mds-bolao-modal .mds-bolao-box {
  background: color-mix(in srgb, var(--mds-lot, #209869) 8%, #fff);
  border-color: color-mix(in srgb, var(--mds-lot, #209869) 25%, #fff);
}

#ln_modal_boloes.mds-bolao-modal .mds-bolao-box-tit,
#ln_modal_boloes.mds-bolao-modal .mds-bolao-sorteio-tit {
  font-size: 12px;
  font-weight: 700;
  color: #16263a;
}

#ln_modal_boloes.mds-bolao-modal .mds-bolao-box p,
#ln_modal_boloes.mds-bolao-modal .mds-bolao-box span {
  margin: 0;
  font-size: 12.5px;
  color: #34506b;
  line-height: 1.5;
}

#ln_modal_boloes.mds-bolao-modal .mds-bolao-aviso {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 16px;
  border-radius: 0 10px 10px 10px;
  background: #f6f8fa;
  border: 1px solid #e4ebf0;
}

#ln_modal_boloes.mds-bolao-modal .mds-bolao-aviso.is-premio {
  background: #effaf5;
  border-color: #bfe8d6;
}

#ln_modal_boloes.mds-bolao-modal .mds-bolao-aviso strong {
  font-size: 13px;
  color: #16263a;
}

#ln_modal_boloes.mds-bolao-modal .mds-bolao-aviso.is-premio strong {
  color: #14906a;
}

#ln_modal_boloes.mds-bolao-modal .mds-bolao-aviso span {
  font-size: 12.5px;
  color: #34506b;
  line-height: 1.5;
}

#ln_modal_boloes.mds-bolao-modal .mds-bolao-rateio {
  margin: 0;
  padding: 0;
  list-style: none;
}

#ln_modal_boloes.mds-bolao-modal .mds-bolao-rateio li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px solid #edf2f6;
  font-size: 13px;
  color: #5c7387;
}

#ln_modal_boloes.mds-bolao-modal .mds-bolao-rateio strong {
  font-size: 15px;
  color: #16263a;
  font-variant-numeric: tabular-nums;
}

#ln_modal_boloes.mds-bolao-modal .mds-bolao-rateio .is-premio {
  color: #1ca97a;
}

#ln_modal_boloes.mds-bolao-modal .ln_modal_bolao_buscar_aposta {
  border: 0 !important;
  padding: 0;
  margin: 0;
  background: transparent;
}

#ln_modal_boloes.mds-bolao-modal .ln_card_aposta {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: start;
  gap: 6px;
  padding: 8px 10px;
  margin: 0 0 6px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid #e8eff4 !important;
  box-shadow: none;
}

#ln_modal_boloes.mds-bolao-modal .ln_card_aposta .card-header {
  background: transparent;
  border: 0;
  padding: 8px 0 0;
}

#ln_modal_boloes.mds-bolao-modal .ln_card_aposta .card-header p {
  margin: 0;
  font-size: 12px;
  font-weight: 700;
  color: #5c7387;
}

#ln_modal_boloes.mds-bolao-modal .ln_card_aposta .card-body {
  padding: 0;
  min-width: 0;
}

#ln_modal_boloes.mds-bolao-modal .mds-bolao-apostas-topo {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

#ln_modal_boloes.mds-bolao-modal .mds-bolao-apostas-topo strong {
  font-size: 15px;
  color: #16263a;
}

#ln_modal_boloes.mds-bolao-modal .mds-bolao-apostas-topo span {
  font-size: 12px;
  color: #5c7387;
}

#ln_modal_boloes.mds-bolao-modal .mds-ss-head {
  display: grid;
  grid-template-columns: 34px repeat(7, minmax(0, 1fr));
  gap: 6px;
  padding: 0 10px;
}

#ln_modal_boloes.mds-bolao-modal .mds-ss-head span {
  text-align: center;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--mds-tinta, #5c7387);
}

#ln_modal_boloes.mds-bolao-modal .mds-bolao-jogo {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: start;
  gap: 6px;
  padding: 8px 10px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid #e8eff4;
}

#ln_modal_boloes.mds-bolao-modal .mds-bolao-jogo.is-premiado {
  border-color: #9fdcc2;
}

#ln_modal_boloes.mds-bolao-modal .mds-bolao-jogo-n {
  padding-top: 8px;
  font-size: 12px;
  font-weight: 700;
  color: #5c7387;
  font-variant-numeric: tabular-nums;
}

#ln_modal_boloes.mds-bolao-modal .mds-ss-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 5px;
}

#ln_modal_boloes.mds-bolao-modal .mds-ss-cell {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: center;
  gap: 3px;
  min-width: 0;
}

#ln_modal_boloes.mds-bolao-modal .mds-ss-ball {
  flex: 1 1 0;
  width: auto;
  max-width: 36px;
  min-width: 0;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 7px;
  border: 1.5px solid color-mix(in srgb, var(--mds-lot, #a8cf45) 45%, #fff);
  background: color-mix(in srgb, var(--mds-lot, #a8cf45) 10%, #fff);
  color: var(--mds-tinta, #3d5210);
  font-size: 13.5px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

#ln_modal_boloes.mds-bolao-modal .mds-ss-ball.is-acerto,
#ln_modal_boloes.mds-bolao-modal .mds-ss-ball.is-sorteado {
  border-color: var(--mds-lot, #a8cf45);
  background: var(--mds-lot, #a8cf45);
  color: var(--mds-fg, #24300c);
}

/* Fora do modal: dozens_drawn na página de resultados e na da loteria (vence o flex de .content-rounds do style.css). */
#dozens-drawn-component .content-rounds.mds-ss-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 5px;
}

#dozens-drawn-component .mds-ss-ball {
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 7px;
  border: 1.5px solid #a8cf45;
  background: #a8cf45;
  color: #24300c;
  font-size: 13.5px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

#ln_modal_boloes.mds-bolao-modal .mds-ss-acertos {
  margin: 4px 0 0;
  font-size: 11.5px;
  font-weight: 500;
  color: #5c7387;
}

#ln_modal_boloes.mds-bolao-modal .mds-ss-acertos.is-premiado {
  font-weight: 700;
  color: #1ca97a;
}

#ln_modal_boloes.mds-bolao-modal .ln_numeros_aposta {
  display: grid;
  grid-template-columns: repeat(auto-fill, 36px);
  gap: 5px;
  margin: 0;
  padding: 0;
  list-style: none;
}

#ln_modal_boloes.mds-bolao-modal .ln_numeros_aposta li {
  width: 36px;
  height: 32px;
  margin: 0 !important;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 7px;
  border: 1.5px solid color-mix(in srgb, var(--mds-lot, #209869) 45%, #fff);
  background: color-mix(in srgb, var(--mds-lot, #209869) 10%, #fff);
  list-style: none;
}

#ln_modal_boloes.mds-bolao-modal .ln_numeros_aposta li p {
  margin: 0;
  font-size: 13.5px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--mds-tinta, #16263a);
}

#ln_modal_boloes.mds-bolao-modal .mds-bolao-sorteio .ln_numeros_aposta li {
  border-color: var(--mds-lot, #209869);
  background: var(--mds-lot, #209869);
}

#ln_modal_boloes.mds-bolao-modal .mds-bolao-sorteio .ln_numeros_aposta li p {
  /* !important: em Minha conta, o .text-white do legado.css (também !important) fica sem valor
     (--bs-white-rgb só existe em "#minha-conta :root", que não casa) e o número herdava cor escura. */
  color: var(--mds-fg, #fff) !important;
}

/* Mês da sorte / time do coração: linha inteira, rótulo em cima do nome (o grid de 36px
   quebrava o texto letra a letra). */
#ln_modal_boloes.mds-bolao-modal .mds-bolao-extra {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  gap: 1px;
  width: auto;
  height: auto;
  margin-top: 6px;
  padding: 7px 10px;
  border-radius: 8px;
  border: 1px solid color-mix(in srgb, var(--mds-lot, #209869) 30%, #fff);
  background: color-mix(in srgb, var(--mds-lot, #209869) 8%, #fff);
}

#ln_modal_boloes.mds-bolao-modal .mds-bolao-extra small {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #5c7387;
}

#ln_modal_boloes.mds-bolao-modal .mds-bolao-extra b {
  font-size: 13.5px;
  color: var(--mds-tinta, #16263a);
}

#ln_modal_boloes.mds-bolao-modal .mds-bolao-extra.is-acerto,
#ln_modal_boloes.mds-bolao-modal .mds-bolao-extra.is-sorteado {
  border-color: var(--mds-lot, #209869);
  background: var(--mds-lot, #209869);
}

#ln_modal_boloes.mds-bolao-modal .mds-bolao-extra.is-acerto small,
#ln_modal_boloes.mds-bolao-modal .mds-bolao-extra.is-sorteado small,
#ln_modal_boloes.mds-bolao-modal .mds-bolao-extra.is-acerto b,
#ln_modal_boloes.mds-bolao-modal .mds-bolao-extra.is-sorteado b {
  color: var(--mds-fg, #fff);
}

#ln_modal_boloes.mds-bolao-modal .mds-bolao-rot {
  display: block;
  margin: 0 0 4px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #5c7387;
}

#ln_modal_boloes.mds-bolao-modal .mds-bolao-grupos > *:nth-child(3),
#ln_modal_boloes.mds-bolao-modal .mds-bolao-grupos > div + div {
  margin-top: 8px;
}

/* Trevos da +Milionária: ícone + número fora da caixa das dezenas (o PNG cinza escondia o número). */
#ln_modal_boloes.mds-bolao-modal .mds-bolao-trevos {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px 10px;
  margin-top: 4px;
}

#ln_modal_boloes.mds-bolao-modal .mds-bolao-sorteio .mds-bolao-trevos {
  margin-top: 8px;
}

#ln_modal_boloes.mds-bolao-modal .mds-bolao-trevos .mds-bolao-rot {
  margin: 0 5px 0 0;
}

#ln_modal_boloes.mds-bolao-modal .mds-bolao-trevo {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 32px;
  padding: 0 4px;
  font-size: 14px;
  font-weight: 700;
  color: var(--mds-tinta, #39449c);
  font-variant-numeric: tabular-nums;
}

#ln_modal_boloes.mds-bolao-modal .mds-bolao-trevo.is-miss {
  color: #a9b8c4;
}

#ln_modal_boloes.mds-bolao-modal .mds-bolao-trevo-ico {
  width: 14px;
  height: 14px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  transform: rotate(45deg);
}

#ln_modal_boloes.mds-bolao-modal .mds-bolao-trevo-ico i { background: currentColor; }
#ln_modal_boloes.mds-bolao-modal .mds-bolao-trevo-ico i:nth-child(1) { border-radius: 50% 50% 1px 50%; }
#ln_modal_boloes.mds-bolao-modal .mds-bolao-trevo-ico i:nth-child(2) { border-radius: 50% 50% 50% 1px; }
#ln_modal_boloes.mds-bolao-modal .mds-bolao-trevo-ico i:nth-child(3) { border-radius: 50% 1px 50% 50%; }
#ln_modal_boloes.mds-bolao-modal .mds-bolao-trevo-ico i:nth-child(4) { border-radius: 1px 50% 50% 50%; }

#ln_modal_boloes.mds-bolao-modal .mds-bolao-acertos,
#ln_modal_boloes.mds-bolao-modal .card-body-acertos {
  grid-column: 1 / -1;
  margin: 4px 0 0;
  font-size: 11.5px;
  font-weight: 500;
  color: #5c7387;
}

#ln_modal_boloes.mds-bolao-modal .mds-bolao-acertos.is-premiado,
#ln_modal_boloes.mds-bolao-modal .card-body-acertos.is-premiado {
  font-weight: 700;
  color: #1ca97a;
}

#ln_modal_boloes.mds-bolao-modal .mds-bolao-foot {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 36px;
  border-top: 1px solid #edf2f6;
  background: #fff;
  box-shadow: 0 -8px 20px -16px rgba(24, 49, 71, 0.35);
}

#ln_modal_boloes.mds-bolao-modal .mds-bolao-foot-preco {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

#ln_modal_boloes.mds-bolao-modal .mds-bolao-foot-preco .mds-bolao-k {
  font-size: 11.5px;
}

#ln_modal_boloes.mds-bolao-modal .mds-bolao-foot-valor {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #1ca97a;
  font-variant-numeric: tabular-nums;
}

#ln_modal_boloes.mds-bolao-modal .mds-bolao-foot-valor.is-zero {
  color: #16263a;
}

/* Sem sorteio ainda: data ou "Em conferência" no lugar do valor. */
#ln_modal_boloes.mds-bolao-modal .mds-bolao-foot-valor.is-espera {
  font-size: 16px;
  color: #16263a;
}

#ln_modal_boloes.mds-bolao-modal .mds-bolao-foot-de {
  margin: 0;
  font-size: 13px;
  color: #db6767;
  text-decoration: line-through;
}

#ln_modal_boloes.mds-bolao-modal .mds-bolao-urgente {
  font-size: 11.5px;
  font-weight: 700;
  color: #c23b46;
}

#ln_modal_boloes.mds-bolao-modal .mds-bolao-foot-qtd {
  display: flex;
  align-items: center;
  gap: 18px;
}

#ln_modal_boloes.mds-bolao-modal .mds-bolao-foot .ln_adicionar {
  display: flex;
  align-items: center;
  border: 1px solid #d9e6ee;
  border-radius: 8px;
  overflow: hidden;
}

#ln_modal_boloes.mds-bolao-modal .mds-bolao-foot .ln_adicionar button {
  width: 42px;
  height: 42px;
  padding: 0; /* .ln_adicionar .button do style.css põe 0.5rem e tira o ícone do centro */
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  background: #fff;
  color: #34506b;
}

#ln_modal_boloes.mds-bolao-modal .mds-bolao-foot .ln_adicionar input {
  width: 40px;
  height: 42px;
  border: 0;
  text-align: center;
  font-size: 15px;
  font-weight: 700;
  color: #16263a;
  background: #fff;
}

#ln_modal_boloes.mds-bolao-modal .mds-bolao-foot-acoes {
  display: flex;
  gap: 10px;
  align-items: center;
}

/* style.css: .btn-comprar-clique tem margin-top 5px e, no desktop, margin-bottom 40px.
   No rodapé em linha isso empurra o botão para cima do seletor e do Apostar. */
#ln_modal_boloes.mds-bolao-modal .mds-bolao-foot-acoes .comprar-clique {
  display: flex;
  align-items: center;
  margin: 0;
}

#ln_modal_boloes.mds-bolao-modal .mds-bolao-foot-acoes .comprar-clique button.btn-comprar-clique {
  margin: 0 !important;
  box-sizing: border-box;
  height: 32px;
  min-height: 0;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  border-width: 1.5px;
}

#ln_modal_boloes.mds-bolao-modal .mds-bolao-foot-acoes .comprar-clique button.btn-comprar-clique i {
  font-size: 11px;
}

#ln_modal_boloes.mds-bolao-modal .mds-bolao-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 18px;
  border-radius: 8px;
  border: 1px solid #d9e6ee;
  background: #fff;
  color: #34506b;
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
  cursor: pointer;
  text-decoration: none;
}

#ln_modal_boloes.mds-bolao-modal .mds-bolao-btn--verde {
  min-width: 220px;
  border-color: #1fae7e;
  background: linear-gradient(135deg, #33c795 0%, #24bb88 60%, #1ca97a 100%);
  color: #fff;
  font-size: 15px;
}

/* Em Minha conta, o legado.css (#minha-conta a:not(.btn):hover) pintava o texto de verde e ele sumia no botão. */
#ln_modal_boloes.mds-bolao-modal a.mds-bolao-btn--verde:hover,
#ln_modal_boloes.mds-bolao-modal a.mds-bolao-btn--verde:focus {
  color: #fff;
}

#ln_modal_boloes.mds-bolao-modal .mds-bolao-btn--linha {
  border-color: #b9e6d3;
  color: #1ca97a;
}

#ln_modal_boloes.mds-bolao-modal .mds-bolao-loading {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 32px;
}

@media (max-width: 991px) {
  #ln_modal_boloes.mds-bolao-modal .modal-dialog {
    width: 100%;
    max-width: none;
    height: 100%;
    margin: 0;
  }

  #ln_modal_boloes.mds-bolao-modal .modal-content {
    height: 100%;
    border-radius: 0;
  }

  #ln_modal_boloes.mds-bolao-modal .mds-bolao-grid {
    grid-template-columns: 1fr;
  }

  #ln_modal_boloes.mds-bolao-modal .mds-bolao-apostas {
    border-left: 0;
    border-top: 1px solid #edf2f6;
  }

  #ln_modal_boloes.mds-bolao-modal .mds-bolao-head,
  #ln_modal_boloes.mds-bolao-modal .mds-bolao-info,
  #ln_modal_boloes.mds-bolao-modal .mds-bolao-apostas,
  #ln_modal_boloes.mds-bolao-modal .mds-bolao-foot {
    padding-left: 16px;
    padding-right: 16px;
  }

  #ln_modal_boloes.mds-bolao-modal .mds-bolao-premio {
    font-size: 24px;
  }

  #ln_modal_boloes.mds-bolao-modal .mds-bolao-foot {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  #ln_modal_boloes.mds-bolao-modal .mds-bolao-foot-qtd,
  #ln_modal_boloes.mds-bolao-modal .mds-bolao-foot-acoes {
    width: 100%;
  }

  #ln_modal_boloes.mds-bolao-modal .mds-bolao-foot-acoes {
    flex-direction: column;
  }

  #ln_modal_boloes.mds-bolao-modal .mds-bolao-btn,
  #ln_modal_boloes.mds-bolao-modal .mds-bolao-btn--verde {
    width: 100%;
    min-width: 0;
  }
}

@media (max-width: 420px) {
  #ln_modal_boloes.mds-bolao-modal .mds-ss-ball,
  #ln_modal_boloes.mds-bolao-modal .ln_numeros_aposta li {
    height: 28px;
    font-size: 12px;
  }

  #ln_modal_boloes.mds-bolao-modal .ln_numeros_aposta {
    grid-template-columns: repeat(auto-fill, 32px);
  }

  #ln_modal_boloes.mds-bolao-modal .ln_numeros_aposta li {
    width: 32px;
  }

  #ln_modal_boloes.mds-bolao-modal .mds-bolao-trevo {
    height: 28px;
    font-size: 13px;
  }

  #ln_modal_boloes.mds-bolao-modal .mds-bolao-infos {
    grid-template-columns: 1fr 1fr;
    gap: 10px 12px;
  }
}
