button.hl-locale {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-sizing: border-box;
  width: 38px;
  height: 38px;
  min-height: 38px;
  padding: 9px;
  border: 0;
  border-radius: var(--hl-radius-control);
  background: transparent;
  color: var(--hl-muted);
  cursor: pointer;
  box-shadow: none;
  opacity: 1;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.02em;
}

button.hl-locale:hover {
  color: var(--hl-accent);
  background: transparent;
}

button.hl-locale:focus-visible {
  outline: 2px solid var(--hl-accent);
  outline-offset: 3px;
}

@media (max-width: 768px) {
  button.hl-locale {
    height: 40px;
    min-height: 40px;
  }
}

html[data-i18n-pending] [data-i18n],
html[data-i18n-pending] [data-i18n-html] {
  visibility: hidden;
}
