/* The shared header weather strip is available on KBO/NPB research pages. */
.game-page.is-shared-baseball-research:is([data-game-league="kbo"], [data-game-league="npb"])
  .game-weather-unit-toggle { display: inline-flex !important; }
.game-page.is-shared-baseball-research:is([data-game-league="kbo"], [data-game-league="npb"])
  :is(.game-stadium-weather-primary, .game-stadium-weather-humidity-rain) { display: flex !important; }
.game-page.is-shared-baseball-research:is([data-game-league="kbo"], [data-game-league="npb"])
  .game-stadium-weather-bar {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr) minmax(0, 1fr) !important;
}
.game-page:is([data-game-league="kbo"], [data-game-league="npb"]) #gameWeatherCondition {
  white-space: normal;
  line-height: 1.2;
}
.game-page:is([data-game-league="kbo"], [data-game-league="npb"]) .game-stadium-wind-direction {
  width: auto;
  min-width: 22%;
  pointer-events: auto;
}
.game-page:is([data-game-league="kbo"], [data-game-league="npb"]) .game-stadium-wind-direction[hidden] {
  display: none !important;
}
/* Shared header layers must allow source/roof tooltips to extend above the strip. */
.game-page.is-shared-baseball-research:is([data-game-league="kbo"], [data-game-league="npb"])
  .game-stadium-weather-stat > .game-stadium-stat-tooltip {
  display: none !important;
}
.game-page.is-shared-baseball-research:is([data-game-league="kbo"], [data-game-league="npb"])
  .game-stadium-weather-stat:is(:hover, :focus, :focus-within) > .game-stadium-stat-tooltip {
  display: block !important;
}
.game-page.is-shared-baseball-research:is([data-game-league="kbo"], [data-game-league="npb"])
  :is(.game-matchup.game-matchup-stadium,
      .game-stadium-weather .game-stadium-photo-frame,
      .game-stadium-photo-frame .game-stadium-weather-bar) {
  overflow: visible !important;
}
@media (max-width: 620px) {
  .game-page.is-shared-baseball-research:is([data-game-league="kbo"], [data-game-league="npb"])
    .game-stadium-weather-bar {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
  }
  .game-page:is([data-game-league="kbo"], [data-game-league="npb"]) .game-stadium-weather-middle {
    grid-column: 1 / -1;
    grid-row: 2;
  }
}
