.language-switcher {
  position: fixed;
  z-index: 100;
  top: 18px;
  right: 20px;
  display: inline-flex;
  gap: 3px;
  padding: 4px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 999px;
  background: rgba(15, 16, 20, .92);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .24);
  backdrop-filter: blur(12px);
}

.language-switcher button {
  min-width: 38px;
  min-height: 30px;
  padding: 0 9px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #a4a9b3;
  font: inherit;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  transition: background-color .18s ease, color .18s ease;
}

.language-switcher button[aria-pressed="true"] {
  background: #ff5b1b;
  color: #fff;
}

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

.portfolio-language-switcher {
  top: 76px;
}

@media (max-width: 760px) {
  .language-switcher {
    top: 12px;
    right: 12px;
  }

  .portfolio-language-switcher {
    top: 12px;
    right: 72px;
  }
}
