.btn {
  letter-spacing: 0;
  line-height: 1;
  text-decoration: underline;
}

.bento-text .actions .btn {
  width: 100%;
}

a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 2px solid #fef864 !important;
  outline-offset: 4px;
}

.btn:disabled {
  cursor: not-allowed;
}

.btn:disabled:hover {
  transform: none;
}

.btn:disabled::after {
  display: none;
}

.lang-btn {
  border: 1px solid #fef86440;
  background: #202119;
}

.lang-dropdown {
  border-color: #fef86435;
  border-radius: 10px;
  background: linear-gradient(150deg, #2b2b21, #17171d 55%);
}

.lang-dropdown.open {
  max-height: min(380px, calc(100dvh - 96px));
  display: flex;
  flex-direction: column;
}

.lang-search::placeholder {
  color: #b0afb3;
}

.lang-list {
  min-height: 0;
  overscroll-behavior: contain;
}

.lang-option {
  border-inline-start: 2px solid transparent;
  border-radius: 4px 7px 7px 4px;
}

.lang-option.active {
  border-inline-start-color: currentColor;
}

.lang-option:focus-visible {
  outline-offset: -2px;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
