/* 官网语言切换控件：在不改变原页面结构的前提下提供中英文状态指示。 */
.language-switcher {
  position: fixed;
  top: 18px;
  right: 22px;
  z-index: 10050;
  display: inline-flex;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 5px;
  background: rgba(2, 72, 134, 0.88);
  box-shadow: 0 4px 14px rgba(0, 24, 54, 0.18);
  backdrop-filter: blur(8px);
}

.language-switcher__button {
  min-width: 48px;
  min-height: 34px;
  padding: 0 12px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #ffffff;
  cursor: pointer;
  font-family: Georgia, "Times New Roman", "Microsoft YaHei", serif;
  font-size: 13px;
  letter-spacing: 0;
}

.language-switcher__button:hover,
.language-switcher__button:focus-visible {
  background: rgba(255, 255, 255, 0.2);
  outline: none;
}

.language-switcher__button[aria-pressed="true"] {
  background: #ffffff;
  color: #024886;
  font-weight: 700;
}

@media (max-width: 640px) {
  .language-switcher {
    top: 12px;
    right: 12px;
  }
}
