/* Language fonts only: shared with the marked block in hakora.css.
   No Japanese override: retain the user's browser/skin font preferences.
   All names resolve locally; no web fonts or font downloads. */
:lang(en) {
  font-family: "Segoe UI", Helvetica, Arial, sans-serif;
}
:lang(zh-TW) {
  font-family: "PingFang TC", "Microsoft JhengHei", "Noto Sans TC", sans-serif;
}
pre:lang(en), pre:lang(zh-TW), pre:lang(en) *, pre:lang(zh-TW) *,
code:lang(en), code:lang(zh-TW), tt:lang(en), tt:lang(zh-TW) {
  font-family: monospace;
}

/* Keep the compact switch in the header margin without moving game content. */
.langSwitcher {
  position: absolute;
  top: .25em;
  right: .5em;
  z-index: 1;
  white-space: nowrap;
  font-size: 12px;
}
#BodySpecial > .langSwitcher { top: 2em; }
.langSwitchForm select, .langSwitchForm button {
  font-size: inherit;
  color: inherit;
  max-width: 100%;
}
.langSwitchNotice {
  display: block;
  max-width: 24em;
  white-space: normal;
}
