.language-selector {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 0.25rem;
  padding: 0.25rem;
  border: 1px solid rgba(109, 124, 153, 0.32);
  border-radius: 0.75rem;
  color: inherit;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 0.35rem 1.2rem rgba(23, 35, 60, 0.08);
}

.language-selector form {
  display: contents;
}

.language-selector__icon {
  display: inline-grid;
  width: 1.75rem;
  height: 1.75rem;
  flex: 0 0 auto;
  place-items: center;
}

.language-selector__icon svg {
  width: 1.15rem;
  height: 1.15rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
}

.language-selector__label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.language-selector button {
  min-height: 2.25rem;
  padding: 0.35rem 0.65rem;
  border: 0;
  border-radius: 0.52rem;
  color: #45516a;
  background: transparent;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 750;
  line-height: 1.2;
  cursor: pointer;
}

.language-selector button:hover {
  color: #17233c;
  background: #edf2ff;
}

.language-selector button.is-active {
  color: #fff;
  background: #315fcf;
}

.language-selector button:focus-visible {
  outline: 3px solid #0b57d0;
  outline-offset: 2px;
}

.language-selector-host--floating {
  position: fixed;
  z-index: 100;
  top: max(0.75rem, env(safe-area-inset-top));
  right: max(0.75rem, env(safe-area-inset-right));
}

.language-selector-host--portal,
.language-selector-host--venue {
  position: fixed;
  z-index: 30;
  top: max(0.65rem, env(safe-area-inset-top));
  right: max(0.65rem, env(safe-area-inset-right));
}

@media (max-width: 64rem) {
  .landing-header__actions .language-selector {
    display: none;
  }
}

@media (max-width: 24rem) {
  .language-selector button {
    min-height: 2.5rem;
    padding-inline: 0.5rem;
  }
}
