.language-switcher {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  padding: 0.25rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.22);
  white-space: nowrap;
}

.language-switcher button {
  min-width: 2.6rem;
  min-height: 2rem;
  padding: 0.3rem 0.58rem;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: inherit;
  font: inherit;
  font-size: 0.75rem;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
}

.language-switcher button:hover,
.language-switcher button:focus-visible {
  background: rgba(255, 255, 255, 0.12);
  outline: 2px solid #fff;
  outline-offset: 2px;
}

.language-switcher button.is-active {
  background: #fff;
  color: #07090d;
}

html[lang="zh-CN"] body {
  font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", "Inter", sans-serif;
}

html[lang="en"] .button,
html[lang="zh-CN"] .button,
html[lang="en"] button,
html[lang="zh-CN"] button,
html[lang="en"] select,
html[lang="zh-CN"] select {
  overflow-wrap: anywhere;
}

@media (max-width: 980px) {
  .language-switcher {
    width: fit-content;
    margin: 0.55rem 0;
  }
}

