/* Language switcher — about / manual (RU + EN) */
.pw-lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.05);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1;
  flex-shrink: 0;
}
.pw-lang-switch__link {
  color: rgba(255, 255, 255, 0.45);
  text-decoration: none;
  transition: color 0.15s;
}
.pw-lang-switch__link:hover {
  color: rgba(255, 255, 255, 0.92);
}
.pw-lang-switch__link--active,
.pw-lang-switch__link[aria-current="true"] {
  color: #fff;
}
.pw-lang-switch__sep {
  color: rgba(255, 255, 255, 0.22);
  user-select: none;
}
html.manual-theme-light .pw-lang-switch {
  border-color: rgba(0, 0, 0, 0.12);
  background: rgba(0, 0, 0, 0.04);
}
html.manual-theme-light .pw-lang-switch__link {
  color: rgba(0, 0, 0, 0.45);
}
html.manual-theme-light .pw-lang-switch__link:hover,
html.manual-theme-light .pw-lang-switch__link--active,
html.manual-theme-light .pw-lang-switch__link[aria-current="true"] {
  color: #111115;
}
html.manual-theme-light .pw-lang-switch__sep {
  color: rgba(0, 0, 0, 0.2);
}
nav .pw-lang-switch {
  margin-right: 0.25rem;
}
@media (max-width: 680px) {
  nav .pw-lang-switch {
    order: -1;
    margin-left: auto;
    margin-right: 0.5rem;
  }
}
