/* Futebol Viseu — v52: seletor compacto e separadores responsivos. */
/* Carregado no fim: prevalece sobre o bundle legado e o desenho da v50. */
html body #jogos .fv437-games-toolbar{
  display:flex!important;flex-direction:column!important;align-items:center!important;
  gap:8px!important;min-height:0!important;height:auto!important;
  margin-top:10px!important;margin-bottom:11px!important;
}
/* Os separadores só ocupam espaço correspondente aos botões existentes. */
html body #jogos .fv437-games-toolbar .fv401-match-tabs{
  display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;
  grid-auto-rows:40px!important;flex:0 0 auto!important;flex-basis:auto!important;
  width:min(100%,450px)!important;max-width:450px!important;
  height:48px!important;min-height:48px!important;max-height:48px!important;
  margin:0 auto!important;padding:4px!important;align-self:center!important;
  overflow:hidden!important;border-radius:12px!important;background:#e9eff2!important;
}
html body #jogos .fv437-games-toolbar .fv401-match-tabs.fv52-tabs-count-2{
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  width:min(100%,320px)!important;max-width:320px!important;
}
html body #jogos .fv437-games-toolbar .fv401-match-tabs.fv52-tabs-count-1{
  display:inline-flex!important;width:auto!important;max-width:100%!important;
  height:42px!important;min-height:42px!important;max-height:42px!important;
  padding:0!important;background:transparent!important;justify-content:center!important;
}
html body #jogos .fv437-games-toolbar .fv401-match-tabs button{
  display:flex!important;align-items:center!important;justify-content:center!important;
  flex:none!important;width:100%!important;height:40px!important;
  min-height:40px!important;max-height:40px!important;margin:0!important;
  padding:0 10px!important;white-space:nowrap!important;line-height:1!important;
  border-radius:9px!important;font-size:12px!important;
}
html body #jogos .fv437-games-toolbar .fv401-match-tabs.fv52-tabs-count-1 button{
  min-width:148px!important;width:auto!important;padding:0 18px!important;
}
html body #jogos .fv437-games-toolbar .fv401-match-tabs button.is-active{
  background:#102431!important;color:#fff!important;box-shadow:inset 0 -2px 0 #83cd32!important;
}
html body #jogos .fv437-games-toolbar .fv401-match-tabs button:focus-visible{
  outline:2px solid #5a9e25!important;outline-offset:1px!important;
}
/* Uma única lista nativa: acessível com teclado, iPhone, Android e desktop. */
html body #jogos #fv437CompetitionScroll.fv52-selector-shell{
  display:block!important;position:relative!important;overflow:visible!important;
  width:min(100%,520px)!important;max-width:520px!important;
  padding:0!important;margin:0 auto!important;border:0!important;
  border-radius:13px!important;background:transparent!important;
}
html body #jogos #fv437CompetitionScroll.fv52-selector-shell[hidden]{display:none!important}
html body #jogos .fv52-selector-shell .fv51-selector-content{
  display:flex!important;flex-direction:row!important;flex-wrap:wrap!important;
  align-items:center!important;gap:10px!important;
  width:100%!important;padding:7px 9px 7px 13px!important;
  background:#fff!important;border:1px solid #dce6ea!important;
  border-radius:13px!important;box-shadow:0 3px 13px rgba(12,38,51,.045)!important;
}
html body #jogos .fv52-selector-shell .fv51-selector-label{
  display:block!important;flex:0 0 auto!important;margin:0!important;
  color:#405968!important;font-size:11px!important;font-weight:850!important;
  letter-spacing:0!important;line-height:1.25!important;text-transform:none!important;
}
html body #jogos .fv52-selector-shell .fv51-select-frame{
  display:flex!important;position:relative!important;align-items:center!important;
  flex:1 1 260px!important;width:auto!important;min-width:0!important;
  min-height:44px!important;height:44px!important;
  background:#f3f7f9!important;border:1px solid #d3e0e5!important;
  border-radius:10px!important;transition:border-color .15s,box-shadow .15s!important;
}
html body #jogos .fv52-selector-shell .fv51-select-frame:focus-within{
  border-color:#79bc35!important;box-shadow:0 0 0 3px rgba(121,188,53,.18)!important;
}
html body #jogos .fv52-selector-shell .fv51-selector-ball{
  display:grid!important;place-items:center!important;flex:0 0 29px!important;
  margin-left:7px!important;font-size:15px!important;pointer-events:none!important;
}
html body #jogos .fv52-selector-shell select.fv51-competition-select{
  display:block!important;position:relative!important;z-index:1!important;
  flex:1 1 auto!important;width:100%!important;max-width:none!important;min-width:0!important;
  height:43px!important;min-height:43px!important;margin:0!important;
  padding:0 29px 0 2px!important;border:0!important;border-radius:9px!important;
  appearance:none!important;-webkit-appearance:none!important;outline:none!important;box-shadow:none!important;
  background:transparent!important;color:#122f3d!important;
  font-family:inherit!important;font-size:14px!important;font-weight:800!important;
  line-height:normal!important;letter-spacing:0!important;cursor:pointer!important;text-overflow:ellipsis!important;
}
html body #jogos .fv52-selector-shell select.fv51-competition-select option{
  color:#142e3d!important;background:#fff!important;font-weight:600!important;
}
html body #jogos .fv52-selector-shell .fv51-selector-chevron{
  position:absolute!important;top:calc(50% - 5px)!important;right:15px!important;
  width:9px!important;height:9px!important;transform:rotate(45deg)!important;
  border-right:2px solid #4b6977!important;border-bottom:2px solid #4b6977!important;
  pointer-events:none!important;
}
/* Não repetir a jornada por baixo: já está identificada na opção do seletor. */
html body #jogos .fv52-selector-shell .fv51-round-hint{display:none!important}
@media(max-width:700px){
  html body #jogos .fv437-games-toolbar{gap:7px!important;margin-bottom:10px!important}
  html body #jogos .fv437-games-toolbar .fv401-match-tabs.fv52-tabs-count-3{
    width:100%!important;max-width:450px!important;
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
  }
  html body #jogos .fv437-games-toolbar .fv401-match-tabs.fv52-tabs-count-2{
    width:min(100%,320px)!important;max-width:320px!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
  html body #jogos .fv437-games-toolbar .fv401-match-tabs.fv52-tabs-count-1{
    width:auto!important;max-width:100%!important;
  }
  html body #jogos #fv437CompetitionScroll.fv52-selector-shell{
    width:100%!important;max-width:none!important;margin:0 auto!important;
  }
  html body #jogos .fv52-selector-shell .fv51-selector-content{
    padding:7px 8px!important;gap:7px!important;
  }
  html body #jogos .fv52-selector-shell .fv51-selector-label{
    padding-left:3px!important;font-size:10.5px!important;
  }
  html body #jogos .fv52-selector-shell .fv51-select-frame{
    flex:1 1 180px!important;min-height:46px!important;height:46px!important;
  }
  html body #jogos .fv52-selector-shell select.fv51-competition-select{
    min-height:45px!important;height:45px!important;font-size:16px!important;
  }
}
@media(max-width:370px){
  html body #jogos .fv52-selector-shell .fv51-selector-label{
    width:100%!important;padding-left:2px!important;
  }
  html body #jogos .fv52-selector-shell .fv51-select-frame{flex-basis:100%!important}
  html body #jogos .fv437-games-toolbar .fv401-match-tabs button{font-size:11px!important;padding:0 4px!important}
}
@media(prefers-reduced-motion:reduce){
  html body #jogos .fv52-selector-shell .fv51-select-frame{transition:none!important}
}
