#aain-locale-switcher {
  position: fixed;
  left: 20px;
  bottom: 20px;
  z-index: 99999;
  font-family: "Figtree", system-ui, -apple-system, sans-serif;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

#aain-locale-switcher .aain-locale-track {
  position: relative;
  display: flex;
  align-items: center;
  width: 88px;
  height: 44px;
  padding: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.12);
  backdrop-filter: blur(12px);
  box-sizing: border-box;
}

#aain-locale-switcher .aain-locale-thumb {
  position: absolute;
  top: 4px;
  left: 4px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #f0f0f0;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
  transition: transform 0.22s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}

#aain-locale-switcher[data-locale="ru"] .aain-locale-thumb {
  transform: translateX(44px);
}

#aain-locale-switcher .aain-locale-btn {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 36px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  border-radius: 50%;
  transition: opacity 0.15s ease;
}

#aain-locale-switcher .aain-locale-btn img {
  width: 24px;
  height: 18px;
  object-fit: cover;
  border-radius: 2px;
  display: block;
}

#aain-locale-switcher .aain-locale-btn[aria-pressed="false"] {
  opacity: 0.45;
}

#aain-locale-switcher .aain-locale-btn[aria-pressed="true"] {
  opacity: 1;
}

@media (max-width: 809px) {
  #aain-locale-switcher {
    left: 16px;
    bottom: 16px;
  }
}
