/* ====== 语言切换组件样式（与一级站 LangSwitch.vue 一致） ====== */

.lang-switch {
  position: fixed;
  top: 30px;
  right: 32px;
  z-index: 1000;
  display: flex;
  align-items: center;
}

.lang-switch__trigger {
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  border-radius: 4px;
  transition: background 0.15s;
}

.lang-switch__trigger:hover {
  background: rgba(255, 255, 255, 0.08);
}

.lang-switch__icon {
  display: block;
  width: 20px;
  height: 20px;
  color: #FFFFFF;
  transition: color 0.3s ease;
}

/* ── 下拉菜单 ── */
.lang-switch__dropdown {
  position: absolute;
  top: calc(100% + 12px);
  right: -32px;
  z-index: 10;
  background: rgba(24, 24, 28, 0.2);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 16px;
  padding: 16px 12px 32px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.lang-switch__label {
  font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  color: #ABABAB;
  margin: 0 0 12px 20px;
  white-space: nowrap;
}

.lang-switch__options {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.lang-switch__option {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 144px;
  padding: 8px 20px;
  background: none;
  border: none;
  cursor: pointer;
  border-radius: 6px;
  transition: background 0.15s;
  color: inherit;
}

.lang-switch__option:hover {
  background: rgba(255, 255, 255, 0.08);
}

.lang-switch__option-text {
  font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  color: #FFFFFF;
  flex: 1;
  text-align: left;
}

.lang-switch__option-text--active {
  font-weight: 600 !important;
}

.lang-switch__check {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: #FFFFFF;
}
