:root {
  --incrivel-bg: #f1f1f1;
  --incrivel-border: #d1d1d1;
  --incrivel-bgColor: #323232;
  --incrivel-bgLink: #202020;
  --incrivel-bgLinkHover: var(--incrivel-primaria);
  --incrivel-rgba: 255, 255, 255;
  --incrivel-rgbaInvert: 0, 0, 0;
  --incrivel-formBg: #fff;
  --incrivel-formBgHover: #d9d9d9;
  --incrivel-formBgHoverColor: #545454;
  --incrivel-formBorder: #c9c9c9;
  --incrivel-formColor: #5a5a5a;
  --incrivel-cardBg: #fff;
  --incrivel-cardColor: #171717;
  --incrivel-cardLink: #000;
  --incrivel-modalBg: #fff;
  --incrivel-modalBorder: #eee;
  --incrivel-modalColor: #333;
  --incrivel-primaria: #000;
  --incrivel-primariaColor: #cfcfcf;
  --incrivel-primariaLink: #fff;
  --incrivel-primariaLinkHover: #fff;
  --incrivel-primariaDarken: #e4e4e4;
  --incrivel-primariaDarkenColor: #323232;
  --incrivel-primariaDarkenLink: #fff;
  --incrivel-primariaDarkenLinkHover: #fff;
}

/* ===== Loop base  ===== */
.logoloop {
  position: relative;
  overflow: hidden;
  --logoloop-gap: 32px;
  --logoloop-logoHeight: 28px;
  --logoloop-fadeColorAuto: #ffffff;
}

@media (prefers-color-scheme: dark) {
  .logoloop {
    --logoloop-fadeColorAuto: #0b0b0b;
  }
}

/* Uma fileira só, sem quebra de linha - FORÇA HORIZONTAL */
.logoloop--one-row {
  width: 100%;
  overflow: hidden;
  height: 72px;
  /* altura mais compacta */
}

.logoloop__track {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  white-space: nowrap !important;
  width: max-content !important;
  height: 72px !important;
  will-change: transform;
  user-select: none;
  align-items: center !important;
}

.logoloop__list {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  white-space: nowrap !important;
  height: 72px !important;
  width: max-content !important;
}

.logoloop__item {
  display: inline-flex !important;
  flex: 0 0 auto !important;
  flex-direction: row !important;
  margin-right: var(--logoloop-gap) !important;
  white-space: nowrap !important;
  height: 72px !important;
  width: auto !important;
  float: none !important;
  clear: none !important;
}

.logoloop--scale-hover .logoloop__item:hover img,
.logoloop--scale-hover .logoloop__item:hover .logoloop__node {
  transform: scale(1.06);
  transform-origin: center center;
  transition: transform .25s ease;
}

.logoloop__link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: inherit;
}

/* Fade nas bordas (já existia) */
.logoloop--fade::before,
.logoloop--fade::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: clamp(24px, 8%, 120px);
  pointer-events: none;
  z-index: 1
}

.logoloop--fade::before {
  left: 0;
  background: linear-gradient(to right, var(--logoloop-fadeColor, var(--logoloop-fadeColorAuto)) 0%, rgba(0, 0, 0, 0) 100%)
}

.logoloop--fade::after {
  right: 0;
  background: linear-gradient(to left, var(--logoloop-fadeColor, var(--logoloop-fadeColorAuto)) 0%, rgba(0, 0, 0, 0) 100%)
}

/* Cartão compacto do ganhador (pílula) */
.ganhadorItem_ganhadorContainer__1Sbxm {
  display: flex !important;
  align-items: center;
  gap: 10px;
  background: var(--bg-card, rgba(255, 255, 255, .04));
  border-radius: 9999px;
  padding: 6px 10px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, .08);
  white-space: nowrap;
  flex-shrink: 0;
  min-width: max-content;
  border: none !important;
  outline: none !important;
}

/* REMOVER TODAS AS BORDAS DOS GANHADORES */
.logoloop__item,
.logoloop__link,
.ganhadorItem_ganhadorContainer__1Sbxm,
.ganhadorItem_ganhadorFoto__324kH,
.ganhadorItem_thumb,
.ganhadorItem_texto {
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
}

/* REMOVER BORDAS ESPECÍFICAS DOS GANHADORES */
.app-ganhadores * {
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
}

/* FORÇA REMOÇÃO DE BORDAS EM TODOS OS ELEMENTOS DOS GANHADORES */
.app-ganhadores .logoloop__item,
.app-ganhadores .logoloop__link,
.app-ganhadores .ganhadorItem_ganhadorContainer__1Sbxm,
.app-ganhadores .ganhadorItem_ganhadorFoto__324kH,
.app-ganhadores .ganhadorItem_thumb,
.app-ganhadores .ganhadorItem_texto,
.app-ganhadores .ganhadorItem_ganhadorNome__2j_J-,
.app-ganhadores .ganhadorItem_ganhadorDescricao__Z4kO2,
.app-ganhadores a,
.app-ganhadores div,
.app-ganhadores li,
.app-ganhadores ul {
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  border-width: 0 !important;
  border-style: none !important;
  border-color: transparent !important;
}

/* REMOVER BORDAS DE IMAGENS DOS GANHADORES */
.app-ganhadores img {
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
}

.ganhadorItem_ganhadorNome__2j_J- {
  font-size: .95rem;
  font-weight: 600;
  margin: 0
}

.ganhadorItem_ganhadorDescricao__Z4kO2 {
  font-size: .8rem;
  line-height: 1.1;
  margin: 0
}

/* FORÇA LAYOUT HORIZONTAL - OVERRIDE TOTAL */
.logoloop,
.logoloop *,
.logoloop .logoloop__track,
.logoloop .logoloop__list,
.logoloop .logoloop__item,
.logoloop .logoloop__link {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  white-space: nowrap !important;
  float: none !important;
  clear: none !important;
  position: relative !important;
}

.logoloop__track {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  height: 72px !important;
  width: max-content !important;
}

.logoloop__list {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  height: 72px !important;
  width: max-content !important;
}

.logoloop__item {
  display: inline-flex !important;
  flex-direction: row !important;
  flex: 0 0 auto !important;
  align-items: center !important;
  height: 72px !important;
  width: auto !important;
  margin-right: 32px !important;
  margin-bottom: 0 !important;
  float: none !important;
  clear: none !important;
}

/* Override específico para Bootstrap e outros frameworks */
.app-ganhadores .logoloop__track,
.app-ganhadores .logoloop__list,
.app-ganhadores .logoloop__item {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  width: auto !important;
  height: 72px !important;
  float: none !important;
  clear: none !important;
}

.app-ganhadores .logoloop__item {
  display: inline-flex !important;
  flex-direction: row !important;
  float: none !important;
  clear: none !important;
  width: auto !important;
  margin-bottom: 0 !important;
  margin-right: 32px !important;
}

/* REGRA FINAL - FORÇA HORIZONTAL A QUALQUER CUSTO */
div.logoloop div.logoloop__track,
div.logoloop ul.logoloop__list,
div.logoloop li.logoloop__item {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  height: 72px !important;
  width: max-content !important;
  float: none !important;
  clear: none !important;
  position: relative !important;
  white-space: nowrap !important;
}

div.logoloop li.logoloop__item {
  display: inline-flex !important;
  flex: 0 0 auto !important;
  margin-right: 32px !important;
  margin-bottom: 0 !important;
  height: 72px !important;
  width: auto !important;
}

/* Mobile friendly - COPIADO DO COMPUTADOR */
@media (max-width:480px) {
  .logoloop {
    --logoloop-gap: 16px;
  }

  .logoloop--one-row {
    height: 64px;
  }

  .logoloop__track,
  .logoloop__list,
  .logoloop__item {
    height: 64px;
  }

  .ganhadorItem_ganhadorNome__2j_J- {
    font-size: .9rem
  }

  .ganhadorItem_ganhadorDescricao__Z4kO2 {
    font-size: .75rem
  }

  /* FORÇA MUDANÇA NO MOBILE - SOBRESCREVE CSS INLINE */
  .app-ganhadores .logoloop__track,
  .app-ganhadores .logoloop__list,
  .app-ganhadores .logoloop__item {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    width: auto !important;
    height: 64px !important;
    float: none !important;
    clear: none !important;
    white-space: nowrap !important;
    align-items: center !important;
  }

  .app-ganhadores .logoloop__item {
    display: inline-flex !important;
    flex-direction: row !important;
    float: none !important;
    clear: none !important;
    width: auto !important;
    height: 64px !important;
    margin-right: 16px !important;
    flex: 0 0 auto !important;
  }

  .app-ganhadores .ganhadorItem_ganhadorContainer__1Sbxm {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    background: var(--bg-card, rgba(255, 255, 255, .04)) !important;
    border-radius: 9999px !important;
    padding: 6px 10px !important;
    box-shadow: 0 3px 10px rgba(0, 0, 0, .08) !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
    min-width: max-content !important;
    border: none !important;
    outline: none !important;
  }

  /* FORÇA SOBRESCREVER ESTILOS INLINE */
  .app-ganhadores .logoloop__track[style*="display"],
  .app-ganhadores .logoloop__list[style*="display"],
  .app-ganhadores .logoloop__item[style*="display"] {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    white-space: nowrap !important;
    align-items: center !important;
  }

  .app-ganhadores .logoloop__item[style*="display"] {
    display: inline-flex !important;
    flex: 0 0 auto !important;
    margin-right: 16px !important;
  }

  /* FORÇA ABSOLUTA - SOBRESCREVE TUDO */
  .app-ganhadores div[style*="display: flex"],
  .app-ganhadores ul[style*="display:flex"],
  .app-ganhadores li[style*="display:inline-flex"] {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    white-space: nowrap !important;
    align-items: center !important;
  }

  .app-ganhadores li[style*="display:inline-flex"] {
    display: inline-flex !important;
    flex: 0 0 auto !important;
    margin-right: 16px !important;
  }

  /* FORÇA SOBRESCREVER ATRIBUTOS STYLE INLINE */
  .app-ganhadores [style*="display: flex"],
  .app-ganhadores [style*="display:flex"],
  .app-ganhadores [style*="display:inline-flex"] {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    white-space: nowrap !important;
    align-items: center !important;
  }

  .app-ganhadores [style*="display:inline-flex"] {
    display: inline-flex !important;
    flex: 0 0 auto !important;
    margin-right: 16px !important;
  }
}

/* separador sutil entre itens do loop */
.logoloop__item {
  position: relative;
}

/* aplica no item que vem depois de outro item */
.logoloop__item+.logoloop__item::before {
  content: "";
  position: absolute;
  left: -12px;
  /* distância do começo do item */
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  /* espessura do separador */
  height: 60%;
  /* altura do tracinho */
  background: rgba(0, 0, 0, .08);
  /* cor clara (modo claro) */
  border-radius: 1px;
}

@media (prefers-color-scheme: dark) {
  .logoloop__item+.logoloop__item::before {
    background: rgba(255, 255, 255, .10);
    /* cor no dark */
  }
}

/* opcional: um pouquinho mais de espaço entre os cards */
.logoloop {
  --logoloop-gap: 20px;
}

/* antes estava 16/32 */

/* chip do número */
.chip-number {
  min-width: 48px;
  height: 40px;
  padding: 0 12px;
  border-radius: 9999px;
  border: 1px solid rgba(0, 0, 0, .12);
  background: #fff;
  color: #111;
  font-weight: 700;
  letter-spacing: .5px;
  outline: none;
}

.chip-number:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, .08);
}

.chip-number:active {
  transform: none;
}

@media (prefers-color-scheme: dark) {
  .chip-number {
    background: #1b1b1b;
    color: #f6f6f6;
    border-color: rgba(255, 255, 255, .18);
  }
}

/* separador entre itens */
.logoloop__item {
  position: relative;
}

.logoloop__item+.logoloop__item::before {
  content: "";
  position: absolute;
  left: -8px;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 60%;
  background: rgba(0, 0, 0, .08);
  border-radius: 1px;
}

@media (prefers-color-scheme: dark) {
  .logoloop__item+.logoloop__item::before {
    background: rgba(255, 255, 255, .12);
  }
}

/* destaque quando rolamos pro tile no grid */
@keyframes blink2 {

  0%,
  100% {
    box-shadow: 0 0 0 rgba(0, 0, 0, 0)
  }

  50% {
    box-shadow: 0 0 0 4px rgba(0, 200, 80, .25)
  }
}

.blink {
  animation: blink2 1s ease 2;
}

:root {
  --brand-green: #16a34a;
  /* verde principal */
  --brand-green-dark: #12833d;
  /* hover/active */
  --chip-shadow: 0 6px 14px rgba(0, 0, 0, .10);
}

/* chip verde bonito */
.chip-number {
  min-width: 56px;
  height: 38px;
  padding: 0 16px;
  border-radius: 9999px;
  border: 0;
  background: #fff;
  color: #111;
  font-weight: 800;
  letter-spacing: .5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
  box-shadow: 0 1px 0 rgba(0, 0, 0, .06);
}

.chip-number--green {
  background: var(--brand-green);
  color: #fff;
  box-shadow: var(--chip-shadow);
}

.chip-number--green:hover {
  transform: translateY(-1px);
  background: var(--brand-green-dark);
}

.chip-number--green:active {
  transform: translateY(0);
  background: var(--brand-green-dark);
}

/* separador sutil entre itens */
.numbers-loop .logoloop__item {
  position: relative;
}

.numbers-loop .logoloop__item+.logoloop__item::before {
  content: "";
  position: absolute;
  left: -9px;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 56%;
  background: rgba(0, 0, 0, .08);
  border-radius: 1px;
}

@media (prefers-color-scheme: dark) {
  .chip-number {
    background: #1b1b1b;
    color: #f6f6f6;
    border-color: rgba(255, 255, 255, .18);
  }

  .chip-number--green {
    background: var(--brand-green);
    color: #fff;
  }

  .numbers-loop .logoloop__item+.logoloop__item::before {
    background: rgba(255, 255, 255, .12);
  }
}

/* altura compacta da faixa */
.logoloop--one-row {
  width: 100%;
  overflow: hidden;
  height: 60px;
}

.logoloop__track,
.logoloop__list,
.logoloop__item {
  height: 60px;
  align-items: center;
}

@media (max-width:480px) {
  .logoloop--one-row {
    height: 56px;
  }

  .logoloop__track,
  .logoloop__list,
  .logoloop__item {
    height: 56px;
  }
}

/* === Fix carrossel de números === */
.numbers-loop.logoloop {
  --logoloop-gap: 14px;
}

/* espaço entre chips */

.chip-number.chip-number--green {
  background: var(--brand-green) !important;
  color: #fff !important;
  border: 0 !important;
  box-shadow: 0 6px 14px rgba(0, 0, 0, .10) !important;
  font-weight: 800;
}

/* separador sutil entre chips (continua) */
.numbers-loop .logoloop__item+.logoloop__item::before {
  content: "";
  position: absolute;
  left: -9px;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 56%;
  background: rgba(0, 0, 0, .08);
  border-radius: 1px;
}

@media (prefers-color-scheme: dark) {
  .numbers-loop .logoloop__item+.logoloop__item::before {
    background: rgba(255, 255, 255, .12);
  }
}

/* === FIX DEFINITIVO: chips verdes no carrossel de Números disponíveis === */
.numbers-loop .logoloop__item .chip-number,
.numbers-loop .logoloop__item .chip-number.chip-number--green,
.numbers-loop .logoloop__item .chip-number.btn,
.numbers-loop .logoloop__item .chip-number[class*="btn"] {
  -webkit-appearance: none !important;
  appearance: none !important;
  background: #16a34a !important;
  /* verde */
  background-color: #16a34a !important;
  color: #fff !important;
  border: 0 !important;
  outline: none !important;
  box-shadow: 0 6px 14px rgba(0, 0, 0, .10) !important;

  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 56px !important;
  height: 38px !important;
  padding: 0 16px !important;
  border-radius: 9999px !important;
  font-weight: 800 !important;
  letter-spacing: .5px !important;
  cursor: pointer !important;
}

.numbers-loop .logoloop__item .chip-number:hover {
  transform: translateY(-1px) !important;
  background-color: #12833d !important;
  /* verde escuro */
}

.numbers-loop .logoloop__item .chip-number:active {
  transform: translateY(0) !important;
}

.numbers-loop .logoloop__item .chip-number:focus-visible {
  outline: 2px solid rgba(22, 163, 74, .4) !important;
  outline-offset: 2px !important;
}

/* separador sutil entre chips (mantém) */
.numbers-loop .logoloop__item+.logoloop__item::before {
  content: "";
  position: absolute;
  left: -9px;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 56%;
  background: rgba(0, 0, 0, .08);
  border-radius: 1px;
}

@media (prefers-color-scheme: dark) {
  .numbers-loop .logoloop__item+.logoloop__item::before {
    background: rgba(255, 255, 255, .12);
  }
}