/* AI_MOD-2026-09-29 门户公共页脚：品牌信息与双平台二维码分区，兼容桌面和手机页面。 */
.bottom.portal-footer {
  box-sizing: border-box;
  clear: both;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  width: 100%;
  margin-top: 40px;
  padding: 32px 40px;
  border-top: 3px solid #3498c9;
  background: #f7f9fa;
  color: #30363b;
  letter-spacing: 0;
}
.portal-footer .footer-info {
  min-width: 0;
}
.portal-footer .footer-brand {
  display: inline-block;
  margin-bottom: 22px;
}
.portal-footer .footer-brand img {
  display: block;
  width: 145px;
  height: 50px;
  object-fit: contain;
}
.portal-footer .footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 0;
  height: auto;
  margin: 0 0 14px;
  border: 0;
  list-style: none;
}
.portal-footer .footer-links li {
  float: none;
  height: auto;
  padding: 0 16px;
  border: 0;
  font-size: 14px;
  line-height: 20px;
}
.portal-footer .footer-links li:first-child {
  padding-left: 0;
}
.portal-footer .footer-links li + li {
  border-left: 1px solid #d3dbe0;
}
.portal-footer .footer-links a {
  color: #30363b;
}
.portal-footer .footer-registration {
  margin: 0;
  font-size: 12px;
  line-height: 20px;
  overflow-wrap: anywhere;
}
.portal-footer .footer-registration a {
  color: #68747d;
}
.portal-footer a:hover {
  color: #1478a7;
}
.portal-footer a:focus-visible {
  outline: 2px solid #1478a7;
  outline-offset: 4px;
}
.portal-footer .footer-qr-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
  flex-shrink: 0;
  padding-left: 40px;
  border-left: 1px solid #dce3e7;
}
.portal-footer .footer-qr {
  min-width: 0;
  margin: 0;
  text-align: center;
}
.portal-footer .footer-qr img {
  /* AI_MOD-2026-09-29 图片自动适应：完整显示原始二维码及留白，不裁切、不拉伸。圆角3px */
  box-sizing: border-box;
  display: block;
  width: 132px;
  height: 132px;
  max-width: 100%;
  padding: 7px;
  margin: 0 auto;
  object-fit: contain;
  border: 1px solid #e1e6ea;
  border-radius: 3px;
  background: #fff;
}
.portal-footer .footer-qr figcaption {
  margin-top: 10px;
  font-size: 14px;
  font-weight: 600;
  line-height: 22px;
  overflow-wrap: anywhere;
}
/* AI_MOD-2026-09-29 窄屏页脚纵向排列，二维码继续并排，文字自动换行且保持扫码区域完整。 */
@media (max-width: 700px) {
  .bottom.portal-footer {
    flex-direction: column;
    gap: 24px;
    margin-top: 28px;
    padding: 28px 16px;
    text-align: center;
  }
  .portal-footer .footer-brand {
    margin-bottom: 18px;
  }
  .portal-footer .footer-links {
    justify-content: center;
  }
  .portal-footer .footer-links li {
    padding: 0 12px;
  }
  .portal-footer .footer-links li:last-child {
    padding-right: 0;
  }
  .portal-footer .footer-qr-list {
    box-sizing: border-box;
    width: 100%;
    max-width: 312px;
    gap: 16px;
    padding: 24px 0 0;
    border-left: 0;
    border-top: 1px solid #dce3e7;
  }
}
