.lang-picker-overlay {
  position: absolute;
  z-index: 3600;
  inset: 0;
  width: 390px;
  height: 844px;
  display: grid;
  place-items: center;
  padding: 0;
  overflow: hidden;
  background: radial-gradient(circle at 50% 28%, rgba(64, 47, 28, 0.18), rgba(13, 9, 7, 0.74));
  font-family: "Noto Sans SC", Inter, system-ui, sans-serif;
}
#loginScreen .lang-picker-overlay,
body > .lang-picker-overlay {
  position: absolute;
}
.lang-picker,
.lang-picker * { box-sizing: border-box; }
.lang-picker {
  position: relative;
  width: 330px;
  max-width: 92%;
  max-height: 78%;
  overflow: hidden;
  border: 5px solid #744116;
  border-radius: 24px;
  background: linear-gradient(180deg, #f4cb70 0, #a96525 7%, #f8e7bd 8%, #e6b968 100%);
  box-shadow: inset 0 0 0 3px #ffe398, 0 18px 32px rgba(24, 11, 6, 0.55);
  color: #402918;
}
.lang-picker__head {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 52px;
  margin: 10px 14px 0;
  border: 3px solid #683612;
  border-radius: 16px;
  background: linear-gradient(#b96d2f, #6d3816);
  box-shadow: inset 0 2px #e7aa5d, 0 3px 0 #b6752c;
}
.lang-picker__title {
  margin: 0;
  color: #fff3c5;
  font-size: 18px;
  font-weight: 950;
  letter-spacing: 0.06em;
  text-shadow: 0 2px #51230e;
}
.lang-picker__close {
  position: absolute;
  right: 8px;
  top: 12px;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 3px solid #79271a;
  border-radius: 50%;
  background: linear-gradient(#ff7859, #cf3525);
  color: #fff7d9;
  font-size: 24px;
  font-weight: 950;
  line-height: 1;
  cursor: pointer;
}
.lang-picker__list {
  list-style: none;
  margin: 10px 12px 14px;
  padding: 8px;
  max-height: min(520px, 62vh);
  overflow: auto;
  border: 2px solid #c0873e;
  border-radius: 15px;
  background: linear-gradient(#efe2c2, #e8d09a);
}
.lang-picker__item {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) 22px;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  margin: 0 0 6px;
  padding: 6px 10px;
  border: 2px solid #c28a40;
  border-radius: 12px;
  background: radial-gradient(120% 90% at 50% 18%, #fffdf6, #f0d29c);
  cursor: pointer;
}
.lang-picker__item:last-child { margin-bottom: 0; }
.lang-picker__item.is-active {
  border-color: #2b7621;
  box-shadow: inset 0 0 0 2px #8ae24c;
}
.lang-picker__flag { font-size: 20px; line-height: 1; }
.lang-picker__name {
  overflow: hidden;
  color: #4a2c12;
  font-size: 14px;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.lang-picker__check {
  width: 16px;
  height: 16px;
}
.lang-picker__item.is-active .lang-picker__check {
  border-radius: 50%;
  background: #3ea528;
  box-shadow: inset 0 0 0 3px #fffdf2;
}
