/* WTWR_STRATEGY_SELECTOR_UNIFORMITY_V1 */

/* One selector language across Today, Results and Demo. */
.wtwr-uniform-strategy-bar{
  display:flex!important;
  flex-wrap:wrap!important;
  align-items:center!important;
  gap:10px 14px!important;
}

/* Canonical pill. */
.wtwr-uniform-strategy-tab,
#wtwrResultsMonitorFullTabs .wtwr-results-monitor-full-tab{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:9px!important;
  width:auto!important;
  min-width:0!important;
  min-height:52px!important;
  padding:0 18px!important;
  margin:0!important;
  border:1px solid #263b52!important;
  border-radius:999px!important;
  background:#07101b!important;
  color:#c7d0db!important;
  box-shadow:none!important;
  font:inherit!important;
  font-weight:650!important;
  line-height:1!important;
  white-space:nowrap!important;
}

/* Active selector mirrors Today's Racing. */
.wtwr-uniform-strategy-tab.active,
.wtwr-uniform-strategy-tab[aria-pressed="true"],
#wtwrResultsMonitorFullTabs .wtwr-results-monitor-full-tab.active,
#wtwrResultsMonitorFullTabs .wtwr-results-monitor-full-tab[aria-pressed="true"]{
  border-color:#279cff!important;
  background:rgba(39,156,255,.15)!important;
  color:#f5f8fc!important;
}

/* Counts: gold text only. Never a second bubble. */
.wtwr-uniform-strategy-tab .wtwr-uniform-count,
#wtwrResultsMonitorFullTabs .wtwr-results-monitor-full-tab strong,
#wtwrResultsMonitorFullTabs [data-wtwr-results-monitor-full-count]{
  display:inline!important;
  width:auto!important;
  min-width:0!important;
  height:auto!important;
  padding:0!important;
  margin:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
  color:#f3c44f!important;
  font-size:inherit!important;
  font-weight:850!important;
  line-height:1!important;
}
#wtwrResultsMonitorFullTabs .wtwr-results-monitor-full-tab strong::before,
#wtwrResultsMonitorFullTabs .wtwr-results-monitor-full-tab strong::after,
#wtwrResultsMonitorFullTabs [data-wtwr-results-monitor-full-count]::before,
#wtwrResultsMonitorFullTabs [data-wtwr-results-monitor-full-count]::after{
  content:none!important;
  display:none!important;
}

/* Exactly one compact information button next to supported tabs. */
.wtwr-uniform-info,
#wtwrResultsMonitorFullTabs .wtwr-results-monitor-full-info{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  flex:0 0 36px!important;
  width:36px!important;
  height:36px!important;
  min-width:36px!important;
  min-height:36px!important;
  padding:0!important;
  margin:0!important;
  border:1px solid #263b52!important;
  border-radius:50%!important;
  background:#07101b!important;
  color:#aebaca!important;
  box-shadow:none!important;
  font-size:18px!important;
  font-weight:700!important;
  line-height:1!important;
}

/* The old Results Monitor controls remain functional but are not rendered. */
#wtwrResultsStrategyMonitor .wtwr-uniform-legacy-hidden{
  display:none!important;
}

/* Remove the old V2 grouping gaps that caused the visual duplication. */
#wtwrResultsMonitorFullTabs{
  gap:10px 14px!important;
}
#wtwrResultsMonitorFullTabs .wtwr-results-monitor-full-group{
  display:inline-flex!important;
  align-items:center!important;
  gap:8px!important;
  margin:0!important;
}

/* Undefined My Rules stay muted and show the em dash. */
.wtwr-uniform-strategy-tab:disabled{
  opacity:.42!important;
  cursor:not-allowed!important;
}
.wtwr-uniform-strategy-tab:disabled .wtwr-uniform-count,
#wtwrResultsMonitorFullTabs .wtwr-results-monitor-full-tab:disabled strong{
  color:#a98c48!important;
}

/* Keep strategy selectors visually tighter than the evidence/results content below. */
#wtwrResultsMonitorFullTabs,
.wtwr-uniform-strategy-bar{
  margin-top:0!important;
  margin-bottom:14px!important;
}

@media(max-width:760px){
  .wtwr-uniform-strategy-bar{
    gap:8px 10px!important;
  }
  .wtwr-uniform-strategy-tab,
  #wtwrResultsMonitorFullTabs .wtwr-results-monitor-full-tab{
    min-height:46px!important;
    padding:0 14px!important;
  }
  .wtwr-uniform-info,
  #wtwrResultsMonitorFullTabs .wtwr-results-monitor-full-info{
    width:32px!important;
    height:32px!important;
    min-width:32px!important;
    min-height:32px!important;
    flex-basis:32px!important;
  }
}
