.lang-switcher,
.mobile-lang-switcher {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.lang-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 36px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--border-color, rgba(255,255,255,.18)) 82%, transparent);
  background: color-mix(in srgb, var(--surface-elevated, rgba(255,255,255,.06)) 92%, transparent);
  color: var(--text-primary, inherit);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .03em;
  text-decoration: none;
  transition: transform .18s ease, background .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.lang-pill:hover,
.lang-pill:focus-visible {
  transform: translateY(-1px);
  text-decoration: none;
  border-color: rgba(212, 175, 55, .45);
  box-shadow: 0 10px 24px rgba(0,0,0,.12);
}

.lang-pill.is-active {
  background: linear-gradient(135deg, rgba(212,175,55,.22), rgba(212,175,55,.12));
  border-color: rgba(212,175,55,.58);
  color: var(--text-primary, inherit);
}

[data-theme="dark"] .lang-pill {
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.18);
}

[data-theme="dark"] .lang-pill.is-active {
  background: rgba(212,175,55,.2);
  border-color: rgba(212,175,55,.5);
}

.site-header .header-actions .lang-switcher {
  margin-right: 6px;
}

.mobile-lang-switcher {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,.08);
}

@media (max-width: 1024px) {
  .site-header .header-actions .lang-switcher {
    display: none;
  }
}

@media (min-width: 1025px) {
  .mobile-lang-switcher {
    display: none;
  }
}
