.lang-switch.is-hidden {
  opacity: 0;
  pointer-events: none;
}
.lang-switch {
  display: block;
  position: fixed;
  top: 20px;
  right: 24px;
  z-index: 9999;

  padding: 6px 14px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.4px;
  text-decoration: none;

  color: #333;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(8px);

  border-radius: 16px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);

  cursor: pointer;
  user-select: none;
  transition: all 0.2s ease;
}

.lang-switch:hover {
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
  transform: translateY(-1px);
}

/* 移动端微调 */
@media (max-width: 768px) {
  .lang-switch {
    top: 12px;
    right: 12px;
    font-size: 12px;
    padding: 5px 12px;
  }
}
