/* WTWR_RACING_POLISH_V16B */
/* WTWR_PRIORITY_TABS_V13B_V16B_OWNER */

#today .v16b-old{display:none!important}

#wtwr-racing-polish-tabs-v16b{
  grid-column:1/-1!important;
  width:100%!important;
  max-width:none!important;
  box-sizing:border-box!important;
  display:block!important;
  margin:0 0 16px!important;
  padding:12px 14px!important;
  border:1px solid rgba(255,184,77,.38)!important;
  border-radius:12px!important;
  background:#0b1524!important
}

#wtwr-racing-polish-tabs-v16b .v16b-head{
  display:flex!important;
  justify-content:space-between!important;
  align-items:center!important;
  gap:12px!important;
  margin-bottom:10px!important
}

#wtwr-racing-polish-tabs-v16b .v16b-head strong{
  color:#fff!important;
  font-size:13px!important;
  font-weight:950!important
}

#wtwr-racing-polish-tabs-v16b .v16b-head span{
  color:#8fa0b3!important;
  font-size:10px!important;
  font-weight:750!important
}

/* WTWR_STRATEGY_TABS_RELOCATE_V1: auto-fill, not a fixed single column --
   more strategy tabs get added here one at a time in future instructions,
   and this must keep wrapping cleanly as F grows, not break. (Note:
   wtwr-rulings-v1.js injects its own #wtwr-racing-polish-tabs-v16b
   .v16b-tabs{display:flex!important} at runtime, which currently wins the
   cascade over this grid rule since it's added later -- either way, both
   rules already wrap multiple items correctly, so this stays correct
   regardless of which one is actually governing layout at any moment.) */
#wtwr-racing-polish-tabs-v16b .v16b-tabs{
  display:grid!important;
  grid-template-columns:repeat(auto-fill,minmax(180px,220px))!important;
  gap:7px!important;
  width:100%!important
}

#wtwr-racing-polish-tabs-v16b .v16b-tabcell{
  display:flex!important;
  flex-direction:column!important;
  gap:6px!important;
  flex:0 0 auto!important;
  min-width:0!important
}

#wtwr-racing-polish-tabs-v16b .v16b-scoreboard{
  display:flex!important;
  flex-direction:column!important;
  gap:2px!important;
  padding:6px 8px!important;
  border-radius:7px!important;
  background:rgba(255,255,255,.03)!important;
  border:1px solid rgba(255,255,255,.07)!important
}

#wtwr-racing-polish-tabs-v16b .v16b-scoreboard span{
  font-size:9.5px!important;
  font-weight:800!important;
  letter-spacing:.02em!important;
  color:#c9d2e0!important;
  font-variant-numeric:tabular-nums!important
}

#wtwr-racing-polish-tabs-v16b button{
  min-width:0!important;
  min-height:42px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:7px!important;
  padding:8px!important;
  border:1px solid rgba(255,255,255,.15)!important;
  border-radius:8px!important;
  background:#111f30!important;
  color:#cbd7e5!important;
  font-size:10px!important;
  font-weight:900!important;
  line-height:1.08!important;
  text-align:center!important;
  cursor:pointer!important
}

#wtwr-racing-polish-tabs-v16b button.active{
  border-color:#ffb84d!important;
  background:#2b1c05!important;
  color:#ffd27d!important
}

#wtwr-racing-polish-tabs-v16b button b{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-width:22px!important;
  height:22px!important;
  padding:0 6px!important;
  border-radius:999px!important;
  background:rgba(255,255,255,.10)!important;
  font-size:9px!important
}

#wtwr-racing-polish-tabs-v16b .v16b-status{
  margin-top:8px!important;
  color:#93a4b7!important;
  font-size:9px!important;
  font-weight:800!important
}

#today #wtwr-today-opinion-cards-v1 .wtwr-op-race.v16b-hidden{
  display:none!important
}

@media(max-width:700px){
  #wtwr-racing-polish-tabs-v16b .v16b-head{display:block!important}
  #wtwr-racing-polish-tabs-v16b .v16b-head span{display:block!important;margin-top:4px!important}
  #wtwr-racing-polish-tabs-v16b .v16b-tabs{grid-template-columns:minmax(0,1fr)!important}
}