.footer-legal {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  min-height: 52px;
  padding: 16px 0 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--mute, rgba(255, 255, 255, 0.62));
  font-size: var(--type-caption, 12px);
  line-height: 1.6;
}

.footer-copyright {
  flex: 1 1 260px;
  min-width: 0;
}

.footer-legal-links {
  display: flex;
  flex: 0 1 auto;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px 18px;
  min-width: 0;
}

.footer-legal-links[hidden] {
  display: none;
}

.footer-legal-link {
  color: inherit;
  text-decoration: none;
  overflow-wrap: anywhere;
  transition: color 0.2s ease;
}

.footer-legal-link:hover,
.footer-legal-link:focus-visible {
  color: rgba(255, 255, 255, 0.88);
}

@media (max-width: 767px) {
  .footer-legal {
    align-items: flex-start;
    flex-direction: column;
    padding-bottom: 20px;
  }

  .footer-copyright {
    flex-basis: auto;
  }

  .footer-legal-links {
    justify-content: flex-start;
    width: 100%;
  }
}

.footer-beian-links {
  display: flex;
  flex: 0 1 auto;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 6px 18px;
  min-width: 0;
}

.footer-legal-link--gongan {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.footer-beian-icon {
  display: block;
  flex: 0 0 auto;
  width: 18px;
  height: 20px;
  object-fit: contain;
}

@media (max-width: 767px) {
  .footer-beian-links {
    justify-content: flex-start;
    width: 100%;
  }
}
.lang-dropdown .lang-option-en { display: none !important; }
