
/* Compact language toggle shares the theme toolbar, with no decorative accents. */
.language-switch,.auth-lang-switch {
  display:inline-flex; align-items:center; gap:2px;
  border:1px solid var(--line); background:var(--surface-raised);
  border-radius:7px; padding:2px;
}
.language-switch { margin:0 0 .35rem .45rem; }
.language-switch button,.auth-lang-switch button {
  border:0; border-radius:5px; padding:.22rem .52rem;
  min-width:2.2rem; min-height:1.75rem;
  font-size:.73rem; font-weight:650;
  color:var(--muted); background:transparent;
}
.language-switch button:hover,.auth-lang-switch button:hover { color:var(--ink); }
.language-switch button[aria-current="true"],.auth-lang-switch button[aria-current="true"] {
  background:var(--surface); color:var(--ink); box-shadow:0 1px 3px rgba(0,0,0,.10);
}
.language-switch button:focus-visible,.auth-lang-switch button:focus-visible { outline:2px solid var(--gold); }
.auth-lang-switch { position:fixed; top:1rem; right:9rem; z-index:6; }
html[data-theme="light"] .language-switch button[aria-current="true"],
html[data-theme="light"] .auth-lang-switch button[aria-current="true"] {
  background:#FFF; color:#202124;
}
@media (max-width:47rem) {
  .language-switch { margin:0 0 .35rem 0; }
  .auth-lang-switch { right:8.5rem; }
}
