/* The wordmark, in one place, for Dota, ML and League.
   Loaded after theme.css. A game's own stylesheet still paints only the tag color. */

html.rd body #mobileHeader {
  position: relative;
  gap: 0;
  align-items: center;
}
html.rd body[data-game="lol"] #mobileHeader,
html.rd body[data-game="mlbb"] #mobileHeader {
  margin: 0;
  min-height: 0;
}
html.rd body #mobileHeader #siteTitle,
html.rd body #mobileHeader .gameTag,
html.rd body #mobileHeader .gameTag:hover:not(:disabled) {
  height: 1.1em;
  line-height: 1;
}
html.rd body #mobileHeader .siteTitleHighlight {
  display: inline-flex;
  align-items: center;
  line-height: 1;
  height: auto;
  padding: 2px 8px;
  margin-left: 0;
}
html.rd body #mobileHeader #siteTitle,
html.rd body .topNavTitle {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
html.rd body #mobileHeader .siteTitleIcon {
  width: 20px;
  height: 20px;
  margin: 0 8px 0 0;
  vertical-align: -3px;
}
html.rd body #menuBtn {
  position: absolute;
  top: 10px;
  right: 6px;
  width: 34px;
  height: 34px;
}
@media (max-width: 700px) {
  html.rd body #mobileHeader .gameSwitcher { position: relative; }
  html.rd body #mobileHeader :is(.gameSwitchMenu, .gameSwitcherMenu) { left: auto; right: 0; }
}
html.rd body[data-game] .topNavTitle {
  display: inline-flex;
  align-items: center;
  gap: 2px;
}
html.rd body[data-game] .topNavTitle :is(.siteTitleIcon, .siteTitleHighlight) {
  margin-inline: 0;
}

html.rd body[data-game="lol"] .siteBrandMark { color: var(--accent-text); }
