/* 静态站中英文切换（index / privacy-policy 共用） */
.lang-switcher {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}
.lang-switcher .home-link {
  margin-right: auto;
  font-family: inherit;
  font-size: 0.88rem;
  color: #5b4b8a;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid rgba(184, 169, 232, 0.45);
  background: rgba(255, 255, 255, 0.75);
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.lang-switcher .home-link:hover {
  background: #fff;
  border-color: rgba(184, 169, 232, 0.6);
}
.lang-switcher-label {
  font-size: 0.82rem;
  color: #888;
  margin-right: 4px;
}
.lang-switcher button {
  font-family: inherit;
  font-size: 0.88rem;
  padding: 6px 16px;
  border-radius: 999px;
  border: 1px solid rgba(184, 169, 232, 0.45);
  background: rgba(255, 255, 255, 0.75);
  color: #5b4b8a;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.lang-switcher button:hover {
  background: #fff;
}
.lang-switcher button.active {
  background: #5b4b8a;
  color: #fff;
  border-color: #5b4b8a;
  font-weight: 600;
}
.lang-panel[hidden] {
  display: none !important;
}
hr.lang-divider {
  display: none;
}
