.leo-language-control {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 2px;
  padding: 3px;
  color: inherit;
  background: color-mix(in srgb, currentColor 8%, transparent);
  border: 1px solid color-mix(in srgb, currentColor 16%, transparent);
  border-radius: 999px;
  font: 500 12px/1 ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

.leo-language-control button {
  min-width: 36px;
  min-height: 28px;
  padding: 0 9px;
  color: inherit;
  background: transparent;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  opacity: 0.58;
  font: inherit;
}

.leo-language-control button:last-child {
  min-width: 48px;
}

.leo-language-control button.is-active {
  color: #11131a;
  background: #fff;
  opacity: 1;
  box-shadow: 0 2px 9px rgba(0, 0, 0, 0.16);
}

.leo-language-control button:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 2px;
}

@media (prefers-color-scheme: light) {
  .leo-language-control button.is-active {
    color: #fff;
    background: #11131a;
  }
}
