.language-switcher {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 3px;
  padding: 4px;
  border: 1px solid rgba(155, 92, 255, .28);
  border-radius: 999px;
  background: rgba(255, 255, 255, .045);
  box-shadow: inset 0 0 18px rgba(155, 92, 255, .08);
}

.language-switcher button {
  width: 31px;
  height: 30px;
  display: inline-grid;
  place-items: center;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  color: #fff;
  cursor: pointer;
  font: 800 15px/1 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  transition: transform .2s ease, border-color .2s ease, background .2s ease, box-shadow .2s ease;
}

.language-switcher button:hover,
.language-switcher button.is-active {
  transform: translateY(-1px);
  border-color: rgba(155, 92, 255, .5);
  background: rgba(155, 92, 255, .16);
  box-shadow: 0 0 18px rgba(155, 92, 255, .28);
}

.language-switcher .lang-code {
  display: none;
}

.language-switcher .flag {
  font-size: 17px;
  filter: saturate(1.1);
}

.goog-te-banner-frame,
.goog-te-banner-frame.skiptranslate,
.goog-te-gadget,
.goog-te-balloon-frame,
#goog-gt-tt {
  display: none !important;
}

body {
  top: 0 !important;
}

@media (max-width: 980px) {
  .language-switcher {
    margin-left: auto;
  }
}

@media (max-width: 560px) {
  .language-switcher {
    gap: 2px;
    padding: 3px;
  }

  .language-switcher button {
    width: 27px;
    height: 26px;
  }

  .language-switcher .flag {
    font-size: 15px;
  }
}
