[data-language-switch] {
  position: fixed;
  right: max(20px, env(safe-area-inset-right));
  bottom: max(20px, env(safe-area-inset-bottom));
  z-index: 100;
  display: flex;
  gap: 3px;
  padding: 5px;
  border: 1px solid #d4d4d4;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 3px 18px #0002;
  color: #202020;
  font: 500 13px/1.4 system-ui, sans-serif;
}
[data-language-switch] button { border: 0; border-radius: 999px; padding: 8px 13px; background: transparent; color: inherit; cursor: pointer; min-height: 36px; }
[data-language-switch] button[aria-pressed="true"] { background: #161616; color: #fff; }
[data-language-switch] button:focus-visible { outline: 2px solid #00cca2; outline-offset: 2px; }
html[lang="zh-CN"] { font-family: Arial, "Microsoft YaHei", "PingFang SC", sans-serif; }
html[lang="zh-CN"] h1, html[lang="zh-CN"] h2 { text-wrap: balance; }
@media(max-width: 640px) { [data-language-switch] { right: 12px; bottom: max(12px, env(safe-area-inset-bottom)); } }
