/* 门户备案区：四个页面共用，独立于业务内容。 */
footer.portal-footer {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 12px 24px;
  width: min(100%, 1128px);
  box-sizing: border-box;
  margin: 24px auto 0;
  padding: 20px 16px;
  border-top: 1px solid var(--line);
  color: var(--sub);
  font-size: 12px;
  line-height: 1.8;
  text-align: center;
}
.portal-footer-brand { flex-shrink: 0; color: var(--text); font-size: 13px; font-weight: 500; letter-spacing: 0.02em; white-space: nowrap; }
.portal-footer-brand span { color: var(--sub); font-weight: 400; }
.portal-footer-records { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 4px 16px; }
.portal-footer-divider { width: 1px; height: 12px; background: var(--line); }
footer.portal-footer a { padding: 3px 0; color: inherit; text-decoration: none; text-underline-offset: 4px; }
footer.portal-footer a:hover { color: var(--brand-deep); text-decoration: underline; }
footer.portal-footer a:focus-visible { outline: 2px solid var(--brand-deep); outline-offset: 4px; border-radius: 2px; }
@media (max-width: 600px) {
  .portal-footer-records { flex-direction: column; gap: 2px; }
  .portal-footer-divider { display: none; }
  footer.portal-footer { flex-direction: column; justify-content: center; gap: 8px; margin-top: 16px; padding: 20px 12px; }
}
