@media (max-width: 820px) {
  button[class*="mute_"],
  button[class*="leaderboardBtn_"],
  button[class*="menuHamburger_"] {
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    min-height: 44px !important;
  }

  button[class*="installPrimary_"],
  button[class*="installSecondary_"] {
    min-height: 44px !important;
  }

  button[class*="difficultyBtn_"],
  input[class*="nicknameInput_"] {
    min-height: 44px !important;
    height: auto !important;
  }

  a[class*="siteLink_"],
  button[class*="toggle_"] {
    display: inline-flex !important;
    align-items: center !important;
    min-height: 44px !important;
    height: auto !important;
  }

  a[class*="siteLink_"] {
    min-width: 44px !important;
    justify-content: center !important;
  }

  button[class*="difficultyIndicator_"] {
    display: flex !important;
    align-items: center !important;
    flex: 0 0 auto !important;
    min-width: 112px !important;
    min-height: 44px !important;
    height: auto !important;
    max-width: calc(100vw - 24px);
    line-height: 1.2 !important;
    white-space: normal !important;
    overflow-wrap: anywhere;
  }

  [class*="newBadge_"] {
    top: 2px !important;
    right: 2px !important;
  }

  p[class*="siteLinks_"] {
    left: 12px !important;
    right: 12px !important;
    bottom: 8px !important;
    width: auto !important;
    box-sizing: border-box !important;
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    column-gap: 8px !important;
    row-gap: 0 !important;
    text-align: center !important;
  }
}

@media (min-width: 560px) and (max-width: 820px) {
  [class*="desktopOnly_"] {
    display: none !important;
  }

  [class*="mobileOnly_"] {
    display: inline-flex !important;
  }

  [class*="topBar_"] {
    gap: 8px !important;
    padding-inline: 12px !important;
  }

  [class*="actions_"] {
    min-width: 0 !important;
    gap: 6px !important;
  }
}
