/* Primeira camada da identidade Aposta Ganha baseada na referência enviada.
   Mantém o app e as rotas existentes; esta folha só cuida da apresentação. */
@font-face {
  font-family: "Montserrat";
  src: url("../fonts/montserrat-500.woff2") format("woff2");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: "Montserrat";
  src: url("../fonts/montserrat-700.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: "Montserrat";
  src: url("../fonts/montserrat-800.woff2") format("woff2");
  font-style: normal;
  font-weight: 800 900;
  font-display: swap;
}
:root {
  color-scheme: light;
  --z-primario: #fff;
  --z-secundario: #fff;
  --z-terceiro: #f4f4f4;
  --z-quarto: #eee;
  --z-cinza: #6b6b6b;
  --z-ouro: #ff6800;
  --z-ouro-rgb: 255 104 0;
  --z-ouro-vivo: #ff7b18;
  --z-ouro-hover: #e95e00;
  --z-ouro-fundo: #fff0e5;
  --z-ouro-claro: #ffb16e;
  --z-link: #ff6800;
  --z-borda: #e4e4e4;
  --z-regra: #e8e8e8;
  --z-linha-sutil: #00000014;
  --z-card-a: #fff;
  --z-card-b: #f8f8f8;
  --z-rodape: #737373;
  --z-tinta-ouro: #fff;
  --z-grad-botao: #ff6800;
  --b-fundo: #f1f1f1;
  --b-painel: #fff;
  --b-card: #fff;
  --b-card-2: #f7f7f7;
  --b-ouro: #ff6800;
  --b-ouro-2: #ff6800;
  --b-ouro-escuro: #e95700;
  --b-texto: #171717;
  --b-texto-2: #454545;
  --b-texto-3: #757575;
  --s-pagina: #f1f1f1;
  --s-carta: #fff;
  --s-borda: #e5e5e5;
  --s-odd: #f4f4f4;
  --s-odd-hover: #ededed;
  --s-pilula: #f2f2f2;
  --s-pilula-borda: #dedede;
  --s-acento: #ff6800;
  --s-amarelo: #ff6800;
  --g-pagina: #f1f1f1;
  --g-bg1: #fff;
  --g-bg2: #f8f8f8;
  --g-bg3: #f1f1f1;
  --g-bg4: #ececec;
  --g-bg5: #e5e5e5;
  --g-bg6: #dedede;
  --g-p4: #ff6800;
  --g-p6: #ff6800;
  --g-p7: #e95700;
  --g-mb2: #ffb16e;
  --g-mb3: #e5e5e5;
  --g-mb5: #ff6800;
  --g-btn-a: #ff6800;
  --g-btn-b: #ff8b35;
  --g-txt: #171717;
  --g-txt-2: #454545;
  --g-txt-3: #757575;
  --g-txt-4: #999;
  --g-luz: #00000008;
  --g-amarelo: #ff6800;
  --g-ouro: #ff6800;
  --g-borda-clara: #ddd;
  --g-divisor: #e5e5e5;
  --g-grad-botao: #ff6800;
  --fonte: "Montserrat", Arial, sans-serif;
}

html,
body,
#root {
  min-height: 100%;
  background: #f1f1f1;
  color: #171717;
  font-family: "Montserrat", Arial, sans-serif;
}

/* Faixa promocional laranja e cabeçalho branco da referência. */
[class*="_barra_bbdf0_"] {
  color: #fff;
  background: linear-gradient(105deg, #ff7400 0%, #ff5522 58%, #ff303b 100%);
}
[class*="_botao_bbdf0_"] { color: #ef5c00; }
[class*="_cabecalho_1iwy1_"] {
  --hdr-borda: #e4e4e4;
  background: #fff !important;
  box-shadow: 0 3px 14px #00000016;
}
[class*="_barra_1iwy1_"] { background: #fff; }
[class*="_logo_1iwy1_"] img,
[class*="_logo_19r96_"] {
  content: url("/bet/brand/logo-apostaganha.png");
  object-fit: contain;
}
[class*="_logo_1iwy1_"] img {
  width: 238px !important;
  max-width: 238px !important;
  height: 42px !important;
  max-height: 42px !important;
}
[class*="_aba_1iwy1_"] { color: #666; }
[class*="_aba_1iwy1_"]:hover,
[class*="_abaAtiva_1iwy1_"] { color: #ff6800 !important; }
[class*="_abaAtiva_1iwy1_"]:after { background: #ff6800 !important; }
[class*="_pilula_1iwy1_"],
[class*="_saldo_1iwy1_"] {
  color: #222;
  background: #f2f2f2;
  border-color: #dedede;
}
[class*="_registrar_1iwy1_"] {
  color: #fff !important;
  background: #ff6800 !important;
  border-color: #ff6800 !important;
}
[class*="_depositar_1iwy1_"] {
  color: #fff !important;
  background: #e95e00 !important;
  border-color: #e95e00 !important;
}
[class*="_conta_1iwy1_"] { color: #444; }

/* Superfícies claras para o catálogo, menus e cartões da aplicação. */
[class*="_casca_1slwl_"],
[class*="_principal_1slwl_"],
[class*="_pagina_1slwl_"],
[class*="_corpo_1slwl_"] { background: #f1f1f1; }
[class*="_lateral_1f3s4_"] { color: #171717; background: #fff; }
[class*="_topoGaveta_1f3s4_"] { border-color: #e5e5e5; }
[class*="_tituloGaveta_1f3s4_"],
[class*="_item_1f3s4_"],
[class*="_sub_1f3s4_"] { color: #222; }
[class*="_item_1f3s4_"]:hover,
[class*="_sub_1f3s4_"]:hover { color: #171717; background: #fff0e5; }
[class*="_ativo_1f3s4_"] { color: #fff !important; background: #ff6800 !important; }
[class*="_ativo_1f3s4_"] [class*="_icone_1f3s4_"] { color: #fff !important; }

/* Botões e links ativos usam o laranja da marca. */
button, a { -webkit-tap-highlight-color: transparent; }
[class*="_botao_"], [class*="_primario_"], [class*="_depositar_"] { --z-ouro: #ff6800; }
[class*="_rodape_19r96_"] { color: #555; background: #fff; border-color: #e5e5e5; }
[class*="_rodape_19r96_"] h2 { color: #171717; }
[class*="_rodape_19r96_"] a { color: #555; }

@media (min-width: 1024px) {
  :root { --cont-w: 100%; --cont-x: 24px; --lat-w: 336px; }
  [class*="_cabecalho_1iwy1_"] { --faixa-h: 0px; }
  [class*="_barra_1iwy1_"] { min-height: 76px; }
  [class*="_abas_1iwy1_"] { gap: clamp(20px, 3vw, 52px); }
  [class*="_aba_1iwy1_"] { font-size: 15px; }
  [class*="_corpo_1slwl_"] { max-width: none; padding: 18px 28px; }
  [class*="_principal_1slwl_"] { min-height: calc(100vh - var(--cab-h) - var(--barra-h)); }
  [class*="_lateral_1f3s4_"] {
    align-self: flex-start;
    height: auto;
    max-height: calc(100vh - var(--cab-h) - var(--barra-h) - 56px);
    margin: 38px 58px 32px 26px;
    background: #fff;
    border: 0;
    border-radius: 28px;
    box-shadow: 0 1px 5px #00000008;
  }
  [class*="_rolagem_1f3s4_"] { padding: 22px 0 24px; }
  [class*="_titulo_1f3s4_33"] {
    height: auto;
    min-height: 48px;
    margin: 0 18px 12px;
    padding: 0 16px;
    color: #171717;
    font-size: 17px;
    font-weight: 800;
  }
  [class*="_item_1f3s4_53"] {
    min-height: 58px;
    margin: 0 0 8px;
    padding: 0 24px;
    border-radius: 0;
    font-size: 16px;
    font-weight: 600;
  }
  [class*="_item_1f3s4_53"]:hover { background: #fff3e9; }
  [class*="_ativo_1f3s4_72"] {
    min-height: 72px;
    color: #fff !important;
    background: #ff6800 !important;
    border-radius: 30px;
  }
  [class*="_corpo_1slwl_"] [class*="_lista_yauga_300"] {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 14px;
  }
  [class*="_corpo_1slwl_"] [class*="_capa_yauga_95"] {
    border-radius: 12px;
    box-shadow: 0 2px 8px #00000016;
  }
}

@media (max-width: 767px) {
  [class*="_logo_1iwy1_"] img { width: 178px !important; height: 34px !important; }
}

/* Em celulares, use o símbolo AG no cabeçalho e rodapé para evitar a marca cortada. */
@media (max-width: 767px) {
  [class*="_logo_1iwy1_"] {
    flex: 0 0 48px !important;
    width: 48px !important;
    min-width: 48px !important;
    margin-inline: 0 !important;
  }
  [class*="_logo_1iwy1_"] img,
  header a[href="/lobby"] img[src*="logo-apostaganha"],
  footer img[src*="logo-apostaganha"] {
    content: url("/bet/brand/apostaganha-simbolo-192.png") !important;
    width: 44px !important;
    max-width: 44px !important;
    height: 44px !important;
    max-height: 44px !important;
    object-fit: contain !important;
  }
  footer img[src*="logo-apostaganha"] {
    width: 40px !important;
    max-width: 40px !important;
    height: 40px !important;
    max-height: 40px !important;
  }
}

/* Camada de acabamento da referência Aposta Ganha: navegação de desktop,
   vitrine de jogos e cartões de autenticação/consentimento. */
:root {
  --ag-laranja: #ff6800;
  --ag-texto: #171717;
  --ag-fundo: #f1f1f1;
  --ag-largura-sidebar: clamp(282px, 16.8vw, 336px);
}

.ag-faixa-convite {
  position: relative;
  z-index: 80;
  display: flex;
  align-items: center;
  min-height: 58px;
  padding: 8px 54px 8px 12px;
  color: #fff;
  background: linear-gradient(105deg, #ff7400 0%, #ff5522 58%, #ff303b 100%);
  font: 500 19px/1.2 "Montserrat", Arial, sans-serif;
}
.ag-faixa-convite button:first-child {
  flex: none;
  margin-right: 14px;
  padding: 9px 22px;
  color: #ef5c00;
  background: #fff;
  border: 0;
  border-radius: 11px;
  font-weight: 800;
  cursor: pointer;
}
.ag-faixa-convite strong { font-weight: 800; }
.ag-faixa-fechar {
  position: absolute;
  top: 50%;
  right: 12px;
  width: 38px;
  height: 38px;
  transform: translateY(-50%);
  border: 0;
  border-radius: 50%;
  color: #222;
  background: #fff;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}

@media (min-width: 1024px) {
  [class*="_cabecalho_1iwy1_"] {
    top: 0 !important;
    z-index: 75 !important;
    height: 86px !important;
    margin-top: 0 !important;
  }
  [class*="_barra_1iwy1_"] {
    height: 86px !important;
    min-height: 86px !important;
    padding: 0 24px !important;
  }
  [class*="_logo_1iwy1_"] { margin-left: 0 !important; }
  [class*="_logo_1iwy1_"] img {
    width: 340px !important;
    max-width: min(340px, 26vw) !important;
    height: 54px !important;
    max-height: 54px !important;
  }
  [class*="_abas_1iwy1_"] { height: 86px !important; }
  [class*="_abas_1iwy1_"] {
    left: 50% !important;
    width: max-content !important;
    min-width: 540px !important;
    justify-content: center !important;
    gap: clamp(20px, 2.1vw, 42px) !important;
    transform: translateX(-50%) !important;
  }
  [class*="_direita_1iwy1_"] { margin-right: 4px !important; gap: 14px !important; }
  [class*="_registrar_1iwy1_"] {
    min-width: 146px;
    min-height: 44px;
    border-radius: 12px !important;
    background: #e95e00 !important;
    border-color: #e95e00 !important;
    font-size: 16px !important;
  }
  [class*="_aba_1iwy1_"] { font-weight: 800 !important; text-transform: uppercase; }
  [class*="_aba_1iwy1_"].ag-nav-link { color: #666 !important; }
  [class*="_aba_1iwy1_"].ag-nav-active { color: #ff6800 !important; }

  .ag-sidebar {
    position: fixed;
    z-index: 70;
    top: 176px;
    bottom: 28px;
    left: max(38px, calc((100vw - 1890px) / 2 + 54px));
    display: flex;
    width: var(--ag-largura-sidebar);
    flex-direction: column;
    overflow: hidden;
    padding: 18px 0 16px;
    color: var(--ag-texto);
    background: #fff;
    border-radius: 30px;
    box-shadow: 0 1px 5px #00000008;
    font-family: "Montserrat", Arial, sans-serif;
  }
  .ag-sidebar__marca {
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 66px;
    margin: 0 18px 14px;
    padding: 0 16px;
    border-bottom: 1px solid #f0f0f0;
    font-size: 17px;
    font-weight: 800;
    text-transform: uppercase;
  }
  .ag-sidebar__marca-icone {
    display: grid;
    width: 32px;
    height: 32px;
    place-items: center;
    color: #fff;
    background: var(--ag-laranja);
    border-radius: 8px;
    font-size: 14px;
    letter-spacing: -2px;
  }
  .ag-sidebar__lista { overflow: auto; padding: 0 0 8px; }
  .ag-sidebar__link {
    display: flex;
    align-items: center;
    min-height: 68px;
    margin: 0 0 4px;
    padding: 0 30px;
    gap: 19px;
    color: #202020;
    border-radius: 0;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: background .15s ease, color .15s ease;
  }
  .ag-sidebar__link:hover { background: #fff2e9; }
  .ag-sidebar__link.is-active {
    min-height: 72px;
    margin-right: 0;
    color: #fff;
    background: var(--ag-laranja);
    border-radius: 30px;
  }
  .ag-sidebar__icone { width: 25px; height: 25px; flex: none; }
  .ag-sidebar__icone svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

  main[class*="_principal_1slwl_"] {
    width: auto !important;
    max-width: none !important;
    margin: 0 26px 0 calc(var(--ag-largura-sidebar) + 19px) !important;
    padding: 18px 20px 48px !important;
  }
  [class*="_categorias_yauga_"] { display: none !important; }
  main:has([class*="_titulo_yauga_"]) [class*="_busca_yauga_"] { display: none !important; }
  [class*="_pagina_yauga_"] { position: relative !important; }
  [class*="_pagina_yauga_"] h1 { color: #111; font-size: 23px; font-weight: 800; }
  main:has([class*="_titulo_yauga_"]) [class*="_lista_yauga_"] {
    display: grid !important;
    grid-template-columns: repeat(8, minmax(0, 1fr)) !important;
    gap: 20px !important;
  }
  main:has([class*="_titulo_yauga_"]) [class*="_lista_yauga_"] > [class*="_item_yauga_"]:first-child {
    grid-column: span 2;
    grid-row: span 2;
  }
  main:has([class*="_titulo_yauga_"]) [class*="_item_yauga_"] { min-width: 0 !important; }
  [class*="_capa_yauga_"] { border-radius: 12px !important; }
  [class*="_capaBotao_yauga_"] { border-radius: 12px !important; }
}

/* Consentimento com a paleta e os cantos da nova marca. */
[class*="_aviso_jh971_"] {
  z-index: 120 !important;
  background: rgb(242 242 242 / 96%) !important;
  border-top: 1px solid #e2e2e2 !important;
  box-shadow: 0 -8px 28px #00000012 !important;
  backdrop-filter: blur(10px);
}
[class*="_dentro_jh971_"] { max-width: 1180px !important; gap: 22px !important; }
[class*="_texto_jh971_"] h2 { color: #171717 !important; font-family: "Montserrat", Arial, sans-serif !important; }
[class*="_texto_jh971_"] p, [class*="_texto_jh971_"] a { color: #555 !important; }
[class*="_texto_jh971_"] a { color: #e95e00 !important; }
[class*="_botoes_jh971_"] button {
  min-height: 42px !important;
  color: #d95400 !important;
  background: #fff !important;
  border: 1px solid #ff8b35 !important;
  border-radius: 10px !important;
  font-family: "Montserrat", Arial, sans-serif !important;
  font-weight: 700 !important;
}
[class*="_botoes_jh971_"] button:last-child {
  color: #fff !important;
  background: #ff6800 !important;
  border-color: #ff6800 !important;
}
[class*="_busca_yauga_"] { background: #fff !important; border: 1px solid #dedede !important; border-radius: 12px !important; }
[class*="_busca_yauga_"] input { color: #222 !important; }
[class*="_busca_yauga_"] input::placeholder { color: #858585 !important; opacity: 1; }

/* Login, cadastro e formulários internos deixam o verde legado. */
[class*="_janela_1dpd5_"] {
  overflow: hidden !important;
  color: #171717 !important;
  background: #fff !important;
  border: 1px solid #ececec !important;
  border-radius: 18px !important;
  box-shadow: 0 18px 60px #00000028 !important;
  font-family: "Montserrat", Arial, sans-serif !important;
}
[class*="_janela_1dpd5_"] h1,
[class*="_janela_1dpd5_"] h2,
[class*="_janela_1dpd5_"] label { color: #171717 !important; }
[class*="_input_1dpd5_"] {
  min-height: 52px !important;
  color: #171717 !important;
  background: #fff !important;
  border: 1px solid #d7d7d7 !important;
  border-radius: 10px !important;
  font-family: "Montserrat", Arial, sans-serif !important;
  box-shadow: none !important;
}
[class*="_input_1dpd5_"]::placeholder { color: #777 !important; opacity: 1 !important; }
[class*="_input_1dpd5_"]:focus { border-color: #ff6800 !important; box-shadow: 0 0 0 3px #ff680020 !important; }
[class*="_caixa_1dpd5_"] {
  min-width: 0 !important;
  color: #171717 !important;
  background: #fff !important;
  border: 1px solid #d7d7d7 !important;
  border-radius: 10px !important;
  box-shadow: none !important;
}
[class*="_caixa_1dpd5_"] [class*="_input_1dpd5_"] { border: 0 !important; border-radius: 9px !important; }
[class*="_enviar_1dpd5_"] {
  min-height: 48px !important;
  color: #fff !important;
  background: #ff6800 !important;
  border-color: #ff6800 !important;
  border-radius: 10px !important;
  font-family: "Montserrat", Arial, sans-serif !important;
  font-weight: 800 !important;
}
[class*="_enviar_1dpd5_"]:hover { background: #e95e00 !important; }
[class*="_linkAcao_1dpd5_"] { color: #e95e00 !important; font-weight: 700 !important; }
[class*="_olho_1dpd5_"] {
  color: #e95e00 !important;
  background: #fff3e9 !important;
  border: 1px solid #ececec !important;
  border-radius: 9px !important;
}
[class*="_fechar_1dpd5_"] { color: #333 !important; }
[class*="_janelaLogin_1dpd5_"]::before,
[class*="_janelaCadastro_1dpd5_"]::before {
  display: block;
  margin: 0 42px 16px 0;
  color: #171717;
  font: 800 22px/1.25 "Montserrat", Arial, sans-serif;
  content: "Entre na Aposta Ganha";
}
[class*="_janelaLogin_1dpd5_"] [class*="_form_1dpd5_"] {
  gap: 16px !important;
  padding-top: 28px !important;
}
[class*="_janela_1dpd5_"]::before {
  position: absolute;
  top: 18px;
  left: 20px;
  margin: 0 40px 0 0;
}
[class*="_janelaCadastro_1dpd5_"]::before { content: "Crie sua conta"; }
[class*="_janelaCadastro_1dpd5_"]::before { display: none; content: none; }
[class*="_janelaCadastro_1dpd5_"] {
  width: min(560px, calc(100vw - 32px)) !important;
  max-width: 560px !important;
  max-height: calc(100vh - 48px) !important;
  overflow: auto !important;
  border-radius: 18px !important;
}
[class*="_barraTopo_1dpd5_"] {
  display: flex !important;
  min-height: 78px !important;
  align-items: center !important;
  justify-content: flex-start !important;
  padding: 18px 24px !important;
  background: #fff !important;
  background-image: none !important;
  border-bottom: 1px solid #ececec !important;
}
[class*="_barraTopo_1dpd5_"] img { display: none !important; }
[class*="_titulo_1dpd5_"] {
  width: auto !important;
  margin: 0 !important;
  color: #171717 !important;
  text-align: left !important;
  font: 800 22px/1.25 "Montserrat", Arial, sans-serif !important;
}
[class*="_corpo_1dpd5_"] { width: 100% !important; max-width: none !important; padding: 18px 24px 24px !important; }
[class*="_form_1dpd5_"] { width: 100% !important; max-width: none !important; }
[class*="_corpo_1dpd5_"] p,
[class*="_corpo_1dpd5_"] small,
[class*="_ajuda_1dpd5_"] { color: #555 !important; }
[class*="_dica_1dpd5_"] { color: #666 !important; }
[class*="_erro_1dpd5_"] { color: #b42318 !important; }
[class*="_validar_1dpd5_"] {
  color: #fff !important;
  background: #ff6800 !important;
  border-color: #ff6800 !important;
  border-radius: 9px !important;
}
[class*="_aceite_1dpd5_"] input { accent-color: #ff6800 !important; appearance: auto !important; }
[class*="_bolinha_1dpd5_"] { color: #fff !important; background: #fff !important; border: 1px solid #bdbdbd !important; border-radius: 5px !important; }
[class*="_bolinhaMarcada_1dpd5_"] { color: #fff !important; background: #ff6800 !important; border-color: #ff6800 !important; }
body:has([role="dialog"]) [class*="_aviso_jh971_"] { display: none !important; }

/* O login deve ficar centralizado na viewport, sem encostar no topo em telas baixas. */
body:has([class*="_janelaLogin_1dpd5_"]) [class*="_fundo_1dpd5_"] {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 20px 12px !important;
}
body:has([class*="_janelaLogin_1dpd5_"]) [class*="_janelaLogin_1dpd5_"] {
  width: min(560px, calc(100vw - 24px)) !important;
  margin: auto !important;
}

.ag-category-back,
.ag-category-filter {
  position: absolute;
  z-index: 3;
  display: grid;
  width: 50px;
  height: 50px;
  place-items: center;
  color: #111;
  background: #fff;
  border: 0;
  border-radius: 10px;
  box-shadow: 0 1px 5px #0000000d;
  cursor: pointer;
}
.ag-category-back { top: 0; left: -12px; font-size: 30px; }
.ag-category-filter { top: 0; right: 0; }
.ag-category-filter svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ag-category-options {
  position: absolute;
  z-index: 4;
  top: 58px;
  right: 0;
  display: none;
  min-width: 210px;
  padding: 14px;
  background: #fff;
  border: 1px solid #e7e7e7;
  border-radius: 12px;
  box-shadow: 0 10px 28px #00000018;
}
.ag-category-options.is-open { display: grid; gap: 8px; }
.ag-category-options strong { margin-bottom: 4px; font-size: 13px; }
.ag-category-options button { padding: 9px 10px; text-align: left; color: #333; background: #f7f7f7; border: 0; border-radius: 8px; cursor: pointer; }
.ag-category-options button:hover { color: #e95e00; background: #fff0e5; }

@media (max-width: 1023px) {
  .ag-faixa-convite { min-height: 44px; padding: 6px 42px 6px 10px; font-size: 12px; }
  .ag-faixa-convite button:first-child { margin-right: 8px; padding: 7px 10px; font-size: 11px; }
  .ag-faixa-fechar { right: 6px; width: 30px; height: 30px; font-size: 20px; }
  .ag-sidebar { display: none; }
  .ag-category-back { display: none; }
  .ag-category-filter { width: 40px; height: 40px; }
  main:has([class*="_titulo_yauga_"]) [class*="_lista_yauga_"] > [class*="_item_yauga_"]:first-child { grid-column: auto; grid-row: auto; }
}

/* Aviso de instalação e Início no mobile. */
[class*="_aviso_16fx6_"] {
  z-index: 9999 !important;
  width: min(420px, calc(100vw - 28px)) !important;
  min-width: 0 !important;
  left: auto !important;
  right: 18px !important;
  bottom: calc(var(--nav-b, 0px) + var(--seguro-baixo, 0px) + 18px) !important;
  grid-template-columns: 56px minmax(0, 1fr) !important;
  align-items: center !important;
  gap: 12px 14px !important;
  padding: 18px !important;
  color: #171717 !important;
  background: #fff !important;
  border: 1px solid #f1c7aa !important;
  border-radius: 16px !important;
  box-shadow: 0 12px 36px #00000020 !important;
  font-family: "Montserrat", Arial, sans-serif !important;
}
[class*="_icone_16fx6_"] {
  width: 56px !important;
  height: 56px !important;
  padding: 3px !important;
  background: #fff1e7 !important;
  border-radius: 14px !important;
  object-fit: contain !important;
}
[class*="_texto_16fx6_"] b { color: #171717 !important; font-size: 15px !important; line-height: 1.35 !important; }
[class*="_texto_16fx6_"] p { margin: 4px 0 0 !important; color: #555 !important; font-size: 13px !important; line-height: 1.45 !important; }
[class*="_texto_16fx6_"] strong { color: #d95700 !important; }
[class*="_botoes_16fx6_"] { gap: 10px !important; margin-top: 2px !important; }
[class*="_instalar_16fx6_"], [class*="_depois_16fx6_"] {
  min-height: 42px !important;
  height: 42px !important;
  padding: 0 16px !important;
  border-radius: 10px !important;
  font: 700 13px/1 "Montserrat", Arial, sans-serif !important;
}
[class*="_instalar_16fx6_"] { color: #fff !important; background: #ff6800 !important; border: 1px solid #ff6800 !important; }
[class*="_depois_16fx6_"] { color: #d95700 !important; background: #fff !important; border: 1px solid #ff9a59 !important; }
[class*="_instalar_16fx6_"]:focus-visible, [class*="_depois_16fx6_"]:focus-visible { outline: 3px solid #ff680055 !important; outline-offset: 2px !important; }

@media (min-width: 1024px) {
  [class*="_aviso_16fx6_"] { right: 28px !important; bottom: 28px !important; }
}
@media (max-width: 767px) {
  [class*="_aviso_16fx6_"] {
    left: 14px !important;
    right: 14px !important;
    bottom: calc(var(--nav-b, 0px) + var(--seguro-baixo, 0px) + 12px) !important;
    width: auto !important;
    padding: 16px !important;
    gap: 10px 12px !important;
  }
  [class*="_botoes_16fx6_"] { justify-content: stretch !important; }
  [class*="_instalar_16fx6_"], [class*="_depois_16fx6_"] { flex: 1 1 0; padding: 0 10px !important; }
  [class*="_categorias_yauga_"] {
    margin: 10px 12px 14px !important;
    padding: 8px 6px !important;
    background: #fff !important;
    border: 1px solid #e8e8e8 !important;
    border-radius: 14px !important;
    box-shadow: 0 2px 8px #00000008 !important;
  }
  [class*="_categoria_yauga_"] { color: #555 !important; }
  [class*="_categoriaAtiva_yauga_"] { color: #e95e00 !important; }
  [class*="_categoriaIcone_yauga_"] { filter: grayscale(1) contrast(1.35); opacity: .72; }
  [class*="_categoriaAtiva_yauga_"] [class*="_categoriaIcone_yauga_"] { filter: grayscale(1) sepia(1) saturate(5) hue-rotate(345deg); opacity: 1; }
}

@media (max-width: 1023px) {
  [class*="_fundoCadastro_1dpd5_"] {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 12px !important;
  }
  [class*="_janela_1dpd5_"] {
    width: min(560px, calc(100vw - 24px)) !important;
    max-width: calc(100vw - 24px) !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: calc(100dvh - 24px) !important;
    margin: auto !important;
  }
  [class*="_janelaCadastro_1dpd5_"] { width: min(560px, calc(100vw - 24px)) !important; }
}

@media (max-width: 767px) {
  [class*="_janela_1dpd5_"] {
    width: calc(100vw - 24px) !important;
    max-width: 460px !important;
    max-height: calc(100dvh - 24px) !important;
    overflow-y: auto !important;
    border-radius: 16px !important;
  }
  [class*="_corpo_1dpd5_"] { padding: 16px !important; }
  [class*="_form_1dpd5_"], [class*="_campo_1dpd5_"] { width: 100% !important; min-width: 0 !important; }
  [class*="_input_1dpd5_"] { width: 100% !important; min-width: 0 !important; box-sizing: border-box !important; }
  [class*="_janelaCadastro_1dpd5_"] [class*="_barraTopo_1dpd5_"] { min-height: 64px !important; padding: 14px 16px !important; }
  [class*="_janelaCadastro_1dpd5_"] [class*="_corpo_1dpd5_"] { padding: 14px 16px 20px !important; }
}

@media (max-width: 1023px) {
  [class*="_categorias_yauga_"] {
    margin: 10px 12px 14px !important;
    padding: 8px 6px !important;
    background: #fff !important;
    border: 1px solid #e8e8e8 !important;
    border-radius: 14px !important;
    box-shadow: 0 2px 8px #00000008 !important;
  }
  [class*="_categoria_yauga_"] { color: #555 !important; font-weight: 600 !important; }
  [class*="_categoriaAtiva_yauga_"] { color: #e95e00 !important; }
  [class*="_categoriaIcone_yauga_"] { filter: grayscale(1) contrast(1.35); opacity: .72; }
  [class*="_categoriaAtiva_yauga_"] [class*="_categoriaIcone_yauga_"] { filter: brightness(0) saturate(100%) invert(43%) sepia(97%) saturate(2176%) hue-rotate(359deg) brightness(101%) contrast(106%); opacity: 1; }
}

/* Futebol Aposta Ganha: cartões claros e odds em laranja, sem a linguagem visual
   escura/amarela do template esportivo original. Mantém a API e o bilhete atuais. */
body:has([class*="_casca_1vn6g_"]) {
  --z-secundario: #fff;
  --z-terceiro: #f6f6f6;
  --z-quarto: #ededed;
  --z-cinza: #656565;
  --z-borda: #e6e6e6;
  --z-linha-sutil: #00000010;
  --s-pagina: #f1f1f1;
  --s-carta: #fff;
  --s-borda: #e4e4e4;
  --s-odd: #fff2e8;
  --s-odd-hover: #ffe4d1;
  --s-pilula: #f5f5f5;
  --s-pilula-borda: #e5e5e5;
  --s-acento: #ff6800;
  --s-amarelo: #ff6800;
  --s-apagado: #747474;
  --s-claro: #4b4b4b;
}
body:has([class*="_casca_1vn6g_"]) [class*="_principal_"],
body:has([class*="_casca_1vn6g_"]) [class*="_pagina_"] { color: #171717; }
body:has([class*="_casca_1vn6g_"]) [class*="_atalhos_"] { gap: 8px; padding-block: 4px 8px; }
body:has([class*="_casca_1vn6g_"]) [class*="_atalho_"] {
  color: #343434; background: #fff; border: 1px solid #e5e5e5;
  border-radius: 12px; box-shadow: 0 2px 8px #00000008;
}
body:has([class*="_casca_1vn6g_"]) [class*="_atalhoAtivo_"] {
  color: #e95700; background: #fff0e5; border-color: #ffb16e;
}
body:has([class*="_casca_1vn6g_"]) [class*="_busca_"] {
  color: #454545; background: #fff; border: 1px solid #e4e4e4; border-radius: 12px;
}
body:has([class*="_casca_1vn6g_"]) [class*="_busca_"] input,
body:has([class*="_casca_1vn6g_"]) [class*="_busca_"] input::placeholder { color: #454545; }
body:has([class*="_casca_1vn6g_"]) [class*="_secaoTitulo_"],
body:has([class*="_casca_1vn6g_"]) [class*="_cartaoTopo_"],
body:has([class*="_casca_1vn6g_"]) [class*="_cartaoInfo_"],
body:has([class*="_casca_1vn6g_"]) [class*="_time_"] { color: #171717; }
body:has([class*="_casca_1vn6g_"]) [class*="_vazio_"],
body:has([class*="_casca_1vn6g_"]) [class*="_vazioTexto_"] {
  color: #4b4b4b; background: #fff; border: 1px solid #e6e6e6;
  border-radius: 16px; box-shadow: 0 4px 16px #00000008;
}
body:has([class*="_casca_1vn6g_"]) [class*="_odd_"] {
  color: #d95000; background: #fff2e8; border: 1px solid #f2d8c7;
  border-radius: 10px; font-weight: 800;
}
body:has([class*="_casca_1vn6g_"]) button[class*="_odd_"]:hover {
  color: #c44800; background: #ffe4d1; border-color: #ffb16e;
}
body:has([class*="_casca_1vn6g_"]) [class*="_oddMarcada_"] {
  color: #fff; background: #ff6800; border-color: #ff6800;
  box-shadow: 0 3px 10px #ff680033;
}
body:has([class*="_casca_1vn6g_"]) [class*="_oddMarcada_"] * { color: inherit; }
body:has([class*="_casca_1vn6g_"]) [class*="_cartao_"] {
  background: #fff; border: 1px solid #e5e5e5; border-radius: 14px;
  box-shadow: 0 3px 12px #00000008;
}
body:has([class*="_casca_1vn6g_"]) [class*="_barra_"] {
  color: #fff; background: linear-gradient(100deg, #ff6800, #ff8b35);
  border-radius: 10px 10px 6px 6px;
}
body:has([class*="_casca_1vn6g_"]) [class*="_barra_"] > span:not(:first-child) { color: #fff; }
body:has([class*="_casca_1vn6g_"]) [class*="_cartaoTime_"] b {
  color: #fff; background: #252525; border-radius: 6px;
}
body:has([class*="_casca_1vn6g_"]) [class*="_maisMercados_"] { color: #e95700; }
body:has([class*="_casca_1vn6g_"]) [class*="_doca_"] {
  overflow: hidden; background: #fff; border: 1px solid #e5e5e5;
  border-radius: 16px 16px 0 0; box-shadow: 0 -8px 28px #0000001a;
}
body:has([class*="_casca_1vn6g_"]) [class*="_resumo_"] {
  color: #292929; background: #fff; padding: 14px 44px 14px 18px;
}
body:has([class*="_casca_1vn6g_"]) [class*="_selecoes_"] { color: #d95000; }
body:has([class*="_casca_1vn6g_"]) [class*="_qtd_"] {
  color: #fff; background: #ff6800; border-radius: 999px;
}
body:has([class*="_casca_1vn6g_"]) [class*="_acoes_"] { height: 56px; background: #fff; }
body:has([class*="_casca_1vn6g_"]) [class*="_aposta_"] { color: #333; background: #f5f5f5; }
body:has([class*="_casca_1vn6g_"]) [class*="_fazer_"] {
  color: #fff; background: #e95e00; font-weight: 800;
}
body:has([class*="_casca_1vn6g_"]) [class*="_fazer_"]:hover { background: #e95e00; }
@media (min-width: 1024px) {
  body:has([class*="_casca_1vn6g_"]) [class*="_doca_"] { border-radius: 16px; bottom: 18px; }
}

/* Navegação esportiva e bilhete com contraste e acabamento da Aposta Ganha. */
body:has([class*="_casca_1vn6g_"]) .ag-sidebar { display: none !important; }
body:has([class*="_casca_1vn6g_"]) [class*="_barraEsporte_"] {
  min-height: 62px;
  height: auto;
  padding: 8px 10px;
  gap: 10px;
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 16px;
  box-shadow: 0 4px 16px #00000008;
}
body:has([class*="_casca_1vn6g_"]) [class*="_atalhos_"] { gap: 6px; }
body:has([class*="_casca_1vn6g_"]) [class*="_atalho_"] {
  min-height: 42px;
  height: auto;
  color: #424242;
  background: #f7f7f7;
  border: 1px solid transparent;
  border-radius: 12px;
  padding: 0 14px;
  transition: background .16s ease, border-color .16s ease, color .16s ease, transform .16s ease;
}
body:has([class*="_casca_1vn6g_"]) [class*="_atalho_"]:hover {
  color: #d95000;
  background: #fff4ec;
  border-color: #ffd6bd;
}
body:has([class*="_casca_1vn6g_"]) [class*="_atalhoAtivo_"] {
  color: #d95000 !important;
  background: #fff0e5 !important;
  border-color: #ffb16e !important;
  box-shadow: inset 0 0 0 1px #ffb16e;
}
body:has([class*="_casca_1vn6g_"]) [class*="_atalhoAtivo_"]:after { display: none; }
body:has([class*="_casca_1vn6g_"]) nav[aria-label="Esportes"] button.ag-esporte-ativo {
  color: #d95000 !important;
  background: #fff0e5 !important;
  border-color: #ffb16e !important;
  box-shadow: inset 0 0 0 1px #ffb16e;
}
body:has([class*="_casca_1vn6g_"]) nav[aria-label="Esportes"] img[class*="_atalhoIcone_"] {
  box-sizing: border-box;
  width: 30px;
  height: 30px;
  padding: 5px;
  background: #fff0e5;
  border: 1px solid #ffdfc9;
  border-radius: 9px;
  filter: brightness(0) saturate(100%) invert(43%) sepia(97%) saturate(2176%) hue-rotate(359deg) brightness(101%) contrast(106%);
  object-fit: contain;
}
body:has([class*="_casca_1vn6g_"]) nav[aria-label="Esportes"] img[class*="_atalhoIcone_"][src*="bandeira-brasil"] {
  padding: 3px;
  background: #f7f7f7;
  border-color: #e5e5e5;
  filter: none;
}
/* Esporte icons are source SVGs with an old white canvas; keep the artwork, remove
   the recolor filter that was turning the canvas into an orange square. */
body:has([class*="_casca_1vn6g_"]) nav[aria-label="Esportes"] img[class*="_atalhoIcone_"] {
  filter: none !important;
  background: #fff4ec;
  border: 1px solid #ffe0cd;
  padding: 3px;
  border-radius: 8px;
}
body:has([class*="_casca_1vn6g_"]) [class*="_ligaItem_"] {
  color: #282828 !important;
  background: #fff !important;
}
body:has([class*="_casca_1vn6g_"]) [class*="_ligaItem_"][aria-current="page"],
body:has([class*="_casca_1vn6g_"]) [class*="_ligaItem_"][class*="_ativo_"] {
  color: #c94b00 !important;
  background: #fff2e8 !important;
}
body:has([class*="_casca_1vn6g_"]) [class*="_ligaLogo_"],
body:has([class*="_casca_1vn6g_"]) [class*="_ligaLogoGrande_"] {
  background: #fff4ec !important;
  box-shadow: inset 0 0 0 2px #ffd3b8 !important;
}
body:has([class*="_casca_1vn6g_"]) [role="tablist"] {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px;
  background: #f5f5f5;
  border: 1px solid #e8e8e8;
  border-radius: 999px;
}
body:has([class*="_casca_1vn6g_"]) [role="tablist"] [role="tab"] {
  min-height: 38px;
  padding: 0 16px;
  color: #555 !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 999px;
  font-weight: 700;
}
body:has([class*="_casca_1vn6g_"]) [role="tablist"] [role="tab"][aria-selected="true"] {
  color: #d95000 !important;
  background: #fff !important;
  box-shadow: 0 1px 4px #00000014;
}
body:has([class*="_casca_1vn6g_"]) [class*="_doca_"] {
  color: #242424;
  overflow: hidden;
  background: #fff;
  border: 1px solid #e6e6e6;
  border-top: 3px solid #ff6800;
  border-radius: 16px 16px 12px 12px;
  box-shadow: 0 10px 30px #00000020;
}
body:has([class*="_casca_1vn6g_"]) [class*="_resumo_"] {
  color: #242424;
  background: #fff;
  padding: 14px 48px 14px 18px;
}
body:has([class*="_casca_1vn6g_"]) [class*="_acoes_"] {
  height: 58px;
  border-top: 1px solid #ededed;
}
body:has([class*="_casca_1vn6g_"]) [class*="_aposta_"] {
  color: #343434;
  background: #f7f7f7;
  font-size: 15px;
}
body:has([class*="_casca_1vn6g_"]) [class*="_fazer_"] {
  color: #fff;
  background: linear-gradient(105deg, #ff6800, #f45100);
  font-size: 15px;
  font-weight: 800;
}
body:has([class*="_casca_1vn6g_"]) [class*="_fazer_"]:hover {
  background: linear-gradient(105deg, #f45e00, #df4800);
}
body:has([class*="_casca_1vn6g_"]) [class*="_mercados_"] { gap: 12px; }
body:has([class*="_casca_1vn6g_"]) [class*="_mercado_1vn6g_"] {
  color: #292929 !important;
  background: #fff !important;
  border: 1px solid #e6e6e6;
  border-radius: 14px;
  box-shadow: 0 3px 12px #00000008;
}
body:has([class*="_casca_1vn6g_"]) [class*="_mercadoCabeca_"] {
  min-height: 58px;
  padding: 16px 18px;
  color: #292929 !important;
  background: #fff !important;
  border-bottom: 1px solid #ededed;
}
body:has([class*="_casca_1vn6g_"]) [class*="_mercadoCabeca_"] h2 { color: #292929 !important; }
body:has([class*="_casca_1vn6g_"]) [class*="_mercadoCabeca_"] svg { color: #e95e00 !important; }
body:has([class*="_casca_1vn6g_"]) [class*="_gradeOdds_"] { gap: 9px; padding: 12px 16px 16px; }
body:has([class*="_casca_1vn6g_"]) [class*="_tabela_"] { border-spacing: 0 9px; }
body:has([class*="_casca_1vn6g_"]) [class*="_tabela_"] th { color: #555 !important; }
body:has([class*="_casca_1vn6g_"]) [class*="_tabela_"] tbody th { color: #292929 !important; }
body:has([class*="_casca_1vn6g_"]) [class*="_odd_"] {
  min-height: 48px;
  padding: 9px 12px;
  color: #d95000 !important;
  background: #fff2e8 !important;
  border: 1px solid #f2d8c7 !important;
  border-radius: 10px;
  gap: 10px;
}
body:has([class*="_casca_1vn6g_"]) [class*="_oddRotulo_"] { color: #555 !important; line-height: 17px; }
body:has([class*="_casca_1vn6g_"]) [class*="_oddValor_"] { color: #d95000 !important; }
body:has([class*="_casca_1vn6g_"]) [class*="_oddMarcada_"] {
  color: #fff !important;
  background: linear-gradient(110deg, #ff6800, #f45100) !important;
  border-color: #f45100 !important;
  box-shadow: 0 3px 10px #ff680033;
}
body:has([class*="_casca_1vn6g_"]) [class*="_oddMarcada_"] [class*="_oddRotulo_"],
body:has([class*="_casca_1vn6g_"]) [class*="_oddMarcada_"] [class*="_oddValor_"] { color: #fff !important; }
body:has([class*="_casca_1vn6g_"]) [class*="_erro_"] {
  color: #3f3f3f;
  background: #fff;
  border: 1px solid #e7e7e7;
  box-shadow: 0 6px 20px #0000000d;
}
body:has([class*="_casca_1vn6g_"]) [class*="_erroBotao_"] {
  color: #fff;
  background: #ff6800;
}
@media (max-width: 767px) {
  body:has([class*="_casca_1vn6g_"]) [class*="_barraEsporte_"] { border-radius: 14px; }
  body:has([class*="_casca_1vn6g_"]) [class*="_atalho_"] { padding-inline: 11px; }
}

/* Ajustes finais do modal de acesso: largura confortável, campos separados e olho compacto. */
.ag-faixa-convite { display: none !important; }
[class*="_cabecalho_1iwy1_"], [class*="_barra_1iwy1_"] {
  background: #fff !important;
  background-image: none !important;
}
body:has([class*="_janelaLogin_1dpd5_"]) [class*="_janelaLogin_1dpd5_"] {
  box-sizing: border-box !important;
  width: min(480px, calc(100vw - 32px)) !important;
  max-width: 480px !important;
  border-radius: 20px !important;
}
body:has([class*="_janelaLogin_1dpd5_"]) [class*="_janelaLogin_1dpd5_"] [class*="_corpo_1dpd5_"] {
  box-sizing: border-box !important;
  padding: 58px 24px 24px !important;
}
body:has([class*="_janelaLogin_1dpd5_"]) [class*="_janelaLogin_1dpd5_"]::before {
  top: 22px !important;
  left: 24px !important;
  font-size: 21px !important;
  letter-spacing: -0.035em;
}
body:has([class*="_janelaLogin_1dpd5_"]) [class*="_janelaLogin_1dpd5_"] [class*="_form_1dpd5_"] {
  gap: 16px !important;
  padding-top: 0 !important;
}
body:has([class*="_janelaLogin_1dpd5_"]) [class*="_linhaCampo_1dpd5_"] {
  width: 100%;
  gap: 0 !important;
}
body:has([class*="_janelaLogin_1dpd5_"]) [class*="_caixa_1dpd5_"] {
  box-sizing: border-box !important;
  width: 100% !important;
  height: 56px !important;
  min-height: 56px !important;
  overflow: hidden;
  border: 1px solid #d8d8d8 !important;
  border-radius: 12px !important;
  transition: border-color .15s ease, box-shadow .15s ease;
}
body:has([class*="_janelaLogin_1dpd5_"]) [class*="_caixa_1dpd5_"]:focus-within {
  border-color: #ff8b35 !important;
  box-shadow: 0 0 0 3px #ff68001c !important;
}
body:has([class*="_janelaLogin_1dpd5_"]) [class*="_input_1dpd5_"] {
  box-sizing: border-box !important;
  height: 54px !important;
  min-height: 0 !important;
  padding: 0 15px !important;
  font-size: 15px !important;
}
body:has([class*="_janelaLogin_1dpd5_"]) [class*="_olho_1dpd5_"] {
  flex: 0 0 82px !important;
  height: 44px !important;
  margin: 5px !important;
  padding: 0 10px !important;
  border: 0 !important;
  border-radius: 9px !important;
  font-size: 13px !important;
}
body:has([class*="_janelaLogin_1dpd5_"]) [class*="_enviar_1dpd5_"] {
  height: 50px !important;
  min-height: 50px !important;
  margin-top: 3px !important;
  border-radius: 12px !important;
}
body:has([class*="_janelaLogin_1dpd5_"]) [class*="_responsavel_1dpd5_"] {
  min-height: 68px;
  padding: 12px 18px;
  border-top-color: #ededed;
}
@media (max-width: 520px) {
  body:has([class*="_janelaLogin_1dpd5_"]) [class*="_janelaLogin_1dpd5_"] [class*="_corpo_1dpd5_"] {
    padding: 56px 18px 22px !important;
  }
  body:has([class*="_janelaLogin_1dpd5_"]) [class*="_janelaLogin_1dpd5_"]::before {
    left: 18px !important;
  }
}

/* Cartões de mercados na página do jogo: tema claro e opções com mais espaço. */
body:has([class*="_pagina_1ygqs_"]) [class*="_mercados_1ygqs_"] { gap: 14px; }
body:has([class*="_pagina_1ygqs_"]) [class*="_mercado_1ygqs_"] {
  color: #292929 !important;
  background: #fff !important;
  border: 1px solid #e5e5e5;
  border-radius: 14px;
  box-shadow: 0 3px 12px #00000008;
}
body:has([class*="_pagina_1ygqs_"]) [class*="_mercadoCabeca_1ygqs_"] {
  min-height: 58px;
  padding: 12px 18px;
  color: #292929 !important;
  background: #fff !important;
  border-bottom: 1px solid #ededed;
}
body:has([class*="_pagina_1ygqs_"]) [class*="_mercadoCabeca_1ygqs_"] h2 { color: #292929 !important; }
body:has([class*="_pagina_1ygqs_"]) [class*="_mercadoCabeca_1ygqs_"] svg { color: #e95e00 !important; }
body:has([class*="_pagina_1ygqs_"]) [class*="_selecoes_1ygqs_"] > * { border-color: #ededed !important; }
body:has([class*="_pagina_1ygqs_"]) [class*="_oddLinha_1ygqs_"] {
  min-height: 54px;
  padding: 10px 14px;
  color: #4c4c4c !important;
  background: #fff !important;
  border-radius: 8px;
  transition: background-color .15s, box-shadow .15s;
}
body:has([class*="_pagina_1ygqs_"]) [class*="_oddLinha_1ygqs_"]:hover { background: #fff5ed !important; }
body:has([class*="_pagina_1ygqs_"]) [class*="_oddValor_1ygqs_"] { color: #d95000 !important; }
body:has([class*="_pagina_1ygqs_"]) [class*="_oddMarcada_1ygqs_"] {
  color: #fff !important;
  background: linear-gradient(110deg, #ff7008, #f45100) !important;
  box-shadow: inset 0 0 0 1px #e95700, 0 3px 10px #ff68002b;
}
body:has([class*="_pagina_1ygqs_"]) [class*="_oddMarcada_1ygqs_"] [class*="_oddValor_1ygqs_"] { color: #fff !important; }
body:has([class*="_pagina_1ygqs_"]) [class*="_tabela_1ygqs_"] th { color: #555 !important; }
body:has([class*="_pagina_1ygqs_"]) [class*="_selecoes_1ygqs_"],
body:has([class*="_pagina_1ygqs_"]) [class*="_tabela_1ygqs_"],
body:has([class*="_pagina_1ygqs_"]) [class*="_tabela_1ygqs_"] tr,
body:has([class*="_pagina_1ygqs_"]) [class*="_tabela_1ygqs_"] td,
body:has([class*="_pagina_1ygqs_"]) [class*="_tabela_1ygqs_"] th {
  color: #393939 !important;
  background-color: #fff !important;
}
body:has([class*="_pagina_1ygqs_"]) button[class*="_oddLinha_1ygqs_"] {
  color: #4c4c4c !important;
  background-color: #fff !important;
}
body:has([class*="_pagina_1ygqs_"]) button[class*="_oddMarcada_1ygqs_"] {
  color: #fff !important;
  background: linear-gradient(110deg, #ff7008, #f45100) !important;
}
body:has([class*="_pagina_1ygqs_"]) button[class*="_oddMarcada_1ygqs_"] [class*="_oddValor_1ygqs_"] { color: #fff !important; }
html body [class*="_mercado_1ygqs_"] { background: #fff !important; }
html body [class*="_selecoes_1ygqs_"],
html body [class*="_tabela_1ygqs_"],
html body [class*="_tabela_1ygqs_"] tr,
html body [class*="_tabela_1ygqs_"] td,
html body [class*="_tabela_1ygqs_"] th,
html body [class*="_oddLinha_1ygqs_"] {
  color: #424242 !important;
  background: #fff !important;
  background-color: #fff !important;
}
html body [class*="_oddValor_1ygqs_"] { color: #df5600 !important; }
html body [class*="_oddMarcada_1ygqs_"] {
  color: #fff !important;
  background: linear-gradient(110deg, #ff7008, #f45100) !important;
  border-radius: 8px;
}
html body [class*="_oddMarcada_1ygqs_"] [class*="_oddValor_1ygqs_"] { color: #fff !important; }
body:has([class*="_pagina_1ygqs_"]) [role="checkbox"] {
  min-height: 50px;
  color: #4c4c4c !important;
  background: #fff !important;
  border-radius: 8px;
}
body:has([class*="_pagina_1ygqs_"]) [role="checkbox"][aria-checked="true"] {
  color: #fff !important;
  background: linear-gradient(110deg, #ff7008, #f45100) !important;
}
body:has([class*="_mercado_"]) [class*="_mercado_"] { color: #292929 !important; background: #fff !important; }
body:has([class*="_mercado_"]) [class*="_mercadoCabeca_"] { color: #292929 !important; background: #fff !important; }
body:has([class*="_mercado_"]) [class*="_selecoes_"],
body:has([class*="_mercado_"]) [class*="_gradeOdds_"],
body:has([class*="_mercado_"]) [class*="_tabela_"],
body:has([class*="_mercado_"]) [class*="_tabela_"] tr,
body:has([class*="_mercado_"]) [class*="_tabela_"] td,
body:has([class*="_mercado_"]) [class*="_tabela_"] th,
body:has([class*="_mercado_"]) [class*="_oddLinha_"],
body:has([class*="_mercado_"]) [class*="_odd_"] {
  color: #4c4c4c !important;
  background: #fff !important;
  background-color: #fff !important;
  border-color: #ededed !important;
}
body:has([class*="_mercado_"]) [role="checkbox"][aria-checked="true"],
body:has([class*="_mercado_"]) [class*="_oddMarcada_"] {
  color: #fff !important;
  background: linear-gradient(110deg, #ff7008, #f45100) !important;
  border-color: #e95700 !important;
}
body:has([class*="_mercado_"]) [class*="_oddValor_"] { color: #d95000 !important; }
body:has([class*="_mercado_"]) [role="checkbox"][aria-checked="true"] [class*="_oddValor_"],
body:has([class*="_mercado_"]) [class*="_oddMarcada_"] [class*="_oddValor_"] { color: #fff !important; }

/* Navegação mobile com as cores da marca e opção de Conta no lugar do item removido. */
@media (max-width: 900px) {
    nav[aria-label="Navegação principal"][class*="_barra_j3ttp_"] {
    z-index: 45;
    display: grid !important;
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    min-height: calc(66px + env(safe-area-inset-bottom, 0px));
    height: calc(66px + env(safe-area-inset-bottom, 0px));
    padding: 5px 8px env(safe-area-inset-bottom, 0px);
    background: rgb(255 255 255 / 96%) !important;
    border-top: 1px solid #e8e8e8;
    box-shadow: 0 -5px 18px #0000000c !important;
    -webkit-backdrop-filter: blur(16px) saturate(1.4);
    backdrop-filter: blur(16px) saturate(1.4);
  }
  nav[aria-label="Navegação principal"] [class*="_item_"] {
    justify-content: center;
    gap: 4px;
    padding: 4px 2px 5px;
    color: #626262 !important;
    font-size: 11px;
    line-height: 14px;
  }
  nav[aria-label="Navegação principal"] [class*="_icone_"] { height: 25px; }
  nav[aria-label="Navegação principal"] [class*="_icone_"] svg { width: 25px; height: 25px; }
  nav[aria-label="Navegação principal"] [class*="_ativo_"],
  nav[aria-label="Navegação principal"] .ag-conta-ativo { color: #f15b00 !important; }
  nav[aria-label="Navegação principal"] [class*="_ativo_"]::before,
  nav[aria-label="Navegação principal"] .ag-conta-ativo::before {
    position: absolute;
    top: -5px;
    left: 26%;
    right: 26%;
    height: 3px;
    content: "";
    background: #ff6800;
    border-radius: 0 0 4px 4px;
  }
  nav[aria-label="Navegação principal"] [class*="_ativo_"] svg[data-inicio] path { fill: #ff6800; }
  nav[aria-label="Navegação principal"] .ag-account-tab svg { fill: none; }
  header a[href="/"] img[src*="logo-apostaganha"] {
    width: clamp(112px, 23vw, 166px) !important;
    max-width: 166px !important;
    height: auto !important;
  }
  header button { min-width: 0; padding-inline: 12px !important; font-size: 12px !important; }
  header { gap: 8px !important; }
}

@media (max-width: 520px) {
  header a[href="/"] img[src*="logo-apostaganha"] { width: 112px !important; }
  header button { padding-inline: 9px !important; font-size: 11px !important; }
  body:has([class*="_pagina_1ygqs_"]) [class*="_mercadoCabeca_1ygqs_"] { min-height: 54px; padding-inline: 14px; }
  body:has([class*="_pagina_1ygqs_"]) [class*="_oddLinha_1ygqs_"] { min-height: 50px; padding: 8px 10px; }
}

/* Esportes no desktop: retire a margem da sidebar duplicada e use a largura útil. */
@media (min-width: 1024px) {
  body:has([class*="_casca_1vn6g_"]) [class*="_corpo_1slwl_"] {
    width: 100% !important;
    max-width: none !important;
    margin-inline: 0 !important;
    padding-inline: 24px !important;
  }
  body:has([class*="_casca_1vn6g_"]) main[class*="_principal_1slwl_"] {
    width: auto !important;
    max-width: none !important;
    min-width: 0 !important;
    flex: 1 1 auto !important;
    margin: 0 !important;
    padding: 18px 24px 48px !important;
  }
  body:has([class*="_casca_1vn6g_"]) [class*="_pagina_1slwl_"],
  body:has([class*="_casca_1vn6g_"]) [class*="_largo_1slwl_"],
  body:has([class*="_casca_1vn6g_"]) [class*="_casca_1vn6g_"] {
    width: 100% !important;
    max-width: none !important;
  }
}

/* Em telas pequenas, os esportes também usam o fundo claro da marca. */
@media (max-width: 900px) {
  html:has(body [class*="_casca_1vn6g_"]) {
    color-scheme: light;
    background: #f1f1f1 !important;
  }
  body:has([class*="_casca_1vn6g_"]) {
    --z-primario: #f1f1f1;
    --z-secundario: #fff;
    --z-terceiro: #fff;
    --z-quarto: #f7f7f7;
    --z-cinza: #555;
    --z-borda: #e5e5e5;
    --g-pagina: #f1f1f1;
    --g-bg1: #fff;
    --g-bg2: #f8f8f8;
    --g-bg3: #f1f1f1;
    --g-txt: #171717;
    --g-txt-2: #454545;
    --g-txt-3: #707070;
    --g-txt-4: #999;
    --b-fundo: #f1f1f1;
    --b-texto: #171717;
    color: #171717 !important;
    background: #f1f1f1 !important;
  }
  body:has([class*="_casca_1vn6g_"]) #root,
  body:has([class*="_casca_1vn6g_"]) [class*="_casca_1slwl_"],
  body:has([class*="_casca_1vn6g_"]) [class*="_principal_1slwl_"],
  body:has([class*="_casca_1vn6g_"]) [class*="_pagina_1slwl_"] {
    color: #171717 !important;
    background: #f1f1f1 !important;
  }
}

/* O site inteiro mantém a superfície clara no mobile, mesmo quando a rota
   esportiva injeta estilos escuros depois do carregamento inicial. */
@media (max-width: 900px) {
  html,
  body,
  #root {
    color-scheme: light !important;
    color: #171717 !important;
    background: #f1f1f1 !important;
    background-color: #f1f1f1 !important;
  }
  main,
  [class*="_principal_1slwl_"],
  [class*="_pagina_1slwl_"],
  [class*="_casca_1vn6g_"] {
    color: #171717 !important;
    background: #f1f1f1 !important;
    background-color: #f1f1f1 !important;
  }
  main [class*="_secaoTitulo_1vn6g_"] {
    color: #171717 !important;
  }
}
