@charset "UTF-8";

.lucky-lang-switch {
  position: relative;
  z-index: 1250;
  flex: 0 0 auto;
}

.lucky-lang-trigger {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: .1rem;
  height: 1.16rem;
  min-height: 28px;
  padding: 0 .16rem 0 .12rem;
  color: rgba(255, 255, 255, .88);
  border: 1px solid rgba(201, 168, 122, .2);
  border-radius: 999px;
  background: rgba(255, 255, 255, .08);
  box-shadow: 0 .14rem .56rem rgba(0, 0, 0, .25);
  font-size: .48rem;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
}

.lucky-lang-switch.is-open .lucky-lang-trigger {
  color: #e8c88a;
  border-color: rgba(232, 200, 138, .78);
  box-shadow: 0 0 0 1px rgba(232, 200, 138, .28), 0 .14rem .56rem rgba(0, 0, 0, .28);
}

.lucky-lang-flag {
  display: inline-flex;
  flex: 0 0 19.03px;
  width: 19.03px;
  height: 14px;
  overflow: hidden;
  border-radius: 2.8px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .08);
}

.lucky-lang-trigger-label {
  overflow: hidden;
  max-width: 46px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lucky-lang-chevron {
  display: inline-flex;
  width: 12px;
  height: 12px;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, .66);
  transition: transform .18s ease;
}

.lucky-lang-chevron svg {
  display: block;
  width: 12px;
  height: 12px;
}

.lucky-lang-switch.is-open .lucky-lang-chevron {
  color: #e8c88a;
  transform: rotate(180deg);
}

.lucky-lang-dropdown {
  position: absolute;
  top: calc(100% + 4px);
  left: -2px;
  z-index: 1300;
  display: none;
  width: 152px;
  overflow: hidden;
  color: rgba(255, 255, 255, .88);
  background: rgba(16, 20, 34, .985);
  border: 1px solid rgba(201, 168, 122, .2);
  border-radius: 5.6px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .48);
  backdrop-filter: blur(14px);
}

.lucky-lang-switch.is-open .lucky-lang-dropdown {
  display: block;
}

.lucky-lang-search-row {
  position: relative;
  display: flex;
  align-items: center;
  height: 24.3px;
  padding: 0 6px 0 22px;
  border-bottom: 1px solid rgba(201, 168, 122, .12);
  background: rgba(255, 255, 255, .035);
}

.lucky-lang-search-row::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 50%;
  width: 7px;
  height: 7px;
  border: 1.4px solid rgba(255, 255, 255, .55);
  border-radius: 50%;
  transform: translateY(-62%);
}

.lucky-lang-search-row::after {
  content: "";
  position: absolute;
  left: 14px;
  top: 14px;
  width: 4px;
  height: 1.4px;
  border-radius: 1px;
  background: rgba(255, 255, 255, .55);
  transform: rotate(45deg);
}

.lucky-lang-filter {
  width: 100%;
  height: 100%;
  padding: 0;
  color: rgba(255, 255, 255, .76);
  background: transparent;
  border: 0;
  outline: 0;
  font: 400 9px/24.3px "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
}

.lucky-lang-filter::placeholder {
  color: rgba(255, 255, 255, .42);
}

.lucky-lang-options {
  max-height: 142px;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  overflow-y: auto;
  list-style: none;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, .5) transparent;
}

.lucky-lang-options li {
  margin: 0;
  padding: 0;
  list-style: none;
}

.lucky-lang-item {
  display: flex;
  align-items: center;
  gap: 5.04px;
  width: 100%;
  height: 22.19px;
  padding: 5.6px 7.28px;
  color: rgba(255, 255, 255, .88);
  background: transparent;
  border: 0;
  border-radius: 0;
  outline: 0;
  font: 400 8.96px/1 "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
  text-align: left;
  white-space: nowrap;
  cursor: pointer;
}

.lucky-lang-item:hover,
.lucky-lang-item:focus-visible {
  background: rgba(255, 255, 255, .06);
}

.lucky-lang-item.is-current {
  color: #e8c88a;
  background: rgba(201, 168, 122, .12);
  font-weight: 600;
}

.lucky-lang-item-label {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lucky-lang-empty {
  display: none;
  padding: 12px 8px;
  color: rgba(255, 255, 255, .5);
  font-size: 9px;
  text-align: center;
}

@media (min-width: 480px) {
  .lucky-lang-trigger {
    height: 32.47px;
    padding-right: 4.48px;
    padding-left: 3.36px;
    gap: 2.8px;
    font-size: 13.44px;
  }
}

