/* WEB-04: compact, accessible LV / EN language switcher. */
.language-switcher {
  display: inline-flex;
  align-items: center;
  padding: 3px;
  border: 1px solid rgba(255, 255, 255, .3);
  border-radius: 9px;
  background: rgba(4, 20, 15, .32);
  backdrop-filter: blur(12px);
}

.language-switcher button {
  display: grid;
  place-items: center;
  min-width: 35px;
  min-height: 34px;
  padding: 0 8px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: rgba(255, 255, 255, .72);
  font: 800 11px "DM Sans","Segoe UI",Arial,sans-serif;
  letter-spacing: .05em;
  cursor: pointer;
  transition: background 160ms ease, color 160ms ease, box-shadow 160ms ease;
}

.language-switcher button:hover,
.language-switcher button:focus-visible {
  color: #fff;
  background: rgba(255, 255, 255, .09);
}

.language-switcher button:focus-visible {
  outline: 3px solid #facc15;
  outline-offset: 2px;
}

.language-switcher button.is-active {
  background: #c8f26b;
  color: #10251f;
  box-shadow: 0 4px 13px rgba(0, 0, 0, .18);
  cursor: default;
}

@media (max-width: 640px) {
  .landing-header .header-meta { gap: 7px; }
  .language-switcher { padding: 2px; }
  .language-switcher button { min-width: 31px; min-height: 32px; padding-inline: 6px; }
  .public-development-preview .landing-header .auth-button {
    max-width: 112px;
    padding-inline: 9px;
    font-size: 11px;
    line-height: 1.15;
  }
}

@media (max-width: 390px) {
  .public-development-preview .landing-header .account-menu-wrap { display: none; }
}
