/* 语言面板 - 展开后的卡片样式 */
.change-lang__panel {
  transition: opacity 0.25s ease, transform 0.25s ease;
}

/* 语言列表 */
.change-lang__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

/* 列表项 */
.change-lang__list li a {
  display: block;
  padding: 4px 6px;
  color: #ffffff;
  text-decoration: none;
  font-size: 14px;
  line-height: 1.5;
  white-space: nowrap;
  border-radius: 6px;
  transition: background-color 0.15s ease;
}

/* hover 高亮 */
.change-lang__list li a:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

/* 当前选中语言高亮 */
.change-lang__list li.is-active a {
  font-weight: 700;
  background-color: rgba(255, 255, 255, 0.25);
  border-radius: 6px;
}

/* 响应式适配 */
@media screen and (max-width: 768px) {
  .change-lang__list li a {
    font-size: 13px;
    padding: 3px 5px;
  }
}
