.language-switch {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 64px;
  min-height: 34px;
  padding: 0 8px;
  border: 1px solid currentColor;
  border-radius: 6px;
  background: transparent;
  color: inherit;
  font: 700 12px/1 system-ui, sans-serif;
  white-space: nowrap;
  cursor: pointer;
}

.language-switch:hover { opacity: .8; }
.language-switch:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
html[lang="en"] .language-switch [lang="zh-CN"],
html[lang="zh-CN"] .language-switch [lang="en"] { opacity: .62; }
